indusagi-coding-agent 0.1.59 → 0.1.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +60 -48
- package/CREDITS.md +19 -0
- package/NOTICE +7 -0
- package/README.md +65 -63
- package/dist/entry.js +19251 -0
- package/dist/types/addons/addons.test.d.ts +21 -0
- package/dist/types/addons/contract.d.ts +640 -0
- package/dist/types/addons/dispatch/event-dispatcher.d.ts +140 -0
- package/dist/types/addons/dispatch/index.d.ts +23 -0
- package/dist/types/addons/dispatch/tool-interceptor.d.ts +128 -0
- package/dist/types/addons/host.d.ts +246 -0
- package/dist/types/addons/index.d.ts +51 -0
- package/dist/types/addons/manifest.d.ts +56 -0
- package/dist/types/addons/sandbox.d.ts +103 -0
- package/dist/types/addons/surface.d.ts +42 -0
- package/dist/types/boot/auth-vault.d.ts +29 -0
- package/dist/types/boot/boot.d.ts +26 -0
- package/dist/types/boot/boot.test.d.ts +15 -0
- package/dist/types/boot/contract.d.ts +234 -0
- package/dist/types/boot/index.d.ts +20 -0
- package/dist/types/boot/invocation.d.ts +40 -0
- package/dist/types/boot/invocation.test.d.ts +8 -0
- package/dist/types/boot/runners/index.d.ts +11 -0
- package/dist/types/boot/runners/link-runner.d.ts +20 -0
- package/dist/types/boot/runners/oneshot-runner.d.ts +19 -0
- package/dist/types/boot/runners/registry.d.ts +30 -0
- package/dist/types/boot/runners/repl-runner.d.ts +19 -0
- package/dist/types/boot/runners/session-persist.test.d.ts +10 -0
- package/dist/types/boot/runners/session.d.ts +45 -0
- package/dist/types/boot/stages.d.ts +92 -0
- package/dist/types/boot/upgrade/apply.d.ts +45 -0
- package/dist/types/boot/upgrade/index.d.ts +13 -0
- package/dist/types/boot/upgrade/upgrades.d.ts +126 -0
- package/dist/types/briefing/briefing.test.d.ts +15 -0
- package/dist/types/briefing/compose.d.ts +37 -0
- package/dist/types/briefing/contract.d.ts +686 -0
- package/dist/types/briefing/index.d.ts +27 -0
- package/dist/types/briefing/macros.d.ts +206 -0
- package/dist/types/briefing/skills.d.ts +67 -0
- package/dist/types/capability-deck/bridge-ledger/index.d.ts +25 -0
- package/dist/types/capability-deck/bridge-ledger/key.d.ts +65 -0
- package/dist/types/capability-deck/bridge-ledger/ledger.d.ts +129 -0
- package/dist/types/capability-deck/bridge-ledger/network.d.ts +115 -0
- package/dist/types/capability-deck/builtin-bridge.d.ts +114 -0
- package/dist/types/capability-deck/capability-deck.test.d.ts +18 -0
- package/dist/types/capability-deck/cards/bg-process-card.d.ts +99 -0
- package/dist/types/capability-deck/cards/index.d.ts +30 -0
- package/dist/types/capability-deck/cards/memory-card.d.ts +69 -0
- package/dist/types/capability-deck/cards/saas-card.d.ts +78 -0
- package/dist/types/capability-deck/cards/task-card.d.ts +82 -0
- package/dist/types/capability-deck/cards/todo-card.d.ts +78 -0
- package/dist/types/capability-deck/contract.d.ts +317 -0
- package/dist/types/capability-deck/index.d.ts +46 -0
- package/dist/types/capability-deck/manifest.d.ts +60 -0
- package/dist/types/capability-deck/provision.d.ts +76 -0
- package/dist/types/channels/channels.test.d.ts +15 -0
- package/dist/types/channels/contract.d.ts +489 -0
- package/dist/types/channels/framer.d.ts +49 -0
- package/dist/types/channels/index.d.ts +24 -0
- package/dist/types/channels/link/dialog.d.ts +138 -0
- package/dist/types/channels/link/driver.d.ts +81 -0
- package/dist/types/channels/link/index.d.ts +13 -0
- package/dist/types/channels/link/server.d.ts +70 -0
- package/dist/types/channels/oneshot.d.ts +37 -0
- package/dist/types/channels/ops.d.ts +89 -0
- package/dist/types/channels/session-ops.d.ts +80 -0
- package/dist/types/conductor/catalog/catalog.d.ts +87 -0
- package/dist/types/conductor/catalog/index.d.ts +14 -0
- package/dist/types/conductor/catalog/matcher.d.ts +47 -0
- package/dist/types/conductor/conductor.d.ts +157 -0
- package/dist/types/conductor/conductor.test.d.ts +10 -0
- package/dist/types/conductor/contract.d.ts +547 -0
- package/dist/types/conductor/index.d.ts +23 -0
- package/dist/types/conductor/signal-hub/hub.d.ts +83 -0
- package/dist/types/conductor/signal-hub/index.d.ts +19 -0
- package/dist/types/conductor/signal-hub/translate.d.ts +74 -0
- package/dist/types/conductor/skill-parse/index.d.ts +10 -0
- package/dist/types/conductor/skill-parse/parse.d.ts +67 -0
- package/dist/types/conductor/submit.test.d.ts +28 -0
- package/dist/types/conductor/transcript-store/index.d.ts +16 -0
- package/dist/types/conductor/transcript-store/serialize.d.ts +106 -0
- package/dist/types/conductor/transcript-store/store.d.ts +170 -0
- package/dist/types/console/components/Banner.d.ts +54 -0
- package/dist/types/console/components/Composer.d.ts +37 -0
- package/dist/types/console/components/StatusBar.d.ts +31 -0
- package/dist/types/console/components/TerminalConsole.d.ts +32 -0
- package/dist/types/console/console.test.d.ts +19 -0
- package/dist/types/console/contract.d.ts +562 -0
- package/dist/types/console/index.d.ts +31 -0
- package/dist/types/console/input/complete.d.ts +120 -0
- package/dist/types/console/input/dir-reader.d.ts +28 -0
- package/dist/types/console/input/index.d.ts +24 -0
- package/dist/types/console/input/input.test.d.ts +14 -0
- package/dist/types/console/input/keymap.d.ts +184 -0
- package/dist/types/console/input/paste.d.ts +131 -0
- package/dist/types/console/mount.d.ts +53 -0
- package/dist/types/console/overlays/auth.d.ts +31 -0
- package/dist/types/console/overlays/host.d.ts +44 -0
- package/dist/types/console/overlays/index.d.ts +13 -0
- package/dist/types/console/overlays/pickers.d.ts +37 -0
- package/dist/types/console/overlays/sessions.d.ts +29 -0
- package/dist/types/console/reducer.d.ts +51 -0
- package/dist/types/console/slash/builtins.d.ts +33 -0
- package/dist/types/console/slash/commands/dynamic.d.ts +57 -0
- package/dist/types/console/slash/commands/dynamic.test.d.ts +9 -0
- package/dist/types/console/slash/commands/integrations.d.ts +28 -0
- package/dist/types/console/slash/commands/integrations.test.d.ts +18 -0
- package/dist/types/console/slash/commands/shared.d.ts +72 -0
- package/dist/types/console/slash/commands/transcript.d.ts +24 -0
- package/dist/types/console/slash/commands/transcript.test.d.ts +10 -0
- package/dist/types/console/slash/commands/workbench.d.ts +21 -0
- package/dist/types/console/slash/commands/workbench.test.d.ts +10 -0
- package/dist/types/console/slash/index.d.ts +34 -0
- package/dist/types/console/slash/registry.d.ts +90 -0
- package/dist/types/console/slash/resolve.d.ts +109 -0
- package/dist/types/console/slash/slash.test.d.ts +18 -0
- package/dist/types/console/startup.d.ts +119 -0
- package/dist/types/console/theme/adapter.d.ts +60 -0
- package/dist/types/console/theme/index.d.ts +18 -0
- package/dist/types/console/theme/palette.d.ts +42 -0
- package/dist/types/console/theme/resolve.d.ts +45 -0
- package/dist/types/console/theme/theme.test.d.ts +16 -0
- package/dist/types/console/theme/tokens.d.ts +40 -0
- package/dist/types/entry.d.ts +17 -0
- package/dist/types/index.d.ts +24 -0
- package/dist/types/insight/channel.d.ts +45 -0
- package/dist/types/insight/contract.d.ts +411 -0
- package/dist/types/insight/index.d.ts +26 -0
- package/dist/types/insight/insight.test.d.ts +17 -0
- package/dist/types/insight/recorder.d.ts +63 -0
- package/dist/types/insight/redaction.d.ts +44 -0
- package/dist/types/insight/replay.d.ts +77 -0
- package/dist/types/insight/sampling.d.ts +84 -0
- package/dist/types/insight/serialize.d.ts +54 -0
- package/dist/types/insight/sinks/console.d.ts +36 -0
- package/dist/types/insight/sinks/file.d.ts +37 -0
- package/dist/types/insight/sinks/index.d.ts +16 -0
- package/dist/types/insight/sinks/stream.d.ts +53 -0
- package/dist/types/kit/clipboard-image.d.ts +40 -0
- package/dist/types/kit/external-editor.d.ts +35 -0
- package/dist/types/kit/image.d.ts +102 -0
- package/dist/types/kit/index.d.ts +29 -0
- package/dist/types/kit/kit.test.d.ts +13 -0
- package/dist/types/kit/shell.d.ts +50 -0
- package/dist/types/kit/tool-fetch.d.ts +165 -0
- package/dist/types/launch/catalog.d.ts +51 -0
- package/dist/types/launch/contract.d.ts +385 -0
- package/dist/types/launch/credentials.d.ts +112 -0
- package/dist/types/launch/index.d.ts +28 -0
- package/dist/types/launch/invocation/attachments.d.ts +72 -0
- package/dist/types/launch/invocation/flags.d.ts +59 -0
- package/dist/types/launch/invocation/index.d.ts +23 -0
- package/dist/types/launch/invocation/read.d.ts +52 -0
- package/dist/types/launch/invocation/usage.d.ts +25 -0
- package/dist/types/launch/launch.test.d.ts +20 -0
- package/dist/types/launch/oauth.d.ts +88 -0
- package/dist/types/launch/packages.d.ts +75 -0
- package/dist/types/launch/packages.test.d.ts +15 -0
- package/dist/types/launch/pickers.d.ts +97 -0
- package/dist/types/runtime-bridge/bridges/_drive.d.ts +74 -0
- package/dist/types/runtime-bridge/bridges/builtins.d.ts +77 -0
- package/dist/types/runtime-bridge/bridges/claude-cli.d.ts +37 -0
- package/dist/types/runtime-bridge/bridges/codex-cli.d.ts +27 -0
- package/dist/types/runtime-bridge/bridges/index.d.ts +15 -0
- package/dist/types/runtime-bridge/bridges/indusagi-cli.d.ts +36 -0
- package/dist/types/runtime-bridge/broker.d.ts +182 -0
- package/dist/types/runtime-bridge/contract.d.ts +436 -0
- package/dist/types/runtime-bridge/index.d.ts +21 -0
- package/dist/types/runtime-bridge/runtime-bridge.test.d.ts +17 -0
- package/dist/types/runtime-bridge/sink.d.ts +59 -0
- package/dist/types/sessions/contract.d.ts +79 -0
- package/dist/types/sessions/index.d.ts +11 -0
- package/dist/types/sessions/library.d.ts +95 -0
- package/dist/types/sessions/sessions.test.d.ts +11 -0
- package/dist/types/settings/contract.d.ts +116 -0
- package/dist/types/settings/index.d.ts +13 -0
- package/dist/types/settings/manager.d.ts +109 -0
- package/dist/types/settings/settings.test.d.ts +16 -0
- package/dist/types/transcript-export/index.d.ts +20 -0
- package/dist/types/transcript-export/publish.d.ts +81 -0
- package/dist/types/transcript-export/sgr.d.ts +90 -0
- package/dist/types/transcript-export/template.d.ts +64 -0
- package/dist/types/transcript-export/theme-bridge.d.ts +99 -0
- package/dist/types/transcript-export/transcript-export.test.d.ts +16 -0
- package/dist/types/window-budget/budget/estimate.d.ts +47 -0
- package/dist/types/window-budget/budget/gate.d.ts +37 -0
- package/dist/types/window-budget/budget/index.d.ts +14 -0
- package/dist/types/window-budget/budget/slice.d.ts +38 -0
- package/dist/types/window-budget/condenser.d.ts +59 -0
- package/dist/types/window-budget/contract.d.ts +182 -0
- package/dist/types/window-budget/index.d.ts +15 -0
- package/dist/types/window-budget/summarize/condense.d.ts +70 -0
- package/dist/types/window-budget/summarize/index.d.ts +12 -0
- package/dist/types/window-budget/summarize/prompt.d.ts +56 -0
- package/dist/types/window-budget/window-budget.test.d.ts +18 -0
- package/dist/types/workspace/brand.d.ts +20 -0
- package/dist/types/workspace/index.d.ts +11 -0
- package/dist/types/workspace/locator.d.ts +50 -0
- package/dist/types/workspace/runtime-detect.d.ts +56 -0
- package/package.json +43 -62
- package/LICENSE +0 -8
- package/LICENSE-THIRD-PARTY.txt +0 -30
- package/demos/README.md +0 -12
- package/dist/cli.d.ts +0 -3
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -30
- package/dist/cli.js.map +0 -1
- package/dist/command-line/args.d.ts +0 -59
- package/dist/command-line/args.d.ts.map +0 -1
- package/dist/command-line/args.js +0 -332
- package/dist/command-line/args.js.map +0 -1
- package/dist/command-line/config-selector.d.ts +0 -17
- package/dist/command-line/config-selector.d.ts.map +0 -1
- package/dist/command-line/config-selector.js +0 -34
- package/dist/command-line/config-selector.js.map +0 -1
- package/dist/command-line/file-processor.d.ts +0 -15
- package/dist/command-line/file-processor.d.ts.map +0 -1
- package/dist/command-line/file-processor.js +0 -73
- package/dist/command-line/file-processor.js.map +0 -1
- package/dist/command-line/list-models.d.ts +0 -9
- package/dist/command-line/list-models.d.ts.map +0 -1
- package/dist/command-line/list-models.js +0 -74
- package/dist/command-line/list-models.js.map +0 -1
- package/dist/command-line/login-handler.d.ts +0 -94
- package/dist/command-line/login-handler.d.ts.map +0 -1
- package/dist/command-line/login-handler.js +0 -794
- package/dist/command-line/login-handler.js.map +0 -1
- package/dist/command-line/session-picker.d.ts +0 -10
- package/dist/command-line/session-picker.d.ts.map +0 -1
- package/dist/command-line/session-picker.js +0 -60
- package/dist/command-line/session-picker.js.map +0 -1
- package/dist/config.d.ts +0 -31
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -143
- package/dist/config.js.map +0 -1
- package/dist/dev/observe-deep.d.ts +0 -2
- package/dist/dev/observe-deep.d.ts.map +0 -1
- package/dist/dev/observe-deep.js +0 -333
- package/dist/dev/observe-deep.js.map +0 -1
- package/dist/dev/observe-smoke.d.ts +0 -2
- package/dist/dev/observe-smoke.d.ts.map +0 -1
- package/dist/dev/observe-smoke.js +0 -264
- package/dist/dev/observe-smoke.js.map +0 -1
- package/dist/helpers/array.d.ts +0 -438
- package/dist/helpers/array.d.ts.map +0 -1
- package/dist/helpers/array.js +0 -692
- package/dist/helpers/array.js.map +0 -1
- package/dist/helpers/changelog.d.ts +0 -20
- package/dist/helpers/changelog.d.ts.map +0 -1
- package/dist/helpers/changelog.js +0 -79
- package/dist/helpers/changelog.js.map +0 -1
- package/dist/helpers/clipboard-image.d.ts +0 -11
- package/dist/helpers/clipboard-image.d.ts.map +0 -1
- package/dist/helpers/clipboard-image.js +0 -111
- package/dist/helpers/clipboard-image.js.map +0 -1
- package/dist/helpers/clipboard.d.ts +0 -2
- package/dist/helpers/clipboard.d.ts.map +0 -1
- package/dist/helpers/clipboard.js +0 -72
- package/dist/helpers/clipboard.js.map +0 -1
- package/dist/helpers/color-formatter.d.ts +0 -318
- package/dist/helpers/color-formatter.d.ts.map +0 -1
- package/dist/helpers/color-formatter.js +0 -469
- package/dist/helpers/color-formatter.js.map +0 -1
- package/dist/helpers/data-transformer.d.ts +0 -391
- package/dist/helpers/data-transformer.d.ts.map +0 -1
- package/dist/helpers/data-transformer.js +0 -604
- package/dist/helpers/data-transformer.js.map +0 -1
- package/dist/helpers/date-formatter.d.ts +0 -316
- package/dist/helpers/date-formatter.d.ts.map +0 -1
- package/dist/helpers/date-formatter.js +0 -553
- package/dist/helpers/date-formatter.js.map +0 -1
- package/dist/helpers/error-handler.d.ts +0 -541
- package/dist/helpers/error-handler.d.ts.map +0 -1
- package/dist/helpers/error-handler.js +0 -726
- package/dist/helpers/error-handler.js.map +0 -1
- package/dist/helpers/file-operations.d.ts +0 -324
- package/dist/helpers/file-operations.d.ts.map +0 -1
- package/dist/helpers/file-operations.js +0 -543
- package/dist/helpers/file-operations.js.map +0 -1
- package/dist/helpers/frontmatter.d.ts +0 -273
- package/dist/helpers/frontmatter.d.ts.map +0 -1
- package/dist/helpers/frontmatter.js +0 -580
- package/dist/helpers/frontmatter.js.map +0 -1
- package/dist/helpers/git.d.ts +0 -2
- package/dist/helpers/git.d.ts.map +0 -1
- package/dist/helpers/git.js +0 -6
- package/dist/helpers/git.js.map +0 -1
- package/dist/helpers/image-convert.d.ts +0 -9
- package/dist/helpers/image-convert.d.ts.map +0 -1
- package/dist/helpers/image-convert.js +0 -41
- package/dist/helpers/image-convert.js.map +0 -1
- package/dist/helpers/image-resize.d.ts +0 -19
- package/dist/helpers/image-resize.d.ts.map +0 -1
- package/dist/helpers/image-resize.js +0 -143
- package/dist/helpers/image-resize.js.map +0 -1
- package/dist/helpers/json-formatter.d.ts +0 -267
- package/dist/helpers/json-formatter.d.ts.map +0 -1
- package/dist/helpers/json-formatter.js +0 -533
- package/dist/helpers/json-formatter.js.map +0 -1
- package/dist/helpers/logger.d.ts +0 -176
- package/dist/helpers/logger.d.ts.map +0 -1
- package/dist/helpers/logger.js +0 -346
- package/dist/helpers/logger.js.map +0 -1
- package/dist/helpers/markdown-formatter.d.ts +0 -235
- package/dist/helpers/markdown-formatter.d.ts.map +0 -1
- package/dist/helpers/markdown-formatter.js +0 -633
- package/dist/helpers/markdown-formatter.js.map +0 -1
- package/dist/helpers/mime.d.ts +0 -3
- package/dist/helpers/mime.d.ts.map +0 -1
- package/dist/helpers/mime.js +0 -46
- package/dist/helpers/mime.js.map +0 -1
- package/dist/helpers/open-auth-url.d.ts +0 -2
- package/dist/helpers/open-auth-url.d.ts.map +0 -1
- package/dist/helpers/open-auth-url.js +0 -59
- package/dist/helpers/open-auth-url.js.map +0 -1
- package/dist/helpers/path-validator.d.ts +0 -603
- package/dist/helpers/path-validator.d.ts.map +0 -1
- package/dist/helpers/path-validator.js +0 -895
- package/dist/helpers/path-validator.js.map +0 -1
- package/dist/helpers/photon.d.ts +0 -10
- package/dist/helpers/photon.d.ts.map +0 -1
- package/dist/helpers/photon.js +0 -132
- package/dist/helpers/photon.js.map +0 -1
- package/dist/helpers/shell.d.ts +0 -10
- package/dist/helpers/shell.d.ts.map +0 -1
- package/dist/helpers/shell.js +0 -142
- package/dist/helpers/shell.js.map +0 -1
- package/dist/helpers/sleep.d.ts +0 -5
- package/dist/helpers/sleep.d.ts.map +0 -1
- package/dist/helpers/sleep.js +0 -41
- package/dist/helpers/sleep.js.map +0 -1
- package/dist/helpers/string-formatter.d.ts +0 -609
- package/dist/helpers/string-formatter.d.ts.map +0 -1
- package/dist/helpers/string-formatter.js +0 -807
- package/dist/helpers/string-formatter.js.map +0 -1
- package/dist/helpers/tools-manager.d.ts +0 -5
- package/dist/helpers/tools-manager.d.ts.map +0 -1
- package/dist/helpers/tools-manager.js +0 -161
- package/dist/helpers/tools-manager.js.map +0 -1
- package/dist/helpers/type-guards.d.ts +0 -634
- package/dist/helpers/type-guards.d.ts.map +0 -1
- package/dist/helpers/type-guards.js +0 -671
- package/dist/helpers/type-guards.js.map +0 -1
- package/dist/index.d.ts +0 -41
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -40
- package/dist/index.js.map +0 -1
- package/dist/interfaces/index.d.ts +0 -16
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/index.js +0 -14
- package/dist/interfaces/index.js.map +0 -1
- package/dist/interfaces/print-mode.d.ts +0 -561
- package/dist/interfaces/print-mode.d.ts.map +0 -1
- package/dist/interfaces/print-mode.js +0 -633
- package/dist/interfaces/print-mode.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/command-router.d.ts +0 -19
- package/dist/interfaces/react-ink/adapters/command-router.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/command-router.js +0 -674
- package/dist/interfaces/react-ink/adapters/command-router.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-events.d.ts +0 -5
- package/dist/interfaces/react-ink/adapters/session-events.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-events.js +0 -255
- package/dist/interfaces/react-ink/adapters/session-events.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-history.d.ts +0 -14
- package/dist/interfaces/react-ink/adapters/session-history.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/session-history.js +0 -83
- package/dist/interfaces/react-ink/adapters/session-history.js.map +0 -1
- package/dist/interfaces/react-ink/adapters/tool-state.d.ts +0 -4
- package/dist/interfaces/react-ink/adapters/tool-state.d.ts.map +0 -1
- package/dist/interfaces/react-ink/adapters/tool-state.js +0 -67
- package/dist/interfaces/react-ink/adapters/tool-state.js.map +0 -1
- package/dist/interfaces/react-ink/components/AppShell.d.ts +0 -17
- package/dist/interfaces/react-ink/components/AppShell.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/AppShell.js +0 -1535
- package/dist/interfaces/react-ink/components/AppShell.js.map +0 -1
- package/dist/interfaces/react-ink/components/ChangelogBlock.d.ts +0 -9
- package/dist/interfaces/react-ink/components/ChangelogBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/ChangelogBlock.js +0 -58
- package/dist/interfaces/react-ink/components/ChangelogBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/DisplayBlockView.d.ts +0 -9
- package/dist/interfaces/react-ink/components/DisplayBlockView.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/DisplayBlockView.js +0 -11
- package/dist/interfaces/react-ink/components/DisplayBlockView.js.map +0 -1
- package/dist/interfaces/react-ink/components/Footer.d.ts +0 -12
- package/dist/interfaces/react-ink/components/Footer.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/Footer.js +0 -88
- package/dist/interfaces/react-ink/components/Footer.js.map +0 -1
- package/dist/interfaces/react-ink/components/Header.d.ts +0 -14
- package/dist/interfaces/react-ink/components/Header.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/Header.js +0 -24
- package/dist/interfaces/react-ink/components/Header.js.map +0 -1
- package/dist/interfaces/react-ink/components/MessageList.d.ts +0 -14
- package/dist/interfaces/react-ink/components/MessageList.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/MessageList.js +0 -43
- package/dist/interfaces/react-ink/components/MessageList.js.map +0 -1
- package/dist/interfaces/react-ink/components/MessageRow.d.ts +0 -13
- package/dist/interfaces/react-ink/components/MessageRow.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/MessageRow.js +0 -35
- package/dist/interfaces/react-ink/components/MessageRow.js.map +0 -1
- package/dist/interfaces/react-ink/components/PromptInput.d.ts +0 -35
- package/dist/interfaces/react-ink/components/PromptInput.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/PromptInput.js +0 -458
- package/dist/interfaces/react-ink/components/PromptInput.js.map +0 -1
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.d.ts +0 -9
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.js +0 -14
- package/dist/interfaces/react-ink/components/StartupDiagnosticsBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/StatusLine.d.ts +0 -10
- package/dist/interfaces/react-ink/components/StatusLine.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/StatusLine.js +0 -39
- package/dist/interfaces/react-ink/components/StatusLine.js.map +0 -1
- package/dist/interfaces/react-ink/components/TaskPanel.d.ts +0 -10
- package/dist/interfaces/react-ink/components/TaskPanel.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/TaskPanel.js +0 -23
- package/dist/interfaces/react-ink/components/TaskPanel.js.map +0 -1
- package/dist/interfaces/react-ink/components/ToolEventBlock.d.ts +0 -18
- package/dist/interfaces/react-ink/components/ToolEventBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/ToolEventBlock.js +0 -61
- package/dist/interfaces/react-ink/components/ToolEventBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.js +0 -6
- package/dist/interfaces/react-ink/components/dialogs/DialogFrame.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.d.ts +0 -15
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.js +0 -10
- package/dist/interfaces/react-ink/components/dialogs/LoginDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.js +0 -64
- package/dist/interfaces/react-ink/components/dialogs/ModelDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.js +0 -24
- package/dist/interfaces/react-ink/components/dialogs/OAuthDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.js +0 -95
- package/dist/interfaces/react-ink/components/dialogs/ScopedModelsDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.d.ts +0 -17
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.js +0 -66
- package/dist/interfaces/react-ink/components/dialogs/SelectableDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.d.ts +0 -11
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.js +0 -10
- package/dist/interfaces/react-ink/components/dialogs/SessionDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.d.ts +0 -15
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.js +0 -79
- package/dist/interfaces/react-ink/components/dialogs/SettingsDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.d.ts +0 -10
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.js +0 -99
- package/dist/interfaces/react-ink/components/dialogs/StartupSessionPicker.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.d.ts +0 -8
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/ThemeDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/TreeDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.d.ts +0 -9
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.js +0 -7
- package/dist/interfaces/react-ink/components/dialogs/UserMessageDialog.js.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.d.ts +0 -30
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.js +0 -106
- package/dist/interfaces/react-ink/components/extensions/ExtensionComponentHost.js.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.d.ts +0 -20
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.js +0 -145
- package/dist/interfaces/react-ink/components/extensions/ExtensionDialogs.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.d.ts +0 -12
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.js +0 -20
- package/dist/interfaces/react-ink/components/messages/AssistantMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BashMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/BashMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BashMessage.js +0 -11
- package/dist/interfaces/react-ink/components/messages/BashMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.js +0 -6
- package/dist/interfaces/react-ink/components/messages/BranchSummaryMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.js +0 -6
- package/dist/interfaces/react-ink/components/messages/CompactionMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CustomMessage.d.ts +0 -10
- package/dist/interfaces/react-ink/components/messages/CustomMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/CustomMessage.js +0 -9
- package/dist/interfaces/react-ink/components/messages/CustomMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.d.ts +0 -8
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.js +0 -10
- package/dist/interfaces/react-ink/components/messages/SkillInvocationMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.d.ts +0 -9
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.js +0 -8
- package/dist/interfaces/react-ink/components/messages/ToolCallMessage.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.d.ts +0 -12
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.js +0 -8
- package/dist/interfaces/react-ink/components/messages/ToolResultBlock.js.map +0 -1
- package/dist/interfaces/react-ink/components/messages/UserMessage.d.ts +0 -10
- package/dist/interfaces/react-ink/components/messages/UserMessage.d.ts.map +0 -1
- package/dist/interfaces/react-ink/components/messages/UserMessage.js +0 -7
- package/dist/interfaces/react-ink/components/messages/UserMessage.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-agent-session.d.ts +0 -8
- package/dist/interfaces/react-ink/hooks/use-agent-session.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-agent-session.js +0 -34
- package/dist/interfaces/react-ink/hooks/use-agent-session.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.d.ts +0 -12
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.js +0 -17
- package/dist/interfaces/react-ink/hooks/use-app-keybindings.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-footer-data.d.ts +0 -7
- package/dist/interfaces/react-ink/hooks/use-footer-data.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-footer-data.js +0 -17
- package/dist/interfaces/react-ink/hooks/use-footer-data.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.d.ts +0 -17
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.js +0 -66
- package/dist/interfaces/react-ink/hooks/use-prompt-submit.js.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-session-history.d.ts +0 -8
- package/dist/interfaces/react-ink/hooks/use-session-history.d.ts.map +0 -1
- package/dist/interfaces/react-ink/hooks/use-session-history.js +0 -8
- package/dist/interfaces/react-ink/hooks/use-session-history.js.map +0 -1
- package/dist/interfaces/react-ink/index.d.ts +0 -8
- package/dist/interfaces/react-ink/index.d.ts.map +0 -1
- package/dist/interfaces/react-ink/index.js +0 -8
- package/dist/interfaces/react-ink/index.js.map +0 -1
- package/dist/interfaces/react-ink/interactive-mode.d.ts +0 -24
- package/dist/interfaces/react-ink/interactive-mode.d.ts.map +0 -1
- package/dist/interfaces/react-ink/interactive-mode.js +0 -57
- package/dist/interfaces/react-ink/interactive-mode.js.map +0 -1
- package/dist/interfaces/react-ink/render-root.d.ts +0 -19
- package/dist/interfaces/react-ink/render-root.d.ts.map +0 -1
- package/dist/interfaces/react-ink/render-root.js +0 -6
- package/dist/interfaces/react-ink/render-root.js.map +0 -1
- package/dist/interfaces/react-ink/state/reducer.d.ts +0 -51
- package/dist/interfaces/react-ink/state/reducer.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/reducer.js +0 -122
- package/dist/interfaces/react-ink/state/reducer.js.map +0 -1
- package/dist/interfaces/react-ink/state/store.d.ts +0 -4
- package/dist/interfaces/react-ink/state/store.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/store.js +0 -5
- package/dist/interfaces/react-ink/state/store.js.map +0 -1
- package/dist/interfaces/react-ink/state/ui-state.d.ts +0 -5
- package/dist/interfaces/react-ink/state/ui-state.d.ts.map +0 -1
- package/dist/interfaces/react-ink/state/ui-state.js +0 -20
- package/dist/interfaces/react-ink/state/ui-state.js.map +0 -1
- package/dist/interfaces/react-ink/theme-adapter.d.ts +0 -4
- package/dist/interfaces/react-ink/theme-adapter.d.ts.map +0 -1
- package/dist/interfaces/react-ink/theme-adapter.js +0 -15
- package/dist/interfaces/react-ink/theme-adapter.js.map +0 -1
- package/dist/interfaces/react-ink/types.d.ts +0 -51
- package/dist/interfaces/react-ink/types.d.ts.map +0 -1
- package/dist/interfaces/react-ink/types.js +0 -2
- package/dist/interfaces/react-ink/types.js.map +0 -1
- package/dist/interfaces/react-ink/utils/changelog.d.ts +0 -7
- package/dist/interfaces/react-ink/utils/changelog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/changelog.js +0 -40
- package/dist/interfaces/react-ink/utils/changelog.js.map +0 -1
- package/dist/interfaces/react-ink/utils/key-data.d.ts +0 -22
- package/dist/interfaces/react-ink/utils/key-data.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/key-data.js +0 -123
- package/dist/interfaces/react-ink/utils/key-data.js.map +0 -1
- package/dist/interfaces/react-ink/utils/message-groups.d.ts +0 -26
- package/dist/interfaces/react-ink/utils/message-groups.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/message-groups.js +0 -230
- package/dist/interfaces/react-ink/utils/message-groups.js.map +0 -1
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.d.ts +0 -20
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.js +0 -46
- package/dist/interfaces/react-ink/utils/prompt-autocomplete.js.map +0 -1
- package/dist/interfaces/react-ink/utils/selection-dialog.d.ts +0 -3
- package/dist/interfaces/react-ink/utils/selection-dialog.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/selection-dialog.js +0 -18
- package/dist/interfaces/react-ink/utils/selection-dialog.js.map +0 -1
- package/dist/interfaces/react-ink/utils/session-actions.d.ts +0 -10
- package/dist/interfaces/react-ink/utils/session-actions.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/session-actions.js +0 -66
- package/dist/interfaces/react-ink/utils/session-actions.js.map +0 -1
- package/dist/interfaces/react-ink/utils/slash-commands.d.ts +0 -10
- package/dist/interfaces/react-ink/utils/slash-commands.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/slash-commands.js +0 -111
- package/dist/interfaces/react-ink/utils/slash-commands.js.map +0 -1
- package/dist/interfaces/react-ink/utils/startup-diagnostics.d.ts +0 -7
- package/dist/interfaces/react-ink/utils/startup-diagnostics.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/startup-diagnostics.js +0 -111
- package/dist/interfaces/react-ink/utils/startup-diagnostics.js.map +0 -1
- package/dist/interfaces/react-ink/utils/tool-display.d.ts +0 -22
- package/dist/interfaces/react-ink/utils/tool-display.d.ts.map +0 -1
- package/dist/interfaces/react-ink/utils/tool-display.js +0 -349
- package/dist/interfaces/react-ink/utils/tool-display.js.map +0 -1
- package/dist/interfaces/service-api/rpc-client.d.ts +0 -1129
- package/dist/interfaces/service-api/rpc-client.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-client.js +0 -1333
- package/dist/interfaces/service-api/rpc-client.js.map +0 -1
- package/dist/interfaces/service-api/rpc-mode.d.ts +0 -813
- package/dist/interfaces/service-api/rpc-mode.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-mode.js +0 -1229
- package/dist/interfaces/service-api/rpc-mode.js.map +0 -1
- package/dist/interfaces/service-api/rpc-types.d.ts +0 -392
- package/dist/interfaces/service-api/rpc-types.d.ts.map +0 -1
- package/dist/interfaces/service-api/rpc-types.js +0 -22
- package/dist/interfaces/service-api/rpc-types.js.map +0 -1
- package/dist/interfaces/shared.d.ts +0 -386
- package/dist/interfaces/shared.d.ts.map +0 -1
- package/dist/interfaces/shared.js +0 -543
- package/dist/interfaces/shared.js.map +0 -1
- package/dist/interfaces/theme/dark.json +0 -91
- package/dist/interfaces/theme/light.json +0 -90
- package/dist/interfaces/theme/theme-schema.json +0 -339
- package/dist/interfaces/theme/theme.d.ts +0 -500
- package/dist/interfaces/theme/theme.d.ts.map +0 -1
- package/dist/interfaces/theme/theme.js +0 -1511
- package/dist/interfaces/theme/theme.js.map +0 -1
- package/dist/main.d.ts +0 -8
- package/dist/main.d.ts.map +0 -1
- package/dist/main.js +0 -750
- package/dist/main.js.map +0 -1
- package/dist/migrations.d.ts +0 -8
- package/dist/migrations.d.ts.map +0 -1
- package/dist/migrations.js +0 -206
- package/dist/migrations.js.map +0 -1
- package/dist/observe.d.ts +0 -2
- package/dist/observe.d.ts.map +0 -1
- package/dist/observe.js +0 -2
- package/dist/observe.js.map +0 -1
- package/dist/runtime/agent-session.d.ts +0 -988
- package/dist/runtime/agent-session.d.ts.map +0 -1
- package/dist/runtime/agent-session.js +0 -3114
- package/dist/runtime/agent-session.js.map +0 -1
- package/dist/runtime/auth-storage.d.ts +0 -53
- package/dist/runtime/auth-storage.d.ts.map +0 -1
- package/dist/runtime/auth-storage.js +0 -378
- package/dist/runtime/auth-storage.js.map +0 -1
- package/dist/runtime/bash-executor.d.ts +0 -16
- package/dist/runtime/bash-executor.d.ts.map +0 -1
- package/dist/runtime/bash-executor.js +0 -270
- package/dist/runtime/bash-executor.js.map +0 -1
- package/dist/runtime/context-compression/branch-summarization.d.ts +0 -86
- package/dist/runtime/context-compression/branch-summarization.d.ts.map +0 -1
- package/dist/runtime/context-compression/branch-summarization.js +0 -242
- package/dist/runtime/context-compression/branch-summarization.js.map +0 -1
- package/dist/runtime/context-compression/compaction.d.ts +0 -121
- package/dist/runtime/context-compression/compaction.d.ts.map +0 -1
- package/dist/runtime/context-compression/compaction.js +0 -607
- package/dist/runtime/context-compression/compaction.js.map +0 -1
- package/dist/runtime/context-compression/index.d.ts +0 -35
- package/dist/runtime/context-compression/index.d.ts.map +0 -1
- package/dist/runtime/context-compression/index.js +0 -33
- package/dist/runtime/context-compression/index.js.map +0 -1
- package/dist/runtime/context-compression/utils.d.ts +0 -17
- package/dist/runtime/context-compression/utils.d.ts.map +0 -1
- package/dist/runtime/context-compression/utils.js +0 -117
- package/dist/runtime/context-compression/utils.js.map +0 -1
- package/dist/runtime/diagnostics.d.ts +0 -206
- package/dist/runtime/diagnostics.d.ts.map +0 -1
- package/dist/runtime/diagnostics.js +0 -144
- package/dist/runtime/diagnostics.js.map +0 -1
- package/dist/runtime/discover-packages.d.ts +0 -2
- package/dist/runtime/discover-packages.d.ts.map +0 -1
- package/dist/runtime/discover-packages.js +0 -59
- package/dist/runtime/discover-packages.js.map +0 -1
- package/dist/runtime/event-bus.d.ts +0 -9
- package/dist/runtime/event-bus.d.ts.map +0 -1
- package/dist/runtime/event-bus.js +0 -29
- package/dist/runtime/event-bus.js.map +0 -1
- package/dist/runtime/exec.d.ts +0 -13
- package/dist/runtime/exec.d.ts.map +0 -1
- package/dist/runtime/exec.js +0 -62
- package/dist/runtime/exec.js.map +0 -1
- package/dist/runtime/footer-data-provider.d.ts +0 -19
- package/dist/runtime/footer-data-provider.d.ts.map +0 -1
- package/dist/runtime/footer-data-provider.js +0 -122
- package/dist/runtime/footer-data-provider.js.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.d.ts +0 -26
- package/dist/runtime/html-export/ansi-to-html.d.ts.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.js +0 -253
- package/dist/runtime/html-export/ansi-to-html.js.map +0 -1
- package/dist/runtime/html-export/ansi-to-html.ts +0 -262
- package/dist/runtime/html-export/index.d.ts +0 -162
- package/dist/runtime/html-export/index.d.ts.map +0 -1
- package/dist/runtime/html-export/index.js +0 -350
- package/dist/runtime/html-export/index.js.map +0 -1
- package/dist/runtime/html-export/index.ts +0 -432
- package/dist/runtime/html-export/template.css +0 -905
- package/dist/runtime/html-export/template.html +0 -76
- package/dist/runtime/html-export/template.js +0 -1549
- package/dist/runtime/html-export/tool-renderer.d.ts +0 -18
- package/dist/runtime/html-export/tool-renderer.d.ts.map +0 -1
- package/dist/runtime/html-export/tool-renderer.js +0 -45
- package/dist/runtime/html-export/tool-renderer.js.map +0 -1
- package/dist/runtime/html-export/tool-renderer.ts +0 -80
- package/dist/runtime/html-export/vendor/highlight.min.js +0 -1244
- package/dist/runtime/html-export/vendor/marked.min.js +0 -74
- package/dist/runtime/index.d.ts +0 -35
- package/dist/runtime/index.d.ts.map +0 -1
- package/dist/runtime/index.js +0 -35
- package/dist/runtime/index.js.map +0 -1
- package/dist/runtime/keybindings.d.ts +0 -20
- package/dist/runtime/keybindings.d.ts.map +0 -1
- package/dist/runtime/keybindings.js +0 -109
- package/dist/runtime/keybindings.js.map +0 -1
- package/dist/runtime/lifecycle/index.d.ts +0 -4
- package/dist/runtime/lifecycle/index.d.ts.map +0 -1
- package/dist/runtime/lifecycle/index.js +0 -3
- package/dist/runtime/lifecycle/index.js.map +0 -1
- package/dist/runtime/lifecycle/loader.d.ts +0 -6
- package/dist/runtime/lifecycle/loader.d.ts.map +0 -1
- package/dist/runtime/lifecycle/loader.js +0 -179
- package/dist/runtime/lifecycle/loader.js.map +0 -1
- package/dist/runtime/lifecycle/runner.d.ts +0 -14
- package/dist/runtime/lifecycle/runner.d.ts.map +0 -1
- package/dist/runtime/lifecycle/runner.js +0 -58
- package/dist/runtime/lifecycle/runner.js.map +0 -1
- package/dist/runtime/lifecycle/types.d.ts +0 -139
- package/dist/runtime/lifecycle/types.d.ts.map +0 -1
- package/dist/runtime/lifecycle/types.js +0 -2
- package/dist/runtime/lifecycle/types.js.map +0 -1
- package/dist/runtime/messages.d.ts +0 -2
- package/dist/runtime/messages.d.ts.map +0 -1
- package/dist/runtime/messages.js +0 -2
- package/dist/runtime/messages.js.map +0 -1
- package/dist/runtime/model-registry.d.ts +0 -62
- package/dist/runtime/model-registry.d.ts.map +0 -1
- package/dist/runtime/model-registry.js +0 -446
- package/dist/runtime/model-registry.js.map +0 -1
- package/dist/runtime/model-resolver.d.ts +0 -35
- package/dist/runtime/model-resolver.d.ts.map +0 -1
- package/dist/runtime/model-resolver.js +0 -232
- package/dist/runtime/model-resolver.js.map +0 -1
- package/dist/runtime/observe.d.ts +0 -50
- package/dist/runtime/observe.d.ts.map +0 -1
- package/dist/runtime/observe.js +0 -233
- package/dist/runtime/observe.js.map +0 -1
- package/dist/runtime/package-manager.d.ts +0 -103
- package/dist/runtime/package-manager.d.ts.map +0 -1
- package/dist/runtime/package-manager.js +0 -583
- package/dist/runtime/package-manager.js.map +0 -1
- package/dist/runtime/plugins/index.d.ts +0 -13
- package/dist/runtime/plugins/index.d.ts.map +0 -1
- package/dist/runtime/plugins/index.js +0 -23
- package/dist/runtime/plugins/index.js.map +0 -1
- package/dist/runtime/plugins/loader.d.ts +0 -19
- package/dist/runtime/plugins/loader.d.ts.map +0 -1
- package/dist/runtime/plugins/loader.js +0 -415
- package/dist/runtime/plugins/loader.js.map +0 -1
- package/dist/runtime/plugins/runner.d.ts +0 -107
- package/dist/runtime/plugins/runner.d.ts.map +0 -1
- package/dist/runtime/plugins/runner.js +0 -468
- package/dist/runtime/plugins/runner.js.map +0 -1
- package/dist/runtime/plugins/types.d.ts +0 -862
- package/dist/runtime/plugins/types.d.ts.map +0 -1
- package/dist/runtime/plugins/types.js +0 -32
- package/dist/runtime/plugins/types.js.map +0 -1
- package/dist/runtime/plugins/wrapper.d.ts +0 -29
- package/dist/runtime/plugins/wrapper.d.ts.map +0 -1
- package/dist/runtime/plugins/wrapper.js +0 -129
- package/dist/runtime/plugins/wrapper.js.map +0 -1
- package/dist/runtime/prompt-templates.d.ts +0 -18
- package/dist/runtime/prompt-templates.d.ts.map +0 -1
- package/dist/runtime/prompt-templates.js +0 -203
- package/dist/runtime/prompt-templates.js.map +0 -1
- package/dist/runtime/providers/adapters/claude-cli-adapter.d.ts +0 -19
- package/dist/runtime/providers/adapters/claude-cli-adapter.d.ts.map +0 -1
- package/dist/runtime/providers/adapters/claude-cli-adapter.js +0 -242
- package/dist/runtime/providers/adapters/claude-cli-adapter.js.map +0 -1
- package/dist/runtime/providers/adapters/codex-cli-adapter.d.ts +0 -18
- package/dist/runtime/providers/adapters/codex-cli-adapter.d.ts.map +0 -1
- package/dist/runtime/providers/adapters/codex-cli-adapter.js +0 -177
- package/dist/runtime/providers/adapters/codex-cli-adapter.js.map +0 -1
- package/dist/runtime/providers/adapters/indusagi-cli-adapter.d.ts +0 -21
- package/dist/runtime/providers/adapters/indusagi-cli-adapter.d.ts.map +0 -1
- package/dist/runtime/providers/adapters/indusagi-cli-adapter.js +0 -162
- package/dist/runtime/providers/adapters/indusagi-cli-adapter.js.map +0 -1
- package/dist/runtime/providers/adapters/utils.d.ts +0 -12
- package/dist/runtime/providers/adapters/utils.d.ts.map +0 -1
- package/dist/runtime/providers/adapters/utils.js +0 -122
- package/dist/runtime/providers/adapters/utils.js.map +0 -1
- package/dist/runtime/providers/builtins.d.ts +0 -3
- package/dist/runtime/providers/builtins.d.ts.map +0 -1
- package/dist/runtime/providers/builtins.js +0 -88
- package/dist/runtime/providers/builtins.js.map +0 -1
- package/dist/runtime/providers/provider-adapter-registry.d.ts +0 -11
- package/dist/runtime/providers/provider-adapter-registry.d.ts.map +0 -1
- package/dist/runtime/providers/provider-adapter-registry.js +0 -36
- package/dist/runtime/providers/provider-adapter-registry.js.map +0 -1
- package/dist/runtime/providers/provider-adapter.d.ts +0 -33
- package/dist/runtime/providers/provider-adapter.d.ts.map +0 -1
- package/dist/runtime/providers/provider-adapter.js +0 -2
- package/dist/runtime/providers/provider-adapter.js.map +0 -1
- package/dist/runtime/providers/provider-service.d.ts +0 -33
- package/dist/runtime/providers/provider-service.d.ts.map +0 -1
- package/dist/runtime/providers/provider-service.js +0 -157
- package/dist/runtime/providers/provider-service.js.map +0 -1
- package/dist/runtime/providers/types.d.ts +0 -29
- package/dist/runtime/providers/types.d.ts.map +0 -1
- package/dist/runtime/providers/types.js +0 -9
- package/dist/runtime/providers/types.js.map +0 -1
- package/dist/runtime/resource-loader.d.ts +0 -180
- package/dist/runtime/resource-loader.d.ts.map +0 -1
- package/dist/runtime/resource-loader.js +0 -530
- package/dist/runtime/resource-loader.js.map +0 -1
- package/dist/runtime/sdk.d.ts +0 -65
- package/dist/runtime/sdk.d.ts.map +0 -1
- package/dist/runtime/sdk.js +0 -402
- package/dist/runtime/sdk.js.map +0 -1
- package/dist/runtime/session-manager.d.ts +0 -448
- package/dist/runtime/session-manager.d.ts.map +0 -1
- package/dist/runtime/session-manager.js +0 -1177
- package/dist/runtime/session-manager.js.map +0 -1
- package/dist/runtime/settings-manager.d.ts +0 -234
- package/dist/runtime/settings-manager.d.ts.map +0 -1
- package/dist/runtime/settings-manager.js +0 -298
- package/dist/runtime/settings-manager.js.map +0 -1
- package/dist/runtime/skills.d.ts +0 -33
- package/dist/runtime/skills.d.ts.map +0 -1
- package/dist/runtime/skills.js +0 -277
- package/dist/runtime/skills.js.map +0 -1
- package/dist/runtime/subagents.d.ts +0 -29
- package/dist/runtime/subagents.d.ts.map +0 -1
- package/dist/runtime/subagents.js +0 -163
- package/dist/runtime/subagents.js.map +0 -1
- package/dist/runtime/system-prompt.d.ts +0 -16
- package/dist/runtime/system-prompt.d.ts.map +0 -1
- package/dist/runtime/system-prompt.js +0 -275
- package/dist/runtime/system-prompt.js.map +0 -1
- package/dist/runtime/task-session-manager.d.ts +0 -55
- package/dist/runtime/task-session-manager.d.ts.map +0 -1
- package/dist/runtime/task-session-manager.js +0 -410
- package/dist/runtime/task-session-manager.js.map +0 -1
- package/dist/runtime/timings.d.ts +0 -4
- package/dist/runtime/timings.d.ts.map +0 -1
- package/dist/runtime/timings.js +0 -41
- package/dist/runtime/timings.js.map +0 -1
- package/dist/runtime/todo-store.d.ts +0 -20
- package/dist/runtime/todo-store.d.ts.map +0 -1
- package/dist/runtime/todo-store.js +0 -60
- package/dist/runtime/todo-store.js.map +0 -1
- package/dist/runtime/tooling/bash.d.ts +0 -2
- package/dist/runtime/tooling/bash.d.ts.map +0 -1
- package/dist/runtime/tooling/bash.js +0 -2
- package/dist/runtime/tooling/bash.js.map +0 -1
- package/dist/runtime/tooling/bg-process.d.ts +0 -44
- package/dist/runtime/tooling/bg-process.d.ts.map +0 -1
- package/dist/runtime/tooling/bg-process.js +0 -55
- package/dist/runtime/tooling/bg-process.js.map +0 -1
- package/dist/runtime/tooling/composio-compat.d.ts +0 -169
- package/dist/runtime/tooling/composio-compat.d.ts.map +0 -1
- package/dist/runtime/tooling/composio-compat.js +0 -163
- package/dist/runtime/tooling/composio-compat.js.map +0 -1
- package/dist/runtime/tooling/edit-diff.d.ts +0 -9
- package/dist/runtime/tooling/edit-diff.d.ts.map +0 -1
- package/dist/runtime/tooling/edit-diff.js +0 -2
- package/dist/runtime/tooling/edit-diff.js.map +0 -1
- package/dist/runtime/tooling/edit.d.ts +0 -2
- package/dist/runtime/tooling/edit.d.ts.map +0 -1
- package/dist/runtime/tooling/edit.js +0 -2
- package/dist/runtime/tooling/edit.js.map +0 -1
- package/dist/runtime/tooling/find.d.ts +0 -2
- package/dist/runtime/tooling/find.d.ts.map +0 -1
- package/dist/runtime/tooling/find.js +0 -2
- package/dist/runtime/tooling/find.js.map +0 -1
- package/dist/runtime/tooling/grep.d.ts +0 -2
- package/dist/runtime/tooling/grep.d.ts.map +0 -1
- package/dist/runtime/tooling/grep.js +0 -2
- package/dist/runtime/tooling/grep.js.map +0 -1
- package/dist/runtime/tooling/index.d.ts +0 -248
- package/dist/runtime/tooling/index.d.ts.map +0 -1
- package/dist/runtime/tooling/index.js +0 -325
- package/dist/runtime/tooling/index.js.map +0 -1
- package/dist/runtime/tooling/ls.d.ts +0 -2
- package/dist/runtime/tooling/ls.d.ts.map +0 -1
- package/dist/runtime/tooling/ls.js +0 -2
- package/dist/runtime/tooling/ls.js.map +0 -1
- package/dist/runtime/tooling/memory.d.ts +0 -132
- package/dist/runtime/tooling/memory.d.ts.map +0 -1
- package/dist/runtime/tooling/memory.js +0 -171
- package/dist/runtime/tooling/memory.js.map +0 -1
- package/dist/runtime/tooling/path-utils.d.ts +0 -2
- package/dist/runtime/tooling/path-utils.d.ts.map +0 -1
- package/dist/runtime/tooling/path-utils.js +0 -2
- package/dist/runtime/tooling/path-utils.js.map +0 -1
- package/dist/runtime/tooling/read.d.ts +0 -2
- package/dist/runtime/tooling/read.d.ts.map +0 -1
- package/dist/runtime/tooling/read.js +0 -2
- package/dist/runtime/tooling/read.js.map +0 -1
- package/dist/runtime/tooling/registry.d.ts +0 -18
- package/dist/runtime/tooling/registry.d.ts.map +0 -1
- package/dist/runtime/tooling/registry.js +0 -166
- package/dist/runtime/tooling/registry.js.map +0 -1
- package/dist/runtime/tooling/task.d.ts +0 -37
- package/dist/runtime/tooling/task.d.ts.map +0 -1
- package/dist/runtime/tooling/task.js +0 -65
- package/dist/runtime/tooling/task.js.map +0 -1
- package/dist/runtime/tooling/todo.d.ts +0 -34
- package/dist/runtime/tooling/todo.d.ts.map +0 -1
- package/dist/runtime/tooling/todo.js +0 -96
- package/dist/runtime/tooling/todo.js.map +0 -1
- package/dist/runtime/tooling/truncate.d.ts +0 -2
- package/dist/runtime/tooling/truncate.d.ts.map +0 -1
- package/dist/runtime/tooling/truncate.js +0 -2
- package/dist/runtime/tooling/truncate.js.map +0 -1
- package/dist/runtime/tooling/webfetch.d.ts +0 -2
- package/dist/runtime/tooling/webfetch.d.ts.map +0 -1
- package/dist/runtime/tooling/webfetch.js +0 -2
- package/dist/runtime/tooling/webfetch.js.map +0 -1
- package/dist/runtime/tooling/websearch.d.ts +0 -2
- package/dist/runtime/tooling/websearch.d.ts.map +0 -1
- package/dist/runtime/tooling/websearch.js +0 -2
- package/dist/runtime/tooling/websearch.js.map +0 -1
- package/dist/runtime/tooling/write.d.ts +0 -2
- package/dist/runtime/tooling/write.d.ts.map +0 -1
- package/dist/runtime/tooling/write.js +0 -2
- package/dist/runtime/tooling/write.js.map +0 -1
- package/dist/telemetry/core/config.d.ts +0 -28
- package/dist/telemetry/core/config.d.ts.map +0 -1
- package/dist/telemetry/core/config.js +0 -150
- package/dist/telemetry/core/config.js.map +0 -1
- package/dist/telemetry/core/event-bus.d.ts +0 -15
- package/dist/telemetry/core/event-bus.d.ts.map +0 -1
- package/dist/telemetry/core/event-bus.js +0 -37
- package/dist/telemetry/core/event-bus.js.map +0 -1
- package/dist/telemetry/core/index.d.ts +0 -12
- package/dist/telemetry/core/index.d.ts.map +0 -1
- package/dist/telemetry/core/index.js +0 -14
- package/dist/telemetry/core/index.js.map +0 -1
- package/dist/telemetry/core/observability.d.ts +0 -63
- package/dist/telemetry/core/observability.d.ts.map +0 -1
- package/dist/telemetry/core/observability.js +0 -127
- package/dist/telemetry/core/observability.js.map +0 -1
- package/dist/telemetry/core/span.d.ts +0 -37
- package/dist/telemetry/core/span.d.ts.map +0 -1
- package/dist/telemetry/core/span.js +0 -90
- package/dist/telemetry/core/span.js.map +0 -1
- package/dist/telemetry/core/tracer.d.ts +0 -22
- package/dist/telemetry/core/tracer.d.ts.map +0 -1
- package/dist/telemetry/core/tracer.js +0 -79
- package/dist/telemetry/core/tracer.js.map +0 -1
- package/dist/telemetry/core/types.d.ts +0 -155
- package/dist/telemetry/core/types.d.ts.map +0 -1
- package/dist/telemetry/core/types.js +0 -38
- package/dist/telemetry/core/types.js.map +0 -1
- package/dist/telemetry/exporters/base-exporter.d.ts +0 -16
- package/dist/telemetry/exporters/base-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/base-exporter.js +0 -26
- package/dist/telemetry/exporters/base-exporter.js.map +0 -1
- package/dist/telemetry/exporters/console-exporter.d.ts +0 -22
- package/dist/telemetry/exporters/console-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/console-exporter.js +0 -80
- package/dist/telemetry/exporters/console-exporter.js.map +0 -1
- package/dist/telemetry/exporters/file-exporter.d.ts +0 -31
- package/dist/telemetry/exporters/file-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/file-exporter.js +0 -120
- package/dist/telemetry/exporters/file-exporter.js.map +0 -1
- package/dist/telemetry/exporters/index.d.ts +0 -12
- package/dist/telemetry/exporters/index.d.ts.map +0 -1
- package/dist/telemetry/exporters/index.js +0 -11
- package/dist/telemetry/exporters/index.js.map +0 -1
- package/dist/telemetry/exporters/langfuse-exporter.d.ts +0 -27
- package/dist/telemetry/exporters/langfuse-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/langfuse-exporter.js +0 -146
- package/dist/telemetry/exporters/langfuse-exporter.js.map +0 -1
- package/dist/telemetry/exporters/sentry-exporter.d.ts +0 -22
- package/dist/telemetry/exporters/sentry-exporter.d.ts.map +0 -1
- package/dist/telemetry/exporters/sentry-exporter.js +0 -121
- package/dist/telemetry/exporters/sentry-exporter.js.map +0 -1
- package/dist/telemetry/index.d.ts +0 -3
- package/dist/telemetry/index.d.ts.map +0 -1
- package/dist/telemetry/index.js +0 -3
- package/dist/telemetry/index.js.map +0 -1
- package/dist/vendor/observe/adapters/agent-event-adapter.d.ts +0 -28
- package/dist/vendor/observe/adapters/agent-event-adapter.d.ts.map +0 -1
- package/dist/vendor/observe/adapters/agent-event-adapter.js +0 -136
- package/dist/vendor/observe/adapters/agent-event-adapter.js.map +0 -1
- package/dist/vendor/observe/adapters/ai-stream-adapter.d.ts +0 -24
- package/dist/vendor/observe/adapters/ai-stream-adapter.d.ts.map +0 -1
- package/dist/vendor/observe/adapters/ai-stream-adapter.js +0 -118
- package/dist/vendor/observe/adapters/ai-stream-adapter.js.map +0 -1
- package/dist/vendor/observe/artifacts/content-store.d.ts +0 -12
- package/dist/vendor/observe/artifacts/content-store.d.ts.map +0 -1
- package/dist/vendor/observe/artifacts/content-store.js +0 -2
- package/dist/vendor/observe/artifacts/content-store.js.map +0 -1
- package/dist/vendor/observe/artifacts/file-content-store.d.ts +0 -16
- package/dist/vendor/observe/artifacts/file-content-store.d.ts.map +0 -1
- package/dist/vendor/observe/artifacts/file-content-store.js +0 -43
- package/dist/vendor/observe/artifacts/file-content-store.js.map +0 -1
- package/dist/vendor/observe/batcher.d.ts +0 -27
- package/dist/vendor/observe/batcher.d.ts.map +0 -1
- package/dist/vendor/observe/batcher.js +0 -66
- package/dist/vendor/observe/batcher.js.map +0 -1
- package/dist/vendor/observe/client/artifacts-manager.d.ts +0 -29
- package/dist/vendor/observe/client/artifacts-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/artifacts-manager.js +0 -120
- package/dist/vendor/observe/client/artifacts-manager.js.map +0 -1
- package/dist/vendor/observe/client/datasets-manager.d.ts +0 -16
- package/dist/vendor/observe/client/datasets-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/datasets-manager.js +0 -27
- package/dist/vendor/observe/client/datasets-manager.js.map +0 -1
- package/dist/vendor/observe/client/experiments-manager.d.ts +0 -61
- package/dist/vendor/observe/client/experiments-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/experiments-manager.js +0 -132
- package/dist/vendor/observe/client/experiments-manager.js.map +0 -1
- package/dist/vendor/observe/client/index.d.ts +0 -9
- package/dist/vendor/observe/client/index.d.ts.map +0 -1
- package/dist/vendor/observe/client/index.js +0 -9
- package/dist/vendor/observe/client/index.js.map +0 -1
- package/dist/vendor/observe/client/observe-client.d.ts +0 -30
- package/dist/vendor/observe/client/observe-client.d.ts.map +0 -1
- package/dist/vendor/observe/client/observe-client.js +0 -22
- package/dist/vendor/observe/client/observe-client.js.map +0 -1
- package/dist/vendor/observe/client/prompts-manager.d.ts +0 -17
- package/dist/vendor/observe/client/prompts-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/prompts-manager.js +0 -38
- package/dist/vendor/observe/client/prompts-manager.js.map +0 -1
- package/dist/vendor/observe/client/scores-manager.d.ts +0 -10
- package/dist/vendor/observe/client/scores-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/scores-manager.js +0 -15
- package/dist/vendor/observe/client/scores-manager.js.map +0 -1
- package/dist/vendor/observe/client/sessions-manager.d.ts +0 -15
- package/dist/vendor/observe/client/sessions-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/sessions-manager.js +0 -24
- package/dist/vendor/observe/client/sessions-manager.js.map +0 -1
- package/dist/vendor/observe/client/traces-manager.d.ts +0 -23
- package/dist/vendor/observe/client/traces-manager.d.ts.map +0 -1
- package/dist/vendor/observe/client/traces-manager.js +0 -39
- package/dist/vendor/observe/client/traces-manager.js.map +0 -1
- package/dist/vendor/observe/console-exporter.d.ts +0 -11
- package/dist/vendor/observe/console-exporter.d.ts.map +0 -1
- package/dist/vendor/observe/console-exporter.js +0 -18
- package/dist/vendor/observe/console-exporter.js.map +0 -1
- package/dist/vendor/observe/context.d.ts +0 -4
- package/dist/vendor/observe/context.d.ts.map +0 -1
- package/dist/vendor/observe/context.js +0 -9
- package/dist/vendor/observe/context.js.map +0 -1
- package/dist/vendor/observe/entities/artifacts.d.ts +0 -46
- package/dist/vendor/observe/entities/artifacts.d.ts.map +0 -1
- package/dist/vendor/observe/entities/artifacts.js +0 -2
- package/dist/vendor/observe/entities/artifacts.js.map +0 -1
- package/dist/vendor/observe/entities/datasets.d.ts +0 -37
- package/dist/vendor/observe/entities/datasets.d.ts.map +0 -1
- package/dist/vendor/observe/entities/datasets.js +0 -2
- package/dist/vendor/observe/entities/datasets.js.map +0 -1
- package/dist/vendor/observe/entities/experiments.d.ts +0 -66
- package/dist/vendor/observe/entities/experiments.d.ts.map +0 -1
- package/dist/vendor/observe/entities/experiments.js +0 -2
- package/dist/vendor/observe/entities/experiments.js.map +0 -1
- package/dist/vendor/observe/entities/index.d.ts +0 -9
- package/dist/vendor/observe/entities/index.d.ts.map +0 -1
- package/dist/vendor/observe/entities/index.js +0 -9
- package/dist/vendor/observe/entities/index.js.map +0 -1
- package/dist/vendor/observe/entities/prompts.d.ts +0 -25
- package/dist/vendor/observe/entities/prompts.d.ts.map +0 -1
- package/dist/vendor/observe/entities/prompts.js +0 -2
- package/dist/vendor/observe/entities/prompts.js.map +0 -1
- package/dist/vendor/observe/entities/scores.d.ts +0 -28
- package/dist/vendor/observe/entities/scores.d.ts.map +0 -1
- package/dist/vendor/observe/entities/scores.js +0 -2
- package/dist/vendor/observe/entities/scores.js.map +0 -1
- package/dist/vendor/observe/entities/sessions.d.ts +0 -36
- package/dist/vendor/observe/entities/sessions.d.ts.map +0 -1
- package/dist/vendor/observe/entities/sessions.js +0 -2
- package/dist/vendor/observe/entities/sessions.js.map +0 -1
- package/dist/vendor/observe/entities/shared.d.ts +0 -26
- package/dist/vendor/observe/entities/shared.d.ts.map +0 -1
- package/dist/vendor/observe/entities/shared.js +0 -2
- package/dist/vendor/observe/entities/shared.js.map +0 -1
- package/dist/vendor/observe/entities/traces.d.ts +0 -59
- package/dist/vendor/observe/entities/traces.d.ts.map +0 -1
- package/dist/vendor/observe/entities/traces.js +0 -2
- package/dist/vendor/observe/entities/traces.js.map +0 -1
- package/dist/vendor/observe/exporter.d.ts +0 -2
- package/dist/vendor/observe/exporter.d.ts.map +0 -1
- package/dist/vendor/observe/exporter.js +0 -2
- package/dist/vendor/observe/exporter.js.map +0 -1
- package/dist/vendor/observe/file-exporter.d.ts +0 -16
- package/dist/vendor/observe/file-exporter.d.ts.map +0 -1
- package/dist/vendor/observe/file-exporter.js +0 -39
- package/dist/vendor/observe/file-exporter.js.map +0 -1
- package/dist/vendor/observe/global.d.ts +0 -6
- package/dist/vendor/observe/global.d.ts.map +0 -1
- package/dist/vendor/observe/global.js +0 -17
- package/dist/vendor/observe/global.js.map +0 -1
- package/dist/vendor/observe/index.d.ts +0 -24
- package/dist/vendor/observe/index.d.ts.map +0 -1
- package/dist/vendor/observe/index.js +0 -24
- package/dist/vendor/observe/index.js.map +0 -1
- package/dist/vendor/observe/noop.d.ts +0 -17
- package/dist/vendor/observe/noop.d.ts.map +0 -1
- package/dist/vendor/observe/noop.js +0 -80
- package/dist/vendor/observe/noop.js.map +0 -1
- package/dist/vendor/observe/privacy.d.ts +0 -18
- package/dist/vendor/observe/privacy.d.ts.map +0 -1
- package/dist/vendor/observe/privacy.js +0 -160
- package/dist/vendor/observe/privacy.js.map +0 -1
- package/dist/vendor/observe/query/simple-query-client.d.ts +0 -11
- package/dist/vendor/observe/query/simple-query-client.d.ts.map +0 -1
- package/dist/vendor/observe/query/simple-query-client.js +0 -31
- package/dist/vendor/observe/query/simple-query-client.js.map +0 -1
- package/dist/vendor/observe/replay/session-replay.d.ts +0 -20
- package/dist/vendor/observe/replay/session-replay.d.ts.map +0 -1
- package/dist/vendor/observe/replay/session-replay.js +0 -180
- package/dist/vendor/observe/replay/session-replay.js.map +0 -1
- package/dist/vendor/observe/runtime.d.ts +0 -27
- package/dist/vendor/observe/runtime.d.ts.map +0 -1
- package/dist/vendor/observe/runtime.js +0 -177
- package/dist/vendor/observe/runtime.js.map +0 -1
- package/dist/vendor/observe/server/dashboard-html.d.ts +0 -6
- package/dist/vendor/observe/server/dashboard-html.d.ts.map +0 -1
- package/dist/vendor/observe/server/dashboard-html.js +0 -305
- package/dist/vendor/observe/server/dashboard-html.js.map +0 -1
- package/dist/vendor/observe/server/http-observe-server.d.ts +0 -62
- package/dist/vendor/observe/server/http-observe-server.d.ts.map +0 -1
- package/dist/vendor/observe/server/http-observe-server.js +0 -418
- package/dist/vendor/observe/server/http-observe-server.js.map +0 -1
- package/dist/vendor/observe/server/in-memory-observe-server.d.ts +0 -20
- package/dist/vendor/observe/server/in-memory-observe-server.d.ts.map +0 -1
- package/dist/vendor/observe/server/in-memory-observe-server.js +0 -76
- package/dist/vendor/observe/server/in-memory-observe-server.js.map +0 -1
- package/dist/vendor/observe/span.d.ts +0 -45
- package/dist/vendor/observe/span.d.ts.map +0 -1
- package/dist/vendor/observe/span.js +0 -110
- package/dist/vendor/observe/span.js.map +0 -1
- package/dist/vendor/observe/store/contracts.d.ts +0 -59
- package/dist/vendor/observe/store/contracts.d.ts.map +0 -1
- package/dist/vendor/observe/store/contracts.js +0 -2
- package/dist/vendor/observe/store/contracts.js.map +0 -1
- package/dist/vendor/observe/store/file-control-plane-store.d.ts +0 -33
- package/dist/vendor/observe/store/file-control-plane-store.d.ts.map +0 -1
- package/dist/vendor/observe/store/file-control-plane-store.js +0 -146
- package/dist/vendor/observe/store/file-control-plane-store.js.map +0 -1
- package/dist/vendor/observe/store/in-memory-control-plane-store.d.ts +0 -84
- package/dist/vendor/observe/store/in-memory-control-plane-store.d.ts.map +0 -1
- package/dist/vendor/observe/store/in-memory-control-plane-store.js +0 -447
- package/dist/vendor/observe/store/in-memory-control-plane-store.js.map +0 -1
- package/dist/vendor/observe/store/index.d.ts +0 -4
- package/dist/vendor/observe/store/index.d.ts.map +0 -1
- package/dist/vendor/observe/store/index.js +0 -4
- package/dist/vendor/observe/store/index.js.map +0 -1
- package/dist/vendor/observe/types.d.ts +0 -246
- package/dist/vendor/observe/types.d.ts.map +0 -1
- package/dist/vendor/observe/types.js +0 -152
- package/dist/vendor/observe/types.js.map +0 -1
- package/dist/vendor/observe/worker/in-memory-observe-worker.d.ts +0 -25
- package/dist/vendor/observe/worker/in-memory-observe-worker.d.ts.map +0 -1
- package/dist/vendor/observe/worker/in-memory-observe-worker.js +0 -82
- package/dist/vendor/observe/worker/in-memory-observe-worker.js.map +0 -1
- package/guides/CLAUDE_CODEX_CLI_INTEGRATION_PLAN.md +0 -321
- package/guides/INDUSAGI_MONO_MIT_REMOVAL_GUIDE.md +0 -2132
- package/guides/INDUSVX_OBSERVE_FULL_INTEGRATION_REPORT.md +0 -543
- package/guides/OBSERVE_DEEP_VALIDATION.md +0 -252
- package/guides/OBSERVE_LOCAL_TESTING.md +0 -183
- package/guides/OPTION3_PROVIDER_ADAPTER_RUNTIME_PLAN.md +0 -370
- package/guides/SAME_TO_SAME_PARITY_REPORT.md +0 -312
- package/tasks/patch-indusagi-react-host.mjs +0 -247
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picker overlays — the selection dialogs raised over the transcript.
|
|
3
|
+
*
|
|
4
|
+
* This group owns the four modal kinds that present a list to pick from: the
|
|
5
|
+
* single-model picker (`models`), the per-scope model picker (`scopedModels`),
|
|
6
|
+
* the colour-scheme picker (`theme`), and the settings list (`settings`). It is
|
|
7
|
+
* mounted unconditionally by {@link import("./host").OverlayHost}; the host
|
|
8
|
+
* routes by {@link ModalState.kind}, so this component only renders a dialog
|
|
9
|
+
* body for one of its own kinds and is otherwise inert.
|
|
10
|
+
*/
|
|
11
|
+
import type { ConsoleDispatch, InkThemeAdapter, ModalState, OverlayServices } from "../contract";
|
|
12
|
+
/**
|
|
13
|
+
* The props every overlay group receives, forwarded verbatim from
|
|
14
|
+
* {@link import("./host").OverlayHost}.
|
|
15
|
+
*/
|
|
16
|
+
export interface OverlayGroupProps {
|
|
17
|
+
/** The active modal overlay (kind + opaque payload). */
|
|
18
|
+
readonly modal: ModalState;
|
|
19
|
+
/** The runtime handles overlays drive; absent on headless mount paths. */
|
|
20
|
+
readonly services?: OverlayServices;
|
|
21
|
+
/** The framework adapter that turns token roles into terminal colours. */
|
|
22
|
+
readonly theme: InkThemeAdapter;
|
|
23
|
+
/** Dispatch a reducer event to mutate console state. */
|
|
24
|
+
readonly dispatch: ConsoleDispatch;
|
|
25
|
+
/** Drop the active overlay back to the composer. */
|
|
26
|
+
readonly closeModal: () => void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The picker overlay group: models, scoped models, theme, and settings.
|
|
30
|
+
*
|
|
31
|
+
* Renders the framework dialog matching the active modal kind, and nothing for
|
|
32
|
+
* any kind owned by another group. With no runtime services attached (headless
|
|
33
|
+
* and test mounts) every kind renders nothing.
|
|
34
|
+
*
|
|
35
|
+
* @param props the forwarded overlay props
|
|
36
|
+
*/
|
|
37
|
+
export declare function PickerOverlays(props: OverlayGroupProps): JSX.Element | null;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session overlays — the transcript navigation dialogs.
|
|
3
|
+
*
|
|
4
|
+
* This group owns the three modal kinds that browse persisted or in-flight
|
|
5
|
+
* transcript state: the session resume/list picker (`sessions`), the
|
|
6
|
+
* transcript-tree navigator (`tree`), and the prior-user-turn picker
|
|
7
|
+
* (`userTurns`) used when branching or forking. It is mounted unconditionally
|
|
8
|
+
* by {@link import("./host").OverlayHost}, which routes by
|
|
9
|
+
* {@link ModalState.kind}; this component renders a dialog body only for one of
|
|
10
|
+
* its own kinds and is otherwise inert.
|
|
11
|
+
*
|
|
12
|
+
* Each body maps the app's session vocabulary onto the framework dialog prop
|
|
13
|
+
* shapes: a {@link import("../../sessions").SavedSession} becomes a
|
|
14
|
+
* `SessionInfo`, a {@link import("../../sessions").BranchNode} becomes a
|
|
15
|
+
* `SessionTreeOption`, and a {@link import("../../sessions").PriorTurn} becomes
|
|
16
|
+
* a `UserMessageOption`. Async catalog/tree/turn loads run in `useEffect`; every
|
|
17
|
+
* confirm drives the matching service then closes the modal. When the runtime
|
|
18
|
+
* {@link OverlayServices} bundle is absent, the group renders nothing.
|
|
19
|
+
*/
|
|
20
|
+
import type { OverlayGroupProps } from "./pickers";
|
|
21
|
+
/**
|
|
22
|
+
* The session overlay group: sessions, tree, and prior-turn pickers.
|
|
23
|
+
*
|
|
24
|
+
* Renders the dialog body matching the active modal kind, or nothing for a kind
|
|
25
|
+
* this group does not own (or when no runtime services are wired in).
|
|
26
|
+
*
|
|
27
|
+
* @param props the forwarded overlay props (modal, services, theme, dispatch, closer)
|
|
28
|
+
*/
|
|
29
|
+
export declare function SessionOverlays(props: OverlayGroupProps): JSX.Element | null;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Console reducer — the single pure fold over {@link ConsoleState}.
|
|
3
|
+
*
|
|
4
|
+
* The whole terminal surface is reduced from one immutable {@link ConsoleState}
|
|
5
|
+
* value, mutated only by dispatching a {@link ConsoleEvent} into
|
|
6
|
+
* {@link consoleReducer}. This module is the one place those transitions live:
|
|
7
|
+
* it is a pure function (no React, no I/O, no timers) that, given a prior state
|
|
8
|
+
* and an event, returns a *fresh* state — it never mutates its input. That makes
|
|
9
|
+
* every transition unit-testable in isolation and keeps the surface component a
|
|
10
|
+
* thin shell that only wires events in and renders the result out.
|
|
11
|
+
*
|
|
12
|
+
* The transitions fall into a few families, mirroring the {@link ConsoleEvent}
|
|
13
|
+
* grouping:
|
|
14
|
+
*
|
|
15
|
+
* - **Composer edits** (`buffer:*`, `caret:*`) splice and navigate the live
|
|
16
|
+
* input buffer, keeping the caret clamped into `[0, buffer.length]`.
|
|
17
|
+
* - **History recall** (`history:*`) walks the submitted-input ring, stashing
|
|
18
|
+
* the live buffer on the way in and restoring it on the way out.
|
|
19
|
+
* - **Transcript view** (`rows:*`, `block:append`) appends and patches the
|
|
20
|
+
* rendered rows projected from the conductor's {@link SessionSignal} stream
|
|
21
|
+
* (the surface translates each signal into a row event).
|
|
22
|
+
* - **Overlays / status / theme / toggles / busy** flip the small UI-local
|
|
23
|
+
* flags the surface reads to decide what chrome to render.
|
|
24
|
+
*
|
|
25
|
+
* Live session data (messages, usage, model) is *not* stored here — it is read
|
|
26
|
+
* straight from the conductor snapshot — so this state stays purely UI-local and
|
|
27
|
+
* the reducer never needs to know about the agent loop.
|
|
28
|
+
*/
|
|
29
|
+
import { type ConsoleEvent, type ConsoleState } from "./contract";
|
|
30
|
+
/**
|
|
31
|
+
* Fold a {@link ConsoleEvent} into a {@link ConsoleState}, returning a fresh
|
|
32
|
+
* state.
|
|
33
|
+
*
|
|
34
|
+
* Pure and total: every event has a defined transition, and the input state is
|
|
35
|
+
* never mutated. The `switch` is exhaustive over the event union, so adding an
|
|
36
|
+
* event without handling it is a compile error.
|
|
37
|
+
*
|
|
38
|
+
* @param state the prior console state
|
|
39
|
+
* @param event the action to apply
|
|
40
|
+
*/
|
|
41
|
+
export declare function consoleReducer(state: ConsoleState, event: ConsoleEvent): ConsoleState;
|
|
42
|
+
/**
|
|
43
|
+
* Build the initial {@link ConsoleState} a console mounts with.
|
|
44
|
+
*
|
|
45
|
+
* Starts from the frozen {@link EMPTY_CONSOLE_STATE} seed and overlays any
|
|
46
|
+
* caller-supplied UI preferences (scheme, the display toggles). Pure and
|
|
47
|
+
* deterministic — no runtime is consulted — so the first render is stable.
|
|
48
|
+
*
|
|
49
|
+
* @param overrides optional UI-local preferences to seed
|
|
50
|
+
*/
|
|
51
|
+
export declare function initConsoleState(overrides?: Partial<ConsoleState>): ConsoleState;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The built-in slash catalog — the single ordered source of truth.
|
|
3
|
+
*
|
|
4
|
+
* The catalog is assembled from three static topic groups, each its own module
|
|
5
|
+
* under `./commands/`: transcript/session control, the workbench pickers
|
|
6
|
+
* (model/models-for/theme/settings/help/keys/whats-new/debug), and the
|
|
7
|
+
* integration bridges (login/logout/mcp/memory/composio/copy/export/share). On
|
|
8
|
+
* top of those it splices in the *dynamic* rows — one `/skill:<name>` per
|
|
9
|
+
* discovered Agent-Skills capability card and one `/<template-name>` per
|
|
10
|
+
* discovered prompt-template macro — produced by {@link buildDynamicCommands}.
|
|
11
|
+
*
|
|
12
|
+
* There is no command `if`-ladder anywhere: adding a static command is appending
|
|
13
|
+
* a row to one of the groups, and the dynamic rows are discovered at module load
|
|
14
|
+
* from the standard skill/macro roots (returning nothing, never an error, when
|
|
15
|
+
* those roots are absent). The registry index, the completion matcher, and the
|
|
16
|
+
* family grouping are all *derived* from {@link SLASH_COMMANDS} (see
|
|
17
|
+
* `registry.ts`).
|
|
18
|
+
*
|
|
19
|
+
* Listing order is intentional: transcript controls first (the verbs a new user
|
|
20
|
+
* meets), then the workbench pickers, then the integration bridges, and finally
|
|
21
|
+
* the discovered skills and templates.
|
|
22
|
+
*/
|
|
23
|
+
import type { SlashCommand } from "../contract";
|
|
24
|
+
/** The family labels the catalog groups commands under (for `/help`). */
|
|
25
|
+
export { FAMILY } from "./commands/shared";
|
|
26
|
+
/**
|
|
27
|
+
* The built-in catalog — every command row in listing order.
|
|
28
|
+
*
|
|
29
|
+
* Consumers fold this into a {@link SlashRegistry} via `buildRegistry`; the index
|
|
30
|
+
* by name/alias, the family grouping, and the completion matcher are all derived
|
|
31
|
+
* from this one array.
|
|
32
|
+
*/
|
|
33
|
+
export declare const SLASH_COMMANDS: readonly SlashCommand[];
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dynamic slash commands — capability cards and prompt templates as registry rows.
|
|
3
|
+
*
|
|
4
|
+
* The static catalog (`./builtins`) is hand-maintained, but two command families
|
|
5
|
+
* are *discovered* at startup rather than written by hand: the Agent-Skills
|
|
6
|
+
* capability cards ({@link SkillCard}s loaded from `SKILL.md` files) and the
|
|
7
|
+
* user/project prompt templates ({@link Macro}s loaded from `*.md` macro files).
|
|
8
|
+
* This module turns whatever was discovered into ordinary {@link SlashCommand}
|
|
9
|
+
* rows so they sit in the same registry as the built-ins, complete the same way,
|
|
10
|
+
* and resolve through the same dispatcher.
|
|
11
|
+
*
|
|
12
|
+
* Two row shapes are produced:
|
|
13
|
+
*
|
|
14
|
+
* - `/skill:<name>` — invoking it submits an Agent-Skills *invocation block*
|
|
15
|
+
* (`<skill name="…" location="…">body</skill>`) as a normal turn, which is
|
|
16
|
+
* exactly what the agent loop recognises to load and run that skill. The
|
|
17
|
+
* trailing argument string becomes the skill body, so `/skill:commit tidy the
|
|
18
|
+
* diff` runs the `commit` card against "tidy the diff".
|
|
19
|
+
* - `/<template-name>` — invoking it expands the macro body against the
|
|
20
|
+
* trailing arguments (the single-pass `$arg` model from the briefing layer)
|
|
21
|
+
* and submits the result as a normal turn.
|
|
22
|
+
*
|
|
23
|
+
* Both return a `{ kind: "prompt" }` outcome so the dispatcher hands the produced
|
|
24
|
+
* text to the conductor as a turn; neither reaches into a backend the console
|
|
25
|
+
* does not own. When nothing was discovered, {@link buildDynamicCommands} returns
|
|
26
|
+
* an empty array, so splicing it into the catalog is always safe.
|
|
27
|
+
*/
|
|
28
|
+
import type { Macro, SkillCard } from "../../../briefing";
|
|
29
|
+
import type { SlashCommand } from "../../contract";
|
|
30
|
+
/**
|
|
31
|
+
* The discovered material a dynamic catalog is built from.
|
|
32
|
+
*
|
|
33
|
+
* Both fields are optional and default to empty: a caller that only loaded
|
|
34
|
+
* skills passes `{ skills }`, one that only loaded templates passes `{ templates }`,
|
|
35
|
+
* and a caller with neither passes `{}` (or nothing) and gets back `[]`.
|
|
36
|
+
*/
|
|
37
|
+
export interface DynamicCommandSources {
|
|
38
|
+
/** Capability cards discovered from `SKILL.md` files. */
|
|
39
|
+
readonly skills?: readonly SkillCard[];
|
|
40
|
+
/** Prompt templates discovered from `*.md` macro files. */
|
|
41
|
+
readonly templates?: readonly Macro[];
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Project discovered skills and templates into {@link SlashCommand} rows.
|
|
45
|
+
*
|
|
46
|
+
* Skill rows are listed first (namespaced under `skill:`), then the template
|
|
47
|
+
* rows. A name claimed by an earlier row — including any of the static built-ins
|
|
48
|
+
* a caller will concatenate these ahead of — is the registry's problem to reject
|
|
49
|
+
* at assembly time; this function only suppresses *self*-collisions so a template
|
|
50
|
+
* whose name duplicates a skill's `skill:`-prefixed token (impossible) or another
|
|
51
|
+
* template (first wins) cannot crash the build. When no sources are supplied the
|
|
52
|
+
* result is an empty array, never an error.
|
|
53
|
+
*
|
|
54
|
+
* @param sources the discovered skills and templates
|
|
55
|
+
* @returns the dynamic command rows, skills first then templates
|
|
56
|
+
*/
|
|
57
|
+
export declare function buildDynamicCommands(sources?: DynamicCommandSources): SlashCommand[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dynamic command group — focused tests.
|
|
3
|
+
*
|
|
4
|
+
* The builder turns discovered capability cards and prompt-template macros into
|
|
5
|
+
* {@link SlashCommand} rows. Each row's `run` is driven against a scripted
|
|
6
|
+
* {@link SlashContext} so its produced outcome (a `prompt` carrying the skill
|
|
7
|
+
* invocation block or the expanded template) is asserted directly.
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Integration slash commands — auth launchers, the external bridges, and the
|
|
3
|
+
* clipboard / export / share I/O verbs.
|
|
4
|
+
*
|
|
5
|
+
* This group is the console's seam onto everything that lives *outside* a single
|
|
6
|
+
* turn: signing in and out of a provider, wiring the MCP and memory surfaces,
|
|
7
|
+
* connecting an external SaaS bridge, and moving the transcript out of the
|
|
8
|
+
* terminal (clipboard, HTML export, a share link). The handlers do real work
|
|
9
|
+
* where a backing capability exists — they render the live transcript to HTML
|
|
10
|
+
* through the {@link publishTranscript} publisher, drive an {@link MCPClientPool}
|
|
11
|
+
* over the workspace MCP config, reflect the working-memory card from the
|
|
12
|
+
* capability deck, and reach the Composio catalog through the SaaS gateway — and
|
|
13
|
+
* fall back to an *informative* status (never a dead placeholder) when a backend
|
|
14
|
+
* is unreachable in the current environment.
|
|
15
|
+
*
|
|
16
|
+
* The two family commands (`/memory`, `/composio`) are built from
|
|
17
|
+
* {@link SubCommand} tables via {@link familyRunner}, so their verb dispatch is a
|
|
18
|
+
* lookup, not an `if`-ladder. Overlay surfaces (`mcp`, `memory`, `composio`)
|
|
19
|
+
* carry the *gathered* text into the plugin modal payload, so the dialog renders
|
|
20
|
+
* the real state the command collected rather than a fixed line.
|
|
21
|
+
*/
|
|
22
|
+
import type { SlashCommand } from "../../contract";
|
|
23
|
+
/**
|
|
24
|
+
* The integration command group: auth launchers, the MCP/memory/composio
|
|
25
|
+
* bridges, and the clipboard / export / share I/O verbs. Appended to the slash
|
|
26
|
+
* registry by the integrator alongside the other groups.
|
|
27
|
+
*/
|
|
28
|
+
export declare const integrationCommands: SlashCommand[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Integration slash commands — focused behavioral tests.
|
|
3
|
+
*
|
|
4
|
+
* Each handler is exercised through a scripted fake {@link SlashContext} that
|
|
5
|
+
* records the overlay requests (`openModal`) and status toasts (`setStatus`) the
|
|
6
|
+
* handlers raise. The coverage walks every command and family verb:
|
|
7
|
+
* 1. The auth/bridge launchers (`/login`, `/logout`, `/mcp`) open the right
|
|
8
|
+
* modal kind, and a named `/login` threads the provider into the payload.
|
|
9
|
+
* 2. `/memory` reflects the real working-memory card (status / tools / on /
|
|
10
|
+
* off) and carries the gathered text into the plugin overlay.
|
|
11
|
+
* 3. `/composio` reports the missing-key state specifically when no
|
|
12
|
+
* `COMPOSIO_API_KEY` is configured, and warns on a missing connect target.
|
|
13
|
+
* 4. `/copy` extracts the newest assistant prose and writes it through the
|
|
14
|
+
* injected clipboard, warning when there is nothing to copy.
|
|
15
|
+
* 5. `/export` renders the live transcript to an HTML file (and warns on an
|
|
16
|
+
* empty transcript); `/share` reuses that path and degrades informatively.
|
|
17
|
+
*/
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared slash-command helpers — the small, pure toolkit every command group is
|
|
3
|
+
* written against.
|
|
4
|
+
*
|
|
5
|
+
* The console's slash catalog is split into topic groups (transcript control,
|
|
6
|
+
* the workbench pickers, the integration bridges). Each group is its own module
|
|
7
|
+
* exporting a `SlashCommand[]`; this file holds the handful of helpers they all
|
|
8
|
+
* lean on so the groups stay free of duplicated wiring and the family
|
|
9
|
+
* sub-command dispatch lives in exactly one place.
|
|
10
|
+
*
|
|
11
|
+
* Two stances every group keeps:
|
|
12
|
+
* 1. **Handlers are thin.** A `run(ctx)` never reaches into React, the
|
|
13
|
+
* filesystem, or a provider SDK; every effect goes through the injected
|
|
14
|
+
* {@link SlashContext}. The handler decides *which* effect to raise.
|
|
15
|
+
* 2. **Families are tables, not ladders.** A command with sub-verbs (e.g.
|
|
16
|
+
* `/memory note|show|forget`) is built from a {@link SubCommand} table via
|
|
17
|
+
* {@link familyRunner}, never a hand-written `if`-chain.
|
|
18
|
+
*/
|
|
19
|
+
import type { SlashContext, SlashOutcome, StatusMessage } from "../../contract";
|
|
20
|
+
/**
|
|
21
|
+
* The family labels the catalog groups commands under for `/help` and
|
|
22
|
+
* completion. Named constants (not bare strings scattered across rows) so the
|
|
23
|
+
* grouping a command declares and the grouping the help view renders cannot
|
|
24
|
+
* drift apart.
|
|
25
|
+
*/
|
|
26
|
+
export declare const FAMILY: {
|
|
27
|
+
readonly composio: "composio";
|
|
28
|
+
readonly memory: "memory";
|
|
29
|
+
readonly scopedModels: "models-for";
|
|
30
|
+
readonly theme: "theme";
|
|
31
|
+
};
|
|
32
|
+
/** The settled "command ran, nothing more to do" outcome. */
|
|
33
|
+
export declare const HANDLED: SlashOutcome;
|
|
34
|
+
/** Mint an info-tone status toast. */
|
|
35
|
+
export declare function info(text: string): StatusMessage;
|
|
36
|
+
/** Mint a warning-tone status toast (used for usage hints on bad args). */
|
|
37
|
+
export declare function warn(text: string): StatusMessage;
|
|
38
|
+
/**
|
|
39
|
+
* Split a family command's argument string into a leading sub-command verb and
|
|
40
|
+
* the remainder, both trimmed. An empty argument string yields an empty verb so
|
|
41
|
+
* a family command can show its own usage when invoked bare.
|
|
42
|
+
*
|
|
43
|
+
* @param args the raw trailing argument string from {@link SlashContext.args}
|
|
44
|
+
*/
|
|
45
|
+
export declare function splitVerb(args: string): {
|
|
46
|
+
verb: string;
|
|
47
|
+
rest: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* One sub-command of a command family — its verb, a one-line description for the
|
|
51
|
+
* usage list, and the thin action it runs through the {@link SlashContext}.
|
|
52
|
+
*/
|
|
53
|
+
export interface SubCommand {
|
|
54
|
+
/** The sub-command verb, lower-cased (e.g. `add`, `list`, `clear`). */
|
|
55
|
+
readonly verb: string;
|
|
56
|
+
/** One-line description rendered in the family's usage toast. */
|
|
57
|
+
readonly describe: string;
|
|
58
|
+
/** Run the sub-command; `rest` is the argument tail after the verb. */
|
|
59
|
+
run(ctx: SlashContext, rest: string): SlashOutcome;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Build a family command's `run` from a sub-command table.
|
|
63
|
+
*
|
|
64
|
+
* The family handler is a single thin function whose branch structure is
|
|
65
|
+
* *generated* from the table: it splits the verb, looks it up, and runs the
|
|
66
|
+
* matching action — falling back to a usage toast (assembled from the table's
|
|
67
|
+
* descriptions) when the verb is missing or unknown.
|
|
68
|
+
*
|
|
69
|
+
* @param family the family label, used in the usage header
|
|
70
|
+
* @param subs the sub-command table for this family
|
|
71
|
+
*/
|
|
72
|
+
export declare function familyRunner(family: string, subs: readonly SubCommand[]): (ctx: SlashContext) => SlashOutcome;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Transcript & session-control slash commands.
|
|
3
|
+
*
|
|
4
|
+
* The first topic group of the console's slash catalog: the verbs that reset,
|
|
5
|
+
* rename, branch, inspect, or leave the live session view. Every row is a thin
|
|
6
|
+
* {@link SlashCommand} whose `run` drives the injected {@link SlashContext} — a
|
|
7
|
+
* reducer event, a conductor call, a modal, or an exit request — and settles to
|
|
8
|
+
* {@link HANDLED}. Nothing here reaches into React, the filesystem, or a
|
|
9
|
+
* provider SDK directly; backend work flows through the {@link SessionConductor}.
|
|
10
|
+
*
|
|
11
|
+
* The rename, stats, condense, and reload verbs are backed by real conductor
|
|
12
|
+
* surface ({@link SessionConductor.setSessionName}, {@link SessionConductor.stats},
|
|
13
|
+
* {@link SessionConductor.condense}). Where the conductor cannot accept a richer
|
|
14
|
+
* input (the condense path is parameterless on this build), the closest real
|
|
15
|
+
* action is taken and the status line explains precisely what was applied.
|
|
16
|
+
*/
|
|
17
|
+
import type { SlashCommand } from "../../contract";
|
|
18
|
+
/**
|
|
19
|
+
* The transcript / session-control group, in listing order.
|
|
20
|
+
*
|
|
21
|
+
* Appended into the slash registry by the catalog integrator; this module owns
|
|
22
|
+
* only the rows, never the wiring.
|
|
23
|
+
*/
|
|
24
|
+
export declare const transcriptCommands: SlashCommand[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Focused tests for the transcript / session-control slash group.
|
|
3
|
+
*
|
|
4
|
+
* Each command is exercised against a scripted {@link SlashContext} fake that
|
|
5
|
+
* records every effect it raises (reducer events, status toasts, modal opens,
|
|
6
|
+
* conductor calls, exit requests). The assertions check that each verb raises
|
|
7
|
+
* exactly the effect its contract promises and settles to `handled` without
|
|
8
|
+
* throwing.
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workbench slash commands — the pickers, display blocks, and help surfaces.
|
|
3
|
+
*
|
|
4
|
+
* This group covers the overlays a user reaches for to inspect or retune the
|
|
5
|
+
* session: the model pickers, the per-scope routing editor, the colour-scheme
|
|
6
|
+
* switch, the settings list, the command palette (`/help`), the keyboard map
|
|
7
|
+
* (`/keys`), the project changelog (`/whats-new`), and a diagnostics dump
|
|
8
|
+
* (`/debug`). The picker handlers stay thin — they raise an overlay through
|
|
9
|
+
* {@link SlashContext.openModal} or flip a reducer flag — while the help,
|
|
10
|
+
* keys, whats-new, and debug handlers do real work: they read the live slash
|
|
11
|
+
* catalog, the grounded keymap, a `CHANGELOG.md` on disk, and the conductor's
|
|
12
|
+
* session statistics, then surface the result as a display block or a written
|
|
13
|
+
* file rather than a dead placeholder.
|
|
14
|
+
*/
|
|
15
|
+
import type { SlashCommand } from "../../contract";
|
|
16
|
+
/**
|
|
17
|
+
* The workbench command rows, in listing order. Pickers and help surfaces open
|
|
18
|
+
* an overlay; the changelog drops a display block; debug flips a toggle and
|
|
19
|
+
* reports it.
|
|
20
|
+
*/
|
|
21
|
+
export declare const workbenchCommands: SlashCommand[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workbench command group — focused handler tests.
|
|
3
|
+
*
|
|
4
|
+
* Each command is driven against a scripted {@link SlashContext} fake that
|
|
5
|
+
* records every injected action, so a handler's effect is asserted by
|
|
6
|
+
* inspecting the recorded overlays / dispatches / statuses / blocks rather than
|
|
7
|
+
* a rendered surface. The group stays thin: every handler resolves to a settled
|
|
8
|
+
* outcome and raises exactly the effects its row promises.
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slash subsystem — public barrel.
|
|
3
|
+
*
|
|
4
|
+
* The console's data-driven slash layer, in three pure pieces:
|
|
5
|
+
*
|
|
6
|
+
* - **The catalog** — {@link SLASH_COMMANDS}, the single ordered list of
|
|
7
|
+
* {@link SlashCommand} rows (core commands plus the `composio` / `memory` /
|
|
8
|
+
* `scoped-models` / `theme` families). There is no command `if`-ladder; a new
|
|
9
|
+
* command is a new row.
|
|
10
|
+
* - **The registry** — {@link buildRegistry} folds the catalog into the frozen
|
|
11
|
+
* {@link SlashRegistry} shape (commands + a name/alias index), and the derived
|
|
12
|
+
* lookups ({@link matchPrefix}, {@link findCommand}, {@link commandsInFamily},
|
|
13
|
+
* {@link listFamilies}) power resolution, completion, and grouped listing.
|
|
14
|
+
* - **Resolution** — {@link resolveSlash} parses a typed composer line and
|
|
15
|
+
* resolves it against a registry to a discriminated {@link SlashResolution}.
|
|
16
|
+
*
|
|
17
|
+
* {@link DEFAULT_SLASH_REGISTRY} is the catalog pre-folded into a registry, the
|
|
18
|
+
* value the console mounts with. The effectful dispatcher (which calls a matched
|
|
19
|
+
* command's `run`) lives outside this barrel; everything exported here is pure.
|
|
20
|
+
*/
|
|
21
|
+
export { SLASH_COMMANDS, FAMILY } from "./builtins";
|
|
22
|
+
export { buildRegistry, tokensOf, findCommand, matchPrefix, listFamilies, commandsInFamily, } from "./registry";
|
|
23
|
+
export { SLASH_PREFIX, looksLikeSlash, parseSlash, resolveSlash, type SlashLine, type SlashResolution, } from "./resolve";
|
|
24
|
+
import type { SlashRegistry } from "../contract";
|
|
25
|
+
/**
|
|
26
|
+
* The built-in catalog pre-folded into a resolved {@link SlashRegistry}.
|
|
27
|
+
*
|
|
28
|
+
* The default the console mounts with: the catalog indexed by every canonical
|
|
29
|
+
* name and alias, ready for {@link resolveSlash} and the completion matcher. A
|
|
30
|
+
* caller that needs to splice in prompt templates, plugin commands, or
|
|
31
|
+
* `/skill:*` entries builds its own registry from a concatenated list via
|
|
32
|
+
* {@link buildRegistry} rather than mutating this one.
|
|
33
|
+
*/
|
|
34
|
+
export declare const DEFAULT_SLASH_REGISTRY: SlashRegistry;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slash registry assembly — fold a command list into the resolved registry.
|
|
3
|
+
*
|
|
4
|
+
* The slash subsystem keeps exactly one hand-maintained list of commands (the
|
|
5
|
+
* {@link SLASH_COMMANDS} array in `builtins.ts`); everything a consumer needs to
|
|
6
|
+
* resolve, complete, or list a command is *derived* from that array here. This
|
|
7
|
+
* module is the bridge between the flat data and the {@link SlashRegistry} shape
|
|
8
|
+
* the contract froze:
|
|
9
|
+
*
|
|
10
|
+
* - {@link buildRegistry} indexes the list by canonical name *and* by every
|
|
11
|
+
* alias, so {@link import("./resolve").resolveSlash} is an O(1) map lookup
|
|
12
|
+
* rather than a scan. It also guards the one invariant a flat array cannot:
|
|
13
|
+
* two rows must not claim the same token (a duplicate name or alias is a
|
|
14
|
+
* programming error, surfaced loudly at assembly time, not silently shadowed).
|
|
15
|
+
* - {@link matchPrefix} powers the completion window: given the partial token
|
|
16
|
+
* the user has typed, it returns the rows whose name or alias starts with it,
|
|
17
|
+
* in registry order.
|
|
18
|
+
* - {@link commandsInFamily} / {@link listFamilies} project the `family` field
|
|
19
|
+
* for grouped listing (the `/help` overlay, the completion grouping).
|
|
20
|
+
*
|
|
21
|
+
* No effects, no React, no conductor — the registry is a value, and these are
|
|
22
|
+
* pure derivations over it. The dispatcher consumes the registry; it is not
|
|
23
|
+
* built here.
|
|
24
|
+
*/
|
|
25
|
+
import type { SlashCommand, SlashRegistry } from "../contract";
|
|
26
|
+
/**
|
|
27
|
+
* Every token a command answers to: its canonical name plus any aliases.
|
|
28
|
+
*
|
|
29
|
+
* The single place name/alias enumeration happens, so the index builder and the
|
|
30
|
+
* prefix matcher agree on what counts as "a token for this command".
|
|
31
|
+
*
|
|
32
|
+
* @param command the command to enumerate tokens for
|
|
33
|
+
*/
|
|
34
|
+
export declare function tokensOf(command: SlashCommand): string[];
|
|
35
|
+
/**
|
|
36
|
+
* Fold an ordered command list into a resolved {@link SlashRegistry}.
|
|
37
|
+
*
|
|
38
|
+
* Preserves the input order in {@link SlashRegistry.commands} (it is the listing
|
|
39
|
+
* order the completion window and `/help` render in) and derives the
|
|
40
|
+
* {@link SlashRegistry.index} by mapping every token — canonical and alias — to
|
|
41
|
+
* its owning command. Tokens are lower-cased on the way in so resolution can be
|
|
42
|
+
* case-insensitive without the resolver re-normalising.
|
|
43
|
+
*
|
|
44
|
+
* Throws when two rows claim the same token: a flat array cannot express
|
|
45
|
+
* "these names are disjoint", so the invariant is enforced here, at the one
|
|
46
|
+
* point the table is assembled, instead of letting a later row silently shadow
|
|
47
|
+
* an earlier one.
|
|
48
|
+
*
|
|
49
|
+
* @param commands the ordered command list (the single source of truth)
|
|
50
|
+
*/
|
|
51
|
+
export declare function buildRegistry(commands: readonly SlashCommand[]): SlashRegistry;
|
|
52
|
+
/**
|
|
53
|
+
* Resolve a single token (canonical or alias) to its command, or `undefined`.
|
|
54
|
+
*
|
|
55
|
+
* A thin, case-insensitive read of {@link SlashRegistry.index} so call sites do
|
|
56
|
+
* not re-implement the lower-casing the registry index expects.
|
|
57
|
+
*
|
|
58
|
+
* @param registry the registry to read
|
|
59
|
+
* @param token a canonical name or alias, with or without a leading slash
|
|
60
|
+
*/
|
|
61
|
+
export declare function findCommand(registry: SlashRegistry, token: string): SlashCommand | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* The commands whose name or alias begins with a partial token, in registry
|
|
64
|
+
* order — the candidate set the completion window renders.
|
|
65
|
+
*
|
|
66
|
+
* Matching is case-insensitive and prefix-based against *every* token a command
|
|
67
|
+
* answers to, but each command appears at most once even when several of its
|
|
68
|
+
* tokens match. An empty partial returns the whole list (the bare-`/` case where
|
|
69
|
+
* the user has opened the completion window but typed nothing yet).
|
|
70
|
+
*
|
|
71
|
+
* @param registry the registry to search
|
|
72
|
+
* @param partial the partial command token (without a leading slash)
|
|
73
|
+
*/
|
|
74
|
+
export declare function matchPrefix(registry: SlashRegistry, partial: string): SlashCommand[];
|
|
75
|
+
/**
|
|
76
|
+
* The distinct family labels present in the registry, in first-seen order.
|
|
77
|
+
*
|
|
78
|
+
* Commands without a `family` are omitted; the result drives the grouped
|
|
79
|
+
* headings in `/help` and the completion window.
|
|
80
|
+
*
|
|
81
|
+
* @param registry the registry to scan
|
|
82
|
+
*/
|
|
83
|
+
export declare function listFamilies(registry: SlashRegistry): string[];
|
|
84
|
+
/**
|
|
85
|
+
* The commands belonging to a family, in registry order.
|
|
86
|
+
*
|
|
87
|
+
* @param registry the registry to filter
|
|
88
|
+
* @param family the family label to select
|
|
89
|
+
*/
|
|
90
|
+
export declare function commandsInFamily(registry: SlashRegistry, family: string): SlashCommand[];
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slash line resolution — parse a typed line, then match it against the registry.
|
|
3
|
+
*
|
|
4
|
+
* This module is the pure front half of the slash subsystem: it takes the raw
|
|
5
|
+
* string a user typed into the composer and decides three things, in order:
|
|
6
|
+
*
|
|
7
|
+
* 1. **Is this a slash line at all?** A line is a slash invocation only when its
|
|
8
|
+
* first non-blank character is `/` and what follows is a command-shaped
|
|
9
|
+
* token (so a bare `/` or a `/path/to/file` literal is *not* hijacked as a
|
|
10
|
+
* command). {@link parseSlash} reports this without consulting the registry.
|
|
11
|
+
* 2. **Which command does the token resolve to?** {@link resolveSlash} folds a
|
|
12
|
+
* {@link SlashRegistry} in: it splits the line into a name and a trailing
|
|
13
|
+
* argument string, then resolves the name (and its aliases) through the
|
|
14
|
+
* registry's index. Resolution is case-insensitive on the command token.
|
|
15
|
+
* 3. **What should the dispatcher do?** The result is a discriminated
|
|
16
|
+
* {@link SlashResolution}: `not-slash` (treat as a normal prompt / bash
|
|
17
|
+
* escape), `match` (run this command with these args), or `miss` (it looked
|
|
18
|
+
* like a command but no row owns the token — fall through to templates,
|
|
19
|
+
* plugin commands, or a literal prompt).
|
|
20
|
+
*
|
|
21
|
+
* Nothing here touches React, the conductor, or I/O — the whole module is a pair
|
|
22
|
+
* of pure functions over a string and a registry, which is exactly why the slash
|
|
23
|
+
* parsing/matching logic lives here rather than inside a `useInput` handler. The
|
|
24
|
+
* effectful half (actually calling a command's `run`) is the dispatcher's job.
|
|
25
|
+
*/
|
|
26
|
+
import type { SlashCommand, SlashRegistry } from "../contract";
|
|
27
|
+
/**
|
|
28
|
+
* The leading character that marks a line as a slash invocation.
|
|
29
|
+
*
|
|
30
|
+
* A single constant so the prefix is defined in exactly one place and the tests
|
|
31
|
+
* assert against the same literal the parser reads.
|
|
32
|
+
*/
|
|
33
|
+
export declare const SLASH_PREFIX: "/";
|
|
34
|
+
/**
|
|
35
|
+
* The lexical split of a slash line into its command token and argument tail.
|
|
36
|
+
*
|
|
37
|
+
* Produced by {@link parseSlash} before the registry is consulted, so the two
|
|
38
|
+
* concerns — "did the user type a command-shaped line" and "does a command own
|
|
39
|
+
* that token" — stay separable. `name` is the bare token with no leading slash
|
|
40
|
+
* and folded to lower case for case-insensitive matching; `args` is everything
|
|
41
|
+
* after the first run of whitespace, with the single separating space removed
|
|
42
|
+
* but interior spacing preserved.
|
|
43
|
+
*/
|
|
44
|
+
export interface SlashLine {
|
|
45
|
+
/** The command token, lower-cased, without the leading slash. */
|
|
46
|
+
readonly name: string;
|
|
47
|
+
/** The trailing argument string (may be empty), interior spacing preserved. */
|
|
48
|
+
readonly args: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Whether a typed line is shaped like a slash command at all.
|
|
52
|
+
*
|
|
53
|
+
* A line qualifies only when, after trimming leading blanks, it begins with the
|
|
54
|
+
* {@link SLASH_PREFIX} *and* what follows up to the first whitespace is a clean
|
|
55
|
+
* {@link COMMAND_TOKEN}. This deliberately rejects a lone `/`, a `//comment`, and
|
|
56
|
+
* a `/usr/local/bin` style path (whose embedded slash breaks the token shape) so
|
|
57
|
+
* those reach the prompt untouched.
|
|
58
|
+
*
|
|
59
|
+
* @param input the raw composer line
|
|
60
|
+
*/
|
|
61
|
+
export declare function looksLikeSlash(input: string): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Split a slash line into its {@link SlashLine} token/argument pair, or
|
|
64
|
+
* `undefined` when the line is not shaped like a command.
|
|
65
|
+
*
|
|
66
|
+
* The token runs from just after the slash up to the first whitespace (or
|
|
67
|
+
* end-of-line); the argument tail is whatever follows that whitespace, trimmed
|
|
68
|
+
* only at its outer edges. The token is lower-cased so resolution can be
|
|
69
|
+
* case-insensitive without the caller pre-normalising.
|
|
70
|
+
*
|
|
71
|
+
* @param input the raw composer line
|
|
72
|
+
*/
|
|
73
|
+
export declare function parseSlash(input: string): SlashLine | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* The outcome of resolving a typed line against a {@link SlashRegistry}.
|
|
76
|
+
*
|
|
77
|
+
* - `not-slash` — the line is not a command invocation; the dispatcher should
|
|
78
|
+
* hand it on as a normal prompt (or a `!`/`!!` bash escape).
|
|
79
|
+
* - `match` — the token resolved to `command`; run it with `args` (the raw
|
|
80
|
+
* trailing string) via a {@link import("../contract").SlashContext}.
|
|
81
|
+
* - `miss` — the line *was* command-shaped but no row owns the token; the
|
|
82
|
+
* dispatcher falls through to templates / plugin commands / a literal prompt.
|
|
83
|
+
* The offending `name` is reported so a caller can surface "unknown command".
|
|
84
|
+
*/
|
|
85
|
+
export type SlashResolution = {
|
|
86
|
+
readonly kind: "not-slash";
|
|
87
|
+
} | {
|
|
88
|
+
readonly kind: "match";
|
|
89
|
+
readonly command: SlashCommand;
|
|
90
|
+
readonly args: string;
|
|
91
|
+
} | {
|
|
92
|
+
readonly kind: "miss";
|
|
93
|
+
readonly name: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Resolve a raw composer line against the registry to a {@link SlashResolution}.
|
|
97
|
+
*
|
|
98
|
+
* Parses the line ({@link parseSlash}); a non-command line resolves to
|
|
99
|
+
* `not-slash`. A command-shaped line's token is looked up in the registry index
|
|
100
|
+
* (which already carries both canonical names and aliases), yielding `match`
|
|
101
|
+
* with the owning command and the raw argument string, or `miss` when no row
|
|
102
|
+
* claims the token.
|
|
103
|
+
*
|
|
104
|
+
* This is the single entry point a dispatcher calls; it performs no effects.
|
|
105
|
+
*
|
|
106
|
+
* @param input the raw composer line
|
|
107
|
+
* @param registry the registry to resolve against
|
|
108
|
+
*/
|
|
109
|
+
export declare function resolveSlash(input: string, registry: SlashRegistry): SlashResolution;
|