Examples
The repository includes runnable examples for local deployment modes. Each example has a README, package manifest, .env.example, source entrypoint, and smoke test.
Run all examples:
bash
pnpm run examples:smokePowerShell:
powershell
pnpm run examples:smokeDeployment Modes
| Mode | Source | Smoke command |
|---|---|---|
| Authenticated server | examples/authenticated-server | pnpm --dir examples/authenticated-server run smoke |
| Streaming | examples/streaming | pnpm --dir examples/streaming run smoke |
| Push notifications | examples/push-notifications | pnpm --dir examples/push-notifications run smoke |
| Registry tenancy | examples/registry-tenancy | pnpm --dir examples/registry-tenancy run smoke |
| WebSocket | examples/websocket | pnpm --dir examples/websocket run smoke |
| gRPC | examples/grpc | pnpm --dir examples/grpc run smoke |
| MCP bridge | examples/mcp-bridge | pnpm --dir examples/mcp-bridge run smoke |
| Adapter template | examples/adapter-template | pnpm --dir examples/adapter-template run smoke |
The root smoke command validates the required example file layout, builds the workspace, and runs each compiled smoke test with Node's test runner.