indusagi-coding-agent 0.1.59 → 0.1.60
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 +55 -48
- package/CREDITS.md +19 -0
- package/NOTICE +7 -0
- package/README.md +65 -63
- package/dist/entry.js +19250 -0
- package/dist/types/addons/addons.test.d.ts +21 -0
- package/dist/types/addons/contract.d.ts +640 -0
- package/dist/types/addons/dispatch/event-dispatcher.d.ts +140 -0
- package/dist/types/addons/dispatch/index.d.ts +23 -0
- package/dist/types/addons/dispatch/tool-interceptor.d.ts +128 -0
- package/dist/types/addons/host.d.ts +246 -0
- package/dist/types/addons/index.d.ts +51 -0
- package/dist/types/addons/manifest.d.ts +56 -0
- package/dist/types/addons/sandbox.d.ts +103 -0
- package/dist/types/addons/surface.d.ts +42 -0
- package/dist/types/boot/auth-vault.d.ts +29 -0
- package/dist/types/boot/boot.d.ts +26 -0
- package/dist/types/boot/boot.test.d.ts +15 -0
- package/dist/types/boot/contract.d.ts +234 -0
- package/dist/types/boot/index.d.ts +20 -0
- package/dist/types/boot/invocation.d.ts +40 -0
- package/dist/types/boot/invocation.test.d.ts +8 -0
- package/dist/types/boot/runners/index.d.ts +11 -0
- package/dist/types/boot/runners/link-runner.d.ts +20 -0
- package/dist/types/boot/runners/oneshot-runner.d.ts +19 -0
- package/dist/types/boot/runners/registry.d.ts +30 -0
- package/dist/types/boot/runners/repl-runner.d.ts +19 -0
- package/dist/types/boot/runners/session-persist.test.d.ts +10 -0
- package/dist/types/boot/runners/session.d.ts +45 -0
- package/dist/types/boot/stages.d.ts +92 -0
- package/dist/types/boot/upgrade/apply.d.ts +45 -0
- package/dist/types/boot/upgrade/index.d.ts +13 -0
- package/dist/types/boot/upgrade/upgrades.d.ts +126 -0
- package/dist/types/briefing/briefing.test.d.ts +15 -0
- package/dist/types/briefing/compose.d.ts +37 -0
- package/dist/types/briefing/contract.d.ts +686 -0
- package/dist/types/briefing/index.d.ts +27 -0
- package/dist/types/briefing/macros.d.ts +206 -0
- package/dist/types/briefing/skills.d.ts +67 -0
- package/dist/types/capability-deck/bridge-ledger/index.d.ts +25 -0
- package/dist/types/capability-deck/bridge-ledger/key.d.ts +65 -0
- package/dist/types/capability-deck/bridge-ledger/ledger.d.ts +129 -0
- package/dist/types/capability-deck/bridge-ledger/network.d.ts +115 -0
- package/dist/types/capability-deck/builtin-bridge.d.ts +114 -0
- package/dist/types/capability-deck/capability-deck.test.d.ts +18 -0
- package/dist/types/capability-deck/cards/bg-process-card.d.ts +99 -0
- package/dist/types/capability-deck/cards/index.d.ts +30 -0
- package/dist/types/capability-deck/cards/memory-card.d.ts +69 -0
- package/dist/types/capability-deck/cards/saas-card.d.ts +78 -0
- package/dist/types/capability-deck/cards/task-card.d.ts +82 -0
- package/dist/types/capability-deck/cards/todo-card.d.ts +78 -0
- package/dist/types/capability-deck/contract.d.ts +317 -0
- package/dist/types/capability-deck/index.d.ts +46 -0
- package/dist/types/capability-deck/manifest.d.ts +60 -0
- package/dist/types/capability-deck/provision.d.ts +76 -0
- package/dist/types/channels/channels.test.d.ts +15 -0
- package/dist/types/channels/contract.d.ts +489 -0
- package/dist/types/channels/framer.d.ts +49 -0
- package/dist/types/channels/index.d.ts +24 -0
- package/dist/types/channels/link/dialog.d.ts +138 -0
- package/dist/types/channels/link/driver.d.ts +81 -0
- package/dist/types/channels/link/index.d.ts +13 -0
- package/dist/types/channels/link/server.d.ts +70 -0
- package/dist/types/channels/oneshot.d.ts +37 -0
- package/dist/types/channels/ops.d.ts +89 -0
- package/dist/types/channels/session-ops.d.ts +80 -0
- package/dist/types/conductor/catalog/catalog.d.ts +87 -0
- package/dist/types/conductor/catalog/index.d.ts +14 -0
- package/dist/types/conductor/catalog/matcher.d.ts +47 -0
- package/dist/types/conductor/conductor.d.ts +157 -0
- package/dist/types/conductor/conductor.test.d.ts +10 -0
- package/dist/types/conductor/contract.d.ts +547 -0
- package/dist/types/conductor/index.d.ts +23 -0
- package/dist/types/conductor/signal-hub/hub.d.ts +83 -0
- package/dist/types/conductor/signal-hub/index.d.ts +19 -0
- package/dist/types/conductor/signal-hub/translate.d.ts +74 -0
- package/dist/types/conductor/skill-parse/index.d.ts +10 -0
- package/dist/types/conductor/skill-parse/parse.d.ts +67 -0
- package/dist/types/conductor/submit.test.d.ts +28 -0
- package/dist/types/conductor/transcript-store/index.d.ts +16 -0
- package/dist/types/conductor/transcript-store/serialize.d.ts +106 -0
- package/dist/types/conductor/transcript-store/store.d.ts +170 -0
- package/dist/types/console/components/Banner.d.ts +54 -0
- package/dist/types/console/components/Composer.d.ts +37 -0
- package/dist/types/console/components/StatusBar.d.ts +31 -0
- package/dist/types/console/components/TerminalConsole.d.ts +32 -0
- package/dist/types/console/console.test.d.ts +19 -0
- package/dist/types/console/contract.d.ts +562 -0
- package/dist/types/console/index.d.ts +31 -0
- package/dist/types/console/input/complete.d.ts +120 -0
- package/dist/types/console/input/dir-reader.d.ts +28 -0
- package/dist/types/console/input/index.d.ts +24 -0
- package/dist/types/console/input/input.test.d.ts +14 -0
- package/dist/types/console/input/keymap.d.ts +184 -0
- package/dist/types/console/input/paste.d.ts +131 -0
- package/dist/types/console/mount.d.ts +53 -0
- package/dist/types/console/overlays/auth.d.ts +31 -0
- package/dist/types/console/overlays/host.d.ts +44 -0
- package/dist/types/console/overlays/index.d.ts +13 -0
- package/dist/types/console/overlays/pickers.d.ts +37 -0
- package/dist/types/console/overlays/sessions.d.ts +29 -0
- package/dist/types/console/reducer.d.ts +51 -0
- package/dist/types/console/slash/builtins.d.ts +33 -0
- package/dist/types/console/slash/commands/dynamic.d.ts +57 -0
- package/dist/types/console/slash/commands/dynamic.test.d.ts +9 -0
- package/dist/types/console/slash/commands/integrations.d.ts +28 -0
- package/dist/types/console/slash/commands/integrations.test.d.ts +18 -0
- package/dist/types/console/slash/commands/shared.d.ts +72 -0
- package/dist/types/console/slash/commands/transcript.d.ts +24 -0
- package/dist/types/console/slash/commands/transcript.test.d.ts +10 -0
- package/dist/types/console/slash/commands/workbench.d.ts +21 -0
- package/dist/types/console/slash/commands/workbench.test.d.ts +10 -0
- package/dist/types/console/slash/index.d.ts +34 -0
- package/dist/types/console/slash/registry.d.ts +90 -0
- package/dist/types/console/slash/resolve.d.ts +109 -0
- package/dist/types/console/slash/slash.test.d.ts +18 -0
- package/dist/types/console/startup.d.ts +119 -0
- package/dist/types/console/theme/adapter.d.ts +60 -0
- package/dist/types/console/theme/index.d.ts +18 -0
- package/dist/types/console/theme/palette.d.ts +42 -0
- package/dist/types/console/theme/resolve.d.ts +45 -0
- package/dist/types/console/theme/theme.test.d.ts +16 -0
- package/dist/types/console/theme/tokens.d.ts +40 -0
- package/dist/types/entry.d.ts +17 -0
- package/dist/types/index.d.ts +24 -0
- package/dist/types/insight/channel.d.ts +45 -0
- package/dist/types/insight/contract.d.ts +411 -0
- package/dist/types/insight/index.d.ts +26 -0
- package/dist/types/insight/insight.test.d.ts +17 -0
- package/dist/types/insight/recorder.d.ts +63 -0
- package/dist/types/insight/redaction.d.ts +44 -0
- package/dist/types/insight/replay.d.ts +77 -0
- package/dist/types/insight/sampling.d.ts +84 -0
- package/dist/types/insight/serialize.d.ts +54 -0
- package/dist/types/insight/sinks/console.d.ts +36 -0
- package/dist/types/insight/sinks/file.d.ts +37 -0
- package/dist/types/insight/sinks/index.d.ts +16 -0
- package/dist/types/insight/sinks/stream.d.ts +53 -0
- package/dist/types/kit/clipboard-image.d.ts +40 -0
- package/dist/types/kit/external-editor.d.ts +35 -0
- package/dist/types/kit/image.d.ts +102 -0
- package/dist/types/kit/index.d.ts +29 -0
- package/dist/types/kit/kit.test.d.ts +13 -0
- package/dist/types/kit/shell.d.ts +50 -0
- package/dist/types/kit/tool-fetch.d.ts +165 -0
- package/dist/types/launch/catalog.d.ts +51 -0
- package/dist/types/launch/contract.d.ts +385 -0
- package/dist/types/launch/credentials.d.ts +112 -0
- package/dist/types/launch/index.d.ts +28 -0
- package/dist/types/launch/invocation/attachments.d.ts +72 -0
- package/dist/types/launch/invocation/flags.d.ts +59 -0
- package/dist/types/launch/invocation/index.d.ts +23 -0
- package/dist/types/launch/invocation/read.d.ts +52 -0
- package/dist/types/launch/invocation/usage.d.ts +25 -0
- package/dist/types/launch/launch.test.d.ts +20 -0
- package/dist/types/launch/oauth.d.ts +88 -0
- package/dist/types/launch/packages.d.ts +75 -0
- package/dist/types/launch/packages.test.d.ts +15 -0
- package/dist/types/launch/pickers.d.ts +97 -0
- package/dist/types/runtime-bridge/bridges/_drive.d.ts +74 -0
- package/dist/types/runtime-bridge/bridges/builtins.d.ts +77 -0
- package/dist/types/runtime-bridge/bridges/claude-cli.d.ts +37 -0
- package/dist/types/runtime-bridge/bridges/codex-cli.d.ts +27 -0
- package/dist/types/runtime-bridge/bridges/index.d.ts +15 -0
- package/dist/types/runtime-bridge/bridges/indusagi-cli.d.ts +36 -0
- package/dist/types/runtime-bridge/broker.d.ts +182 -0
- package/dist/types/runtime-bridge/contract.d.ts +436 -0
- package/dist/types/runtime-bridge/index.d.ts +21 -0
- package/dist/types/runtime-bridge/runtime-bridge.test.d.ts +17 -0
- package/dist/types/runtime-bridge/sink.d.ts +59 -0
- package/dist/types/sessions/contract.d.ts +79 -0
- package/dist/types/sessions/index.d.ts +11 -0
- package/dist/types/sessions/library.d.ts +95 -0
- package/dist/types/sessions/sessions.test.d.ts +11 -0
- package/dist/types/settings/contract.d.ts +116 -0
- package/dist/types/settings/index.d.ts +13 -0
- package/dist/types/settings/manager.d.ts +109 -0
- package/dist/types/settings/settings.test.d.ts +16 -0
- package/dist/types/transcript-export/index.d.ts +20 -0
- package/dist/types/transcript-export/publish.d.ts +81 -0
- package/dist/types/transcript-export/sgr.d.ts +90 -0
- package/dist/types/transcript-export/template.d.ts +64 -0
- package/dist/types/transcript-export/theme-bridge.d.ts +99 -0
- package/dist/types/transcript-export/transcript-export.test.d.ts +16 -0
- package/dist/types/window-budget/budget/estimate.d.ts +47 -0
- package/dist/types/window-budget/budget/gate.d.ts +37 -0
- package/dist/types/window-budget/budget/index.d.ts +14 -0
- package/dist/types/window-budget/budget/slice.d.ts +38 -0
- package/dist/types/window-budget/condenser.d.ts +59 -0
- package/dist/types/window-budget/contract.d.ts +182 -0
- package/dist/types/window-budget/index.d.ts +15 -0
- package/dist/types/window-budget/summarize/condense.d.ts +70 -0
- package/dist/types/window-budget/summarize/index.d.ts +12 -0
- package/dist/types/window-budget/summarize/prompt.d.ts +56 -0
- package/dist/types/window-budget/window-budget.test.d.ts +18 -0
- package/dist/types/workspace/brand.d.ts +20 -0
- package/dist/types/workspace/index.d.ts +11 -0
- package/dist/types/workspace/locator.d.ts +50 -0
- package/dist/types/workspace/runtime-detect.d.ts +56 -0
- package/package.json +43 -62
- package/LICENSE +0 -8
- package/LICENSE-THIRD-PARTY.txt +0 -30
- package/demos/README.md +0 -12
- package/dist/cli.d.ts +0 -3
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -30
- package/dist/cli.js.map +0 -1
- package/dist/command-line/args.d.ts +0 -59
- package/dist/command-line/args.d.ts.map +0 -1
- package/dist/command-line/args.js +0 -332
- package/dist/command-line/args.js.map +0 -1
- package/dist/command-line/config-selector.d.ts +0 -17
- package/dist/command-line/config-selector.d.ts.map +0 -1
- package/dist/command-line/config-selector.js +0 -34
- package/dist/command-line/config-selector.js.map +0 -1
- package/dist/command-line/file-processor.d.ts +0 -15
- package/dist/command-line/file-processor.d.ts.map +0 -1
- package/dist/command-line/file-processor.js +0 -73
- package/dist/command-line/file-processor.js.map +0 -1
- package/dist/command-line/list-models.d.ts +0 -9
- package/dist/command-line/list-models.d.ts.map +0 -1
- package/dist/command-line/list-models.js +0 -74
- package/dist/command-line/list-models.js.map +0 -1
- package/dist/command-line/login-handler.d.ts +0 -94
- package/dist/command-line/login-handler.d.ts.map +0 -1
- package/dist/command-line/login-handler.js +0 -794
- package/dist/command-line/login-handler.js.map +0 -1
- package/dist/command-line/session-picker.d.ts +0 -10
- package/dist/command-line/session-picker.d.ts.map +0 -1
- package/dist/command-line/session-picker.js +0 -60
- package/dist/command-line/session-picker.js.map +0 -1
- package/dist/config.d.ts +0 -31
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -143
- package/dist/config.js.map +0 -1
- package/dist/dev/observe-deep.d.ts +0 -2
- package/dist/dev/observe-deep.d.ts.map +0 -1
- package/dist/dev/observe-deep.js +0 -333
- package/dist/dev/observe-deep.js.map +0 -1
- package/dist/dev/observe-smoke.d.ts +0 -2
- package/dist/dev/observe-smoke.d.ts.map +0 -1
- package/dist/dev/observe-smoke.js +0 -264
- package/dist/dev/observe-smoke.js.map +0 -1
- package/dist/helpers/array.d.ts +0 -438
- package/dist/helpers/array.d.ts.map +0 -1
- package/dist/helpers/array.js +0 -692
- package/dist/helpers/array.js.map +0 -1
- package/dist/helpers/changelog.d.ts +0 -20
- package/dist/helpers/changelog.d.ts.map +0 -1
- package/dist/helpers/changelog.js +0 -79
- package/dist/helpers/changelog.js.map +0 -1
- package/dist/helpers/clipboard-image.d.ts +0 -11
- package/dist/helpers/clipboard-image.d.ts.map +0 -1
- package/dist/helpers/clipboard-image.js +0 -111
- package/dist/helpers/clipboard-image.js.map +0 -1
- package/dist/helpers/clipboard.d.ts +0 -2
- package/dist/helpers/clipboard.d.ts.map +0 -1
- package/dist/helpers/clipboard.js +0 -72
- package/dist/helpers/clipboard.js.map +0 -1
- package/dist/helpers/color-formatter.d.ts +0 -318
- package/dist/helpers/color-formatter.d.ts.map +0 -1
- package/dist/helpers/color-formatter.js +0 -469
- package/dist/helpers/color-formatter.js.map +0 -1
- package/dist/helpers/data-transformer.d.ts +0 -391
- package/dist/helpers/data-transformer.d.ts.map +0 -1
- package/dist/helpers/data-transformer.js +0 -604
- package/dist/helpers/data-transformer.js.map +0 -1
- package/dist/helpers/date-formatter.d.ts +0 -316
- package/dist/helpers/date-formatter.d.ts.map +0 -1
- package/dist/helpers/date-formatter.js +0 -553
- package/dist/helpers/date-formatter.js.map +0 -1
- package/dist/helpers/error-handler.d.ts +0 -541
- package/dist/helpers/error-handler.d.ts.map +0 -1
- package/dist/helpers/error-handler.js +0 -726
- package/dist/helpers/error-handler.js.map +0 -1
- package/dist/helpers/file-operations.d.ts +0 -324
- package/dist/helpers/file-operations.d.ts.map +0 -1
- package/dist/helpers/file-operations.js +0 -543
- package/dist/helpers/file-operations.js.map +0 -1
- package/dist/helpers/frontmatter.d.ts +0 -273
- package/dist/helpers/frontmatter.d.ts.map +0 -1
- package/dist/helpers/frontmatter.js +0 -580
- package/dist/helpers/frontmatter.js.map +0 -1
- package/dist/helpers/git.d.ts +0 -2
- package/dist/helpers/git.d.ts.map +0 -1
- package/dist/helpers/git.js +0 -6
- package/dist/helpers/git.js.map +0 -1
- package/dist/helpers/image-convert.d.ts +0 -9
- package/dist/helpers/image-convert.d.ts.map +0 -1
- package/dist/helpers/image-convert.js +0 -41
- package/dist/helpers/image-convert.js.map +0 -1
- package/dist/helpers/image-resize.d.ts +0 -19
- package/dist/helpers/image-resize.d.ts.map +0 -1
- package/dist/helpers/image-resize.js +0 -143
- package/dist/helpers/image-resize.js.map +0 -1
- package/dist/helpers/json-formatter.d.ts +0 -267
- package/dist/helpers/json-formatter.d.ts.map +0 -1
- package/dist/helpers/json-formatter.js +0 -533
- package/dist/helpers/json-formatter.js.map +0 -1
- package/dist/helpers/logger.d.ts +0 -176
- package/dist/helpers/logger.d.ts.map +0 -1
- package/dist/helpers/logger.js +0 -346
- package/dist/helpers/logger.js.map +0 -1
- package/dist/helpers/markdown-formatter.d.ts +0 -235
- package/dist/helpers/markdown-formatter.d.ts.map +0 -1
- package/dist/helpers/markdown-formatter.js +0 -633
- package/dist/helpers/markdown-formatter.js.map +0 -1
- package/dist/helpers/mime.d.ts +0 -3
- package/dist/helpers/mime.d.ts.map +0 -1
- package/dist/helpers/mime.js +0 -46
- package/dist/helpers/mime.js.map +0 -1
- package/dist/helpers/open-auth-url.d.ts +0 -2
- package/dist/helpers/open-auth-url.d.ts.map +0 -1
- package/dist/helpers/open-auth-url.js +0 -59
- package/dist/helpers/open-auth-url.js.map +0 -1
- package/dist/helpers/path-validator.d.ts +0 -603
- package/dist/helpers/path-validator.d.ts.map +0 -1
- package/dist/helpers/path-validator.js +0 -895
- package/dist/helpers/path-validator.js.map +0 -1
- package/dist/helpers/photon.d.ts +0 -10
- package/dist/helpers/photon.d.ts.map +0 -1
- package/dist/helpers/photon.js +0 -132
- package/dist/helpers/photon.js.map +0 -1
- package/dist/helpers/shell.d.ts +0 -10
- package/dist/helpers/shell.d.ts.map +0 -1
- package/dist/helpers/shell.js +0 -142
- package/dist/helpers/shell.js.map +0 -1
- package/dist/helpers/sleep.d.ts +0 -5
- package/dist/helpers/sleep.d.ts.map +0 -1
- package/dist/helpers/sleep.js +0 -41
- package/dist/helpers/sleep.js.map +0 -1
- package/dist/helpers/string-formatter.d.ts +0 -609
- package/dist/helpers/string-formatter.d.ts.map +0 -1
- package/dist/helpers/string-formatter.js +0 -807
- package/dist/helpers/string-formatter.js.map +0 -1
- package/dist/helpers/tools-manager.d.ts +0 -5
- package/dist/helpers/tools-manager.d.ts.map +0 -1
- package/dist/helpers/tools-manager.js +0 -161
- package/dist/helpers/tools-manager.js.map +0 -1
- package/dist/helpers/type-guards.d.ts +0 -634
- package/dist/helpers/type-guards.d.ts.map +0 -1
- package/dist/helpers/type-guards.js +0 -671
- package/dist/helpers/type-guards.js.map +0 -1
- package/dist/index.d.ts +0 -41
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -40
- package/dist/index.js.map +0 -1
- package/dist/interfaces/index.d.ts +0 -16
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/index.js +0 -14
- package/dist/interfaces/index.js.map +0 -1
- package/dist/interfaces/print-mode.d.ts +0 -561
- package/dist/interfaces/print-mode.d.ts.map +0 -1
- package/dist/interfaces/print-mode.js +0 -633
- package/dist/interfaces/print-mode.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/command-router.d.ts +0 -19
- package/dist/interfaces/react-ink/adapters/command-router.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/command-router.js +0 -674
- package/dist/interfaces/react-ink/adapters/command-router.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-events.d.ts +0 -5
- package/dist/interfaces/react-ink/adapters/session-events.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-events.js +0 -255
- package/dist/interfaces/react-ink/adapters/session-events.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-history.d.ts +0 -14
- package/dist/interfaces/react-ink/adapters/session-history.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-history.js +0 -83
- package/dist/interfaces/react-ink/adapters/session-history.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/tool-state.d.ts +0 -4
- package/dist/interfaces/react-ink/adapters/tool-state.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/tool-state.js +0 -67
- package/dist/interfaces/react-ink/adapters/tool-state.js.map +0 -1
- package/dist/interfaces/react-ink/components/AppShell.d.ts +0 -17
- package/dist/interfaces/react-ink/components/AppShell.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/AppShell.js +0 -1535
- package/dist/interfaces/react-ink/components/AppShell.js.map +0 -1
- package/dist/interfaces/react-ink/components/ChangelogBlock.d.ts +0 -9
- package/dist/interfaces/react-ink/components/ChangelogBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/ChangelogBlock.js +0 -58
- package/dist/interfaces/react-ink/components/ChangelogBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/DisplayBlockView.d.ts +0 -9
- package/dist/interfaces/react-ink/components/DisplayBlockView.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/DisplayBlockView.js +0 -11
- package/dist/interfaces/react-ink/components/DisplayBlockView.js.map +0 -1
- package/dist/interfaces/react-ink/components/Footer.d.ts +0 -12
- package/dist/interfaces/react-ink/components/Footer.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/Footer.js +0 -88
- package/dist/interfaces/react-ink/components/Footer.js.map +0 -1
- package/dist/interfaces/react-ink/components/Header.d.ts +0 -14
- package/dist/interfaces/react-ink/components/Header.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/Header.js +0 -24
- package/dist/interfaces/react-ink/components/Header.js.map +0 -1
- package/dist/interfaces/react-ink/components/MessageList.d.ts +0 -14
- package/dist/interfaces/react-ink/components/MessageList.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/MessageList.js +0 -43
- package/dist/interfaces/react-ink/components/MessageList.js.map +0 -1
- package/dist/interfaces/react-ink/components/MessageRow.d.ts +0 -13
- package/dist/interfaces/react-ink/components/MessageRow.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/MessageRow.js +0 -35
- package/dist/interfaces/react-ink/components/MessageRow.js.map +0 -1
- package/dist/interfaces/react-ink/components/PromptInput.d.ts +0 -35
- package/dist/interfaces/react-ink/components/PromptInput.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/PromptInput.js +0 -458
- package/dist/interfaces/react-ink/components/PromptInput.js.map +0 -1
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.d.ts +0 -9
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.js +0 -14
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/StatusLine.d.ts +0 -10
- package/dist/interfaces/react-ink/components/StatusLine.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/StatusLine.js +0 -39
- package/dist/interfaces/react-ink/components/StatusLine.js.map +0 -1
- package/dist/interfaces/react-ink/components/TaskPanel.d.ts +0 -10
- package/dist/interfaces/react-ink/components/TaskPanel.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/TaskPanel.js +0 -23
- package/dist/interfaces/react-ink/components/TaskPanel.js.map +0 -1
- package/dist/interfaces/react-ink/components/ToolEventBlock.d.ts +0 -18
- package/dist/interfaces/react-ink/components/ToolEventBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/ToolEventBlock.js +0 -61
- package/dist/interfaces/react-ink/components/ToolEventBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.js +0 -6
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.d.ts +0 -15
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.js +0 -10
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.js +0 -64
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.js +0 -24
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.js +0 -95
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.d.ts +0 -17
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.js +0 -66
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.d.ts +0 -11
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.js +0 -10
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.d.ts +0 -15
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.js +0 -79
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.js +0 -99
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.d.ts +0 -8
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.d.ts +0 -30
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.js +0 -106
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.js.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.d.ts +0 -20
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.js +0 -145
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.d.ts +0 -12
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.js +0 -20
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BashMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/BashMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BashMessage.js +0 -11
- package/dist/interfaces/react-ink/components/messages/BashMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.js +0 -6
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.js +0 -6
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CustomMessage.d.ts +0 -10
- package/dist/interfaces/react-ink/components/messages/CustomMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CustomMessage.js +0 -9
- package/dist/interfaces/react-ink/components/messages/CustomMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.d.ts +0 -8
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.js +0 -10
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.js +0 -8
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.d.ts +0 -12
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.js +0 -8
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/UserMessage.d.ts +0 -10
- package/dist/interfaces/react-ink/components/messages/UserMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/UserMessage.js +0 -7
- package/dist/interfaces/react-ink/components/messages/UserMessage.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-agent-session.d.ts +0 -8
- package/dist/interfaces/react-ink/hooks/use-agent-session.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-agent-session.js +0 -34
- package/dist/interfaces/react-ink/hooks/use-agent-session.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.d.ts +0 -12
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.js +0 -17
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-footer-data.d.ts +0 -7
- package/dist/interfaces/react-ink/hooks/use-footer-data.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-footer-data.js +0 -17
- package/dist/interfaces/react-ink/hooks/use-footer-data.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.d.ts +0 -17
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.js +0 -66
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-session-history.d.ts +0 -8
- package/dist/interfaces/react-ink/hooks/use-session-history.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-session-history.js +0 -8
- package/dist/interfaces/react-ink/hooks/use-session-history.js.map +0 -1
- package/dist/interfaces/react-ink/index.d.ts +0 -8
- package/dist/interfaces/react-ink/index.d.ts.map +0 -1
- package/dist/interfaces/react-ink/index.js +0 -8
- package/dist/interfaces/react-ink/index.js.map +0 -1
- package/dist/interfaces/react-ink/interactive-mode.d.ts +0 -24
- package/dist/interfaces/react-ink/interactive-mode.d.ts.map +0 -1
- package/dist/interfaces/react-ink/interactive-mode.js +0 -57
- package/dist/interfaces/react-ink/interactive-mode.js.map +0 -1
- package/dist/interfaces/react-ink/render-root.d.ts +0 -19
- package/dist/interfaces/react-ink/render-root.d.ts.map +0 -1
- package/dist/interfaces/react-ink/render-root.js +0 -6
- package/dist/interfaces/react-ink/render-root.js.map +0 -1
- package/dist/interfaces/react-ink/state/reducer.d.ts +0 -51
- package/dist/interfaces/react-ink/state/reducer.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/reducer.js +0 -122
- package/dist/interfaces/react-ink/state/reducer.js.map +0 -1
- package/dist/interfaces/react-ink/state/store.d.ts +0 -4
- package/dist/interfaces/react-ink/state/store.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/store.js +0 -5
- package/dist/interfaces/react-ink/state/store.js.map +0 -1
- package/dist/interfaces/react-ink/state/ui-state.d.ts +0 -5
- package/dist/interfaces/react-ink/state/ui-state.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/ui-state.js +0 -20
- package/dist/interfaces/react-ink/state/ui-state.js.map +0 -1
- package/dist/interfaces/react-ink/theme-adapter.d.ts +0 -4
- package/dist/interfaces/react-ink/theme-adapter.d.ts.map +0 -1
- package/dist/interfaces/react-ink/theme-adapter.js +0 -15
- package/dist/interfaces/react-ink/theme-adapter.js.map +0 -1
- package/dist/interfaces/react-ink/types.d.ts +0 -51
- package/dist/interfaces/react-ink/types.d.ts.map +0 -1
- package/dist/interfaces/react-ink/types.js +0 -2
- package/dist/interfaces/react-ink/types.js.map +0 -1
- package/dist/interfaces/react-ink/utils/changelog.d.ts +0 -7
- package/dist/interfaces/react-ink/utils/changelog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/changelog.js +0 -40
- package/dist/interfaces/react-ink/utils/changelog.js.map +0 -1
- package/dist/interfaces/react-ink/utils/key-data.d.ts +0 -22
- package/dist/interfaces/react-ink/utils/key-data.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/key-data.js +0 -123
- package/dist/interfaces/react-ink/utils/key-data.js.map +0 -1
- package/dist/interfaces/react-ink/utils/message-groups.d.ts +0 -26
- package/dist/interfaces/react-ink/utils/message-groups.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/message-groups.js +0 -230
- package/dist/interfaces/react-ink/utils/message-groups.js.map +0 -1
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.d.ts +0 -20
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.js +0 -46
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.js.map +0 -1
- package/dist/interfaces/react-ink/utils/selection-dialog.d.ts +0 -3
- package/dist/interfaces/react-ink/utils/selection-dialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/selection-dialog.js +0 -18
- package/dist/interfaces/react-ink/utils/selection-dialog.js.map +0 -1
- package/dist/interfaces/react-ink/utils/session-actions.d.ts +0 -10
- package/dist/interfaces/react-ink/utils/session-actions.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/session-actions.js +0 -66
- package/dist/interfaces/react-ink/utils/session-actions.js.map +0 -1
- package/dist/interfaces/react-ink/utils/slash-commands.d.ts +0 -10
- package/dist/interfaces/react-ink/utils/slash-commands.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/slash-commands.js +0 -111
- package/dist/interfaces/react-ink/utils/slash-commands.js.map +0 -1
- package/dist/interfaces/react-ink/utils/startup-diagnostics.d.ts +0 -7
- package/dist/interfaces/react-ink/utils/startup-diagnostics.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/startup-diagnostics.js +0 -111
- package/dist/interfaces/react-ink/utils/startup-diagnostics.js.map +0 -1
- package/dist/interfaces/react-ink/utils/tool-display.d.ts +0 -22
- package/dist/interfaces/react-ink/utils/tool-display.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/tool-display.js +0 -349
- package/dist/interfaces/react-ink/utils/tool-display.js.map +0 -1
- package/dist/interfaces/service-api/rpc-client.d.ts +0 -1129
- package/dist/interfaces/service-api/rpc-client.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-client.js +0 -1333
- package/dist/interfaces/service-api/rpc-client.js.map +0 -1
- package/dist/interfaces/service-api/rpc-mode.d.ts +0 -813
- package/dist/interfaces/service-api/rpc-mode.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-mode.js +0 -1229
- package/dist/interfaces/service-api/rpc-mode.js.map +0 -1
- package/dist/interfaces/service-api/rpc-types.d.ts +0 -392
- package/dist/interfaces/service-api/rpc-types.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-types.js +0 -22
- package/dist/interfaces/service-api/rpc-types.js.map +0 -1
- package/dist/interfaces/shared.d.ts +0 -386
- package/dist/interfaces/shared.d.ts.map +0 -1
- package/dist/interfaces/shared.js +0 -543
- package/dist/interfaces/shared.js.map +0 -1
- package/dist/interfaces/theme/dark.json +0 -91
- package/dist/interfaces/theme/light.json +0 -90
- package/dist/interfaces/theme/theme-schema.json +0 -339
- package/dist/interfaces/theme/theme.d.ts +0 -500
- package/dist/interfaces/theme/theme.d.ts.map +0 -1
- package/dist/interfaces/theme/theme.js +0 -1511
- package/dist/interfaces/theme/theme.js.map +0 -1
- package/dist/main.d.ts +0 -8
- package/dist/main.d.ts.map +0 -1
- package/dist/main.js +0 -750
- package/dist/main.js.map +0 -1
- package/dist/migrations.d.ts +0 -8
- package/dist/migrations.d.ts.map +0 -1
- package/dist/migrations.js +0 -206
- package/dist/migrations.js.map +0 -1
- package/dist/observe.d.ts +0 -2
- package/dist/observe.d.ts.map +0 -1
- package/dist/observe.js +0 -2
- package/dist/observe.js.map +0 -1
- package/dist/runtime/agent-session.d.ts +0 -988
- package/dist/runtime/agent-session.d.ts.map +0 -1
- package/dist/runtime/agent-session.js +0 -3114
- package/dist/runtime/agent-session.js.map +0 -1
- package/dist/runtime/auth-storage.d.ts +0 -53
- package/dist/runtime/auth-storage.d.ts.map +0 -1
- package/dist/runtime/auth-storage.js +0 -378
- package/dist/runtime/auth-storage.js.map +0 -1
- package/dist/runtime/bash-executor.d.ts +0 -16
- package/dist/runtime/bash-executor.d.ts.map +0 -1
- package/dist/runtime/bash-executor.js +0 -270
- package/dist/runtime/bash-executor.js.map +0 -1
- package/dist/runtime/context-compression/branch-summarization.d.ts +0 -86
- package/dist/runtime/context-compression/branch-summarization.d.ts.map +0 -1
- package/dist/runtime/context-compression/branch-summarization.js +0 -242
- package/dist/runtime/context-compression/branch-summarization.js.map +0 -1
- package/dist/runtime/context-compression/compaction.d.ts +0 -121
- package/dist/runtime/context-compression/compaction.d.ts.map +0 -1
- package/dist/runtime/context-compression/compaction.js +0 -607
- package/dist/runtime/context-compression/compaction.js.map +0 -1
- package/dist/runtime/context-compression/index.d.ts +0 -35
- package/dist/runtime/context-compression/index.d.ts.map +0 -1
- package/dist/runtime/context-compression/index.js +0 -33
- package/dist/runtime/context-compression/index.js.map +0 -1
- package/dist/runtime/context-compression/utils.d.ts +0 -17
- package/dist/runtime/context-compression/utils.d.ts.map +0 -1
- package/dist/runtime/context-compression/utils.js +0 -117
- package/dist/runtime/context-compression/utils.js.map +0 -1
- package/dist/runtime/diagnostics.d.ts +0 -206
- package/dist/runtime/diagnostics.d.ts.map +0 -1
- package/dist/runtime/diagnostics.js +0 -144
- package/dist/runtime/diagnostics.js.map +0 -1
- package/dist/runtime/discover-packages.d.ts +0 -2
- package/dist/runtime/discover-packages.d.ts.map +0 -1
- package/dist/runtime/discover-packages.js +0 -59
- package/dist/runtime/discover-packages.js.map +0 -1
- package/dist/runtime/event-bus.d.ts +0 -9
- package/dist/runtime/event-bus.d.ts.map +0 -1
- package/dist/runtime/event-bus.js +0 -29
- package/dist/runtime/event-bus.js.map +0 -1
- package/dist/runtime/exec.d.ts +0 -13
- package/dist/runtime/exec.d.ts.map +0 -1
- package/dist/runtime/exec.js +0 -62
- package/dist/runtime/exec.js.map +0 -1
- package/dist/runtime/footer-data-provider.d.ts +0 -19
- package/dist/runtime/footer-data-provider.d.ts.map +0 -1
- package/dist/runtime/footer-data-provider.js +0 -122
- package/dist/runtime/footer-data-provider.js.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.d.ts +0 -26
- package/dist/runtime/html-export/ansi-to-html.d.ts.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.js +0 -253
- package/dist/runtime/html-export/ansi-to-html.js.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.ts +0 -262
- package/dist/runtime/html-export/index.d.ts +0 -162
- package/dist/runtime/html-export/index.d.ts.map +0 -1
- package/dist/runtime/html-export/index.js +0 -350
- package/dist/runtime/html-export/index.js.map +0 -1
- package/dist/runtime/html-export/index.ts +0 -432
- package/dist/runtime/html-export/template.css +0 -905
- package/dist/runtime/html-export/template.html +0 -76
- package/dist/runtime/html-export/template.js +0 -1549
- package/dist/runtime/html-export/tool-renderer.d.ts +0 -18
- package/dist/runtime/html-export/tool-renderer.d.ts.map +0 -1
- package/dist/runtime/html-export/tool-renderer.js +0 -45
- package/dist/runtime/html-export/tool-renderer.js.map +0 -1
- package/dist/runtime/html-export/tool-renderer.ts +0 -80
- package/dist/runtime/html-export/vendor/highlight.min.js +0 -1244
- package/dist/runtime/html-export/vendor/marked.min.js +0 -74
- package/dist/runtime/index.d.ts +0 -35
- package/dist/runtime/index.d.ts.map +0 -1
- package/dist/runtime/index.js +0 -35
- package/dist/runtime/index.js.map +0 -1
- package/dist/runtime/keybindings.d.ts +0 -20
- package/dist/runtime/keybindings.d.ts.map +0 -1
- package/dist/runtime/keybindings.js +0 -109
- package/dist/runtime/keybindings.js.map +0 -1
- package/dist/runtime/lifecycle/index.d.ts +0 -4
- package/dist/runtime/lifecycle/index.d.ts.map +0 -1
- package/dist/runtime/lifecycle/index.js +0 -3
- package/dist/runtime/lifecycle/index.js.map +0 -1
- package/dist/runtime/lifecycle/loader.d.ts +0 -6
- package/dist/runtime/lifecycle/loader.d.ts.map +0 -1
- package/dist/runtime/lifecycle/loader.js +0 -179
- package/dist/runtime/lifecycle/loader.js.map +0 -1
- package/dist/runtime/lifecycle/runner.d.ts +0 -14
- package/dist/runtime/lifecycle/runner.d.ts.map +0 -1
- package/dist/runtime/lifecycle/runner.js +0 -58
- package/dist/runtime/lifecycle/runner.js.map +0 -1
- package/dist/runtime/lifecycle/types.d.ts +0 -139
- package/dist/runtime/lifecycle/types.d.ts.map +0 -1
- package/dist/runtime/lifecycle/types.js +0 -2
- package/dist/runtime/lifecycle/types.js.map +0 -1
- package/dist/runtime/messages.d.ts +0 -2
- package/dist/runtime/messages.d.ts.map +0 -1
- package/dist/runtime/messages.js +0 -2
- package/dist/runtime/messages.js.map +0 -1
- package/dist/runtime/model-registry.d.ts +0 -62
- package/dist/runtime/model-registry.d.ts.map +0 -1
- package/dist/runtime/model-registry.js +0 -446
- package/dist/runtime/model-registry.js.map +0 -1
- package/dist/runtime/model-resolver.d.ts +0 -35
- package/dist/runtime/model-resolver.d.ts.map +0 -1
- package/dist/runtime/model-resolver.js +0 -232
- package/dist/runtime/model-resolver.js.map +0 -1
- package/dist/runtime/observe.d.ts +0 -50
- package/dist/runtime/observe.d.ts.map +0 -1
- package/dist/runtime/observe.js +0 -233
- package/dist/runtime/observe.js.map +0 -1
- package/dist/runtime/package-manager.d.ts +0 -103
- package/dist/runtime/package-manager.d.ts.map +0 -1
- package/dist/runtime/package-manager.js +0 -583
- package/dist/runtime/package-manager.js.map +0 -1
- package/dist/runtime/plugins/index.d.ts +0 -13
- package/dist/runtime/plugins/index.d.ts.map +0 -1
- package/dist/runtime/plugins/index.js +0 -23
- package/dist/runtime/plugins/index.js.map +0 -1
- package/dist/runtime/plugins/loader.d.ts +0 -19
- package/dist/runtime/plugins/loader.d.ts.map +0 -1
- package/dist/runtime/plugins/loader.js +0 -415
- package/dist/runtime/plugins/loader.js.map +0 -1
- package/dist/runtime/plugins/runner.d.ts +0 -107
- package/dist/runtime/plugins/runner.d.ts.map +0 -1
- package/dist/runtime/plugins/runner.js +0 -468
- package/dist/runtime/plugins/runner.js.map +0 -1
- package/dist/runtime/plugins/types.d.ts +0 -862
- package/dist/runtime/plugins/types.d.ts.map +0 -1
- package/dist/runtime/plugins/types.js +0 -32
- package/dist/runtime/plugins/types.js.map +0 -1
- package/dist/runtime/plugins/wrapper.d.ts +0 -29
- package/dist/runtime/plugins/wrapper.d.ts.map +0 -1
- package/dist/runtime/plugins/wrapper.js +0 -129
- package/dist/runtime/plugins/wrapper.js.map +0 -1
- package/dist/runtime/prompt-templates.d.ts +0 -18
- package/dist/runtime/prompt-templates.d.ts.map +0 -1
- package/dist/runtime/prompt-templates.js +0 -203
- package/dist/runtime/prompt-templates.js.map +0 -1
- package/dist/runtime/providers/adapters/claude-cli-adapter.d.ts +0 -19
- package/dist/runtime/providers/adapters/claude-cli-adapter.d.ts.map +0 -1
- package/dist/runtime/providers/adapters/claude-cli-adapter.js +0 -242
- package/dist/runtime/providers/adapters/claude-cli-adapter.js.map +0 -1
- package/dist/runtime/providers/adapters/codex-cli-adapter.d.ts +0 -18
- package/dist/runtime/providers/adapters/codex-cli-adapter.d.ts.map +0 -1
- package/dist/runtime/providers/adapters/codex-cli-adapter.js +0 -177
- package/dist/runtime/providers/adapters/codex-cli-adapter.js.map +0 -1
- package/dist/runtime/providers/adapters/indusagi-cli-adapter.d.ts +0 -21
- package/dist/runtime/providers/adapters/indusagi-cli-adapter.d.ts.map +0 -1
- package/dist/runtime/providers/adapters/indusagi-cli-adapter.js +0 -162
- package/dist/runtime/providers/adapters/indusagi-cli-adapter.js.map +0 -1
- package/dist/runtime/providers/adapters/utils.d.ts +0 -12
- package/dist/runtime/providers/adapters/utils.d.ts.map +0 -1
- package/dist/runtime/providers/adapters/utils.js +0 -122
- package/dist/runtime/providers/adapters/utils.js.map +0 -1
- package/dist/runtime/providers/builtins.d.ts +0 -3
- package/dist/runtime/providers/builtins.d.ts.map +0 -1
- package/dist/runtime/providers/builtins.js +0 -88
- package/dist/runtime/providers/builtins.js.map +0 -1
- package/dist/runtime/providers/provider-adapter-registry.d.ts +0 -11
- package/dist/runtime/providers/provider-adapter-registry.d.ts.map +0 -1
- package/dist/runtime/providers/provider-adapter-registry.js +0 -36
- package/dist/runtime/providers/provider-adapter-registry.js.map +0 -1
- package/dist/runtime/providers/provider-adapter.d.ts +0 -33
- package/dist/runtime/providers/provider-adapter.d.ts.map +0 -1
- package/dist/runtime/providers/provider-adapter.js +0 -2
- package/dist/runtime/providers/provider-adapter.js.map +0 -1
- package/dist/runtime/providers/provider-service.d.ts +0 -33
- package/dist/runtime/providers/provider-service.d.ts.map +0 -1
- package/dist/runtime/providers/provider-service.js +0 -157
- package/dist/runtime/providers/provider-service.js.map +0 -1
- package/dist/runtime/providers/types.d.ts +0 -29
- package/dist/runtime/providers/types.d.ts.map +0 -1
- package/dist/runtime/providers/types.js +0 -9
- package/dist/runtime/providers/types.js.map +0 -1
- package/dist/runtime/resource-loader.d.ts +0 -180
- package/dist/runtime/resource-loader.d.ts.map +0 -1
- package/dist/runtime/resource-loader.js +0 -530
- package/dist/runtime/resource-loader.js.map +0 -1
- package/dist/runtime/sdk.d.ts +0 -65
- package/dist/runtime/sdk.d.ts.map +0 -1
- package/dist/runtime/sdk.js +0 -402
- package/dist/runtime/sdk.js.map +0 -1
- package/dist/runtime/session-manager.d.ts +0 -448
- package/dist/runtime/session-manager.d.ts.map +0 -1
- package/dist/runtime/session-manager.js +0 -1177
- package/dist/runtime/session-manager.js.map +0 -1
- package/dist/runtime/settings-manager.d.ts +0 -234
- package/dist/runtime/settings-manager.d.ts.map +0 -1
- package/dist/runtime/settings-manager.js +0 -298
- package/dist/runtime/settings-manager.js.map +0 -1
- package/dist/runtime/skills.d.ts +0 -33
- package/dist/runtime/skills.d.ts.map +0 -1
- package/dist/runtime/skills.js +0 -277
- package/dist/runtime/skills.js.map +0 -1
- package/dist/runtime/subagents.d.ts +0 -29
- package/dist/runtime/subagents.d.ts.map +0 -1
- package/dist/runtime/subagents.js +0 -163
- package/dist/runtime/subagents.js.map +0 -1
- package/dist/runtime/system-prompt.d.ts +0 -16
- package/dist/runtime/system-prompt.d.ts.map +0 -1
- package/dist/runtime/system-prompt.js +0 -275
- package/dist/runtime/system-prompt.js.map +0 -1
- package/dist/runtime/task-session-manager.d.ts +0 -55
- package/dist/runtime/task-session-manager.d.ts.map +0 -1
- package/dist/runtime/task-session-manager.js +0 -410
- package/dist/runtime/task-session-manager.js.map +0 -1
- package/dist/runtime/timings.d.ts +0 -4
- package/dist/runtime/timings.d.ts.map +0 -1
- package/dist/runtime/timings.js +0 -41
- package/dist/runtime/timings.js.map +0 -1
- package/dist/runtime/todo-store.d.ts +0 -20
- package/dist/runtime/todo-store.d.ts.map +0 -1
- package/dist/runtime/todo-store.js +0 -60
- package/dist/runtime/todo-store.js.map +0 -1
- package/dist/runtime/tooling/bash.d.ts +0 -2
- package/dist/runtime/tooling/bash.d.ts.map +0 -1
- package/dist/runtime/tooling/bash.js +0 -2
- package/dist/runtime/tooling/bash.js.map +0 -1
- package/dist/runtime/tooling/bg-process.d.ts +0 -44
- package/dist/runtime/tooling/bg-process.d.ts.map +0 -1
- package/dist/runtime/tooling/bg-process.js +0 -55
- package/dist/runtime/tooling/bg-process.js.map +0 -1
- package/dist/runtime/tooling/composio-compat.d.ts +0 -169
- package/dist/runtime/tooling/composio-compat.d.ts.map +0 -1
- package/dist/runtime/tooling/composio-compat.js +0 -163
- package/dist/runtime/tooling/composio-compat.js.map +0 -1
- package/dist/runtime/tooling/edit-diff.d.ts +0 -9
- package/dist/runtime/tooling/edit-diff.d.ts.map +0 -1
- package/dist/runtime/tooling/edit-diff.js +0 -2
- package/dist/runtime/tooling/edit-diff.js.map +0 -1
- package/dist/runtime/tooling/edit.d.ts +0 -2
- package/dist/runtime/tooling/edit.d.ts.map +0 -1
- package/dist/runtime/tooling/edit.js +0 -2
- package/dist/runtime/tooling/edit.js.map +0 -1
- package/dist/runtime/tooling/find.d.ts +0 -2
- package/dist/runtime/tooling/find.d.ts.map +0 -1
- package/dist/runtime/tooling/find.js +0 -2
- package/dist/runtime/tooling/find.js.map +0 -1
- package/dist/runtime/tooling/grep.d.ts +0 -2
- package/dist/runtime/tooling/grep.d.ts.map +0 -1
- package/dist/runtime/tooling/grep.js +0 -2
- package/dist/runtime/tooling/grep.js.map +0 -1
- package/dist/runtime/tooling/index.d.ts +0 -248
- package/dist/runtime/tooling/index.d.ts.map +0 -1
- package/dist/runtime/tooling/index.js +0 -325
- package/dist/runtime/tooling/index.js.map +0 -1
- package/dist/runtime/tooling/ls.d.ts +0 -2
- package/dist/runtime/tooling/ls.d.ts.map +0 -1
- package/dist/runtime/tooling/ls.js +0 -2
- package/dist/runtime/tooling/ls.js.map +0 -1
- package/dist/runtime/tooling/memory.d.ts +0 -132
- package/dist/runtime/tooling/memory.d.ts.map +0 -1
- package/dist/runtime/tooling/memory.js +0 -171
- package/dist/runtime/tooling/memory.js.map +0 -1
- package/dist/runtime/tooling/path-utils.d.ts +0 -2
- package/dist/runtime/tooling/path-utils.d.ts.map +0 -1
- package/dist/runtime/tooling/path-utils.js +0 -2
- package/dist/runtime/tooling/path-utils.js.map +0 -1
- package/dist/runtime/tooling/read.d.ts +0 -2
- package/dist/runtime/tooling/read.d.ts.map +0 -1
- package/dist/runtime/tooling/read.js +0 -2
- package/dist/runtime/tooling/read.js.map +0 -1
- package/dist/runtime/tooling/registry.d.ts +0 -18
- package/dist/runtime/tooling/registry.d.ts.map +0 -1
- package/dist/runtime/tooling/registry.js +0 -166
- package/dist/runtime/tooling/registry.js.map +0 -1
- package/dist/runtime/tooling/task.d.ts +0 -37
- package/dist/runtime/tooling/task.d.ts.map +0 -1
- package/dist/runtime/tooling/task.js +0 -65
- package/dist/runtime/tooling/task.js.map +0 -1
- package/dist/runtime/tooling/todo.d.ts +0 -34
- package/dist/runtime/tooling/todo.d.ts.map +0 -1
- package/dist/runtime/tooling/todo.js +0 -96
- package/dist/runtime/tooling/todo.js.map +0 -1
- package/dist/runtime/tooling/truncate.d.ts +0 -2
- package/dist/runtime/tooling/truncate.d.ts.map +0 -1
- package/dist/runtime/tooling/truncate.js +0 -2
- package/dist/runtime/tooling/truncate.js.map +0 -1
- package/dist/runtime/tooling/webfetch.d.ts +0 -2
- package/dist/runtime/tooling/webfetch.d.ts.map +0 -1
- package/dist/runtime/tooling/webfetch.js +0 -2
- package/dist/runtime/tooling/webfetch.js.map +0 -1
- package/dist/runtime/tooling/websearch.d.ts +0 -2
- package/dist/runtime/tooling/websearch.d.ts.map +0 -1
- package/dist/runtime/tooling/websearch.js +0 -2
- package/dist/runtime/tooling/websearch.js.map +0 -1
- package/dist/runtime/tooling/write.d.ts +0 -2
- package/dist/runtime/tooling/write.d.ts.map +0 -1
- package/dist/runtime/tooling/write.js +0 -2
- package/dist/runtime/tooling/write.js.map +0 -1
- package/dist/telemetry/core/config.d.ts +0 -28
- package/dist/telemetry/core/config.d.ts.map +0 -1
- package/dist/telemetry/core/config.js +0 -150
- package/dist/telemetry/core/config.js.map +0 -1
- package/dist/telemetry/core/event-bus.d.ts +0 -15
- package/dist/telemetry/core/event-bus.d.ts.map +0 -1
- package/dist/telemetry/core/event-bus.js +0 -37
- package/dist/telemetry/core/event-bus.js.map +0 -1
- package/dist/telemetry/core/index.d.ts +0 -12
- package/dist/telemetry/core/index.d.ts.map +0 -1
- package/dist/telemetry/core/index.js +0 -14
- package/dist/telemetry/core/index.js.map +0 -1
- package/dist/telemetry/core/observability.d.ts +0 -63
- package/dist/telemetry/core/observability.d.ts.map +0 -1
- package/dist/telemetry/core/observability.js +0 -127
- package/dist/telemetry/core/observability.js.map +0 -1
- package/dist/telemetry/core/span.d.ts +0 -37
- package/dist/telemetry/core/span.d.ts.map +0 -1
- package/dist/telemetry/core/span.js +0 -90
- package/dist/telemetry/core/span.js.map +0 -1
- package/dist/telemetry/core/tracer.d.ts +0 -22
- package/dist/telemetry/core/tracer.d.ts.map +0 -1
- package/dist/telemetry/core/tracer.js +0 -79
- package/dist/telemetry/core/tracer.js.map +0 -1
- package/dist/telemetry/core/types.d.ts +0 -155
- package/dist/telemetry/core/types.d.ts.map +0 -1
- package/dist/telemetry/core/types.js +0 -38
- package/dist/telemetry/core/types.js.map +0 -1
- package/dist/telemetry/exporters/base-exporter.d.ts +0 -16
- package/dist/telemetry/exporters/base-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/base-exporter.js +0 -26
- package/dist/telemetry/exporters/base-exporter.js.map +0 -1
- package/dist/telemetry/exporters/console-exporter.d.ts +0 -22
- package/dist/telemetry/exporters/console-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/console-exporter.js +0 -80
- package/dist/telemetry/exporters/console-exporter.js.map +0 -1
- package/dist/telemetry/exporters/file-exporter.d.ts +0 -31
- package/dist/telemetry/exporters/file-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/file-exporter.js +0 -120
- package/dist/telemetry/exporters/file-exporter.js.map +0 -1
- package/dist/telemetry/exporters/index.d.ts +0 -12
- package/dist/telemetry/exporters/index.d.ts.map +0 -1
- package/dist/telemetry/exporters/index.js +0 -11
- package/dist/telemetry/exporters/index.js.map +0 -1
- package/dist/telemetry/exporters/langfuse-exporter.d.ts +0 -27
- package/dist/telemetry/exporters/langfuse-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/langfuse-exporter.js +0 -146
- package/dist/telemetry/exporters/langfuse-exporter.js.map +0 -1
- package/dist/telemetry/exporters/sentry-exporter.d.ts +0 -22
- package/dist/telemetry/exporters/sentry-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/sentry-exporter.js +0 -121
- package/dist/telemetry/exporters/sentry-exporter.js.map +0 -1
- package/dist/telemetry/index.d.ts +0 -3
- package/dist/telemetry/index.d.ts.map +0 -1
- package/dist/telemetry/index.js +0 -3
- package/dist/telemetry/index.js.map +0 -1
- package/dist/vendor/observe/adapters/agent-event-adapter.d.ts +0 -28
- package/dist/vendor/observe/adapters/agent-event-adapter.d.ts.map +0 -1
- package/dist/vendor/observe/adapters/agent-event-adapter.js +0 -136
- package/dist/vendor/observe/adapters/agent-event-adapter.js.map +0 -1
- package/dist/vendor/observe/adapters/ai-stream-adapter.d.ts +0 -24
- package/dist/vendor/observe/adapters/ai-stream-adapter.d.ts.map +0 -1
- package/dist/vendor/observe/adapters/ai-stream-adapter.js +0 -118
- package/dist/vendor/observe/adapters/ai-stream-adapter.js.map +0 -1
- package/dist/vendor/observe/artifacts/content-store.d.ts +0 -12
- package/dist/vendor/observe/artifacts/content-store.d.ts.map +0 -1
- package/dist/vendor/observe/artifacts/content-store.js +0 -2
- package/dist/vendor/observe/artifacts/content-store.js.map +0 -1
- package/dist/vendor/observe/artifacts/file-content-store.d.ts +0 -16
- package/dist/vendor/observe/artifacts/file-content-store.d.ts.map +0 -1
- package/dist/vendor/observe/artifacts/file-content-store.js +0 -43
- package/dist/vendor/observe/artifacts/file-content-store.js.map +0 -1
- package/dist/vendor/observe/batcher.d.ts +0 -27
- package/dist/vendor/observe/batcher.d.ts.map +0 -1
- package/dist/vendor/observe/batcher.js +0 -66
- package/dist/vendor/observe/batcher.js.map +0 -1
- package/dist/vendor/observe/client/artifacts-manager.d.ts +0 -29
- package/dist/vendor/observe/client/artifacts-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/artifacts-manager.js +0 -120
- package/dist/vendor/observe/client/artifacts-manager.js.map +0 -1
- package/dist/vendor/observe/client/datasets-manager.d.ts +0 -16
- package/dist/vendor/observe/client/datasets-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/datasets-manager.js +0 -27
- package/dist/vendor/observe/client/datasets-manager.js.map +0 -1
- package/dist/vendor/observe/client/experiments-manager.d.ts +0 -61
- package/dist/vendor/observe/client/experiments-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/experiments-manager.js +0 -132
- package/dist/vendor/observe/client/experiments-manager.js.map +0 -1
- package/dist/vendor/observe/client/index.d.ts +0 -9
- package/dist/vendor/observe/client/index.d.ts.map +0 -1
- package/dist/vendor/observe/client/index.js +0 -9
- package/dist/vendor/observe/client/index.js.map +0 -1
- package/dist/vendor/observe/client/observe-client.d.ts +0 -30
- package/dist/vendor/observe/client/observe-client.d.ts.map +0 -1
- package/dist/vendor/observe/client/observe-client.js +0 -22
- package/dist/vendor/observe/client/observe-client.js.map +0 -1
- package/dist/vendor/observe/client/prompts-manager.d.ts +0 -17
- package/dist/vendor/observe/client/prompts-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/prompts-manager.js +0 -38
- package/dist/vendor/observe/client/prompts-manager.js.map +0 -1
- package/dist/vendor/observe/client/scores-manager.d.ts +0 -10
- package/dist/vendor/observe/client/scores-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/scores-manager.js +0 -15
- package/dist/vendor/observe/client/scores-manager.js.map +0 -1
- package/dist/vendor/observe/client/sessions-manager.d.ts +0 -15
- package/dist/vendor/observe/client/sessions-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/sessions-manager.js +0 -24
- package/dist/vendor/observe/client/sessions-manager.js.map +0 -1
- package/dist/vendor/observe/client/traces-manager.d.ts +0 -23
- package/dist/vendor/observe/client/traces-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/traces-manager.js +0 -39
- package/dist/vendor/observe/client/traces-manager.js.map +0 -1
- package/dist/vendor/observe/console-exporter.d.ts +0 -11
- package/dist/vendor/observe/console-exporter.d.ts.map +0 -1
- package/dist/vendor/observe/console-exporter.js +0 -18
- package/dist/vendor/observe/console-exporter.js.map +0 -1
- package/dist/vendor/observe/context.d.ts +0 -4
- package/dist/vendor/observe/context.d.ts.map +0 -1
- package/dist/vendor/observe/context.js +0 -9
- package/dist/vendor/observe/context.js.map +0 -1
- package/dist/vendor/observe/entities/artifacts.d.ts +0 -46
- package/dist/vendor/observe/entities/artifacts.d.ts.map +0 -1
- package/dist/vendor/observe/entities/artifacts.js +0 -2
- package/dist/vendor/observe/entities/artifacts.js.map +0 -1
- package/dist/vendor/observe/entities/datasets.d.ts +0 -37
- package/dist/vendor/observe/entities/datasets.d.ts.map +0 -1
- package/dist/vendor/observe/entities/datasets.js +0 -2
- package/dist/vendor/observe/entities/datasets.js.map +0 -1
- package/dist/vendor/observe/entities/experiments.d.ts +0 -66
- package/dist/vendor/observe/entities/experiments.d.ts.map +0 -1
- package/dist/vendor/observe/entities/experiments.js +0 -2
- package/dist/vendor/observe/entities/experiments.js.map +0 -1
- package/dist/vendor/observe/entities/index.d.ts +0 -9
- package/dist/vendor/observe/entities/index.d.ts.map +0 -1
- package/dist/vendor/observe/entities/index.js +0 -9
- package/dist/vendor/observe/entities/index.js.map +0 -1
- package/dist/vendor/observe/entities/prompts.d.ts +0 -25
- package/dist/vendor/observe/entities/prompts.d.ts.map +0 -1
- package/dist/vendor/observe/entities/prompts.js +0 -2
- package/dist/vendor/observe/entities/prompts.js.map +0 -1
- package/dist/vendor/observe/entities/scores.d.ts +0 -28
- package/dist/vendor/observe/entities/scores.d.ts.map +0 -1
- package/dist/vendor/observe/entities/scores.js +0 -2
- package/dist/vendor/observe/entities/scores.js.map +0 -1
- package/dist/vendor/observe/entities/sessions.d.ts +0 -36
- package/dist/vendor/observe/entities/sessions.d.ts.map +0 -1
- package/dist/vendor/observe/entities/sessions.js +0 -2
- package/dist/vendor/observe/entities/sessions.js.map +0 -1
- package/dist/vendor/observe/entities/shared.d.ts +0 -26
- package/dist/vendor/observe/entities/shared.d.ts.map +0 -1
- package/dist/vendor/observe/entities/shared.js +0 -2
- package/dist/vendor/observe/entities/shared.js.map +0 -1
- package/dist/vendor/observe/entities/traces.d.ts +0 -59
- package/dist/vendor/observe/entities/traces.d.ts.map +0 -1
- package/dist/vendor/observe/entities/traces.js +0 -2
- package/dist/vendor/observe/entities/traces.js.map +0 -1
- package/dist/vendor/observe/exporter.d.ts +0 -2
- package/dist/vendor/observe/exporter.d.ts.map +0 -1
- package/dist/vendor/observe/exporter.js +0 -2
- package/dist/vendor/observe/exporter.js.map +0 -1
- package/dist/vendor/observe/file-exporter.d.ts +0 -16
- package/dist/vendor/observe/file-exporter.d.ts.map +0 -1
- package/dist/vendor/observe/file-exporter.js +0 -39
- package/dist/vendor/observe/file-exporter.js.map +0 -1
- package/dist/vendor/observe/global.d.ts +0 -6
- package/dist/vendor/observe/global.d.ts.map +0 -1
- package/dist/vendor/observe/global.js +0 -17
- package/dist/vendor/observe/global.js.map +0 -1
- package/dist/vendor/observe/index.d.ts +0 -24
- package/dist/vendor/observe/index.d.ts.map +0 -1
- package/dist/vendor/observe/index.js +0 -24
- package/dist/vendor/observe/index.js.map +0 -1
- package/dist/vendor/observe/noop.d.ts +0 -17
- package/dist/vendor/observe/noop.d.ts.map +0 -1
- package/dist/vendor/observe/noop.js +0 -80
- package/dist/vendor/observe/noop.js.map +0 -1
- package/dist/vendor/observe/privacy.d.ts +0 -18
- package/dist/vendor/observe/privacy.d.ts.map +0 -1
- package/dist/vendor/observe/privacy.js +0 -160
- package/dist/vendor/observe/privacy.js.map +0 -1
- package/dist/vendor/observe/query/simple-query-client.d.ts +0 -11
- package/dist/vendor/observe/query/simple-query-client.d.ts.map +0 -1
- package/dist/vendor/observe/query/simple-query-client.js +0 -31
- package/dist/vendor/observe/query/simple-query-client.js.map +0 -1
- package/dist/vendor/observe/replay/session-replay.d.ts +0 -20
- package/dist/vendor/observe/replay/session-replay.d.ts.map +0 -1
- package/dist/vendor/observe/replay/session-replay.js +0 -180
- package/dist/vendor/observe/replay/session-replay.js.map +0 -1
- package/dist/vendor/observe/runtime.d.ts +0 -27
- package/dist/vendor/observe/runtime.d.ts.map +0 -1
- package/dist/vendor/observe/runtime.js +0 -177
- package/dist/vendor/observe/runtime.js.map +0 -1
- package/dist/vendor/observe/server/dashboard-html.d.ts +0 -6
- package/dist/vendor/observe/server/dashboard-html.d.ts.map +0 -1
- package/dist/vendor/observe/server/dashboard-html.js +0 -305
- package/dist/vendor/observe/server/dashboard-html.js.map +0 -1
- package/dist/vendor/observe/server/http-observe-server.d.ts +0 -62
- package/dist/vendor/observe/server/http-observe-server.d.ts.map +0 -1
- package/dist/vendor/observe/server/http-observe-server.js +0 -418
- package/dist/vendor/observe/server/http-observe-server.js.map +0 -1
- package/dist/vendor/observe/server/in-memory-observe-server.d.ts +0 -20
- package/dist/vendor/observe/server/in-memory-observe-server.d.ts.map +0 -1
- package/dist/vendor/observe/server/in-memory-observe-server.js +0 -76
- package/dist/vendor/observe/server/in-memory-observe-server.js.map +0 -1
- package/dist/vendor/observe/span.d.ts +0 -45
- package/dist/vendor/observe/span.d.ts.map +0 -1
- package/dist/vendor/observe/span.js +0 -110
- package/dist/vendor/observe/span.js.map +0 -1
- package/dist/vendor/observe/store/contracts.d.ts +0 -59
- package/dist/vendor/observe/store/contracts.d.ts.map +0 -1
- package/dist/vendor/observe/store/contracts.js +0 -2
- package/dist/vendor/observe/store/contracts.js.map +0 -1
- package/dist/vendor/observe/store/file-control-plane-store.d.ts +0 -33
- package/dist/vendor/observe/store/file-control-plane-store.d.ts.map +0 -1
- package/dist/vendor/observe/store/file-control-plane-store.js +0 -146
- package/dist/vendor/observe/store/file-control-plane-store.js.map +0 -1
- package/dist/vendor/observe/store/in-memory-control-plane-store.d.ts +0 -84
- package/dist/vendor/observe/store/in-memory-control-plane-store.d.ts.map +0 -1
- package/dist/vendor/observe/store/in-memory-control-plane-store.js +0 -447
- package/dist/vendor/observe/store/in-memory-control-plane-store.js.map +0 -1
- package/dist/vendor/observe/store/index.d.ts +0 -4
- package/dist/vendor/observe/store/index.d.ts.map +0 -1
- package/dist/vendor/observe/store/index.js +0 -4
- package/dist/vendor/observe/store/index.js.map +0 -1
- package/dist/vendor/observe/types.d.ts +0 -246
- package/dist/vendor/observe/types.d.ts.map +0 -1
- package/dist/vendor/observe/types.js +0 -152
- package/dist/vendor/observe/types.js.map +0 -1
- package/dist/vendor/observe/worker/in-memory-observe-worker.d.ts +0 -25
- package/dist/vendor/observe/worker/in-memory-observe-worker.d.ts.map +0 -1
- package/dist/vendor/observe/worker/in-memory-observe-worker.js +0 -82
- package/dist/vendor/observe/worker/in-memory-observe-worker.js.map +0 -1
- package/guides/CLAUDE_CODEX_CLI_INTEGRATION_PLAN.md +0 -321
- package/guides/INDUSAGI_MONO_MIT_REMOVAL_GUIDE.md +0 -2132
- package/guides/INDUSVX_OBSERVE_FULL_INTEGRATION_REPORT.md +0 -543
- package/guides/OBSERVE_DEEP_VALIDATION.md +0 -252
- package/guides/OBSERVE_LOCAL_TESTING.md +0 -183
- package/guides/OPTION3_PROVIDER_ADAPTER_RUNTIME_PLAN.md +0 -370
- package/guides/SAME_TO_SAME_PARITY_REPORT.md +0 -312
- package/tasks/patch-indusagi-react-host.mjs +0 -247
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Addons subsystem — Phase 6 behavioral tests (no real jiti, no disk).
|
|
3
|
+
*
|
|
4
|
+
* Every test injects a fake {@link ModuleLoader} that maps a source path to a
|
|
5
|
+
* scripted {@link AddonManifest}, so the full host pipeline — discover (via
|
|
6
|
+
* `explicitPaths`, which never touches the filesystem) → load → register against
|
|
7
|
+
* a fresh {@link AddonSurface} → fold into one registry → wire the
|
|
8
|
+
* {@link EventDispatcher} and {@link InterceptorChain} → collect commands/tools —
|
|
9
|
+
* runs end-to-end without a single real import or `stat`.
|
|
10
|
+
*
|
|
11
|
+
* Four concerns, exercised purely:
|
|
12
|
+
* 1. An addon that records a `tool:before` *observe* plus a `chat:params`
|
|
13
|
+
* *transform* gets both wired: dispatching runs the observe and folds the
|
|
14
|
+
* transform; a `gate` handler can veto.
|
|
15
|
+
* 2. A {@link ToolInterceptor} an addon registers wraps a tool call — its
|
|
16
|
+
* `enter`/`exit` straddle the execution and observe before/after.
|
|
17
|
+
* 3. Commands and tools an addon contributes are collected on the bundle.
|
|
18
|
+
* 4. Two addons compose with order preserved; a reserved action name is
|
|
19
|
+
* rejected as a conflict fault and dropped.
|
|
20
|
+
*/
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Addons contract — the FROZEN type surface of the third-party customization
|
|
3
|
+
* layer.
|
|
4
|
+
*
|
|
5
|
+
* This module is the single typed seam between the coding-agent *product* and
|
|
6
|
+
* code that does not ship with it: locally-authored TypeScript modules that
|
|
7
|
+
* graft tools, slash commands, lifecycle observers, and tool-boundary
|
|
8
|
+
* interceptors onto a running session. It declares *only* shapes plus a handful
|
|
9
|
+
* of tiny inert helpers (a brand minter, a fault factory, and a pure
|
|
10
|
+
* empty-manifest constant) — no I/O, no module loading, no dispatch. Every
|
|
11
|
+
* later addons module (the jiti-backed sandbox loader, the capability registry,
|
|
12
|
+
* the surface builder, the event dispatcher, and the interceptor chain) is
|
|
13
|
+
* written against the names declared here, so the file is intentionally small,
|
|
14
|
+
* append-mostly, and stable.
|
|
15
|
+
*
|
|
16
|
+
* Design stance — three deliberate divergences from the prevailing
|
|
17
|
+
* "factory writes into per-addon Maps" pattern:
|
|
18
|
+
*
|
|
19
|
+
* 1. **Return-a-manifest registration.** An addon module's `register` is
|
|
20
|
+
* handed an {@link AddonSurface} and *records* its intent — subscriptions,
|
|
21
|
+
* interceptors, commands, tools — but the registration calls do not mutate
|
|
22
|
+
* any global runtime. The host reads the recorded {@link AddonManifest}
|
|
23
|
+
* back out and folds it into one shared registry. Registration is a pure
|
|
24
|
+
* description of capability, not a side effect on the agent.
|
|
25
|
+
*
|
|
26
|
+
* 2. **One unified event model.** Lifecycle observation, payload
|
|
27
|
+
* transformation, and veto are a single {@link EventDispatcher} of
|
|
28
|
+
* colon-named {@link HookEvent}s, each carrying a {@link HookHandler} of one
|
|
29
|
+
* of three middleware kinds — `observe` (fire-and-forget), `transform`
|
|
30
|
+
* (returns a replacement payload), `gate` (returns a stop decision). There
|
|
31
|
+
* is no second parallel "hooks" system; the dotted vocabulary is replaced
|
|
32
|
+
* by colon names (`tool:before`, `chat:params`, `shell:env`, …).
|
|
33
|
+
*
|
|
34
|
+
* 3. **A tool-boundary pipeline.** The per-tool interception path is an
|
|
35
|
+
* ordered {@link InterceptorChain} of {@link ToolInterceptor} stages with
|
|
36
|
+
* `enter`/`exit` hooks, applied as a reduce (enter forward, exit reverse) —
|
|
37
|
+
* not a nested-if tool wrapper.
|
|
38
|
+
*
|
|
39
|
+
* The module loader is **injectable** ({@link ModuleLoader}): the default is
|
|
40
|
+
* jiti-backed (resolving TypeScript modules inside a compiled binary via
|
|
41
|
+
* bundled-namespace virtual modules), but a test injects a scripted fake that
|
|
42
|
+
* returns an {@link AddonManifest} with no real jiti and no disk access.
|
|
43
|
+
*
|
|
44
|
+
* Framework anchors (all from the `indusagi` package — the sibling rebuilt
|
|
45
|
+
* framework this app targets):
|
|
46
|
+
* - `AgentTool`, `AgentToolResult`, `AgentMessage` ← `indusagi/agent`
|
|
47
|
+
* - `Model`, `ThinkingLevel` ← `indusagi/agent` / `indusagi/ai`
|
|
48
|
+
* - `Component`, `KeyId` ← `indusagi/tui`
|
|
49
|
+
* - `TSchema`, `Static` ← `@sinclair/typebox`
|
|
50
|
+
*
|
|
51
|
+
* The contract never re-declares these; it composes them.
|
|
52
|
+
*/
|
|
53
|
+
import type { AgentMessage, AgentTool, AgentToolResult, ThinkingLevel } from "indusagi/agent";
|
|
54
|
+
import type { Model } from "indusagi/ai";
|
|
55
|
+
import type { Component, KeyId } from "indusagi/tui";
|
|
56
|
+
import type { Static, TSchema } from "@sinclair/typebox";
|
|
57
|
+
/** Re-exported framework vocabulary that addon consumers routinely need. */
|
|
58
|
+
export type { AgentMessage, AgentTool, AgentToolResult, ThinkingLevel, Model, Component, KeyId, TSchema, Static, };
|
|
59
|
+
/**
|
|
60
|
+
* The module specifiers an addon may import that are statically bundled into the
|
|
61
|
+
* compiled binary and re-exposed to dynamically-loaded addon code.
|
|
62
|
+
*
|
|
63
|
+
* In a compiled single-file binary, an addon's `import "indusagi/agent"` cannot
|
|
64
|
+
* resolve against `node_modules` — the framework is already inside the binary.
|
|
65
|
+
* The sandbox satisfies these specifiers from in-memory namespace objects
|
|
66
|
+
* (jiti's `virtualModules` option) so the addon shares the host's exact module
|
|
67
|
+
* instances. In Node/dev the same specifiers resolve to real files (jiti's
|
|
68
|
+
* `alias` option). The literal set is the contract; the resolution mechanism is
|
|
69
|
+
* the sandbox's concern.
|
|
70
|
+
*/
|
|
71
|
+
export type BundledNamespace = "indusagi/agent" | "indusagi/ai" | "indusagi/tui" | "@sinclair/typebox";
|
|
72
|
+
/**
|
|
73
|
+
* The frozen list of {@link BundledNamespace} specifiers, in a stable order.
|
|
74
|
+
*
|
|
75
|
+
* The sandbox loader maps each entry to its statically-imported namespace object
|
|
76
|
+
* to build the jiti `virtualModules` / `alias` record. Declared here so the
|
|
77
|
+
* loader and any introspection share one source of truth.
|
|
78
|
+
*/
|
|
79
|
+
export declare const BUNDLED_NAMESPACES: readonly BundledNamespace[];
|
|
80
|
+
/**
|
|
81
|
+
* String-branded stable identifier for a loaded addon.
|
|
82
|
+
*
|
|
83
|
+
* Derived from the addon's declared `id` (or its source path when absent);
|
|
84
|
+
* branded so an arbitrary string cannot be passed where a vetted addon id is
|
|
85
|
+
* required. Mint one with {@link addonId}.
|
|
86
|
+
*/
|
|
87
|
+
export type AddonId = string & {
|
|
88
|
+
readonly __addon: unique symbol;
|
|
89
|
+
};
|
|
90
|
+
/** Brand a raw string as an {@link AddonId}. The single sanctioned minter. */
|
|
91
|
+
export declare function addonId(raw: string): AddonId;
|
|
92
|
+
/**
|
|
93
|
+
* What an addon module returns (or whose `register` the host invokes) — the
|
|
94
|
+
* top-level export the {@link ModuleLoader} resolves.
|
|
95
|
+
*
|
|
96
|
+
* An addon is a plain object, not a class: it declares its identity and a single
|
|
97
|
+
* `register` entry point. `register` receives an {@link AddonSurface} and uses
|
|
98
|
+
* it to *record* the addon's contributions; the host then reads those
|
|
99
|
+
* contributions back as a {@link RegisteredManifest}. The addon never reaches
|
|
100
|
+
* into global agent state — its only channel is the surface it is handed.
|
|
101
|
+
*/
|
|
102
|
+
export interface AddonManifest {
|
|
103
|
+
/**
|
|
104
|
+
* Stable identifier for the addon. When omitted, the host derives one from the
|
|
105
|
+
* source path. Used for de-duplication, error attribution, and conflict
|
|
106
|
+
* diagnostics.
|
|
107
|
+
*/
|
|
108
|
+
readonly id?: string;
|
|
109
|
+
/** Optional semantic version string, surfaced in diagnostics and listings. */
|
|
110
|
+
readonly version?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The addon's single entry point.
|
|
113
|
+
*
|
|
114
|
+
* Invoked once at load time with a fresh {@link AddonSurface}. Synchronous or
|
|
115
|
+
* async; it records subscriptions / interceptors / commands / tools onto the
|
|
116
|
+
* surface and returns nothing. Throwing here is captured as an
|
|
117
|
+
* {@link AddonFault} and never crashes the host.
|
|
118
|
+
*
|
|
119
|
+
* @param surface the registration API scoped to this addon
|
|
120
|
+
*/
|
|
121
|
+
register(surface: AddonSurface): void | Promise<void>;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* The contributions an addon recorded through its {@link AddonSurface}, read
|
|
125
|
+
* back by the host after `register` runs — the return value of registration,
|
|
126
|
+
* not a mutation of shared state.
|
|
127
|
+
*
|
|
128
|
+
* This is the declarative result the host folds into its single capability
|
|
129
|
+
* registry: the event subscriptions, the tool interceptors, the slash commands,
|
|
130
|
+
* and the tools the addon contributed. Each entry carries enough provenance
|
|
131
|
+
* ({@link AddonId}) to attribute a later failure back to its origin addon.
|
|
132
|
+
*/
|
|
133
|
+
export interface RegisteredManifest {
|
|
134
|
+
/** The addon these contributions belong to. */
|
|
135
|
+
readonly addon: AddonId;
|
|
136
|
+
/** Optional version copied from the {@link AddonManifest}. */
|
|
137
|
+
readonly version?: string;
|
|
138
|
+
/** Event subscriptions the addon registered via {@link AddonSurface.on}. */
|
|
139
|
+
readonly subscriptions: readonly EventSubscription[];
|
|
140
|
+
/** Tool interceptors the addon registered via {@link AddonSurface.interceptTool}. */
|
|
141
|
+
readonly interceptors: readonly ToolInterceptor[];
|
|
142
|
+
/** Slash commands the addon registered via {@link AddonSurface.addCommand}. */
|
|
143
|
+
readonly commands: readonly AddonCommand[];
|
|
144
|
+
/** Tools the addon registered via {@link AddonSurface.addTool}. */
|
|
145
|
+
readonly tools: readonly AddonTool[];
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* An immutable, empty {@link RegisteredManifest} for a given addon — the seed an
|
|
149
|
+
* accumulating surface starts from, and a safe value to fold for an addon that
|
|
150
|
+
* registered nothing.
|
|
151
|
+
*
|
|
152
|
+
* @param addon the addon this empty manifest is attributed to
|
|
153
|
+
* @param version optional version to carry through
|
|
154
|
+
*/
|
|
155
|
+
export declare function emptyManifest(addon: AddonId, version?: string): RegisteredManifest;
|
|
156
|
+
/**
|
|
157
|
+
* The colon-named event vocabulary an addon can hook.
|
|
158
|
+
*
|
|
159
|
+
* One unified taxonomy replaces the split between broad lifecycle events and
|
|
160
|
+
* low-level mutation hooks. Names are colon-segmented (`scope:phase`) rather
|
|
161
|
+
* than dot-segmented, and a single event can be observed, transformed, or gated
|
|
162
|
+
* depending on the {@link HookHandler.kind} an addon attaches:
|
|
163
|
+
*
|
|
164
|
+
* - `session:start` / `session:end` — a session opened / closed.
|
|
165
|
+
* - `turn:start` / `turn:end` — an assistant turn began / settled.
|
|
166
|
+
* - `tool:before` / `tool:after` — straddle a single tool execution.
|
|
167
|
+
* - `chat:params` — the model request options are being built.
|
|
168
|
+
* - `chat:message` — an assistant message was assembled.
|
|
169
|
+
* - `shell:env` — the environment for a shell action is being prepared.
|
|
170
|
+
* - `input:submit` — user input is entering the loop (transform/gate).
|
|
171
|
+
* - `context:build` — the message context is being assembled for the model.
|
|
172
|
+
* - `compact:before` — the transcript is about to be condensed (gate).
|
|
173
|
+
*/
|
|
174
|
+
export type HookEvent = "session:start" | "session:end" | "turn:start" | "turn:end" | "tool:before" | "tool:after" | "chat:params" | "chat:message" | "shell:env" | "input:submit" | "context:build" | "compact:build" | "compact:before";
|
|
175
|
+
/**
|
|
176
|
+
* The three middleware kinds a {@link HookHandler} can be.
|
|
177
|
+
*
|
|
178
|
+
* - `observe` — fire-and-forget: inspect the payload, return nothing. Cannot
|
|
179
|
+
* alter or veto; errors are isolated and never affect the flow.
|
|
180
|
+
* - `transform` — return a replacement payload that the dispatcher threads into
|
|
181
|
+
* the next handler (and ultimately back to the agent).
|
|
182
|
+
* - `gate` — return a {@link GateDecision}; a `{ stop: true }` short-circuits
|
|
183
|
+
* the event (vetoing a tool call, a compaction, a switch).
|
|
184
|
+
*/
|
|
185
|
+
export type HookKind = "observe" | "transform" | "gate";
|
|
186
|
+
/**
|
|
187
|
+
* A veto/short-circuit decision returned by a `gate` {@link HookHandler}.
|
|
188
|
+
*
|
|
189
|
+
* `stop: false` (or an omitted return) lets the flow continue; `stop: true`
|
|
190
|
+
* halts it, with the optional `reason` surfaced to the user/logs. Replaces the
|
|
191
|
+
* scattered `cancel`/`block`/`reason` result fields with one shape.
|
|
192
|
+
*/
|
|
193
|
+
export interface GateDecision {
|
|
194
|
+
/** Whether to halt the gated flow. */
|
|
195
|
+
readonly stop: boolean;
|
|
196
|
+
/** Human-readable explanation when {@link stop} is `true`. */
|
|
197
|
+
readonly reason?: string;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* The discriminated handler an addon attaches to a {@link HookEvent}.
|
|
201
|
+
*
|
|
202
|
+
* The `kind` selects the middleware contract the `run` callback must honor:
|
|
203
|
+
* `observe` returns nothing, `transform` returns a (possibly new) payload of the
|
|
204
|
+
* same shape, `gate` returns a {@link GateDecision}. `TPayload` is the event's
|
|
205
|
+
* payload type; the dispatcher supplies it and (for `transform`) carries the
|
|
206
|
+
* return value forward. All three may be async.
|
|
207
|
+
*/
|
|
208
|
+
export type HookHandler<TPayload = unknown> = {
|
|
209
|
+
readonly kind: "observe";
|
|
210
|
+
run(payload: TPayload): void | Promise<void>;
|
|
211
|
+
} | {
|
|
212
|
+
readonly kind: "transform";
|
|
213
|
+
run(payload: TPayload): TPayload | Promise<TPayload>;
|
|
214
|
+
} | {
|
|
215
|
+
readonly kind: "gate";
|
|
216
|
+
run(payload: TPayload): GateDecision | void | Promise<GateDecision | void>;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* One recorded subscription: the event an addon hooked, the handler it attached,
|
|
220
|
+
* and the addon it came from.
|
|
221
|
+
*
|
|
222
|
+
* Produced by {@link AddonSurface.on} and collected into
|
|
223
|
+
* {@link RegisteredManifest.subscriptions}. The {@link EventDispatcher} folds all
|
|
224
|
+
* subscriptions for an event into an ordered middleware run.
|
|
225
|
+
*/
|
|
226
|
+
export interface EventSubscription {
|
|
227
|
+
/** The event this subscription is bound to. */
|
|
228
|
+
readonly event: HookEvent;
|
|
229
|
+
/** The middleware handler invoked when the event fires. */
|
|
230
|
+
readonly handler: HookHandler;
|
|
231
|
+
/** The addon that registered this subscription, for error attribution. */
|
|
232
|
+
readonly addon: AddonId;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* The fan-out / transform / veto engine that runs an event's
|
|
236
|
+
* {@link EventSubscription}s in order.
|
|
237
|
+
*
|
|
238
|
+
* Unifies what were previously separate "emit events" and "trigger hooks"
|
|
239
|
+
* systems into one surface. Dispatching an event threads its payload through
|
|
240
|
+
* every matching handler: `observe` handlers see it untouched, `transform`
|
|
241
|
+
* handlers replace it, and a `gate` handler can stop the chain. Errors from any
|
|
242
|
+
* handler are isolated into an {@link AddonFault} routed to listeners — never
|
|
243
|
+
* propagated into the agent loop.
|
|
244
|
+
*/
|
|
245
|
+
export interface EventDispatcher {
|
|
246
|
+
/**
|
|
247
|
+
* Run an event through its subscribed middleware and return the outcome.
|
|
248
|
+
*
|
|
249
|
+
* The returned {@link DispatchOutcome} carries the (possibly transformed)
|
|
250
|
+
* payload and any gate decision. Order is registration order across all
|
|
251
|
+
* addons.
|
|
252
|
+
*
|
|
253
|
+
* @param event the event to dispatch
|
|
254
|
+
* @param payload the initial payload threaded through the chain
|
|
255
|
+
*/
|
|
256
|
+
dispatch<TPayload>(event: HookEvent, payload: TPayload): Promise<DispatchOutcome<TPayload>>;
|
|
257
|
+
/** Whether any addon has subscribed to the given event. */
|
|
258
|
+
has(event: HookEvent): boolean;
|
|
259
|
+
/** Register a listener for per-handler {@link AddonFault}s. Returns an unsubscribe. */
|
|
260
|
+
onFault(listener: AddonFaultListener): () => void;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* The result of dispatching one event through the {@link EventDispatcher}.
|
|
264
|
+
*
|
|
265
|
+
* `payload` is the value after every `transform` handler has run (identical to
|
|
266
|
+
* the input when none transformed it). `gate`, when present, is the first
|
|
267
|
+
* stopping {@link GateDecision} a `gate` handler returned; consumers treat a
|
|
268
|
+
* `gate.stop === true` as a veto of whatever the event guards.
|
|
269
|
+
*/
|
|
270
|
+
export interface DispatchOutcome<TPayload> {
|
|
271
|
+
/** The payload after all transform middleware ran. */
|
|
272
|
+
readonly payload: TPayload;
|
|
273
|
+
/** The stopping gate decision, if any handler vetoed the flow. */
|
|
274
|
+
readonly gate?: GateDecision;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* The arguments a tool is about to be invoked with, passed to a
|
|
278
|
+
* {@link ToolInterceptor.enter} stage so it can inspect or rewrite them.
|
|
279
|
+
*
|
|
280
|
+
* `args` is the decoded parameter object the agent built for this call; a stage
|
|
281
|
+
* may return a replacement (or a {@link GateDecision} to block the call
|
|
282
|
+
* outright). Field names are this layer's own — not the framework's tool-call
|
|
283
|
+
* schema.
|
|
284
|
+
*/
|
|
285
|
+
export interface ToolEnterContext {
|
|
286
|
+
/** Wire-facing name of the tool being invoked. */
|
|
287
|
+
readonly tool: string;
|
|
288
|
+
/** Stable id correlating this enter with its matching exit. */
|
|
289
|
+
readonly callId: string;
|
|
290
|
+
/** The decoded parameter object the tool will execute against. */
|
|
291
|
+
readonly args: Readonly<Record<string, unknown>>;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* The result a tool produced (or the error it threw), passed to a
|
|
295
|
+
* {@link ToolInterceptor.exit} stage so it can inspect or rewrite the outcome.
|
|
296
|
+
*
|
|
297
|
+
* Carries the framework {@link AgentToolResult} on success; on failure `error`
|
|
298
|
+
* is set and `result` is absent. An exit stage may return a replacement result
|
|
299
|
+
* (e.g. to redact, annotate, or recover) which the chain threads onward.
|
|
300
|
+
*/
|
|
301
|
+
export interface ToolExitContext {
|
|
302
|
+
/** Wire-facing name of the tool that ran. */
|
|
303
|
+
readonly tool: string;
|
|
304
|
+
/** Stable id correlating this exit with its enter. */
|
|
305
|
+
readonly callId: string;
|
|
306
|
+
/** The result the tool produced, when it succeeded. */
|
|
307
|
+
readonly result?: AgentToolResult<unknown>;
|
|
308
|
+
/** The error the tool threw, when it failed. */
|
|
309
|
+
readonly error?: unknown;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* What a {@link ToolInterceptor.enter} stage may return.
|
|
313
|
+
*
|
|
314
|
+
* - `undefined` / nothing — leave the args unchanged, continue the chain.
|
|
315
|
+
* - a partial {@link ToolEnterContext} with new `args` — replace the arguments.
|
|
316
|
+
* - a {@link GateDecision} with `stop: true` — block the tool call entirely.
|
|
317
|
+
*/
|
|
318
|
+
export type EnterOutcome = void | {
|
|
319
|
+
readonly args: Readonly<Record<string, unknown>>;
|
|
320
|
+
} | GateDecision;
|
|
321
|
+
/**
|
|
322
|
+
* What a {@link ToolInterceptor.exit} stage may return.
|
|
323
|
+
*
|
|
324
|
+
* - `undefined` / nothing — leave the outcome unchanged, continue the chain.
|
|
325
|
+
* - a replacement {@link AgentToolResult} — rewrite the tool's result.
|
|
326
|
+
*/
|
|
327
|
+
export type ExitOutcome = void | AgentToolResult<unknown>;
|
|
328
|
+
/**
|
|
329
|
+
* A single stage in the tool-boundary {@link InterceptorChain}.
|
|
330
|
+
*
|
|
331
|
+
* Replaces the nested before/after wrapper with a composable stage that
|
|
332
|
+
* straddles tool execution: `enter` runs before the tool (may rewrite args or
|
|
333
|
+
* block), `exit` runs after (may rewrite the result). Either may be omitted. The
|
|
334
|
+
* chain applies `enter` stages forward and `exit` stages in reverse, so an addon
|
|
335
|
+
* loaded first wraps the outermost layer. Provenance is carried for attribution.
|
|
336
|
+
*/
|
|
337
|
+
export interface ToolInterceptor {
|
|
338
|
+
/**
|
|
339
|
+
* Which tools this interceptor applies to: a specific tool name, or `"*"` for
|
|
340
|
+
* every tool.
|
|
341
|
+
*/
|
|
342
|
+
readonly match: string | "*";
|
|
343
|
+
/** The addon that registered this interceptor, for error attribution. */
|
|
344
|
+
readonly addon: AddonId;
|
|
345
|
+
/** Pre-execution stage: inspect/rewrite args or block the call. */
|
|
346
|
+
enter?(ctx: ToolEnterContext): EnterOutcome | Promise<EnterOutcome>;
|
|
347
|
+
/** Post-execution stage: inspect/rewrite the result. */
|
|
348
|
+
exit?(ctx: ToolExitContext): ExitOutcome | Promise<ExitOutcome>;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* The ordered pipeline that threads a single tool execution through every
|
|
352
|
+
* matching {@link ToolInterceptor}.
|
|
353
|
+
*
|
|
354
|
+
* This is the tool-boundary integration point: it folds the registered
|
|
355
|
+
* interceptors around the real `AgentTool.execute`, running `enter` stages
|
|
356
|
+
* forward (honoring an early block), executing the tool, then running `exit`
|
|
357
|
+
* stages in reverse. It replaces both the old tool wrapper and the dotted
|
|
358
|
+
* before/after hook trigger with one reduce.
|
|
359
|
+
*/
|
|
360
|
+
export interface InterceptorChain {
|
|
361
|
+
/**
|
|
362
|
+
* Run a tool's execution through the interceptor pipeline.
|
|
363
|
+
*
|
|
364
|
+
* Applies matching `enter` stages (rewriting args, or short-circuiting on a
|
|
365
|
+
* block), invokes `execute` with the final args, then applies matching `exit`
|
|
366
|
+
* stages in reverse. A blocked enter resolves without calling `execute`.
|
|
367
|
+
*
|
|
368
|
+
* @param ctx the entering call context (tool, callId, initial args)
|
|
369
|
+
* @param execute the real tool invocation, called with the final args
|
|
370
|
+
*/
|
|
371
|
+
run(ctx: ToolEnterContext, execute: (args: Readonly<Record<string, unknown>>) => Promise<AgentToolResult<unknown>>): Promise<InterceptResult>;
|
|
372
|
+
/** Whether any interceptor matches the given tool name. */
|
|
373
|
+
matches(tool: string): boolean;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* The outcome of running a tool through the {@link InterceptorChain}.
|
|
377
|
+
*
|
|
378
|
+
* On a normal run `result` holds the (possibly rewritten) tool result. When an
|
|
379
|
+
* `enter` stage blocked the call, `blocked` carries the {@link GateDecision} and
|
|
380
|
+
* `result` is absent — the tool never executed.
|
|
381
|
+
*/
|
|
382
|
+
export interface InterceptResult {
|
|
383
|
+
/** The final tool result, when the call was allowed to run. */
|
|
384
|
+
readonly result?: AgentToolResult<unknown>;
|
|
385
|
+
/** The blocking decision, when an enter stage vetoed the call. */
|
|
386
|
+
readonly blocked?: GateDecision;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* A tool an addon contributes to the session.
|
|
390
|
+
*
|
|
391
|
+
* Deliberately an alias of the framework {@link AgentTool} rather than a fresh
|
|
392
|
+
* descriptor: the agent loop consumes `AgentTool` objects directly, so an
|
|
393
|
+
* addon's job is to *supply* one, not to wrap it. `TParameters` is left open so
|
|
394
|
+
* heterogeneous addon tools coexist in one `AddonTool[]`.
|
|
395
|
+
*/
|
|
396
|
+
export type AddonTool<TParameters extends TSchema = TSchema, TDetails = unknown> = AgentTool<TParameters, TDetails>;
|
|
397
|
+
/**
|
|
398
|
+
* Where a slash {@link AddonCommand} runs and what it can reach.
|
|
399
|
+
*
|
|
400
|
+
* Handed to a command handler at invocation time: the parsed argument string,
|
|
401
|
+
* the workspace root, and a small set of framework handles (so the command can
|
|
402
|
+
* send a message, switch the model, or drive the TUI) without the addon holding
|
|
403
|
+
* global state. Optional handles are absent in non-interactive run modes.
|
|
404
|
+
*/
|
|
405
|
+
export interface CommandContext {
|
|
406
|
+
/** The raw argument string following the command name. */
|
|
407
|
+
readonly args: string;
|
|
408
|
+
/** Absolute working directory the session is scoped to. */
|
|
409
|
+
readonly cwd: string;
|
|
410
|
+
/** Framework handles the command may use (model switch, message send, TUI). */
|
|
411
|
+
readonly handles: FrameworkHandles;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* A slash command an addon contributes.
|
|
415
|
+
*
|
|
416
|
+
* The model never calls a command — the user does, by name. `name` is the
|
|
417
|
+
* invocation token (without a leading slash), `summary` lines it in help, and
|
|
418
|
+
* `run` executes it against a {@link CommandContext}. Provenance is carried for
|
|
419
|
+
* conflict diagnostics when two addons claim the same name.
|
|
420
|
+
*/
|
|
421
|
+
export interface AddonCommand {
|
|
422
|
+
/** Invocation token (no leading slash), unique across loaded addons. */
|
|
423
|
+
readonly name: string;
|
|
424
|
+
/** One-line description for the command palette / help listing. */
|
|
425
|
+
readonly summary: string;
|
|
426
|
+
/** The addon that registered this command, for conflict attribution. */
|
|
427
|
+
readonly addon: AddonId;
|
|
428
|
+
/**
|
|
429
|
+
* Execute the command.
|
|
430
|
+
*
|
|
431
|
+
* @param ctx the invocation context (args, cwd, framework handles)
|
|
432
|
+
*/
|
|
433
|
+
run(ctx: CommandContext): void | Promise<void>;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* The bag of framework handles an addon may reach through — exposed on the
|
|
437
|
+
* {@link AddonSurface} and threaded into a {@link CommandContext}.
|
|
438
|
+
*
|
|
439
|
+
* These are the controlled callbacks an addon uses to act on the session
|
|
440
|
+
* (instead of importing and mutating agent internals). Every handle is optional:
|
|
441
|
+
* a print/JSON run mode supplies fewer than an interactive TUI. The shapes are
|
|
442
|
+
* intentionally minimal — richer wiring is the host's concern, not the
|
|
443
|
+
* contract's.
|
|
444
|
+
*/
|
|
445
|
+
export interface FrameworkHandles {
|
|
446
|
+
/** Inject an assistant-visible message into the active turn. */
|
|
447
|
+
readonly sendMessage?: (text: string) => void | Promise<void>;
|
|
448
|
+
/** Switch the active model by canonical id. */
|
|
449
|
+
readonly setModel?: (id: string) => void | Promise<void>;
|
|
450
|
+
/** Adjust the reasoning-effort level for subsequent turns. */
|
|
451
|
+
readonly setThinking?: (level: ThinkingLevel) => void;
|
|
452
|
+
/** Render an ephemeral TUI component (absent outside interactive mode). */
|
|
453
|
+
readonly render?: (component: Component) => void;
|
|
454
|
+
/** Run a shell command and resolve its captured output. */
|
|
455
|
+
readonly exec?: (command: string) => Promise<ExecOutcome>;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* The captured outcome of a {@link FrameworkHandles.exec} invocation.
|
|
459
|
+
*
|
|
460
|
+
* A small, framework-agnostic shape: the process's standard streams and exit
|
|
461
|
+
* code, so an addon can branch on success without parsing a richer result.
|
|
462
|
+
*/
|
|
463
|
+
export interface ExecOutcome {
|
|
464
|
+
/** Captured standard output. */
|
|
465
|
+
readonly stdout: string;
|
|
466
|
+
/** Captured standard error. */
|
|
467
|
+
readonly stderr: string;
|
|
468
|
+
/** Process exit code (`0` on success), or `null` if terminated by signal. */
|
|
469
|
+
readonly code: number | null;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* The registration API a single addon receives in its
|
|
473
|
+
* {@link AddonManifest.register} entry point.
|
|
474
|
+
*
|
|
475
|
+
* Each method *records* a contribution rather than mutating global agent state:
|
|
476
|
+
* the host hands a fresh surface to each addon, the addon calls these to
|
|
477
|
+
* describe what it wants, and the host reads the accumulated
|
|
478
|
+
* {@link RegisteredManifest} back out via {@link AddonSurface.manifest}.
|
|
479
|
+
* Read-only access to framework handles is provided through
|
|
480
|
+
* {@link AddonSurface.handles} for the rare case an addon must act at
|
|
481
|
+
* registration time.
|
|
482
|
+
*/
|
|
483
|
+
export interface AddonSurface {
|
|
484
|
+
/** The id of the addon this surface is scoped to. */
|
|
485
|
+
readonly id: AddonId;
|
|
486
|
+
/**
|
|
487
|
+
* Subscribe a {@link HookHandler} to a colon-named {@link HookEvent}.
|
|
488
|
+
*
|
|
489
|
+
* The handler's {@link HookHandler.kind} selects whether it observes,
|
|
490
|
+
* transforms, or gates the event. Records an {@link EventSubscription}.
|
|
491
|
+
*
|
|
492
|
+
* @param event the event to hook
|
|
493
|
+
* @param handler the observe/transform/gate middleware
|
|
494
|
+
*/
|
|
495
|
+
on<TPayload>(event: HookEvent, handler: HookHandler<TPayload>): void;
|
|
496
|
+
/**
|
|
497
|
+
* Register a {@link ToolInterceptor} for the tool-boundary pipeline.
|
|
498
|
+
*
|
|
499
|
+
* @param name the tool name to intercept, or `"*"` for every tool
|
|
500
|
+
* @param interceptor the enter/exit stage (its `match`/`addon` are filled by the surface)
|
|
501
|
+
*/
|
|
502
|
+
interceptTool(name: string | "*", interceptor: Omit<ToolInterceptor, "match" | "addon">): void;
|
|
503
|
+
/**
|
|
504
|
+
* Register a slash command.
|
|
505
|
+
*
|
|
506
|
+
* @param name invocation token (no leading slash)
|
|
507
|
+
* @param handler the command definition (its `name`/`addon` are filled by the surface)
|
|
508
|
+
*/
|
|
509
|
+
addCommand(name: string, handler: Omit<AddonCommand, "name" | "addon">): void;
|
|
510
|
+
/**
|
|
511
|
+
* Register an LLM-callable tool.
|
|
512
|
+
*
|
|
513
|
+
* @param card the framework {@link AddonTool} to add to the session's deck
|
|
514
|
+
*/
|
|
515
|
+
addTool(card: AddonTool): void;
|
|
516
|
+
/**
|
|
517
|
+
* Read-only access to the framework handles an addon may act through at
|
|
518
|
+
* registration time. The same shape is threaded into command contexts.
|
|
519
|
+
*/
|
|
520
|
+
readonly handles: FrameworkHandles;
|
|
521
|
+
/**
|
|
522
|
+
* The accumulated {@link RegisteredManifest} of everything recorded so far.
|
|
523
|
+
*
|
|
524
|
+
* The host reads this after `register` settles to fold the addon's
|
|
525
|
+
* contributions into its single registry. Recording-then-returning, not
|
|
526
|
+
* mutating-global-state, is the whole point of the surface.
|
|
527
|
+
*/
|
|
528
|
+
manifest(): RegisteredManifest;
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* The injectable seam that turns a source path into an {@link AddonManifest}.
|
|
532
|
+
*
|
|
533
|
+
* The default implementation is jiti-backed: it builds a sandbox over the
|
|
534
|
+
* {@link BUNDLED_NAMESPACES} (via jiti's `virtualModules` in a compiled binary
|
|
535
|
+
* or `alias` in Node/dev) and imports the module's default/`register` export. A
|
|
536
|
+
* test injects a fake that returns a scripted manifest with no real jiti and no
|
|
537
|
+
* filesystem — the host code never assumes a concrete loader, only this
|
|
538
|
+
* interface.
|
|
539
|
+
*/
|
|
540
|
+
export interface ModuleLoader {
|
|
541
|
+
/**
|
|
542
|
+
* Resolve and load the addon module at `path`, returning its
|
|
543
|
+
* {@link AddonManifest}.
|
|
544
|
+
*
|
|
545
|
+
* Implementations isolate import failures and surface them as a rejected
|
|
546
|
+
* promise (the host converts the rejection into an {@link AddonFault}).
|
|
547
|
+
*
|
|
548
|
+
* @param path absolute path to the addon's entry module
|
|
549
|
+
*/
|
|
550
|
+
load(path: string): Promise<AddonManifest>;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* Configuration for discovering addon source modules.
|
|
554
|
+
*
|
|
555
|
+
* Discovery walks a set of roots — by default the per-workspace `.indus/addons`
|
|
556
|
+
* directory — plus any explicitly configured paths, yielding the entry modules
|
|
557
|
+
* the {@link ModuleLoader} will load. The directory name and field are this
|
|
558
|
+
* app's own vocabulary.
|
|
559
|
+
*/
|
|
560
|
+
export interface AddonDiscovery {
|
|
561
|
+
/**
|
|
562
|
+
* The workspace root whose `.indus/addons` directory is scanned. When absent,
|
|
563
|
+
* only {@link explicitPaths} are used.
|
|
564
|
+
*/
|
|
565
|
+
readonly workspace?: string;
|
|
566
|
+
/**
|
|
567
|
+
* The directory (relative to {@link workspace}) addons are discovered in.
|
|
568
|
+
* Defaults to {@link ADDONS_DIR}.
|
|
569
|
+
*/
|
|
570
|
+
readonly dir?: string;
|
|
571
|
+
/** Additional absolute paths to addon entry modules, loaded as-is. */
|
|
572
|
+
readonly explicitPaths?: readonly string[];
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* The default per-workspace directory addons are discovered in, relative to the
|
|
576
|
+
* workspace root. This app's own vocabulary.
|
|
577
|
+
*/
|
|
578
|
+
export declare const ADDONS_DIR: ".indus/addons";
|
|
579
|
+
/**
|
|
580
|
+
* The `package.json` field an addon package uses to declare its entry module —
|
|
581
|
+
* this app's own manifest key. The discovery walker reads this when a candidate
|
|
582
|
+
* is a package directory rather than a bare module file.
|
|
583
|
+
*/
|
|
584
|
+
export declare const ADDON_MANIFEST_FIELD: "indusAddon";
|
|
585
|
+
/**
|
|
586
|
+
* One discovered addon source the loader will resolve.
|
|
587
|
+
*
|
|
588
|
+
* Produced by discovery and consumed by the {@link ModuleLoader}: the absolute
|
|
589
|
+
* entry `path` and a stable {@link AddonId} derived for it (from the declared id
|
|
590
|
+
* or the path). Distinct from the loaded {@link AddonManifest} — a source is
|
|
591
|
+
* "where", a manifest is "what".
|
|
592
|
+
*/
|
|
593
|
+
export interface AddonSource {
|
|
594
|
+
/** Stable id assigned to this source for attribution and de-duplication. */
|
|
595
|
+
readonly id: AddonId;
|
|
596
|
+
/** Absolute path to the addon's entry module. */
|
|
597
|
+
readonly path: string;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* The closed set of failure categories the addon system can surface.
|
|
601
|
+
*
|
|
602
|
+
* - `load` — resolving/importing an addon module failed.
|
|
603
|
+
* - `register` — an addon's `register` entry point threw.
|
|
604
|
+
* - `handler` — an event handler or interceptor stage threw at runtime.
|
|
605
|
+
* - `command` — a slash command handler threw.
|
|
606
|
+
* - `conflict` — two addons claimed the same command name (or tool id).
|
|
607
|
+
*/
|
|
608
|
+
export type AddonFaultKind = "load" | "register" | "handler" | "command" | "conflict";
|
|
609
|
+
/**
|
|
610
|
+
* A typed, discriminated failure raised by the addon system.
|
|
611
|
+
*
|
|
612
|
+
* `kind` selects the category; `message` is a human-readable summary; `addon`
|
|
613
|
+
* (when known) attributes it to the originating addon; the optional `cause`
|
|
614
|
+
* carries the underlying error for logging without forcing consumers to parse
|
|
615
|
+
* the message. Construct one with {@link addonFault}.
|
|
616
|
+
*/
|
|
617
|
+
export interface AddonFault {
|
|
618
|
+
/** Failure category — the discriminant consumers switch on. */
|
|
619
|
+
readonly kind: AddonFaultKind;
|
|
620
|
+
/** Human-readable, single-line summary of what went wrong. */
|
|
621
|
+
readonly message: string;
|
|
622
|
+
/** The addon the fault is attributed to, when known. */
|
|
623
|
+
readonly addon?: AddonId;
|
|
624
|
+
/** Underlying error or structured detail, if any. */
|
|
625
|
+
readonly cause?: unknown;
|
|
626
|
+
}
|
|
627
|
+
/** A subscriber for {@link AddonFault}s routed off the dispatcher / host. */
|
|
628
|
+
export type AddonFaultListener = (fault: AddonFault) => void;
|
|
629
|
+
/**
|
|
630
|
+
* Construct an {@link AddonFault}. The single sanctioned minter, so the shape
|
|
631
|
+
* stays uniform across every producer.
|
|
632
|
+
*
|
|
633
|
+
* @param kind the failure category
|
|
634
|
+
* @param message a human-readable, single-line summary
|
|
635
|
+
* @param detail optional `{ addon, cause }` provenance
|
|
636
|
+
*/
|
|
637
|
+
export declare function addonFault(kind: AddonFaultKind, message: string, detail?: {
|
|
638
|
+
addon?: AddonId;
|
|
639
|
+
cause?: unknown;
|
|
640
|
+
}): AddonFault;
|