@ai-agent-forge/agent-forge 0.87.0 → 0.88.1
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/CHANGELOG.md +56 -0
- package/README.md +2 -2
- package/bundled-plugins/agent-loop-policy/agent-forge.json +19 -0
- package/bundled-plugins/agent-loop-policy/dist/entry.d.ts +28 -0
- package/bundled-plugins/agent-loop-policy/dist/entry.d.ts.map +1 -0
- package/bundled-plugins/agent-loop-policy/dist/entry.js +69 -0
- package/bundled-plugins/agent-loop-policy/dist/entry.js.map +1 -0
- package/bundled-plugins/agent-loop-policy/dist/loop-guard.d.ts +199 -0
- package/bundled-plugins/agent-loop-policy/dist/loop-guard.d.ts.map +1 -0
- package/bundled-plugins/agent-loop-policy/dist/loop-guard.js +208 -0
- package/bundled-plugins/agent-loop-policy/dist/loop-guard.js.map +1 -0
- package/bundled-plugins/agent-loop-policy/dist/run-loop-strategy.d.ts +17 -0
- package/bundled-plugins/agent-loop-policy/dist/run-loop-strategy.d.ts.map +1 -0
- package/bundled-plugins/agent-loop-policy/dist/run-loop-strategy.js +18 -0
- package/bundled-plugins/agent-loop-policy/dist/run-loop-strategy.js.map +1 -0
- package/bundled-plugins/agent-loop-policy/plugin.json +7 -0
- package/bundled-plugins/coding-tools/agent-forge.json +19 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/bash.d.ts +5 -44
- package/bundled-plugins/coding-tools/dist/bash.d.ts.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/bash.js +15 -119
- package/bundled-plugins/coding-tools/dist/bash.js.map +1 -0
- package/bundled-plugins/coding-tools/dist/capability.d.ts +25 -0
- package/bundled-plugins/coding-tools/dist/capability.d.ts.map +1 -0
- package/bundled-plugins/coding-tools/dist/capability.js +98 -0
- package/bundled-plugins/coding-tools/dist/capability.js.map +1 -0
- package/bundled-plugins/coding-tools/dist/config.d.ts +8 -0
- package/bundled-plugins/coding-tools/dist/config.d.ts.map +1 -0
- package/bundled-plugins/coding-tools/dist/config.js +8 -0
- package/bundled-plugins/coding-tools/dist/config.js.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/edit.d.ts +3 -3
- package/bundled-plugins/coding-tools/dist/edit.d.ts.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/edit.js +12 -10
- package/bundled-plugins/coding-tools/dist/edit.js.map +1 -0
- package/bundled-plugins/coding-tools/dist/entry.d.ts +14 -0
- package/bundled-plugins/coding-tools/dist/entry.d.ts.map +1 -0
- package/bundled-plugins/coding-tools/dist/entry.js +23 -0
- package/bundled-plugins/coding-tools/dist/entry.js.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/find.d.ts +4 -4
- package/bundled-plugins/coding-tools/dist/find.d.ts.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/find.js +10 -8
- package/bundled-plugins/coding-tools/dist/find.js.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/grep.d.ts +3 -3
- package/bundled-plugins/coding-tools/dist/grep.d.ts.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/grep.js +10 -8
- package/bundled-plugins/coding-tools/dist/grep.js.map +1 -0
- package/bundled-plugins/coding-tools/dist/index.d.ts +17 -0
- package/bundled-plugins/coding-tools/dist/index.d.ts.map +1 -0
- package/bundled-plugins/coding-tools/dist/index.js +17 -0
- package/bundled-plugins/coding-tools/dist/index.js.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/ls.d.ts +3 -3
- package/bundled-plugins/coding-tools/dist/ls.d.ts.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/ls.js +8 -6
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/ls.js.map +1 -1
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/powershell.d.ts +2 -1
- package/bundled-plugins/coding-tools/dist/powershell.d.ts.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/powershell.js +6 -3
- package/bundled-plugins/coding-tools/dist/powershell.js.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/read.d.ts +3 -3
- package/bundled-plugins/coding-tools/dist/read.d.ts.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/read.js +15 -13
- package/bundled-plugins/coding-tools/dist/read.js.map +1 -0
- package/bundled-plugins/coding-tools/dist/types.d.ts +74 -0
- package/bundled-plugins/coding-tools/dist/types.d.ts.map +1 -0
- package/bundled-plugins/coding-tools/dist/types.js +28 -0
- package/bundled-plugins/coding-tools/dist/types.js.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/write.d.ts +2 -2
- package/bundled-plugins/coding-tools/dist/write.d.ts.map +1 -0
- package/{dist/core/tools → bundled-plugins/coding-tools/dist}/write.js +11 -9
- package/bundled-plugins/coding-tools/dist/write.js.map +1 -0
- package/bundled-plugins/coding-tools/plugin.json +10 -0
- package/bundled-plugins/compaction-policy/agent-forge.json +19 -0
- package/bundled-plugins/compaction-policy/dist/branch-summary-policy.d.ts +6 -0
- package/bundled-plugins/compaction-policy/dist/branch-summary-policy.d.ts.map +1 -0
- package/bundled-plugins/compaction-policy/dist/branch-summary-policy.js +19 -0
- package/bundled-plugins/compaction-policy/dist/branch-summary-policy.js.map +1 -0
- package/bundled-plugins/compaction-policy/dist/compaction-policy.d.ts +6 -0
- package/bundled-plugins/compaction-policy/dist/compaction-policy.d.ts.map +1 -0
- package/bundled-plugins/compaction-policy/dist/compaction-policy.js +38 -0
- package/bundled-plugins/compaction-policy/dist/compaction-policy.js.map +1 -0
- package/bundled-plugins/compaction-policy/dist/entry.d.ts +13 -0
- package/bundled-plugins/compaction-policy/dist/entry.d.ts.map +1 -0
- package/bundled-plugins/compaction-policy/dist/entry.js +23 -0
- package/bundled-plugins/compaction-policy/dist/entry.js.map +1 -0
- package/bundled-plugins/compaction-policy/plugin.json +10 -0
- package/bundled-plugins/mcp-http/dist/index.d.ts +8 -0
- package/bundled-plugins/mcp-http/dist/index.d.ts.map +1 -0
- package/bundled-plugins/mcp-http/dist/index.js +8 -0
- package/bundled-plugins/mcp-http/dist/index.js.map +1 -0
- package/bundled-plugins/mcp-http/dist/mcp-http.d.ts.map +1 -0
- package/{dist/plugins → bundled-plugins/mcp-http/dist}/mcp-http.js +1 -1
- package/bundled-plugins/mcp-http/dist/mcp-http.js.map +1 -0
- package/bundled-plugins/overflow-policy/agent-forge.json +19 -0
- package/bundled-plugins/overflow-policy/dist/entry.d.ts +16 -0
- package/bundled-plugins/overflow-policy/dist/entry.d.ts.map +1 -0
- package/bundled-plugins/overflow-policy/dist/entry.js +35 -0
- package/bundled-plugins/overflow-policy/dist/entry.js.map +1 -0
- package/bundled-plugins/overflow-policy/plugin.json +10 -0
- package/bundled-plugins/provider-failover/agent-forge.json +19 -0
- package/bundled-plugins/provider-failover/dist/entry.d.ts +8 -0
- package/bundled-plugins/provider-failover/dist/entry.d.ts.map +1 -0
- package/bundled-plugins/provider-failover/dist/entry.js +8 -0
- package/bundled-plugins/provider-failover/dist/entry.js.map +1 -0
- package/bundled-plugins/provider-failover/dist/provider-failover.d.ts +122 -0
- package/bundled-plugins/provider-failover/dist/provider-failover.d.ts.map +1 -0
- package/{dist/core/extensions → bundled-plugins/provider-failover/dist}/provider-failover.js +149 -61
- package/bundled-plugins/provider-failover/dist/provider-failover.js.map +1 -0
- package/bundled-plugins/provider-failover/plugin.json +7 -0
- package/bundled-plugins/retry-policy/agent-forge.json +19 -0
- package/bundled-plugins/retry-policy/dist/entry.d.ts +16 -0
- package/bundled-plugins/retry-policy/dist/entry.d.ts.map +1 -0
- package/bundled-plugins/retry-policy/dist/entry.js +34 -0
- package/bundled-plugins/retry-policy/dist/entry.js.map +1 -0
- package/bundled-plugins/retry-policy/plugin.json +10 -0
- package/dist/bundle/.build-manifest.json +105 -183
- package/dist/bundle/chunks/{anthropic-messages-ALDZBUKI.js → anthropic-messages-PLAKXR73.js} +1 -1
- package/dist/bundle/chunks/{azure-openai-responses-A2WJWZFB.js → azure-openai-responses-OUWQ2AZD.js} +1 -1
- package/dist/bundle/chunks/{chunk-CIX3FSBK.js → chunk-A3JYRWB6.js} +1 -1
- package/dist/bundle/chunks/{chunk-SQFG22WN.js → chunk-AC2FIS4G.js} +1 -1
- package/dist/bundle/chunks/chunk-AQLNTW2B.js +664 -0
- package/dist/bundle/chunks/chunk-D3ARGZFR.js +13 -0
- package/dist/bundle/chunks/{chunk-YJCQVXW5.js → chunk-HTEVUY7F.js} +1 -1
- package/dist/bundle/chunks/{chunk-Y7HXTASS.js → chunk-HV64ASMT.js} +1 -1
- package/dist/bundle/chunks/chunk-LZOEQITZ.js +855 -0
- package/dist/bundle/chunks/{chunk-7ZY7IXZD.js → chunk-TRDNDS6A.js} +1 -1
- package/dist/bundle/chunks/chunk-Z72JWUZ4.js +4 -0
- package/dist/bundle/chunks/{google-generative-ai-NIB4WONV.js → google-generative-ai-DLII6DAT.js} +1 -1
- package/dist/bundle/chunks/{google-vertex-DCPYUEUO.js → google-vertex-G7BZL7GM.js} +1 -1
- package/dist/bundle/chunks/image-resize-worker.js +3 -3
- package/dist/bundle/chunks/{mistral-conversations-OC6LA5XL.js → mistral-conversations-JXUK24ID.js} +1 -1
- package/dist/bundle/chunks/{openai-codex-responses-IO2X4Y7L.js → openai-codex-responses-5GSGFIPG.js} +1 -1
- package/dist/bundle/chunks/{openai-completions-XYQQHETU.js → openai-completions-EI2I6DTG.js} +1 -1
- package/dist/bundle/chunks/{openai-responses-DLIRN3CI.js → openai-responses-AUJQ3NWT.js} +1 -1
- package/dist/bundle/chunks/{pi-messages-E6RRYBO7.js → pi-messages-PWU2VJMR.js} +1 -1
- package/dist/bundle/chunks/virtual-modules-WF6WRHP7.js +5 -0
- package/dist/bundle/cli.js +1 -1
- package/dist/bundle/client.js +1 -1
- package/dist/bundle/index.js +3 -3
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/capabilities/builtin.d.ts +1 -1
- package/dist/capabilities/builtin.d.ts.map +1 -1
- package/dist/capabilities/builtin.js +5 -0
- package/dist/capabilities/builtin.js.map +1 -1
- package/dist/cli/auth-check.d.ts.map +1 -1
- package/dist/cli/auth-check.js +14 -2
- package/dist/cli/auth-check.js.map +1 -1
- package/dist/cli/auth-command.d.ts.map +1 -1
- package/dist/cli/auth-command.js +1 -1
- package/dist/cli/auth-command.js.map +1 -1
- package/dist/cli/plugin-command.d.ts.map +1 -1
- package/dist/cli/plugin-command.js +17 -1
- package/dist/cli/plugin-command.js.map +1 -1
- package/dist/config.d.ts +2 -3
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +5 -6
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session-bash.d.ts +1 -1
- package/dist/core/agent-session-bash.d.ts.map +1 -1
- package/dist/core/agent-session-bash.js +1 -1
- package/dist/core/agent-session-bash.js.map +1 -1
- package/dist/core/agent-session-compaction.d.ts +6 -10
- package/dist/core/agent-session-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-compaction.js +21 -112
- package/dist/core/agent-session-compaction.js.map +1 -1
- package/dist/core/agent-session-internal.d.ts +1 -7
- package/dist/core/agent-session-internal.d.ts.map +1 -1
- package/dist/core/agent-session-internal.js.map +1 -1
- package/dist/core/agent-session-loop.d.ts +4 -3
- package/dist/core/agent-session-loop.d.ts.map +1 -1
- package/dist/core/agent-session-loop.js +9 -6
- package/dist/core/agent-session-loop.js.map +1 -1
- package/dist/core/agent-session-retry.d.ts +1 -1
- package/dist/core/agent-session-retry.d.ts.map +1 -1
- package/dist/core/agent-session-retry.js +32 -4
- package/dist/core/agent-session-retry.js.map +1 -1
- package/dist/core/agent-session-services.d.ts.map +1 -1
- package/dist/core/agent-session-services.js +30 -9
- package/dist/core/agent-session-services.js.map +1 -1
- package/dist/core/agent-session-tools.d.ts.map +1 -1
- package/dist/core/agent-session-tools.js +5 -1
- package/dist/core/agent-session-tools.js.map +1 -1
- package/dist/core/agent-session.d.ts +12 -33
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +61 -67
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/bash-executor.d.ts +1 -1
- package/dist/core/bash-executor.d.ts.map +1 -1
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/extensions/bootstrap-agent-loop.d.ts +23 -151
- package/dist/core/extensions/bootstrap-agent-loop.d.ts.map +1 -1
- package/dist/core/extensions/bootstrap-agent-loop.js +28 -290
- package/dist/core/extensions/bootstrap-agent-loop.js.map +1 -1
- package/dist/core/extensions/capability-runtime-types.d.ts +5 -3
- package/dist/core/extensions/capability-runtime-types.d.ts.map +1 -1
- package/dist/core/extensions/capability-runtime-types.js.map +1 -1
- package/dist/core/extensions/capability-runtime.d.ts.map +1 -1
- package/dist/core/extensions/capability-runtime.js +42 -6
- package/dist/core/extensions/capability-runtime.js.map +1 -1
- package/dist/core/extensions/index.d.ts +12 -5
- package/dist/core/extensions/index.d.ts.map +1 -1
- package/dist/core/extensions/index.js +12 -5
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/virtual-modules.d.ts.map +1 -1
- package/dist/core/extensions/virtual-modules.js +65 -0
- package/dist/core/extensions/virtual-modules.js.map +1 -1
- package/dist/core/facade/coding-agent-facade.d.ts +1 -7
- package/dist/core/facade/coding-agent-facade.d.ts.map +1 -1
- package/dist/core/facade/coding-agent-facade.js +0 -3
- package/dist/core/facade/coding-agent-facade.js.map +1 -1
- package/dist/core/i18n/locales/zh-cn/cli.d.ts.map +1 -1
- package/dist/core/i18n/locales/zh-cn/cli.js +3 -1
- package/dist/core/i18n/locales/zh-cn/cli.js.map +1 -1
- package/dist/core/i18n/locales/zh-cn/core-contract-core.d.ts +1 -1
- package/dist/core/i18n/locales/zh-cn/core-contract-core.d.ts.map +1 -1
- package/dist/core/i18n/locales/zh-cn/core-contract-core.js +1 -1
- package/dist/core/i18n/locales/zh-cn/core-contract-core.js.map +1 -1
- package/dist/core/i18n/locales/zh-cn/core-contract-extensions.d.ts.map +1 -1
- package/dist/core/i18n/locales/zh-cn/core-contract-extensions.js +2 -4
- package/dist/core/i18n/locales/zh-cn/core-contract-extensions.js.map +1 -1
- package/dist/core/i18n/locales/zh-cn/core-errors.d.ts.map +1 -1
- package/dist/core/i18n/locales/zh-cn/core-errors.js +3 -1
- package/dist/core/i18n/locales/zh-cn/core-errors.js.map +1 -1
- package/dist/core/i18n/locales/zh-cn/interactive-mode.d.ts.map +1 -1
- package/dist/core/i18n/locales/zh-cn/interactive-mode.js +2 -0
- package/dist/core/i18n/locales/zh-cn/interactive-mode.js.map +1 -1
- package/dist/core/i18n/locales/zh-cn/tui-components-selectors.d.ts.map +1 -1
- package/dist/core/i18n/locales/zh-cn/tui-components-selectors.js +0 -2
- package/dist/core/i18n/locales/zh-cn/tui-components-selectors.js.map +1 -1
- package/dist/core/model-config.d.ts +0 -1
- package/dist/core/model-config.d.ts.map +1 -1
- package/dist/core/model-config.js +9 -1
- package/dist/core/model-config.js.map +1 -1
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +3 -3
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/provider-composer.d.ts +2 -2
- package/dist/core/provider-composer.d.ts.map +1 -1
- package/dist/core/provider-composer.js +7 -8
- package/dist/core/provider-composer.js.map +1 -1
- package/dist/core/sdk.d.ts +18 -3
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +267 -76
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/settings-manager.d.ts +9 -20
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +20 -54
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/tools/bash-operations.d.ts +41 -0
- package/dist/core/tools/bash-operations.d.ts.map +1 -0
- package/dist/core/tools/bash-operations.js +113 -0
- package/dist/core/tools/bash-operations.js.map +1 -0
- package/dist/core/tools/index.d.ts +12 -36
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/index.js +1 -117
- package/dist/core/tools/index.js.map +1 -1
- package/dist/core/tools/readme-path.d.ts +3 -0
- package/dist/core/tools/readme-path.d.ts.map +1 -0
- package/dist/core/tools/readme-path.js +15 -0
- package/dist/core/tools/readme-path.js.map +1 -0
- package/dist/index.d.ts +3 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -39
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +3 -2
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts +0 -2
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +2 -7
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +2 -6
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +6 -28
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +0 -1
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +9 -25
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +0 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +23 -36
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +0 -8
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +0 -12
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +0 -9
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +0 -19
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/dist/plugins/ecosystem/cli.d.ts.map +1 -1
- package/dist/plugins/ecosystem/cli.js +14 -2
- package/dist/plugins/ecosystem/cli.js.map +1 -1
- package/dist/plugins/ecosystem/node-npm-registry-source.d.ts +7 -2
- package/dist/plugins/ecosystem/node-npm-registry-source.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-npm-registry-source.js +64 -9
- package/dist/plugins/ecosystem/node-npm-registry-source.js.map +1 -1
- package/dist/plugins/ecosystem/node-plugin-acquisition-host.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-plugin-acquisition-host.js +6 -0
- package/dist/plugins/ecosystem/node-plugin-acquisition-host.js.map +1 -1
- package/dist/plugins/ecosystem/node-plugin-bootstrap.d.ts +9 -2
- package/dist/plugins/ecosystem/node-plugin-bootstrap.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-plugin-bootstrap.js +23 -0
- package/dist/plugins/ecosystem/node-plugin-bootstrap.js.map +1 -1
- package/dist/plugins/ecosystem/plugin-bootstrap.d.ts +9 -1
- package/dist/plugins/ecosystem/plugin-bootstrap.d.ts.map +1 -1
- package/dist/plugins/ecosystem/plugin-bootstrap.js +5 -0
- package/dist/plugins/ecosystem/plugin-bootstrap.js.map +1 -1
- package/dist/profiles/builtin-suites.d.ts +5 -1
- package/dist/profiles/builtin-suites.d.ts.map +1 -1
- package/dist/profiles/builtin-suites.js +6 -1
- package/dist/profiles/builtin-suites.js.map +1 -1
- package/dist/utils/photon.d.ts +2 -2
- package/dist/utils/photon.d.ts.map +1 -1
- package/dist/utils/photon.js +2 -2
- package/dist/utils/photon.js.map +1 -1
- package/docs/compaction.md +1 -3
- package/docs/docs.json +4 -0
- package/docs/index.md +1 -0
- package/docs/mcp.md +103 -0
- package/docs/models.md +14 -22
- package/docs/providers.md +0 -1
- package/docs/rpc.md +1 -26
- package/docs/sdk.md +4 -6
- package/docs/settings.md +9 -12
- package/docs/skills.md +1 -9
- package/docs/usage.md +1 -1
- package/examples/extensions/bash-spawn-hook/index.ts +7 -2
- package/examples/extensions/built-in-tool-renderer/index.ts +4 -2
- package/examples/extensions/minimal-mode/index.ts +2 -2
- package/examples/extensions/truncated-tool/index.ts +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/examples/extensions/with-deps/plugin.json +1 -1
- package/examples/sdk/10-settings.ts +2 -4
- package/examples/sdk/12-full-control.ts +1 -2
- package/package.json +3 -4
- package/dist/bundle/chunks/chunk-6ZKDNZHA.js +0 -145
- package/dist/bundle/chunks/chunk-BFC2BDVJ.js +0 -13
- package/dist/bundle/chunks/chunk-MOHOLL3F.js +0 -1456
- package/dist/bundle/chunks/virtual-modules-KZ5DRH7Q.js +0 -2
- package/dist/core/extensions/bootstrap-branch-summary-policy.d.ts +0 -7
- package/dist/core/extensions/bootstrap-branch-summary-policy.d.ts.map +0 -1
- package/dist/core/extensions/bootstrap-branch-summary-policy.js +0 -28
- package/dist/core/extensions/bootstrap-branch-summary-policy.js.map +0 -1
- package/dist/core/extensions/bootstrap-compaction-policy.d.ts +0 -7
- package/dist/core/extensions/bootstrap-compaction-policy.d.ts.map +0 -1
- package/dist/core/extensions/bootstrap-compaction-policy.js +0 -82
- package/dist/core/extensions/bootstrap-compaction-policy.js.map +0 -1
- package/dist/core/extensions/bootstrap-overflow-policy.d.ts +0 -7
- package/dist/core/extensions/bootstrap-overflow-policy.d.ts.map +0 -1
- package/dist/core/extensions/bootstrap-overflow-policy.js +0 -30
- package/dist/core/extensions/bootstrap-overflow-policy.js.map +0 -1
- package/dist/core/extensions/bootstrap-retry-policy.d.ts +0 -7
- package/dist/core/extensions/bootstrap-retry-policy.d.ts.map +0 -1
- package/dist/core/extensions/bootstrap-retry-policy.js +0 -29
- package/dist/core/extensions/bootstrap-retry-policy.js.map +0 -1
- package/dist/core/extensions/bootstrap-tools.d.ts +0 -20
- package/dist/core/extensions/bootstrap-tools.d.ts.map +0 -1
- package/dist/core/extensions/bootstrap-tools.js +0 -36
- package/dist/core/extensions/bootstrap-tools.js.map +0 -1
- package/dist/core/extensions/microcompact.d.ts +0 -80
- package/dist/core/extensions/microcompact.d.ts.map +0 -1
- package/dist/core/extensions/microcompact.js +0 -134
- package/dist/core/extensions/microcompact.js.map +0 -1
- package/dist/core/extensions/provider-failover.d.ts +0 -106
- package/dist/core/extensions/provider-failover.d.ts.map +0 -1
- package/dist/core/extensions/provider-failover.js.map +0 -1
- package/dist/core/tools/bash.d.ts.map +0 -1
- package/dist/core/tools/bash.js.map +0 -1
- package/dist/core/tools/edit.d.ts.map +0 -1
- package/dist/core/tools/edit.js.map +0 -1
- package/dist/core/tools/find.d.ts.map +0 -1
- package/dist/core/tools/find.js.map +0 -1
- package/dist/core/tools/grep.d.ts.map +0 -1
- package/dist/core/tools/grep.js.map +0 -1
- package/dist/core/tools/ls.d.ts.map +0 -1
- package/dist/core/tools/powershell.d.ts.map +0 -1
- package/dist/core/tools/powershell.js.map +0 -1
- package/dist/core/tools/read.d.ts.map +0 -1
- package/dist/core/tools/read.js.map +0 -1
- package/dist/core/tools/write.d.ts.map +0 -1
- package/dist/core/tools/write.js.map +0 -1
- package/dist/plugins/mcp-http.d.ts.map +0 -1
- package/dist/plugins/mcp-http.js.map +0 -1
- package/dist/profile/child-facade.d.ts +0 -44
- package/dist/profile/child-facade.d.ts.map +0 -1
- package/dist/profile/child-facade.js +0 -56
- package/dist/profile/child-facade.js.map +0 -1
- package/dist/profile/dependency-wiring.d.ts +0 -48
- package/dist/profile/dependency-wiring.d.ts.map +0 -1
- package/dist/profile/dependency-wiring.js +0 -56
- package/dist/profile/dependency-wiring.js.map +0 -1
- package/dist/profile/domain-recovery.d.ts +0 -60
- package/dist/profile/domain-recovery.d.ts.map +0 -1
- package/dist/profile/domain-recovery.js +0 -94
- package/dist/profile/domain-recovery.js.map +0 -1
- package/dist/profile/first-roles.d.ts +0 -30
- package/dist/profile/first-roles.d.ts.map +0 -1
- package/dist/profile/first-roles.js +0 -83
- package/dist/profile/first-roles.js.map +0 -1
- package/dist/profile/goal-plugin.d.ts +0 -38
- package/dist/profile/goal-plugin.d.ts.map +0 -1
- package/dist/profile/goal-plugin.js +0 -132
- package/dist/profile/goal-plugin.js.map +0 -1
- package/dist/profile/plan-plugin.d.ts +0 -44
- package/dist/profile/plan-plugin.d.ts.map +0 -1
- package/dist/profile/plan-plugin.js +0 -157
- package/dist/profile/plan-plugin.js.map +0 -1
- package/dist/profile/policy-manifest.d.ts +0 -53
- package/dist/profile/policy-manifest.d.ts.map +0 -1
- package/dist/profile/policy-manifest.js +0 -53
- package/dist/profile/policy-manifest.js.map +0 -1
- package/dist/profile/role-assembly.d.ts +0 -47
- package/dist/profile/role-assembly.d.ts.map +0 -1
- package/dist/profile/role-assembly.js +0 -31
- package/dist/profile/role-assembly.js.map +0 -1
- package/dist/profile/role-catalog.d.ts +0 -43
- package/dist/profile/role-catalog.d.ts.map +0 -1
- package/dist/profile/role-catalog.js +0 -132
- package/dist/profile/role-catalog.js.map +0 -1
- package/dist/profile/role-orchestrator.d.ts +0 -123
- package/dist/profile/role-orchestrator.d.ts.map +0 -1
- package/dist/profile/role-orchestrator.js +0 -195
- package/dist/profile/role-orchestrator.js.map +0 -1
- package/dist/profile/role-runner.d.ts +0 -99
- package/dist/profile/role-runner.d.ts.map +0 -1
- package/dist/profile/role-runner.js +0 -79
- package/dist/profile/role-runner.js.map +0 -1
- package/dist/profile/root-facade.d.ts +0 -36
- package/dist/profile/root-facade.d.ts.map +0 -1
- package/dist/profile/root-facade.js +0 -49
- package/dist/profile/root-facade.js.map +0 -1
- package/dist/profile/skill-discovery-wiring.d.ts +0 -58
- package/dist/profile/skill-discovery-wiring.d.ts.map +0 -1
- package/dist/profile/skill-discovery-wiring.js +0 -80
- package/dist/profile/skill-discovery-wiring.js.map +0 -1
- package/dist/profile/state-store.d.ts +0 -62
- package/dist/profile/state-store.d.ts.map +0 -1
- package/dist/profile/state-store.js +0 -144
- package/dist/profile/state-store.js.map +0 -1
- package/dist/profile/todo-plugin.d.ts +0 -37
- package/dist/profile/todo-plugin.d.ts.map +0 -1
- package/dist/profile/todo-plugin.js +0 -137
- package/dist/profile/todo-plugin.js.map +0 -1
- package/dist/server/create-harness.d.ts +0 -26
- package/dist/server/create-harness.d.ts.map +0 -1
- package/dist/server/create-harness.js +0 -106
- package/dist/server/create-harness.js.map +0 -1
- /package/{dist/plugins → bundled-plugins/mcp-http/dist}/mcp-http.d.ts +0 -0
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG3G,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAO7D,OAAO,EACN,uBAAuB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,GACrC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,mBAAmB,GACnB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACN,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,iBAAiB,EACjB,gBAAgB,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,IAAI,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,iBAAiB,MAAM,oCAAoC,CAAC;AAGxE,OAAO,KAAK,UAAU,MAAM,sCAAsC,CAAC;AACnE,OAAO,EACN,eAAe,EACf,WAAW,EACX,WAAW,EACX,eAAe,EACf,aAAa,EACb,aAAa,EACb,cAAc,EACd,OAAO,GACP,MAAM,aAAa,CAAC;AACrB,OAAO,EACN,4BAA4B,EAC5B,iCAAiC,EACjC,oBAAoB,EACpB,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,KAAK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CAAC;AAEpC,OAAO,EACN,kBAAkB,EAClB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,KAAK,gBAAgB,GACrB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,iBAAiB,EAAE,KAAK,aAAa,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAElG,OAAO,EACN,kBAAkB,EAClB,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,YAAY,GACjB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EAAE,oCAAoC,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["// Core session management\n\nexport type { AgentToolResult, AgentToolUpdateCallback, ToolExecutionMode } from \"@agent-forge/agent-core\";\n// First-party plugin ecosystem (opt-in namespaces; domain plugins do not\n// alter the default coding tool surface).\nexport * as PluginContractsV1 from \"@agent-forge/plugin-sdk\";\n// Memory capability storage contract (扩展位盘点 A1/A2): injectable\n// store/ledger factories and vector components behind\n// `CreateAgentSessionOptions.memoryCapability.storage`. Authoritative home is\n// @agent-forge/plugin-sdk since the S4-4 split (the memory capability itself\n// moved to the @agent-forge/plugin-memory package); re-exported here so the\n// memory-backend example and existing host imports keep resolving.\nexport {\n\tMEMORY_RECALL_TOOL_NAME,\n\ttype MemoryCapabilityOverrideV1,\n\ttype MemoryStorageComponentsV1,\n\ttype MemoryVectorComponentsOverrideV1,\n} from \"@agent-forge/plugin-sdk\";\n// Artifact store (2.6a): session export artifacts with bounded reads and EOL\nexport {\n\ttype ArtifactStatV1,\n\ttype ArtifactStoreV1,\n\tcreateArtifactStore,\n} from \"./artifacts/artifact-store.ts\";\n// Paged artifact reading (3.5c): ref-based expansion with explicit failures\nexport {\n\ttype ArtifactPageDirectoryEntryV1,\n\ttype ArtifactPagePlanV1,\n\ttype ArtifactPageReadV1,\n\tplanArtifactPages,\n\treadArtifactPage,\n} from \"./artifacts/paged-read.ts\";\nexport { type Args, parseArgs } from \"./cli/args.ts\";\nexport * as PluginManagerUiV1 from \"./cli/plugin-manager-controller.ts\";\n// Host-owned plugin management surfaces. They expose bounded DTOs only; the\n// registry, installer, package paths and credentials remain behind the host.\nexport * as PluginUiV1 from \"./cli/plugin-selection-controller.ts\";\nexport {\n\tCONFIG_DIR_NAME,\n\tgetAgentDir,\n\tgetDocsPath,\n\tgetExamplesPath,\n\tgetPackageDir,\n\tgetReadmePath,\n\tgetSessionsDir,\n\tVERSION,\n} from \"./config.ts\";\nexport {\n\tAGENT_CAPABILITY_CONTRACT_ID,\n\tAGENT_CAPABILITY_CONTRACT_VERSION,\n\tAGENT_ERROR_CODES_V1,\n\ttype AgentCapabilityContractInputV1,\n\ttype AgentCapabilityContractV1,\n\ttype AgentCapabilityContractVersion,\n\ttype AgentDefinitionSnapshotV1,\n\ttype AgentErrorCodeV1,\n\ttype AgentInstanceSnapshotV1,\n\ttype AgentProfileV1,\n\ttype ArtifactRefV1,\n\tassertCapabilitySupportedV1,\n\tbuildAgentCapabilityContract,\n\tbuildAgentCapabilityContractV1,\n\tbuildAgentDefinitionSnapshotV1,\n\tbuildAgentInstanceSnapshotV1,\n\tbuildAgentProfileV1,\n\tbuildArtifactRefV1,\n\tbuildCanonicalContractFixtureVectorsV1,\n\tbuildCanonicalContractVectorsV1,\n\tbuildCommandRequestV1,\n\tbuildContractCompatibilityRequirementsV1,\n\tbuildErrorEnvelopeV1,\n\tbuildEventEnvelope,\n\tbuildEventEnvelopeV1,\n\tbuildHostContextV1,\n\tbuildOperationSnapshotV1,\n\tbuildOperationTerminalV1,\n\tbuildSessionRevisionV1,\n\tbuildSessionSnapshotV1,\n\ttype CanonicalContractFixtureVectorV1,\n\ttype CanonicalContractVectorsV1,\n\ttype CapabilityRefV1,\n\ttype CapabilityResolutionV1,\n\ttype CommandAdmissionV1,\n\ttype CommandOperationRegistryV1,\n\ttype CommandRequestInputV1,\n\ttype CommandRequestV1,\n\ttype ContractCompatibilityIssueCodeV1,\n\ttype ContractCompatibilityIssueV1,\n\ttype ContractCompatibilityRequirementsV1,\n\ttype ContractCompatibilityResultV1,\n\tcheckContractCompatibilityV1,\n\tcreateCommandOperationRegistryV1,\n\ttype ErrorEnvelopeV1,\n\ttype EventCategoryV1,\n\ttype EventDeliveryGuaranteeV1,\n\ttype EventEnvelopeInputV1,\n\ttype EventEnvelopeV1,\n\ttype HostContextV1,\n\ttype HostMode as CanonicalHostModeV1,\n\ttype HostTransport,\n\tisRegisteredAgentErrorCodeV1,\n\ttype JsonValue,\n\tmapProtocolErrorCodeToAgentErrorV1,\n\ttype OperationSnapshotV1,\n\ttype OperationStatusV1,\n\ttype OperationTerminalV1,\n\tresolveCapabilityV1,\n\ttype SessionRevisionV1,\n\ttype SessionSnapshotV1,\n\ttoErrorEnvelopeV1,\n\tvalidateAgentCapabilityContract,\n\tvalidateAgentCapabilityContractV1,\n\tvalidateAgentProfileV1,\n\tvalidateArtifactRefV1,\n\tvalidateCommandAdmissionV1,\n\tvalidateCommandRequestV1,\n\tvalidateContractCompatibilityRequirementsV1,\n\tvalidateContractCompatibilityResultV1,\n\tvalidateErrorEnvelopeV1,\n\tvalidateEventEnvelope,\n\tvalidateEventEnvelopeV1,\n\tvalidateHostContextV1,\n\tvalidateOperationSnapshotV1,\n\tvalidateOperationTerminalV1,\n\tvalidateSessionRevisionV1,\n\tvalidateSessionSnapshotV1,\n} from \"./core/agent-capability-contract.ts\";\nexport {\n\tAgentSession,\n\ttype AgentSessionConfig,\n\ttype AgentSessionEvent,\n\ttype AgentSessionEventListener,\n\ttype ModelCycleResult,\n\ttype ParsedSkillBlock,\n\ttype PromptOptions,\n\tparseSkillBlock,\n\ttype SessionStats,\n} from \"./core/agent-session.ts\";\nexport { readStoredCredential } from \"./core/auth-storage.ts\";\n// Compaction\nexport {\n\ttype BranchPreparation,\n\ttype BranchSummaryResult,\n\ttype CollectEntriesResult,\n\ttype CompactionResult,\n\ttype CutPointResult,\n\tcalculateContextTokens,\n\tcollectEntriesForBranchSummary,\n\tcompact,\n\tDEFAULT_COMPACTION_SETTINGS,\n\testimateTokens,\n\ttype FileOperations,\n\tfindCutPoint,\n\tfindTurnStartIndex,\n\ttype GenerateBranchSummaryOptions,\n\tgenerateBranchSummary,\n\tgenerateSummary,\n\tgenerateSummaryWithUsage,\n\tgetLastAssistantUsage,\n\tprepareBranchEntries,\n\tserializeConversation,\n\tshouldCompact,\n} from \"./core/compaction/index.ts\";\nexport {\n\tcreateEmbeddedSdkBinding,\n\tcreateEmbeddedSdkBindingV1,\n\ttype EmbeddedAgentDefinitionV1,\n\ttype EmbeddedAgentInstanceV1,\n\ttype EmbeddedAgentResultV1,\n\ttype EmbeddedControllerLeaseV1,\n\ttype EmbeddedOperationHandleV1,\n\ttype EmbeddedSdkBindingV1,\n\ttype EmbeddedSdkEventListenerV1,\n\ttype EmbeddedSdkOptionsV1,\n\ttype EmbeddedSdkSubscriptionV1,\n\ttype EmbeddedSessionBindingV1,\n} from \"./core/embedded-sdk.ts\";\nexport { createEventBus, type EventBus, type EventBusController } from \"./core/event-bus.ts\";\nexport type { ExecOptions, ExecResult } from \"./core/exec.ts\";\n// Config paths\nexport {\n\ttype AgentCompositionAPI,\n\ttype AgentCompositionDefinitionBinding,\n\ttype AgentCompositionHostBinding,\n\ttype AgentCompositionLifecycleBinding,\n\ttype AgentCompositionLifecycleDispatcher,\n\ttype AgentCompositionLifecycleEvent,\n\ttype AgentCompositionLifecycleEventName,\n\ttype AgentCompositionLifecycleTerminalStatus,\n\tAgentCompositionRuntime,\n\ttype AgentCompositionRuntimeOptions,\n\ttype AgentCompositionScopedHostBinding,\n\ttype AgentContextCommitRequestV1,\n\ttype AgentContextCommitResultV1,\n\ttype AgentContextFacadeV1,\n\ttype AgentContextSnapshotV1,\n\ttype AgentControllerLease,\n\ttype AgentControllerRole,\n\ttype AgentDefinition,\n\ttype AgentDefinitionDeclaration,\n\ttype AgentExecutionContext,\n\ttype AgentHostPrimitivesFactory,\n\ttype AgentHostPrimitivesFactoryContext,\n\ttype AgentHostPrimitivesV1,\n\ttype AgentInstance,\n\ttype AgentInstanceResult,\n\ttype AgentInstanceSnapshot,\n\ttype AgentInstanceStatus,\n\ttype AgentOperationFacadeV1,\n\ttype AgentSessionFacadeV1,\n\ttype AgentTaskAdapter,\n\ttype AgentTaskAPI,\n\ttype AgentTaskCreateRequest,\n\ttype AgentTaskHandle,\n\ttype AgentTaskHost,\n\ttype AgentTaskResultV1,\n\ttype AgentTaskStatus,\n\ttype AgentTaskWaitResult,\n\tBOOTSTRAP_COMPACTION_PLUGIN_ID,\n\tBOOTSTRAP_LIFECYCLE_PLUGIN_ID,\n\tBOOTSTRAP_RETRY_PLUGIN_ID,\n\tBOOTSTRAP_TOOLS_PLUGIN_ID,\n\ttype BootstrapToolsOptions,\n\tCAPABILITY_CALL_EVENT_ID,\n\tCAPABILITY_CALL_EVENT_VERSION,\n\ttype CapabilityAPI,\n\ttype CapabilityCallEventDataV1,\n\ttype CapabilityCallEventNameV1,\n\ttype CapabilityCallStatusV1,\n\ttype CapabilityCommandContext,\n\ttype CapabilityCommandDefinition,\n\ttype CapabilityCommandLink,\n\ttype CapabilityCommandResult,\n\ttype CapabilityDirectoryAPI,\n\ttype CapabilityHandle,\n\ttype CapabilityPluginFactory,\n\ttype CapabilityPluginFactoryResult,\n\ttype CapabilityPluginHandle,\n\ttype CapabilityPluginInstance,\n\ttype CapabilityPluginSyncFactory,\n\ttype CapabilityPluginSyncInstance,\n\ttype CapabilityProviderHandler,\n\ttype CapabilityRuntime,\n\ttype CompactionCommitAppliedV1,\n\ttype CompactionCommitRequestV1,\n\ttype CompactionCommitResultV1,\n\ttype CompactionCommitRevisionConflictV1,\n\ttype CompactionPolicy,\n\ttype CompactionPolicyDecision,\n\ttype CompactionPolicyRequest,\n\ttype CompactionSummaryRequest,\n\ttype CompactionSummaryResult,\n\ttype ContextStrategy,\n\ttype ContributionAPI,\n\ttype ContributionChangeEvent,\n\ttype ContributionEntry,\n\ttype ContributionHandle,\n\ttype ContributionLifecycle,\n\ttype ContributionPoint,\n\ttype ContributionPointDefinition,\n\ttype CredentialAPI,\n\ttype CredentialResolution,\n\ttype CredentialResolveRequest,\n\tcreateAgentCompositionRuntime,\n\tcreateCapabilityRuntime,\n\tcreateDisposableRegistration,\n\tcreateEventEnvelope,\n\tDEFAULT_COMPACTION_POLICY_NAME,\n\tDEFAULT_RETRY_POLICY_NAME,\n\ttype DiagnosticsAPI,\n\ttype DiagnosticsSpan,\n\ttype DiagnosticsSpanEnd,\n\ttype DiagnosticsSpanSnapshot,\n\ttype DisposableRegistration,\n\tdiscoverCapabilityPluginManifests,\n\ttype EventEnvelope,\n\tEXPERIMENTAL_PUBLIC_API_VERSION,\n\ttype ExecutionFactsV1,\n\ttype ExecutionPhaseV1,\n\ttype HostCapabilities,\n\ttype HostMode,\n\tinstallBootstrapCompactionPolicy,\n\tinstallBootstrapLifecycle,\n\tinstallBootstrapRetryPolicy,\n\tinstallBootstrapTools,\n\tinstallSessionBootstrapTools,\n\ttype LifecycleAfterCommitHandler,\n\ttype LifecycleAPI,\n\ttype LifecycleDeliveryFailure,\n\ttype LifecycleDeliveryMode,\n\ttype LifecycleDeliveryOptions,\n\ttype LifecycleDeliveryReport,\n\ttype LifecycleDeliverySnapshot,\n\ttype LifecycleDispatchRequest,\n\ttype LifecycleDispatchResult,\n\ttype LifecycleEvent,\n\ttype LifecycleEventDefinition,\n\ttype LifecycleEventReference,\n\tLifecycleExecuteError,\n\ttype LifecycleExecuteHandler,\n\ttype LifecycleObserveHandler,\n\ttype LifecyclePhase,\n\ttype LifecycleRegistrationKind,\n\tLifecycleTransformError,\n\ttype LifecycleTransformHandler,\n\ttype LoggerAPI,\n\ttype LoggerLevel,\n\ttype LoggerRecord,\n\tloadCapabilityPlugin,\n\tloadCapabilityPluginFromManifest,\n\tloadCapabilityPluginSync,\n\tMODEL_RESPONSE_EVENT_ID,\n\tMODEL_RESPONSE_EVENT_VERSION,\n\tMODEL_STREAM_EVENT_ID,\n\tMODEL_STREAM_EVENT_VERSION,\n\ttype ModelResponseEventDataV1,\n\ttype ModelStreamEventDataV1,\n\ttype ModelStreamEventNameV1,\n\tOPERATION_CANCEL_EVENT_ID,\n\tOPERATION_CANCEL_EVENT_VERSION,\n\tOPERATION_END_EVENT_ID,\n\tOPERATION_END_EVENT_VERSION,\n\tOPERATION_START_EVENT_ID,\n\tOPERATION_START_EVENT_VERSION,\n\tOPERATION_STEP_EVENT_ID,\n\tOPERATION_STEP_EVENT_VERSION,\n\ttype OperationCancelEventDataV1,\n\ttype OperationEndEventDataV1,\n\ttype OperationExecutionContext,\n\ttype OperationHandle,\n\ttype OperationProgress,\n\ttype OperationStartEventDataV1,\n\ttype OperationStatus,\n\ttype OperationStepEventDataV1,\n\ttype OutputArtifactAPI,\n\ttype OutputArtifactChunk,\n\ttype OutputArtifactErrorCode,\n\ttype OutputArtifactPutInput,\n\ttype OutputArtifactRef,\n\tPLUGIN_DISPOSE_EVENT_ID,\n\tPLUGIN_DISPOSE_EVENT_VERSION,\n\tPLUGIN_READY_EVENT_ID,\n\tPLUGIN_READY_EVENT_VERSION,\n\ttype PluginAgentRole,\n\ttype PluginCapabilityDeclaration,\n\ttype PluginCapabilityRequirement,\n\ttype PluginConfig,\n\ttype PluginConfigValue,\n\ttype PluginDisposeEventDataV1,\n\ttype PluginManifest,\n\ttype PluginReadyEventDataV1,\n\ttype PolicyInvocationContextV1,\n\ttype ProviderHeaderTransform,\n\ttype ProviderHeaderTransformRequest,\n\tparseCapabilityPluginManifest,\n\ttype RetryPolicy,\n\ttype RetryPolicyDecision,\n\ttype RetryPolicyRequest,\n\ttype RetryScheduleV1,\n\ttype RuntimeInspectorAPI,\n\ttype RuntimeInspectorErrorSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryFailureSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryReportSnapshot,\n\ttype RuntimeInspectorSnapshot,\n\tresolvePluginCapabilityOrder,\n\tSESSION_COMPACTION_COMMIT_EVENT_ID,\n\tSESSION_COMPACTION_COMMIT_EVENT_VERSION,\n\tSESSION_CONTEXT_REPLACED_EVENT_ID,\n\tSESSION_CONTEXT_REPLACED_EVENT_VERSION,\n\tSESSION_RELOAD_EVENT_ID,\n\tSESSION_RELOAD_EVENT_VERSION,\n\ttype SessionAPI,\n\ttype SessionCompactionCommitEventDataV1,\n\ttype SessionContextReplacedEventDataV1,\n\ttype SessionEntryView,\n\ttype SessionExportArtifact,\n\ttype SessionExportRequest,\n\ttype SessionReloadEventDataV1,\n\ttype SkillDefinition,\n\ttype StateAPI,\n\ttype StateChange,\n\ttype StateEntry,\n\ttype StateSetOptions,\n\tSUMMARY_MODEL_INVOCATION_ERROR_CODES,\n\ttype SummaryModelFactsV1,\n\ttype SummaryModelInvocationRequestV1,\n\ttype SummaryModelInvocationResultV1,\n\ttype SummaryModelInvocationV1,\n\tTOOL_CALL_EVENT_ID,\n\tTOOL_CALL_EVENT_VERSION,\n\tTOOL_COMMIT_EVENT_ID,\n\tTOOL_COMMIT_EVENT_VERSION,\n\tTOOL_EXECUTE_EVENT_ID,\n\tTOOL_EXECUTE_EVENT_VERSION,\n\tTOOL_RESULT_EVENT_ID,\n\tTOOL_RESULT_EVENT_VERSION,\n\tTOOL_RESULT_RAW_EVENT_ID,\n\tTOOL_RESULT_RAW_EVENT_VERSION,\n\tTOOL_RESULT_TRANSFORM_EVENT_ID,\n\tTOOL_RESULT_TRANSFORM_EVENT_VERSION,\n\ttype ToolCallEventDataV1,\n\ttype ToolCommitEventDataV1,\n\ttype ToolExecuteEventDataV1,\n\ttype ToolResultEventDataV1,\n\ttype ToolResultRawEventDataV1,\n\ttype ToolResultTransformEventDataV1,\n\tvalidateCapabilityCallEventDataV1,\n\tvalidateExecutionFactsV1,\n\tvalidateModelResponseEventDataV1,\n\tvalidateModelStreamEventDataV1,\n\tvalidateOperationCancelEventDataV1,\n\tvalidateOperationEndEventDataV1,\n\tvalidateOperationStartEventDataV1,\n\tvalidateOperationStepEventDataV1,\n\tvalidatePluginDisposeEventDataV1,\n\tvalidatePluginReadyEventDataV1,\n\tvalidateRetryScheduleV1,\n\tvalidateSessionCompactionCommitEventDataV1,\n\tvalidateSessionContextReplacedEventDataV1,\n\tvalidateSessionReloadEventDataV1,\n\tvalidateToolCallEventDataV1,\n\tvalidateToolCommitEventDataV1,\n\tvalidateToolExecuteEventDataV1,\n\tvalidateToolResultEventDataV1,\n\tvalidateToolResultRawEventDataV1,\n\tvalidateToolResultTransformEventDataV1,\n} from \"./core/extensions/index.ts\";\nexport type { ContextUsage } from \"./core/extensions/public-api.ts\";\nexport { detachedSessionSnapshot } from \"./core/extensions/public-api.ts\";\n// Stable session facade v1 type (B-S2b③-S2): named so the createStableAgentSession\n// result is nameable from the package root. The package-root `exports` subpath set\n// is unchanged (B-S2a gate holds; the facade is not promoted into an exports subpath).\nexport type { CodingAgentFacadeV1 } from \"./core/facade/coding-agent-facade.ts\";\n// Stable runtime facade v1 type (D-063): named so the createStableAgentSessionRuntime\n// result is nameable from the package root. The package-root `exports` subpath set\n// is unchanged (B-S2a gate holds; the facade is not promoted into an exports subpath).\nexport type { CodingAgentRuntimeFacadeV1 } from \"./core/facade/coding-agent-runtime-facade.ts\";\n// Footer data provider (git branch + extension statuses - data not otherwise available to extensions)\nexport type { ReadonlyFooterDataProvider } from \"./core/footer-data-provider.ts\";\nexport type { InputSource } from \"./core/input-source.ts\";\nexport { convertToLlm } from \"./core/messages.ts\";\nexport {\n\tModelRegistry,\n\ttype ProviderConfigInput,\n} from \"./core/model-registry.ts\";\nexport {\n\ttype ModelScopeDiagnostic,\n\ttype ResolveCliModelResult,\n\ttype ResolveModelScopeResult,\n\tresolveCliModel,\n\tresolveModelScopeWithDiagnostics,\n\ttype ScopedModel,\n} from \"./core/model-resolver.ts\";\nexport {\n\ttype CreateModelRuntimeOptions,\n\tCredentialSynchronizationError,\n\ttype CredentialSynchronizationOperation,\n\tModelRuntime,\n\ttype ModelRuntimeAuthOverrides,\n} from \"./core/model-runtime.ts\";\nexport type {\n\tPackageManager,\n\tPathMetadata,\n\tProgressCallback,\n\tProgressEvent,\n\tResolvedPaths,\n\tResolvedResource,\n} from \"./core/package-manager.ts\";\nexport { DefaultPackageManager } from \"./core/package-manager.ts\";\nexport type { ResourceCollision, ResourceDiagnostic, ResourceLoader } from \"./core/resource-loader.ts\";\nexport { DefaultResourceLoader, loadProjectContextFiles } from \"./core/resource-loader.ts\";\n// SDK for programmatic usage\nexport {\n\tAgentSessionRuntime,\n\ttype AgentSessionRuntimeDiagnostic,\n\ttype AgentSessionServices,\n\ttype CreateAgentSessionFromServicesOptions,\n\ttype CreateAgentSessionOptions,\n\ttype CreateAgentSessionResult,\n\ttype CreateAgentSessionRuntimeFactory,\n\ttype CreateAgentSessionRuntimeResult,\n\ttype CreateAgentSessionServicesOptions,\n\ttype CreateStableAgentSessionResult,\n\ttype CreateStableAgentSessionRuntimeResult,\n\t// Factory\n\tcreateAgentSession,\n\tcreateAgentSessionFromServices,\n\tcreateAgentSessionRuntime,\n\tcreateAgentSessionServices,\n\tcreateBashTool,\n\t// Tool factories (for custom cwd)\n\tcreateCodingTools,\n\tcreateEditTool,\n\tcreateFindTool,\n\tcreateGrepTool,\n\tcreateLsTool,\n\tcreatePowerShellTool,\n\tcreateReadOnlyTools,\n\tcreateReadTool,\n\t// Stable session entry (B-S2b③-S2): same assembly as createAgentSession,\n\t// returned as the stable facade pair. The package-root `exports` subpath set\n\t// is unchanged (B-S2a gate holds; this is a named export, not a subpath).\n\tcreateStableAgentSession,\n\t// Stable runtime entry (D-063): same assembly as createAgentSessionRuntime,\n\t// returned as the stable runtime facade (no bare runtime/session). Same\n\t// package-root `exports` note as the session entry above.\n\tcreateStableAgentSessionRuntime,\n\tcreateWriteTool,\n\ttype PromptTemplate,\n} from \"./core/sdk.ts\";\nexport {\n\ttype BranchSummaryEntry,\n\tbuildContextEntries,\n\tbuildSessionContext,\n\ttype CompactionEntry,\n\tCURRENT_SESSION_VERSION,\n\ttype CustomEntry,\n\ttype CustomMessageEntry,\n\ttype FileEntry,\n\tgetLatestCompactionEntry,\n\ttype ModelChangeEntry,\n\tmigrateSessionEntries,\n\ttype NewSessionOptions,\n\tparseSessionEntries,\n\ttype SessionContext,\n\ttype SessionEntry,\n\ttype SessionEntryBase,\n\ttype SessionHeader,\n\ttype SessionInfo,\n\ttype SessionInfoEntry,\n\tSessionManager,\n\ttype SessionMessageEntry,\n\ttype SessionTreeNode,\n\tsessionEntryToContextMessages,\n\ttype ThinkingLevelChangeEntry,\n} from \"./core/session-manager.ts\";\nexport {\n\tFileSessionStorageProvider,\n\tSessionHeaderScanLimitError,\n\ttype SessionStorageProvider,\n\ttype SessionWriteGuardV1,\n} from \"./core/session-storage.ts\";\nexport {\n\ttype CompactionSettings,\n\ttype FullscreenExitOutput,\n\ttype ImageSettings,\n\ttype PackageSource,\n\ttype RetrySettings,\n\tSettingsManager,\n\ttype SettingsManagerCreateOptions,\n\ttype TuiMode,\n} from \"./core/settings-manager.ts\";\n// Skills\nexport {\n\tformatSkillsForPrompt,\n\ttype LoadSkillsFromDirOptions,\n\ttype LoadSkillsResult,\n\tloadSkills,\n\tloadSkillsFromDir,\n\ttype Skill,\n\ttype SkillFrontmatter,\n} from \"./core/skills.ts\";\nexport type { SlashCommandInfo, SlashCommandSource } from \"./core/slash-commands.ts\";\nexport type { SourceInfo } from \"./core/source-info.ts\";\nexport { createSyntheticSourceInfo } from \"./core/source-info.ts\";\nexport type { BuildSystemPromptOptions } from \"./core/system-prompt.ts\";\nexport { type EditDiffResult, generateDiffString, generateUnifiedPatch } from \"./core/tools/edit-diff.ts\";\n// Tools\nexport {\n\ttype BashOperations,\n\ttype BashSpawnContext,\n\ttype BashSpawnHook,\n\ttype BashToolDetails,\n\ttype BashToolInput,\n\ttype BashToolOptions,\n\tcreateBashToolDefinition,\n\tcreateEditToolDefinition,\n\tcreateFindToolDefinition,\n\tcreateGrepToolDefinition,\n\tcreateLocalBashOperations,\n\tcreateLocalPowerShellOperations,\n\tcreateLsToolDefinition,\n\tcreatePowerShellToolDefinition,\n\tcreateReadToolDefinition,\n\tcreateWriteToolDefinition,\n\tDEFAULT_MAX_BYTES,\n\tDEFAULT_MAX_LINES,\n\ttype EditOperations,\n\ttype EditToolDetails,\n\ttype EditToolInput,\n\ttype EditToolOptions,\n\ttype FindOperations,\n\ttype FindToolDetails,\n\ttype FindToolInput,\n\ttype FindToolOptions,\n\tformatSize,\n\ttype GrepOperations,\n\ttype GrepToolDetails,\n\ttype GrepToolInput,\n\ttype GrepToolOptions,\n\ttype LsOperations,\n\ttype LsToolDetails,\n\ttype LsToolInput,\n\ttype LsToolOptions,\n\ttype PowerShellOperations,\n\ttype PowerShellSpawnContext,\n\ttype PowerShellSpawnHook,\n\ttype PowerShellToolDetails,\n\ttype PowerShellToolInput,\n\ttype PowerShellToolOptions,\n\ttype ReadOperations,\n\ttype ReadToolDetails,\n\ttype ReadToolInput,\n\ttype ReadToolOptions,\n\ttype ToolsOptions,\n\ttype TruncationOptions,\n\ttype TruncationResult,\n\ttruncateHead,\n\ttruncateLine,\n\ttruncateTail,\n\ttype WriteOperations,\n\ttype WriteToolInput,\n\ttype WriteToolOptions,\n\twithFileMutationQueue,\n} from \"./core/tools/index.ts\";\nexport type {\n\tToolDefinition,\n\tToolExecuteContext,\n\tToolInfo,\n\tToolRenderContext,\n\tToolRenderResultOptions,\n} from \"./core/tools/tool-definition.ts\";\n// Tool definition surface (capability tools contract)\nexport { defineTool } from \"./core/tools/tool-definition.ts\";\n// Durable service (7.4b): in-memory persistence with optional file backend\nexport {\n\tcreateDurableService,\n\tcreateFileDurableStoreBackend,\n\ttype DurableArtifactRecordV1,\n\ttype DurableOperationRecordV1,\n\ttype DurableReplayDiagnosticsV1,\n\ttype DurableServiceErrorCodeV1,\n\tDurableServiceErrorV1,\n\ttype DurableServiceOptionsV1,\n\ttype DurableServiceV1,\n\ttype DurableSessionRecordV1,\n\ttype DurableSnapshotV1,\n\ttype DurableStoreBackend,\n\ttype DurableStoreLoadResultV1,\n\ttype DurableStoreOperationV1,\n\ttype DurableWriterClaimV1,\n\ttype DurableWriterRecoveryV1,\n\tdurableLogPath,\n} from \"./durable/durable-service.ts\";\n// Agent retry scheduler (2A.4b): cancellable, duplicate-suppressing retries\nexport {\n\ttype AgentRetryAttemptV1,\n\ttype AgentRetryOutcomeV1,\n\ttype AgentRetryPolicyV1,\n\ttype AgentRetrySchedulerV1,\n\tcreateAgentRetryScheduler,\n} from \"./host/agent-retry-scheduler.ts\";\n// Auto compaction executor (2A.3a): threshold-triggered with cancel/re-entrancy\nexport {\n\ttype AutoCompactionExecutorV1,\n\ttype AutoCompactionOutcomeV1,\n\ttype AutoCompactionPolicyV1,\n\tcreateAutoCompactionExecutor,\n} from \"./host/auto-compaction.ts\";\n// Branch migration and reload transaction (2A.5a/2A.5b)\nexport {\n\ttype BranchMigrationOutcomeV1,\n\ttype BranchStateEntryV1,\n\ttype BranchStateMigrationV1,\n\tcreateBranchStateMigration,\n\tcreateReloadTransaction,\n\ttype ReloadTransactionV1,\n} from \"./host/branch-reload.ts\";\n// Channel adapter (3.5b): print/JSON stdout-stderr semantics\nexport {\n\ttype ChannelAdapterV1,\n\ttype ChannelFormatV1,\n\tcreateStdioChannelAdapter,\n} from \"./host/channel-adapter.ts\";\n// Host checkpoint/commit (2A.1): revision-guarded idempotent two-phase writes\nexport {\n\tcreateHostCheckpointCoordinator,\n\ttype HostCheckpointCoordinatorV1,\n\ttype HostCommitOutcomeV1,\n\ttype HostStagedWriteV1,\n\ttype HostStageResultV1,\n} from \"./host/checkpoint-commit.ts\";\n// Manual compaction executor (2A.2): plugin-driven timing over checkpoint primitives\nexport {\n\tcreateManualCompactionExecutor,\n\ttype ManualCompactionExecutorV1,\n\ttype ManualCompactionOutcomeV1,\n\ttype ManualCompactionStateV1,\n} from \"./host/manual-compaction.ts\";\n// Host output projection (2.6b): traced channel records with structured errors\nexport {\n\tcreateHostOutputProjector,\n\ttype HostEventV1,\n\ttype HostOutputChannelV1,\n\ttype HostOutputProjectorV1,\n\ttype HostOutputRecordV1,\n\ttype HostOutputSeverityV1,\n} from \"./host/output-projection.ts\";\n// Output reducer (3.5a): deterministic fold/unfold over projected records\nexport {\n\tcreateOutputReducer,\n\ttype FoldedOutputGroupV1,\n\ttype FoldedOutputV1,\n\ttype OutputReducerV1,\n} from \"./host/output-reducer.ts\";\n// Host Output Serializer (3.5 supplement): per-surface allowlist projection\nexport {\n\tcreateHostOutputSerializer,\n\ttype HostOutputProjectionV1,\n\ttype HostOutputSerializerContextV1,\n\ttype HostOutputSerializerV1,\n\ttype HostOutputSurfaceV1,\n\ttype OutputArtifactRefV1,\n} from \"./host/output-serializer.ts\";\n// Provider overflow recovery (2A.3b): classification and shrink-and-commit entry\nexport {\n\tcreateOverflowRecovery,\n\ttype OverflowRecoveryOutcomeV1,\n\ttype OverflowRecoveryV1,\n\ttype ProviderErrorClassificationV1,\n\ttype ProviderErrorClassV1,\n} from \"./host/overflow-recovery.ts\";\n// Summary retry (2A.4a): traced attempts, exponential backoff, terminal states\nexport {\n\tcreateSummaryRetryExecutor,\n\ttype SummaryAttemptRecordV1,\n\ttype SummaryRetryExecutorV1,\n\ttype SummaryRetryOutcomeV1,\n\ttype SummaryRetryPolicyV1,\n} from \"./host/summary-retry.ts\";\n// Main entry point\nexport { type MainOptions, main } from \"./main.ts\";\n// Migration tool (7.4a): chained version migration with rollback evidence\nexport {\n\tcreateMigrationTool,\n\ttype MigrationEvidenceStepV1,\n\ttype MigrationOutcomeV1,\n\ttype MigrationStepV1,\n\ttype MigrationToolV1,\n} from \"./migration/migration-tool.ts\";\n// Run modes for programmatic SDK usage\nexport {\n\tInteractiveMode,\n\ttype InteractiveModeOptions,\n\ttype JsonAgentSessionEvent,\n\ttype ModelInfo,\n\ttype PrintModeOptions,\n\tRpcClient,\n\ttype RpcClientOptions,\n\ttype RpcCommand,\n\ttype RpcEventListener,\n\ttype RpcExtensionUIRequest,\n\ttype RpcExtensionUIResponse,\n\ttype RpcModeOptions,\n\ttype RpcResponse,\n\ttype RpcSessionState,\n\trunPrintMode,\n\trunRpcMode,\n} from \"./modes/index.ts\";\n// UI components for extensions\nexport {\n\tArminComponent,\n\tAssistantMessageComponent,\n\tBashExecutionComponent,\n\tBorderedLoader,\n\tBranchSummaryMessageComponent,\n\tCompactionSummaryMessageComponent,\n\tCustomEditor,\n\tCustomMessageComponent,\n\tDialogEditorComponent,\n\tDialogInputComponent,\n\tDialogSelectorComponent,\n\tDynamicBorder,\n\tFooterComponent,\n\tkeyHint,\n\tkeyText,\n\tLoginDialogComponent,\n\tModelSelectorComponent,\n\tOAuthSelectorComponent,\n\tPluginManagerEntryComponent,\n\ttype PluginManagerEntryOpenContextV1,\n\ttype PluginManagerEntryOpenResultV1,\n\ttype PluginManagerEntryOptionsV1,\n\ttype RenderDiffOptions,\n\trawKeyHint,\n\trenderDiff,\n\tSessionSelectorComponent,\n\ttype SettingsCallbacks,\n\ttype SettingsConfig,\n\tSettingsSelectorComponent,\n\tShowImagesSelectorComponent,\n\tSkillInvocationMessageComponent,\n\tThemeSelectorComponent,\n\tThinkingSelectorComponent,\n\tToolExecutionComponent,\n\ttype ToolExecutionOptions,\n\tTreeSelectorComponent,\n\ttruncateToVisualLines,\n\tUserMessageComponent,\n\tUserMessageSelectorComponent,\n\ttype VisualTruncateResult,\n} from \"./modes/interactive/components/index.ts\";\n// Theme utilities for custom tools and extensions\nexport {\n\tgetLanguageFromPath,\n\tgetMarkdownTheme,\n\tgetSelectListTheme,\n\tgetSettingsListTheme,\n\thighlightCode,\n\tinitTheme,\n\tTheme,\n\ttype ThemeColor,\n} from \"./modes/interactive/theme/theme.ts\";\nexport * as PluginEcosystemV1 from \"./plugins/ecosystem/index.ts\";\n// Host facts for the ecosystem pluginHost options (B-S2b: the convergence\n// slice names the previously unnameable type for cross-package consumers).\nexport type { HostFactsV1 } from \"./plugins/ecosystem/types.ts\";\n// Integrity adapter (7.3): seal/verify manifests for external policy flows\nexport {\n\tcreateIntegrityAdapter,\n\ttype IntegrityAdapterV1,\n\ttype ManifestExpectationV1,\n\ttype ManifestVerdictV1,\n\ttype SealedManifestV1,\n} from \"./plugins/integrity-adapter.ts\";\n// MCP HTTP transport (4.3): observable retry and idempotent calls\nexport {\n\tcreateMcpHttpTransport,\n\ttype McpHttpTransportEventV1,\n\ttype McpHttpTransportOptionsV1,\n\ttype McpHttpTransportV1,\n\ttype McpRequestOptions,\n} from \"./plugins/mcp-http.ts\";\n// Plugin host (7.1): owned lifecycle, reverse dispose, error aggregation\nexport {\n\tcreatePluginHost,\n\ttype HostedPluginV1,\n\ttype PluginHostErrorV1,\n\ttype PluginHostResourceV1,\n\ttype PluginHostStateV1,\n\ttype PluginHostV1,\n} from \"./plugins/plugin-host.ts\";\n// Plugin supervisor (7.2): heartbeat, bounded restart, backpressure\nexport {\n\tcreatePluginSupervisor,\n\ttype PluginHealthV1,\n\ttype PluginSupervisorV1,\n\ttype SupervisorEntryV1,\n\ttype SupervisorEventV1,\n\ttype SupervisorPolicyV1,\n} from \"./plugins/plugin-supervisor.ts\";\n// Child agent lifecycle adapter (2.2b)\nexport {\n\ttype ChildAgentFacadeV1,\n\ttype ChildAgentResultRefV1,\n\ttype ChildAgentTurnV1,\n\tcreateChildAgentFacade,\n} from \"./profile/child-facade.ts\";\n// Profile dependency wiring (2.5a): pre-session capability resolution\nexport {\n\ttype AvailableCapabilityV1,\n\ttype MissingDependencyV1,\n\ttype PluginWiringResultV1,\n\ttype ProfileDependencyWiringV1,\n\twireProfileDependencies,\n} from \"./profile/dependency-wiring.ts\";\n// Domain recovery (5.2a/5.2b): branch-scoped plan recovery and restart replay\nexport {\n\tbuildRestartReport,\n\ttype DomainRestartRecordV1,\n\ttype DomainRestartReportV1,\n\ttype PlanBranchRecoveryEntryV1,\n\ttype PlanBranchRecoveryReportV1,\n\trecoverPlansForBranch,\n} from \"./profile/domain-recovery.ts\";\n// First-batch role vertical slices (2.2c)\nexport { createFirstBatchRoleSlices, FIRST_BATCH_ROLES, type FirstBatchRoleV1 } from \"./profile/first-roles.ts\";\n// Goal plugin (2.3b): Goal schema, evidence, and recovery over the transition store\nexport {\n\tcreateGoalPlugin,\n\ttype GoalPluginV1,\n\ttype GoalStatusV1,\n\ttype GoalV1,\n} from \"./profile/goal-plugin.ts\";\n// Profile identity (2.0a): profileId/version, manifest digest, host compatibility\nexport {\n\tbuildProfileIdentityV1,\n\ttype ProfileIdentityV1,\n\tprofileIdentitiesCompatible,\n\ttype ResolvedPluginManifestV1,\n\tstableJsonDigest,\n} from \"./profile/identity.ts\";\n// Profile lock (2.0b): pre-creation lock, reopen/reload drift detection\nexport {\n\tcreateProfileLock,\n\ttype ProfileLockReplaceResultV1,\n\ttype ProfileLockV1,\n\ttype ProfileLockVerificationV1,\n\treplaceProfileLock,\n\tverifyProfileLock,\n} from \"./profile/lock.ts\";\n// Plan plugin (2.3c): branch/revision-bound plan semantics over the transition store\nexport {\n\tcreatePlanPlugin,\n\ttype PlanPluginV1,\n\ttype PlanStatusV1,\n\ttype PlanStepV1,\n\ttype PlanV1,\n} from \"./profile/plan-plugin.ts\";\nexport {\n\ttype BuiltinPluginManifestOverridesV1,\n\ttype BuiltinPluginProfileIdV1,\n\ttype BuiltinPluginProfileResolutionV1,\n\ttype BuiltinPluginProfileV1,\n\tlistBuiltinPluginManifestsV1,\n\tlistBuiltinPluginProfilesV1,\n\tresolveBuiltinPluginProfileV1,\n} from \"./profile/plugin-profiles.ts\";\n// Policy manifest (2.7e): declarative policies with external selection\nexport {\n\tcreatePolicyManifestBuilder,\n\ttype PolicyChangeRecordV1,\n\ttype PolicyDeclarationV1,\n\ttype PolicyKindV1,\n\ttype PolicyManifestBuilderV1,\n\ttype PolicyManifestV1,\n} from \"./profile/policy-manifest.ts\";\n// Profile assembly (2.5b): verified-plugin assembly, version lock, replacement\nexport {\n\tassembleProfile,\n\ttype PluginReplacementRecordV1,\n\ttype ProfileAssemblyResultV1,\n\ttype ProfileAssemblyV1,\n\ttype ProfileReplacementResultV1,\n\treplaceProfilePlugin,\n\ttype VerifiedToolPluginV1,\n} from \"./profile/profile-assembly.ts\";\n// Profile migration policy (2.7b): explicit reopen migration over the 2.0b lock\nexport {\n\tcreateProfileMigrationPolicy,\n\ttype ProfileMigrationPlanV1,\n\ttype ProfileMigrationPolicyV1,\n\ttype ProfileMigrationResultV1,\n} from \"./profile/profile-migration.ts\";\n// Profile registry (2.7a): multi-source discovery, upgrades, deprecation\nexport {\n\tcreateProfileRegistry,\n\ttype ProfileRegistryV1,\n\ttype ProfileResolutionV1,\n\ttype ProfileVersionRangeV1,\n\ttype RegistryProfileEntryV1,\n\ttype RegistrySourceV1,\n} from \"./profile/profile-registry.ts\";\n// Role assembly (2.2d): catalog + runner binding mount with dependency diagnostics\nexport {\n\tassembleRoles,\n\ttype MountedRoleSummaryV1,\n\ttype RegisteredRoleMetaV1,\n\ttype RoleAssemblyDiagnosticsV1,\n\ttype RoleAssemblyV1,\n} from \"./profile/role-assembly.ts\";\n// Role metadata catalog (2.2a)\nexport {\n\tcreateRoleCatalog,\n\ttype RoleCapabilityDependencyV1,\n\ttype RoleCatalogV1,\n\ttype RoleIOSchemaRefV1,\n\ttype RoleMetadataV1,\n\ttype RoleWritableScopeV1,\n\tvalidateRoleMetadataV1,\n} from \"./profile/role-catalog.ts\";\n// Role orchestrator (2.2e): root-side concurrent orchestration with bounded aggregation\nexport {\n\tcreateRoleOrchestrator,\n\tDEFAULT_ROLE_AGGREGATION_LIMIT_BYTES,\n\ttype RoleCompletionCheckV1,\n\ttype RoleCompletionEvaluatorV1,\n\ttype RoleOrchestrationEntryV1,\n\ttype RoleOrchestrationResultV1,\n\ttype RoleOrchestrationStatusV1,\n\ttype RoleOrchestratorOptionsV1,\n\ttype RoleOrchestratorRunRequestV1,\n\ttype RoleOrchestratorV1,\n} from \"./profile/role-orchestrator.ts\";\n// Role runner binding (2.2d): RoleMetadataV1 → child AgentDefinition\nexport {\n\tcreateRoleRunner,\n\ttype RoleCapabilityCheckV1,\n\ttype RoleMissingCapabilityV1,\n\ttype RoleRunCallbackV1,\n\ttype RoleRunnerInputV1,\n\ttype RoleRunnerOptionsV1,\n\ttype RoleRunnerResultV1,\n\ttype RoleRunnerV1,\n\ttype RoleRunResolverV1,\n\trunFirstBatchRole,\n} from \"./profile/role-runner.ts\";\n// Root-agent-controller facade adapter (2.1a)\nexport {\n\tcreateRootAgentFacade,\n\ttype RootAgentFacadeTurnResultV1,\n\ttype RootAgentFacadeV1,\n} from \"./profile/root-facade.ts\";\n// Skill/MCP discovery wiring (4.4): pre-session capability conflicts and wiring\nexport {\n\tcreateSkillDiscoveryWiring,\n\ttype DiscoveredItemV1,\n\ttype DiscoverySourceKindV1,\n\ttype DiscoveryVersionConflictV1,\n\ttype DiscoveryWiringV1,\n} from \"./profile/skill-discovery-wiring.ts\";\n// Generic transition store (2.3a): Goal/Plan/Todo contract base\nexport {\n\tcreateTransitionStore,\n\ttype TransitionEvidenceRefV1,\n\ttype TransitionInputV1,\n\ttype TransitionRecordV1,\n\ttype TransitionResultV1,\n\ttype TransitionStoreV1,\n} from \"./profile/state-store.ts\";\n// Todo plugin (2.3d): content lifecycle with cancel/restart over the transition store\nexport {\n\tcreateTodoPlugin,\n\ttype TodoPluginV1,\n\ttype TodoStatusV1,\n\ttype TodoV1,\n} from \"./profile/todo-plugin.ts\";\nexport { isBuiltinSuiteId } from \"./profiles/builtin-suites.ts\";\n// Resolved agent profile (D-047 S4a): immutable per-session aggregate view\n// over the resolved suite profile — a projection of existing authoritative\n// sources, not a new generation mechanism; AgentSession stays suite-unaware.\nexport {\n\tbuildResolvedAgentProfileV1,\n\ttype PluginProfileResolutionSummaryV1,\n\ttype ResolvedAgentProfileV1,\n\ttype ResolvedProfileDiagnosticV1,\n} from \"./profiles/resolved-agent-profile.ts\";\n// Suite (方案) lifecycle public API (方案系统设计.md §9): the same deterministic\n// operations the CLI one-shots use, exported so first-party and third-party\n// plugins can manage suite workspaces without hidden channels.\nexport {\n\tclearDanglingSuiteSettings,\n\tcreateSuite,\n\tdeleteSuite,\n\tfindSuiteSessionRefs,\n\tresetSuite,\n\tSUITE_DELETE_CONFIRM_TOKEN,\n\ttype SuiteCreateOptions,\n\ttype SuiteCreateResult,\n\ttype SuiteDeleteOptions,\n\ttype SuiteDeleteResult,\n\tSuiteLifecycleError,\n\ttype SuiteLifecycleOperation,\n\ttype SuiteResetPlan,\n\ttype SuiteSessionRef,\n\ttype SuiteSettingsCleanup,\n} from \"./profiles/suite-lifecycle.ts\";\nexport {\n\tDEFAULT_SUITE_ID,\n\tlistSuiteIds,\n\tSuiteResolutionError,\n} from \"./profiles/suite-loader.ts\";\n// Remote server assembly (1B.7h): coding-agent sessions behind the public server boundary\nexport {\n\tassembleCodingAgentServer,\n\ttype CodingAgentServerAssemblyOptions,\n\ttype CodingAgentServerModels,\n\tCodingAgentServerService,\n\ttype CodingAgentServerSessionSource,\n\ttype CodingAgentSessionDescriptor,\n\tCodingAgentSessionRuntime,\n\tprojectSessionTranscript,\n} from \"./remote/server-assembly.ts\";\n// Remote restart recovery (E3): production session source and programmatic server entry\nexport {\n\ttype CodingAgentRemoteServerHandle,\n\ttype StartCodingAgentRemoteServerOptions,\n\tstartCodingAgentRemoteServer,\n} from \"./remote/server-entry.ts\";\nexport {\n\tcreateFileSessionSource,\n\ttype FileSessionSourceOptions,\n} from \"./remote/session-source.ts\";\n// Session share contract (2.6c): revocable read-only shares with explicit transports\nexport {\n\tcreateSessionShare,\n\ttype SessionShareManagerV1,\n\ttype ShareArtifactInputV1,\n\ttype ShareContractV1,\n\ttype ShareResolveRequestV1,\n\ttype ShareResolveResultV1,\n\ttype ShareScopeV1,\n\ttype ShareTransportV1,\n} from \"./share/session-share.ts\";\n// Share viewer (2.6d): escaped HTML + JSON views with explicit failure states\nexport { createShareViewer, type ShareViewerV1, type ShareViewV1 } from \"./share/share-viewer.ts\";\n// Mock AI server (3.1): fail-closed scenario fixtures with fault injection\nexport {\n\tcreateMockAiServer,\n\tMockAiError,\n\ttype MockAiFaultV1,\n\ttype MockAiFixtureV1,\n\ttype MockAiPartV1,\n\ttype MockAiRequestV1,\n\ttype MockAiResponseV1,\n\ttype MockAiServerV1,\n\ttype MockAiStepV1,\n} from \"./testing/mock-ai-server.ts\";\n// Clipboard utilities\nexport { copyToClipboard } from \"./utils/clipboard.ts\";\nexport { parseFrontmatter, stripFrontmatter } from \"./utils/frontmatter.ts\";\nexport { convertToPng } from \"./utils/image-convert.ts\";\nexport { formatDimensionNote, type ResizedImage, resizeImage } from \"./utils/image-resize.ts\";\nexport { detectSupportedImageMimeTypeFromFile } from \"./utils/mime.ts\";\n// Shell utilities\nexport { getPowerShellConfig, getShellConfig, killProcessTree, sanitizeBinaryOutput } from \"./utils/shell.ts\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG3G,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAO7D,OAAO,EACN,uBAAuB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,GACrC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B,KAAK,gBAAgB,GACrB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,iBAAiB,EAAE,KAAK,aAAa,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAElG,OAAO,EACN,kBAAkB,EAClB,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,YAAY,GACjB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EAAE,oCAAoC,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["// Core session management\n\nexport type { AgentToolResult, AgentToolUpdateCallback, ToolExecutionMode } from \"@agent-forge/agent-core\";\n// First-party plugin ecosystem (opt-in namespaces; domain plugins do not\n// alter the default coding tool surface).\nexport * as PluginContractsV1 from \"@agent-forge/plugin-sdk\";\n// Memory capability storage contract (扩展位盘点 A1/A2): injectable\n// store/ledger factories and vector components behind\n// `CreateAgentSessionOptions.memoryCapability.storage`. Authoritative home is\n// @agent-forge/plugin-sdk since the S4-4 split (the memory capability itself\n// moved to the @agent-forge/plugin-memory package); re-exported here so the\n// memory-backend example and existing host imports keep resolving.\nexport {\n\tMEMORY_RECALL_TOOL_NAME,\n\ttype MemoryCapabilityOverrideV1,\n\ttype MemoryStorageComponentsV1,\n\ttype MemoryVectorComponentsOverrideV1,\n} from \"@agent-forge/plugin-sdk\";\n// Artifact store (2.6a): session export artifacts with bounded reads and EOL\nexport {\n\ttype ArtifactStatV1,\n\ttype ArtifactStoreV1,\n\tcreateArtifactStore,\n} from \"./artifacts/artifact-store.ts\";\n// Paged artifact reading (3.5c): ref-based expansion with explicit failures\nexport {\n\ttype ArtifactPageDirectoryEntryV1,\n\ttype ArtifactPagePlanV1,\n\ttype ArtifactPageReadV1,\n\tplanArtifactPages,\n\treadArtifactPage,\n} from \"./artifacts/paged-read.ts\";\nexport { type Args, parseArgs } from \"./cli/args.ts\";\nexport * as PluginManagerUiV1 from \"./cli/plugin-manager-controller.ts\";\n// Host-owned plugin management surfaces. They expose bounded DTOs only; the\n// registry, installer, package paths and credentials remain behind the host.\nexport * as PluginUiV1 from \"./cli/plugin-selection-controller.ts\";\nexport {\n\tCONFIG_DIR_NAME,\n\tgetAgentDir,\n\tgetDocsPath,\n\tgetExamplesPath,\n\tgetPackageDir,\n\tgetReadmePath,\n\tgetSessionsDir,\n\tVERSION,\n} from \"./config.ts\";\nexport {\n\tAGENT_CAPABILITY_CONTRACT_ID,\n\tAGENT_CAPABILITY_CONTRACT_VERSION,\n\tAGENT_ERROR_CODES_V1,\n\ttype AgentCapabilityContractInputV1,\n\ttype AgentCapabilityContractV1,\n\ttype AgentCapabilityContractVersion,\n\ttype AgentDefinitionSnapshotV1,\n\ttype AgentErrorCodeV1,\n\ttype AgentInstanceSnapshotV1,\n\ttype AgentProfileV1,\n\ttype ArtifactRefV1,\n\tassertCapabilitySupportedV1,\n\tbuildAgentCapabilityContract,\n\tbuildAgentCapabilityContractV1,\n\tbuildAgentDefinitionSnapshotV1,\n\tbuildAgentInstanceSnapshotV1,\n\tbuildAgentProfileV1,\n\tbuildArtifactRefV1,\n\tbuildCanonicalContractFixtureVectorsV1,\n\tbuildCanonicalContractVectorsV1,\n\tbuildCommandRequestV1,\n\tbuildContractCompatibilityRequirementsV1,\n\tbuildErrorEnvelopeV1,\n\tbuildEventEnvelope,\n\tbuildEventEnvelopeV1,\n\tbuildHostContextV1,\n\tbuildOperationSnapshotV1,\n\tbuildOperationTerminalV1,\n\tbuildSessionRevisionV1,\n\tbuildSessionSnapshotV1,\n\ttype CanonicalContractFixtureVectorV1,\n\ttype CanonicalContractVectorsV1,\n\ttype CapabilityRefV1,\n\ttype CapabilityResolutionV1,\n\ttype CommandAdmissionV1,\n\ttype CommandOperationRegistryV1,\n\ttype CommandRequestInputV1,\n\ttype CommandRequestV1,\n\ttype ContractCompatibilityIssueCodeV1,\n\ttype ContractCompatibilityIssueV1,\n\ttype ContractCompatibilityRequirementsV1,\n\ttype ContractCompatibilityResultV1,\n\tcheckContractCompatibilityV1,\n\tcreateCommandOperationRegistryV1,\n\ttype ErrorEnvelopeV1,\n\ttype EventCategoryV1,\n\ttype EventDeliveryGuaranteeV1,\n\ttype EventEnvelopeInputV1,\n\ttype EventEnvelopeV1,\n\ttype HostContextV1,\n\ttype HostMode as CanonicalHostModeV1,\n\ttype HostTransport,\n\tisRegisteredAgentErrorCodeV1,\n\ttype JsonValue,\n\tmapProtocolErrorCodeToAgentErrorV1,\n\ttype OperationSnapshotV1,\n\ttype OperationStatusV1,\n\ttype OperationTerminalV1,\n\tresolveCapabilityV1,\n\ttype SessionRevisionV1,\n\ttype SessionSnapshotV1,\n\ttoErrorEnvelopeV1,\n\tvalidateAgentCapabilityContract,\n\tvalidateAgentCapabilityContractV1,\n\tvalidateAgentProfileV1,\n\tvalidateArtifactRefV1,\n\tvalidateCommandAdmissionV1,\n\tvalidateCommandRequestV1,\n\tvalidateContractCompatibilityRequirementsV1,\n\tvalidateContractCompatibilityResultV1,\n\tvalidateErrorEnvelopeV1,\n\tvalidateEventEnvelope,\n\tvalidateEventEnvelopeV1,\n\tvalidateHostContextV1,\n\tvalidateOperationSnapshotV1,\n\tvalidateOperationTerminalV1,\n\tvalidateSessionRevisionV1,\n\tvalidateSessionSnapshotV1,\n} from \"./core/agent-capability-contract.ts\";\nexport {\n\tAgentSession,\n\ttype AgentSessionConfig,\n\ttype AgentSessionEvent,\n\ttype AgentSessionEventListener,\n\ttype ModelCycleResult,\n\ttype ParsedSkillBlock,\n\ttype PromptOptions,\n\tparseSkillBlock,\n\ttype SessionStats,\n} from \"./core/agent-session.ts\";\nexport { readStoredCredential } from \"./core/auth-storage.ts\";\n// Compaction\nexport {\n\ttype BranchPreparation,\n\ttype BranchSummaryResult,\n\ttype CollectEntriesResult,\n\ttype CompactionResult,\n\ttype CutPointResult,\n\tcalculateContextTokens,\n\tcollectEntriesForBranchSummary,\n\tcompact,\n\tDEFAULT_COMPACTION_SETTINGS,\n\testimateTokens,\n\ttype FileOperations,\n\tfindCutPoint,\n\tfindTurnStartIndex,\n\ttype GenerateBranchSummaryOptions,\n\tgenerateBranchSummary,\n\tgenerateSummary,\n\tgenerateSummaryWithUsage,\n\tgetLastAssistantUsage,\n\tprepareBranchEntries,\n\tserializeConversation,\n\tshouldCompact,\n} from \"./core/compaction/index.ts\";\nexport {\n\tcreateEmbeddedSdkBinding,\n\tcreateEmbeddedSdkBindingV1,\n\ttype EmbeddedAgentDefinitionV1,\n\ttype EmbeddedAgentInstanceV1,\n\ttype EmbeddedAgentResultV1,\n\ttype EmbeddedControllerLeaseV1,\n\ttype EmbeddedOperationHandleV1,\n\ttype EmbeddedSdkBindingV1,\n\ttype EmbeddedSdkEventListenerV1,\n\ttype EmbeddedSdkOptionsV1,\n\ttype EmbeddedSdkSubscriptionV1,\n\ttype EmbeddedSessionBindingV1,\n} from \"./core/embedded-sdk.ts\";\nexport { createEventBus, type EventBus, type EventBusController } from \"./core/event-bus.ts\";\nexport type { ExecOptions, ExecResult } from \"./core/exec.ts\";\n// Config paths\nexport {\n\ttype AgentCompositionAPI,\n\ttype AgentCompositionDefinitionBinding,\n\ttype AgentCompositionHostBinding,\n\ttype AgentCompositionLifecycleBinding,\n\ttype AgentCompositionLifecycleDispatcher,\n\ttype AgentCompositionLifecycleEvent,\n\ttype AgentCompositionLifecycleEventName,\n\ttype AgentCompositionLifecycleTerminalStatus,\n\tAgentCompositionRuntime,\n\ttype AgentCompositionRuntimeOptions,\n\ttype AgentCompositionScopedHostBinding,\n\ttype AgentContextCommitRequestV1,\n\ttype AgentContextCommitResultV1,\n\ttype AgentContextFacadeV1,\n\ttype AgentContextSnapshotV1,\n\ttype AgentControllerLease,\n\ttype AgentControllerRole,\n\ttype AgentDefinition,\n\ttype AgentDefinitionDeclaration,\n\ttype AgentExecutionContext,\n\ttype AgentHostPrimitivesFactory,\n\ttype AgentHostPrimitivesFactoryContext,\n\ttype AgentHostPrimitivesV1,\n\ttype AgentInstance,\n\ttype AgentInstanceResult,\n\ttype AgentInstanceSnapshot,\n\ttype AgentInstanceStatus,\n\ttype AgentOperationFacadeV1,\n\ttype AgentSessionFacadeV1,\n\ttype AgentTaskAdapter,\n\ttype AgentTaskAPI,\n\ttype AgentTaskCreateRequest,\n\ttype AgentTaskHandle,\n\ttype AgentTaskHost,\n\ttype AgentTaskResultV1,\n\ttype AgentTaskStatus,\n\ttype AgentTaskWaitResult,\n\tBOOTSTRAP_LIFECYCLE_PLUGIN_ID,\n\tCAPABILITY_CALL_EVENT_ID,\n\tCAPABILITY_CALL_EVENT_VERSION,\n\ttype CapabilityAPI,\n\ttype CapabilityCallEventDataV1,\n\ttype CapabilityCallEventNameV1,\n\ttype CapabilityCallStatusV1,\n\ttype CapabilityCommandContext,\n\ttype CapabilityCommandDefinition,\n\ttype CapabilityCommandLink,\n\ttype CapabilityCommandResult,\n\ttype CapabilityDirectoryAPI,\n\ttype CapabilityHandle,\n\ttype CapabilityPluginFactory,\n\ttype CapabilityPluginFactoryResult,\n\ttype CapabilityPluginHandle,\n\ttype CapabilityPluginInstance,\n\ttype CapabilityPluginSyncFactory,\n\ttype CapabilityPluginSyncInstance,\n\ttype CapabilityProviderHandler,\n\ttype CapabilityRuntime,\n\ttype CompactionCommitAppliedV1,\n\ttype CompactionCommitRequestV1,\n\ttype CompactionCommitResultV1,\n\ttype CompactionCommitRevisionConflictV1,\n\ttype CompactionPolicy,\n\ttype CompactionPolicyDecision,\n\ttype CompactionPolicyRequest,\n\ttype CompactionSummaryRequest,\n\ttype CompactionSummaryResult,\n\ttype ContextStrategy,\n\ttype ContributionAPI,\n\ttype ContributionChangeEvent,\n\ttype ContributionEntry,\n\ttype ContributionHandle,\n\ttype ContributionLifecycle,\n\ttype ContributionPoint,\n\ttype ContributionPointDefinition,\n\ttype CredentialAPI,\n\ttype CredentialResolution,\n\ttype CredentialResolveRequest,\n\tcreateAgentCompositionRuntime,\n\tcreateCapabilityRuntime,\n\tcreateDisposableRegistration,\n\tcreateEventEnvelope,\n\tDEFAULT_COMPACTION_POLICY_NAME,\n\tDEFAULT_RETRY_POLICY_NAME,\n\ttype DiagnosticsAPI,\n\ttype DiagnosticsSpan,\n\ttype DiagnosticsSpanEnd,\n\ttype DiagnosticsSpanSnapshot,\n\ttype DisposableRegistration,\n\tdiscoverCapabilityPluginManifests,\n\ttype EventEnvelope,\n\tEXPERIMENTAL_PUBLIC_API_VERSION,\n\ttype ExecutionFactsV1,\n\ttype ExecutionPhaseV1,\n\ttype HostCapabilities,\n\ttype HostMode,\n\tinstallBootstrapLifecycle,\n\ttype LifecycleAfterCommitHandler,\n\ttype LifecycleAPI,\n\ttype LifecycleDeliveryFailure,\n\ttype LifecycleDeliveryMode,\n\ttype LifecycleDeliveryOptions,\n\ttype LifecycleDeliveryReport,\n\ttype LifecycleDeliverySnapshot,\n\ttype LifecycleDispatchRequest,\n\ttype LifecycleDispatchResult,\n\ttype LifecycleEvent,\n\ttype LifecycleEventDefinition,\n\ttype LifecycleEventReference,\n\tLifecycleExecuteError,\n\ttype LifecycleExecuteHandler,\n\ttype LifecycleObserveHandler,\n\ttype LifecyclePhase,\n\ttype LifecycleRegistrationKind,\n\tLifecycleTransformError,\n\ttype LifecycleTransformHandler,\n\ttype LoggerAPI,\n\ttype LoggerLevel,\n\ttype LoggerRecord,\n\tloadCapabilityPlugin,\n\tloadCapabilityPluginFromManifest,\n\tloadCapabilityPluginSync,\n\tMODEL_RESPONSE_EVENT_ID,\n\tMODEL_RESPONSE_EVENT_VERSION,\n\tMODEL_STREAM_EVENT_ID,\n\tMODEL_STREAM_EVENT_VERSION,\n\ttype ModelResponseEventDataV1,\n\ttype ModelStreamEventDataV1,\n\ttype ModelStreamEventNameV1,\n\tOPERATION_CANCEL_EVENT_ID,\n\tOPERATION_CANCEL_EVENT_VERSION,\n\tOPERATION_END_EVENT_ID,\n\tOPERATION_END_EVENT_VERSION,\n\tOPERATION_START_EVENT_ID,\n\tOPERATION_START_EVENT_VERSION,\n\tOPERATION_STEP_EVENT_ID,\n\tOPERATION_STEP_EVENT_VERSION,\n\ttype OperationCancelEventDataV1,\n\ttype OperationEndEventDataV1,\n\ttype OperationExecutionContext,\n\ttype OperationHandle,\n\ttype OperationProgress,\n\ttype OperationStartEventDataV1,\n\ttype OperationStatus,\n\ttype OperationStepEventDataV1,\n\ttype OutputArtifactAPI,\n\ttype OutputArtifactChunk,\n\ttype OutputArtifactErrorCode,\n\ttype OutputArtifactPutInput,\n\ttype OutputArtifactRef,\n\tPLUGIN_DISPOSE_EVENT_ID,\n\tPLUGIN_DISPOSE_EVENT_VERSION,\n\tPLUGIN_READY_EVENT_ID,\n\tPLUGIN_READY_EVENT_VERSION,\n\ttype PluginAgentRole,\n\ttype PluginCapabilityDeclaration,\n\ttype PluginCapabilityRequirement,\n\ttype PluginConfig,\n\ttype PluginConfigValue,\n\ttype PluginDisposeEventDataV1,\n\ttype PluginManifest,\n\ttype PluginReadyEventDataV1,\n\ttype PolicyInvocationContextV1,\n\ttype ProviderHeaderTransform,\n\ttype ProviderHeaderTransformRequest,\n\tparseCapabilityPluginManifest,\n\ttype RetryPolicy,\n\ttype RetryPolicyDecision,\n\ttype RetryPolicyRequest,\n\ttype RetryScheduleV1,\n\ttype RuntimeInspectorAPI,\n\ttype RuntimeInspectorErrorSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryFailureSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryReportSnapshot,\n\ttype RuntimeInspectorSnapshot,\n\tresolvePluginCapabilityOrder,\n\tSESSION_COMPACTION_COMMIT_EVENT_ID,\n\tSESSION_COMPACTION_COMMIT_EVENT_VERSION,\n\tSESSION_CONTEXT_REPLACED_EVENT_ID,\n\tSESSION_CONTEXT_REPLACED_EVENT_VERSION,\n\tSESSION_RELOAD_EVENT_ID,\n\tSESSION_RELOAD_EVENT_VERSION,\n\ttype SessionAPI,\n\ttype SessionCompactionCommitEventDataV1,\n\ttype SessionContextReplacedEventDataV1,\n\ttype SessionEntryView,\n\ttype SessionExportArtifact,\n\ttype SessionExportRequest,\n\ttype SessionReloadEventDataV1,\n\ttype SkillDefinition,\n\ttype StateAPI,\n\ttype StateChange,\n\ttype StateEntry,\n\ttype StateSetOptions,\n\tSUMMARY_MODEL_INVOCATION_ERROR_CODES,\n\ttype SummaryModelFactsV1,\n\ttype SummaryModelInvocationRequestV1,\n\ttype SummaryModelInvocationResultV1,\n\ttype SummaryModelInvocationV1,\n\tTOOL_CALL_EVENT_ID,\n\tTOOL_CALL_EVENT_VERSION,\n\tTOOL_COMMIT_EVENT_ID,\n\tTOOL_COMMIT_EVENT_VERSION,\n\tTOOL_EXECUTE_EVENT_ID,\n\tTOOL_EXECUTE_EVENT_VERSION,\n\tTOOL_RESULT_EVENT_ID,\n\tTOOL_RESULT_EVENT_VERSION,\n\tTOOL_RESULT_RAW_EVENT_ID,\n\tTOOL_RESULT_RAW_EVENT_VERSION,\n\tTOOL_RESULT_TRANSFORM_EVENT_ID,\n\tTOOL_RESULT_TRANSFORM_EVENT_VERSION,\n\ttype ToolCallEventDataV1,\n\ttype ToolCommitEventDataV1,\n\ttype ToolExecuteEventDataV1,\n\ttype ToolResultEventDataV1,\n\ttype ToolResultRawEventDataV1,\n\ttype ToolResultTransformEventDataV1,\n\tvalidateCapabilityCallEventDataV1,\n\tvalidateExecutionFactsV1,\n\tvalidateModelResponseEventDataV1,\n\tvalidateModelStreamEventDataV1,\n\tvalidateOperationCancelEventDataV1,\n\tvalidateOperationEndEventDataV1,\n\tvalidateOperationStartEventDataV1,\n\tvalidateOperationStepEventDataV1,\n\tvalidatePluginDisposeEventDataV1,\n\tvalidatePluginReadyEventDataV1,\n\tvalidateRetryScheduleV1,\n\tvalidateSessionCompactionCommitEventDataV1,\n\tvalidateSessionContextReplacedEventDataV1,\n\tvalidateSessionReloadEventDataV1,\n\tvalidateToolCallEventDataV1,\n\tvalidateToolCommitEventDataV1,\n\tvalidateToolExecuteEventDataV1,\n\tvalidateToolResultEventDataV1,\n\tvalidateToolResultRawEventDataV1,\n\tvalidateToolResultTransformEventDataV1,\n} from \"./core/extensions/index.ts\";\nexport type { ContextUsage } from \"./core/extensions/public-api.ts\";\nexport { detachedSessionSnapshot } from \"./core/extensions/public-api.ts\";\n// Stable session facade v1 type (B-S2b③-S2): named so the createStableAgentSession\n// result is nameable from the package root. The package-root `exports` subpath set\n// is unchanged (B-S2a gate holds; the facade is not promoted into an exports subpath).\nexport type { CodingAgentFacadeV1 } from \"./core/facade/coding-agent-facade.ts\";\n// Stable runtime facade v1 type (D-063): named so the createStableAgentSessionRuntime\n// result is nameable from the package root. The package-root `exports` subpath set\n// is unchanged (B-S2a gate holds; the facade is not promoted into an exports subpath).\nexport type { CodingAgentRuntimeFacadeV1 } from \"./core/facade/coding-agent-runtime-facade.ts\";\n// Footer data provider (git branch + extension statuses - data not otherwise available to extensions)\nexport type { ReadonlyFooterDataProvider } from \"./core/footer-data-provider.ts\";\nexport type { InputSource } from \"./core/input-source.ts\";\nexport { convertToLlm } from \"./core/messages.ts\";\nexport {\n\tModelRegistry,\n\ttype ProviderConfigInput,\n} from \"./core/model-registry.ts\";\nexport {\n\ttype ModelScopeDiagnostic,\n\ttype ResolveCliModelResult,\n\ttype ResolveModelScopeResult,\n\tresolveCliModel,\n\tresolveModelScopeWithDiagnostics,\n\ttype ScopedModel,\n} from \"./core/model-resolver.ts\";\nexport {\n\ttype CreateModelRuntimeOptions,\n\tCredentialSynchronizationError,\n\ttype CredentialSynchronizationOperation,\n\tModelRuntime,\n\ttype ModelRuntimeAuthOverrides,\n} from \"./core/model-runtime.ts\";\nexport type {\n\tPackageManager,\n\tPathMetadata,\n\tProgressCallback,\n\tProgressEvent,\n\tResolvedPaths,\n\tResolvedResource,\n} from \"./core/package-manager.ts\";\nexport { DefaultPackageManager } from \"./core/package-manager.ts\";\nexport type { ResourceCollision, ResourceDiagnostic, ResourceLoader } from \"./core/resource-loader.ts\";\nexport { DefaultResourceLoader, loadProjectContextFiles } from \"./core/resource-loader.ts\";\n// SDK for programmatic usage\nexport {\n\tAgentSessionRuntime,\n\ttype AgentSessionRuntimeDiagnostic,\n\ttype AgentSessionServices,\n\ttype CreateAgentSessionFromServicesOptions,\n\ttype CreateAgentSessionOptions,\n\ttype CreateAgentSessionResult,\n\ttype CreateAgentSessionRuntimeFactory,\n\ttype CreateAgentSessionRuntimeResult,\n\ttype CreateAgentSessionServicesOptions,\n\ttype CreateStableAgentSessionResult,\n\ttype CreateStableAgentSessionRuntimeResult,\n\t// Factory\n\tcreateAgentSession,\n\tcreateAgentSessionFromServices,\n\tcreateAgentSessionRuntime,\n\tcreateAgentSessionServices,\n\t// Stable session entry (B-S2b③-S2): same assembly as createAgentSession,\n\t// returned as the stable facade pair. The package-root `exports` subpath set\n\t// is unchanged (B-S2a gate holds; this is a named export, not a subpath).\n\tcreateStableAgentSession,\n\t// Stable runtime entry (D-063): same assembly as createAgentSessionRuntime,\n\t// returned as the stable runtime facade (no bare runtime/session). Same\n\t// package-root `exports` note as the session entry above.\n\tcreateStableAgentSessionRuntime,\n\ttype PromptTemplate,\n} from \"./core/sdk.ts\";\nexport {\n\ttype BranchSummaryEntry,\n\tbuildContextEntries,\n\tbuildSessionContext,\n\ttype CompactionEntry,\n\tCURRENT_SESSION_VERSION,\n\ttype CustomEntry,\n\ttype CustomMessageEntry,\n\ttype FileEntry,\n\tgetLatestCompactionEntry,\n\ttype ModelChangeEntry,\n\tmigrateSessionEntries,\n\ttype NewSessionOptions,\n\tparseSessionEntries,\n\ttype SessionContext,\n\ttype SessionEntry,\n\ttype SessionEntryBase,\n\ttype SessionHeader,\n\ttype SessionInfo,\n\ttype SessionInfoEntry,\n\tSessionManager,\n\ttype SessionMessageEntry,\n\ttype SessionTreeNode,\n\tsessionEntryToContextMessages,\n\ttype ThinkingLevelChangeEntry,\n} from \"./core/session-manager.ts\";\nexport {\n\tFileSessionStorageProvider,\n\tSessionHeaderScanLimitError,\n\ttype SessionStorageProvider,\n\ttype SessionWriteGuardV1,\n} from \"./core/session-storage.ts\";\nexport {\n\ttype CompactionSettings,\n\ttype FullscreenExitOutput,\n\ttype ImageSettings,\n\ttype PackageSource,\n\ttype RetrySettings,\n\tSettingsManager,\n\ttype SettingsManagerCreateOptions,\n\ttype TuiMode,\n} from \"./core/settings-manager.ts\";\n// Skills\nexport {\n\tformatSkillsForPrompt,\n\ttype LoadSkillsFromDirOptions,\n\ttype LoadSkillsResult,\n\tloadSkills,\n\tloadSkillsFromDir,\n\ttype Skill,\n\ttype SkillFrontmatter,\n} from \"./core/skills.ts\";\nexport type { SlashCommandInfo, SlashCommandSource } from \"./core/slash-commands.ts\";\nexport type { SourceInfo } from \"./core/source-info.ts\";\nexport { createSyntheticSourceInfo } from \"./core/source-info.ts\";\nexport type { BuildSystemPromptOptions } from \"./core/system-prompt.ts\";\nexport { type EditDiffResult, generateDiffString, generateUnifiedPatch } from \"./core/tools/edit-diff.ts\";\n// Tools (D-082 批 1: the default coding tool definitions moved to the\n// plugins/coding-tools package; the host keeps the shared tool-support face)\nexport {\n\ttype BashOperations,\n\ttype BashSpawnContext,\n\ttype BashSpawnHook,\n\tcreateLocalBashOperations,\n\tcreateLocalShellOperations,\n\tDEFAULT_MAX_BYTES,\n\tDEFAULT_MAX_LINES,\n\tformatSize,\n\ttype TruncationOptions,\n\ttype TruncationResult,\n\ttruncateHead,\n\ttruncateLine,\n\ttruncateTail,\n\twithFileMutationQueue,\n} from \"./core/tools/index.ts\";\nexport type {\n\tToolDefinition,\n\tToolExecuteContext,\n\tToolInfo,\n\tToolRenderContext,\n\tToolRenderResultOptions,\n} from \"./core/tools/tool-definition.ts\";\n// Tool definition surface (capability tools contract)\nexport { defineTool } from \"./core/tools/tool-definition.ts\";\n// Durable service (7.4b): in-memory persistence with optional file backend\nexport {\n\tcreateDurableService,\n\tcreateFileDurableStoreBackend,\n\ttype DurableArtifactRecordV1,\n\ttype DurableOperationRecordV1,\n\ttype DurableReplayDiagnosticsV1,\n\ttype DurableServiceErrorCodeV1,\n\tDurableServiceErrorV1,\n\ttype DurableServiceOptionsV1,\n\ttype DurableServiceV1,\n\ttype DurableSessionRecordV1,\n\ttype DurableSnapshotV1,\n\ttype DurableStoreBackend,\n\ttype DurableStoreLoadResultV1,\n\ttype DurableStoreOperationV1,\n\ttype DurableWriterClaimV1,\n\ttype DurableWriterRecoveryV1,\n\tdurableLogPath,\n} from \"./durable/durable-service.ts\";\n// Agent retry scheduler (2A.4b): cancellable, duplicate-suppressing retries\nexport {\n\ttype AgentRetryAttemptV1,\n\ttype AgentRetryOutcomeV1,\n\ttype AgentRetryPolicyV1,\n\ttype AgentRetrySchedulerV1,\n\tcreateAgentRetryScheduler,\n} from \"./host/agent-retry-scheduler.ts\";\n// Auto compaction executor (2A.3a): threshold-triggered with cancel/re-entrancy\nexport {\n\ttype AutoCompactionExecutorV1,\n\ttype AutoCompactionOutcomeV1,\n\ttype AutoCompactionPolicyV1,\n\tcreateAutoCompactionExecutor,\n} from \"./host/auto-compaction.ts\";\n// Branch migration and reload transaction (2A.5a/2A.5b)\nexport {\n\ttype BranchMigrationOutcomeV1,\n\ttype BranchStateEntryV1,\n\ttype BranchStateMigrationV1,\n\tcreateBranchStateMigration,\n\tcreateReloadTransaction,\n\ttype ReloadTransactionV1,\n} from \"./host/branch-reload.ts\";\n// Channel adapter (3.5b): print/JSON stdout-stderr semantics\nexport {\n\ttype ChannelAdapterV1,\n\ttype ChannelFormatV1,\n\tcreateStdioChannelAdapter,\n} from \"./host/channel-adapter.ts\";\n// Host checkpoint/commit (2A.1): revision-guarded idempotent two-phase writes\nexport {\n\tcreateHostCheckpointCoordinator,\n\ttype HostCheckpointCoordinatorV1,\n\ttype HostCommitOutcomeV1,\n\ttype HostStagedWriteV1,\n\ttype HostStageResultV1,\n} from \"./host/checkpoint-commit.ts\";\n// Manual compaction executor (2A.2): plugin-driven timing over checkpoint primitives\nexport {\n\tcreateManualCompactionExecutor,\n\ttype ManualCompactionExecutorV1,\n\ttype ManualCompactionOutcomeV1,\n\ttype ManualCompactionStateV1,\n} from \"./host/manual-compaction.ts\";\n// Host output projection (2.6b): traced channel records with structured errors\nexport {\n\tcreateHostOutputProjector,\n\ttype HostEventV1,\n\ttype HostOutputChannelV1,\n\ttype HostOutputProjectorV1,\n\ttype HostOutputRecordV1,\n\ttype HostOutputSeverityV1,\n} from \"./host/output-projection.ts\";\n// Output reducer (3.5a): deterministic fold/unfold over projected records\nexport {\n\tcreateOutputReducer,\n\ttype FoldedOutputGroupV1,\n\ttype FoldedOutputV1,\n\ttype OutputReducerV1,\n} from \"./host/output-reducer.ts\";\n// Host Output Serializer (3.5 supplement): per-surface allowlist projection\nexport {\n\tcreateHostOutputSerializer,\n\ttype HostOutputProjectionV1,\n\ttype HostOutputSerializerContextV1,\n\ttype HostOutputSerializerV1,\n\ttype HostOutputSurfaceV1,\n\ttype OutputArtifactRefV1,\n} from \"./host/output-serializer.ts\";\n// Provider overflow recovery (2A.3b): classification and shrink-and-commit entry\nexport {\n\tcreateOverflowRecovery,\n\ttype OverflowRecoveryOutcomeV1,\n\ttype OverflowRecoveryV1,\n\ttype ProviderErrorClassificationV1,\n\ttype ProviderErrorClassV1,\n} from \"./host/overflow-recovery.ts\";\n// Summary retry (2A.4a): traced attempts, exponential backoff, terminal states\nexport {\n\tcreateSummaryRetryExecutor,\n\ttype SummaryAttemptRecordV1,\n\ttype SummaryRetryExecutorV1,\n\ttype SummaryRetryOutcomeV1,\n\ttype SummaryRetryPolicyV1,\n} from \"./host/summary-retry.ts\";\n// Main entry point\nexport { type MainOptions, main } from \"./main.ts\";\n// Migration tool (7.4a): chained version migration with rollback evidence\nexport {\n\tcreateMigrationTool,\n\ttype MigrationEvidenceStepV1,\n\ttype MigrationOutcomeV1,\n\ttype MigrationStepV1,\n\ttype MigrationToolV1,\n} from \"./migration/migration-tool.ts\";\n// Run modes for programmatic SDK usage\nexport {\n\tInteractiveMode,\n\ttype InteractiveModeOptions,\n\ttype JsonAgentSessionEvent,\n\ttype ModelInfo,\n\ttype PrintModeOptions,\n\tRpcClient,\n\ttype RpcClientOptions,\n\ttype RpcCommand,\n\ttype RpcEventListener,\n\ttype RpcExtensionUIRequest,\n\ttype RpcExtensionUIResponse,\n\ttype RpcModeOptions,\n\ttype RpcResponse,\n\ttype RpcSessionState,\n\trunPrintMode,\n\trunRpcMode,\n} from \"./modes/index.ts\";\n// UI components for extensions\nexport {\n\tArminComponent,\n\tAssistantMessageComponent,\n\tBashExecutionComponent,\n\tBorderedLoader,\n\tBranchSummaryMessageComponent,\n\tCompactionSummaryMessageComponent,\n\tCustomEditor,\n\tCustomMessageComponent,\n\tDialogEditorComponent,\n\tDialogInputComponent,\n\tDialogSelectorComponent,\n\tDynamicBorder,\n\tFooterComponent,\n\tkeyHint,\n\tkeyText,\n\tLoginDialogComponent,\n\tModelSelectorComponent,\n\tOAuthSelectorComponent,\n\tPluginManagerEntryComponent,\n\ttype PluginManagerEntryOpenContextV1,\n\ttype PluginManagerEntryOpenResultV1,\n\ttype PluginManagerEntryOptionsV1,\n\ttype RenderDiffOptions,\n\trawKeyHint,\n\trenderDiff,\n\tSessionSelectorComponent,\n\ttype SettingsCallbacks,\n\ttype SettingsConfig,\n\tSettingsSelectorComponent,\n\tShowImagesSelectorComponent,\n\tSkillInvocationMessageComponent,\n\tThemeSelectorComponent,\n\tThinkingSelectorComponent,\n\tToolExecutionComponent,\n\ttype ToolExecutionOptions,\n\tTreeSelectorComponent,\n\ttruncateToVisualLines,\n\tUserMessageComponent,\n\tUserMessageSelectorComponent,\n\ttype VisualTruncateResult,\n} from \"./modes/interactive/components/index.ts\";\n// Theme utilities for custom tools and extensions\nexport {\n\tgetLanguageFromPath,\n\tgetMarkdownTheme,\n\tgetSelectListTheme,\n\tgetSettingsListTheme,\n\thighlightCode,\n\tinitTheme,\n\tTheme,\n\ttype ThemeColor,\n} from \"./modes/interactive/theme/theme.ts\";\nexport * as PluginEcosystemV1 from \"./plugins/ecosystem/index.ts\";\n// Host facts for the ecosystem pluginHost options (B-S2b: the convergence\n// slice names the previously unnameable type for cross-package consumers).\nexport type { HostFactsV1 } from \"./plugins/ecosystem/types.ts\";\n// Integrity adapter (7.3): seal/verify manifests for external policy flows\nexport {\n\tcreateIntegrityAdapter,\n\ttype IntegrityAdapterV1,\n\ttype ManifestExpectationV1,\n\ttype ManifestVerdictV1,\n\ttype SealedManifestV1,\n} from \"./plugins/integrity-adapter.ts\";\n// Plugin host (7.1): owned lifecycle, reverse dispose, error aggregation\nexport {\n\tcreatePluginHost,\n\ttype HostedPluginV1,\n\ttype PluginHostErrorV1,\n\ttype PluginHostResourceV1,\n\ttype PluginHostStateV1,\n\ttype PluginHostV1,\n} from \"./plugins/plugin-host.ts\";\n// Plugin supervisor (7.2): heartbeat, bounded restart, backpressure\nexport {\n\tcreatePluginSupervisor,\n\ttype PluginHealthV1,\n\ttype PluginSupervisorV1,\n\ttype SupervisorEntryV1,\n\ttype SupervisorEventV1,\n\ttype SupervisorPolicyV1,\n} from \"./plugins/plugin-supervisor.ts\";\n// Profile identity (2.0a): profileId/version, manifest digest, host compatibility\nexport {\n\tbuildProfileIdentityV1,\n\ttype ProfileIdentityV1,\n\tprofileIdentitiesCompatible,\n\ttype ResolvedPluginManifestV1,\n\tstableJsonDigest,\n} from \"./profile/identity.ts\";\n// Profile lock (2.0b): pre-creation lock, reopen/reload drift detection\nexport {\n\tcreateProfileLock,\n\ttype ProfileLockReplaceResultV1,\n\ttype ProfileLockV1,\n\ttype ProfileLockVerificationV1,\n\treplaceProfileLock,\n\tverifyProfileLock,\n} from \"./profile/lock.ts\";\nexport {\n\ttype BuiltinPluginManifestOverridesV1,\n\ttype BuiltinPluginProfileIdV1,\n\ttype BuiltinPluginProfileResolutionV1,\n\ttype BuiltinPluginProfileV1,\n\tlistBuiltinPluginManifestsV1,\n\tlistBuiltinPluginProfilesV1,\n\tresolveBuiltinPluginProfileV1,\n} from \"./profile/plugin-profiles.ts\";\n// Profile assembly (2.5b): verified-plugin assembly, version lock, replacement\nexport {\n\tassembleProfile,\n\ttype PluginReplacementRecordV1,\n\ttype ProfileAssemblyResultV1,\n\ttype ProfileAssemblyV1,\n\ttype ProfileReplacementResultV1,\n\treplaceProfilePlugin,\n\ttype VerifiedToolPluginV1,\n} from \"./profile/profile-assembly.ts\";\n// Profile migration policy (2.7b): explicit reopen migration over the 2.0b lock\nexport {\n\tcreateProfileMigrationPolicy,\n\ttype ProfileMigrationPlanV1,\n\ttype ProfileMigrationPolicyV1,\n\ttype ProfileMigrationResultV1,\n} from \"./profile/profile-migration.ts\";\n// Profile registry (2.7a): multi-source discovery, upgrades, deprecation\nexport {\n\tcreateProfileRegistry,\n\ttype ProfileRegistryV1,\n\ttype ProfileResolutionV1,\n\ttype ProfileVersionRangeV1,\n\ttype RegistryProfileEntryV1,\n\ttype RegistrySourceV1,\n} from \"./profile/profile-registry.ts\";\nexport { isBuiltinSuiteId } from \"./profiles/builtin-suites.ts\";\n// Resolved agent profile (D-047 S4a): immutable per-session aggregate view\n// over the resolved suite profile — a projection of existing authoritative\n// sources, not a new generation mechanism; AgentSession stays suite-unaware.\nexport {\n\tbuildResolvedAgentProfileV1,\n\ttype PluginProfileResolutionSummaryV1,\n\ttype ResolvedAgentProfileV1,\n\ttype ResolvedProfileDiagnosticV1,\n} from \"./profiles/resolved-agent-profile.ts\";\n// Suite (方案) lifecycle public API (方案系统设计.md §9): the same deterministic\n// operations the CLI one-shots use, exported so first-party and third-party\n// plugins can manage suite workspaces without hidden channels.\nexport {\n\tclearDanglingSuiteSettings,\n\tcreateSuite,\n\tdeleteSuite,\n\tfindSuiteSessionRefs,\n\tresetSuite,\n\tSUITE_DELETE_CONFIRM_TOKEN,\n\ttype SuiteCreateOptions,\n\ttype SuiteCreateResult,\n\ttype SuiteDeleteOptions,\n\ttype SuiteDeleteResult,\n\tSuiteLifecycleError,\n\ttype SuiteLifecycleOperation,\n\ttype SuiteResetPlan,\n\ttype SuiteSessionRef,\n\ttype SuiteSettingsCleanup,\n} from \"./profiles/suite-lifecycle.ts\";\nexport {\n\tDEFAULT_SUITE_ID,\n\tlistSuiteIds,\n\tSuiteResolutionError,\n} from \"./profiles/suite-loader.ts\";\n// Remote server assembly (1B.7h): coding-agent sessions behind the public server boundary\nexport {\n\tassembleCodingAgentServer,\n\ttype CodingAgentServerAssemblyOptions,\n\ttype CodingAgentServerModels,\n\tCodingAgentServerService,\n\ttype CodingAgentServerSessionSource,\n\ttype CodingAgentSessionDescriptor,\n\tCodingAgentSessionRuntime,\n\tprojectSessionTranscript,\n} from \"./remote/server-assembly.ts\";\n// Remote restart recovery (E3): production session source and programmatic server entry\nexport {\n\ttype CodingAgentRemoteServerHandle,\n\ttype StartCodingAgentRemoteServerOptions,\n\tstartCodingAgentRemoteServer,\n} from \"./remote/server-entry.ts\";\nexport {\n\tcreateFileSessionSource,\n\ttype FileSessionSourceOptions,\n} from \"./remote/session-source.ts\";\n// Session share contract (2.6c): revocable read-only shares with explicit transports\nexport {\n\tcreateSessionShare,\n\ttype SessionShareManagerV1,\n\ttype ShareArtifactInputV1,\n\ttype ShareContractV1,\n\ttype ShareResolveRequestV1,\n\ttype ShareResolveResultV1,\n\ttype ShareScopeV1,\n\ttype ShareTransportV1,\n} from \"./share/session-share.ts\";\n// Share viewer (2.6d): escaped HTML + JSON views with explicit failure states\nexport { createShareViewer, type ShareViewerV1, type ShareViewV1 } from \"./share/share-viewer.ts\";\n// Mock AI server (3.1): fail-closed scenario fixtures with fault injection\nexport {\n\tcreateMockAiServer,\n\tMockAiError,\n\ttype MockAiFaultV1,\n\ttype MockAiFixtureV1,\n\ttype MockAiPartV1,\n\ttype MockAiRequestV1,\n\ttype MockAiResponseV1,\n\ttype MockAiServerV1,\n\ttype MockAiStepV1,\n} from \"./testing/mock-ai-server.ts\";\n// Clipboard utilities\nexport { copyToClipboard } from \"./utils/clipboard.ts\";\nexport { parseFrontmatter, stripFrontmatter } from \"./utils/frontmatter.ts\";\nexport { convertToPng } from \"./utils/image-convert.ts\";\nexport { formatDimensionNote, type ResizedImage, resizeImage } from \"./utils/image-resize.ts\";\nexport { detectSupportedImageMimeTypeFromFile } from \"./utils/mime.ts\";\n// Shell utilities\nexport { getPowerShellConfig, getShellConfig, killProcessTree, sanitizeBinaryOutput } from \"./utils/shell.ts\";\n"]}
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ export { calculateContextTokens, collectEntriesForBranchSummary, compact, DEFAUL
|
|
|
27
27
|
export { createEmbeddedSdkBinding, createEmbeddedSdkBindingV1, } from "./core/embedded-sdk.js";
|
|
28
28
|
export { createEventBus } from "./core/event-bus.js";
|
|
29
29
|
// Config paths
|
|
30
|
-
export { AgentCompositionRuntime,
|
|
30
|
+
export { AgentCompositionRuntime, BOOTSTRAP_LIFECYCLE_PLUGIN_ID, CAPABILITY_CALL_EVENT_ID, CAPABILITY_CALL_EVENT_VERSION, createAgentCompositionRuntime, createCapabilityRuntime, createDisposableRegistration, createEventEnvelope, DEFAULT_COMPACTION_POLICY_NAME, DEFAULT_RETRY_POLICY_NAME, discoverCapabilityPluginManifests, EXPERIMENTAL_PUBLIC_API_VERSION, installBootstrapLifecycle, LifecycleExecuteError, LifecycleTransformError, loadCapabilityPlugin, loadCapabilityPluginFromManifest, loadCapabilityPluginSync, MODEL_RESPONSE_EVENT_ID, MODEL_RESPONSE_EVENT_VERSION, MODEL_STREAM_EVENT_ID, MODEL_STREAM_EVENT_VERSION, OPERATION_CANCEL_EVENT_ID, OPERATION_CANCEL_EVENT_VERSION, OPERATION_END_EVENT_ID, OPERATION_END_EVENT_VERSION, OPERATION_START_EVENT_ID, OPERATION_START_EVENT_VERSION, OPERATION_STEP_EVENT_ID, OPERATION_STEP_EVENT_VERSION, PLUGIN_DISPOSE_EVENT_ID, PLUGIN_DISPOSE_EVENT_VERSION, PLUGIN_READY_EVENT_ID, PLUGIN_READY_EVENT_VERSION, parseCapabilityPluginManifest, resolvePluginCapabilityOrder, SESSION_COMPACTION_COMMIT_EVENT_ID, SESSION_COMPACTION_COMMIT_EVENT_VERSION, SESSION_CONTEXT_REPLACED_EVENT_ID, SESSION_CONTEXT_REPLACED_EVENT_VERSION, SESSION_RELOAD_EVENT_ID, SESSION_RELOAD_EVENT_VERSION, SUMMARY_MODEL_INVOCATION_ERROR_CODES, TOOL_CALL_EVENT_ID, TOOL_CALL_EVENT_VERSION, TOOL_COMMIT_EVENT_ID, TOOL_COMMIT_EVENT_VERSION, TOOL_EXECUTE_EVENT_ID, TOOL_EXECUTE_EVENT_VERSION, TOOL_RESULT_EVENT_ID, TOOL_RESULT_EVENT_VERSION, TOOL_RESULT_RAW_EVENT_ID, TOOL_RESULT_RAW_EVENT_VERSION, TOOL_RESULT_TRANSFORM_EVENT_ID, TOOL_RESULT_TRANSFORM_EVENT_VERSION, validateCapabilityCallEventDataV1, validateExecutionFactsV1, validateModelResponseEventDataV1, validateModelStreamEventDataV1, validateOperationCancelEventDataV1, validateOperationEndEventDataV1, validateOperationStartEventDataV1, validateOperationStepEventDataV1, validatePluginDisposeEventDataV1, validatePluginReadyEventDataV1, validateRetryScheduleV1, validateSessionCompactionCommitEventDataV1, validateSessionContextReplacedEventDataV1, validateSessionReloadEventDataV1, validateToolCallEventDataV1, validateToolCommitEventDataV1, validateToolExecuteEventDataV1, validateToolResultEventDataV1, validateToolResultRawEventDataV1, validateToolResultTransformEventDataV1, } from "./core/extensions/index.js";
|
|
31
31
|
export { detachedSessionSnapshot } from "./core/extensions/public-api.js";
|
|
32
32
|
export { convertToLlm } from "./core/messages.js";
|
|
33
33
|
export { ModelRegistry, } from "./core/model-registry.js";
|
|
@@ -38,9 +38,7 @@ export { DefaultResourceLoader, loadProjectContextFiles } from "./core/resource-
|
|
|
38
38
|
// SDK for programmatic usage
|
|
39
39
|
export { AgentSessionRuntime,
|
|
40
40
|
// Factory
|
|
41
|
-
createAgentSession, createAgentSessionFromServices, createAgentSessionRuntime, createAgentSessionServices,
|
|
42
|
-
// Tool factories (for custom cwd)
|
|
43
|
-
createCodingTools, createEditTool, createFindTool, createGrepTool, createLsTool, createPowerShellTool, createReadOnlyTools, createReadTool,
|
|
41
|
+
createAgentSession, createAgentSessionFromServices, createAgentSessionRuntime, createAgentSessionServices,
|
|
44
42
|
// Stable session entry (B-S2b③-S2): same assembly as createAgentSession,
|
|
45
43
|
// returned as the stable facade pair. The package-root `exports` subpath set
|
|
46
44
|
// is unchanged (B-S2a gate holds; this is a named export, not a subpath).
|
|
@@ -48,7 +46,7 @@ createStableAgentSession,
|
|
|
48
46
|
// Stable runtime entry (D-063): same assembly as createAgentSessionRuntime,
|
|
49
47
|
// returned as the stable runtime facade (no bare runtime/session). Same
|
|
50
48
|
// package-root `exports` note as the session entry above.
|
|
51
|
-
createStableAgentSessionRuntime,
|
|
49
|
+
createStableAgentSessionRuntime, } from "./core/sdk.js";
|
|
52
50
|
export { buildContextEntries, buildSessionContext, CURRENT_SESSION_VERSION, getLatestCompactionEntry, migrateSessionEntries, parseSessionEntries, SessionManager, sessionEntryToContextMessages, } from "./core/session-manager.js";
|
|
53
51
|
export { FileSessionStorageProvider, SessionHeaderScanLimitError, } from "./core/session-storage.js";
|
|
54
52
|
export { SettingsManager, } from "./core/settings-manager.js";
|
|
@@ -56,8 +54,9 @@ export { SettingsManager, } from "./core/settings-manager.js";
|
|
|
56
54
|
export { formatSkillsForPrompt, loadSkills, loadSkillsFromDir, } from "./core/skills.js";
|
|
57
55
|
export { createSyntheticSourceInfo } from "./core/source-info.js";
|
|
58
56
|
export { generateDiffString, generateUnifiedPatch } from "./core/tools/edit-diff.js";
|
|
59
|
-
// Tools
|
|
60
|
-
|
|
57
|
+
// Tools (D-082 批 1: the default coding tool definitions moved to the
|
|
58
|
+
// plugins/coding-tools package; the host keeps the shared tool-support face)
|
|
59
|
+
export { createLocalBashOperations, createLocalShellOperations, DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize, truncateHead, truncateLine, truncateTail, withFileMutationQueue, } from "./core/tools/index.js";
|
|
61
60
|
// Tool definition surface (capability tools contract)
|
|
62
61
|
export { defineTool } from "./core/tools/tool-definition.js";
|
|
63
62
|
// Durable service (7.4b): in-memory persistence with optional file backend
|
|
@@ -97,53 +96,21 @@ export { getLanguageFromPath, getMarkdownTheme, getSelectListTheme, getSettingsL
|
|
|
97
96
|
export * as PluginEcosystemV1 from "./plugins/ecosystem/index.js";
|
|
98
97
|
// Integrity adapter (7.3): seal/verify manifests for external policy flows
|
|
99
98
|
export { createIntegrityAdapter, } from "./plugins/integrity-adapter.js";
|
|
100
|
-
// MCP HTTP transport (4.3): observable retry and idempotent calls
|
|
101
|
-
export { createMcpHttpTransport, } from "./plugins/mcp-http.js";
|
|
102
99
|
// Plugin host (7.1): owned lifecycle, reverse dispose, error aggregation
|
|
103
100
|
export { createPluginHost, } from "./plugins/plugin-host.js";
|
|
104
101
|
// Plugin supervisor (7.2): heartbeat, bounded restart, backpressure
|
|
105
102
|
export { createPluginSupervisor, } from "./plugins/plugin-supervisor.js";
|
|
106
|
-
// Child agent lifecycle adapter (2.2b)
|
|
107
|
-
export { createChildAgentFacade, } from "./profile/child-facade.js";
|
|
108
|
-
// Profile dependency wiring (2.5a): pre-session capability resolution
|
|
109
|
-
export { wireProfileDependencies, } from "./profile/dependency-wiring.js";
|
|
110
|
-
// Domain recovery (5.2a/5.2b): branch-scoped plan recovery and restart replay
|
|
111
|
-
export { buildRestartReport, recoverPlansForBranch, } from "./profile/domain-recovery.js";
|
|
112
|
-
// First-batch role vertical slices (2.2c)
|
|
113
|
-
export { createFirstBatchRoleSlices, FIRST_BATCH_ROLES } from "./profile/first-roles.js";
|
|
114
|
-
// Goal plugin (2.3b): Goal schema, evidence, and recovery over the transition store
|
|
115
|
-
export { createGoalPlugin, } from "./profile/goal-plugin.js";
|
|
116
103
|
// Profile identity (2.0a): profileId/version, manifest digest, host compatibility
|
|
117
104
|
export { buildProfileIdentityV1, profileIdentitiesCompatible, stableJsonDigest, } from "./profile/identity.js";
|
|
118
105
|
// Profile lock (2.0b): pre-creation lock, reopen/reload drift detection
|
|
119
106
|
export { createProfileLock, replaceProfileLock, verifyProfileLock, } from "./profile/lock.js";
|
|
120
|
-
// Plan plugin (2.3c): branch/revision-bound plan semantics over the transition store
|
|
121
|
-
export { createPlanPlugin, } from "./profile/plan-plugin.js";
|
|
122
107
|
export { listBuiltinPluginManifestsV1, listBuiltinPluginProfilesV1, resolveBuiltinPluginProfileV1, } from "./profile/plugin-profiles.js";
|
|
123
|
-
// Policy manifest (2.7e): declarative policies with external selection
|
|
124
|
-
export { createPolicyManifestBuilder, } from "./profile/policy-manifest.js";
|
|
125
108
|
// Profile assembly (2.5b): verified-plugin assembly, version lock, replacement
|
|
126
109
|
export { assembleProfile, replaceProfilePlugin, } from "./profile/profile-assembly.js";
|
|
127
110
|
// Profile migration policy (2.7b): explicit reopen migration over the 2.0b lock
|
|
128
111
|
export { createProfileMigrationPolicy, } from "./profile/profile-migration.js";
|
|
129
112
|
// Profile registry (2.7a): multi-source discovery, upgrades, deprecation
|
|
130
113
|
export { createProfileRegistry, } from "./profile/profile-registry.js";
|
|
131
|
-
// Role assembly (2.2d): catalog + runner binding mount with dependency diagnostics
|
|
132
|
-
export { assembleRoles, } from "./profile/role-assembly.js";
|
|
133
|
-
// Role metadata catalog (2.2a)
|
|
134
|
-
export { createRoleCatalog, validateRoleMetadataV1, } from "./profile/role-catalog.js";
|
|
135
|
-
// Role orchestrator (2.2e): root-side concurrent orchestration with bounded aggregation
|
|
136
|
-
export { createRoleOrchestrator, DEFAULT_ROLE_AGGREGATION_LIMIT_BYTES, } from "./profile/role-orchestrator.js";
|
|
137
|
-
// Role runner binding (2.2d): RoleMetadataV1 → child AgentDefinition
|
|
138
|
-
export { createRoleRunner, runFirstBatchRole, } from "./profile/role-runner.js";
|
|
139
|
-
// Root-agent-controller facade adapter (2.1a)
|
|
140
|
-
export { createRootAgentFacade, } from "./profile/root-facade.js";
|
|
141
|
-
// Skill/MCP discovery wiring (4.4): pre-session capability conflicts and wiring
|
|
142
|
-
export { createSkillDiscoveryWiring, } from "./profile/skill-discovery-wiring.js";
|
|
143
|
-
// Generic transition store (2.3a): Goal/Plan/Todo contract base
|
|
144
|
-
export { createTransitionStore, } from "./profile/state-store.js";
|
|
145
|
-
// Todo plugin (2.3d): content lifecycle with cancel/restart over the transition store
|
|
146
|
-
export { createTodoPlugin, } from "./profile/todo-plugin.js";
|
|
147
114
|
export { isBuiltinSuiteId } from "./profiles/builtin-suites.js";
|
|
148
115
|
// Resolved agent profile (D-047 S4a): immutable per-session aggregate view
|
|
149
116
|
// over the resolved suite profile — a projection of existing authoritative
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAG1B,yEAAyE;AACzE,0CAA0C;AAC1C,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAC7D,yEAA+D;AAC/D,sDAAsD;AACtD,8EAA8E;AAC9E,6EAA6E;AAC7E,4EAA4E;AAC5E,mEAAmE;AACnE,OAAO,EACN,uBAAuB,GAIvB,MAAM,yBAAyB,CAAC;AACjC,6EAA6E;AAC7E,OAAO,EAGN,mBAAmB,GACnB,MAAM,+BAA+B,CAAC;AACvC,4EAA4E;AAC5E,OAAO,EAIN,iBAAiB,EACjB,gBAAgB,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAa,SAAS,EAAE,MAAM,eAAe,CAA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AA4B,CAAC;AACpC,qFAAqF;AACrF,OAAO,EACN,kBAAkB,GAQlB,MAAM,0BAA0B,CAAC;AAClC,8EAA8E;AAC9E,OAAO,EAAE,iBAAiB,EAAwC,MAAM,yBAAyB,CAAC;AAClG,2EAA2E;AAC3E,OAAO,EACN,kBAAkB,EAClB,WAAW,GAQX,MAAM,6BAA6B,CAAC;AACrC,sBAAsB;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAqB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EAAE,oCAAoC,EAAE,MAAM,iBAAiB,CAAC;AACvE,kBAAkB;AAClB,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["// Core session management\n\nexport type { AgentToolResult, AgentToolUpdateCallback, ToolExecutionMode } from \"@agent-forge/agent-core\";\n// First-party plugin ecosystem (opt-in namespaces; domain plugins do not\n// alter the default coding tool surface).\nexport * as PluginContractsV1 from \"@agent-forge/plugin-sdk\";\n// Memory capability storage contract (扩展位盘点 A1/A2): injectable\n// store/ledger factories and vector components behind\n// `CreateAgentSessionOptions.memoryCapability.storage`. Authoritative home is\n// @agent-forge/plugin-sdk since the S4-4 split (the memory capability itself\n// moved to the @agent-forge/plugin-memory package); re-exported here so the\n// memory-backend example and existing host imports keep resolving.\nexport {\n\tMEMORY_RECALL_TOOL_NAME,\n\ttype MemoryCapabilityOverrideV1,\n\ttype MemoryStorageComponentsV1,\n\ttype MemoryVectorComponentsOverrideV1,\n} from \"@agent-forge/plugin-sdk\";\n// Artifact store (2.6a): session export artifacts with bounded reads and EOL\nexport {\n\ttype ArtifactStatV1,\n\ttype ArtifactStoreV1,\n\tcreateArtifactStore,\n} from \"./artifacts/artifact-store.ts\";\n// Paged artifact reading (3.5c): ref-based expansion with explicit failures\nexport {\n\ttype ArtifactPageDirectoryEntryV1,\n\ttype ArtifactPagePlanV1,\n\ttype ArtifactPageReadV1,\n\tplanArtifactPages,\n\treadArtifactPage,\n} from \"./artifacts/paged-read.ts\";\nexport { type Args, parseArgs } from \"./cli/args.ts\";\nexport * as PluginManagerUiV1 from \"./cli/plugin-manager-controller.ts\";\n// Host-owned plugin management surfaces. They expose bounded DTOs only; the\n// registry, installer, package paths and credentials remain behind the host.\nexport * as PluginUiV1 from \"./cli/plugin-selection-controller.ts\";\nexport {\n\tCONFIG_DIR_NAME,\n\tgetAgentDir,\n\tgetDocsPath,\n\tgetExamplesPath,\n\tgetPackageDir,\n\tgetReadmePath,\n\tgetSessionsDir,\n\tVERSION,\n} from \"./config.ts\";\nexport {\n\tAGENT_CAPABILITY_CONTRACT_ID,\n\tAGENT_CAPABILITY_CONTRACT_VERSION,\n\tAGENT_ERROR_CODES_V1,\n\ttype AgentCapabilityContractInputV1,\n\ttype AgentCapabilityContractV1,\n\ttype AgentCapabilityContractVersion,\n\ttype AgentDefinitionSnapshotV1,\n\ttype AgentErrorCodeV1,\n\ttype AgentInstanceSnapshotV1,\n\ttype AgentProfileV1,\n\ttype ArtifactRefV1,\n\tassertCapabilitySupportedV1,\n\tbuildAgentCapabilityContract,\n\tbuildAgentCapabilityContractV1,\n\tbuildAgentDefinitionSnapshotV1,\n\tbuildAgentInstanceSnapshotV1,\n\tbuildAgentProfileV1,\n\tbuildArtifactRefV1,\n\tbuildCanonicalContractFixtureVectorsV1,\n\tbuildCanonicalContractVectorsV1,\n\tbuildCommandRequestV1,\n\tbuildContractCompatibilityRequirementsV1,\n\tbuildErrorEnvelopeV1,\n\tbuildEventEnvelope,\n\tbuildEventEnvelopeV1,\n\tbuildHostContextV1,\n\tbuildOperationSnapshotV1,\n\tbuildOperationTerminalV1,\n\tbuildSessionRevisionV1,\n\tbuildSessionSnapshotV1,\n\ttype CanonicalContractFixtureVectorV1,\n\ttype CanonicalContractVectorsV1,\n\ttype CapabilityRefV1,\n\ttype CapabilityResolutionV1,\n\ttype CommandAdmissionV1,\n\ttype CommandOperationRegistryV1,\n\ttype CommandRequestInputV1,\n\ttype CommandRequestV1,\n\ttype ContractCompatibilityIssueCodeV1,\n\ttype ContractCompatibilityIssueV1,\n\ttype ContractCompatibilityRequirementsV1,\n\ttype ContractCompatibilityResultV1,\n\tcheckContractCompatibilityV1,\n\tcreateCommandOperationRegistryV1,\n\ttype ErrorEnvelopeV1,\n\ttype EventCategoryV1,\n\ttype EventDeliveryGuaranteeV1,\n\ttype EventEnvelopeInputV1,\n\ttype EventEnvelopeV1,\n\ttype HostContextV1,\n\ttype HostMode as CanonicalHostModeV1,\n\ttype HostTransport,\n\tisRegisteredAgentErrorCodeV1,\n\ttype JsonValue,\n\tmapProtocolErrorCodeToAgentErrorV1,\n\ttype OperationSnapshotV1,\n\ttype OperationStatusV1,\n\ttype OperationTerminalV1,\n\tresolveCapabilityV1,\n\ttype SessionRevisionV1,\n\ttype SessionSnapshotV1,\n\ttoErrorEnvelopeV1,\n\tvalidateAgentCapabilityContract,\n\tvalidateAgentCapabilityContractV1,\n\tvalidateAgentProfileV1,\n\tvalidateArtifactRefV1,\n\tvalidateCommandAdmissionV1,\n\tvalidateCommandRequestV1,\n\tvalidateContractCompatibilityRequirementsV1,\n\tvalidateContractCompatibilityResultV1,\n\tvalidateErrorEnvelopeV1,\n\tvalidateEventEnvelope,\n\tvalidateEventEnvelopeV1,\n\tvalidateHostContextV1,\n\tvalidateOperationSnapshotV1,\n\tvalidateOperationTerminalV1,\n\tvalidateSessionRevisionV1,\n\tvalidateSessionSnapshotV1,\n} from \"./core/agent-capability-contract.ts\";\nexport {\n\tAgentSession,\n\ttype AgentSessionConfig,\n\ttype AgentSessionEvent,\n\ttype AgentSessionEventListener,\n\ttype ModelCycleResult,\n\ttype ParsedSkillBlock,\n\ttype PromptOptions,\n\tparseSkillBlock,\n\ttype SessionStats,\n} from \"./core/agent-session.ts\";\nexport { readStoredCredential } from \"./core/auth-storage.ts\";\n// Compaction\nexport {\n\ttype BranchPreparation,\n\ttype BranchSummaryResult,\n\ttype CollectEntriesResult,\n\ttype CompactionResult,\n\ttype CutPointResult,\n\tcalculateContextTokens,\n\tcollectEntriesForBranchSummary,\n\tcompact,\n\tDEFAULT_COMPACTION_SETTINGS,\n\testimateTokens,\n\ttype FileOperations,\n\tfindCutPoint,\n\tfindTurnStartIndex,\n\ttype GenerateBranchSummaryOptions,\n\tgenerateBranchSummary,\n\tgenerateSummary,\n\tgenerateSummaryWithUsage,\n\tgetLastAssistantUsage,\n\tprepareBranchEntries,\n\tserializeConversation,\n\tshouldCompact,\n} from \"./core/compaction/index.ts\";\nexport {\n\tcreateEmbeddedSdkBinding,\n\tcreateEmbeddedSdkBindingV1,\n\ttype EmbeddedAgentDefinitionV1,\n\ttype EmbeddedAgentInstanceV1,\n\ttype EmbeddedAgentResultV1,\n\ttype EmbeddedControllerLeaseV1,\n\ttype EmbeddedOperationHandleV1,\n\ttype EmbeddedSdkBindingV1,\n\ttype EmbeddedSdkEventListenerV1,\n\ttype EmbeddedSdkOptionsV1,\n\ttype EmbeddedSdkSubscriptionV1,\n\ttype EmbeddedSessionBindingV1,\n} from \"./core/embedded-sdk.ts\";\nexport { createEventBus, type EventBus, type EventBusController } from \"./core/event-bus.ts\";\nexport type { ExecOptions, ExecResult } from \"./core/exec.ts\";\n// Config paths\nexport {\n\ttype AgentCompositionAPI,\n\ttype AgentCompositionDefinitionBinding,\n\ttype AgentCompositionHostBinding,\n\ttype AgentCompositionLifecycleBinding,\n\ttype AgentCompositionLifecycleDispatcher,\n\ttype AgentCompositionLifecycleEvent,\n\ttype AgentCompositionLifecycleEventName,\n\ttype AgentCompositionLifecycleTerminalStatus,\n\tAgentCompositionRuntime,\n\ttype AgentCompositionRuntimeOptions,\n\ttype AgentCompositionScopedHostBinding,\n\ttype AgentContextCommitRequestV1,\n\ttype AgentContextCommitResultV1,\n\ttype AgentContextFacadeV1,\n\ttype AgentContextSnapshotV1,\n\ttype AgentControllerLease,\n\ttype AgentControllerRole,\n\ttype AgentDefinition,\n\ttype AgentDefinitionDeclaration,\n\ttype AgentExecutionContext,\n\ttype AgentHostPrimitivesFactory,\n\ttype AgentHostPrimitivesFactoryContext,\n\ttype AgentHostPrimitivesV1,\n\ttype AgentInstance,\n\ttype AgentInstanceResult,\n\ttype AgentInstanceSnapshot,\n\ttype AgentInstanceStatus,\n\ttype AgentOperationFacadeV1,\n\ttype AgentSessionFacadeV1,\n\ttype AgentTaskAdapter,\n\ttype AgentTaskAPI,\n\ttype AgentTaskCreateRequest,\n\ttype AgentTaskHandle,\n\ttype AgentTaskHost,\n\ttype AgentTaskResultV1,\n\ttype AgentTaskStatus,\n\ttype AgentTaskWaitResult,\n\tBOOTSTRAP_COMPACTION_PLUGIN_ID,\n\tBOOTSTRAP_LIFECYCLE_PLUGIN_ID,\n\tBOOTSTRAP_RETRY_PLUGIN_ID,\n\tBOOTSTRAP_TOOLS_PLUGIN_ID,\n\ttype BootstrapToolsOptions,\n\tCAPABILITY_CALL_EVENT_ID,\n\tCAPABILITY_CALL_EVENT_VERSION,\n\ttype CapabilityAPI,\n\ttype CapabilityCallEventDataV1,\n\ttype CapabilityCallEventNameV1,\n\ttype CapabilityCallStatusV1,\n\ttype CapabilityCommandContext,\n\ttype CapabilityCommandDefinition,\n\ttype CapabilityCommandLink,\n\ttype CapabilityCommandResult,\n\ttype CapabilityDirectoryAPI,\n\ttype CapabilityHandle,\n\ttype CapabilityPluginFactory,\n\ttype CapabilityPluginFactoryResult,\n\ttype CapabilityPluginHandle,\n\ttype CapabilityPluginInstance,\n\ttype CapabilityPluginSyncFactory,\n\ttype CapabilityPluginSyncInstance,\n\ttype CapabilityProviderHandler,\n\ttype CapabilityRuntime,\n\ttype CompactionCommitAppliedV1,\n\ttype CompactionCommitRequestV1,\n\ttype CompactionCommitResultV1,\n\ttype CompactionCommitRevisionConflictV1,\n\ttype CompactionPolicy,\n\ttype CompactionPolicyDecision,\n\ttype CompactionPolicyRequest,\n\ttype CompactionSummaryRequest,\n\ttype CompactionSummaryResult,\n\ttype ContextStrategy,\n\ttype ContributionAPI,\n\ttype ContributionChangeEvent,\n\ttype ContributionEntry,\n\ttype ContributionHandle,\n\ttype ContributionLifecycle,\n\ttype ContributionPoint,\n\ttype ContributionPointDefinition,\n\ttype CredentialAPI,\n\ttype CredentialResolution,\n\ttype CredentialResolveRequest,\n\tcreateAgentCompositionRuntime,\n\tcreateCapabilityRuntime,\n\tcreateDisposableRegistration,\n\tcreateEventEnvelope,\n\tDEFAULT_COMPACTION_POLICY_NAME,\n\tDEFAULT_RETRY_POLICY_NAME,\n\ttype DiagnosticsAPI,\n\ttype DiagnosticsSpan,\n\ttype DiagnosticsSpanEnd,\n\ttype DiagnosticsSpanSnapshot,\n\ttype DisposableRegistration,\n\tdiscoverCapabilityPluginManifests,\n\ttype EventEnvelope,\n\tEXPERIMENTAL_PUBLIC_API_VERSION,\n\ttype ExecutionFactsV1,\n\ttype ExecutionPhaseV1,\n\ttype HostCapabilities,\n\ttype HostMode,\n\tinstallBootstrapCompactionPolicy,\n\tinstallBootstrapLifecycle,\n\tinstallBootstrapRetryPolicy,\n\tinstallBootstrapTools,\n\tinstallSessionBootstrapTools,\n\ttype LifecycleAfterCommitHandler,\n\ttype LifecycleAPI,\n\ttype LifecycleDeliveryFailure,\n\ttype LifecycleDeliveryMode,\n\ttype LifecycleDeliveryOptions,\n\ttype LifecycleDeliveryReport,\n\ttype LifecycleDeliverySnapshot,\n\ttype LifecycleDispatchRequest,\n\ttype LifecycleDispatchResult,\n\ttype LifecycleEvent,\n\ttype LifecycleEventDefinition,\n\ttype LifecycleEventReference,\n\tLifecycleExecuteError,\n\ttype LifecycleExecuteHandler,\n\ttype LifecycleObserveHandler,\n\ttype LifecyclePhase,\n\ttype LifecycleRegistrationKind,\n\tLifecycleTransformError,\n\ttype LifecycleTransformHandler,\n\ttype LoggerAPI,\n\ttype LoggerLevel,\n\ttype LoggerRecord,\n\tloadCapabilityPlugin,\n\tloadCapabilityPluginFromManifest,\n\tloadCapabilityPluginSync,\n\tMODEL_RESPONSE_EVENT_ID,\n\tMODEL_RESPONSE_EVENT_VERSION,\n\tMODEL_STREAM_EVENT_ID,\n\tMODEL_STREAM_EVENT_VERSION,\n\ttype ModelResponseEventDataV1,\n\ttype ModelStreamEventDataV1,\n\ttype ModelStreamEventNameV1,\n\tOPERATION_CANCEL_EVENT_ID,\n\tOPERATION_CANCEL_EVENT_VERSION,\n\tOPERATION_END_EVENT_ID,\n\tOPERATION_END_EVENT_VERSION,\n\tOPERATION_START_EVENT_ID,\n\tOPERATION_START_EVENT_VERSION,\n\tOPERATION_STEP_EVENT_ID,\n\tOPERATION_STEP_EVENT_VERSION,\n\ttype OperationCancelEventDataV1,\n\ttype OperationEndEventDataV1,\n\ttype OperationExecutionContext,\n\ttype OperationHandle,\n\ttype OperationProgress,\n\ttype OperationStartEventDataV1,\n\ttype OperationStatus,\n\ttype OperationStepEventDataV1,\n\ttype OutputArtifactAPI,\n\ttype OutputArtifactChunk,\n\ttype OutputArtifactErrorCode,\n\ttype OutputArtifactPutInput,\n\ttype OutputArtifactRef,\n\tPLUGIN_DISPOSE_EVENT_ID,\n\tPLUGIN_DISPOSE_EVENT_VERSION,\n\tPLUGIN_READY_EVENT_ID,\n\tPLUGIN_READY_EVENT_VERSION,\n\ttype PluginAgentRole,\n\ttype PluginCapabilityDeclaration,\n\ttype PluginCapabilityRequirement,\n\ttype PluginConfig,\n\ttype PluginConfigValue,\n\ttype PluginDisposeEventDataV1,\n\ttype PluginManifest,\n\ttype PluginReadyEventDataV1,\n\ttype PolicyInvocationContextV1,\n\ttype ProviderHeaderTransform,\n\ttype ProviderHeaderTransformRequest,\n\tparseCapabilityPluginManifest,\n\ttype RetryPolicy,\n\ttype RetryPolicyDecision,\n\ttype RetryPolicyRequest,\n\ttype RetryScheduleV1,\n\ttype RuntimeInspectorAPI,\n\ttype RuntimeInspectorErrorSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryFailureSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryReportSnapshot,\n\ttype RuntimeInspectorSnapshot,\n\tresolvePluginCapabilityOrder,\n\tSESSION_COMPACTION_COMMIT_EVENT_ID,\n\tSESSION_COMPACTION_COMMIT_EVENT_VERSION,\n\tSESSION_CONTEXT_REPLACED_EVENT_ID,\n\tSESSION_CONTEXT_REPLACED_EVENT_VERSION,\n\tSESSION_RELOAD_EVENT_ID,\n\tSESSION_RELOAD_EVENT_VERSION,\n\ttype SessionAPI,\n\ttype SessionCompactionCommitEventDataV1,\n\ttype SessionContextReplacedEventDataV1,\n\ttype SessionEntryView,\n\ttype SessionExportArtifact,\n\ttype SessionExportRequest,\n\ttype SessionReloadEventDataV1,\n\ttype SkillDefinition,\n\ttype StateAPI,\n\ttype StateChange,\n\ttype StateEntry,\n\ttype StateSetOptions,\n\tSUMMARY_MODEL_INVOCATION_ERROR_CODES,\n\ttype SummaryModelFactsV1,\n\ttype SummaryModelInvocationRequestV1,\n\ttype SummaryModelInvocationResultV1,\n\ttype SummaryModelInvocationV1,\n\tTOOL_CALL_EVENT_ID,\n\tTOOL_CALL_EVENT_VERSION,\n\tTOOL_COMMIT_EVENT_ID,\n\tTOOL_COMMIT_EVENT_VERSION,\n\tTOOL_EXECUTE_EVENT_ID,\n\tTOOL_EXECUTE_EVENT_VERSION,\n\tTOOL_RESULT_EVENT_ID,\n\tTOOL_RESULT_EVENT_VERSION,\n\tTOOL_RESULT_RAW_EVENT_ID,\n\tTOOL_RESULT_RAW_EVENT_VERSION,\n\tTOOL_RESULT_TRANSFORM_EVENT_ID,\n\tTOOL_RESULT_TRANSFORM_EVENT_VERSION,\n\ttype ToolCallEventDataV1,\n\ttype ToolCommitEventDataV1,\n\ttype ToolExecuteEventDataV1,\n\ttype ToolResultEventDataV1,\n\ttype ToolResultRawEventDataV1,\n\ttype ToolResultTransformEventDataV1,\n\tvalidateCapabilityCallEventDataV1,\n\tvalidateExecutionFactsV1,\n\tvalidateModelResponseEventDataV1,\n\tvalidateModelStreamEventDataV1,\n\tvalidateOperationCancelEventDataV1,\n\tvalidateOperationEndEventDataV1,\n\tvalidateOperationStartEventDataV1,\n\tvalidateOperationStepEventDataV1,\n\tvalidatePluginDisposeEventDataV1,\n\tvalidatePluginReadyEventDataV1,\n\tvalidateRetryScheduleV1,\n\tvalidateSessionCompactionCommitEventDataV1,\n\tvalidateSessionContextReplacedEventDataV1,\n\tvalidateSessionReloadEventDataV1,\n\tvalidateToolCallEventDataV1,\n\tvalidateToolCommitEventDataV1,\n\tvalidateToolExecuteEventDataV1,\n\tvalidateToolResultEventDataV1,\n\tvalidateToolResultRawEventDataV1,\n\tvalidateToolResultTransformEventDataV1,\n} from \"./core/extensions/index.ts\";\nexport type { ContextUsage } from \"./core/extensions/public-api.ts\";\nexport { detachedSessionSnapshot } from \"./core/extensions/public-api.ts\";\n// Stable session facade v1 type (B-S2b③-S2): named so the createStableAgentSession\n// result is nameable from the package root. The package-root `exports` subpath set\n// is unchanged (B-S2a gate holds; the facade is not promoted into an exports subpath).\nexport type { CodingAgentFacadeV1 } from \"./core/facade/coding-agent-facade.ts\";\n// Stable runtime facade v1 type (D-063): named so the createStableAgentSessionRuntime\n// result is nameable from the package root. The package-root `exports` subpath set\n// is unchanged (B-S2a gate holds; the facade is not promoted into an exports subpath).\nexport type { CodingAgentRuntimeFacadeV1 } from \"./core/facade/coding-agent-runtime-facade.ts\";\n// Footer data provider (git branch + extension statuses - data not otherwise available to extensions)\nexport type { ReadonlyFooterDataProvider } from \"./core/footer-data-provider.ts\";\nexport type { InputSource } from \"./core/input-source.ts\";\nexport { convertToLlm } from \"./core/messages.ts\";\nexport {\n\tModelRegistry,\n\ttype ProviderConfigInput,\n} from \"./core/model-registry.ts\";\nexport {\n\ttype ModelScopeDiagnostic,\n\ttype ResolveCliModelResult,\n\ttype ResolveModelScopeResult,\n\tresolveCliModel,\n\tresolveModelScopeWithDiagnostics,\n\ttype ScopedModel,\n} from \"./core/model-resolver.ts\";\nexport {\n\ttype CreateModelRuntimeOptions,\n\tCredentialSynchronizationError,\n\ttype CredentialSynchronizationOperation,\n\tModelRuntime,\n\ttype ModelRuntimeAuthOverrides,\n} from \"./core/model-runtime.ts\";\nexport type {\n\tPackageManager,\n\tPathMetadata,\n\tProgressCallback,\n\tProgressEvent,\n\tResolvedPaths,\n\tResolvedResource,\n} from \"./core/package-manager.ts\";\nexport { DefaultPackageManager } from \"./core/package-manager.ts\";\nexport type { ResourceCollision, ResourceDiagnostic, ResourceLoader } from \"./core/resource-loader.ts\";\nexport { DefaultResourceLoader, loadProjectContextFiles } from \"./core/resource-loader.ts\";\n// SDK for programmatic usage\nexport {\n\tAgentSessionRuntime,\n\ttype AgentSessionRuntimeDiagnostic,\n\ttype AgentSessionServices,\n\ttype CreateAgentSessionFromServicesOptions,\n\ttype CreateAgentSessionOptions,\n\ttype CreateAgentSessionResult,\n\ttype CreateAgentSessionRuntimeFactory,\n\ttype CreateAgentSessionRuntimeResult,\n\ttype CreateAgentSessionServicesOptions,\n\ttype CreateStableAgentSessionResult,\n\ttype CreateStableAgentSessionRuntimeResult,\n\t// Factory\n\tcreateAgentSession,\n\tcreateAgentSessionFromServices,\n\tcreateAgentSessionRuntime,\n\tcreateAgentSessionServices,\n\tcreateBashTool,\n\t// Tool factories (for custom cwd)\n\tcreateCodingTools,\n\tcreateEditTool,\n\tcreateFindTool,\n\tcreateGrepTool,\n\tcreateLsTool,\n\tcreatePowerShellTool,\n\tcreateReadOnlyTools,\n\tcreateReadTool,\n\t// Stable session entry (B-S2b③-S2): same assembly as createAgentSession,\n\t// returned as the stable facade pair. The package-root `exports` subpath set\n\t// is unchanged (B-S2a gate holds; this is a named export, not a subpath).\n\tcreateStableAgentSession,\n\t// Stable runtime entry (D-063): same assembly as createAgentSessionRuntime,\n\t// returned as the stable runtime facade (no bare runtime/session). Same\n\t// package-root `exports` note as the session entry above.\n\tcreateStableAgentSessionRuntime,\n\tcreateWriteTool,\n\ttype PromptTemplate,\n} from \"./core/sdk.ts\";\nexport {\n\ttype BranchSummaryEntry,\n\tbuildContextEntries,\n\tbuildSessionContext,\n\ttype CompactionEntry,\n\tCURRENT_SESSION_VERSION,\n\ttype CustomEntry,\n\ttype CustomMessageEntry,\n\ttype FileEntry,\n\tgetLatestCompactionEntry,\n\ttype ModelChangeEntry,\n\tmigrateSessionEntries,\n\ttype NewSessionOptions,\n\tparseSessionEntries,\n\ttype SessionContext,\n\ttype SessionEntry,\n\ttype SessionEntryBase,\n\ttype SessionHeader,\n\ttype SessionInfo,\n\ttype SessionInfoEntry,\n\tSessionManager,\n\ttype SessionMessageEntry,\n\ttype SessionTreeNode,\n\tsessionEntryToContextMessages,\n\ttype ThinkingLevelChangeEntry,\n} from \"./core/session-manager.ts\";\nexport {\n\tFileSessionStorageProvider,\n\tSessionHeaderScanLimitError,\n\ttype SessionStorageProvider,\n\ttype SessionWriteGuardV1,\n} from \"./core/session-storage.ts\";\nexport {\n\ttype CompactionSettings,\n\ttype FullscreenExitOutput,\n\ttype ImageSettings,\n\ttype PackageSource,\n\ttype RetrySettings,\n\tSettingsManager,\n\ttype SettingsManagerCreateOptions,\n\ttype TuiMode,\n} from \"./core/settings-manager.ts\";\n// Skills\nexport {\n\tformatSkillsForPrompt,\n\ttype LoadSkillsFromDirOptions,\n\ttype LoadSkillsResult,\n\tloadSkills,\n\tloadSkillsFromDir,\n\ttype Skill,\n\ttype SkillFrontmatter,\n} from \"./core/skills.ts\";\nexport type { SlashCommandInfo, SlashCommandSource } from \"./core/slash-commands.ts\";\nexport type { SourceInfo } from \"./core/source-info.ts\";\nexport { createSyntheticSourceInfo } from \"./core/source-info.ts\";\nexport type { BuildSystemPromptOptions } from \"./core/system-prompt.ts\";\nexport { type EditDiffResult, generateDiffString, generateUnifiedPatch } from \"./core/tools/edit-diff.ts\";\n// Tools\nexport {\n\ttype BashOperations,\n\ttype BashSpawnContext,\n\ttype BashSpawnHook,\n\ttype BashToolDetails,\n\ttype BashToolInput,\n\ttype BashToolOptions,\n\tcreateBashToolDefinition,\n\tcreateEditToolDefinition,\n\tcreateFindToolDefinition,\n\tcreateGrepToolDefinition,\n\tcreateLocalBashOperations,\n\tcreateLocalPowerShellOperations,\n\tcreateLsToolDefinition,\n\tcreatePowerShellToolDefinition,\n\tcreateReadToolDefinition,\n\tcreateWriteToolDefinition,\n\tDEFAULT_MAX_BYTES,\n\tDEFAULT_MAX_LINES,\n\ttype EditOperations,\n\ttype EditToolDetails,\n\ttype EditToolInput,\n\ttype EditToolOptions,\n\ttype FindOperations,\n\ttype FindToolDetails,\n\ttype FindToolInput,\n\ttype FindToolOptions,\n\tformatSize,\n\ttype GrepOperations,\n\ttype GrepToolDetails,\n\ttype GrepToolInput,\n\ttype GrepToolOptions,\n\ttype LsOperations,\n\ttype LsToolDetails,\n\ttype LsToolInput,\n\ttype LsToolOptions,\n\ttype PowerShellOperations,\n\ttype PowerShellSpawnContext,\n\ttype PowerShellSpawnHook,\n\ttype PowerShellToolDetails,\n\ttype PowerShellToolInput,\n\ttype PowerShellToolOptions,\n\ttype ReadOperations,\n\ttype ReadToolDetails,\n\ttype ReadToolInput,\n\ttype ReadToolOptions,\n\ttype ToolsOptions,\n\ttype TruncationOptions,\n\ttype TruncationResult,\n\ttruncateHead,\n\ttruncateLine,\n\ttruncateTail,\n\ttype WriteOperations,\n\ttype WriteToolInput,\n\ttype WriteToolOptions,\n\twithFileMutationQueue,\n} from \"./core/tools/index.ts\";\nexport type {\n\tToolDefinition,\n\tToolExecuteContext,\n\tToolInfo,\n\tToolRenderContext,\n\tToolRenderResultOptions,\n} from \"./core/tools/tool-definition.ts\";\n// Tool definition surface (capability tools contract)\nexport { defineTool } from \"./core/tools/tool-definition.ts\";\n// Durable service (7.4b): in-memory persistence with optional file backend\nexport {\n\tcreateDurableService,\n\tcreateFileDurableStoreBackend,\n\ttype DurableArtifactRecordV1,\n\ttype DurableOperationRecordV1,\n\ttype DurableReplayDiagnosticsV1,\n\ttype DurableServiceErrorCodeV1,\n\tDurableServiceErrorV1,\n\ttype DurableServiceOptionsV1,\n\ttype DurableServiceV1,\n\ttype DurableSessionRecordV1,\n\ttype DurableSnapshotV1,\n\ttype DurableStoreBackend,\n\ttype DurableStoreLoadResultV1,\n\ttype DurableStoreOperationV1,\n\ttype DurableWriterClaimV1,\n\ttype DurableWriterRecoveryV1,\n\tdurableLogPath,\n} from \"./durable/durable-service.ts\";\n// Agent retry scheduler (2A.4b): cancellable, duplicate-suppressing retries\nexport {\n\ttype AgentRetryAttemptV1,\n\ttype AgentRetryOutcomeV1,\n\ttype AgentRetryPolicyV1,\n\ttype AgentRetrySchedulerV1,\n\tcreateAgentRetryScheduler,\n} from \"./host/agent-retry-scheduler.ts\";\n// Auto compaction executor (2A.3a): threshold-triggered with cancel/re-entrancy\nexport {\n\ttype AutoCompactionExecutorV1,\n\ttype AutoCompactionOutcomeV1,\n\ttype AutoCompactionPolicyV1,\n\tcreateAutoCompactionExecutor,\n} from \"./host/auto-compaction.ts\";\n// Branch migration and reload transaction (2A.5a/2A.5b)\nexport {\n\ttype BranchMigrationOutcomeV1,\n\ttype BranchStateEntryV1,\n\ttype BranchStateMigrationV1,\n\tcreateBranchStateMigration,\n\tcreateReloadTransaction,\n\ttype ReloadTransactionV1,\n} from \"./host/branch-reload.ts\";\n// Channel adapter (3.5b): print/JSON stdout-stderr semantics\nexport {\n\ttype ChannelAdapterV1,\n\ttype ChannelFormatV1,\n\tcreateStdioChannelAdapter,\n} from \"./host/channel-adapter.ts\";\n// Host checkpoint/commit (2A.1): revision-guarded idempotent two-phase writes\nexport {\n\tcreateHostCheckpointCoordinator,\n\ttype HostCheckpointCoordinatorV1,\n\ttype HostCommitOutcomeV1,\n\ttype HostStagedWriteV1,\n\ttype HostStageResultV1,\n} from \"./host/checkpoint-commit.ts\";\n// Manual compaction executor (2A.2): plugin-driven timing over checkpoint primitives\nexport {\n\tcreateManualCompactionExecutor,\n\ttype ManualCompactionExecutorV1,\n\ttype ManualCompactionOutcomeV1,\n\ttype ManualCompactionStateV1,\n} from \"./host/manual-compaction.ts\";\n// Host output projection (2.6b): traced channel records with structured errors\nexport {\n\tcreateHostOutputProjector,\n\ttype HostEventV1,\n\ttype HostOutputChannelV1,\n\ttype HostOutputProjectorV1,\n\ttype HostOutputRecordV1,\n\ttype HostOutputSeverityV1,\n} from \"./host/output-projection.ts\";\n// Output reducer (3.5a): deterministic fold/unfold over projected records\nexport {\n\tcreateOutputReducer,\n\ttype FoldedOutputGroupV1,\n\ttype FoldedOutputV1,\n\ttype OutputReducerV1,\n} from \"./host/output-reducer.ts\";\n// Host Output Serializer (3.5 supplement): per-surface allowlist projection\nexport {\n\tcreateHostOutputSerializer,\n\ttype HostOutputProjectionV1,\n\ttype HostOutputSerializerContextV1,\n\ttype HostOutputSerializerV1,\n\ttype HostOutputSurfaceV1,\n\ttype OutputArtifactRefV1,\n} from \"./host/output-serializer.ts\";\n// Provider overflow recovery (2A.3b): classification and shrink-and-commit entry\nexport {\n\tcreateOverflowRecovery,\n\ttype OverflowRecoveryOutcomeV1,\n\ttype OverflowRecoveryV1,\n\ttype ProviderErrorClassificationV1,\n\ttype ProviderErrorClassV1,\n} from \"./host/overflow-recovery.ts\";\n// Summary retry (2A.4a): traced attempts, exponential backoff, terminal states\nexport {\n\tcreateSummaryRetryExecutor,\n\ttype SummaryAttemptRecordV1,\n\ttype SummaryRetryExecutorV1,\n\ttype SummaryRetryOutcomeV1,\n\ttype SummaryRetryPolicyV1,\n} from \"./host/summary-retry.ts\";\n// Main entry point\nexport { type MainOptions, main } from \"./main.ts\";\n// Migration tool (7.4a): chained version migration with rollback evidence\nexport {\n\tcreateMigrationTool,\n\ttype MigrationEvidenceStepV1,\n\ttype MigrationOutcomeV1,\n\ttype MigrationStepV1,\n\ttype MigrationToolV1,\n} from \"./migration/migration-tool.ts\";\n// Run modes for programmatic SDK usage\nexport {\n\tInteractiveMode,\n\ttype InteractiveModeOptions,\n\ttype JsonAgentSessionEvent,\n\ttype ModelInfo,\n\ttype PrintModeOptions,\n\tRpcClient,\n\ttype RpcClientOptions,\n\ttype RpcCommand,\n\ttype RpcEventListener,\n\ttype RpcExtensionUIRequest,\n\ttype RpcExtensionUIResponse,\n\ttype RpcModeOptions,\n\ttype RpcResponse,\n\ttype RpcSessionState,\n\trunPrintMode,\n\trunRpcMode,\n} from \"./modes/index.ts\";\n// UI components for extensions\nexport {\n\tArminComponent,\n\tAssistantMessageComponent,\n\tBashExecutionComponent,\n\tBorderedLoader,\n\tBranchSummaryMessageComponent,\n\tCompactionSummaryMessageComponent,\n\tCustomEditor,\n\tCustomMessageComponent,\n\tDialogEditorComponent,\n\tDialogInputComponent,\n\tDialogSelectorComponent,\n\tDynamicBorder,\n\tFooterComponent,\n\tkeyHint,\n\tkeyText,\n\tLoginDialogComponent,\n\tModelSelectorComponent,\n\tOAuthSelectorComponent,\n\tPluginManagerEntryComponent,\n\ttype PluginManagerEntryOpenContextV1,\n\ttype PluginManagerEntryOpenResultV1,\n\ttype PluginManagerEntryOptionsV1,\n\ttype RenderDiffOptions,\n\trawKeyHint,\n\trenderDiff,\n\tSessionSelectorComponent,\n\ttype SettingsCallbacks,\n\ttype SettingsConfig,\n\tSettingsSelectorComponent,\n\tShowImagesSelectorComponent,\n\tSkillInvocationMessageComponent,\n\tThemeSelectorComponent,\n\tThinkingSelectorComponent,\n\tToolExecutionComponent,\n\ttype ToolExecutionOptions,\n\tTreeSelectorComponent,\n\ttruncateToVisualLines,\n\tUserMessageComponent,\n\tUserMessageSelectorComponent,\n\ttype VisualTruncateResult,\n} from \"./modes/interactive/components/index.ts\";\n// Theme utilities for custom tools and extensions\nexport {\n\tgetLanguageFromPath,\n\tgetMarkdownTheme,\n\tgetSelectListTheme,\n\tgetSettingsListTheme,\n\thighlightCode,\n\tinitTheme,\n\tTheme,\n\ttype ThemeColor,\n} from \"./modes/interactive/theme/theme.ts\";\nexport * as PluginEcosystemV1 from \"./plugins/ecosystem/index.ts\";\n// Host facts for the ecosystem pluginHost options (B-S2b: the convergence\n// slice names the previously unnameable type for cross-package consumers).\nexport type { HostFactsV1 } from \"./plugins/ecosystem/types.ts\";\n// Integrity adapter (7.3): seal/verify manifests for external policy flows\nexport {\n\tcreateIntegrityAdapter,\n\ttype IntegrityAdapterV1,\n\ttype ManifestExpectationV1,\n\ttype ManifestVerdictV1,\n\ttype SealedManifestV1,\n} from \"./plugins/integrity-adapter.ts\";\n// MCP HTTP transport (4.3): observable retry and idempotent calls\nexport {\n\tcreateMcpHttpTransport,\n\ttype McpHttpTransportEventV1,\n\ttype McpHttpTransportOptionsV1,\n\ttype McpHttpTransportV1,\n\ttype McpRequestOptions,\n} from \"./plugins/mcp-http.ts\";\n// Plugin host (7.1): owned lifecycle, reverse dispose, error aggregation\nexport {\n\tcreatePluginHost,\n\ttype HostedPluginV1,\n\ttype PluginHostErrorV1,\n\ttype PluginHostResourceV1,\n\ttype PluginHostStateV1,\n\ttype PluginHostV1,\n} from \"./plugins/plugin-host.ts\";\n// Plugin supervisor (7.2): heartbeat, bounded restart, backpressure\nexport {\n\tcreatePluginSupervisor,\n\ttype PluginHealthV1,\n\ttype PluginSupervisorV1,\n\ttype SupervisorEntryV1,\n\ttype SupervisorEventV1,\n\ttype SupervisorPolicyV1,\n} from \"./plugins/plugin-supervisor.ts\";\n// Child agent lifecycle adapter (2.2b)\nexport {\n\ttype ChildAgentFacadeV1,\n\ttype ChildAgentResultRefV1,\n\ttype ChildAgentTurnV1,\n\tcreateChildAgentFacade,\n} from \"./profile/child-facade.ts\";\n// Profile dependency wiring (2.5a): pre-session capability resolution\nexport {\n\ttype AvailableCapabilityV1,\n\ttype MissingDependencyV1,\n\ttype PluginWiringResultV1,\n\ttype ProfileDependencyWiringV1,\n\twireProfileDependencies,\n} from \"./profile/dependency-wiring.ts\";\n// Domain recovery (5.2a/5.2b): branch-scoped plan recovery and restart replay\nexport {\n\tbuildRestartReport,\n\ttype DomainRestartRecordV1,\n\ttype DomainRestartReportV1,\n\ttype PlanBranchRecoveryEntryV1,\n\ttype PlanBranchRecoveryReportV1,\n\trecoverPlansForBranch,\n} from \"./profile/domain-recovery.ts\";\n// First-batch role vertical slices (2.2c)\nexport { createFirstBatchRoleSlices, FIRST_BATCH_ROLES, type FirstBatchRoleV1 } from \"./profile/first-roles.ts\";\n// Goal plugin (2.3b): Goal schema, evidence, and recovery over the transition store\nexport {\n\tcreateGoalPlugin,\n\ttype GoalPluginV1,\n\ttype GoalStatusV1,\n\ttype GoalV1,\n} from \"./profile/goal-plugin.ts\";\n// Profile identity (2.0a): profileId/version, manifest digest, host compatibility\nexport {\n\tbuildProfileIdentityV1,\n\ttype ProfileIdentityV1,\n\tprofileIdentitiesCompatible,\n\ttype ResolvedPluginManifestV1,\n\tstableJsonDigest,\n} from \"./profile/identity.ts\";\n// Profile lock (2.0b): pre-creation lock, reopen/reload drift detection\nexport {\n\tcreateProfileLock,\n\ttype ProfileLockReplaceResultV1,\n\ttype ProfileLockV1,\n\ttype ProfileLockVerificationV1,\n\treplaceProfileLock,\n\tverifyProfileLock,\n} from \"./profile/lock.ts\";\n// Plan plugin (2.3c): branch/revision-bound plan semantics over the transition store\nexport {\n\tcreatePlanPlugin,\n\ttype PlanPluginV1,\n\ttype PlanStatusV1,\n\ttype PlanStepV1,\n\ttype PlanV1,\n} from \"./profile/plan-plugin.ts\";\nexport {\n\ttype BuiltinPluginManifestOverridesV1,\n\ttype BuiltinPluginProfileIdV1,\n\ttype BuiltinPluginProfileResolutionV1,\n\ttype BuiltinPluginProfileV1,\n\tlistBuiltinPluginManifestsV1,\n\tlistBuiltinPluginProfilesV1,\n\tresolveBuiltinPluginProfileV1,\n} from \"./profile/plugin-profiles.ts\";\n// Policy manifest (2.7e): declarative policies with external selection\nexport {\n\tcreatePolicyManifestBuilder,\n\ttype PolicyChangeRecordV1,\n\ttype PolicyDeclarationV1,\n\ttype PolicyKindV1,\n\ttype PolicyManifestBuilderV1,\n\ttype PolicyManifestV1,\n} from \"./profile/policy-manifest.ts\";\n// Profile assembly (2.5b): verified-plugin assembly, version lock, replacement\nexport {\n\tassembleProfile,\n\ttype PluginReplacementRecordV1,\n\ttype ProfileAssemblyResultV1,\n\ttype ProfileAssemblyV1,\n\ttype ProfileReplacementResultV1,\n\treplaceProfilePlugin,\n\ttype VerifiedToolPluginV1,\n} from \"./profile/profile-assembly.ts\";\n// Profile migration policy (2.7b): explicit reopen migration over the 2.0b lock\nexport {\n\tcreateProfileMigrationPolicy,\n\ttype ProfileMigrationPlanV1,\n\ttype ProfileMigrationPolicyV1,\n\ttype ProfileMigrationResultV1,\n} from \"./profile/profile-migration.ts\";\n// Profile registry (2.7a): multi-source discovery, upgrades, deprecation\nexport {\n\tcreateProfileRegistry,\n\ttype ProfileRegistryV1,\n\ttype ProfileResolutionV1,\n\ttype ProfileVersionRangeV1,\n\ttype RegistryProfileEntryV1,\n\ttype RegistrySourceV1,\n} from \"./profile/profile-registry.ts\";\n// Role assembly (2.2d): catalog + runner binding mount with dependency diagnostics\nexport {\n\tassembleRoles,\n\ttype MountedRoleSummaryV1,\n\ttype RegisteredRoleMetaV1,\n\ttype RoleAssemblyDiagnosticsV1,\n\ttype RoleAssemblyV1,\n} from \"./profile/role-assembly.ts\";\n// Role metadata catalog (2.2a)\nexport {\n\tcreateRoleCatalog,\n\ttype RoleCapabilityDependencyV1,\n\ttype RoleCatalogV1,\n\ttype RoleIOSchemaRefV1,\n\ttype RoleMetadataV1,\n\ttype RoleWritableScopeV1,\n\tvalidateRoleMetadataV1,\n} from \"./profile/role-catalog.ts\";\n// Role orchestrator (2.2e): root-side concurrent orchestration with bounded aggregation\nexport {\n\tcreateRoleOrchestrator,\n\tDEFAULT_ROLE_AGGREGATION_LIMIT_BYTES,\n\ttype RoleCompletionCheckV1,\n\ttype RoleCompletionEvaluatorV1,\n\ttype RoleOrchestrationEntryV1,\n\ttype RoleOrchestrationResultV1,\n\ttype RoleOrchestrationStatusV1,\n\ttype RoleOrchestratorOptionsV1,\n\ttype RoleOrchestratorRunRequestV1,\n\ttype RoleOrchestratorV1,\n} from \"./profile/role-orchestrator.ts\";\n// Role runner binding (2.2d): RoleMetadataV1 → child AgentDefinition\nexport {\n\tcreateRoleRunner,\n\ttype RoleCapabilityCheckV1,\n\ttype RoleMissingCapabilityV1,\n\ttype RoleRunCallbackV1,\n\ttype RoleRunnerInputV1,\n\ttype RoleRunnerOptionsV1,\n\ttype RoleRunnerResultV1,\n\ttype RoleRunnerV1,\n\ttype RoleRunResolverV1,\n\trunFirstBatchRole,\n} from \"./profile/role-runner.ts\";\n// Root-agent-controller facade adapter (2.1a)\nexport {\n\tcreateRootAgentFacade,\n\ttype RootAgentFacadeTurnResultV1,\n\ttype RootAgentFacadeV1,\n} from \"./profile/root-facade.ts\";\n// Skill/MCP discovery wiring (4.4): pre-session capability conflicts and wiring\nexport {\n\tcreateSkillDiscoveryWiring,\n\ttype DiscoveredItemV1,\n\ttype DiscoverySourceKindV1,\n\ttype DiscoveryVersionConflictV1,\n\ttype DiscoveryWiringV1,\n} from \"./profile/skill-discovery-wiring.ts\";\n// Generic transition store (2.3a): Goal/Plan/Todo contract base\nexport {\n\tcreateTransitionStore,\n\ttype TransitionEvidenceRefV1,\n\ttype TransitionInputV1,\n\ttype TransitionRecordV1,\n\ttype TransitionResultV1,\n\ttype TransitionStoreV1,\n} from \"./profile/state-store.ts\";\n// Todo plugin (2.3d): content lifecycle with cancel/restart over the transition store\nexport {\n\tcreateTodoPlugin,\n\ttype TodoPluginV1,\n\ttype TodoStatusV1,\n\ttype TodoV1,\n} from \"./profile/todo-plugin.ts\";\nexport { isBuiltinSuiteId } from \"./profiles/builtin-suites.ts\";\n// Resolved agent profile (D-047 S4a): immutable per-session aggregate view\n// over the resolved suite profile — a projection of existing authoritative\n// sources, not a new generation mechanism; AgentSession stays suite-unaware.\nexport {\n\tbuildResolvedAgentProfileV1,\n\ttype PluginProfileResolutionSummaryV1,\n\ttype ResolvedAgentProfileV1,\n\ttype ResolvedProfileDiagnosticV1,\n} from \"./profiles/resolved-agent-profile.ts\";\n// Suite (方案) lifecycle public API (方案系统设计.md §9): the same deterministic\n// operations the CLI one-shots use, exported so first-party and third-party\n// plugins can manage suite workspaces without hidden channels.\nexport {\n\tclearDanglingSuiteSettings,\n\tcreateSuite,\n\tdeleteSuite,\n\tfindSuiteSessionRefs,\n\tresetSuite,\n\tSUITE_DELETE_CONFIRM_TOKEN,\n\ttype SuiteCreateOptions,\n\ttype SuiteCreateResult,\n\ttype SuiteDeleteOptions,\n\ttype SuiteDeleteResult,\n\tSuiteLifecycleError,\n\ttype SuiteLifecycleOperation,\n\ttype SuiteResetPlan,\n\ttype SuiteSessionRef,\n\ttype SuiteSettingsCleanup,\n} from \"./profiles/suite-lifecycle.ts\";\nexport {\n\tDEFAULT_SUITE_ID,\n\tlistSuiteIds,\n\tSuiteResolutionError,\n} from \"./profiles/suite-loader.ts\";\n// Remote server assembly (1B.7h): coding-agent sessions behind the public server boundary\nexport {\n\tassembleCodingAgentServer,\n\ttype CodingAgentServerAssemblyOptions,\n\ttype CodingAgentServerModels,\n\tCodingAgentServerService,\n\ttype CodingAgentServerSessionSource,\n\ttype CodingAgentSessionDescriptor,\n\tCodingAgentSessionRuntime,\n\tprojectSessionTranscript,\n} from \"./remote/server-assembly.ts\";\n// Remote restart recovery (E3): production session source and programmatic server entry\nexport {\n\ttype CodingAgentRemoteServerHandle,\n\ttype StartCodingAgentRemoteServerOptions,\n\tstartCodingAgentRemoteServer,\n} from \"./remote/server-entry.ts\";\nexport {\n\tcreateFileSessionSource,\n\ttype FileSessionSourceOptions,\n} from \"./remote/session-source.ts\";\n// Session share contract (2.6c): revocable read-only shares with explicit transports\nexport {\n\tcreateSessionShare,\n\ttype SessionShareManagerV1,\n\ttype ShareArtifactInputV1,\n\ttype ShareContractV1,\n\ttype ShareResolveRequestV1,\n\ttype ShareResolveResultV1,\n\ttype ShareScopeV1,\n\ttype ShareTransportV1,\n} from \"./share/session-share.ts\";\n// Share viewer (2.6d): escaped HTML + JSON views with explicit failure states\nexport { createShareViewer, type ShareViewerV1, type ShareViewV1 } from \"./share/share-viewer.ts\";\n// Mock AI server (3.1): fail-closed scenario fixtures with fault injection\nexport {\n\tcreateMockAiServer,\n\tMockAiError,\n\ttype MockAiFaultV1,\n\ttype MockAiFixtureV1,\n\ttype MockAiPartV1,\n\ttype MockAiRequestV1,\n\ttype MockAiResponseV1,\n\ttype MockAiServerV1,\n\ttype MockAiStepV1,\n} from \"./testing/mock-ai-server.ts\";\n// Clipboard utilities\nexport { copyToClipboard } from \"./utils/clipboard.ts\";\nexport { parseFrontmatter, stripFrontmatter } from \"./utils/frontmatter.ts\";\nexport { convertToPng } from \"./utils/image-convert.ts\";\nexport { formatDimensionNote, type ResizedImage, resizeImage } from \"./utils/image-resize.ts\";\nexport { detectSupportedImageMimeTypeFromFile } from \"./utils/mime.ts\";\n// Shell utilities\nexport { getPowerShellConfig, getShellConfig, killProcessTree, sanitizeBinaryOutput } from \"./utils/shell.ts\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAG1B,yEAAyE;AACzE,0CAA0C;AAC1C,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAC7D,yEAA+D;AAC/D,sDAAsD;AACtD,8EAA8E;AAC9E,6EAA6E;AAC7E,4EAA4E;AAC5E,mEAAmE;AACnE,OAAO,EACN,uBAAuB,GAIvB,MAAM,yBAAyB,CAAC;AACjC,6EAA6E;AAC7E,OAAO,EAGN,mBAAmB,GACnB,MAAM,+BAA+B,CAAC;AACvC,4EAA4E;AAC5E,OAAO,EAIN,iBAAiB,EACjB,gBAAgB,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAa,SAAS,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,iBAAiB,MA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AACvD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAqB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EAAE,oCAAoC,EAAE,MAAM,iBAAiB,CAAC;AACvE,kBAAkB;AAClB,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["// Core session management\n\nexport type { AgentToolResult, AgentToolUpdateCallback, ToolExecutionMode } from \"@agent-forge/agent-core\";\n// First-party plugin ecosystem (opt-in namespaces; domain plugins do not\n// alter the default coding tool surface).\nexport * as PluginContractsV1 from \"@agent-forge/plugin-sdk\";\n// Memory capability storage contract (扩展位盘点 A1/A2): injectable\n// store/ledger factories and vector components behind\n// `CreateAgentSessionOptions.memoryCapability.storage`. Authoritative home is\n// @agent-forge/plugin-sdk since the S4-4 split (the memory capability itself\n// moved to the @agent-forge/plugin-memory package); re-exported here so the\n// memory-backend example and existing host imports keep resolving.\nexport {\n\tMEMORY_RECALL_TOOL_NAME,\n\ttype MemoryCapabilityOverrideV1,\n\ttype MemoryStorageComponentsV1,\n\ttype MemoryVectorComponentsOverrideV1,\n} from \"@agent-forge/plugin-sdk\";\n// Artifact store (2.6a): session export artifacts with bounded reads and EOL\nexport {\n\ttype ArtifactStatV1,\n\ttype ArtifactStoreV1,\n\tcreateArtifactStore,\n} from \"./artifacts/artifact-store.ts\";\n// Paged artifact reading (3.5c): ref-based expansion with explicit failures\nexport {\n\ttype ArtifactPageDirectoryEntryV1,\n\ttype ArtifactPagePlanV1,\n\ttype ArtifactPageReadV1,\n\tplanArtifactPages,\n\treadArtifactPage,\n} from \"./artifacts/paged-read.ts\";\nexport { type Args, parseArgs } from \"./cli/args.ts\";\nexport * as PluginManagerUiV1 from \"./cli/plugin-manager-controller.ts\";\n// Host-owned plugin management surfaces. They expose bounded DTOs only; the\n// registry, installer, package paths and credentials remain behind the host.\nexport * as PluginUiV1 from \"./cli/plugin-selection-controller.ts\";\nexport {\n\tCONFIG_DIR_NAME,\n\tgetAgentDir,\n\tgetDocsPath,\n\tgetExamplesPath,\n\tgetPackageDir,\n\tgetReadmePath,\n\tgetSessionsDir,\n\tVERSION,\n} from \"./config.ts\";\nexport {\n\tAGENT_CAPABILITY_CONTRACT_ID,\n\tAGENT_CAPABILITY_CONTRACT_VERSION,\n\tAGENT_ERROR_CODES_V1,\n\ttype AgentCapabilityContractInputV1,\n\ttype AgentCapabilityContractV1,\n\ttype AgentCapabilityContractVersion,\n\ttype AgentDefinitionSnapshotV1,\n\ttype AgentErrorCodeV1,\n\ttype AgentInstanceSnapshotV1,\n\ttype AgentProfileV1,\n\ttype ArtifactRefV1,\n\tassertCapabilitySupportedV1,\n\tbuildAgentCapabilityContract,\n\tbuildAgentCapabilityContractV1,\n\tbuildAgentDefinitionSnapshotV1,\n\tbuildAgentInstanceSnapshotV1,\n\tbuildAgentProfileV1,\n\tbuildArtifactRefV1,\n\tbuildCanonicalContractFixtureVectorsV1,\n\tbuildCanonicalContractVectorsV1,\n\tbuildCommandRequestV1,\n\tbuildContractCompatibilityRequirementsV1,\n\tbuildErrorEnvelopeV1,\n\tbuildEventEnvelope,\n\tbuildEventEnvelopeV1,\n\tbuildHostContextV1,\n\tbuildOperationSnapshotV1,\n\tbuildOperationTerminalV1,\n\tbuildSessionRevisionV1,\n\tbuildSessionSnapshotV1,\n\ttype CanonicalContractFixtureVectorV1,\n\ttype CanonicalContractVectorsV1,\n\ttype CapabilityRefV1,\n\ttype CapabilityResolutionV1,\n\ttype CommandAdmissionV1,\n\ttype CommandOperationRegistryV1,\n\ttype CommandRequestInputV1,\n\ttype CommandRequestV1,\n\ttype ContractCompatibilityIssueCodeV1,\n\ttype ContractCompatibilityIssueV1,\n\ttype ContractCompatibilityRequirementsV1,\n\ttype ContractCompatibilityResultV1,\n\tcheckContractCompatibilityV1,\n\tcreateCommandOperationRegistryV1,\n\ttype ErrorEnvelopeV1,\n\ttype EventCategoryV1,\n\ttype EventDeliveryGuaranteeV1,\n\ttype EventEnvelopeInputV1,\n\ttype EventEnvelopeV1,\n\ttype HostContextV1,\n\ttype HostMode as CanonicalHostModeV1,\n\ttype HostTransport,\n\tisRegisteredAgentErrorCodeV1,\n\ttype JsonValue,\n\tmapProtocolErrorCodeToAgentErrorV1,\n\ttype OperationSnapshotV1,\n\ttype OperationStatusV1,\n\ttype OperationTerminalV1,\n\tresolveCapabilityV1,\n\ttype SessionRevisionV1,\n\ttype SessionSnapshotV1,\n\ttoErrorEnvelopeV1,\n\tvalidateAgentCapabilityContract,\n\tvalidateAgentCapabilityContractV1,\n\tvalidateAgentProfileV1,\n\tvalidateArtifactRefV1,\n\tvalidateCommandAdmissionV1,\n\tvalidateCommandRequestV1,\n\tvalidateContractCompatibilityRequirementsV1,\n\tvalidateContractCompatibilityResultV1,\n\tvalidateErrorEnvelopeV1,\n\tvalidateEventEnvelope,\n\tvalidateEventEnvelopeV1,\n\tvalidateHostContextV1,\n\tvalidateOperationSnapshotV1,\n\tvalidateOperationTerminalV1,\n\tvalidateSessionRevisionV1,\n\tvalidateSessionSnapshotV1,\n} from \"./core/agent-capability-contract.ts\";\nexport {\n\tAgentSession,\n\ttype AgentSessionConfig,\n\ttype AgentSessionEvent,\n\ttype AgentSessionEventListener,\n\ttype ModelCycleResult,\n\ttype ParsedSkillBlock,\n\ttype PromptOptions,\n\tparseSkillBlock,\n\ttype SessionStats,\n} from \"./core/agent-session.ts\";\nexport { readStoredCredential } from \"./core/auth-storage.ts\";\n// Compaction\nexport {\n\ttype BranchPreparation,\n\ttype BranchSummaryResult,\n\ttype CollectEntriesResult,\n\ttype CompactionResult,\n\ttype CutPointResult,\n\tcalculateContextTokens,\n\tcollectEntriesForBranchSummary,\n\tcompact,\n\tDEFAULT_COMPACTION_SETTINGS,\n\testimateTokens,\n\ttype FileOperations,\n\tfindCutPoint,\n\tfindTurnStartIndex,\n\ttype GenerateBranchSummaryOptions,\n\tgenerateBranchSummary,\n\tgenerateSummary,\n\tgenerateSummaryWithUsage,\n\tgetLastAssistantUsage,\n\tprepareBranchEntries,\n\tserializeConversation,\n\tshouldCompact,\n} from \"./core/compaction/index.ts\";\nexport {\n\tcreateEmbeddedSdkBinding,\n\tcreateEmbeddedSdkBindingV1,\n\ttype EmbeddedAgentDefinitionV1,\n\ttype EmbeddedAgentInstanceV1,\n\ttype EmbeddedAgentResultV1,\n\ttype EmbeddedControllerLeaseV1,\n\ttype EmbeddedOperationHandleV1,\n\ttype EmbeddedSdkBindingV1,\n\ttype EmbeddedSdkEventListenerV1,\n\ttype EmbeddedSdkOptionsV1,\n\ttype EmbeddedSdkSubscriptionV1,\n\ttype EmbeddedSessionBindingV1,\n} from \"./core/embedded-sdk.ts\";\nexport { createEventBus, type EventBus, type EventBusController } from \"./core/event-bus.ts\";\nexport type { ExecOptions, ExecResult } from \"./core/exec.ts\";\n// Config paths\nexport {\n\ttype AgentCompositionAPI,\n\ttype AgentCompositionDefinitionBinding,\n\ttype AgentCompositionHostBinding,\n\ttype AgentCompositionLifecycleBinding,\n\ttype AgentCompositionLifecycleDispatcher,\n\ttype AgentCompositionLifecycleEvent,\n\ttype AgentCompositionLifecycleEventName,\n\ttype AgentCompositionLifecycleTerminalStatus,\n\tAgentCompositionRuntime,\n\ttype AgentCompositionRuntimeOptions,\n\ttype AgentCompositionScopedHostBinding,\n\ttype AgentContextCommitRequestV1,\n\ttype AgentContextCommitResultV1,\n\ttype AgentContextFacadeV1,\n\ttype AgentContextSnapshotV1,\n\ttype AgentControllerLease,\n\ttype AgentControllerRole,\n\ttype AgentDefinition,\n\ttype AgentDefinitionDeclaration,\n\ttype AgentExecutionContext,\n\ttype AgentHostPrimitivesFactory,\n\ttype AgentHostPrimitivesFactoryContext,\n\ttype AgentHostPrimitivesV1,\n\ttype AgentInstance,\n\ttype AgentInstanceResult,\n\ttype AgentInstanceSnapshot,\n\ttype AgentInstanceStatus,\n\ttype AgentOperationFacadeV1,\n\ttype AgentSessionFacadeV1,\n\ttype AgentTaskAdapter,\n\ttype AgentTaskAPI,\n\ttype AgentTaskCreateRequest,\n\ttype AgentTaskHandle,\n\ttype AgentTaskHost,\n\ttype AgentTaskResultV1,\n\ttype AgentTaskStatus,\n\ttype AgentTaskWaitResult,\n\tBOOTSTRAP_LIFECYCLE_PLUGIN_ID,\n\tCAPABILITY_CALL_EVENT_ID,\n\tCAPABILITY_CALL_EVENT_VERSION,\n\ttype CapabilityAPI,\n\ttype CapabilityCallEventDataV1,\n\ttype CapabilityCallEventNameV1,\n\ttype CapabilityCallStatusV1,\n\ttype CapabilityCommandContext,\n\ttype CapabilityCommandDefinition,\n\ttype CapabilityCommandLink,\n\ttype CapabilityCommandResult,\n\ttype CapabilityDirectoryAPI,\n\ttype CapabilityHandle,\n\ttype CapabilityPluginFactory,\n\ttype CapabilityPluginFactoryResult,\n\ttype CapabilityPluginHandle,\n\ttype CapabilityPluginInstance,\n\ttype CapabilityPluginSyncFactory,\n\ttype CapabilityPluginSyncInstance,\n\ttype CapabilityProviderHandler,\n\ttype CapabilityRuntime,\n\ttype CompactionCommitAppliedV1,\n\ttype CompactionCommitRequestV1,\n\ttype CompactionCommitResultV1,\n\ttype CompactionCommitRevisionConflictV1,\n\ttype CompactionPolicy,\n\ttype CompactionPolicyDecision,\n\ttype CompactionPolicyRequest,\n\ttype CompactionSummaryRequest,\n\ttype CompactionSummaryResult,\n\ttype ContextStrategy,\n\ttype ContributionAPI,\n\ttype ContributionChangeEvent,\n\ttype ContributionEntry,\n\ttype ContributionHandle,\n\ttype ContributionLifecycle,\n\ttype ContributionPoint,\n\ttype ContributionPointDefinition,\n\ttype CredentialAPI,\n\ttype CredentialResolution,\n\ttype CredentialResolveRequest,\n\tcreateAgentCompositionRuntime,\n\tcreateCapabilityRuntime,\n\tcreateDisposableRegistration,\n\tcreateEventEnvelope,\n\tDEFAULT_COMPACTION_POLICY_NAME,\n\tDEFAULT_RETRY_POLICY_NAME,\n\ttype DiagnosticsAPI,\n\ttype DiagnosticsSpan,\n\ttype DiagnosticsSpanEnd,\n\ttype DiagnosticsSpanSnapshot,\n\ttype DisposableRegistration,\n\tdiscoverCapabilityPluginManifests,\n\ttype EventEnvelope,\n\tEXPERIMENTAL_PUBLIC_API_VERSION,\n\ttype ExecutionFactsV1,\n\ttype ExecutionPhaseV1,\n\ttype HostCapabilities,\n\ttype HostMode,\n\tinstallBootstrapLifecycle,\n\ttype LifecycleAfterCommitHandler,\n\ttype LifecycleAPI,\n\ttype LifecycleDeliveryFailure,\n\ttype LifecycleDeliveryMode,\n\ttype LifecycleDeliveryOptions,\n\ttype LifecycleDeliveryReport,\n\ttype LifecycleDeliverySnapshot,\n\ttype LifecycleDispatchRequest,\n\ttype LifecycleDispatchResult,\n\ttype LifecycleEvent,\n\ttype LifecycleEventDefinition,\n\ttype LifecycleEventReference,\n\tLifecycleExecuteError,\n\ttype LifecycleExecuteHandler,\n\ttype LifecycleObserveHandler,\n\ttype LifecyclePhase,\n\ttype LifecycleRegistrationKind,\n\tLifecycleTransformError,\n\ttype LifecycleTransformHandler,\n\ttype LoggerAPI,\n\ttype LoggerLevel,\n\ttype LoggerRecord,\n\tloadCapabilityPlugin,\n\tloadCapabilityPluginFromManifest,\n\tloadCapabilityPluginSync,\n\tMODEL_RESPONSE_EVENT_ID,\n\tMODEL_RESPONSE_EVENT_VERSION,\n\tMODEL_STREAM_EVENT_ID,\n\tMODEL_STREAM_EVENT_VERSION,\n\ttype ModelResponseEventDataV1,\n\ttype ModelStreamEventDataV1,\n\ttype ModelStreamEventNameV1,\n\tOPERATION_CANCEL_EVENT_ID,\n\tOPERATION_CANCEL_EVENT_VERSION,\n\tOPERATION_END_EVENT_ID,\n\tOPERATION_END_EVENT_VERSION,\n\tOPERATION_START_EVENT_ID,\n\tOPERATION_START_EVENT_VERSION,\n\tOPERATION_STEP_EVENT_ID,\n\tOPERATION_STEP_EVENT_VERSION,\n\ttype OperationCancelEventDataV1,\n\ttype OperationEndEventDataV1,\n\ttype OperationExecutionContext,\n\ttype OperationHandle,\n\ttype OperationProgress,\n\ttype OperationStartEventDataV1,\n\ttype OperationStatus,\n\ttype OperationStepEventDataV1,\n\ttype OutputArtifactAPI,\n\ttype OutputArtifactChunk,\n\ttype OutputArtifactErrorCode,\n\ttype OutputArtifactPutInput,\n\ttype OutputArtifactRef,\n\tPLUGIN_DISPOSE_EVENT_ID,\n\tPLUGIN_DISPOSE_EVENT_VERSION,\n\tPLUGIN_READY_EVENT_ID,\n\tPLUGIN_READY_EVENT_VERSION,\n\ttype PluginAgentRole,\n\ttype PluginCapabilityDeclaration,\n\ttype PluginCapabilityRequirement,\n\ttype PluginConfig,\n\ttype PluginConfigValue,\n\ttype PluginDisposeEventDataV1,\n\ttype PluginManifest,\n\ttype PluginReadyEventDataV1,\n\ttype PolicyInvocationContextV1,\n\ttype ProviderHeaderTransform,\n\ttype ProviderHeaderTransformRequest,\n\tparseCapabilityPluginManifest,\n\ttype RetryPolicy,\n\ttype RetryPolicyDecision,\n\ttype RetryPolicyRequest,\n\ttype RetryScheduleV1,\n\ttype RuntimeInspectorAPI,\n\ttype RuntimeInspectorErrorSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryFailureSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryReportSnapshot,\n\ttype RuntimeInspectorSnapshot,\n\tresolvePluginCapabilityOrder,\n\tSESSION_COMPACTION_COMMIT_EVENT_ID,\n\tSESSION_COMPACTION_COMMIT_EVENT_VERSION,\n\tSESSION_CONTEXT_REPLACED_EVENT_ID,\n\tSESSION_CONTEXT_REPLACED_EVENT_VERSION,\n\tSESSION_RELOAD_EVENT_ID,\n\tSESSION_RELOAD_EVENT_VERSION,\n\ttype SessionAPI,\n\ttype SessionCompactionCommitEventDataV1,\n\ttype SessionContextReplacedEventDataV1,\n\ttype SessionEntryView,\n\ttype SessionExportArtifact,\n\ttype SessionExportRequest,\n\ttype SessionReloadEventDataV1,\n\ttype SkillDefinition,\n\ttype StateAPI,\n\ttype StateChange,\n\ttype StateEntry,\n\ttype StateSetOptions,\n\tSUMMARY_MODEL_INVOCATION_ERROR_CODES,\n\ttype SummaryModelFactsV1,\n\ttype SummaryModelInvocationRequestV1,\n\ttype SummaryModelInvocationResultV1,\n\ttype SummaryModelInvocationV1,\n\tTOOL_CALL_EVENT_ID,\n\tTOOL_CALL_EVENT_VERSION,\n\tTOOL_COMMIT_EVENT_ID,\n\tTOOL_COMMIT_EVENT_VERSION,\n\tTOOL_EXECUTE_EVENT_ID,\n\tTOOL_EXECUTE_EVENT_VERSION,\n\tTOOL_RESULT_EVENT_ID,\n\tTOOL_RESULT_EVENT_VERSION,\n\tTOOL_RESULT_RAW_EVENT_ID,\n\tTOOL_RESULT_RAW_EVENT_VERSION,\n\tTOOL_RESULT_TRANSFORM_EVENT_ID,\n\tTOOL_RESULT_TRANSFORM_EVENT_VERSION,\n\ttype ToolCallEventDataV1,\n\ttype ToolCommitEventDataV1,\n\ttype ToolExecuteEventDataV1,\n\ttype ToolResultEventDataV1,\n\ttype ToolResultRawEventDataV1,\n\ttype ToolResultTransformEventDataV1,\n\tvalidateCapabilityCallEventDataV1,\n\tvalidateExecutionFactsV1,\n\tvalidateModelResponseEventDataV1,\n\tvalidateModelStreamEventDataV1,\n\tvalidateOperationCancelEventDataV1,\n\tvalidateOperationEndEventDataV1,\n\tvalidateOperationStartEventDataV1,\n\tvalidateOperationStepEventDataV1,\n\tvalidatePluginDisposeEventDataV1,\n\tvalidatePluginReadyEventDataV1,\n\tvalidateRetryScheduleV1,\n\tvalidateSessionCompactionCommitEventDataV1,\n\tvalidateSessionContextReplacedEventDataV1,\n\tvalidateSessionReloadEventDataV1,\n\tvalidateToolCallEventDataV1,\n\tvalidateToolCommitEventDataV1,\n\tvalidateToolExecuteEventDataV1,\n\tvalidateToolResultEventDataV1,\n\tvalidateToolResultRawEventDataV1,\n\tvalidateToolResultTransformEventDataV1,\n} from \"./core/extensions/index.ts\";\nexport type { ContextUsage } from \"./core/extensions/public-api.ts\";\nexport { detachedSessionSnapshot } from \"./core/extensions/public-api.ts\";\n// Stable session facade v1 type (B-S2b③-S2): named so the createStableAgentSession\n// result is nameable from the package root. The package-root `exports` subpath set\n// is unchanged (B-S2a gate holds; the facade is not promoted into an exports subpath).\nexport type { CodingAgentFacadeV1 } from \"./core/facade/coding-agent-facade.ts\";\n// Stable runtime facade v1 type (D-063): named so the createStableAgentSessionRuntime\n// result is nameable from the package root. The package-root `exports` subpath set\n// is unchanged (B-S2a gate holds; the facade is not promoted into an exports subpath).\nexport type { CodingAgentRuntimeFacadeV1 } from \"./core/facade/coding-agent-runtime-facade.ts\";\n// Footer data provider (git branch + extension statuses - data not otherwise available to extensions)\nexport type { ReadonlyFooterDataProvider } from \"./core/footer-data-provider.ts\";\nexport type { InputSource } from \"./core/input-source.ts\";\nexport { convertToLlm } from \"./core/messages.ts\";\nexport {\n\tModelRegistry,\n\ttype ProviderConfigInput,\n} from \"./core/model-registry.ts\";\nexport {\n\ttype ModelScopeDiagnostic,\n\ttype ResolveCliModelResult,\n\ttype ResolveModelScopeResult,\n\tresolveCliModel,\n\tresolveModelScopeWithDiagnostics,\n\ttype ScopedModel,\n} from \"./core/model-resolver.ts\";\nexport {\n\ttype CreateModelRuntimeOptions,\n\tCredentialSynchronizationError,\n\ttype CredentialSynchronizationOperation,\n\tModelRuntime,\n\ttype ModelRuntimeAuthOverrides,\n} from \"./core/model-runtime.ts\";\nexport type {\n\tPackageManager,\n\tPathMetadata,\n\tProgressCallback,\n\tProgressEvent,\n\tResolvedPaths,\n\tResolvedResource,\n} from \"./core/package-manager.ts\";\nexport { DefaultPackageManager } from \"./core/package-manager.ts\";\nexport type { ResourceCollision, ResourceDiagnostic, ResourceLoader } from \"./core/resource-loader.ts\";\nexport { DefaultResourceLoader, loadProjectContextFiles } from \"./core/resource-loader.ts\";\n// SDK for programmatic usage\nexport {\n\tAgentSessionRuntime,\n\ttype AgentSessionRuntimeDiagnostic,\n\ttype AgentSessionServices,\n\ttype CreateAgentSessionFromServicesOptions,\n\ttype CreateAgentSessionOptions,\n\ttype CreateAgentSessionResult,\n\ttype CreateAgentSessionRuntimeFactory,\n\ttype CreateAgentSessionRuntimeResult,\n\ttype CreateAgentSessionServicesOptions,\n\ttype CreateStableAgentSessionResult,\n\ttype CreateStableAgentSessionRuntimeResult,\n\t// Factory\n\tcreateAgentSession,\n\tcreateAgentSessionFromServices,\n\tcreateAgentSessionRuntime,\n\tcreateAgentSessionServices,\n\t// Stable session entry (B-S2b③-S2): same assembly as createAgentSession,\n\t// returned as the stable facade pair. The package-root `exports` subpath set\n\t// is unchanged (B-S2a gate holds; this is a named export, not a subpath).\n\tcreateStableAgentSession,\n\t// Stable runtime entry (D-063): same assembly as createAgentSessionRuntime,\n\t// returned as the stable runtime facade (no bare runtime/session). Same\n\t// package-root `exports` note as the session entry above.\n\tcreateStableAgentSessionRuntime,\n\ttype PromptTemplate,\n} from \"./core/sdk.ts\";\nexport {\n\ttype BranchSummaryEntry,\n\tbuildContextEntries,\n\tbuildSessionContext,\n\ttype CompactionEntry,\n\tCURRENT_SESSION_VERSION,\n\ttype CustomEntry,\n\ttype CustomMessageEntry,\n\ttype FileEntry,\n\tgetLatestCompactionEntry,\n\ttype ModelChangeEntry,\n\tmigrateSessionEntries,\n\ttype NewSessionOptions,\n\tparseSessionEntries,\n\ttype SessionContext,\n\ttype SessionEntry,\n\ttype SessionEntryBase,\n\ttype SessionHeader,\n\ttype SessionInfo,\n\ttype SessionInfoEntry,\n\tSessionManager,\n\ttype SessionMessageEntry,\n\ttype SessionTreeNode,\n\tsessionEntryToContextMessages,\n\ttype ThinkingLevelChangeEntry,\n} from \"./core/session-manager.ts\";\nexport {\n\tFileSessionStorageProvider,\n\tSessionHeaderScanLimitError,\n\ttype SessionStorageProvider,\n\ttype SessionWriteGuardV1,\n} from \"./core/session-storage.ts\";\nexport {\n\ttype CompactionSettings,\n\ttype FullscreenExitOutput,\n\ttype ImageSettings,\n\ttype PackageSource,\n\ttype RetrySettings,\n\tSettingsManager,\n\ttype SettingsManagerCreateOptions,\n\ttype TuiMode,\n} from \"./core/settings-manager.ts\";\n// Skills\nexport {\n\tformatSkillsForPrompt,\n\ttype LoadSkillsFromDirOptions,\n\ttype LoadSkillsResult,\n\tloadSkills,\n\tloadSkillsFromDir,\n\ttype Skill,\n\ttype SkillFrontmatter,\n} from \"./core/skills.ts\";\nexport type { SlashCommandInfo, SlashCommandSource } from \"./core/slash-commands.ts\";\nexport type { SourceInfo } from \"./core/source-info.ts\";\nexport { createSyntheticSourceInfo } from \"./core/source-info.ts\";\nexport type { BuildSystemPromptOptions } from \"./core/system-prompt.ts\";\nexport { type EditDiffResult, generateDiffString, generateUnifiedPatch } from \"./core/tools/edit-diff.ts\";\n// Tools (D-082 批 1: the default coding tool definitions moved to the\n// plugins/coding-tools package; the host keeps the shared tool-support face)\nexport {\n\ttype BashOperations,\n\ttype BashSpawnContext,\n\ttype BashSpawnHook,\n\tcreateLocalBashOperations,\n\tcreateLocalShellOperations,\n\tDEFAULT_MAX_BYTES,\n\tDEFAULT_MAX_LINES,\n\tformatSize,\n\ttype TruncationOptions,\n\ttype TruncationResult,\n\ttruncateHead,\n\ttruncateLine,\n\ttruncateTail,\n\twithFileMutationQueue,\n} from \"./core/tools/index.ts\";\nexport type {\n\tToolDefinition,\n\tToolExecuteContext,\n\tToolInfo,\n\tToolRenderContext,\n\tToolRenderResultOptions,\n} from \"./core/tools/tool-definition.ts\";\n// Tool definition surface (capability tools contract)\nexport { defineTool } from \"./core/tools/tool-definition.ts\";\n// Durable service (7.4b): in-memory persistence with optional file backend\nexport {\n\tcreateDurableService,\n\tcreateFileDurableStoreBackend,\n\ttype DurableArtifactRecordV1,\n\ttype DurableOperationRecordV1,\n\ttype DurableReplayDiagnosticsV1,\n\ttype DurableServiceErrorCodeV1,\n\tDurableServiceErrorV1,\n\ttype DurableServiceOptionsV1,\n\ttype DurableServiceV1,\n\ttype DurableSessionRecordV1,\n\ttype DurableSnapshotV1,\n\ttype DurableStoreBackend,\n\ttype DurableStoreLoadResultV1,\n\ttype DurableStoreOperationV1,\n\ttype DurableWriterClaimV1,\n\ttype DurableWriterRecoveryV1,\n\tdurableLogPath,\n} from \"./durable/durable-service.ts\";\n// Agent retry scheduler (2A.4b): cancellable, duplicate-suppressing retries\nexport {\n\ttype AgentRetryAttemptV1,\n\ttype AgentRetryOutcomeV1,\n\ttype AgentRetryPolicyV1,\n\ttype AgentRetrySchedulerV1,\n\tcreateAgentRetryScheduler,\n} from \"./host/agent-retry-scheduler.ts\";\n// Auto compaction executor (2A.3a): threshold-triggered with cancel/re-entrancy\nexport {\n\ttype AutoCompactionExecutorV1,\n\ttype AutoCompactionOutcomeV1,\n\ttype AutoCompactionPolicyV1,\n\tcreateAutoCompactionExecutor,\n} from \"./host/auto-compaction.ts\";\n// Branch migration and reload transaction (2A.5a/2A.5b)\nexport {\n\ttype BranchMigrationOutcomeV1,\n\ttype BranchStateEntryV1,\n\ttype BranchStateMigrationV1,\n\tcreateBranchStateMigration,\n\tcreateReloadTransaction,\n\ttype ReloadTransactionV1,\n} from \"./host/branch-reload.ts\";\n// Channel adapter (3.5b): print/JSON stdout-stderr semantics\nexport {\n\ttype ChannelAdapterV1,\n\ttype ChannelFormatV1,\n\tcreateStdioChannelAdapter,\n} from \"./host/channel-adapter.ts\";\n// Host checkpoint/commit (2A.1): revision-guarded idempotent two-phase writes\nexport {\n\tcreateHostCheckpointCoordinator,\n\ttype HostCheckpointCoordinatorV1,\n\ttype HostCommitOutcomeV1,\n\ttype HostStagedWriteV1,\n\ttype HostStageResultV1,\n} from \"./host/checkpoint-commit.ts\";\n// Manual compaction executor (2A.2): plugin-driven timing over checkpoint primitives\nexport {\n\tcreateManualCompactionExecutor,\n\ttype ManualCompactionExecutorV1,\n\ttype ManualCompactionOutcomeV1,\n\ttype ManualCompactionStateV1,\n} from \"./host/manual-compaction.ts\";\n// Host output projection (2.6b): traced channel records with structured errors\nexport {\n\tcreateHostOutputProjector,\n\ttype HostEventV1,\n\ttype HostOutputChannelV1,\n\ttype HostOutputProjectorV1,\n\ttype HostOutputRecordV1,\n\ttype HostOutputSeverityV1,\n} from \"./host/output-projection.ts\";\n// Output reducer (3.5a): deterministic fold/unfold over projected records\nexport {\n\tcreateOutputReducer,\n\ttype FoldedOutputGroupV1,\n\ttype FoldedOutputV1,\n\ttype OutputReducerV1,\n} from \"./host/output-reducer.ts\";\n// Host Output Serializer (3.5 supplement): per-surface allowlist projection\nexport {\n\tcreateHostOutputSerializer,\n\ttype HostOutputProjectionV1,\n\ttype HostOutputSerializerContextV1,\n\ttype HostOutputSerializerV1,\n\ttype HostOutputSurfaceV1,\n\ttype OutputArtifactRefV1,\n} from \"./host/output-serializer.ts\";\n// Provider overflow recovery (2A.3b): classification and shrink-and-commit entry\nexport {\n\tcreateOverflowRecovery,\n\ttype OverflowRecoveryOutcomeV1,\n\ttype OverflowRecoveryV1,\n\ttype ProviderErrorClassificationV1,\n\ttype ProviderErrorClassV1,\n} from \"./host/overflow-recovery.ts\";\n// Summary retry (2A.4a): traced attempts, exponential backoff, terminal states\nexport {\n\tcreateSummaryRetryExecutor,\n\ttype SummaryAttemptRecordV1,\n\ttype SummaryRetryExecutorV1,\n\ttype SummaryRetryOutcomeV1,\n\ttype SummaryRetryPolicyV1,\n} from \"./host/summary-retry.ts\";\n// Main entry point\nexport { type MainOptions, main } from \"./main.ts\";\n// Migration tool (7.4a): chained version migration with rollback evidence\nexport {\n\tcreateMigrationTool,\n\ttype MigrationEvidenceStepV1,\n\ttype MigrationOutcomeV1,\n\ttype MigrationStepV1,\n\ttype MigrationToolV1,\n} from \"./migration/migration-tool.ts\";\n// Run modes for programmatic SDK usage\nexport {\n\tInteractiveMode,\n\ttype InteractiveModeOptions,\n\ttype JsonAgentSessionEvent,\n\ttype ModelInfo,\n\ttype PrintModeOptions,\n\tRpcClient,\n\ttype RpcClientOptions,\n\ttype RpcCommand,\n\ttype RpcEventListener,\n\ttype RpcExtensionUIRequest,\n\ttype RpcExtensionUIResponse,\n\ttype RpcModeOptions,\n\ttype RpcResponse,\n\ttype RpcSessionState,\n\trunPrintMode,\n\trunRpcMode,\n} from \"./modes/index.ts\";\n// UI components for extensions\nexport {\n\tArminComponent,\n\tAssistantMessageComponent,\n\tBashExecutionComponent,\n\tBorderedLoader,\n\tBranchSummaryMessageComponent,\n\tCompactionSummaryMessageComponent,\n\tCustomEditor,\n\tCustomMessageComponent,\n\tDialogEditorComponent,\n\tDialogInputComponent,\n\tDialogSelectorComponent,\n\tDynamicBorder,\n\tFooterComponent,\n\tkeyHint,\n\tkeyText,\n\tLoginDialogComponent,\n\tModelSelectorComponent,\n\tOAuthSelectorComponent,\n\tPluginManagerEntryComponent,\n\ttype PluginManagerEntryOpenContextV1,\n\ttype PluginManagerEntryOpenResultV1,\n\ttype PluginManagerEntryOptionsV1,\n\ttype RenderDiffOptions,\n\trawKeyHint,\n\trenderDiff,\n\tSessionSelectorComponent,\n\ttype SettingsCallbacks,\n\ttype SettingsConfig,\n\tSettingsSelectorComponent,\n\tShowImagesSelectorComponent,\n\tSkillInvocationMessageComponent,\n\tThemeSelectorComponent,\n\tThinkingSelectorComponent,\n\tToolExecutionComponent,\n\ttype ToolExecutionOptions,\n\tTreeSelectorComponent,\n\ttruncateToVisualLines,\n\tUserMessageComponent,\n\tUserMessageSelectorComponent,\n\ttype VisualTruncateResult,\n} from \"./modes/interactive/components/index.ts\";\n// Theme utilities for custom tools and extensions\nexport {\n\tgetLanguageFromPath,\n\tgetMarkdownTheme,\n\tgetSelectListTheme,\n\tgetSettingsListTheme,\n\thighlightCode,\n\tinitTheme,\n\tTheme,\n\ttype ThemeColor,\n} from \"./modes/interactive/theme/theme.ts\";\nexport * as PluginEcosystemV1 from \"./plugins/ecosystem/index.ts\";\n// Host facts for the ecosystem pluginHost options (B-S2b: the convergence\n// slice names the previously unnameable type for cross-package consumers).\nexport type { HostFactsV1 } from \"./plugins/ecosystem/types.ts\";\n// Integrity adapter (7.3): seal/verify manifests for external policy flows\nexport {\n\tcreateIntegrityAdapter,\n\ttype IntegrityAdapterV1,\n\ttype ManifestExpectationV1,\n\ttype ManifestVerdictV1,\n\ttype SealedManifestV1,\n} from \"./plugins/integrity-adapter.ts\";\n// Plugin host (7.1): owned lifecycle, reverse dispose, error aggregation\nexport {\n\tcreatePluginHost,\n\ttype HostedPluginV1,\n\ttype PluginHostErrorV1,\n\ttype PluginHostResourceV1,\n\ttype PluginHostStateV1,\n\ttype PluginHostV1,\n} from \"./plugins/plugin-host.ts\";\n// Plugin supervisor (7.2): heartbeat, bounded restart, backpressure\nexport {\n\tcreatePluginSupervisor,\n\ttype PluginHealthV1,\n\ttype PluginSupervisorV1,\n\ttype SupervisorEntryV1,\n\ttype SupervisorEventV1,\n\ttype SupervisorPolicyV1,\n} from \"./plugins/plugin-supervisor.ts\";\n// Profile identity (2.0a): profileId/version, manifest digest, host compatibility\nexport {\n\tbuildProfileIdentityV1,\n\ttype ProfileIdentityV1,\n\tprofileIdentitiesCompatible,\n\ttype ResolvedPluginManifestV1,\n\tstableJsonDigest,\n} from \"./profile/identity.ts\";\n// Profile lock (2.0b): pre-creation lock, reopen/reload drift detection\nexport {\n\tcreateProfileLock,\n\ttype ProfileLockReplaceResultV1,\n\ttype ProfileLockV1,\n\ttype ProfileLockVerificationV1,\n\treplaceProfileLock,\n\tverifyProfileLock,\n} from \"./profile/lock.ts\";\nexport {\n\ttype BuiltinPluginManifestOverridesV1,\n\ttype BuiltinPluginProfileIdV1,\n\ttype BuiltinPluginProfileResolutionV1,\n\ttype BuiltinPluginProfileV1,\n\tlistBuiltinPluginManifestsV1,\n\tlistBuiltinPluginProfilesV1,\n\tresolveBuiltinPluginProfileV1,\n} from \"./profile/plugin-profiles.ts\";\n// Profile assembly (2.5b): verified-plugin assembly, version lock, replacement\nexport {\n\tassembleProfile,\n\ttype PluginReplacementRecordV1,\n\ttype ProfileAssemblyResultV1,\n\ttype ProfileAssemblyV1,\n\ttype ProfileReplacementResultV1,\n\treplaceProfilePlugin,\n\ttype VerifiedToolPluginV1,\n} from \"./profile/profile-assembly.ts\";\n// Profile migration policy (2.7b): explicit reopen migration over the 2.0b lock\nexport {\n\tcreateProfileMigrationPolicy,\n\ttype ProfileMigrationPlanV1,\n\ttype ProfileMigrationPolicyV1,\n\ttype ProfileMigrationResultV1,\n} from \"./profile/profile-migration.ts\";\n// Profile registry (2.7a): multi-source discovery, upgrades, deprecation\nexport {\n\tcreateProfileRegistry,\n\ttype ProfileRegistryV1,\n\ttype ProfileResolutionV1,\n\ttype ProfileVersionRangeV1,\n\ttype RegistryProfileEntryV1,\n\ttype RegistrySourceV1,\n} from \"./profile/profile-registry.ts\";\nexport { isBuiltinSuiteId } from \"./profiles/builtin-suites.ts\";\n// Resolved agent profile (D-047 S4a): immutable per-session aggregate view\n// over the resolved suite profile — a projection of existing authoritative\n// sources, not a new generation mechanism; AgentSession stays suite-unaware.\nexport {\n\tbuildResolvedAgentProfileV1,\n\ttype PluginProfileResolutionSummaryV1,\n\ttype ResolvedAgentProfileV1,\n\ttype ResolvedProfileDiagnosticV1,\n} from \"./profiles/resolved-agent-profile.ts\";\n// Suite (方案) lifecycle public API (方案系统设计.md §9): the same deterministic\n// operations the CLI one-shots use, exported so first-party and third-party\n// plugins can manage suite workspaces without hidden channels.\nexport {\n\tclearDanglingSuiteSettings,\n\tcreateSuite,\n\tdeleteSuite,\n\tfindSuiteSessionRefs,\n\tresetSuite,\n\tSUITE_DELETE_CONFIRM_TOKEN,\n\ttype SuiteCreateOptions,\n\ttype SuiteCreateResult,\n\ttype SuiteDeleteOptions,\n\ttype SuiteDeleteResult,\n\tSuiteLifecycleError,\n\ttype SuiteLifecycleOperation,\n\ttype SuiteResetPlan,\n\ttype SuiteSessionRef,\n\ttype SuiteSettingsCleanup,\n} from \"./profiles/suite-lifecycle.ts\";\nexport {\n\tDEFAULT_SUITE_ID,\n\tlistSuiteIds,\n\tSuiteResolutionError,\n} from \"./profiles/suite-loader.ts\";\n// Remote server assembly (1B.7h): coding-agent sessions behind the public server boundary\nexport {\n\tassembleCodingAgentServer,\n\ttype CodingAgentServerAssemblyOptions,\n\ttype CodingAgentServerModels,\n\tCodingAgentServerService,\n\ttype CodingAgentServerSessionSource,\n\ttype CodingAgentSessionDescriptor,\n\tCodingAgentSessionRuntime,\n\tprojectSessionTranscript,\n} from \"./remote/server-assembly.ts\";\n// Remote restart recovery (E3): production session source and programmatic server entry\nexport {\n\ttype CodingAgentRemoteServerHandle,\n\ttype StartCodingAgentRemoteServerOptions,\n\tstartCodingAgentRemoteServer,\n} from \"./remote/server-entry.ts\";\nexport {\n\tcreateFileSessionSource,\n\ttype FileSessionSourceOptions,\n} from \"./remote/session-source.ts\";\n// Session share contract (2.6c): revocable read-only shares with explicit transports\nexport {\n\tcreateSessionShare,\n\ttype SessionShareManagerV1,\n\ttype ShareArtifactInputV1,\n\ttype ShareContractV1,\n\ttype ShareResolveRequestV1,\n\ttype ShareResolveResultV1,\n\ttype ShareScopeV1,\n\ttype ShareTransportV1,\n} from \"./share/session-share.ts\";\n// Share viewer (2.6d): escaped HTML + JSON views with explicit failure states\nexport { createShareViewer, type ShareViewerV1, type ShareViewV1 } from \"./share/share-viewer.ts\";\n// Mock AI server (3.1): fail-closed scenario fixtures with fault injection\nexport {\n\tcreateMockAiServer,\n\tMockAiError,\n\ttype MockAiFaultV1,\n\ttype MockAiFixtureV1,\n\ttype MockAiPartV1,\n\ttype MockAiRequestV1,\n\ttype MockAiResponseV1,\n\ttype MockAiServerV1,\n\ttype MockAiStepV1,\n} from \"./testing/mock-ai-server.ts\";\n// Clipboard utilities\nexport { copyToClipboard } from \"./utils/clipboard.ts\";\nexport { parseFrontmatter, stripFrontmatter } from \"./utils/frontmatter.ts\";\nexport { convertToPng } from \"./utils/image-convert.ts\";\nexport { formatDimensionNote, type ResizedImage, resizeImage } from \"./utils/image-resize.ts\";\nexport { detectSupportedImageMimeTypeFromFile } from \"./utils/mime.ts\";\n// Shell utilities\nexport { getPowerShellConfig, getShellConfig, killProcessTree, sanitizeBinaryOutput } from \"./utils/shell.ts\";\n"]}
|