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,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Addon sandbox — the SINGLE jiti-backed {@link ModuleLoader}.
|
|
3
|
+
*
|
|
4
|
+
* This module turns a path on disk into a loaded {@link AddonManifest}. It is the
|
|
5
|
+
* one place the app reaches a TypeScript-on-the-fly importer (`jiti`), and it is
|
|
6
|
+
* the one place the framework namespaces an addon may `import` are bridged into
|
|
7
|
+
* the addon's module graph. Two facts shape the design:
|
|
8
|
+
*
|
|
9
|
+
* 1. **A compiled binary has no `node_modules`.** When the app ships as a
|
|
10
|
+
* single-file executable the framework code (`indusagi/agent`, `indusagi/ai`,
|
|
11
|
+
* `indusagi/tui`) and `@sinclair/typebox` are already *inside* the binary —
|
|
12
|
+
* an addon's `import "indusagi/agent"` cannot resolve against a directory
|
|
13
|
+
* that does not exist on the host. The sandbox satisfies those specifiers
|
|
14
|
+
* from the host's own statically-imported namespace objects (jiti's
|
|
15
|
+
* `virtualModules`), so the addon shares the host's exact module instances
|
|
16
|
+
* rather than loading a second copy.
|
|
17
|
+
*
|
|
18
|
+
* 2. **An interpreted launch has real files.** Under Node (or `bun run` over
|
|
19
|
+
* source) the same specifiers resolve to real paths on disk; the sandbox
|
|
20
|
+
* feeds those resolved paths to jiti as `alias` entries so the importer
|
|
21
|
+
* finds them without re-walking `node_modules`.
|
|
22
|
+
*
|
|
23
|
+
* The literal set of bridged specifiers is the contract's {@link BUNDLED_NAMESPACES};
|
|
24
|
+
* this module owns only the *mechanism* that maps each one to either a live
|
|
25
|
+
* namespace object (virtual-module mode) or a resolved file path (alias mode).
|
|
26
|
+
*
|
|
27
|
+
* The loader is deliberately injectable: {@link createJitiLoader} is the default
|
|
28
|
+
* {@link ModuleLoader}, but every consumer takes the interface, so a test can
|
|
29
|
+
* inject a scripted fake that returns a manifest with no jiti and no disk.
|
|
30
|
+
*
|
|
31
|
+
* Path inputs are normalized through this module's own {@link expandPath} /
|
|
32
|
+
* {@link resolvePath} helpers — home-directory expansion plus a from-scratch
|
|
33
|
+
* invisible-whitespace scrub — written here rather than imported, so the loader
|
|
34
|
+
* owns its full input-hygiene story.
|
|
35
|
+
*/
|
|
36
|
+
import { type ModuleLoader } from "./contract";
|
|
37
|
+
/**
|
|
38
|
+
* Strip invisible / non-standard whitespace from a path string and trim ordinary
|
|
39
|
+
* leading and trailing ASCII whitespace.
|
|
40
|
+
*
|
|
41
|
+
* Walks the string by code point (so astral characters survive intact), dropping
|
|
42
|
+
* any member of {@link INVISIBLE_SET}, then trims the plain ASCII edges. Written
|
|
43
|
+
* as an explicit scan rather than a regex so the exact handled set is visible at
|
|
44
|
+
* the call site.
|
|
45
|
+
*
|
|
46
|
+
* @param raw the path as supplied (possibly carrying invisible characters)
|
|
47
|
+
*/
|
|
48
|
+
export declare function scrubInvisible(raw: string): string;
|
|
49
|
+
/**
|
|
50
|
+
* Expand a leading `~` (or `~/`) to the user's home directory.
|
|
51
|
+
*
|
|
52
|
+
* Only a `~` that begins the (already-scrubbed) string is treated as the home
|
|
53
|
+
* marker; a `~` anywhere else is an ordinary character. `~` alone becomes the
|
|
54
|
+
* home directory; `~/x` becomes `<home>/x`. A `home` override is accepted for
|
|
55
|
+
* tests and embedding so the function never reads the environment implicitly.
|
|
56
|
+
*
|
|
57
|
+
* @param raw the path, possibly beginning with a home marker
|
|
58
|
+
* @param home the home directory to expand against; defaults to {@link homedir}
|
|
59
|
+
*/
|
|
60
|
+
export declare function expandPath(raw: string, home?: string): string;
|
|
61
|
+
/**
|
|
62
|
+
* Resolve a path to an absolute, invisible-free path.
|
|
63
|
+
*
|
|
64
|
+
* Scrubs invisible whitespace, expands a leading home marker, then anchors the
|
|
65
|
+
* result against `base` (the working directory) when it is not already absolute.
|
|
66
|
+
* The single normalizer every loader entry funnels through, so input hygiene is
|
|
67
|
+
* applied in exactly one place.
|
|
68
|
+
*
|
|
69
|
+
* @param raw the path as supplied
|
|
70
|
+
* @param base the directory a relative path resolves against; defaults to `process.cwd()`
|
|
71
|
+
* @param home the home directory `~` expands against; defaults to {@link homedir}
|
|
72
|
+
*/
|
|
73
|
+
export declare function resolvePath(raw: string, base?: string, home?: string): string;
|
|
74
|
+
/**
|
|
75
|
+
* Options for {@link createJitiLoader}.
|
|
76
|
+
*
|
|
77
|
+
* All optional — the defaults wire the live runtime — but each is overridable so
|
|
78
|
+
* a test can pin the working directory or home without touching the process. The
|
|
79
|
+
* jiti instance itself is constructed from {@link jitiOptionsForRuntime}; these
|
|
80
|
+
* options only steer how a supplied path is normalized before it is imported.
|
|
81
|
+
*/
|
|
82
|
+
export interface JitiLoaderOptions {
|
|
83
|
+
/** Directory a relative addon path resolves against; defaults to `process.cwd()`. */
|
|
84
|
+
readonly base?: string;
|
|
85
|
+
/** Home directory a leading `~` expands against; defaults to {@link homedir}. */
|
|
86
|
+
readonly home?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Construct the default jiti-backed {@link ModuleLoader}.
|
|
90
|
+
*
|
|
91
|
+
* Creates one jiti instance — configured with the bridged framework namespaces
|
|
92
|
+
* appropriate to the runtime (virtual modules in a compiled binary, resolved
|
|
93
|
+
* aliases under Node) — and returns a loader whose {@link ModuleLoader.load}
|
|
94
|
+
* normalizes the supplied path, imports it through jiti, and extracts the
|
|
95
|
+
* {@link AddonManifest}. A module that does not expose a callable `register` is
|
|
96
|
+
* rejected, so the host converts the rejection into a load fault.
|
|
97
|
+
*
|
|
98
|
+
* This is the production loader; tests inject a fake implementing the same
|
|
99
|
+
* interface, exercising the registry/host without any real jiti or disk.
|
|
100
|
+
*
|
|
101
|
+
* @param options optional path-normalization overrides
|
|
102
|
+
*/
|
|
103
|
+
export declare function createJitiLoader(options?: JitiLoaderOptions): ModuleLoader;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AddonSurface implementation — the recording registration API.
|
|
3
|
+
*
|
|
4
|
+
* This module realizes the contract's central design stance: an addon's
|
|
5
|
+
* `register` entry point is handed a {@link AddonSurface} and *records* its
|
|
6
|
+
* intent — event subscriptions, tool interceptors, slash commands, contributed
|
|
7
|
+
* tools — rather than mutating any shared runtime. Each surface is a small,
|
|
8
|
+
* per-addon accumulator: every `on` / `interceptTool` / `addCommand` / `addTool`
|
|
9
|
+
* call appends to a private list, and {@link RecordingSurface.manifest} reads the
|
|
10
|
+
* accumulated {@link RegisteredManifest} back out for the host to fold.
|
|
11
|
+
*
|
|
12
|
+
* Because registration is pure recording, the host stays in control of *what to
|
|
13
|
+
* do* with the contributions. The surface only:
|
|
14
|
+
*
|
|
15
|
+
* - stamps every recorded shape with the owning {@link AddonId} (so a later
|
|
16
|
+
* fault is attributable) and fills the `match` / `name` fields the surface
|
|
17
|
+
* methods take separately from the handler object;
|
|
18
|
+
* - threads the host-supplied {@link FrameworkHandles} through unchanged, so an
|
|
19
|
+
* addon can act at registration time and the same handles reach its command
|
|
20
|
+
* contexts; and
|
|
21
|
+
* - returns an immutable snapshot from {@link RecordingSurface.manifest}, so a
|
|
22
|
+
* read after `register` settles cannot be mutated by a stray later call.
|
|
23
|
+
*
|
|
24
|
+
* The surface performs no dispatch, no loading, and no conflict resolution —
|
|
25
|
+
* those are the host's job once it has folded every addon's manifest. Keeping the
|
|
26
|
+
* surface this thin is what makes registration a description of capability rather
|
|
27
|
+
* than a side effect on the agent.
|
|
28
|
+
*/
|
|
29
|
+
import type { AddonId, AddonSurface, FrameworkHandles } from "./contract";
|
|
30
|
+
/**
|
|
31
|
+
* Mint a fresh {@link AddonSurface} for one addon.
|
|
32
|
+
*
|
|
33
|
+
* The host calls this once per addon, scoping the surface to that addon's
|
|
34
|
+
* {@link AddonId} and the session's {@link FrameworkHandles}, then passes the
|
|
35
|
+
* surface to the addon's `register`. After `register` settles the host reads
|
|
36
|
+
* {@link AddonSurface.manifest} to obtain the contributions to fold.
|
|
37
|
+
*
|
|
38
|
+
* @param id the addon the surface is scoped to
|
|
39
|
+
* @param handles the framework handles the addon (and its commands) may act through
|
|
40
|
+
* @param version optional addon version carried into the recorded manifest
|
|
41
|
+
*/
|
|
42
|
+
export declare function createSurface(id: AddonId, handles: FrameworkHandles, version?: string): AddonSurface;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Disk-backed credential vault — the boot-layer adapter that satisfies the
|
|
3
|
+
* launch {@link AuthVault} seam so the credential command can persist
|
|
4
|
+
* credentials before the concrete Phase-2 multi-account vault lands.
|
|
5
|
+
*
|
|
6
|
+
* The store is a single JSON file (`auth.json` under the profile directory),
|
|
7
|
+
* keyed provider → account → record. Each record is a discriminated union: it
|
|
8
|
+
* holds *either* a stored api key *or* a set of browser-sign-in credentials, plus
|
|
9
|
+
* a default marker. The adapter is deliberately small and self-contained: it
|
|
10
|
+
* reads / writes the whole file each time (the file is tiny and the operations
|
|
11
|
+
* are interactive, so atomic-rewrite simplicity beats incremental I/O).
|
|
12
|
+
*
|
|
13
|
+
* Two kinds of read are offered. The default-account lookup is plain bookkeeping;
|
|
14
|
+
* {@link AuthVault.readUsableKey} resolves a record to a live api-key string — for
|
|
15
|
+
* an api-key record it returns the stored key verbatim, and for a browser-sign-in
|
|
16
|
+
* record it asks the framework to refresh an expired token (persisting the
|
|
17
|
+
* rotated credentials back to disk) before handing back the usable key.
|
|
18
|
+
*
|
|
19
|
+
* This is *not* the Phase-2 vault — it is the minimal real persistence the
|
|
20
|
+
* launch wiring needs. When the concrete multi-account vault arrives it replaces
|
|
21
|
+
* this adapter at the one call site in {@link "./boot"}.
|
|
22
|
+
*/
|
|
23
|
+
import type { AuthVault } from "../launch";
|
|
24
|
+
/**
|
|
25
|
+
* Build a disk-backed {@link AuthVault} persisting to `authPath`.
|
|
26
|
+
*
|
|
27
|
+
* @param authPath absolute path of the JSON credential store (e.g. `auth.json`)
|
|
28
|
+
*/
|
|
29
|
+
export declare function createAuthVault(authPath: string): AuthVault;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boot orchestrator — the single function the OS entry point calls.
|
|
3
|
+
*
|
|
4
|
+
* {@link boot} owns the whole launch arc: it assembles the seed
|
|
5
|
+
* {@link BootContext} (resolved workspace + brand + a placeholder invocation),
|
|
6
|
+
* runs the ordered {@link runStages | stage pipeline} to resolve the rest
|
|
7
|
+
* (parse the command line, materialise directories, apply upgrades, build the
|
|
8
|
+
* startup-resource graph), handles the meta requests (`--help` / `--version`)
|
|
9
|
+
* that short-circuit before any runner, then dispatches to the
|
|
10
|
+
* {@link selectRunner | selected runner} and returns its exit code.
|
|
11
|
+
*
|
|
12
|
+
* Cleanup is guaranteed: every teardown callback accumulated in
|
|
13
|
+
* {@link BootContext.closables} is drained in a `finally`, latest-registered
|
|
14
|
+
* first, regardless of how the runner resolved. {@link boot} itself never throws
|
|
15
|
+
* to its caller for an expected failure — it maps problems to a non-zero exit
|
|
16
|
+
* code so the entry point can simply set `process.exitCode`.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Boot the agent: resolve everything, dispatch to the chosen runner, and return
|
|
20
|
+
* the process exit code.
|
|
21
|
+
*
|
|
22
|
+
* @param argv The arguments the launch was invoked with, already sliced (no
|
|
23
|
+
* node/exec path).
|
|
24
|
+
* @returns The exit code the process should adopt.
|
|
25
|
+
*/
|
|
26
|
+
export declare function boot(argv: string[]): Promise<number>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Phase-1 boot layer — unit tests.
|
|
3
|
+
*
|
|
4
|
+
* No network, no real home directory: every test that touches disk runs under a
|
|
5
|
+
* fresh sandbox home created in the OS temp dir and removed in `afterEach`. The
|
|
6
|
+
* tests pin the public seams of the boot layer:
|
|
7
|
+
*
|
|
8
|
+
* - {@link tokenizeInvocation} maps flags to the right mode / prompt / model.
|
|
9
|
+
* - `--help` is recognised and short-circuits {@link boot}.
|
|
10
|
+
* - {@link createWorkspace} resolves all paths beneath an overridden home.
|
|
11
|
+
* - {@link applyUpgrades} is idempotent (a second pass applies nothing).
|
|
12
|
+
* - {@link runStages} produces a fully-resolved {@link BootContext}.
|
|
13
|
+
* - {@link selectRunner} picks the placeholder runner for each mode.
|
|
14
|
+
*/
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boot-layer contract — the FROZEN type surface of Phase 1.
|
|
3
|
+
*
|
|
4
|
+
* This module is the single typed seam between the operating-system entry point
|
|
5
|
+
* (`entry.ts`) and everything that turns a command line into a running coding
|
|
6
|
+
* agent. It declares *only* shapes — no behavior, no I/O, no literals beyond the
|
|
7
|
+
* narrow string unions that pin the public modes. Every later boot module
|
|
8
|
+
* (workspace locator, upgrade registry, stage pipeline, runner registry) is
|
|
9
|
+
* written against the names declared here, so this file is intentionally small,
|
|
10
|
+
* append-mostly, and stable.
|
|
11
|
+
*
|
|
12
|
+
* Design stance:
|
|
13
|
+
* - One immutable {@link BootContext} is threaded through an ordered list of
|
|
14
|
+
* {@link Stage} transforms; a stage returns the next context (or the same
|
|
15
|
+
* one) and never mutates in place.
|
|
16
|
+
* - All branding lives in a single {@link Brand} record and all on-disk paths
|
|
17
|
+
* in a single {@link Workspace} object — there are no scattered free getters
|
|
18
|
+
* and no string literals duplicated across the codebase.
|
|
19
|
+
* - Where the rebuilt framework already owns a concept (the model catalog, the
|
|
20
|
+
* user-settings shape), the resolved-resource graph is typed against the
|
|
21
|
+
* framework's published types rather than re-declaring them here.
|
|
22
|
+
*
|
|
23
|
+
* Framework anchors (all from the `indusagi` package):
|
|
24
|
+
* - `ModelRegistry` ← `indusagi/ai` — the resolved model catalog.
|
|
25
|
+
* - `Settings` ← `indusagi/shell-app` — the user-tunable config shape.
|
|
26
|
+
* - `ThinkingLevel` ← `indusagi/agent` — reasoning-effort vocabulary (re-exported
|
|
27
|
+
* for convenience by boot consumers).
|
|
28
|
+
*/
|
|
29
|
+
import type { ModelRegistry } from "indusagi/ai";
|
|
30
|
+
import type { Settings } from "indusagi/shell-app";
|
|
31
|
+
import type { ThinkingLevel } from "indusagi/agent";
|
|
32
|
+
/** Re-exported framework reasoning vocabulary, surfaced through the boot contract. */
|
|
33
|
+
export type { ThinkingLevel };
|
|
34
|
+
/**
|
|
35
|
+
* The single source of truth for every branding / identity literal.
|
|
36
|
+
*
|
|
37
|
+
* Nothing else in the app hard-codes the product name, the profile directory
|
|
38
|
+
* name, the bin names, the environment-variable namespace, or the share-viewer
|
|
39
|
+
* origin. Resolving these once into a frozen record means a rebrand touches one
|
|
40
|
+
* value, never a grep across the tree.
|
|
41
|
+
*/
|
|
42
|
+
export interface Brand {
|
|
43
|
+
/** Product name used in banners and `process.title` (e.g. `"indusagi"`). */
|
|
44
|
+
readonly name: string;
|
|
45
|
+
/** Display label for human-facing surfaces; defaults to {@link name}. */
|
|
46
|
+
readonly label: string;
|
|
47
|
+
/** Profile directory leaf under the user's home (e.g. `".indusagi"`). */
|
|
48
|
+
readonly profileDirName: string;
|
|
49
|
+
/** Sub-directory of the profile holding the agent's own state (e.g. `"agent"`). */
|
|
50
|
+
readonly stateDirName: string;
|
|
51
|
+
/** The executable names this app installs as (both point at one entry). */
|
|
52
|
+
readonly binNames: readonly [primary: string, alias: string];
|
|
53
|
+
/** Environment-variable name prefix shared by all app-scoped vars (e.g. `"INDUSAGI"`). */
|
|
54
|
+
readonly envPrefix: string;
|
|
55
|
+
/** Env var overriding the resolved profile directory (e.g. `"INDUSAGI_CODING_AGENT_DIR"`). */
|
|
56
|
+
readonly envProfileDir: string;
|
|
57
|
+
/** Env var that, when set, disables transport-noise log filtering (e.g. `"INDUSAGI_DEBUG"`). */
|
|
58
|
+
readonly envDebug: string;
|
|
59
|
+
/** Env var overriding the share-viewer origin (e.g. `"INDUSAGI_SHARE_VIEWER_URL"`). */
|
|
60
|
+
readonly envShareViewer: string;
|
|
61
|
+
/** Default origin a published transcript links to. */
|
|
62
|
+
readonly shareViewerUrl: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Every resolved on-disk location the app reads or writes, as one immutable
|
|
66
|
+
* record rather than a family of free `get*Path()` getters.
|
|
67
|
+
*
|
|
68
|
+
* All members are absolute paths already expanded against the user's home and
|
|
69
|
+
* the active {@link Brand}; consumers join nothing further. A single object also
|
|
70
|
+
* makes the layout trivially inspectable and swappable in tests.
|
|
71
|
+
*/
|
|
72
|
+
export interface Workspace {
|
|
73
|
+
/** Root profile directory, e.g. `~/.indusagi/agent`. */
|
|
74
|
+
readonly profileDir: string;
|
|
75
|
+
/** Merged-settings file (`settings.json`). */
|
|
76
|
+
readonly settingsPath: string;
|
|
77
|
+
/** Consolidated credential store (`auth.json`). */
|
|
78
|
+
readonly authPath: string;
|
|
79
|
+
/** Per-cwd transcript directory root (`sessions/`). */
|
|
80
|
+
readonly sessionsDir: string;
|
|
81
|
+
/** Custom model-catalog overrides (`models.json`). */
|
|
82
|
+
readonly modelsPath: string;
|
|
83
|
+
/** Provisioned native helper binaries (`bin/`, holds fd / rg). */
|
|
84
|
+
readonly toolsDir: string;
|
|
85
|
+
/** Alias for the managed-binary directory; equals {@link toolsDir}. */
|
|
86
|
+
readonly binDir: string;
|
|
87
|
+
/** User-authored prompt/command templates (`prompts/`). */
|
|
88
|
+
readonly promptsDir: string;
|
|
89
|
+
/** User-installed color themes (`themes/`). */
|
|
90
|
+
readonly themesDir: string;
|
|
91
|
+
/** Bundled HTML transcript-export template directory. */
|
|
92
|
+
readonly exportTemplateDir: string;
|
|
93
|
+
/** Verbose diagnostic log file path. */
|
|
94
|
+
readonly debugLogPath: string;
|
|
95
|
+
/** External MCP server configuration (`mcp-servers.json`). */
|
|
96
|
+
readonly mcpConfigPath: string;
|
|
97
|
+
/** Memory-feature configuration (`memory.json`). */
|
|
98
|
+
readonly memoryConfigPath: string;
|
|
99
|
+
/** Composio-integration configuration (`composio.json`). */
|
|
100
|
+
readonly composioConfigPath: string;
|
|
101
|
+
/** On-disk memory database (`memory.db`). */
|
|
102
|
+
readonly memoryDbPath: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The three top-level execution modes the boot layer can dispatch to.
|
|
106
|
+
*
|
|
107
|
+
* - `repl` — interactive terminal session.
|
|
108
|
+
* - `oneshot` — single non-interactive request to stdout (text or JSON).
|
|
109
|
+
* - `link` — headless JSON-RPC link for a driving parent process.
|
|
110
|
+
*/
|
|
111
|
+
export type RunnerId = "repl" | "oneshot" | "link";
|
|
112
|
+
/**
|
|
113
|
+
* The parsed command line, reduced to what the boot layer needs to choose and
|
|
114
|
+
* configure a {@link Runner}. This is the minimal Phase-1 shape; Phase 10 enriches
|
|
115
|
+
* it with the full declarative flag surface. Raw, un-consumed tokens survive in
|
|
116
|
+
* {@link rest} and loosely-typed switches in {@link flags} so nothing is lost
|
|
117
|
+
* before the richer parser lands.
|
|
118
|
+
*/
|
|
119
|
+
export interface Invocation {
|
|
120
|
+
/** Resolved execution mode. */
|
|
121
|
+
readonly mode: RunnerId;
|
|
122
|
+
/** First user message / request text, when supplied positionally or via stdin. */
|
|
123
|
+
readonly prompt?: string;
|
|
124
|
+
/** Explicit model selector from the command line, if any (`--model` / `-m`). */
|
|
125
|
+
readonly modelId?: string;
|
|
126
|
+
/** Working directory the run is scoped to; absent means the process cwd (`--cwd`). */
|
|
127
|
+
readonly cwd?: string;
|
|
128
|
+
/** Named credential account to authenticate with (`--account`). */
|
|
129
|
+
readonly account?: string;
|
|
130
|
+
/** Reasoning effort (`--thinking`): off / minimal / low / medium / high / xhigh. */
|
|
131
|
+
readonly thinking?: string;
|
|
132
|
+
/** Replacement system prompt (`--system`); a path is read as a file, else literal text. */
|
|
133
|
+
readonly system?: string;
|
|
134
|
+
/** Extra text appended after the system prompt (`--append-system`); path-or-literal. */
|
|
135
|
+
readonly appendSystem?: string;
|
|
136
|
+
/** Allow-list of built-in tool names (`--tools`); absent means the full deck. */
|
|
137
|
+
readonly tools?: readonly string[];
|
|
138
|
+
/** Disable every built-in tool (`--no-tools`). */
|
|
139
|
+
readonly noTools?: boolean;
|
|
140
|
+
/** External MCP endpoint config paths to attach (`--mcp`). */
|
|
141
|
+
readonly mcp?: readonly string[];
|
|
142
|
+
/** Open the resume picker before the session starts (`--resume` / `-r`). */
|
|
143
|
+
readonly resume?: boolean;
|
|
144
|
+
/** Auto-resume the most recent session in the cwd (`--continue` / `-c`). */
|
|
145
|
+
readonly continueLatest?: boolean;
|
|
146
|
+
/** Print the model catalog and exit (`--list-models`). */
|
|
147
|
+
readonly listModels?: boolean;
|
|
148
|
+
/** Optional substring filter for `--list-models`. */
|
|
149
|
+
readonly listModelsFilter?: string;
|
|
150
|
+
/** Parsed switches, keyed by canonical flag name (values intentionally loose). */
|
|
151
|
+
readonly flags: Record<string, unknown>;
|
|
152
|
+
/** Positional / pass-through tokens not consumed as flags. */
|
|
153
|
+
readonly rest: string[];
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Placeholder for the resolved per-account credential graph.
|
|
157
|
+
*
|
|
158
|
+
* The rebuilt framework publishes no credential type, so the boot contract owns
|
|
159
|
+
* an opaque, forward-declared shape here; Phase 2 replaces it with the concrete
|
|
160
|
+
* multi-account credential vault. Kept deliberately structural (an indexable
|
|
161
|
+
* bag) so a stage may attach it without the vault module existing yet.
|
|
162
|
+
*/
|
|
163
|
+
export interface CredentialGraph {
|
|
164
|
+
readonly [account: string]: unknown;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The resolved settings / auth / model-registry graph assembled during startup.
|
|
168
|
+
*
|
|
169
|
+
* This is a Phase-1 placeholder: the fields are typed against the framework's
|
|
170
|
+
* own published types where one exists ({@link Settings}, {@link ModelRegistry}),
|
|
171
|
+
* and against an app-local placeholder ({@link CredentialGraph}) where the
|
|
172
|
+
* framework does not yet own the concept. Later phases attach the loaded
|
|
173
|
+
* extension/MCP graph onto the same object without changing these anchors.
|
|
174
|
+
*/
|
|
175
|
+
export interface StartupResources {
|
|
176
|
+
/** Merged user settings (framework-owned shape). */
|
|
177
|
+
readonly settings: Settings;
|
|
178
|
+
/** Resolved credentials per account (app-owned placeholder until Phase 2). */
|
|
179
|
+
readonly auth: CredentialGraph;
|
|
180
|
+
/** The resolved model catalog (framework-owned registry). */
|
|
181
|
+
readonly models: ModelRegistry;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* The immutable value threaded through the {@link Stage} pipeline.
|
|
185
|
+
*
|
|
186
|
+
* Each stage receives a context and returns the next one; treat every field as
|
|
187
|
+
* read-only and produce successors by spreading rather than mutating. The
|
|
188
|
+
* resolved-resource graph is optional because early stages run before it exists.
|
|
189
|
+
* {@link closables} accumulates teardown callbacks (open files, servers, MCP
|
|
190
|
+
* clients) that the entry point drains in reverse on exit.
|
|
191
|
+
*/
|
|
192
|
+
export interface BootContext {
|
|
193
|
+
/** The process arguments the launch was invoked with (already sliced). */
|
|
194
|
+
readonly argv: string[];
|
|
195
|
+
/** Resolved on-disk layout. */
|
|
196
|
+
readonly workspace: Workspace;
|
|
197
|
+
/** Resolved identity literals. */
|
|
198
|
+
readonly brand: Brand;
|
|
199
|
+
/** Parsed command line. */
|
|
200
|
+
readonly invocation: Invocation;
|
|
201
|
+
/** Resolved settings/auth/model graph; absent until the resource stage runs. */
|
|
202
|
+
readonly resources?: StartupResources;
|
|
203
|
+
/** Teardown callbacks to drain on shutdown (latest-registered first). */
|
|
204
|
+
readonly closables: Array<() => Promise<void>>;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* One step of the launch pipeline: a named, pure-ish transform over a context
|
|
208
|
+
* value of type `C` (defaulting to {@link BootContext}).
|
|
209
|
+
*
|
|
210
|
+
* A stage may return its result synchronously or asynchronously. It must not
|
|
211
|
+
* mutate its input; it returns the next context. The `name` is used for tracing
|
|
212
|
+
* and error attribution when a stage throws.
|
|
213
|
+
*/
|
|
214
|
+
export interface Stage<C = BootContext> {
|
|
215
|
+
/** Stable identifier for tracing and error messages. */
|
|
216
|
+
readonly name: string;
|
|
217
|
+
/** Transform the context, yielding its successor. */
|
|
218
|
+
apply(ctx: C): Promise<C> | C;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* A terminal execution strategy for one {@link RunnerId} mode.
|
|
222
|
+
*
|
|
223
|
+
* The runner registry asks each runner whether it {@link accepts} a parsed
|
|
224
|
+
* {@link Invocation}; the first match runs. {@link run} drives the selected mode
|
|
225
|
+
* to completion and resolves to the process exit code.
|
|
226
|
+
*/
|
|
227
|
+
export interface Runner {
|
|
228
|
+
/** The mode this runner serves. */
|
|
229
|
+
readonly id: RunnerId;
|
|
230
|
+
/** Whether this runner handles the given invocation. */
|
|
231
|
+
accepts(inv: Invocation): boolean;
|
|
232
|
+
/** Execute the mode; resolves to the process exit code. */
|
|
233
|
+
run(ctx: BootContext): Promise<number>;
|
|
234
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boot subsystem — public barrel.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports the frozen Phase-1 contract type surface plus the assembled boot
|
|
5
|
+
* layer: the orchestrator ({@link boot}), the stage pipeline
|
|
6
|
+
* ({@link runStages} / {@link STAGES}), the invocation parser
|
|
7
|
+
* ({@link tokenizeInvocation}), the runner registry ({@link selectRunner} /
|
|
8
|
+
* {@link RUNNERS}), and the upgrade driver ({@link applyUpgrades}). Consumers
|
|
9
|
+
* import the boot type surface and behavior from `src/boot` rather than reaching
|
|
10
|
+
* into individual modules.
|
|
11
|
+
*/
|
|
12
|
+
export type { Brand, Workspace, Invocation, RunnerId, BootContext, Stage, Runner, StartupResources, CredentialGraph, ThinkingLevel, } from "./contract";
|
|
13
|
+
export { boot } from "./boot";
|
|
14
|
+
export { runStages, STAGES, locateWorkspace, upgrade, buildInvocation, resolveResources, selectRunnerStage, } from "./stages";
|
|
15
|
+
export { tokenizeInvocation, wantsHelp, wantsVersion, } from "./invocation";
|
|
16
|
+
export { replRunner, oneshotRunner, linkRunner, RUNNERS, selectRunner, } from "./runners";
|
|
17
|
+
export type { Upgrade, UpgradeReport } from "./upgrade";
|
|
18
|
+
export { applyUpgrades, UPGRADES } from "./upgrade";
|
|
19
|
+
export { BRAND, createWorkspace, ensureDirs } from "../workspace";
|
|
20
|
+
export type { WorkspaceOverrides } from "../workspace";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Invocation reader for the boot layer — the adapter that drives the full
|
|
3
|
+
* Phase-10 declarative flag grammar and projects its rich result down onto the
|
|
4
|
+
* thin boot {@link Invocation} the runner pipeline routes on.
|
|
5
|
+
*
|
|
6
|
+
* The parsing itself is no longer owned here. {@link readInvocation} (from the
|
|
7
|
+
* `launch/` subsystem) walks the single declarative flag table and produces the
|
|
8
|
+
* full {@link LaunchInvocation}; this module's job is purely the *projection*:
|
|
9
|
+
* map the launch {@link OutputMode} onto the boot {@link RunnerId}, rename the
|
|
10
|
+
* resolved fields the boot layer reads (`model` → `modelId`, `positionals` →
|
|
11
|
+
* `rest`), and widen the typed flag bag back to the loose
|
|
12
|
+
* `Record<string, unknown>` the boot {@link Invocation} carries. The result is
|
|
13
|
+
* type-compatible with the rest of the boot pipeline, so the runner registry and
|
|
14
|
+
* the session helpers consume it unchanged.
|
|
15
|
+
*
|
|
16
|
+
* - mode: `text` → `repl`, `json` → `oneshot`, `rpc` → `link`.
|
|
17
|
+
* - the full flag bag survives on {@link Invocation.flags} so the meta checks
|
|
18
|
+
* (`--help` / `--version`) and the oneshot output-shape probe (`json`) keep
|
|
19
|
+
* reading the same canonical keys they always did.
|
|
20
|
+
*
|
|
21
|
+
* The parse is total and never throws: the launch reader tolerates unknown
|
|
22
|
+
* `--flags` as boolean switches in the flag bag rather than rejecting them, so
|
|
23
|
+
* nothing is silently dropped before a later phase can reinterpret it.
|
|
24
|
+
*/
|
|
25
|
+
import type { Invocation } from "./contract";
|
|
26
|
+
/**
|
|
27
|
+
* Read a sliced `process.argv` into the boot {@link Invocation}.
|
|
28
|
+
*
|
|
29
|
+
* Delegates the actual grammar to the launch {@link readInvocation} (the one
|
|
30
|
+
* declarative flag table), then projects its result onto the boot shape. The
|
|
31
|
+
* boot layer thus shares one parser with the launch subsystem — help, parsing,
|
|
32
|
+
* and routing can no longer drift.
|
|
33
|
+
*
|
|
34
|
+
* @param argv The already-sliced argument vector (no node/exec path).
|
|
35
|
+
*/
|
|
36
|
+
export declare function tokenizeInvocation(argv: readonly string[]): Invocation;
|
|
37
|
+
/** Whether the parsed invocation is asking for the help banner. */
|
|
38
|
+
export declare function wantsHelp(inv: Invocation): boolean;
|
|
39
|
+
/** Whether the parsed invocation is asking for the version string. */
|
|
40
|
+
export declare function wantsVersion(inv: Invocation): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for the launch→boot invocation projection ({@link tokenizeInvocation}).
|
|
3
|
+
*
|
|
4
|
+
* The boot `Invocation` is what every runner consumes, so these assert that each
|
|
5
|
+
* CLI flag survives the parse + projection and lands on the typed field the
|
|
6
|
+
* runners read — the exact step where the full flag surface used to be dropped.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runners subsystem — public barrel.
|
|
3
|
+
*
|
|
4
|
+
* Surfaces the runner registry and the individual placeholder runners. Boot
|
|
5
|
+
* consumers dispatch through {@link selectRunner} / {@link RUNNERS}; the named
|
|
6
|
+
* runners are exported for tests and for explicit wiring.
|
|
7
|
+
*/
|
|
8
|
+
export { replRunner } from "./repl-runner";
|
|
9
|
+
export { oneshotRunner } from "./oneshot-runner";
|
|
10
|
+
export { linkRunner } from "./link-runner";
|
|
11
|
+
export { RUNNERS, selectRunner } from "./registry";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runner: `link` — headless JSON-RPC link for a driving parent process.
|
|
3
|
+
*
|
|
4
|
+
* Drives the Phase-8 link channel: it assembles a {@link SessionConductor} for
|
|
5
|
+
* the invocation and serves the declarative {@link SESSION_OPS} registry over the
|
|
6
|
+
* process stdio pair via {@link createLinkServer}. Every framed request is
|
|
7
|
+
* dispatched through the registry (data-driven, not a command switch) and the
|
|
8
|
+
* reply is framed back; the runner resolves the success exit code once the
|
|
9
|
+
* inbound stream ends.
|
|
10
|
+
*/
|
|
11
|
+
import type { Runner } from "../contract";
|
|
12
|
+
/**
|
|
13
|
+
* The headless-link runner.
|
|
14
|
+
*
|
|
15
|
+
* {@link Runner.accepts} matches invocations whose resolved mode is `link`.
|
|
16
|
+
* {@link Runner.run} assembles the conductor, starts a link server reading framed
|
|
17
|
+
* requests from stdin and writing framed replies to stdout, and resolves the
|
|
18
|
+
* success exit code when the inbound stream is exhausted.
|
|
19
|
+
*/
|
|
20
|
+
export declare const linkRunner: Runner;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runner: `oneshot` — single non-interactive request to stdout.
|
|
3
|
+
*
|
|
4
|
+
* Drives the Phase-8 oneshot channel: it assembles a {@link SessionConductor}
|
|
5
|
+
* for the invocation, builds a {@link ChannelContext} over `process.stdout`
|
|
6
|
+
* (clean text, or a streamed NDJSON event log), runs every prompt to settlement
|
|
7
|
+
* via {@link runOneshot}, and resolves the channel exit code. The output shape is
|
|
8
|
+
* NDJSON when the invocation carries a `json` flag, otherwise clean text.
|
|
9
|
+
*/
|
|
10
|
+
import type { Runner } from "../contract";
|
|
11
|
+
/**
|
|
12
|
+
* The one-shot runner.
|
|
13
|
+
*
|
|
14
|
+
* {@link Runner.accepts} matches invocations whose resolved mode is `oneshot`.
|
|
15
|
+
* {@link Runner.run} assembles the conductor and channel context, then delegates
|
|
16
|
+
* the run to {@link runOneshot} and returns its exit code. With no request text
|
|
17
|
+
* it writes a short notice and exits non-zero rather than mounting an empty run.
|
|
18
|
+
*/
|
|
19
|
+
export declare const oneshotRunner: Runner;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runner registry — the table-driven replacement for a mode `if/else` ladder.
|
|
3
|
+
*
|
|
4
|
+
* The boot pipeline ends by handing the resolved {@link Invocation} to exactly
|
|
5
|
+
* one {@link Runner}. Rather than branch on the mode string at the call site,
|
|
6
|
+
* dispatch is data: {@link RUNNERS} lists every available runner in priority
|
|
7
|
+
* order, and {@link selectRunner} returns the first whose {@link Runner.accepts}
|
|
8
|
+
* predicate matches. Adding or reordering modes is a one-line edit to the table,
|
|
9
|
+
* never a change to control flow.
|
|
10
|
+
*
|
|
11
|
+
* The interactive REPL is both first in the table and the guaranteed fallback:
|
|
12
|
+
* if no runner claims an invocation, {@link selectRunner} returns it, so a bare
|
|
13
|
+
* command line lands in the interactive session.
|
|
14
|
+
*/
|
|
15
|
+
import type { Invocation, Runner } from "../contract";
|
|
16
|
+
/**
|
|
17
|
+
* Every runner the boot layer can dispatch to, in match-priority order.
|
|
18
|
+
*
|
|
19
|
+
* {@link selectRunner} scans this list front-to-back and returns the first
|
|
20
|
+
* accepting runner; `replRunner` leads the list and also serves as the default.
|
|
21
|
+
*/
|
|
22
|
+
export declare const RUNNERS: readonly Runner[];
|
|
23
|
+
/**
|
|
24
|
+
* Choose the runner for a parsed {@link Invocation}.
|
|
25
|
+
*
|
|
26
|
+
* Returns the first runner in {@link RUNNERS} that {@link Runner.accepts | accepts}
|
|
27
|
+
* the invocation; if none does, falls back to the interactive REPL runner so
|
|
28
|
+
* dispatch is total and a runner is always returned.
|
|
29
|
+
*/
|
|
30
|
+
export declare function selectRunner(inv: Invocation): Runner;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runner: `repl` — interactive terminal session.
|
|
3
|
+
*
|
|
4
|
+
* Mounts the Phase-7 console for a live session: it assembles a
|
|
5
|
+
* {@link SessionConductor} for the invocation and renders the interactive surface
|
|
6
|
+
* via {@link mountConsole}, seeding it with the positional prompt when one was
|
|
7
|
+
* supplied. The runner resolves the success exit code once the surface is
|
|
8
|
+
* dismissed.
|
|
9
|
+
*/
|
|
10
|
+
import type { Runner } from "../contract";
|
|
11
|
+
/**
|
|
12
|
+
* The interactive-REPL runner.
|
|
13
|
+
*
|
|
14
|
+
* {@link Runner.accepts} matches invocations whose resolved mode is `repl`; it is
|
|
15
|
+
* also the registry default, so it is reached for the empty / interactive command
|
|
16
|
+
* line. {@link Runner.run} assembles the conductor, honours `--resume` /
|
|
17
|
+
* `--continue`, and mounts the console.
|
|
18
|
+
*/
|
|
19
|
+
export declare const replRunner: Runner;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Integration test for session persistence + resume.
|
|
3
|
+
*
|
|
4
|
+
* Proves the loop that `-r` / `-c` depend on: a conductor built with a
|
|
5
|
+
* `sessionsDir` writes the transcript to a cwd-scoped `.ndjson` on disk, the
|
|
6
|
+
* {@link SessionLibrary} (what the resume flags read) finds it, and a fresh
|
|
7
|
+
* conductor can `resume` it by id. Before this wiring the conductor defaulted to
|
|
8
|
+
* an in-memory store, so nothing was ever saved and resume found nothing.
|
|
9
|
+
*/
|
|
10
|
+
export {};
|