Files
moeka-project/packages/plugin-sdk/package.json
T
RainbowBird ba3d66de86 feat(server-protocol): introduce shared protocol types for AIRI server clients and frontends
- Added package.json for @proj-airi/server-protocol with necessary configurations.
- Implemented chat event types including WireMessage, SendMessagesRequest, and PullMessagesRequest.
- Defined WebSocket event types and structures for better integration with AIRI components.
- Updated server-runtime and server-sdk to utilize the new server-protocol package.
- Refactored imports across various packages to replace server-shared types with server-protocol types.
- Enhanced type definitions and added TypeScript configurations for better development experience.
2026-03-28 02:25:44 +08:00

50 lines
1.2 KiB
JSON

{
"name": "@proj-airi/plugin-sdk",
"type": "module",
"version": "0.9.0-alpha.28",
"private": true,
"description": "Plugin SDK for Project AIRI",
"author": {
"name": "Moeru AI Project AIRI Team",
"email": "airi@moeru.ai",
"url": "https://github.com/moeru-ai"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/moeru-ai/airi.git",
"directory": "packages/plugin-sdk"
},
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./plugin-host": {
"types": "./dist/plugin-host/index.d.mts",
"node": "./dist/plugin-host/runtimes/node/index.mjs",
"default": "./dist/plugin-host/runtimes/web/index.mjs"
}
},
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
"README.md",
"dist",
"package.json"
],
"scripts": {
"build": "tsdown",
"dev": "pnpm run build",
"test": "vitest",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@moeru/eventa": "catalog:",
"@proj-airi/plugin-protocol": "workspace:*",
"nanoid": "catalog:",
"valibot": "^1.3.1",
"xstate": "^5.28.0"
}
}