@richhardry/codor 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +293 -0
- package/bin/codor.mjs +7 -0
- package/node_modules/@codor/adapter-antigravity/dist/adapter.d.ts +41 -0
- package/node_modules/@codor/adapter-antigravity/dist/adapter.d.ts.map +1 -0
- package/node_modules/@codor/adapter-antigravity/dist/adapter.js +275 -0
- package/node_modules/@codor/adapter-antigravity/dist/adapter.js.map +1 -0
- package/node_modules/@codor/adapter-antigravity/dist/index.d.ts +2 -0
- package/node_modules/@codor/adapter-antigravity/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/adapter-antigravity/dist/index.js +2 -0
- package/node_modules/@codor/adapter-antigravity/dist/index.js.map +1 -0
- package/node_modules/@codor/adapter-antigravity/package.json +18 -0
- package/node_modules/@codor/adapter-claude-code/dist/adapter.d.ts +94 -0
- package/node_modules/@codor/adapter-claude-code/dist/adapter.d.ts.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/adapter.js +785 -0
- package/node_modules/@codor/adapter-claude-code/dist/adapter.js.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/index.d.ts +8 -0
- package/node_modules/@codor/adapter-claude-code/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/index.js +5 -0
- package/node_modules/@codor/adapter-claude-code/dist/index.js.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/limits-probe.d.ts +18 -0
- package/node_modules/@codor/adapter-claude-code/dist/limits-probe.d.ts.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/limits-probe.js +67 -0
- package/node_modules/@codor/adapter-claude-code/dist/limits-probe.js.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/peek.d.ts +3 -0
- package/node_modules/@codor/adapter-claude-code/dist/peek.d.ts.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/peek.js +128 -0
- package/node_modules/@codor/adapter-claude-code/dist/peek.js.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/query.d.ts +9 -0
- package/node_modules/@codor/adapter-claude-code/dist/query.d.ts.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/query.js +7 -0
- package/node_modules/@codor/adapter-claude-code/dist/query.js.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/translate.d.ts +40 -0
- package/node_modules/@codor/adapter-claude-code/dist/translate.d.ts.map +1 -0
- package/node_modules/@codor/adapter-claude-code/dist/translate.js +505 -0
- package/node_modules/@codor/adapter-claude-code/dist/translate.js.map +1 -0
- package/node_modules/@codor/adapter-claude-code/package.json +18 -0
- package/node_modules/@codor/adapter-codex/dist/adapter.d.ts +105 -0
- package/node_modules/@codor/adapter-codex/dist/adapter.d.ts.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/adapter.js +625 -0
- package/node_modules/@codor/adapter-codex/dist/adapter.js.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/app-server-transport.d.ts +39 -0
- package/node_modules/@codor/adapter-codex/dist/app-server-transport.d.ts.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/app-server-transport.js +186 -0
- package/node_modules/@codor/adapter-codex/dist/app-server-transport.js.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/index.d.ts +8 -0
- package/node_modules/@codor/adapter-codex/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/index.js +5 -0
- package/node_modules/@codor/adapter-codex/dist/index.js.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/limits-probe.d.ts +18 -0
- package/node_modules/@codor/adapter-codex/dist/limits-probe.d.ts.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/limits-probe.js +87 -0
- package/node_modules/@codor/adapter-codex/dist/limits-probe.js.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/peek.d.ts +3 -0
- package/node_modules/@codor/adapter-codex/dist/peek.d.ts.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/peek.js +98 -0
- package/node_modules/@codor/adapter-codex/dist/peek.js.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/translate.d.ts +17 -0
- package/node_modules/@codor/adapter-codex/dist/translate.d.ts.map +1 -0
- package/node_modules/@codor/adapter-codex/dist/translate.js +286 -0
- package/node_modules/@codor/adapter-codex/dist/translate.js.map +1 -0
- package/node_modules/@codor/adapter-codex/package.json +17 -0
- package/node_modules/@codor/adapter-copilot/dist/adapter.d.ts +40 -0
- package/node_modules/@codor/adapter-copilot/dist/adapter.d.ts.map +1 -0
- package/node_modules/@codor/adapter-copilot/dist/adapter.js +190 -0
- package/node_modules/@codor/adapter-copilot/dist/adapter.js.map +1 -0
- package/node_modules/@codor/adapter-copilot/dist/index.d.ts +4 -0
- package/node_modules/@codor/adapter-copilot/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/adapter-copilot/dist/index.js +3 -0
- package/node_modules/@codor/adapter-copilot/dist/index.js.map +1 -0
- package/node_modules/@codor/adapter-copilot/dist/translate.d.ts +11 -0
- package/node_modules/@codor/adapter-copilot/dist/translate.d.ts.map +1 -0
- package/node_modules/@codor/adapter-copilot/dist/translate.js +184 -0
- package/node_modules/@codor/adapter-copilot/dist/translate.js.map +1 -0
- package/node_modules/@codor/adapter-copilot/package.json +18 -0
- package/node_modules/@codor/adapter-cursor/dist/adapter.d.ts +32 -0
- package/node_modules/@codor/adapter-cursor/dist/adapter.d.ts.map +1 -0
- package/node_modules/@codor/adapter-cursor/dist/adapter.js +179 -0
- package/node_modules/@codor/adapter-cursor/dist/adapter.js.map +1 -0
- package/node_modules/@codor/adapter-cursor/dist/index.d.ts +9 -0
- package/node_modules/@codor/adapter-cursor/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/adapter-cursor/dist/index.js +8 -0
- package/node_modules/@codor/adapter-cursor/dist/index.js.map +1 -0
- package/node_modules/@codor/adapter-cursor/dist/translate.d.ts +15 -0
- package/node_modules/@codor/adapter-cursor/dist/translate.d.ts.map +1 -0
- package/node_modules/@codor/adapter-cursor/dist/translate.js +164 -0
- package/node_modules/@codor/adapter-cursor/dist/translate.js.map +1 -0
- package/node_modules/@codor/adapter-cursor/package.json +17 -0
- package/node_modules/@codor/adapter-gemini/dist/adapter.d.ts +36 -0
- package/node_modules/@codor/adapter-gemini/dist/adapter.d.ts.map +1 -0
- package/node_modules/@codor/adapter-gemini/dist/adapter.js +245 -0
- package/node_modules/@codor/adapter-gemini/dist/adapter.js.map +1 -0
- package/node_modules/@codor/adapter-gemini/dist/index.d.ts +4 -0
- package/node_modules/@codor/adapter-gemini/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/adapter-gemini/dist/index.js +3 -0
- package/node_modules/@codor/adapter-gemini/dist/index.js.map +1 -0
- package/node_modules/@codor/adapter-gemini/dist/translate.d.ts +12 -0
- package/node_modules/@codor/adapter-gemini/dist/translate.d.ts.map +1 -0
- package/node_modules/@codor/adapter-gemini/dist/translate.js +123 -0
- package/node_modules/@codor/adapter-gemini/dist/translate.js.map +1 -0
- package/node_modules/@codor/adapter-gemini/package.json +18 -0
- package/node_modules/@codor/adapter-opencode/dist/adapter.d.ts +42 -0
- package/node_modules/@codor/adapter-opencode/dist/adapter.d.ts.map +1 -0
- package/node_modules/@codor/adapter-opencode/dist/adapter.js +240 -0
- package/node_modules/@codor/adapter-opencode/dist/adapter.js.map +1 -0
- package/node_modules/@codor/adapter-opencode/dist/index.d.ts +4 -0
- package/node_modules/@codor/adapter-opencode/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/adapter-opencode/dist/index.js +3 -0
- package/node_modules/@codor/adapter-opencode/dist/index.js.map +1 -0
- package/node_modules/@codor/adapter-opencode/dist/translate.d.ts +12 -0
- package/node_modules/@codor/adapter-opencode/dist/translate.d.ts.map +1 -0
- package/node_modules/@codor/adapter-opencode/dist/translate.js +144 -0
- package/node_modules/@codor/adapter-opencode/dist/translate.js.map +1 -0
- package/node_modules/@codor/adapter-opencode/package.json +18 -0
- package/node_modules/@codor/cli/dist/artifact.d.ts +33 -0
- package/node_modules/@codor/cli/dist/artifact.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/artifact.js +183 -0
- package/node_modules/@codor/cli/dist/artifact.js.map +1 -0
- package/node_modules/@codor/cli/dist/attach.d.ts +25 -0
- package/node_modules/@codor/cli/dist/attach.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/attach.js +133 -0
- package/node_modules/@codor/cli/dist/attach.js.map +1 -0
- package/node_modules/@codor/cli/dist/connection.d.ts +21 -0
- package/node_modules/@codor/cli/dist/connection.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/connection.js +130 -0
- package/node_modules/@codor/cli/dist/connection.js.map +1 -0
- package/node_modules/@codor/cli/dist/detect.d.ts +14 -0
- package/node_modules/@codor/cli/dist/detect.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/detect.js +99 -0
- package/node_modules/@codor/cli/dist/detect.js.map +1 -0
- package/node_modules/@codor/cli/dist/index.d.ts +17 -0
- package/node_modules/@codor/cli/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/index.js +24 -0
- package/node_modules/@codor/cli/dist/index.js.map +1 -0
- package/node_modules/@codor/cli/dist/mirror.d.ts +4 -0
- package/node_modules/@codor/cli/dist/mirror.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/mirror.js +93 -0
- package/node_modules/@codor/cli/dist/mirror.js.map +1 -0
- package/node_modules/@codor/cli/dist/program.d.ts +17 -0
- package/node_modules/@codor/cli/dist/program.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/program.js +1068 -0
- package/node_modules/@codor/cli/dist/program.js.map +1 -0
- package/node_modules/@codor/cli/dist/runtime-install.d.ts +61 -0
- package/node_modules/@codor/cli/dist/runtime-install.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/runtime-install.js +122 -0
- package/node_modules/@codor/cli/dist/runtime-install.js.map +1 -0
- package/node_modules/@codor/cli/dist/runtime-paths.d.ts +24 -0
- package/node_modules/@codor/cli/dist/runtime-paths.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/runtime-paths.js +69 -0
- package/node_modules/@codor/cli/dist/runtime-paths.js.map +1 -0
- package/node_modules/@codor/cli/dist/setup-flow.d.ts +69 -0
- package/node_modules/@codor/cli/dist/setup-flow.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/setup-flow.js +110 -0
- package/node_modules/@codor/cli/dist/setup-flow.js.map +1 -0
- package/node_modules/@codor/cli/dist/setup-session.d.ts +105 -0
- package/node_modules/@codor/cli/dist/setup-session.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/setup-session.js +346 -0
- package/node_modules/@codor/cli/dist/setup-session.js.map +1 -0
- package/node_modules/@codor/cli/dist/setup-ui.d.ts +93 -0
- package/node_modules/@codor/cli/dist/setup-ui.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/setup-ui.js +249 -0
- package/node_modules/@codor/cli/dist/setup-ui.js.map +1 -0
- package/node_modules/@codor/cli/dist/setup.d.ts +108 -0
- package/node_modules/@codor/cli/dist/setup.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/setup.js +878 -0
- package/node_modules/@codor/cli/dist/setup.js.map +1 -0
- package/node_modules/@codor/cli/dist/terminal-keys.d.ts +26 -0
- package/node_modules/@codor/cli/dist/terminal-keys.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/terminal-keys.js +70 -0
- package/node_modules/@codor/cli/dist/terminal-keys.js.map +1 -0
- package/node_modules/@codor/cli/dist/terminal-qr.d.ts +2 -0
- package/node_modules/@codor/cli/dist/terminal-qr.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/terminal-qr.js +30 -0
- package/node_modules/@codor/cli/dist/terminal-qr.js.map +1 -0
- package/node_modules/@codor/cli/dist/up.d.ts +52 -0
- package/node_modules/@codor/cli/dist/up.d.ts.map +1 -0
- package/node_modules/@codor/cli/dist/up.js +178 -0
- package/node_modules/@codor/cli/dist/up.js.map +1 -0
- package/node_modules/@codor/cli/package.json +24 -0
- package/node_modules/@codor/cli/packaging/systemd/codor.service +21 -0
- package/node_modules/@codor/cli/runtime/web/assets/LandingPage-BOmG5kSw.js +31 -0
- package/node_modules/@codor/cli/runtime/web/assets/LedgerPage-CecuTS8-.js +1 -0
- package/node_modules/@codor/cli/runtime/web/assets/NoChannels-CYiBXGQd.js +11 -0
- package/node_modules/@codor/cli/runtime/web/assets/PairingCodeInput-Cr6XDWx-.js +1 -0
- package/node_modules/@codor/cli/runtime/web/assets/PairingPage-CQBWNA2L.js +6 -0
- package/node_modules/@codor/cli/runtime/web/assets/SettingsPage-DGLbSXE7.js +16 -0
- package/node_modules/@codor/cli/runtime/web/assets/StartupUnavailable-DdQBHip_.js +1 -0
- package/node_modules/@codor/cli/runtime/web/assets/arrow-left-BOpjMuRi.js +6 -0
- package/node_modules/@codor/cli/runtime/web/assets/browser-BWQYNOsD.js +6 -0
- package/node_modules/@codor/cli/runtime/web/assets/graph-toBZHlC0.js +1 -0
- package/node_modules/@codor/cli/runtime/web/assets/index-Cxi54Xim.js +408 -0
- package/node_modules/@codor/cli/runtime/web/assets/index-DjwJakJC.css +1 -0
- package/node_modules/@codor/cli/runtime/web/assets/qr-DpynCwP9.js +8 -0
- package/node_modules/@codor/cli/runtime/web/assets/react-C8w-UNLI.js +32 -0
- package/node_modules/@codor/cli/runtime/web/assets/sodium-DtsvMzX9.js +1 -0
- package/node_modules/@codor/cli/runtime/web/codor-192.png +0 -0
- package/node_modules/@codor/cli/runtime/web/codor-512.png +0 -0
- package/node_modules/@codor/cli/runtime/web/codor-apple-touch-180.png +0 -0
- package/node_modules/@codor/cli/runtime/web/codor-favicon.svg +86 -0
- package/node_modules/@codor/cli/runtime/web/codor-mark.svg +86 -0
- package/node_modules/@codor/cli/runtime/web/codor-maskable-512.png +0 -0
- package/node_modules/@codor/cli/runtime/web/codor-og.png +0 -0
- package/node_modules/@codor/cli/runtime/web/fonts/BitcountPropSingle-latin.woff2 +0 -0
- package/node_modules/@codor/cli/runtime/web/fonts/Geist-Variable.woff2 +0 -0
- package/node_modules/@codor/cli/runtime/web/fonts/GeistMono-Variable.woff2 +0 -0
- package/node_modules/@codor/cli/runtime/web/fonts/OFL.txt +93 -0
- package/node_modules/@codor/cli/runtime/web/index.html +53 -0
- package/node_modules/@codor/cli/runtime/web/manifest.webmanifest +1 -0
- package/node_modules/@codor/cli/runtime/web/sw.js +2 -0
- package/node_modules/@codor/protocol/dist/adapter.d.ts +118 -0
- package/node_modules/@codor/protocol/dist/adapter.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/adapter.js +15 -0
- package/node_modules/@codor/protocol/dist/adapter.js.map +1 -0
- package/node_modules/@codor/protocol/dist/body.d.ts +14 -0
- package/node_modules/@codor/protocol/dist/body.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/body.js +50 -0
- package/node_modules/@codor/protocol/dist/body.js.map +1 -0
- package/node_modules/@codor/protocol/dist/changelog.d.ts +30 -0
- package/node_modules/@codor/protocol/dist/changelog.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/changelog.js +19 -0
- package/node_modules/@codor/protocol/dist/changelog.js.map +1 -0
- package/node_modules/@codor/protocol/dist/default-recipient.d.ts +8 -0
- package/node_modules/@codor/protocol/dist/default-recipient.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/default-recipient.js +19 -0
- package/node_modules/@codor/protocol/dist/default-recipient.js.map +1 -0
- package/node_modules/@codor/protocol/dist/delivery.d.ts +42 -0
- package/node_modules/@codor/protocol/dist/delivery.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/delivery.js +44 -0
- package/node_modules/@codor/protocol/dist/delivery.js.map +1 -0
- package/node_modules/@codor/protocol/dist/events.d.ts +284 -0
- package/node_modules/@codor/protocol/dist/events.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/events.js +150 -0
- package/node_modules/@codor/protocol/dist/events.js.map +1 -0
- package/node_modules/@codor/protocol/dist/ids.d.ts +19 -0
- package/node_modules/@codor/protocol/dist/ids.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/ids.js +27 -0
- package/node_modules/@codor/protocol/dist/ids.js.map +1 -0
- package/node_modules/@codor/protocol/dist/index.d.ts +14 -0
- package/node_modules/@codor/protocol/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/index.js +14 -0
- package/node_modules/@codor/protocol/dist/index.js.map +1 -0
- package/node_modules/@codor/protocol/dist/interaction.d.ts +45 -0
- package/node_modules/@codor/protocol/dist/interaction.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/interaction.js +33 -0
- package/node_modules/@codor/protocol/dist/interaction.js.map +1 -0
- package/node_modules/@codor/protocol/dist/member.d.ts +146 -0
- package/node_modules/@codor/protocol/dist/member.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/member.js +169 -0
- package/node_modules/@codor/protocol/dist/member.js.map +1 -0
- package/node_modules/@codor/protocol/dist/message.d.ts +166 -0
- package/node_modules/@codor/protocol/dist/message.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/message.js +95 -0
- package/node_modules/@codor/protocol/dist/message.js.map +1 -0
- package/node_modules/@codor/protocol/dist/observability.d.ts +80 -0
- package/node_modules/@codor/protocol/dist/observability.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/observability.js +41 -0
- package/node_modules/@codor/protocol/dist/observability.js.map +1 -0
- package/node_modules/@codor/protocol/dist/room.d.ts +430 -0
- package/node_modules/@codor/protocol/dist/room.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/room.js +142 -0
- package/node_modules/@codor/protocol/dist/room.js.map +1 -0
- package/node_modules/@codor/protocol/dist/ws.d.ts +1348 -0
- package/node_modules/@codor/protocol/dist/ws.d.ts.map +1 -0
- package/node_modules/@codor/protocol/dist/ws.js +282 -0
- package/node_modules/@codor/protocol/dist/ws.js.map +1 -0
- package/node_modules/@codor/protocol/package.json +17 -0
- package/node_modules/@codor/switchboard/dist/adapter-registry.d.ts +14 -0
- package/node_modules/@codor/switchboard/dist/adapter-registry.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/adapter-registry.js +175 -0
- package/node_modules/@codor/switchboard/dist/adapter-registry.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/authorization.d.ts +13 -0
- package/node_modules/@codor/switchboard/dist/authorization.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/authorization.js +96 -0
- package/node_modules/@codor/switchboard/dist/authorization.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/blobs.d.ts +17 -0
- package/node_modules/@codor/switchboard/dist/blobs.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/blobs.js +54 -0
- package/node_modules/@codor/switchboard/dist/blobs.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/collaboration.d.ts +115 -0
- package/node_modules/@codor/switchboard/dist/collaboration.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/collaboration.js +123 -0
- package/node_modules/@codor/switchboard/dist/collaboration.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/continuation.d.ts +33 -0
- package/node_modules/@codor/switchboard/dist/continuation.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/continuation.js +177 -0
- package/node_modules/@codor/switchboard/dist/continuation.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/browser-sessions.d.ts +22 -0
- package/node_modules/@codor/switchboard/dist/crypto/browser-sessions.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/browser-sessions.js +92 -0
- package/node_modules/@codor/switchboard/dist/crypto/browser-sessions.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/challenge.d.ts +37 -0
- package/node_modules/@codor/switchboard/dist/crypto/challenge.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/challenge.js +132 -0
- package/node_modules/@codor/switchboard/dist/crypto/challenge.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/keys.d.ts +41 -0
- package/node_modules/@codor/switchboard/dist/crypto/keys.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/keys.js +145 -0
- package/node_modules/@codor/switchboard/dist/crypto/keys.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/pairing.d.ts +53 -0
- package/node_modules/@codor/switchboard/dist/crypto/pairing.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/pairing.js +182 -0
- package/node_modules/@codor/switchboard/dist/crypto/pairing.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/roomkeys.d.ts +30 -0
- package/node_modules/@codor/switchboard/dist/crypto/roomkeys.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/crypto/roomkeys.js +101 -0
- package/node_modules/@codor/switchboard/dist/crypto/roomkeys.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/daemon.d.ts +545 -0
- package/node_modules/@codor/switchboard/dist/daemon.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/daemon.js +3907 -0
- package/node_modules/@codor/switchboard/dist/daemon.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/fake-adapter.d.ts +103 -0
- package/node_modules/@codor/switchboard/dist/fake-adapter.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/fake-adapter.js +228 -0
- package/node_modules/@codor/switchboard/dist/fake-adapter.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/index.d.ts +44 -0
- package/node_modules/@codor/switchboard/dist/index.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/index.js +24 -0
- package/node_modules/@codor/switchboard/dist/index.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/ledger/resolve.d.ts +12 -0
- package/node_modules/@codor/switchboard/dist/ledger/resolve.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/ledger/resolve.js +17 -0
- package/node_modules/@codor/switchboard/dist/ledger/resolve.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/ledger/vault.d.ts +47 -0
- package/node_modules/@codor/switchboard/dist/ledger/vault.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/ledger/vault.js +175 -0
- package/node_modules/@codor/switchboard/dist/ledger/vault.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/ledger/watch.d.ts +73 -0
- package/node_modules/@codor/switchboard/dist/ledger/watch.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/ledger/watch.js +232 -0
- package/node_modules/@codor/switchboard/dist/ledger/watch.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/local-dirs.d.ts +14 -0
- package/node_modules/@codor/switchboard/dist/local-dirs.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/local-dirs.js +40 -0
- package/node_modules/@codor/switchboard/dist/local-dirs.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/local-socket.d.ts +3 -0
- package/node_modules/@codor/switchboard/dist/local-socket.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/local-socket.js +16 -0
- package/node_modules/@codor/switchboard/dist/local-socket.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/pricing.d.ts +32 -0
- package/node_modules/@codor/switchboard/dist/pricing.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/pricing.js +64 -0
- package/node_modules/@codor/switchboard/dist/pricing.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/process-liveness.d.ts +2 -0
- package/node_modules/@codor/switchboard/dist/process-liveness.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/process-liveness.js +9 -0
- package/node_modules/@codor/switchboard/dist/process-liveness.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/push/producer.d.ts +54 -0
- package/node_modules/@codor/switchboard/dist/push/producer.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/push/producer.js +168 -0
- package/node_modules/@codor/switchboard/dist/push/producer.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/push/subscriptions.d.ts +29 -0
- package/node_modules/@codor/switchboard/dist/push/subscriptions.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/push/subscriptions.js +83 -0
- package/node_modules/@codor/switchboard/dist/push/subscriptions.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/redact.d.ts +11 -0
- package/node_modules/@codor/switchboard/dist/redact.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/redact.js +65 -0
- package/node_modules/@codor/switchboard/dist/redact.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/residency.d.ts +110 -0
- package/node_modules/@codor/switchboard/dist/residency.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/residency.js +587 -0
- package/node_modules/@codor/switchboard/dist/residency.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/router.d.ts +120 -0
- package/node_modules/@codor/switchboard/dist/router.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/router.js +198 -0
- package/node_modules/@codor/switchboard/dist/router.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/server.d.ts +50 -0
- package/node_modules/@codor/switchboard/dist/server.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/server.js +1425 -0
- package/node_modules/@codor/switchboard/dist/server.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/store.d.ts +534 -0
- package/node_modules/@codor/switchboard/dist/store.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/store.js +2625 -0
- package/node_modules/@codor/switchboard/dist/store.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/transport/hyperswarm.d.ts +59 -0
- package/node_modules/@codor/switchboard/dist/transport/hyperswarm.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/transport/hyperswarm.js +183 -0
- package/node_modules/@codor/switchboard/dist/transport/hyperswarm.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/transport/peer.d.ts +87 -0
- package/node_modules/@codor/switchboard/dist/transport/peer.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/transport/peer.js +316 -0
- package/node_modules/@codor/switchboard/dist/transport/peer.js.map +1 -0
- package/node_modules/@codor/switchboard/dist/working-directory.d.ts +2 -0
- package/node_modules/@codor/switchboard/dist/working-directory.d.ts.map +1 -0
- package/node_modules/@codor/switchboard/dist/working-directory.js +26 -0
- package/node_modules/@codor/switchboard/dist/working-directory.js.map +1 -0
- package/node_modules/@codor/switchboard/package.json +33 -0
- package/package.json +58 -0
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
import { type AttachLease, type Attachment, type BridgeOrigin, type ChangeLogEntry, type Delivery, type Member, type Message, type PendingInteraction, type Room, type RoomConfig, type RoomMeter, type RoomSupport, type RunSummary } from '@codor/protocol';
|
|
2
|
+
import { type CollaborationGroup, type CollaborationParticipant, type CollaborationRound, type CollaborationRoundParticipantInput, type CollaborationRoundProjection, type CollaborationTerminalStatus } from './collaboration.js';
|
|
3
|
+
type MessageActivityMode = 'auto' | 'defer' | 'force';
|
|
4
|
+
export interface NewMember {
|
|
5
|
+
kind: Member['kind'];
|
|
6
|
+
handle: string;
|
|
7
|
+
display_name: string;
|
|
8
|
+
purpose?: string;
|
|
9
|
+
harness?: string;
|
|
10
|
+
session_ref?: string;
|
|
11
|
+
cwd?: string;
|
|
12
|
+
policy?: string;
|
|
13
|
+
model?: string;
|
|
14
|
+
thinking?: Member['thinking'];
|
|
15
|
+
host?: string;
|
|
16
|
+
state?: Member['state'];
|
|
17
|
+
custody?: Member['custody'];
|
|
18
|
+
parent?: string;
|
|
19
|
+
role?: Member['role'];
|
|
20
|
+
roster_stale?: boolean;
|
|
21
|
+
removed_ts?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface NewMessage {
|
|
24
|
+
author: string;
|
|
25
|
+
kind: Message['kind'];
|
|
26
|
+
body: string;
|
|
27
|
+
mentions?: Message['mentions'];
|
|
28
|
+
refs?: number[];
|
|
29
|
+
ledger_refs?: string[];
|
|
30
|
+
reply_to?: number;
|
|
31
|
+
run?: RunSummary;
|
|
32
|
+
run_parent_id?: number;
|
|
33
|
+
ask?: Message['ask'];
|
|
34
|
+
origin?: Message['origin'];
|
|
35
|
+
ack?: boolean;
|
|
36
|
+
attachments?: Attachment[];
|
|
37
|
+
}
|
|
38
|
+
export interface SyncResult {
|
|
39
|
+
seq: number;
|
|
40
|
+
room: Room;
|
|
41
|
+
/** Earliest id of the CONTIGUOUS tail a bounded cold hydration served, with
|
|
42
|
+
* correctness outliers excluded. Absent on an unbounded replay. */
|
|
43
|
+
history_floor?: number;
|
|
44
|
+
messages: Message[];
|
|
45
|
+
members: Member[];
|
|
46
|
+
inbox: Delivery[];
|
|
47
|
+
meters: RoomMeter[];
|
|
48
|
+
support?: RoomSupport;
|
|
49
|
+
}
|
|
50
|
+
export interface FanoutDelivery {
|
|
51
|
+
recipient: string;
|
|
52
|
+
state?: Delivery['state'];
|
|
53
|
+
payload_snapshot?: string;
|
|
54
|
+
hop_count?: number;
|
|
55
|
+
}
|
|
56
|
+
export interface AtomicTurnStart {
|
|
57
|
+
runMessage: Message;
|
|
58
|
+
deliveries: Delivery[];
|
|
59
|
+
}
|
|
60
|
+
export interface AtomicTurnCompletion {
|
|
61
|
+
message: Message;
|
|
62
|
+
outputMessages: Message[];
|
|
63
|
+
member: Member;
|
|
64
|
+
meter: RoomMeter;
|
|
65
|
+
deliveries: Delivery[];
|
|
66
|
+
collaboration?: CollaborationRoundProjection;
|
|
67
|
+
}
|
|
68
|
+
export interface TurnOutputPatch {
|
|
69
|
+
id: number;
|
|
70
|
+
body: string;
|
|
71
|
+
mentions: Message['mentions'];
|
|
72
|
+
refs: Message['refs'];
|
|
73
|
+
ledger_refs: Message['ledger_refs'];
|
|
74
|
+
ack?: boolean;
|
|
75
|
+
substantive: boolean;
|
|
76
|
+
}
|
|
77
|
+
export interface AtomicMirroredTurn {
|
|
78
|
+
message: Message;
|
|
79
|
+
deliveries: Delivery[];
|
|
80
|
+
member?: Member;
|
|
81
|
+
collaboration?: CollaborationRoundProjection;
|
|
82
|
+
deduped: boolean;
|
|
83
|
+
}
|
|
84
|
+
export interface RoutedMessagePlan {
|
|
85
|
+
fanout: FanoutDelivery[];
|
|
86
|
+
collaboration?: {
|
|
87
|
+
groupId?: string;
|
|
88
|
+
participants: CollaborationRoundParticipantInput[];
|
|
89
|
+
};
|
|
90
|
+
markMisaddressed?: boolean;
|
|
91
|
+
}
|
|
92
|
+
export interface AtomicRoutedMessage {
|
|
93
|
+
message: Message;
|
|
94
|
+
deliveries: Delivery[];
|
|
95
|
+
member?: Member;
|
|
96
|
+
collaboration?: CollaborationRoundProjection;
|
|
97
|
+
}
|
|
98
|
+
export type CollaborationRoundRelease = {
|
|
99
|
+
status: 'pending' | 'released' | 'closed' | 'already_released';
|
|
100
|
+
deliveries: Delivery[];
|
|
101
|
+
projection?: CollaborationRoundProjection;
|
|
102
|
+
};
|
|
103
|
+
export interface DeliveryAttemptProcess {
|
|
104
|
+
pid?: number;
|
|
105
|
+
process_group_id?: number;
|
|
106
|
+
}
|
|
107
|
+
export type LifecycleRetryRefusalReason = 'attempt_ceiling' | 'deleted_trigger' | 'settled_collaboration';
|
|
108
|
+
/**
|
|
109
|
+
* The room store: better-sqlite3, synchronous, one file per switchboard.
|
|
110
|
+
* Every mutation of a client-visible entity appends to the change log inside
|
|
111
|
+
* the same transaction — sync hydrates exclusively from that log.
|
|
112
|
+
*/
|
|
113
|
+
export declare class Store {
|
|
114
|
+
private readonly db;
|
|
115
|
+
constructor(path: string);
|
|
116
|
+
close(): void;
|
|
117
|
+
/**
|
|
118
|
+
* Allocates the room's next seq and appends one change row — called by
|
|
119
|
+
* EVERY mutating method below, inside its transaction. Returns the seq so
|
|
120
|
+
* the mutation can stamp it on the entity (messages carry their seq).
|
|
121
|
+
*/
|
|
122
|
+
private appendChange;
|
|
123
|
+
/**
|
|
124
|
+
* Creates a room and atomically seeds its two structural members: the
|
|
125
|
+
* owner human (the authenticated principal's author identity) and the
|
|
126
|
+
* non-addressable system member holding the reserved 'switchboard' handle.
|
|
127
|
+
*/
|
|
128
|
+
createRoom(opts: {
|
|
129
|
+
id: string;
|
|
130
|
+
name: string;
|
|
131
|
+
owner: {
|
|
132
|
+
handle: string;
|
|
133
|
+
display_name: string;
|
|
134
|
+
};
|
|
135
|
+
config?: Partial<RoomConfig>;
|
|
136
|
+
}): {
|
|
137
|
+
room: Room;
|
|
138
|
+
owner: Member;
|
|
139
|
+
system: Member;
|
|
140
|
+
};
|
|
141
|
+
getRoom(id: string): Room | undefined;
|
|
142
|
+
listRooms(): Room[];
|
|
143
|
+
updateRoomConfig(room: string, patch: Partial<RoomConfig>): Room;
|
|
144
|
+
private insertMember;
|
|
145
|
+
addMember(room: string, member: NewMember): Member;
|
|
146
|
+
updateMember(room: string, memberId: string, patch: Partial<Omit<Member, 'id' | 'kind'>>): Member;
|
|
147
|
+
setAgentCredentialHash(room: string, memberId: string, credentialHash: string): void;
|
|
148
|
+
findAgentByCredentialHash(credentialHash: string): {
|
|
149
|
+
room: string;
|
|
150
|
+
member: Member;
|
|
151
|
+
} | undefined;
|
|
152
|
+
getMember(room: string, memberId: string): Member | undefined;
|
|
153
|
+
getMemberByHandle(room: string, handle: string): Member | undefined;
|
|
154
|
+
findMemberBySessionRef(harness: string, sessionRef: string): {
|
|
155
|
+
room: string;
|
|
156
|
+
member: Member;
|
|
157
|
+
} | undefined;
|
|
158
|
+
getExtensionByNativeId(room: string, parentId: string, nativeId: string): Member | undefined;
|
|
159
|
+
listMembers(room: string, options?: {
|
|
160
|
+
includeRemoved?: boolean;
|
|
161
|
+
}): Member[];
|
|
162
|
+
markAgentRostersStale(room: string): void;
|
|
163
|
+
clearAgentRosterStale(room: string, memberId: string): void;
|
|
164
|
+
getMirroredMessageId(room: string, memberId: string, nativeTurnId: string): number | undefined;
|
|
165
|
+
recordMirroredTurn(room: string, memberId: string, nativeTurnId: string, messageId: number): void;
|
|
166
|
+
commitMirroredTurn(room: string, opts: {
|
|
167
|
+
memberId: string;
|
|
168
|
+
nativeTurnId: string;
|
|
169
|
+
finalize(placeholder: Message): {
|
|
170
|
+
message: Partial<Pick<Message, 'body' | 'mentions' | 'refs' | 'ledger_refs' | 'run'>>;
|
|
171
|
+
fanout: FanoutDelivery[];
|
|
172
|
+
collaboration?: RoutedMessagePlan['collaboration'];
|
|
173
|
+
markMisaddressed?: boolean;
|
|
174
|
+
};
|
|
175
|
+
}): AtomicMirroredTurn;
|
|
176
|
+
createAttachLease(input: {
|
|
177
|
+
room: string;
|
|
178
|
+
member_id: string;
|
|
179
|
+
cli_pid: number;
|
|
180
|
+
heartbeat_ts: number;
|
|
181
|
+
}): AttachLease;
|
|
182
|
+
getAttachLease(id: string): AttachLease | undefined;
|
|
183
|
+
getAttachLeaseForMember(memberId: string): AttachLease | undefined;
|
|
184
|
+
listAttachLeases(): AttachLease[];
|
|
185
|
+
setAttachLeaseChild(id: string, childPid: number, processGroupId: number, heartbeatTs: number): AttachLease;
|
|
186
|
+
heartbeatAttachLease(id: string, heartbeatTs: number): AttachLease;
|
|
187
|
+
deleteAttachLease(id: string): void;
|
|
188
|
+
private attachLeaseFromRow;
|
|
189
|
+
/**
|
|
190
|
+
* Message ids are per-room dense monotonic ints allocated as MAX(id)+1
|
|
191
|
+
* INSIDE the same synchronous transaction as the insert — ids are permanent
|
|
192
|
+
* (#N refs), so allocation can never race or leave gaps.
|
|
193
|
+
*/
|
|
194
|
+
postMessage(room: string, message: NewMessage, options?: {
|
|
195
|
+
activity?: MessageActivityMode;
|
|
196
|
+
}): Message;
|
|
197
|
+
commitRoutedMessage(room: string, opts: {
|
|
198
|
+
message: NewMessage;
|
|
199
|
+
plan(message: Message): RoutedMessagePlan;
|
|
200
|
+
}): AtomicRoutedMessage;
|
|
201
|
+
postBridgeMessage(room: string, bridgeMemberId: string, body: string, origin: BridgeOrigin, parsed: Pick<Message, 'mentions' | 'refs' | 'ledger_refs'>, plan?: (message: Message) => RoutedMessagePlan): AtomicRoutedMessage & {
|
|
202
|
+
deduped: boolean;
|
|
203
|
+
};
|
|
204
|
+
latestMessageId(room: string): number;
|
|
205
|
+
/** Allocate and insert a permanent empty continuation before its id is journaled. */
|
|
206
|
+
createRunContinuation(room: string, rootMessageId: number): Message;
|
|
207
|
+
listRunContinuations(room: string, rootMessageId: number): Message[];
|
|
208
|
+
/** Resolve either a root or one of its result fragments to lifecycle truth. */
|
|
209
|
+
getRunRoot(room: string, message: Message): Message | undefined;
|
|
210
|
+
latestFinalizedAgentAuthor(room: string): string | undefined;
|
|
211
|
+
listMessagesAfter(room: string, after: number, limit?: number): Message[];
|
|
212
|
+
/**
|
|
213
|
+
* In-place update of a message (run finalization: body becomes final_text,
|
|
214
|
+
* mentions/refs re-parsed, run summary updated). Same id, new seq.
|
|
215
|
+
*/
|
|
216
|
+
updateMessage(room: string, id: number, patch: Partial<Pick<Message, 'body' | 'mentions' | 'refs' | 'ledger_refs' | 'run' | 'ask' | 'ack'>>, options?: {
|
|
217
|
+
activity?: MessageActivityMode;
|
|
218
|
+
}): Message;
|
|
219
|
+
/**
|
|
220
|
+
* Flip a message's pinned flag through the change log, so live frames and
|
|
221
|
+
* reconnect sync both carry it. Same id, new seq; nothing else on the row
|
|
222
|
+
* moves.
|
|
223
|
+
*/
|
|
224
|
+
setMessagePinned(room: string, id: number, pinned: boolean): Message;
|
|
225
|
+
/**
|
|
226
|
+
* Purge a message in place through the change log: body emptied, payload
|
|
227
|
+
* columns nulled, pin cleared (a tombstone cannot stay pinned), the deleted
|
|
228
|
+
* flag set. Same id and new seq keep ordering, attribution, and permalinks
|
|
229
|
+
* coherent; the purge is irreversible.
|
|
230
|
+
*/
|
|
231
|
+
deleteMessage(room: string, id: number): Message;
|
|
232
|
+
getMessage(room: string, id: number): Message | undefined;
|
|
233
|
+
/** Every pinned message, id-ascending — the strip hydrates from this whole
|
|
234
|
+
* set (pins are few) so a pin older than the loaded page still shows. */
|
|
235
|
+
listPinnedMessages(room: string): Message[];
|
|
236
|
+
/** Engine-reported context window, persisted so gauge estimates outlive
|
|
237
|
+
* restarts (daemon-internal; not part of the protocol Member shape). */
|
|
238
|
+
getMemberContextWindow(room: string, id: string): number | undefined;
|
|
239
|
+
setMemberContextWindow(room: string, id: string, contextWindow: number): void;
|
|
240
|
+
/** Newest message in a room — the rail preview's single source. */
|
|
241
|
+
latestMessage(room: string, options?: {
|
|
242
|
+
ignoreAcks?: boolean;
|
|
243
|
+
}): Message | undefined;
|
|
244
|
+
/** Legacy caller-cursor arithmetic retained until every client opts into
|
|
245
|
+
* durable room support. */
|
|
246
|
+
countMessagesAfter(room: string, afterId: number): number;
|
|
247
|
+
getRoomReadSeq(room: string, memberId: string): number;
|
|
248
|
+
markRoomRead(room: string, memberId: string, throughSeq: number): {
|
|
249
|
+
read_seq: number;
|
|
250
|
+
deliveries: Delivery[];
|
|
251
|
+
};
|
|
252
|
+
countUnreadMessages(room: string, memberId: string): number;
|
|
253
|
+
private actionableInbox;
|
|
254
|
+
roomSupport(room: string, memberId: string): RoomSupport;
|
|
255
|
+
listMessages(room: string, opts?: {
|
|
256
|
+
limit?: number;
|
|
257
|
+
before?: number;
|
|
258
|
+
}): Message[];
|
|
259
|
+
listRunMessages(room: string, opts?: {
|
|
260
|
+
limit?: number;
|
|
261
|
+
author?: string;
|
|
262
|
+
}): Message[];
|
|
263
|
+
listChatMessagesByAuthorWithin(room: string, author: string, startedTs: string, endedTs: string | undefined, limit?: number): Message[];
|
|
264
|
+
searchMessages(room: string, query: string, opts?: {
|
|
265
|
+
limit?: number;
|
|
266
|
+
}): Message[];
|
|
267
|
+
createDelivery(room: string, delivery: {
|
|
268
|
+
message_id: number;
|
|
269
|
+
recipient: string;
|
|
270
|
+
state?: Delivery['state'];
|
|
271
|
+
payload_snapshot?: string;
|
|
272
|
+
hop_count?: number;
|
|
273
|
+
group_id?: string;
|
|
274
|
+
group_round?: number;
|
|
275
|
+
}): Delivery;
|
|
276
|
+
updateDelivery(room: string, deliveryId: string, patch: Partial<Pick<Delivery, 'state' | 'attempt_count' | 'batch_id' | 'run_msg_id' | 'read_ts' | 'interaction_resolved_ts'>>): Delivery;
|
|
277
|
+
getDelivery(room: string, deliveryId: string): Delivery | undefined;
|
|
278
|
+
consumeQueuedDelivery(room: string, deliveryId: string, recipientId: string): {
|
|
279
|
+
delivery: Delivery;
|
|
280
|
+
message: Message;
|
|
281
|
+
};
|
|
282
|
+
getDeliveryPayloadSnapshot(room: string, deliveryId: string): string | undefined;
|
|
283
|
+
/** Internal process evidence for one delivery attempt; not client-visible. */
|
|
284
|
+
getDeliveryAttemptProcess(room: string, deliveryId: string): DeliveryAttemptProcess | undefined;
|
|
285
|
+
setDeliveryAttemptProcess(room: string, deliveryIds: string[], process: DeliveryAttemptProcess | undefined): void;
|
|
286
|
+
listDeliveries(room: string, filter?: {
|
|
287
|
+
recipient?: string;
|
|
288
|
+
state?: Delivery['state'];
|
|
289
|
+
}): Delivery[];
|
|
290
|
+
/** Creates/reuses the run and binds the complete batch in one transaction. */
|
|
291
|
+
beginTurn(room: string, opts: {
|
|
292
|
+
memberId: string;
|
|
293
|
+
deliveryIds: string[];
|
|
294
|
+
startedTs: string;
|
|
295
|
+
model?: string;
|
|
296
|
+
eventsRef: (messageId: number) => string;
|
|
297
|
+
reuseRunMsgId?: number;
|
|
298
|
+
}): AtomicTurnStart | undefined;
|
|
299
|
+
/** Commits lifecycle truth, every output row, custody, accounting, and fanout together. */
|
|
300
|
+
completeTurn(room: string, opts: {
|
|
301
|
+
runMsgId: number;
|
|
302
|
+
message: Partial<Pick<Message, 'body' | 'mentions' | 'refs' | 'ledger_refs' | 'run' | 'ack'>>;
|
|
303
|
+
outputs: TurnOutputPatch[];
|
|
304
|
+
resultMessageId: number;
|
|
305
|
+
inputDeliveryIds: string[];
|
|
306
|
+
memberId: string;
|
|
307
|
+
memberPatch: Partial<Omit<Member, 'id' | 'kind'>>;
|
|
308
|
+
meterDay: string;
|
|
309
|
+
meterDelta: {
|
|
310
|
+
turns?: number;
|
|
311
|
+
cost_usd?: number;
|
|
312
|
+
estimated_cost_usd?: number;
|
|
313
|
+
input_tokens?: number;
|
|
314
|
+
output_tokens?: number;
|
|
315
|
+
uncosted_tokens?: number;
|
|
316
|
+
};
|
|
317
|
+
fanout: FanoutDelivery[];
|
|
318
|
+
participantTerminal?: {
|
|
319
|
+
deliveryId: string;
|
|
320
|
+
status: Exclude<CollaborationTerminalStatus, 'skipped'>;
|
|
321
|
+
completedTs: string;
|
|
322
|
+
};
|
|
323
|
+
collaboration?: RoutedMessagePlan['collaboration'];
|
|
324
|
+
}): AtomicTurnCompletion;
|
|
325
|
+
getCollaborationGroup(room: string, groupId: string): CollaborationGroup | undefined;
|
|
326
|
+
getCollaborationGroupByRoot(room: string, rootMessageId: number): CollaborationGroup | undefined;
|
|
327
|
+
listCollaborationGroups(room: string, state?: CollaborationGroup['state']): CollaborationGroup[];
|
|
328
|
+
getCollaborationRound(room: string, groupId: string, roundNumber: number): CollaborationRound | undefined;
|
|
329
|
+
listCollaborationRounds(room: string, groupId: string): CollaborationRound[];
|
|
330
|
+
listCollaborationParticipants(room: string, groupId: string, roundNumber: number): CollaborationParticipant[];
|
|
331
|
+
findCollaborationParticipantByDelivery(room: string, deliveryId: string): CollaborationParticipant | undefined;
|
|
332
|
+
getCollaborationRoundProjection(room: string, groupId: string, roundNumber: number): CollaborationRoundProjection | undefined;
|
|
333
|
+
updateCollaborationGroup(room: string, groupId: string, patch: Partial<Pick<CollaborationGroup, 'state' | 'completed_ts'>>): CollaborationGroup;
|
|
334
|
+
updateCollaborationRound(room: string, groupId: string, roundNumber: number, patch: Partial<Pick<CollaborationRound, 'state' | 'released_ts'>>): CollaborationRound;
|
|
335
|
+
updateCollaborationParticipant(room: string, groupId: string, roundNumber: number, memberId: string, patch: Partial<Pick<CollaborationParticipant, 'terminal_status' | 'result_message_id' | 'completed_ts'>>): CollaborationParticipant;
|
|
336
|
+
recordCollaborationParticipantTerminal(room: string, opts: {
|
|
337
|
+
deliveryId: string;
|
|
338
|
+
status: Exclude<CollaborationTerminalStatus, 'skipped'>;
|
|
339
|
+
resultMessageId: number;
|
|
340
|
+
completedTs: string;
|
|
341
|
+
}): CollaborationParticipant;
|
|
342
|
+
recoverCollaborationParticipantTerminal(room: string, opts: {
|
|
343
|
+
deliveryId: string;
|
|
344
|
+
status: Exclude<CollaborationTerminalStatus, 'skipped'>;
|
|
345
|
+
resultMessageId: number;
|
|
346
|
+
completedTs: string;
|
|
347
|
+
}): {
|
|
348
|
+
delivery: Delivery;
|
|
349
|
+
participant: CollaborationParticipant;
|
|
350
|
+
};
|
|
351
|
+
skipCollaborationParticipant(room: string, deliveryId: string, completedTs: string): {
|
|
352
|
+
delivery: Delivery;
|
|
353
|
+
participant: CollaborationParticipant;
|
|
354
|
+
};
|
|
355
|
+
releaseCollaborationRound(room: string, opts: {
|
|
356
|
+
groupId: string;
|
|
357
|
+
roundNumber: number;
|
|
358
|
+
releasedTs: string;
|
|
359
|
+
nextParticipants: CollaborationRoundParticipantInput[];
|
|
360
|
+
}): CollaborationRoundRelease;
|
|
361
|
+
private assertCollaborationParticipantInputShape;
|
|
362
|
+
private assertActiveAgentParticipants;
|
|
363
|
+
private assertExistingCollaborationRound;
|
|
364
|
+
private materializeCollaborationRound;
|
|
365
|
+
createCollaborationGroup(room: string, opts: {
|
|
366
|
+
groupId?: string;
|
|
367
|
+
rootMessageId: number;
|
|
368
|
+
participants: CollaborationRoundParticipantInput[];
|
|
369
|
+
createdTs?: string;
|
|
370
|
+
}): CollaborationRoundProjection;
|
|
371
|
+
createCollaborationRound(room: string, opts: {
|
|
372
|
+
groupId: string;
|
|
373
|
+
roundNumber: number;
|
|
374
|
+
participants: CollaborationRoundParticipantInput[];
|
|
375
|
+
createdTs?: string;
|
|
376
|
+
}): CollaborationRoundProjection;
|
|
377
|
+
/**
|
|
378
|
+
* Settle a turn whose journal is terminal but whose NORMAL finalization could
|
|
379
|
+
* not commit — the #599 shape: a lifecycle retry rebound to a delivery whose
|
|
380
|
+
* participant already holds a terminal result, so completeTurn's participant
|
|
381
|
+
* write correctly refused and took the whole transaction down with it, leaving
|
|
382
|
+
* the row `running` and the delivery `delivering` after the in-memory guard
|
|
383
|
+
* had already cleared.
|
|
384
|
+
*
|
|
385
|
+
* This is deliberately NOT the normal path: it routes nothing, replaces no
|
|
386
|
+
* participant result, and keeps the original journal so the evidence of what
|
|
387
|
+
* the engine actually did survives. It only makes the durable state honest —
|
|
388
|
+
* the attempt failed, its input is settled, the member is not running.
|
|
389
|
+
*
|
|
390
|
+
* Idempotent by construction: a run that is no longer `running` has already
|
|
391
|
+
* been repaired (or finalized normally), so a second runtime or boot pass
|
|
392
|
+
* returns `repaired: false` and writes nothing — including the meter, which
|
|
393
|
+
* is why the rolled-back attempt is counted exactly once rather than never.
|
|
394
|
+
*/
|
|
395
|
+
repairFailedFinalization(room: string, opts: {
|
|
396
|
+
runMsgId: number;
|
|
397
|
+
memberId: string;
|
|
398
|
+
deliveryIds: string[];
|
|
399
|
+
outputs?: TurnOutputPatch[];
|
|
400
|
+
error: string;
|
|
401
|
+
endedTs: string;
|
|
402
|
+
usage?: RunSummary['usage'];
|
|
403
|
+
estimatedCostUsd?: number;
|
|
404
|
+
meterDay: string;
|
|
405
|
+
meterDelta: {
|
|
406
|
+
turns?: number;
|
|
407
|
+
cost_usd?: number;
|
|
408
|
+
estimated_cost_usd?: number;
|
|
409
|
+
input_tokens?: number;
|
|
410
|
+
output_tokens?: number;
|
|
411
|
+
uncosted_tokens?: number;
|
|
412
|
+
};
|
|
413
|
+
}): {
|
|
414
|
+
repaired: boolean;
|
|
415
|
+
message?: Message;
|
|
416
|
+
outputMessages?: Message[];
|
|
417
|
+
member?: Member;
|
|
418
|
+
meter?: RoomMeter;
|
|
419
|
+
notice?: Message;
|
|
420
|
+
deliveries: Delivery[];
|
|
421
|
+
held: string[];
|
|
422
|
+
};
|
|
423
|
+
/**
|
|
424
|
+
* True when this delivery's collaboration work is already settled — a terminal
|
|
425
|
+
* participant, or a round/group that is no longer accepting work. A delivery
|
|
426
|
+
* with no collaboration context at all is NOT settled: an ordinary turn that
|
|
427
|
+
* failed to finalize is exactly the ambiguous case an operator should see.
|
|
428
|
+
*
|
|
429
|
+
* Public because it is the SAME predicate on both sides of the seam: the
|
|
430
|
+
* daemon asks it before attempting normal finalization, and repair asks it
|
|
431
|
+
* when deciding consume-vs-hold. A second copy of this rule that drifted
|
|
432
|
+
* would let a closed group accept a new result — `recordCollaboration-
|
|
433
|
+
* ParticipantTerminal` guards only the participant, never its round or group.
|
|
434
|
+
*/
|
|
435
|
+
collaborationWorkIsSettled(room: string, deliveryId: string): boolean;
|
|
436
|
+
/**
|
|
437
|
+
* Settle a turn the daemon's OWN lifecycle interrupted, deciding retry
|
|
438
|
+
* eligibility and terminality as ONE fact.
|
|
439
|
+
*
|
|
440
|
+
* The #598/#599 bug was these being two facts: the attempt finalized as a
|
|
441
|
+
* terminal participant result, and only afterwards was its delivery re-queued
|
|
442
|
+
* — so the retry came back to a participant that already had an answer. Here
|
|
443
|
+
* a delivery is either durably re-queued (and its participant deliberately
|
|
444
|
+
* left nonterminal, its round still open, so the eventual retry produces the
|
|
445
|
+
* one result) or it is settled and its participant recorded `interrupted` so
|
|
446
|
+
* the barrier releases. Never both, never neither: a nonterminal participant
|
|
447
|
+
* may exist only with a queued retry behind it.
|
|
448
|
+
*
|
|
449
|
+
* Retry is admissible only while the work is genuinely still live — below the
|
|
450
|
+
* attempt ceiling, trigger not deleted, and collaboration work not settled.
|
|
451
|
+
* Operator Stop never reaches here; it is terminal by construction.
|
|
452
|
+
*/
|
|
453
|
+
settleLifecycleInterruption(room: string, opts: {
|
|
454
|
+
runMsgId: number;
|
|
455
|
+
memberId: string;
|
|
456
|
+
deliveryIds: string[];
|
|
457
|
+
message: Partial<Pick<Message, 'body' | 'mentions' | 'refs' | 'ledger_refs' | 'run' | 'ack'>>;
|
|
458
|
+
outputs: TurnOutputPatch[];
|
|
459
|
+
memberPatch: Partial<Omit<Member, 'id' | 'kind'>>;
|
|
460
|
+
endedTs: string;
|
|
461
|
+
attemptCeiling: number;
|
|
462
|
+
meterDay: string;
|
|
463
|
+
meterDelta: {
|
|
464
|
+
turns?: number;
|
|
465
|
+
cost_usd?: number;
|
|
466
|
+
estimated_cost_usd?: number;
|
|
467
|
+
input_tokens?: number;
|
|
468
|
+
output_tokens?: number;
|
|
469
|
+
uncosted_tokens?: number;
|
|
470
|
+
};
|
|
471
|
+
}): {
|
|
472
|
+
message: Message;
|
|
473
|
+
outputMessages: Message[];
|
|
474
|
+
member: Member;
|
|
475
|
+
meter: RoomMeter;
|
|
476
|
+
notice?: Message;
|
|
477
|
+
requeued: Delivery[];
|
|
478
|
+
settled: Delivery[];
|
|
479
|
+
refusals: {
|
|
480
|
+
delivery: Delivery;
|
|
481
|
+
reason: LifecycleRetryRefusalReason;
|
|
482
|
+
}[];
|
|
483
|
+
};
|
|
484
|
+
upsertInteraction(interaction: PendingInteraction): PendingInteraction;
|
|
485
|
+
getInteraction(id: string): PendingInteraction | undefined;
|
|
486
|
+
listInteractions(room: string, state?: PendingInteraction['state']): PendingInteraction[];
|
|
487
|
+
private resolveApprovalDeliveries;
|
|
488
|
+
orphanInteraction(room: string, interactionId: string, orphanedTs: string): {
|
|
489
|
+
interaction: PendingInteraction;
|
|
490
|
+
deliveries: Delivery[];
|
|
491
|
+
};
|
|
492
|
+
answerApproval(room: string, interactionId: string, answer: unknown, answeredBy: string, answeredTs: string): {
|
|
493
|
+
interaction: PendingInteraction;
|
|
494
|
+
deliveries: Delivery[];
|
|
495
|
+
};
|
|
496
|
+
bumpMeter(room: string, day: string, delta: {
|
|
497
|
+
turns?: number;
|
|
498
|
+
cost_usd?: number;
|
|
499
|
+
estimated_cost_usd?: number;
|
|
500
|
+
input_tokens?: number;
|
|
501
|
+
output_tokens?: number;
|
|
502
|
+
uncosted_tokens?: number;
|
|
503
|
+
}): RoomMeter;
|
|
504
|
+
getMeter(room: string, day: string): RoomMeter | undefined;
|
|
505
|
+
currentSeq(room: string): number;
|
|
506
|
+
getChangesSince(room: string, sinceSeq: number): ChangeLogEntry[];
|
|
507
|
+
/** Delta-sync: hydrate rows and its final cursor from one SQLite snapshot. */
|
|
508
|
+
sync(room: string, sinceSeq: number, opts?: {
|
|
509
|
+
hydrateLimit?: number;
|
|
510
|
+
subscriber?: string;
|
|
511
|
+
strictTail?: boolean;
|
|
512
|
+
supportFor?: string;
|
|
513
|
+
}): SyncResult;
|
|
514
|
+
/**
|
|
515
|
+
* A cold viewer's bounded snapshot, built INSIDE sync()'s transaction. An
|
|
516
|
+
* addressed subscriber gets exactly the contiguous tail and a separate
|
|
517
|
+
* support projection. A legacy subscriber keeps the prior outlier-bearing
|
|
518
|
+
* shape until the client cutover:
|
|
519
|
+
* - every running run, so a live turn renders however old it is;
|
|
520
|
+
* - the cards of unresolved interactions, so an ask that scrolled past the
|
|
521
|
+
* tail is still answerable;
|
|
522
|
+
* - the messages this subscriber's unread deliveries point at, because the
|
|
523
|
+
* inbox filter drops deliveries whose message is absent and the badge
|
|
524
|
+
* would undercount;
|
|
525
|
+
* - the latest finalized non-ack agent run, the default-recipient seed.
|
|
526
|
+
* `history_floor` is the tail's floor ALONE — an outlier must never drag the
|
|
527
|
+
* client's cursor backwards past a gap it did not receive.
|
|
528
|
+
*/
|
|
529
|
+
private boundedColdSnapshot;
|
|
530
|
+
/** Crockford-base32 ULID (timestamp + randomness), no external dep. */
|
|
531
|
+
private newUlid;
|
|
532
|
+
}
|
|
533
|
+
export {};
|
|
534
|
+
//# sourceMappingURL=store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,UAAU,EAEf,KAAK,YAAY,EAGjB,KAAK,cAAc,EAEnB,KAAK,QAAQ,EAEb,KAAK,MAAM,EAEX,KAAK,OAAO,EAEZ,KAAK,kBAAkB,EAEvB,KAAK,IAAI,EACT,KAAK,UAAU,EAGf,KAAK,SAAS,EAGd,KAAK,WAAW,EAEhB,KAAK,UAAU,EAEhB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,wBAAwB,EAE7B,KAAK,kBAAkB,EACvB,KAAK,kCAAkC,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