@rho-workspace/rho 0.5.2 → 0.5.4
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/README.md +94 -0
- package/dist/capabilities.d.ts +27 -0
- package/dist/capabilities.js +73 -1
- package/dist/cli.js +150 -25
- package/dist/contract.generated.d.ts +141 -12
- package/dist/contracts/owners.generated.js +103 -8
- package/dist/conversation-presentation.d.ts +11 -1
- package/dist/conversation-presentation.js +20 -6
- package/dist/conversations.d.ts +36 -8
- package/dist/conversations.js +49 -30
- package/dist/installs.d.ts +11 -0
- package/dist/installs.js +179 -0
- package/dist/project-notes.js +2 -0
- package/dist/protocol.js +11 -9
- package/dist/screen-check-skill.d.ts +2 -0
- package/dist/screen-check-skill.js +39 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.js +50 -7
- package/dist/web/.vite/manifest.json +57 -57
- package/dist/web/assets/choices-DU9kHlyQ.js +1 -0
- package/dist/web/assets/console-Dbdo-5oO.js +35 -0
- package/dist/web/assets/dist-B2V0VDO0.js +28 -0
- package/dist/web/assets/dist-BV3hWfn_.js +3 -0
- package/dist/web/assets/dist-CLNF2g-E.js +1 -0
- package/dist/web/assets/dist-D25Vn17i.js +9 -0
- package/dist/web/assets/explore-in-8Q5ftt-E.js +1 -0
- package/dist/web/assets/graph-hS2kvHTI.js +2 -0
- package/dist/web/assets/index-BHQIaDsx.js +891 -0
- package/dist/web/assets/index-Cj1_iqyK.css +1 -0
- package/dist/web/assets/notes-meaning-DdPbtNzJ.js +8 -0
- package/dist/web/assets/overview-BV6ZO5TO.js +6 -0
- package/dist/web/assets/preview-n5lOOdjN.js +1 -0
- package/dist/web/assets/review-CmWou4Iv.js +1 -0
- package/dist/web/assets/skills-Dy7n3L9d.js +1 -0
- package/dist/web/assets/skills-work-Cj0W6b-I.js +1 -0
- package/dist/web/assets/studio-process-QOY_n2_8.js +2 -0
- package/dist/web/assets/timeline-events-DmX1BCh3.js +1 -0
- package/dist/web/assets/work-turns-Co0C71rJ.js +1 -0
- package/dist/web/assets/workspace-BKFefRfJ.js +5 -0
- package/dist/web/composition.json +73 -73
- package/dist/web/index.html +2 -2
- package/dist/web/renderer.json +1 -1
- package/docs/FRONTEND.md +30 -14
- package/docs/HEADLESS.md +71 -16
- package/example/pa14-qs/.rho/rho/conversations/c-67f77cfebaba2cea.json +1 -1
- package/example/pa14-qs/.rho/rho/conversations/c-91aa2e46b1ac1a6c.json +1 -1
- package/example/pa14-qs/.rho/rho/conversations/c-fa24dfd80dfe4bcb.json +1 -1
- package/node_modules/@hono/node-server/dist/index.js +11 -0
- package/node_modules/@hono/node-server/dist/index.mjs +11 -0
- package/node_modules/@hono/node-server/dist/listener.js +11 -0
- package/node_modules/@hono/node-server/dist/listener.mjs +11 -0
- package/node_modules/@hono/node-server/dist/request.js +11 -0
- package/node_modules/@hono/node-server/dist/request.mjs +11 -0
- package/node_modules/@hono/node-server/dist/server.js +11 -0
- package/node_modules/@hono/node-server/dist/server.mjs +11 -0
- package/node_modules/@hono/node-server/dist/vercel.js +11 -0
- package/node_modules/@hono/node-server/dist/vercel.mjs +11 -0
- package/node_modules/@hono/node-server/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-agent/README.md +15 -5
- package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.d.ts +4 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +23 -4
- package/node_modules/@rho-workspace/plugin-agent/dist/claude-acp.js +1 -1
- package/node_modules/@rho-workspace/plugin-agent/dist/claude-cli.js +1 -1
- package/node_modules/@rho-workspace/plugin-agent/dist/conversation.d.ts +2 -1
- package/node_modules/@rho-workspace/plugin-agent/dist/conversation.js +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/generic-acp.d.ts +11 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/generic-acp.js +7 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/mcp.js +24 -11
- package/node_modules/@rho-workspace/plugin-agent/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-annotations/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-documents/README.md +4 -0
- package/node_modules/@rho-workspace/plugin-documents/dist/index.d.ts +3 -0
- package/node_modules/@rho-workspace/plugin-documents/dist/index.js +1 -1
- package/node_modules/@rho-workspace/plugin-documents/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-kernel/README.md +71 -10
- package/node_modules/@rho-workspace/plugin-kernel/dist/code.d.ts +2 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/code.js +4 -1
- package/node_modules/@rho-workspace/plugin-kernel/dist/contract.js +5 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/index.d.ts +7 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/index.js +55 -8
- package/node_modules/@rho-workspace/plugin-kernel/dist/lineage.d.ts +9 -6
- package/node_modules/@rho-workspace/plugin-kernel/dist/lineage.js +18 -41
- package/node_modules/@rho-workspace/plugin-kernel/dist/operations.js +5 -2
- package/node_modules/@rho-workspace/plugin-kernel/dist/script-flow.d.ts +39 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/script-flow.js +661 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-base.d.ts +3 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-base.js +10 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-flow.d.ts +38 -4
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-flow.js +194 -97
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook-work.js +1 -2
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.d.ts +10 -2
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.js +79 -18
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-styles.js +115 -45
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui.d.ts +1 -1
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui.js +1 -1
- package/node_modules/@rho-workspace/plugin-kernel/dist/value-graph.d.ts +63 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/value-graph.js +344 -0
- package/node_modules/@rho-workspace/plugin-kernel/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-kernel/runners/runner.R +6 -3
- package/node_modules/@rho-workspace/plugin-kernel/runners/runner.py +6 -3
- package/node_modules/express-rate-limit/dist/index.cjs +1 -1
- package/node_modules/express-rate-limit/dist/index.mjs +1 -1
- package/node_modules/express-rate-limit/package.json +1 -1
- package/node_modules/ip-address/dist/ipv6.js +1 -1
- package/node_modules/ip-address/package.json +1 -1
- package/node_modules/playwright-core/LICENSE +202 -0
- package/node_modules/playwright-core/NOTICE +5 -0
- package/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
- package/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
- package/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
- package/node_modules/playwright-core/browsers.json +52 -0
- package/node_modules/playwright-core/cli.js +22 -0
- package/node_modules/playwright-core/index.js +17 -0
- package/node_modules/playwright-core/index.mjs +28 -0
- package/node_modules/playwright-core/lib/bootstrap.js +149 -0
- package/node_modules/playwright-core/lib/coreBundle.js +78041 -0
- package/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
- package/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
- package/node_modules/playwright-core/lib/entry/mcp.js +10 -0
- package/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
- package/node_modules/playwright-core/lib/package.js +50 -0
- package/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
- package/node_modules/playwright-core/lib/server/electron/loader.js +123 -0
- package/node_modules/playwright-core/lib/serverRegistry.js +1939 -0
- package/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +65 -0
- package/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
- package/node_modules/playwright-core/lib/tools/cli-client/cli.js +7 -0
- package/node_modules/playwright-core/lib/tools/cli-client/help.json +808 -0
- package/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
- package/node_modules/playwright-core/lib/tools/cli-client/output.js +352 -0
- package/node_modules/playwright-core/lib/tools/cli-client/program.js +422 -0
- package/node_modules/playwright-core/lib/tools/cli-client/registry.js +180 -0
- package/node_modules/playwright-core/lib/tools/cli-client/session.js +261 -0
- package/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
- package/node_modules/playwright-core/lib/tools/utils/extension.js +112 -0
- package/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
- package/node_modules/playwright-core/lib/utilsBundle.js +86078 -0
- package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +1890 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule-CQ8RZGBm.js +32 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
- package/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/report.css +2 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/report.js +32 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DK72OMRi.js +32 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-Cn0mmDuv.js +129 -0
- package/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
- package/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BEB2e8M3.js +32 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-D-g2vrvf.js +184 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-B794rD2Z.js +7 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.C8BeHuxd.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.oNry3Hjv.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +4 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CYwC_gH1.js +5 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CyMfwkXJ.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
- package/node_modules/playwright-core/lib/webp_codec.LICENSE +173 -0
- package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
- package/node_modules/playwright-core/lib/xdg-open +1267 -0
- package/node_modules/playwright-core/package.json +34 -0
- package/package.json +10 -6
- package/protocol/index.json +38 -38
- package/protocol/operations/conversation.configure.json +6 -0
- package/protocol/operations/conversation.decide.json +10 -0
- package/protocol/operations/conversation.list.json +6 -0
- package/protocol/operations/conversation.permission.json +10 -0
- package/protocol/operations/conversation.read.json +10 -0
- package/protocol/operations/conversation.restore.json +6 -0
- package/protocol/operations/conversation.send.json +15 -1
- package/protocol/operations/conversation.settings.check.json +147 -4
- package/protocol/operations/conversation.settings.read.json +145 -3
- package/protocol/operations/conversation.settings.update.json +166 -4
- package/protocol/operations/conversation.start.json +12 -1
- package/protocol/operations/conversation.stop.json +10 -0
- package/protocol/operations/conversation.trash.json +6 -0
- package/protocol/operations/kernel.interrupt.json +20 -0
- package/protocol/operations/kernel.read.json +30 -0
- package/protocol/operations/kernel.run.json +36 -1
- package/protocol/operations/kernel.stop.json +10 -0
- package/protocol/operations/observation.snapshot.json +6 -0
- package/scripts/browser-checks.mjs +53 -0
- package/scripts/screen-check.mjs +193 -0
- package/vendor/composition.json +112 -102
- package/vendor/rho-workspace-plugin-agent-0.4.28.tgz +0 -0
- package/vendor/rho-workspace-plugin-annotations-0.5.2.tgz +0 -0
- package/vendor/rho-workspace-plugin-documents-0.4.11.tgz +0 -0
- package/vendor/rho-workspace-plugin-kernel-0.5.5.tgz +0 -0
- package/web/theme.css +17 -2
- package/dist/web/assets/choices-8Cuan2MH.js +0 -1
- package/dist/web/assets/console-C1V_iIlC.js +0 -35
- package/dist/web/assets/dist-B6cGa5_k.js +0 -3
- package/dist/web/assets/dist-CPEQ_0xN.js +0 -28
- package/dist/web/assets/dist-DGgoMtcq.js +0 -1
- package/dist/web/assets/dist-Dj04i6dK.js +0 -9
- package/dist/web/assets/explore-in-C24K607w.js +0 -1
- package/dist/web/assets/graph-PaGq0Eym.js +0 -2
- package/dist/web/assets/index-D7VVkYz7.js +0 -792
- package/dist/web/assets/index-DBd77u4a.css +0 -1
- package/dist/web/assets/notes-meaning-vj0uvMCW.js +0 -8
- package/dist/web/assets/overview-C75CfbDK.js +0 -6
- package/dist/web/assets/preview-DSv_YmXr.js +0 -1
- package/dist/web/assets/review-BgX0iCTR.js +0 -1
- package/dist/web/assets/skills-Bclq5FeE.js +0 -1
- package/dist/web/assets/skills-work-DiEI9Pxw.js +0 -1
- package/dist/web/assets/studio-process-QG4DSVgn.js +0 -2
- package/dist/web/assets/timeline-events-DE1UDeeu.js +0 -1
- package/dist/web/assets/work-turns-DBPS2WO-.js +0 -1
- package/dist/web/assets/workspace-D7bUaFrp.js +0 -5
- package/node_modules/@agentclientprotocol/claude-agent-acp/README.md +0 -126
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-agent.d.ts +0 -1982
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-agent.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-subagents.d.ts +0 -99
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-subagents.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/air-extension.d.ts +0 -111
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/air-extension.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/async-tasks.d.ts +0 -228
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/async-tasks.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/auth-status.d.ts +0 -140
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/auth-status.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/clear-context-coordinator.d.ts +0 -64
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/clear-context-coordinator.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/client-system-prompt.d.ts +0 -41
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/client-system-prompt.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction-meta.d.ts +0 -19
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction-meta.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction.d.ts +0 -135
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/diff.d.ts +0 -120
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/diff.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/elicitation.d.ts +0 -138
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/elicitation.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/exit-plan.d.ts +0 -62
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/exit-plan.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/file-change-audit.d.ts +0 -64
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/file-change-audit.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/fork-session.d.ts +0 -15
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/fork-session.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/gateway-models.d.ts +0 -62
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/gateway-models.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/goal-extension.d.ts +0 -36
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/goal-extension.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/hide-claude-auth.d.ts +0 -149
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/hide-claude-auth.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/index.d.ts +0 -3
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/index.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/lib.d.ts +0 -7
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/lib.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/managed-policy.d.ts +0 -19
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/managed-policy.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/mcp-command.d.ts +0 -51
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/mcp-command.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/native-subagents.d.ts +0 -584
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/native-subagents.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/paths.d.ts +0 -3
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/paths.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/effects.d.ts +0 -19
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/effects.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/modes.d.ts +0 -10
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/modes.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/normalization.d.ts +0 -6
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/normalization.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/filesystem.d.ts +0 -9
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/filesystem.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shared.d.ts +0 -47
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shared.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shell.d.ts +0 -5
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shell.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/tools.d.ts +0 -11
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/tools.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options.d.ts +0 -5
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/presentation.d.ts +0 -42
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/presentation.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/response.d.ts +0 -11
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/response.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/prompt-suggestions.d.ts +0 -37
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/prompt-suggestions.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/resumed-session.d.ts +0 -40
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/resumed-session.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/serve.d.ts +0 -31
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/serve.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-config-ids.d.ts +0 -6
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-config-ids.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-effort.d.ts +0 -19
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-effort.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-failure-extension.d.ts +0 -97
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-failure-extension.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/activity.d.ts +0 -60
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/activity.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/archive-title.d.ts +0 -52
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/archive-title.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/background-tasks.d.ts +0 -69
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/background-tasks.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/connection.d.ts +0 -162
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/connection.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/dir-listing.d.ts +0 -30
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/dir-listing.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/explicit-title.d.ts +0 -34
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/explicit-title.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/first-prompt.d.ts +0 -38
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/first-prompt.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/list-subscriptions.d.ts +0 -229
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/list-subscriptions.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/live-registry.d.ts +0 -72
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/live-registry.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/project-dirs.d.ts +0 -45
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/project-dirs.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/service.d.ts +0 -181
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/service.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/session-index.d.ts +0 -247
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/session-index.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/session-info.d.ts +0 -16
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/session-info.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/transcript-scan.d.ts +0 -173
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/transcript-scan.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/worktrees.d.ts +0 -31
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/worktrees.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-mode.d.ts +0 -90
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-mode.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-model.d.ts +0 -96
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-model.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-notices.d.ts +0 -41
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-notices.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-timing.d.ts +0 -15
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-timing.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-titles.d.ts +0 -126
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-titles.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-ultracode.d.ts +0 -51
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-ultracode.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/settings.d.ts +0 -80
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/settings.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/subagent-history.d.ts +0 -86
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/subagent-history.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/subagent-replay.d.ts +0 -186
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/subagent-replay.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/task-notifications.d.ts +0 -30
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/task-notifications.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/background.d.ts +0 -32
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/background.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/changed-meta-filter.d.ts +0 -27
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/changed-meta-filter.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/client-capabilities.d.ts +0 -69
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/client-capabilities.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/content.d.ts +0 -59
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/content.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/facts.d.ts +0 -123
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/facts.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/field-tracker.d.ts +0 -58
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/field-tracker.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/renderer.d.ts +0 -294
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/renderer.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/agent.d.ts +0 -7
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/agent.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/bash.d.ts +0 -16
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/bash.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/compaction.d.ts +0 -24
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/compaction.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/file-edit.d.ts +0 -46
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/file-edit.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/index.d.ts +0 -4
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/index.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/interaction.d.ts +0 -86
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/interaction.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/read.d.ts +0 -7
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/read.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/search.d.ts +0 -16
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/search.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/web.d.ts +0 -11
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/web.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-result-meta.d.ts +0 -15
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-result-meta.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tools.d.ts +0 -93
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tools.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/turn-events.d.ts +0 -97
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/turn-events.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/usage-markdown.d.ts +0 -9
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/usage-markdown.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/utils.d.ts +0 -59
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/utils.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/agent.d.ts +0 -13
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/agent.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/initialize.d.ts +0 -21
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/initialize.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/permission.d.ts +0 -25
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/permission.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/prompt.d.ts +0 -54
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/prompt.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/session-update.d.ts +0 -32
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/session-update.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/session.d.ts +0 -39
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/session.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/terminal.d.ts +0 -42
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/terminal.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/tool-call-meta.d.ts +0 -53
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/tool-call-meta.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/tool-call.d.ts +0 -38
- package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/tool-call.d.ts.map +0 -1
- package/node_modules/@agentclientprotocol/codex-acp/README.md +0 -109
- package/node_modules/@agentclientprotocol/sdk/MIGRATION_STABLE_UNSTABLE.md +0 -321
- package/node_modules/@agentclientprotocol/sdk/README.md +0 -99
- package/node_modules/@agentclientprotocol/sdk/dist/core/app-handlers.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/core/jsonrpc.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/core/line-buffer.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/core/schema-deserialize.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/core/stream-limits.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/core/stream.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/nes/acp.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/nes/schema/types.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/nes/schema/zod.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/connection.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/cookie-store.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/http-stream.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/node-adapter.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/protocol.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/server-sse.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/server.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/sse.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/ws-server.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/ws-stream.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/transports/ws-utils.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/acp.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/schema/guards.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/schema/index.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/schema/types.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/schema/zod.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/stable/acp.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/acp.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/guards.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/index.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/types.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/zod.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/stable/acp.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/acp.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/schema/guards.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/schema/index.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/schema/types.gen.js.map +0 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/schema/zod.gen.js.map +0 -1
- package/node_modules/@anthropic-ai/claude-agent-sdk/README.md +0 -69
- package/node_modules/@anthropic-ai/claude-agent-sdk/agentSdkTypes.d.ts +0 -1
- package/node_modules/@anthropic-ai/claude-agent-sdk/bridge.d.ts +0 -404
- package/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.d.ts +0 -208
- package/node_modules/@anthropic-ai/claude-agent-sdk/core.d.ts +0 -22
- package/node_modules/@anthropic-ai/claude-agent-sdk/extractFromBunfs.d.ts +0 -1
- package/node_modules/@anthropic-ai/claude-agent-sdk/sdk-tools.d.ts +0 -4222
- package/node_modules/@anthropic-ai/claude-agent-sdk/sdk.d.ts +0 -10302
- package/node_modules/@hono/node-server/README.md +0 -358
- package/node_modules/@hono/node-server/dist/conninfo.d.mts +0 -10
- package/node_modules/@hono/node-server/dist/conninfo.d.ts +0 -10
- package/node_modules/@hono/node-server/dist/globals.d.mts +0 -2
- package/node_modules/@hono/node-server/dist/globals.d.ts +0 -2
- package/node_modules/@hono/node-server/dist/index.d.mts +0 -8
- package/node_modules/@hono/node-server/dist/index.d.ts +0 -8
- package/node_modules/@hono/node-server/dist/listener.d.mts +0 -13
- package/node_modules/@hono/node-server/dist/listener.d.ts +0 -13
- package/node_modules/@hono/node-server/dist/request.d.mts +0 -25
- package/node_modules/@hono/node-server/dist/request.d.ts +0 -25
- package/node_modules/@hono/node-server/dist/response.d.mts +0 -26
- package/node_modules/@hono/node-server/dist/response.d.ts +0 -26
- package/node_modules/@hono/node-server/dist/serve-static.d.mts +0 -17
- package/node_modules/@hono/node-server/dist/serve-static.d.ts +0 -17
- package/node_modules/@hono/node-server/dist/server.d.mts +0 -10
- package/node_modules/@hono/node-server/dist/server.d.ts +0 -10
- package/node_modules/@hono/node-server/dist/types.d.mts +0 -44
- package/node_modules/@hono/node-server/dist/types.d.ts +0 -44
- package/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response.d.mts +0 -3
- package/node_modules/@hono/node-server/dist/utils/response.d.ts +0 -3
- package/node_modules/@hono/node-server/dist/utils.d.mts +0 -9
- package/node_modules/@hono/node-server/dist/utils.d.ts +0 -9
- package/node_modules/@hono/node-server/dist/vercel.d.mts +0 -7
- package/node_modules/@hono/node-server/dist/vercel.d.ts +0 -7
- package/node_modules/@modelcontextprotocol/sdk/README.md +0 -172
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts +0 -190
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts +0 -451
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts +0 -591
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts +0 -169
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts +0 -81
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts +0 -171
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts +0 -17
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js +0 -680
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js +0 -134
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js +0 -176
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts +0 -20
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js +0 -70
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts +0 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js +0 -397
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts +0 -26
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js +0 -51
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js +0 -857
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js +0 -157
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js +0 -95
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js +0 -168
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts +0 -78
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js +0 -205
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js +0 -460
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js +0 -656
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js +0 -85
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js +0 -171
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts +0 -7
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js +0 -95
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js +0 -49
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js +0 -168
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js +0 -166
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js +0 -750
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js +0 -600
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js +0 -256
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js +0 -107
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js +0 -124
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js +0 -73
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js +0 -69
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts +0 -121
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts +0 -232
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts +0 -170
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts +0 -94
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts +0 -148
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts +0 -24
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts +0 -4
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts +0 -9
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts +0 -35
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts +0 -68
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts +0 -49
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts +0 -101
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts +0 -38
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts +0 -196
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts +0 -364
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts +0 -82
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts +0 -28
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts +0 -122
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts +0 -268
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts +0 -84
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts +0 -23
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts +0 -240
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts +0 -443
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts +0 -89
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts +0 -25
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts +0 -2311
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts +0 -8168
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts +0 -53
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts +0 -51
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts +0 -65
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts +0 -190
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts +0 -451
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts +0 -591
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts +0 -169
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts +0 -81
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts +0 -171
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts +0 -17
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js +0 -678
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js +0 -132
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js +0 -174
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts +0 -20
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js +0 -68
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts +0 -3
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js +0 -395
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts +0 -26
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js +0 -855
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js +0 -155
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js +0 -93
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js +0 -166
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts +0 -78
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js +0 -196
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js +0 -458
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js +0 -651
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js +0 -60
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js +0 -146
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts +0 -7
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js +0 -70
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js +0 -143
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js +0 -141
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js +0 -725
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js +0 -598
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js +0 -231
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js +0 -102
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js +0 -122
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts +0 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js +0 -48
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js +0 -65
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts +0 -121
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts +0 -47
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts +0 -232
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts +0 -77
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts +0 -170
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts +0 -94
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts +0 -10
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts +0 -148
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts +0 -24
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts +0 -4
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts +0 -9
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts +0 -35
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts +0 -19
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts +0 -68
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts +0 -49
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts +0 -101
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts +0 -38
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts +0 -196
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts +0 -364
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts +0 -32
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts +0 -82
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts +0 -28
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts +0 -122
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts +0 -268
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts +0 -84
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts +0 -12
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts +0 -23
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts +0 -240
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts +0 -16
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts +0 -443
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts +0 -45
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts +0 -13
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts +0 -31
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts +0 -89
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts +0 -25
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts +0 -2311
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts +0 -8168
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts +0 -53
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts +0 -51
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts +0 -29
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts +0 -65
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts.map +0 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js.map +0 -1
- package/node_modules/@openai/codex/README.md +0 -81
- package/node_modules/accepts/HISTORY.md +0 -250
- package/node_modules/accepts/README.md +0 -140
- package/node_modules/ajv/.runkit_example.js +0 -23
- package/node_modules/ajv/README.md +0 -207
- package/node_modules/ajv/dist/2019.js.map +0 -1
- package/node_modules/ajv/dist/2020.js.map +0 -1
- package/node_modules/ajv/dist/ajv.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
- package/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- package/node_modules/ajv/dist/core.js.map +0 -1
- package/node_modules/ajv/dist/jtd.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
- package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
- package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
- package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- package/node_modules/ajv/dist/standalone/index.js.map +0 -1
- package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
- package/node_modules/ajv/dist/types/index.js.map +0 -1
- package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
- package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/node_modules/ajv/lib/2019.ts +0 -81
- package/node_modules/ajv/lib/2020.ts +0 -75
- package/node_modules/ajv/lib/ajv.ts +0 -70
- package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- package/node_modules/ajv/lib/compile/errors.ts +0 -184
- package/node_modules/ajv/lib/compile/index.ts +0 -324
- package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
- package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- package/node_modules/ajv/lib/compile/names.ts +0 -27
- package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
- package/node_modules/ajv/lib/compile/resolve.ts +0 -149
- package/node_modules/ajv/lib/compile/rules.ts +0 -50
- package/node_modules/ajv/lib/compile/util.ts +0 -213
- package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
- package/node_modules/ajv/lib/core.ts +0 -892
- package/node_modules/ajv/lib/jtd.ts +0 -132
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
- package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- package/node_modules/ajv/lib/runtime/equal.ts +0 -7
- package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- package/node_modules/ajv/lib/runtime/quote.ts +0 -31
- package/node_modules/ajv/lib/runtime/re2.ts +0 -6
- package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
- package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
- package/node_modules/ajv/lib/runtime/uri.ts +0 -6
- package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
- package/node_modules/ajv/lib/standalone/index.ts +0 -100
- package/node_modules/ajv/lib/standalone/instance.ts +0 -36
- package/node_modules/ajv/lib/types/index.ts +0 -244
- package/node_modules/ajv/lib/types/json-schema.ts +0 -187
- package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- package/node_modules/ajv-formats/README.md +0 -125
- package/node_modules/ajv-formats/dist/formats.d.ts +0 -9
- package/node_modules/ajv-formats/dist/formats.js.map +0 -1
- package/node_modules/ajv-formats/dist/index.d.ts +0 -15
- package/node_modules/ajv-formats/dist/index.js.map +0 -1
- package/node_modules/ajv-formats/dist/limit.d.ts +0 -10
- package/node_modules/ajv-formats/dist/limit.js.map +0 -1
- package/node_modules/ajv-formats/src/formats.ts +0 -269
- package/node_modules/ajv-formats/src/index.ts +0 -62
- package/node_modules/ajv-formats/src/limit.ts +0 -99
- package/node_modules/body-parser/README.md +0 -513
- package/node_modules/body-parser/node_modules/content-type/README.md +0 -71
- package/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/body-parser/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/bundle-name/readme.md +0 -23
- package/node_modules/bytes/History.md +0 -97
- package/node_modules/bytes/Readme.md +0 -152
- package/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/node_modules/call-bound/.eslintrc +0 -13
- package/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/node_modules/call-bound/.nycrc +0 -9
- package/node_modules/call-bound/CHANGELOG.md +0 -42
- package/node_modules/call-bound/README.md +0 -53
- package/node_modules/call-bound/index.d.ts +0 -94
- package/node_modules/call-bound/test/index.js +0 -61
- package/node_modules/call-bound/tsconfig.json +0 -10
- package/node_modules/content-disposition/README.md +0 -211
- package/node_modules/content-disposition/dist/index.d.ts +0 -72
- package/node_modules/content-disposition/dist/index.js.map +0 -1
- package/node_modules/content-type/HISTORY.md +0 -29
- package/node_modules/content-type/README.md +0 -94
- package/node_modules/cookie/README.md +0 -317
- package/node_modules/cookie/SECURITY.md +0 -25
- package/node_modules/cookie-signature/History.md +0 -70
- package/node_modules/cookie-signature/Readme.md +0 -23
- package/node_modules/cors/README.md +0 -277
- package/node_modules/cross-spawn/README.md +0 -89
- package/node_modules/csv-parse/README.md +0 -82
- package/node_modules/csv-parse/dist/cjs/index.d.cts +0 -572
- package/node_modules/csv-parse/dist/cjs/stream.d.cts +0 -23
- package/node_modules/csv-parse/dist/cjs/sync.d.cts +0 -31
- package/node_modules/csv-parse/dist/esm/index.d.ts +0 -572
- package/node_modules/csv-parse/dist/esm/stream.d.ts +0 -23
- package/node_modules/csv-parse/dist/esm/sync.d.ts +0 -31
- package/node_modules/csv-parse/lib/index.d.ts +0 -572
- package/node_modules/csv-parse/lib/stream.d.ts +0 -23
- package/node_modules/csv-parse/lib/sync.d.ts +0 -31
- package/node_modules/debug/README.md +0 -481
- package/node_modules/default-browser/index.d.ts +0 -29
- package/node_modules/default-browser/readme.md +0 -24
- package/node_modules/default-browser-id/readme.md +0 -19
- package/node_modules/define-lazy-prop/index.d.ts +0 -31
- package/node_modules/define-lazy-prop/readme.md +0 -55
- package/node_modules/depd/History.md +0 -103
- package/node_modules/depd/Readme.md +0 -280
- package/node_modules/diff/CONTRIBUTING.md +0 -28
- package/node_modules/diff/README.md +0 -468
- package/node_modules/diff/libcjs/convert/dmp.d.ts +0 -8
- package/node_modules/diff/libcjs/convert/dmp.d.ts.map +0 -1
- package/node_modules/diff/libcjs/convert/xml.d.ts +0 -6
- package/node_modules/diff/libcjs/convert/xml.d.ts.map +0 -1
- package/node_modules/diff/libcjs/diff/array.d.ts +0 -19
- package/node_modules/diff/libcjs/diff/array.d.ts.map +0 -1
- package/node_modules/diff/libcjs/diff/base.d.ts +0 -20
- package/node_modules/diff/libcjs/diff/base.d.ts.map +0 -1
- package/node_modules/diff/libcjs/diff/character.d.ts +0 -19
- package/node_modules/diff/libcjs/diff/character.d.ts.map +0 -1
- package/node_modules/diff/libcjs/diff/css.d.ts +0 -18
- package/node_modules/diff/libcjs/diff/css.d.ts.map +0 -1
- package/node_modules/diff/libcjs/diff/json.d.ts +0 -24
- package/node_modules/diff/libcjs/diff/json.d.ts.map +0 -1
- package/node_modules/diff/libcjs/diff/line.d.ts +0 -24
- package/node_modules/diff/libcjs/diff/line.d.ts.map +0 -1
- package/node_modules/diff/libcjs/diff/sentence.d.ts +0 -21
- package/node_modules/diff/libcjs/diff/sentence.d.ts.map +0 -1
- package/node_modules/diff/libcjs/diff/word.d.ts +0 -35
- package/node_modules/diff/libcjs/diff/word.d.ts.map +0 -1
- package/node_modules/diff/libcjs/index.d.ts +0 -20
- package/node_modules/diff/libcjs/index.d.ts.map +0 -1
- package/node_modules/diff/libcjs/patch/apply.d.ts +0 -62
- package/node_modules/diff/libcjs/patch/apply.d.ts.map +0 -1
- package/node_modules/diff/libcjs/patch/create.d.ts +0 -131
- package/node_modules/diff/libcjs/patch/create.d.ts.map +0 -1
- package/node_modules/diff/libcjs/patch/line-endings.d.ts +0 -17
- package/node_modules/diff/libcjs/patch/line-endings.d.ts.map +0 -1
- package/node_modules/diff/libcjs/patch/parse.d.ts +0 -16
- package/node_modules/diff/libcjs/patch/parse.d.ts.map +0 -1
- package/node_modules/diff/libcjs/patch/reverse.d.ts +0 -22
- package/node_modules/diff/libcjs/patch/reverse.d.ts.map +0 -1
- package/node_modules/diff/libcjs/types.d.ts +0 -260
- package/node_modules/diff/libcjs/types.d.ts.map +0 -1
- package/node_modules/diff/libcjs/util/array.d.ts +0 -3
- package/node_modules/diff/libcjs/util/array.d.ts.map +0 -1
- package/node_modules/diff/libcjs/util/distance-iterator.d.ts +0 -2
- package/node_modules/diff/libcjs/util/distance-iterator.d.ts.map +0 -1
- package/node_modules/diff/libcjs/util/params.d.ts +0 -4
- package/node_modules/diff/libcjs/util/params.d.ts.map +0 -1
- package/node_modules/diff/libcjs/util/string.d.ts +0 -30
- package/node_modules/diff/libcjs/util/string.d.ts.map +0 -1
- package/node_modules/diff/libesm/convert/dmp.d.ts +0 -8
- package/node_modules/diff/libesm/convert/dmp.d.ts.map +0 -1
- package/node_modules/diff/libesm/convert/xml.d.ts +0 -6
- package/node_modules/diff/libesm/convert/xml.d.ts.map +0 -1
- package/node_modules/diff/libesm/diff/array.d.ts +0 -19
- package/node_modules/diff/libesm/diff/array.d.ts.map +0 -1
- package/node_modules/diff/libesm/diff/base.d.ts +0 -20
- package/node_modules/diff/libesm/diff/base.d.ts.map +0 -1
- package/node_modules/diff/libesm/diff/character.d.ts +0 -19
- package/node_modules/diff/libesm/diff/character.d.ts.map +0 -1
- package/node_modules/diff/libesm/diff/css.d.ts +0 -18
- package/node_modules/diff/libesm/diff/css.d.ts.map +0 -1
- package/node_modules/diff/libesm/diff/json.d.ts +0 -24
- package/node_modules/diff/libesm/diff/json.d.ts.map +0 -1
- package/node_modules/diff/libesm/diff/line.d.ts +0 -24
- package/node_modules/diff/libesm/diff/line.d.ts.map +0 -1
- package/node_modules/diff/libesm/diff/sentence.d.ts +0 -21
- package/node_modules/diff/libesm/diff/sentence.d.ts.map +0 -1
- package/node_modules/diff/libesm/diff/word.d.ts +0 -35
- package/node_modules/diff/libesm/diff/word.d.ts.map +0 -1
- package/node_modules/diff/libesm/index.d.ts +0 -20
- package/node_modules/diff/libesm/index.d.ts.map +0 -1
- package/node_modules/diff/libesm/patch/apply.d.ts +0 -62
- package/node_modules/diff/libesm/patch/apply.d.ts.map +0 -1
- package/node_modules/diff/libesm/patch/create.d.ts +0 -131
- package/node_modules/diff/libesm/patch/create.d.ts.map +0 -1
- package/node_modules/diff/libesm/patch/line-endings.d.ts +0 -17
- package/node_modules/diff/libesm/patch/line-endings.d.ts.map +0 -1
- package/node_modules/diff/libesm/patch/parse.d.ts +0 -16
- package/node_modules/diff/libesm/patch/parse.d.ts.map +0 -1
- package/node_modules/diff/libesm/patch/reverse.d.ts +0 -22
- package/node_modules/diff/libesm/patch/reverse.d.ts.map +0 -1
- package/node_modules/diff/libesm/types.d.ts +0 -260
- package/node_modules/diff/libesm/types.d.ts.map +0 -1
- package/node_modules/diff/libesm/util/array.d.ts +0 -3
- package/node_modules/diff/libesm/util/array.d.ts.map +0 -1
- package/node_modules/diff/libesm/util/distance-iterator.d.ts +0 -2
- package/node_modules/diff/libesm/util/distance-iterator.d.ts.map +0 -1
- package/node_modules/diff/libesm/util/params.d.ts +0 -4
- package/node_modules/diff/libesm/util/params.d.ts.map +0 -1
- package/node_modules/diff/libesm/util/string.d.ts +0 -30
- package/node_modules/diff/libesm/util/string.d.ts.map +0 -1
- package/node_modules/diff/release-notes.md +0 -474
- package/node_modules/dunder-proto/.eslintrc +0 -5
- package/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/node_modules/dunder-proto/.nycrc +0 -13
- package/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/node_modules/dunder-proto/README.md +0 -54
- package/node_modules/dunder-proto/get.d.ts +0 -5
- package/node_modules/dunder-proto/set.d.ts +0 -5
- package/node_modules/dunder-proto/test/get.js +0 -34
- package/node_modules/dunder-proto/test/index.js +0 -4
- package/node_modules/dunder-proto/test/set.js +0 -50
- package/node_modules/dunder-proto/tsconfig.json +0 -9
- package/node_modules/ee-first/README.md +0 -80
- package/node_modules/encodeurl/README.md +0 -123
- package/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/node_modules/es-define-property/README.md +0 -49
- package/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/es-define-property/test/index.js +0 -56
- package/node_modules/es-define-property/tsconfig.json +0 -10
- package/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/es-errors/README.md +0 -55
- package/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/es-object-atoms/.eslintrc +0 -16
- package/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/node_modules/es-object-atoms/CHANGELOG.md +0 -44
- package/node_modules/es-object-atoms/README.md +0 -63
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/node_modules/es-object-atoms/index.d.ts +0 -3
- package/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/node_modules/es-object-atoms/test/index.js +0 -38
- package/node_modules/es-object-atoms/tsconfig.json +0 -7
- package/node_modules/escape-html/Readme.md +0 -43
- package/node_modules/etag/HISTORY.md +0 -83
- package/node_modules/etag/README.md +0 -159
- package/node_modules/eventsource/README.md +0 -167
- package/node_modules/eventsource/dist/index.cjs.map +0 -1
- package/node_modules/eventsource/dist/index.d.cts +0 -332
- package/node_modules/eventsource/dist/index.d.ts +0 -332
- package/node_modules/eventsource/dist/index.js.map +0 -1
- package/node_modules/eventsource/src/EventSource.ts +0 -596
- package/node_modules/eventsource/src/errors.ts +0 -141
- package/node_modules/eventsource/src/index.ts +0 -3
- package/node_modules/eventsource/src/types.ts +0 -152
- package/node_modules/eventsource-parser/README.md +0 -157
- package/node_modules/eventsource-parser/dist/index.cjs.map +0 -1
- package/node_modules/eventsource-parser/dist/index.d.cts +0 -169
- package/node_modules/eventsource-parser/dist/index.d.ts +0 -169
- package/node_modules/eventsource-parser/dist/index.js.map +0 -1
- package/node_modules/eventsource-parser/dist/stream.cjs.map +0 -1
- package/node_modules/eventsource-parser/dist/stream.d.cts +0 -134
- package/node_modules/eventsource-parser/dist/stream.d.ts +0 -134
- package/node_modules/eventsource-parser/dist/stream.js.map +0 -1
- package/node_modules/eventsource-parser/src/errors.ts +0 -44
- package/node_modules/eventsource-parser/src/index.ts +0 -8
- package/node_modules/eventsource-parser/src/parse.ts +0 -439
- package/node_modules/eventsource-parser/src/stream.ts +0 -107
- package/node_modules/eventsource-parser/src/types.ts +0 -122
- package/node_modules/express/Readme.md +0 -282
- package/node_modules/express/node_modules/content-type/README.md +0 -71
- package/node_modules/express/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/express/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/express-rate-limit/dist/index.d.cts +0 -699
- package/node_modules/express-rate-limit/dist/index.d.mts +0 -699
- package/node_modules/express-rate-limit/dist/index.d.ts +0 -699
- package/node_modules/express-rate-limit/readme.md +0 -140
- package/node_modules/express-rate-limit/tsconfig.json +0 -8
- package/node_modules/fast-deep-equal/README.md +0 -96
- package/node_modules/fast-uri/.gitattributes +0 -2
- package/node_modules/fast-uri/.github/dependabot.yml +0 -13
- package/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
- package/node_modules/fast-uri/.github/workflows/release.yml +0 -35
- package/node_modules/fast-uri/README.md +0 -160
- package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
- package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
- package/node_modules/fast-uri/test/ajv.test.js +0 -43
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +0 -163
- package/node_modules/fast-uri/test/equal.test.js +0 -145
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -503
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
- package/node_modules/fast-uri/test/host-delimiter-security.test.js +0 -94
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +0 -34
- package/node_modules/fast-uri/test/ipv6-validation.test.js +0 -124
- package/node_modules/fast-uri/test/malformed-percent.test.js +0 -77
- package/node_modules/fast-uri/test/malformed-urn.test.js +0 -61
- package/node_modules/fast-uri/test/parse.test.js +0 -327
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +0 -33
- package/node_modules/fast-uri/test/relative-normalization-security.test.js +0 -156
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +0 -137
- package/node_modules/fast-uri/test/resolve.test.js +0 -87
- package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
- package/node_modules/fast-uri/test/scheme-validation.test.js +0 -163
- package/node_modules/fast-uri/test/security-normalization.test.js +0 -178
- package/node_modules/fast-uri/test/security.test.js +0 -431
- package/node_modules/fast-uri/test/serialize.test.js +0 -151
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
- package/node_modules/fast-uri/test/uri-js.test.js +0 -912
- package/node_modules/fast-uri/test/urn-full-input.test.js +0 -29
- package/node_modules/fast-uri/test/util.test.js +0 -38
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +0 -24
- package/node_modules/fast-uri/tsconfig.json +0 -9
- package/node_modules/fast-uri/types/index.test-d.ts +0 -17
- package/node_modules/finalhandler/HISTORY.md +0 -239
- package/node_modules/finalhandler/README.md +0 -150
- package/node_modules/forwarded/HISTORY.md +0 -21
- package/node_modules/forwarded/README.md +0 -57
- package/node_modules/fresh/HISTORY.md +0 -80
- package/node_modules/fresh/README.md +0 -117
- package/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/function-bind/README.md +0 -46
- package/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/get-intrinsic/.eslintrc +0 -42
- package/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/get-intrinsic/CHANGELOG.md +0 -186
- package/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/get-proto/.eslintrc +0 -10
- package/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/node_modules/get-proto/.nycrc +0 -9
- package/node_modules/get-proto/CHANGELOG.md +0 -21
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/node_modules/get-proto/README.md +0 -50
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/node_modules/get-proto/index.d.ts +0 -5
- package/node_modules/get-proto/test/index.js +0 -68
- package/node_modules/get-proto/tsconfig.json +0 -9
- package/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/gopd/CHANGELOG.md +0 -45
- package/node_modules/gopd/README.md +0 -40
- package/node_modules/gopd/gOPD.d.ts +0 -1
- package/node_modules/gopd/index.d.ts +0 -5
- package/node_modules/gopd/test/index.js +0 -36
- package/node_modules/gopd/tsconfig.json +0 -9
- package/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/node_modules/has-symbols/README.md +0 -46
- package/node_modules/has-symbols/index.d.ts +0 -3
- package/node_modules/has-symbols/shams.d.ts +0 -3
- package/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/node_modules/has-symbols/test/tests.js +0 -58
- package/node_modules/has-symbols/tsconfig.json +0 -10
- package/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/hasown/.nycrc +0 -13
- package/node_modules/hasown/CHANGELOG.md +0 -58
- package/node_modules/hasown/README.md +0 -40
- package/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/hasown/tsconfig.json +0 -6
- package/node_modules/hono/README.md +0 -84
- package/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +0 -30
- package/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +0 -230
- package/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +0 -4
- package/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +0 -183
- package/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +0 -10
- package/node_modules/hono/dist/types/adapter/bun/index.d.ts +0 -6
- package/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +0 -8
- package/node_modules/hono/dist/types/adapter/bun/server.d.ts +0 -11
- package/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +0 -17
- package/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +0 -54
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +0 -24
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +0 -45
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +0 -3
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +0 -4
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +0 -21
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +0 -13
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +0 -10
- package/node_modules/hono/dist/types/adapter/deno/deno.d.ts +0 -1
- package/node_modules/hono/dist/types/adapter/deno/index.d.ts +0 -5
- package/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +0 -8
- package/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +0 -17
- package/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +0 -113
- package/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +0 -3
- package/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +0 -24
- package/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/netlify/index.d.ts +0 -3
- package/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +0 -3
- package/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +0 -18
- package/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +0 -26
- package/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +0 -17
- package/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +0 -7
- package/node_modules/hono/dist/types/adapter/vercel/index.d.ts +0 -3
- package/node_modules/hono/dist/types/client/client.d.ts +0 -6
- package/node_modules/hono/dist/types/client/fetch-result-please.d.ts +0 -37
- package/node_modules/hono/dist/types/client/index.d.ts +0 -5
- package/node_modules/hono/dist/types/client/types.d.ts +0 -204
- package/node_modules/hono/dist/types/client/utils.d.ts +0 -20
- package/node_modules/hono/dist/types/compose.d.ts +0 -16
- package/node_modules/hono/dist/types/context.d.ts +0 -459
- package/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +0 -32
- package/node_modules/hono/dist/types/helper/accepts/index.d.ts +0 -2
- package/node_modules/hono/dist/types/helper/adapter/index.d.ts +0 -10
- package/node_modules/hono/dist/types/helper/conninfo/index.d.ts +0 -2
- package/node_modules/hono/dist/types/helper/conninfo/types.d.ts +0 -38
- package/node_modules/hono/dist/types/helper/cookie/index.d.ts +0 -22
- package/node_modules/hono/dist/types/helper/css/common.d.ts +0 -61
- package/node_modules/hono/dist/types/helper/css/index.d.ts +0 -78
- package/node_modules/hono/dist/types/helper/dev/index.d.ts +0 -18
- package/node_modules/hono/dist/types/helper/factory/index.d.ts +0 -35
- package/node_modules/hono/dist/types/helper/html/index.d.ts +0 -5
- package/node_modules/hono/dist/types/helper/proxy/index.d.ts +0 -70
- package/node_modules/hono/dist/types/helper/route/index.d.ts +0 -77
- package/node_modules/hono/dist/types/helper/ssg/index.d.ts +0 -4
- package/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +0 -46
- package/node_modules/hono/dist/types/helper/ssg/plugins.d.ts +0 -29
- package/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +0 -93
- package/node_modules/hono/dist/types/helper/ssg/utils.d.ts +0 -18
- package/node_modules/hono/dist/types/helper/streaming/index.d.ts +0 -4
- package/node_modules/hono/dist/types/helper/streaming/sse.d.ts +0 -15
- package/node_modules/hono/dist/types/helper/streaming/stream.d.ts +0 -5
- package/node_modules/hono/dist/types/helper/streaming/text.d.ts +0 -5
- package/node_modules/hono/dist/types/helper/streaming/utils.d.ts +0 -3
- package/node_modules/hono/dist/types/helper/testing/index.d.ts +0 -11
- package/node_modules/hono/dist/types/helper/websocket/index.d.ts +0 -66
- package/node_modules/hono/dist/types/hono-base.d.ts +0 -233
- package/node_modules/hono/dist/types/hono.d.ts +0 -20
- package/node_modules/hono/dist/types/http-exception.d.ts +0 -57
- package/node_modules/hono/dist/types/index.d.ts +0 -6
- package/node_modules/hono/dist/types/jsx/base.d.ts +0 -63
- package/node_modules/hono/dist/types/jsx/children.d.ts +0 -11
- package/node_modules/hono/dist/types/jsx/components.d.ts +0 -18
- package/node_modules/hono/dist/types/jsx/constants.d.ts +0 -8
- package/node_modules/hono/dist/types/jsx/context.d.ts +0 -54
- package/node_modules/hono/dist/types/jsx/dom/client.d.ts +0 -30
- package/node_modules/hono/dist/types/jsx/dom/components.d.ts +0 -13
- package/node_modules/hono/dist/types/jsx/dom/context.d.ts +0 -5
- package/node_modules/hono/dist/types/jsx/dom/css.d.ts +0 -80
- package/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +0 -38
- package/node_modules/hono/dist/types/jsx/dom/index.d.ts +0 -84
- package/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +0 -20
- package/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +0 -6
- package/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +0 -3
- package/node_modules/hono/dist/types/jsx/dom/render.d.ts +0 -55
- package/node_modules/hono/dist/types/jsx/dom/server.d.ts +0 -108
- package/node_modules/hono/dist/types/jsx/dom/utils.d.ts +0 -3
- package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +0 -47
- package/node_modules/hono/dist/types/jsx/index.d.ts +0 -73
- package/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +0 -8
- package/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +0 -16
- package/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +0 -722
- package/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +0 -5
- package/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +0 -9
- package/node_modules/hono/dist/types/jsx/streaming.d.ts +0 -36
- package/node_modules/hono/dist/types/jsx/types.d.ts +0 -34
- package/node_modules/hono/dist/types/jsx/utils.d.ts +0 -6
- package/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +0 -73
- package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +0 -91
- package/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +0 -43
- package/node_modules/hono/dist/types/middleware/cache/index.d.ts +0 -43
- package/node_modules/hono/dist/types/middleware/combine/index.d.ts +0 -85
- package/node_modules/hono/dist/types/middleware/compress/index.d.ts +0 -39
- package/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +0 -38
- package/node_modules/hono/dist/types/middleware/cors/index.d.ts +0 -53
- package/node_modules/hono/dist/types/middleware/csrf/index.d.ts +0 -76
- package/node_modules/hono/dist/types/middleware/etag/digest.d.ts +0 -3
- package/node_modules/hono/dist/types/middleware/etag/index.d.ts +0 -40
- package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +0 -66
- package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +0 -77
- package/node_modules/hono/dist/types/middleware/jwk/index.d.ts +0 -2
- package/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +0 -53
- package/node_modules/hono/dist/types/middleware/jwt/index.d.ts +0 -9
- package/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +0 -67
- package/node_modules/hono/dist/types/middleware/language/index.d.ts +0 -8
- package/node_modules/hono/dist/types/middleware/language/language.d.ts +0 -118
- package/node_modules/hono/dist/types/middleware/logger/index.d.ts +0 -22
- package/node_modules/hono/dist/types/middleware/method-not-allowed/index.d.ts +0 -47
- package/node_modules/hono/dist/types/middleware/method-override/index.d.ts +0 -46
- package/node_modules/hono/dist/types/middleware/mount/index.d.ts +0 -47
- package/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +0 -27
- package/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +0 -40
- package/node_modules/hono/dist/types/middleware/request-id/index.d.ts +0 -8
- package/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +0 -35
- package/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +0 -8
- package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +0 -16
- package/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +0 -107
- package/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +0 -31
- package/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +0 -7
- package/node_modules/hono/dist/types/middleware/timeout/index.d.ts +0 -29
- package/node_modules/hono/dist/types/middleware/timing/index.d.ts +0 -8
- package/node_modules/hono/dist/types/middleware/timing/timing.d.ts +0 -126
- package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +0 -92
- package/node_modules/hono/dist/types/preset/quick.d.ts +0 -7
- package/node_modules/hono/dist/types/preset/tiny.d.ts +0 -7
- package/node_modules/hono/dist/types/request/constants.d.ts +0 -3
- package/node_modules/hono/dist/types/request.d.ts +0 -326
- package/node_modules/hono/dist/types/router/linear-router/index.d.ts +0 -2
- package/node_modules/hono/dist/types/router/linear-router/router.d.ts +0 -9
- package/node_modules/hono/dist/types/router/pattern-router/index.d.ts +0 -2
- package/node_modules/hono/dist/types/router/pattern-router/router.d.ts +0 -9
- package/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +0 -3
- package/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +0 -9
- package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +0 -15
- package/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +0 -18
- package/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +0 -12
- package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +0 -10
- package/node_modules/hono/dist/types/router/smart-router/index.d.ts +0 -2
- package/node_modules/hono/dist/types/router/smart-router/router.d.ts +0 -13
- package/node_modules/hono/dist/types/router/trie-router/index.d.ts +0 -2
- package/node_modules/hono/dist/types/router/trie-router/node.d.ts +0 -8
- package/node_modules/hono/dist/types/router/trie-router/router.d.ts +0 -9
- package/node_modules/hono/dist/types/router/utils.d.ts +0 -3
- package/node_modules/hono/dist/types/router.d.ts +0 -98
- package/node_modules/hono/dist/types/types.d.ts +0 -214
- package/node_modules/hono/dist/types/utils/accept.d.ts +0 -8
- package/node_modules/hono/dist/types/utils/basic-auth.d.ts +0 -7
- package/node_modules/hono/dist/types/utils/body.d.ts +0 -75
- package/node_modules/hono/dist/types/utils/buffer.d.ts +0 -19
- package/node_modules/hono/dist/types/utils/color.d.ts +0 -23
- package/node_modules/hono/dist/types/utils/compress.d.ts +0 -10
- package/node_modules/hono/dist/types/utils/concurrent.d.ts +0 -13
- package/node_modules/hono/dist/types/utils/constants.d.ts +0 -6
- package/node_modules/hono/dist/types/utils/cookie.d.ts +0 -42
- package/node_modules/hono/dist/types/utils/crypto.d.ts +0 -13
- package/node_modules/hono/dist/types/utils/encode.d.ts +0 -10
- package/node_modules/hono/dist/types/utils/filepath.d.ts +0 -14
- package/node_modules/hono/dist/types/utils/handler.d.ts +0 -8
- package/node_modules/hono/dist/types/utils/headers.d.ts +0 -10
- package/node_modules/hono/dist/types/utils/html.d.ts +0 -46
- package/node_modules/hono/dist/types/utils/http-status.d.ts +0 -34
- package/node_modules/hono/dist/types/utils/ipaddr.d.ts +0 -54
- package/node_modules/hono/dist/types/utils/jwt/index.d.ts +0 -24
- package/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +0 -25
- package/node_modules/hono/dist/types/utils/jwt/jws.d.ts +0 -9
- package/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +0 -40
- package/node_modules/hono/dist/types/utils/jwt/types.d.ts +0 -89
- package/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +0 -8
- package/node_modules/hono/dist/types/utils/mime.d.ts +0 -73
- package/node_modules/hono/dist/types/utils/mount.d.ts +0 -4
- package/node_modules/hono/dist/types/utils/stream.d.ts +0 -33
- package/node_modules/hono/dist/types/utils/types.d.ts +0 -62
- package/node_modules/hono/dist/types/utils/url.d.ts +0 -47
- package/node_modules/hono/dist/types/validator/index.d.ts +0 -3
- package/node_modules/hono/dist/types/validator/utils.d.ts +0 -27
- package/node_modules/hono/dist/types/validator/validator.d.ts +0 -18
- package/node_modules/http-errors/HISTORY.md +0 -186
- package/node_modules/http-errors/README.md +0 -169
- package/node_modules/iconv-lite/README.md +0 -138
- package/node_modules/iconv-lite/lib/index.d.ts +0 -129
- package/node_modules/iconv-lite/types/encodings.d.ts +0 -425
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/ip-address/README.md +0 -308
- package/node_modules/ip-address/dist/address-error.d.ts +0 -15
- package/node_modules/ip-address/dist/address-error.js.map +0 -1
- package/node_modules/ip-address/dist/common.d.ts +0 -74
- package/node_modules/ip-address/dist/common.js.map +0 -1
- package/node_modules/ip-address/dist/ip-address.d.ts +0 -7
- package/node_modules/ip-address/dist/ip-address.js.map +0 -1
- package/node_modules/ip-address/dist/ipv4.d.ts +0 -347
- package/node_modules/ip-address/dist/ipv4.js.map +0 -1
- package/node_modules/ip-address/dist/ipv6.d.ts +0 -634
- package/node_modules/ip-address/dist/ipv6.js.map +0 -1
- package/node_modules/ip-address/dist/v4/constants.d.ts +0 -16
- package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/constants.d.ts +0 -61
- package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
- package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
- package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
- package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
- package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
- package/node_modules/ipaddr.js/README.md +0 -233
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
- package/node_modules/is-docker/index.d.ts +0 -13
- package/node_modules/is-docker/readme.md +0 -27
- package/node_modules/is-in-ssh/index.d.ts +0 -15
- package/node_modules/is-in-ssh/readme.md +0 -43
- package/node_modules/is-inside-container/index.d.ts +0 -13
- package/node_modules/is-inside-container/readme.md +0 -36
- package/node_modules/is-promise/index.d.ts +0 -2
- package/node_modules/is-promise/readme.md +0 -33
- package/node_modules/is-wsl/index.d.ts +0 -15
- package/node_modules/is-wsl/readme.md +0 -21
- package/node_modules/isexe/.npmignore +0 -2
- package/node_modules/isexe/README.md +0 -51
- package/node_modules/isexe/test/basic.js +0 -221
- package/node_modules/jose/README.md +0 -150
- package/node_modules/jose/dist/types/index.d.ts +0 -55
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +0 -25
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +0 -40
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +0 -25
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +0 -46
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +0 -29
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +0 -51
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +0 -10
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +0 -15
- package/node_modules/jose/dist/types/jwks/local.d.ts +0 -17
- package/node_modules/jose/dist/types/jwks/remote.d.ts +0 -94
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +0 -21
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +0 -25
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +0 -23
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +0 -26
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +0 -41
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +0 -31
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +0 -38
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +0 -57
- package/node_modules/jose/dist/types/jwt/sign.d.ts +0 -21
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +0 -21
- package/node_modules/jose/dist/types/jwt/verify.d.ts +0 -36
- package/node_modules/jose/dist/types/key/export.d.ts +0 -19
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +0 -33
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +0 -30
- package/node_modules/jose/dist/types/key/import.d.ts +0 -67
- package/node_modules/jose/dist/types/types.d.ts +0 -802
- package/node_modules/jose/dist/types/util/base64url.d.ts +0 -16
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +0 -9
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +0 -10
- package/node_modules/jose/dist/types/util/errors.d.ts +0 -182
- package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
- package/node_modules/json-schema-traverse/README.md +0 -95
- package/node_modules/json-schema-traverse/index.d.ts +0 -40
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
- package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
- package/node_modules/json-schema-typed/README.md +0 -108
- package/node_modules/json-schema-typed/draft_07.d.ts +0 -882
- package/node_modules/json-schema-typed/draft_2019_09.d.ts +0 -1247
- package/node_modules/json-schema-typed/draft_2020_12.d.ts +0 -1239
- package/node_modules/math-intrinsics/.eslintrc +0 -16
- package/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/node_modules/math-intrinsics/README.md +0 -50
- package/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/node_modules/math-intrinsics/max.d.ts +0 -1
- package/node_modules/math-intrinsics/min.d.ts +0 -1
- package/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/node_modules/math-intrinsics/round.d.ts +0 -1
- package/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/node_modules/math-intrinsics/test/index.js +0 -192
- package/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/node_modules/media-typer/HISTORY.md +0 -50
- package/node_modules/media-typer/README.md +0 -94
- package/node_modules/merge-descriptors/index.d.ts +0 -11
- package/node_modules/merge-descriptors/readme.md +0 -55
- package/node_modules/mime-db/HISTORY.md +0 -541
- package/node_modules/mime-db/README.md +0 -109
- package/node_modules/mime-types/HISTORY.md +0 -428
- package/node_modules/mime-types/README.md +0 -126
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/negotiator/README.md +0 -212
- package/node_modules/negotiator/node_modules/content-type/README.md +0 -71
- package/node_modules/negotiator/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/negotiator/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/object-assign/readme.md +0 -61
- package/node_modules/object-inspect/.eslintrc +0 -53
- package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/node_modules/object-inspect/.nycrc +0 -13
- package/node_modules/object-inspect/CHANGELOG.md +0 -424
- package/node_modules/object-inspect/example/all.js +0 -23
- package/node_modules/object-inspect/example/circular.js +0 -6
- package/node_modules/object-inspect/example/fn.js +0 -5
- package/node_modules/object-inspect/example/inspect.js +0 -10
- package/node_modules/object-inspect/readme.markdown +0 -84
- package/node_modules/object-inspect/test/bigint.js +0 -58
- package/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/node_modules/object-inspect/test/circular.js +0 -16
- package/node_modules/object-inspect/test/deep.js +0 -12
- package/node_modules/object-inspect/test/element.js +0 -53
- package/node_modules/object-inspect/test/err.js +0 -48
- package/node_modules/object-inspect/test/fakes.js +0 -29
- package/node_modules/object-inspect/test/fn.js +0 -76
- package/node_modules/object-inspect/test/global.js +0 -17
- package/node_modules/object-inspect/test/has.js +0 -15
- package/node_modules/object-inspect/test/holes.js +0 -15
- package/node_modules/object-inspect/test/indent-option.js +0 -271
- package/node_modules/object-inspect/test/inspect.js +0 -139
- package/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/node_modules/object-inspect/test/number.js +0 -58
- package/node_modules/object-inspect/test/quoteStyle.js +0 -26
- package/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/node_modules/object-inspect/test/undef.js +0 -12
- package/node_modules/object-inspect/test/values.js +0 -261
- package/node_modules/on-finished/README.md +0 -162
- package/node_modules/once/README.md +0 -79
- package/node_modules/open/index.d.ts +0 -158
- package/node_modules/open/readme.md +0 -197
- package/node_modules/parseurl/HISTORY.md +0 -58
- package/node_modules/parseurl/README.md +0 -133
- package/node_modules/path-key/index.d.ts +0 -40
- package/node_modules/path-key/readme.md +0 -61
- package/node_modules/path-to-regexp/Readme.md +0 -224
- package/node_modules/path-to-regexp/dist/index.d.ts +0 -147
- package/node_modules/path-to-regexp/dist/index.js.map +0 -1
- package/node_modules/pkce-challenge/CHANGELOG.md +0 -114
- package/node_modules/pkce-challenge/README.md +0 -55
- package/node_modules/pkce-challenge/dist/index.browser.d.ts +0 -19
- package/node_modules/pkce-challenge/dist/index.node.d.cts +0 -19
- package/node_modules/pkce-challenge/dist/index.node.d.ts +0 -19
- package/node_modules/powershell-utils/index.d.ts +0 -175
- package/node_modules/powershell-utils/readme.md +0 -209
- package/node_modules/proxy-addr/HISTORY.md +0 -167
- package/node_modules/proxy-addr/README.md +0 -139
- package/node_modules/qs/.editorconfig +0 -46
- package/node_modules/qs/.github/FUNDING.yml +0 -12
- package/node_modules/qs/.github/SECURITY.md +0 -11
- package/node_modules/qs/.github/THREAT_MODEL.md +0 -80
- package/node_modules/qs/.nycrc +0 -13
- package/node_modules/qs/CHANGELOG.md +0 -937
- package/node_modules/qs/README.md +0 -857
- package/node_modules/qs/test/empty-keys-cases.js +0 -267
- package/node_modules/qs/test/parse.js +0 -2629
- package/node_modules/qs/test/stringify.js +0 -2217
- package/node_modules/qs/test/utils.js +0 -880
- package/node_modules/range-parser/HISTORY.md +0 -56
- package/node_modules/range-parser/README.md +0 -85
- package/node_modules/raw-body/README.md +0 -223
- package/node_modules/raw-body/index.d.ts +0 -85
- package/node_modules/require-from-string/readme.md +0 -56
- package/node_modules/router/HISTORY.md +0 -228
- package/node_modules/router/README.md +0 -416
- package/node_modules/run-applescript/index.d.ts +0 -66
- package/node_modules/run-applescript/readme.md +0 -78
- package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/node_modules/safer-buffer/Readme.md +0 -156
- package/node_modules/send/README.md +0 -317
- package/node_modules/serve-static/README.md +0 -253
- package/node_modules/setprototypeof/README.md +0 -31
- package/node_modules/setprototypeof/index.d.ts +0 -2
- package/node_modules/setprototypeof/test/index.js +0 -24
- package/node_modules/shebang-command/readme.md +0 -34
- package/node_modules/shebang-regex/index.d.ts +0 -22
- package/node_modules/shebang-regex/readme.md +0 -33
- package/node_modules/side-channel/.editorconfig +0 -9
- package/node_modules/side-channel/.eslintrc +0 -12
- package/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel/.nycrc +0 -13
- package/node_modules/side-channel/CHANGELOG.md +0 -120
- package/node_modules/side-channel/README.md +0 -61
- package/node_modules/side-channel/index.d.ts +0 -14
- package/node_modules/side-channel/test/index.js +0 -120
- package/node_modules/side-channel/tsconfig.json +0 -9
- package/node_modules/side-channel-list/.editorconfig +0 -9
- package/node_modules/side-channel-list/.eslintrc +0 -11
- package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-list/.nycrc +0 -13
- package/node_modules/side-channel-list/CHANGELOG.md +0 -36
- package/node_modules/side-channel-list/README.md +0 -62
- package/node_modules/side-channel-list/index.d.ts +0 -13
- package/node_modules/side-channel-list/list.d.ts +0 -14
- package/node_modules/side-channel-list/test/index.js +0 -154
- package/node_modules/side-channel-list/tsconfig.json +0 -9
- package/node_modules/side-channel-map/.editorconfig +0 -9
- package/node_modules/side-channel-map/.eslintrc +0 -11
- package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-map/.nycrc +0 -13
- package/node_modules/side-channel-map/CHANGELOG.md +0 -22
- package/node_modules/side-channel-map/README.md +0 -62
- package/node_modules/side-channel-map/index.d.ts +0 -15
- package/node_modules/side-channel-map/test/index.js +0 -114
- package/node_modules/side-channel-map/tsconfig.json +0 -9
- package/node_modules/side-channel-weakmap/.editorconfig +0 -9
- package/node_modules/side-channel-weakmap/.eslintrc +0 -12
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-weakmap/.nycrc +0 -13
- package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
- package/node_modules/side-channel-weakmap/README.md +0 -62
- package/node_modules/side-channel-weakmap/index.d.ts +0 -15
- package/node_modules/side-channel-weakmap/test/index.js +0 -114
- package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
- package/node_modules/statuses/HISTORY.md +0 -87
- package/node_modules/statuses/README.md +0 -139
- package/node_modules/toidentifier/HISTORY.md +0 -9
- package/node_modules/toidentifier/README.md +0 -61
- package/node_modules/type-is/HISTORY.md +0 -292
- package/node_modules/type-is/README.md +0 -198
- package/node_modules/type-is/node_modules/content-type/README.md +0 -71
- package/node_modules/type-is/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/type-is/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/unpipe/HISTORY.md +0 -4
- package/node_modules/unpipe/README.md +0 -43
- package/node_modules/vary/HISTORY.md +0 -39
- package/node_modules/vary/README.md +0 -101
- package/node_modules/vscode-jsonrpc/README.md +0 -54
- package/node_modules/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
- package/node_modules/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
- package/node_modules/vscode-jsonrpc/lib/common/api.d.ts +0 -14
- package/node_modules/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
- package/node_modules/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
- package/node_modules/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
- package/node_modules/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
- package/node_modules/vscode-jsonrpc/lib/common/events.d.ts +0 -39
- package/node_modules/vscode-jsonrpc/lib/common/is.d.ts +0 -7
- package/node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
- package/node_modules/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
- package/node_modules/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
- package/node_modules/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
- package/node_modules/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
- package/node_modules/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
- package/node_modules/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
- package/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
- package/node_modules/vscode-jsonrpc/lib/node/main.d.ts +0 -59
- package/node_modules/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
- package/node_modules/vscode-jsonrpc/tsconfig.tsbuildinfo +0 -1
- package/node_modules/vscode-jsonrpc/typings/thenable.d.ts +0 -5
- package/node_modules/which/CHANGELOG.md +0 -166
- package/node_modules/which/README.md +0 -54
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/wsl-utils/index.d.ts +0 -180
- package/node_modules/wsl-utils/readme.md +0 -223
- package/node_modules/zod/README.md +0 -218
- package/node_modules/zod/src/compile.ts +0 -56
- package/node_modules/zod/src/index.ts +0 -7
- package/node_modules/zod/src/locales/index.ts +0 -1
- package/node_modules/zod/src/mini/index.ts +0 -3
- package/node_modules/zod/src/v3/ZodError.ts +0 -340
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/zod/src/v3/errors.ts +0 -13
- package/node_modules/zod/src/v3/external.ts +0 -6
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/node_modules/zod/src/v3/index.ts +0 -4
- package/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/error.test.ts +0 -586
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
- package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
- package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object.test.ts +0 -431
- package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
- package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/zod/src/v3/tests/string.test.ts +0 -922
- package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/zod/src/v3/types.ts +0 -5138
- package/node_modules/zod/src/v4/classic/checks.ts +0 -33
- package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/node_modules/zod/src/v4/classic/compat.ts +0 -78
- package/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
- package/node_modules/zod/src/v4/classic/errors.ts +0 -97
- package/node_modules/zod/src/v4/classic/external.ts +0 -57
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
- package/node_modules/zod/src/v4/classic/in-out.ts +0 -45
- package/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/node_modules/zod/src/v4/classic/iso.ts +0 -20
- package/node_modules/zod/src/v4/classic/parse.ts +0 -88
- package/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -291
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -349
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -196
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/zod/src/v4/core/api.ts +0 -1875
- package/node_modules/zod/src/v4/core/checks.ts +0 -1266
- package/node_modules/zod/src/v4/core/compile.ts +0 -2322
- package/node_modules/zod/src/v4/core/core.ts +0 -230
- package/node_modules/zod/src/v4/core/doc.ts +0 -52
- package/node_modules/zod/src/v4/core/errors.ts +0 -543
- package/node_modules/zod/src/v4/core/index.ts +0 -19
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
- package/node_modules/zod/src/v4/core/json-schema.ts +0 -148
- package/node_modules/zod/src/v4/core/memoizer.ts +0 -331
- package/node_modules/zod/src/v4/core/parse.ts +0 -309
- package/node_modules/zod/src/v4/core/regexes.ts +0 -217
- package/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/node_modules/zod/src/v4/core/schemas.ts +0 -5226
- package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
- package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
- package/node_modules/zod/src/v4/core/util.ts +0 -1293
- package/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/node_modules/zod/src/v4/core/visit.ts +0 -193
- package/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/node_modules/zod/src/v4/index.ts +0 -4
- package/node_modules/zod/src/v4/locales/ar.ts +0 -120
- package/node_modules/zod/src/v4/locales/az.ts +0 -116
- package/node_modules/zod/src/v4/locales/be.ts +0 -188
- package/node_modules/zod/src/v4/locales/bg.ts +0 -133
- package/node_modules/zod/src/v4/locales/bn.ts +0 -123
- package/node_modules/zod/src/v4/locales/ca.ts +0 -121
- package/node_modules/zod/src/v4/locales/ckb.ts +0 -140
- package/node_modules/zod/src/v4/locales/cs.ts +0 -123
- package/node_modules/zod/src/v4/locales/da.ts +0 -128
- package/node_modules/zod/src/v4/locales/de.ts +0 -121
- package/node_modules/zod/src/v4/locales/el.ts +0 -124
- package/node_modules/zod/src/v4/locales/en.ts +0 -136
- package/node_modules/zod/src/v4/locales/eo.ts +0 -123
- package/node_modules/zod/src/v4/locales/es.ts +0 -145
- package/node_modules/zod/src/v4/locales/fa.ts +0 -131
- package/node_modules/zod/src/v4/locales/fi.ts +0 -126
- package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
- package/node_modules/zod/src/v4/locales/fr.ts +0 -139
- package/node_modules/zod/src/v4/locales/gu.ts +0 -123
- package/node_modules/zod/src/v4/locales/he.ts +0 -253
- package/node_modules/zod/src/v4/locales/hi.ts +0 -126
- package/node_modules/zod/src/v4/locales/hr.ts +0 -135
- package/node_modules/zod/src/v4/locales/hu.ts +0 -122
- package/node_modules/zod/src/v4/locales/hy.ts +0 -175
- package/node_modules/zod/src/v4/locales/id.ts +0 -120
- package/node_modules/zod/src/v4/locales/index.ts +0 -63
- package/node_modules/zod/src/v4/locales/is.ts +0 -124
- package/node_modules/zod/src/v4/locales/it.ts +0 -121
- package/node_modules/zod/src/v4/locales/ja.ts +0 -119
- package/node_modules/zod/src/v4/locales/ka.ts +0 -128
- package/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/node_modules/zod/src/v4/locales/km.ts +0 -124
- package/node_modules/zod/src/v4/locales/kn.ts +0 -126
- package/node_modules/zod/src/v4/locales/ko.ts +0 -126
- package/node_modules/zod/src/v4/locales/lt.ts +0 -243
- package/node_modules/zod/src/v4/locales/mk.ts +0 -123
- package/node_modules/zod/src/v4/locales/ms.ts +0 -120
- package/node_modules/zod/src/v4/locales/ne.ts +0 -128
- package/node_modules/zod/src/v4/locales/nl.ts +0 -126
- package/node_modules/zod/src/v4/locales/nn.ts +0 -121
- package/node_modules/zod/src/v4/locales/no.ts +0 -121
- package/node_modules/zod/src/v4/locales/ota.ts +0 -122
- package/node_modules/zod/src/v4/locales/pl.ts +0 -123
- package/node_modules/zod/src/v4/locales/ps.ts +0 -131
- package/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
- package/node_modules/zod/src/v4/locales/pt.ts +0 -159
- package/node_modules/zod/src/v4/locales/ro.ts +0 -132
- package/node_modules/zod/src/v4/locales/ru.ts +0 -188
- package/node_modules/zod/src/v4/locales/sk.ts +0 -123
- package/node_modules/zod/src/v4/locales/sl.ts +0 -123
- package/node_modules/zod/src/v4/locales/sv.ts +0 -124
- package/node_modules/zod/src/v4/locales/ta.ts +0 -123
- package/node_modules/zod/src/v4/locales/tg.ts +0 -135
- package/node_modules/zod/src/v4/locales/th.ts +0 -124
- package/node_modules/zod/src/v4/locales/tk.ts +0 -113
- package/node_modules/zod/src/v4/locales/tr.ts +0 -116
- package/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/node_modules/zod/src/v4/locales/uk.ts +0 -122
- package/node_modules/zod/src/v4/locales/ur.ts +0 -124
- package/node_modules/zod/src/v4/locales/uz.ts +0 -120
- package/node_modules/zod/src/v4/locales/vi.ts +0 -122
- package/node_modules/zod/src/v4/locales/yo.ts +0 -129
- package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
- package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
- package/node_modules/zod/src/v4/mini/checks.ts +0 -33
- package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
- package/node_modules/zod/src/v4/mini/external.ts +0 -52
- package/node_modules/zod/src/v4/mini/in-out.ts +0 -45
- package/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/node_modules/zod/src/v4/mini/parse.ts +0 -16
- package/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
- package/node_modules/zod/src/v4-mini/index.ts +0 -3
- package/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
- package/node_modules/zod-to-json-schema/.github/FUNDING.yml +0 -1
- package/node_modules/zod-to-json-schema/.prettierrc.json +0 -1
- package/node_modules/zod-to-json-schema/README.md +0 -390
- package/node_modules/zod-to-json-schema/changelog.md +0 -83
- package/node_modules/zod-to-json-schema/contributing.md +0 -9
- package/node_modules/zod-to-json-schema/createIndex.ts +0 -32
- package/node_modules/zod-to-json-schema/dist/types/Options.d.ts +0 -37
- package/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +0 -17
- package/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +0 -15
- package/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +0 -1
- package/node_modules/zod-to-json-schema/dist/types/index.d.ts +0 -40
- package/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +0 -34
- package/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +0 -5
- package/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +0 -12
- package/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +0 -14
- package/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +0 -3
- package/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +0 -3
- package/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +0 -15
- package/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +0 -8
- package/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +0 -9
- package/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +0 -15
- package/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +0 -5
- package/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +0 -10
- package/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +0 -13
- package/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +0 -10
- package/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +0 -5
- package/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +0 -3
- package/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +0 -13
- package/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +0 -13
- package/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +0 -73
- package/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +0 -13
- package/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +0 -6
- package/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +0 -23
- package/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +0 -4
- package/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +0 -5
- package/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +0 -10
- package/node_modules/zod-to-json-schema/postcjs.ts +0 -3
- package/node_modules/zod-to-json-schema/postesm.ts +0 -3
- package/vendor/rho-workspace-plugin-agent-0.4.25.tgz +0 -0
- package/vendor/rho-workspace-plugin-documents-0.4.10.tgz +0 -0
- package/vendor/rho-workspace-plugin-kernel-0.5.2.tgz +0 -0
|
@@ -1,1982 +0,0 @@
|
|
|
1
|
-
import { AgentApp, AuthenticateRequest, AvailableCommand, CancelNotification, ClientCapabilities, CompleteElicitationNotification, CreateElicitationRequest, CreateElicitationResponse, DisableProviderRequest, DisableProviderResponse, ForkSessionRequest, ForkSessionResponse, InitializeRequest, InitializeResponse, ListProvidersRequest, ListProvidersResponse, LlmProtocol, ListSessionsRequest, ListSessionsResponse, LoadSessionRequest, LoadSessionResponse, LogoutRequest, NewSessionRequest, NewSessionResponse, PromptRequest, PromptResponse, ReadTextFileRequest, ReadTextFileResponse, SetProviderRequest, SetProviderResponse, RequestPermissionResponse, ResumeSessionRequest, ResumeSessionResponse, SessionConfigOption, SessionModeState, SessionNotification, SetSessionConfigOptionRequest, SetSessionConfigOptionResponse, SetSessionModeRequest, SetSessionModeResponse, CloseSessionRequest, CloseSessionResponse, DeleteSessionRequest, DeleteSessionResponse, WriteTextFileRequest, WriteTextFileResponse } from "@agentclientprotocol/sdk/unstable";
|
|
2
|
-
import type { ForegroundEvents, TurnEvents, TurnOutcome } from "./turn-events.js";
|
|
3
|
-
import { AgentInfo, CanUseTool, FastModeDisabledReason, FastModeState, ModelInfo, Options, PermissionMode, Query, SDKMessageOrigin, SDKPartialAssistantMessage, SDKUserMessage, Settings } from "@anthropic-ai/claude-agent-sdk";
|
|
4
|
-
import { GoalRequest, GoalControlResponse, GoalSnapshot } from "./goal-extension.js";
|
|
5
|
-
import { SessionTitles } from "./session-titles.js";
|
|
6
|
-
import { AcpSessionNotification } from "./acp-subagents.js";
|
|
7
|
-
import { NativeSubagent, NativeSubagentRuntime } from "./native-subagents.js";
|
|
8
|
-
import * as sessionIndex from "./session-index/connection.js";
|
|
9
|
-
import type { RenameSessionRequest, SessionIdRequest } from "./session-index/service.js";
|
|
10
|
-
import type { ListSubscribeRequest, ListUnsubscribeRequest } from "./session-index/list-subscriptions.js";
|
|
11
|
-
import { AsyncTaskRuntime } from "./async-tasks.js";
|
|
12
|
-
import { type AuthStatus, type AuthStatusKind } from "./auth-status.js";
|
|
13
|
-
import { ContentBlockParam } from "@anthropic-ai/sdk/resources";
|
|
14
|
-
import { BetaContentBlock, BetaRawContentBlockDelta } from "@anthropic-ai/sdk/resources/beta.mjs";
|
|
15
|
-
import { type AcpPermissionRequest } from "./permissions/presentation.js";
|
|
16
|
-
import { SettingsManager } from "./settings.js";
|
|
17
|
-
import { type SessionFailureState } from "./session-failure-extension.js";
|
|
18
|
-
import { type ClaudeSubscriptionGuardState } from "./hide-claude-auth.js";
|
|
19
|
-
import { type FileChangeReportTurnState, type NativeFileChangeReporter } from "./file-change-audit.js";
|
|
20
|
-
import { ContextCompactionLifecycle } from "./context-compaction.js";
|
|
21
|
-
import { TaskState } from "./tools.js";
|
|
22
|
-
import { ToolCallFieldTracker } from "./tool-calls/field-tracker.js";
|
|
23
|
-
import { ClientCapabilities as ToolCallClientCapabilities } from "./tool-calls/client-capabilities.js";
|
|
24
|
-
import { Pushable } from "./utils.js";
|
|
25
|
-
export { DEFAULT_AGENT_ID } from "./session-config-ids.js";
|
|
26
|
-
import { MODE_CONFIG_ID } from "./session-mode.js";
|
|
27
|
-
import { type SessionModelState } from "./session-model.js";
|
|
28
|
-
import { type UltracodeOptionState } from "./session-ultracode.js";
|
|
29
|
-
export { EFFORT_CONFIG_ID, settingsEffortForModel } from "./session-effort.js";
|
|
30
|
-
export { applyAvailableModelsAllowlist, matchResumedModel, MODEL_CONFIG_ID, resolveModelPreference, } from "./session-model.js";
|
|
31
|
-
/**
|
|
32
|
-
* Logger interface for customizing logging output
|
|
33
|
-
*/
|
|
34
|
-
export interface Logger {
|
|
35
|
-
log: (...args: any[]) => void;
|
|
36
|
-
error: (...args: any[]) => void;
|
|
37
|
-
/** Optional: a caller that supplies no `warn` gets its warnings on `error`. */
|
|
38
|
-
warn?: (...args: any[]) => void;
|
|
39
|
-
}
|
|
40
|
-
type AccumulatedUsage = {
|
|
41
|
-
inputTokens: number;
|
|
42
|
-
outputTokens: number;
|
|
43
|
-
cachedReadTokens: number;
|
|
44
|
-
cachedWriteTokens: number;
|
|
45
|
-
};
|
|
46
|
-
/** Per-model token tallies keyed by the model id the SDK reported them under
|
|
47
|
-
* (its resolved spelling, e.g. "claude-opus-5[1m]"). */
|
|
48
|
-
type ModelTokenTally = Record<string, AccumulatedUsage>;
|
|
49
|
-
/** The structured replacement for the text of a local command that Claude
|
|
50
|
-
* Code runs itself, such as `/usage` or `/mcp`. */
|
|
51
|
-
type LocalCommandMarkdown = {
|
|
52
|
-
/** True when `produce` starts at turn activation. Otherwise it starts when
|
|
53
|
-
* the command output arrives, so Claude Code has finished the command. */
|
|
54
|
-
startsAtActivation: boolean;
|
|
55
|
-
/** The replacement, or null to keep the original text of Claude Code.
|
|
56
|
-
* `originalOutput` is that text. It is empty when `produce` starts at
|
|
57
|
-
* turn activation. */
|
|
58
|
-
produce(query: Query, signal: AbortSignal, originalOutput: string): Promise<string | null>;
|
|
59
|
-
/** Runs once when the turn ends after it delivered the replacement. */
|
|
60
|
-
afterDelivery?(): void;
|
|
61
|
-
};
|
|
62
|
-
type AsyncTaskStopRequest = {
|
|
63
|
-
sessionId: string;
|
|
64
|
-
asyncTaskId: string;
|
|
65
|
-
};
|
|
66
|
-
type AsyncTaskStopResponse = {
|
|
67
|
-
stopped: boolean;
|
|
68
|
-
};
|
|
69
|
-
/** Request-level steering options. `promptRequired` is opt-in so existing Hosts
|
|
70
|
-
* keep the established idle fallback behavior. */
|
|
71
|
-
type SteerMeta = {
|
|
72
|
-
[key: string]: unknown;
|
|
73
|
-
steering?: {
|
|
74
|
-
idleBehavior?: "promptRequired";
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
/** Params of a {@link STEER_METHOD} request. Shaped like the relevant subset of
|
|
78
|
-
* a `PromptRequest` so the same `promptToClaude` conversion applies. Delivery
|
|
79
|
-
* priority is deliberately NOT exposed here — it's an internal detail the agent
|
|
80
|
-
* chooses (see {@link STEER_PRIORITY}). */
|
|
81
|
-
export type SteerRequest = {
|
|
82
|
-
sessionId: string;
|
|
83
|
-
prompt: PromptRequest["prompt"];
|
|
84
|
-
_meta?: SteerMeta | null;
|
|
85
|
-
};
|
|
86
|
-
/** Result of a {@link STEER_METHOD} request. The legacy `startedNewTurn` result
|
|
87
|
-
* remains the default idle behavior; `promptRequired` is returned only when the
|
|
88
|
-
* Host explicitly opts into the host-owned fallback in request `_meta`. */
|
|
89
|
-
export type SteerResponse = {
|
|
90
|
-
outcome: "injected";
|
|
91
|
-
} | {
|
|
92
|
-
outcome: "startedNewTurn";
|
|
93
|
-
} | {
|
|
94
|
-
outcome: "promptRequired";
|
|
95
|
-
reason: "noRunningTurn";
|
|
96
|
-
};
|
|
97
|
-
/** One in-flight turn, started by `startTurn()`. A persistent per-session
|
|
98
|
-
* consumer (see `runConsumer`) drains the SDK query stream for the whole
|
|
99
|
-
* session and settles each Turn when that turn's outcome is known, so
|
|
100
|
-
* `startTurn()` itself holds no loop. Turns are processed FIFO: the SDK echoes
|
|
101
|
-
* queued user messages back in submission order, so `turnQueue[0]` is the turn
|
|
102
|
-
* currently running. */
|
|
103
|
-
type Turn = {
|
|
104
|
-
/** uuid stamped on the pushed `SDKUserMessage`; the SDK echoes it back so the
|
|
105
|
-
* consumer can match the replayed user message to this turn. It is also the
|
|
106
|
-
* id of the user message the turn reports as inserted. */
|
|
107
|
-
promptUuid: string;
|
|
108
|
-
/** Where the turn reports how its prompt is answered (see {@link TurnEvents}). */
|
|
109
|
-
events: TurnEvents;
|
|
110
|
-
/** Set once `events.inserted` has been reported. A clear-context restart
|
|
111
|
-
* activates the same turn again in the fresh session, which must not report
|
|
112
|
-
* it twice. */
|
|
113
|
-
insertedReported?: boolean;
|
|
114
|
-
/** Tools surfaced during this turn, awaiting completion or an explicit
|
|
115
|
-
* background handoff. Intersect with emittedToolCalls at settlement so
|
|
116
|
-
* tool_result counts even when a presentation hook is still pending. */
|
|
117
|
-
foregroundToolCallIds?: Set<string>;
|
|
118
|
-
/** Closes the tool calls this turn left open when a cancel ended it. Both
|
|
119
|
-
* the consumer and `cancelTurns` can settle a cancelled turn; they share
|
|
120
|
-
* this one closing, so each call gets one report and both wait for all of
|
|
121
|
-
* them before reporting the cancel. */
|
|
122
|
-
closingCancelledToolCalls?: Promise<void>;
|
|
123
|
-
/** Local-only slash commands (e.g. `/clear`) return a result without an echo,
|
|
124
|
-
* so the consumer can't promote them via the replay; it falls back to
|
|
125
|
-
* promoting the queue head when the result arrives. */
|
|
126
|
-
isLocalOnlyCommand: boolean;
|
|
127
|
-
/** Whitespace-normalized text this turn delivered as live `notice` updates
|
|
128
|
-
* (SDK `informational` frames on the notice lane). A hook-blocked turn's
|
|
129
|
-
* result repeats the block reason verbatim with zero output tokens; the
|
|
130
|
-
* issue-#453 result-text fallback skips a result that only repeats one of
|
|
131
|
-
* these, without the notice counting as the turn's answer. Recorded on the
|
|
132
|
-
* queue head, not `activeTurn`: a UserPromptSubmit block arrives before
|
|
133
|
-
* any echo, so the turn is only promoted when its result lands. */
|
|
134
|
-
noticeTexts?: string[];
|
|
135
|
-
/** Structured presentation for an exact /usage or /mcp command. The command
|
|
136
|
-
* still runs through the normal SDK turn so ordering, cancellation,
|
|
137
|
-
* persistence, and replay remain unchanged. A null result means the request
|
|
138
|
-
* failed and every output path must preserve Claude Code's original text. */
|
|
139
|
-
localCommand?: LocalCommandMarkdown;
|
|
140
|
-
localCommandMarkdown?: Promise<string | null>;
|
|
141
|
-
localCommandAbort?: AbortController;
|
|
142
|
-
/** The SDK can expose a local command through more than one message shape;
|
|
143
|
-
* publish the structured replacement at most once. */
|
|
144
|
-
localCommandDelivered?: boolean;
|
|
145
|
-
localCommandOriginalOutput?: string;
|
|
146
|
-
/** Optional native checkpoint preview requested by the ACP client for this
|
|
147
|
-
* turn. The state is turn-owned so a late control response can never be
|
|
148
|
-
* rebound to a newer prompt. */
|
|
149
|
-
fileChangeReport?: FileChangeReportTurnState;
|
|
150
|
-
/** Files that subagents of this turn edited with a file tool, collected only
|
|
151
|
-
* when a report was requested (see {@link recordSubagentFileEdits}). */
|
|
152
|
-
editedPaths?: Set<string>;
|
|
153
|
-
/** Set once the deferred has been resolved/rejected, so the consumer never
|
|
154
|
-
* settles a turn twice (idle + handoff + stream-end can all race). */
|
|
155
|
-
settled: boolean;
|
|
156
|
-
/** Set while the terminal checkpoint preview is in flight. The consumer can
|
|
157
|
-
* observe another terminal signal during that bounded await; only the first
|
|
158
|
-
* one may continue into settlement. */
|
|
159
|
-
settling?: boolean;
|
|
160
|
-
/** Outcome captured before the checkpoint preview await, so cancel() can
|
|
161
|
-
* preserve its usage and metadata while atomically winning that race. */
|
|
162
|
-
settlingOutcome?: TurnOutcome;
|
|
163
|
-
/** Set when a `command_lifecycle` "started" frame arrives for this turn's
|
|
164
|
-
* uuid (msg_lifecycle_v1 CLIs): the SDK dispatched the command into a turn.
|
|
165
|
-
* Read by cancel() to seed the orphan's state — a started orphan's turn may
|
|
166
|
-
* still emit a result, an undispatched one may be dropped without one. */
|
|
167
|
-
commandStarted?: boolean;
|
|
168
|
-
/** Set when a terminal `command_lifecycle` frame arrives for this turn's
|
|
169
|
-
* uuid while the turn is still queued (msg_lifecycle_v1 CLIs). The command
|
|
170
|
-
* is already finished SDK-side, so a later cancel() must not seed an
|
|
171
|
-
* orphan entry for it — no terminal frame will ever come to drain it.
|
|
172
|
-
* "completed"/"discarded"/"refused" leave nothing outstanding; "cancelled"
|
|
173
|
-
* after a dispatch means the dead turn's result may still arrive (seeded
|
|
174
|
-
* as a zombie) unless it already passed (`commandResultSeen`), and without
|
|
175
|
-
* a dispatch means dropped (nothing coming). */
|
|
176
|
-
commandFinished?: "completed" | "discarded" | "cancelled" | "refused";
|
|
177
|
-
/** Set when a user-turn result arrives while this command is known
|
|
178
|
-
* dispatched (`commandStarted`) with no terminal frame yet. Turns run
|
|
179
|
-
* sequentially and frames arrive in stream order, so the turn this command
|
|
180
|
-
* was dispatched into IS the turn that emitted that result — including
|
|
181
|
-
* when the command was FOLDED into another turn (their shared result).
|
|
182
|
-
* Read by cancel() and the force-cancel wedge path so neither seeds an
|
|
183
|
-
* orphan entry for a result that has already passed: such an entry could
|
|
184
|
-
* never be drained by its result and would swallow an unrelated later
|
|
185
|
-
* echo-less one instead. */
|
|
186
|
-
commandResultSeen?: boolean;
|
|
187
|
-
/** Task ids of the background subagents launched while this turn was the
|
|
188
|
-
* active one — including during its held-open drain window, so an agent
|
|
189
|
-
* chain (a followup that launches another subagent) extends the hold.
|
|
190
|
-
* A settled subagent that the SDK resumes while this turn is active (for
|
|
191
|
-
* example through SendMessage) counts as a spawn of this turn.
|
|
192
|
-
* A turn only waits on its OWN spawned subagents: a long-running agent
|
|
193
|
-
* from an earlier turn must not stall every later prompt's settlement.
|
|
194
|
-
* Known residual: task_started names no turn (its `parent_task_id`
|
|
195
|
-
* names only a launching subagent), so a spawn made by a
|
|
196
|
-
* PREVIOUS turn's followup chain while a later turn happens to be held
|
|
197
|
-
* is attributed to the holder — extending that hold behind a foreign
|
|
198
|
-
* chain. Bounded: the hold still ends at drain, hand-off, or cancel.
|
|
199
|
-
* The set is also kept for a client with `backgroundSubagents`, but no
|
|
200
|
-
* hold reads it there (see `deferredSettle`). */
|
|
201
|
-
spawnedTaskIds?: Set<string>;
|
|
202
|
-
/** Set instead of settling when the turn's terminal result arrives while
|
|
203
|
-
* subagents it spawned are still live (`spawnedTaskIds` ∩
|
|
204
|
-
* `session.liveBackgroundTasks`). The turn is held open — its
|
|
205
|
-
* `session/prompt` stays pending — so the subagents' streamed output,
|
|
206
|
-
* their permission requests (which would otherwise block on an RPC a
|
|
207
|
-
* client that stops consuming at the prompt response never answers —
|
|
208
|
-
* issue #866), and the model's task-notification followup summary all
|
|
209
|
-
* land inside the turn.
|
|
210
|
-
*
|
|
211
|
-
* An ACP v1 AIR client that declares `backgroundSubagents` gets no hold:
|
|
212
|
-
* this field stays unset, and the turn settles at its result. AIR keeps
|
|
213
|
-
* listening after the prompt response, so the subagent updates, their
|
|
214
|
-
* permission requests and elicitations, and the followup summary go out
|
|
215
|
-
* after it, with the same routing. A held turn hides the end of the
|
|
216
|
-
* answer, and the next user message would steer into it. Consequences:
|
|
217
|
-
* a followup result is an out-of-turn autonomous result; a steer with no
|
|
218
|
-
* turn in flight starts a new turn; the file-change report of the turn
|
|
219
|
-
* leaves out subagent edits after the result. Every other client keeps
|
|
220
|
-
* the hold, so issue #866 stays fixed for it.
|
|
221
|
-
*
|
|
222
|
-
* Idle cadence depends on the CLI. Through 2.1.269 the trailing idle is
|
|
223
|
-
* NOT held for background agents (observed on 2.1.206: `idle` follows
|
|
224
|
-
* the result immediately while the subagent still runs), so the hold
|
|
225
|
-
* spans multiple idle cycles: user result → idle → (subagent works) →
|
|
226
|
-
* task_notification → followup turn → idle. From 2.1.270 the CLI stays
|
|
227
|
-
* `running` while background agents live (observed live: user result →
|
|
228
|
-
* task_notification → followup turn → ONE idle), so the user result's
|
|
229
|
-
* idle debt goes unpaid — swept at the next `running` transition.
|
|
230
|
-
* The stored outcome (the result's stop reason and usage snapshot) is
|
|
231
|
-
* what the turn settles with once its spawned subagents have settled —
|
|
232
|
-
* at the followup's terminal result (the summary has streamed by then),
|
|
233
|
-
* or at an idle with none of its subagents left (no followup came). A
|
|
234
|
-
* cancel or the next turn's echo hand-off settles it earlier, so a
|
|
235
|
-
* long-running subagent never holds the prompt hostage.
|
|
236
|
-
*
|
|
237
|
-
* Accepted residuals. (1) A subagent that ends WITHOUT waking the model —
|
|
238
|
-
* its task_notification lost or skipped (only the terminal task_updated
|
|
239
|
-
* patch is guaranteed per transition) — leaves no followup result and no
|
|
240
|
-
* further idle, so the held turn parks until `session/cancel` or the next
|
|
241
|
-
* prompt (either settles it: the echo hand-off or ensureActiveTurn's
|
|
242
|
-
* held-turn hand-off). Settling at the prune sites instead would preempt
|
|
243
|
-
* the followup summary in the normal ordering (prunes precede the
|
|
244
|
-
* notification), and a grace timer was judged not worth the machinery —
|
|
245
|
-
* the same rescue contract as the adapter's other wedge classes (issue
|
|
246
|
-
* #825's out-of-scope notes). (2) Drained-ness is judged by live-task
|
|
247
|
-
* membership only: with parallel subagents, a notification that prunes
|
|
248
|
-
* the last task during an earlier task's still-streaming followup lets
|
|
249
|
-
* that followup's result settle the turn before the LAST task's summary
|
|
250
|
-
* streams — degrading to post-turn delivery for it, never worse than the
|
|
251
|
-
* pre-hold behavior (pending wakes are not countable: notifications can
|
|
252
|
-
* batch into one followup). */
|
|
253
|
-
deferredSettle?: TurnOutcome;
|
|
254
|
-
/** Uuids of `steer()`-injected messages the SDK has not replayed back yet.
|
|
255
|
-
*
|
|
256
|
-
* A steer is normally delivered at priority `now`. When it lands during
|
|
257
|
-
* generation the CLI ABORTS the running cycle: it emits its own human-origin
|
|
258
|
-
* `result` — indistinguishable from a turn's terminal one — and the steered
|
|
259
|
-
* message runs as a SECOND cycle. When it lands during a foreground tool call
|
|
260
|
-
* (CLI 2.1.286) the CLI moves the tool to the background instead and either
|
|
261
|
-
* joins the steer into the running cycle (ONE result stamped with both
|
|
262
|
-
* uuids) or still ends that cycle early and runs the steer as a second one.
|
|
263
|
-
* Settling at an interrupted cycle's result would answer `session/prompt`
|
|
264
|
-
* mid-work, so a steered turn's results only RECORD their outcome
|
|
265
|
-
* (`steeredSettle`) until one provably answers the steer.
|
|
266
|
-
*
|
|
267
|
-
* Two signals prove it. Exact: a result whose `user_message_uuids` names
|
|
268
|
-
* one of `steeredUuids` consumed the steered message, so once no echo is
|
|
269
|
-
* outstanding it is the turn's terminal result and the turn leaves the steer
|
|
270
|
-
* lane to settle there like any other (this also retires an echo the CLI
|
|
271
|
-
* never replayed). Fallback, for producers that don't stamp results: the
|
|
272
|
-
* SDK's `idle` after a result recorded since the last echo (see
|
|
273
|
-
* `steeredAwaitingResult`), the only signal spanning both cycles
|
|
274
|
-
* (CLI 2.1.220).
|
|
275
|
-
*
|
|
276
|
-
* A non-empty set at an idle means the steered cycle hasn't started — the CLI
|
|
277
|
-
* replays a message only when it picks it up, always after the interrupted
|
|
278
|
-
* cycle's result — so that idle is swallowed. Drained by the replay handler
|
|
279
|
-
* and by stamped results.
|
|
280
|
-
*
|
|
281
|
-
* Residual: a message the CLI drops unreplayed, with no stamped result naming
|
|
282
|
-
* it, parks the turn until `session/cancel` or the next prompt (both settle
|
|
283
|
-
* it). */
|
|
284
|
-
steeredEchoes?: Set<string>;
|
|
285
|
-
/** Every steer this turn has taken, echoed or not: a stamped result naming one
|
|
286
|
-
* answers the steer even after its echo drained `steeredEchoes`. */
|
|
287
|
-
steeredUuids?: Set<string>;
|
|
288
|
-
/** Set when a steered echo drains and cleared when a result records
|
|
289
|
-
* `steeredSettle`. `steeredSettle` can already hold the interrupted cycle's
|
|
290
|
-
* outcome (or a held turn's, moved over by `steer()`) when the echo lands, so
|
|
291
|
-
* while this is set the recorded outcome predates the steered work and an
|
|
292
|
-
* idle must not settle on it. */
|
|
293
|
-
steeredAwaitingResult?: boolean;
|
|
294
|
-
/** What a steered turn settles with once its steered work has run: the outcome
|
|
295
|
-
* of its latest result, so its usage covers every cycle the turn ran. */
|
|
296
|
-
steeredSettle?: TurnOutcome;
|
|
297
|
-
carriedUsage?: AccumulatedUsage;
|
|
298
|
-
/** `carriedUsage`'s per-model counterpart, so a turn that survives a
|
|
299
|
-
* clear-context restart keeps the `_meta.quota` rows it earned pre-restart. */
|
|
300
|
-
carriedModelUsage?: ModelTokenTally;
|
|
301
|
-
resolve: (outcome: TurnOutcome) => void;
|
|
302
|
-
reject: (error: unknown) => void;
|
|
303
|
-
/** Settles once the turn has ended or failed. */
|
|
304
|
-
completion?: Promise<void>;
|
|
305
|
-
};
|
|
306
|
-
/** A permission or elicitation request that awaits user input. */
|
|
307
|
-
type OpenUserInput = {
|
|
308
|
-
/** The subagent that asked: absent for the main conversation and for a
|
|
309
|
-
* request that names no agent. */
|
|
310
|
-
agentID?: string;
|
|
311
|
-
/** Set by a cancel that comes while the request is open (see
|
|
312
|
-
* `withPendingUserInput`). */
|
|
313
|
-
cancelled?: boolean;
|
|
314
|
-
};
|
|
315
|
-
export type Session = {
|
|
316
|
-
query: Query;
|
|
317
|
-
input: Pushable<SDKUserMessage>;
|
|
318
|
-
/** Set by a cancel. While it is set, the consumer treats what arrives as the
|
|
319
|
-
* work the cancel stopped: it drops main-thread `assistant` and `user`
|
|
320
|
-
* messages (streamed text still goes out), skips results, and starts no
|
|
321
|
-
* model cycle. Two things still go out: a tool result for a tool call that
|
|
322
|
-
* the client holds open, until the client is told that the work ended, and,
|
|
323
|
-
* as the turn settles, a report that closes each tool call left without a
|
|
324
|
-
* result. Cleared when the next prompt's turn activates,
|
|
325
|
-
* or when Claude Code starts a model request that serves none of
|
|
326
|
-
* {@link Session.cancelledPrompts} (see the `status` case of the
|
|
327
|
-
* consumer), such as its follow-up after a background command finished. */
|
|
328
|
-
cancelled: boolean;
|
|
329
|
-
/** The prompts whose work the cancel stopped: the turns it settled as
|
|
330
|
-
* cancelled, and their steers. Recorded when the cancel arrives, before the
|
|
331
|
-
* orphan accounting, which can undercount a prompt that Claude Code had
|
|
332
|
-
* already taken off its queue. */
|
|
333
|
-
cancelledPrompts?: Set<string>;
|
|
334
|
-
/** FIFO of in-flight prompts. The head is the turn the SDK is currently
|
|
335
|
-
* processing; later entries are queued and will be echoed in order. */
|
|
336
|
-
turnQueue?: Turn[];
|
|
337
|
-
/** The turn whose messages the consumer is currently attributing output to
|
|
338
|
-
* (the head of `turnQueue` once its user message has been echoed). */
|
|
339
|
-
activeTurn?: Turn | null;
|
|
340
|
-
/** Session-owned native checkpoint reporter. Turn state stays on each Turn. */
|
|
341
|
-
fileChangeReporter?: NativeFileChangeReporter;
|
|
342
|
-
/** Optimistic goal state published for a submitted `/goal` command whose
|
|
343
|
-
* matching runtime update has not arrived yet. Runtime updates for the old
|
|
344
|
-
* goal are suppressed until this command is echoed or completes, otherwise
|
|
345
|
-
* a late old-goal update can overwrite a replacement that the runtime never
|
|
346
|
-
* announces (the compatibility case the optimistic update exists for). */
|
|
347
|
-
pendingGoalUpdate?: {
|
|
348
|
-
commandUuid: string;
|
|
349
|
-
expected: GoalSnapshot | null;
|
|
350
|
-
previous: GoalSnapshot | null | undefined;
|
|
351
|
-
started: boolean;
|
|
352
|
-
};
|
|
353
|
-
/** Last goal snapshot sent to the ACP client, used to roll back an
|
|
354
|
-
* optimistic `/goal` update when the command itself fails. */
|
|
355
|
-
lastPublishedGoal?: GoalSnapshot | null;
|
|
356
|
-
/** Last follow-up prompt sent to the ACP client (`null` after a clear), so an
|
|
357
|
-
* unchanged prediction is not re-notified. Undefined until the first push. */
|
|
358
|
-
lastPublishedPromptSuggestion?: string | null;
|
|
359
|
-
/** Whether an arriving `prompt_suggestion` still answers the turn the user is
|
|
360
|
-
* waiting on: set at a turn's result, cleared when the next prompt arrives.
|
|
361
|
-
* A prediction the user outran — the next prompt was sent before the
|
|
362
|
-
* prediction was read off the stream — follows a turn that is already
|
|
363
|
-
* answered, so it is dropped instead of published mid-turn. */
|
|
364
|
-
promptSuggestionExpected?: boolean;
|
|
365
|
-
/** Count of result messages the consumer should treat as orphans and skip
|
|
366
|
-
* (not promote/attribute to the current head). When cancel() settles+removes
|
|
367
|
-
* a queued turn, that turn's user message was already pushed to the SDK, so
|
|
368
|
-
* the SDK still runs it and emits a result with no uuid we can match. Because
|
|
369
|
-
* the SDK processes input FIFO, those orphan results arrive (in submission
|
|
370
|
-
* order) before the next live turn's, so skipping exactly this many leaves
|
|
371
|
-
* the genuine head untouched. On CLIs with the interrupt receipt, orphans
|
|
372
|
-
* the interrupt dropped (absent from `still_queued`) are uncounted as soon
|
|
373
|
-
* as the receipt arrives (see cancel()). Reset to 0 on every activation as
|
|
374
|
-
* a backstop against a dropped queued input this can't see (older CLIs, a
|
|
375
|
-
* receipt lost to a failed control round-trip). Only used when the CLI does
|
|
376
|
-
* NOT emit lifecycle frames (see `orphanCommands` for the msg_lifecycle_v1
|
|
377
|
-
* lane); a count can't express command coalescing — N queued commands can
|
|
378
|
-
* fold into ONE turn emitting one result, leaving a stale skip of N-1. */
|
|
379
|
-
pendingOrphanResults?: number;
|
|
380
|
-
/** UUIDs of cancelled-before-echo commands that can still emit Claude's
|
|
381
|
-
* empty user-interruption diagnostic. Interrupt receipts and command
|
|
382
|
-
* lifecycle frames remove commands that were dropped before dispatch; the
|
|
383
|
-
* next ordinary result clears any stale survivors. */
|
|
384
|
-
pendingEmptyInterruptionDiagnosticCommands?: Set<string>;
|
|
385
|
-
/** msg_lifecycle_v1 lane of the orphan accounting (see
|
|
386
|
-
* `pendingOrphanResults` for the count lane): the uuids of cancelled queued
|
|
387
|
-
* turns whose SDK-side command may still produce an unaccounted result,
|
|
388
|
-
* keyed to what we know of its fate. "pending" = not seen dispatched; if
|
|
389
|
-
* the SDK drops it (interrupt, `cancelled` before "started") no result
|
|
390
|
-
* ever comes. "started" = dispatched into a turn whose result is still
|
|
391
|
-
* coming; exactly one terminal lifecycle frame will follow. "zombie" = its
|
|
392
|
-
* turn was aborted/failed after dispatch with no result seen since
|
|
393
|
-
* (`cancelled` after "started"); no more lifecycle frames come, but the
|
|
394
|
-
* dead turn's error result may still arrive. Entries are removed the
|
|
395
|
-
* moment their result is covered: EVERY user-turn result covers ALL
|
|
396
|
-
* started and zombie entries at once (turns run sequentially and frames
|
|
397
|
-
* arrive in stream order, so at any result the started entries were
|
|
398
|
-
* dispatched into — possibly folded into — the emitting turn, and any
|
|
399
|
-
* zombie's late result has already passed or never existed), whether that
|
|
400
|
-
* result was attributed to the active turn or skipped echo-less (see
|
|
401
|
-
* recordResultForOrphanCommands / ensureActiveTurn). A command's own
|
|
402
|
-
* terminal frame also drains its entry ("completed" is emitted after any
|
|
403
|
-
* result its turn produced; a bare `cancelled` deletes a pending entry —
|
|
404
|
-
* dropped without running — and zombifies a started one). An echo-less
|
|
405
|
-
* result is an orphan's iff this map is non-empty (FIFO: orphan turns run
|
|
406
|
-
* before any live turn's). Cleared on every activation, same self-heal as
|
|
407
|
-
* the count (covers a lost frame, which can leak an entry — each state
|
|
408
|
-
* bounds the damage to one wrong skip). */
|
|
409
|
-
orphanCommands?: Map<string, "pending" | "started" | "zombie">;
|
|
410
|
-
/** True once a `system`/init advertised the msg_lifecycle_v1 capability, so
|
|
411
|
-
* cancel() routes orphan accounting to `orphanCommands` (exact, per-uuid)
|
|
412
|
-
* instead of `pendingOrphanResults` (count, coalescing-blind). */
|
|
413
|
-
msgLifecycleV1?: boolean;
|
|
414
|
-
/** True once a `system`/init advertised the request_marker_lists_v1
|
|
415
|
-
* capability: each `status: requesting` frame, which starts a model
|
|
416
|
-
* request, then lists the prompts the request serves in
|
|
417
|
-
* `user_message_uuids`, and leaves the field out for a request that serves
|
|
418
|
-
* none, such as a cycle that Claude Code started on its own. */
|
|
419
|
-
requestMarkerListsV1?: boolean;
|
|
420
|
-
/** A main-thread model request started (`status: requesting`) since the
|
|
421
|
-
* last result, so a model cycle runs. Read only with
|
|
422
|
-
* {@link Session.requestMarkerListsV1}. */
|
|
423
|
-
modelRequestSinceResult?: boolean;
|
|
424
|
-
/** Latched from `system`/init `terminal_slash_commands` (CLI 2.1.232+):
|
|
425
|
-
* names of advertised slash commands whose UX is bound to the CLI's own
|
|
426
|
-
* terminal (e.g. /doctor, /color). ACP clients aren't that terminal, so
|
|
427
|
-
* these are filtered out of `available_commands_update` payloads. */
|
|
428
|
-
terminalSlashCommands?: string[];
|
|
429
|
-
/** The uuids of the user messages this adapter pushed whose echo has not come
|
|
430
|
-
* back yet. Claude Code stamps the echo with the same human origin as a
|
|
431
|
-
* message typed in another client, so the uuid is what tells the two apart. */
|
|
432
|
-
sentUserUuids?: Set<string>;
|
|
433
|
-
/** The `/remote-control` command that is running, from its request to its
|
|
434
|
-
* reply. Prompts wait for it, and a second command is refused meanwhile. */
|
|
435
|
-
remoteControlCommand?: Promise<void>;
|
|
436
|
-
/** The resolved SKILL.md paths of the skill commands, keyed by the cwd and
|
|
437
|
-
* the command name. A `commands_changed` clears it, because the skill
|
|
438
|
-
* files can have changed then. */
|
|
439
|
-
skillPaths?: Map<string, string | undefined>;
|
|
440
|
-
/** Serialized `system`/init `plugin_errors` last logged, so the per-turn
|
|
441
|
-
* init re-emit logs a plugin load failure once, not every turn. */
|
|
442
|
-
loggedPluginErrors?: string;
|
|
443
|
-
/** The long-lived consumer task. Lazily started on the first `prompt()` and
|
|
444
|
-
* kept alive for the session so between-turn/background messages are still
|
|
445
|
-
* drained and forwarded. */
|
|
446
|
-
consumer?: Promise<void>;
|
|
447
|
-
/** Set once the SDK query stream has terminated (it ran to `done` or threw a
|
|
448
|
-
* non-process error). The query iterator is not reusable afterward, so a
|
|
449
|
-
* later `prompt()` rejects instead of enqueueing onto a dead stream and
|
|
450
|
-
* hanging (or silently restarting a consumer that resolves `end_turn`
|
|
451
|
-
* without ever reaching the model). */
|
|
452
|
-
queryClosed?: boolean;
|
|
453
|
-
/** Set when `teardownSession` starts (a `session/close` or the connection
|
|
454
|
-
* closing), so a prompt that was still starting ends cancelled. */
|
|
455
|
-
tornDown?: boolean;
|
|
456
|
-
cwd: string;
|
|
457
|
-
/** Serialized snapshot of session-defining params (cwd, mcpServers, skills)
|
|
458
|
-
* used to detect when loadSession/resumeSession is called with changed values. */
|
|
459
|
-
sessionFingerprint: string;
|
|
460
|
-
/** Original ACP parameters used to recreate this query with a new provider. */
|
|
461
|
-
creationParams?: NewSessionRequest;
|
|
462
|
-
settingsManager: SettingsManager;
|
|
463
|
-
/** Higher-priority programmatic settings passed to query(). Retained so
|
|
464
|
-
* model switches resolve effort from the same effective settings as the SDK. */
|
|
465
|
-
effortSettingsOverride?: Settings;
|
|
466
|
-
/** This session's title state and the turn-end logic that maintains it. */
|
|
467
|
-
titles: SessionTitles;
|
|
468
|
-
accumulatedUsage: AccumulatedUsage;
|
|
469
|
-
/** The active turn's spend broken out per model — the breakdown behind
|
|
470
|
-
* `accumulatedUsage`, reported as `_meta.quota.model_usage` on the prompt
|
|
471
|
-
* response. Accumulated and reset in lockstep with it. */
|
|
472
|
-
accumulatedModelUsage?: ModelTokenTally;
|
|
473
|
-
/** The last per-model reading seen on this query, autonomous cycles included.
|
|
474
|
-
* `result.modelUsage` is a running total for the whole query() call rather
|
|
475
|
-
* than a per-result figure, so consecutive readings are what a result's own
|
|
476
|
-
* spend is derived from — this is not itself a turn tally. `undefined` on a
|
|
477
|
-
* resumed session until its first result: the CLI continues the running
|
|
478
|
-
* total from the totals the transcript saved (SDK 0.3.277+), so that first
|
|
479
|
-
* reading is the baseline for later increments, not the first turn's spend
|
|
480
|
-
* (see resumedFirstResultModelUsage). */
|
|
481
|
-
lastModelUsageReading?: ModelTokenTally;
|
|
482
|
-
modes: SessionModeState;
|
|
483
|
-
/** The mode the session left when it entered plan mode, if it is in plan. */
|
|
484
|
-
prePlanMode?: string;
|
|
485
|
-
models: SessionModelState;
|
|
486
|
-
modelInfos: ModelInfo[];
|
|
487
|
-
/** Prevents the model-specific Auto fallback from spamming the transcript. */
|
|
488
|
-
autoModeFallbackWarningShown?: boolean;
|
|
489
|
-
/** Initial mode fallback is reported after session/new, on the first prompt. */
|
|
490
|
-
autoModeFallbackWarningPending?: boolean;
|
|
491
|
-
configOptions: SessionConfigOption[];
|
|
492
|
-
/** Custom main-thread agent personas the user (or a plugin/project) has
|
|
493
|
-
* configured, discovered via `supportedAgents()` with Claude Code's built-in
|
|
494
|
-
* subagents filtered out. Empty when none are configured, in which case the
|
|
495
|
-
* "agent" config option is omitted entirely. */
|
|
496
|
-
agents: AgentInfo[];
|
|
497
|
-
/** The currently selected main-thread agent name, or "default" for the
|
|
498
|
-
* standard Claude Code agent (no `agent` flag applied). */
|
|
499
|
-
currentAgent: string;
|
|
500
|
-
/** Whether Fast mode is currently enabled for this session. Tracked as the
|
|
501
|
-
* user's intent so it persists across model switches; the Fast mode config
|
|
502
|
-
* option is only surfaced while the selected model supports it. */
|
|
503
|
-
fastModeEnabled: boolean;
|
|
504
|
-
/** Whether ultracode is turned on for this session. Tracked as the user's
|
|
505
|
-
* intent, like `fastModeEnabled`: the CLI keeps the request across model
|
|
506
|
-
* switches and applies it whenever the model supports ultracode, while the
|
|
507
|
-
* config option is only surfaced on supporting models. */
|
|
508
|
-
ultracodeEnabled: boolean;
|
|
509
|
-
/** Whether dynamic workflows are enabled, learned from the CLI's
|
|
510
|
-
* `get_settings` at session start; undefined when unknown. Combined with
|
|
511
|
-
* the model's support to decide whether to show the ultracode option. */
|
|
512
|
-
ultracodeWorkflowsEnabled?: boolean;
|
|
513
|
-
/** The non-default effort the user picked through the ACP picker this
|
|
514
|
-
* session. A pin lives at the SDK's flag layer, which overrides the CLI's
|
|
515
|
-
* persisted effort (including the per-model `modelSettings` entries), so it
|
|
516
|
-
* follows the session across model switches. Without a pin, opted-in clients
|
|
517
|
-
* apply the settings-derived effort or concrete recommendation on each switch;
|
|
518
|
-
* legacy clients leave resolution to the CLI. Cleared when the
|
|
519
|
-
* user picks "Default" (the flag layer is cleared with it) or when a model
|
|
520
|
-
* switch clamps the pin away. */
|
|
521
|
-
effortPinnedLevel?: string;
|
|
522
|
-
/** Last concrete effort successfully written to the SDK flag layer. This is
|
|
523
|
-
* independent of user ownership: opted-in clients also apply automatic
|
|
524
|
-
* recommendations and settings-derived values. */
|
|
525
|
-
appliedEffortLevel?: string;
|
|
526
|
-
/** Why the SDK currently can't serve Fast mode, when the reason is one worth
|
|
527
|
-
* telling the user about (see {@link FAST_MODE_UNAVAILABLE_EXPLANATIONS} —
|
|
528
|
-
* routine states like the SDK's own opt-in requirement normalize to
|
|
529
|
-
* `undefined`). Refreshed from every `fast_mode_disabled_reason` the SDK
|
|
530
|
-
* reports on `system`/init and user-turn `result`s; surfaced in the Fast mode
|
|
531
|
-
* option's description so a toggle that snaps back off explains itself. */
|
|
532
|
-
fastModeDisabledReason?: FastModeDisabledReason;
|
|
533
|
-
abortController: AbortController;
|
|
534
|
-
/** Signal the consumer races `query.next()` against. Aborted by cancel()
|
|
535
|
-
* (after a grace period) to force the active turn to settle "cancelled" when
|
|
536
|
-
* the SDK is wedged and `query.next()` never yields again (issue #680).
|
|
537
|
-
* Distinct from `abortController`: this only wakes the consumer; it does NOT
|
|
538
|
-
* touch the SDK query/subprocess. The consumer re-arms it after each fire.
|
|
539
|
-
* Undefined until the consumer is started by the first prompt. */
|
|
540
|
-
cancelController?: AbortController;
|
|
541
|
-
/** Pending grace-period timer that aborts `cancelController`. Cleared when the
|
|
542
|
-
* active turn settles normally so the backstop never fires after a clean
|
|
543
|
-
* cancel. */
|
|
544
|
-
forceCancelTimer?: ReturnType<typeof setTimeout>;
|
|
545
|
-
emitRawSDKMessages: boolean | SDKMessageFilter[];
|
|
546
|
-
/** Whether nested subagent text/thinking is forwarded to the ACP client.
|
|
547
|
-
* Enabled by either the ACP capability or the pre-existing SDK option. */
|
|
548
|
-
forwardSubagentText: boolean;
|
|
549
|
-
/** The ACP permission and elicitation requests that await user input.
|
|
550
|
-
* Parallel subagents can ask concurrently. Steering stays non-interrupting
|
|
551
|
-
* while any request is open; the foreground work awaits the user while one
|
|
552
|
-
* that blocks it is open (see {@link blocksForeground}). */
|
|
553
|
-
openUserInputs?: Set<OpenUserInput>;
|
|
554
|
-
/** Context window size of the session's current model, carried across
|
|
555
|
-
* prompts so mid-stream usage_update notifications report a correct `size`
|
|
556
|
-
* before the turn's first result message arrives. Seeded synchronously at
|
|
557
|
-
* session creation and on model switches from the per-model cache or the
|
|
558
|
-
* text heuristic (DEFAULT_CONTEXT_WINDOW when both miss), refined by a
|
|
559
|
-
* background `getContextUsage` when that seed was a guess (see
|
|
560
|
-
* `refreshContextWindowInBackground`), then confirmed — and the cache
|
|
561
|
-
* populated — by each result's modelUsage. No awaited IPC is on these
|
|
562
|
-
* paths (see the seeding call sites and `contextWindowCache`). */
|
|
563
|
-
contextWindowSize: number;
|
|
564
|
-
contextUsedTokens?: number;
|
|
565
|
-
/** Whether `contextWindowSize` came from an authoritative source (the
|
|
566
|
-
* cross-session cache, a `result.modelUsage`, or the background
|
|
567
|
-
* `getContextUsage`) rather than the text heuristic / default. Guards the
|
|
568
|
-
* mid-stream `message_start` heuristic upgrade: an authoritative window that
|
|
569
|
-
* happens to equal DEFAULT_CONTEXT_WINDOW must not be mistaken for "unseeded"
|
|
570
|
-
* and clobbered by a "1m" text match. */
|
|
571
|
-
contextWindowAuthoritative: boolean;
|
|
572
|
-
/** Stable identifier of the LLM backend this session's query was created
|
|
573
|
-
* against, derived from the routing-relevant vars of the exact `env` handed
|
|
574
|
-
* to the SDK at query creation (see {@link providerCacheKeyFor}). The context
|
|
575
|
-
* window is a property of (model id, backend) — the same resolved model id
|
|
576
|
-
* can name different windows behind different base URLs, routing headers, or
|
|
577
|
-
* credentials — so this scopes the module-global `contextWindowCache` per
|
|
578
|
-
* backend. Captured from the query's own env (not re-resolved later) because
|
|
579
|
-
* the process-wide provider config can change while a session is being
|
|
580
|
-
* created, while the query stays baked to the env it was created with. */
|
|
581
|
-
providerCacheKey: string;
|
|
582
|
-
/** Accumulated task list for the session, keyed by task ID. Task IDs are
|
|
583
|
-
* per-session, so this state must not be shared across sessions. */
|
|
584
|
-
taskState: TaskState;
|
|
585
|
-
/** Caches `tool_use` blocks by id so the matching `tool_result` can recover
|
|
586
|
-
* the tool name/input when mapping it to a `tool_call_update`. Per-session
|
|
587
|
-
* (tool_use ids are only unique within a session) and pruned at
|
|
588
|
-
* `tool_result` time so a long-running session doesn't accumulate every
|
|
589
|
-
* tool call for its whole lifetime. */
|
|
590
|
-
toolUseCache: ToolUseCache;
|
|
591
|
-
/** Tracks which tool_use ids we've already emitted a `tool_call` for, so the
|
|
592
|
-
* second source to encounter a tool call sends a `tool_call_update` instead
|
|
593
|
-
* of a duplicate `tool_call`. The SDK can invoke `canUseTool` (→ a permission
|
|
594
|
-
* request, which emits the tool_call eagerly so the client has it before
|
|
595
|
-
* being asked to approve it) either before or after the assistant message's
|
|
596
|
-
* tool_use block streams; this set makes the two paths converge regardless of
|
|
597
|
-
* order. Pruned at `tool_result` time alongside `toolUseCache`. */
|
|
598
|
-
emittedToolCalls: Set<string>;
|
|
599
|
-
/** The tool names of the tool uses whose result arrived, after
|
|
600
|
-
* {@link toolUseCache} dropped them. An async task can name its tool call
|
|
601
|
-
* after the result, and the async task runtime needs the tool name. The
|
|
602
|
-
* oldest entries are dropped. */
|
|
603
|
-
resolvedToolNames?: Map<string, string>;
|
|
604
|
-
/** The open tool calls that Claude Code sent to the tool runner: a complete
|
|
605
|
-
* assistant message holds their `tool_use`, or a permission request asked
|
|
606
|
-
* for them. A streamed tool_use that never reached a complete message is
|
|
607
|
-
* not here: Claude abandoned it before it ran. Pruned when the call ends;
|
|
608
|
-
* the oldest entries are dropped. */
|
|
609
|
-
dispatchedToolCalls?: Set<string>;
|
|
610
|
-
/** The tool uses that the consumer reached in the stream, each with whether
|
|
611
|
-
* it dropped it as output of the work a cancel stopped (`true`, see
|
|
612
|
-
* `dropsStoppedWorkOutput`). The first sight of a tool use decides: its
|
|
613
|
-
* streamed start, or its complete message. `canUseTool` and the v2 preview
|
|
614
|
-
* hook read it (see `isStoppedWorkToolUse`). The oldest entries are
|
|
615
|
-
* dropped. */
|
|
616
|
-
reachedToolUses?: Map<string, boolean>;
|
|
617
|
-
/** What waits for the consumer to reach each tool use (see
|
|
618
|
-
* `isStoppedWorkToolUse`). */
|
|
619
|
-
toolUseWaiters?: Map<string, Set<() => void>>;
|
|
620
|
-
/** For each open tool call that a subagent made: the Agent/Task call that
|
|
621
|
-
* started that subagent. When a cancel ends such a call, the report names
|
|
622
|
-
* that parent as the call's other updates do, so that every client form
|
|
623
|
-
* routes it with them. It also tells the calls of a background subagent,
|
|
624
|
-
* which a cancel leaves open while the subagent keeps running. Pruned when
|
|
625
|
-
* the call ends; the oldest entries are dropped. */
|
|
626
|
-
toolCallParents?: Map<string, string>;
|
|
627
|
-
/** The fields that the client holds for each open tool call, so that a
|
|
628
|
-
* `tool_call_update` resends only the fields that changed. Created lazily
|
|
629
|
-
* by {@link toolCallFieldsOf}. */
|
|
630
|
-
toolCallFields?: ToolCallFieldTracker;
|
|
631
|
-
/** ACP session affinity for calls emitted eagerly by permission handling. */
|
|
632
|
-
eagerToolCallSessions?: Map<string, string>;
|
|
633
|
-
/** ExitPlanMode denial that intentionally interrupts the current Claude
|
|
634
|
-
* cycle. Correlated by tool-use id until the terminal result arrives. */
|
|
635
|
-
pendingExitPlanModeInterruption?: {
|
|
636
|
-
toolUseId: string;
|
|
637
|
-
toolResultSeen: boolean;
|
|
638
|
-
};
|
|
639
|
-
pendingExitPlanContextReset?: {
|
|
640
|
-
toolUseId: string;
|
|
641
|
-
plan: string;
|
|
642
|
-
mode: PermissionMode;
|
|
643
|
-
};
|
|
644
|
-
/** Registry of live background tasks, keyed by task id: populated at
|
|
645
|
-
* `task_started`, pruned when the task settles (a `task_notification` or
|
|
646
|
-
* a terminal `task_updated` patch), and reconciled against
|
|
647
|
-
* `background_tasks_changed`'s replace-semantics payload so a lost
|
|
648
|
-
* bookend can't leak an entry. One structure for both of its concerns so
|
|
649
|
-
* a future terminal path can't prune one and not the other:
|
|
650
|
-
*
|
|
651
|
-
* `parentToolUseId` — the tool_use id of the Agent/Task call that spawned
|
|
652
|
-
* the task. For subagent tasks the SDK keys its registry by agent id, so
|
|
653
|
-
* `task_started.task_id` IS the `agentID` that `canUseTool` later
|
|
654
|
-
* receives. Lets the permission flow attribute a subagent's
|
|
655
|
-
* eagerly-emitted `tool_call` (and the permission request itself) to its
|
|
656
|
-
* parent tool call via `_meta.claudeCode.parentToolUseId`, matching the
|
|
657
|
-
* streamed subagent path. Best-effort: a `canUseTool` that races ahead of
|
|
658
|
-
* the consumer processing `task_started` omits the attribution from the
|
|
659
|
-
* eager tool_call, and the streamed tool_use chunk's refining
|
|
660
|
-
* `tool_call_update` — which carries the message-level
|
|
661
|
-
* `parent_tool_use_id` — restores it for merging clients; that recovery
|
|
662
|
-
* is what makes best-effort acceptable here.
|
|
663
|
-
*
|
|
664
|
-
* `isSubagent` — whether the task is a Task/Agent-tool subagent
|
|
665
|
-
* (`task_started` carried a `subagent_type`). Read by
|
|
666
|
-
* `turnAwaitingSubagents` (with `spawnedTaskIds`) to decide whether a
|
|
667
|
-
* turn's settlement is deferred (see `Turn.deferredSettle`), so the
|
|
668
|
-
* subagents' post-result output and permission requests stay inside the
|
|
669
|
-
* turn (issues #864/#866). A client with `backgroundSubagents` gets no
|
|
670
|
-
* such hold. Its subagent requests keep this attribution after the
|
|
671
|
-
* prompt response. Deliberately false for non-subagent background
|
|
672
|
-
* tasks (e.g. a `run_in_background` dev server): those can outlive every
|
|
673
|
-
* turn, and the model's contract with them is a wake-on-exit
|
|
674
|
-
* notification, not a turn-scoped drain — a hold must NEVER wait on a
|
|
675
|
-
* shell.
|
|
676
|
-
*
|
|
677
|
-
* `endedPerLevel` — a `background_tasks_changed` payload did not include
|
|
678
|
-
* this subagent entry. The level's universe is BACKGROUND tasks only, so
|
|
679
|
-
* a live sync (foreground) subagent is legitimately absent — its entry is
|
|
680
|
-
* kept for permission attribution — but a hold must stop waiting on the
|
|
681
|
-
* id: an absent id can equally be a leaked async entry whose settle
|
|
682
|
-
* bookends were lost, and waiting on it would park the hold forever.
|
|
683
|
-
* Non-subagent entries are simply deleted instead (shells are always in
|
|
684
|
-
* the level's universe). */
|
|
685
|
-
liveBackgroundTasks: Map<string, {
|
|
686
|
-
parentToolUseId?: string;
|
|
687
|
-
isSubagent: boolean;
|
|
688
|
-
/** The task's kind (`task_started.task_type`), such as `local_bash` or
|
|
689
|
-
* `local_workflow`. Absent when Claude Code did not say. */
|
|
690
|
-
taskType?: string;
|
|
691
|
-
/** Whether the task runs in the background, so that the tool call that
|
|
692
|
-
* spawned it does not wait on it (`task_started.is_backgrounded`, or a
|
|
693
|
-
* later `task_updated` patch). Absent when Claude Code did not say. */
|
|
694
|
-
backgrounded?: boolean;
|
|
695
|
-
/** The subagent task whose agent launched this task
|
|
696
|
-
* (`task_started.parent_task_id`), absent for one the main conversation
|
|
697
|
-
* launched. */
|
|
698
|
-
parentTaskId?: string;
|
|
699
|
-
/** Absent-from-level lifecycle, one field so the illegal
|
|
700
|
-
* armed-but-not-ended state is unrepresentable: undefined = live per
|
|
701
|
-
* the level signal; "ended" = a level omitted the task (holds stop
|
|
702
|
-
* waiting on it; attribution is kept); "sweep-armed" = a turn
|
|
703
|
-
* activation saw it ended — the NEXT activation deletes it. The
|
|
704
|
-
* one-activation grace exists for the absent-mark race (a level
|
|
705
|
-
* payload built before a live async agent's registration): a
|
|
706
|
-
* corrective inclusive level resets the field to undefined — one
|
|
707
|
-
* assignment, disarming any in-flight sweep — if it arrives within a
|
|
708
|
-
* full turn, keeping the agent's attribution; eager deletion would
|
|
709
|
-
* be irreversible, since levels never ADD entries. A re-mark
|
|
710
|
-
* preserves an in-flight arm (`??=`), keeping a continuously absent
|
|
711
|
-
* entry on its two-activation clock. */
|
|
712
|
-
endedPerLevel?: "ended" | "sweep-armed";
|
|
713
|
-
}>;
|
|
714
|
-
/** Whether `session/cancel` also stops the session's background workflows
|
|
715
|
-
* (see `stopBackgroundWorkflows`). Claude Code's interrupt kills background
|
|
716
|
-
* subagents and workflows, unless the query declares
|
|
717
|
-
* `perTaskStopAffordance`: then it spares both, and the client is expected
|
|
718
|
-
* to stop each one itself. A client that can cancel one subagent gets the
|
|
719
|
-
* declaration, but it has no control for a workflow unless it is AIR with
|
|
720
|
-
* `asyncTasks` (`_session/async_task/stop`). So for such a client the
|
|
721
|
-
* adapter stops the workflows after the interrupt, as the interrupt did
|
|
722
|
-
* before. */
|
|
723
|
-
stopsWorkflowsOnCancel?: boolean;
|
|
724
|
-
/** The display terminals of the commands that went to the background and
|
|
725
|
-
* still run, by the id of the command's task: the Bash tool call whose
|
|
726
|
-
* terminal it is, and the subagent tool call that ran it, if any. The
|
|
727
|
-
* terminal exits when the task ends, not at the tool result (see
|
|
728
|
-
* `withRunningTerminal`). Only for a client that renders terminals and is
|
|
729
|
-
* not AIR, which shows the command through its async tasks. */
|
|
730
|
-
backgroundTerminals?: Map<string, {
|
|
731
|
-
toolCallId: string;
|
|
732
|
-
parentToolUseId?: string;
|
|
733
|
-
}>;
|
|
734
|
-
/** The parent tool call of each subagent that a settle bookend removed from
|
|
735
|
-
* `liveBackgroundTasks`. The SDK can resume such a subagent under the same
|
|
736
|
-
* agent id without a new `task_started` (a running `task_updated` patch or
|
|
737
|
-
* a SendMessage `resumedAgentId`). The resume signal puts the subagent back
|
|
738
|
-
* into `liveBackgroundTasks` from this record, so the resuming turn holds
|
|
739
|
-
* and its permission requests keep their attribution. With
|
|
740
|
-
* `backgroundSubagents` the resuming turn does not hold, and the
|
|
741
|
-
* attribution stays the same. Bounded by
|
|
742
|
-
* `MAX_RESUMABLE_SUBAGENTS`, oldest first. */
|
|
743
|
-
resumableSubagents?: Map<string, {
|
|
744
|
-
parentToolUseId?: string;
|
|
745
|
-
}>;
|
|
746
|
-
/** The latest `run_id` seen on each task's events, so a late frame of an
|
|
747
|
-
* earlier run is dropped (see `isLateTaskRun`). Run ids are per CLI
|
|
748
|
-
* process, as is a session. Bounded by `MAX_TASK_RUN_IDS`, oldest first. */
|
|
749
|
-
taskRunIds?: Map<string, string>;
|
|
750
|
-
/** Native ACP subagent sessions negotiated through PR #1992. Records are
|
|
751
|
-
* retained for the parent session lifetime so late child output cannot be
|
|
752
|
-
* rebound to another task after the SDK prunes its live-task registry. */
|
|
753
|
-
nativeSubagentsByTaskId?: Map<string, NativeSubagent>;
|
|
754
|
-
/** Resolves the spawning Agent/Task tool use carried by child messages to
|
|
755
|
-
* the corresponding native ACP child session. */
|
|
756
|
-
nativeSubagentTaskIdByToolUseId?: Map<string, string>;
|
|
757
|
-
/** Captures the ACP session in which an Agent/Task tool call was made. This
|
|
758
|
-
* supplies the immediate parent for nested `task_started` notifications.
|
|
759
|
-
* Their `parent_task_id` (SDK 0.3.292+) names the launching subagent too;
|
|
760
|
-
* only {@link blocksForeground} reads it so far. */
|
|
761
|
-
nativeSubagentParentByToolUseId?: Map<string, string>;
|
|
762
|
-
/** Session-owned lifecycle controller shared by the consumer, cancel, reset,
|
|
763
|
-
* and teardown paths. */
|
|
764
|
-
nativeSubagentRuntime?: NativeSubagentRuntime;
|
|
765
|
-
/** Child-aware delivery closure paired with {@link nativeSubagentRuntime}. */
|
|
766
|
-
nativeSubagentDeliver?: (notification: AcpSessionNotification) => Promise<void>;
|
|
767
|
-
/** The consumer's `closeCancelledToolCalls`, for `cancelTurns`, which settles
|
|
768
|
-
* a held or settling turn itself. */
|
|
769
|
-
closeCancelledToolCalls?: (turn: Turn) => Promise<void>;
|
|
770
|
-
/** Session-owned async task controller. Prompt cancellation intentionally
|
|
771
|
-
* does not finish it because background work may outlive a prompt. */
|
|
772
|
-
asyncTaskRuntime?: AsyncTaskRuntime;
|
|
773
|
-
/** The consumer's compaction lifecycle, exposed so the PostCompact hook can
|
|
774
|
-
* hand it the retained summary. */
|
|
775
|
-
contextCompaction?: ContextCompactionLifecycle;
|
|
776
|
-
/** Whether any top-level assistant text reached the client since the last
|
|
777
|
-
* stretch boundary. Set as a side effect of sending in the consumer's
|
|
778
|
-
* `sendUpdate`, never at an emission site; read at the terminal `result`
|
|
779
|
-
* to tell a turn whose answer was already delivered from one that only
|
|
780
|
-
* ever carried it on `result` (issue #453). Session-level (not
|
|
781
|
-
* consumer-scoped) so cancel()'s inline settle can clear it.
|
|
782
|
-
*
|
|
783
|
-
* The CURRENT boundary set — a new clear site must be added here: the
|
|
784
|
-
* result case's `finally` (user-turn results), settleActive's wasHeld
|
|
785
|
-
* clear (every held-turn settle lane: drain settle, both hand-offs,
|
|
786
|
-
* stream-done), failActive, the force-cancel backstop, the idle
|
|
787
|
-
* cancelled-settle, the autonomous-result close (only with no turn
|
|
788
|
-
* active OR queued — see its queued-turn guard), and cancel()'s inline
|
|
789
|
-
* mirror.
|
|
790
|
-
*
|
|
791
|
-
* Deliberately NOT reset on turn activation: activation can fire
|
|
792
|
-
* mid-message (see the echo hand-off), so a flag cleared there would
|
|
793
|
-
* forget text that already streamed and the result text would be emitted
|
|
794
|
-
* a second time. Neither the consolidated `assistant` message nor a
|
|
795
|
-
* `stream_event` carries `origin`, so an autonomous cycle's prose is
|
|
796
|
-
* indistinguishable from a user turn's here and sets the flag too; the
|
|
797
|
-
* autonomous-result close normally ends that stretch so a replayed
|
|
798
|
-
* prompt behind it still delivers, and only in the racing window (a
|
|
799
|
-
* turn already active or queued when the autonomous result lands) does
|
|
800
|
-
* the replayed turn stay silent rather than risk a duplicate. */
|
|
801
|
-
emittedAssistantText: boolean;
|
|
802
|
-
/** The most recent `session_state_changed` state the consumer processed.
|
|
803
|
-
* Read by cancel() to decide whether the interrupt will produce a
|
|
804
|
-
* trailing idle worth pre-counting: interrupting a RUNNING cycle yields
|
|
805
|
-
* one; interrupting an already-idle session (the common held-turn shape)
|
|
806
|
-
* yields none, and a pre-counted debt that never drains would mask one
|
|
807
|
-
* future issue-#825 detection. */
|
|
808
|
-
lastSessionState?: "idle" | "running" | "requires_action";
|
|
809
|
-
/** How many trailing `session_state_changed: idle` messages are already
|
|
810
|
-
* accounted for: every result is followed by one (user-turn results that
|
|
811
|
-
* terminate a turn — settle, reject, or orphan skip — and autonomous
|
|
812
|
-
* cycles alike), as is a cancelled turn settled by the next turn's echo
|
|
813
|
-
* hand-off or by cancel()'s inline settle of a held turn whose interrupt
|
|
814
|
-
* pre-empts a running cycle — the reason this lives on the Session:
|
|
815
|
-
* cancel() must be able to record the debt. The idle handler absorbs
|
|
816
|
-
* owed idles; an idle that arrives when NONE is owed while the active
|
|
817
|
-
* turn is still unsettled means the SDK ended the turn without ever
|
|
818
|
-
* emitting its result, so the turn will never settle on its own (issue
|
|
819
|
-
* #825). Stream-level debt, deliberately NOT reset per turn: a lagged
|
|
820
|
-
* idle can arrive after the next turn has already activated (issue
|
|
821
|
-
* #773), and the debt is what attributes it to the turn that owed it.
|
|
822
|
-
* Over-counting (an idle the SDK never emits) is benign: the counter
|
|
823
|
-
* just absorbs one future idle, and detection degrades to the status quo
|
|
824
|
-
* rather than misfiring. */
|
|
825
|
-
owedTrailingIdles: number;
|
|
826
|
-
/** Maps the ACP `messageId` we expose to clients (see `messageIdForGrouping`)
|
|
827
|
-
* to the SDK message uuid that the Agent SDK's rewind/resume APIs key on
|
|
828
|
-
* (`Query.rewindFiles` takes a user-message uuid; `resumeSessionAt` takes an
|
|
829
|
-
* `SDKAssistantMessage.uuid`). For assistant turns the two differ — the ACP
|
|
830
|
-
* id is the Anthropic API message id (`msg_…`), available at `message_start`
|
|
831
|
-
* so streamed chunks can carry it, while the uuid only arrives on the
|
|
832
|
-
* consolidated message — so a client can only ask to rewind/fork by the id it
|
|
833
|
-
* was given, and we need this table to translate it back.
|
|
834
|
-
*
|
|
835
|
-
* Populated as a byproduct of the message loop (the consolidated message
|
|
836
|
-
* carries both ids) and of `replaySessionHistory` on load, so no extra
|
|
837
|
-
* `getSessionMessages` read is needed at rewind time. Last-write-wins
|
|
838
|
-
* naturally yields the turn-boundary uuid when one `msg_…` spans several
|
|
839
|
-
* content-block messages.
|
|
840
|
-
*
|
|
841
|
-
* `unstable_forkSession` reads it to find the fork point without a read of
|
|
842
|
-
* the transcript. The map lives until the session closes. */
|
|
843
|
-
messageIdToUuid: Map<string, string>;
|
|
844
|
-
/** Durable-for-this-consumer failure state shared with session/load replay.
|
|
845
|
-
* Keeping it on the Session lets replay seed a failure that the persistent
|
|
846
|
-
* consumer can later clear with the same id and a higher revision. */
|
|
847
|
-
sessionFailureState: SessionFailureState;
|
|
848
|
-
/** State of the `--hide-claude-auth` subscription guard for this session.
|
|
849
|
-
* Built on the first guarded turn; most sessions never need it. */
|
|
850
|
-
claudeSubscriptionGuard?: ClaudeSubscriptionGuardState;
|
|
851
|
-
/** Identity kind of the account this session was created on. The CLI probe
|
|
852
|
-
* compares its own read against it to notice that the credential behind the
|
|
853
|
-
* cached account was swapped. Undefined when the account carried no
|
|
854
|
-
* identity signal, which is "nothing to compare", not a match. */
|
|
855
|
-
accountKind?: AuthStatusKind;
|
|
856
|
-
/** Set under `--hide-claude-auth` when the CLI reported a sign-out during
|
|
857
|
-
* this session. The query is closed and the account it cached at
|
|
858
|
-
* `initialize` now describes a credential that no longer works, so the next
|
|
859
|
-
* turn recreates the query before it runs. */
|
|
860
|
-
needsSignOutRespawn?: boolean;
|
|
861
|
-
/** The in-flight recreation, so turns that arrive together share one. */
|
|
862
|
-
signOutRespawn?: Promise<void>;
|
|
863
|
-
} & sessionIndex.SessionIndexFields;
|
|
864
|
-
/** Compute a stable fingerprint of the session-defining params so we can
|
|
865
|
-
* detect when a loadSession/resumeSession call requires tearing down and
|
|
866
|
-
* recreating the underlying Query process. Every option classified in
|
|
867
|
-
* {@link OPTION_REBUILDS_SESSION} is covered, so a warm resume never silently
|
|
868
|
-
* keeps stale values. MCP servers are sorted by name, and skills are
|
|
869
|
-
* normalized as a set, so ordering differences don't trigger unnecessary
|
|
870
|
-
* recreations. */
|
|
871
|
-
export declare function computeSessionFingerprint(params: {
|
|
872
|
-
cwd: string;
|
|
873
|
-
mcpServers?: NewSessionRequest["mcpServers"];
|
|
874
|
-
additionalDirectories?: NewSessionRequest["additionalDirectories"];
|
|
875
|
-
systemPrompt?: NewSessionRequest["systemPrompt"];
|
|
876
|
-
_meta?: NewSessionRequest["_meta"];
|
|
877
|
-
}): string;
|
|
878
|
-
export type SDKMessageFilter = {
|
|
879
|
-
type: string;
|
|
880
|
-
subtype?: string;
|
|
881
|
-
origin?: SDKMessageOrigin["kind"];
|
|
882
|
-
};
|
|
883
|
-
/**
|
|
884
|
-
* Extra metadata that can be given when creating a new session.
|
|
885
|
-
*/
|
|
886
|
-
export type NewSessionMeta = {
|
|
887
|
-
claudeCode?: {
|
|
888
|
-
/**
|
|
889
|
-
* Options forwarded to Claude Code when starting a new session.
|
|
890
|
-
* Those parameters will be ignored and managed by ACP:
|
|
891
|
-
* - cwd
|
|
892
|
-
* - includePartialMessages
|
|
893
|
-
* - permissionMode
|
|
894
|
-
* - canUseTool
|
|
895
|
-
* - executable
|
|
896
|
-
* Those parameters will be used and updated to work with ACP:
|
|
897
|
-
* - hooks (merged with ACP's hooks)
|
|
898
|
-
* - mcpServers (merged with ACP's mcpServers)
|
|
899
|
-
* - disallowedTools (merged with ACP's disallowedTools)
|
|
900
|
-
* - tools (passed through; defaults to claude_code preset if not provided)
|
|
901
|
-
* - allowDangerouslySkipPermissions (set to `false` to remove bypassPermissions
|
|
902
|
-
* from this session; repeat it on session/load. `true` cannot override root)
|
|
903
|
-
*/
|
|
904
|
-
options?: Options;
|
|
905
|
-
/**
|
|
906
|
-
* When set, raw SDK messages are emitted as extNotification("_claude/sdkMessage", message)
|
|
907
|
-
* in addition to normal processing.
|
|
908
|
-
* - true: emit all messages
|
|
909
|
-
* - false/undefined: emit nothing (default)
|
|
910
|
-
* - SDKMessageFilter[]: emit only messages matching at least one filter
|
|
911
|
-
*/
|
|
912
|
-
emitRawSDKMessages?: boolean | SDKMessageFilter[];
|
|
913
|
-
};
|
|
914
|
-
additionalRoots?: string[];
|
|
915
|
-
};
|
|
916
|
-
/**
|
|
917
|
-
* Extra metadata for 'gateway' authentication requests.
|
|
918
|
-
*/
|
|
919
|
-
type GatewayAuthMeta = {
|
|
920
|
-
/**
|
|
921
|
-
* These parameters are mapped to environment variables to:
|
|
922
|
-
* - Redirect API calls via baseUrl
|
|
923
|
-
* - Inject custom headers
|
|
924
|
-
* - Bypass the default Claude login requirement
|
|
925
|
-
*
|
|
926
|
-
* Both members are optional in the type because the payload arrives
|
|
927
|
-
* unvalidated from the client. `authenticate` rejects a request that lacks a
|
|
928
|
-
* usable `baseUrl`.
|
|
929
|
-
*/
|
|
930
|
-
gateway?: {
|
|
931
|
-
baseUrl?: string;
|
|
932
|
-
headers?: Record<string, string>;
|
|
933
|
-
};
|
|
934
|
-
};
|
|
935
|
-
type GatewayAuthRequest = AuthenticateRequest & {
|
|
936
|
-
_meta?: GatewayAuthMeta;
|
|
937
|
-
};
|
|
938
|
-
/**
|
|
939
|
-
* Resolved, non-secret + secret routing config for the `main` provider. This is
|
|
940
|
-
* the shared shape produced by both `providers/set` and the legacy gateway auth
|
|
941
|
-
* path, and consumed by {@link createEnvForProvider}. `null` means the provider
|
|
942
|
-
* is unconfigured (no client-managed routing in effect).
|
|
943
|
-
*/
|
|
944
|
-
type ProviderConfig = {
|
|
945
|
-
apiType: LlmProtocol;
|
|
946
|
-
baseUrl: string;
|
|
947
|
-
headers: Record<string, string>;
|
|
948
|
-
/** Present only for `apiType === "vertex"`. */
|
|
949
|
-
vertex?: {
|
|
950
|
-
projectId: string;
|
|
951
|
-
region: string;
|
|
952
|
-
};
|
|
953
|
-
/**
|
|
954
|
-
* Model ids an `anthropic` or `bedrock` gateway listed when it was set via
|
|
955
|
-
* `providers/set`; the model picker offers only these. Absent when the
|
|
956
|
-
* listing failed or the config came from elsewhere (gateway `authenticate`),
|
|
957
|
-
* so nothing is narrowed.
|
|
958
|
-
*/
|
|
959
|
-
listedModels?: string[];
|
|
960
|
-
/**
|
|
961
|
-
* The cross-region prefix of the model ids a `bedrock` gateway
|
|
962
|
-
* listed (`eu` for `eu.anthropic.claude-sonnet-5`), passed to the CLI as
|
|
963
|
-
* `ANTHROPIC_BEDROCK_REGION_PREFIX` so it calls the models under that prefix.
|
|
964
|
-
*/
|
|
965
|
-
bedrockRegionPrefix?: string;
|
|
966
|
-
};
|
|
967
|
-
export type { ToolUpdateMeta } from "./tool-calls/renderer.js";
|
|
968
|
-
export type ToolUseCache = {
|
|
969
|
-
[key: string]: {
|
|
970
|
-
type: "tool_use" | "server_tool_use" | "mcp_tool_use";
|
|
971
|
-
id: string;
|
|
972
|
-
name: string;
|
|
973
|
-
input: unknown;
|
|
974
|
-
};
|
|
975
|
-
};
|
|
976
|
-
type StreamedToolInput = {
|
|
977
|
-
id: string;
|
|
978
|
-
name: string;
|
|
979
|
-
partialJson: string;
|
|
980
|
-
inString: boolean;
|
|
981
|
-
escaped: boolean;
|
|
982
|
-
objectDepth: number;
|
|
983
|
-
arrayDepth: number;
|
|
984
|
-
/** Offset of the most recent comma at the top level of the input object
|
|
985
|
-
* (-1 before the first). Everything before it is a complete field. */
|
|
986
|
-
lastTopLevelComma: number;
|
|
987
|
-
/** The comma offset the last emitted refinement was sliced at (-1 before the
|
|
988
|
-
* first), so a field boundary only triggers one recovery attempt. */
|
|
989
|
-
emittedThroughComma: number;
|
|
990
|
-
};
|
|
991
|
-
export type StreamedToolInputCache = Map<string, Map<number, StreamedToolInput>>;
|
|
992
|
-
export declare function claudeCliPath(): Promise<string>;
|
|
993
|
-
/**
|
|
994
|
-
* Return user-message content with local-command and injected-context marker
|
|
995
|
-
* tags removed, or `null` if nothing meaningful remains (caller should skip
|
|
996
|
-
* the message). Preserves real prose that's mixed in alongside the markers —
|
|
997
|
-
* e.g. a message like `<command-name>…</command-name>hi` becomes `hi`, and
|
|
998
|
-
* `hi<system-reminder>…</system-reminder>` becomes `hi`.
|
|
999
|
-
*/
|
|
1000
|
-
export declare function stripLocalCommandMetadata(content: unknown): unknown | null;
|
|
1001
|
-
export declare function isLocalCommandMetadata(content: unknown): boolean;
|
|
1002
|
-
/**
|
|
1003
|
-
* True for the synthetic assistant message the CLI injects into the transcript
|
|
1004
|
-
* when a turn fails authentication (e.g. "Not logged in · Please run /login",
|
|
1005
|
-
* "Session expired. Please run /login to sign in again."). The `/login`
|
|
1006
|
-
* instruction is Claude Code TUI-specific and meaningless to ACP clients
|
|
1007
|
-
* (issue #863). The live prompt loop suppresses the text and fails the turn
|
|
1008
|
-
* with `authRequired` so the client can run its own auth flow; replay must
|
|
1009
|
-
* skip it too — both for parity with what the client saw live and because the
|
|
1010
|
-
* message stays in the transcript forever, so it would resurface on every
|
|
1011
|
-
* session/load even after the user has logged back in.
|
|
1012
|
-
*
|
|
1013
|
-
* Takes the API message (`message.message`), which replay only knows as
|
|
1014
|
-
* `unknown`. The persisted record's structured `error: "authentication_failed"`
|
|
1015
|
-
* marker is stripped by `getSessionMessages`, so the synthetic model + text is
|
|
1016
|
-
* all both paths have to match on.
|
|
1017
|
-
*/
|
|
1018
|
-
export declare function isSyntheticLoginMessage(apiMessage: unknown): boolean;
|
|
1019
|
-
/**
|
|
1020
|
-
* True for a transcript message delivered to the model from another agent,
|
|
1021
|
-
* session or channel. Since SDK 0.3.284 `getSessionMessages` returns these as
|
|
1022
|
-
* `is_meta` user messages whose content is the full harness framing (envelope
|
|
1023
|
-
* XML plus the "not typed by your user" preamble). The live prompt loop never
|
|
1024
|
-
* renders them, so replay skips them too rather than presenting them as text
|
|
1025
|
-
* the user typed. Other `is_meta` messages (compact summaries) are kept.
|
|
1026
|
-
*
|
|
1027
|
-
* `is_meta` and `origin` are runtime fields not declared on `SessionMessage`.
|
|
1028
|
-
*/
|
|
1029
|
-
export declare function isReplayHiddenMetaMessage(message: unknown): boolean;
|
|
1030
|
-
/**
|
|
1031
|
-
* Client-facing surface the agent calls back into. This is the subset of ACP
|
|
1032
|
-
* client methods the agent actually uses, expressed as a narrow interface so
|
|
1033
|
-
* tests can supply lightweight mocks. In production it is backed by
|
|
1034
|
-
* {@link ClientConnection} over the SDK's typed `AgentContext`.
|
|
1035
|
-
*/
|
|
1036
|
-
export interface AcpClient {
|
|
1037
|
-
sessionUpdate(params: AcpSessionNotification): Promise<void>;
|
|
1038
|
-
/** `signal`, when aborted, sends `$/cancel_request` for the in-flight
|
|
1039
|
-
* permission request so the client can dismiss its prompt (and settle our
|
|
1040
|
-
* await) instead of leaving the dialog open after the turn was cancelled. */
|
|
1041
|
-
requestPermission(params: AcpPermissionRequest, signal?: AbortSignal): Promise<RequestPermissionResponse>;
|
|
1042
|
-
readTextFile(params: ReadTextFileRequest): Promise<ReadTextFileResponse>;
|
|
1043
|
-
writeTextFile(params: WriteTextFileRequest): Promise<WriteTextFileResponse>;
|
|
1044
|
-
/** `signal`, when aborted, sends `$/cancel_request` for the in-flight
|
|
1045
|
-
* elicitation so the client can dismiss its prompt and settle our await. */
|
|
1046
|
-
createElicitation(params: CreateElicitationRequest, signal?: AbortSignal): Promise<CreateElicitationResponse>;
|
|
1047
|
-
completeElicitation(params: CompleteElicitationNotification): Promise<void>;
|
|
1048
|
-
/** Send a custom (extension) notification, e.g. `_claude/sdkMessage`. */
|
|
1049
|
-
extNotification(method: string, params: Record<string, unknown>): Promise<void>;
|
|
1050
|
-
}
|
|
1051
|
-
export declare class ClaudeAcpAgent {
|
|
1052
|
-
sessions: {
|
|
1053
|
-
[key: string]: Session;
|
|
1054
|
-
};
|
|
1055
|
-
client: AcpClient;
|
|
1056
|
-
clientCapabilities?: ClientCapabilities;
|
|
1057
|
-
/** The tool call report choices, read once from {@link clientCapabilities} in `initialize`. */
|
|
1058
|
-
private toolCallCapabilities;
|
|
1059
|
-
logger: Logger;
|
|
1060
|
-
private readonly sessionModes;
|
|
1061
|
-
gatewayAuthRequest?: GatewayAuthRequest;
|
|
1062
|
-
/** Set while ACP overrides the agent's native provider configuration. */
|
|
1063
|
-
providerConfig?: ProviderConfig;
|
|
1064
|
-
/** Serializes provider changes while every open query is recreated between turns. */
|
|
1065
|
-
private providerUpdate;
|
|
1066
|
-
private readonly exitPlan;
|
|
1067
|
-
/** Last auth identity reported to the client, connection-scoped like
|
|
1068
|
-
* `authenticate`/`logout`. Undefined means "not determined yet". */
|
|
1069
|
-
currentAuthStatus?: AuthStatus;
|
|
1070
|
-
private authStatusSettings?;
|
|
1071
|
-
private authStatusHelper?;
|
|
1072
|
-
/** In-flight `claude auth status --json` probe, shared by every caller so
|
|
1073
|
-
* a concurrent `initialize` and start-of-prompt read never spawn two CLI
|
|
1074
|
-
* processes. */
|
|
1075
|
-
private cliAuthProbe;
|
|
1076
|
-
/** Counts auth-affecting events (`authenticate`, `logout`) on this
|
|
1077
|
-
* connection. A probe records it at start and publishes only if it has not
|
|
1078
|
-
* moved, so a slow read can never overwrite a newer login or logout. */
|
|
1079
|
-
private authEpoch;
|
|
1080
|
-
/** Keeps the "session account told us nothing" note to one line per process
|
|
1081
|
-
* instead of one per session. */
|
|
1082
|
-
private loggedUninformativeAccount;
|
|
1083
|
-
/** Same, for the "client provider override active" note. */
|
|
1084
|
-
private loggedOverriddenAccount;
|
|
1085
|
-
/** Same, for the "the CLI probe timed out" warning: a wedged CLI stays wedged
|
|
1086
|
-
* and would otherwise warn once per probe, i.e. once per user prompt. */
|
|
1087
|
-
private loggedProbeTimeout;
|
|
1088
|
-
/** Grace period before a `session/cancel` forces a wedged prompt loop to
|
|
1089
|
-
* return "cancelled". See {@link DEFAULT_FORCE_CANCEL_GRACE_MS}. Mutable so
|
|
1090
|
-
* tests can shrink it. */
|
|
1091
|
-
forceCancelGraceMs: number;
|
|
1092
|
-
/** How long `canUseTool` or a hook waits for the consumer to reach a tool
|
|
1093
|
-
* use (see `isStoppedWorkToolUse`). Mutable so tests can shrink it. */
|
|
1094
|
-
toolUseWaitMs: number;
|
|
1095
|
-
/**
|
|
1096
|
-
* The connection serves ACP v2 (`src/v2/`). The agent still speaks v1
|
|
1097
|
-
* types, except for the tool call content that v2 needs and v1 cannot
|
|
1098
|
-
* express: see {@link ToolCallClientCapabilities.v2}.
|
|
1099
|
-
*/
|
|
1100
|
-
private readonly v2;
|
|
1101
|
-
/**
|
|
1102
|
-
* The subagent replay of each session's last load, until
|
|
1103
|
-
* {@link publishCurrentSubagentStates} sends its children's current states.
|
|
1104
|
-
*/
|
|
1105
|
-
private readonly replayedSubagents;
|
|
1106
|
-
/**
|
|
1107
|
-
* AIR's draft: the model that the last load of each session replayed to each
|
|
1108
|
-
* child session, as the model id and the entry that went out. See
|
|
1109
|
-
* {@link publishReplayedChildModels}.
|
|
1110
|
-
*/
|
|
1111
|
-
private readonly replayedChildModels;
|
|
1112
|
-
/** See the `foreground` constructor option. */
|
|
1113
|
-
private readonly foregroundEvents?;
|
|
1114
|
-
/**
|
|
1115
|
-
* The foreground work of each session while it runs, by the session id that
|
|
1116
|
-
* the client knows, on every connection: only the `foreground` option
|
|
1117
|
-
* reports it. A clear-context restart replaces the Claude Code session
|
|
1118
|
-
* behind that id and moves the running turn to it, so the work belongs to the
|
|
1119
|
-
* id, not to a {@link Session}.
|
|
1120
|
-
*/
|
|
1121
|
-
private readonly foregroundWork;
|
|
1122
|
-
/** The session index (docs/air-extensions.md, "Session index"). */
|
|
1123
|
-
private readonly sessionIndex;
|
|
1124
|
-
/**
|
|
1125
|
-
* Whether a turn ends at its result while background subagents that it
|
|
1126
|
-
* spawned or resumed still run. Only an ACP v1 AIR client that declares
|
|
1127
|
-
* `backgroundSubagents` gets this. Every other client keeps the hold of
|
|
1128
|
-
* `Turn.deferredSettle`.
|
|
1129
|
-
*/
|
|
1130
|
-
private endsTurnsWithLiveSubagents;
|
|
1131
|
-
constructor(client: AcpClient, logger?: Logger, options?: {
|
|
1132
|
-
v2?: boolean;
|
|
1133
|
-
/**
|
|
1134
|
-
* Where the agent reports a session's foreground work (see
|
|
1135
|
-
* {@link ForegroundEvents}), called each time work starts in the session
|
|
1136
|
-
* `sessionId`. Without it, nothing reports the work, which the agent
|
|
1137
|
-
* still tracks: a v1 client has no session state, and learns that a turn
|
|
1138
|
-
* ended from its prompt response.
|
|
1139
|
-
*/
|
|
1140
|
-
foreground?: (sessionId: string) => ForegroundEvents;
|
|
1141
|
-
});
|
|
1142
|
-
initialize(request: InitializeRequest): Promise<InitializeResponse>;
|
|
1143
|
-
newSession(params: NewSessionRequest): Promise<NewSessionResponse>;
|
|
1144
|
-
/**
|
|
1145
|
-
* Start the CLI of a loaded session, and replay the history while the CLI
|
|
1146
|
-
* starts. The CLI start takes most of the load time, and the replay needs
|
|
1147
|
-
* only the transcript and the {@link ReplayState}. An invalid `cwd` fails
|
|
1148
|
-
* before the first update. A failed CLI start stops the replay.
|
|
1149
|
-
*/
|
|
1150
|
-
private createSessionWhileReplaying;
|
|
1151
|
-
/**
|
|
1152
|
-
* Copies the session's transcript into a new session, then starts that
|
|
1153
|
-
* session, so the client can prompt it as soon as the response arrives, as
|
|
1154
|
-
* the schema requires of a fork. It starts like a resumed session: from the
|
|
1155
|
-
* copied transcript, with the model and the permission mode it records. A
|
|
1156
|
-
* later load or resume with the same settings reuses it.
|
|
1157
|
-
*/
|
|
1158
|
-
unstable_forkSession(params: ForkSessionRequest): Promise<ForkSessionResponse>;
|
|
1159
|
-
/** Runs `fork`, the handler of a `session/fork` request of `sourceId`,
|
|
1160
|
-
* with its forks held back from the session list (see
|
|
1161
|
-
* {@link sessionIndex.SessionIndexConnection.forking}). */
|
|
1162
|
-
forking<T>(sourceId: string, fork: () => Promise<T>): Promise<T>;
|
|
1163
|
-
resumeSession(params: ResumeSessionRequest): Promise<ResumeSessionResponse>;
|
|
1164
|
-
loadSession(params: LoadSessionRequest): Promise<LoadSessionResponse>;
|
|
1165
|
-
/**
|
|
1166
|
-
* One page of the sessions, newest first. The cursor is the offset of the
|
|
1167
|
-
* page. The SDK then orders the transcripts by their modification time and
|
|
1168
|
-
* reads the start and the end only of the transcripts of the page.
|
|
1169
|
-
*/
|
|
1170
|
-
listSessions(params: ListSessionsRequest): Promise<ListSessionsResponse>;
|
|
1171
|
-
/** A stored session title as this client shows it (see
|
|
1172
|
-
* {@link sessionIndex.SessionIndexConnection.clientTitle}). */
|
|
1173
|
-
clientTitle(title: string): string;
|
|
1174
|
-
/** `_session/list/subscribe`, `_session/list/unsubscribe`, `_session/rename`,
|
|
1175
|
-
* `_session/archive`, `_session/unarchive`. */
|
|
1176
|
-
subscribeSessionList(params: ListSubscribeRequest): Promise<import("./session-index/list-subscriptions.js").ListSubscribeResponse>;
|
|
1177
|
-
unsubscribeSessionList(params: ListUnsubscribeRequest): Promise<{
|
|
1178
|
-
[x: string]: never;
|
|
1179
|
-
}>;
|
|
1180
|
-
renameSessionTitle(params: RenameSessionRequest): Promise<{
|
|
1181
|
-
[x: string]: never;
|
|
1182
|
-
}>;
|
|
1183
|
-
archiveSession(params: SessionIdRequest): Promise<{
|
|
1184
|
-
[x: string]: never;
|
|
1185
|
-
}>;
|
|
1186
|
-
unarchiveSession(params: SessionIdRequest): Promise<{
|
|
1187
|
-
[x: string]: never;
|
|
1188
|
-
}>;
|
|
1189
|
-
/**
|
|
1190
|
-
* `authenticate` — the legacy gateway methods store a provider override that
|
|
1191
|
-
* every later session reads. Validate the payload here, with the same base
|
|
1192
|
-
* URL rule as `providers/set`. An unchecked payload either throws a
|
|
1193
|
-
* `TypeError` deep in session creation, or installs an empty base URL that
|
|
1194
|
-
* silently turns the `--hide-claude-auth` subscription guard off.
|
|
1195
|
-
*
|
|
1196
|
-
* A call that carries no gateway payload at all keeps its historical
|
|
1197
|
-
* meaning: it installs no override and succeeds. That has always been a
|
|
1198
|
-
* no-op here, and a client that probes the method this way must keep
|
|
1199
|
-
* working. Only a payload that IS present has to be usable.
|
|
1200
|
-
*/
|
|
1201
|
-
authenticate(_params: AuthenticateRequest): Promise<void>;
|
|
1202
|
-
/**
|
|
1203
|
-
* Stores `next` and pushes it to the client.
|
|
1204
|
-
*
|
|
1205
|
-
* A push goes out only when the payload changed. The identity is read on many
|
|
1206
|
-
* occasions — each session create, each guarded turn, the start of each user
|
|
1207
|
-
* prompt — and almost all of them see the same login. Clients replace their
|
|
1208
|
-
* whole state on each update and tolerate duplicates, so a repeat is
|
|
1209
|
-
* harmless, but it is also pure noise; {@link sameAuthStatus} drops it.
|
|
1210
|
-
*
|
|
1211
|
-
* What the agent owes is truth — a stale or uninformative source must not
|
|
1212
|
-
* reach here at all (see the epoch check in the probe and the guards at
|
|
1213
|
-
* session create).
|
|
1214
|
-
*/
|
|
1215
|
-
setAuthStatus(next: AuthStatus | undefined): void;
|
|
1216
|
-
/**
|
|
1217
|
-
* Report the identity behind a session's `AccountInfo`.
|
|
1218
|
-
*
|
|
1219
|
-
* `AccountInfo` is richer than the CLI probe (it is what the live query
|
|
1220
|
-
* actually authenticates with). Called before the `--hide-claude-auth` guard
|
|
1221
|
-
* may refuse the session or the turn: that flag blocks the *use* of a
|
|
1222
|
-
* subscription, it does not make the state secret, and a refusal is when the
|
|
1223
|
-
* client most needs to know the account it was refused for.
|
|
1224
|
-
*
|
|
1225
|
-
* Two cases skip it:
|
|
1226
|
-
*
|
|
1227
|
-
* - ACP gateway *authentication* (`gatewayAuthRequest`): the gateway, not
|
|
1228
|
-
* this account, is the agent-owned identity — already reported as
|
|
1229
|
-
* `kind: "gateway"` by `authenticate`.
|
|
1230
|
-
* - A client-driven provider override (`providers/set`): the session then
|
|
1231
|
-
* routes through the client's endpoint and `AccountInfo` describes that
|
|
1232
|
-
* route (e.g. `apiProvider: "gateway"`), which is NOT agent-owned state.
|
|
1233
|
-
* `authStatus` reports the agent's own login only, so the CLI probe —
|
|
1234
|
-
* which reads the credential store the override never touches — stays
|
|
1235
|
-
* authoritative.
|
|
1236
|
-
*
|
|
1237
|
-
* An account with no identity signal (e.g. `{apiProvider: "firstParty"}`
|
|
1238
|
-
* under an apiKeyHelper) means "nothing to add", not "logged out" — keep
|
|
1239
|
-
* what the CLI probe already established instead of overwriting it.
|
|
1240
|
-
*/
|
|
1241
|
-
private useAuthStatusSettings;
|
|
1242
|
-
private publishSessionAccountIdentity;
|
|
1243
|
-
/** Shares one in-flight `claude auth status --json` run between callers. The
|
|
1244
|
-
* promise is released once settled so a later call re-probes instead of
|
|
1245
|
-
* replaying a stale verdict. `fresh` forces a new run even when one is in
|
|
1246
|
-
* flight — `logout` needs a read that started after the credentials were
|
|
1247
|
-
* cleared. */
|
|
1248
|
-
private probeCliAuthStatus;
|
|
1249
|
-
/** Never rejects: an unavailable CLI means "not reported", not an error. */
|
|
1250
|
-
private runCliAuthProbe;
|
|
1251
|
-
/**
|
|
1252
|
-
* Feed the completed probe to the `--hide-claude-auth` guard.
|
|
1253
|
-
*
|
|
1254
|
-
* The account cached at `initialize` is the guard's fact, and the CLI can
|
|
1255
|
-
* swap the credential behind it between two turns (a Console key removed and
|
|
1256
|
-
* a claude.ai login put in its place) without any turn failing. A read that
|
|
1257
|
-
* reports a different kind of identity than the session was created on
|
|
1258
|
-
* proves that fact stale.
|
|
1259
|
-
*
|
|
1260
|
-
* The probe decides nothing, and it interrupts nothing. Since the read is
|
|
1261
|
-
* fired at the start of every user prompt, it usually lands in the middle of
|
|
1262
|
-
* the turn it belongs to; all it may do there is set a flag. The turn runs to
|
|
1263
|
-
* its end on the query it started on, the NEXT prompt consumes the flag and
|
|
1264
|
-
* recreates the query, the new `initialize` reports the real account, and the
|
|
1265
|
-
* creation guard judges it. So a probe can never refuse or abort a turn, and
|
|
1266
|
-
* a wrong read costs one query recreation, not a false refusal.
|
|
1267
|
-
*/
|
|
1268
|
-
private markSessionsWhoseAccountKindChanged;
|
|
1269
|
-
unstable_listProviders(_params: ListProvidersRequest): Promise<ListProvidersResponse>;
|
|
1270
|
-
/**
|
|
1271
|
-
* `providers/set` — replace the full configuration for the `main` provider.
|
|
1272
|
-
* Rejects unknown IDs, unsupported protocols, and empty/invalid base URLs with
|
|
1273
|
-
* `invalid_params`. Config is process-scoped and applies to sessions created or
|
|
1274
|
-
* loaded after this call.
|
|
1275
|
-
*/
|
|
1276
|
-
unstable_setProvider(params: SetProviderRequest): Promise<SetProviderResponse>;
|
|
1277
|
-
/**
|
|
1278
|
-
* `providers/disable` ends ACP ownership of the single mutually exclusive
|
|
1279
|
-
* backend slot and restores the agent's native routing state.
|
|
1280
|
-
*/
|
|
1281
|
-
unstable_disableProvider(params: DisableProviderRequest): Promise<DisableProviderResponse>;
|
|
1282
|
-
/**
|
|
1283
|
-
* The model ids the gateway in `config` lists, read before `providers/set`
|
|
1284
|
-
* returns so the sessions it recreates already offer only those, and for
|
|
1285
|
-
* `bedrock` the region prefix picked from them. Setting the same gateway
|
|
1286
|
-
* again reuses the previous listing. `vertex` gateways are not listed.
|
|
1287
|
-
* Throws a {@link GatewayListingError} when the listing fails.
|
|
1288
|
-
*/
|
|
1289
|
-
private listProviderModels;
|
|
1290
|
-
resolveProviderConfig(): ProviderConfig | null;
|
|
1291
|
-
private defaultProviderConfig;
|
|
1292
|
-
logout(_params: LogoutRequest): Promise<void>;
|
|
1293
|
-
/** The structured replacement for a prompt that is exactly `/usage` or a
|
|
1294
|
-
* `/mcp` command. Claude Code runs the command, and the replacement takes
|
|
1295
|
-
* the place of its text. Claude Code refuses a `/mcp` reconnect, enable,
|
|
1296
|
-
* or disable in SDK mode. The `/mcp` producer runs them through the SDK
|
|
1297
|
-
* control API when the text arrives, so the action stays in the turn. */
|
|
1298
|
-
private localCommandMarkdown;
|
|
1299
|
-
/**
|
|
1300
|
-
* Serves an ACP v1 `session/prompt`, which answers when the turn ends. The
|
|
1301
|
-
* outcome of a turn is field for field a v1 prompt response.
|
|
1302
|
-
*/
|
|
1303
|
-
prompt(params: PromptRequest): Promise<PromptResponse>;
|
|
1304
|
-
/**
|
|
1305
|
-
* Starts a turn for a prompt. Resolves once the prompt is queued for Claude
|
|
1306
|
-
* Code, and rejects only when the prompt is refused before that. From then
|
|
1307
|
-
* on, `events` reports how the turn goes (see {@link TurnEvents}), possibly
|
|
1308
|
-
* before this resolves.
|
|
1309
|
-
*/
|
|
1310
|
-
startTurn(params: PromptRequest, events: TurnEvents): Promise<void>;
|
|
1311
|
-
/** Connects Remote Control (again, if it is already on) or disconnects it. */
|
|
1312
|
-
private runRemoteControlCommand;
|
|
1313
|
-
/** `--hide-claude-auth` applies only to the CLI's own login. A provider
|
|
1314
|
-
* override (`providers/set` or gateway `authenticate`) routes traffic away
|
|
1315
|
-
* from it, so the subscription guard is off while one is active. */
|
|
1316
|
-
private claudeSubscriptionGuardActive;
|
|
1317
|
-
/** Record that the account cached at `initialize` is wrong, and — unless the
|
|
1318
|
-
* caller defers it — end the query.
|
|
1319
|
-
*
|
|
1320
|
-
* Only under `--hide-claude-auth`. That cached account is this
|
|
1321
|
-
* integration's source of truth, and two things prove it wrong: a sign-out
|
|
1322
|
-
* during the session, and a CLI probe that finds a different identity. In
|
|
1323
|
-
* both cases the credential behind the cached account is gone, and whatever
|
|
1324
|
-
* replaces it is invisible until a new `initialize` runs. The flag makes
|
|
1325
|
-
* the next prompt recreate the query, so the creation guard decides on the
|
|
1326
|
-
* real account.
|
|
1327
|
-
*
|
|
1328
|
-
* `endQuery` says whether the query dies now. A sign-out has already killed
|
|
1329
|
-
* the turn, so its stream is closed at once. A probe has killed nothing: it
|
|
1330
|
-
* runs beside a turn that is still producing output, and closing there would
|
|
1331
|
-
* abort a turn the user is watching. It therefore leaves the stream alone
|
|
1332
|
-
* and lets the recreation at the next prompt close it (`recreateSignedOutQuery`
|
|
1333
|
-
* closes it too, and both are idempotent).
|
|
1334
|
-
*
|
|
1335
|
-
* Idempotent: one sign-out reaches this twice (the synthetic login message
|
|
1336
|
-
* and the turn's error-shaped result), and the second call must not close
|
|
1337
|
-
* a stream the first one already closed. Closing settles the queued turns
|
|
1338
|
-
* through the consumer's end-of-stream path, which rejects each one. */
|
|
1339
|
-
private markSessionForSignOutRespawn;
|
|
1340
|
-
/** Recreate the query of a signed-out session, keeping the ACP session id and
|
|
1341
|
-
* resuming the Claude session so the history survives. Returns the session
|
|
1342
|
-
* the caller must go on with: the new one, or the argument when no
|
|
1343
|
-
* recreation is due.
|
|
1344
|
-
*
|
|
1345
|
-
* When the CLI never persisted that conversation — the first turn was the
|
|
1346
|
-
* one that signed out — the resume cannot succeed, so a fresh query starts
|
|
1347
|
-
* under the same id. The session then keeps working, with an empty history.
|
|
1348
|
-
*
|
|
1349
|
-
* The recreation runs the full creation guard, so a subscription account is
|
|
1350
|
-
* refused with the subscription reason, a still-signed-out account with the
|
|
1351
|
-
* plain sign-out error, and an accepted credential proceeds. A refusal keeps
|
|
1352
|
-
* the old husk in the session map, so the client can sign in and retry on
|
|
1353
|
-
* the same session instead of meeting "Session not found".
|
|
1354
|
-
*
|
|
1355
|
-
* Returns `undefined`, not a resolved promise, when no recreation is due:
|
|
1356
|
-
* the callers enqueue their turn in one synchronous section, and an extra
|
|
1357
|
-
* microtask there would let the caller observe a half-built turn.
|
|
1358
|
-
*
|
|
1359
|
-
* A live turn also postpones it. A probe marks the session without ending
|
|
1360
|
-
* the query, so a turn can still be running when the mark is read — by a
|
|
1361
|
-
* `steer` injecting into it, say. Recreating there would close the stream
|
|
1362
|
-
* under the turn and kill output the user is watching, so the flag waits for
|
|
1363
|
-
* the next turn boundary. A sign-out is not affected: it closed the stream
|
|
1364
|
-
* when it marked the session, and a closed stream recreates immediately. */
|
|
1365
|
-
private respawnSignedOutSession;
|
|
1366
|
-
private awaitSignOutRespawn;
|
|
1367
|
-
private recreateSignedOutQuery;
|
|
1368
|
-
/**
|
|
1369
|
-
* Starts a new query for the session `sessionId`, which ran on this
|
|
1370
|
-
* connection and whose query is gone: it resumes the stored conversation.
|
|
1371
|
-
* `resume` names the Claude session, which shares the ACP session id, so the
|
|
1372
|
-
* new query continues the same conversation under the same id. Claude Code
|
|
1373
|
-
* writes the conversation at the first prompt, so resuming a session that was
|
|
1374
|
-
* never prompted fails with `resourceNotFound`, and keeps failing. Such a
|
|
1375
|
-
* session starts a fresh query under the same id instead: it has no history
|
|
1376
|
-
* to lose, and the client keeps a session it can use.
|
|
1377
|
-
*/
|
|
1378
|
-
private recreateLiveSession;
|
|
1379
|
-
/** Run the `--hide-claude-auth` guard before a turn starts. The returned
|
|
1380
|
-
* promise rejects with the `authRequired` error when a claude.ai
|
|
1381
|
-
* subscription would pay, or when the account holds no credential this
|
|
1382
|
-
* integration accepts. Every entry point that starts a turn must await it,
|
|
1383
|
-
* so the refusal reaches the client instead of a detached promise.
|
|
1384
|
-
*
|
|
1385
|
-
* Returns `undefined`, not a resolved promise, while the guard is off: the
|
|
1386
|
-
* callers run in the same synchronous section as the turn they enqueue, and
|
|
1387
|
-
* an extra microtask there would let the caller observe a half-built turn. */
|
|
1388
|
-
private runClaudeSubscriptionGuard;
|
|
1389
|
-
goal(params: GoalRequest): Promise<GoalControlResponse>;
|
|
1390
|
-
private publishGoal;
|
|
1391
|
-
/**
|
|
1392
|
-
* Publishes the follow-up prompt the CLI predicted for the next turn, or
|
|
1393
|
-
* `null` to clear the one the client holds. Only AIR renders it, so only AIR
|
|
1394
|
-
* gets the key; see `docs/air-extensions.md`.
|
|
1395
|
-
*/
|
|
1396
|
-
private publishPromptSuggestion;
|
|
1397
|
-
private publishTaskPlan;
|
|
1398
|
-
private publishGoalFromPrompt;
|
|
1399
|
-
private publishRuntimeGoal;
|
|
1400
|
-
/** Steer the session per the ACP steering wire protocol: inject a follow-up
|
|
1401
|
-
* message into the turn that is currently running. If that turn already
|
|
1402
|
-
* settled, the established default starts a new detached turn; Hosts may opt
|
|
1403
|
-
* into the host-owned `promptRequired` fallback through request `_meta`.
|
|
1404
|
-
*
|
|
1405
|
-
* When a turn is in flight this injects (returns `injected`): unlike
|
|
1406
|
-
* `prompt()`, it does NOT create a Turn or enqueue on `turnQueue`; it pushes
|
|
1407
|
-
* an `SDKUserMessage` onto the same streaming input, which the SDK routes
|
|
1408
|
-
* into the in-flight turn. The injected message's echo carries a uuid that
|
|
1409
|
-
* matches no queued turn, so the consumer drops it as an unrelated replay
|
|
1410
|
-
* without promoting/settling anything. It is normally delivered at priority
|
|
1411
|
-
* `now` so it pre-empts the current generation (interrupting a single-shot
|
|
1412
|
-
* response, or slotting in between a multi-step turn's tool calls). While a
|
|
1413
|
-
* permission or elicitation is awaiting user input it uses `later`, because
|
|
1414
|
-
* interrupting that SDK callback cancels the ACP request and can strand the
|
|
1415
|
-
* prompt (IJAI-1191). The steered message's own output streams via
|
|
1416
|
-
* `session/update`, not this response.
|
|
1417
|
-
*
|
|
1418
|
-
* Pre-empting generation means ABORTING: the interrupted cycle emits a
|
|
1419
|
-
* `result` of its own and the steered message runs as a second one. A steer
|
|
1420
|
-
* during a foreground tool call moves that tool (Bash, Agent, MCP) to the
|
|
1421
|
-
* background instead, and may join the running cycle (CLI 2.1.286). Either
|
|
1422
|
-
* way the turn is marked (`Turn.steeredEchoes`) to settle only once a result
|
|
1423
|
-
* answers the steer.
|
|
1424
|
-
*
|
|
1425
|
-
* When the session is idle, the opt-in path returns `promptRequired` WITHOUT
|
|
1426
|
-
* calling `prompt()`, pushing SDK input, or mutating `turnQueue`: the content
|
|
1427
|
-
* stays Host-owned so the Host can submit it through a standard
|
|
1428
|
-
* `session/prompt`. Without the opt-in, the existing detached `prompt()` and
|
|
1429
|
-
* `startedNewTurn` result are preserved for compatibility. */
|
|
1430
|
-
steer(params: SteerRequest): Promise<SteerResponse>;
|
|
1431
|
-
stopAsyncTask(params: AsyncTaskStopRequest): Promise<AsyncTaskStopResponse>;
|
|
1432
|
-
/** Lazily start the per-session consumer that drains the SDK query stream for
|
|
1433
|
-
* the session's whole life. Idempotent: only the first `prompt()` starts it. */
|
|
1434
|
-
private ensureConsumer;
|
|
1435
|
-
/** The single, long-lived consumer of the SDK query stream for a session. It
|
|
1436
|
-
* forwards every message as ACP `sessionUpdate`s (so background/between-turn
|
|
1437
|
-
* output streams live, not just while a prompt is awaiting) and settles each
|
|
1438
|
-
* Turn's deferred when that turn ends. Replaces the per-prompt message loop;
|
|
1439
|
-
* `params` only carries the (session-invariant) `sessionId`. */
|
|
1440
|
-
private runConsumer;
|
|
1441
|
-
/** Route one orphaned command into the session's orphan-accounting lane:
|
|
1442
|
-
* the per-uuid map on msg_lifecycle_v1 CLIs (drained by the command's own
|
|
1443
|
-
* terminal lifecycle frame and the echo-less-result skip), the plain count
|
|
1444
|
-
* elsewhere (the count lane can't express per-command states, so `state`
|
|
1445
|
-
* only matters on the map lane). Both orphan-producing paths — cancel()'s
|
|
1446
|
-
* queued-turn sweep and the consumer's force-cancel wedge path — must seed
|
|
1447
|
-
* through here so the lane split stays a single mechanism.
|
|
1448
|
-
*
|
|
1449
|
-
* Known window: `msgLifecycleV1` is only learnable from the stream's first
|
|
1450
|
-
* `system`/init (the control-channel initialize carries no capabilities),
|
|
1451
|
-
* so a cancel that beats that drain seeds the COUNT lane on a
|
|
1452
|
-
* lifecycle-capable CLI — where command coalescing can leave the count
|
|
1453
|
-
* stale by N-1 (the pre-map bug, confined to this sub-second window and
|
|
1454
|
-
* still healed by the next activation's reset). Structural until the SDK
|
|
1455
|
-
* exposes capabilities before the stream starts. */
|
|
1456
|
-
private trackOrphanCommand;
|
|
1457
|
-
/** Ask Claude Code to drop user messages it still has queued, so that a
|
|
1458
|
-
* prompt a cancel settled is not run after all. Claude Code keeps queued
|
|
1459
|
-
* messages through an interrupt and runs them next (the receipt's
|
|
1460
|
-
* `still_queued`), unless they are cancelled first with
|
|
1461
|
-
* `cancel_async_message`: a no-op for a message it already dequeued, which
|
|
1462
|
-
* then still runs, as an orphan (see `orphanCommands`).
|
|
1463
|
-
*
|
|
1464
|
-
* Not awaited: the SDK writes control requests in call order, so the drops
|
|
1465
|
-
* reach Claude Code before a request sent after them, and a wedged CLI must
|
|
1466
|
-
* not hold up the cancel. The orphan accounting needs no update here: a
|
|
1467
|
-
* dropped message gets a `cancelled` lifecycle frame and is missing from the
|
|
1468
|
-
* interrupt receipt's `still_queued`, which both already account for. The
|
|
1469
|
-
* SDK implements the request as `Query.cancelAsyncMessage` without typing
|
|
1470
|
-
* it, so it is looked up, and a CLI that lacks it rejects the request. */
|
|
1471
|
-
private dropQueuedMessages;
|
|
1472
|
-
cancel(params: CancelNotification): Promise<void>;
|
|
1473
|
-
/**
|
|
1474
|
-
* Cancels the current work of the subagent child session `sessionId`, which
|
|
1475
|
-
* its `cancel` capability permits on the subagents RFD form, without
|
|
1476
|
-
* cancelling its parent (see `NativeSubagentRuntime.cancelChild`). Returns
|
|
1477
|
-
* false when no session has such a child.
|
|
1478
|
-
*/
|
|
1479
|
-
private cancelChildSession;
|
|
1480
|
-
/**
|
|
1481
|
-
* Stops each background workflow of the session that still runs, after the
|
|
1482
|
-
* interrupt of a `session/cancel` spared it (see
|
|
1483
|
-
* `Session.stopsWorkflowsOnCancel`). Claude Code reports each one
|
|
1484
|
-
* `stopped`, along with the commands inside it, and starts no model cycle
|
|
1485
|
-
* for it, as when the interrupt killed it. Every background workflow is
|
|
1486
|
-
* stopped, whoever launched it, because the interrupt killed them all.
|
|
1487
|
-
*/
|
|
1488
|
-
private stopBackgroundWorkflows;
|
|
1489
|
-
/** Cancel the session's turns and interrupt the SDK query. With
|
|
1490
|
-
* `awaitInterrupt: false` the interrupt is sent, but its reply is not
|
|
1491
|
-
* awaited. `teardownSession` uses that: it closes the query right after, and
|
|
1492
|
-
* the reply can queue behind a slow control request, such as the background
|
|
1493
|
-
* `getContextUsage` of a fresh session. */
|
|
1494
|
-
private cancelTurns;
|
|
1495
|
-
/** Release a query that was spawned but never registered as a session. */
|
|
1496
|
-
private discardUnregisteredQuery;
|
|
1497
|
-
/** Mark a session's SDK query stream as permanently ended and release the
|
|
1498
|
-
* resources tied to it: drop the consumer handle, dispose the settings
|
|
1499
|
-
* watchers, end the input stream, and close the query (which terminates the
|
|
1500
|
-
* subprocess). The query iterator is not revivable, so `prompt()`/`cancel()`
|
|
1501
|
-
* consult `queryClosed` and fail/short-circuit instead of acting on a dead
|
|
1502
|
-
* stream. Idempotent (guarded by `queryClosed`), so the consumer's done/error
|
|
1503
|
-
* paths and a later `teardownSession` can all call it without double-releasing.
|
|
1504
|
-
*
|
|
1505
|
-
* Deliberately does NOT abort `session.abortController`: that controller may be
|
|
1506
|
-
* CLIENT-supplied (`_meta.claudeCode.options.abortController`) and reused, so
|
|
1507
|
-
* aborting it on a spontaneous stream end would cancel the client's own work
|
|
1508
|
-
* or make a sibling session born aborted. `query.close()` already terminates
|
|
1509
|
-
* the subprocess; aborting the signal belongs in `teardownSession` (explicit
|
|
1510
|
-
* destroy), not here. Also does NOT remove the session from the map — that is
|
|
1511
|
-
* `teardownSession`'s job — so prompt() can still answer with a clear "session
|
|
1512
|
-
* ended" error after an unexpected stream close. The leftover session object
|
|
1513
|
-
* is a lightweight husk (its heavy resources are released here) and is evicted
|
|
1514
|
-
* on the next closeSession/deleteSession or when the connection's `dispose()`
|
|
1515
|
-
* runs. */
|
|
1516
|
-
private closeQueryStream;
|
|
1517
|
-
/** Cleanly tear down a session: cancel in-flight work, release stream
|
|
1518
|
-
* resources, and remove it from the session map. Returns once the turns it
|
|
1519
|
-
* cancels have ended, so their end (a v1 `session/prompt` response, a v2
|
|
1520
|
-
* `idle` state) goes out before the caller answers: ACP v2's
|
|
1521
|
-
* `session/close` cancels "as if `session/cancel` had been called", then
|
|
1522
|
-
* frees the session. A wedged consumer holds it at most
|
|
1523
|
-
* {@link TEARDOWN_TURN_END_TIMEOUT_MS}. */
|
|
1524
|
-
private teardownSession;
|
|
1525
|
-
/** Tear down all active sessions. Called when the ACP connection closes. */
|
|
1526
|
-
dispose(): Promise<void>;
|
|
1527
|
-
/** Idempotent: a session that is not loaded here is already closed. */
|
|
1528
|
-
closeSession(params: CloseSessionRequest): Promise<CloseSessionResponse>;
|
|
1529
|
-
/** Per client: see {@link sessionIndex.SessionIndexConnection.deleteSession}. */
|
|
1530
|
-
deleteSession(params: DeleteSessionRequest): Promise<DeleteSessionResponse>;
|
|
1531
|
-
setSessionMode(params: SetSessionModeRequest): Promise<SetSessionModeResponse>;
|
|
1532
|
-
setSessionConfigOption(params: SetSessionConfigOptionRequest): Promise<SetSessionConfigOptionResponse>;
|
|
1533
|
-
private replaySessionHistory;
|
|
1534
|
-
readTextFile(params: ReadTextFileRequest): Promise<ReadTextFileResponse>;
|
|
1535
|
-
writeTextFile(params: WriteTextFileRequest): Promise<WriteTextFileResponse>;
|
|
1536
|
-
/** Runs `request`, a request that `requestSessionId` sends for the session
|
|
1537
|
-
* `ownerSessionId`. When that is a subagent's child session, the child
|
|
1538
|
-
* reports that it awaits the user while the request is open (the RFD form,
|
|
1539
|
-
* see `NativeSubagentRuntime.awaitingUser`). `signal` aborts when Claude
|
|
1540
|
-
* Code withdraws the request. */
|
|
1541
|
-
private withChildAwaitingUser;
|
|
1542
|
-
/** Mark a client request of the subagent `agentID` (absent for the main
|
|
1543
|
-
* conversation) as awaiting user input for exactly the lifetime of its
|
|
1544
|
-
* promise (see `Session.openUserInputs`). Steering consults the open
|
|
1545
|
-
* requests synchronously, so a message arriving while any permission or
|
|
1546
|
-
* elicitation card is open uses non-interrupting SDK delivery.
|
|
1547
|
-
*
|
|
1548
|
-
* `signal` aborts when Claude Code withdraws the request, which is not an
|
|
1549
|
-
* answer. Example: the user cancels while a permission request is open.
|
|
1550
|
-
* Claude Code's interrupt withdraws it as it stops the work, and the work
|
|
1551
|
-
* ends `idle cancelled` right after. The end of the request then reports
|
|
1552
|
-
* no `running`: the client would see `requires_action`, `running`, `idle
|
|
1553
|
-
* cancelled`. A withdrawal without a cancel means that something else
|
|
1554
|
-
* answered the request in the user's place, such as a `PermissionRequest`
|
|
1555
|
-
* hook, and the work goes on, so the end reports `running`. */
|
|
1556
|
-
private withPendingUserInput;
|
|
1557
|
-
/** Report whether the session's foreground work awaits the user: exactly
|
|
1558
|
-
* while a permission request or question that blocks it is open (see
|
|
1559
|
-
* {@link blocksForeground}). A request does not say which prompt it is for,
|
|
1560
|
-
* and Claude Code can ask for a queued prompt before the consumer activates
|
|
1561
|
-
* it, so a request is not tied to the work that was running when it
|
|
1562
|
-
* opened. Called when a request opens or closes, when a turn activates, and
|
|
1563
|
-
* when a task registers or moves to the background.
|
|
1564
|
-
*
|
|
1565
|
-
* When the last request ends, the work reports `running` again, unless a
|
|
1566
|
-
* cancel withdrew that request (`withdrawnByCancel`, see
|
|
1567
|
-
* {@link withPendingUserInput}): the work is being stopped, and reports its
|
|
1568
|
-
* end next. */
|
|
1569
|
-
private syncAwaitingUser;
|
|
1570
|
-
/** The foreground state of the session `sessionId` now, as v2's
|
|
1571
|
-
* `state_update` names it: `idle` while no work runs, `requires_action`
|
|
1572
|
-
* while the work awaits the user (see {@link syncAwaitingUser}), and
|
|
1573
|
-
* `running` otherwise. */
|
|
1574
|
-
foregroundState(sessionId: string): "idle" | "running" | "requires_action";
|
|
1575
|
-
/** Make `owner` the foreground work of the session `sessionId` (see
|
|
1576
|
-
* {@link ForegroundEvents}): it reports `running`, then waits at once if a
|
|
1577
|
-
* request is open. If work already runs, it goes on under `owner` and
|
|
1578
|
-
* reports nothing new: a turn takes over a cycle that Claude Code started on
|
|
1579
|
-
* its own, and only the owner's end ends the work. */
|
|
1580
|
-
private startForeground;
|
|
1581
|
-
/** End the foreground work of the session `sessionId` with `outcome`, or as
|
|
1582
|
-
* failed with `error`, if `owner` is that work. */
|
|
1583
|
-
private endForeground;
|
|
1584
|
-
/** Start a model cycle that Claude Code started on its own as the foreground
|
|
1585
|
-
* work (see {@link ForegroundEvents}) when `message` is its first output:
|
|
1586
|
-
* model output of the main conversation (not a subagent's) while no work
|
|
1587
|
-
* runs. That includes a turn that v1 holds for its background subagents,
|
|
1588
|
-
* whose work ended at its result, so its follow-up is a cycle. Output of
|
|
1589
|
-
* the work a cancel stopped starts nothing (see Session.cancelled). */
|
|
1590
|
-
private startAutonomousCycle;
|
|
1591
|
-
/** Whether the client has been told that the session's work ended: on v2 by
|
|
1592
|
-
* an idle state, so no foreground work is open, including a cycle that
|
|
1593
|
-
* Claude Code started on its own; on v1 by the response to the turn's
|
|
1594
|
-
* prompt, so no turn is active. v1 reports nothing for a cycle, so its end
|
|
1595
|
-
* is its result or idle: until then, Claude Code's results for the cycle's
|
|
1596
|
-
* tool calls still reach the client after a cancel. */
|
|
1597
|
-
private workEndReported;
|
|
1598
|
-
/** Whether the consumer drops what it reaches now as output of the work a
|
|
1599
|
-
* cancel stopped: the client has been told that the work ended, and the
|
|
1600
|
-
* window after the cancel is still open (see Session.cancelled). */
|
|
1601
|
-
private dropsStoppedWorkOutput;
|
|
1602
|
-
/**
|
|
1603
|
-
* Whether the tool use `toolUseId`, which reaches `canUseTool` or a hook, is
|
|
1604
|
-
* output of the work a cancel stopped that the consumer dropped (see
|
|
1605
|
-
* `dropsStoppedWorkOutput`). Example: Claude Code runs a prompt that the
|
|
1606
|
-
* cancel abandoned, and it asks to run a command. The consumer drops the
|
|
1607
|
-
* tool use and its result, so a tool call shown for it would never end, and
|
|
1608
|
-
* the client would keep it open (issue #1061).
|
|
1609
|
-
*
|
|
1610
|
-
* Claude Code calls `canUseTool` and hooks on its control channel, after it
|
|
1611
|
-
* streamed the tool use, and the consumer can lag behind. So the session can
|
|
1612
|
-
* still look cancelled while the consumer has the next prompt's echo, which
|
|
1613
|
-
* ends the window, still ahead of the tool use. While a cancel's window may
|
|
1614
|
-
* be open, this waits until the consumer reaches the tool use, for at most
|
|
1615
|
-
* {@link toolUseWaitMs} or until `signal` aborts: the stream never shows
|
|
1616
|
-
* some tool uses, such as SandboxNetworkAccess's. Without a cancel nothing
|
|
1617
|
-
* is dropped, so it answers at once. It returns a promise only when it
|
|
1618
|
-
* waits, so a permission request without a cancel goes out as soon as
|
|
1619
|
-
* before.
|
|
1620
|
-
*/
|
|
1621
|
-
private isStoppedWorkToolUse;
|
|
1622
|
-
/** Waits until the consumer reaches the tool use `toolUseId` (see
|
|
1623
|
-
* `isStoppedWorkToolUse`), then says whether it dropped it. */
|
|
1624
|
-
private reachedInStream;
|
|
1625
|
-
/** End the session's model cycle that Claude Code started on its own, if one
|
|
1626
|
-
* runs. */
|
|
1627
|
-
private endAutonomousCycle;
|
|
1628
|
-
/** Whether a model cycle that Claude Code started on its own is the session's
|
|
1629
|
-
* foreground work. A turn that took a cycle over owns the work from then on. */
|
|
1630
|
-
private runsAutonomousCycle;
|
|
1631
|
-
/** The ACP turn that owns a root request of the session now, if any. A
|
|
1632
|
-
* model cycle that Claude Code started on its own owns no turn. A turn that
|
|
1633
|
-
* took a cycle over owns it. A queued turn owns the request too, because
|
|
1634
|
-
* Claude Code can ask for a queued prompt before the consumer reaches its
|
|
1635
|
-
* echo (see `recordForegroundToolCall`). The ExitPlanMode request and the
|
|
1636
|
-
* result of its interruption use this one rule, so an offered
|
|
1637
|
-
* clear-context option always has a turn to continue. */
|
|
1638
|
-
private requestOwnerTurn;
|
|
1639
|
-
/** Forward a permission request to the client, wiring the tool call's
|
|
1640
|
-
* `signal` through as a `cancellationSignal`. When the turn is cancelled
|
|
1641
|
-
* while the client's prompt is still open the signal aborts, the SDK sends
|
|
1642
|
-
* `$/cancel_request`, and our local abort race settles even if the client
|
|
1643
|
-
* ignores it. A `cancelled` outcome, request rejection, and local abort all
|
|
1644
|
-
* surface the same "Tool use aborted" the callers already expect. */
|
|
1645
|
-
private requestPermissionFromClient;
|
|
1646
|
-
/** Send the client an elicitation for a callback of Claude Code. When the
|
|
1647
|
-
* callback's `signal` aborts, the SDK sends `$/cancel_request` and keeps
|
|
1648
|
-
* waiting for the client's reply, which a client that ignores the cancel
|
|
1649
|
-
* never sends. So the call also rejects at once on the abort, as
|
|
1650
|
-
* {@link requestPermissionFromClient} does for a permission request. Left
|
|
1651
|
-
* open, the request would stay in `openUserInputs` (see
|
|
1652
|
-
* {@link withPendingUserInput}), which keeps steering non-interrupting, and
|
|
1653
|
-
* a child's `openRequests` would not drop. */
|
|
1654
|
-
private elicitFromClient;
|
|
1655
|
-
/** Emit the `tool_call` a permission request references if it hasn't been sent
|
|
1656
|
-
* yet, so the client has the tool call before being asked to approve it. The
|
|
1657
|
-
* matching streamed tool_use chunk later refines it with a `tool_call_update`
|
|
1658
|
-
* instead of emitting a duplicate (see `emittedToolCalls`). Built via the same
|
|
1659
|
-
* `toolCallNotification` helper as the streamed path so the two are identical.
|
|
1660
|
-
* Tools the stream renders as a plan (TodoWrite) or suppresses (Task*) are
|
|
1661
|
-
* emitted too: a permission request referencing a tool call the client has
|
|
1662
|
-
* never seen can trip strict clients (issue #851), so the reference must
|
|
1663
|
-
* always resolve. Since the streamed path never completes those calls, they
|
|
1664
|
-
* are resolved at tool_result time instead (see `toAcpNotifications`).
|
|
1665
|
-
* `parentToolUseId` attributes a subagent's tool call to the Agent/Task call
|
|
1666
|
-
* that spawned it, matching the streamed path's `_meta`. */
|
|
1667
|
-
private ensureToolCallEmitted;
|
|
1668
|
-
/**
|
|
1669
|
-
* The owner of a tool use that Claude Code reports outside the stream, in
|
|
1670
|
-
* `canUseTool` or a hook, for the subagent `agentID` or the root session.
|
|
1671
|
-
* `parentToolUseId` is the Agent/Task tool call that spawned the subagent,
|
|
1672
|
-
* as the streamed subagent path stamps it in `_meta.claudeCode` (see
|
|
1673
|
-
* `liveBackgroundTasks`). `toolCallSessionId` is the session of an eagerly
|
|
1674
|
-
* emitted tool call and of its requests: the subagent's child session once
|
|
1675
|
-
* it is announced, else the root session. In the rare SDK ordering where
|
|
1676
|
-
* the callback beats the spawning Agent/Task frame, the root keeps it; the
|
|
1677
|
-
* later frame announces the child with its correct nested lineage.
|
|
1678
|
-
*/
|
|
1679
|
-
private toolUseOwner;
|
|
1680
|
-
/**
|
|
1681
|
-
* The models of the session `sessionId`, for the `model` option of its
|
|
1682
|
-
* subagents: the entries of the session's own `model` option.
|
|
1683
|
-
*/
|
|
1684
|
-
private subagentModels;
|
|
1685
|
-
private subagentConfigurationHook;
|
|
1686
|
-
/**
|
|
1687
|
-
* The PreToolUse hook of a v2 connection, for Edit and Write: the tool call
|
|
1688
|
-
* shows the exact patch of the change before the tool runs.
|
|
1689
|
-
*
|
|
1690
|
-
* A v2 diff cannot hold the input's snippet, so without it an auto-approved
|
|
1691
|
-
* Edit or Write would show its change only once it is done. Claude Code runs
|
|
1692
|
-
* the tool only after the hook returns, so the file is as it was before the
|
|
1693
|
-
* change, as for the approval patch of a permission request (which runs
|
|
1694
|
-
* after this hook, and shows the same patch). The hook makes no permission
|
|
1695
|
-
* decision, and a failure only leaves the preview out.
|
|
1696
|
-
*/
|
|
1697
|
-
private fileChangePreviewHook;
|
|
1698
|
-
private previewFileChange;
|
|
1699
|
-
canUseTool(sessionId: string): CanUseTool;
|
|
1700
|
-
/**
|
|
1701
|
-
* Handle elicitation requests that originate from MCP servers by forwarding
|
|
1702
|
-
* them to the client over ACP. Modes the client did not advertise (or
|
|
1703
|
-
* requests we can't represent) are declined.
|
|
1704
|
-
*/
|
|
1705
|
-
private handleMcpElicitation;
|
|
1706
|
-
/**
|
|
1707
|
-
* Present the built-in AskUserQuestion tool's questions as an ACP form
|
|
1708
|
-
* elicitation and return the answers as the tool's `updatedInput`. Called from
|
|
1709
|
-
* `canUseTool` since that is where the SDK routes the tool's permission check.
|
|
1710
|
-
* The elicitation goes to `requestSessionId`, a subagent's child session for
|
|
1711
|
-
* a question it asks, and blocks the turn of `sessionId`.
|
|
1712
|
-
*/
|
|
1713
|
-
private handleAskUserQuestion;
|
|
1714
|
-
/**
|
|
1715
|
-
* Handle `request_user_dialog` control requests — blocking dialogs the CLI
|
|
1716
|
-
* asks the host to render. Only kinds declared in `supportedDialogKinds`
|
|
1717
|
-
* are ever emitted; everything unexpected is answered `cancelled` (the
|
|
1718
|
-
* required answer for unrecognized kinds), which applies the dialog's
|
|
1719
|
-
* default behavior CLI-side. Today the only declared kind is the
|
|
1720
|
-
* refusal-fallback consent prompt, rendered as an ACP form elicitation.
|
|
1721
|
-
*/
|
|
1722
|
-
private handleUserDialog;
|
|
1723
|
-
/**
|
|
1724
|
-
* The slash commands of the session `sessionId`, as `available_commands_update`
|
|
1725
|
-
* lists them. The SDK reads them from Claude Code's initialization, which
|
|
1726
|
-
* session setup already awaited. Empty when the session does not exist.
|
|
1727
|
-
*/
|
|
1728
|
-
availableCommands(sessionId: string): Promise<AvailableCommand[]>;
|
|
1729
|
-
private sendAvailableCommandsUpdate;
|
|
1730
|
-
/**
|
|
1731
|
-
* The work that follows a session setup response: the session's commands,
|
|
1732
|
-
* the current states of the subagents a load replayed, and MCP server
|
|
1733
|
-
* authentication. A v2 client gets the commands in the setup response itself,
|
|
1734
|
-
* and the subagent states from the v2 surface once it has sent its own
|
|
1735
|
-
* response (`src/v2/agent.ts`), so it gets neither here.
|
|
1736
|
-
*/
|
|
1737
|
-
private afterSetupResponse;
|
|
1738
|
-
/**
|
|
1739
|
-
* Sends the current state of each subagent that the last load of
|
|
1740
|
-
* `sessionId` replayed (see {@link RfdSubagentReplay.currentStates}). Run it
|
|
1741
|
-
* only after the load response: before it, the client treats subagent states
|
|
1742
|
-
* as history.
|
|
1743
|
-
*/
|
|
1744
|
-
publishCurrentSubagentStates(sessionId: string): Promise<void>;
|
|
1745
|
-
/**
|
|
1746
|
-
* AIR's draft: a load replays while the CLI starts, so the replay can lack
|
|
1747
|
-
* the session's model list and send a child's model as its id. After the
|
|
1748
|
-
* load response the list is known, and each replayed child whose model the
|
|
1749
|
-
* list maps to another entry gets that entry. The replay already ended the
|
|
1750
|
-
* child, and AIR's draft allows no other update after a child's end, but it
|
|
1751
|
-
* takes this more exact snapshot of the same configuration.
|
|
1752
|
-
*/
|
|
1753
|
-
private publishReplayedChildModels;
|
|
1754
|
-
private updateConfigOption;
|
|
1755
|
-
/**
|
|
1756
|
-
* Refine a heuristic context window with `getContextUsage().rawMaxTokens`,
|
|
1757
|
-
* without blocking the caller. The text heuristic misses natively-1M models
|
|
1758
|
-
* whose picker rows carry no "1m" token (e.g. `sonnet`, and since CLI
|
|
1759
|
-
* 2.1.283 `opus`/`default`), so those would otherwise show 200k until the
|
|
1760
|
-
* first result's modelUsage arrives.
|
|
1761
|
-
*
|
|
1762
|
-
* Never awaited: SDK control requests are serialized, so awaiting here
|
|
1763
|
-
* would delay session/new or a model switch (~15s on older CLIs, issues
|
|
1764
|
-
* #886/#880; ~0.5s on 2.1.283). Requests the `summary` detail instead of
|
|
1765
|
-
* the default `full` breakdown, which issues one `messages/count_tokens`
|
|
1766
|
-
* call per category (~18 for a bare session) and hit rate limits on every
|
|
1767
|
-
* model switch; `summary` answers locally with the same `rawMaxTokens`.
|
|
1768
|
-
*
|
|
1769
|
-
* Does not write `contextWindowCache` (that stays keyed to the
|
|
1770
|
-
* `result.modelUsage` spellings) — a later result still overwrites this.
|
|
1771
|
-
*/
|
|
1772
|
-
private refreshContextWindowInBackground;
|
|
1773
|
-
private applyConfigOptionValue;
|
|
1774
|
-
/** Reconcile adapter model state after the SDK switched the session's
|
|
1775
|
-
* model out from under us — a refusal fallback, or any switch reported by
|
|
1776
|
-
* the PostModelSwitch hook that the adapter didn't drive (e.g. a `/model`
|
|
1777
|
-
* command typed as a prompt). The SDK already made the switch, so this
|
|
1778
|
-
* must NOT call `query.setModel` — it only updates our bookkeeping
|
|
1779
|
-
* (currentModelId, context window, mode clamping, effort/Fast-mode
|
|
1780
|
-
* options) via the same `applyConfigOptionValue` path a user-driven model
|
|
1781
|
-
* change takes, then notifies the client. */
|
|
1782
|
-
private syncModelAfterExternalSwitch;
|
|
1783
|
-
/** Replace the Fast mode option in `session.configOptions` so it reflects
|
|
1784
|
-
* `enabled` (and the client's current boolean-capability). A no-op when the
|
|
1785
|
-
* option isn't present, so callers must confirm the current model surfaces
|
|
1786
|
-
* it first. */
|
|
1787
|
-
private refreshFastModeOption;
|
|
1788
|
-
/** Toggle Fast mode for a session: push the SDK flag, record the user's
|
|
1789
|
-
* intent, and refresh the Fast mode config option in place. Only reached
|
|
1790
|
-
* once the option exists (i.e. the current model supports fast mode), so the
|
|
1791
|
-
* option is guaranteed to be present in `configOptions`. */
|
|
1792
|
-
private applyFastMode;
|
|
1793
|
-
/** Turn ultracode on or off for a session. Sends an explicit boolean, which
|
|
1794
|
-
* leaves the effort level alone (`null` would reset the flag layer instead).
|
|
1795
|
-
* The SDK flag is applied first so a rejected request leaves the session
|
|
1796
|
-
* state and option untouched. */
|
|
1797
|
-
private applyUltracode;
|
|
1798
|
-
/** Reconcile the session's Fast mode toggle with an SDK-reported
|
|
1799
|
-
* `fast_mode_state` (delivered on `system`/init and on user-turn `result`s).
|
|
1800
|
-
* The SDK can flip fast mode independently of the user — e.g. back to `on`
|
|
1801
|
-
* once a rate-limit `cooldown` clears — so we mirror definitive on/off
|
|
1802
|
-
* changes into the config option and notify the client.
|
|
1803
|
-
*
|
|
1804
|
-
* Guards, in order:
|
|
1805
|
-
* - absent state: nothing to reconcile.
|
|
1806
|
-
* - no Fast mode option: the current model doesn't support fast mode, so the
|
|
1807
|
-
* reported state reflects capability, not the user's intent. Leave the
|
|
1808
|
-
* retained setting untouched so it's correct when a supporting model is
|
|
1809
|
-
* reselected (the source of the earlier intent-clobber bug was mutating it
|
|
1810
|
-
* here).
|
|
1811
|
-
* - `cooldown`: a transient suspension of an already-enabled fast mode.
|
|
1812
|
-
* Leave the toggle as-is rather than flapping it — and never let a stray
|
|
1813
|
-
* cooldown spuriously enable a toggle the user has off.
|
|
1814
|
-
*
|
|
1815
|
-
* `reason` is the SDK's `fast_mode_disabled_reason`, reported alongside the
|
|
1816
|
-
* state. Only explainable reasons are retained (see
|
|
1817
|
-
* {@link normalizeFastModeDisabledReason}), so the comparison below tracks
|
|
1818
|
-
* exactly what the user can see: a routine `sdk_opt_in_required` report on
|
|
1819
|
-
* every turn's result can't churn the option, while a real blocker updates
|
|
1820
|
-
* the description even when the toggle's own value is unchanged. */
|
|
1821
|
-
private syncFastModeState;
|
|
1822
|
-
private getOrCreateSession;
|
|
1823
|
-
/**
|
|
1824
|
-
* Ensures the requested `cwd` is an absolute path that points at an existing
|
|
1825
|
-
* directory before we create a session. Throws an `invalidParams` error with
|
|
1826
|
-
* an actionable message so clients (e.g. Zed) can surface it to the user
|
|
1827
|
-
* instead of failing later with an opaque SDK error.
|
|
1828
|
-
*/
|
|
1829
|
-
private validateCwd;
|
|
1830
|
-
/** Whether the session forwards the text and the thinking of a subagent. */
|
|
1831
|
-
private forwardsSubagentText;
|
|
1832
|
-
private createSession;
|
|
1833
|
-
/**
|
|
1834
|
-
* Provider routing is baked into the environment of each SDK Query. Wait for
|
|
1835
|
-
* all submitted turns to settle, close every query, then resume each Claude
|
|
1836
|
-
* session with the same ID so subsequent turns inherit the new environment.
|
|
1837
|
-
*/
|
|
1838
|
-
private enqueueProviderUpdate;
|
|
1839
|
-
/** Tell a capable client when a non-auth error ends a session during a provider switch. */
|
|
1840
|
-
private reportSessionLostOnProviderUpdate;
|
|
1841
|
-
}
|
|
1842
|
-
export declare const BUILTIN_AGENT_NAMES: Set<string>;
|
|
1843
|
-
/** Discover user/plugin/project-configured main-thread agents, excluding the
|
|
1844
|
-
* built-in subagents and the reserved "default" sentinel. Returns an empty
|
|
1845
|
-
* list if discovery fails so a flaky control request never blocks session
|
|
1846
|
-
* creation. */
|
|
1847
|
-
export declare function discoverCustomAgents(q: Query): Promise<AgentInfo[]>;
|
|
1848
|
-
/** Stable ids for the session config options surfaced via `configOptions`.
|
|
1849
|
-
* Centralized so the option declarations in `buildConfigOptions` and the
|
|
1850
|
-
* handlers in `setSessionConfigOption`/`applyConfigOptionValue` reference the
|
|
1851
|
-
* same identifiers and can't drift apart. */
|
|
1852
|
-
export { MODE_CONFIG_ID };
|
|
1853
|
-
export declare const AGENT_CONFIG_ID = "agent";
|
|
1854
|
-
export declare const FAST_MODE_CONFIG_ID = "fast";
|
|
1855
|
-
/** Select-fallback values used when the client has not opted into boolean
|
|
1856
|
-
* config options (see {@link createFastModeConfigOption}). */
|
|
1857
|
-
export declare const FAST_MODE_ON = "on";
|
|
1858
|
-
export declare const FAST_MODE_OFF = "off";
|
|
1859
|
-
/** Map the SDK's tri-state `fast_mode_state` onto the boolean config toggle.
|
|
1860
|
-
* `cooldown` (fast mode temporarily suspended after a rate limit, per the SDK
|
|
1861
|
-
* docs) keeps the toggle on so it reflects the user's intent — only an
|
|
1862
|
-
* explicit `off` clears it. */
|
|
1863
|
-
export declare function fastModeStateEnabled(state: FastModeState): boolean;
|
|
1864
|
-
/** Normalize an SDK-reported `fast_mode_disabled_reason` to the one we retain:
|
|
1865
|
-
* a reason we have an explanation for, else `undefined`. Keeping only
|
|
1866
|
-
* explainable reasons means state comparisons (see `syncFastModeState`) track
|
|
1867
|
-
* exactly what the user can see, so routine reports like
|
|
1868
|
-
* `sdk_opt_in_required` never churn the config option. */
|
|
1869
|
-
export declare function normalizeFastModeDisabledReason(reason: FastModeDisabledReason | undefined): FastModeDisabledReason | undefined;
|
|
1870
|
-
/** Whether the Client advertised support for boolean session config options
|
|
1871
|
-
* (`session.configOptions.boolean`). Agents MUST only send `type: "boolean"`
|
|
1872
|
-
* config options to Clients that opt in; otherwise we fall back to a `select`.
|
|
1873
|
-
* See https://agentclientprotocol.com/rfds/boolean-config-option. */
|
|
1874
|
-
export declare function clientSupportsBooleanConfigOptions(clientCapabilities?: ClientCapabilities | null): boolean;
|
|
1875
|
-
/** Whether the Client advertised the AIR `recommendedValue` capability for
|
|
1876
|
-
* select-style model and effort options. Missing or malformed AIR metadata
|
|
1877
|
-
* retains the legacy `default` entries. */
|
|
1878
|
-
export declare function clientSupportsRecommendedConfigValue(clientCapabilities?: ClientCapabilities | null): boolean;
|
|
1879
|
-
/** Build the Fast mode config option. When the Client supports boolean config
|
|
1880
|
-
* options we expose a native `type: "boolean"` toggle; otherwise we degrade to
|
|
1881
|
-
* a two-value `select` ("on"/"off") so older Clients still get a usable
|
|
1882
|
-
* control.
|
|
1883
|
-
*
|
|
1884
|
-
* `disabledReason` (the SDK's `fast_mode_disabled_reason`) is folded into the
|
|
1885
|
-
* description while the toggle reads off, so a user whose account or provider
|
|
1886
|
-
* can't serve Fast mode sees why instead of a switch that silently refuses to
|
|
1887
|
-
* stay on. Ignored while enabled: a reason reported alongside an `on`/`cooldown`
|
|
1888
|
-
* state isn't blocking anything right now. */
|
|
1889
|
-
export declare function createFastModeConfigOption(enabled: boolean, useBooleanOption: boolean, disabledReason?: FastModeDisabledReason): SessionConfigOption;
|
|
1890
|
-
/** Resolve the requested Fast mode value from a `session/set_config_option`
|
|
1891
|
-
* request. Accepts a native boolean (boolean-capable Clients) or the
|
|
1892
|
-
* "on"/"off" select-fallback strings. */
|
|
1893
|
-
export declare function resolveFastModeEnabled(params: SetSessionConfigOptionRequest): boolean;
|
|
1894
|
-
/** Per-model Fast mode state threaded into {@link buildConfigOptions}. The
|
|
1895
|
-
* option is only surfaced when the current model `supported`s fast mode. */
|
|
1896
|
-
export type FastModeOptionState = {
|
|
1897
|
-
supported: boolean;
|
|
1898
|
-
enabled: boolean;
|
|
1899
|
-
/** Whether the Client opted into boolean config options. */
|
|
1900
|
-
useBooleanOption: boolean;
|
|
1901
|
-
/** Latest explainable `fast_mode_disabled_reason`, folded into the option's
|
|
1902
|
-
* description while the toggle reads off. */
|
|
1903
|
-
disabledReason?: FastModeDisabledReason;
|
|
1904
|
-
};
|
|
1905
|
-
export type ConfigOptionPresentation = {
|
|
1906
|
-
/** Replace ambiguous `default` rows with concrete values and advertise the
|
|
1907
|
-
* SDK/adapter recommendation as `_meta.jetbrains.air.recommendedValue`. */
|
|
1908
|
-
useRecommendedValue: boolean;
|
|
1909
|
-
};
|
|
1910
|
-
export declare function buildConfigOptions(modes: SessionModeState, models: SessionModelState, modelInfos: ModelInfo[], currentEffortLevel?: string, agents?: AgentInfo[], currentAgent?: string, fastMode?: FastModeOptionState, presentation?: ConfigOptionPresentation, ultracode?: UltracodeOptionState): SessionConfigOption[];
|
|
1911
|
-
export declare function promptToClaude(prompt: PromptRequest): SDKUserMessage;
|
|
1912
|
-
/**
|
|
1913
|
-
* Resolves the ACP `messageId` for a Claude SDK message (live) or a persisted
|
|
1914
|
-
* transcript message (replay) so chunk grouping is identical in both views.
|
|
1915
|
-
*
|
|
1916
|
-
* Assistant turns are keyed by the Anthropic API message id (`message.id`),
|
|
1917
|
-
* which is identical at `message_start`, on the consolidated assistant message,
|
|
1918
|
-
* and in the persisted transcript — unlike the per-`stream_event` uuid, which is
|
|
1919
|
-
* unique per event and never persisted. User messages have no API id, but they
|
|
1920
|
-
* are never streamed, so their (stable) SDK uuid is used instead. ACP message
|
|
1921
|
-
* ids are opaque strings, so no particular format is required.
|
|
1922
|
-
*/
|
|
1923
|
-
export declare function messageIdForGrouping(message: {
|
|
1924
|
-
type?: string;
|
|
1925
|
-
uuid?: string | null;
|
|
1926
|
-
message?: unknown;
|
|
1927
|
-
}): string | undefined;
|
|
1928
|
-
export declare function toAcpNotifications(content: string | ContentBlockParam[] | BetaContentBlock[] | BetaRawContentBlockDelta[], role: "assistant" | "user", sessionId: string, toolUseCache: ToolUseCache, client: AcpClient, logger: Logger, options?: {
|
|
1929
|
-
registerHooks?: boolean;
|
|
1930
|
-
clientCapabilities?: ClientCapabilities;
|
|
1931
|
-
toolCallCapabilities?: ToolCallClientCapabilities;
|
|
1932
|
-
parentToolUseId?: string | null;
|
|
1933
|
-
cwd?: string;
|
|
1934
|
-
taskState?: TaskState;
|
|
1935
|
-
emittedToolCalls?: Set<string>;
|
|
1936
|
-
inputComplete?: boolean;
|
|
1937
|
-
toolCallFields?: ToolCallFieldTracker;
|
|
1938
|
-
messageId?: string;
|
|
1939
|
-
toolUseResult?: unknown;
|
|
1940
|
-
toolResultMeta?: unknown;
|
|
1941
|
-
cancelled?: boolean;
|
|
1942
|
-
replay?: boolean;
|
|
1943
|
-
}): SessionNotification[];
|
|
1944
|
-
export declare function streamEventToAcpNotifications(message: SDKPartialAssistantMessage, sessionId: string, toolUseCache: ToolUseCache, client: AcpClient, logger: Logger, options?: {
|
|
1945
|
-
clientCapabilities?: ClientCapabilities;
|
|
1946
|
-
toolCallCapabilities?: ToolCallClientCapabilities;
|
|
1947
|
-
cwd?: string;
|
|
1948
|
-
taskState?: TaskState;
|
|
1949
|
-
emittedToolCalls?: Set<string>;
|
|
1950
|
-
toolCallFields?: ToolCallFieldTracker;
|
|
1951
|
-
messageId?: string;
|
|
1952
|
-
streamedToolInputs?: StreamedToolInputCache;
|
|
1953
|
-
}): SessionNotification[];
|
|
1954
|
-
/** Run a `session/prompt` while honoring `$/cancel_request` for it. ACP clients
|
|
1955
|
-
* normally stop a turn with the `session/cancel` notification, but `signal`
|
|
1956
|
-
* (the prompt request's abort signal) also fires when the client sends the
|
|
1957
|
-
* generic `$/cancel_request` for this prompt — the protocol's complementary
|
|
1958
|
-
* cancellation fallback. Route that to the same `agent.cancel` path so a client
|
|
1959
|
-
* using only the generic mechanism still stops the turn (and the prompt
|
|
1960
|
-
* resolves "cancelled" instead of running to completion).
|
|
1961
|
-
*
|
|
1962
|
-
* The listener is scoped to this call: once the prompt settles it is removed,
|
|
1963
|
-
* so a later teardown-time abort of the (per-request) signal can't cancel a
|
|
1964
|
-
* subsequent turn. `signal` also aborts on connection close, in which case
|
|
1965
|
-
* cancelling the in-flight turn is the desired behavior anyway. */
|
|
1966
|
-
export declare function runPromptWithCancellation(agent: Pick<ClaudeAcpAgent, "prompt" | "cancel" | "logger">, params: PromptRequest, signal: AbortSignal): Promise<PromptResponse>;
|
|
1967
|
-
/**
|
|
1968
|
-
* The ACP v1 surface of the adapter, for one connection.
|
|
1969
|
-
*
|
|
1970
|
-
* The agent of the connection is created when the connection opens, from the
|
|
1971
|
-
* connection-scoped peer handle (`connection.client`), which stays valid for
|
|
1972
|
-
* the whole connection. Connect handlers run before the connection processes
|
|
1973
|
-
* any inbound message, so every handler below sees the agent. `onAgent`
|
|
1974
|
-
* receives it for the owner of the process (shutdown).
|
|
1975
|
-
*/
|
|
1976
|
-
export declare function v1AgentApp(logger: Logger | undefined, onAgent: (agent: ClaudeAcpAgent) => void): AgentApp;
|
|
1977
|
-
/** Serves ACP v1 on stdio. */
|
|
1978
|
-
export declare function runAcp(logger?: Logger): {
|
|
1979
|
-
connection: import("@agentclientprotocol/sdk/unstable").AgentConnection;
|
|
1980
|
-
agent: ClaudeAcpAgent;
|
|
1981
|
-
};
|
|
1982
|
-
//# sourceMappingURL=acp-agent.d.ts.map
|