indusagi-coding-agent 0.1.58 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +55 -48
- package/CREDITS.md +19 -0
- package/NOTICE +7 -0
- package/README.md +65 -63
- package/dist/entry.js +19250 -0
- package/dist/types/addons/addons.test.d.ts +21 -0
- package/dist/types/addons/contract.d.ts +640 -0
- package/dist/types/addons/dispatch/event-dispatcher.d.ts +140 -0
- package/dist/types/addons/dispatch/index.d.ts +23 -0
- package/dist/types/addons/dispatch/tool-interceptor.d.ts +128 -0
- package/dist/types/addons/host.d.ts +246 -0
- package/dist/types/addons/index.d.ts +51 -0
- package/dist/types/addons/manifest.d.ts +56 -0
- package/dist/types/addons/sandbox.d.ts +103 -0
- package/dist/types/addons/surface.d.ts +42 -0
- package/dist/types/boot/auth-vault.d.ts +29 -0
- package/dist/types/boot/boot.d.ts +26 -0
- package/dist/types/boot/boot.test.d.ts +15 -0
- package/dist/types/boot/contract.d.ts +234 -0
- package/dist/types/boot/index.d.ts +20 -0
- package/dist/types/boot/invocation.d.ts +40 -0
- package/dist/types/boot/invocation.test.d.ts +8 -0
- package/dist/types/boot/runners/index.d.ts +11 -0
- package/dist/types/boot/runners/link-runner.d.ts +20 -0
- package/dist/types/boot/runners/oneshot-runner.d.ts +19 -0
- package/dist/types/boot/runners/registry.d.ts +30 -0
- package/dist/types/boot/runners/repl-runner.d.ts +19 -0
- package/dist/types/boot/runners/session-persist.test.d.ts +10 -0
- package/dist/types/boot/runners/session.d.ts +45 -0
- package/dist/types/boot/stages.d.ts +92 -0
- package/dist/types/boot/upgrade/apply.d.ts +45 -0
- package/dist/types/boot/upgrade/index.d.ts +13 -0
- package/dist/types/boot/upgrade/upgrades.d.ts +126 -0
- package/dist/types/briefing/briefing.test.d.ts +15 -0
- package/dist/types/briefing/compose.d.ts +37 -0
- package/dist/types/briefing/contract.d.ts +686 -0
- package/dist/types/briefing/index.d.ts +27 -0
- package/dist/types/briefing/macros.d.ts +206 -0
- package/dist/types/briefing/skills.d.ts +67 -0
- package/dist/types/capability-deck/bridge-ledger/index.d.ts +25 -0
- package/dist/types/capability-deck/bridge-ledger/key.d.ts +65 -0
- package/dist/types/capability-deck/bridge-ledger/ledger.d.ts +129 -0
- package/dist/types/capability-deck/bridge-ledger/network.d.ts +115 -0
- package/dist/types/capability-deck/builtin-bridge.d.ts +114 -0
- package/dist/types/capability-deck/capability-deck.test.d.ts +18 -0
- package/dist/types/capability-deck/cards/bg-process-card.d.ts +99 -0
- package/dist/types/capability-deck/cards/index.d.ts +30 -0
- package/dist/types/capability-deck/cards/memory-card.d.ts +69 -0
- package/dist/types/capability-deck/cards/saas-card.d.ts +78 -0
- package/dist/types/capability-deck/cards/task-card.d.ts +82 -0
- package/dist/types/capability-deck/cards/todo-card.d.ts +78 -0
- package/dist/types/capability-deck/contract.d.ts +317 -0
- package/dist/types/capability-deck/index.d.ts +46 -0
- package/dist/types/capability-deck/manifest.d.ts +60 -0
- package/dist/types/capability-deck/provision.d.ts +76 -0
- package/dist/types/channels/channels.test.d.ts +15 -0
- package/dist/types/channels/contract.d.ts +489 -0
- package/dist/types/channels/framer.d.ts +49 -0
- package/dist/types/channels/index.d.ts +24 -0
- package/dist/types/channels/link/dialog.d.ts +138 -0
- package/dist/types/channels/link/driver.d.ts +81 -0
- package/dist/types/channels/link/index.d.ts +13 -0
- package/dist/types/channels/link/server.d.ts +70 -0
- package/dist/types/channels/oneshot.d.ts +37 -0
- package/dist/types/channels/ops.d.ts +89 -0
- package/dist/types/channels/session-ops.d.ts +80 -0
- package/dist/types/conductor/catalog/catalog.d.ts +87 -0
- package/dist/types/conductor/catalog/index.d.ts +14 -0
- package/dist/types/conductor/catalog/matcher.d.ts +47 -0
- package/dist/types/conductor/conductor.d.ts +157 -0
- package/dist/types/conductor/conductor.test.d.ts +10 -0
- package/dist/types/conductor/contract.d.ts +547 -0
- package/dist/types/conductor/index.d.ts +23 -0
- package/dist/types/conductor/signal-hub/hub.d.ts +83 -0
- package/dist/types/conductor/signal-hub/index.d.ts +19 -0
- package/dist/types/conductor/signal-hub/translate.d.ts +74 -0
- package/dist/types/conductor/skill-parse/index.d.ts +10 -0
- package/dist/types/conductor/skill-parse/parse.d.ts +67 -0
- package/dist/types/conductor/submit.test.d.ts +28 -0
- package/dist/types/conductor/transcript-store/index.d.ts +16 -0
- package/dist/types/conductor/transcript-store/serialize.d.ts +106 -0
- package/dist/types/conductor/transcript-store/store.d.ts +170 -0
- package/dist/types/console/components/Banner.d.ts +54 -0
- package/dist/types/console/components/Composer.d.ts +37 -0
- package/dist/types/console/components/StatusBar.d.ts +31 -0
- package/dist/types/console/components/TerminalConsole.d.ts +32 -0
- package/dist/types/console/console.test.d.ts +19 -0
- package/dist/types/console/contract.d.ts +562 -0
- package/dist/types/console/index.d.ts +31 -0
- package/dist/types/console/input/complete.d.ts +120 -0
- package/dist/types/console/input/dir-reader.d.ts +28 -0
- package/dist/types/console/input/index.d.ts +24 -0
- package/dist/types/console/input/input.test.d.ts +14 -0
- package/dist/types/console/input/keymap.d.ts +184 -0
- package/dist/types/console/input/paste.d.ts +131 -0
- package/dist/types/console/mount.d.ts +53 -0
- package/dist/types/console/overlays/auth.d.ts +31 -0
- package/dist/types/console/overlays/host.d.ts +44 -0
- package/dist/types/console/overlays/index.d.ts +13 -0
- package/dist/types/console/overlays/pickers.d.ts +37 -0
- package/dist/types/console/overlays/sessions.d.ts +29 -0
- package/dist/types/console/reducer.d.ts +51 -0
- package/dist/types/console/slash/builtins.d.ts +33 -0
- package/dist/types/console/slash/commands/dynamic.d.ts +57 -0
- package/dist/types/console/slash/commands/dynamic.test.d.ts +9 -0
- package/dist/types/console/slash/commands/integrations.d.ts +28 -0
- package/dist/types/console/slash/commands/integrations.test.d.ts +18 -0
- package/dist/types/console/slash/commands/shared.d.ts +72 -0
- package/dist/types/console/slash/commands/transcript.d.ts +24 -0
- package/dist/types/console/slash/commands/transcript.test.d.ts +10 -0
- package/dist/types/console/slash/commands/workbench.d.ts +21 -0
- package/dist/types/console/slash/commands/workbench.test.d.ts +10 -0
- package/dist/types/console/slash/index.d.ts +34 -0
- package/dist/types/console/slash/registry.d.ts +90 -0
- package/dist/types/console/slash/resolve.d.ts +109 -0
- package/dist/types/console/slash/slash.test.d.ts +18 -0
- package/dist/types/console/startup.d.ts +119 -0
- package/dist/types/console/theme/adapter.d.ts +60 -0
- package/dist/types/console/theme/index.d.ts +18 -0
- package/dist/types/console/theme/palette.d.ts +42 -0
- package/dist/types/console/theme/resolve.d.ts +45 -0
- package/dist/types/console/theme/theme.test.d.ts +16 -0
- package/dist/types/console/theme/tokens.d.ts +40 -0
- package/dist/types/entry.d.ts +17 -0
- package/dist/types/index.d.ts +24 -0
- package/dist/types/insight/channel.d.ts +45 -0
- package/dist/types/insight/contract.d.ts +411 -0
- package/dist/types/insight/index.d.ts +26 -0
- package/dist/types/insight/insight.test.d.ts +17 -0
- package/dist/types/insight/recorder.d.ts +63 -0
- package/dist/types/insight/redaction.d.ts +44 -0
- package/dist/types/insight/replay.d.ts +77 -0
- package/dist/types/insight/sampling.d.ts +84 -0
- package/dist/types/insight/serialize.d.ts +54 -0
- package/dist/types/insight/sinks/console.d.ts +36 -0
- package/dist/types/insight/sinks/file.d.ts +37 -0
- package/dist/types/insight/sinks/index.d.ts +16 -0
- package/dist/types/insight/sinks/stream.d.ts +53 -0
- package/dist/types/kit/clipboard-image.d.ts +40 -0
- package/dist/types/kit/external-editor.d.ts +35 -0
- package/dist/types/kit/image.d.ts +102 -0
- package/dist/types/kit/index.d.ts +29 -0
- package/dist/types/kit/kit.test.d.ts +13 -0
- package/dist/types/kit/shell.d.ts +50 -0
- package/dist/types/kit/tool-fetch.d.ts +165 -0
- package/dist/types/launch/catalog.d.ts +51 -0
- package/dist/types/launch/contract.d.ts +385 -0
- package/dist/types/launch/credentials.d.ts +112 -0
- package/dist/types/launch/index.d.ts +28 -0
- package/dist/types/launch/invocation/attachments.d.ts +72 -0
- package/dist/types/launch/invocation/flags.d.ts +59 -0
- package/dist/types/launch/invocation/index.d.ts +23 -0
- package/dist/types/launch/invocation/read.d.ts +52 -0
- package/dist/types/launch/invocation/usage.d.ts +25 -0
- package/dist/types/launch/launch.test.d.ts +20 -0
- package/dist/types/launch/oauth.d.ts +88 -0
- package/dist/types/launch/packages.d.ts +75 -0
- package/dist/types/launch/packages.test.d.ts +15 -0
- package/dist/types/launch/pickers.d.ts +97 -0
- package/dist/types/runtime-bridge/bridges/_drive.d.ts +74 -0
- package/dist/types/runtime-bridge/bridges/builtins.d.ts +77 -0
- package/dist/types/runtime-bridge/bridges/claude-cli.d.ts +37 -0
- package/dist/types/runtime-bridge/bridges/codex-cli.d.ts +27 -0
- package/dist/types/runtime-bridge/bridges/index.d.ts +15 -0
- package/dist/types/runtime-bridge/bridges/indusagi-cli.d.ts +36 -0
- package/dist/types/runtime-bridge/broker.d.ts +182 -0
- package/dist/types/runtime-bridge/contract.d.ts +436 -0
- package/dist/types/runtime-bridge/index.d.ts +21 -0
- package/dist/types/runtime-bridge/runtime-bridge.test.d.ts +17 -0
- package/dist/types/runtime-bridge/sink.d.ts +59 -0
- package/dist/types/sessions/contract.d.ts +79 -0
- package/dist/types/sessions/index.d.ts +11 -0
- package/dist/types/sessions/library.d.ts +95 -0
- package/dist/types/sessions/sessions.test.d.ts +11 -0
- package/dist/types/settings/contract.d.ts +116 -0
- package/dist/types/settings/index.d.ts +13 -0
- package/dist/types/settings/manager.d.ts +109 -0
- package/dist/types/settings/settings.test.d.ts +16 -0
- package/dist/types/transcript-export/index.d.ts +20 -0
- package/dist/types/transcript-export/publish.d.ts +81 -0
- package/dist/types/transcript-export/sgr.d.ts +90 -0
- package/dist/types/transcript-export/template.d.ts +64 -0
- package/dist/types/transcript-export/theme-bridge.d.ts +99 -0
- package/dist/types/transcript-export/transcript-export.test.d.ts +16 -0
- package/dist/types/window-budget/budget/estimate.d.ts +47 -0
- package/dist/types/window-budget/budget/gate.d.ts +37 -0
- package/dist/types/window-budget/budget/index.d.ts +14 -0
- package/dist/types/window-budget/budget/slice.d.ts +38 -0
- package/dist/types/window-budget/condenser.d.ts +59 -0
- package/dist/types/window-budget/contract.d.ts +182 -0
- package/dist/types/window-budget/index.d.ts +15 -0
- package/dist/types/window-budget/summarize/condense.d.ts +70 -0
- package/dist/types/window-budget/summarize/index.d.ts +12 -0
- package/dist/types/window-budget/summarize/prompt.d.ts +56 -0
- package/dist/types/window-budget/window-budget.test.d.ts +18 -0
- package/dist/types/workspace/brand.d.ts +20 -0
- package/dist/types/workspace/index.d.ts +11 -0
- package/dist/types/workspace/locator.d.ts +50 -0
- package/dist/types/workspace/runtime-detect.d.ts +56 -0
- package/package.json +43 -62
- package/LICENSE +0 -8
- package/LICENSE-THIRD-PARTY.txt +0 -30
- package/demos/README.md +0 -12
- package/dist/cli.d.ts +0 -3
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -30
- package/dist/cli.js.map +0 -1
- package/dist/command-line/args.d.ts +0 -59
- package/dist/command-line/args.d.ts.map +0 -1
- package/dist/command-line/args.js +0 -332
- package/dist/command-line/args.js.map +0 -1
- package/dist/command-line/config-selector.d.ts +0 -17
- package/dist/command-line/config-selector.d.ts.map +0 -1
- package/dist/command-line/config-selector.js +0 -34
- package/dist/command-line/config-selector.js.map +0 -1
- package/dist/command-line/file-processor.d.ts +0 -15
- package/dist/command-line/file-processor.d.ts.map +0 -1
- package/dist/command-line/file-processor.js +0 -73
- package/dist/command-line/file-processor.js.map +0 -1
- package/dist/command-line/list-models.d.ts +0 -9
- package/dist/command-line/list-models.d.ts.map +0 -1
- package/dist/command-line/list-models.js +0 -74
- package/dist/command-line/list-models.js.map +0 -1
- package/dist/command-line/login-handler.d.ts +0 -94
- package/dist/command-line/login-handler.d.ts.map +0 -1
- package/dist/command-line/login-handler.js +0 -794
- package/dist/command-line/login-handler.js.map +0 -1
- package/dist/command-line/session-picker.d.ts +0 -10
- package/dist/command-line/session-picker.d.ts.map +0 -1
- package/dist/command-line/session-picker.js +0 -60
- package/dist/command-line/session-picker.js.map +0 -1
- package/dist/config.d.ts +0 -31
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -143
- package/dist/config.js.map +0 -1
- package/dist/dev/observe-deep.d.ts +0 -2
- package/dist/dev/observe-deep.d.ts.map +0 -1
- package/dist/dev/observe-deep.js +0 -333
- package/dist/dev/observe-deep.js.map +0 -1
- package/dist/dev/observe-smoke.d.ts +0 -2
- package/dist/dev/observe-smoke.d.ts.map +0 -1
- package/dist/dev/observe-smoke.js +0 -264
- package/dist/dev/observe-smoke.js.map +0 -1
- package/dist/helpers/array.d.ts +0 -438
- package/dist/helpers/array.d.ts.map +0 -1
- package/dist/helpers/array.js +0 -692
- package/dist/helpers/array.js.map +0 -1
- package/dist/helpers/changelog.d.ts +0 -20
- package/dist/helpers/changelog.d.ts.map +0 -1
- package/dist/helpers/changelog.js +0 -79
- package/dist/helpers/changelog.js.map +0 -1
- package/dist/helpers/clipboard-image.d.ts +0 -11
- package/dist/helpers/clipboard-image.d.ts.map +0 -1
- package/dist/helpers/clipboard-image.js +0 -111
- package/dist/helpers/clipboard-image.js.map +0 -1
- package/dist/helpers/clipboard.d.ts +0 -2
- package/dist/helpers/clipboard.d.ts.map +0 -1
- package/dist/helpers/clipboard.js +0 -72
- package/dist/helpers/clipboard.js.map +0 -1
- package/dist/helpers/color-formatter.d.ts +0 -318
- package/dist/helpers/color-formatter.d.ts.map +0 -1
- package/dist/helpers/color-formatter.js +0 -469
- package/dist/helpers/color-formatter.js.map +0 -1
- package/dist/helpers/data-transformer.d.ts +0 -391
- package/dist/helpers/data-transformer.d.ts.map +0 -1
- package/dist/helpers/data-transformer.js +0 -604
- package/dist/helpers/data-transformer.js.map +0 -1
- package/dist/helpers/date-formatter.d.ts +0 -316
- package/dist/helpers/date-formatter.d.ts.map +0 -1
- package/dist/helpers/date-formatter.js +0 -553
- package/dist/helpers/date-formatter.js.map +0 -1
- package/dist/helpers/error-handler.d.ts +0 -541
- package/dist/helpers/error-handler.d.ts.map +0 -1
- package/dist/helpers/error-handler.js +0 -726
- package/dist/helpers/error-handler.js.map +0 -1
- package/dist/helpers/file-operations.d.ts +0 -324
- package/dist/helpers/file-operations.d.ts.map +0 -1
- package/dist/helpers/file-operations.js +0 -543
- package/dist/helpers/file-operations.js.map +0 -1
- package/dist/helpers/frontmatter.d.ts +0 -273
- package/dist/helpers/frontmatter.d.ts.map +0 -1
- package/dist/helpers/frontmatter.js +0 -580
- package/dist/helpers/frontmatter.js.map +0 -1
- package/dist/helpers/git.d.ts +0 -2
- package/dist/helpers/git.d.ts.map +0 -1
- package/dist/helpers/git.js +0 -6
- package/dist/helpers/git.js.map +0 -1
- package/dist/helpers/image-convert.d.ts +0 -9
- package/dist/helpers/image-convert.d.ts.map +0 -1
- package/dist/helpers/image-convert.js +0 -41
- package/dist/helpers/image-convert.js.map +0 -1
- package/dist/helpers/image-resize.d.ts +0 -19
- package/dist/helpers/image-resize.d.ts.map +0 -1
- package/dist/helpers/image-resize.js +0 -143
- package/dist/helpers/image-resize.js.map +0 -1
- package/dist/helpers/json-formatter.d.ts +0 -267
- package/dist/helpers/json-formatter.d.ts.map +0 -1
- package/dist/helpers/json-formatter.js +0 -533
- package/dist/helpers/json-formatter.js.map +0 -1
- package/dist/helpers/logger.d.ts +0 -176
- package/dist/helpers/logger.d.ts.map +0 -1
- package/dist/helpers/logger.js +0 -346
- package/dist/helpers/logger.js.map +0 -1
- package/dist/helpers/markdown-formatter.d.ts +0 -235
- package/dist/helpers/markdown-formatter.d.ts.map +0 -1
- package/dist/helpers/markdown-formatter.js +0 -633
- package/dist/helpers/markdown-formatter.js.map +0 -1
- package/dist/helpers/mime.d.ts +0 -3
- package/dist/helpers/mime.d.ts.map +0 -1
- package/dist/helpers/mime.js +0 -46
- package/dist/helpers/mime.js.map +0 -1
- package/dist/helpers/open-auth-url.d.ts +0 -2
- package/dist/helpers/open-auth-url.d.ts.map +0 -1
- package/dist/helpers/open-auth-url.js +0 -59
- package/dist/helpers/open-auth-url.js.map +0 -1
- package/dist/helpers/path-validator.d.ts +0 -603
- package/dist/helpers/path-validator.d.ts.map +0 -1
- package/dist/helpers/path-validator.js +0 -895
- package/dist/helpers/path-validator.js.map +0 -1
- package/dist/helpers/photon.d.ts +0 -10
- package/dist/helpers/photon.d.ts.map +0 -1
- package/dist/helpers/photon.js +0 -132
- package/dist/helpers/photon.js.map +0 -1
- package/dist/helpers/shell.d.ts +0 -10
- package/dist/helpers/shell.d.ts.map +0 -1
- package/dist/helpers/shell.js +0 -142
- package/dist/helpers/shell.js.map +0 -1
- package/dist/helpers/sleep.d.ts +0 -5
- package/dist/helpers/sleep.d.ts.map +0 -1
- package/dist/helpers/sleep.js +0 -41
- package/dist/helpers/sleep.js.map +0 -1
- package/dist/helpers/string-formatter.d.ts +0 -609
- package/dist/helpers/string-formatter.d.ts.map +0 -1
- package/dist/helpers/string-formatter.js +0 -807
- package/dist/helpers/string-formatter.js.map +0 -1
- package/dist/helpers/tools-manager.d.ts +0 -5
- package/dist/helpers/tools-manager.d.ts.map +0 -1
- package/dist/helpers/tools-manager.js +0 -161
- package/dist/helpers/tools-manager.js.map +0 -1
- package/dist/helpers/type-guards.d.ts +0 -634
- package/dist/helpers/type-guards.d.ts.map +0 -1
- package/dist/helpers/type-guards.js +0 -671
- package/dist/helpers/type-guards.js.map +0 -1
- package/dist/index.d.ts +0 -41
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -40
- package/dist/index.js.map +0 -1
- package/dist/interfaces/index.d.ts +0 -16
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/index.js +0 -14
- package/dist/interfaces/index.js.map +0 -1
- package/dist/interfaces/print-mode.d.ts +0 -561
- package/dist/interfaces/print-mode.d.ts.map +0 -1
- package/dist/interfaces/print-mode.js +0 -633
- package/dist/interfaces/print-mode.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/command-router.d.ts +0 -19
- package/dist/interfaces/react-ink/adapters/command-router.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/command-router.js +0 -674
- package/dist/interfaces/react-ink/adapters/command-router.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-events.d.ts +0 -5
- package/dist/interfaces/react-ink/adapters/session-events.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-events.js +0 -255
- package/dist/interfaces/react-ink/adapters/session-events.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-history.d.ts +0 -14
- package/dist/interfaces/react-ink/adapters/session-history.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-history.js +0 -83
- package/dist/interfaces/react-ink/adapters/session-history.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/tool-state.d.ts +0 -4
- package/dist/interfaces/react-ink/adapters/tool-state.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/tool-state.js +0 -67
- package/dist/interfaces/react-ink/adapters/tool-state.js.map +0 -1
- package/dist/interfaces/react-ink/components/AppShell.d.ts +0 -17
- package/dist/interfaces/react-ink/components/AppShell.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/AppShell.js +0 -1535
- package/dist/interfaces/react-ink/components/AppShell.js.map +0 -1
- package/dist/interfaces/react-ink/components/ChangelogBlock.d.ts +0 -9
- package/dist/interfaces/react-ink/components/ChangelogBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/ChangelogBlock.js +0 -58
- package/dist/interfaces/react-ink/components/ChangelogBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/DisplayBlockView.d.ts +0 -9
- package/dist/interfaces/react-ink/components/DisplayBlockView.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/DisplayBlockView.js +0 -11
- package/dist/interfaces/react-ink/components/DisplayBlockView.js.map +0 -1
- package/dist/interfaces/react-ink/components/Footer.d.ts +0 -12
- package/dist/interfaces/react-ink/components/Footer.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/Footer.js +0 -88
- package/dist/interfaces/react-ink/components/Footer.js.map +0 -1
- package/dist/interfaces/react-ink/components/Header.d.ts +0 -14
- package/dist/interfaces/react-ink/components/Header.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/Header.js +0 -24
- package/dist/interfaces/react-ink/components/Header.js.map +0 -1
- package/dist/interfaces/react-ink/components/MessageList.d.ts +0 -14
- package/dist/interfaces/react-ink/components/MessageList.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/MessageList.js +0 -43
- package/dist/interfaces/react-ink/components/MessageList.js.map +0 -1
- package/dist/interfaces/react-ink/components/MessageRow.d.ts +0 -13
- package/dist/interfaces/react-ink/components/MessageRow.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/MessageRow.js +0 -35
- package/dist/interfaces/react-ink/components/MessageRow.js.map +0 -1
- package/dist/interfaces/react-ink/components/PromptInput.d.ts +0 -35
- package/dist/interfaces/react-ink/components/PromptInput.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/PromptInput.js +0 -458
- package/dist/interfaces/react-ink/components/PromptInput.js.map +0 -1
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.d.ts +0 -9
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.js +0 -14
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/StatusLine.d.ts +0 -10
- package/dist/interfaces/react-ink/components/StatusLine.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/StatusLine.js +0 -39
- package/dist/interfaces/react-ink/components/StatusLine.js.map +0 -1
- package/dist/interfaces/react-ink/components/TaskPanel.d.ts +0 -10
- package/dist/interfaces/react-ink/components/TaskPanel.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/TaskPanel.js +0 -23
- package/dist/interfaces/react-ink/components/TaskPanel.js.map +0 -1
- package/dist/interfaces/react-ink/components/ToolEventBlock.d.ts +0 -18
- package/dist/interfaces/react-ink/components/ToolEventBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/ToolEventBlock.js +0 -61
- package/dist/interfaces/react-ink/components/ToolEventBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.js +0 -6
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.d.ts +0 -15
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.js +0 -10
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.js +0 -64
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.js +0 -24
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.js +0 -95
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.d.ts +0 -17
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.js +0 -66
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.d.ts +0 -11
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.js +0 -10
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.d.ts +0 -15
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.js +0 -79
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.js +0 -99
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.d.ts +0 -8
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.d.ts +0 -30
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.js +0 -106
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.js.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.d.ts +0 -20
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.js +0 -145
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.d.ts +0 -12
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.js +0 -20
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BashMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/BashMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BashMessage.js +0 -11
- package/dist/interfaces/react-ink/components/messages/BashMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.js +0 -6
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.js +0 -6
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CustomMessage.d.ts +0 -10
- package/dist/interfaces/react-ink/components/messages/CustomMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CustomMessage.js +0 -9
- package/dist/interfaces/react-ink/components/messages/CustomMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.d.ts +0 -8
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.js +0 -10
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.js +0 -8
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.d.ts +0 -12
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.js +0 -8
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/UserMessage.d.ts +0 -10
- package/dist/interfaces/react-ink/components/messages/UserMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/UserMessage.js +0 -7
- package/dist/interfaces/react-ink/components/messages/UserMessage.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-agent-session.d.ts +0 -8
- package/dist/interfaces/react-ink/hooks/use-agent-session.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-agent-session.js +0 -34
- package/dist/interfaces/react-ink/hooks/use-agent-session.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.d.ts +0 -12
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.js +0 -17
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-footer-data.d.ts +0 -7
- package/dist/interfaces/react-ink/hooks/use-footer-data.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-footer-data.js +0 -17
- package/dist/interfaces/react-ink/hooks/use-footer-data.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.d.ts +0 -17
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.js +0 -66
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-session-history.d.ts +0 -8
- package/dist/interfaces/react-ink/hooks/use-session-history.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-session-history.js +0 -8
- package/dist/interfaces/react-ink/hooks/use-session-history.js.map +0 -1
- package/dist/interfaces/react-ink/index.d.ts +0 -8
- package/dist/interfaces/react-ink/index.d.ts.map +0 -1
- package/dist/interfaces/react-ink/index.js +0 -8
- package/dist/interfaces/react-ink/index.js.map +0 -1
- package/dist/interfaces/react-ink/interactive-mode.d.ts +0 -24
- package/dist/interfaces/react-ink/interactive-mode.d.ts.map +0 -1
- package/dist/interfaces/react-ink/interactive-mode.js +0 -57
- package/dist/interfaces/react-ink/interactive-mode.js.map +0 -1
- package/dist/interfaces/react-ink/render-root.d.ts +0 -19
- package/dist/interfaces/react-ink/render-root.d.ts.map +0 -1
- package/dist/interfaces/react-ink/render-root.js +0 -6
- package/dist/interfaces/react-ink/render-root.js.map +0 -1
- package/dist/interfaces/react-ink/state/reducer.d.ts +0 -51
- package/dist/interfaces/react-ink/state/reducer.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/reducer.js +0 -122
- package/dist/interfaces/react-ink/state/reducer.js.map +0 -1
- package/dist/interfaces/react-ink/state/store.d.ts +0 -4
- package/dist/interfaces/react-ink/state/store.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/store.js +0 -5
- package/dist/interfaces/react-ink/state/store.js.map +0 -1
- package/dist/interfaces/react-ink/state/ui-state.d.ts +0 -5
- package/dist/interfaces/react-ink/state/ui-state.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/ui-state.js +0 -20
- package/dist/interfaces/react-ink/state/ui-state.js.map +0 -1
- package/dist/interfaces/react-ink/theme-adapter.d.ts +0 -4
- package/dist/interfaces/react-ink/theme-adapter.d.ts.map +0 -1
- package/dist/interfaces/react-ink/theme-adapter.js +0 -15
- package/dist/interfaces/react-ink/theme-adapter.js.map +0 -1
- package/dist/interfaces/react-ink/types.d.ts +0 -51
- package/dist/interfaces/react-ink/types.d.ts.map +0 -1
- package/dist/interfaces/react-ink/types.js +0 -2
- package/dist/interfaces/react-ink/types.js.map +0 -1
- package/dist/interfaces/react-ink/utils/changelog.d.ts +0 -7
- package/dist/interfaces/react-ink/utils/changelog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/changelog.js +0 -40
- package/dist/interfaces/react-ink/utils/changelog.js.map +0 -1
- package/dist/interfaces/react-ink/utils/key-data.d.ts +0 -22
- package/dist/interfaces/react-ink/utils/key-data.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/key-data.js +0 -123
- package/dist/interfaces/react-ink/utils/key-data.js.map +0 -1
- package/dist/interfaces/react-ink/utils/message-groups.d.ts +0 -26
- package/dist/interfaces/react-ink/utils/message-groups.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/message-groups.js +0 -230
- package/dist/interfaces/react-ink/utils/message-groups.js.map +0 -1
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.d.ts +0 -20
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.js +0 -46
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.js.map +0 -1
- package/dist/interfaces/react-ink/utils/selection-dialog.d.ts +0 -3
- package/dist/interfaces/react-ink/utils/selection-dialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/selection-dialog.js +0 -18
- package/dist/interfaces/react-ink/utils/selection-dialog.js.map +0 -1
- package/dist/interfaces/react-ink/utils/session-actions.d.ts +0 -10
- package/dist/interfaces/react-ink/utils/session-actions.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/session-actions.js +0 -66
- package/dist/interfaces/react-ink/utils/session-actions.js.map +0 -1
- package/dist/interfaces/react-ink/utils/slash-commands.d.ts +0 -10
- package/dist/interfaces/react-ink/utils/slash-commands.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/slash-commands.js +0 -111
- package/dist/interfaces/react-ink/utils/slash-commands.js.map +0 -1
- package/dist/interfaces/react-ink/utils/startup-diagnostics.d.ts +0 -7
- package/dist/interfaces/react-ink/utils/startup-diagnostics.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/startup-diagnostics.js +0 -111
- package/dist/interfaces/react-ink/utils/startup-diagnostics.js.map +0 -1
- package/dist/interfaces/react-ink/utils/tool-display.d.ts +0 -22
- package/dist/interfaces/react-ink/utils/tool-display.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/tool-display.js +0 -349
- package/dist/interfaces/react-ink/utils/tool-display.js.map +0 -1
- package/dist/interfaces/service-api/rpc-client.d.ts +0 -1129
- package/dist/interfaces/service-api/rpc-client.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-client.js +0 -1333
- package/dist/interfaces/service-api/rpc-client.js.map +0 -1
- package/dist/interfaces/service-api/rpc-mode.d.ts +0 -813
- package/dist/interfaces/service-api/rpc-mode.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-mode.js +0 -1229
- package/dist/interfaces/service-api/rpc-mode.js.map +0 -1
- package/dist/interfaces/service-api/rpc-types.d.ts +0 -392
- package/dist/interfaces/service-api/rpc-types.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-types.js +0 -22
- package/dist/interfaces/service-api/rpc-types.js.map +0 -1
- package/dist/interfaces/shared.d.ts +0 -386
- package/dist/interfaces/shared.d.ts.map +0 -1
- package/dist/interfaces/shared.js +0 -543
- package/dist/interfaces/shared.js.map +0 -1
- package/dist/interfaces/theme/dark.json +0 -91
- package/dist/interfaces/theme/light.json +0 -90
- package/dist/interfaces/theme/theme-schema.json +0 -339
- package/dist/interfaces/theme/theme.d.ts +0 -500
- package/dist/interfaces/theme/theme.d.ts.map +0 -1
- package/dist/interfaces/theme/theme.js +0 -1511
- package/dist/interfaces/theme/theme.js.map +0 -1
- package/dist/main.d.ts +0 -8
- package/dist/main.d.ts.map +0 -1
- package/dist/main.js +0 -750
- package/dist/main.js.map +0 -1
- package/dist/migrations.d.ts +0 -8
- package/dist/migrations.d.ts.map +0 -1
- package/dist/migrations.js +0 -206
- package/dist/migrations.js.map +0 -1
- package/dist/observe.d.ts +0 -2
- package/dist/observe.d.ts.map +0 -1
- package/dist/observe.js +0 -2
- package/dist/observe.js.map +0 -1
- package/dist/runtime/agent-session.d.ts +0 -988
- package/dist/runtime/agent-session.d.ts.map +0 -1
- package/dist/runtime/agent-session.js +0 -3114
- package/dist/runtime/agent-session.js.map +0 -1
- package/dist/runtime/auth-storage.d.ts +0 -53
- package/dist/runtime/auth-storage.d.ts.map +0 -1
- package/dist/runtime/auth-storage.js +0 -378
- package/dist/runtime/auth-storage.js.map +0 -1
- package/dist/runtime/bash-executor.d.ts +0 -16
- package/dist/runtime/bash-executor.d.ts.map +0 -1
- package/dist/runtime/bash-executor.js +0 -270
- package/dist/runtime/bash-executor.js.map +0 -1
- package/dist/runtime/context-compression/branch-summarization.d.ts +0 -86
- package/dist/runtime/context-compression/branch-summarization.d.ts.map +0 -1
- package/dist/runtime/context-compression/branch-summarization.js +0 -242
- package/dist/runtime/context-compression/branch-summarization.js.map +0 -1
- package/dist/runtime/context-compression/compaction.d.ts +0 -121
- package/dist/runtime/context-compression/compaction.d.ts.map +0 -1
- package/dist/runtime/context-compression/compaction.js +0 -607
- package/dist/runtime/context-compression/compaction.js.map +0 -1
- package/dist/runtime/context-compression/index.d.ts +0 -35
- package/dist/runtime/context-compression/index.d.ts.map +0 -1
- package/dist/runtime/context-compression/index.js +0 -33
- package/dist/runtime/context-compression/index.js.map +0 -1
- package/dist/runtime/context-compression/utils.d.ts +0 -17
- package/dist/runtime/context-compression/utils.d.ts.map +0 -1
- package/dist/runtime/context-compression/utils.js +0 -117
- package/dist/runtime/context-compression/utils.js.map +0 -1
- package/dist/runtime/diagnostics.d.ts +0 -206
- package/dist/runtime/diagnostics.d.ts.map +0 -1
- package/dist/runtime/diagnostics.js +0 -144
- package/dist/runtime/diagnostics.js.map +0 -1
- package/dist/runtime/discover-packages.d.ts +0 -2
- package/dist/runtime/discover-packages.d.ts.map +0 -1
- package/dist/runtime/discover-packages.js +0 -59
- package/dist/runtime/discover-packages.js.map +0 -1
- package/dist/runtime/event-bus.d.ts +0 -9
- package/dist/runtime/event-bus.d.ts.map +0 -1
- package/dist/runtime/event-bus.js +0 -29
- package/dist/runtime/event-bus.js.map +0 -1
- package/dist/runtime/exec.d.ts +0 -13
- package/dist/runtime/exec.d.ts.map +0 -1
- package/dist/runtime/exec.js +0 -62
- package/dist/runtime/exec.js.map +0 -1
- package/dist/runtime/footer-data-provider.d.ts +0 -19
- package/dist/runtime/footer-data-provider.d.ts.map +0 -1
- package/dist/runtime/footer-data-provider.js +0 -122
- package/dist/runtime/footer-data-provider.js.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.d.ts +0 -26
- package/dist/runtime/html-export/ansi-to-html.d.ts.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.js +0 -253
- package/dist/runtime/html-export/ansi-to-html.js.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.ts +0 -262
- package/dist/runtime/html-export/index.d.ts +0 -162
- package/dist/runtime/html-export/index.d.ts.map +0 -1
- package/dist/runtime/html-export/index.js +0 -350
- package/dist/runtime/html-export/index.js.map +0 -1
- package/dist/runtime/html-export/index.ts +0 -432
- package/dist/runtime/html-export/template.css +0 -905
- package/dist/runtime/html-export/template.html +0 -76
- package/dist/runtime/html-export/template.js +0 -1549
- package/dist/runtime/html-export/tool-renderer.d.ts +0 -18
- package/dist/runtime/html-export/tool-renderer.d.ts.map +0 -1
- package/dist/runtime/html-export/tool-renderer.js +0 -45
- package/dist/runtime/html-export/tool-renderer.js.map +0 -1
- package/dist/runtime/html-export/tool-renderer.ts +0 -80
- package/dist/runtime/html-export/vendor/highlight.min.js +0 -1244
- package/dist/runtime/html-export/vendor/marked.min.js +0 -74
- package/dist/runtime/index.d.ts +0 -35
- package/dist/runtime/index.d.ts.map +0 -1
- package/dist/runtime/index.js +0 -35
- package/dist/runtime/index.js.map +0 -1
- package/dist/runtime/keybindings.d.ts +0 -20
- package/dist/runtime/keybindings.d.ts.map +0 -1
- package/dist/runtime/keybindings.js +0 -109
- package/dist/runtime/keybindings.js.map +0 -1
- package/dist/runtime/lifecycle/index.d.ts +0 -4
- package/dist/runtime/lifecycle/index.d.ts.map +0 -1
- package/dist/runtime/lifecycle/index.js +0 -3
- package/dist/runtime/lifecycle/index.js.map +0 -1
- package/dist/runtime/lifecycle/loader.d.ts +0 -6
- package/dist/runtime/lifecycle/loader.d.ts.map +0 -1
- package/dist/runtime/lifecycle/loader.js +0 -179
- package/dist/runtime/lifecycle/loader.js.map +0 -1
- package/dist/runtime/lifecycle/runner.d.ts +0 -14
- package/dist/runtime/lifecycle/runner.d.ts.map +0 -1
- package/dist/runtime/lifecycle/runner.js +0 -58
- package/dist/runtime/lifecycle/runner.js.map +0 -1
- package/dist/runtime/lifecycle/types.d.ts +0 -139
- package/dist/runtime/lifecycle/types.d.ts.map +0 -1
- package/dist/runtime/lifecycle/types.js +0 -2
- package/dist/runtime/lifecycle/types.js.map +0 -1
- package/dist/runtime/messages.d.ts +0 -2
- package/dist/runtime/messages.d.ts.map +0 -1
- package/dist/runtime/messages.js +0 -2
- package/dist/runtime/messages.js.map +0 -1
- package/dist/runtime/model-registry.d.ts +0 -62
- package/dist/runtime/model-registry.d.ts.map +0 -1
- package/dist/runtime/model-registry.js +0 -446
- package/dist/runtime/model-registry.js.map +0 -1
- package/dist/runtime/model-resolver.d.ts +0 -35
- package/dist/runtime/model-resolver.d.ts.map +0 -1
- package/dist/runtime/model-resolver.js +0 -231
- 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 -113
- 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,562 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Console contract — the FROZEN type surface of the interactive terminal shell.
|
|
3
|
+
*
|
|
4
|
+
* This module is the single typed seam between the coding-agent *product* and
|
|
5
|
+
* the React/Ink front-end that drives a session from a live terminal. It
|
|
6
|
+
* declares *only* shapes plus a handful of tiny inert helpers (a scheme-name
|
|
7
|
+
* guard, a fresh empty-state constant, and a pure modal transition) — no
|
|
8
|
+
* rendering, no `useInput` handlers, no I/O. Every later console module (the
|
|
9
|
+
* reducer, the theme adapter binding, the slash registry, the keymap, the
|
|
10
|
+
* completion engine, the paste coalescer, and the root surface component) is
|
|
11
|
+
* written against the names declared here, so the file is intentionally small,
|
|
12
|
+
* append-mostly, and stable.
|
|
13
|
+
*
|
|
14
|
+
* Design stance — the shell is *wiring*, not widgets:
|
|
15
|
+
*
|
|
16
|
+
* 1. **One immutable reducer state.** The whole terminal surface is reduced
|
|
17
|
+
* from a single {@link ConsoleState} value mutated only through a
|
|
18
|
+
* {@link ConsoleEvent} action union dispatched into {@link consoleReducer}.
|
|
19
|
+
* The discriminants are the console's own (`buffer:set`, `cursor:move`,
|
|
20
|
+
* `modal:open`, …) — they do not mirror any upstream reducer.
|
|
21
|
+
* 2. **A data-driven slash registry.** Slash commands are rows in a
|
|
22
|
+
* {@link SlashRegistry}, never an `if`-ladder. Each {@link SlashCommand}
|
|
23
|
+
* carries a `name`, a `summary`, and a `run(ctx)` that drives the
|
|
24
|
+
* {@link SessionConductor} through a {@link SlashContext}. The dispatcher is
|
|
25
|
+
* one generic prefix matcher over the registry.
|
|
26
|
+
* 3. **Theme behind the framework adapter.** The console speaks in semantic
|
|
27
|
+
* {@link ThemeTokens}; the concrete chalk/ink colours are produced once, at
|
|
28
|
+
* the config-load boundary, by mapping a {@link ThemePalette} through the
|
|
29
|
+
* framework `createThemeAdapter`. The accent ramp is the console's own.
|
|
30
|
+
* 4. **The console drives a conductor.** {@link ConsoleProps} carries a
|
|
31
|
+
* {@link SessionConductor}; the surface subscribes to its
|
|
32
|
+
* {@link SessionSignal} stream and renders its {@link ConductorState}. The
|
|
33
|
+
* conductor surface is the runtime contract and is never re-declared here.
|
|
34
|
+
*
|
|
35
|
+
* Framework anchors (all from the `indusagi` package — the sibling rebuilt
|
|
36
|
+
* framework this app targets):
|
|
37
|
+
* - `SessionSnapshot`, `ToolExecutionState`, `StatusMessage`, `UiDisplayBlock`,
|
|
38
|
+
* `InkThemeAdapter` ← `indusagi/react-ink`
|
|
39
|
+
* - `ReactNode`, `Reducer`, `Dispatch` ← `react` (the host React the
|
|
40
|
+
* react-ink components render against)
|
|
41
|
+
*
|
|
42
|
+
* Conductor anchors (the sibling Phase-2 runtime seam):
|
|
43
|
+
* - `SessionConductor`, `SessionSignal`, `ConductorState` ← `../conductor`
|
|
44
|
+
*
|
|
45
|
+
* The contract never re-declares these; it composes them.
|
|
46
|
+
*/
|
|
47
|
+
import type { InkThemeAdapter, SessionSnapshot, StatusMessage, ToolExecutionState, UiDisplayBlock } from "indusagi/react-ink";
|
|
48
|
+
import type { Dispatch, ReactNode, Reducer } from "react";
|
|
49
|
+
import type { ConductorState, SessionConductor, SessionSignal } from "../conductor";
|
|
50
|
+
import type { PreferenceStore } from "../settings";
|
|
51
|
+
import type { SessionLibrary } from "../sessions";
|
|
52
|
+
import type { AuthVault, LoginProvider, OAuthLoginResult } from "../launch";
|
|
53
|
+
import type { OAuthLoginCallbacks } from "indusagi/ai";
|
|
54
|
+
/** Re-exported framework vocabulary that console consumers routinely need. */
|
|
55
|
+
export type { SessionSnapshot, ToolExecutionState, StatusMessage, UiDisplayBlock, InkThemeAdapter, };
|
|
56
|
+
/** Re-exported conductor vocabulary the console renders and drives. */
|
|
57
|
+
export type { SessionConductor, SessionSignal, ConductorState };
|
|
58
|
+
/**
|
|
59
|
+
* The two built-in colour schemes the console ships with.
|
|
60
|
+
*
|
|
61
|
+
* Named for the time-of-day they evoke rather than a bare light/dark axis:
|
|
62
|
+
* - `midnight` — a low-luminance scheme for dark terminals.
|
|
63
|
+
* - `daylight` — a high-luminance scheme for light terminals.
|
|
64
|
+
*/
|
|
65
|
+
export type ThemeScheme = "midnight" | "daylight";
|
|
66
|
+
/** The default scheme applied before any user preference is loaded. */
|
|
67
|
+
export declare const DEFAULT_SCHEME: ThemeScheme;
|
|
68
|
+
/**
|
|
69
|
+
* Narrow an arbitrary string to a known {@link ThemeScheme}.
|
|
70
|
+
*
|
|
71
|
+
* The single sanctioned guard for scheme names, so every loader validates the
|
|
72
|
+
* same way. Returns `true` only for a recognised scheme literal.
|
|
73
|
+
*
|
|
74
|
+
* @param value any candidate string read from settings or a slash argument
|
|
75
|
+
*/
|
|
76
|
+
export declare function isThemeScheme(value: string): value is ThemeScheme;
|
|
77
|
+
/**
|
|
78
|
+
* The semantic colour/style tokens the console renders in.
|
|
79
|
+
*
|
|
80
|
+
* These are *roles*, not literals: a component asks for `frame` or `signal`,
|
|
81
|
+
* never a hex code. Each token is a string key resolved to a concrete colour by
|
|
82
|
+
* the framework {@link InkThemeAdapter} at the boundary; the console body never
|
|
83
|
+
* touches a hex value directly. The token set is closed so a scheme that omits
|
|
84
|
+
* one fails to type-check rather than rendering an undefined colour.
|
|
85
|
+
*
|
|
86
|
+
* - `signal` — the primary accent (active prompt, selection, focus).
|
|
87
|
+
* - `frame` — default panel/border lines and structural chrome.
|
|
88
|
+
* - `quietFrame` — de-emphasised borders and separators.
|
|
89
|
+
* - `promptSurface`— the composer's active background tint.
|
|
90
|
+
* - `cardAccent` — accent applied to message-row gutters and headers.
|
|
91
|
+
* - `bodyText` — default foreground for assistant/answer text.
|
|
92
|
+
* - `mutedText` — secondary/metadata text (timestamps, hints).
|
|
93
|
+
* - `inkText` — high-contrast text on an accented surface.
|
|
94
|
+
* - `notice` — informational status tone.
|
|
95
|
+
* - `affirm` — success status tone.
|
|
96
|
+
* - `caution` — warning status tone.
|
|
97
|
+
* - `alarm` — error/fault status tone.
|
|
98
|
+
* - `pending` — busy/in-flight status tone.
|
|
99
|
+
*/
|
|
100
|
+
export interface ThemeTokens {
|
|
101
|
+
readonly signal: string;
|
|
102
|
+
readonly frame: string;
|
|
103
|
+
readonly quietFrame: string;
|
|
104
|
+
readonly promptSurface: string;
|
|
105
|
+
readonly cardAccent: string;
|
|
106
|
+
readonly bodyText: string;
|
|
107
|
+
readonly mutedText: string;
|
|
108
|
+
readonly inkText: string;
|
|
109
|
+
readonly notice: string;
|
|
110
|
+
readonly affirm: string;
|
|
111
|
+
readonly caution: string;
|
|
112
|
+
readonly alarm: string;
|
|
113
|
+
readonly pending: string;
|
|
114
|
+
}
|
|
115
|
+
/** The closed set of token role names, for iteration and validation. */
|
|
116
|
+
export type ThemeToken = keyof ThemeTokens;
|
|
117
|
+
/**
|
|
118
|
+
* The accent ramp a scheme is derived from — the console's own hex values.
|
|
119
|
+
*
|
|
120
|
+
* A {@link ThemePalette} is the small raw-colour source from which the full
|
|
121
|
+
* {@link ThemeTokens} map is computed at load time. These nine stops are an
|
|
122
|
+
* original ramp (re-derived for this console; they intentionally do not reuse
|
|
123
|
+
* any upstream accent values) spanning a cool primary, a warm secondary, and a
|
|
124
|
+
* neutral text gradient. The boundary adapter expands them into the semantic
|
|
125
|
+
* token map and hands the result to `createThemeAdapter`.
|
|
126
|
+
*/
|
|
127
|
+
export interface ThemePalette {
|
|
128
|
+
/** Primary accent — the dominant cool hue. */
|
|
129
|
+
readonly primary: string;
|
|
130
|
+
/** Secondary accent — a complementary warm hue. */
|
|
131
|
+
readonly secondary: string;
|
|
132
|
+
/** Tertiary accent — a muted support hue. */
|
|
133
|
+
readonly tertiary: string;
|
|
134
|
+
/** Brightest neutral — high-contrast text. */
|
|
135
|
+
readonly ink: string;
|
|
136
|
+
/** Mid neutral — default body text. */
|
|
137
|
+
readonly body: string;
|
|
138
|
+
/** Dim neutral — secondary/metadata text. */
|
|
139
|
+
readonly muted: string;
|
|
140
|
+
/** Success hue. */
|
|
141
|
+
readonly affirm: string;
|
|
142
|
+
/** Warning hue. */
|
|
143
|
+
readonly caution: string;
|
|
144
|
+
/** Error hue. */
|
|
145
|
+
readonly alarm: string;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* A fully resolved scheme: identity, raw ramp, and the semantic token map the
|
|
149
|
+
* console renders in.
|
|
150
|
+
*
|
|
151
|
+
* The {@link tokens} are derived from {@link palette} at load time; `adapter` is
|
|
152
|
+
* the framework binding produced from those tokens. A scheme is the unit the
|
|
153
|
+
* theme picker selects and the surface threads through every component as the
|
|
154
|
+
* `theme` prop.
|
|
155
|
+
*/
|
|
156
|
+
export interface ConsoleTheme {
|
|
157
|
+
/** Which scheme this resolves. */
|
|
158
|
+
readonly scheme: ThemeScheme;
|
|
159
|
+
/** The raw accent ramp this scheme was derived from. */
|
|
160
|
+
readonly palette: ThemePalette;
|
|
161
|
+
/** The semantic token map components render against. */
|
|
162
|
+
readonly tokens: ThemeTokens;
|
|
163
|
+
/** The framework adapter that turns token roles into terminal colours. */
|
|
164
|
+
readonly adapter: InkThemeAdapter;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The discriminant of a single rendered transcript row.
|
|
168
|
+
*
|
|
169
|
+
* The console renders its scrollback as a flat list of typed rows rather than a
|
|
170
|
+
* single message blob, so each kind can be width-packed and themed
|
|
171
|
+
* independently:
|
|
172
|
+
* - `prompt` — a user-submitted turn.
|
|
173
|
+
* - `answer` — streamed assistant answer text.
|
|
174
|
+
* - `reason` — streamed reasoning/thinking text (shown only when enabled).
|
|
175
|
+
* - `toolRun` — a tool invocation row, correlated by `runId`.
|
|
176
|
+
* - `notice` — an out-of-band notice (changelog, status, system note).
|
|
177
|
+
*/
|
|
178
|
+
export type ViewRowKind = "prompt" | "answer" | "reason" | "toolRun" | "notice";
|
|
179
|
+
/**
|
|
180
|
+
* One immutable row in the transcript view.
|
|
181
|
+
*
|
|
182
|
+
* Rows are append-mostly and identity-stable: a streaming `answer`/`reason` row
|
|
183
|
+
* keeps its `id` while its `text` grows, so the renderer can reconcile in place.
|
|
184
|
+
* `runId` correlates a `toolRun` row with its {@link ToolExecutionState} entry.
|
|
185
|
+
*/
|
|
186
|
+
export interface ViewRow {
|
|
187
|
+
/** Stable unique row id. */
|
|
188
|
+
readonly id: string;
|
|
189
|
+
/** Which kind of row this is. */
|
|
190
|
+
readonly kind: ViewRowKind;
|
|
191
|
+
/** The row's display text (may be partial while streaming). */
|
|
192
|
+
readonly text: string;
|
|
193
|
+
/** Tool-run correlation id, present only for `toolRun` rows. */
|
|
194
|
+
readonly runId?: string;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* The closed set of modal overlays the console can raise over the transcript.
|
|
198
|
+
*
|
|
199
|
+
* Exactly one modal is active at a time (or `none`). The surface renders the
|
|
200
|
+
* matching framework dialog from a table keyed by this discriminant rather than
|
|
201
|
+
* a hand-written switch:
|
|
202
|
+
* - `none` — no overlay; the composer has focus.
|
|
203
|
+
* - `settings` — the settings list.
|
|
204
|
+
* - `models` — the single-model picker.
|
|
205
|
+
* - `scopedModels` — the per-scope model picker.
|
|
206
|
+
* - `theme` — the scheme picker.
|
|
207
|
+
* - `sessions` — the session resume/list picker.
|
|
208
|
+
* - `tree` — the transcript-tree navigator.
|
|
209
|
+
* - `userTurns` — the prior-user-turn picker (for branching/forking).
|
|
210
|
+
* - `signIn` — the provider sign-in launcher.
|
|
211
|
+
* - `signOut` — the provider sign-out confirmation.
|
|
212
|
+
* - `oauth` — the in-flight OAuth device/redirect flow.
|
|
213
|
+
* - `plugin` — a plugin-supplied select/confirm/input/custom overlay.
|
|
214
|
+
*/
|
|
215
|
+
export type ModalKind = "none" | "settings" | "models" | "scopedModels" | "theme" | "sessions" | "tree" | "userTurns" | "signIn" | "signOut" | "oauth" | "plugin";
|
|
216
|
+
/**
|
|
217
|
+
* The active modal plus any opaque payload the matching dialog needs.
|
|
218
|
+
*
|
|
219
|
+
* `payload` is deliberately untyped at the contract layer: each dialog narrows
|
|
220
|
+
* it at its own boundary (e.g. the OAuth flow state, a plugin overlay request).
|
|
221
|
+
* `none` carries no payload.
|
|
222
|
+
*/
|
|
223
|
+
export interface ModalState {
|
|
224
|
+
/** Which overlay is currently raised. */
|
|
225
|
+
readonly kind: ModalKind;
|
|
226
|
+
/** Opaque per-modal payload, narrowed by the rendering dialog. */
|
|
227
|
+
readonly payload?: unknown;
|
|
228
|
+
}
|
|
229
|
+
/** The inert "no overlay" modal state. */
|
|
230
|
+
export declare const NO_MODAL: ModalState;
|
|
231
|
+
/**
|
|
232
|
+
* Compute the next {@link ModalState} for a requested transition.
|
|
233
|
+
*
|
|
234
|
+
* A pure, inert helper so the open/close/replace logic lives in one place
|
|
235
|
+
* rather than being re-derived per call site. Opening any kind other than
|
|
236
|
+
* `none` raises that overlay (carrying the optional payload); opening `none`
|
|
237
|
+
* (or closing) returns {@link NO_MODAL}.
|
|
238
|
+
*
|
|
239
|
+
* @param next the modal kind to transition to
|
|
240
|
+
* @param payload optional payload for the target overlay
|
|
241
|
+
*/
|
|
242
|
+
export declare function transitionModal(next: ModalKind, payload?: unknown): ModalState;
|
|
243
|
+
/**
|
|
244
|
+
* The immutable state the entire terminal surface is reduced from.
|
|
245
|
+
*
|
|
246
|
+
* Every observable property of the console — what is on screen, what is in the
|
|
247
|
+
* composer, where the cursor sits, which overlay is up, and the display toggles
|
|
248
|
+
* — is one read-only field here. The surface holds exactly one of these in a
|
|
249
|
+
* reducer and never mutates it in place; a {@link ConsoleEvent} produces a fresh
|
|
250
|
+
* value. Live session data (messages, usage, model) is *not* stored here — it is
|
|
251
|
+
* projected from the conductor snapshot — so this state stays purely UI-local.
|
|
252
|
+
*/
|
|
253
|
+
export interface ConsoleState {
|
|
254
|
+
/** The rendered transcript, newest row last. */
|
|
255
|
+
readonly rows: readonly ViewRow[];
|
|
256
|
+
/** Out-of-band display blocks (changelog, etc.) interleaved with the rows. */
|
|
257
|
+
readonly blocks: readonly UiDisplayBlock[];
|
|
258
|
+
/** The current composer text buffer. */
|
|
259
|
+
readonly buffer: string;
|
|
260
|
+
/** Caret offset within {@link buffer}, in characters. */
|
|
261
|
+
readonly caret: number;
|
|
262
|
+
/** The submitted-input ring, oldest first. */
|
|
263
|
+
readonly history: readonly string[];
|
|
264
|
+
/** Cursor into {@link history}, or `null` when not browsing history. */
|
|
265
|
+
readonly historyAt: number | null;
|
|
266
|
+
/** The buffer stashed before history browsing began, restored on exit. */
|
|
267
|
+
readonly stash: string;
|
|
268
|
+
/** The active modal overlay. */
|
|
269
|
+
readonly modal: ModalState;
|
|
270
|
+
/** The transient status line, when one is showing. */
|
|
271
|
+
readonly status?: StatusMessage;
|
|
272
|
+
/** The active colour scheme. */
|
|
273
|
+
readonly scheme: ThemeScheme;
|
|
274
|
+
/** Whether reasoning/thinking rows are shown. */
|
|
275
|
+
readonly showReasoning: boolean;
|
|
276
|
+
/** Whether inline images are rendered. */
|
|
277
|
+
readonly showImages: boolean;
|
|
278
|
+
/** Whether a turn is in flight (input disabled / spinner shown). */
|
|
279
|
+
readonly busy: boolean;
|
|
280
|
+
/** Monotonic tick that forces a status-bar re-render on data change. */
|
|
281
|
+
readonly tick: number;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* The closed action union the console reducer folds over {@link ConsoleState}.
|
|
285
|
+
*
|
|
286
|
+
* The discriminants are the console's own `domain:verb` vocabulary. Grouped by
|
|
287
|
+
* the slice each touches:
|
|
288
|
+
*
|
|
289
|
+
* Composer buffer & caret
|
|
290
|
+
* - `buffer:set` — replace the whole buffer (caret clamped).
|
|
291
|
+
* - `buffer:insert` — splice text in at the caret.
|
|
292
|
+
* - `buffer:erasePrev` — delete the character before the caret.
|
|
293
|
+
* - `buffer:eraseNext` — delete the character after the caret.
|
|
294
|
+
* - `caret:move` — move the caret by a signed delta.
|
|
295
|
+
* - `caret:jump` — set the caret to an absolute offset.
|
|
296
|
+
*
|
|
297
|
+
* History ring
|
|
298
|
+
* - `history:push` — append the just-submitted input.
|
|
299
|
+
* - `history:back` — recall the previous entry (stashes a live buffer).
|
|
300
|
+
* - `history:forward` — recall the next entry (restores the stash at end).
|
|
301
|
+
*
|
|
302
|
+
* Transcript view
|
|
303
|
+
* - `rows:set` — replace the whole row list.
|
|
304
|
+
* - `rows:append` — append one row.
|
|
305
|
+
* - `rows:patch` — replace the text of the row matching an id.
|
|
306
|
+
* - `block:append` — append a display block.
|
|
307
|
+
* - `blocks:clear` — drop every display block (e.g. on a new session).
|
|
308
|
+
*
|
|
309
|
+
* Overlays, status, theme, toggles, busy
|
|
310
|
+
* - `modal:open` — raise an overlay (with optional payload).
|
|
311
|
+
* - `modal:close` — drop back to the composer.
|
|
312
|
+
* - `status:set` — show a transient status message.
|
|
313
|
+
* - `status:clear` — clear the status line.
|
|
314
|
+
* - `scheme:set` — switch the active colour scheme.
|
|
315
|
+
* - `toggle:reasoning` — flip reasoning-row visibility.
|
|
316
|
+
* - `toggle:images` — flip inline-image rendering.
|
|
317
|
+
* - `busy:set` — set the in-flight flag.
|
|
318
|
+
* - `tick` — bump the status-bar re-render tick.
|
|
319
|
+
*/
|
|
320
|
+
export type ConsoleEvent = {
|
|
321
|
+
readonly type: "buffer:set";
|
|
322
|
+
readonly text: string;
|
|
323
|
+
} | {
|
|
324
|
+
readonly type: "buffer:insert";
|
|
325
|
+
readonly text: string;
|
|
326
|
+
} | {
|
|
327
|
+
readonly type: "buffer:erasePrev";
|
|
328
|
+
} | {
|
|
329
|
+
readonly type: "buffer:eraseNext";
|
|
330
|
+
} | {
|
|
331
|
+
readonly type: "caret:move";
|
|
332
|
+
readonly delta: number;
|
|
333
|
+
} | {
|
|
334
|
+
readonly type: "caret:jump";
|
|
335
|
+
readonly offset: number;
|
|
336
|
+
} | {
|
|
337
|
+
readonly type: "history:push";
|
|
338
|
+
readonly text: string;
|
|
339
|
+
} | {
|
|
340
|
+
readonly type: "history:back";
|
|
341
|
+
} | {
|
|
342
|
+
readonly type: "history:forward";
|
|
343
|
+
} | {
|
|
344
|
+
readonly type: "rows:set";
|
|
345
|
+
readonly rows: readonly ViewRow[];
|
|
346
|
+
} | {
|
|
347
|
+
readonly type: "rows:append";
|
|
348
|
+
readonly row: ViewRow;
|
|
349
|
+
} | {
|
|
350
|
+
readonly type: "rows:patch";
|
|
351
|
+
readonly id: string;
|
|
352
|
+
readonly text: string;
|
|
353
|
+
} | {
|
|
354
|
+
readonly type: "block:append";
|
|
355
|
+
readonly block: UiDisplayBlock;
|
|
356
|
+
} | {
|
|
357
|
+
readonly type: "blocks:clear";
|
|
358
|
+
} | {
|
|
359
|
+
readonly type: "modal:open";
|
|
360
|
+
readonly kind: ModalKind;
|
|
361
|
+
readonly payload?: unknown;
|
|
362
|
+
} | {
|
|
363
|
+
readonly type: "modal:close";
|
|
364
|
+
} | {
|
|
365
|
+
readonly type: "status:set";
|
|
366
|
+
readonly status: StatusMessage;
|
|
367
|
+
} | {
|
|
368
|
+
readonly type: "status:clear";
|
|
369
|
+
} | {
|
|
370
|
+
readonly type: "scheme:set";
|
|
371
|
+
readonly scheme: ThemeScheme;
|
|
372
|
+
} | {
|
|
373
|
+
readonly type: "toggle:reasoning";
|
|
374
|
+
} | {
|
|
375
|
+
readonly type: "toggle:images";
|
|
376
|
+
} | {
|
|
377
|
+
readonly type: "busy:set";
|
|
378
|
+
readonly busy: boolean;
|
|
379
|
+
} | {
|
|
380
|
+
readonly type: "tick";
|
|
381
|
+
};
|
|
382
|
+
/** The discriminant literals of {@link ConsoleEvent}, for filtering/logging. */
|
|
383
|
+
export type ConsoleEventType = ConsoleEvent["type"];
|
|
384
|
+
/** Extract a single member of {@link ConsoleEvent} by its `type`. */
|
|
385
|
+
export type ConsoleEventOf<T extends ConsoleEventType> = Extract<ConsoleEvent, {
|
|
386
|
+
type: T;
|
|
387
|
+
}>;
|
|
388
|
+
/** The reducer signature the console store is built from. */
|
|
389
|
+
export type ConsoleReducer = Reducer<ConsoleState, ConsoleEvent>;
|
|
390
|
+
/** The bound dispatch function the surface threads to its children. */
|
|
391
|
+
export type ConsoleDispatch = Dispatch<ConsoleEvent>;
|
|
392
|
+
/**
|
|
393
|
+
* The freshly-seeded {@link ConsoleState} a session opens with.
|
|
394
|
+
*
|
|
395
|
+
* A pure constant (no session data baked in) so the initial render is
|
|
396
|
+
* deterministic and the store can be re-seeded without consulting any runtime.
|
|
397
|
+
* Loaders overlay user preferences (scheme, toggles) on top of this base.
|
|
398
|
+
*/
|
|
399
|
+
export declare const EMPTY_CONSOLE_STATE: ConsoleState;
|
|
400
|
+
/**
|
|
401
|
+
* The result a {@link SlashCommand.run} resolves to.
|
|
402
|
+
*
|
|
403
|
+
* A handler reports what it did so the dispatcher can react uniformly:
|
|
404
|
+
* - `handled` — the command ran; nothing further is needed.
|
|
405
|
+
* - `prompt` — the command produced text to be submitted as a normal turn
|
|
406
|
+
* (carried in `text`).
|
|
407
|
+
* - `unknown` — the command name did not match; fall through to templates /
|
|
408
|
+
* plugin commands / a literal prompt.
|
|
409
|
+
*/
|
|
410
|
+
export type SlashOutcome = {
|
|
411
|
+
readonly kind: "handled";
|
|
412
|
+
} | {
|
|
413
|
+
readonly kind: "prompt";
|
|
414
|
+
readonly text: string;
|
|
415
|
+
} | {
|
|
416
|
+
readonly kind: "unknown";
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* The capabilities a {@link SlashCommand.run} is handed to act on the console.
|
|
420
|
+
*
|
|
421
|
+
* The context is the command's whole world: it drives the {@link SessionConductor},
|
|
422
|
+
* mutates UI state through {@link dispatch}, raises overlays, and surfaces status.
|
|
423
|
+
* Keeping every effect behind this object lets the registry handlers stay pure
|
|
424
|
+
* with respect to React internals and lets tests pass a scripted fake.
|
|
425
|
+
*/
|
|
426
|
+
export interface SlashContext {
|
|
427
|
+
/** The raw argument string after the command name (may be empty). */
|
|
428
|
+
readonly args: string;
|
|
429
|
+
/** The session this console drives. */
|
|
430
|
+
readonly conductor: SessionConductor;
|
|
431
|
+
/** Dispatch a reducer event to mutate console state. */
|
|
432
|
+
readonly dispatch: ConsoleDispatch;
|
|
433
|
+
/** Raise a modal overlay. */
|
|
434
|
+
readonly openModal: (kind: ModalKind, payload?: unknown) => void;
|
|
435
|
+
/** Drop the active overlay. */
|
|
436
|
+
readonly closeModal: () => void;
|
|
437
|
+
/** Ask the host process to leave the interactive console (for `/quit`, `/exit`). */
|
|
438
|
+
readonly requestExit: () => void;
|
|
439
|
+
/** Show a transient status message. */
|
|
440
|
+
readonly setStatus: (status: StatusMessage) => void;
|
|
441
|
+
/** Replace the composer buffer (e.g. to pre-fill a follow-up). */
|
|
442
|
+
readonly setBuffer: (text: string) => void;
|
|
443
|
+
/** Append an out-of-band display block. */
|
|
444
|
+
readonly appendBlock: (block: UiDisplayBlock) => void;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* One row in the slash registry.
|
|
448
|
+
*
|
|
449
|
+
* A command is pure data plus a `run`: the `name` is its canonical token
|
|
450
|
+
* (without the leading slash), `summary` is the one-line description the
|
|
451
|
+
* completion window shows, `aliases` are alternate tokens, and `family` groups
|
|
452
|
+
* related commands (`composio`, `memory`, `scoped-models`, `theme`, …) for
|
|
453
|
+
* listing. `run` performs the effect through a {@link SlashContext}.
|
|
454
|
+
*/
|
|
455
|
+
export interface SlashCommand {
|
|
456
|
+
/** Canonical command token, without the leading slash. */
|
|
457
|
+
readonly name: string;
|
|
458
|
+
/** One-line description shown in the completion window. */
|
|
459
|
+
readonly summary: string;
|
|
460
|
+
/** Alternate tokens that resolve to this command. */
|
|
461
|
+
readonly aliases?: readonly string[];
|
|
462
|
+
/** The family this command belongs to, for grouped listing. */
|
|
463
|
+
readonly family?: string;
|
|
464
|
+
/** Whether the command accepts a trailing argument string. */
|
|
465
|
+
readonly takesArgs?: boolean;
|
|
466
|
+
/** Execute the command against the console. */
|
|
467
|
+
run(ctx: SlashContext): SlashOutcome | Promise<SlashOutcome>;
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* The registry the dispatcher resolves a typed slash line against.
|
|
471
|
+
*
|
|
472
|
+
* A flat, ordered list of {@link SlashCommand} rows plus a derived index. The
|
|
473
|
+
* dispatcher walks this list once (the index is the fast path for exact/alias
|
|
474
|
+
* lookups), so adding a command is appending a row — never editing a branch.
|
|
475
|
+
*/
|
|
476
|
+
export interface SlashRegistry {
|
|
477
|
+
/** Every registered command, in listing order. */
|
|
478
|
+
readonly commands: readonly SlashCommand[];
|
|
479
|
+
/** Name/alias → command, for O(1) exact resolution. */
|
|
480
|
+
readonly index: ReadonlyMap<string, SlashCommand>;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* The runtime handles the modal overlays reach for when they open.
|
|
484
|
+
*
|
|
485
|
+
* The console surface itself stays UI-local — it knows nothing about settings
|
|
486
|
+
* files, the session catalog, or the credential store. Each overlay that needs
|
|
487
|
+
* to drive one of those is handed this bundle (threaded through
|
|
488
|
+
* {@link ConsoleProps.services}), so a dialog body can read/write a preference,
|
|
489
|
+
* list and open saved sessions, enumerate sign-in providers, run a browser
|
|
490
|
+
* login, and persist credentials — all without prop-drilling individual
|
|
491
|
+
* dependencies through the surface. It is optional on {@link ConsoleProps}: the
|
|
492
|
+
* headless and test mount paths run without it, and an overlay group that finds
|
|
493
|
+
* it absent renders nothing.
|
|
494
|
+
*/
|
|
495
|
+
export interface OverlayServices {
|
|
496
|
+
/** The session this console drives (model selection, branching, forking). */
|
|
497
|
+
readonly conductor: SessionConductor;
|
|
498
|
+
/** The two-tier preference reader/writer behind the settings overlays. */
|
|
499
|
+
readonly settings: PreferenceStore;
|
|
500
|
+
/** The catalog-and-navigation layer over persisted transcripts. */
|
|
501
|
+
readonly sessions: SessionLibrary;
|
|
502
|
+
/** Enumerate the merged sign-in directory (browser + api-key providers). */
|
|
503
|
+
readonly listLoginProviders: () => LoginProvider[];
|
|
504
|
+
/** Drive a provider's browser sign-in and persist the result through the vault. */
|
|
505
|
+
readonly startOAuthLogin: (providerId: string, callbacks: OAuthLoginCallbacks, vault: AuthVault, account?: string) => Promise<OAuthLoginResult>;
|
|
506
|
+
/**
|
|
507
|
+
* Open a sign-in url in the user's browser (Chrome-first per platform).
|
|
508
|
+
* Resolves `true` when a browser was launched, `false` otherwise — the OAuth
|
|
509
|
+
* overlay calls this so the consent page opens automatically, matching the CLI
|
|
510
|
+
* sign-in path.
|
|
511
|
+
*/
|
|
512
|
+
readonly openLoginUrl: (url: string) => Promise<boolean>;
|
|
513
|
+
/** The credential store sign-in / sign-out overlays read and write. */
|
|
514
|
+
readonly vault: AuthVault;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* What the root `TerminalConsole` surface receives at mount.
|
|
518
|
+
*
|
|
519
|
+
* The console is a consumer: it is handed a fully-assembled
|
|
520
|
+
* {@link SessionConductor} to drive, the resolved {@link ConsoleTheme} to render
|
|
521
|
+
* in, the {@link SlashRegistry} to dispatch against, and a small set of optional
|
|
522
|
+
* seeds (a first message, preloaded images, a request-exit hook). It owns no
|
|
523
|
+
* runtime of its own.
|
|
524
|
+
*/
|
|
525
|
+
export interface ConsoleProps {
|
|
526
|
+
/** The session this console drives and renders. */
|
|
527
|
+
readonly conductor: SessionConductor;
|
|
528
|
+
/** The resolved colour scheme to render in. */
|
|
529
|
+
readonly theme: ConsoleTheme;
|
|
530
|
+
/** The slash-command registry the composer dispatches against. */
|
|
531
|
+
readonly slash: SlashRegistry;
|
|
532
|
+
/** An optional first user turn to submit on mount. */
|
|
533
|
+
readonly initialInput?: string;
|
|
534
|
+
/** Optional local image paths to attach to the first turn. */
|
|
535
|
+
readonly initialImages?: readonly string[];
|
|
536
|
+
/** Whether to render verbose diagnostics in the banner. */
|
|
537
|
+
readonly verbose?: boolean;
|
|
538
|
+
/** Invoked when the console asks the host process to exit. */
|
|
539
|
+
readonly onExit?: () => void;
|
|
540
|
+
/** The runtime handles the modal overlays drive; absent on headless paths. */
|
|
541
|
+
readonly services?: OverlayServices;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* The ambient context the surface threads to its descendants.
|
|
545
|
+
*
|
|
546
|
+
* A narrow read-only handle on the things deep children need without prop
|
|
547
|
+
* drilling: the conductor to drive and the exit request. Larger state flows
|
|
548
|
+
* through the reducer, not this object.
|
|
549
|
+
*/
|
|
550
|
+
export interface ConsoleHost {
|
|
551
|
+
/** The session this console drives. */
|
|
552
|
+
readonly conductor: SessionConductor;
|
|
553
|
+
/** Ask the host process to exit the interactive console. */
|
|
554
|
+
readonly requestExit: () => void;
|
|
555
|
+
}
|
|
556
|
+
/** The minimal theme-prop a console component renders against. */
|
|
557
|
+
export interface Themed {
|
|
558
|
+
/** The framework adapter that turns token roles into terminal colours. */
|
|
559
|
+
readonly theme: InkThemeAdapter;
|
|
560
|
+
}
|
|
561
|
+
/** A render slot a component may be asked to fill (header/footer/inline). */
|
|
562
|
+
export type RenderSlot = ReactNode;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Console subsystem — public barrel.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports the FROZEN interactive-UI contract: the immutable reducer state
|
|
5
|
+
* ({@link ConsoleState}) and its action union ({@link ConsoleEvent}), the
|
|
6
|
+
* transcript view rows ({@link ViewRow}), the modal/overlay state machine
|
|
7
|
+
* ({@link ModalKind}, {@link ModalState}, {@link transitionModal}), the theme
|
|
8
|
+
* vocabulary ({@link ThemeScheme}, {@link ThemeTokens}, {@link ThemePalette},
|
|
9
|
+
* {@link ConsoleTheme}), the data-driven slash registry ({@link SlashCommand},
|
|
10
|
+
* {@link SlashRegistry}, {@link SlashContext}), and the root surface props
|
|
11
|
+
* ({@link ConsoleProps}, {@link ConsoleHost}).
|
|
12
|
+
*
|
|
13
|
+
* Behavior modules (the reducer, the theme adapter binding, the slash registry,
|
|
14
|
+
* the keymap, the completion engine, the paste coalescer, and the surface
|
|
15
|
+
* components) are added to this barrel as they land; consumers import the
|
|
16
|
+
* console surface from `src/console` rather than reaching into individual
|
|
17
|
+
* modules.
|
|
18
|
+
*/
|
|
19
|
+
export type { ThemeScheme, ThemeTokens, ThemeToken, ThemePalette, ConsoleTheme, ViewRowKind, ViewRow, ModalKind, ModalState, ConsoleState, ConsoleEvent, ConsoleEventType, ConsoleEventOf, ConsoleReducer, ConsoleDispatch, SlashOutcome, SlashContext, SlashCommand, SlashRegistry, ConsoleProps, ConsoleHost, Themed, RenderSlot, SessionSnapshot, ToolExecutionState, StatusMessage, UiDisplayBlock, InkThemeAdapter, SessionConductor, SessionSignal, ConductorState, } from "./contract";
|
|
20
|
+
export { DEFAULT_SCHEME, isThemeScheme, NO_MODAL, transitionModal, EMPTY_CONSOLE_STATE, } from "./contract";
|
|
21
|
+
export { consoleReducer, initConsoleState } from "./reducer";
|
|
22
|
+
export { THEMES, THEME_SCHEMES, resolveTheme, MIDNIGHT_PALETTE, DAYLIGHT_PALETTE, PALETTES, deriveTokens, themeAdapter, frameworkColors, } from "./theme";
|
|
23
|
+
export { SLASH_COMMANDS, FAMILY, DEFAULT_SLASH_REGISTRY, buildRegistry, tokensOf, findCommand, matchPrefix, listFamilies, commandsInFamily, SLASH_PREFIX, looksLikeSlash, parseSlash, resolveSlash, type SlashLine, type SlashResolution, } from "./slash";
|
|
24
|
+
export { NO_INTENT, readKey, NO_CHORD, advanceChord, type KeyChord, type ConsoleVerb, type ConsoleIntent, type ChordOutcome, type ChordLatch, type ChordStep, PASTE_THRESHOLDS, PASTE_BURST_GAP_MS, EMPTY_PASTE_VAULT, pasteMarker, classifyPaste, coalescePaste, expandMarkers, hasMarkers, type PasteThresholds, type PasteVault, type PasteCapture, completeAt, applySuggestion, type CompletionKind, type Suggestion, type TokenSpan, type CompletionResult, type DirEntry, type DirReader, } from "./input";
|
|
25
|
+
export { TerminalConsole } from "./components/TerminalConsole";
|
|
26
|
+
export { Composer, type ComposerProps } from "./components/Composer";
|
|
27
|
+
export { StatusBar, type StatusBarProps } from "./components/StatusBar";
|
|
28
|
+
export { Banner, type BannerProps } from "./components/Banner";
|
|
29
|
+
export { gatherStartup, gatherChangelog } from "./startup";
|
|
30
|
+
export type { StartupMap, StartupSection, StartupChangelog, StartupChangelogMode, StartupNotice, StartupNoticeKind, StartupInputs, } from "./startup";
|
|
31
|
+
export { mountConsole, type MountConsoleOptions, type MountResult, } from "./mount";
|