@bastani/atomic 0.9.2 → 0.9.3-alpha.2
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 +66 -0
- package/README.md +2 -2
- package/dist/builtin/cursor/CHANGELOG.md +15 -0
- package/dist/builtin/cursor/README.md +2 -1
- package/dist/builtin/cursor/package.json +2 -2
- package/dist/builtin/cursor/src/cursor-models-raw.json +2 -9
- package/dist/builtin/cursor/src/model-mapper.ts +14 -3
- package/dist/builtin/cursor/src/proto/protobuf-codec-base64.ts +22 -0
- package/dist/builtin/cursor/src/proto/protobuf-codec-request.ts +53 -13
- package/dist/builtin/cursor/src/proto/protobuf-codec-wire.ts +24 -7
- package/dist/builtin/cursor/src/proto/protobuf-codec.ts +3 -2
- package/dist/builtin/cursor/src/stream.ts +5 -11
- package/dist/builtin/cursor/src/transport-types.ts +3 -0
- package/dist/builtin/cursor/src/transport.ts +1 -0
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/CHANGELOG.md +6 -0
- package/dist/builtin/mcp/direct-tools.ts +4 -2
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/mcp/proxy-call.ts +3 -1
- package/dist/builtin/mcp/utils.ts +18 -7
- package/dist/builtin/subagents/CHANGELOG.md +20 -0
- package/dist/builtin/subagents/README.md +6 -6
- package/dist/builtin/subagents/agents/code-simplifier.md +7 -6
- package/dist/builtin/subagents/agents/codebase-analyzer.md +5 -4
- package/dist/builtin/subagents/agents/codebase-locator.md +3 -3
- package/dist/builtin/subagents/agents/codebase-online-researcher.md +10 -10
- package/dist/builtin/subagents/agents/codebase-pattern-finder.md +4 -4
- package/dist/builtin/subagents/agents/codebase-research-analyzer.md +3 -3
- package/dist/builtin/subagents/agents/codebase-research-locator.md +4 -4
- package/dist/builtin/subagents/agents/debugger.md +5 -5
- package/dist/builtin/subagents/agents/worker.md +56 -0
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/subagent/SKILL.md +11 -11
- package/dist/builtin/subagents/src/agents/agent-loaders.ts +3 -5
- package/dist/builtin/subagents/src/agents/agent-management-helpers.ts +3 -3
- package/dist/builtin/subagents/src/extension/fanout-child.ts +1 -0
- package/dist/builtin/subagents/src/extension/index.ts +6 -3
- package/dist/builtin/subagents/src/extension/schemas.ts +2 -7
- package/dist/builtin/subagents/src/intercom/result-intercom.ts +4 -3
- package/dist/builtin/subagents/src/runs/background/async-job-tracker.ts +1 -4
- package/dist/builtin/subagents/src/runs/foreground/subagent-executor-single.ts +15 -1
- package/dist/builtin/subagents/src/runs/foreground/subagent-executor.ts +35 -1
- package/dist/builtin/subagents/src/runs/shared/mcp-direct-tool-allowlist.ts +1 -1
- package/dist/builtin/subagents/src/runs/shared/nested-render.ts +2 -2
- package/dist/builtin/subagents/src/runs/shared/pi-args.ts +2 -1
- package/dist/builtin/subagents/src/runs/shared/subagent-prompt-runtime.ts +4 -2
- package/dist/builtin/subagents/src/shared/types-async.ts +1 -0
- package/dist/builtin/subagents/src/shared/types-depth.ts +5 -5
- package/dist/builtin/subagents/src/shared/types-runtime.ts +2 -1
- package/dist/builtin/subagents/src/slash/prompt-template-bridge.ts +27 -5
- package/dist/builtin/subagents/src/tui/render-event-formatting.ts +2 -2
- package/dist/builtin/subagents/src/tui/render-layout.ts +27 -4
- package/dist/builtin/subagents/src/tui/render-result-animation.ts +22 -31
- package/dist/builtin/subagents/src/tui/render-result-compact.ts +6 -6
- package/dist/builtin/subagents/src/tui/render-result.ts +20 -19
- package/dist/builtin/subagents/src/tui/render-status-progress.ts +3 -3
- package/dist/builtin/subagents/src/tui/render-widget.ts +46 -7
- package/dist/builtin/subagents/src/tui/render.ts +2 -2
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/builtin/workflows/CHANGELOG.md +56 -0
- package/dist/builtin/workflows/README.md +3 -3
- package/dist/builtin/workflows/builtin/goal-artifacts.ts +11 -6
- package/dist/builtin/workflows/builtin/goal-ledger.ts +33 -1
- package/dist/builtin/workflows/builtin/goal-prompts.ts +23 -28
- package/dist/builtin/workflows/builtin/goal-reducer.ts +2 -2
- package/dist/builtin/workflows/builtin/goal-reports.ts +2 -5
- package/dist/builtin/workflows/builtin/goal-review.ts +1 -1
- package/dist/builtin/workflows/builtin/goal-runner.ts +10 -17
- package/dist/builtin/workflows/builtin/open-claude-design-feedback.ts +3 -3
- package/dist/builtin/workflows/builtin/open-claude-design-phases.ts +1 -3
- package/dist/builtin/workflows/builtin/open-claude-design-setup.ts +1 -1
- package/dist/builtin/workflows/builtin/ralph-core.ts +7 -17
- package/dist/builtin/workflows/builtin/ralph-runner.ts +11 -18
- package/dist/builtin/workflows/builtin/shared-prompts.ts +1 -1
- package/dist/builtin/workflows/package.json +1 -1
- package/dist/builtin/workflows/src/authoring.d.ts +1 -1
- package/dist/builtin/workflows/src/durable/backend.ts +343 -0
- package/dist/builtin/workflows/src/durable/child-primitive.ts +79 -0
- package/dist/builtin/workflows/src/durable/dbos-backend.ts +421 -0
- package/dist/builtin/workflows/src/durable/dbos-envelope.ts +171 -0
- package/dist/builtin/workflows/src/durable/factory.ts +96 -0
- package/dist/builtin/workflows/src/durable/file-backend.ts +433 -0
- package/dist/builtin/workflows/src/durable/index.ts +73 -0
- package/dist/builtin/workflows/src/durable/resume-catalog.ts +217 -0
- package/dist/builtin/workflows/src/durable/resume-runtime.ts +299 -0
- package/dist/builtin/workflows/src/durable/scoped-backend.ts +171 -0
- package/dist/builtin/workflows/src/durable/stage-primitive.ts +284 -0
- package/dist/builtin/workflows/src/durable/tool-primitive.ts +180 -0
- package/dist/builtin/workflows/src/durable/types.ts +168 -0
- package/dist/builtin/workflows/src/durable/ui-primitive.ts +96 -0
- package/dist/builtin/workflows/src/engine/options.ts +3 -0
- package/dist/builtin/workflows/src/engine/primitives/parallel.ts +2 -2
- package/dist/builtin/workflows/src/engine/primitives/task.ts +4 -4
- package/dist/builtin/workflows/src/engine/primitives/ui.ts +22 -8
- package/dist/builtin/workflows/src/engine/primitives/workflow.ts +8 -0
- package/dist/builtin/workflows/src/engine/run-durable-finalize.ts +69 -0
- package/dist/builtin/workflows/src/engine/run-durable-stage-session.ts +31 -0
- package/dist/builtin/workflows/src/engine/run.ts +148 -6
- package/dist/builtin/workflows/src/engine/runtime.ts +8 -2
- package/dist/builtin/workflows/src/extension/config-loader.ts +35 -15
- package/dist/builtin/workflows/src/extension/discovery.ts +20 -8
- package/dist/builtin/workflows/src/extension/extension-factory.ts +6 -12
- package/dist/builtin/workflows/src/extension/extension-lifecycle.ts +5 -1
- package/dist/builtin/workflows/src/extension/extension-runtime-state.ts +4 -2
- package/dist/builtin/workflows/src/extension/runtime.ts +48 -9
- package/dist/builtin/workflows/src/extension/wiring.ts +1 -1
- package/dist/builtin/workflows/src/extension/workflow-run-control-command.ts +143 -4
- package/dist/builtin/workflows/src/runs/background/quit.ts +61 -0
- package/dist/builtin/workflows/src/runs/background/status.ts +1 -0
- package/dist/builtin/workflows/src/runs/foreground/executor-direct-helpers.ts +5 -5
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-call.ts +74 -33
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-context.ts +20 -1
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-factory.ts +8 -7
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-replay.ts +1 -0
- package/dist/builtin/workflows/src/runs/foreground/executor-stage-types.ts +1 -1
- package/dist/builtin/workflows/src/runs/foreground/executor-types.ts +19 -2
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-context.ts +4 -0
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-controller.ts +10 -10
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-options.ts +5 -1
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-send-user-message.ts +25 -0
- package/dist/builtin/workflows/src/runs/foreground/stage-runner-types.ts +3 -0
- package/dist/builtin/workflows/src/shared/authoring-contract-stage.d.ts +16 -0
- package/dist/builtin/workflows/src/shared/authoring-contract-stage.ts +20 -0
- package/dist/builtin/workflows/src/shared/authoring-contract-ui.d.ts +23 -1
- package/dist/builtin/workflows/src/shared/authoring-contract-ui.ts +30 -1
- package/dist/builtin/workflows/src/shared/store-public-types.ts +6 -2
- package/dist/builtin/workflows/src/shared/store-run-methods.ts +12 -6
- package/dist/builtin/workflows/src/shared/types.ts +55 -0
- package/dist/builtin/workflows/src/tui/dispatch-confirm.ts +11 -10
- package/dist/builtin/workflows/src/tui/graph-view-constants.ts +1 -1
- package/dist/builtin/workflows/src/tui/graph-view-graph-render.ts +41 -0
- package/dist/builtin/workflows/src/tui/graph-view-input.ts +82 -24
- package/dist/builtin/workflows/src/tui/graph-view-render.ts +7 -0
- package/dist/builtin/workflows/src/tui/graph-view-state.ts +22 -2
- package/dist/builtin/workflows/src/tui/graph-view-types.ts +4 -5
- package/dist/builtin/workflows/src/tui/overlay-adapter.ts +9 -11
- package/dist/builtin/workflows/src/tui/stage-chat-view-footer-status.ts +9 -3
- package/dist/builtin/workflows/src/tui/stage-chat-view-input.ts +11 -2
- package/dist/builtin/workflows/src/tui/stage-chat-view-live-events.ts +35 -0
- package/dist/builtin/workflows/src/tui/stage-chat-view-state.ts +51 -17
- package/dist/builtin/workflows/src/tui/stage-chat-view-status.ts +36 -0
- package/dist/builtin/workflows/src/tui/stage-chat-view-types.ts +5 -1
- package/dist/builtin/workflows/src/tui/stage-chat-view.ts +3 -1
- package/dist/builtin/workflows/src/tui/status-list.ts +14 -2
- package/dist/builtin/workflows/src/tui/widget.ts +23 -8
- package/dist/builtin/workflows/src/tui/workflow-attach-pane-types.ts +5 -4
- package/dist/builtin/workflows/src/tui/workflow-attach-pane.ts +8 -8
- package/dist/builtin/workflows/src/tui/workflow-resume-selector.ts +151 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +9 -9
- package/dist/cli/args.js.map +1 -1
- package/dist/config-self-update.d.ts.map +1 -1
- package/dist/config-self-update.js +3 -4
- package/dist/config-self-update.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +4 -5
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session-bash.d.ts +1 -0
- package/dist/core/agent-session-bash.d.ts.map +1 -1
- package/dist/core/agent-session-bash.js +1 -0
- package/dist/core/agent-session-bash.js.map +1 -1
- package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
- package/dist/core/agent-session-tool-registry.js +23 -0
- package/dist/core/agent-session-tool-registry.js.map +1 -1
- package/dist/core/bash-executor.d.ts +2 -0
- package/dist/core/bash-executor.d.ts.map +1 -1
- package/dist/core/bash-executor.js +1 -0
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts +29 -0
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +36 -1
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/compaction/context-compaction-metrics.d.ts +14 -2
- package/dist/core/compaction/context-compaction-metrics.d.ts.map +1 -1
- package/dist/core/compaction/context-compaction-metrics.js +50 -1
- package/dist/core/compaction/context-compaction-metrics.js.map +1 -1
- package/dist/core/compaction/context-compaction-prompt.d.ts.map +1 -1
- package/dist/core/compaction/context-compaction-prompt.js +2 -0
- package/dist/core/compaction/context-compaction-prompt.js.map +1 -1
- package/dist/core/compaction/context-compaction-runner.d.ts.map +1 -1
- package/dist/core/compaction/context-compaction-runner.js +1 -1
- package/dist/core/compaction/context-compaction-runner.js.map +1 -1
- package/dist/core/compaction/context-deletion-application.d.ts.map +1 -1
- package/dist/core/compaction/context-deletion-application.js +5 -5
- package/dist/core/compaction/context-deletion-application.js.map +1 -1
- package/dist/core/compaction/context-deletion-targets.d.ts +2 -0
- package/dist/core/compaction/context-deletion-targets.d.ts.map +1 -1
- package/dist/core/compaction/context-deletion-targets.js +23 -3
- package/dist/core/compaction/context-deletion-targets.js.map +1 -1
- package/dist/core/compaction/context-deletion-tool-definitions.d.ts +6 -0
- package/dist/core/compaction/context-deletion-tool-definitions.d.ts.map +1 -1
- package/dist/core/compaction/context-deletion-tool-definitions.js.map +1 -1
- package/dist/core/compaction/context-deletion-tools.d.ts.map +1 -1
- package/dist/core/compaction/context-deletion-tools.js +18 -10
- package/dist/core/compaction/context-deletion-tools.js.map +1 -1
- package/dist/core/compaction/context-transcript-analysis.d.ts.map +1 -1
- package/dist/core/compaction/context-transcript-analysis.js +2 -4
- package/dist/core/compaction/context-transcript-analysis.js.map +1 -1
- package/dist/core/copilot-gemini-tool-arguments.d.ts.map +1 -1
- package/dist/core/copilot-gemini-tool-arguments.js +2 -60
- package/dist/core/copilot-gemini-tool-arguments.js.map +1 -1
- package/dist/core/extensions/context-types.d.ts +2 -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 -2
- package/dist/core/extensions/index.d.ts.map +1 -1
- package/dist/core/extensions/index.js +1 -1
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/loader-virtual-modules.d.ts.map +1 -1
- package/dist/core/extensions/loader-virtual-modules.js +57 -32
- package/dist/core/extensions/loader-virtual-modules.js.map +1 -1
- package/dist/core/extensions/runner-context.d.ts.map +1 -1
- package/dist/core/extensions/runner-context.js +11 -0
- package/dist/core/extensions/runner-context.js.map +1 -1
- package/dist/core/extensions/tool-events.d.ts +13 -13
- package/dist/core/extensions/tool-events.d.ts.map +1 -1
- package/dist/core/extensions/tool-events.js +3 -3
- package/dist/core/extensions/tool-events.js.map +1 -1
- package/dist/core/extensions/types.d.ts +1 -1
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/flattened-tool-arguments.d.ts +18 -0
- package/dist/core/flattened-tool-arguments.d.ts.map +1 -1
- package/dist/core/flattened-tool-arguments.js +104 -0
- package/dist/core/flattened-tool-arguments.js.map +1 -1
- package/dist/core/messages.d.ts +1 -0
- package/dist/core/messages.d.ts.map +1 -1
- package/dist/core/messages.js +46 -1
- package/dist/core/messages.js.map +1 -1
- package/dist/core/sdk-exports.d.ts +1 -1
- package/dist/core/sdk-exports.d.ts.map +1 -1
- package/dist/core/sdk-exports.js +1 -1
- package/dist/core/sdk-exports.js.map +1 -1
- package/dist/core/sdk-types.d.ts +2 -2
- 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.map +1 -1
- package/dist/core/sdk.js +12 -0
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager-core.d.ts +15 -7
- package/dist/core/session-manager-core.d.ts.map +1 -1
- package/dist/core/session-manager-core.js +20 -9
- package/dist/core/session-manager-core.js.map +1 -1
- package/dist/core/session-manager-entries.d.ts +2 -2
- package/dist/core/session-manager-entries.d.ts.map +1 -1
- package/dist/core/session-manager-entries.js +9 -3
- package/dist/core/session-manager-entries.js.map +1 -1
- package/dist/core/session-manager-history.d.ts.map +1 -1
- package/dist/core/session-manager-history.js +2 -1
- package/dist/core/session-manager-history.js.map +1 -1
- package/dist/core/session-manager-list.d.ts +3 -3
- package/dist/core/session-manager-list.d.ts.map +1 -1
- package/dist/core/session-manager-list.js +27 -8
- package/dist/core/session-manager-list.js.map +1 -1
- package/dist/core/session-manager-storage.d.ts +3 -1
- package/dist/core/session-manager-storage.d.ts.map +1 -1
- package/dist/core/session-manager-storage.js +55 -12
- package/dist/core/session-manager-storage.js.map +1 -1
- package/dist/core/session-manager-tool-dependencies.d.ts +10 -0
- package/dist/core/session-manager-tool-dependencies.d.ts.map +1 -0
- package/dist/core/session-manager-tool-dependencies.js +133 -0
- package/dist/core/session-manager-tool-dependencies.js.map +1 -0
- package/dist/core/session-manager-types.d.ts +22 -0
- 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 +2 -2
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +1 -1
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/settings-manager-basic-accessors.d.ts +4 -0
- package/dist/core/settings-manager-basic-accessors.d.ts.map +1 -1
- package/dist/core/settings-manager-basic-accessors.js +18 -0
- package/dist/core/settings-manager-basic-accessors.js.map +1 -1
- package/dist/core/settings-manager-resource-accessors.d.ts +4 -0
- package/dist/core/settings-manager-resource-accessors.d.ts.map +1 -1
- package/dist/core/settings-manager-resource-accessors.js +15 -0
- package/dist/core/settings-manager-resource-accessors.js.map +1 -1
- package/dist/core/settings-types.d.ts +11 -0
- package/dist/core/settings-types.d.ts.map +1 -1
- package/dist/core/settings-types.js.map +1 -1
- package/dist/core/system-prompt.d.ts +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +3 -2
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/artifact-protocol.d.ts +11 -0
- package/dist/core/tools/artifact-protocol.d.ts.map +1 -0
- package/dist/core/tools/artifact-protocol.js +76 -0
- package/dist/core/tools/artifact-protocol.js.map +1 -0
- package/dist/core/tools/artifacts.d.ts +18 -0
- package/dist/core/tools/artifacts.d.ts.map +1 -0
- package/dist/core/tools/artifacts.js +90 -0
- package/dist/core/tools/artifacts.js.map +1 -0
- package/dist/core/tools/bash-async-jobs.d.ts +20 -0
- package/dist/core/tools/bash-async-jobs.d.ts.map +1 -0
- package/dist/core/tools/bash-async-jobs.js +59 -0
- package/dist/core/tools/bash-async-jobs.js.map +1 -0
- package/dist/core/tools/bash-async-output.d.ts +10 -0
- package/dist/core/tools/bash-async-output.d.ts.map +1 -0
- package/dist/core/tools/bash-async-output.js +80 -0
- package/dist/core/tools/bash-async-output.js.map +1 -0
- package/dist/core/tools/bash-interceptor.d.ts +10 -0
- package/dist/core/tools/bash-interceptor.d.ts.map +1 -0
- package/dist/core/tools/bash-interceptor.js +39 -0
- package/dist/core/tools/bash-interceptor.js.map +1 -0
- package/dist/core/tools/bash-leading-cd.d.ts +7 -0
- package/dist/core/tools/bash-leading-cd.d.ts.map +1 -0
- package/dist/core/tools/bash-leading-cd.js +59 -0
- package/dist/core/tools/bash-leading-cd.js.map +1 -0
- package/dist/core/tools/bash-pty-native.d.ts +14 -0
- package/dist/core/tools/bash-pty-native.d.ts.map +1 -0
- package/dist/core/tools/bash-pty-native.js +71 -0
- package/dist/core/tools/bash-pty-native.js.map +1 -0
- package/dist/core/tools/bash.d.ts +28 -17
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +152 -35
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/block-resolver.d.ts +16 -0
- package/dist/core/tools/block-resolver.d.ts.map +1 -0
- package/dist/core/tools/block-resolver.js +74 -0
- package/dist/core/tools/block-resolver.js.map +1 -0
- package/dist/core/tools/conflict-registry.d.ts +16 -0
- package/dist/core/tools/conflict-registry.d.ts.map +1 -0
- package/dist/core/tools/conflict-registry.js +44 -0
- package/dist/core/tools/conflict-registry.js.map +1 -0
- package/dist/core/tools/directory-tree.d.ts +13 -0
- package/dist/core/tools/directory-tree.d.ts.map +1 -0
- package/dist/core/tools/directory-tree.js +81 -0
- package/dist/core/tools/directory-tree.js.map +1 -0
- package/dist/core/tools/edit.d.ts +4 -29
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +136 -228
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/fetch-url.d.ts +74 -0
- package/dist/core/tools/fetch-url.d.ts.map +1 -0
- package/dist/core/tools/fetch-url.js +518 -0
- package/dist/core/tools/fetch-url.js.map +1 -0
- package/dist/core/tools/find.d.ts +27 -9
- package/dist/core/tools/find.d.ts.map +1 -1
- package/dist/core/tools/find.js +400 -176
- package/dist/core/tools/find.js.map +1 -1
- package/dist/core/tools/glob-path-utils.d.ts +8 -0
- package/dist/core/tools/glob-path-utils.d.ts.map +1 -0
- package/dist/core/tools/glob-path-utils.js +26 -0
- package/dist/core/tools/glob-path-utils.js.map +1 -0
- package/dist/core/tools/grep.d.ts +12 -0
- package/dist/core/tools/grep.d.ts.map +1 -1
- package/dist/core/tools/grep.js +141 -17
- package/dist/core/tools/grep.js.map +1 -1
- package/dist/core/tools/hashline-engine/apply.d.ts +11 -0
- package/dist/core/tools/hashline-engine/apply.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/apply.js +752 -0
- package/dist/core/tools/hashline-engine/apply.js.map +1 -0
- package/dist/core/tools/hashline-engine/block.d.ts +40 -0
- package/dist/core/tools/hashline-engine/block.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/block.js +117 -0
- package/dist/core/tools/hashline-engine/block.js.map +1 -0
- package/dist/core/tools/hashline-engine/diff-preview.d.ts +15 -0
- package/dist/core/tools/hashline-engine/diff-preview.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/diff-preview.js +98 -0
- package/dist/core/tools/hashline-engine/diff-preview.js.map +1 -0
- package/dist/core/tools/hashline-engine/format.d.ts +71 -0
- package/dist/core/tools/hashline-engine/format.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/format.js +178 -0
- package/dist/core/tools/hashline-engine/format.js.map +1 -0
- package/dist/core/tools/hashline-engine/fs.d.ts +81 -0
- package/dist/core/tools/hashline-engine/fs.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/fs.js +143 -0
- package/dist/core/tools/hashline-engine/fs.js.map +1 -0
- package/dist/core/tools/hashline-engine/index.d.ts +18 -0
- package/dist/core/tools/hashline-engine/index.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/index.js +20 -0
- package/dist/core/tools/hashline-engine/index.js.map +1 -0
- package/dist/core/tools/hashline-engine/input.d.ts +101 -0
- package/dist/core/tools/hashline-engine/input.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/input.js +398 -0
- package/dist/core/tools/hashline-engine/input.js.map +1 -0
- package/dist/core/tools/hashline-engine/messages.d.ts +99 -0
- package/dist/core/tools/hashline-engine/messages.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/messages.js +144 -0
- package/dist/core/tools/hashline-engine/messages.js.map +1 -0
- package/dist/core/tools/hashline-engine/mismatch.d.ts +45 -0
- package/dist/core/tools/hashline-engine/mismatch.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/mismatch.js +90 -0
- package/dist/core/tools/hashline-engine/mismatch.js.map +1 -0
- package/dist/core/tools/hashline-engine/normalize.d.ts +21 -0
- package/dist/core/tools/hashline-engine/normalize.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/normalize.js +33 -0
- package/dist/core/tools/hashline-engine/normalize.js.map +1 -0
- package/dist/core/tools/hashline-engine/parser.d.ts +24 -0
- package/dist/core/tools/hashline-engine/parser.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/parser.js +381 -0
- package/dist/core/tools/hashline-engine/parser.js.map +1 -0
- package/dist/core/tools/hashline-engine/patcher.d.ts +118 -0
- package/dist/core/tools/hashline-engine/patcher.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/patcher.js +341 -0
- package/dist/core/tools/hashline-engine/patcher.js.map +1 -0
- package/dist/core/tools/hashline-engine/prefixes.d.ts +43 -0
- package/dist/core/tools/hashline-engine/prefixes.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/prefixes.js +135 -0
- package/dist/core/tools/hashline-engine/prefixes.js.map +1 -0
- package/dist/core/tools/hashline-engine/recovery.d.ts +41 -0
- package/dist/core/tools/hashline-engine/recovery.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/recovery.js +168 -0
- package/dist/core/tools/hashline-engine/recovery.js.map +1 -0
- package/dist/core/tools/hashline-engine/snapshots.d.ts +65 -0
- package/dist/core/tools/hashline-engine/snapshots.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/snapshots.js +108 -0
- package/dist/core/tools/hashline-engine/snapshots.js.map +1 -0
- package/dist/core/tools/hashline-engine/stream.d.ts +3 -0
- package/dist/core/tools/hashline-engine/stream.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/stream.js +111 -0
- package/dist/core/tools/hashline-engine/stream.js.map +1 -0
- package/dist/core/tools/hashline-engine/tokenizer.d.ts +69 -0
- package/dist/core/tools/hashline-engine/tokenizer.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/tokenizer.js +430 -0
- package/dist/core/tools/hashline-engine/tokenizer.js.map +1 -0
- package/dist/core/tools/hashline-engine/types.d.ts +166 -0
- package/dist/core/tools/hashline-engine/types.d.ts.map +1 -0
- package/dist/core/tools/hashline-engine/types.js +9 -0
- package/dist/core/tools/hashline-engine/types.js.map +1 -0
- package/dist/core/tools/hashline.d.ts +29 -0
- package/dist/core/tools/hashline.d.ts.map +1 -0
- package/dist/core/tools/hashline.js +110 -0
- package/dist/core/tools/hashline.js.map +1 -0
- package/dist/core/tools/index.d.ts +6 -4
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/index.js +52 -35
- package/dist/core/tools/index.js.map +1 -1
- package/dist/core/tools/notebook.d.ts +38 -0
- package/dist/core/tools/notebook.d.ts.map +1 -0
- package/dist/core/tools/notebook.js +125 -0
- package/dist/core/tools/notebook.js.map +1 -0
- package/dist/core/tools/read-document-extract.d.ts +9 -0
- package/dist/core/tools/read-document-extract.d.ts.map +1 -0
- package/dist/core/tools/read-document-extract.js +212 -0
- package/dist/core/tools/read-document-extract.js.map +1 -0
- package/dist/core/tools/read-selectors.d.ts +24 -0
- package/dist/core/tools/read-selectors.d.ts.map +1 -0
- package/dist/core/tools/read-selectors.js +277 -0
- package/dist/core/tools/read-selectors.js.map +1 -0
- package/dist/core/tools/read-url.d.ts +37 -0
- package/dist/core/tools/read-url.d.ts.map +1 -0
- package/dist/core/tools/read-url.js +39 -0
- package/dist/core/tools/read-url.js.map +1 -0
- package/dist/core/tools/read.d.ts +11 -11
- package/dist/core/tools/read.d.ts.map +1 -1
- package/dist/core/tools/read.js +224 -94
- package/dist/core/tools/read.js.map +1 -1
- package/dist/core/tools/resource-selectors.d.ts +44 -0
- package/dist/core/tools/resource-selectors.d.ts.map +1 -0
- package/dist/core/tools/resource-selectors.js +808 -0
- package/dist/core/tools/resource-selectors.js.map +1 -0
- package/dist/core/tools/search-details.d.ts +26 -0
- package/dist/core/tools/search-details.d.ts.map +1 -0
- package/dist/core/tools/search-details.js +24 -0
- package/dist/core/tools/search-details.js.map +1 -0
- package/dist/core/tools/search-line-ranges.d.ts +11 -0
- package/dist/core/tools/search-line-ranges.d.ts.map +1 -0
- package/dist/core/tools/search-line-ranges.js +65 -0
- package/dist/core/tools/search-line-ranges.js.map +1 -0
- package/dist/core/tools/search-native.d.ts +97 -0
- package/dist/core/tools/search-native.d.ts.map +1 -0
- package/dist/core/tools/search-native.js +27 -0
- package/dist/core/tools/search-native.js.map +1 -0
- package/dist/core/tools/search.d.ts +24 -0
- package/dist/core/tools/search.d.ts.map +1 -0
- package/dist/core/tools/search.js +573 -0
- package/dist/core/tools/search.js.map +1 -0
- package/dist/core/tools/truncate.d.ts +4 -4
- package/dist/core/tools/truncate.d.ts.map +1 -1
- package/dist/core/tools/truncate.js +3 -3
- package/dist/core/tools/truncate.js.map +1 -1
- package/dist/core/tools/url-ip-guards.d.ts +4 -0
- package/dist/core/tools/url-ip-guards.d.ts.map +1 -0
- package/dist/core/tools/url-ip-guards.js +126 -0
- package/dist/core/tools/url-ip-guards.js.map +1 -0
- package/dist/core/tools/write.d.ts +12 -2
- package/dist/core/tools/write.d.ts.map +1 -1
- package/dist/core/tools/write.js +166 -14
- package/dist/core/tools/write.js.map +1 -1
- package/dist/core/trust-manager.d.ts.map +1 -1
- package/dist/core/trust-manager.js +2 -3
- package/dist/core/trust-manager.js.map +1 -1
- package/dist/index-extensions.d.ts +2 -2
- package/dist/index-extensions.d.ts.map +1 -1
- package/dist/index-extensions.js +1 -1
- package/dist/index-extensions.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-runtime.d.ts +1 -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 +12 -0
- package/dist/modes/interactive/components/chat-session-host-runtime.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-terminal-cleanup.d.ts +4 -0
- package/dist/modes/interactive/components/chat-session-host-terminal-cleanup.d.ts.map +1 -0
- package/dist/modes/interactive/components/chat-session-host-terminal-cleanup.js +131 -0
- package/dist/modes/interactive/components/chat-session-host-terminal-cleanup.js.map +1 -0
- package/dist/modes/interactive/components/chat-session-host.d.ts +2 -0
- package/dist/modes/interactive/components/chat-session-host.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host.js +7 -1
- package/dist/modes/interactive/components/chat-session-host.js.map +1 -1
- package/dist/modes/interactive/components/chat-transcript.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-transcript.js +15 -4
- package/dist/modes/interactive/components/chat-transcript.js.map +1 -1
- package/dist/modes/interactive/components/custom-editor.d.ts +1 -0
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js +9 -2
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-handlers.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector-handlers.js +3 -0
- package/dist/modes/interactive/components/settings-selector-handlers.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-items.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector-items.js +7 -0
- package/dist/modes/interactive/components/settings-selector-items.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-types.d.ts +2 -0
- package/dist/modes/interactive/components/settings-selector-types.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector-types.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +3 -0
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +26 -0
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.js +0 -5
- package/dist/modes/interactive/components/tree-selector-content.js.map +1 -1
- package/dist/modes/interactive/interactive-auth-login.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-auth-login.js +1 -0
- package/dist/modes/interactive/interactive-auth-login.js.map +1 -1
- package/dist/modes/interactive/interactive-autocomplete.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-autocomplete.js +80 -2
- package/dist/modes/interactive/interactive-autocomplete.js.map +1 -1
- package/dist/modes/interactive/interactive-hotkeys-debug.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-hotkeys-debug.js +3 -0
- package/dist/modes/interactive/interactive-hotkeys-debug.js.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.js +51 -0
- package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts +5 -0
- package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.js +5 -0
- package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.d.ts +1 -1
- package/dist/modes/interactive/interactive-mode-deps.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts +12 -0
- 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-routing.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.js +4 -1
- package/dist/modes/interactive/interactive-model-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-onboarding.d.ts +11 -0
- package/dist/modes/interactive/interactive-onboarding.d.ts.map +1 -0
- package/dist/modes/interactive/interactive-onboarding.js +220 -0
- package/dist/modes/interactive/interactive-onboarding.js.map +1 -0
- package/dist/modes/interactive/interactive-selectors.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-selectors.js +4 -0
- package/dist/modes/interactive/interactive-selectors.js.map +1 -1
- package/dist/modes/interactive/interactive-session-routing.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-session-routing.js +6 -0
- package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-slash-commands.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-slash-commands.js +9 -4
- package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
- package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-startup.js +28 -0
- package/dist/modes/interactive/interactive-startup.js.map +1 -1
- package/dist/utils/child-process.d.ts.map +1 -1
- package/dist/utils/child-process.js +21 -1
- package/dist/utils/child-process.js.map +1 -1
- package/dist/utils/markit.d.ts +8 -0
- package/dist/utils/markit.d.ts.map +1 -0
- package/dist/utils/markit.js +53 -0
- package/dist/utils/markit.js.map +1 -0
- package/dist/utils/paths.d.ts +2 -1
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +14 -1
- package/dist/utils/paths.js.map +1 -1
- package/docs/compaction.md +18 -1
- package/docs/containerization.md +1 -1
- package/docs/docs.json +1 -0
- package/docs/extensions.md +25 -36
- package/docs/models.md +1 -1
- package/docs/providers.md +2 -1
- package/docs/quickstart.md +11 -6
- package/docs/sdk.md +5 -5
- package/docs/session-format.md +6 -0
- package/docs/sessions.md +6 -0
- package/docs/settings.md +7 -0
- package/docs/subagents.md +3 -2
- package/docs/tools.md +49 -0
- package/docs/usage.md +3 -3
- package/docs/workflows.md +112 -8
- package/examples/extensions/subagent/README.md +5 -5
- package/examples/extensions/subagent/agents/planner.md +1 -1
- package/examples/extensions/subagent/agents/reviewer.md +1 -1
- package/examples/extensions/subagent/agents/scout.md +2 -2
- package/examples/extensions/subagent/display.ts +3 -3
- package/examples/sdk/05-tools.ts +3 -3
- package/examples/sdk/README.md +1 -1
- package/package.json +5 -3
|
@@ -103,7 +103,7 @@ export function reduceGoalDecision(
|
|
|
103
103
|
decision: {
|
|
104
104
|
turn: options.turn,
|
|
105
105
|
decision: "blocked",
|
|
106
|
-
reason: `Same blocker repeated for ${blockerCount}/${options.blockerThreshold} consecutive
|
|
106
|
+
reason: `Same blocker repeated for ${blockerCount}/${options.blockerThreshold} consecutive controller observations.`,
|
|
107
107
|
complete_votes: completeVotes,
|
|
108
108
|
review_quorum: options.reviewQuorum,
|
|
109
109
|
blocker: observation.blocker,
|
|
@@ -118,7 +118,7 @@ export function reduceGoalDecision(
|
|
|
118
118
|
decision: {
|
|
119
119
|
turn: options.turn,
|
|
120
120
|
decision: "needs_human",
|
|
121
|
-
reason: `
|
|
121
|
+
reason: `Worker attempt budget reached without reviewer quorum. Remaining work: ${collectRemainingWork(turnReviews)}`,
|
|
122
122
|
complete_votes: completeVotes,
|
|
123
123
|
review_quorum: options.reviewQuorum,
|
|
124
124
|
...(observation ? { blocker: observation.blocker } : {}),
|
|
@@ -4,7 +4,7 @@ export function formatReviewReport(reviews: readonly ReviewRecord[]): string {
|
|
|
4
4
|
if (reviews.length === 0) return "No reviewer decisions were recorded.";
|
|
5
5
|
return reviews
|
|
6
6
|
.map((review) => [
|
|
7
|
-
`### ${review.reviewer}
|
|
7
|
+
`### ${review.reviewer}`,
|
|
8
8
|
"",
|
|
9
9
|
`Decision: ${review.decision}`,
|
|
10
10
|
`Artifact: ${review.artifact_path}`,
|
|
@@ -21,7 +21,7 @@ export function renderFinalReport(
|
|
|
21
21
|
const receiptLines = ledger.receipts.length > 0
|
|
22
22
|
? ledger.receipts.map(
|
|
23
23
|
(receipt) =>
|
|
24
|
-
`-
|
|
24
|
+
`- ${receipt.summary} (artifact: ${receipt.artifact_path})`,
|
|
25
25
|
)
|
|
26
26
|
: ["- No receipts captured."];
|
|
27
27
|
|
|
@@ -38,9 +38,6 @@ export function renderFinalReport(
|
|
|
38
38
|
"## Final status",
|
|
39
39
|
ledger.status,
|
|
40
40
|
"",
|
|
41
|
-
"## Turns completed",
|
|
42
|
-
String(ledger.turns),
|
|
43
|
-
"",
|
|
44
41
|
"## Ledger artifact",
|
|
45
42
|
ledgerPath,
|
|
46
43
|
"",
|
|
@@ -23,7 +23,7 @@ export function reviewerErrorDecision(message: string): ReviewDecision {
|
|
|
23
23
|
findings: [],
|
|
24
24
|
overall_correctness: "patch is incorrect",
|
|
25
25
|
overall_explanation:
|
|
26
|
-
"Reviewer execution failed, so the review gate cannot safely approve
|
|
26
|
+
"Reviewer execution failed, so the review gate cannot safely approve the current repository state.",
|
|
27
27
|
overall_confidence_score: 0,
|
|
28
28
|
goal_oracle_satisfied: false,
|
|
29
29
|
receipt_assessment:
|
|
@@ -139,18 +139,16 @@ export async function runGoalWorkflow(ctx: GoalRunnerContext, options: GoalWorkf
|
|
|
139
139
|
let previousWorkerSessionFile: string | undefined;
|
|
140
140
|
|
|
141
141
|
for (let turn = 1; turn <= maxTurns && ledger.status === "active"; turn += 1) {
|
|
142
|
-
appendLifecycleEvent(ledger, "work_turn_started",
|
|
142
|
+
appendLifecycleEvent(ledger, "work_turn_started", "Worker started.", turn);
|
|
143
143
|
await writeGoalLedger(ledgerPath, ledger);
|
|
144
144
|
|
|
145
|
-
const workTurnPath = join(artifactDir,
|
|
145
|
+
const workTurnPath = join(artifactDir, "worker-receipt.md");
|
|
146
146
|
const workerForkOptions = forkContinuationOptions(previousWorkerSessionFile);
|
|
147
147
|
const workerPrompt = workerForkOptions.forkFromSessionFile === undefined
|
|
148
148
|
? [
|
|
149
149
|
renderGoalContinuationPrompt(
|
|
150
150
|
ledger,
|
|
151
151
|
ledgerPath,
|
|
152
|
-
turn,
|
|
153
|
-
maxTurns,
|
|
154
152
|
blockerThreshold,
|
|
155
153
|
latestReviewArtifactPaths,
|
|
156
154
|
),
|
|
@@ -166,8 +164,6 @@ export async function runGoalWorkflow(ctx: GoalRunnerContext, options: GoalWorkf
|
|
|
166
164
|
: renderForkedGoalWorkerPrompt(
|
|
167
165
|
ledger,
|
|
168
166
|
ledgerPath,
|
|
169
|
-
turn,
|
|
170
|
-
maxTurns,
|
|
171
167
|
blockerThreshold,
|
|
172
168
|
latestReviewArtifactPaths,
|
|
173
169
|
);
|
|
@@ -184,7 +180,7 @@ export async function runGoalWorkflow(ctx: GoalRunnerContext, options: GoalWorkf
|
|
|
184
180
|
});
|
|
185
181
|
} catch (err) {
|
|
186
182
|
const message = err instanceof Error ? err.message : String(err);
|
|
187
|
-
terminalRemainingWork = `Worker
|
|
183
|
+
terminalRemainingWork = `Worker failed before producing a receipt: ${message}`;
|
|
188
184
|
latestReviews = [];
|
|
189
185
|
latestReviewArtifactPaths = [];
|
|
190
186
|
latestReviewReportPath = undefined;
|
|
@@ -208,9 +204,9 @@ export async function runGoalWorkflow(ctx: GoalRunnerContext, options: GoalWorkf
|
|
|
208
204
|
turn,
|
|
209
205
|
stage: worker.name ?? worker.stageName,
|
|
210
206
|
artifact_path: workTurnPath,
|
|
211
|
-
summary: `Worker receipt artifact
|
|
207
|
+
summary: `Worker receipt artifact: ${workTurnPath}`,
|
|
212
208
|
});
|
|
213
|
-
appendLifecycleEvent(ledger, "receipt_recorded",
|
|
209
|
+
appendLifecycleEvent(ledger, "receipt_recorded", "Worker receipt recorded.", turn);
|
|
214
210
|
await writeGoalLedger(ledgerPath, ledger);
|
|
215
211
|
|
|
216
212
|
const reviewerStep = (
|
|
@@ -226,7 +222,6 @@ export async function runGoalWorkflow(ctx: GoalRunnerContext, options: GoalWorkf
|
|
|
226
222
|
ledgerPath,
|
|
227
223
|
workTurnPath,
|
|
228
224
|
comparisonBaseBranch,
|
|
229
|
-
turn,
|
|
230
225
|
reviewQuorum,
|
|
231
226
|
blockerThreshold,
|
|
232
227
|
}),
|
|
@@ -263,8 +258,8 @@ export async function runGoalWorkflow(ctx: GoalRunnerContext, options: GoalWorkf
|
|
|
263
258
|
const structured = reviewerErrorDecision(message);
|
|
264
259
|
reviewResults = [
|
|
265
260
|
{
|
|
266
|
-
name:
|
|
267
|
-
stageName:
|
|
261
|
+
name: "reviewer-error",
|
|
262
|
+
stageName: "reviewer-error",
|
|
268
263
|
text: JSON.stringify(structured, null, 2),
|
|
269
264
|
structured,
|
|
270
265
|
},
|
|
@@ -279,14 +274,13 @@ export async function runGoalWorkflow(ctx: GoalRunnerContext, options: GoalWorkf
|
|
|
279
274
|
);
|
|
280
275
|
const reviewArtifactPath = await writeReviewArtifact(
|
|
281
276
|
artifactDir,
|
|
282
|
-
|
|
283
|
-
reviewerName,
|
|
277
|
+
reviewerName.replace(/-\d+$/u, ""),
|
|
284
278
|
parsed,
|
|
285
279
|
result.text,
|
|
286
280
|
);
|
|
287
281
|
return reviewDecisionToRecord({
|
|
288
282
|
turn,
|
|
289
|
-
reviewer: reviewerName,
|
|
283
|
+
reviewer: reviewerName.replace(/-\d+$/u, ""),
|
|
290
284
|
artifactPath: reviewArtifactPath,
|
|
291
285
|
decision: parsed,
|
|
292
286
|
});
|
|
@@ -294,14 +288,13 @@ export async function runGoalWorkflow(ctx: GoalRunnerContext, options: GoalWorkf
|
|
|
294
288
|
latestReviewArtifactPaths = latestReviews.map((review) => review.artifact_path);
|
|
295
289
|
latestReviewReportPath = await writeReviewRoundArtifact(
|
|
296
290
|
artifactDir,
|
|
297
|
-
turn,
|
|
298
291
|
latestReviews,
|
|
299
292
|
);
|
|
300
293
|
ledger.reviews.push(...latestReviews);
|
|
301
294
|
appendLifecycleEvent(
|
|
302
295
|
ledger,
|
|
303
296
|
"reviews_recorded",
|
|
304
|
-
`Recorded ${latestReviews.length} reviewer decisions
|
|
297
|
+
`Recorded ${latestReviews.length} reviewer decisions.`,
|
|
305
298
|
turn,
|
|
306
299
|
);
|
|
307
300
|
|
|
@@ -186,7 +186,7 @@ export function hasMeaningfulFeedback(feedback: PreviewFeedback): boolean {
|
|
|
186
186
|
function feedbackLabel(feedback: PreviewFeedback): string {
|
|
187
187
|
return feedback.iteration === 0
|
|
188
188
|
? "the initial preview"
|
|
189
|
-
:
|
|
189
|
+
: "the live design review";
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
/**
|
|
@@ -202,7 +202,7 @@ export function buildUserAnnotationsSection(history: readonly PreviewFeedback[])
|
|
|
202
202
|
.reverse()
|
|
203
203
|
.map((feedback) => {
|
|
204
204
|
const lines = [
|
|
205
|
-
`### User annotations from ${feedbackLabel(feedback)}
|
|
205
|
+
`### User annotations from ${feedbackLabel(feedback)}`,
|
|
206
206
|
"",
|
|
207
207
|
];
|
|
208
208
|
if (hasMeaningfulUserNotes(feedback)) {
|
|
@@ -232,7 +232,7 @@ export function userAnnotationsBlock(history: readonly PreviewFeedback[]): {
|
|
|
232
232
|
if (section.length === 0) {
|
|
233
233
|
return {
|
|
234
234
|
hasNotes: false,
|
|
235
|
-
text: "No interactive user annotations were captured in the user-feedback stage. There is no user feedback to honor for this
|
|
235
|
+
text: "No interactive user annotations were captured in the user-feedback stage. There is no user feedback to honor for this refinement.",
|
|
236
236
|
};
|
|
237
237
|
}
|
|
238
238
|
return { hasNotes: true, text: section };
|
|
@@ -110,9 +110,7 @@ export async function refineOpenClaudeDesign(options: RefineOptions): Promise<{
|
|
|
110
110
|
maxRefinements,
|
|
111
111
|
}),
|
|
112
112
|
...designModelConfig,
|
|
113
|
-
...forkContinuationOptions(
|
|
114
|
-
latestUserFeedbackSessionFile ?? latestGenerateSessionFile,
|
|
115
|
-
),
|
|
113
|
+
...forkContinuationOptions(latestUserFeedbackSessionFile),
|
|
116
114
|
})
|
|
117
115
|
.catch(() => undefined);
|
|
118
116
|
|
|
@@ -220,7 +220,7 @@ export function buildLivePreviewDisplayPrompt(args: {
|
|
|
220
220
|
const isFinal = args.final === true;
|
|
221
221
|
const label = isInitial
|
|
222
222
|
? "the just-generated HTML artifact"
|
|
223
|
-
:
|
|
223
|
+
: "the revised preview";
|
|
224
224
|
const objective = isFinal
|
|
225
225
|
? `Show the user ${label} as the FINAL refinement pass and let them review it in the browser. This is the last automated iteration, so do NOT solicit change requests this run cannot apply — if the user wants further changes, tell them to re-run \`/workflow open-claude-design\`. Drive \`/skill:impeccable live\` for viewing/QA when possible; degrade gracefully.`
|
|
226
226
|
: `Make ${label} visible to the user, run an interactive design-QA session against it, then capture the user's feedback for the refinement loop. Drive \`/skill:impeccable live\` against the static preview when possible; degrade gracefully when browser automation is unavailable.`;
|
|
@@ -183,14 +183,14 @@ export function reviewerErrorDecision(error: string): ReviewDecision {
|
|
|
183
183
|
findings: [],
|
|
184
184
|
overall_correctness: "patch is incorrect",
|
|
185
185
|
overall_explanation:
|
|
186
|
-
"Reviewer execution failed, so the review
|
|
186
|
+
"Reviewer execution failed, so the review gate cannot safely approve the current repository state.",
|
|
187
187
|
overall_confidence_score: 0,
|
|
188
188
|
stop_review_loop: false,
|
|
189
189
|
reviewer_error: {
|
|
190
190
|
kind: "reviewer_failure",
|
|
191
191
|
message: error,
|
|
192
192
|
attempted_recovery:
|
|
193
|
-
"Model fallbacks were configured for the reviewer stage; continuing
|
|
193
|
+
"Model fallbacks were configured for the reviewer stage; continuing without approval.",
|
|
194
194
|
},
|
|
195
195
|
};
|
|
196
196
|
}
|
|
@@ -216,14 +216,12 @@ export function artifactSafeName(value: string): string {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
type ReviewArtifact = {
|
|
219
|
-
readonly iteration: number;
|
|
220
219
|
readonly reviewer: string;
|
|
221
220
|
readonly decision: ReviewDecision;
|
|
222
221
|
readonly raw_text: string;
|
|
223
222
|
};
|
|
224
223
|
|
|
225
224
|
type ReviewRoundArtifact = {
|
|
226
|
-
readonly iteration: number;
|
|
227
225
|
readonly reviews: readonly {
|
|
228
226
|
readonly reviewer: string;
|
|
229
227
|
readonly artifact_path: string;
|
|
@@ -259,8 +257,6 @@ export function forkContinuationOptions(
|
|
|
259
257
|
}
|
|
260
258
|
|
|
261
259
|
export function renderResearchPromptRefinementPrompt(args: {
|
|
262
|
-
readonly iteration: number;
|
|
263
|
-
readonly maxLoops: number;
|
|
264
260
|
readonly request: string;
|
|
265
261
|
readonly workflowCwdContext: PromptSection;
|
|
266
262
|
readonly latestReviewReportPath: string | undefined;
|
|
@@ -269,12 +265,11 @@ export function renderResearchPromptRefinementPrompt(args: {
|
|
|
269
265
|
return [
|
|
270
266
|
basePrompt,
|
|
271
267
|
taggedPrompt([
|
|
272
|
-
["iteration", `Research prompt refinement iteration ${args.iteration}/${args.maxLoops}.`],
|
|
273
268
|
args.workflowCwdContext,
|
|
274
269
|
[
|
|
275
270
|
"review_findings",
|
|
276
271
|
args.latestReviewReportPath === undefined
|
|
277
|
-
? "No prior review artifact
|
|
272
|
+
? "No prior review artifact is available."
|
|
278
273
|
: [
|
|
279
274
|
`Latest review round artifact: ${args.latestReviewReportPath}`,
|
|
280
275
|
"Read this JSON artifact and include unresolved reviewer findings in the transformed research question so follow-up research addresses reviewer discoveries.",
|
|
@@ -289,8 +284,6 @@ export function renderResearchPromptRefinementPrompt(args: {
|
|
|
289
284
|
}
|
|
290
285
|
|
|
291
286
|
export function renderResearchPrompt(args: {
|
|
292
|
-
readonly iteration: number;
|
|
293
|
-
readonly maxLoops: number;
|
|
294
287
|
readonly transformedResearchQuestion: string;
|
|
295
288
|
readonly workflowCwdContext: PromptSection;
|
|
296
289
|
readonly latestReviewReportPath: string | undefined;
|
|
@@ -300,12 +293,11 @@ export function renderResearchPrompt(args: {
|
|
|
300
293
|
return [
|
|
301
294
|
basePrompt,
|
|
302
295
|
taggedPrompt([
|
|
303
|
-
["iteration", `Research iteration ${args.iteration}/${args.maxLoops}.`],
|
|
304
296
|
args.workflowCwdContext,
|
|
305
297
|
[
|
|
306
298
|
"review_findings",
|
|
307
299
|
args.latestReviewReportPath === undefined
|
|
308
|
-
? "No prior review artifact
|
|
300
|
+
? "No prior review artifact is available."
|
|
309
301
|
: [
|
|
310
302
|
`Latest review round artifact: ${args.latestReviewReportPath}`,
|
|
311
303
|
"Read this JSON artifact and explicitly research unresolved reviewer findings, whether each still applies, and what implementation changes would resolve them.",
|
|
@@ -325,8 +317,6 @@ export function renderResearchPrompt(args: {
|
|
|
325
317
|
|
|
326
318
|
|
|
327
319
|
export function renderForkedOrchestratorPrompt(args: {
|
|
328
|
-
readonly iteration: number;
|
|
329
|
-
readonly maxLoops: number;
|
|
330
320
|
readonly prompt: string;
|
|
331
321
|
readonly workflowCwdContext: PromptSection;
|
|
332
322
|
readonly researchPath: string;
|
|
@@ -337,10 +327,10 @@ export function renderForkedOrchestratorPrompt(args: {
|
|
|
337
327
|
[
|
|
338
328
|
"instruction",
|
|
339
329
|
[
|
|
340
|
-
`Continue implementing from the latest research findings. Ignore any user requests to submit a PR. This will be done in a future stage
|
|
330
|
+
`Continue implementing from the latest research findings. Do not stop until the objective is complete. Ignore any user requests to submit a PR. This will be done in a future stage.`
|
|
341
331
|
].join("\n"),
|
|
342
332
|
],
|
|
343
|
-
["objective", `Implement
|
|
333
|
+
["objective", `Implement the full requested task: ${args.prompt}`],
|
|
344
334
|
args.workflowCwdContext,
|
|
345
335
|
[
|
|
346
336
|
"research",
|
|
@@ -353,7 +343,7 @@ export function renderForkedOrchestratorPrompt(args: {
|
|
|
353
343
|
"implementation_notes",
|
|
354
344
|
[
|
|
355
345
|
`Keep updating the running Markdown implementation notes file at: ${args.implementationNotesPath}`,
|
|
356
|
-
"Record decisions, research deviations, tradeoffs, blockers, validation outcomes, and anything else the user should know before your final report. Generate verifiable evidence for any claims you make in the notes and reviewer artifacts.",
|
|
346
|
+
"Record decisions, research deviations, tradeoffs, blockers, validation outcomes, and anything else the user should know before your final report. Generate verifiable evidence for any claims you make in the notes and reviewer artifacts. Do not stop until the objective is complete.",
|
|
357
347
|
].join("\n"),
|
|
358
348
|
],
|
|
359
349
|
["e2e_verification", E2E_VERIFICATION_GUIDANCE],
|
|
@@ -67,8 +67,6 @@ export async function runRalphWorkflow(
|
|
|
67
67
|
const researchPromptRefinementForkOptions = forkContinuationOptions(previousResearchPromptRefinementSessionFile);
|
|
68
68
|
const researchPromptRefinement = await ctx.task(`research-prompt-refinement-${iteration}`, {
|
|
69
69
|
prompt: renderResearchPromptRefinementPrompt({
|
|
70
|
-
iteration,
|
|
71
|
-
maxLoops,
|
|
72
70
|
request: workflowPrompt,
|
|
73
71
|
workflowCwdContext,
|
|
74
72
|
latestReviewReportPath,
|
|
@@ -82,8 +80,6 @@ export async function runRalphWorkflow(
|
|
|
82
80
|
const researchForkOptions = forkContinuationOptions(previousResearchSessionFile);
|
|
83
81
|
const research = await ctx.task(`research-${iteration}`, {
|
|
84
82
|
prompt: renderResearchPrompt({
|
|
85
|
-
iteration,
|
|
86
|
-
maxLoops,
|
|
87
83
|
transformedResearchQuestion: researchPromptRefinement.text,
|
|
88
84
|
workflowCwdContext,
|
|
89
85
|
latestReviewReportPath,
|
|
@@ -100,7 +96,7 @@ export async function runRalphWorkflow(
|
|
|
100
96
|
const researchPath = workflowResearchPath;
|
|
101
97
|
finalResearchPath = researchPath;
|
|
102
98
|
finalPlanPath = researchPath;
|
|
103
|
-
const orchestratorReportPath = join(artifactDir,
|
|
99
|
+
const orchestratorReportPath = join(artifactDir, "orchestrator-report.md");
|
|
104
100
|
const orchestratorForkOptions = forkContinuationOptions(previousOrchestratorSessionFile);
|
|
105
101
|
const orchestratorPrompt = orchestratorForkOptions.forkFromSessionFile === undefined
|
|
106
102
|
? taggedPrompt([
|
|
@@ -110,7 +106,7 @@ export async function runRalphWorkflow(
|
|
|
110
106
|
],
|
|
111
107
|
[
|
|
112
108
|
"objective",
|
|
113
|
-
`Implement
|
|
109
|
+
`Implement the full requested task: ${workflowPrompt}`,
|
|
114
110
|
],
|
|
115
111
|
workflowCwdContext,
|
|
116
112
|
[
|
|
@@ -125,7 +121,7 @@ export async function runRalphWorkflow(
|
|
|
125
121
|
[
|
|
126
122
|
`Keep a running Markdown implementation notes file at this OS temp directory path: ${implementationNotesPath}`,
|
|
127
123
|
"The file has already been initialized for this workflow run; update it while you implement from the research findings.",
|
|
128
|
-
"Record decisions you had to make that were not in the research, things you had to change from the research guidance, tradeoffs you had to make, blockers, validation outcomes, and anything else the user should know.",
|
|
124
|
+
"Record decisions you had to make that were not in the research, things you had to change from the research guidance, tradeoffs you had to make, blockers, validation outcomes, and anything else the user should know. Do not stop until the objective is complete.",
|
|
129
125
|
"Ask delegated subagents to report any notes-worthy decisions or tradeoffs back to you, then consolidate them into this file before your final report.",
|
|
130
126
|
"Do not include secrets, credentials, tokens, or unrelated environment details in the notes file.",
|
|
131
127
|
].join("\n"),
|
|
@@ -141,7 +137,7 @@ export async function runRalphWorkflow(
|
|
|
141
137
|
"Delegate codebase understanding, impact analysis, and implementation research to codebase-locator, codebase-analyzer, and pattern-finder style subagents when available.",
|
|
142
138
|
"Delegate shell-heavy work — especially commands likely to produce lots of output, log digging, CLI investigation, and broad grep/find exploration — to subagents that can run those commands rather than doing it in this orchestrator context.",
|
|
143
139
|
"Delegate implementation edits to a focused subagent with clear files, constraints, and validation expectations; do not merely describe the edits yourself.",
|
|
144
|
-
"Keep delegated work focused on implementation, tests, docs, validation evidence, and implementation notes.",
|
|
140
|
+
"Keep delegated work focused on implementation, tests, docs, validation evidence, and implementation notes for the complete requested outcome.",
|
|
145
141
|
"Use separate subagents for separate tasks, and launch independent subagents in parallel when useful.",
|
|
146
142
|
"Do not split highly overlapping tasks across multiple subagents; consolidate overlapping work into one focused delegation to avoid duplicate effort.",
|
|
147
143
|
"If a subagent takes a long time, do not attempt to do its assigned job yourself while waiting. Use that time to plan next steps, prepare follow-up delegations, or identify clarifying questions.",
|
|
@@ -152,7 +148,7 @@ export async function runRalphWorkflow(
|
|
|
152
148
|
[
|
|
153
149
|
"The required output format is a completion report, not the task itself.",
|
|
154
150
|
"Do not jump straight to the report. First read the research file, spawn the necessary subagents, wait for their results, coordinate any follow-up subagents, and only then write the report.",
|
|
155
|
-
"A valid response must be grounded in actual subagent work: name the delegated work, summarize what each subagent did, and distinguish completed changes from recommendations or blockers.",
|
|
151
|
+
"A valid response must be grounded in actual subagent work: name the delegated work, summarize what each subagent did, and distinguish completed changes from recommendations or blockers. Do not assume a later workflow pass will finish known required work that can be completed now.",
|
|
156
152
|
"If you cannot read the research file, spawn subagents, or use subagents, treat that as a blocker and report it honestly instead of pretending the requested work was done.",
|
|
157
153
|
].join("\n"),
|
|
158
154
|
],
|
|
@@ -173,11 +169,11 @@ export async function runRalphWorkflow(
|
|
|
173
169
|
"Perform the project_initialization_preflight before decomposing implementation work; complete or delegate required setup before implementation delegation when the checkout appears uninitialized.",
|
|
174
170
|
"Decompose the work into delegated subagent tasks based on that research file.",
|
|
175
171
|
"Pass each subagent the relevant task, constraints, files, validation expectations, unresolved reviewer findings covered by the research, and instructions to report implementation-note-worthy decisions or tradeoffs.",
|
|
176
|
-
"Coordinate subagent results into the smallest coherent set of changes that satisfies the researched implementation guidance and original user prompt.",
|
|
172
|
+
"Coordinate subagent results into the smallest coherent set of changes that fully satisfies the researched implementation guidance and original user prompt.",
|
|
177
173
|
"Preserve existing architecture and repository conventions unless the research explicitly justifies a change.",
|
|
178
174
|
"Run or delegate the most relevant validation commands available in the repository, including end-to-end playwright-cli (browser) or tmux validation when the change has an executable user scenario.",
|
|
179
|
-
"For UI-applicable or full-stack changes, ensure the QA E2E pass described in <qa_e2e_video> runs and records the reviewable proof video before you
|
|
180
|
-
`Before your final report, update the running implementation notes file at ${implementationNotesPath} with decisions, research deviations, tradeoffs, blockers, and validation outcomes from this
|
|
175
|
+
"For UI-applicable or full-stack changes, ensure the QA E2E pass described in <qa_e2e_video> runs and records the reviewable proof video before you finish your report.",
|
|
176
|
+
`Before your final report, update the running implementation notes file at ${implementationNotesPath} with decisions, research deviations, tradeoffs, blockers, and validation outcomes from this implementation work.`,
|
|
181
177
|
"If blocked, describe the blocker and the safest partial state instead of inventing success.",
|
|
182
178
|
"Do not hide failures; reviewers need accurate status.",
|
|
183
179
|
].join("\n"),
|
|
@@ -198,8 +194,6 @@ export async function runRalphWorkflow(
|
|
|
198
194
|
],
|
|
199
195
|
])
|
|
200
196
|
: renderForkedOrchestratorPrompt({
|
|
201
|
-
iteration,
|
|
202
|
-
maxLoops,
|
|
203
197
|
prompt: workflowPrompt,
|
|
204
198
|
workflowCwdContext,
|
|
205
199
|
researchPath,
|
|
@@ -384,10 +378,9 @@ export async function runRalphWorkflow(
|
|
|
384
378
|
reviewerErrorDecision(`Reviewer ${reviewer} returned no structured decision.`);
|
|
385
379
|
const artifactPath = join(
|
|
386
380
|
artifactDir,
|
|
387
|
-
`review-${
|
|
381
|
+
`review-${artifactSafeName(reviewer)}.json`,
|
|
388
382
|
);
|
|
389
383
|
await writeJsonArtifact(artifactPath, {
|
|
390
|
-
iteration,
|
|
391
384
|
reviewer,
|
|
392
385
|
decision,
|
|
393
386
|
raw_text: review.text,
|
|
@@ -401,8 +394,8 @@ export async function runRalphWorkflow(
|
|
|
401
394
|
reviewEntries.length === REVIEWER_COUNT &&
|
|
402
395
|
approvalCount === REVIEWER_COUNT;
|
|
403
396
|
latestReviewReportPath = await writeJsonArtifact(
|
|
404
|
-
join(artifactDir,
|
|
405
|
-
{
|
|
397
|
+
join(artifactDir, "review-round-latest.json"),
|
|
398
|
+
{ reviews: reviewEntries },
|
|
406
399
|
);
|
|
407
400
|
if (approved) break;
|
|
408
401
|
}
|
|
@@ -27,7 +27,7 @@ export function renderE2eQaVideoReviewGuidance(
|
|
|
27
27
|
target,
|
|
28
28
|
"When a QA E2E video exists or is claimed as evidence, inspect the actual video before approving; do not treat a path, filename, transcript summary, or stage claim as proof by itself.",
|
|
29
29
|
"Use available video/file tooling such as `fetch_content` on the local video path with a prompt focused on whether the recording proves the required user scenario, or inspect representative frames/metadata when full video analysis is unavailable.",
|
|
30
|
-
"Check that the video
|
|
30
|
+
"Check that the video reflects the current repository/application state, exercises the objective-relevant user path, shows the expected final behavior, and does not visibly hide errors, stale UI, broken loading states, or skipped steps.",
|
|
31
31
|
"For UI-applicable or full-stack changes, treat a missing, stale, unreadable, or inconclusive QA video as missing E2E evidence unless the receipt or implementation notes justify why no video applies and provide adequate alternate end-to-end proof.",
|
|
32
32
|
].join("\n");
|
|
33
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TSchema } from "typebox";
|
|
2
2
|
export type { Static, TSchema } from "typebox";
|
|
3
|
-
export type { AgentSessionAdapter, CompleteAdapter, CompleteStageOpts, GitWorktreeSetupOptions, GitWorktreeSetupResult, PromptAdapter, PromptOptions, ResolvedInputs, RunResult, RunStatus, StageAdapters, StageStatus, StageOptions, StageContext, StageSnapshot, StageExecutionMeta, StageMcpOptions, StageOutputOptions, StagePromptOptions, StageSessionCreateOptions, StageSessionCreateResult, StageSessionRuntime, WorkflowAction, WorkflowArtifact, WorkflowChainOptions, WorkflowChainStep, WorkflowChildResult, WorkflowContextMode, WorkflowControlEvent, WorkflowCustomToolDefinition, WorkflowCustomUiComponent, WorkflowCustomUiFactory, WorkflowCustomUiKeybindings, WorkflowCustomUiOptions, WorkflowCustomUiOverlayHandle, WorkflowCustomUiOverlayOptions, WorkflowCustomUiTheme, WorkflowCustomUiTui, WorkflowDetails, WorkflowDetailsMode, WorkflowDetailsStatus, WorkflowDirectOptions, WorkflowDirectTaskItem, WorkflowExecutionMode, WorkflowExecutionPolicy, WorkflowExitOptions, WorkflowExitStatus, WorkflowInputBindings, WorkflowInputSchema, WorkflowInputSchemaMap, WorkflowInputValues, WorkflowIntercomSummary, WorkflowMaxOutput, WorkflowMcpPort, WorkflowModelAttempt, WorkflowModelCatalogPort, WorkflowModelFallbackFields, WorkflowModelInfo, WorkflowModelUsage, WorkflowModelValue, WorkflowOutputMode, WorkflowOutputSchema, WorkflowOutputSchemaMap, WorkflowOutputValues, WorkflowParallelChainStep, WorkflowParallelOptions, WorkflowPersistencePort, WorkflowProgressSummary, WorkflowRunChildArgs, WorkflowRunChildOptions, WorkflowRunChildOptionsArgument, WorkflowRunOutput, WorkflowRuntimeConfig, WorkflowSerializableObject, WorkflowSerializablePrimitive, WorkflowSerializableValue, WorkflowSharedTaskDefaults, WorkflowTaskContext, WorkflowTaskContextInput, WorkflowTaskOptions, WorkflowTaskResult, WorkflowTaskSessionFields, WorkflowTaskSessionOptions, WorkflowTaskStep, WorkflowThinkingLevel, WorkflowUIAdapter, WorkflowUIContext, WorkflowWorktreeInputBinding, } from "./shared/authoring-contract.js";
|
|
3
|
+
export type { AgentSessionAdapter, CompleteAdapter, CompleteStageOpts, GitWorktreeSetupOptions, GitWorktreeSetupResult, PromptAdapter, PromptOptions, ResolvedInputs, RunResult, RunStatus, StageAdapters, StageStatus, StageOptions, StageContext, StageSnapshot, StageExecutionMeta, StageMcpOptions, StageOutputOptions, StagePromptOptions, StageSendUserMessageOptions, StageUserMessageContent, StageUserMessageDelivery, StageSessionCreateOptions, StageSessionCreateResult, StageSessionRuntime, WorkflowAction, WorkflowArtifact, WorkflowChainOptions, WorkflowChainStep, WorkflowChildResult, WorkflowContextMode, WorkflowControlEvent, WorkflowCustomToolDefinition, WorkflowCustomUiComponent, WorkflowCustomUiFactory, WorkflowCustomUiKeybindings, WorkflowCustomUiOptions, WorkflowCustomUiOverlayHandle, WorkflowCustomUiOverlayOptions, WorkflowCustomUiTheme, WorkflowCustomUiTui, WorkflowDetails, WorkflowDetailsMode, WorkflowDetailsStatus, WorkflowDirectOptions, WorkflowDirectTaskItem, WorkflowExecutionMode, WorkflowExecutionPolicy, WorkflowExitOptions, WorkflowExitStatus, WorkflowInputBindings, WorkflowInputSchema, WorkflowInputSchemaMap, WorkflowInputValues, WorkflowIntercomSummary, WorkflowMaxOutput, WorkflowMcpPort, WorkflowModelAttempt, WorkflowModelCatalogPort, WorkflowModelFallbackFields, WorkflowModelInfo, WorkflowModelUsage, WorkflowModelValue, WorkflowOutputMode, WorkflowOutputSchema, WorkflowOutputSchemaMap, WorkflowOutputValues, WorkflowParallelChainStep, WorkflowParallelOptions, WorkflowPersistencePort, WorkflowProgressSummary, WorkflowRunChildArgs, WorkflowRunChildOptions, WorkflowRunChildOptionsArgument, WorkflowRunOutput, WorkflowRuntimeConfig, WorkflowSerializableObject, WorkflowSerializablePrimitive, WorkflowSerializableValue, WorkflowSharedTaskDefaults, WorkflowTaskContext, WorkflowTaskContextInput, WorkflowTaskOptions, WorkflowTaskResult, WorkflowTaskSessionFields, WorkflowTaskSessionOptions, WorkflowTaskStep, WorkflowThinkingLevel, WorkflowUIAdapter, WorkflowUIContext, WorkflowWorktreeInputBinding, } from "./shared/authoring-contract.js";
|
|
4
4
|
import type * as AuthoringContract from "./shared/authoring-contract.js";
|
|
5
5
|
import type { AuthoredWorkflowSpec as SharedAuthoredWorkflowSpec, WorkflowInputsFromSchemas, WorkflowOutputsFromSchemas, WorkflowProvidedInputsFromSchemas } from "./shared/workflow-authoring-types.js";
|
|
6
6
|
export type { WorkflowInputsFromSchemas, WorkflowOutputsFromSchemas, WorkflowProvidedInputsFromSchemas, } from "./shared/workflow-authoring-types.js";
|