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,11 @@
|
|
|
1
|
+
import type { PermissionOption } from "@agentclientprotocol/sdk";
|
|
2
|
+
import { type PermissionOptionContext } from "./shared.js";
|
|
3
|
+
export declare function buildWebFetchPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
4
|
+
export declare function buildSkillPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
5
|
+
export declare function buildEnterPlanModePermissionOptions(): PermissionOption[];
|
|
6
|
+
export declare function buildExitPlanModePermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
7
|
+
export declare function buildSandboxNetworkPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
8
|
+
export declare function buildFallbackPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
9
|
+
export declare function isComputerUseMcpTool(toolName: string): boolean;
|
|
10
|
+
export declare function buildComputerUseMcpPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
11
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PermissionOption } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { PermissionOptionContext } from "./options/shared.js";
|
|
3
|
+
export { PERMISSION_OPTION_ID } from "./options/shared.js";
|
|
4
|
+
export declare function buildClaudePermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
5
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RequestPermissionRequest } from "@agentclientprotocol/sdk";
|
|
2
|
+
export interface ClaudePermissionPresentationInput {
|
|
3
|
+
toolName: string;
|
|
4
|
+
input: Record<string, unknown>;
|
|
5
|
+
toolUseID: string;
|
|
6
|
+
cwd?: string;
|
|
7
|
+
supportsTerminalOutput?: boolean;
|
|
8
|
+
blockedPath?: string;
|
|
9
|
+
title?: string;
|
|
10
|
+
displayName?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
decisionReason?: string;
|
|
13
|
+
defaultToNo?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function buildClaudePermissionPresentation(value: ClaudePermissionPresentationInput): Pick<RequestPermissionRequest, "toolCall" | "_meta">;
|
|
16
|
+
//# sourceMappingURL=presentation.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RequestPermissionResponse } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { PermissionOption } from "@agentclientprotocol/sdk";
|
|
3
|
+
import type { PermissionMode, PermissionResult } from "@anthropic-ai/claude-agent-sdk";
|
|
4
|
+
import type { DurablePermissionChangeSet } from "./normalization.js";
|
|
5
|
+
export interface ClaudePermissionDecision {
|
|
6
|
+
permissionResult: PermissionResult;
|
|
7
|
+
contextResetMode?: PermissionMode;
|
|
8
|
+
}
|
|
9
|
+
/** Decode, validate, and interpret an ACP response exactly once. */
|
|
10
|
+
export declare function decodeClaudePermissionResponse(response: RequestPermissionResponse, toolName: string, input: Record<string, unknown>, toolUseID: string, offeredOptions: readonly PermissionOption[], durableChangeSet?: DurablePermissionChangeSet): ClaudePermissionDecision;
|
|
11
|
+
//# sourceMappingURL=response.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type SessionMessage } from "@anthropic-ai/claude-agent-sdk";
|
|
2
|
+
type ResumeLogger = {
|
|
3
|
+
log: (...args: unknown[]) => void;
|
|
4
|
+
error: (...args: unknown[]) => void;
|
|
5
|
+
};
|
|
6
|
+
export type ResumedSessionSnapshot = {
|
|
7
|
+
messages?: SessionMessage[];
|
|
8
|
+
model?: string;
|
|
9
|
+
};
|
|
10
|
+
/** Return the concrete model recorded by the last real assistant response.
|
|
11
|
+
* Claude Code restores a resumed query from this same transcript field.
|
|
12
|
+
* Synthetic assistant records use angle-bracket placeholders and do not
|
|
13
|
+
* describe a model the resumed query can run. */
|
|
14
|
+
export declare function resumedModelFromTranscript(messages: SessionMessage[]): string | undefined;
|
|
15
|
+
/** Read the resume model from the local transcript without starting a Claude
|
|
16
|
+
* control request. This is intentionally on the load critical path. */
|
|
17
|
+
export declare function readResumedSession(sessionId: string, logger?: ResumeLogger): Promise<ResumedSessionSnapshot>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=resumed-session.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SessionConfigOption } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { EffortLevel, ModelInfo, Settings } from "@anthropic-ai/claude-agent-sdk";
|
|
3
|
+
export { EFFORT_CONFIG_ID } from "./session-config-ids.js";
|
|
4
|
+
export declare function toSdkEffortLevel(value: string | undefined): EffortLevel | null;
|
|
5
|
+
/** Resolve the effort the CLI will use: per-model settings first, then the
|
|
6
|
+
* legacy top-level effort setting. Model settings are keyed by canonical
|
|
7
|
+
* model name, so try the resolved SDK model before picker and raw IDs. */
|
|
8
|
+
export declare function settingsEffortForModel(settings: Settings, modelInfo: ModelInfo | undefined, modelId?: string): string | undefined;
|
|
9
|
+
/** Programmatic query settings have higher priority than file-backed settings,
|
|
10
|
+
* matching the SDK. Keep unrelated per-model entries from lower tiers while
|
|
11
|
+
* replacing entries supplied at the programmatic tier. */
|
|
12
|
+
export declare function mergeEffortSettings(base: Settings, override: Settings | undefined): Settings;
|
|
13
|
+
export declare function buildEffortConfigOption(modelInfos: ModelInfo[], currentModelId: string, currentEffortLevel: string | undefined, useRecommendedValue: boolean): SessionConfigOption | undefined;
|
|
14
|
+
//# sourceMappingURL=session-effort.d.ts.map
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { ClientCapabilities, SessionNotification } from "@agentclientprotocol/sdk";
|
|
2
|
+
import { getSessionMessages, type SDKAssistantMessageError } from "@anthropic-ai/claude-agent-sdk";
|
|
3
|
+
export declare function airSessionFailureCapabilityMeta(...additionalCapabilities: string[]): Record<string, unknown>;
|
|
4
|
+
export type ClaudeFailureKind = "access_denied" | "advisory" | "auth_required" | "bad_request" | "budget_exhausted" | "context_exhausted" | "internal_error" | "overloaded" | "provider_error" | "quota_exhausted" | "rate_limited" | "transport_lost" | "worker_shutdown";
|
|
5
|
+
type AirSessionFailureCategory = "connection" | "access" | "limit" | "request" | "service" | "unknown";
|
|
6
|
+
type AirSessionFailureSeverity = "warning" | "error";
|
|
7
|
+
type AirSessionFailureAction = "retry" | "login" | "new_session";
|
|
8
|
+
type SessionFailureRecoveryPolicy = "never" | "next_attempt" | "real_model_success" | "auth_status" | "runtime_rebind";
|
|
9
|
+
export type PublishedSessionFailure = {
|
|
10
|
+
id: string;
|
|
11
|
+
revision: number;
|
|
12
|
+
kind: ClaudeFailureKind;
|
|
13
|
+
category: AirSessionFailureCategory;
|
|
14
|
+
turnId?: string;
|
|
15
|
+
severity: AirSessionFailureSeverity;
|
|
16
|
+
title: string;
|
|
17
|
+
details?: string;
|
|
18
|
+
/** A machine-readable refinement of `kind`, e.g. the `--hide-claude-auth`
|
|
19
|
+
* subscription guard's reason on an `auth_required` failure. Absent for a
|
|
20
|
+
* plain sign-out. */
|
|
21
|
+
reason?: string;
|
|
22
|
+
actions: AirSessionFailureAction[];
|
|
23
|
+
recoveryPolicy: SessionFailureRecoveryPolicy;
|
|
24
|
+
};
|
|
25
|
+
type SessionFailureOptions = {
|
|
26
|
+
turnId?: string;
|
|
27
|
+
sessionScoped?: boolean;
|
|
28
|
+
title?: string;
|
|
29
|
+
details?: string;
|
|
30
|
+
severity?: AirSessionFailureSeverity;
|
|
31
|
+
reason?: string;
|
|
32
|
+
};
|
|
33
|
+
export type SessionFailureState = {
|
|
34
|
+
epoch: string;
|
|
35
|
+
revisions: Map<string, number>;
|
|
36
|
+
active: Map<string, PublishedSessionFailure>;
|
|
37
|
+
nextIncident?: number;
|
|
38
|
+
lastNotice?: {
|
|
39
|
+
title: string;
|
|
40
|
+
id: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type Logger = {
|
|
44
|
+
error: (...args: unknown[]) => void;
|
|
45
|
+
};
|
|
46
|
+
export declare function createSessionFailureState(): SessionFailureState;
|
|
47
|
+
export declare function sessionFailureMeta(failure: PublishedSessionFailure): Record<string, unknown>;
|
|
48
|
+
/** `getSessionMessages` deliberately exposes only the API message and strips
|
|
49
|
+
* transcript-level `error` / `isApiErrorMessage` fields. The SDK exports the
|
|
50
|
+
* exact stable prefixes used by its synthetic usage-limit errors, so replay
|
|
51
|
+
* can recover this one typed failure without matching arbitrary model prose. */
|
|
52
|
+
export declare function assistantMessageText(apiMessage: unknown): string | undefined;
|
|
53
|
+
export declare function isSyntheticUsageLimitMessage(apiMessage: unknown): boolean;
|
|
54
|
+
export declare function activeUsageLimitMessage(messages: Awaited<ReturnType<typeof getSessionMessages>>): {
|
|
55
|
+
uuid: string;
|
|
56
|
+
title: string;
|
|
57
|
+
} | undefined;
|
|
58
|
+
export declare function supportsAirSessionFailures(capabilities?: ClientCapabilities): boolean;
|
|
59
|
+
/** Owns the AIR failure lifecycle for both the live consumer and history replay.
|
|
60
|
+
* Published revisions become active only after delivery succeeds; recovery only
|
|
61
|
+
* removes internal active state because transcript records are historical. */
|
|
62
|
+
export declare class SessionFailureController {
|
|
63
|
+
private readonly sessionId;
|
|
64
|
+
private readonly state;
|
|
65
|
+
private readonly capabilities?;
|
|
66
|
+
private readonly isCurrent;
|
|
67
|
+
private readonly sendUpdate;
|
|
68
|
+
private readonly logger;
|
|
69
|
+
constructor(options: {
|
|
70
|
+
sessionId: string;
|
|
71
|
+
state: SessionFailureState;
|
|
72
|
+
capabilities?: ClientCapabilities;
|
|
73
|
+
isCurrent: () => boolean;
|
|
74
|
+
sendUpdate: (notification: SessionNotification) => Promise<void>;
|
|
75
|
+
logger: Logger;
|
|
76
|
+
});
|
|
77
|
+
private isSupported;
|
|
78
|
+
private emit;
|
|
79
|
+
/** Whether a session-scoped error of `kind` is active. A turn-scoped
|
|
80
|
+
* warning of the same kind (an `api_retry` notice) does not count: it
|
|
81
|
+
* reports a retry in progress, not the state the error would publish.
|
|
82
|
+
*
|
|
83
|
+
* `reason` refines `kind`, so the active record must carry the same one,
|
|
84
|
+
* and an omitted `reason` matches only a record with no reason. A plain
|
|
85
|
+
* sign-out and the `--hide-claude-auth` subscription refusal are both
|
|
86
|
+
* `auth_required`, but they tell the user different things. Neither may
|
|
87
|
+
* suppress the other. */
|
|
88
|
+
hasActiveSessionError(kind: ClaudeFailureKind, reason?: string): boolean;
|
|
89
|
+
recordActive(failure: PublishedSessionFailure): void;
|
|
90
|
+
clear(shouldClear?: (failure: PublishedSessionFailure) => boolean): Promise<boolean>;
|
|
91
|
+
prepare(kind: ClaudeFailureKind, failureOptions?: SessionFailureOptions): Promise<PublishedSessionFailure | undefined>;
|
|
92
|
+
publish(kind: ClaudeFailureKind, failureOptions?: SessionFailureOptions): Promise<void>;
|
|
93
|
+
restore(id: string, kind: ClaudeFailureKind, title: string, active?: boolean): Promise<boolean>;
|
|
94
|
+
}
|
|
95
|
+
export declare function providerFailureCategory(errorKind?: SDKAssistantMessageError, isUsageLimit?: boolean): ClaudeFailureKind;
|
|
96
|
+
export {};
|
|
97
|
+
//# sourceMappingURL=session-failure-extension.d.ts.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type SessionConfigOption, type SessionModeState, type SessionNotification, type SetSessionModeRequest, type SetSessionModeResponse } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { ModelInfo, PermissionMode, PermissionResult, Query } from "@anthropic-ai/claude-agent-sdk";
|
|
3
|
+
export declare const MODE_CONFIG_ID = "mode";
|
|
4
|
+
export declare const AUTO_MODE_FALLBACK: PermissionMode;
|
|
5
|
+
export type SessionMode = {
|
|
6
|
+
query: Pick<Query, "setPermissionMode">;
|
|
7
|
+
queryClosed?: boolean;
|
|
8
|
+
modes: SessionModeState;
|
|
9
|
+
models: {
|
|
10
|
+
currentModelId: string;
|
|
11
|
+
};
|
|
12
|
+
modelInfos: ModelInfo[];
|
|
13
|
+
/** Prevents the model-specific Auto fallback from spamming the transcript. */
|
|
14
|
+
autoModeFallbackWarningShown?: boolean;
|
|
15
|
+
/** Initial mode fallback is reported after session/new, on the first prompt. */
|
|
16
|
+
autoModeFallbackWarningPending?: boolean;
|
|
17
|
+
/** The mode the session left when it entered plan mode, if it is in plan. */
|
|
18
|
+
prePlanMode?: string;
|
|
19
|
+
};
|
|
20
|
+
export type SessionModeManagerOptions<S extends SessionMode> = {
|
|
21
|
+
getSession(sessionId: string): S | undefined;
|
|
22
|
+
sessionEndedMessage: string;
|
|
23
|
+
updateConfigOption(sessionId: string, configId: string, value: string): Promise<void>;
|
|
24
|
+
sessionUpdate(params: SessionNotification): Promise<void>;
|
|
25
|
+
/** Whether the client can present `notice` updates; the fallback warning
|
|
26
|
+
* is a transcript line otherwise. Read per call: capabilities are only
|
|
27
|
+
* known after `initialize`. */
|
|
28
|
+
supportsNotices?(): boolean;
|
|
29
|
+
logError(...args: unknown[]): void;
|
|
30
|
+
};
|
|
31
|
+
type ModeConfigSession = SessionMode & {
|
|
32
|
+
configOptions: SessionConfigOption[];
|
|
33
|
+
};
|
|
34
|
+
type InitializeSessionModeParams = {
|
|
35
|
+
query: Pick<Query, "setPermissionMode">;
|
|
36
|
+
requestedMode: PermissionMode;
|
|
37
|
+
currentModelInfo?: ModelInfo;
|
|
38
|
+
currentModelId: string;
|
|
39
|
+
/** When false, bypassPermissions is omitted from the mode catalog. */
|
|
40
|
+
allowBypass: boolean;
|
|
41
|
+
};
|
|
42
|
+
/** Owns session-mode policy and the ACP/SDK synchronization it requires. */
|
|
43
|
+
export declare class SessionModeManager<S extends SessionMode> {
|
|
44
|
+
private readonly options;
|
|
45
|
+
constructor(options: SessionModeManagerOptions<S>);
|
|
46
|
+
initialize({ query, requestedMode, currentModelInfo, currentModelId, allowBypass, }: InitializeSessionModeParams): Promise<{
|
|
47
|
+
modes: SessionModeState;
|
|
48
|
+
autoModeFallbackWarningPending: boolean;
|
|
49
|
+
}>;
|
|
50
|
+
static configOption(modes: SessionModeState): SessionConfigOption;
|
|
51
|
+
syncConfig(session: ModeConfigSession, mode: string): void;
|
|
52
|
+
availableModeIds(modes: SessionModeState): string[];
|
|
53
|
+
effectiveMode(session: SessionMode, requestedMode: PermissionMode): PermissionMode;
|
|
54
|
+
applyPermissionFallback(session: SessionMode, permissionResult: PermissionResult): {
|
|
55
|
+
permissionResult: PermissionResult;
|
|
56
|
+
fallbackApplied: boolean;
|
|
57
|
+
};
|
|
58
|
+
/** Reconcile mode after a model switch. The caller rebuilds config options
|
|
59
|
+
* before publishing the returned state change. */
|
|
60
|
+
reconcileForModel(session: SessionMode, model: ModelInfo | undefined): Promise<boolean>;
|
|
61
|
+
selectMode(sessionId: string, modeId: string): Promise<PermissionMode>;
|
|
62
|
+
setSessionMode(params: SetSessionModeRequest): Promise<SetSessionModeResponse>;
|
|
63
|
+
publishCurrent(sessionId: string, mode: string): Promise<void>;
|
|
64
|
+
publishFallbackWarning(sessionId: string, session: SessionMode): Promise<void>;
|
|
65
|
+
publishFallbackState(sessionId: string, session: SessionMode): Promise<void>;
|
|
66
|
+
private requireOpenSession;
|
|
67
|
+
private isAutoUnavailable;
|
|
68
|
+
private isAvailable;
|
|
69
|
+
private parseMode;
|
|
70
|
+
private buildAvailableModes;
|
|
71
|
+
private trySyncMode;
|
|
72
|
+
}
|
|
73
|
+
export {};
|
|
74
|
+
//# sourceMappingURL=session-mode.d.ts.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { SessionConfigOption } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { ModelInfo, Query, Settings } from "@anthropic-ai/claude-agent-sdk";
|
|
3
|
+
export declare const MODEL_CONFIG_ID = "model";
|
|
4
|
+
export type SessionModelState = {
|
|
5
|
+
availableModels: Array<{
|
|
6
|
+
modelId: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
}>;
|
|
10
|
+
currentModelId: string;
|
|
11
|
+
};
|
|
12
|
+
type ModelLogger = {
|
|
13
|
+
log: (...args: unknown[]) => void;
|
|
14
|
+
error: (...args: unknown[]) => void;
|
|
15
|
+
};
|
|
16
|
+
type ModelSettingsSource = {
|
|
17
|
+
getSettings(): Settings;
|
|
18
|
+
};
|
|
19
|
+
export declare function resolveModelPreference(models: ModelInfo[], preference: string): ModelInfo | null;
|
|
20
|
+
export declare function matchResumedModel(models: ModelInfo[], liveModel: string): ModelInfo;
|
|
21
|
+
export declare function buildModelConfigOption(models: SessionModelState, modelInfos: ModelInfo[], useRecommendedValue: boolean): SessionConfigOption;
|
|
22
|
+
/**
|
|
23
|
+
* Restrict the SDK's model list to the user's `availableModels` allowlist
|
|
24
|
+
* (already merged-and-deduped across settings sources by `SettingsManager`).
|
|
25
|
+
* The user's exact entries become the model IDs surfaced via configOptions
|
|
26
|
+
* and passed to `setModel`, which prevents Claude Code from silently
|
|
27
|
+
* substituting a date-pinned variant (e.g. `haiku` →
|
|
28
|
+
* `claude-haiku-4-5-20251001`) that the user may not have access to.
|
|
29
|
+
*
|
|
30
|
+
* Display info and capability flags are copied from the closest SDK match so
|
|
31
|
+
* the UI still renders sensible names and effort levels.
|
|
32
|
+
*
|
|
33
|
+
* Semantics from https://code.claude.com/docs/en/model-config#restrict-model-selection:
|
|
34
|
+
* - `undefined` is handled by the caller (no allowlist applied).
|
|
35
|
+
* - The Default option is unaffected by `availableModels` — it always remains
|
|
36
|
+
* available, even when the allowlist is `[]`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function applyAvailableModelsAllowlist(sdkModels: ModelInfo[], allowlist: string[], settingsModelOverrides?: Record<string, string>): ModelInfo[];
|
|
39
|
+
export declare function getAvailableModels(query: Query, models: ModelInfo[], sdkModels: ModelInfo[], settingsManager: ModelSettingsSource, logger: ModelLogger, isResumedSession: boolean, sessionId: string, resumedModelHint?: string): Promise<SessionModelState>;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=session-model.d.ts.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ClientCapabilities, SessionNotification } from "@agentclientprotocol/sdk";
|
|
2
|
+
/** Fire-and-forget advisory text for the user: live events rather than
|
|
3
|
+
* conversation history. See the ACP Session Notices RFD
|
|
4
|
+
* (https://agentclientprotocol.com/rfds/session-notices). */
|
|
5
|
+
export type SessionNotice = {
|
|
6
|
+
severity: "info" | "warning" | "error";
|
|
7
|
+
/** Plain text that stands alone. */
|
|
8
|
+
title: string;
|
|
9
|
+
/** Plain-text detail or guidance. */
|
|
10
|
+
description?: string;
|
|
11
|
+
};
|
|
12
|
+
/** Longest free-form line that may serve as a notice title on its own. Past
|
|
13
|
+
* this the text moves to `description` under a generic title. */
|
|
14
|
+
export declare const MAX_NOTICE_TITLE_LENGTH = 256;
|
|
15
|
+
/** Whether the Client advertised `clientCapabilities.session.notices`. Agents
|
|
16
|
+
* MUST NOT send `notice` updates otherwise; the alternative is a bold-label
|
|
17
|
+
* transcript line, which was the only way to flag these before. */
|
|
18
|
+
export declare function clientSupportsNotices(capabilities?: ClientCapabilities | null): boolean;
|
|
19
|
+
export declare function noticeUpdate(notice: SessionNotice): SessionNotification["update"];
|
|
20
|
+
/** The transcript rendering of a notice for clients without the capability. */
|
|
21
|
+
export declare function noticeTranscriptText(notice: SessionNotice): string;
|
|
22
|
+
/** The update to send for `notice`: a `notice` when the client can present
|
|
23
|
+
* one, else an agent message carrying `transcriptText` (by default the
|
|
24
|
+
* bold-label rendering of the notice) and `transcriptMeta`, so clients
|
|
25
|
+
* without the capability can still tell the line apart from Claude's reply. */
|
|
26
|
+
export declare function noticeOrTranscriptUpdate(notice: SessionNotice, supportsNotices: boolean, transcriptText?: string, transcriptMeta?: Record<string, unknown>): SessionNotification["update"];
|
|
27
|
+
/** Fragments that read on after a bold label stand alone as a notice
|
|
28
|
+
* description, so start them with a capital. */
|
|
29
|
+
export declare function sentenceCase(text: string): string;
|
|
30
|
+
/** Collapses whitespace so a text shown as a notice can be recognized when
|
|
31
|
+
* the SDK repeats it elsewhere (a hook-blocked turn's result, for one). */
|
|
32
|
+
export declare function normalizeNoticeText(text: string): string;
|
|
33
|
+
/** Notice fields are plain text. Free-form SDK/hook output may carry light
|
|
34
|
+
* markdown that a transcript would render; drop the inline markers rather
|
|
35
|
+
* than show literal asterisks and backticks in a toast. */
|
|
36
|
+
export declare function noticePlainText(text: string): string;
|
|
37
|
+
/** Shapes free-form text into a notice title plus optional description: the
|
|
38
|
+
* first line stands as the title when it is short enough, otherwise the whole
|
|
39
|
+
* text becomes the description under `fallbackTitle`. */
|
|
40
|
+
export declare function splitNoticeText(text: string, fallbackTitle: string): Pick<SessionNotice, "title" | "description">;
|
|
41
|
+
//# sourceMappingURL=session-notices.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type TimingLogger = {
|
|
2
|
+
log: (...args: unknown[]) => void;
|
|
3
|
+
};
|
|
4
|
+
/** Small phase timer for session lifecycle diagnostics. */
|
|
5
|
+
export declare class SessionTiming {
|
|
6
|
+
private readonly logger;
|
|
7
|
+
private readonly operation;
|
|
8
|
+
private readonly sessionId;
|
|
9
|
+
private readonly startedAt;
|
|
10
|
+
private phaseStartedAt;
|
|
11
|
+
constructor(logger: TimingLogger | undefined, operation: string, sessionId: string, startedAt?: number);
|
|
12
|
+
phase(name: string, detail?: string): void;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=session-timing.d.ts.map
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI-generated session titles.
|
|
3
|
+
*
|
|
4
|
+
* Claude Code's own auto-title generation never runs under the Agent SDK — the
|
|
5
|
+
* latch that arms it is pre-set in the headless path — so `SDKSessionInfo.summary`
|
|
6
|
+
* degrades to the raw first prompt. This module asks the CLI for a real title
|
|
7
|
+
* instead, via the `generate_session_title` control request, and publishes it
|
|
8
|
+
* over ACP as a `session_info_update`.
|
|
9
|
+
*
|
|
10
|
+
* {@link SessionTitles} holds the per-session state and is owned by `Session`.
|
|
11
|
+
* `acp-agent.ts` drives it from four places: {@link SessionTitles.onPrompt} and
|
|
12
|
+
* {@link SessionTitles.onAssistantText} to collect text,
|
|
13
|
+
* {@link SessionTitles.onTurnEnd} at `session_state_changed: idle`, and
|
|
14
|
+
* {@link SessionTitles.reset} on `conversation_reset`.
|
|
15
|
+
*/
|
|
16
|
+
import type { ContentBlock, PromptRequest } from "@agentclientprotocol/sdk";
|
|
17
|
+
import type { ClaudeAcpAgent, Session } from "./acp-agent.js";
|
|
18
|
+
export declare function sanitizeTitle(text: string): string;
|
|
19
|
+
/** Rolling text a title is generated from: `previous` plus `text`, keeping only
|
|
20
|
+
* the trailing {@link MAX_TITLE_CONTEXT_LENGTH} characters. */
|
|
21
|
+
export declare function appendTitleContext(previous: string | undefined, text: string): string;
|
|
22
|
+
/** One session's title: the text a generated title is derived from, whether a
|
|
23
|
+
* title has been settled on, and the last one published. Created with the
|
|
24
|
+
* session and reachable as `session.titles`. */
|
|
25
|
+
export declare class SessionTitles {
|
|
26
|
+
private readonly agent;
|
|
27
|
+
private readonly sessionId;
|
|
28
|
+
/** Last title pushed to the client via `session_info_update`, so an unchanged
|
|
29
|
+
* title is never re-notified. Undefined until the first push. */
|
|
30
|
+
private lastTitle?;
|
|
31
|
+
/** Rolling tail of this session's own user + assistant text, capped at
|
|
32
|
+
* {@link MAX_TITLE_CONTEXT_LENGTH}. Dropped once a title exists. */
|
|
33
|
+
private context?;
|
|
34
|
+
/** Set once this session has a title or has asked for one. A title is
|
|
35
|
+
* generated at most once per session: the SDK reports a generated title in
|
|
36
|
+
* the same field as a user `/rename`, so re-titling could silently overwrite
|
|
37
|
+
* one. Released by {@link reset}, and when generation yields nothing. */
|
|
38
|
+
private settled;
|
|
39
|
+
constructor(agent: ClaudeAcpAgent, sessionId: string);
|
|
40
|
+
/** Collect a prompt's own text for the title, skipping openers not worth
|
|
41
|
+
* titling after. No-op once the title is settled. */
|
|
42
|
+
onPrompt(prompt: PromptRequest["prompt"]): void;
|
|
43
|
+
/** Collect the assistant's own answer for the title. Chunks are appended
|
|
44
|
+
* verbatim so streamed text reassembles. No-op once the title is settled. */
|
|
45
|
+
onAssistantText(content: ContentBlock): void;
|
|
46
|
+
/** Drop the title state so the next turn re-evaluates. Used on
|
|
47
|
+
* `conversation_reset`, which mounts a fresh transcript. */
|
|
48
|
+
reset(): void;
|
|
49
|
+
/** Turn-end title handling. `idle` is the SDK's turn-over signal, so it is
|
|
50
|
+
* when a title may have landed or become generatable.
|
|
51
|
+
*
|
|
52
|
+
* `info.customTitle` is non-empty only once the session file holds a real
|
|
53
|
+
* title — a user `/rename` or one generated earlier; the SDK folds both into
|
|
54
|
+
* that one field. Adopt it and latch, so neither is ever titled over.
|
|
55
|
+
*
|
|
56
|
+
* With no title yet, ask the SDK to generate one in the background: it is a
|
|
57
|
+
* ~2s small-model call and turn-end must not wait on it. Only when that is
|
|
58
|
+
* not possible do we fall back to `summary`, which for an SDK-driven session
|
|
59
|
+
* is just the raw first prompt. */
|
|
60
|
+
onTurnEnd(session: Session): Promise<void>;
|
|
61
|
+
/** Read the SDK's stored info for this session. A missing session file or read
|
|
62
|
+
* error is non-fatal: the title is best-effort and another turn will retry. */
|
|
63
|
+
private readSessionInfo;
|
|
64
|
+
/** Notify the client of a title, unless it is the one we last sent. */
|
|
65
|
+
private publish;
|
|
66
|
+
/** Whether to ask the SDK for a generated title now: once per session, on a
|
|
67
|
+
* live query, with enough collected text for the generator to work with. */
|
|
68
|
+
private canRequest;
|
|
69
|
+
/** Generate a title from the session's own text and publish it. `persist`
|
|
70
|
+
* writes it to the session file, which is what carries it into
|
|
71
|
+
* `session/list` and `session/load`. A null or failed generation releases the
|
|
72
|
+
* latch so a later turn retries, and publishes `fallback` (the stored
|
|
73
|
+
* summary) so a backend that can't generate titles is no worse off than
|
|
74
|
+
* before. */
|
|
75
|
+
private requestGenerateTitle;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=session-titles.d.ts.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type Settings } from "@anthropic-ai/claude-agent-sdk";
|
|
2
|
+
export interface SettingsManagerOptions {
|
|
3
|
+
onChange?: () => void;
|
|
4
|
+
logger?: {
|
|
5
|
+
log: (...args: any[]) => void;
|
|
6
|
+
error: (...args: any[]) => void;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Manages Claude Code settings using the SDK's `resolveSettings` merge engine
|
|
11
|
+
* so the values we see match what `query()` would observe.
|
|
12
|
+
*
|
|
13
|
+
* Watches the user/project/local/managed settings files for changes and
|
|
14
|
+
* re-resolves through the SDK on update. Escalating `permissions.defaultMode`
|
|
15
|
+
* values from repo-committed sources are filtered out via
|
|
16
|
+
* `filterEscalatingDefaultMode`, matching the CLI's trust policy.
|
|
17
|
+
*/
|
|
18
|
+
export declare class SettingsManager {
|
|
19
|
+
private cwd;
|
|
20
|
+
private effective;
|
|
21
|
+
private watchers;
|
|
22
|
+
private onChange?;
|
|
23
|
+
private logger;
|
|
24
|
+
private initialized;
|
|
25
|
+
private disposed;
|
|
26
|
+
private debounceTimer;
|
|
27
|
+
private initPromise;
|
|
28
|
+
constructor(cwd: string, options?: SettingsManagerOptions);
|
|
29
|
+
/**
|
|
30
|
+
* Initialize the settings manager by loading all settings and setting up file watchers
|
|
31
|
+
*/
|
|
32
|
+
initialize(): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Paths the SDK reads when resolving settings for this cwd. Watching the
|
|
35
|
+
* containing directories means we pick up file creation as well as edits.
|
|
36
|
+
*/
|
|
37
|
+
private getWatchedPaths;
|
|
38
|
+
/**
|
|
39
|
+
* Resolves the effective settings via the SDK and applies the CLI's trust
|
|
40
|
+
* filter for escalating `permissions.defaultMode` values.
|
|
41
|
+
*/
|
|
42
|
+
private loadAllSettings;
|
|
43
|
+
/**
|
|
44
|
+
* Sets up file watchers for all settings files
|
|
45
|
+
*/
|
|
46
|
+
private setupWatchers;
|
|
47
|
+
/**
|
|
48
|
+
* Handles settings file changes with debouncing to avoid rapid reloads
|
|
49
|
+
*/
|
|
50
|
+
private handleSettingsChange;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the current merged settings
|
|
53
|
+
*/
|
|
54
|
+
getSettings(): Settings;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the current working directory
|
|
57
|
+
*/
|
|
58
|
+
getCwd(): string;
|
|
59
|
+
/**
|
|
60
|
+
* Updates the working directory and reloads project-specific settings
|
|
61
|
+
*/
|
|
62
|
+
setCwd(cwd: string): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Disposes of file watchers and cleans up resources
|
|
65
|
+
*/
|
|
66
|
+
dispose(): void;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type ToolResultMeta = {
|
|
2
|
+
nonExecutionKind: string;
|
|
3
|
+
userFeedback?: string;
|
|
4
|
+
};
|
|
5
|
+
/** Validate the SDK's currently untyped tool_result_meta sidecar. Unknown
|
|
6
|
+
* non-execution kinds are preserved so newer CLIs remain forward-compatible. */
|
|
7
|
+
export declare function parseToolResultMeta(raw: unknown): Map<string, ToolResultMeta> | undefined;
|
|
8
|
+
//# sourceMappingURL=tool-result-meta.d.ts.map
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { PlanEntry, ToolCallContent, ToolCallLocation, ToolKind } from "@agentclientprotocol/sdk";
|
|
2
|
+
import { HookCallback } from "@anthropic-ai/claude-agent-sdk";
|
|
3
|
+
import { TaskCreateInput, TaskCreateOutput, TaskListOutput, TaskUpdateInput, TaskUpdateOutput } from "@anthropic-ai/claude-agent-sdk/sdk-tools.js";
|
|
4
|
+
import { ToolResultBlockParam, WebSearchToolResultBlockParam } from "@anthropic-ai/sdk/resources";
|
|
5
|
+
import { BetaBashCodeExecutionToolResultBlockParam, BetaCodeExecutionToolResultBlockParam, BetaRequestMCPToolResultBlockParam, BetaTextEditorCodeExecutionToolResultBlockParam, BetaToolResultBlockParam, BetaToolSearchToolResultBlockParam, BetaWebFetchToolResultBlockParam, BetaWebSearchToolResultBlockParam } from "@anthropic-ai/sdk/resources/beta.mjs";
|
|
6
|
+
interface ToolInfo {
|
|
7
|
+
title: string;
|
|
8
|
+
kind: ToolKind;
|
|
9
|
+
content: ToolCallContent[];
|
|
10
|
+
locations?: ToolCallLocation[];
|
|
11
|
+
}
|
|
12
|
+
interface ToolUpdate {
|
|
13
|
+
title?: string;
|
|
14
|
+
content?: ToolCallContent[];
|
|
15
|
+
locations?: ToolCallLocation[];
|
|
16
|
+
_meta?: {
|
|
17
|
+
terminal_info?: {
|
|
18
|
+
terminal_id: string;
|
|
19
|
+
};
|
|
20
|
+
terminal_output?: {
|
|
21
|
+
terminal_id: string;
|
|
22
|
+
data: string;
|
|
23
|
+
};
|
|
24
|
+
terminal_output_delta?: {
|
|
25
|
+
terminal_id: string;
|
|
26
|
+
data: string;
|
|
27
|
+
};
|
|
28
|
+
terminal_exit?: {
|
|
29
|
+
terminal_id: string;
|
|
30
|
+
exit_code: number;
|
|
31
|
+
signal: string | null;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Convert an absolute file path to a project-relative path for display.
|
|
37
|
+
* Returns the original path if it's outside the project directory or if no cwd is provided.
|
|
38
|
+
*/
|
|
39
|
+
export declare function toDisplayPath(filePath: string, cwd?: string): string;
|
|
40
|
+
export declare function toolInfoFromToolUse(toolUse: any, supportsTerminalOutput?: boolean, cwd?: string): ToolInfo;
|
|
41
|
+
export declare function toolUpdateFromToolResult(toolResult: ToolResultBlockParam | BetaToolResultBlockParam | BetaWebSearchToolResultBlockParam | BetaWebFetchToolResultBlockParam | WebSearchToolResultBlockParam | BetaCodeExecutionToolResultBlockParam | BetaBashCodeExecutionToolResultBlockParam | BetaTextEditorCodeExecutionToolResultBlockParam | BetaRequestMCPToolResultBlockParam | BetaToolSearchToolResultBlockParam, toolUse: any | undefined, supportsTerminalOutput?: boolean, toolUseResult?: unknown, preferTerminalOutputDelta?: boolean): ToolUpdate;
|
|
42
|
+
export type ClaudePlanEntry = {
|
|
43
|
+
content: string;
|
|
44
|
+
status: "pending" | "in_progress" | "completed";
|
|
45
|
+
activeForm: string;
|
|
46
|
+
};
|
|
47
|
+
export declare function planEntries(input: {
|
|
48
|
+
todos: ClaudePlanEntry[];
|
|
49
|
+
} | undefined): PlanEntry[];
|
|
50
|
+
/**
|
|
51
|
+
* Per-session task list accumulated from Task* tool calls (TaskCreate /
|
|
52
|
+
* TaskUpdate). The headless/SDK session emits these as incremental tool
|
|
53
|
+
* calls keyed by task ID, replacing the snapshot-style TodoWrite tool.
|
|
54
|
+
* Iteration order is insertion order (Map semantics), matching the order
|
|
55
|
+
* tasks are created.
|
|
56
|
+
*/
|
|
57
|
+
export type TaskEntry = {
|
|
58
|
+
subject: string;
|
|
59
|
+
status: "pending" | "in_progress" | "completed";
|
|
60
|
+
activeForm?: string;
|
|
61
|
+
description?: string;
|
|
62
|
+
};
|
|
63
|
+
export type TaskState = Map<string, TaskEntry>;
|
|
64
|
+
export declare function parseTaskCreateOutput(content: unknown): TaskCreateOutput | undefined;
|
|
65
|
+
export declare function parseTaskListOutput(content: unknown): TaskListOutput | undefined;
|
|
66
|
+
export declare function parseTaskUpdateOutput(content: unknown, expectedTaskId?: string): TaskUpdateOutput | undefined;
|
|
67
|
+
export declare function applyTaskCreate(state: TaskState, input: TaskCreateInput | undefined, output: TaskCreateOutput | undefined): void;
|
|
68
|
+
export declare function applyTaskUpdate(state: TaskState, input: TaskUpdateInput | undefined): void;
|
|
69
|
+
export declare function applyTaskList(state: TaskState, output: TaskListOutput): void;
|
|
70
|
+
export declare function taskStateToPlanEntries(state: TaskState): PlanEntry[];
|
|
71
|
+
export declare function markdownEscape(text: string): string;
|
|
72
|
+
export declare const registerHookCallback: (toolUseID: string, { onPostToolUseHook, }: {
|
|
73
|
+
onPostToolUseHook?: (toolUseID: string, toolInput: unknown, toolResponse: unknown) => Promise<void>;
|
|
74
|
+
}, ownerId?: string) => void;
|
|
75
|
+
export declare function unregisterHookCallback(toolUseID: string): void;
|
|
76
|
+
/** PostToolUse normally follows tool_result, so keep the callback for a short
|
|
77
|
+
* grace period while still bounding retention when the hook never arrives. */
|
|
78
|
+
export declare function completeHookCallback(toolUseID: string): void;
|
|
79
|
+
export declare function clearHookCallbacks(ownerId: string): void;
|
|
80
|
+
export declare const createPostToolUseHook: (options?: {
|
|
81
|
+
onEnterPlanMode?: () => Promise<void>;
|
|
82
|
+
}) => HookCallback;
|
|
83
|
+
/**
|
|
84
|
+
* Hook callback for `TaskCreated` / `TaskCompleted` events. The SDK fires
|
|
85
|
+
* these for both user-facing TaskCreate tool calls and subagent task
|
|
86
|
+
* creation, giving us `task_id` + `task_subject` without having to parse
|
|
87
|
+
* tool_result payloads.
|
|
88
|
+
*
|
|
89
|
+
* Populating `taskState` from the hook means a later `TaskUpdate` (which
|
|
90
|
+
* typically only carries `taskId` + `status`) finds an existing entry with
|
|
91
|
+
* a real subject, instead of synthesizing a placeholder with empty content.
|
|
92
|
+
*/
|
|
93
|
+
export declare const createTaskHook: (options: {
|
|
94
|
+
taskState: TaskState;
|
|
95
|
+
onChange?: () => Promise<void>;
|
|
96
|
+
}) => HookCallback;
|
|
97
|
+
export {};
|
|
98
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SDKControlGetUsageResponse } from "@anthropic-ai/claude-agent-sdk";
|
|
2
|
+
/** Validate the experimental SDK response at the runtime boundary. */
|
|
3
|
+
export declare function parseUsageResponse(value: unknown): SDKControlGetUsageResponse | null;
|
|
4
|
+
export declare function isUsageCommandText(text: string): boolean;
|
|
5
|
+
/** Render the SDK's structured `/usage` response as Markdown. */
|
|
6
|
+
export declare function formatUsageResponse(usage: SDKControlGetUsageResponse): string;
|
|
7
|
+
//# sourceMappingURL=usage-markdown.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Readable, Writable } from "node:stream";
|
|
2
|
+
import { WritableStream, ReadableStream } from "node:stream/web";
|
|
3
|
+
import { Logger } from "./acp-agent.js";
|
|
4
|
+
export declare class Pushable<T> implements AsyncIterable<T> {
|
|
5
|
+
private queue;
|
|
6
|
+
private resolvers;
|
|
7
|
+
private done;
|
|
8
|
+
push(item: T): void;
|
|
9
|
+
end(): void;
|
|
10
|
+
[Symbol.asyncIterator](): AsyncIterator<T>;
|
|
11
|
+
}
|
|
12
|
+
export declare function nodeToWebWritable(nodeStream: Writable): WritableStream<Uint8Array>;
|
|
13
|
+
export declare function nodeToWebReadable(nodeStream: Readable): ReadableStream<Uint8Array>;
|
|
14
|
+
export declare function unreachable(value: never, logger?: Logger): void;
|
|
15
|
+
export declare function sleep(time: number): Promise<void>;
|
|
16
|
+
//# sourceMappingURL=utils.d.ts.map
|