prismalens 0.5.1 → 0.5.2
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/THIRD_PARTY_NOTICES.txt +82 -57
- package/node_modules/@prisma/adapter-better-sqlite3/package.json +2 -2
- package/node_modules/@prismalens/agent-adapters/LICENSE +201 -0
- package/node_modules/@prismalens/agent-adapters/README.md +3 -0
- package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@agentclientprotocol/claude-agent-acp/LICENSE +191 -0
- package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@agentclientprotocol/codex-acp/LICENSE +190 -0
- package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@anthropic-ai/claude-agent-sdk/LICENSE.md +1 -0
- package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@anthropic-ai/claude-agent-sdk/README.md +65 -0
- package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@openai/codex/LICENSE +204 -0
- package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@openai/codex/NOTICE +6 -0
- package/node_modules/@prismalens/agent-adapters/dist/index.d.ts +9 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-agent.d.ts +1369 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-subagents.d.ts +82 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/air-extension.d.ts +25 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/async-tasks.d.ts +117 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/auth-status.d.ts +140 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/clear-context-coordinator.d.ts +60 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction-meta.d.ts +18 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction.d.ts +132 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/diff.d.ts +13 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/elicitation.d.ts +138 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/exit-plan.d.ts +42 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/file-change-audit.d.ts +47 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/fork-session.d.ts +15 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/goal-extension.d.ts +36 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/hide-claude-auth.d.ts +152 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/index.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/lib.d.ts +7 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/managed-policy.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/native-subagents.d.ts +71 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/effects.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/modes.d.ts +10 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/normalization.d.ts +6 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/filesystem.d.ts +9 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shared.d.ts +44 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shell.d.ts +5 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/tools.d.ts +11 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options.d.ts +5 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/presentation.d.ts +16 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/response.d.ts +11 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/resumed-session.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-config-ids.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-effort.d.ts +14 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-failure-extension.d.ts +97 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-mode.d.ts +74 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-model.d.ts +41 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-notices.d.ts +41 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-timing.d.ts +15 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-titles.d.ts +77 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/settings.d.ts +68 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-result-meta.d.ts +8 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/tools.d.ts +98 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/usage-markdown.d.ts +7 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/utils.d.ts +16 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/acp.d.ts +1803 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/acp.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/acp.test.js +5036 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/connection.d.ts +89 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/connection.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/connection.test.js +507 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/cookie-store.d.ts +26 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.js +77 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/agent.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/client.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.d.ts +9 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/http-stream.d.ts +33 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.js +1380 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.d.ts +603 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.js +917 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/line-buffer.d.ts +22 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.js +45 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/node-adapter.d.ts +17 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.js +499 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol-router.d.ts +37 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.js +535 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol.d.ts +11 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol.test.js +82 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.d.ts +183 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema/index.d.ts +51 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.d.ts +6219 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.d.ts +15215 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.d.ts +30 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.js +93 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.js +261 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.js +536 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-sse.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.js +53 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.js +992 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server.d.ts +81 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server.test.js +1116 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/sse.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/sse.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/sse.test.js +126 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/stream.d.ts +35 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/stream.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/stream.test.js +195 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.d.ts +8 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.d.ts +24 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.d.ts +9 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/acp.d.ts +957 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js +1287 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.d.ts +946 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.d.ts +42 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.d.ts +6208 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.d.ts +33267 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-server.d.ts +14 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-stream.d.ts +54 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.js +836 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-utils.d.ts +13 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.js +42 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/agentSdkTypes.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/bridge.d.ts +378 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.d.ts +184 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/extractFromBunfs.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/sdk-tools.d.ts +4153 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/sdk.d.ts +9551 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/default-browser/index.d.ts +29 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/define-lazy-prop/index.d.ts +31 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/convert/dmp.d.ts +8 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/convert/xml.d.ts +6 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/array.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/base.d.ts +20 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/character.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/css.d.ts +18 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/json.d.ts +24 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/line.d.ts +24 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/sentence.d.ts +21 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/word.d.ts +35 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/index.d.ts +20 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/apply.d.ts +62 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/create.d.ts +131 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/line-endings.d.ts +17 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/parse.d.ts +16 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/reverse.d.ts +22 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/types.d.ts +260 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/util/array.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/util/distance-iterator.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/util/params.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/util/string.d.ts +30 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/convert/dmp.d.ts +8 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/convert/xml.d.ts +6 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/array.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/base.d.ts +20 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/character.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/css.d.ts +18 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/json.d.ts +24 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/line.d.ts +24 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/sentence.d.ts +21 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/word.d.ts +35 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/index.d.ts +20 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/apply.d.ts +62 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/create.d.ts +131 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/line-endings.d.ts +17 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/parse.d.ts +16 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/reverse.d.ts +22 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/types.d.ts +260 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/util/array.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/util/distance-iterator.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/util/params.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/util/string.d.ts +30 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/is-docker/index.d.ts +13 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/is-in-ssh/index.d.ts +15 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/is-inside-container/index.d.ts +13 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/is-wsl/index.d.ts +15 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/open/index.d.ts +158 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/powershell-utils/index.d.ts +175 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/run-applescript/index.d.ts +66 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/browser/ril.d.ts +22 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/api.d.ts +14 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/connection.d.ts +367 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/events.d.ts +39 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/is.d.ts +7 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts +55 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/node/main.d.ts +59 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/node/ril.d.ts +12 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/typings/thenable.d.ts +5 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/wsl-utils/index.d.ts +180 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/index.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/api.d.ts +335 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/schemas.d.ts +1273 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/util.d.ts +278 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/@prismalens/agent-adapters/package.json +21 -6
- package/node_modules/@prismalens/api/dist/src/core/harness/repo-source.service.js +1 -0
- package/node_modules/@prismalens/api/public/THIRD_PARTY_NOTICES.txt +82 -57
- package/node_modules/@prismalens/api/public/assets/{Field-dI7mth89.js → Field-Blwn4QDs.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/Hint-I6G52Q_M.js +41 -0
- package/node_modules/@prismalens/api/public/assets/MergeDialog-DI7nb-pG.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{ResolveDialog-D-swl2ib.js → ResolveDialog-CKyuzNtU.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/RunsMenu-B46B_gZU.js +3 -0
- package/node_modules/@prismalens/api/public/assets/{ServiceFormDialog-CtxQGmaD.js → ServiceFormDialog-CQm0Unxf.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/_authenticated-BPsBFlMh.js +1 -0
- package/node_modules/@prismalens/api/public/assets/_authenticated-BzbPxOeY.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{_id-Due91CTg.js → _id-D_G5RMgK.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/_id-Da-m0w25.js +1 -0
- package/node_modules/@prismalens/api/public/assets/_id-NQNr5-yE.js +1 -0
- package/node_modules/@prismalens/api/public/assets/_id-mJSRa5Ke.js +1 -0
- package/node_modules/@prismalens/api/public/assets/alerts-D_IcsMcM.js +1 -0
- package/node_modules/@prismalens/api/public/assets/bundle-mjs-B_LDP-6b.js +1 -0
- package/node_modules/@prismalens/api/public/assets/button-Chns-8Ua.js +1 -0
- package/node_modules/@prismalens/api/public/assets/conversation-BGvYjBh3.js +158 -0
- package/node_modules/@prismalens/api/public/assets/desktop-DCOrT9cX.js +63 -0
- package/node_modules/@prismalens/api/public/assets/dist-Cnb_-T3N.js +1 -0
- package/node_modules/@prismalens/api/public/assets/fixes-DpzBzASh.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{highlighted-body-KQOG7T2V-C0hkD05-.js → highlighted-body-KQOG7T2V-CDakMIg-.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/{incident-attention-Edky2Ay0.js → incident-attention-hT3OUOPc.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/incidents-C6Rq41eK.js +1 -0
- package/node_modules/@prismalens/api/public/assets/index-BnrHkPFh.js +23 -0
- package/node_modules/@prismalens/api/public/assets/jsx-runtime-CXCudH8Z.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{loader-circle-CfKw5wFE.js → loader-circle-C8a_Hnk6.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/matchContext-IH8ddzQs.js +2 -0
- package/node_modules/@prismalens/api/public/assets/mermaid-MCJ5UELQ-CLXWgSuk.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{pair-DuWT-CtT.js → pair-DQ8Y1YX_.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/plus-Tlbf1bdm.js +1 -0
- package/node_modules/@prismalens/api/public/assets/react-dom-Dvr6R6wf.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{route-Cc4UeO_y.js → route-CBoZ7fHn.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/route-CPchh9kB.js +1 -0
- package/node_modules/@prismalens/api/public/assets/route-Cp0gs_ct.js +1 -0
- package/node_modules/@prismalens/api/public/assets/route-DwYYk8Dy.js +1 -0
- package/node_modules/@prismalens/api/public/assets/select-DjrA0HDy.js +1 -0
- package/node_modules/@prismalens/api/public/assets/services-CrKDtwBW.js +1 -0
- package/node_modules/@prismalens/api/public/assets/settings-0OoZAYmm.js +1 -0
- package/node_modules/@prismalens/api/public/assets/skeleton-CnspEYa-.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{state-tone-Ba9ig-4k.js → state-tone-BFcai3hr.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/textarea-DuN-b6di.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{use-escape-back-CgXRn8uv.js → use-escape-back-7fyalpsD.js} +1 -1
- package/node_modules/@prismalens/api/public/assets/use-first-open-JY-c8X8V.js +1 -0
- package/node_modules/@prismalens/api/public/assets/useInvestigationRun-_lSx2TPz.js +1 -0
- package/node_modules/@prismalens/api/public/assets/useNavigate-CPXPooFu.js +1 -0
- package/node_modules/@prismalens/api/public/assets/useRouter-BU35VTbH.js +1 -0
- package/node_modules/@prismalens/api/public/assets/useSearch-CRD31eWF.js +1 -0
- package/node_modules/@prismalens/api/public/assets/useSelector-DoFJYpky.js +1 -0
- package/node_modules/@prismalens/api/public/assets/{utils-BZQvbTCD.js → utils-DD0Xz0Py.js} +1 -1
- package/node_modules/@prismalens/api/public/index.html +2 -2
- package/node_modules/@prismalens/config/dist/providers/model-catalogue.json +2 -2
- package/node_modules/@prismalens/database/dist/prisma/generated/internal/class.js +2 -2
- package/node_modules/@prismalens/database/dist/prisma/generated/internal/prismaNamespace.js +2 -2
- package/node_modules/@prismalens/engine/dist/adapter/acp-adapter.js +38 -1
- package/node_modules/@prismalens/engine/dist/run/harness-doctor.js +9 -1
- package/node_modules/@prismalens/engine/dist/run/investigate.js +1 -1
- package/node_modules/@prismalens/engine/dist/run/prompt.js +3 -0
- package/node_modules/@prismalens/engine/dist/runner/acp-client.js +5 -1
- package/package.json +27 -27
- package/node_modules/@prismalens/api/public/assets/Hint-D3aC42I-.js +0 -41
- package/node_modules/@prismalens/api/public/assets/MergeDialog-DDE8tX3n.js +0 -1
- package/node_modules/@prismalens/api/public/assets/Mono-9RkwFQz6.js +0 -1
- package/node_modules/@prismalens/api/public/assets/NewIncident-Zw5Jcao6.js +0 -1
- package/node_modules/@prismalens/api/public/assets/RunsMenu-CEu6e24R.js +0 -3
- package/node_modules/@prismalens/api/public/assets/_authenticated-BH_Nr03P.js +0 -1
- package/node_modules/@prismalens/api/public/assets/_authenticated-EivYBtHs.js +0 -1
- package/node_modules/@prismalens/api/public/assets/_id-B6W3_quZ.js +0 -1
- package/node_modules/@prismalens/api/public/assets/_id-B8h5SPwz.js +0 -1
- package/node_modules/@prismalens/api/public/assets/_id-C9BUtx3G.js +0 -1
- package/node_modules/@prismalens/api/public/assets/alert-dialog-D5xZvMIR.js +0 -3
- package/node_modules/@prismalens/api/public/assets/alerts-D8oKAWDJ.js +0 -1
- package/node_modules/@prismalens/api/public/assets/bundle-mjs-cJTHqqzI.js +0 -1
- package/node_modules/@prismalens/api/public/assets/button-Cr8PrWdC.js +0 -1
- package/node_modules/@prismalens/api/public/assets/chevron-right-tMCvSyxl.js +0 -1
- package/node_modules/@prismalens/api/public/assets/conversation-DHY3T60s.js +0 -158
- package/node_modules/@prismalens/api/public/assets/desktop-B9RvObhX.js +0 -58
- package/node_modules/@prismalens/api/public/assets/dist-zoA3XqRA.js +0 -1
- package/node_modules/@prismalens/api/public/assets/fixes-D-FUCZJt.js +0 -1
- package/node_modules/@prismalens/api/public/assets/format-time-CGRUxfR2.js +0 -1
- package/node_modules/@prismalens/api/public/assets/get-error-message-XWlcOfOx.js +0 -1
- package/node_modules/@prismalens/api/public/assets/incidents-BdT8KicR.js +0 -1
- package/node_modules/@prismalens/api/public/assets/index-CAX__NsJ.js +0 -21
- package/node_modules/@prismalens/api/public/assets/jsx-runtime-B-hcVAMW.js +0 -1
- package/node_modules/@prismalens/api/public/assets/lazyRouteComponent-C-LOuZQf.js +0 -1
- package/node_modules/@prismalens/api/public/assets/live-refresh-BjrOGhpR.js +0 -1
- package/node_modules/@prismalens/api/public/assets/matchContext-DyXrH4xk.js +0 -1
- package/node_modules/@prismalens/api/public/assets/mermaid-MCJ5UELQ-DHfZwKb6.js +0 -1
- package/node_modules/@prismalens/api/public/assets/model-selector-DDUMPzEw.js +0 -2
- package/node_modules/@prismalens/api/public/assets/plus-BV1g6VPp.js +0 -1
- package/node_modules/@prismalens/api/public/assets/preload-helper-BZ1Pz5am.js +0 -1
- package/node_modules/@prismalens/api/public/assets/react-dom-Cix4fOWO.js +0 -1
- package/node_modules/@prismalens/api/public/assets/root-DLTE-HSj.js +0 -1
- package/node_modules/@prismalens/api/public/assets/route-1TSuy85Z.js +0 -1
- package/node_modules/@prismalens/api/public/assets/route-BCBYAoCj.js +0 -1
- package/node_modules/@prismalens/api/public/assets/route-CurA5hZv.js +0 -1
- package/node_modules/@prismalens/api/public/assets/select-ywBitXld.js +0 -1
- package/node_modules/@prismalens/api/public/assets/services-CXVezw7r.js +0 -1
- package/node_modules/@prismalens/api/public/assets/settings-BPFYV0nc.js +0 -1
- package/node_modules/@prismalens/api/public/assets/skeleton-BmmBz9ps.js +0 -1
- package/node_modules/@prismalens/api/public/assets/textarea-Cqcau6oZ.js +0 -1
- package/node_modules/@prismalens/api/public/assets/use-back-BO8UKjVe.js +0 -1
- package/node_modules/@prismalens/api/public/assets/use-first-open-Bi42wite.js +0 -1
- package/node_modules/@prismalens/api/public/assets/use-sliding-mark-E_-I6D6E.js +0 -1
- package/node_modules/@prismalens/api/public/assets/useInvestigationRun-C352wvI5.js +0 -1
- package/node_modules/@prismalens/api/public/assets/useLocation-abth45bR.js +0 -1
- package/node_modules/@prismalens/api/public/assets/useNavigate-zph-3gLZ.js +0 -1
- package/node_modules/@prismalens/api/public/assets/useRouter-BGpAXxmD.js +0 -1
- package/node_modules/@prismalens/api/public/assets/useSearch-BT67bTwQ.js +0 -1
- package/node_modules/@prismalens/api/public/assets/useSelector-CMoDyMzz.js +0 -1
- package/node_modules/@prismalens/api/public/assets/utils-DjD33h0z.js +0 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { ClientCapabilities, SessionCapabilities, SessionNotification } from "@agentclientprotocol/sdk";
|
|
2
|
+
export { AIR_NATIVE_SUBAGENT_SESSIONS_CAPABILITY } from "./air-extension.js";
|
|
3
|
+
/**
|
|
4
|
+
* Temporary typed surface for agentclientprotocol/agent-client-protocol#1992.
|
|
5
|
+
*
|
|
6
|
+
* The wire contract is already defined by the ACP draft, but the published
|
|
7
|
+
* TypeScript SDK does not contain it yet. Keep the compatibility boundary in
|
|
8
|
+
* this file so it can be replaced by SDK exports without changing lifecycle
|
|
9
|
+
* code when the draft ships.
|
|
10
|
+
*/
|
|
11
|
+
export type SubagentSessionCapabilities = {
|
|
12
|
+
cancel?: boolean;
|
|
13
|
+
close?: boolean;
|
|
14
|
+
_meta?: Record<string, unknown> | null;
|
|
15
|
+
};
|
|
16
|
+
export type SubagentSpawnedUpdate = {
|
|
17
|
+
sessionUpdate: "subagent_spawned";
|
|
18
|
+
subagentSessionId: string;
|
|
19
|
+
name: string;
|
|
20
|
+
task: string;
|
|
21
|
+
capabilities: SubagentSessionCapabilities;
|
|
22
|
+
_meta?: Record<string, unknown> | null;
|
|
23
|
+
};
|
|
24
|
+
export type SubagentState = "completed" | "failed" | "cancelled" | "disconnected";
|
|
25
|
+
export type SubagentStateUpdate = {
|
|
26
|
+
sessionUpdate: "subagent_state_update";
|
|
27
|
+
subagentSessionId: string;
|
|
28
|
+
state: SubagentState;
|
|
29
|
+
_meta?: Record<string, unknown> | null;
|
|
30
|
+
};
|
|
31
|
+
export type AsyncTaskState = "running" | "paused" | "completed" | "failed" | "stopped";
|
|
32
|
+
export type AsyncTaskSpawnedUpdate = {
|
|
33
|
+
sessionUpdate: "async_task_spawned";
|
|
34
|
+
asyncTaskId: string;
|
|
35
|
+
name: string;
|
|
36
|
+
taskType: string;
|
|
37
|
+
description: string;
|
|
38
|
+
showInTranscript: boolean;
|
|
39
|
+
canStop: boolean;
|
|
40
|
+
outputFilePath?: string;
|
|
41
|
+
toolCallId?: string;
|
|
42
|
+
_meta?: Record<string, unknown> | null;
|
|
43
|
+
};
|
|
44
|
+
export type AsyncTaskProgressUpdate = {
|
|
45
|
+
sessionUpdate: "async_task_progress";
|
|
46
|
+
asyncTaskId: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
summary?: string;
|
|
49
|
+
lastToolName?: string;
|
|
50
|
+
usage?: {
|
|
51
|
+
totalTokens: number;
|
|
52
|
+
toolUses: number;
|
|
53
|
+
durationMs: number;
|
|
54
|
+
};
|
|
55
|
+
/** Latest durable task log path. May arrive after spawn. */
|
|
56
|
+
outputFilePath?: string;
|
|
57
|
+
/** Originating tool call, when correlation becomes known after spawn. */
|
|
58
|
+
toolCallId?: string;
|
|
59
|
+
_meta?: Record<string, unknown> | null;
|
|
60
|
+
};
|
|
61
|
+
export type AsyncTaskStateUpdate = {
|
|
62
|
+
sessionUpdate: "async_task_state_update";
|
|
63
|
+
asyncTaskId: string;
|
|
64
|
+
state: AsyncTaskState;
|
|
65
|
+
summary?: string;
|
|
66
|
+
/** Latest durable task log path, including terminal-only SDK reports. */
|
|
67
|
+
outputFilePath?: string;
|
|
68
|
+
/** Originating tool call, including terminal-only late correlation. */
|
|
69
|
+
toolCallId?: string;
|
|
70
|
+
_meta?: Record<string, unknown> | null;
|
|
71
|
+
};
|
|
72
|
+
export type AcpSessionUpdate = SessionNotification["update"] | SubagentSpawnedUpdate | SubagentStateUpdate | AsyncTaskSpawnedUpdate | AsyncTaskProgressUpdate | AsyncTaskStateUpdate;
|
|
73
|
+
export type AcpSessionNotification = Omit<SessionNotification, "update"> & {
|
|
74
|
+
update: AcpSessionUpdate;
|
|
75
|
+
};
|
|
76
|
+
export type SubagentAwareSessionCapabilities = SessionCapabilities & {
|
|
77
|
+
subagents?: Record<string, never>;
|
|
78
|
+
};
|
|
79
|
+
export declare function clientSupportsSubagents(capabilities?: ClientCapabilities | null): boolean;
|
|
80
|
+
/** The only cast needed until the TypeScript SDK publishes PR #1992. */
|
|
81
|
+
export declare function asSdkSessionNotification(notification: AcpSessionNotification): SessionNotification;
|
|
82
|
+
//# sourceMappingURL=acp-subagents.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const AIR_NATIVE_SUBAGENT_SESSIONS_CAPABILITY = "nativeSubagentSessions";
|
|
2
|
+
export declare const AIR_ASYNC_TASKS_CAPABILITY = "asyncTasks";
|
|
3
|
+
export declare const AIR_SESSION_FAILURE_CAPABILITY = "sessionFailure";
|
|
4
|
+
export declare const AIR_RECOMMENDED_CONFIG_VALUE_CAPABILITY = "recommendedValue";
|
|
5
|
+
export declare const AIR_DIFF_STATS_KEY = "diffStats";
|
|
6
|
+
/** The capability list this side advertises, as its own `_meta` object. */
|
|
7
|
+
export declare function airCapabilityMeta(...capabilities: string[]): Record<string, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Merges one AIR extension payload into an existing `_meta`.
|
|
10
|
+
*
|
|
11
|
+
* Every other namespace is preserved: an update can carry both agent-native
|
|
12
|
+
* `claudeCode` metadata and an AIR payload, and two AIR payloads can share the
|
|
13
|
+
* same `air` object. Pass `undefined` to build a fresh `_meta`.
|
|
14
|
+
*/
|
|
15
|
+
export declare function withAirMeta(meta: Record<string, unknown> | null | undefined, capability: string, payload: unknown): Record<string, unknown>;
|
|
16
|
+
/** The `air` object inside a `_meta`, or undefined when the peer sent no AIR extension. */
|
|
17
|
+
export declare function airExtensionMeta(meta: unknown): Record<string, unknown> | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the peer advertised `capability`.
|
|
20
|
+
*
|
|
21
|
+
* Takes `unknown` because every caller is reading wire data: an ACP
|
|
22
|
+
* `ClientCapabilities`, or a bag whose `_meta` was never validated.
|
|
23
|
+
*/
|
|
24
|
+
export declare function clientSupportsAirCapability(capabilities: unknown, capability: string): boolean;
|
|
25
|
+
//# sourceMappingURL=air-extension.d.ts.map
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type { ClientCapabilities } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { AcpSessionNotification, AsyncTaskState } from "./acp-subagents.js";
|
|
3
|
+
type Publish = (notification: AcpSessionNotification) => Promise<void>;
|
|
4
|
+
type TaskIdentity = {
|
|
5
|
+
taskId?: unknown;
|
|
6
|
+
task_id?: unknown;
|
|
7
|
+
};
|
|
8
|
+
export type AsyncTaskStarted = TaskIdentity & {
|
|
9
|
+
taskType?: unknown;
|
|
10
|
+
task_type?: unknown;
|
|
11
|
+
description?: unknown;
|
|
12
|
+
subagentType?: unknown;
|
|
13
|
+
subagent_type?: unknown;
|
|
14
|
+
isBackgrounded?: unknown;
|
|
15
|
+
is_backgrounded?: unknown;
|
|
16
|
+
workflowName?: unknown;
|
|
17
|
+
workflow_name?: unknown;
|
|
18
|
+
skipTranscript?: unknown;
|
|
19
|
+
skip_transcript?: unknown;
|
|
20
|
+
outputFilePath?: unknown;
|
|
21
|
+
output_file?: unknown;
|
|
22
|
+
toolCallId?: unknown;
|
|
23
|
+
tool_use_id?: unknown;
|
|
24
|
+
};
|
|
25
|
+
export type AsyncTaskUpdated = TaskIdentity & {
|
|
26
|
+
patch?: TaskPatch;
|
|
27
|
+
};
|
|
28
|
+
type TaskPatch = {
|
|
29
|
+
status?: unknown;
|
|
30
|
+
description?: unknown;
|
|
31
|
+
isBackgrounded?: unknown;
|
|
32
|
+
is_backgrounded?: unknown;
|
|
33
|
+
error?: unknown;
|
|
34
|
+
outputFilePath?: unknown;
|
|
35
|
+
output_file?: unknown;
|
|
36
|
+
};
|
|
37
|
+
export type AsyncTaskNotification = TaskIdentity & {
|
|
38
|
+
status?: unknown;
|
|
39
|
+
summary?: unknown;
|
|
40
|
+
outputFilePath?: unknown;
|
|
41
|
+
output_file?: unknown;
|
|
42
|
+
};
|
|
43
|
+
type TaskProgress = TaskIdentity & {
|
|
44
|
+
description?: unknown;
|
|
45
|
+
summary?: unknown;
|
|
46
|
+
lastToolName?: unknown;
|
|
47
|
+
last_tool_name?: unknown;
|
|
48
|
+
usage?: unknown;
|
|
49
|
+
outputFilePath?: unknown;
|
|
50
|
+
output_file?: unknown;
|
|
51
|
+
};
|
|
52
|
+
type BackgroundTaskLevel = TaskIdentity & {
|
|
53
|
+
taskType?: unknown;
|
|
54
|
+
task_type?: unknown;
|
|
55
|
+
description?: unknown;
|
|
56
|
+
};
|
|
57
|
+
export declare function clientSupportsAsyncTasks(capabilities?: ClientCapabilities | null): boolean;
|
|
58
|
+
/** Publishes Claude's non-agent background work as a separate AIR task lifecycle. */
|
|
59
|
+
export declare class AsyncTaskRuntime {
|
|
60
|
+
readonly enabled: boolean;
|
|
61
|
+
private readonly sessionId;
|
|
62
|
+
private readonly publish;
|
|
63
|
+
/** `notices`: the client can present `notice` updates, so the stop
|
|
64
|
+
* acknowledgement need not be a transcript line. */
|
|
65
|
+
private readonly options;
|
|
66
|
+
/**
|
|
67
|
+
* One registry owns both active tasks and terminal tombstones. Keeping an
|
|
68
|
+
* unannounced terminal record is intentional: the Bash result proving that
|
|
69
|
+
* a command was backgrounded can arrive after its terminal SDK edge.
|
|
70
|
+
*/
|
|
71
|
+
private readonly tasks;
|
|
72
|
+
constructor(enabled: boolean, sessionId: string, publish: Publish,
|
|
73
|
+
/** `notices`: the client can present `notice` updates, so the stop
|
|
74
|
+
* acknowledgement need not be a transcript line. */
|
|
75
|
+
options?: {
|
|
76
|
+
notices?: boolean;
|
|
77
|
+
});
|
|
78
|
+
taskStarted(message: AsyncTaskStarted): Promise<void>;
|
|
79
|
+
taskBackgrounded(message: AsyncTaskStarted): Promise<void>;
|
|
80
|
+
taskUpdated(message: AsyncTaskUpdated): Promise<void>;
|
|
81
|
+
taskUpdated(taskId: string, patch: TaskPatch): Promise<void>;
|
|
82
|
+
taskProgress(message: TaskProgress): Promise<void>;
|
|
83
|
+
taskNotification(message: AsyncTaskNotification): Promise<void>;
|
|
84
|
+
taskNotification(taskId: string, status: unknown, summary?: unknown, outputFilePath?: unknown): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Reconciles the SDK's replace-semantics background task level. It does not
|
|
87
|
+
* create unknown tasks because this level normally precedes task_started and
|
|
88
|
+
* carries no tool-call attribution. It can, however, promote a known
|
|
89
|
+
* foreground task and terminate an announced task whose edge was lost.
|
|
90
|
+
*/
|
|
91
|
+
backgroundTasksChanged(tasksOrMessage: readonly BackgroundTaskLevel[] | {
|
|
92
|
+
tasks?: unknown;
|
|
93
|
+
}): Promise<void>;
|
|
94
|
+
finishAll(state: Extract<AsyncTaskState, "failed" | "stopped">): Promise<void>;
|
|
95
|
+
canStop(taskId: string): boolean;
|
|
96
|
+
claimStop(taskId: string): boolean;
|
|
97
|
+
releaseStop(taskId: string): void;
|
|
98
|
+
taskStopped(taskId: string): Promise<void>;
|
|
99
|
+
clear(): void;
|
|
100
|
+
private task;
|
|
101
|
+
private mergeStarted;
|
|
102
|
+
private mergePatch;
|
|
103
|
+
private mergeLevel;
|
|
104
|
+
private mergeOutputFilePath;
|
|
105
|
+
private announce;
|
|
106
|
+
private finish;
|
|
107
|
+
private publishMetadata;
|
|
108
|
+
private publishProgress;
|
|
109
|
+
private publishState;
|
|
110
|
+
}
|
|
111
|
+
/** Recovers background Bash lifecycle data exposed only on its tool result. */
|
|
112
|
+
export declare function backgroundBashTaskFromToolResult(content: unknown, toolUseResult: unknown, toolUses: Record<string, {
|
|
113
|
+
name: string;
|
|
114
|
+
input: unknown;
|
|
115
|
+
}>): AsyncTaskStarted | undefined;
|
|
116
|
+
export {};
|
|
117
|
+
//# sourceMappingURL=async-tasks.d.ts.map
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `authStatus` — interim `_meta`-based ACP extension that reports which auth
|
|
3
|
+
* identity the agent process itself uses (Claude subscription, API key,
|
|
4
|
+
* gateway, external cloud credentials, or nothing).
|
|
5
|
+
*
|
|
6
|
+
* Push only. One carrier, connection-scoped (never per session): the
|
|
7
|
+
* notification `_auth/status_update` → `{authStatus}`. The client never asks;
|
|
8
|
+
* there is no request method. The empty `agentCapabilities._meta.authStatus`
|
|
9
|
+
* marker means "this agent pushes its identity", nothing more.
|
|
10
|
+
*
|
|
11
|
+
* The agent reads the identity at these moments:
|
|
12
|
+
* - `initialize`, with an asynchronous CLI probe. Nothing waits for it, and its
|
|
13
|
+
* result is the first push of the connection;
|
|
14
|
+
* - a completed `authenticate` or a `logout`;
|
|
15
|
+
* - each `createSession`, from the session account. A refused session reports
|
|
16
|
+
* too: the client must know which account was refused;
|
|
17
|
+
* - each turn the `--hide-claude-auth` guard checks. The guard reads the
|
|
18
|
+
* account anyway, so this costs nothing;
|
|
19
|
+
* - the START of each user prompt, with an asynchronous CLI probe. This finds a
|
|
20
|
+
* login or a logout done in another terminal, including the sign-in a client
|
|
21
|
+
* performs after a refusal, because the retried prompt is a new prompt.
|
|
22
|
+
* Nothing waits for it and the push goes out mid-turn if that is when the
|
|
23
|
+
* read lands.
|
|
24
|
+
*
|
|
25
|
+
* A probe whose kind differs from a live session's account marks that session
|
|
26
|
+
* for recreation under `--hide-claude-auth`. The mark is a flag, consumed at
|
|
27
|
+
* the next turn boundary: a running turn is never interrupted. The probe judges
|
|
28
|
+
* nothing itself — the next turn runs a new `initialize`, and the creation
|
|
29
|
+
* guard decides on the account it reports.
|
|
30
|
+
*
|
|
31
|
+
* A read does not always cause a push. The agent sends `_auth/status_update`
|
|
32
|
+
* only when the payload is different from the last one it sent.
|
|
33
|
+
*
|
|
34
|
+
* "Cannot determine" is expressed by silence: an agent that cannot read its own
|
|
35
|
+
* identity pushes nothing, and the client shows "not reported". A known
|
|
36
|
+
* logged-out state is a payload of its own (`kind: "none"`), which is what
|
|
37
|
+
* distinguishes the two.
|
|
38
|
+
*
|
|
39
|
+
* Reporting only — there is no write path in v1. When the upstream RFD lands,
|
|
40
|
+
* the same payload moves from `_meta` to first-class fields and this module
|
|
41
|
+
* is retired.
|
|
42
|
+
*/
|
|
43
|
+
import type { AccountInfo } from "@anthropic-ai/claude-agent-sdk";
|
|
44
|
+
/** Change notification, agent → client. Fire and forget: clients that do not
|
|
45
|
+
* know the method drop it silently, so it is sent unconditionally. */
|
|
46
|
+
export declare const AUTH_STATUS_UPDATE_METHOD = "_auth/status_update";
|
|
47
|
+
/** Upper bound on one `claude auth status --json` run, so a hung CLI cannot
|
|
48
|
+
* wedge every later probe that joins it. */
|
|
49
|
+
export declare const AUTH_STATUS_PROBE_TIMEOUT_MS = 5000;
|
|
50
|
+
export type AuthStatusKind = "account" | "api_key" | "gateway" | "external" | "none";
|
|
51
|
+
export type AuthStatusAccount = {
|
|
52
|
+
email?: string;
|
|
53
|
+
organization?: string;
|
|
54
|
+
/** Vendor plan/license string, not normalized. */
|
|
55
|
+
plan?: string;
|
|
56
|
+
};
|
|
57
|
+
export type AuthStatus = {
|
|
58
|
+
kind: AuthStatusKind;
|
|
59
|
+
/** Human-readable and usable as a UI string on its own. The "type" line:
|
|
60
|
+
* "Claude Max", "Anthropic API key", "AWS Bedrock". */
|
|
61
|
+
label: string;
|
|
62
|
+
/** Optional second line carrying the specifics (key source, gateway host, …).
|
|
63
|
+
* Clients render it under `label`, falling back to `account.email`. */
|
|
64
|
+
detail?: string;
|
|
65
|
+
account?: AuthStatusAccount;
|
|
66
|
+
/** Vendor-namespaced extras, e.g. `{claudeCode: {...}}`. */
|
|
67
|
+
vendor?: Record<string, unknown>;
|
|
68
|
+
};
|
|
69
|
+
export type AuthStatusUpdateNotification = {
|
|
70
|
+
authStatus: AuthStatus;
|
|
71
|
+
};
|
|
72
|
+
/** Advertisement carried in `agentCapabilities._meta.authStatus`, never a
|
|
73
|
+
* status payload: its mere presence means "this agent pushes its identity",
|
|
74
|
+
* and it stays empty. Informational — a client that never saw it still
|
|
75
|
+
* accepts `_auth/status_update`, because there is nothing to ask for. */
|
|
76
|
+
export type AuthStatusCapability = Record<string, never>;
|
|
77
|
+
export declare function authStatusCapability(): AuthStatusCapability;
|
|
78
|
+
/** Shape of `claude auth status --json`. Absent fields are omitted, not null,
|
|
79
|
+
* and the logged-out case exits 1 while still printing valid JSON. */
|
|
80
|
+
export type CliAuthStatus = {
|
|
81
|
+
loggedIn?: boolean;
|
|
82
|
+
authMethod?: string;
|
|
83
|
+
apiProvider?: string;
|
|
84
|
+
apiKeySource?: string;
|
|
85
|
+
email?: string;
|
|
86
|
+
orgId?: string;
|
|
87
|
+
orgName?: string;
|
|
88
|
+
subscriptionType?: string;
|
|
89
|
+
};
|
|
90
|
+
export declare function notLoggedInAuthStatus(): AuthStatus;
|
|
91
|
+
/** ACP-level gateway auth (`authenticate` with `gateway`/`gateway-bedrock`).
|
|
92
|
+
* The gateway owns the credentials, so it wins over anything the CLI reports. */
|
|
93
|
+
export declare function gatewayAuthStatus(baseUrl?: string): AuthStatus;
|
|
94
|
+
/**
|
|
95
|
+
* Does this `AccountInfo` say anything about the identity?
|
|
96
|
+
*
|
|
97
|
+
* The SDK always fills `apiProvider`, but the identity fields come from the
|
|
98
|
+
* claude.ai profile: with an `apiKeyHelper` and no subscription login the
|
|
99
|
+
* session reports `{apiProvider: "firstParty"}` and nothing else. That is "no
|
|
100
|
+
* information", not "logged out" — an empty read must never be mapped to
|
|
101
|
+
* `none`, or it destroys what the CLI probe already established.
|
|
102
|
+
*
|
|
103
|
+
* `tokenSource` is deliberately not a signal: the CLI sets it to the OAuth
|
|
104
|
+
* token's origin (`CLAUDE_CODE_OAUTH_TOKEN`,
|
|
105
|
+
* `CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR`, …), never to a key source, so it
|
|
106
|
+
* cannot attribute a key and carries no plan of its own.
|
|
107
|
+
*/
|
|
108
|
+
export declare function accountInfoHasIdentitySignal(account: AccountInfo | undefined): boolean;
|
|
109
|
+
/** Session-time mapping from the SDK's `AccountInfo`, the richest source when
|
|
110
|
+
* it is populated. Returns `undefined` when the account carries no identity
|
|
111
|
+
* signal, so callers keep the status they already know. */
|
|
112
|
+
export declare function fromAccountInfo(account: AccountInfo | undefined): AuthStatus | undefined;
|
|
113
|
+
/** Pre-session mapping from `claude auth status --json` stdout. Returns
|
|
114
|
+
* `undefined` when the output is not the expected JSON object, so callers can
|
|
115
|
+
* report "not known" instead of guessing. */
|
|
116
|
+
export declare function fromCliStatus(stdout: string): AuthStatus | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Do two payloads describe the same login? Compared on the field that
|
|
119
|
+
* identifies each kind — the key source for `api_key`, the email for
|
|
120
|
+
* `account`, the kind alone for the rest, which carry no per-identity key.
|
|
121
|
+
*/
|
|
122
|
+
export declare function sameIdentity(a: AuthStatus, b: AuthStatus): boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Folds a fresh read into what is already known. Sources differ in richness for
|
|
125
|
+
* the very same login: the SDK's session `AccountInfo` can carry an
|
|
126
|
+
* organization the CLI probe omits. So when the read describes the same
|
|
127
|
+
* identity, its values win field by field but the fields it lacks are kept;
|
|
128
|
+
* when it describes a different identity, it replaces the old one wholesale.
|
|
129
|
+
*/
|
|
130
|
+
export declare function mergeAuthStatus(previous: AuthStatus | undefined, next: AuthStatus): AuthStatus;
|
|
131
|
+
/**
|
|
132
|
+
* Do two payloads carry the same information? Unlike {@link sameIdentity},
|
|
133
|
+
* which asks "is this the same login", this compares every rendered field, so
|
|
134
|
+
* a richer read of one login is NOT the same. Callers use it to suppress a
|
|
135
|
+
* push that would tell the client nothing new.
|
|
136
|
+
*
|
|
137
|
+
* `a` undefined means "nothing reported yet", which never equals a payload.
|
|
138
|
+
*/
|
|
139
|
+
export declare function sameAuthStatus(a: AuthStatus | undefined, b: AuthStatus): boolean;
|
|
140
|
+
//# sourceMappingURL=auth-status.d.ts.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { NewSessionRequest, SessionConfigOption } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { PermissionMode, SDKUserMessage } from "@anthropic-ai/claude-agent-sdk";
|
|
3
|
+
export type ClearContextReset = {
|
|
4
|
+
toolUseId: string;
|
|
5
|
+
plan: string;
|
|
6
|
+
mode: PermissionMode;
|
|
7
|
+
};
|
|
8
|
+
type Usage = {
|
|
9
|
+
inputTokens: number;
|
|
10
|
+
outputTokens: number;
|
|
11
|
+
cachedReadTokens: number;
|
|
12
|
+
cachedWriteTokens: number;
|
|
13
|
+
};
|
|
14
|
+
export type ClearContextTurn = {
|
|
15
|
+
settled: boolean;
|
|
16
|
+
promptUuid: string;
|
|
17
|
+
carriedUsage?: Usage;
|
|
18
|
+
carriedModelUsage?: Record<string, Usage>;
|
|
19
|
+
};
|
|
20
|
+
/** The session state needed to replace Claude's private conversation without
|
|
21
|
+
* replacing the public ACP turn. Keeping this projection here makes the
|
|
22
|
+
* restart workflow independent from the agent's much larger Session record. */
|
|
23
|
+
export type ClearContextSession<Turn extends ClearContextTurn = ClearContextTurn> = {
|
|
24
|
+
cwd: string;
|
|
25
|
+
creationParams?: NewSessionRequest;
|
|
26
|
+
accumulatedUsage: Usage;
|
|
27
|
+
accumulatedModelUsage?: Record<string, Usage>;
|
|
28
|
+
models: {
|
|
29
|
+
currentModelId: string;
|
|
30
|
+
};
|
|
31
|
+
configOptions: SessionConfigOption[];
|
|
32
|
+
fastModeEnabled: boolean;
|
|
33
|
+
effortPinnedLevel?: string;
|
|
34
|
+
activeTurn?: Turn | null;
|
|
35
|
+
turnQueue?: Turn[];
|
|
36
|
+
pendingExitPlanContextReset?: ClearContextReset;
|
|
37
|
+
contextUsedTokens?: number;
|
|
38
|
+
input: {
|
|
39
|
+
push(message: SDKUserMessage): unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type ClearContextCoordinatorHost<Session extends ClearContextSession<Turn>, Turn extends ClearContextTurn> = {
|
|
43
|
+
currentSession(sessionId: string): Session | undefined;
|
|
44
|
+
closeQueryStream(session: Session): void;
|
|
45
|
+
restartSession(params: NewSessionRequest, options: {
|
|
46
|
+
publicSessionId: string;
|
|
47
|
+
permissionMode: PermissionMode;
|
|
48
|
+
}): Promise<Session>;
|
|
49
|
+
applyFastMode(session: Session, enabled: boolean): Promise<void>;
|
|
50
|
+
publishSessionState(sessionId: string, mode: PermissionMode, configOptions: SessionConfigOption[]): Promise<void>;
|
|
51
|
+
continuationMessage(sessionId: string, plan: string, promptUuid: string): SDKUserMessage;
|
|
52
|
+
ensureConsumer(session: Session, sessionId: string): void;
|
|
53
|
+
logError(message: string, error: unknown): void;
|
|
54
|
+
};
|
|
55
|
+
/** Replace Claude's private conversation and attach the still-pending ACP turn
|
|
56
|
+
* to it. The host owns provider-specific creation and stream mechanics; this
|
|
57
|
+
* coordinator owns the ordering and state transfer invariants. */
|
|
58
|
+
export declare function continuePlanInFreshContext<Turn extends ClearContextTurn, Session extends ClearContextSession<Turn>>(sessionId: string, oldSession: Session, reset: ClearContextReset, host: ClearContextCoordinatorHost<Session, Turn>, signal?: AbortSignal): Promise<void>;
|
|
59
|
+
export {};
|
|
60
|
+
//# sourceMappingURL=clear-context-coordinator.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const CONTEXT_COMPACTION_META_KEY = "contextCompaction";
|
|
2
|
+
export declare const CONTEXT_COMPACTION_META_VERSION = 1;
|
|
3
|
+
export type ContextCompactionTrigger = "manual" | "automatic";
|
|
4
|
+
export interface ContextCompactionMetadata {
|
|
5
|
+
version: typeof CONTEXT_COMPACTION_META_VERSION;
|
|
6
|
+
trigger?: ContextCompactionTrigger;
|
|
7
|
+
preTokens?: number;
|
|
8
|
+
postTokens?: number;
|
|
9
|
+
durationMs?: number;
|
|
10
|
+
error?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Provider-neutral metadata for a synthetic ACP context-compaction tool call.
|
|
14
|
+
* The standard toolCallId and status fields own lifecycle identity and phase;
|
|
15
|
+
* this extension carries only compaction-specific facts.
|
|
16
|
+
*/
|
|
17
|
+
export declare function createContextCompactionMeta(metadata?: Omit<ContextCompactionMetadata, "version">): Record<typeof CONTEXT_COMPACTION_META_KEY, ContextCompactionMetadata>;
|
|
18
|
+
//# sourceMappingURL=context-compaction-meta.d.ts.map
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { ClientCapabilities, SessionNotification } from "@agentclientprotocol/sdk";
|
|
2
|
+
import { ContextCompactionMetadata } from "./context-compaction-meta.js";
|
|
3
|
+
type CompactionStatus = "completed" | "failed";
|
|
4
|
+
/**
|
|
5
|
+
* How compaction reaches the client.
|
|
6
|
+
*
|
|
7
|
+
* - `compaction_update`: the ACP session-compaction contract (ID-addressed
|
|
8
|
+
* `compaction_update` / `compaction_summary_chunk`), used when the v1 client
|
|
9
|
+
* advertises `clientCapabilities.session.compaction`.
|
|
10
|
+
* - `tool_call`: the legacy synthetic "Compact conversation" tool call, kept
|
|
11
|
+
* for clients that do not advertise the capability.
|
|
12
|
+
*/
|
|
13
|
+
export type CompactionPresentation = "tool_call" | "compaction_update";
|
|
14
|
+
type SendUpdate = (notification: SessionNotification) => Promise<void>;
|
|
15
|
+
export type ContextCompactionLifecycleOptions = {
|
|
16
|
+
sessionId: string;
|
|
17
|
+
presentation?: CompactionPresentation;
|
|
18
|
+
/** Receives failures of the send that must not propagate: the turn-boundary
|
|
19
|
+
* `cancelled` terminal. */
|
|
20
|
+
logError?: (message: string, error: unknown) => void;
|
|
21
|
+
};
|
|
22
|
+
export declare function clientSupportsCompactionUpdates(capabilities?: ClientCapabilities | null): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Reduce Claude's compaction output to the user-displayable summary.
|
|
25
|
+
*
|
|
26
|
+
* The PostCompact hook reports the model's raw output, which wraps the
|
|
27
|
+
* summary in `<summary>` tags (often preceded by an `<analysis>` block). The
|
|
28
|
+
* persisted transcript instead frames the same summary with continuation
|
|
29
|
+
* instructions for the model. Neither framing belongs in the ACP `summary`,
|
|
30
|
+
* and a continuation prompt whose framing is not recognized yields no summary
|
|
31
|
+
* at all rather than model-facing instructions.
|
|
32
|
+
*/
|
|
33
|
+
export declare function compactionSummaryText(raw: string): string | undefined;
|
|
34
|
+
/** True for the post-compaction user message Claude Code persists (and
|
|
35
|
+
* `getSessionMessages` returns) with the summary of the dropped history. */
|
|
36
|
+
export declare function isCompactSummaryMessage(message: unknown): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Translates Claude's compaction signals into one idempotent ACP lifecycle.
|
|
39
|
+
*
|
|
40
|
+
* The SDK can duplicate terminal compact_result messages and can omit the
|
|
41
|
+
* opening status on replay. State therefore lives until the owning turn's
|
|
42
|
+
* result (or abort), while a new compacting status after a terminal outcome
|
|
43
|
+
* starts a fresh lifecycle.
|
|
44
|
+
*/
|
|
45
|
+
export declare class ContextCompactionLifecycle {
|
|
46
|
+
private readonly sendUpdate;
|
|
47
|
+
private activeCompaction;
|
|
48
|
+
private outputDelivered;
|
|
49
|
+
private duplicateErrorOutput;
|
|
50
|
+
/** After interruption, uncorrelated terminal frames and hooks may still
|
|
51
|
+
* arrive from the abandoned work, including an opening we never consumed.
|
|
52
|
+
* Wait for a known new turn before accepting them again. */
|
|
53
|
+
private interrupted;
|
|
54
|
+
/** Summary reported by PostCompact before the opening status was consumed.
|
|
55
|
+
* Deliberately survives `reset()`: the CLI awaits the hook before emitting
|
|
56
|
+
* the compaction's terminal frames, so a pending summary always belongs to
|
|
57
|
+
* a compaction whose frames are still ahead of the consumer — possibly
|
|
58
|
+
* queued behind a previous turn's result. */
|
|
59
|
+
private pendingSummary;
|
|
60
|
+
private readonly sessionId;
|
|
61
|
+
readonly presentation: CompactionPresentation;
|
|
62
|
+
private readonly logError;
|
|
63
|
+
constructor(sendUpdate: SendUpdate, options: ContextCompactionLifecycleOptions);
|
|
64
|
+
get hasDeliveredOutput(): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Close the lifecycle at a turn boundary (result, cancel, idle-abandon).
|
|
67
|
+
*
|
|
68
|
+
* A `compaction_update` entity still `in_progress` here never received its
|
|
69
|
+
* terminal signal from the runtime and gets its one terminal status,
|
|
70
|
+
* `cancelled`. The legacy tool call is deliberately left as it was (an
|
|
71
|
+
* `in_progress` call): ACP `ToolCallStatus` has no cancelled state and that
|
|
72
|
+
* presentation's behavior predates this lifecycle. Never throws — a failed
|
|
73
|
+
* send is logged, so callers can settle the turn unconditionally.
|
|
74
|
+
*/
|
|
75
|
+
reset(): Promise<void>;
|
|
76
|
+
/** Abandon the current work before settling its prompt or tearing down the
|
|
77
|
+
* stream. Unlike a normal result boundary, its pending hooks are not safe
|
|
78
|
+
* to carry into the next compaction. A hook has no command ID, so even an
|
|
79
|
+
* early hook for the next compaction must be omitted until the stream gives
|
|
80
|
+
* us a new live turn boundary. Idempotent and best-effort. */
|
|
81
|
+
interrupt(): Promise<void>;
|
|
82
|
+
/** A live command's dispatch/echo proves the interrupted command's tail
|
|
83
|
+
* has drained in the SDK's FIFO stream. Do not reset normal lifecycle
|
|
84
|
+
* state: compaction may already have started before the user echo. */
|
|
85
|
+
resume(): void;
|
|
86
|
+
/**
|
|
87
|
+
* Claude also emits a failed manual compaction's error as local-command
|
|
88
|
+
* stdout. Consume that one duplicate after the lifecycle carried it,
|
|
89
|
+
* without hiding unrelated command output.
|
|
90
|
+
*/
|
|
91
|
+
consumeDuplicateErrorOutput(content: string): boolean;
|
|
92
|
+
start(compactionId: string): Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* Streaming progress from the API's compaction content block.
|
|
95
|
+
*
|
|
96
|
+
* Under `compaction_update` the block's text is the retained summary and
|
|
97
|
+
* streams as `compaction_summary_chunk`s — but only into an entity the CLI
|
|
98
|
+
* announced with its `compacting` status. The block alone carries no
|
|
99
|
+
* terminal signal, so opening an entity from it would leave nothing but the
|
|
100
|
+
* turn-boundary `cancelled` to close a compaction that succeeded. The legacy
|
|
101
|
+
* tool call keeps its historical behavior: open on first sight, re-assert
|
|
102
|
+
* `in_progress` once.
|
|
103
|
+
*/
|
|
104
|
+
heartbeat(fallbackId: string, summaryChunk?: string): Promise<void>;
|
|
105
|
+
/**
|
|
106
|
+
* The PostCompact hook's summary. The CLI awaits the hook before emitting
|
|
107
|
+
* the compaction's terminal frames, so the summary lands while its
|
|
108
|
+
* compaction is `in_progress` and rides on the terminal update. Anything
|
|
109
|
+
* else — no entity yet, or the entity is a previous, already-terminal
|
|
110
|
+
* compaction of the same turn whose status frame the consumer is still
|
|
111
|
+
* catching up to — belongs to the compaction whose frames are ahead of the
|
|
112
|
+
* consumer, and waits for it. Only the `compaction_update` presentation
|
|
113
|
+
* carries the summary; the legacy tool call never exposed it. Never throws:
|
|
114
|
+
* it runs detached from a hook callback. Returns whether a summary was
|
|
115
|
+
* retained.
|
|
116
|
+
*/
|
|
117
|
+
recordSummary(rawSummary: unknown): boolean;
|
|
118
|
+
finish(compactionId: string, status: CompactionStatus, metadata?: Omit<ContextCompactionMetadata, "version">, enrichTerminal?: boolean): Promise<void>;
|
|
119
|
+
/** Make `compactionId` the active entity, moving a pending hook summary onto
|
|
120
|
+
* it, and mark compaction output as delivered for the owning turn. */
|
|
121
|
+
private open;
|
|
122
|
+
private send;
|
|
123
|
+
private sendQuietly;
|
|
124
|
+
}
|
|
125
|
+
export declare function contextCompactionMetadataFromBoundary(compactMetadata: {
|
|
126
|
+
trigger: "manual" | "auto";
|
|
127
|
+
pre_tokens: number;
|
|
128
|
+
post_tokens?: number;
|
|
129
|
+
duration_ms?: number;
|
|
130
|
+
}): Omit<ContextCompactionMetadata, "version">;
|
|
131
|
+
export {};
|
|
132
|
+
//# sourceMappingURL=context-compaction.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ToolCallContent, ToolCallLocation } from "@agentclientprotocol/sdk";
|
|
2
|
+
/**
|
|
3
|
+
* Builds diff ToolUpdate content from the structured toolResponse provided by
|
|
4
|
+
* the PostToolUse hook for diff-producing tools (Edit, Write). Unlike parsing
|
|
5
|
+
* the plain unified diff string, this uses the pre-parsed structuredPatch
|
|
6
|
+
* which supports multiple replacement sites (replaceAll) and always includes
|
|
7
|
+
* context lines for better readability.
|
|
8
|
+
*/
|
|
9
|
+
export declare function toolUpdateFromDiffToolResponse(toolResponse: unknown): {
|
|
10
|
+
content?: ToolCallContent[];
|
|
11
|
+
locations?: ToolCallLocation[];
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=diff.d.ts.map
|