@bastani/atomic 0.9.11-alpha.4 → 0.9.11-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +55 -0
- package/README.md +12 -5
- package/dist/builtin/intercom/package.json +2 -2
- package/dist/builtin/mcp/CHANGELOG.md +6 -0
- package/dist/builtin/mcp/README.md +3 -3
- package/dist/builtin/mcp/cli.js +0 -1
- package/dist/builtin/mcp/config.ts +0 -2
- package/dist/builtin/mcp/package.json +3 -3
- package/dist/builtin/mcp/types.ts +0 -1
- package/dist/builtin/subagents/CHANGELOG.md +19 -0
- package/dist/builtin/subagents/README.md +10 -1
- package/dist/builtin/subagents/agents/code-simplifier.md +47 -102
- package/dist/builtin/subagents/agents/codebase-analyzer.md +27 -130
- package/dist/builtin/subagents/agents/codebase-locator.md +24 -83
- package/dist/builtin/subagents/agents/codebase-online-researcher.md +60 -259
- package/dist/builtin/subagents/agents/codebase-pattern-finder.md +29 -207
- package/dist/builtin/subagents/agents/codebase-research-analyzer.md +28 -150
- package/dist/builtin/subagents/agents/codebase-research-locator.md +21 -118
- package/dist/builtin/subagents/agents/debugger.md +29 -65
- package/dist/builtin/subagents/agents/worker.md +23 -30
- package/dist/builtin/subagents/package.json +4 -4
- package/dist/builtin/subagents/prompts/gather-context-and-clarify.md +18 -11
- package/dist/builtin/subagents/prompts/parallel-cleanup.md +34 -33
- package/dist/builtin/subagents/prompts/parallel-context-build.md +22 -36
- package/dist/builtin/subagents/prompts/parallel-handoff-plan.md +20 -52
- package/dist/builtin/subagents/prompts/parallel-research.md +17 -41
- package/dist/builtin/subagents/prompts/parallel-review.md +23 -28
- package/dist/builtin/subagents/prompts/review-loop.md +18 -27
- package/dist/builtin/subagents/skills/subagent/SKILL.md +6 -6
- package/dist/builtin/subagents/src/extension/prompt-guidance.ts +4 -1
- package/dist/builtin/subagents/src/runs/background/async-execution-chain.ts +23 -4
- package/dist/builtin/subagents/src/runs/background/async-execution-single.ts +2 -0
- package/dist/builtin/subagents/src/runs/background/async-execution-types.ts +10 -0
- package/dist/builtin/subagents/src/runs/background/subagent-runner-step.ts +1 -0
- package/dist/builtin/subagents/src/runs/foreground/chain-execution-dynamic-step.ts +2 -0
- package/dist/builtin/subagents/src/runs/foreground/chain-execution-parallel-runner.ts +8 -0
- package/dist/builtin/subagents/src/runs/foreground/chain-execution-parallel-step.ts +1 -0
- package/dist/builtin/subagents/src/runs/foreground/chain-execution-sequential-step.ts +6 -0
- package/dist/builtin/subagents/src/runs/foreground/chain-execution-types.ts +2 -0
- package/dist/builtin/subagents/src/runs/foreground/subagent-executor-async.ts +7 -0
- package/dist/builtin/subagents/src/runs/foreground/subagent-executor-chain.ts +1 -0
- package/dist/builtin/subagents/src/runs/foreground/subagent-executor-resume.ts +3 -0
- package/dist/builtin/subagents/src/runs/shared/mcp-direct-tool-allowlist.ts +1 -2
- package/dist/builtin/subagents/src/runs/shared/parallel-utils.ts +1 -0
- package/dist/builtin/subagents/src/runs/shared/pi-args.ts +5 -3
- package/dist/builtin/subagents/src/shared/settings.ts +4 -0
- package/dist/builtin/web-access/package.json +2 -2
- package/dist/builtin/workflows/CHANGELOG.md +53 -0
- package/dist/builtin/workflows/README.md +72 -70
- package/dist/builtin/workflows/ambient.d.ts +0 -5
- package/dist/builtin/workflows/builtin/adversarial-verification-prompts.ts +7 -4
- package/dist/builtin/workflows/builtin/adversarial-verification-runner.ts +1 -1
- package/dist/builtin/workflows/builtin/adversarial-verification.ts +2 -1
- package/dist/builtin/workflows/builtin/classify-and-act-prompts.ts +5 -2
- package/dist/builtin/workflows/builtin/classify-and-act-runner.ts +5 -7
- package/dist/builtin/workflows/builtin/classify-and-act.ts +3 -2
- package/dist/builtin/workflows/builtin/fan-out-and-synthesize-prompts.ts +6 -3
- package/dist/builtin/workflows/builtin/fan-out-and-synthesize-runner.ts +5 -5
- package/dist/builtin/workflows/builtin/fan-out-and-synthesize.ts +3 -2
- package/dist/builtin/workflows/builtin/generate-and-filter-prompts.ts +7 -4
- package/dist/builtin/workflows/builtin/generate-and-filter-runner.ts +6 -3
- package/dist/builtin/workflows/builtin/generate-and-filter.ts +3 -2
- package/dist/builtin/workflows/builtin/goal-artifacts.ts +1 -1
- package/dist/builtin/workflows/builtin/goal-models.ts +39 -39
- package/dist/builtin/workflows/builtin/goal-orchestrator-prompts.ts +94 -0
- package/dist/builtin/workflows/builtin/goal-prompts.ts +66 -286
- package/dist/builtin/workflows/builtin/goal-reducer.ts +1 -1
- package/dist/builtin/workflows/builtin/goal-runner.ts +72 -116
- package/dist/builtin/workflows/builtin/goal.ts +9 -8
- package/dist/builtin/workflows/builtin/index.d.ts +17 -112
- package/dist/builtin/workflows/builtin/index.ts +1 -2
- package/dist/builtin/workflows/builtin/loop-until-done-prompts.ts +20 -12
- package/dist/builtin/workflows/builtin/loop-until-done-runner.ts +3 -0
- package/dist/builtin/workflows/builtin/loop-until-done.ts +3 -2
- package/dist/builtin/workflows/builtin/open-claude-design-phases.ts +52 -55
- package/dist/builtin/workflows/builtin/open-claude-design-runner.ts +45 -52
- package/dist/builtin/workflows/builtin/open-claude-design-setup.ts +41 -46
- package/dist/builtin/workflows/builtin/open-claude-design-utils.ts +16 -21
- package/dist/builtin/workflows/builtin/open-claude-design.ts +2 -1
- package/dist/builtin/workflows/builtin/ralph-core.ts +61 -57
- package/dist/builtin/workflows/builtin/ralph-forked-prompts.ts +41 -45
- package/dist/builtin/workflows/builtin/ralph-models.ts +33 -43
- package/dist/builtin/workflows/builtin/ralph-reviewer-prompt.ts +35 -117
- package/dist/builtin/workflows/builtin/ralph-runner.ts +81 -108
- package/dist/builtin/workflows/builtin/ralph.ts +2 -1
- package/dist/builtin/workflows/builtin/shared-prompts.ts +111 -80
- package/dist/builtin/workflows/builtin/steering-context.ts +51 -0
- package/dist/builtin/workflows/builtin/tournament-prompts.ts +21 -12
- package/dist/builtin/workflows/builtin/tournament-runner.ts +3 -0
- package/dist/builtin/workflows/builtin/tournament.ts +3 -2
- package/dist/builtin/workflows/package.json +2 -2
- package/dist/builtin/workflows/skills/create-spec/SKILL.md +1 -1
- package/dist/builtin/workflows/skills/impeccable/reference/hooks.md +6 -8
- package/dist/builtin/workflows/skills/impeccable/reference/live.md +3 -4
- package/dist/builtin/workflows/skills/impeccable/scripts/hook-admin.mjs +2 -20
- package/dist/builtin/workflows/skills/impeccable/scripts/hook-lib.mjs +4 -42
- package/dist/builtin/workflows/skills/impeccable/scripts/hook.mjs +3 -3
- package/dist/builtin/workflows/skills/impeccable/scripts/live-browser.js +2 -3
- package/dist/builtin/workflows/skills/impeccable/scripts/live-inject.mjs +0 -1
- package/dist/builtin/workflows/skills/impeccable/scripts/live-poll.mjs +2 -2
- package/dist/builtin/workflows/skills/impeccable/scripts/pin.mjs +4 -4
- package/dist/builtin/workflows/skills/prompt-engineer/SKILL.md +57 -252
- package/dist/builtin/workflows/skills/prompt-engineer/references/advanced_patterns.md +70 -226
- package/dist/builtin/workflows/skills/prompt-engineer/references/core_prompting.md +64 -103
- package/dist/builtin/workflows/skills/prompt-engineer/references/quality_improvement.md +81 -155
- package/dist/builtin/workflows/src/authoring.d.ts +5 -1
- package/dist/builtin/workflows/src/durable/backend.ts +68 -9
- package/dist/builtin/workflows/src/durable/boundary-lifecycle.ts +148 -0
- package/dist/builtin/workflows/src/durable/boundary-topology.ts +420 -0
- package/dist/builtin/workflows/src/durable/child-invocation.ts +14 -0
- package/dist/builtin/workflows/src/durable/child-primitive.ts +74 -44
- package/dist/builtin/workflows/src/durable/completed-catalog-stage-groups.ts +250 -0
- package/dist/builtin/workflows/src/durable/completed-catalog.ts +205 -131
- package/dist/builtin/workflows/src/durable/completed-inspection.ts +8 -2
- package/dist/builtin/workflows/src/durable/completed-subtree.ts +31 -0
- package/dist/builtin/workflows/src/durable/dbos-backend.ts +28 -24
- package/dist/builtin/workflows/src/durable/dbos-envelope.ts +130 -3
- package/dist/builtin/workflows/src/durable/dbos-metadata.ts +18 -0
- package/dist/builtin/workflows/src/durable/scoped-backend.ts +64 -17
- package/dist/builtin/workflows/src/durable/stage-primitive.ts +60 -60
- package/dist/builtin/workflows/src/durable/stage-topology-validation.ts +234 -0
- package/dist/builtin/workflows/src/durable/stage-topology.ts +53 -0
- package/dist/builtin/workflows/src/durable/tool-failure-checkpoint.ts +49 -0
- package/dist/builtin/workflows/src/durable/tool-outcome.ts +120 -0
- package/dist/builtin/workflows/src/durable/tool-primitive.ts +367 -58
- package/dist/builtin/workflows/src/durable/types.ts +97 -0
- package/dist/builtin/workflows/src/durable/ui-primitive.ts +46 -0
- package/dist/builtin/workflows/src/durable/workflow-child-result.ts +58 -0
- package/dist/builtin/workflows/src/engine/options.ts +1 -0
- package/dist/builtin/workflows/src/engine/primitives/workflow.ts +19 -10
- package/dist/builtin/workflows/src/engine/run-durable-finalize.ts +11 -1
- package/dist/builtin/workflows/src/engine/run-durable-topology.ts +190 -18
- package/dist/builtin/workflows/src/engine/run-terminal-event.ts +37 -0
- package/dist/builtin/workflows/src/engine/run-terminal-failure.ts +50 -0
- package/dist/builtin/workflows/src/engine/run-tool-execution-tracker.ts +152 -0
- package/dist/builtin/workflows/src/engine/run-tool-node-lifecycle.ts +87 -0
- package/dist/builtin/workflows/src/engine/run.ts +111 -110
- package/dist/builtin/workflows/src/engine/runtime.ts +15 -2
- package/dist/builtin/workflows/src/extension/extension-factory.ts +1 -0
- package/dist/builtin/workflows/src/extension/extension-runtime-state.ts +11 -0
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +6599 -4776
- package/dist/builtin/workflows/src/extension/lifecycle-notifications.ts +16 -5
- package/dist/builtin/workflows/src/extension/render-result.ts +16 -2
- package/dist/builtin/workflows/src/extension/runtime-durable-resume.ts +3 -0
- package/dist/builtin/workflows/src/extension/runtime.ts +4 -0
- package/dist/builtin/workflows/src/extension/wiring.ts +3 -1
- package/dist/builtin/workflows/src/extension/workflow-command-surfaces.ts +1 -0
- package/dist/builtin/workflows/src/extension/workflow-durable-resume-command.ts +9 -3
- package/dist/builtin/workflows/src/extension/workflow-module-loader.ts +18 -3
- package/dist/builtin/workflows/src/extension/workflow-prompts.ts +27 -9
- package/dist/builtin/workflows/src/extension/workflow-status-summary.ts +43 -0
- package/dist/builtin/workflows/src/extension/workflow-targets.ts +34 -30
- package/dist/builtin/workflows/src/extension/workflow-tool-content.ts +12 -5
- package/dist/builtin/workflows/src/extension/workflow-tool-send.ts +162 -63
- package/dist/builtin/workflows/src/runs/background/run-inspect.ts +7 -1
- package/dist/builtin/workflows/src/runs/background/status.ts +18 -8
- package/dist/builtin/workflows/src/runs/background/workflow-lifecycle-aggregate.ts +3 -11
- package/dist/builtin/workflows/src/runs/foreground/executor-child-boundary.ts +24 -21
- package/dist/builtin/workflows/src/runs/foreground/executor-hil.ts +1 -1
- package/dist/builtin/workflows/src/runs/foreground/executor-lifecycle.ts +30 -13
- package/dist/builtin/workflows/src/runs/foreground/executor-prompt-nodes.ts +102 -53
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-call.ts +13 -5
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-control.ts +26 -8
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-factory.ts +11 -4
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-types.ts +4 -1
- package/dist/builtin/workflows/src/runs/foreground/executor-types.ts +7 -1
- package/dist/builtin/workflows/src/runs/foreground/postmortem-stage-chat.ts +35 -1
- package/dist/builtin/workflows/src/runs/foreground/stage-control-registry.ts +136 -17
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-context.ts +12 -4
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-controller.ts +35 -42
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-options.ts +5 -1
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-pause.ts +195 -0
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-session-options.ts +0 -13
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-types.ts +14 -2
- package/dist/builtin/workflows/src/runs/shared/model-fallback-candidates.ts +3 -143
- package/dist/builtin/workflows/src/sdk-surface.ts +1 -1
- package/dist/builtin/workflows/src/shared/authoring-contract-stage.d.ts +6 -11
- package/dist/builtin/workflows/src/shared/authoring-contract-stage.ts +6 -11
- package/dist/builtin/workflows/src/shared/authoring-contract-ui.d.ts +57 -6
- package/dist/builtin/workflows/src/shared/authoring-contract-ui.ts +76 -11
- package/dist/builtin/workflows/src/shared/expanded-workflow-graph.ts +206 -116
- package/dist/builtin/workflows/src/shared/intercom-group.ts +17 -10
- package/dist/builtin/workflows/src/shared/persistence-restore-helpers.ts +30 -0
- package/dist/builtin/workflows/src/shared/persistence-session-entries.ts +5 -0
- package/dist/builtin/workflows/src/shared/render-inputs-schema.ts +3 -3
- package/dist/builtin/workflows/src/shared/store-factory.ts +2 -0
- package/dist/builtin/workflows/src/shared/store-internal.ts +8 -0
- package/dist/builtin/workflows/src/shared/store-public-types.ts +8 -0
- package/dist/builtin/workflows/src/shared/store-run-methods.ts +9 -0
- package/dist/builtin/workflows/src/shared/store-stage-methods.ts +2 -0
- package/dist/builtin/workflows/src/shared/store-tool-node-methods.ts +46 -0
- package/dist/builtin/workflows/src/shared/store-types.ts +34 -0
- package/dist/builtin/workflows/src/shared/types.ts +14 -24
- package/dist/builtin/workflows/src/shared/workflow-failures-classifier.ts +11 -5
- package/dist/builtin/workflows/src/shared/workflow-failures-signals.ts +58 -0
- package/dist/builtin/workflows/src/shared/workflow-run-ownership.ts +53 -0
- package/dist/builtin/workflows/src/tui/graph-view-input.ts +2 -8
- package/dist/builtin/workflows/src/tui/graph-view-render-helpers.ts +11 -4
- package/dist/builtin/workflows/src/tui/graph-view-render.ts +1 -0
- package/dist/builtin/workflows/src/tui/graph-view-state.ts +27 -9
- package/dist/builtin/workflows/src/tui/graph-view-types.ts +4 -3
- package/dist/builtin/workflows/src/tui/node-card.ts +4 -3
- package/dist/builtin/workflows/src/tui/overlay-adapter.ts +0 -4
- package/dist/builtin/workflows/src/tui/run-detail.ts +53 -17
- package/dist/builtin/workflows/src/tui/session-list.ts +8 -4
- package/dist/builtin/workflows/src/tui/stage-chat-view-render-helpers.ts +12 -0
- package/dist/builtin/workflows/src/tui/stage-chat-view-render-settings.ts +21 -1
- package/dist/builtin/workflows/src/tui/stage-chat-view-state.ts +3 -19
- package/dist/builtin/workflows/src/tui/stage-chat-view.ts +4 -2
- package/dist/builtin/workflows/src/tui/switcher.ts +13 -3
- package/dist/builtin/workflows/src/tui/workflow-attach-pane-handle.ts +1 -1
- package/dist/builtin/workflows/src/tui/workflow-attach-pane-types.ts +0 -9
- package/dist/builtin/workflows/src/tui/workflow-attach-pane.ts +16 -49
- package/dist/builtin/workflows/src/tui/workflow-status.ts +7 -0
- package/dist/builtin/workflows/src/workflows/identity.ts +1 -1
- package/dist/cli/args.d.ts +0 -1
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +1 -20
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/config-selector.js +1 -1
- package/dist/cli/config-selector.js.map +1 -1
- package/dist/cli/list-models.d.ts.map +1 -1
- package/dist/cli/list-models.js +1 -2
- package/dist/cli/list-models.js.map +1 -1
- package/dist/cli/session-picker.d.ts.map +1 -1
- package/dist/cli/session-picker.js +2 -1
- package/dist/cli/session-picker.js.map +1 -1
- package/dist/cli/startup-ui.js +2 -2
- package/dist/cli/startup-ui.js.map +1 -1
- package/dist/config-self-update.js +1 -1
- package/dist/config-self-update.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +34 -10
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session-accessors.d.ts.map +1 -1
- package/dist/core/agent-session-accessors.js +2 -1
- package/dist/core/agent-session-accessors.js.map +1 -1
- package/dist/core/agent-session-auto-compaction.d.ts +4 -3
- package/dist/core/agent-session-auto-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-auto-compaction.js +55 -59
- package/dist/core/agent-session-auto-compaction.js.map +1 -1
- package/dist/core/agent-session-bash.d.ts +9 -6
- package/dist/core/agent-session-bash.d.ts.map +1 -1
- package/dist/core/agent-session-bash.js +32 -13
- package/dist/core/agent-session-bash.js.map +1 -1
- package/dist/core/agent-session-compaction.d.ts +11 -1
- package/dist/core/agent-session-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-compaction.js +87 -19
- package/dist/core/agent-session-compaction.js.map +1 -1
- package/dist/core/agent-session-custom-message-commit.d.ts +14 -0
- package/dist/core/agent-session-custom-message-commit.d.ts.map +1 -0
- package/dist/core/agent-session-custom-message-commit.js +141 -0
- package/dist/core/agent-session-custom-message-commit.js.map +1 -0
- package/dist/core/agent-session-delivery-forwarding.d.ts +9 -0
- package/dist/core/agent-session-delivery-forwarding.d.ts.map +1 -0
- package/dist/core/agent-session-delivery-forwarding.js +36 -0
- package/dist/core/agent-session-delivery-forwarding.js.map +1 -0
- package/dist/core/agent-session-events.d.ts +1 -1
- package/dist/core/agent-session-events.d.ts.map +1 -1
- package/dist/core/agent-session-events.js +45 -14
- package/dist/core/agent-session-events.js.map +1 -1
- package/dist/core/agent-session-extension-bindings.d.ts +2 -6
- package/dist/core/agent-session-extension-bindings.d.ts.map +1 -1
- package/dist/core/agent-session-extension-bindings.js +18 -11
- package/dist/core/agent-session-extension-bindings.js.map +1 -1
- package/dist/core/agent-session-message-queue.d.ts +5 -2
- package/dist/core/agent-session-message-queue.d.ts.map +1 -1
- package/dist/core/agent-session-message-queue.js +91 -97
- package/dist/core/agent-session-message-queue.js.map +1 -1
- package/dist/core/agent-session-methods.d.ts +47 -39
- package/dist/core/agent-session-methods.d.ts.map +1 -1
- package/dist/core/agent-session-methods.js.map +1 -1
- package/dist/core/agent-session-models.d.ts +2 -38
- package/dist/core/agent-session-models.d.ts.map +1 -1
- package/dist/core/agent-session-models.js +5 -147
- package/dist/core/agent-session-models.js.map +1 -1
- package/dist/core/agent-session-persistent-custom-messages.d.ts +47 -0
- package/dist/core/agent-session-persistent-custom-messages.d.ts.map +1 -0
- package/dist/core/agent-session-persistent-custom-messages.js +267 -0
- package/dist/core/agent-session-persistent-custom-messages.js.map +1 -0
- package/dist/core/agent-session-post-tool-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-post-tool-compaction.js +34 -9
- package/dist/core/agent-session-post-tool-compaction.js.map +1 -1
- package/dist/core/agent-session-prompt.d.ts +2 -0
- package/dist/core/agent-session-prompt.d.ts.map +1 -1
- package/dist/core/agent-session-prompt.js +42 -16
- package/dist/core/agent-session-prompt.js.map +1 -1
- package/dist/core/agent-session-queue-pause.d.ts +10 -0
- package/dist/core/agent-session-queue-pause.d.ts.map +1 -0
- package/dist/core/agent-session-queue-pause.js +86 -0
- package/dist/core/agent-session-queue-pause.js.map +1 -0
- package/dist/core/agent-session-retry.d.ts +0 -11
- package/dist/core/agent-session-retry.d.ts.map +1 -1
- package/dist/core/agent-session-retry.js +8 -57
- package/dist/core/agent-session-retry.js.map +1 -1
- package/dist/core/agent-session-runtime-auth.d.ts +6 -0
- package/dist/core/agent-session-runtime-auth.d.ts.map +1 -0
- package/dist/core/agent-session-runtime-auth.js +26 -0
- package/dist/core/agent-session-runtime-auth.js.map +1 -0
- package/dist/core/agent-session-runtime.d.ts +13 -2
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +32 -6
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-services.d.ts +0 -2
- package/dist/core/agent-session-services.d.ts.map +1 -1
- package/dist/core/agent-session-services.js +6 -7
- package/dist/core/agent-session-services.js.map +1 -1
- package/dist/core/agent-session-state.d.ts.map +1 -1
- package/dist/core/agent-session-state.js +3 -0
- package/dist/core/agent-session-state.js.map +1 -1
- package/dist/core/agent-session-tool-hooks.d.ts.map +1 -1
- package/dist/core/agent-session-tool-hooks.js +6 -1
- package/dist/core/agent-session-tool-hooks.js.map +1 -1
- package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
- package/dist/core/agent-session-tool-registry.js +2 -18
- package/dist/core/agent-session-tool-registry.js.map +1 -1
- package/dist/core/agent-session-transfer.d.ts +4 -0
- package/dist/core/agent-session-transfer.d.ts.map +1 -0
- package/dist/core/agent-session-transfer.js +71 -0
- package/dist/core/agent-session-transfer.js.map +1 -0
- package/dist/core/agent-session-tree.js +1 -1
- package/dist/core/agent-session-tree.js.map +1 -1
- package/dist/core/agent-session-types.d.ts +5 -11
- package/dist/core/agent-session-types.d.ts.map +1 -1
- package/dist/core/agent-session-types.js +0 -3
- package/dist/core/agent-session-types.js.map +1 -1
- package/dist/core/agent-session.d.ts +12 -2
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +8 -2
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/atomic-guide-command.d.ts.map +1 -1
- package/dist/core/atomic-guide-command.js +31 -33
- package/dist/core/atomic-guide-command.js.map +1 -1
- package/dist/core/auth-storage.js +2 -2
- package/dist/core/auth-storage.js.map +1 -1
- package/dist/core/bash-executor.d.ts +5 -3
- package/dist/core/bash-executor.d.ts.map +1 -1
- package/dist/core/bash-executor.js +5 -4
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/builtin-packages.d.ts.map +1 -1
- package/dist/core/builtin-packages.js +0 -6
- package/dist/core/builtin-packages.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +8 -3
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js +17 -6
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/compaction/compaction-boundary.d.ts +18 -1
- package/dist/core/compaction/compaction-boundary.d.ts.map +1 -1
- package/dist/core/compaction/compaction-boundary.js +2 -2
- package/dist/core/compaction/compaction-boundary.js.map +1 -1
- package/dist/core/compaction/compaction-runner.d.ts +61 -6
- package/dist/core/compaction/compaction-runner.d.ts.map +1 -1
- package/dist/core/compaction/compaction-runner.js +242 -18
- package/dist/core/compaction/compaction-runner.js.map +1 -1
- package/dist/core/compaction/compaction-types.d.ts +53 -2
- package/dist/core/compaction/compaction-types.d.ts.map +1 -1
- package/dist/core/compaction/compaction-types.js.map +1 -1
- package/dist/core/compaction/fallback-planner.d.ts +64 -0
- package/dist/core/compaction/fallback-planner.d.ts.map +1 -0
- package/dist/core/compaction/fallback-planner.js +75 -0
- package/dist/core/compaction/fallback-planner.js.map +1 -0
- package/dist/core/compaction/index.d.ts +3 -0
- package/dist/core/compaction/index.d.ts.map +1 -1
- package/dist/core/compaction/index.js +3 -0
- package/dist/core/compaction/index.js.map +1 -1
- package/dist/core/compaction/planner-outcome.d.ts +86 -0
- package/dist/core/compaction/planner-outcome.d.ts.map +1 -0
- package/dist/core/compaction/planner-outcome.js +122 -0
- package/dist/core/compaction/planner-outcome.js.map +1 -0
- package/dist/core/compaction/range-planner-diagnostics.d.ts +58 -6
- package/dist/core/compaction/range-planner-diagnostics.d.ts.map +1 -1
- package/dist/core/compaction/range-planner-diagnostics.js +69 -31
- package/dist/core/compaction/range-planner-diagnostics.js.map +1 -1
- package/dist/core/compaction/range-planner.d.ts +36 -8
- package/dist/core/compaction/range-planner.d.ts.map +1 -1
- package/dist/core/compaction/range-planner.js +136 -51
- package/dist/core/compaction/range-planner.js.map +1 -1
- package/dist/core/compaction/region-trimming.d.ts +34 -0
- package/dist/core/compaction/region-trimming.d.ts.map +1 -0
- package/dist/core/compaction/region-trimming.js +73 -0
- package/dist/core/compaction/region-trimming.js.map +1 -0
- package/dist/core/compaction/transcript-serialization.d.ts +8 -1
- package/dist/core/compaction/transcript-serialization.d.ts.map +1 -1
- package/dist/core/compaction/transcript-serialization.js +78 -27
- package/dist/core/compaction/transcript-serialization.js.map +1 -1
- package/dist/core/context-tool-pairing.d.ts +19 -0
- package/dist/core/context-tool-pairing.d.ts.map +1 -0
- package/dist/core/context-tool-pairing.js +50 -0
- package/dist/core/context-tool-pairing.js.map +1 -0
- package/dist/core/diagnostics.d.ts +8 -0
- package/dist/core/diagnostics.d.ts.map +1 -1
- package/dist/core/diagnostics.js.map +1 -1
- package/dist/core/extensions/context-types.d.ts +3 -0
- package/dist/core/extensions/context-types.d.ts.map +1 -1
- package/dist/core/extensions/context-types.js.map +1 -1
- package/dist/core/extensions/index.d.ts +2 -0
- package/dist/core/extensions/index.d.ts.map +1 -1
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/loader-api.d.ts.map +1 -1
- package/dist/core/extensions/loader-api.js +48 -27
- package/dist/core/extensions/loader-api.js.map +1 -1
- package/dist/core/extensions/loader-runtime.d.ts +2 -4
- package/dist/core/extensions/loader-runtime.d.ts.map +1 -1
- package/dist/core/extensions/loader-runtime.js +199 -18
- package/dist/core/extensions/loader-runtime.js.map +1 -1
- package/dist/core/extensions/message-types.d.ts +7 -4
- package/dist/core/extensions/message-types.d.ts.map +1 -1
- package/dist/core/extensions/message-types.js.map +1 -1
- package/dist/core/extensions/provider-types.d.ts +9 -4
- package/dist/core/extensions/provider-types.d.ts.map +1 -1
- package/dist/core/extensions/provider-types.js.map +1 -1
- package/dist/core/extensions/runner-context.d.ts +2 -0
- package/dist/core/extensions/runner-context.d.ts.map +1 -1
- package/dist/core/extensions/runner-context.js +4 -0
- package/dist/core/extensions/runner-context.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +1 -0
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +28 -20
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/runtime-types.d.ts +25 -0
- package/dist/core/extensions/runtime-types.d.ts.map +1 -1
- package/dist/core/extensions/runtime-types.js.map +1 -1
- package/dist/core/extensions/tool-types.d.ts +7 -3
- package/dist/core/extensions/tool-types.d.ts.map +1 -1
- package/dist/core/extensions/tool-types.js.map +1 -1
- package/dist/core/extensions/ui-types.d.ts +14 -4
- package/dist/core/extensions/ui-types.d.ts.map +1 -1
- package/dist/core/extensions/ui-types.js.map +1 -1
- package/dist/core/fallback-models.d.ts +37 -0
- package/dist/core/fallback-models.d.ts.map +1 -0
- package/dist/core/fallback-models.js +48 -0
- package/dist/core/fallback-models.js.map +1 -0
- package/dist/core/flattened-tool-arguments.d.ts +4 -7
- package/dist/core/flattened-tool-arguments.d.ts.map +1 -1
- package/dist/core/flattened-tool-arguments.js +4 -7
- package/dist/core/flattened-tool-arguments.js.map +1 -1
- package/dist/core/http-dispatcher.d.ts.map +1 -1
- package/dist/core/http-dispatcher.js +0 -5
- package/dist/core/http-dispatcher.js.map +1 -1
- package/dist/core/messages.d.ts +14 -2
- package/dist/core/messages.d.ts.map +1 -1
- package/dist/core/messages.js +28 -4
- package/dist/core/messages.js.map +1 -1
- package/dist/core/model-capabilities.d.ts +18 -0
- package/dist/core/model-capabilities.d.ts.map +1 -0
- package/dist/core/model-capabilities.js +23 -0
- package/dist/core/model-capabilities.js.map +1 -0
- package/dist/core/model-registry-auth.d.ts.map +1 -1
- package/dist/core/model-registry-auth.js +0 -2
- package/dist/core/model-registry-auth.js.map +1 -1
- package/dist/core/model-registry-builtins.d.ts +0 -2
- package/dist/core/model-registry-builtins.d.ts.map +1 -1
- package/dist/core/model-registry-builtins.js +9 -76
- package/dist/core/model-registry-builtins.js.map +1 -1
- package/dist/core/model-registry-custom-loader.d.ts.map +1 -1
- package/dist/core/model-registry-custom-loader.js +1 -12
- package/dist/core/model-registry-custom-loader.js.map +1 -1
- package/dist/core/model-registry-dynamic.d.ts.map +1 -1
- package/dist/core/model-registry-dynamic.js +3 -15
- package/dist/core/model-registry-dynamic.js.map +1 -1
- package/dist/core/model-registry-extension-refresh.d.ts +23 -0
- package/dist/core/model-registry-extension-refresh.d.ts.map +1 -0
- package/dist/core/model-registry-extension-refresh.js +32 -0
- package/dist/core/model-registry-extension-refresh.js.map +1 -0
- package/dist/core/model-registry-schemas.d.ts +118 -9
- package/dist/core/model-registry-schemas.d.ts.map +1 -1
- package/dist/core/model-registry-schemas.js +10 -3
- package/dist/core/model-registry-schemas.js.map +1 -1
- package/dist/core/model-registry-types.d.ts +5 -5
- package/dist/core/model-registry-types.d.ts.map +1 -1
- package/dist/core/model-registry-types.js.map +1 -1
- package/dist/core/model-registry-validation.d.ts +7 -0
- package/dist/core/model-registry-validation.d.ts.map +1 -0
- package/dist/core/model-registry-validation.js +12 -0
- package/dist/core/model-registry-validation.js.map +1 -0
- package/dist/core/model-registry.d.ts +5 -3
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +34 -33
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-resolver-defaults.d.ts.map +1 -1
- package/dist/core/model-resolver-defaults.js +0 -1
- package/dist/core/model-resolver-defaults.js.map +1 -1
- package/dist/core/model-resolver-initial.d.ts.map +1 -1
- package/dist/core/model-resolver-initial.js +9 -0
- package/dist/core/model-resolver-initial.js.map +1 -1
- package/dist/core/model-resolver-patterns.d.ts.map +1 -1
- package/dist/core/model-resolver-patterns.js +0 -2
- package/dist/core/model-resolver-patterns.js.map +1 -1
- package/dist/core/model-resolver-scope.d.ts +2 -0
- package/dist/core/model-resolver-scope.d.ts.map +1 -1
- package/dist/core/model-resolver-scope.js +18 -4
- package/dist/core/model-resolver-scope.js.map +1 -1
- package/dist/core/model-resolver-types.d.ts +2 -0
- package/dist/core/model-resolver-types.d.ts.map +1 -1
- package/dist/core/model-resolver-types.js.map +1 -1
- package/dist/core/oauth-provider-bridge.d.ts +21 -0
- package/dist/core/oauth-provider-bridge.d.ts.map +1 -1
- package/dist/core/oauth-provider-bridge.js +68 -7
- package/dist/core/oauth-provider-bridge.js.map +1 -1
- package/dist/core/package-manager-auto-resources.d.ts.map +1 -1
- package/dist/core/package-manager-auto-resources.js +12 -4
- package/dist/core/package-manager-auto-resources.js.map +1 -1
- package/dist/core/package-manager-resolver.d.ts.map +1 -1
- package/dist/core/package-manager-resolver.js +42 -11
- package/dist/core/package-manager-resolver.js.map +1 -1
- package/dist/core/package-manager-types.d.ts +2 -0
- package/dist/core/package-manager-types.d.ts.map +1 -1
- package/dist/core/package-manager-types.js.map +1 -1
- package/dist/core/package-manager.d.ts +1 -1
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/remote-catalog-provider.d.ts +1 -1
- package/dist/core/remote-catalog-provider.d.ts.map +1 -1
- package/dist/core/remote-catalog-provider.js +17 -11
- package/dist/core/remote-catalog-provider.js.map +1 -1
- package/dist/core/resource-loader-assets.d.ts.map +1 -1
- package/dist/core/resource-loader-assets.js +30 -4
- package/dist/core/resource-loader-assets.js.map +1 -1
- package/dist/core/resource-loader-context-files.d.ts.map +1 -1
- package/dist/core/resource-loader-context-files.js +3 -1
- package/dist/core/resource-loader-context-files.js.map +1 -1
- package/dist/core/resource-loader-core.d.ts +2 -1
- package/dist/core/resource-loader-core.d.ts.map +1 -1
- package/dist/core/resource-loader-core.js +3 -0
- package/dist/core/resource-loader-core.js.map +1 -1
- package/dist/core/resource-loader-extensions.d.ts +1 -0
- package/dist/core/resource-loader-extensions.d.ts.map +1 -1
- package/dist/core/resource-loader-extensions.js +120 -7
- package/dist/core/resource-loader-extensions.js.map +1 -1
- package/dist/core/resource-loader-package-resources.d.ts.map +1 -1
- package/dist/core/resource-loader-package-resources.js +14 -1
- package/dist/core/resource-loader-package-resources.js.map +1 -1
- package/dist/core/resource-loader-reload.d.ts.map +1 -1
- package/dist/core/resource-loader-reload.js +2 -1
- package/dist/core/resource-loader-reload.js.map +1 -1
- package/dist/core/resource-loader-source-info.d.ts.map +1 -1
- package/dist/core/resource-loader-source-info.js +6 -3
- package/dist/core/resource-loader-source-info.js.map +1 -1
- package/dist/core/sdk-types.d.ts +11 -10
- package/dist/core/sdk-types.d.ts.map +1 -1
- package/dist/core/sdk-types.js.map +1 -1
- package/dist/core/sdk.d.ts +1 -0
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +13 -84
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager-core.d.ts +3 -3
- package/dist/core/session-manager-core.d.ts.map +1 -1
- package/dist/core/session-manager-core.js +18 -25
- package/dist/core/session-manager-core.js.map +1 -1
- package/dist/core/session-manager-entries.d.ts +2 -5
- package/dist/core/session-manager-entries.d.ts.map +1 -1
- package/dist/core/session-manager-entries.js +2 -8
- package/dist/core/session-manager-entries.js.map +1 -1
- package/dist/core/session-manager-history.d.ts +3 -3
- package/dist/core/session-manager-history.d.ts.map +1 -1
- package/dist/core/session-manager-history.js +49 -27
- package/dist/core/session-manager-history.js.map +1 -1
- package/dist/core/session-manager-storage.d.ts +6 -0
- package/dist/core/session-manager-storage.d.ts.map +1 -1
- package/dist/core/session-manager-storage.js +38 -5
- package/dist/core/session-manager-storage.js.map +1 -1
- package/dist/core/session-manager-types.d.ts +6 -6
- package/dist/core/session-manager-types.d.ts.map +1 -1
- package/dist/core/session-manager-types.js.map +1 -1
- package/dist/core/session-manager.d.ts +1 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/settings-manager-basic-accessors.d.ts +0 -4
- package/dist/core/settings-manager-basic-accessors.d.ts.map +1 -1
- package/dist/core/settings-manager-basic-accessors.js +0 -50
- package/dist/core/settings-manager-basic-accessors.js.map +1 -1
- package/dist/core/settings-manager-core.d.ts +2 -4
- package/dist/core/settings-manager-core.d.ts.map +1 -1
- package/dist/core/settings-manager-core.js +5 -51
- package/dist/core/settings-manager-core.js.map +1 -1
- package/dist/core/settings-manager.d.ts +1 -1
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/settings-storage.d.ts +3 -1
- package/dist/core/settings-storage.d.ts.map +1 -1
- package/dist/core/settings-storage.js +22 -0
- package/dist/core/settings-storage.js.map +1 -1
- package/dist/core/settings-types.d.ts +2 -4
- package/dist/core/settings-types.d.ts.map +1 -1
- package/dist/core/settings-types.js.map +1 -1
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +69 -23
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/source-info.d.ts +3 -1
- package/dist/core/source-info.d.ts.map +1 -1
- package/dist/core/source-info.js +2 -0
- package/dist/core/source-info.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +11 -0
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/ask-user-question/ask-user-question.js +1 -1
- package/dist/core/tools/ask-user-question/ask-user-question.js.map +1 -1
- package/dist/core/tools/bash-session-environment.d.ts +13 -0
- package/dist/core/tools/bash-session-environment.d.ts.map +1 -0
- package/dist/core/tools/bash-session-environment.js +35 -0
- package/dist/core/tools/bash-session-environment.js.map +1 -0
- package/dist/core/tools/bash.d.ts +4 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +16 -8
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/tool-definition-wrapper.d.ts +3 -0
- package/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -1
- package/dist/core/tools/tool-definition-wrapper.js +10 -2
- package/dist/core/tools/tool-definition-wrapper.js.map +1 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/llama/provider.d.ts +3 -2
- package/dist/extensions/llama/provider.d.ts.map +1 -1
- package/dist/extensions/llama/provider.js +9 -3
- package/dist/extensions/llama/provider.js.map +1 -1
- package/dist/index-extensions.d.ts +1 -1
- package/dist/index-extensions.d.ts.map +1 -1
- package/dist/index-extensions.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/main-session-options.d.ts.map +1 -1
- package/dist/main-session-options.js +0 -4
- package/dist/main-session-options.js.map +1 -1
- package/dist/main-session.d.ts.map +1 -1
- package/dist/main-session.js +2 -1
- package/dist/main-session.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -17
- package/dist/main.js.map +1 -1
- package/dist/modes/index.d.ts +1 -1
- package/dist/modes/index.d.ts.map +1 -1
- package/dist/modes/index.js.map +1 -1
- package/dist/modes/interactive/chat-input-actions.d.ts +1 -1
- package/dist/modes/interactive/chat-input-actions.d.ts.map +1 -1
- package/dist/modes/interactive/chat-input-actions.js +14 -96
- package/dist/modes/interactive/chat-input-actions.js.map +1 -1
- package/dist/modes/interactive/components/atomic-banner.d.ts +9 -8
- package/dist/modes/interactive/components/atomic-banner.d.ts.map +1 -1
- package/dist/modes/interactive/components/atomic-banner.js +68 -24
- package/dist/modes/interactive/components/atomic-banner.js.map +1 -1
- package/dist/modes/interactive/components/atomic-working-status.d.ts +52 -0
- package/dist/modes/interactive/components/atomic-working-status.d.ts.map +1 -0
- package/dist/modes/interactive/components/atomic-working-status.js +202 -0
- package/dist/modes/interactive/components/atomic-working-status.js.map +1 -0
- package/dist/modes/interactive/components/chat-message-renderer.js +1 -1
- package/dist/modes/interactive/components/chat-message-renderer.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-actions.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-actions.js +99 -7
- package/dist/modes/interactive/components/chat-session-host-actions.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-editor.js +3 -3
- package/dist/modes/interactive/components/chat-session-host-editor.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-events.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-events.js +52 -9
- package/dist/modes/interactive/components/chat-session-host-events.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-rendering.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-rendering.js +23 -7
- package/dist/modes/interactive/components/chat-session-host-rendering.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-runtime.d.ts +2 -0
- package/dist/modes/interactive/components/chat-session-host-runtime.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-runtime.js +67 -18
- package/dist/modes/interactive/components/chat-session-host-runtime.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-state.d.ts +9 -0
- package/dist/modes/interactive/components/chat-session-host-state.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-state.js +5 -0
- package/dist/modes/interactive/components/chat-session-host-state.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-types.d.ts +10 -0
- package/dist/modes/interactive/components/chat-session-host-types.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-types.js.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.js +2 -1
- package/dist/modes/interactive/components/compaction-boundary-message.js.map +1 -1
- package/dist/modes/interactive/components/custom-message.d.ts +3 -1
- package/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-message.js +9 -2
- package/dist/modes/interactive/components/custom-message.js.map +1 -1
- package/dist/modes/interactive/components/extension-editor.d.ts +3 -2
- package/dist/modes/interactive/components/extension-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/extension-editor.js +14 -43
- package/dist/modes/interactive/components/extension-editor.js.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js +18 -13
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/dist/modes/interactive/components/startup-identity.d.ts +22 -0
- package/dist/modes/interactive/components/startup-identity.d.ts.map +1 -0
- package/dist/modes/interactive/components/startup-identity.js +58 -0
- package/dist/modes/interactive/components/startup-identity.js.map +1 -0
- package/dist/modes/interactive/components/tree-selector-content.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.js +0 -6
- package/dist/modes/interactive/components/tree-selector-content.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-model.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-model.js +0 -1
- package/dist/modes/interactive/components/tree-selector-model.js.map +1 -1
- package/dist/modes/interactive/components/working-status.d.ts +5 -11
- package/dist/modes/interactive/components/working-status.d.ts.map +1 -1
- package/dist/modes/interactive/components/working-status.js +14 -15
- package/dist/modes/interactive/components/working-status.js.map +1 -1
- package/dist/modes/interactive/external-editor.d.ts +23 -0
- package/dist/modes/interactive/external-editor.d.ts.map +1 -0
- package/dist/modes/interactive/external-editor.js +120 -0
- package/dist/modes/interactive/external-editor.js.map +1 -0
- package/dist/modes/interactive/interactive-agent-events.js +25 -20
- package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
- package/dist/modes/interactive/interactive-auth-login.js +16 -6
- package/dist/modes/interactive/interactive-auth-login.js.map +1 -1
- package/dist/modes/interactive/interactive-auth-routing.js +3 -0
- package/dist/modes/interactive/interactive-auth-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-bash-compact.d.ts +2 -1
- package/dist/modes/interactive/interactive-bash-compact.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-bash-compact.js +8 -0
- package/dist/modes/interactive/interactive-bash-compact.js.map +1 -1
- package/dist/modes/interactive/interactive-deferred-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-deferred-startup.js +49 -19
- package/dist/modes/interactive/interactive-deferred-startup.js.map +1 -1
- package/dist/modes/interactive/interactive-editor-actions.js +4 -3
- package/dist/modes/interactive/interactive-editor-actions.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-dialogs.js +1 -1
- package/dist/modes/interactive/interactive-extension-dialogs.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-runtime.js +3 -2
- package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-initial-session-binding.d.ts +4 -0
- package/dist/modes/interactive/interactive-initial-session-binding.d.ts.map +1 -0
- package/dist/modes/interactive/interactive-initial-session-binding.js +23 -0
- package/dist/modes/interactive/interactive-initial-session-binding.js.map +1 -0
- package/dist/modes/interactive/interactive-input-handling.d.ts +2 -1
- package/dist/modes/interactive/interactive-input-handling.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.js +27 -51
- package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts +11 -7
- package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.js +14 -6
- package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.d.ts +2 -4
- package/dist/modes/interactive/interactive-mode-deps.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.js +2 -4
- package/dist/modes/interactive/interactive-mode-deps.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts +9 -8
- package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +1 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +1 -0
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/interactive-model-catalog-startup.d.ts +2 -3
- package/dist/modes/interactive/interactive-model-catalog-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-model-catalog-startup.js +3 -6
- package/dist/modes/interactive/interactive-model-catalog-startup.js.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.js +26 -97
- package/dist/modes/interactive/interactive-model-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-pause.d.ts +4 -0
- package/dist/modes/interactive/interactive-pause.d.ts.map +1 -0
- package/dist/modes/interactive/interactive-pause.js +8 -0
- package/dist/modes/interactive/interactive-pause.js.map +1 -0
- package/dist/modes/interactive/interactive-process-lifecycle.js +5 -4
- package/dist/modes/interactive/interactive-process-lifecycle.js.map +1 -1
- package/dist/modes/interactive/interactive-prompt-turn.d.ts +2 -0
- package/dist/modes/interactive/interactive-prompt-turn.d.ts.map +1 -0
- package/dist/modes/interactive/interactive-prompt-turn.js +41 -0
- package/dist/modes/interactive/interactive-prompt-turn.js.map +1 -0
- package/dist/modes/interactive/interactive-render-chat.js +20 -8
- package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
- package/dist/modes/interactive/interactive-resource-paths.js +11 -2
- package/dist/modes/interactive/interactive-resource-paths.js.map +1 -1
- package/dist/modes/interactive/interactive-resource-rendering.js +99 -0
- package/dist/modes/interactive/interactive-resource-rendering.js.map +1 -1
- package/dist/modes/interactive/interactive-session-runtime.js +1 -1
- package/dist/modes/interactive/interactive-session-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-slash-commands.js +1 -1
- package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
- package/dist/modes/interactive/interactive-startup-chat-container.d.ts +20 -0
- package/dist/modes/interactive/interactive-startup-chat-container.d.ts.map +1 -0
- package/dist/modes/interactive/interactive-startup-chat-container.js +26 -0
- package/dist/modes/interactive/interactive-startup-chat-container.js.map +1 -0
- package/dist/modes/interactive/interactive-startup.d.ts +1 -1
- package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-startup.js +30 -25
- package/dist/modes/interactive/interactive-startup.js.map +1 -1
- package/dist/modes/interactive/interactive-summarization-retry-events.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-summarization-retry-events.js +9 -3
- package/dist/modes/interactive/interactive-summarization-retry-events.js.map +1 -1
- package/dist/modes/interactive/theme/catppuccin-frappe.json +1 -1
- package/dist/modes/interactive/theme/catppuccin-latte.json +1 -1
- package/dist/modes/interactive/theme/catppuccin-macchiato.json +1 -1
- package/dist/modes/interactive/theme/catppuccin-mocha.json +9 -1
- package/dist/modes/interactive/theme/dark.json +1 -1
- package/dist/modes/interactive/theme/light.json +1 -1
- package/dist/modes/interactive/theme/theme-class.d.ts +4 -0
- package/dist/modes/interactive/theme/theme-class.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme-class.js +7 -0
- package/dist/modes/interactive/theme/theme-class.js.map +1 -1
- package/dist/modes/interactive/theme/theme-loading.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme-loading.js +4 -0
- package/dist/modes/interactive/theme/theme-loading.js.map +1 -1
- package/dist/modes/interactive/theme/theme-schema.d.ts +32 -0
- package/dist/modes/interactive/theme/theme-schema.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme-schema.js +8 -0
- package/dist/modes/interactive/theme/theme-schema.js.map +1 -1
- package/dist/modes/interactive/theme/theme-schema.json +15 -2
- package/dist/modes/interactive/whimsical-messages.d.ts +1 -0
- package/dist/modes/interactive/whimsical-messages.d.ts.map +1 -1
- package/dist/modes/interactive/whimsical-messages.js +2 -2
- package/dist/modes/interactive/whimsical-messages.js.map +1 -1
- package/dist/modes/interactive-engine/create-isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/create-isolated-runtime.js +3 -1
- package/dist/modes/interactive-engine/create-isolated-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/engine-args.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-args.js +0 -1
- package/dist/modes/interactive-engine/engine-args.js.map +1 -1
- package/dist/modes/interactive-engine/engine-custom-ui.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-custom-ui.js +5 -17
- package/dist/modes/interactive-engine/engine-custom-ui.js.map +1 -1
- package/dist/modes/interactive-engine/engine-render-service.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-render-service.js +8 -19
- package/dist/modes/interactive-engine/engine-render-service.js.map +1 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.d.ts +2 -0
- package/dist/modes/interactive-engine/extension-ui-bridge.d.ts.map +1 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.js +3 -0
- package/dist/modes/interactive-engine/extension-ui-bridge.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-auth.d.ts +10 -0
- package/dist/modes/interactive-engine/isolated-auth.d.ts.map +1 -0
- package/dist/modes/interactive-engine/isolated-auth.js +14 -0
- package/dist/modes/interactive-engine/isolated-auth.js.map +1 -0
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +9 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +46 -34
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/protocol.d.ts +1 -1
- package/dist/modes/interactive-engine/protocol.d.ts.map +1 -1
- package/dist/modes/interactive-engine/protocol.js +3 -10
- package/dist/modes/interactive-engine/protocol.js.map +1 -1
- package/dist/modes/interactive-engine/remote-model-catalog.d.ts +1 -0
- package/dist/modes/interactive-engine/remote-model-catalog.d.ts.map +1 -1
- package/dist/modes/interactive-engine/remote-model-catalog.js +10 -1
- package/dist/modes/interactive-engine/remote-model-catalog.js.map +1 -1
- package/dist/modes/interactive-engine/remote-queue-pause.d.ts +13 -0
- package/dist/modes/interactive-engine/remote-queue-pause.d.ts.map +1 -0
- package/dist/modes/interactive-engine/remote-queue-pause.js +38 -0
- package/dist/modes/interactive-engine/remote-queue-pause.js.map +1 -0
- package/dist/modes/interactive-engine/remote-renderer.d.ts +3 -1
- package/dist/modes/interactive-engine/remote-renderer.d.ts.map +1 -1
- package/dist/modes/interactive-engine/remote-renderer.js +4 -1
- package/dist/modes/interactive-engine/remote-renderer.js.map +1 -1
- package/dist/modes/print-mode.d.ts.map +1 -1
- package/dist/modes/print-mode.js +5 -0
- package/dist/modes/print-mode.js.map +1 -1
- package/dist/modes/rpc/jsonl.d.ts +2 -7
- package/dist/modes/rpc/jsonl.d.ts.map +1 -1
- package/dist/modes/rpc/jsonl.js +7 -24
- package/dist/modes/rpc/jsonl.js.map +1 -1
- package/dist/modes/rpc/queued-writer.d.ts +19 -0
- package/dist/modes/rpc/queued-writer.d.ts.map +1 -0
- package/dist/modes/rpc/{bounded-writer.js → queued-writer.js} +7 -30
- package/dist/modes/rpc/queued-writer.js.map +1 -0
- package/dist/modes/rpc/rpc-bash-request-owners.d.ts +24 -0
- package/dist/modes/rpc/rpc-bash-request-owners.d.ts.map +1 -0
- package/dist/modes/rpc/rpc-bash-request-owners.js +45 -0
- package/dist/modes/rpc/rpc-bash-request-owners.js.map +1 -0
- package/dist/modes/rpc/rpc-client-api.d.ts +8 -5
- package/dist/modes/rpc/rpc-client-api.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-api.js +10 -11
- package/dist/modes/rpc/rpc-client-api.js.map +1 -1
- package/dist/modes/rpc/rpc-client-process.d.ts +1 -4
- package/dist/modes/rpc/rpc-client-process.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-process.js +2 -14
- package/dist/modes/rpc/rpc-client-process.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +8 -4
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +21 -30
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.d.ts +7 -4
- package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.js +76 -93
- package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
- package/dist/modes/rpc/rpc-input-scheduler.d.ts +3 -3
- package/dist/modes/rpc/rpc-input-scheduler.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-input-scheduler.js +7 -4
- package/dist/modes/rpc/rpc-input-scheduler.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +5 -5
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-model-fallback-prompt.d.ts +4 -0
- package/dist/modes/rpc/rpc-model-fallback-prompt.d.ts.map +1 -0
- package/dist/modes/rpc/rpc-model-fallback-prompt.js +11 -0
- package/dist/modes/rpc/rpc-model-fallback-prompt.js.map +1 -0
- package/dist/modes/rpc/rpc-oauth-client.d.ts +22 -0
- package/dist/modes/rpc/rpc-oauth-client.d.ts.map +1 -0
- package/dist/modes/rpc/rpc-oauth-client.js +74 -0
- package/dist/modes/rpc/rpc-oauth-client.js.map +1 -0
- package/dist/modes/rpc/rpc-oauth-interaction.d.ts +9 -0
- package/dist/modes/rpc/rpc-oauth-interaction.d.ts.map +1 -0
- package/dist/modes/rpc/rpc-oauth-interaction.js +49 -0
- package/dist/modes/rpc/rpc-oauth-interaction.js.map +1 -0
- package/dist/modes/rpc/rpc-output-buffer.d.ts +2 -1
- package/dist/modes/rpc/rpc-output-buffer.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-output-buffer.js +4 -39
- package/dist/modes/rpc/rpc-output-buffer.js.map +1 -1
- package/dist/modes/rpc/rpc-provider-auth.d.ts +23 -0
- package/dist/modes/rpc/rpc-provider-auth.d.ts.map +1 -0
- package/dist/modes/rpc/rpc-provider-auth.js +145 -0
- package/dist/modes/rpc/rpc-provider-auth.js.map +1 -0
- package/dist/modes/rpc/rpc-responses.d.ts +0 -1
- package/dist/modes/rpc/rpc-responses.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-responses.js +0 -14
- package/dist/modes/rpc/rpc-responses.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +83 -27
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/dist/utils/clipboard.d.ts.map +1 -1
- package/dist/utils/clipboard.js +21 -8
- package/dist/utils/clipboard.js.map +1 -1
- package/dist/utils/version-check.d.ts.map +1 -1
- package/dist/utils/version-check.js +3 -1
- package/dist/utils/version-check.js.map +1 -1
- package/docs/changelog.mdx +12 -1
- package/docs/compaction.md +101 -18
- package/docs/custom-provider.md +13 -4
- package/docs/docs.json +1 -0
- package/docs/environment-variables.md +37 -0
- package/docs/extensions.md +45 -9
- package/docs/index.md +1 -0
- package/docs/intercom.md +1 -1
- package/docs/json.md +4 -4
- package/docs/keybindings.md +4 -2
- package/docs/llama-cpp.md +3 -1
- package/docs/models.md +29 -43
- package/docs/providers.md +18 -24
- package/docs/quickstart.md +19 -16
- package/docs/rpc.md +38 -85
- package/docs/sdk.md +15 -22
- package/docs/session-format.md +2 -15
- package/docs/sessions.md +1 -1
- package/docs/settings.md +10 -15
- package/docs/skills.md +8 -0
- package/docs/subagents.md +24 -8
- package/docs/themes.md +10 -1
- package/docs/tui.md +3 -3
- package/docs/usage.md +30 -2
- package/docs/windows.md +1 -1
- package/docs/workflows.md +1128 -522
- package/examples/extensions/README.md +1 -1
- package/examples/extensions/handoff.ts +8 -1
- package/examples/extensions/message-renderer.ts +2 -2
- package/examples/extensions/summarize.ts +3 -0
- package/examples/extensions/working-indicator.ts +2 -2
- package/npm-shrinkwrap.json +40 -46
- package/package.json +9 -7
- package/dist/builtin/cursor/CHANGELOG.md +0 -281
- package/dist/builtin/cursor/LICENSE +0 -26
- package/dist/builtin/cursor/README.md +0 -24
- package/dist/builtin/cursor/index.ts +0 -9
- package/dist/builtin/cursor/package.json +0 -47
- package/dist/builtin/cursor/src/auth.ts +0 -352
- package/dist/builtin/cursor/src/catalog-cache.ts +0 -155
- package/dist/builtin/cursor/src/config.ts +0 -123
- package/dist/builtin/cursor/src/conversation-state.ts +0 -135
- package/dist/builtin/cursor/src/cursor-models-raw.json +0 -412
- package/dist/builtin/cursor/src/model-mapper.ts +0 -369
- package/dist/builtin/cursor/src/model-reference.ts +0 -282
- package/dist/builtin/cursor/src/models.ts +0 -54
- package/dist/builtin/cursor/src/native-loader.ts +0 -71
- package/dist/builtin/cursor/src/proto/README.md +0 -34
- package/dist/builtin/cursor/src/proto/agent_pb.ts +0 -15294
- package/dist/builtin/cursor/src/proto/protobuf-codec-base64.ts +0 -22
- package/dist/builtin/cursor/src/proto/protobuf-codec-json.ts +0 -44
- package/dist/builtin/cursor/src/proto/protobuf-codec-request.ts +0 -311
- package/dist/builtin/cursor/src/proto/protobuf-codec-wire.ts +0 -248
- package/dist/builtin/cursor/src/proto/protobuf-codec.ts +0 -200
- package/dist/builtin/cursor/src/provider.ts +0 -301
- package/dist/builtin/cursor/src/stream.ts +0 -494
- package/dist/builtin/cursor/src/transport-errors.ts +0 -74
- package/dist/builtin/cursor/src/transport-frame.ts +0 -56
- package/dist/builtin/cursor/src/transport-http2.ts +0 -122
- package/dist/builtin/cursor/src/transport-native-client.ts +0 -161
- package/dist/builtin/cursor/src/transport-run-stream.ts +0 -188
- package/dist/builtin/cursor/src/transport-timeouts.ts +0 -87
- package/dist/builtin/cursor/src/transport-types.ts +0 -143
- package/dist/builtin/cursor/src/transport.ts +0 -26
- package/dist/builtin/workflows/builtin/deep-research-codebase-runner.ts +0 -492
- package/dist/builtin/workflows/builtin/deep-research-codebase-utils.ts +0 -383
- package/dist/builtin/workflows/builtin/deep-research-codebase.d.ts +0 -35
- package/dist/builtin/workflows/builtin/deep-research-codebase.ts +0 -47
- package/dist/builtin/workflows/skills/impeccable/scripts/hook-before-edit.mjs +0 -516
- package/dist/core/context-window.d.ts +0 -54
- package/dist/core/context-window.d.ts.map +0 -1
- package/dist/core/context-window.js +0 -110
- package/dist/core/context-window.js.map +0 -1
- package/dist/core/copilot-anthropic-sse-repair.d.ts +0 -23
- package/dist/core/copilot-anthropic-sse-repair.d.ts.map +0 -1
- package/dist/core/copilot-anthropic-sse-repair.js +0 -340
- package/dist/core/copilot-anthropic-sse-repair.js.map +0 -1
- package/dist/core/copilot-errors.d.ts +0 -9
- package/dist/core/copilot-errors.d.ts.map +0 -1
- package/dist/core/copilot-errors.js +0 -32
- package/dist/core/copilot-errors.js.map +0 -1
- package/dist/core/copilot-gemini-payload-sanitizer.d.ts +0 -72
- package/dist/core/copilot-gemini-payload-sanitizer.d.ts.map +0 -1
- package/dist/core/copilot-gemini-payload-sanitizer.js +0 -296
- package/dist/core/copilot-gemini-payload-sanitizer.js.map +0 -1
- package/dist/core/copilot-gemini-reasoning.d.ts +0 -126
- package/dist/core/copilot-gemini-reasoning.d.ts.map +0 -1
- package/dist/core/copilot-gemini-reasoning.js +0 -265
- package/dist/core/copilot-gemini-reasoning.js.map +0 -1
- package/dist/core/copilot-gemini-tool-arguments.d.ts +0 -42
- package/dist/core/copilot-gemini-tool-arguments.d.ts.map +0 -1
- package/dist/core/copilot-gemini-tool-arguments.js +0 -159
- package/dist/core/copilot-gemini-tool-arguments.js.map +0 -1
- package/dist/core/copilot-hosts.d.ts +0 -12
- package/dist/core/copilot-hosts.d.ts.map +0 -1
- package/dist/core/copilot-hosts.js +0 -33
- package/dist/core/copilot-hosts.js.map +0 -1
- package/dist/core/copilot-model-catalog.d.ts +0 -114
- package/dist/core/copilot-model-catalog.d.ts.map +0 -1
- package/dist/core/copilot-model-catalog.js +0 -392
- package/dist/core/copilot-model-catalog.js.map +0 -1
- package/dist/core/copilot-model-static-fallbacks.d.ts +0 -43
- package/dist/core/copilot-model-static-fallbacks.d.ts.map +0 -1
- package/dist/core/copilot-model-static-fallbacks.js +0 -50
- package/dist/core/copilot-model-static-fallbacks.js.map +0 -1
- package/dist/core/copilot-model-synthesis.d.ts +0 -10
- package/dist/core/copilot-model-synthesis.d.ts.map +0 -1
- package/dist/core/copilot-model-synthesis.js +0 -91
- package/dist/core/copilot-model-synthesis.js.map +0 -1
- package/dist/modes/interactive/components/context-window-selector.d.ts +0 -53
- package/dist/modes/interactive/components/context-window-selector.d.ts.map +0 -1
- package/dist/modes/interactive/components/context-window-selector.js +0 -136
- package/dist/modes/interactive/components/context-window-selector.js.map +0 -1
- package/dist/modes/rpc/bounded-writer.d.ts +0 -27
- package/dist/modes/rpc/bounded-writer.d.ts.map +0 -1
- package/dist/modes/rpc/bounded-writer.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-schema.js","sourceRoot":"","sources":["../../../../src/modes/interactive/theme/theme-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC;IAC1C,IAAI,CAAC,MAAM,EAAE,EAAE,gDAAgD;IAC/D,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO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,OAAO,EAAE,gBAAgB;QACzB,aAAa,EAAE,gBAAgB;QAC/B,IAAI,EAAE,gBAAgB;QACtB,YAAY,EAAE,gBAAgB;QAC9B,wBAAwB;QACxB,aAAa,EAAE,gBAAgB;QAC/B,eAAe,EAAE,gBAAgB;QACjC,eAAe,EAAE,gBAAgB;QACjC,iCAAiC;QACjC,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,gBAAgB;QAC/B,cAAc,EAAE,gBAAgB;QAChC,cAAc,EAAE,gBAAgB;QAChC,YAAY,EAAE,gBAAgB;QAC9B,YAAY,EAAE,gBAAgB;QAC9B,UAAU,EAAE,gBAAgB;QAC5B,cAAc,EAAE,gBAAgB;QAChC,iBAAiB,EAAE,gBAAgB;QACnC,oCAAoC;QACpC,WAAW,EAAE,gBAAgB;QAC7B,eAAe,EAAE,gBAAgB;QACjC,WAAW,EAAE,gBAAgB;QAC7B,cAAc,EAAE,gBAAgB;QAChC,YAAY,EAAE,gBAAgB;QAC9B,aAAa,EAAE,gBAAgB;QAC/B,sBAAsB;QACtB,QAAQ,EAAE,gBAAgB;KAC1B,CAAC;IACF,MAAM,EAAE,IAAI,CAAC,QAAQ,CACpB,IAAI,CAAC,MAAM,CAAC;QACX,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC;QACvC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC;QACvC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC;KACvC,CAAC,CACF;CACD,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,iBAAiB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC","sourcesContent":["import { type Static, Type } from \"typebox\";\nimport { Compile } from \"typebox/compile\";\n\nexport const ColorValueSchema = Type.Union([\n\tType.String(), // hex \"#ff0000\", var ref \"primary\", or empty \"\"\n\tType.Integer({ minimum: 0, maximum: 255 }), // 256-color index\n]);\n\nexport type ColorValue = Static<typeof ColorValueSchema>;\n\nexport const ThemeJsonSchema = Type.Object({\n\t$schema: Type.Optional(Type.String()),\n\tname: Type.String(),\n\tvars: Type.Optional(Type.Record(Type.String(), ColorValueSchema)),\n\tcolors: Type.Object({\n\t\t// Core UI (10 colors)\n\t\taccent: ColorValueSchema,\n\t\tborder: ColorValueSchema,\n\t\tborderAccent: ColorValueSchema,\n\t\tborderMuted: ColorValueSchema,\n\t\tsuccess: ColorValueSchema,\n\t\terror: ColorValueSchema,\n\t\twarning: ColorValueSchema,\n\t\tmuted: ColorValueSchema,\n\t\tdim: ColorValueSchema,\n\t\ttext: ColorValueSchema,\n\t\tthinkingText: ColorValueSchema,\n\t\t// Backgrounds & Content Text (11 colors)\n\t\tselectedBg: ColorValueSchema,\n\t\tuserMessageBg: ColorValueSchema,\n\t\tuserMessageText: ColorValueSchema,\n\t\tcustomMessageBg: ColorValueSchema,\n\t\tcustomMessageText: ColorValueSchema,\n\t\tcustomMessageLabel: ColorValueSchema,\n\t\ttoolPendingBg: ColorValueSchema,\n\t\ttoolSuccessBg: ColorValueSchema,\n\t\ttoolErrorBg: ColorValueSchema,\n\t\ttoolTitle: ColorValueSchema,\n\t\ttoolOutput: ColorValueSchema,\n\t\t// Markdown (10 colors)\n\t\tmdHeading: ColorValueSchema,\n\t\tmdLink: ColorValueSchema,\n\t\tmdLinkUrl: ColorValueSchema,\n\t\tmdCode: ColorValueSchema,\n\t\tmdCodeBlock: ColorValueSchema,\n\t\tmdCodeBlockBorder: ColorValueSchema,\n\t\tmdQuote: ColorValueSchema,\n\t\tmdQuoteBorder: ColorValueSchema,\n\t\tmdHr: ColorValueSchema,\n\t\tmdListBullet: ColorValueSchema,\n\t\t// Tool Diffs (3 colors)\n\t\ttoolDiffAdded: ColorValueSchema,\n\t\ttoolDiffRemoved: ColorValueSchema,\n\t\ttoolDiffContext: ColorValueSchema,\n\t\t// Syntax Highlighting (9 colors)\n\t\tsyntaxComment: ColorValueSchema,\n\t\tsyntaxKeyword: ColorValueSchema,\n\t\tsyntaxFunction: ColorValueSchema,\n\t\tsyntaxVariable: ColorValueSchema,\n\t\tsyntaxString: ColorValueSchema,\n\t\tsyntaxNumber: ColorValueSchema,\n\t\tsyntaxType: ColorValueSchema,\n\t\tsyntaxOperator: ColorValueSchema,\n\t\tsyntaxPunctuation: ColorValueSchema,\n\t\t// Thinking Level Borders (6 colors)\n\t\tthinkingOff: ColorValueSchema,\n\t\tthinkingMinimal: ColorValueSchema,\n\t\tthinkingLow: ColorValueSchema,\n\t\tthinkingMedium: ColorValueSchema,\n\t\tthinkingHigh: ColorValueSchema,\n\t\tthinkingXhigh: ColorValueSchema,\n\t\t// Bash Mode (1 color)\n\t\tbashMode: ColorValueSchema,\n\t}),\n\texport: Type.Optional(\n\t\tType.Object({\n\t\t\tpageBg: Type.Optional(ColorValueSchema),\n\t\t\tcardBg: Type.Optional(ColorValueSchema),\n\t\t\tinfoBg: Type.Optional(ColorValueSchema),\n\t\t}),\n\t),\n});\n\nexport type ThemeJson = Static<typeof ThemeJsonSchema>;\n\nexport const validateThemeJson = Compile(ThemeJsonSchema);\n"]}
|
|
1
|
+
{"version":3,"file":"theme-schema.js","sourceRoot":"","sources":["../../../../src/modes/interactive/theme/theme-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC;IAC1C,IAAI,CAAC,MAAM,EAAE,EAAE,gDAAgD;IAC/D,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,kBAAkB;CAC9D,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,E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AAO,CAAC,eAAe,CAAC,CAAC","sourcesContent":["import { type Static, Type } from \"typebox\";\nimport { Compile } from \"typebox/compile\";\n\nexport const ColorValueSchema = Type.Union([\n\tType.String(), // hex \"#ff0000\", var ref \"primary\", or empty \"\"\n\tType.Integer({ minimum: 0, maximum: 255 }), // 256-color index\n]);\n\nexport type ColorValue = Static<typeof ColorValueSchema>;\n\nexport const ThemeJsonSchema = Type.Object({\n\t$schema: Type.Optional(Type.String()),\n\tname: Type.String(),\n\tvars: Type.Optional(Type.Record(Type.String(), ColorValueSchema)),\n\tcolors: Type.Object({\n\t\t// Core UI (10 colors)\n\t\taccent: ColorValueSchema,\n\t\tborder: ColorValueSchema,\n\t\tborderAccent: ColorValueSchema,\n\t\tborderMuted: ColorValueSchema,\n\t\tsuccess: ColorValueSchema,\n\t\terror: ColorValueSchema,\n\t\twarning: ColorValueSchema,\n\t\tmuted: ColorValueSchema,\n\t\tdim: ColorValueSchema,\n\t\ttext: ColorValueSchema,\n\t\tthinkingText: ColorValueSchema,\n\t\t// Backgrounds & Content Text (11 colors)\n\t\tselectedBg: ColorValueSchema,\n\t\tuserMessageBg: ColorValueSchema,\n\t\tuserMessageText: ColorValueSchema,\n\t\tcustomMessageBg: ColorValueSchema,\n\t\tcustomMessageText: ColorValueSchema,\n\t\tcustomMessageLabel: ColorValueSchema,\n\t\ttoolPendingBg: ColorValueSchema,\n\t\ttoolSuccessBg: ColorValueSchema,\n\t\ttoolErrorBg: ColorValueSchema,\n\t\ttoolTitle: ColorValueSchema,\n\t\ttoolOutput: ColorValueSchema,\n\t\t// Markdown (10 colors)\n\t\tmdHeading: ColorValueSchema,\n\t\tmdLink: ColorValueSchema,\n\t\tmdLinkUrl: ColorValueSchema,\n\t\tmdCode: ColorValueSchema,\n\t\tmdCodeBlock: ColorValueSchema,\n\t\tmdCodeBlockBorder: ColorValueSchema,\n\t\tmdQuote: ColorValueSchema,\n\t\tmdQuoteBorder: ColorValueSchema,\n\t\tmdHr: ColorValueSchema,\n\t\tmdListBullet: ColorValueSchema,\n\t\t// Tool Diffs (3 colors)\n\t\ttoolDiffAdded: ColorValueSchema,\n\t\ttoolDiffRemoved: ColorValueSchema,\n\t\ttoolDiffContext: ColorValueSchema,\n\t\t// Syntax Highlighting (9 colors)\n\t\tsyntaxComment: ColorValueSchema,\n\t\tsyntaxKeyword: ColorValueSchema,\n\t\tsyntaxFunction: ColorValueSchema,\n\t\tsyntaxVariable: ColorValueSchema,\n\t\tsyntaxString: ColorValueSchema,\n\t\tsyntaxNumber: ColorValueSchema,\n\t\tsyntaxType: ColorValueSchema,\n\t\tsyntaxOperator: ColorValueSchema,\n\t\tsyntaxPunctuation: ColorValueSchema,\n\t\t// Thinking Level Borders (6 colors)\n\t\tthinkingOff: ColorValueSchema,\n\t\tthinkingMinimal: ColorValueSchema,\n\t\tthinkingLow: ColorValueSchema,\n\t\tthinkingMedium: ColorValueSchema,\n\t\tthinkingHigh: ColorValueSchema,\n\t\tthinkingXhigh: ColorValueSchema,\n\t\t// Bash Mode (1 color)\n\t\tbashMode: ColorValueSchema,\n\t}),\n\tworkingIndicator: Type.Optional(Type.Object({\n\t\tdark: Type.Optional(ColorValueSchema),\n\t\tlift: Type.Optional(ColorValueSchema),\n\t\tmuted: Type.Optional(ColorValueSchema),\n\t\taccent: Type.Optional(ColorValueSchema),\n\t\tbright: Type.Optional(ColorValueSchema),\n\t\tpeak: Type.Optional(ColorValueSchema),\n\t})),\n\texport: Type.Optional(\n\t\tType.Object({\n\t\t\tpageBg: Type.Optional(ColorValueSchema),\n\t\t\tcardBg: Type.Optional(ColorValueSchema),\n\t\t\tinfoBg: Type.Optional(ColorValueSchema),\n\t\t}),\n\t),\n});\n\nexport type ThemeJson = Static<typeof ThemeJsonSchema>;\n\nexport const validateThemeJson = Compile(ThemeJsonSchema);\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "
|
|
4
|
-
"description": "Theme schema for
|
|
3
|
+
"title": "Atomic Coding Agent Theme",
|
|
4
|
+
"description": "Theme schema for the Atomic coding agent",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": ["name", "colors"],
|
|
7
7
|
"properties": {
|
|
@@ -296,6 +296,19 @@
|
|
|
296
296
|
},
|
|
297
297
|
"additionalProperties": false
|
|
298
298
|
},
|
|
299
|
+
"workingIndicator": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"description": "Optional partial six-tone palette for Atomic's ordinary working identity",
|
|
302
|
+
"properties": {
|
|
303
|
+
"dark": { "$ref": "#/$defs/colorValue" },
|
|
304
|
+
"lift": { "$ref": "#/$defs/colorValue" },
|
|
305
|
+
"muted": { "$ref": "#/$defs/colorValue" },
|
|
306
|
+
"accent": { "$ref": "#/$defs/colorValue" },
|
|
307
|
+
"bright": { "$ref": "#/$defs/colorValue" },
|
|
308
|
+
"peak": { "$ref": "#/$defs/colorValue" }
|
|
309
|
+
},
|
|
310
|
+
"additionalProperties": false
|
|
311
|
+
},
|
|
299
312
|
"export": {
|
|
300
313
|
"type": "object",
|
|
301
314
|
"description": "Optional colors for HTML export (defaults derived from userMessageBg if not specified)",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Whimsical working messages cycled into the interactive loader between turns.
|
|
3
3
|
*/
|
|
4
|
+
export declare const WHIMSICAL_WORKING_MESSAGES: readonly ["Schlepping...", "Combobulating...", "Doing...", "Channelling...", "Vibing...", "Concocting...", "Spelunking...", "Transmuting...", "Imagining...", "Pontificating...", "Whirring...", "Cogitating...", "Honking...", "Flibbertigibbeting...", "Noodling...", "Percolating...", "Ruminating...", "Simmering...", "Marinating...", "Fermenting...", "Gestating...", "Hatching...", "Brewing...", "Steeping...", "Contemplating...", "Musing...", "Pondering...", "Mulling...", "Daydreaming...", "Woolgathering...", "Dithering...", "Faffing...", "Puttering...", "Tinkering...", "Fiddling...", "Noodging...", "Finagling...", "Wrangling...", "Jiggling...", "Wiggling...", "Shimmying...", "Galumphing...", "Perambulating...", "Meandering...", "Traipsing...", "Moseying...", "Sauntering...", "Ambling...", "Pottering...", "Bumbling...", "Futzing...", "Schmalzing...", "Kerfuffling...", "Bamboozling...", "Discombobulating...", "Recombobulating...", "Unbefuddling...", "Defenestrating...", "Confabulating...", "Persnicketing...", "Flummoxing...", "Befuddling...", "Snorkeling...", "Yodeling...", "Zigzagging...", "Ricocheting...", "Somersaulting...", "Pirouetting...", "Canoodling...", "Schmoozing...", "Kibbitzing...", "Skedaddling...", "Scampering...", "Skittering...", "Sashaying...", "Swashbuckling...", "Oscillating...", "Undulating...", "Pulsating...", "Effervescing...", "Fizzing...", "Bubbling...", "Perplexing...", "Mystifying...", "Enchanting...", "Bewitching...", "Beguiling...", "Mesmerizing...", "Bedazzling...", "Sparkling...", "Glittering...", "Scintillating...", "Coruscating...", "Phosphorescing...", "Luminescing...", "Sublimating...", "Synthesizing...", "Amalgamating...", "Procrastinating...", "Dillydallying...", "Lollygagging...", "Dawdling...", "Malingering...", "Skulking...", "Lurking...", "Sleuthing...", "Rummaging...", "Fossicking...", "Foraging...", "Scavenging...", "Absquatulating...", "Vamoosing...", "Absconding...", "Grooving...", "Jamming...", "Improvising...", "Extemporizing...", "Freestyling...", "Frolicking...", "Gamboling...", "Blorping...", "Flonking...", "Snurfling...", "Whomping...", "Zorping...", "Biffing...", "Splunging...", "Thwacking...", "Gonkulating...", "Splorfing...", "Wibbling...", "Wobbling...", "Squonking...", "Plonking...", "Bonking...", "Zonking...", "Flumping...", "Clomping...", "Squelching...", "Schlurping...", "Glurping...", "Burbling...", "Gurgling...", "Splooshing...", "Whooshing...", "Swooshing...", "Kerplunking...", "Thunking...", "Clunking...", "Clanking...", "Rattling...", "Jostling...", "Rustling...", "Bustling...", "Hustling...", "Miffing...", "Boffing...", "Snazzifying...", "Pizzazzing...", "Razzmatazzing...", "Bedoodling...", "Doodling...", "Scribbling...", "Squiggling...", "Wriggling...", "Niggling...", "Higgling...", "Piggling...", "Figgling...", "Gibbering...", "Jabbering...", "Blathering...", "Blithering...", "Withering...", "Slithering...", "Tethering...", "Feathering...", "Weathering...", "Leathering...", "Heathering...", "Smoldering...", "Moldering...", "Shouldering...", "Bouldering...", "Tottering...", "Teetering...", "Tittering...", "Flittering...", "Jittering...", "Frittering...", "Twittering...", "Nattering...", "Chattering...", "Clattering...", "Splattering...", "Battering...", "Scattering...", "Shattering...", "Flattering...", "Pattering...", "Tattering...", "Mattering...", "Yammering...", "Hammering...", "Stammering...", "Clamoring...", "Glamoring...", "Enamoring...", "Shimmering...", "Glimmering...", "Brimming...", "Skimming...", "Trimming...", "Primming...", "Whimming...", "Humming...", "Strumming...", "Thrumming...", "Drumming...", "Plumbing...", "Thumbing...", "Numbing...", "Fumbling...", "Grumbling...", "Mumbling...", "Rumbling...", "Stumbling...", "Tumbling...", "Crumbling...", "Jumbling...", "Humbling...", "Bungling...", "Jungling...", "Mangling...", "Wangling...", "Dangling...", "Tangling...", "Jangling...", "Angling...", "Struggling...", "Mingling...", "Tingling...", "Jingling...", "Singling...", "Ringling...", "Kingling...", "Consulting the void...", "Asking the electrons...", "Bribing the compiler...", "Negotiating with entropy...", "Whispering to the bits...", "Tickling the stack...", "Massaging the heap...", "Appeasing the garbage collector...", "Summoning semicolons...", "Herding pointers...", "Untangling spaghetti...", "Polishing the algorithms...", "Waxing philosophical...", "Consulting ancient scrolls...", "Reading tea leaves...", "Shaking the magic 8-ball...", "Sacrificing to the demo gods...", "Warming up the hamsters...", "Spinning up the squirrels...", "Caffeinating...", "Existentially questioning...", "Having a little think...", "Stroking chin thoughtfully...", "Squinting at the problem...", "Staring into the abyss...", "Abyss staring back...", "Achieving enlightenment...", "Transcending mere computation...", "Ascending to a higher plane...", "Communing with the machine spirit...", "Performing arcane rituals...", "Invoking elder functions...", "Consulting the oracle...", "Divining the answer...", "Scrying the codebase...", "Dowsing for bugs...", "Rearranging deck chairs...", "Shuffling bits around...", "Aligning the chakras...", "Reticulating splines...", "Reversing the polarity...", "Calibrating the flux capacitor...", "Charging the crystals...", "Tuning the vibrations...", "Adjusting the cosmic frequency...", "Waiting for a sign...", "Hoping for the best...", "Manifesting solutions...", "Willing it into existence...", "Believing really hard...", "Politely asking the CPU...", "Bribing the runtime...", "Flirting with the database...", "Sweet-talking the API...", "Negotiating with deadlines...", "Having words with the cache...", "Reasoning with the memory...", "Pleading with the logs...", "Bargaining with fate...", "Making offerings to the CI...", "Praying to the uptime gods...", "Consulting the rubber duck...", "Interrogating the stack trace...", "Cross-examining the debugger...", "Petitioning the kernel...", "Lobbying the scheduler...", "Schmoozing the network...", "Buttering up the firewall...", "Wining and dining the servers...", "Taking the bytes out for lunch...", "Giving the code a pep talk...", "Reading the room...", "Checking under the hood...", "Kicking the tires...", "Shaking loose the cobwebs...", "Dusting off the neurons...", "Greasing the gears...", "Oiling the cogs...", "Winding up the clockwork...", "Stoking the furnace...", "Feeding the machine...", "Watering the logic tree...", "Pruning the decision branches...", "Harvesting the outputs...", "Planting computational seeds...", "Nurturing the algorithm...", "Raising the exceptions...", "Taming wild pointers...", "Herding cats in memory...", "Teaching old code new tricks...", "Whispering sweet nothings to the compiler...", "Serenading the syntax...", "Dancing with dependencies...", "Waltzing through the codebase...", "Tangoing with type errors...", "Doing the deployment dance...", "Having a moment of clarity...", "Experiencing a flash of insight...", "Channeling the ancient developers...", "Receiving transmissions from the cloud...", "Asking the hamsters to run faster...", "Convincing the pixels to cooperate...", "Teaching electrons new tricks...", "Bribing the byte fairies...", "Whispering passwords to the void...", "Negotiating with cosmic rays...", "Flattering the floating points...", "Seducing the semicolons...", "Wooing the while loops...", "Charming the curly braces...", "Hypnotizing the hash tables...", "Mesmerizing the memory banks...", "Enchanting the error handlers...", "Bewitching the boolean logic...", "Spellbinding the stack frames...", "Hexing the hexadecimals...", "Jinxing the JSON parsers...", "Cursing the cache misses...", "Blessing the build process...", "Anointing the algorithms...", "Consecrating the callbacks...", "Sanctifying the source code...", "Exorcising the exceptions...", "Purifying the parameters...", "Cleansing the closures...", "Baptizing the binary...", "Absolving the abstractions...", "Redeeming the recursion...", "Forgiving the for loops...", "Pardoning the pointers...", "Liberating the lambdas...", "Emancipating the enums...", "Freeing the functions...", "Releasing the references...", "Unbinding the variables...", "Untying the type knots...", "Unraveling the regex...", "Decoding the mysteries...", "Cracking the conundrums...", "Solving the riddles of RAM...", "Unlocking the secrets of silicon...", "Discovering hidden semicolons...", "Unearthing buried bugs...", "Excavating ancient APIs...", "Archeologically analyzing the architecture...", "Fossil hunting in the functions...", "Spelunking through the stack...", "Scuba diving in the data...", "Snorkeling through the streams...", "Parasailing past the parameters...", "Hang gliding through the heap...", "Bungee jumping into the backend...", "Skydiving through the source...", "Surfing the syntax waves...", "Skateboarding down the stack trace...", "Snowboarding through the schemas...", "Mountain climbing the modules...", "Hiking through the headers...", "Trekking through the trees...", "Backpacking through the binaries...", "Camping in the codebase...", "Glamping in the globals...", "Picnicking with the processes...", "Barbecuing the bugs...", "Roasting the race conditions...", "Grilling the glitches...", "Sautéing the syntax errors...", "Flambéing the failures...", "Caramelizing the callbacks...", "Braising the breakpoints...", "Poaching the pointers...", "Blanching the branches...", "Searing the segments...", "Smoking the subroutines...", "Curing the code smells...", "Pickling the packages...", "Preserving the protocols...", "Canning the constants...", "Bottling the buffers...", "Jarring the JavaScript...", "Decanting the data structures...", "Aerating the arrays...", "Letting the logic breathe...", "Aging the algorithms gracefully...", "Maturing the methods...", "Ripening the results...", "Seasoning the solutions...", "Spicing up the specs...", "Garnishing the getters...", "Plating the output nicely...", "Presenting with pizzazz...", "Adding a dash of elegance...", "Sprinkling some magic dust...", "Drizzling debug sauce...", "Folding in the features...", "Whisking the widgets...", "Kneading the namespaces...", "Rolling out the runtime...", "Proofing the promises...", "Letting the dough rise...", "Baking at 350 kilobytes...", "Frosting the functions...", "Decorating the deployment...", "Icing the interfaces...", "Glazing the graphics...", "Topping with tests...", "Cherry-picking the commits..."];
|
|
4
5
|
export declare function pickWhimsicalWorkingMessage(): string;
|
|
5
6
|
//# sourceMappingURL=whimsical-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whimsical-messages.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive/whimsical-messages.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"whimsical-messages.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive/whimsical-messages.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,0BAA0B,YAErC,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,YAAY,EACZ,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,EACb,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,aAAa,EACb,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,eAAe,EACf,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,cAAc,EACd,kB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AC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,8BAA8B,EAC9B,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,CACvB,CAAC;AAEX,wBAAgB,2BAA2B,IAAI,MAAM,CAEpD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Whimsical working messages cycled into the interactive loader between turns.
|
|
3
3
|
*/
|
|
4
|
-
const
|
|
4
|
+
export const WHIMSICAL_WORKING_MESSAGES = [
|
|
5
5
|
// Short
|
|
6
6
|
"Schlepping...",
|
|
7
7
|
"Combobulating...",
|
|
@@ -459,6 +459,6 @@ const messages = [
|
|
|
459
459
|
"Cherry-picking the commits...",
|
|
460
460
|
];
|
|
461
461
|
export function pickWhimsicalWorkingMessage() {
|
|
462
|
-
return
|
|
462
|
+
return WHIMSICAL_WORKING_MESSAGES[Math.floor(Math.random() * WHIMSICAL_WORKING_MESSAGES.length)];
|
|
463
463
|
}
|
|
464
464
|
//# sourceMappingURL=whimsical-messages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whimsical-messages.js","sourceRoot":"","sources":["../../../src/modes/interactive/whimsical-messages.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,QAAQ,GAAG;IACf,QAAQ;IACR,eAAe;IACf,kBAAkB;IAClB,UAAU;IACV,gBAAgB;IAChB,WAAW;IACX,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,kBAAkB;IAClB,aAAa;IACb,eAAe;IACf,YAAY;IACZ,uBAAuB;IACvB,aAAa;IACb,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,eAAe;IACf,eAAe;IACf,cAAc;IACd,aAAa;IACb,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,WAAW;IACX,cAAc;IACd,YAAY;IACZ,gBAAgB;IAChB,kBAAkB;IAClB,cAAc;IACd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d,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,aAAa;IACb,eAAe;IACf,eAAe;IACf,aAAa;IACb,aAAa;IACb,aAAa;IACb,eAAe;IACf,cAAc;IACd,cAAc;IACd,gBAAgB;IAChB,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,gBAAgB;IAChB,eAAe;IACf,kBAAkB;IAClB,eAAe;IACf,aAAa;IACb,eAAe;IACf,eAAe;IACf,cAAc;IACd,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,cAAc;IACd,cAAc;IACd,eAAe;IACf,eAAe;IACf,cAAc;IACd,eAAe;IACf,cAAc;IACd,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,cAAc;IACd,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,eAAe;IACf,cAAc;IACd,eAAe;IACf,eAAe;IACf,cAAc;IACd,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,eAAe;IACf,eAAe;IACf,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,eAAe;IACf,eAAe;IACf,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,YAAY;IACZ,cAAc;IACd,cAAc;IACd,aAAa;IACb,aAAa;IACb,aAAa;IACb,YAAY;IACZ,aAAa;IACb,cAAc;IACd,aAAa;IACb,aAAa;IACb,cAAc;IACd,aAAa;IACb,cAAc;IACd,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,YAAY;IACZ,eAAe;IACf,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,a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BAA4B;IAC5B,kCAAkC;IAClC,wBAAwB;IACxB,iCAAiC;IACjC,0BAA0B;IAC1B,+BAA+B;IAC/B,2BAA2B;IAC3B,+BAA+B;IAC/B,6BAA6B;IAC7B,0BAA0B;IAC1B,2BAA2B;IAC3B,yBAAyB;IACzB,4BAA4B;IAC5B,2BAA2B;IAC3B,0BAA0B;IAC1B,6BAA6B;IAC7B,0BAA0B;IAC1B,yBAAyB;IACzB,2BAA2B;IAC3B,kCAAkC;IAClC,wBAAwB;IACxB,8BAA8B;IAC9B,oCAAoC;IACpC,yBAAyB;IACzB,yBAAyB;IACzB,4BAA4B;IAC5B,yBAAyB;IACzB,2BAA2B;IAC3B,8BAA8B;IAC9B,4BAA4B;IAC5B,8BAA8B;IAC9B,+BAA+B;IAC/B,0BAA0B;IAC1B,4BAA4B;IAC5B,yBAAyB;IACzB,4BAA4B;IAC5B,4BAA4B;IAC5B,0BAA0B;IAC1B,2BAA2B;IAC3B,4BAA4B;IAC5B,2BAA2B;IAC3B,8BAA8B;IAC9B,yBAAyB;IACzB,yBAAyB;IACzB,uBAAuB;IACvB,+BAA+B;CAChC,CAAC;AAEF,MAAM,UAAU,2BAA2B;IACzC,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/D,CAAC","sourcesContent":["/**\n * Whimsical working messages cycled into the interactive loader between turns.\n */\n\nconst messages = [\n // Short\n \"Schlepping...\",\n \"Combobulating...\",\n \"Doing...\",\n \"Channelling...\",\n \"Vibing...\",\n \"Concocting...\",\n \"Spelunking...\",\n \"Transmuting...\",\n \"Imagining...\",\n \"Pontificating...\",\n \"Whirring...\",\n \"Cogitating...\",\n \"Honking...\",\n \"Flibbertigibbeting...\",\n \"Noodling...\",\n \"Percolating...\",\n \"Ruminating...\",\n \"Simmering...\",\n \"Marinating...\",\n \"Fermenting...\",\n \"Gestating...\",\n \"Hatching...\",\n \"Brewing...\",\n \"Steeping...\",\n \"Contemplating...\",\n \"Musing...\",\n \"Pondering...\",\n \"Mulling...\",\n \"Daydreaming...\",\n \"Woolgathering...\",\n \"Dithering...\",\n \"Faffing...\",\n \"Puttering...\",\n \"Tinkering...\",\n \"Fiddling...\",\n \"Noodging...\",\n \"Finagling...\",\n \"Wrangling...\",\n \"Jiggling...\",\n \"Wiggling...\",\n \"Shimmying...\",\n \"Galumphing...\",\n \"Perambulating...\",\n \"Meandering...\",\n \"Traipsing...\",\n \"Moseying...\",\n \"Sauntering...\",\n \"Ambling...\",\n \"Pottering...\",\n \"Bumbling...\",\n \"Futzing...\",\n \"Schmalzing...\",\n \"Kerfuffling...\",\n \"Bamboozling...\",\n \"Discombobulating...\",\n \"Recombobulating...\",\n \"Unbefuddling...\",\n \"Defenestrating...\",\n \"Confabulating...\",\n \"Persnicketing...\",\n \"Flummoxing...\",\n \"Befuddling...\",\n \"Snorkeling...\",\n \"Yodeling...\",\n \"Zigzagging...\",\n \"Ricocheting...\",\n \"Somersaulting...\",\n \"Pirouetting...\",\n \"Canoodling...\",\n \"Schmoozing...\",\n \"Kibbitzing...\",\n \"Skedaddling...\",\n \"Scampering...\",\n \"Skittering...\",\n \"Sashaying...\",\n \"Swashbuckling...\",\n \"Oscillating...\",\n \"Undulating...\",\n \"Pulsating...\",\n \"Effervescing...\",\n \"Fizzing...\",\n \"Bubbling...\",\n \"Perplexing...\",\n \"Mystifying...\",\n \"Enchanting...\",\n \"Bewitching...\",\n \"Beguiling...\",\n \"Mesmerizing...\",\n \"Bedazzling...\",\n \"Sparkling...\",\n \"Glittering...\",\n \"Scintillating...\",\n \"Coruscating...\",\n \"Phosphorescing...\",\n \"Luminescing...\",\n \"Sublimating...\",\n \"Synthesizing...\",\n \"Amalgamating...\",\n \"Procrastinating...\",\n \"Dillydallying...\",\n \"Lollygagging...\",\n \"Dawdling...\",\n \"Malingering...\",\n \"Skulking...\",\n \"Lurking...\",\n \"Sleuthing...\",\n \"Rummaging...\",\n \"Fossicking...\",\n \"Foraging...\",\n \"Scavenging...\",\n \"Absquatulating...\",\n \"Vamoosing...\",\n \"Absconding...\",\n \"Grooving...\",\n \"Jamming...\",\n \"Improvising...\",\n \"Extemporizing...\",\n \"Freestyling...\",\n \"Frolicking...\",\n \"Gamboling...\",\n \"Blorping...\",\n \"Flonking...\",\n \"Snurfling...\",\n \"Whomping...\",\n \"Zorping...\",\n \"Biffing...\",\n \"Splunging...\",\n \"Thwacking...\",\n \"Gonkulating...\",\n \"Splorfing...\",\n \"Wibbling...\",\n \"Wobbling...\",\n \"Squonking...\",\n \"Plonking...\",\n \"Bonking...\",\n \"Zonking...\",\n \"Flumping...\",\n \"Clomping...\",\n \"Squelching...\",\n \"Schlurping...\",\n \"Glurping...\",\n \"Burbling...\",\n \"Gurgling...\",\n \"Splooshing...\",\n \"Whooshing...\",\n \"Swooshing...\",\n \"Kerplunking...\",\n \"Thunking...\",\n \"Clunking...\",\n \"Clanking...\",\n \"Rattling...\",\n \"Jostling...\",\n \"Rustling...\",\n \"Bustling...\",\n \"Hustling...\",\n \"Miffing...\",\n \"Boffing...\",\n \"Snazzifying...\",\n \"Pizzazzing...\",\n \"Razzmatazzing...\",\n \"Bedoodling...\",\n \"Doodling...\",\n \"Scribbling...\",\n \"Squiggling...\",\n \"Wriggling...\",\n \"Niggling...\",\n \"Higgling...\",\n \"Piggling...\",\n \"Figgling...\",\n \"Gibbering...\",\n \"Jabbering...\",\n \"Blathering...\",\n \"Blithering...\",\n \"Withering...\",\n \"Slithering...\",\n \"Tethering...\",\n \"Feathering...\",\n \"Weathering...\",\n \"Leathering...\",\n \"Heathering...\",\n \"Smoldering...\",\n \"Moldering...\",\n \"Shouldering...\",\n \"Bouldering...\",\n \"Tottering...\",\n \"Teetering...\",\n \"Tittering...\",\n \"Flittering...\",\n \"Jittering...\",\n \"Frittering...\",\n \"Twittering...\",\n \"Nattering...\",\n \"Chattering...\",\n \"Clattering...\",\n \"Splattering...\",\n \"Battering...\",\n \"Scattering...\",\n \"Shattering...\",\n \"Flattering...\",\n \"Pattering...\",\n \"Tattering...\",\n \"Mattering...\",\n \"Yammering...\",\n \"Hammering...\",\n \"Stammering...\",\n \"Clamoring...\",\n \"Glamoring...\",\n \"Enamoring...\",\n \"Shimmering...\",\n \"Glimmering...\",\n \"Brimming...\",\n \"Skimming...\",\n \"Trimming...\",\n \"Primming...\",\n \"Whimming...\",\n \"Humming...\",\n \"Strumming...\",\n \"Thrumming...\",\n \"Drumming...\",\n \"Plumbing...\",\n \"Thumbing...\",\n \"Numbing...\",\n \"Fumbling...\",\n \"Grumbling...\",\n \"Mumbling...\",\n \"Rumbling...\",\n \"Stumbling...\",\n \"Tumbling...\",\n \"Crumbling...\",\n \"Jumbling...\",\n \"Humbling...\",\n \"Bungling...\",\n \"Jungling...\",\n \"Mangling...\",\n \"Wangling...\",\n \"Dangling...\",\n \"Tangling...\",\n \"Jangling...\",\n \"Angling...\",\n \"Struggling...\",\n \"Mingling...\",\n \"Tingling...\",\n \"Jingling...\",\n \"Singling...\",\n \"Ringling...\",\n \"Kingling...\",\n\n // Long\n \"Consulting the void...\",\n \"Asking the electrons...\",\n \"Bribing the compiler...\",\n \"Negotiating with entropy...\",\n \"Whispering to the bits...\",\n \"Tickling the stack...\",\n \"Massaging the heap...\",\n \"Appeasing the garbage collector...\",\n \"Summoning semicolons...\",\n \"Herding pointers...\",\n \"Untangling spaghetti...\",\n \"Polishing the algorithms...\",\n \"Waxing philosophical...\",\n \"Consulting ancient scrolls...\",\n \"Reading tea leaves...\",\n \"Shaking the magic 8-ball...\",\n \"Sacrificing to the demo gods...\",\n \"Warming up the hamsters...\",\n \"Spinning up the squirrels...\",\n \"Caffeinating...\",\n \"Existentially questioning...\",\n \"Having a little think...\",\n \"Stroking chin thoughtfully...\",\n \"Squinting at the problem...\",\n \"Staring into the abyss...\",\n \"Abyss staring back...\",\n \"Achieving enlightenment...\",\n \"Transcending mere computation...\",\n \"Ascending to a higher plane...\",\n \"Communing with the machine spirit...\",\n \"Performing arcane rituals...\",\n \"Invoking elder functions...\",\n \"Consulting the oracle...\",\n \"Divining the answer...\",\n \"Scrying the codebase...\",\n \"Dowsing for bugs...\",\n \"Rearranging deck chairs...\",\n \"Shuffling bits around...\",\n \"Aligning the chakras...\",\n \"Reticulating splines...\",\n \"Reversing the polarity...\",\n \"Calibrating the flux capacitor...\",\n \"Charging the crystals...\",\n \"Tuning the vibrations...\",\n \"Adjusting the cosmic frequency...\",\n \"Waiting for a sign...\",\n \"Hoping for the best...\",\n \"Manifesting solutions...\",\n \"Willing it into existence...\",\n \"Believing really hard...\",\n \"Politely asking the CPU...\",\n \"Bribing the runtime...\",\n \"Flirting with the database...\",\n \"Sweet-talking the API...\",\n \"Negotiating with deadlines...\",\n \"Having words with the cache...\",\n \"Reasoning with the memory...\",\n \"Pleading with the logs...\",\n \"Bargaining with fate...\",\n \"Making offerings to the CI...\",\n \"Praying to the uptime gods...\",\n \"Consulting the rubber duck...\",\n \"Interrogating the stack trace...\",\n \"Cross-examining the debugger...\",\n \"Petitioning the kernel...\",\n \"Lobbying the scheduler...\",\n \"Schmoozing the network...\",\n \"Buttering up the firewall...\",\n \"Wining and dining the servers...\",\n \"Taking the bytes out for lunch...\",\n \"Giving the code a pep talk...\",\n \"Reading the room...\",\n \"Checking under the hood...\",\n \"Kicking the tires...\",\n \"Shaking loose the cobwebs...\",\n \"Dusting off the neurons...\",\n \"Greasing the gears...\",\n \"Oiling the cogs...\",\n \"Winding up the clockwork...\",\n \"Stoking the furnace...\",\n \"Feeding the machine...\",\n \"Watering the logic tree...\",\n \"Pruning the decision branches...\",\n \"Harvesting the outputs...\",\n \"Planting computational seeds...\",\n \"Nurturing the algorithm...\",\n \"Raising the exceptions...\",\n \"Taming wild pointers...\",\n \"Herding cats in memory...\",\n \"Teaching old code new tricks...\",\n \"Whispering sweet nothings to the compiler...\",\n \"Serenading the syntax...\",\n \"Dancing with dependencies...\",\n \"Waltzing through the codebase...\",\n \"Tangoing with type errors...\",\n \"Doing the deployment dance...\",\n \"Having a moment of clarity...\",\n \"Experiencing a flash of insight...\",\n \"Channeling the ancient developers...\",\n \"Receiving transmissions from the cloud...\",\n \"Asking the hamsters to run faster...\",\n \"Convincing the pixels to cooperate...\",\n \"Teaching electrons new tricks...\",\n \"Bribing the byte fairies...\",\n \"Whispering passwords to the void...\",\n \"Negotiating with cosmic rays...\",\n \"Flattering the floating points...\",\n \"Seducing the semicolons...\",\n \"Wooing the while loops...\",\n \"Charming the curly braces...\",\n \"Hypnotizing the hash tables...\",\n \"Mesmerizing the memory banks...\",\n \"Enchanting the error handlers...\",\n \"Bewitching the boolean logic...\",\n \"Spellbinding the stack frames...\",\n \"Hexing the hexadecimals...\",\n \"Jinxing the JSON parsers...\",\n \"Cursing the cache misses...\",\n \"Blessing the build process...\",\n \"Anointing the algorithms...\",\n \"Consecrating the callbacks...\",\n \"Sanctifying the source code...\",\n \"Exorcising the exceptions...\",\n \"Purifying the parameters...\",\n \"Cleansing the closures...\",\n \"Baptizing the binary...\",\n \"Absolving the abstractions...\",\n \"Redeeming the recursion...\",\n \"Forgiving the for loops...\",\n \"Pardoning the pointers...\",\n \"Liberating the lambdas...\",\n \"Emancipating the enums...\",\n \"Freeing the functions...\",\n \"Releasing the references...\",\n \"Unbinding the variables...\",\n \"Untying the type knots...\",\n \"Unraveling the regex...\",\n \"Decoding the mysteries...\",\n \"Cracking the conundrums...\",\n \"Solving the riddles of RAM...\",\n \"Unlocking the secrets of silicon...\",\n \"Discovering hidden semicolons...\",\n \"Unearthing buried bugs...\",\n \"Excavating ancient APIs...\",\n \"Archeologically analyzing the architecture...\",\n \"Fossil hunting in the functions...\",\n \"Spelunking through the stack...\",\n \"Scuba diving in the data...\",\n \"Snorkeling through the streams...\",\n \"Parasailing past the parameters...\",\n \"Hang gliding through the heap...\",\n \"Bungee jumping into the backend...\",\n \"Skydiving through the source...\",\n \"Surfing the syntax waves...\",\n \"Skateboarding down the stack trace...\",\n \"Snowboarding through the schemas...\",\n \"Mountain climbing the modules...\",\n \"Hiking through the headers...\",\n \"Trekking through the trees...\",\n \"Backpacking through the binaries...\",\n \"Camping in the codebase...\",\n \"Glamping in the globals...\",\n \"Picnicking with the processes...\",\n \"Barbecuing the bugs...\",\n \"Roasting the race conditions...\",\n \"Grilling the glitches...\",\n \"Sautéing the syntax errors...\",\n \"Flambéing the failures...\",\n \"Caramelizing the callbacks...\",\n \"Braising the breakpoints...\",\n \"Poaching the pointers...\",\n \"Blanching the branches...\",\n \"Searing the segments...\",\n \"Smoking the subroutines...\",\n \"Curing the code smells...\",\n \"Pickling the packages...\",\n \"Preserving the protocols...\",\n \"Canning the constants...\",\n \"Bottling the buffers...\",\n \"Jarring the JavaScript...\",\n \"Decanting the data structures...\",\n \"Aerating the arrays...\",\n \"Letting the logic breathe...\",\n \"Aging the algorithms gracefully...\",\n \"Maturing the methods...\",\n \"Ripening the results...\",\n \"Seasoning the solutions...\",\n \"Spicing up the specs...\",\n \"Garnishing the getters...\",\n \"Plating the output nicely...\",\n \"Presenting with pizzazz...\",\n \"Adding a dash of elegance...\",\n \"Sprinkling some magic dust...\",\n \"Drizzling debug sauce...\",\n \"Folding in the features...\",\n \"Whisking the widgets...\",\n \"Kneading the namespaces...\",\n \"Rolling out the runtime...\",\n \"Proofing the promises...\",\n \"Letting the dough rise...\",\n \"Baking at 350 kilobytes...\",\n \"Frosting the functions...\",\n \"Decorating the deployment...\",\n \"Icing the interfaces...\",\n \"Glazing the graphics...\",\n \"Topping with tests...\",\n \"Cherry-picking the commits...\",\n];\n\nexport function pickWhimsicalWorkingMessage(): string {\n return messages[Math.floor(Math.random() * messages.length)];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"whimsical-messages.js","sourceRoot":"","sources":["../../../src/modes/interactive/whimsical-messages.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ;IACR,eAAe;IACf,kBAAkB;IAClB,UAAU;I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interactive loader between turns.\n */\n\nexport const WHIMSICAL_WORKING_MESSAGES = [\n // Short\n \"Schlepping...\",\n \"Combobulating...\",\n \"Doing...\",\n \"Channelling...\",\n \"Vibing...\",\n \"Concocting...\",\n \"Spelunking...\",\n \"Transmuting...\",\n \"Imagining...\",\n \"Pontificating...\",\n \"Whirring...\",\n \"Cogitating...\",\n \"Honking...\",\n \"Flibbertigibbeting...\",\n \"Noodling...\",\n \"Percolating...\",\n \"Ruminating...\",\n \"Simmering...\",\n \"Marinating...\",\n \"Fermenting...\",\n \"Gestating...\",\n \"Hatching...\",\n \"Brewing...\",\n \"Steeping...\",\n \"Contemplating...\",\n \"Musing...\",\n \"Pondering...\",\n \"Mulling...\",\n \"Daydreaming...\",\n \"Woolgathering...\",\n \"Dithering...\",\n \"Faffing...\",\n \"Puttering...\",\n \"Tinkering...\",\n \"Fiddling...\",\n \"Noodging...\",\n \"Finagling...\",\n \"Wrangling...\",\n \"Jiggling...\",\n \"Wiggling...\",\n \"Shimmying...\",\n \"Galumphing...\",\n \"Perambulating...\",\n \"Meandering...\",\n \"Traipsing...\",\n \"Moseying...\",\n \"Sauntering...\",\n \"Ambling...\",\n \"Pottering...\",\n \"Bumbling...\",\n \"Futzing...\",\n \"Schmalzing...\",\n \"Kerfuffling...\",\n \"Bamboozling...\",\n \"Discombobulating...\",\n \"Recombobulating...\",\n \"Unbefuddling...\",\n \"Defenestrating...\",\n \"Confabulating...\",\n \"Persnicketing...\",\n \"Flummoxing...\",\n \"Befuddling...\",\n \"Snorkeling...\",\n \"Yodeling...\",\n \"Zigzagging...\",\n \"Ricocheting...\",\n \"Somersaulting...\",\n \"Pirouetting...\",\n \"Canoodling...\",\n \"Schmoozing...\",\n \"Kibbitzing...\",\n \"Skedaddling...\",\n \"Scampering...\",\n \"Skittering...\",\n \"Sashaying...\",\n \"Swashbuckling...\",\n \"Oscillating...\",\n \"Undulating...\",\n \"Pulsating...\",\n \"Effervescing...\",\n \"Fizzing...\",\n \"Bubbling...\",\n \"Perplexing...\",\n \"Mystifying...\",\n \"Enchanting...\",\n \"Bewitching...\",\n \"Beguiling...\",\n \"Mesmerizing...\",\n \"Bedazzling...\",\n \"Sparkling...\",\n \"Glittering...\",\n \"Scintillating...\",\n \"Coruscating...\",\n \"Phosphorescing...\",\n \"Luminescing...\",\n \"Sublimating...\",\n \"Synthesizing...\",\n \"Amalgamating...\",\n \"Procrastinating...\",\n \"Dillydallying...\",\n \"Lollygagging...\",\n \"Dawdling...\",\n \"Malingering...\",\n \"Skulking...\",\n \"Lurking...\",\n \"Sleuthing...\",\n \"Rummaging...\",\n \"Fossicking...\",\n \"Foraging...\",\n \"Scavenging...\",\n \"Absquatulating...\",\n \"Vamoosing...\",\n \"Absconding...\",\n \"Grooving...\",\n \"Jamming...\",\n \"Improvising...\",\n \"Extemporizing...\",\n \"Freestyling...\",\n \"Frolicking...\",\n \"Gamboling...\",\n \"Blorping...\",\n \"Flonking...\",\n \"Snurfling...\",\n \"Whomping...\",\n \"Zorping...\",\n \"Biffing...\",\n \"Splunging...\",\n \"Thwacking...\",\n \"Gonkulating...\",\n \"Splorfing...\",\n \"Wibbling...\",\n \"Wobbling...\",\n \"Squonking...\",\n \"Plonking...\",\n \"Bonking...\",\n \"Zonking...\",\n \"Flumping...\",\n \"Clomping...\",\n \"Squelching...\",\n \"Schlurping...\",\n \"Glurping...\",\n \"Burbling...\",\n \"Gurgling...\",\n \"Splooshing...\",\n \"Whooshing...\",\n \"Swooshing...\",\n \"Kerplunking...\",\n \"Thunking...\",\n \"Clunking...\",\n \"Clanking...\",\n \"Rattling...\",\n \"Jostling...\",\n \"Rustling...\",\n \"Bustling...\",\n \"Hustling...\",\n \"Miffing...\",\n \"Boffing...\",\n \"Snazzifying...\",\n \"Pizzazzing...\",\n \"Razzmatazzing...\",\n \"Bedoodling...\",\n \"Doodling...\",\n \"Scribbling...\",\n \"Squiggling...\",\n \"Wriggling...\",\n \"Niggling...\",\n \"Higgling...\",\n \"Piggling...\",\n \"Figgling...\",\n \"Gibbering...\",\n \"Jabbering...\",\n \"Blathering...\",\n \"Blithering...\",\n \"Withering...\",\n \"Slithering...\",\n \"Tethering...\",\n \"Feathering...\",\n \"Weathering...\",\n \"Leathering...\",\n \"Heathering...\",\n \"Smoldering...\",\n \"Moldering...\",\n \"Shouldering...\",\n \"Bouldering...\",\n \"Tottering...\",\n \"Teetering...\",\n \"Tittering...\",\n \"Flittering...\",\n \"Jittering...\",\n \"Frittering...\",\n \"Twittering...\",\n \"Nattering...\",\n \"Chattering...\",\n \"Clattering...\",\n \"Splattering...\",\n \"Battering...\",\n \"Scattering...\",\n \"Shattering...\",\n \"Flattering...\",\n \"Pattering...\",\n \"Tattering...\",\n \"Mattering...\",\n \"Yammering...\",\n \"Hammering...\",\n \"Stammering...\",\n \"Clamoring...\",\n \"Glamoring...\",\n \"Enamoring...\",\n \"Shimmering...\",\n \"Glimmering...\",\n \"Brimming...\",\n \"Skimming...\",\n \"Trimming...\",\n \"Primming...\",\n \"Whimming...\",\n \"Humming...\",\n \"Strumming...\",\n \"Thrumming...\",\n \"Drumming...\",\n \"Plumbing...\",\n \"Thumbing...\",\n \"Numbing...\",\n \"Fumbling...\",\n \"Grumbling...\",\n \"Mumbling...\",\n \"Rumbling...\",\n \"Stumbling...\",\n \"Tumbling...\",\n \"Crumbling...\",\n \"Jumbling...\",\n \"Humbling...\",\n \"Bungling...\",\n \"Jungling...\",\n \"Mangling...\",\n \"Wangling...\",\n \"Dangling...\",\n \"Tangling...\",\n \"Jangling...\",\n \"Angling...\",\n \"Struggling...\",\n \"Mingling...\",\n \"Tingling...\",\n \"Jingling...\",\n \"Singling...\",\n \"Ringling...\",\n \"Kingling...\",\n\n // Long\n \"Consulting the void...\",\n \"Asking the electrons...\",\n \"Bribing the compiler...\",\n \"Negotiating with entropy...\",\n \"Whispering to the bits...\",\n \"Tickling the stack...\",\n \"Massaging the heap...\",\n \"Appeasing the garbage collector...\",\n \"Summoning semicolons...\",\n \"Herding pointers...\",\n \"Untangling spaghetti...\",\n \"Polishing the algorithms...\",\n \"Waxing philosophical...\",\n \"Consulting ancient scrolls...\",\n \"Reading tea leaves...\",\n \"Shaking the magic 8-ball...\",\n \"Sacrificing to the demo gods...\",\n \"Warming up the hamsters...\",\n \"Spinning up the squirrels...\",\n \"Caffeinating...\",\n \"Existentially questioning...\",\n \"Having a little think...\",\n \"Stroking chin thoughtfully...\",\n \"Squinting at the problem...\",\n \"Staring into the abyss...\",\n \"Abyss staring back...\",\n \"Achieving enlightenment...\",\n \"Transcending mere computation...\",\n \"Ascending to a higher plane...\",\n \"Communing with the machine spirit...\",\n \"Performing arcane rituals...\",\n \"Invoking elder functions...\",\n \"Consulting the oracle...\",\n \"Divining the answer...\",\n \"Scrying the codebase...\",\n \"Dowsing for bugs...\",\n \"Rearranging deck chairs...\",\n \"Shuffling bits around...\",\n \"Aligning the chakras...\",\n \"Reticulating splines...\",\n \"Reversing the polarity...\",\n \"Calibrating the flux capacitor...\",\n \"Charging the crystals...\",\n \"Tuning the vibrations...\",\n \"Adjusting the cosmic frequency...\",\n \"Waiting for a sign...\",\n \"Hoping for the best...\",\n \"Manifesting solutions...\",\n \"Willing it into existence...\",\n \"Believing really hard...\",\n \"Politely asking the CPU...\",\n \"Bribing the runtime...\",\n \"Flirting with the database...\",\n \"Sweet-talking the API...\",\n \"Negotiating with deadlines...\",\n \"Having words with the cache...\",\n \"Reasoning with the memory...\",\n \"Pleading with the logs...\",\n \"Bargaining with fate...\",\n \"Making offerings to the CI...\",\n \"Praying to the uptime gods...\",\n \"Consulting the rubber duck...\",\n \"Interrogating the stack trace...\",\n \"Cross-examining the debugger...\",\n \"Petitioning the kernel...\",\n \"Lobbying the scheduler...\",\n \"Schmoozing the network...\",\n \"Buttering up the firewall...\",\n \"Wining and dining the servers...\",\n \"Taking the bytes out for lunch...\",\n \"Giving the code a pep talk...\",\n \"Reading the room...\",\n \"Checking under the hood...\",\n \"Kicking the tires...\",\n \"Shaking loose the cobwebs...\",\n \"Dusting off the neurons...\",\n \"Greasing the gears...\",\n \"Oiling the cogs...\",\n \"Winding up the clockwork...\",\n \"Stoking the furnace...\",\n \"Feeding the machine...\",\n \"Watering the logic tree...\",\n \"Pruning the decision branches...\",\n \"Harvesting the outputs...\",\n \"Planting computational seeds...\",\n \"Nurturing the algorithm...\",\n \"Raising the exceptions...\",\n \"Taming wild pointers...\",\n \"Herding cats in memory...\",\n \"Teaching old code new tricks...\",\n \"Whispering sweet nothings to the compiler...\",\n \"Serenading the syntax...\",\n \"Dancing with dependencies...\",\n \"Waltzing through the codebase...\",\n \"Tangoing with type errors...\",\n \"Doing the deployment dance...\",\n \"Having a moment of clarity...\",\n \"Experiencing a flash of insight...\",\n \"Channeling the ancient developers...\",\n \"Receiving transmissions from the cloud...\",\n \"Asking the hamsters to run faster...\",\n \"Convincing the pixels to cooperate...\",\n \"Teaching electrons new tricks...\",\n \"Bribing the byte fairies...\",\n \"Whispering passwords to the void...\",\n \"Negotiating with cosmic rays...\",\n \"Flattering the floating points...\",\n \"Seducing the semicolons...\",\n \"Wooing the while loops...\",\n \"Charming the curly braces...\",\n \"Hypnotizing the hash tables...\",\n \"Mesmerizing the memory banks...\",\n \"Enchanting the error handlers...\",\n \"Bewitching the boolean logic...\",\n \"Spellbinding the stack frames...\",\n \"Hexing the hexadecimals...\",\n \"Jinxing the JSON parsers...\",\n \"Cursing the cache misses...\",\n \"Blessing the build process...\",\n \"Anointing the algorithms...\",\n \"Consecrating the callbacks...\",\n \"Sanctifying the source code...\",\n \"Exorcising the exceptions...\",\n \"Purifying the parameters...\",\n \"Cleansing the closures...\",\n \"Baptizing the binary...\",\n \"Absolving the abstractions...\",\n \"Redeeming the recursion...\",\n \"Forgiving the for loops...\",\n \"Pardoning the pointers...\",\n \"Liberating the lambdas...\",\n \"Emancipating the enums...\",\n \"Freeing the functions...\",\n \"Releasing the references...\",\n \"Unbinding the variables...\",\n \"Untying the type knots...\",\n \"Unraveling the regex...\",\n \"Decoding the mysteries...\",\n \"Cracking the conundrums...\",\n \"Solving the riddles of RAM...\",\n \"Unlocking the secrets of silicon...\",\n \"Discovering hidden semicolons...\",\n \"Unearthing buried bugs...\",\n \"Excavating ancient APIs...\",\n \"Archeologically analyzing the architecture...\",\n \"Fossil hunting in the functions...\",\n \"Spelunking through the stack...\",\n \"Scuba diving in the data...\",\n \"Snorkeling through the streams...\",\n \"Parasailing past the parameters...\",\n \"Hang gliding through the heap...\",\n \"Bungee jumping into the backend...\",\n \"Skydiving through the source...\",\n \"Surfing the syntax waves...\",\n \"Skateboarding down the stack trace...\",\n \"Snowboarding through the schemas...\",\n \"Mountain climbing the modules...\",\n \"Hiking through the headers...\",\n \"Trekking through the trees...\",\n \"Backpacking through the binaries...\",\n \"Camping in the codebase...\",\n \"Glamping in the globals...\",\n \"Picnicking with the processes...\",\n \"Barbecuing the bugs...\",\n \"Roasting the race conditions...\",\n \"Grilling the glitches...\",\n \"Sautéing the syntax errors...\",\n \"Flambéing the failures...\",\n \"Caramelizing the callbacks...\",\n \"Braising the breakpoints...\",\n \"Poaching the pointers...\",\n \"Blanching the branches...\",\n \"Searing the segments...\",\n \"Smoking the subroutines...\",\n \"Curing the code smells...\",\n \"Pickling the packages...\",\n \"Preserving the protocols...\",\n \"Canning the constants...\",\n \"Bottling the buffers...\",\n \"Jarring the JavaScript...\",\n \"Decanting the data structures...\",\n \"Aerating the arrays...\",\n \"Letting the logic breathe...\",\n \"Aging the algorithms gracefully...\",\n \"Maturing the methods...\",\n \"Ripening the results...\",\n \"Seasoning the solutions...\",\n \"Spicing up the specs...\",\n \"Garnishing the getters...\",\n \"Plating the output nicely...\",\n \"Presenting with pizzazz...\",\n \"Adding a dash of elegance...\",\n \"Sprinkling some magic dust...\",\n \"Drizzling debug sauce...\",\n \"Folding in the features...\",\n \"Whisking the widgets...\",\n \"Kneading the namespaces...\",\n \"Rolling out the runtime...\",\n \"Proofing the promises...\",\n \"Letting the dough rise...\",\n \"Baking at 350 kilobytes...\",\n \"Frosting the functions...\",\n \"Decorating the deployment...\",\n \"Icing the interfaces...\",\n \"Glazing the graphics...\",\n \"Topping with tests...\",\n \"Cherry-picking the commits...\",\n] as const;\n\nexport function pickWhimsicalWorkingMessage(): string {\n return WHIMSICAL_WORKING_MESSAGES[Math.floor(Math.random() * WHIMSICAL_WORKING_MESSAGES.length)];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-isolated-runtime.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive-engine/create-isolated-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"create-isolated-runtime.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive-engine/create-isolated-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAEN,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,EACrC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAA8B,KAAK,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAEnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAEnE,wBAAsB,gCAAgC,CAAC,OAAO,EAAE;IAC/D,YAAY,EAAE,mBAAmB,CAAC;IAClC,aAAa,EAAE,gCAAgC,CAAC;IAChD,MAAM,EAAE,IAAI,CAAC;IACb,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,8BAA8B,CAAC;CAC1C,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAsCtC;AAED,wBAAsB,oBAAoB,CACzC,aAAa,EAAE,gCAAgC,EAC/C,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,cAAc,EAC9B,sBAAsB,EAAE,OAAO,EAC/B,2BAA2B,EAAE,OAAO,EACpC,MAAM,EAAE,IAAI,EACZ,SAAS,EAAE,8BAA8B,GACvC,OAAO,CAAC,mBAAmB,CAAC,CAO9B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { basename } from "node:path";
|
|
2
|
+
import { ENV_AGENT_DIR, getEnvValue } from "../../config.js";
|
|
2
3
|
import { createAgentSessionRuntime, } from "../../core/agent-session-runtime.js";
|
|
3
4
|
import { RpcClient } from "../rpc/rpc-client.js";
|
|
4
5
|
import { buildInteractiveEngineArgs } from "./engine-args.js";
|
|
@@ -12,13 +13,14 @@ export async function createIsolatedInteractiveRuntime(options) {
|
|
|
12
13
|
let isolatedRuntime;
|
|
13
14
|
const pendingDiagnostics = [];
|
|
14
15
|
let callbackActive = false;
|
|
16
|
+
const explicitAgentDir = getEnvValue(ENV_AGENT_DIR);
|
|
15
17
|
const client = new RpcClient({
|
|
16
18
|
cliPath,
|
|
17
19
|
cwd: options.sessionManager.getCwd(),
|
|
18
20
|
runtimeExecutable: process.execPath,
|
|
19
21
|
args: buildInteractiveEngineArgs(options.parsed, options.sessionManager, options.resources),
|
|
20
22
|
env: {
|
|
21
|
-
|
|
23
|
+
...(explicitAgentDir !== undefined ? { [ENV_AGENT_DIR]: explicitAgentDir } : {}),
|
|
22
24
|
...(options.parsed.apiKey ? { ATOMIC_INTERACTIVE_ENGINE_API_KEY: options.parsed.apiKey } : {}),
|
|
23
25
|
},
|
|
24
26
|
interactiveEngine: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-isolated-runtime.js","sourceRoot":"","sources":["../../../src/modes/interactive-engine/create-isolated-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EACN,yBAAyB,GAGzB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,0BAA0B,EAAuC,MAAM,kBAAkB,C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;IACvG,IAAI,CAAC,sBAAsB;QAAE,OAAO,YAAY,CAAC;IACjD,OAAO,gCAAgC,CAAC,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC,CAAC;AAC7G,CAAC","sourcesContent":["import { basename } from \"node:path\";\nimport type { Args } from \"../../cli/args.ts\";\nimport { ENV_AGENT_DIR, getEnvValue } from \"../../config.ts\";\nimport {\n\tcreateAgentSessionRuntime,\n\ttype AgentSessionRuntime,\n\ttype CreateAgentSessionRuntimeFactory,\n} from \"../../core/agent-session-runtime.ts\";\nimport type { SessionManager } from \"../../core/session-manager.ts\";\nimport { RpcClient } from \"../rpc/rpc-client.ts\";\nimport { buildInteractiveEngineArgs, type InteractiveEngineResourcePaths } from \"./engine-args.ts\";\nimport type { ActivityWatchdogDiagnostic } from \"./activity-watchdog.ts\";\nimport { IsolatedInteractiveRuntime } from \"./isolated-runtime.ts\";\n\nexport async function createIsolatedInteractiveRuntime(options: {\n\tlocalRuntime: AgentSessionRuntime;\n\tcreateRuntime: CreateAgentSessionRuntimeFactory;\n\tparsed: Args;\n\tsessionManager: SessionManager;\n\tresources: InteractiveEngineResourcePaths;\n}): Promise<IsolatedInteractiveRuntime> {\n\tconst executableName = basename(process.execPath).toLowerCase();\n\tconst launchedByRuntime = [\"bun\", \"bun.exe\", \"node\", \"node.exe\"].includes(executableName);\n\tconst cliPath = launchedByRuntime ? process.argv[1] : \"\";\n\tif (launchedByRuntime && !cliPath) throw new Error(\"Cannot start isolated interactive engine: Atomic entrypoint is unavailable\");\n\tlet isolatedRuntime: IsolatedInteractiveRuntime | undefined;\n\tconst pendingDiagnostics: ActivityWatchdogDiagnostic[] = [];\n\tlet callbackActive = false;\n\tconst explicitAgentDir = getEnvValue(ENV_AGENT_DIR);\n\tconst client = new RpcClient({\n\t\tcliPath,\n\t\tcwd: options.sessionManager.getCwd(),\n\t\truntimeExecutable: process.execPath,\n\t\targs: buildInteractiveEngineArgs(options.parsed, options.sessionManager, options.resources),\n\t\tenv: {\n\t\t\t...(explicitAgentDir !== undefined ? { [ENV_AGENT_DIR]: explicitAgentDir } : {}),\n\t\t\t...(options.parsed.apiKey ? { ATOMIC_INTERACTIVE_ENGINE_API_KEY: options.parsed.apiKey } : {}),\n\t\t},\n\t\tinteractiveEngine: {\n\t\t\tonDiagnostic: (diagnostic) => isolatedRuntime\n\t\t\t\t? isolatedRuntime.emitDiagnostic(diagnostic)\n\t\t\t\t: pendingDiagnostics.push(diagnostic),\n\t\t\tonActivityChange: (active) => {\n\t\t\t\tcallbackActive = active;\n\t\t\t\tisolatedRuntime?.setEngineCallbackActive(active);\n\t\t\t},\n\t\t},\n\t});\n\ttry {\n\t\tawait client.start();\n\t} catch (error) {\n\t\tawait client.stop();\n\t\tthrow error;\n\t}\n\tisolatedRuntime = new IsolatedInteractiveRuntime(options.localRuntime, options.createRuntime, client);\n\tisolatedRuntime.setEngineCallbackActive(callbackActive);\n\tfor (const diagnostic of pendingDiagnostics) isolatedRuntime.emitDiagnostic(diagnostic);\n\treturn isolatedRuntime;\n}\n\nexport async function createRuntimeForMode(\n\tcreateRuntime: CreateAgentSessionRuntimeFactory,\n\tcwd: string,\n\tagentDir: string,\n\tsessionManager: SessionManager,\n\tisolateInteractiveHost: boolean,\n\thasInlineExtensionFactories: boolean,\n\tparsed: Args,\n\tresources: InteractiveEngineResourcePaths,\n): Promise<AgentSessionRuntime> {\n\tif (isolateInteractiveHost && hasInlineExtensionFactories) {\n\t\tthrow new Error(\"Interactive engine isolation cannot serialize inline extension factories; load the extension from a module path instead.\");\n\t}\n\tconst localRuntime = await createAgentSessionRuntime(createRuntime, { cwd, agentDir, sessionManager });\n\tif (!isolateInteractiveHost) return localRuntime;\n\treturn createIsolatedInteractiveRuntime({ localRuntime, createRuntime, parsed, sessionManager, resources });\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-args.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-args.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,WAAW,8BAA8B;IAC9C,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B;AAYD,wBAAgB,0BAA0B,CACzC,MAAM,EAAE,IAAI,EACZ,cAAc,EAAE,cAAc,EAC9B,SAAS,EAAE,8BAA8B,GACvC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"engine-args.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-args.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,WAAW,8BAA8B;IAC9C,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B;AAYD,wBAAgB,0BAA0B,CACzC,MAAM,EAAE,IAAI,EACZ,cAAc,EAAE,cAAc,EAC9B,SAAS,EAAE,8BAA8B,GACvC,MAAM,EAAE,CAmCV"}
|
|
@@ -20,7 +20,6 @@ export function buildInteractiveEngineArgs(parsed, sessionManager, resources) {
|
|
|
20
20
|
appendValue(args, "--provider", parsed.provider);
|
|
21
21
|
appendValue(args, "--model", parsed.model);
|
|
22
22
|
appendValue(args, "--thinking", parsed.thinking);
|
|
23
|
-
appendValue(args, "--context-window", parsed.contextWindow);
|
|
24
23
|
appendValue(args, "--system-prompt", parsed.systemPrompt);
|
|
25
24
|
appendValues(args, "--append-system-prompt", parsed.appendSystemPrompt);
|
|
26
25
|
if (parsed.models)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-args.js","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-args.ts"],"names":[],"mappings":"AAUA,SAAS,WAAW,CAAC,IAAc,EAAE,IAAY,EAAE,KAA4C;IAC9F,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK;QAAE,OAAO;IACnD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChB,IAAI,KAAK,KAAK,IAAI;QAAE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAC9C,CAAC;AAED,SAAS,YAAY,CAAC,IAAc,EAAE,IAAY,EAAE,MAAqC;IACxF,KAAK,MAAM,KAAK,IAAI,MAAM,IAAI,EAAE;QAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,MAAM,UAAU,0BAA0B,CACzC,MAAY,EACZ,cAA8B,EAC9B,SAAyC;IAEzC,MAAM,IAAI,GAAa,EAAE,CAAC;IAC1B,MAAM,WAAW,GAAG,cAAc,CAAC,cAAc,EAAE,CAAC;IACpD,IAAI,MAAM,CAAC,SAAS,IAAI,CAAC,WAAW;QAAE,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;;QAC3D,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IACzC,WAAW,CAAC,IAAI,EAAE,eAAe,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;IACtD,WAAW,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;IACjD,WAAW,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM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SAAS,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAChD,WAAW,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;IAClD,WAAW,CAAC,IAAI,EAAE,oBAAoB,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC;IAC/D,WAAW,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/C,WAAW,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/C,IAAI,MAAM,CAAC,oBAAoB,KAAK,SAAS,EAAE,CAAC;QAC/C,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC;IACvE,CAAC;IACD,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC;QACjD,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QACvB,IAAI,KAAK,KAAK,IAAI;YAAE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9C,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC","sourcesContent":["import type { Args } from \"../../cli/args.ts\";\nimport type { SessionManager } from \"../../core/session-manager.ts\";\n\nexport interface InteractiveEngineResourcePaths {\n\textensions?: readonly string[];\n\tpromptTemplates?: readonly string[];\n\tskills?: readonly string[];\n\tthemes?: readonly string[];\n}\n\nfunction appendValue(args: string[], flag: string, value: boolean | number | string | undefined): void {\n\tif (value === undefined || value === false) return;\n\targs.push(flag);\n\tif (value !== true) args.push(String(value));\n}\n\nfunction appendValues(args: string[], flag: string, values: readonly string[] | undefined): void {\n\tfor (const value of values ?? []) args.push(flag, value);\n}\n\nexport function buildInteractiveEngineArgs(\n\tparsed: Args,\n\tsessionManager: SessionManager,\n\tresources: InteractiveEngineResourcePaths,\n): string[] {\n\tconst args: string[] = [];\n\tconst sessionFile = sessionManager.getSessionFile();\n\tif (parsed.noSession || !sessionFile) args.push(\"--no-session\");\n\telse args.push(\"--session\", sessionFile);\n\tappendValue(args, \"--session-dir\", parsed.sessionDir);\n\tappendValue(args, \"--provider\", parsed.provider);\n\tappendValue(args, \"--model\", parsed.model);\n\tappendValue(args, \"--thinking\", parsed.thinking);\n\tappendValue(args, \"--system-prompt\", parsed.systemPrompt);\n\tappendValues(args, \"--append-system-prompt\", parsed.appendSystemPrompt);\n\tif (parsed.models) appendValue(args, \"--models\", parsed.models.join(\",\"));\n\tif (parsed.tools) appendValue(args, \"--tools\", parsed.tools.join(\",\"));\n\tif (parsed.excludeTools) appendValue(args, \"--exclude-tools\", parsed.excludeTools.join(\",\"));\n\tappendValue(args, \"--no-tools\", parsed.noTools);\n\tappendValue(args, \"--no-builtin-tools\", parsed.noBuiltinTools);\n\tappendValues(args, \"--extension\", resources.extensions);\n\tappendValue(args, \"--no-extensions\", parsed.noExtensions);\n\tappendValues(args, \"--skill\", resources.skills);\n\tappendValue(args, \"--no-skills\", parsed.noSkills);\n\tappendValues(args, \"--prompt-template\", resources.promptTemplates);\n\tappendValue(args, \"--no-prompt-templates\", parsed.noPromptTemplates);\n\tappendValues(args, \"--theme\", resources.themes);\n\tappendValue(args, \"--no-themes\", parsed.noThemes);\n\tappendValue(args, \"--no-context-files\", parsed.noContextFiles);\n\tappendValue(args, \"--offline\", parsed.offline);\n\tappendValue(args, \"--verbose\", parsed.verbose);\n\tif (parsed.projectTrustOverride !== undefined) {\n\t\targs.push(parsed.projectTrustOverride ? \"--approve\" : \"--no-approve\");\n\t}\n\tfor (const [name, value] of parsed.unknownFlags) {\n\t\targs.push(`--${name}`);\n\t\tif (value !== true) args.push(String(value));\n\t}\n\treturn args;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-custom-ui.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-custom-ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAC;AAC9H,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"engine-custom-ui.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-custom-ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAC;AAC9H,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAG7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAY3D,UAAU,eAAe;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,cAAc,GAAG,CAAC,MAAM,cAAc,CAAC,CAAC;IACzD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,WAAW,CAAC;CACrB;AAmED,qBAAa,qBAAqB;IACjC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA6B;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAC7D,OAAO,CAAC,MAAM,CAAK;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAyB;IAC/C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAqB;IACjD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA8G;IAG7I,SAAS,CACR,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,KAAK,SAAS,GAAG;QAAE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earendil-works/pi-tui";
|
|
3
|
+
import { getAgentDir } from "../../config.js";
|
|
3
4
|
import { runCallback } from "../../core/callback-activity.js";
|
|
4
5
|
import { theme } from "../interactive/theme/theme.js";
|
|
5
|
-
import {
|
|
6
|
+
import { isJsonValue, parseInteractiveEngineCommand, serializeInteractiveEngineMessage, } from "./protocol.js";
|
|
6
7
|
class RemoteTerminal {
|
|
7
8
|
constructor(invalidate, control) {
|
|
8
9
|
this.columns = 80;
|
|
@@ -50,19 +51,6 @@ function jsonResult(value) {
|
|
|
50
51
|
throw new Error("Custom UI result is not JSON-safe");
|
|
51
52
|
return decoded;
|
|
52
53
|
}
|
|
53
|
-
function boundedLines(lines) {
|
|
54
|
-
let remaining = INTERACTIVE_ENGINE_MAX_FRAME_BYTES - 512;
|
|
55
|
-
const bounded = [];
|
|
56
|
-
for (const line of lines) {
|
|
57
|
-
if (remaining <= 0)
|
|
58
|
-
break;
|
|
59
|
-
const bytes = Buffer.from(line, "utf8");
|
|
60
|
-
const next = bytes.length <= remaining ? line : bytes.subarray(0, remaining).toString("utf8");
|
|
61
|
-
bounded.push(next);
|
|
62
|
-
remaining -= Buffer.byteLength(next, "utf8");
|
|
63
|
-
}
|
|
64
|
-
return bounded;
|
|
65
|
-
}
|
|
66
54
|
export class EngineCustomUiService {
|
|
67
55
|
setWidget(key, factory, placement) {
|
|
68
56
|
const previous = this.widgetIds.get(key);
|
|
@@ -73,7 +61,7 @@ export class EngineCustomUiService {
|
|
|
73
61
|
const componentId = `remote_widget_${++this.nextId}`;
|
|
74
62
|
this.widgetIds.set(key, componentId);
|
|
75
63
|
const terminal = new RemoteTerminal(() => this.send({ type: "engine_custom_invalidate", componentId }));
|
|
76
|
-
const tui = new TUI(terminal);
|
|
64
|
+
const tui = new TUI(terminal, undefined, getAgentDir());
|
|
77
65
|
void runCallback({ kind: "renderer", name: `widget:${key}` }, () => factory(tui, theme)).then((component) => {
|
|
78
66
|
if (this.widgetIds.get(key) !== componentId) {
|
|
79
67
|
component.dispose?.();
|
|
@@ -120,7 +108,7 @@ export class EngineCustomUiService {
|
|
|
120
108
|
this.sendDone(componentId, result);
|
|
121
109
|
};
|
|
122
110
|
const terminal = new RemoteTerminal(() => this.send({ type: "engine_custom_invalidate", componentId }), (control) => this.send({ type: "engine_custom_terminal", componentId, control }));
|
|
123
|
-
const tui = new TUI(terminal);
|
|
111
|
+
const tui = new TUI(terminal, undefined, getAgentDir());
|
|
124
112
|
const component = await factory(tui, theme, this.keybindings, done);
|
|
125
113
|
tui.addChild(component);
|
|
126
114
|
tui.setFocus(component);
|
|
@@ -188,7 +176,7 @@ export class EngineCustomUiService {
|
|
|
188
176
|
type: "engine_custom_frame",
|
|
189
177
|
componentId: command.componentId,
|
|
190
178
|
requestId: command.requestId,
|
|
191
|
-
lines
|
|
179
|
+
lines,
|
|
192
180
|
})).catch((error) => this.send({
|
|
193
181
|
type: "engine_custom_frame",
|
|
194
182
|
componentId: command.componentId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-custom-ui.js","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-custom-ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA0E,MAAM,wBAAwB,CAAC;AAC9H,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAG9D,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EACN,kCAAkC,EAClC,WAAW,EACX,6BAA6B,EAC7B,iCAAiC,GAKjC,MAAM,eAAe,CAAC;AA0BvB,MAAM,cAAc;IAMnB,YAAY,UAAsB,EAAE,OAAkD;QALtF,YAAO,GAAG,EAAE,CAAC;QACb,SAAI,GAAG,EAAE,CAAC;QACV,wBAAmB,GAAG,KAAK,CAAC;QAI3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,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AI,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;YAC5F,CAAC;YACD,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,MAAM,KAAK,IAAI;YAC7D,KAAK,EAAE,GAAG,EAAE;gBACX,OAAO,GAAG,IAAI,CAAC;gBACf,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;YAC5E,CAAC;YACD,OAAO,EAAE,GAAG,EAAE;gBACb,OAAO,GAAG,KAAK,CAAC;gBAChB,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;YAC9E,CAAC;YACD,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO;SACxB,CAAC;IACH,CAAC;IAEO,QAAQ,CAAI,WAAmB,EAAE,MAAS;QACjD,IAAI,CAAC,IAAI,CAAC;YACT,IAAI,EAAE,oBAAoB;YAC1B,WAAW;YACX,MAAM,EAAE,UAAU,CAAC,MAA+D,CAAC;SACnF,CAAC,CAAC;IACJ,CAAC;IAEO,IAAI,CAAC,OAAiC;QAC7C,IAAI,CAAC,KAAK,CAAC,iCAAiC,CAAC,OAAO,CAAC,CAAC,CAAC;IACxD,CAAC;CACD","sourcesContent":["import { isKeyRelease, type Component, type OverlayHandle, type OverlayOptions, type Terminal } from \"@earendil-works/pi-tui\";\nimport { TUI } from \"@earendil-works/pi-tui\";\nimport { runCallback } from \"../../core/callback-activity.ts\";\nimport type { KeybindingsManager } from \"../../core/keybindings.ts\";\nimport type { Theme } from \"../interactive/theme/theme.ts\";\nimport { theme } from \"../interactive/theme/theme.ts\";\nimport {\n\tINTERACTIVE_ENGINE_MAX_FRAME_BYTES,\n\tisJsonValue,\n\tparseInteractiveEngineCommand,\n\tserializeInteractiveEngineMessage,\n\ttype EngineTerminalControl,\n\ttype InteractiveEngineMessage,\n\ttype JsonValue,\n\ttype SerializableOverlayOptions,\n} from \"./protocol.ts\";\n\ninterface CustomUiOptions {\n\toverlay?: boolean;\n\tdeferInlineCustomUiFocus?: boolean;\n\toverlayOptions?: OverlayOptions | (() => OverlayOptions);\n\tonHandle?: (handle: OverlayHandle) => void;\n\tsignal?: AbortSignal;\n}\n\ninterface ActiveComponent {\n\tcomponent: Component & { dispose?(): void };\n\tresolve: (value: JsonValue | undefined) => void;\n\toverlay: boolean;\n\tterminal: RemoteTerminal;\n\ttui: TUI;\n\twidgetKey?: string;\n\t/**\n\t * Overlay visibility as last driven through the remote OverlayHandle.\n\t * Hidden components are skipped by the extension-level `requestRender()`\n\t * broadcast (#1856) — invalidating a hidden overlay only produced host\n\t * render work and terminal writes for frames the user cannot see.\n\t */\n\thidden?: boolean;\n}\n\nclass RemoteTerminal implements Terminal {\n\tcolumns = 80;\n\trows = 24;\n\tkittyProtocolActive = false;\n\tprivate readonly invalidate: () => void;\n\tprivate readonly control: ((control: EngineTerminalControl) => void) | undefined;\n\tconstructor(invalidate: () => void, control?: (control: EngineTerminalControl) => void) {\n\t\tthis.invalidate = invalidate;\n\t\tthis.control = control;\n\t}\n\tstart(): void {}\n\tstop(): void {}\n\tasync drainInput(): Promise<void> {}\n\twrite(): void { this.invalidate(); }\n\tmoveBy(): void {}\n\thideCursor(): void {}\n\tshowCursor(): void {}\n\tclearLine(): void {}\n\tclearFromCursor(): void {}\n\tclearScreen(): void {}\n\tsetTitle(): void {}\n\tsetProgress(): void {}\n\t/** Ask the host to toggle host-TTY mouse-scroll reporting for this component. */\n\tsetMouseScrollTracking(enabled: boolean): void {\n\t\tthis.control?.({ kind: \"mouse-scroll-tracking\", enabled });\n\t}\n\t/** Ask the host to toggle host-TTY autowrap (DECAWM) for this component. */\n\tsetAutowrap(enabled: boolean): void {\n\t\tthis.control?.({ kind: \"autowrap\", enabled });\n\t}\n}\n\nfunction serializableOverlayOptions(options: CustomUiOptions[\"overlayOptions\"]): SerializableOverlayOptions | undefined {\n\tconst value = typeof options === \"function\" ? options() : options;\n\tif (!value) return undefined;\n\tconst { anchor, col, margin, maxHeight, minWidth, offsetX, offsetY, row, width } = value;\n\treturn { anchor, col, margin, maxHeight, minWidth, offsetX, offsetY, row, width };\n}\n\nfunction jsonResult(value: object | boolean | null | number | string | undefined): JsonValue | undefined {\n\tif (value === undefined) return undefined;\n\tconst encoded = JSON.stringify(value);\n\tif (encoded === undefined) return undefined;\n\tconst decoded = JSON.parse(encoded) as JsonValue;\n\tif (!isJsonValue(decoded)) throw new Error(\"Custom UI result is not JSON-safe\");\n\treturn decoded;\n}\n\nfunction boundedLines(lines: string[]): string[] {\n\tlet remaining = INTERACTIVE_ENGINE_MAX_FRAME_BYTES - 512;\n\tconst bounded: string[] = [];\n\tfor (const line of lines) {\n\t\tif (remaining <= 0) break;\n\t\tconst bytes = Buffer.from(line, \"utf8\");\n\t\tconst next = bytes.length <= remaining ? line : bytes.subarray(0, remaining).toString(\"utf8\");\n\t\tbounded.push(next);\n\t\tremaining -= Buffer.byteLength(next, \"utf8\");\n\t}\n\treturn bounded;\n}\n\nexport class EngineCustomUiService {\n\tprivate readonly widgetIds = new Map<string, string>();\n\tprivate readonly active = new Map<string, ActiveComponent>();\n\tprivate nextId = 0;\n\tprivate readonly write: (line: string) => void;\n\tprivate readonly keybindings: KeybindingsManager;\n\tprivate readonly stateListeners = new Set<(state: { blockingInlineCustomUiDepth: number; blockingInlineCustomUiActive: boolean }) => void>();\n\n\n\tsetWidget(\n\t\tkey: string,\n\t\tfactory: ((tui: TUI, theme: Theme) => Component & { dispose?(): void }) | undefined,\n\t\tplacement?: \"aboveEditor\" | \"belowEditor\",\n\t): void {\n\t\tconst previous = this.widgetIds.get(key);\n\t\tif (previous) this.disposeComponent(previous, false);\n\t\tif (!factory) return;\n\t\tconst componentId = `remote_widget_${++this.nextId}`;\n\t\tthis.widgetIds.set(key, componentId);\n\t\tconst terminal = new RemoteTerminal(() => this.send({ type: \"engine_custom_invalidate\", componentId }));\n\t\tconst tui = new TUI(terminal);\n\t\tvoid runCallback(\n\t\t\t{ kind: \"renderer\", name: `widget:${key}` },\n\t\t\t() => factory(tui, theme),\n\t\t).then((component) => {\n\t\t\tif (this.widgetIds.get(key) !== componentId) {\n\t\t\t\tcomponent.dispose?.();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttui.addChild(component);\n\t\t\tthis.active.set(componentId, {\n\t\t\t\tcomponent,\n\t\t\t\tresolve: () => {},\n\t\t\t\toverlay: false,\n\t\t\t\tterminal,\n\t\t\t\ttui,\n\t\t\t\twidgetKey: key,\n\t\t\t});\n\t\t\tthis.send({ type: \"engine_custom_open\", componentId, overlay: false, widgetKey: key, widgetPlacement: placement });\n\t\t}).catch((error: Error) => {\n\t\t\tif (this.widgetIds.get(key) === componentId) this.widgetIds.delete(key);\n\t\t\tthis.send({ type: \"engine_custom_frame\", componentId, requestId: 0, lines: [`Widget ${key} failed: ${error.message}`] });\n\t\t});\n\t}\n\tconstructor(write: (line: string) => void, keybindings: KeybindingsManager) {\n\t\tthis.write = write;\n\t\tthis.keybindings = keybindings;\n\t}\n\n\tasync custom<T>(\n\t\tfactory: (\n\t\t\ttui: TUI,\n\t\t\ttheme: Theme,\n\t\t\tkeybindings: KeybindingsManager,\n\t\t\tdone: (result: T) => void,\n\t\t) => (Component & { dispose?(): void }) | Promise<Component & { dispose?(): void }>,\n\t\toptions?: CustomUiOptions,\n\t): Promise<T> {\n\t\tconst componentId = `remote_component_${++this.nextId}`;\n\t\tlet resolveCompletion!: (value: T) => void;\n\t\tconst completion = new Promise<T>((resolve) => { resolveCompletion = resolve; });\n\t\tlet opened = false;\n\t\tlet pendingDone: T | undefined;\n\t\tlet doneCalled = false;\n\t\tconst done = (result: T): void => {\n\t\t\tif (doneCalled) return;\n\t\t\tdoneCalled = true;\n\t\t\tpendingDone = result;\n\t\t\tresolveCompletion(result);\n\t\t\tif (opened) this.sendDone(componentId, result);\n\t\t};\n\t\tconst terminal = new RemoteTerminal(\n\t\t\t() => this.send({ type: \"engine_custom_invalidate\", componentId }),\n\t\t\t(control) => this.send({ type: \"engine_custom_terminal\", componentId, control }),\n\t\t);\n\t\tconst tui = new TUI(terminal);\n\t\tconst component = await factory(tui, theme, this.keybindings, done);\n\t\ttui.addChild(component);\n\t\ttui.setFocus(component);\n\t\tconst record: ActiveComponent = {\n\t\t\tcomponent,\n\t\t\tresolve: (value) => resolveCompletion(value as T),\n\t\t\tterminal,\n\t\t\ttui,\n\t\t\toverlay: options?.overlay === true,\n\t\t};\n\t\tthis.active.set(componentId, record);\n\t\tthis.notifyState();\n\t\topened = true;\n\t\tthis.send({\n\t\t\ttype: \"engine_custom_open\",\n\t\t\tcomponentId,\n\t\t\toverlay: options?.overlay === true,\n\t\t\tdeferInlineCustomUiFocus: options?.deferInlineCustomUiFocus,\n\t\t\toverlayOptions: serializableOverlayOptions(options?.overlayOptions),\n\t\t});\n\t\tif (options?.onHandle) options.onHandle(this.remoteHandle(componentId));\n\t\tif (doneCalled) this.sendDone(componentId, pendingDone as T);\n\t\tconst onAbort = () => this.disposeComponent(componentId, true);\n\t\toptions?.signal?.addEventListener(\"abort\", onAbort, { once: true });\n\t\ttry {\n\t\t\treturn await completion;\n\t\t} finally {\n\t\t\toptions?.signal?.removeEventListener(\"abort\", onAbort);\n\t\t\tthis.disposeComponent(componentId, false);\n\t\t}\n\t}\n\tgetHostCustomUiState(): { blockingInlineCustomUiDepth: number; blockingInlineCustomUiActive: boolean } {\n\t\tconst depth = [...this.active.values()].filter((record) => !record.overlay && !record.widgetKey).length;\n\t\treturn { blockingInlineCustomUiDepth: depth, blockingInlineCustomUiActive: depth > 0 };\n\t}\n\n\tonHostCustomUiStateChange(\n\t\tlistener: (state: { blockingInlineCustomUiDepth: number; blockingInlineCustomUiActive: boolean }) => void,\n\t): () => void {\n\t\tthis.stateListeners.add(listener);\n\t\treturn () => this.stateListeners.delete(listener);\n\t}\n\n\tfocusHostInlineCustomUi(): boolean { return this.getHostCustomUiState().blockingInlineCustomUiActive; }\n\n\n\trequestRender(): void {\n\t\tfor (const [componentId, record] of this.active) {\n\t\t\tif (record.hidden === true) continue;\n\t\t\tthis.send({ type: \"engine_custom_invalidate\", componentId });\n\t\t}\n\t}\n\n\thandleLine(line: string): boolean {\n\t\tconst command = parseInteractiveEngineCommand(line);\n\t\tif (!command) return false;\n\t\tif (!command.type.startsWith(\"engine_custom_\")) return false;\n\t\tconst record = this.active.get(command.componentId);\n\t\tif (!record) return true;\n\t\tswitch (command.type) {\n\t\t\tcase \"engine_custom_render\":\n\t\t\t\trecord.terminal.columns = Math.max(1, command.width);\n\t\t\t\trecord.terminal.rows = Math.max(1, command.rows);\n\t\t\t\tvoid runCallback(\n\t\t\t\t\t{ kind: \"renderer\", name: command.componentId },\n\t\t\t\t\t() => record.component.render(record.terminal.columns),\n\t\t\t\t).then((lines) => this.send({\n\t\t\t\t\ttype: \"engine_custom_frame\",\n\t\t\t\t\tcomponentId: command.componentId,\n\t\t\t\t\trequestId: command.requestId,\n\t\t\t\t\tlines: boundedLines(lines),\n\t\t\t\t})).catch((error: Error) => this.send({\n\t\t\t\t\ttype: \"engine_custom_frame\",\n\t\t\t\t\tcomponentId: command.componentId,\n\t\t\t\t\trequestId: command.requestId,\n\t\t\t\t\tlines: [`Remote component render failed: ${error.message}`],\n\t\t\t\t}));\n\t\t\t\tbreak;\n\t\t\tcase \"engine_custom_input\":\n\t\t\t\tvoid runCallback(\n\t\t\t\t\t{ kind: \"renderer\", name: command.componentId },\n\t\t\t\t\t() => {\n\t\t\t\t\t\tif (isKeyRelease(command.data) && record.component.wantsKeyRelease !== true) return;\n\t\t\t\t\t\trecord.component.handleInput?.(command.data);\n\t\t\t\t\t},\n\t\t\t\t).catch(() => undefined);\n\t\t\t\tbreak;\n\t\t\tcase \"engine_custom_dispose\":\n\t\t\t\tthis.disposeComponent(command.componentId, true);\n\t\t\t\tbreak;\n\t\t}\n\t\treturn true;\n\t}\n\n\tdispose(): void {\n\t\tfor (const componentId of [...this.active.keys()]) this.disposeComponent(componentId, true);\n\t}\n\tprivate disposeComponent(componentId: string, resolve: boolean): void {\n\t\tconst record = this.active.get(componentId);\n\t\tif (!record) return;\n\t\tthis.active.delete(componentId);\n\t\trecord.component.dispose?.();\n\t\trecord.tui.stop();\n\t\tif (record.widgetKey) {\n\t\t\tif (this.widgetIds.get(record.widgetKey) === componentId) this.widgetIds.delete(record.widgetKey);\n\t\t\tthis.send({ type: \"engine_custom_close\", componentId });\n\t\t}\n\t\tthis.notifyState();\n\t\tif (resolve) record.resolve(undefined);\n\t}\n\tprivate notifyState(): void {\n\t\tconst state = this.getHostCustomUiState();\n\t\tfor (const listener of this.stateListeners) listener(state);\n\t}\n\n\n\tprivate remoteHandle(componentId: string): OverlayHandle {\n\t\tlet focused = true;\n\t\tconst setHiddenFlag = (value: boolean): void => {\n\t\t\tconst record = this.active.get(componentId);\n\t\t\tif (record) record.hidden = value;\n\t\t};\n\t\treturn {\n\t\t\thide: () => {\n\t\t\t\tsetHiddenFlag(true);\n\t\t\t\tthis.send({ type: \"engine_custom_control\", componentId, action: \"hide\" });\n\t\t\t},\n\t\t\tsetHidden: (value) => {\n\t\t\t\tsetHiddenFlag(value);\n\t\t\t\tthis.send({ type: \"engine_custom_control\", componentId, action: value ? \"hide\" : \"show\" });\n\t\t\t},\n\t\t\tisHidden: () => this.active.get(componentId)?.hidden === true,\n\t\t\tfocus: () => {\n\t\t\t\tfocused = true;\n\t\t\t\tthis.send({ type: \"engine_custom_control\", componentId, action: \"focus\" });\n\t\t\t},\n\t\t\tunfocus: () => {\n\t\t\t\tfocused = false;\n\t\t\t\tthis.send({ type: \"engine_custom_control\", componentId, action: \"unfocus\" });\n\t\t\t},\n\t\t\tisFocused: () => focused,\n\t\t};\n\t}\n\n\tprivate sendDone<T>(componentId: string, result: T): void {\n\t\tthis.send({\n\t\t\ttype: \"engine_custom_done\",\n\t\t\tcomponentId,\n\t\t\tresult: jsonResult(result as object | boolean | null | number | string | undefined),\n\t\t});\n\t}\n\n\tprivate send(message: InteractiveEngineMessage): void {\n\t\tthis.write(serializeInteractiveEngineMessage(message));\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"engine-custom-ui.js","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-custom-ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA0E,MAAM,wBAAwB,CAAC;AAC9H,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAG9D,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EACN,WAAW,EACX,6BAA6B,EAC7B,iCAAiC,GAKjC,MAAM,eAAe,CAAC;AA0BvB,MAAM,cAAc;IAMnB,YAAY,UAAsB,EAAE,OAAkD;QALtF,YAAO,GAAG,EAAE,CAAC;QACb,SAAI,GAAG,EAAE,CAAC;QACV,wBAAmB,GAAG,KAAK,CAAC;QAI3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;IACD,KAAK,KAAU,CAAC;IAChB,IAAI,KAAU,CAAC;IACf,KAAK,CAAC,UAAU,KAAmB,CAAC;IACpC,KAAK,KAAW,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACpC,MAAM,KAAU,CAAC;IACjB,UAAU,KAAU,CAAC;IACrB,UAAU,KAAU,CAAC;IACrB,SAAS,KAAU,CAAC;IACpB,eAAe,KAAU,CAAC;IAC1B,WAAW,KAAU,CAAC;IACtB,QAAQ,KAAU,CAAC;IACnB,WAAW,KAAU,CAA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ourcesContent":["import { isKeyRelease, type Component, type OverlayHandle, type OverlayOptions, type Terminal } from \"@earendil-works/pi-tui\";\nimport { TUI } from \"@earendil-works/pi-tui\";\nimport { getAgentDir } from \"../../config.ts\";\nimport { runCallback } from \"../../core/callback-activity.ts\";\nimport type { KeybindingsManager } from \"../../core/keybindings.ts\";\nimport type { Theme } from \"../interactive/theme/theme.ts\";\nimport { theme } from \"../interactive/theme/theme.ts\";\nimport {\n\tisJsonValue,\n\tparseInteractiveEngineCommand,\n\tserializeInteractiveEngineMessage,\n\ttype EngineTerminalControl,\n\ttype InteractiveEngineMessage,\n\ttype JsonValue,\n\ttype SerializableOverlayOptions,\n} from \"./protocol.ts\";\n\ninterface CustomUiOptions {\n\toverlay?: boolean;\n\tdeferInlineCustomUiFocus?: boolean;\n\toverlayOptions?: OverlayOptions | (() => OverlayOptions);\n\tonHandle?: (handle: OverlayHandle) => void;\n\tsignal?: AbortSignal;\n}\n\ninterface ActiveComponent {\n\tcomponent: Component & { dispose?(): void };\n\tresolve: (value: JsonValue | undefined) => void;\n\toverlay: boolean;\n\tterminal: RemoteTerminal;\n\ttui: TUI;\n\twidgetKey?: string;\n\t/**\n\t * Overlay visibility as last driven through the remote OverlayHandle.\n\t * Hidden components are skipped by the extension-level `requestRender()`\n\t * broadcast (#1856) — invalidating a hidden overlay only produced host\n\t * render work and terminal writes for frames the user cannot see.\n\t */\n\thidden?: boolean;\n}\n\nclass RemoteTerminal implements Terminal {\n\tcolumns = 80;\n\trows = 24;\n\tkittyProtocolActive = false;\n\tprivate readonly invalidate: () => void;\n\tprivate readonly control: ((control: EngineTerminalControl) => void) | undefined;\n\tconstructor(invalidate: () => void, control?: (control: EngineTerminalControl) => void) {\n\t\tthis.invalidate = invalidate;\n\t\tthis.control = control;\n\t}\n\tstart(): void {}\n\tstop(): void {}\n\tasync drainInput(): Promise<void> {}\n\twrite(): void { this.invalidate(); }\n\tmoveBy(): void {}\n\thideCursor(): void {}\n\tshowCursor(): void {}\n\tclearLine(): void {}\n\tclearFromCursor(): void {}\n\tclearScreen(): void {}\n\tsetTitle(): void {}\n\tsetProgress(): void {}\n\t/** Ask the host to toggle host-TTY mouse-scroll reporting for this component. */\n\tsetMouseScrollTracking(enabled: boolean): void {\n\t\tthis.control?.({ kind: \"mouse-scroll-tracking\", enabled });\n\t}\n\t/** Ask the host to toggle host-TTY autowrap (DECAWM) for this component. */\n\tsetAutowrap(enabled: boolean): void {\n\t\tthis.control?.({ kind: \"autowrap\", enabled });\n\t}\n}\n\nfunction serializableOverlayOptions(options: CustomUiOptions[\"overlayOptions\"]): SerializableOverlayOptions | undefined {\n\tconst value = typeof options === \"function\" ? options() : options;\n\tif (!value) return undefined;\n\tconst { anchor, col, margin, maxHeight, minWidth, offsetX, offsetY, row, width } = value;\n\treturn { anchor, col, margin, maxHeight, minWidth, offsetX, offsetY, row, width };\n}\n\nfunction jsonResult(value: object | boolean | null | number | string | undefined): JsonValue | undefined {\n\tif (value === undefined) return undefined;\n\tconst encoded = JSON.stringify(value);\n\tif (encoded === undefined) return undefined;\n\tconst decoded = JSON.parse(encoded) as JsonValue;\n\tif (!isJsonValue(decoded)) throw new Error(\"Custom UI result is not JSON-safe\");\n\treturn decoded;\n}\n\n\nexport class EngineCustomUiService {\n\tprivate readonly widgetIds = new Map<string, string>();\n\tprivate readonly active = new Map<string, ActiveComponent>();\n\tprivate nextId = 0;\n\tprivate readonly write: (line: string) => void;\n\tprivate readonly keybindings: KeybindingsManager;\n\tprivate readonly stateListeners = new Set<(state: { blockingInlineCustomUiDepth: number; blockingInlineCustomUiActive: boolean }) => void>();\n\n\n\tsetWidget(\n\t\tkey: string,\n\t\tfactory: ((tui: TUI, theme: Theme) => Component & { dispose?(): void }) | undefined,\n\t\tplacement?: \"aboveEditor\" | \"belowEditor\",\n\t): void {\n\t\tconst previous = this.widgetIds.get(key);\n\t\tif (previous) this.disposeComponent(previous, false);\n\t\tif (!factory) return;\n\t\tconst componentId = `remote_widget_${++this.nextId}`;\n\t\tthis.widgetIds.set(key, componentId);\n\t\tconst terminal = new RemoteTerminal(() => this.send({ type: \"engine_custom_invalidate\", componentId }));\n\t\tconst tui = new TUI(terminal, undefined, getAgentDir());\n\t\tvoid runCallback(\n\t\t\t{ kind: \"renderer\", name: `widget:${key}` },\n\t\t\t() => factory(tui, theme),\n\t\t).then((component) => {\n\t\t\tif (this.widgetIds.get(key) !== componentId) {\n\t\t\t\tcomponent.dispose?.();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttui.addChild(component);\n\t\t\tthis.active.set(componentId, {\n\t\t\t\tcomponent,\n\t\t\t\tresolve: () => {},\n\t\t\t\toverlay: false,\n\t\t\t\tterminal,\n\t\t\t\ttui,\n\t\t\t\twidgetKey: key,\n\t\t\t});\n\t\t\tthis.send({ type: \"engine_custom_open\", componentId, overlay: false, widgetKey: key, widgetPlacement: placement });\n\t\t}).catch((error: Error) => {\n\t\t\tif (this.widgetIds.get(key) === componentId) this.widgetIds.delete(key);\n\t\t\tthis.send({ type: \"engine_custom_frame\", componentId, requestId: 0, lines: [`Widget ${key} failed: ${error.message}`] });\n\t\t});\n\t}\n\tconstructor(write: (line: string) => void, keybindings: KeybindingsManager) {\n\t\tthis.write = write;\n\t\tthis.keybindings = keybindings;\n\t}\n\n\tasync custom<T>(\n\t\tfactory: (\n\t\t\ttui: TUI,\n\t\t\ttheme: Theme,\n\t\t\tkeybindings: KeybindingsManager,\n\t\t\tdone: (result: T) => void,\n\t\t) => (Component & { dispose?(): void }) | Promise<Component & { dispose?(): void }>,\n\t\toptions?: CustomUiOptions,\n\t): Promise<T> {\n\t\tconst componentId = `remote_component_${++this.nextId}`;\n\t\tlet resolveCompletion!: (value: T) => void;\n\t\tconst completion = new Promise<T>((resolve) => { resolveCompletion = resolve; });\n\t\tlet opened = false;\n\t\tlet pendingDone: T | undefined;\n\t\tlet doneCalled = false;\n\t\tconst done = (result: T): void => {\n\t\t\tif (doneCalled) return;\n\t\t\tdoneCalled = true;\n\t\t\tpendingDone = result;\n\t\t\tresolveCompletion(result);\n\t\t\tif (opened) this.sendDone(componentId, result);\n\t\t};\n\t\tconst terminal = new RemoteTerminal(\n\t\t\t() => this.send({ type: \"engine_custom_invalidate\", componentId }),\n\t\t\t(control) => this.send({ type: \"engine_custom_terminal\", componentId, control }),\n\t\t);\n\t\tconst tui = new TUI(terminal, undefined, getAgentDir());\n\t\tconst component = await factory(tui, theme, this.keybindings, done);\n\t\ttui.addChild(component);\n\t\ttui.setFocus(component);\n\t\tconst record: ActiveComponent = {\n\t\t\tcomponent,\n\t\t\tresolve: (value) => resolveCompletion(value as T),\n\t\t\tterminal,\n\t\t\ttui,\n\t\t\toverlay: options?.overlay === true,\n\t\t};\n\t\tthis.active.set(componentId, record);\n\t\tthis.notifyState();\n\t\topened = true;\n\t\tthis.send({\n\t\t\ttype: \"engine_custom_open\",\n\t\t\tcomponentId,\n\t\t\toverlay: options?.overlay === true,\n\t\t\tdeferInlineCustomUiFocus: options?.deferInlineCustomUiFocus,\n\t\t\toverlayOptions: serializableOverlayOptions(options?.overlayOptions),\n\t\t});\n\t\tif (options?.onHandle) options.onHandle(this.remoteHandle(componentId));\n\t\tif (doneCalled) this.sendDone(componentId, pendingDone as T);\n\t\tconst onAbort = () => this.disposeComponent(componentId, true);\n\t\toptions?.signal?.addEventListener(\"abort\", onAbort, { once: true });\n\t\ttry {\n\t\t\treturn await completion;\n\t\t} finally {\n\t\t\toptions?.signal?.removeEventListener(\"abort\", onAbort);\n\t\t\tthis.disposeComponent(componentId, false);\n\t\t}\n\t}\n\tgetHostCustomUiState(): { blockingInlineCustomUiDepth: number; blockingInlineCustomUiActive: boolean } {\n\t\tconst depth = [...this.active.values()].filter((record) => !record.overlay && !record.widgetKey).length;\n\t\treturn { blockingInlineCustomUiDepth: depth, blockingInlineCustomUiActive: depth > 0 };\n\t}\n\n\tonHostCustomUiStateChange(\n\t\tlistener: (state: { blockingInlineCustomUiDepth: number; blockingInlineCustomUiActive: boolean }) => void,\n\t): () => void {\n\t\tthis.stateListeners.add(listener);\n\t\treturn () => this.stateListeners.delete(listener);\n\t}\n\n\tfocusHostInlineCustomUi(): boolean { return this.getHostCustomUiState().blockingInlineCustomUiActive; }\n\n\n\trequestRender(): void {\n\t\tfor (const [componentId, record] of this.active) {\n\t\t\tif (record.hidden === true) continue;\n\t\t\tthis.send({ type: \"engine_custom_invalidate\", componentId });\n\t\t}\n\t}\n\n\thandleLine(line: string): boolean {\n\t\tconst command = parseInteractiveEngineCommand(line);\n\t\tif (!command) return false;\n\t\tif (!command.type.startsWith(\"engine_custom_\")) return false;\n\t\tconst record = this.active.get(command.componentId);\n\t\tif (!record) return true;\n\t\tswitch (command.type) {\n\t\t\tcase \"engine_custom_render\":\n\t\t\t\trecord.terminal.columns = Math.max(1, command.width);\n\t\t\t\trecord.terminal.rows = Math.max(1, command.rows);\n\t\t\t\tvoid runCallback(\n\t\t\t\t\t{ kind: \"renderer\", name: command.componentId },\n\t\t\t\t\t() => record.component.render(record.terminal.columns),\n\t\t\t\t).then((lines) => this.send({\n\t\t\t\t\ttype: \"engine_custom_frame\",\n\t\t\t\t\tcomponentId: command.componentId,\n\t\t\t\t\trequestId: command.requestId,\n\t\t\t\t\tlines,\n\t\t\t\t})).catch((error: Error) => this.send({\n\t\t\t\t\ttype: \"engine_custom_frame\",\n\t\t\t\t\tcomponentId: command.componentId,\n\t\t\t\t\trequestId: command.requestId,\n\t\t\t\t\tlines: [`Remote component render failed: ${error.message}`],\n\t\t\t\t}));\n\t\t\t\tbreak;\n\t\t\tcase \"engine_custom_input\":\n\t\t\t\tvoid runCallback(\n\t\t\t\t\t{ kind: \"renderer\", name: command.componentId },\n\t\t\t\t\t() => {\n\t\t\t\t\t\tif (isKeyRelease(command.data) && record.component.wantsKeyRelease !== true) return;\n\t\t\t\t\t\trecord.component.handleInput?.(command.data);\n\t\t\t\t\t},\n\t\t\t\t).catch(() => undefined);\n\t\t\t\tbreak;\n\t\t\tcase \"engine_custom_dispose\":\n\t\t\t\tthis.disposeComponent(command.componentId, true);\n\t\t\t\tbreak;\n\t\t}\n\t\treturn true;\n\t}\n\n\tdispose(): void {\n\t\tfor (const componentId of [...this.active.keys()]) this.disposeComponent(componentId, true);\n\t}\n\tprivate disposeComponent(componentId: string, resolve: boolean): void {\n\t\tconst record = this.active.get(componentId);\n\t\tif (!record) return;\n\t\tthis.active.delete(componentId);\n\t\trecord.component.dispose?.();\n\t\trecord.tui.stop();\n\t\tif (record.widgetKey) {\n\t\t\tif (this.widgetIds.get(record.widgetKey) === componentId) this.widgetIds.delete(record.widgetKey);\n\t\t\tthis.send({ type: \"engine_custom_close\", componentId });\n\t\t}\n\t\tthis.notifyState();\n\t\tif (resolve) record.resolve(undefined);\n\t}\n\tprivate notifyState(): void {\n\t\tconst state = this.getHostCustomUiState();\n\t\tfor (const listener of this.stateListeners) listener(state);\n\t}\n\n\n\tprivate remoteHandle(componentId: string): OverlayHandle {\n\t\tlet focused = true;\n\t\tconst setHiddenFlag = (value: boolean): void => {\n\t\t\tconst record = this.active.get(componentId);\n\t\t\tif (record) record.hidden = value;\n\t\t};\n\t\treturn {\n\t\t\thide: () => {\n\t\t\t\tsetHiddenFlag(true);\n\t\t\t\tthis.send({ type: \"engine_custom_control\", componentId, action: \"hide\" });\n\t\t\t},\n\t\t\tsetHidden: (value) => {\n\t\t\t\tsetHiddenFlag(value);\n\t\t\t\tthis.send({ type: \"engine_custom_control\", componentId, action: value ? \"hide\" : \"show\" });\n\t\t\t},\n\t\t\tisHidden: () => this.active.get(componentId)?.hidden === true,\n\t\t\tfocus: () => {\n\t\t\t\tfocused = true;\n\t\t\t\tthis.send({ type: \"engine_custom_control\", componentId, action: \"focus\" });\n\t\t\t},\n\t\t\tunfocus: () => {\n\t\t\t\tfocused = false;\n\t\t\t\tthis.send({ type: \"engine_custom_control\", componentId, action: \"unfocus\" });\n\t\t\t},\n\t\t\tisFocused: () => focused,\n\t\t};\n\t}\n\n\tprivate sendDone<T>(componentId: string, result: T): void {\n\t\tthis.send({\n\t\t\ttype: \"engine_custom_done\",\n\t\t\tcomponentId,\n\t\t\tresult: jsonResult(result as object | boolean | null | number | string | undefined),\n\t\t});\n\t}\n\n\tprivate send(message: InteractiveEngineMessage): void {\n\t\tthis.write(serializeInteractiveEngineMessage(message));\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-render-service.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-render-service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"engine-render-service.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive-engine/engine-render-service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAsDhE,qBAAa,mBAAmB;IAC/B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmC;IAC3D,OAAO,CAAC,OAAO,CAA2B;IAC1C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAyB;IAE/C,YAAY,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,EAExC;IAED,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAGvC;IAED,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAuBhC;IAED,OAAO,IAAI,IAAI,CAEd;IAED,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,UAAU;IAoClB,OAAO,CAAC,aAAa;IA0BrB,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,IAAI;CAGZ"}
|