indusagi-coding-agent 0.1.59 → 0.1.61
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 +60 -48
- package/CREDITS.md +19 -0
- package/NOTICE +7 -0
- package/README.md +65 -63
- package/dist/entry.js +19251 -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,165 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool-fetch kit — a managed-binary provisioner stub for the native helpers the
|
|
3
|
+
* agent shells out to (a fast file finder and a fast content grep, fd / rg).
|
|
4
|
+
*
|
|
5
|
+
* The agent prefers native binaries when present and otherwise provisions them
|
|
6
|
+
* from a project release page into a managed directory. This module owns the
|
|
7
|
+
* *resolution and URL-building* half of that flow as a small, injectable stub:
|
|
8
|
+
*
|
|
9
|
+
* - {@link resolveManagedBinaryPath} computes where a managed binary lives on
|
|
10
|
+
* disk (the managed `bin/` directory + the platform-correct file name),
|
|
11
|
+
* without touching the filesystem;
|
|
12
|
+
* - {@link pickReleaseAsset} selects the right release asset for the host by
|
|
13
|
+
* matching a per-tool {@link RegExp} against the asset names a release
|
|
14
|
+
* exposes — a regex matcher rather than a per-tool string switch;
|
|
15
|
+
* - {@link buildDownloadRequest} renders the asset download URL plus the
|
|
16
|
+
* outbound request headers, stamping this kit's own {@link KIT_USER_AGENT}.
|
|
17
|
+
*
|
|
18
|
+
* The network is *optional and injectable*: nothing here calls `fetch`. A caller
|
|
19
|
+
* supplies a {@link ReleaseLookup} (e.g. backed by a release REST endpoint, a
|
|
20
|
+
* fixture, or a cache) and this module turns its result into a concrete request.
|
|
21
|
+
* That keeps the module pure, host-agnostic, and trivially testable offline.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* The `User-Agent` this kit stamps on every outbound provisioning request.
|
|
25
|
+
*
|
|
26
|
+
* A fresh, self-describing token owned by this module — release hosts expect a
|
|
27
|
+
* non-empty agent string, and a distinctive one keeps the agent's traffic
|
|
28
|
+
* identifiable in server logs. Versioned so the string can move with the kit.
|
|
29
|
+
*/
|
|
30
|
+
export declare const KIT_USER_AGENT = "indusagi-kit-provisioner/1.0";
|
|
31
|
+
/**
|
|
32
|
+
* A declarative description of one provisionable native helper.
|
|
33
|
+
*
|
|
34
|
+
* The provisioner is driven entirely off an array of these: there is no
|
|
35
|
+
* per-tool branch anywhere in the flow. {@link assetMatcher} is the load-bearing
|
|
36
|
+
* field — a {@link RegExp} tested against each candidate asset name to pick the
|
|
37
|
+
* host build, replacing the old per-platform name templates.
|
|
38
|
+
*/
|
|
39
|
+
export interface ToolDescriptor {
|
|
40
|
+
/** The bare binary name the agent invokes, e.g. `"fd"` / `"rg"`. */
|
|
41
|
+
readonly bin: string;
|
|
42
|
+
/** The owner/repo coordinate the release is fetched from, e.g. `"owner/tool"`. */
|
|
43
|
+
readonly repo: string;
|
|
44
|
+
/**
|
|
45
|
+
* A regex selecting this tool's asset for the *current host* from a release's
|
|
46
|
+
* asset list. The caller composes platform / arch fragments into the pattern;
|
|
47
|
+
* the matcher then does the selection, so adding a tool is data, not code.
|
|
48
|
+
*/
|
|
49
|
+
readonly assetMatcher: RegExp;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Compute the on-disk path of a managed binary without touching the filesystem.
|
|
53
|
+
*
|
|
54
|
+
* Joins the managed binaries directory with the platform-correct executable
|
|
55
|
+
* name — the bare `bin` name on POSIX, the same name with a `.exe` suffix on
|
|
56
|
+
* Windows. Pure: it builds a string and never stats the path, so a caller can
|
|
57
|
+
* decide separately whether the binary is actually present.
|
|
58
|
+
*
|
|
59
|
+
* @param binDir the managed binaries directory (e.g. the workspace `bin/`)
|
|
60
|
+
* @param bin the bare binary name, e.g. `"fd"`
|
|
61
|
+
* @param platform the host platform tag (defaults to `process.platform`)
|
|
62
|
+
*/
|
|
63
|
+
export declare function resolveManagedBinaryPath(binDir: string, bin: string, platform?: NodeJS.Platform): string;
|
|
64
|
+
/**
|
|
65
|
+
* One downloadable asset on a release, reduced to the two fields the matcher
|
|
66
|
+
* and the request builder need.
|
|
67
|
+
*/
|
|
68
|
+
export interface ReleaseAsset {
|
|
69
|
+
/** The asset file name matched against a {@link ToolDescriptor.assetMatcher}. */
|
|
70
|
+
readonly name: string;
|
|
71
|
+
/** The fully-qualified URL the asset bytes are fetched from. */
|
|
72
|
+
readonly url: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* A resolved release: its tag and the assets it exposes.
|
|
76
|
+
*
|
|
77
|
+
* Whatever produces this — a live REST call, a fixture, a cache — is the
|
|
78
|
+
* caller's concern; this module only consumes the shape.
|
|
79
|
+
*/
|
|
80
|
+
export interface ReleaseInfo {
|
|
81
|
+
/** The release tag, e.g. `"v1.2.3"`; surfaced for path / version templating. */
|
|
82
|
+
readonly tag: string;
|
|
83
|
+
/** Every downloadable asset on the release. */
|
|
84
|
+
readonly assets: readonly ReleaseAsset[];
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* The injected, optional network boundary.
|
|
88
|
+
*
|
|
89
|
+
* A caller supplies a function that resolves a `owner/repo` coordinate to its
|
|
90
|
+
* latest {@link ReleaseInfo}. This module never imports a HTTP client; the
|
|
91
|
+
* lookup is the single seam where real network access (or a stub) is plugged
|
|
92
|
+
* in, keeping {@link buildDownloadRequest} pure and offline-testable.
|
|
93
|
+
*/
|
|
94
|
+
export type ReleaseLookup = (repo: string) => Promise<ReleaseInfo>;
|
|
95
|
+
/**
|
|
96
|
+
* Select the release asset matching a tool's {@link ToolDescriptor.assetMatcher}.
|
|
97
|
+
*
|
|
98
|
+
* Tests each asset name against the descriptor's regex and returns the first
|
|
99
|
+
* match, or `null` when no asset fits the host (a release that lacks a build for
|
|
100
|
+
* this platform / arch). Pure: it filters the supplied list and performs no I/O.
|
|
101
|
+
*
|
|
102
|
+
* @param descriptor the tool whose asset is being located
|
|
103
|
+
* @param release the release whose assets are searched
|
|
104
|
+
*/
|
|
105
|
+
export declare function pickReleaseAsset(descriptor: ToolDescriptor, release: ReleaseInfo): ReleaseAsset | null;
|
|
106
|
+
/**
|
|
107
|
+
* A ready-to-issue download request: the URL plus the outbound headers.
|
|
108
|
+
*
|
|
109
|
+
* The caller hands this to whatever HTTP client it owns; this module builds it
|
|
110
|
+
* but never sends it (the network stays injectable).
|
|
111
|
+
*/
|
|
112
|
+
export interface DownloadRequest {
|
|
113
|
+
/** The asset URL to fetch. */
|
|
114
|
+
readonly url: string;
|
|
115
|
+
/** The asset file name (useful for the unpack / install step). */
|
|
116
|
+
readonly assetName: string;
|
|
117
|
+
/** The outbound request headers, including this kit's {@link KIT_USER_AGENT}. */
|
|
118
|
+
readonly headers: Readonly<Record<string, string>>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Render the download request for a selected release asset.
|
|
122
|
+
*
|
|
123
|
+
* Stamps the kit {@link KIT_USER_AGENT} and an octet-stream `Accept` so the
|
|
124
|
+
* release host returns the raw asset rather than a metadata document, then
|
|
125
|
+
* carries through the asset URL and name. Pure string assembly — issuing the
|
|
126
|
+
* request is the caller's job.
|
|
127
|
+
*
|
|
128
|
+
* @param asset the asset chosen by {@link pickReleaseAsset}
|
|
129
|
+
*/
|
|
130
|
+
export declare function buildDownloadRequest(asset: ReleaseAsset): DownloadRequest;
|
|
131
|
+
/**
|
|
132
|
+
* A computed provisioning plan for one tool: where the binary should land and
|
|
133
|
+
* how to fetch its bytes.
|
|
134
|
+
*
|
|
135
|
+
* This is the stub's terminal value — everything needed to perform the install
|
|
136
|
+
* (download to {@link DownloadRequest.url}, unpack, move to
|
|
137
|
+
* {@link targetPath}, mark executable) without this module performing any of it.
|
|
138
|
+
*/
|
|
139
|
+
export interface ProvisionPlan {
|
|
140
|
+
/** The bare binary name being provisioned. */
|
|
141
|
+
readonly bin: string;
|
|
142
|
+
/** Where the installed binary should live (from {@link resolveManagedBinaryPath}). */
|
|
143
|
+
readonly targetPath: string;
|
|
144
|
+
/** The release tag the plan was built against. */
|
|
145
|
+
readonly tag: string;
|
|
146
|
+
/** The request that fetches the matching asset for the host. */
|
|
147
|
+
readonly download: DownloadRequest;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Build a {@link ProvisionPlan} for a tool by looking up its latest release and
|
|
151
|
+
* selecting the host asset.
|
|
152
|
+
*
|
|
153
|
+
* Resolves the release through the injected {@link ReleaseLookup}, picks the
|
|
154
|
+
* asset via {@link pickReleaseAsset}, and assembles the on-disk target path and
|
|
155
|
+
* the download request. The network touch is entirely the caller-supplied
|
|
156
|
+
* `lookup`; this function adds no I/O of its own. Returns `null` when the
|
|
157
|
+
* release exposes no asset for the host, so a caller can fall back to a
|
|
158
|
+
* system-installed binary.
|
|
159
|
+
*
|
|
160
|
+
* @param descriptor the tool to provision
|
|
161
|
+
* @param binDir the managed binaries directory the binary installs into
|
|
162
|
+
* @param lookup the injected release resolver (the only network seam)
|
|
163
|
+
* @param platform the host platform tag (defaults to `process.platform`)
|
|
164
|
+
*/
|
|
165
|
+
export declare function planProvision(descriptor: ToolDescriptor, binDir: string, lookup: ReleaseLookup, platform?: NodeJS.Platform): Promise<ProvisionPlan | null>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model catalog printer — `printModelCatalog`.
|
|
3
|
+
*
|
|
4
|
+
* Renders the available models as a padded text table. The data comes from the
|
|
5
|
+
* framework {@link ModelRegistry} (via its `getModels` per provider); this module
|
|
6
|
+
* re-derives the rows it needs, applies a plain case-insensitive
|
|
7
|
+
* {@link CatalogFilter}, sorts by provider then model id, and lays the result out
|
|
8
|
+
* as aligned columns with a Title-Case header and a rule row beneath it.
|
|
9
|
+
*
|
|
10
|
+
* Filtering is a literal substring test — no fuzzy matcher, no external ranking.
|
|
11
|
+
* The column set (provider, model, context window, max output, thinking, images)
|
|
12
|
+
* is the established model-table shape; only the headers and ordering are this
|
|
13
|
+
* module's own.
|
|
14
|
+
*/
|
|
15
|
+
import { ModelRegistry, type KnownProvider, type Model } from "indusagi/ai";
|
|
16
|
+
import type { CatalogFilter } from "./contract";
|
|
17
|
+
/**
|
|
18
|
+
* The minimal sink the catalog prints onto. A test captures the lines into an
|
|
19
|
+
* array; production passes a writer over `process.stdout`.
|
|
20
|
+
*/
|
|
21
|
+
export interface CatalogIo {
|
|
22
|
+
/** Emit one line of table text. */
|
|
23
|
+
print(line: string): void;
|
|
24
|
+
}
|
|
25
|
+
/** The default {@link CatalogIo} backed by `process.stdout`. */
|
|
26
|
+
export declare function defaultCatalogIo(): CatalogIo;
|
|
27
|
+
/**
|
|
28
|
+
* The seam the catalog sources its raw models from. Defaults to a fresh
|
|
29
|
+
* framework {@link ModelRegistry}; tests inject a stand-in to drive the layout
|
|
30
|
+
* deterministically.
|
|
31
|
+
*/
|
|
32
|
+
export interface CatalogModelSource {
|
|
33
|
+
/** Enumerate the providers to scan. */
|
|
34
|
+
providers(): readonly (KnownProvider | string)[];
|
|
35
|
+
/** Pull every model for one provider. */
|
|
36
|
+
models(provider: string): readonly Model<Model<string>["api"]>[];
|
|
37
|
+
}
|
|
38
|
+
/** Build a {@link CatalogModelSource} over a framework {@link ModelRegistry}. */
|
|
39
|
+
export declare function registrySource(registry?: ModelRegistry): CatalogModelSource;
|
|
40
|
+
/**
|
|
41
|
+
* Print the model catalog table.
|
|
42
|
+
*
|
|
43
|
+
* Pulls every model from the framework registry, applies {@link filter}, sorts,
|
|
44
|
+
* and writes the aligned table through {@link io}. When the filter matches
|
|
45
|
+
* nothing, a single explanatory line is printed instead of an empty table.
|
|
46
|
+
*
|
|
47
|
+
* @param io the line sink (defaults to `process.stdout`)
|
|
48
|
+
* @param filter optional provider / capability / substring narrowing
|
|
49
|
+
* @param source optional model source (defaults to the live framework registry)
|
|
50
|
+
*/
|
|
51
|
+
export declare function printModelCatalog(io?: CatalogIo, filter?: CatalogFilter, source?: CatalogModelSource): void;
|
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Launch contract — the FROZEN type surface of Phase 10 (command-line surface).
|
|
3
|
+
*
|
|
4
|
+
* This module is the single typed seam between a raw `argv` and a fully
|
|
5
|
+
* configured run. It owns the *application* command line: the declarative flag
|
|
6
|
+
* table, the parsed {@link Invocation} those flags fold into, the gathered
|
|
7
|
+
* `@file` {@link Attachments}, and the typed {@link CredentialFault} the
|
|
8
|
+
* api-key sign-in surface raises. It declares *only* shapes plus a few inert,
|
|
9
|
+
* pure helpers — no parsing, no readline, no I/O, no React. The reader
|
|
10
|
+
* ({@link readInvocation}), the usage renderer ({@link renderUsage}), the
|
|
11
|
+
* attachment gatherer ({@link gatherAttachments}), the model-catalog printer
|
|
12
|
+
* ({@link printModelCatalog}), the resume picker ({@link pickResumeTarget}),
|
|
13
|
+
* the settings browser ({@link browseSettings}), and the credential command
|
|
14
|
+
* ({@link runCredentialCommand}) are each written against the names declared
|
|
15
|
+
* here, so the file is intentionally small, append-mostly, and stable.
|
|
16
|
+
*
|
|
17
|
+
* Design stance:
|
|
18
|
+
* - There is exactly **one declarative {@link FlagSpec} table** ({@link FLAGS}).
|
|
19
|
+
* The reader walks it to bind tokens; {@link renderUsage} generates the help
|
|
20
|
+
* text *from the same table*. Help and parsing cannot drift, because there
|
|
21
|
+
* is no second hand-maintained help string to drift against.
|
|
22
|
+
* - {@link Invocation} is a **superset of the boot-layer minimal invocation**:
|
|
23
|
+
* it keeps `mode` / `prompt` / `flags` / `positionals` and adds the resolved,
|
|
24
|
+
* strongly-typed launch fields the runtime reads (model, account, system
|
|
25
|
+
* prompt, thinking effort, the tool/extension/mcp rosters, the output
|
|
26
|
+
* toggles). Boot routes on the thin shape; the launch layer enriches it.
|
|
27
|
+
* - Sign-in is **api-key only**. {@link runCredentialCommand} validates and
|
|
28
|
+
* stores keys per named account through the framework credential vault and
|
|
29
|
+
* {@link getEnvApiKey}; there is no OAuth verb and no OAuth route. Failures
|
|
30
|
+
* are a single typed {@link CredentialFault} union, never string sentinels.
|
|
31
|
+
* - `@file` arguments expand to one {@link Attachments} value: inlined prose
|
|
32
|
+
* plus base64 media, with the framework path resolver doing the lookup.
|
|
33
|
+
*
|
|
34
|
+
* Framework anchors (all from the `indusagi` package — the sibling rebuilt
|
|
35
|
+
* framework this app targets):
|
|
36
|
+
* - `ThinkingLevel`, `SessionInfo`, `SessionListProgress`, `resolveReadPath`
|
|
37
|
+
* ← `indusagi/agent`
|
|
38
|
+
* - `ImageContent`, `KnownProvider`, `ModelRegistry`, `getEnvApiKey`
|
|
39
|
+
* ← `indusagi/ai`
|
|
40
|
+
* - `Settings` ← `indusagi/shell-app`
|
|
41
|
+
*
|
|
42
|
+
* The launch layer never re-declares these; it composes them. The credential
|
|
43
|
+
* vault (`AuthVault`) is an app-owned forward declaration here because the
|
|
44
|
+
* framework publishes no credential-store type; Phase 2 supplies the concrete
|
|
45
|
+
* multi-account vault.
|
|
46
|
+
*/
|
|
47
|
+
import type { SessionInfo as ResumeRef, SessionListProgress, ThinkingLevel } from "indusagi/agent";
|
|
48
|
+
import type { ImageContent, KnownProvider, ModelRegistry, OAuthCredentials } from "indusagi/ai";
|
|
49
|
+
import type { Settings } from "indusagi/shell-app";
|
|
50
|
+
import type { RunnerId } from "../boot/contract";
|
|
51
|
+
/**
|
|
52
|
+
* Re-exported framework / boot vocabulary that launch consumers routinely need.
|
|
53
|
+
*
|
|
54
|
+
* {@link ResumeRef} is the launch-local alias for the framework session
|
|
55
|
+
* descriptor surfaced by the resume picker.
|
|
56
|
+
*/
|
|
57
|
+
export type { ResumeRef, ThinkingLevel, SessionListProgress, ImageContent, KnownProvider, ModelRegistry, OAuthCredentials, Settings, RunnerId, };
|
|
58
|
+
/**
|
|
59
|
+
* The three terminal output modes the launch layer can resolve to. These map
|
|
60
|
+
* one-to-one onto the boot {@link RunnerId} the orchestrator dispatches on:
|
|
61
|
+
*
|
|
62
|
+
* - `text` — interactive terminal or a single human-readable answer.
|
|
63
|
+
* - `json` — a single non-interactive request whose result is structured.
|
|
64
|
+
* - `rpc` — the headless line protocol for a driving parent process.
|
|
65
|
+
*
|
|
66
|
+
* `text` is the interactive default; `json` is selected by `--print` together
|
|
67
|
+
* with a structured output toggle, and `rpc` by `--json` / `--rpc`.
|
|
68
|
+
*/
|
|
69
|
+
export type OutputMode = "text" | "json" | "rpc";
|
|
70
|
+
/**
|
|
71
|
+
* The ordered reasoning-effort vocabulary accepted by `--thinking`, re-derived
|
|
72
|
+
* here as a single source of truth for the parser and the usage generator.
|
|
73
|
+
*
|
|
74
|
+
* `off` disables extended reasoning entirely; the remaining rungs ascend in
|
|
75
|
+
* effort. The tuple is `readonly` and ordered so the usage text can enumerate it
|
|
76
|
+
* and so {@link isThinkingEffort} can validate against it without a second list.
|
|
77
|
+
* It is a superset-compatible widening of the framework {@link ThinkingLevel}
|
|
78
|
+
* (which omits `off`); callers that hand a level to the framework drop `off`.
|
|
79
|
+
*/
|
|
80
|
+
export declare const THINKING_EFFORTS: readonly ["off", "minimal", "low", "medium", "high", "xhigh"];
|
|
81
|
+
/** One reasoning-effort rung from {@link THINKING_EFFORTS}. */
|
|
82
|
+
export type ThinkingEffort = (typeof THINKING_EFFORTS)[number];
|
|
83
|
+
/**
|
|
84
|
+
* Narrow an arbitrary string to a {@link ThinkingEffort}.
|
|
85
|
+
*
|
|
86
|
+
* Pure membership test against {@link THINKING_EFFORTS}; the model resolver
|
|
87
|
+
* reuses it to parse the `model:effort` shorthand without importing the parser.
|
|
88
|
+
*/
|
|
89
|
+
export declare function isThinkingEffort(value: string): value is ThinkingEffort;
|
|
90
|
+
/** Narrow an arbitrary string to an {@link OutputMode}. */
|
|
91
|
+
export declare function isOutputMode(value: string): value is OutputMode;
|
|
92
|
+
/**
|
|
93
|
+
* The closed roster of built-in tool names the `--tools` / `--no-tools` flags
|
|
94
|
+
* select against. A literal tuple (rather than the live tool map) so the launch
|
|
95
|
+
* layer can validate a `--tools` list before any tool module is constructed.
|
|
96
|
+
*/
|
|
97
|
+
export declare const TOOL_NAMES: readonly ["read", "write", "edit", "bash", "grep", "find", "ls", "task", "todo_read", "todo_write", "web_fetch", "web_search", "composio"];
|
|
98
|
+
/** One built-in tool identifier from {@link TOOL_NAMES}. */
|
|
99
|
+
export type ToolName = (typeof TOOL_NAMES)[number];
|
|
100
|
+
/** Narrow an arbitrary string to a known {@link ToolName}. */
|
|
101
|
+
export declare function isToolName(value: string): value is ToolName;
|
|
102
|
+
/**
|
|
103
|
+
* The value vocabulary a flag binds to its target field.
|
|
104
|
+
*
|
|
105
|
+
* - `boolean` — a bare switch; presence sets it true (e.g. `--print`).
|
|
106
|
+
* - `string` — consumes the following token as text (e.g. `--model`).
|
|
107
|
+
* - `number` — consumes the following token and coerces to a finite number.
|
|
108
|
+
* - `list` — accumulates; either repeated or one comma-separated token
|
|
109
|
+
* (e.g. `--mcp a --mcp b`, or `--tools read,bash`).
|
|
110
|
+
*/
|
|
111
|
+
export type FlagKind = "boolean" | "string" | "number" | "list";
|
|
112
|
+
/**
|
|
113
|
+
* The default value attached to a {@link FlagSpec}, narrowed by {@link FlagKind}:
|
|
114
|
+
* a boolean default for switches, a string for value flags, a number for numeric
|
|
115
|
+
* flags, and a string array for lists.
|
|
116
|
+
*/
|
|
117
|
+
export type FlagDefault = boolean | string | number | readonly string[];
|
|
118
|
+
/**
|
|
119
|
+
* One row of the single declarative flag table.
|
|
120
|
+
*
|
|
121
|
+
* Every recognised option is described here exactly once. The reader indexes the
|
|
122
|
+
* table by {@link name} and {@link aliases} to bind tokens to
|
|
123
|
+
* {@link Invocation.flags}; the usage generator walks the same rows to render the
|
|
124
|
+
* option reference. There is no second source of truth for either side.
|
|
125
|
+
*/
|
|
126
|
+
export interface FlagSpec {
|
|
127
|
+
/**
|
|
128
|
+
* Canonical long spelling, leading dashes included (e.g. `"--model"`). This is
|
|
129
|
+
* also the key the parsed value lands under in {@link Invocation.flags}, sans
|
|
130
|
+
* the leading dashes.
|
|
131
|
+
*/
|
|
132
|
+
readonly name: string;
|
|
133
|
+
/**
|
|
134
|
+
* Accepted alternate spellings — short forms (`"-m"`) and synonyms
|
|
135
|
+
* (`"--rpc"` for `"--json"`). All alias hits normalise to {@link name}.
|
|
136
|
+
*/
|
|
137
|
+
readonly aliases?: readonly string[];
|
|
138
|
+
/** The value vocabulary this flag binds (see {@link FlagKind}). */
|
|
139
|
+
readonly kind: FlagKind;
|
|
140
|
+
/** One-line description rendered verbatim in the generated usage text. */
|
|
141
|
+
readonly describe: string;
|
|
142
|
+
/**
|
|
143
|
+
* Optional default folded into {@link Invocation.flags} when the flag is
|
|
144
|
+
* absent. Its runtime type must match {@link kind}.
|
|
145
|
+
*/
|
|
146
|
+
readonly default?: FlagDefault;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* The fully parsed command line — the launch layer's enrichment of the thin
|
|
150
|
+
* boot {@link RunnerId}-routing shape into the complete, strongly-typed surface
|
|
151
|
+
* the runtime reads.
|
|
152
|
+
*
|
|
153
|
+
* The first four members ({@link mode}, {@link prompt}, {@link flags},
|
|
154
|
+
* {@link positionals}) are the superset of the boot-layer minimal invocation
|
|
155
|
+
* (`positionals` is the renamed `rest`); everything below is the resolved launch
|
|
156
|
+
* configuration. {@link flags} retains the loosely-typed bag for extension flags
|
|
157
|
+
* and round-tripping, while the named fields below give consumers a precise,
|
|
158
|
+
* pre-coerced view of the options that matter to the runtime. Treat every field
|
|
159
|
+
* as read-only.
|
|
160
|
+
*/
|
|
161
|
+
export interface Invocation {
|
|
162
|
+
/** Resolved terminal output mode; selects the boot runner. */
|
|
163
|
+
readonly mode: OutputMode;
|
|
164
|
+
/** First user message assembled from positionals, stdin, and attachments. */
|
|
165
|
+
readonly prompt?: string;
|
|
166
|
+
/** All parsed switches, keyed by canonical flag name (extension-flag escape hatch). */
|
|
167
|
+
readonly flags: Record<string, FlagValue>;
|
|
168
|
+
/** Positional tokens not consumed as flags (the boot layer's `rest`, renamed). */
|
|
169
|
+
readonly positionals: string[];
|
|
170
|
+
/** `@file` arguments expanded to inline prose plus base64 media, if any. */
|
|
171
|
+
readonly attachments?: Attachments;
|
|
172
|
+
/** Explicit model selector (`--model` / `-m`), provider-qualified or bare. */
|
|
173
|
+
readonly model?: string;
|
|
174
|
+
/** Named credential account to authenticate the run with (`--account`). */
|
|
175
|
+
readonly account?: string;
|
|
176
|
+
/** Working directory the run is scoped to (`--cwd`); absent means process cwd. */
|
|
177
|
+
readonly cwd?: string;
|
|
178
|
+
/** Replacement system prompt (`--system`); absent keeps the built-in. */
|
|
179
|
+
readonly system?: string;
|
|
180
|
+
/** Extra text appended after the system prompt (`--append-system`). */
|
|
181
|
+
readonly appendSystem?: string;
|
|
182
|
+
/** Reasoning-effort rung requested via `--thinking`. */
|
|
183
|
+
readonly thinking?: ThinkingEffort;
|
|
184
|
+
/** Explicit tool allow-list (`--tools`); absent means every built-in tool. */
|
|
185
|
+
readonly tools?: ToolName[];
|
|
186
|
+
/** Disable all tools for this run (`--no-tools`). */
|
|
187
|
+
readonly noTools: boolean;
|
|
188
|
+
/** External MCP server endpoints to attach (`--mcp`, repeatable / comma-joined). */
|
|
189
|
+
readonly mcp: string[];
|
|
190
|
+
/** Run a single request and exit, printing only the result (`--print` / `-p`). */
|
|
191
|
+
readonly print: boolean;
|
|
192
|
+
/** Force the interactive REPL even alongside a prompt (`--interactive` / `-i`). */
|
|
193
|
+
readonly interactive: boolean;
|
|
194
|
+
/** Asking for the usage banner (`--help` / `-h`). */
|
|
195
|
+
readonly help: boolean;
|
|
196
|
+
/** Asking for the version string (`--version` / `-v`). */
|
|
197
|
+
readonly version: boolean;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* The runtime value a parsed flag can carry in {@link Invocation.flags}: a
|
|
201
|
+
* boolean switch, a scalar value, a numeric value, or an accumulated list.
|
|
202
|
+
*/
|
|
203
|
+
export type FlagValue = boolean | string | number | string[];
|
|
204
|
+
/**
|
|
205
|
+
* The result of expanding the `@file` arguments collected on the command line.
|
|
206
|
+
*
|
|
207
|
+
* Text files are inlined into {@link prose} (each wrapped in a delimited block
|
|
208
|
+
* keyed by its path); image files are decoded to framework {@link ImageContent}
|
|
209
|
+
* and collected in {@link media}. Both are concatenated onto the first user
|
|
210
|
+
* message. An invocation with no `@file` arguments has no {@link Attachments} at
|
|
211
|
+
* all rather than an empty one.
|
|
212
|
+
*/
|
|
213
|
+
export interface Attachments {
|
|
214
|
+
/** Concatenated text of every inlined file, each wrapped with its path. */
|
|
215
|
+
readonly prose: string;
|
|
216
|
+
/** Base64 image content decoded from every image `@file` argument. */
|
|
217
|
+
readonly media: ImageContent[];
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Options for {@link gatherAttachments}: the cwd the framework path resolver
|
|
221
|
+
* resolves `@file` references against, and an optional progress sink.
|
|
222
|
+
*/
|
|
223
|
+
export interface AttachmentOptions {
|
|
224
|
+
/** Working directory `@file` references are resolved relative to. */
|
|
225
|
+
readonly cwd: string;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* The two verbs the credential command recognises as the first positional
|
|
229
|
+
* token. Anything else means the command does not own this invocation and the
|
|
230
|
+
* caller proceeds to normal launch.
|
|
231
|
+
*
|
|
232
|
+
* - `signin` — validate and store an api key for a provider / account.
|
|
233
|
+
* - `signout` — remove a stored credential for a provider / account.
|
|
234
|
+
*/
|
|
235
|
+
export type CredentialVerb = "signin" | "signout";
|
|
236
|
+
/**
|
|
237
|
+
* A provider entry in the credential directory — the facts the sign-in prompts
|
|
238
|
+
* print and validate against. {@link envKey} is the conventional environment
|
|
239
|
+
* variable {@link getEnvApiKey} reads; {@link docsUrl} is where the user obtains
|
|
240
|
+
* a key. These are external provider conventions, not derived data.
|
|
241
|
+
*/
|
|
242
|
+
export interface ProviderEntry {
|
|
243
|
+
/** Stable provider id matching the framework {@link KnownProvider} vocabulary. */
|
|
244
|
+
readonly id: KnownProvider | string;
|
|
245
|
+
/** Human-facing provider label for menus and prompts. */
|
|
246
|
+
readonly label: string;
|
|
247
|
+
/** Conventional api-key environment variable for this provider. */
|
|
248
|
+
readonly envKey: string;
|
|
249
|
+
/** Page where a user obtains an api key for this provider. */
|
|
250
|
+
readonly docsUrl: string;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* The closed set of failure categories the credential command can raise.
|
|
254
|
+
* A consumer switches on {@link CredentialFault.kind}, never on message text:
|
|
255
|
+
*
|
|
256
|
+
* - `unknown-provider` — the named provider is not in the directory.
|
|
257
|
+
* - `invalid-key` — the supplied key failed format validation.
|
|
258
|
+
* - `invalid-account` — the account name failed the naming rules.
|
|
259
|
+
* - `name-collision` — the account name already exists for that provider.
|
|
260
|
+
* - `not-found` — sign-out targeted a credential that is not stored.
|
|
261
|
+
* - `vault` — the underlying credential store read/write failed.
|
|
262
|
+
* - `aborted` — the user cancelled an interactive prompt.
|
|
263
|
+
*/
|
|
264
|
+
export type CredentialFaultKind = "unknown-provider" | "invalid-key" | "invalid-account" | "name-collision" | "not-found" | "vault" | "aborted";
|
|
265
|
+
/**
|
|
266
|
+
* A typed credential failure. {@link kind} drives recovery; {@link hint} carries
|
|
267
|
+
* a single actionable next step for the human (e.g. the env-var to set), and
|
|
268
|
+
* {@link cause} preserves any wrapped error for diagnostics.
|
|
269
|
+
*/
|
|
270
|
+
export interface CredentialFault {
|
|
271
|
+
/** The failure category (the discriminant). */
|
|
272
|
+
readonly kind: CredentialFaultKind;
|
|
273
|
+
/** Human-readable summary of what failed. */
|
|
274
|
+
readonly message: string;
|
|
275
|
+
/** Optional single actionable suggestion for resolving the fault. */
|
|
276
|
+
readonly hint?: string;
|
|
277
|
+
/** Optional wrapped underlying error. */
|
|
278
|
+
readonly cause?: unknown;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Construct a {@link CredentialFault}. A tiny inert helper so call sites raise a
|
|
282
|
+
* well-formed typed fault without re-spelling the shape.
|
|
283
|
+
*/
|
|
284
|
+
export declare function credentialFault(kind: CredentialFaultKind, message: string, extra?: {
|
|
285
|
+
hint?: string;
|
|
286
|
+
cause?: unknown;
|
|
287
|
+
}): CredentialFault;
|
|
288
|
+
/**
|
|
289
|
+
* The credential-vault surface the credential command depends on.
|
|
290
|
+
*
|
|
291
|
+
* The framework publishes no credential-store type, so the launch contract
|
|
292
|
+
* forward-declares the slice it needs: per-provider, per-account records keyed by
|
|
293
|
+
* an account name. A record stores *either* an api key or a set of
|
|
294
|
+
* browser-sign-in credentials; the vault refreshes an expired browser token
|
|
295
|
+
* before yielding a usable key. Phase 2 supplies the concrete multi-account
|
|
296
|
+
* vault; this interface lets the credential command compile and be unit-tested
|
|
297
|
+
* against an in-memory stand-in before then.
|
|
298
|
+
*/
|
|
299
|
+
export interface AuthVault {
|
|
300
|
+
/** Stored account names for a provider, in insertion order. */
|
|
301
|
+
listAccounts(provider: string): Promise<string[]>;
|
|
302
|
+
/** The default account name for a provider, if one is set. */
|
|
303
|
+
defaultAccount(provider: string): Promise<string | undefined>;
|
|
304
|
+
/** Persist an api key under a provider / account, optionally as the default. */
|
|
305
|
+
putApiKey(provider: string, account: string, apiKey: string, makeDefault?: boolean): Promise<void>;
|
|
306
|
+
/**
|
|
307
|
+
* Persist browser-sign-in credentials under a provider / account, optionally
|
|
308
|
+
* as the default.
|
|
309
|
+
*/
|
|
310
|
+
putOAuth(provider: string, account: string, credentials: OAuthCredentials, makeDefault?: boolean): Promise<void>;
|
|
311
|
+
/**
|
|
312
|
+
* Report whether a stored account holds an api key or browser-sign-in
|
|
313
|
+
* credentials, or `undefined` when nothing is stored there.
|
|
314
|
+
*/
|
|
315
|
+
authKind(provider: string, account: string): Promise<"apiKey" | "oauth" | undefined>;
|
|
316
|
+
/**
|
|
317
|
+
* Resolve a stored account to a live api-key string. An api-key record yields
|
|
318
|
+
* its key verbatim; a browser-sign-in record is refreshed through the
|
|
319
|
+
* framework (persisting any rotated token) before its usable key is returned.
|
|
320
|
+
* Resolves `undefined` when nothing usable is stored.
|
|
321
|
+
*/
|
|
322
|
+
readUsableKey(provider: string, account: string): Promise<string | undefined>;
|
|
323
|
+
/** Remove a stored credential; resolves false when nothing was removed. */
|
|
324
|
+
remove(provider: string, account?: string): Promise<boolean>;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Options for {@link runCredentialCommand}: the resolved vault and the directory
|
|
328
|
+
* the vault persists to. Injected so tests drive the command over an in-memory
|
|
329
|
+
* vault with no real disk writes.
|
|
330
|
+
*/
|
|
331
|
+
export interface CredentialCommandOptions {
|
|
332
|
+
/** The credential store to read and write. */
|
|
333
|
+
readonly vault: AuthVault;
|
|
334
|
+
/** Absolute directory the vault persists credentials under. */
|
|
335
|
+
readonly profileDir: string;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* The filter applied when rendering the `--list-models` table. Every field is
|
|
339
|
+
* optional; an absent field matches everything. {@link search} is a plain
|
|
340
|
+
* case-insensitive substring test over the provider/model identifier — no fuzzy
|
|
341
|
+
* matcher and no external ranking.
|
|
342
|
+
*/
|
|
343
|
+
export interface CatalogFilter {
|
|
344
|
+
/** Restrict to a single provider id. */
|
|
345
|
+
readonly provider?: KnownProvider | string;
|
|
346
|
+
/** Keep only models that advertise a reasoning budget. */
|
|
347
|
+
readonly thinkingOnly?: boolean;
|
|
348
|
+
/** Keep only models that accept image input. */
|
|
349
|
+
readonly imagesOnly?: boolean;
|
|
350
|
+
/** Case-insensitive substring filter over the model identifier. */
|
|
351
|
+
readonly search?: string;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* A function that loads a set of resumable sessions, reporting incremental
|
|
355
|
+
* progress. The resume picker takes two: one for the current working
|
|
356
|
+
* directory and one for every directory, both shaped like the framework
|
|
357
|
+
* session lister.
|
|
358
|
+
*/
|
|
359
|
+
export type SessionLoader = (onProgress?: SessionListProgress) => Promise<ResumeRef[]>;
|
|
360
|
+
/**
|
|
361
|
+
* A launch-time error from the resume flow (the React-Ink picker failing to
|
|
362
|
+
* mount, or a session store read fault). Typed so the orchestrator can fall back
|
|
363
|
+
* to a fresh session rather than crash.
|
|
364
|
+
*/
|
|
365
|
+
export interface ResumeFault {
|
|
366
|
+
/** Human-readable summary of what failed. */
|
|
367
|
+
readonly message: string;
|
|
368
|
+
/** Optional wrapped underlying error. */
|
|
369
|
+
readonly cause?: unknown;
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Options for {@link browseSettings}: the resolved settings, the directories of
|
|
373
|
+
* user-authored resources to enumerate, the active cwd, and the profile
|
|
374
|
+
* directory. The browser renders a plain console listing of these — no TUI.
|
|
375
|
+
*/
|
|
376
|
+
export interface SettingsBrowseOptions {
|
|
377
|
+
/** The merged, resolved user settings. */
|
|
378
|
+
readonly settings: Settings;
|
|
379
|
+
/** Resolved absolute paths of discovered resources, grouped by category. */
|
|
380
|
+
readonly resolvedPaths: Readonly<Record<string, readonly string[]>>;
|
|
381
|
+
/** The active working directory. */
|
|
382
|
+
readonly cwd: string;
|
|
383
|
+
/** The profile directory the settings were loaded from. */
|
|
384
|
+
readonly profileDir: string;
|
|
385
|
+
}
|