airi/packages/server-runtime
RainbowBird 69d60cf95f release: v0.15.4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 03:53:10 +07:00
..
src feat(stage-ui): store chat images and recordings as asset references (#2878) 2026-10-10 02:06:47 +08:00
package.json release: v0.15.4 2026-11-13 03:53:10 +07:00
README.md feat: add skills, long-term memory, and background tasks (#2748) 2026-10-15 14:32:10 +00:00
tsconfig.json fix(server-runtime,docs,vishot-*): tsconfig issue, node issue, h3 export 2026-04-04 04:19:25 +08:00
tsdown.config.ts Revert "style: lint" 2026-08-26 20:13:10 +08:00
vitest.config.ts feat(server-*): extend server capability, routing, heartbeat, and better type 2026-01-10 00:28:21 +08:00

Server runtime

This package routes AIRI protocol events between authenticated module peers. Use it for a standalone channel server or an embedded desktop server. It does not own chat sessions or model execution.

Usage

Create a server through @proj-airi/server-runtime/server, then call start() and stop() for its host lifecycle. Use setupApp from the package root when an existing HTTP host owns the server lifecycle.

Validation

Run pnpm -F @proj-airi/server-runtime typecheck and pnpm -F @proj-airi/server-runtime exec vitest run.