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,138 @@
|
|
|
1
|
+
import { CreateElicitationResponse } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { CreateElicitationRequest } from "@agentclientprotocol/sdk";
|
|
3
|
+
import type { ElicitationRequest, ElicitationResult } from "@anthropic-ai/claude-agent-sdk";
|
|
4
|
+
import type { AskUserQuestionInput } from "@anthropic-ai/claude-agent-sdk/sdk-tools.js";
|
|
5
|
+
/**
|
|
6
|
+
* Bridges between the Claude Agent SDK's elicitation/dialog callbacks and ACP's
|
|
7
|
+
* (unstable) elicitation protocol.
|
|
8
|
+
*
|
|
9
|
+
* Two distinct SDK surfaces flow through here:
|
|
10
|
+
*
|
|
11
|
+
* 1. `onElicitation` — fired when an MCP server requests user input. These map
|
|
12
|
+
* directly onto ACP `session/create_elicitation` (form or url mode).
|
|
13
|
+
* 2. The built-in AskUserQuestion tool — when a `canUseTool` callback is
|
|
14
|
+
* registered the SDK routes its permission check through `canUseTool`
|
|
15
|
+
* (not the interactive `permission_ask_user_question` dialog). We render
|
|
16
|
+
* its questions as an ACP form elicitation and feed the user's selections
|
|
17
|
+
* back as the tool's `updatedInput`, which the tool's own `call()` reads.
|
|
18
|
+
*/
|
|
19
|
+
/** Modes the connected client advertised support for. */
|
|
20
|
+
export type ElicitationSupport = {
|
|
21
|
+
form: boolean;
|
|
22
|
+
url: boolean;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Convert an MCP elicitation request (from the SDK's `onElicitation` callback)
|
|
26
|
+
* into an ACP `CreateElicitationRequest`. Returns `null` when the request can't
|
|
27
|
+
* be represented (e.g. a url-mode request with no url).
|
|
28
|
+
*/
|
|
29
|
+
export declare function mcpElicitationToCreateRequest(request: ElicitationRequest, sessionId: string): CreateElicitationRequest | null;
|
|
30
|
+
/**
|
|
31
|
+
* Map an ACP elicitation response back to the MCP `ElicitResult` the SDK expects
|
|
32
|
+
* to hand back to the requesting server.
|
|
33
|
+
*/
|
|
34
|
+
export declare function createElicitationResponseToElicitResult(response: CreateElicitationResponse): ElicitationResult;
|
|
35
|
+
/**
|
|
36
|
+
* A single question as supplied by the AskUserQuestion tool. Derived from the
|
|
37
|
+
* SDK's input type so the shape stays in sync; the SDK validates the model's
|
|
38
|
+
* tool call against this schema before it reaches us.
|
|
39
|
+
*/
|
|
40
|
+
export type AskUserQuestion = AskUserQuestionInput["questions"][number];
|
|
41
|
+
/**
|
|
42
|
+
* Pull the well-formed questions out of an AskUserQuestion tool input. Returns
|
|
43
|
+
* `null` when there are no usable questions — including the case where every
|
|
44
|
+
* entry is malformed and filtering leaves an empty list — so callers can treat
|
|
45
|
+
* "nothing to ask" uniformly.
|
|
46
|
+
*/
|
|
47
|
+
export declare function extractAskUserQuestions(input: Record<string, unknown>): AskUserQuestion[] | null;
|
|
48
|
+
/**
|
|
49
|
+
* Render the AskUserQuestion tool's questions as an ACP form elicitation.
|
|
50
|
+
*
|
|
51
|
+
* Fields are keyed by a short stable id (`question_<n>`) rather than the full
|
|
52
|
+
* question text, so the question text appears in exactly one place per field.
|
|
53
|
+
* Single-select questions use a titled `oneOf` enum; multi-select questions use
|
|
54
|
+
* an array with a titled `anyOf` item enum. The enum `const` is always the
|
|
55
|
+
* option label, since that is what the tool records as the answer; an option's
|
|
56
|
+
* secondary text travels in the enum option's own `description` field.
|
|
57
|
+
*
|
|
58
|
+
* Each question is followed by its own optional free-text "custom answer" field
|
|
59
|
+
* (`question_<n>_custom`), mirroring the CLI's per-question "Other" box: the
|
|
60
|
+
* user can type their own answer instead of picking an option, add it to a
|
|
61
|
+
* multi-select's picks, or attach it as a note to a single-select's pick (see
|
|
62
|
+
* `applyAskElicitationResponse`), scoped to that specific question. Nothing is
|
|
63
|
+
* marked required, so the user can also just skip — matching the built-in tool,
|
|
64
|
+
* which always offers Skip + a free-text box.
|
|
65
|
+
*/
|
|
66
|
+
export declare function askUserQuestionsToCreateRequest(questions: AskUserQuestion[], sessionId: string, toolCallId: string | undefined): CreateElicitationRequest;
|
|
67
|
+
/** Outcome of an AskUserQuestion elicitation, decoupled from any transport. */
|
|
68
|
+
export type AskUserQuestionOutcome = {
|
|
69
|
+
action: "answered";
|
|
70
|
+
updatedInput: Record<string, unknown>;
|
|
71
|
+
} | {
|
|
72
|
+
action: "cancel";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Fold an ACP elicitation response into the AskUserQuestion tool's input.
|
|
76
|
+
*
|
|
77
|
+
* Selected labels are read back from the indexed form fields and written into
|
|
78
|
+
* `answers` as a `{ [questionText]: label }` map — the key shape the tool's own
|
|
79
|
+
* `call()` reads — with multi-selects comma-joined in the CLI's own quoted form
|
|
80
|
+
* (see `joinMultiSelectAnswer`). A non-empty per-question custom-answer field
|
|
81
|
+
* (`question_<n>_custom`) joins the selection of a multi-select question, where
|
|
82
|
+
* the two fields are independent and filling both means both. For a
|
|
83
|
+
* single-select question it is the answer when nothing was picked (the user
|
|
84
|
+
* typed their own instead), and otherwise travels beside the pick as the
|
|
85
|
+
* tool's own per-question `annotations[question].notes` — the slot the CLI
|
|
86
|
+
* uses for free text attached to a selection and renders to the model as
|
|
87
|
+
* `"Q"="A" notes: ...` — so a client that presents the box as a notes field
|
|
88
|
+
* cannot make the selection disappear. Decline yields empty answers (the model
|
|
89
|
+
* is told the user skipped rather than the turn aborting); cancel — and any
|
|
90
|
+
* custom/future action we don't understand — aborts the tool call.
|
|
91
|
+
*/
|
|
92
|
+
export declare function applyAskElicitationResponse(response: CreateElicitationResponse, toolInput: Record<string, unknown>, questions: AskUserQuestion[]): AskUserQuestionOutcome;
|
|
93
|
+
/**
|
|
94
|
+
* The `request_user_dialog` kind the CLI emits when a model refusal has a
|
|
95
|
+
* fallback available but needs user consent before retrying (e.g. Claude Fable
|
|
96
|
+
* declining a request with Opus available as the fallback). Declaring this
|
|
97
|
+
* kind in `supportedDialogKinds` is the opt-in: the CLI fails closed and never
|
|
98
|
+
* emits an undeclared kind — the flow degrades to the classic refusal error
|
|
99
|
+
* ending the turn.
|
|
100
|
+
*/
|
|
101
|
+
export declare const REFUSAL_FALLBACK_DIALOG_KIND = "refusal_fallback_prompt";
|
|
102
|
+
/**
|
|
103
|
+
* Payload of the `refusal_fallback_prompt` dialog. The dialog protocol
|
|
104
|
+
* transports payloads opaquely, so this shape is recovered from the CLI's own
|
|
105
|
+
* schema (v2.1.177): `originalModel`/`fallbackModel` are required strings;
|
|
106
|
+
* `apiRefusalCategory` (nullable), `guidanceText`, and
|
|
107
|
+
* `retractedMessageUuids` are optional. We ignore `retractedMessageUuids` —
|
|
108
|
+
* ACP has no way to retract already-streamed chunks.
|
|
109
|
+
*/
|
|
110
|
+
export type RefusalFallbackPrompt = {
|
|
111
|
+
originalModel: string;
|
|
112
|
+
fallbackModel: string;
|
|
113
|
+
apiRefusalCategory: string | null;
|
|
114
|
+
guidanceText?: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Validate the opaque dialog payload into a {@link RefusalFallbackPrompt}.
|
|
118
|
+
* Returns `null` when the required fields are missing or mistyped (a newer CLI
|
|
119
|
+
* may reshape the payload), so the caller can cancel the dialog and let the
|
|
120
|
+
* CLI apply its default behavior instead of rendering something misleading.
|
|
121
|
+
*/
|
|
122
|
+
export declare function extractRefusalFallbackPrompt(payload: Record<string, unknown>): RefusalFallbackPrompt | null;
|
|
123
|
+
/**
|
|
124
|
+
* Render the refusal-fallback consent prompt as an ACP form elicitation: a
|
|
125
|
+
* single-select between retrying on the fallback model and keeping the
|
|
126
|
+
* refusal. The enum `const`s are the dialog's wire result values, so the
|
|
127
|
+
* response maps back without a translation table.
|
|
128
|
+
*/
|
|
129
|
+
export declare function refusalFallbackToCreateRequest(prompt: RefusalFallbackPrompt, sessionId: string): CreateElicitationRequest;
|
|
130
|
+
/**
|
|
131
|
+
* Map the elicitation response back to the dialog's result enum. Only an
|
|
132
|
+
* explicit accept-with-retry resolves to `retry_fallback`; decline, cancel, a
|
|
133
|
+
* skipped field, or an unrecognized value all keep the refusal — the dialog's
|
|
134
|
+
* own default — so a dismissed or half-filled form can never trigger a model
|
|
135
|
+
* switch the user didn't ask for.
|
|
136
|
+
*/
|
|
137
|
+
export declare function refusalFallbackResultFromResponse(response: CreateElicitationResponse): string;
|
|
138
|
+
//# sourceMappingURL=elicitation.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { SessionNotification } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { SDKResultMessage } from "@anthropic-ai/claude-agent-sdk";
|
|
3
|
+
import { type ClearContextCoordinatorHost, type ClearContextReset, type ClearContextSession, type ClearContextTurn } from "./clear-context-coordinator.js";
|
|
4
|
+
export declare function acceptedPlanToolResult(notification: SessionNotification, toolUseId: string | undefined): SessionNotification;
|
|
5
|
+
type ExitPlanState = {
|
|
6
|
+
toolUseCache: Record<string, {
|
|
7
|
+
name: string;
|
|
8
|
+
} | undefined>;
|
|
9
|
+
pendingExitPlanModeInterruption?: {
|
|
10
|
+
toolUseId: string;
|
|
11
|
+
toolResultSeen: boolean;
|
|
12
|
+
};
|
|
13
|
+
pendingExitPlanContextReset?: ClearContextReset;
|
|
14
|
+
};
|
|
15
|
+
/** Reconcile an SDK user message with the two pending ExitPlanMode lanes and
|
|
16
|
+
* return the accepted plan tool id whose rendered update must be completed. */
|
|
17
|
+
export declare function observeExitPlanToolResults(message: {
|
|
18
|
+
type: string;
|
|
19
|
+
tool_result_meta?: unknown;
|
|
20
|
+
}, content: unknown, state: ExitPlanState): string | undefined;
|
|
21
|
+
export declare function executionDiagnostic(message: SDKResultMessage): string | undefined;
|
|
22
|
+
/** Claude wraps a rejected ExitPlanMode explanation in a Markdown code fence.
|
|
23
|
+
* Strip exactly one complete outer fence for that tool only. */
|
|
24
|
+
export declare function exitPlanModeRawOutput(toolName: string, content: unknown): unknown;
|
|
25
|
+
export type ExitPlanRestartHost<Session extends ClearContextSession<Turn>, Turn extends ClearContextTurn> = Omit<ClearContextCoordinatorHost<Session, Turn>, "publishSessionState" | "continuationMessage"> & {
|
|
26
|
+
sessionUpdate(notification: SessionNotification): Promise<void>;
|
|
27
|
+
destroyReplacement(sessionId: string, session: Session): void;
|
|
28
|
+
settleCancelledTurn(oldSession: Session, turnSession: Session, turn: Turn): void;
|
|
29
|
+
settleFailedTurn(turnSession: Session, turn: Turn, error: unknown): void;
|
|
30
|
+
};
|
|
31
|
+
/** Owns the lifetime of accepted-plan context replacements. In particular, a
|
|
32
|
+
* session cancellation invalidates an in-progress async restart so a late
|
|
33
|
+
* restartSession result cannot recreate a closed public session. */
|
|
34
|
+
export declare class ExitPlanCoordinator<Session extends ClearContextSession<Turn>, Turn extends ClearContextTurn> {
|
|
35
|
+
private readonly host;
|
|
36
|
+
private readonly restarts;
|
|
37
|
+
constructor(host: ExitPlanRestartHost<Session, Turn>);
|
|
38
|
+
cancel(sessionId: string): void;
|
|
39
|
+
restart(sessionId: string, oldSession: Session, reset: ClearContextReset): Promise<void>;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=exit-plan.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { Query } from "@anthropic-ai/claude-agent-sdk";
|
|
2
|
+
export declare const AGENT_FILE_CHANGE_REPORT_CAPABILITY = "agentFileChangeReport";
|
|
3
|
+
export declare const AGENT_FILE_CHANGE_REPORT_MAX_BYTES: number;
|
|
4
|
+
export declare const AGENT_FILE_CHANGE_REPORT_TIMEOUT_MS = 2000;
|
|
5
|
+
export type FileChangeReportTurnState = {
|
|
6
|
+
requestId: string;
|
|
7
|
+
phase: "requested" | "collecting" | "finished";
|
|
8
|
+
};
|
|
9
|
+
export type NativeFileChangeReportTurn = {
|
|
10
|
+
promptUuid: string;
|
|
11
|
+
fileChangeReport?: FileChangeReportTurnState;
|
|
12
|
+
};
|
|
13
|
+
export type FileChangeReportWorkspace = {
|
|
14
|
+
cwd: string;
|
|
15
|
+
additionalDirectories: string[];
|
|
16
|
+
};
|
|
17
|
+
export type AgentFileChangeReportResult = {
|
|
18
|
+
version: 1;
|
|
19
|
+
requestId: string;
|
|
20
|
+
} & ({
|
|
21
|
+
status: "reported";
|
|
22
|
+
paths: string[];
|
|
23
|
+
declaredComplete: boolean;
|
|
24
|
+
truncated: boolean;
|
|
25
|
+
} | {
|
|
26
|
+
status: "unavailable";
|
|
27
|
+
reason: FileChangeReportUnavailableReason;
|
|
28
|
+
});
|
|
29
|
+
export type FileChangeReportUnavailableReason = "cancelled" | "timeout" | "invalidOutput" | "notReported" | "providerError";
|
|
30
|
+
type NativeFileChangeReporterOptions = {
|
|
31
|
+
cwd: string;
|
|
32
|
+
additionalDirectories: string[];
|
|
33
|
+
publish: (result: AgentFileChangeReportResult) => Promise<void>;
|
|
34
|
+
logError: (message: string) => void;
|
|
35
|
+
timeoutMs?: number;
|
|
36
|
+
};
|
|
37
|
+
export type NativeFileChangeReporter = {
|
|
38
|
+
request(meta: unknown): FileChangeReportTurnState | undefined;
|
|
39
|
+
report(turn: NativeFileChangeReportTurn | null | undefined, query: Pick<Query, "rewindFiles">): Promise<void>;
|
|
40
|
+
finish(state: FileChangeReportTurnState | undefined, reason: FileChangeReportUnavailableReason): void;
|
|
41
|
+
};
|
|
42
|
+
export declare function agentFileChangeReportRequestId(meta: unknown): string | undefined;
|
|
43
|
+
export declare function supportsAgentFileChangeReport(capabilities: unknown): boolean;
|
|
44
|
+
export declare function agentFileChangeReportMeta(result: AgentFileChangeReportResult): Record<string, unknown>;
|
|
45
|
+
export declare function createNativeFileChangeReporter(options: NativeFileChangeReporterOptions): NativeFileChangeReporter;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=file-change-audit.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ForkSessionRequest, ForkSessionResponse } from "@agentclientprotocol/sdk";
|
|
2
|
+
type ForkSessionDependencies = {
|
|
3
|
+
liveMessageIdToUuid?: ReadonlyMap<string, string>;
|
|
4
|
+
logger?: {
|
|
5
|
+
log: (...args: unknown[]) => void;
|
|
6
|
+
};
|
|
7
|
+
messageIdForGrouping: (message: {
|
|
8
|
+
type?: string;
|
|
9
|
+
uuid?: string | null;
|
|
10
|
+
message?: unknown;
|
|
11
|
+
}) => string | undefined;
|
|
12
|
+
};
|
|
13
|
+
export declare function forkSession(params: ForkSessionRequest, dependencies: ForkSessionDependencies): Promise<ForkSessionResponse>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=fork-session.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SDKActiveGoalMessage } from "@anthropic-ai/claude-agent-sdk";
|
|
2
|
+
export declare const GOAL_EXTENSION_VERSION: 1;
|
|
3
|
+
export declare const GOAL_CONTROL_METHOD = "_session/goal";
|
|
4
|
+
export declare const GOAL_ACTIONS: readonly ["set", "clear"];
|
|
5
|
+
export type GoalAction = (typeof GOAL_ACTIONS)[number];
|
|
6
|
+
export type GoalCapability = {
|
|
7
|
+
version: typeof GOAL_EXTENSION_VERSION;
|
|
8
|
+
controlMethod: typeof GOAL_CONTROL_METHOD;
|
|
9
|
+
actions: GoalAction[];
|
|
10
|
+
};
|
|
11
|
+
export type GoalStatus = "active" | "paused" | "blocked" | "limited" | "complete";
|
|
12
|
+
export type GoalSnapshot = {
|
|
13
|
+
objective: string;
|
|
14
|
+
status: GoalStatus;
|
|
15
|
+
iterations?: number;
|
|
16
|
+
lastReason?: string | null;
|
|
17
|
+
createdAt?: number;
|
|
18
|
+
updatedAt?: number;
|
|
19
|
+
tokenBudget?: number | null;
|
|
20
|
+
tokensUsed?: number;
|
|
21
|
+
timeUsedSeconds?: number;
|
|
22
|
+
controlMethod: typeof GOAL_CONTROL_METHOD;
|
|
23
|
+
};
|
|
24
|
+
export type GoalRequest = {
|
|
25
|
+
sessionId: string;
|
|
26
|
+
action: "clear";
|
|
27
|
+
} | {
|
|
28
|
+
sessionId: string;
|
|
29
|
+
action: "set";
|
|
30
|
+
objective: string;
|
|
31
|
+
};
|
|
32
|
+
export type GoalControlResponse = Record<string, never>;
|
|
33
|
+
export declare function goalUpdateFromPrompt(prompt: string): GoalSnapshot | null | undefined;
|
|
34
|
+
export declare function parseGoalRequest(params: unknown): GoalRequest;
|
|
35
|
+
export declare function toGoalSnapshot(message: SDKActiveGoalMessage): GoalSnapshot | null;
|
|
36
|
+
//# sourceMappingURL=goal-extension.d.ts.map
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `--hide-claude-auth`: this integration must never bill a claude.ai
|
|
3
|
+
* subscription. The flag hides the claude.ai login method from `initialize`
|
|
4
|
+
* and makes the agent behave like a logged-out CLI whenever a subscription
|
|
5
|
+
* would pay for a turn. `acp-agent.ts` decides *when* the guard applies (flag
|
|
6
|
+
* on, no provider override) and calls in here for the *what*.
|
|
7
|
+
*
|
|
8
|
+
* The account the CLI reports at `initialize` is the source of truth. The SDK
|
|
9
|
+
* memoizes it, so it is a constant for the life of a query, and two layers
|
|
10
|
+
* keep it honest:
|
|
11
|
+
*
|
|
12
|
+
* 1. Session creation refuses an account that holds no credential this
|
|
13
|
+
* integration accepts. A logged-out session never exists, so the client's
|
|
14
|
+
* sign-in always leads to a new session with a fresh `initialize`. The
|
|
15
|
+
* per-turn guard repeats the check on the same cached account, which costs
|
|
16
|
+
* microseconds and covers a session created under a provider override that
|
|
17
|
+
* `providers/disable` later removed.
|
|
18
|
+
* 2. A sign-out during the session ends the query. The next turn recreates it,
|
|
19
|
+
* so the next `initialize` reports the real account and layer 1 judges it.
|
|
20
|
+
* The recreation resumes the stored conversation. When the CLI never wrote
|
|
21
|
+
* one, because the first turn was the one that signed out, the recreation
|
|
22
|
+
* starts a fresh query under the same session id instead.
|
|
23
|
+
*
|
|
24
|
+
* A file-based credential replaced by a subscription between two turns is seen
|
|
25
|
+
* by the CLI probe the agent fires at the START of every user prompt. That read
|
|
26
|
+
* is never awaited, so it usually lands mid-turn; all it does there is mark the
|
|
27
|
+
* session. The guard consumes the mark at the turn boundary — the next prompt
|
|
28
|
+
* recreates the query and layer 1 judges the account the new `initialize`
|
|
29
|
+
* reports — so a probe never interrupts a running turn. A swap that happens
|
|
30
|
+
* after the last probe stays unseen until the next prompt reads the store
|
|
31
|
+
* again. Closing that window would cost a blocking read per turn.
|
|
32
|
+
*/
|
|
33
|
+
import { RequestError } from "@agentclientprotocol/sdk";
|
|
34
|
+
import type { AccountInfo, Query } from "@anthropic-ai/claude-agent-sdk";
|
|
35
|
+
import type { SessionFailureController } from "./session-failure-extension.js";
|
|
36
|
+
export declare function shouldHideClaudeAuth(): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* `data.reason` carried by the `authRequired` JSON-RPC error when the flag
|
|
39
|
+
* blocks a turn. From the client's point of view the agent is logged out (same
|
|
40
|
+
* error code and flow as a signed-out CLI); the reason lets it render a
|
|
41
|
+
* different hint. A string enum so further reasons can be added without a
|
|
42
|
+
* shape change.
|
|
43
|
+
*/
|
|
44
|
+
export declare const CLAUDE_SUBSCRIPTION_NOT_SUPPORTED_REASON = "claude_subscription_not_supported";
|
|
45
|
+
export type AuthRequiredReason = typeof CLAUDE_SUBSCRIPTION_NOT_SUPPORTED_REASON;
|
|
46
|
+
export declare const CLAUDE_SUBSCRIPTION_NOT_SUPPORTED_MESSAGE = "This integration does not support using claude.ai subscriptions.";
|
|
47
|
+
/** The message of the plain sign-out refusal. It carries no `reason`: the
|
|
48
|
+
* account holds nothing this integration can bill, which is the ordinary
|
|
49
|
+
* signed-out state every ACP client already knows how to answer. */
|
|
50
|
+
export declare const CLAUDE_LOGIN_REQUIRED_MESSAGE = "Sign in with an API key or a Console account to use this integration.";
|
|
51
|
+
/**
|
|
52
|
+
* True when a turn on this account is paid by a claude.ai subscription.
|
|
53
|
+
*
|
|
54
|
+
* The SDK types `apiKeySource` and `tokenSource` as an open `string`, so this
|
|
55
|
+
* is an allowlist. An account bills the subscription only when every field
|
|
56
|
+
* proves it, and an unknown value keeps the guard on.
|
|
57
|
+
*
|
|
58
|
+
* - `subscriptionType` must be set. Without it the CLI reports no subscription.
|
|
59
|
+
* - `tokenSource` must be absent. The CLI sets it in place of the subscription
|
|
60
|
+
* when a bearer or OAuth environment token pays for the turn.
|
|
61
|
+
* - `apiProvider` must be absent or `firstParty`. The SDK documents that the
|
|
62
|
+
* Anthropic OAuth login applies only to `firstParty`; for a third-party
|
|
63
|
+
* backend such as `bedrock`, `vertex`, `foundry` or `gateway` the other
|
|
64
|
+
* fields are absent and the authentication is external.
|
|
65
|
+
* - `apiKeySource` must not be one of {@link API_KEY_SOURCES_ABOVE_SUBSCRIPTION}.
|
|
66
|
+
* Claude Code's credential precedence puts those keys above the `/login`
|
|
67
|
+
* subscription, so the key pays and the stored subscription is inert.
|
|
68
|
+
*/
|
|
69
|
+
export declare function billsClaudeSubscription(account: AccountInfo | undefined): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* True when the account already holds a credential this integration accepts:
|
|
72
|
+
* a third-party backend, a bearer or OAuth environment token, or one of the
|
|
73
|
+
* API key sources in {@link API_KEY_SOURCES_ABOVE_SUBSCRIPTION}.
|
|
74
|
+
*
|
|
75
|
+
* False therefore covers both the signed-out CLI and the account whose only
|
|
76
|
+
* credential is a claude.ai subscription. {@link billsClaudeSubscription} runs
|
|
77
|
+
* first and separates the two, so a caller that reaches a `false` here is
|
|
78
|
+
* looking at a session with no way to pay.
|
|
79
|
+
*/
|
|
80
|
+
export declare function holdsNonSubscriptionCredential(account: AccountInfo | undefined): boolean;
|
|
81
|
+
export declare function claudeSubscriptionNotSupportedError(): RequestError;
|
|
82
|
+
/** The signed-out refusal. Deliberately without `data`, so a client that reads
|
|
83
|
+
* `data.reason` sees the plain ACP sign-out it already handles. */
|
|
84
|
+
export declare function claudeLoginRequiredError(): RequestError;
|
|
85
|
+
/**
|
|
86
|
+
* The state the guard keeps for one session. It lives on the session so that a
|
|
87
|
+
* concurrent pair of turns shares one account read and one failure row, and so
|
|
88
|
+
* that each degraded-guard warning is logged once.
|
|
89
|
+
*/
|
|
90
|
+
export type ClaudeSubscriptionGuardState = {
|
|
91
|
+
/** The in-flight guard run. Set before the first `await`. */
|
|
92
|
+
pendingRun?: Promise<RequestError | undefined>;
|
|
93
|
+
/** True after the "no account source" warning was logged for this session. */
|
|
94
|
+
degradedWarningLogged?: boolean;
|
|
95
|
+
};
|
|
96
|
+
export type GuardLogger = {
|
|
97
|
+
error: (...args: unknown[]) => void;
|
|
98
|
+
warn?: (...args: unknown[]) => void;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Report once per session that the guard cannot read the account at all. The
|
|
102
|
+
* guard is then absent, not passing. The CLI build decides this, not the user,
|
|
103
|
+
* so a message on every turn would only add noise.
|
|
104
|
+
*/
|
|
105
|
+
export declare function warnClaudeSubscriptionGuardDegraded(options: {
|
|
106
|
+
sessionId: string;
|
|
107
|
+
guardState: ClaudeSubscriptionGuardState;
|
|
108
|
+
logger: GuardLogger;
|
|
109
|
+
cause: string;
|
|
110
|
+
}): void;
|
|
111
|
+
type GuardOptions = {
|
|
112
|
+
sessionId: string;
|
|
113
|
+
query: Pick<Query, "accountInfo">;
|
|
114
|
+
guardState: ClaudeSubscriptionGuardState;
|
|
115
|
+
/** Built lazily: most turns pass and never need a controller. */
|
|
116
|
+
sessionFailures: () => SessionFailureController;
|
|
117
|
+
logger: GuardLogger;
|
|
118
|
+
/** Display hook: called with the account the guard just read, before the
|
|
119
|
+
* guard decides on it. It exists so a refused turn still reports which
|
|
120
|
+
* account it was refused for. Purely observational — this module knows
|
|
121
|
+
* nothing about what the caller does with it, and a throw from here never
|
|
122
|
+
* changes the verdict. */
|
|
123
|
+
onAccount?: (account: AccountInfo) => void;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* The per-turn guard for a live session.
|
|
127
|
+
*
|
|
128
|
+
* It decides on the account the SDK cached at `initialize`, which is this
|
|
129
|
+
* integration's source of truth. That account is a constant for the life of
|
|
130
|
+
* the query, so the check costs microseconds. It still earns its place: it
|
|
131
|
+
* covers a session created under a provider override that `providers/disable`
|
|
132
|
+
* later removed, so the create-time check never ran for the routing in force
|
|
133
|
+
* now. A sign-out ends the query (see `markSessionForSignOutRespawn` in
|
|
134
|
+
* `acp-agent.ts`), so the next turn recreates it and `initialize` reports the
|
|
135
|
+
* real account. This guard does not see the residual case the module header
|
|
136
|
+
* names either.
|
|
137
|
+
*
|
|
138
|
+
* A turn is refused when the account bills a subscription, and also when it
|
|
139
|
+
* holds nothing this integration accepts, which is the user signing out in
|
|
140
|
+
* mid-session. The refusal mirrors the signed-out path exactly (see
|
|
141
|
+
* `failActiveWithSessionFailure` for `auth_required` in `acp-agent.ts`): every
|
|
142
|
+
* client gets the `authRequired` JSON-RPC rejection that starts its own auth
|
|
143
|
+
* flow, and a capable client additionally gets one session-scoped access
|
|
144
|
+
* failure whose `login` action stays the way back in.
|
|
145
|
+
*
|
|
146
|
+
* Fails open when no account can be read at all: session creation already
|
|
147
|
+
* refused every account without a usable credential, and an unavailable probe
|
|
148
|
+
* must not block a session that passed that check.
|
|
149
|
+
*/
|
|
150
|
+
export declare function refuseClaudeSubscriptionTurn(options: GuardOptions): Promise<void>;
|
|
151
|
+
export {};
|
|
152
|
+
//# sourceMappingURL=hide-claude-auth.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { ClaudeAcpAgent, isLocalCommandMetadata, stripLocalCommandMetadata, runAcp, toAcpNotifications, streamEventToAcpNotifications, type ToolUpdateMeta, type NewSessionMeta, type SDKMessageFilter, } from "./acp-agent.js";
|
|
2
|
+
export { nodeToWebReadable, nodeToWebWritable, Pushable, unreachable } from "./utils.js";
|
|
3
|
+
export { toolInfoFromToolUse, toDisplayPath, planEntries, toolUpdateFromToolResult, } from "./tools.js";
|
|
4
|
+
export { SettingsManager, type SettingsManagerOptions } from "./settings.js";
|
|
5
|
+
export { AUTH_STATUS_UPDATE_METHOD, type AuthStatus, type AuthStatusAccount, type AuthStatusKind, type AuthStatusUpdateNotification, } from "./auth-status.js";
|
|
6
|
+
export type { ClaudePlanEntry } from "./tools.js";
|
|
7
|
+
//# sourceMappingURL=lib.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { resolveSettings } from "@anthropic-ai/claude-agent-sdk";
|
|
2
|
+
/**
|
|
3
|
+
* Applies the managed-policy tier's env vars to `process.env` before any SDK
|
|
4
|
+
* call, so the SDK subprocess inherits them. Going through `resolveSettings`
|
|
5
|
+
* rather than a raw read of `managed-settings.json` also picks up MDM sources on
|
|
6
|
+
* macOS and `HKLM`/`HKCU` on Windows.
|
|
7
|
+
*
|
|
8
|
+
* Reading the tier is best-effort by nature: on a host with no MDM and no
|
|
9
|
+
* managed policy the result is empty and the agent behaves identically. So a
|
|
10
|
+
* transient failure to read it — `EINTR`, `EMFILE`, `EAGAIN` — must leave the
|
|
11
|
+
* agent running with no policy env rather than stop it from starting.
|
|
12
|
+
*
|
|
13
|
+
* That guard matters because the caller awaits this at module scope in an ESM
|
|
14
|
+
* entry point, where a rejection aborts module evaluation and the process exits
|
|
15
|
+
* before serving any ACP traffic. `SettingsManager.loadAllSettings` wraps the
|
|
16
|
+
* same SDK call for the same reason.
|
|
17
|
+
*/
|
|
18
|
+
export declare function applyManagedPolicyEnv(resolve?: typeof resolveSettings, env?: Record<string, string | undefined>): Promise<void>;
|
|
19
|
+
//# sourceMappingURL=managed-policy.d.ts.map
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { AcpSessionNotification, SubagentState } from "./acp-subagents.js";
|
|
2
|
+
export type NativeSubagent = {
|
|
3
|
+
sessionId: string;
|
|
4
|
+
parentSessionId: string;
|
|
5
|
+
parentToolUseId?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
task: string;
|
|
8
|
+
announced?: boolean;
|
|
9
|
+
terminalState?: SubagentState;
|
|
10
|
+
/** Connection-local single-flight state; never serialized on the wire. */
|
|
11
|
+
announcePromise?: Promise<void>;
|
|
12
|
+
/** Connection-local single-flight state; never serialized on the wire. */
|
|
13
|
+
terminalPromise?: Promise<void>;
|
|
14
|
+
};
|
|
15
|
+
export type NativeSubagentSession = {
|
|
16
|
+
nativeSubagentsByTaskId?: Map<string, NativeSubagent>;
|
|
17
|
+
nativeSubagentTaskIdByToolUseId?: Map<string, string>;
|
|
18
|
+
nativeSubagentParentByToolUseId?: Map<string, string>;
|
|
19
|
+
};
|
|
20
|
+
type Publish = (notification: AcpSessionNotification) => Promise<void>;
|
|
21
|
+
type Logger = {
|
|
22
|
+
log(message: string): void;
|
|
23
|
+
};
|
|
24
|
+
type TaskStarted = {
|
|
25
|
+
taskId: string;
|
|
26
|
+
toolUseId?: string | null;
|
|
27
|
+
subagentType?: unknown;
|
|
28
|
+
description?: unknown;
|
|
29
|
+
prompt?: unknown;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Owns the connection-local native subagent registry and all ACP lifecycle
|
|
33
|
+
* ordering. The main agent only supplies SDK facts and delivers routed output.
|
|
34
|
+
*/
|
|
35
|
+
export declare class NativeSubagentRuntime {
|
|
36
|
+
private readonly rootSessionId;
|
|
37
|
+
private readonly session;
|
|
38
|
+
private readonly publish;
|
|
39
|
+
private readonly logger;
|
|
40
|
+
readonly enabled: boolean;
|
|
41
|
+
private readonly children;
|
|
42
|
+
private readonly taskByToolUse;
|
|
43
|
+
private readonly parentByToolUse;
|
|
44
|
+
private readonly identityByToolUse;
|
|
45
|
+
private readonly controlByToolUse;
|
|
46
|
+
private readonly childByParentToolUse;
|
|
47
|
+
private readonly taskFinishPromises;
|
|
48
|
+
private readonly generationByTaskId;
|
|
49
|
+
private readonly pending;
|
|
50
|
+
private pendingCount;
|
|
51
|
+
constructor(enabled: boolean, rootSessionId: string, session: NativeSubagentSession, publish: Publish, logger: Logger);
|
|
52
|
+
route(notification: AcpSessionNotification, deliver: Publish, forcedSessionId?: string): Promise<AcpSessionNotification | null>;
|
|
53
|
+
taskStarted(task: TaskStarted, deliver: Publish): Promise<void>;
|
|
54
|
+
finishTask(taskId: string, status: unknown, deliver: Publish, toolUseId?: string | null): Promise<void>;
|
|
55
|
+
finishAll(state: SubagentState, deliver: Publish): Promise<void>;
|
|
56
|
+
discardPending(parentToolUseId: string): void;
|
|
57
|
+
clear(): void;
|
|
58
|
+
private takePending;
|
|
59
|
+
private buffer;
|
|
60
|
+
private cleanupControl;
|
|
61
|
+
private nextChildSessionId;
|
|
62
|
+
}
|
|
63
|
+
export declare function announceNativeSubagent(child: NativeSubagent, publish: Publish): Promise<void>;
|
|
64
|
+
export declare function finishNativeSubagent(session: NativeSubagentSession, taskId: string, state: SubagentState, publish: Publish): Promise<void>;
|
|
65
|
+
export declare function nativeSubagentState(status: unknown): SubagentState | undefined;
|
|
66
|
+
export declare function isNativeSubagentControlUpdate(update: AcpSessionNotification["update"]): update is Extract<AcpSessionNotification["update"], {
|
|
67
|
+
sessionUpdate: "tool_call" | "tool_call_update";
|
|
68
|
+
}>;
|
|
69
|
+
export declare function isNativeSubagentControlTool(toolName: unknown): boolean;
|
|
70
|
+
export {};
|
|
71
|
+
//# sourceMappingURL=native-subagents.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RequestPermissionResponse } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { PermissionMode, PermissionResult } from "@anthropic-ai/claude-agent-sdk";
|
|
3
|
+
import type { DurablePermissionChangeSet } from "./normalization.js";
|
|
4
|
+
export interface ClaudePermissionSelection {
|
|
5
|
+
optionId: string;
|
|
6
|
+
contextResetMode?: PermissionMode;
|
|
7
|
+
}
|
|
8
|
+
export interface ClaudePermissionEffectContext {
|
|
9
|
+
toolName: string;
|
|
10
|
+
input: Record<string, unknown>;
|
|
11
|
+
toolUseID: string;
|
|
12
|
+
durableChangeSet?: DurablePermissionChangeSet;
|
|
13
|
+
}
|
|
14
|
+
/** Parse the ACP envelope once before dispatching to a tool-specific effect. */
|
|
15
|
+
export declare function parseClaudePermissionSelection(response: RequestPermissionResponse, toolName: string): ClaudePermissionSelection;
|
|
16
|
+
export declare function exitPlanClearContextMode(optionId: string): PermissionMode | undefined;
|
|
17
|
+
/** Apply a parsed selection using the semantics of the tool that produced it. */
|
|
18
|
+
export declare function applyClaudePermissionSelection(selection: ClaudePermissionSelection, context: ClaudePermissionEffectContext): PermissionResult;
|
|
19
|
+
//# sourceMappingURL=effects.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PermissionMode } from "@anthropic-ai/claude-agent-sdk";
|
|
2
|
+
interface PermissionModeLogger {
|
|
3
|
+
error: (...args: unknown[]) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare const ALLOW_BYPASS: boolean;
|
|
6
|
+
/** When `allowBypass` is false, `bypassPermissions` clamps to `default` so the SDK
|
|
7
|
+
* is never spawned in a mode it would reject. */
|
|
8
|
+
export declare function resolvePermissionMode(defaultMode?: unknown, logger?: PermissionModeLogger, allowBypass?: boolean): PermissionMode;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=modes.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PermissionUpdate } from "@anthropic-ai/claude-agent-sdk";
|
|
2
|
+
export interface DurablePermissionChangeSet {
|
|
3
|
+
updates: PermissionUpdate[];
|
|
4
|
+
}
|
|
5
|
+
export declare function normalizeDurablePermissionChangeSet(suggestions: unknown, forcedAsk?: boolean): DurablePermissionChangeSet | undefined;
|
|
6
|
+
//# sourceMappingURL=normalization.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PermissionOption } from "@agentclientprotocol/sdk";
|
|
2
|
+
import { type PermissionOptionContext } from "./shared.js";
|
|
3
|
+
export declare function buildReadPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
4
|
+
export declare function buildGlobPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
5
|
+
export declare function buildGrepPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
6
|
+
export declare function buildEditPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
7
|
+
export declare function buildWritePermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
8
|
+
export declare function buildNotebookEditPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
9
|
+
//# sourceMappingURL=filesystem.d.ts.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { PermissionOption } from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { DurablePermissionChangeSet } from "../normalization.js";
|
|
3
|
+
export declare const PERMISSION_OPTION_ID: {
|
|
4
|
+
readonly allowOnce: "allow-once";
|
|
5
|
+
readonly allowWithUpdates: "allow-with-updates";
|
|
6
|
+
readonly allowSkillExact: "allow-skill-exact";
|
|
7
|
+
readonly allowSkillPrefix: "allow-skill-prefix";
|
|
8
|
+
readonly exitPlanBypass: "exit-plan-bypass";
|
|
9
|
+
readonly exitPlanAuto: "exit-plan-auto";
|
|
10
|
+
readonly exitPlanAcceptEdits: "exit-plan-accept-edits";
|
|
11
|
+
readonly exitPlanDefault: "exit-plan-default";
|
|
12
|
+
readonly exitPlanClearAuto: "exit-plan-clear-auto";
|
|
13
|
+
readonly exitPlanClearBypass: "exit-plan-clear-bypass";
|
|
14
|
+
readonly exitPlanClearAcceptEdits: "exit-plan-clear-accept-edits";
|
|
15
|
+
readonly reject: "reject";
|
|
16
|
+
};
|
|
17
|
+
export interface PermissionOptionContext {
|
|
18
|
+
toolName: string;
|
|
19
|
+
displayName?: string;
|
|
20
|
+
input: Record<string, unknown>;
|
|
21
|
+
cwd: string;
|
|
22
|
+
durableChangeSet?: DurablePermissionChangeSet;
|
|
23
|
+
allowPersistentOptions?: boolean;
|
|
24
|
+
/** The CLI's `defaultToNo` hint (SDK 0.3.268+): the ask must not be
|
|
25
|
+
* approvable by a stray keystroke, so the decline option leads. */
|
|
26
|
+
defaultToNo?: boolean;
|
|
27
|
+
availableModes?: readonly string[];
|
|
28
|
+
/** The mode the session left when it entered plan mode. */
|
|
29
|
+
prePlanMode?: string;
|
|
30
|
+
contextUsedPercent?: number;
|
|
31
|
+
}
|
|
32
|
+
export declare function allowOnce(name?: string): PermissionOption;
|
|
33
|
+
export declare function allowWithUpdates(name: string): PermissionOption;
|
|
34
|
+
export declare function reject(name?: string): PermissionOption;
|
|
35
|
+
export declare function withOptionalUpdate(changeSet: DurablePermissionChangeSet | undefined, updateName: string | undefined, allowName?: string, rejectName?: string): PermissionOption[];
|
|
36
|
+
export declare function plainString(value: unknown): string | undefined;
|
|
37
|
+
export declare function exactLocalAllowRule(changeSet: DurablePermissionChangeSet | undefined, toolName: string, ruleContent?: string): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* An MCP "don't ask again" option is only truthful when every provider update
|
|
40
|
+
* adds an unrestricted allow rule for the tool currently being prompted.
|
|
41
|
+
*/
|
|
42
|
+
export declare function isMcpAllowChangeSet(changeSet: DurablePermissionChangeSet | undefined, toolName: string): boolean;
|
|
43
|
+
export declare function withGeneratedUpdate(name: string, rejectName?: string): PermissionOption[];
|
|
44
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PermissionOption } from "@agentclientprotocol/sdk";
|
|
2
|
+
import { type PermissionOptionContext } from "./shared.js";
|
|
3
|
+
export declare function buildBashPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
4
|
+
export declare function buildPowerShellPermissionOptions(context: PermissionOptionContext): PermissionOption[];
|
|
5
|
+
//# sourceMappingURL=shell.d.ts.map
|