Files
moeka-project/packages/server-runtime/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

53 lines
1.3 KiB
JSON

{
"name": "@proj-airi/server-runtime",
"type": "module",
"version": "0.9.0-alpha.28",
"description": "Server runtime implementation for AIRI running in different environments",
"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/server-runtime"
},
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./server": {
"types": "./dist/server.d.mts",
"default": "./dist/server.mjs"
}
},
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"bin": "./dist/bin/run.mjs",
"files": [
"README.md",
"dist",
"package.json"
],
"scripts": {
"dev": "tsx ./src/bin/run.js",
"start": "tsx ./src/bin/run.js",
"build": "tsdown",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@guiiai/logg": "catalog:",
"@moeru/std": "catalog:",
"@proj-airi/server-protocol": "workspace:^",
"@proj-airi/server-shared": "workspace:^",
"crossws": "^0.4.4",
"h3": "^2.0.1-rc.19",
"nanoid": "catalog:",
"srvx": "^0.11.13",
"superjson": "catalog:"
}
}