@sema-agent/core 7.70.0 → 7.71.0
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 +728 -0
- package/dist/agents/agent-transcript-tool.js +43 -19
- package/dist/agents/inherited-tool-pool.d.ts +5 -1
- package/dist/agents/inherited-tool-pool.js +6 -0
- package/dist/agents/retain-ledger.js +2 -0
- package/dist/agents/send-message-tool.d.ts +12 -1
- package/dist/agents/send-message-tool.js +47 -9
- package/dist/agents/subagent.js +31 -10
- package/dist/agents/tool-filter.js +1 -2
- package/dist/agents/verify.js +13 -2
- package/dist/agents/yield-adoption.js +11 -1
- package/dist/brain/claude-model-id.d.ts +11 -0
- package/dist/brain/claude-model-id.js +3 -1
- package/dist/config/catalog.js +10 -1
- package/dist/config/defaults.d.ts +3 -0
- package/dist/config/defaults.js +1 -0
- package/dist/core/allow-entry.js +1 -2
- package/dist/core/ask-origin.d.ts +55 -21
- package/dist/core/ask-origin.js +19 -11
- package/dist/core/ask-question.d.ts +4 -7
- package/dist/core/ask-question.js +2 -4
- package/dist/core/ask-unresolvable-notice.d.ts +17 -3
- package/dist/core/ask-unresolvable-notice.js +18 -4
- package/dist/core/attachment-source.d.ts +1 -1
- package/dist/core/attachment-source.js +2 -0
- package/dist/core/auto-compaction.d.ts +14 -4
- package/dist/core/auto-compaction.js +3 -2
- package/dist/core/auto-strip.js +2 -0
- package/dist/core/caller-text.d.ts +2 -33
- package/dist/core/caller-text.js +2 -23
- package/dist/core/caller-tool-name.js +1 -2
- package/dist/core/canonical-json.d.ts +9 -0
- package/dist/core/canonical-json.js +6 -0
- package/dist/core/checkpoint-features.d.ts +43 -80
- package/dist/core/checkpoint-features.js +10 -20
- package/dist/core/checkpoint-generation.d.ts +89 -19
- package/dist/core/checkpoint-generation.js +89 -14
- package/dist/core/checkpoint-queries.d.ts +95 -15
- package/dist/core/checkpoint-queries.js +108 -7
- package/dist/core/checkpoint-rekey.d.ts +2 -1
- package/dist/core/checkpoint-rekey.js +2 -2
- package/dist/core/checkpoint-requirements.d.ts +7 -6
- package/dist/core/checkpoint-requirements.js +2 -5
- package/dist/core/checkpoint-row-verdict.d.ts +3 -4
- package/dist/core/checkpoint-row-verdict.js +20 -41
- package/dist/core/checkpoint-store.d.ts +65 -41
- package/dist/core/checkpoint-store.js +28 -14
- package/dist/core/command-sandbox.d.ts +5 -3
- package/dist/core/command-sandbox.js +17 -9
- package/dist/core/config-refusal-codes.d.ts +1 -1
- package/dist/core/config-refusal-codes.js +1 -0
- package/dist/core/declaration-words.d.ts +2 -1
- package/dist/core/declaration-words.js +13 -2
- package/dist/core/effective-path-target.d.ts +23 -0
- package/dist/core/effective-path-target.js +15 -1
- package/dist/core/engine-attestation.d.ts +5 -1
- package/dist/core/engine-attestation.js +1 -0
- package/dist/core/engine-capabilities.d.ts +14 -9
- package/dist/core/engine-capabilities.js +1 -1
- package/dist/core/engine-notice.d.ts +62 -32
- package/dist/core/engine-version.js +1 -1
- package/dist/core/entries-not-applied.d.ts +1 -1
- package/dist/core/entries-not-applied.js +1 -0
- package/dist/core/file-history-store.d.ts +95 -11
- package/dist/core/file-history-store.js +117 -19
- package/dist/core/gate-fold.js +13 -7
- package/dist/core/gate-lanes.js +9 -9
- package/dist/core/governance-codes.d.ts +56 -7
- package/dist/core/governance-codes.js +105 -7
- package/dist/core/grant-holder.d.ts +53 -0
- package/dist/core/grant-holder.js +80 -0
- package/dist/core/hooks.d.ts +7 -3
- package/dist/core/hooks.js +2 -2
- package/dist/core/locked-config.d.ts +7 -1
- package/dist/core/locked-config.js +9 -2
- package/dist/core/mcp-call-meta.d.ts +52 -7
- package/dist/core/mcp-call-meta.js +21 -2
- package/dist/core/mcp-host-read.d.ts +1 -1
- package/dist/core/mcp-server-spec.d.ts +18 -0
- package/dist/core/mcp-server-spec.js +1 -0
- package/dist/core/mcp.js +2 -2
- package/dist/core/member-outcome.d.ts +22 -1
- package/dist/core/member-outcome.js +18 -6
- package/dist/core/memory-engine/delegation-settlement.js +5 -5
- package/dist/core/memory-engine/engine.js +19 -19
- package/dist/core/memory-engine/file-backend.d.ts +7 -2
- package/dist/core/memory-engine/file-backend.js +14 -12
- package/dist/core/memory-engine/frontmatter.js +1 -1
- package/dist/core/memory-engine/index.d.ts +1 -0
- package/dist/core/memory-engine/index.js +1 -0
- package/dist/core/memory-engine/layout.d.ts +34 -9
- package/dist/core/memory-engine/layout.js +36 -19
- package/dist/core/memory-engine/memory-deployment.js +8 -8
- package/dist/core/memory-engine/mount-failed-notice.d.ts +8 -5
- package/dist/core/memory-engine/mount-failed-notice.js +5 -2
- package/dist/core/mode-policy.d.ts +5 -0
- package/dist/core/mode-policy.js +6 -0
- package/dist/core/mods/host.d.ts +2 -1
- package/dist/core/mods/host.js +7 -6
- package/dist/core/mods/kernel/index.d.ts +1 -1
- package/dist/core/mods/kernel/index.js +1 -1
- package/dist/core/mods/kernel/registration.d.ts +5 -2
- package/dist/core/mods/kernel/registration.js +19 -3
- package/dist/core/mods/package.d.ts +12 -1
- package/dist/core/mods/package.js +36 -9
- package/dist/core/mods/stations.d.ts +7 -1
- package/dist/core/mods/stations.js +17 -3
- package/dist/core/mods/teammate-stations.d.ts +4 -1
- package/dist/core/mods/teammate-stations.js +1 -1
- package/dist/core/native-signal.d.ts +13 -0
- package/dist/core/native-signal.js +18 -0
- package/dist/core/park-resumability.d.ts +16 -14
- package/dist/core/park-resumability.js +9 -4
- package/dist/core/path-rule-binding.js +1 -1
- package/dist/core/permission-rule-model.d.ts +11 -5
- package/dist/core/permission-rule-model.js +5 -3
- package/dist/core/permission-rule-org.js +1 -1
- package/dist/core/permission-rule-provider.d.ts +5 -1
- package/dist/core/permission-rule-provider.js +6 -1
- package/dist/core/permission-rule-session.d.ts +35 -5
- package/dist/core/permission-rule-session.js +32 -1
- package/dist/core/permission-rule-store.d.ts +5 -1
- package/dist/core/permission-rule-store.js +28 -5
- package/dist/core/permission-rules.d.ts +2 -2
- package/dist/core/permission-rules.js +2 -3
- package/dist/core/principal-name.d.ts +12 -0
- package/dist/core/principal-name.js +6 -2
- package/dist/core/read-root-grant-screen.d.ts +7 -6
- package/dist/core/read-root-grant-screen.js +7 -8
- package/dist/core/remote-env.d.ts +42 -8
- package/dist/core/resume-config-judge.js +1 -1
- package/dist/core/resume-startup-cause.d.ts +19 -4
- package/dist/core/resume-startup-cause.js +25 -6
- package/dist/core/rewind-conversation.d.ts +4 -0
- package/dist/core/rewrite-rejudge.d.ts +9 -1
- package/dist/core/rewrite-rejudge.js +11 -1
- package/dist/core/rule-offer-read.js +3 -2
- package/dist/core/runner/assemble-result.d.ts +21 -11
- package/dist/core/runner/assemble-result.js +24 -4
- package/dist/core/runner/boundary-reminders.d.ts +104 -0
- package/dist/core/runner/boundary-reminders.js +108 -0
- package/dist/core/runner/branch-writeback.d.ts +21 -7
- package/dist/core/runner/branch-writeback.js +44 -6
- package/dist/core/runner/command-sandbox-frame.js +2 -1
- package/dist/core/runner/compact-session.js +11 -4
- package/dist/core/runner/constraint-layers.d.ts +24 -5
- package/dist/core/runner/constraint-layers.js +21 -2
- package/dist/core/runner/continuation-gate.js +3 -1
- package/dist/core/runner/contracts.d.ts +83 -13
- package/dist/core/runner/cross-boundary-lane.js +2 -1
- package/dist/core/runner/delegation-owner.d.ts +246 -45
- package/dist/core/runner/delegation-owner.js +237 -63
- package/dist/core/runner/expire-settle.d.ts +17 -0
- package/dist/core/runner/expire-settle.js +8 -2
- package/dist/core/runner/file-history-request.d.ts +4 -3
- package/dist/core/runner/file-history-request.js +4 -1
- package/dist/core/runner/file-history-restore.d.ts +11 -3
- package/dist/core/runner/file-history-restore.js +11 -3
- package/dist/core/runner/gate-exit.d.ts +22 -1
- package/dist/core/runner/gate-exit.js +12 -14
- package/dist/core/runner/nested-memory-content.js +1 -1
- package/dist/core/runner/nested-memory-lane.d.ts +10 -2
- package/dist/core/runner/nested-memory-lane.js +29 -8
- package/dist/core/runner/own-model-money-door.d.ts +13 -0
- package/dist/core/runner/own-model-money-door.js +17 -0
- package/dist/core/runner/park-commit.d.ts +4 -2
- package/dist/core/runner/park-commit.js +2 -1
- package/dist/core/runner/permission-rule-lanes.d.ts +4 -0
- package/dist/core/runner/permission-rule-lanes.js +7 -0
- package/dist/core/runner/person-path-rows.js +1 -1
- package/dist/core/runner/placement-fence.d.ts +8 -2
- package/dist/core/runner/placement-fence.js +8 -3
- package/dist/core/runner/policy-throw.d.ts +3 -2
- package/dist/core/runner/policy-throw.js +2 -2
- package/dist/core/runner/prepare-acquire-reconcile.d.ts +23 -14
- package/dist/core/runner/prepare-acquire-reconcile.js +33 -15
- package/dist/core/runner/prepare-artifact.d.ts +14 -1
- package/dist/core/runner/prepare-artifact.js +7 -2
- package/dist/core/runner/prepare-ask-lane.d.ts +8 -0
- package/dist/core/runner/prepare-ask-lane.js +14 -5
- package/dist/core/runner/prepare-boundary-parks.js +5 -4
- package/dist/core/runner/prepare-config-doors.d.ts +9 -4
- package/dist/core/runner/prepare-config-doors.js +25 -8
- package/dist/core/runner/prepare-defer-classify.d.ts +8 -4
- package/dist/core/runner/prepare-defer-classify.js +6 -6
- package/dist/core/runner/prepare-execution-env.d.ts +4 -1
- package/dist/core/runner/prepare-execution-env.js +8 -3
- package/dist/core/runner/prepare-file-history.d.ts +26 -0
- package/dist/core/runner/prepare-file-history.js +15 -1
- package/dist/core/runner/prepare-inherited-gate.d.ts +8 -3
- package/dist/core/runner/prepare-inherited-gate.js +9 -2
- package/dist/core/runner/prepare-leg-adoption.d.ts +2 -2
- package/dist/core/runner/prepare-park-ask.js +8 -5
- package/dist/core/runner/prepare-policy-chain.d.ts +5 -0
- package/dist/core/runner/prepare-policy-chain.js +18 -7
- package/dist/core/runner/prepare-prompt-assembly.d.ts +3 -0
- package/dist/core/runner/prepare-prompt-assembly.js +4 -3
- package/dist/core/runner/prepare-suspend-saga.d.ts +4 -1
- package/dist/core/runner/prepare-suspend-saga.js +19 -5
- package/dist/core/runner/prepare-task.d.ts +2 -5
- package/dist/core/runner/prepare-task.js +71 -26
- package/dist/core/runner/prepare-turn-wiring.js +7 -5
- package/dist/core/runner/prepare-workspace-restore.js +59 -28
- package/dist/core/runner/read-root-grant.d.ts +1 -0
- package/dist/core/runner/read-root-grant.js +1 -2
- package/dist/core/runner/resume-admission.d.ts +3 -0
- package/dist/core/runner/resume-admission.js +6 -4
- package/dist/core/runner/resume-apply.js +7 -5
- package/dist/core/runner/resume-claim.d.ts +2 -2
- package/dist/core/runner/resume-claim.js +4 -4
- package/dist/core/runner/resume-policy-outcome.d.ts +1 -1
- package/dist/core/runner/resume-policy-outcome.js +6 -4
- package/dist/core/runner/resume-preflight.d.ts +3 -0
- package/dist/core/runner/resume-preflight.js +10 -3
- package/dist/core/runner/rewind-conversation.js +11 -4
- package/dist/core/runner/rewind-files.js +29 -14
- package/dist/core/runner/rewind-outcome.d.ts +27 -0
- package/dist/core/runner/rewind-outcome.js +14 -0
- package/dist/core/runner/run-attachment-seats.js +2 -1
- package/dist/core/runner/run-clock-and-content.js +2 -0
- package/dist/core/runner/run-identity-wiring.js +2 -0
- package/dist/core/runner/run-leg.js +11 -1
- package/dist/core/runner/run-notification-lane.d.ts +3 -0
- package/dist/core/runner/run-notification-lane.js +2 -2
- package/dist/core/runner/run-settle-and-teardown.d.ts +4 -2
- package/dist/core/runner/run-settle-and-teardown.js +52 -40
- package/dist/core/runner/run-stop-and-final-verify.d.ts +4 -0
- package/dist/core/runner/run-stop-and-final-verify.js +5 -4
- package/dist/core/runner/run-terminal-adoption.d.ts +1 -1
- package/dist/core/runner/run-terminal-adoption.js +3 -3
- package/dist/core/runner/run-turn-boundary.js +7 -0
- package/dist/core/runner/runtask.d.ts +7 -4
- package/dist/core/runner/runtask.js +18 -9
- package/dist/core/runner/session-call-grant-station.d.ts +64 -0
- package/dist/core/runner/session-call-grant-station.js +119 -0
- package/dist/core/runner/session-file-state-replay.js +2 -2
- package/dist/core/runner/session-prompt-seats.d.ts +95 -0
- package/dist/core/runner/session-prompt-seats.js +62 -0
- package/dist/core/runner/session-rule-policy.js +1 -1
- package/dist/core/runner/session-write-ledger.d.ts +8 -0
- package/dist/core/runner/session-write-ledger.js +16 -0
- package/dist/core/runner/side-call-account.js +5 -1
- package/dist/core/runner/stop-tail-notice.d.ts +7 -0
- package/dist/core/runner/stop-tail-notice.js +23 -8
- package/dist/core/runner/stream-reap.js +4 -2
- package/dist/core/runner/stream-settle-backstop.d.ts +1 -1
- package/dist/core/runner/stream-settle-backstop.js +17 -18
- package/dist/core/runner/terminal-account.js +17 -8
- package/dist/core/runner/terminal-projection.d.ts +3 -2
- package/dist/core/runner/terminal-projection.js +1 -1
- package/dist/core/runner/tool-turn-repair-seat.d.ts +2 -2
- package/dist/core/runner/tool-turn-repair-seat.js +12 -7
- package/dist/core/runner/turn-attachments.d.ts +22 -1
- package/dist/core/runner/turn-attachments.js +20 -3
- package/dist/core/runner-deps.d.ts +6 -2
- package/dist/core/secret-env.d.ts +26 -6
- package/dist/core/secret-env.js +6 -6
- package/dist/core/session-call-grant-screen.d.ts +58 -0
- package/dist/core/session-call-grant-screen.js +18 -0
- package/dist/core/session-call-grant.d.ts +93 -0
- package/dist/core/session-call-grant.js +524 -0
- package/dist/core/session-checkout.d.ts +3 -0
- package/dist/core/session-checkout.js +8 -3
- package/dist/core/session-policy-store.d.ts +14 -0
- package/dist/core/session-policy-store.js +16 -2
- package/dist/core/session-store.d.ts +18 -1
- package/dist/core/session-store.js +20 -4
- package/dist/core/session.d.ts +36 -4
- package/dist/core/shared-artifact-reads.d.ts +93 -0
- package/dist/core/shared-artifact-reads.js +94 -0
- package/dist/core/skill-grant.js +1 -1
- package/dist/core/skills-directory.d.ts +9 -45
- package/dist/core/skills-directory.js +9 -722
- package/dist/core/spend-account.js +3 -0
- package/dist/core/store-contracts/checkpoint-store-contract.d.ts +22 -4
- package/dist/core/store-contracts/checkpoint-store-contract.js +363 -29
- package/dist/core/store-contracts/file-history-store-contract.d.ts +11 -3
- package/dist/core/store-contracts/file-history-store-contract.js +62 -2
- package/dist/core/store-contracts/grant-fixture.d.ts +52 -0
- package/dist/core/store-contracts/grant-fixture.js +84 -0
- package/dist/core/store-contracts/session-repo-contract.js +18 -0
- package/dist/core/store-contracts/session-store-contract.d.ts +15 -1
- package/dist/core/store-contracts/session-store-contract.js +211 -2
- package/dist/core/store-contracts/workflow-journal-store-contract.js +47 -8
- package/dist/core/suspend-lane-reasons.d.ts +13 -0
- package/dist/core/suspend-lane-reasons.js +5 -0
- package/dist/core/synthetic-read-verdict.d.ts +5 -3
- package/dist/core/synthetic-read-verdict.js +1 -1
- package/dist/core/task-limits.d.ts +15 -0
- package/dist/core/task-notification.d.ts +33 -7
- package/dist/core/task-notification.js +34 -9
- package/dist/core/task-registry-agent.d.ts +1 -1
- package/dist/core/task-registry-agent.js +18 -7
- package/dist/core/task-registry-shared.d.ts +29 -4
- package/dist/core/task-registry-shared.js +7 -0
- package/dist/core/task-registry.d.ts +21 -1
- package/dist/core/task-registry.js +36 -9
- package/dist/core/task-result.d.ts +55 -1
- package/dist/core/task-spec.d.ts +17 -3
- package/dist/core/terminal-cause.d.ts +68 -5
- package/dist/core/tool-catalog-entries.js +1 -1
- package/dist/core/tool-check-reading.js +2 -1
- package/dist/core/tool-errors.js +1 -0
- package/dist/core/tool-list-grammar.d.ts +0 -47
- package/dist/core/tool-list-grammar.js +1 -75
- package/dist/core/tool-model-gate.d.ts +7 -11
- package/dist/core/tool-model-gate.js +5 -8
- package/dist/core/tool-name-aliases.js +2 -3
- package/dist/core/tool-name-readings.d.ts +4 -0
- package/dist/core/tool-name-readings.js +1 -0
- package/dist/core/tool-policy.d.ts +46 -4
- package/dist/core/tool-policy.js +47 -18
- package/dist/core/tool-result-store.d.ts +0 -24
- package/dist/core/tool-result-store.js +1 -36
- package/dist/core/tool-spec.d.ts +8 -4
- package/dist/core/untrusted-egress.js +2 -2
- package/dist/core/untrusted-text.d.ts +8 -0
- package/dist/core/untrusted-text.js +14 -0
- package/dist/core/user-attachment.d.ts +16 -1
- package/dist/core/user-attachment.js +42 -18
- package/dist/core/wiring-manifest.d.ts +4 -9
- package/dist/core/wiring-manifest.js +1 -1
- package/dist/core/workflow-journal-store.d.ts +55 -8
- package/dist/core/workflow-journal-store.js +34 -10
- package/dist/core/workflow-run-store-contract.js +56 -1
- package/dist/core/workflow-run-store.d.ts +43 -19
- package/dist/core/workflow-run-store.js +17 -2
- package/dist/engine/execution-env/node-execution-env.d.ts +3 -0
- package/dist/engine/execution-env/node-execution-env.js +4 -0
- package/dist/engine/harness/agent-harness.d.ts +10 -5
- package/dist/engine/harness/agent-harness.js +12 -4
- package/dist/engine/harness/types.d.ts +18 -0
- package/dist/engine/llm/tool-turns.d.ts +1 -1
- package/dist/engine/llm/types.d.ts +5 -4
- package/dist/engine/session/memory-repo.d.ts +15 -3
- package/dist/engine/session/memory-repo.js +21 -3
- package/dist/engine/session/memory-storage.d.ts +5 -0
- package/dist/engine/session/memory-storage.js +8 -3
- package/dist/engine/session/repo-utils.d.ts +9 -0
- package/dist/engine/session/repo-utils.js +14 -0
- package/dist/engine/session/storage-base.d.ts +20 -7
- package/dist/engine/session/storage-base.js +13 -1
- package/dist/index.d.ts +37 -19
- package/dist/index.js +30 -15
- package/dist/internal/harness.d.ts +1 -1
- package/dist/internal/harness.js +1 -1
- package/dist/orchestration/run-workflow-tool.d.ts +13 -1
- package/dist/orchestration/run-workflow-tool.js +101 -32
- package/dist/orchestration/workflow-park-adoption.d.ts +309 -92
- package/dist/orchestration/workflow-park-adoption.js +588 -323
- package/dist/orchestration/workflow-tree-id.d.ts +66 -0
- package/dist/orchestration/workflow-tree-id.js +66 -0
- package/dist/orchestration/workflow-types.d.ts +90 -11
- package/dist/orchestration/workflow-types.js +10 -1
- package/dist/orchestration/workflow.d.ts +30 -4
- package/dist/orchestration/workflow.js +424 -114
- package/dist/prompt-assembly/catalog/constitution.js +5 -1
- package/dist/prompt-assembly/catalog/core-behavior.d.ts +3 -4
- package/dist/prompt-assembly/catalog/core-behavior.js +61 -22
- package/dist/prompt-assembly/catalog/environment.js +2 -2
- package/dist/prompt-assembly/catalog/events.d.ts +16 -0
- package/dist/prompt-assembly/catalog/events.js +2 -0
- package/dist/prompt-assembly/catalog/locales/zh-Hans/core-behavior.js +72 -44
- package/dist/prompt-assembly/catalog/locales/zh-Hans/environment.js +2 -2
- package/dist/prompt-assembly/catalog/locales/zh-Hans/events.js +2 -0
- package/dist/prompt-assembly/catalog/schema.d.ts +5 -1
- package/dist/prompt-assembly/catalog/schema.js +2 -0
- package/dist/prompt-assembly/catalog/sections.js +3 -14
- package/dist/prompt-assembly/event-registry.js +2 -0
- package/dist/prompt-assembly/select.js +1 -0
- package/dist/prompt-assembly/tool-catalog.d.ts +10 -7
- package/dist/prompt-assembly/tool-catalog.js +21 -7
- package/dist/prompt-assembly/types.d.ts +3 -0
- package/dist/prompts/default.d.ts +4 -1
- package/dist/prompts/default.js +6 -0
- package/dist/stores/file/checkpoint-store.d.ts +11 -10
- package/dist/stores/file/checkpoint-store.js +36 -10
- package/dist/stores/file/file-history-store.d.ts +6 -0
- package/dist/stores/file/file-history-store.js +21 -4
- package/dist/stores/file/fs-atomic.d.ts +1 -1
- package/dist/stores/file/index.d.ts +14 -4
- package/dist/stores/file/index.js +21 -5
- package/dist/stores/file/process-anchor.d.ts +9 -1
- package/dist/stores/file/session-policy-store.js +2 -17
- package/dist/stores/file/session-store.d.ts +27 -0
- package/dist/stores/file/session-store.js +81 -9
- package/dist/stores/file/workflow-journal-store.d.ts +14 -4
- package/dist/stores/file/workflow-journal-store.js +32 -24
- package/dist/stores/file/workflow-run-store.d.ts +15 -4
- package/dist/stores/file/workflow-run-store.js +76 -0
- package/dist/tools/artifact/artifact-tool.d.ts +10 -3
- package/dist/tools/artifact/artifact-tool.js +16 -1
- package/dist/tools/fs/bash-program-position.d.ts +10 -4
- package/dist/tools/fs/bash-program-position.js +11 -8
- package/dist/tools/fs/bash-readonly-classifier.d.ts +3 -1
- package/dist/tools/fs/bash-readonly-classifier.js +9 -2
- package/dist/tools/fs/find-actions.d.ts +30 -16
- package/dist/tools/fs/find-actions.js +272 -19
- package/dist/tools/fs/fs-bash.js +8 -5
- package/dist/tools/fs/fs-shared.d.ts +0 -29
- package/dist/tools/fs/fs-shared.js +0 -5
- package/dist/tools/fs/fs-write.js +2 -1
- package/dist/tools/fs/read-deny.d.ts +6 -1
- package/dist/tools/fs/read-deny.js +6 -1
- package/dist/tools/fs/read-floor.d.ts +6 -0
- package/dist/tools/fs/read-floor.js +5 -1
- package/dist/tools/fs/removal-actions.d.ts +43 -0
- package/dist/tools/fs/removal-actions.js +25 -0
- package/dist/tools/fs/removal-targets.d.ts +2 -21
- package/dist/tools/fs/removal-targets.js +2 -3
- package/dist/tools/fs/safety.d.ts +37 -1
- package/dist/tools/fs/safety.js +52 -0
- package/dist/tools/fs/shell-climb.d.ts +46 -0
- package/dist/tools/fs/shell-climb.js +79 -0
- package/dist/tools/fs/shell-read-check.js +47 -19
- package/dist/tools/fs/shell-read-establish.js +36 -22
- package/dist/tools/fs/shell-read-judge.d.ts +10 -2
- package/dist/tools/fs/shell-read-judge.js +4 -4
- package/dist/tools/fs/shell-read-plan.d.ts +3 -0
- package/dist/tools/fs/shell-read-plan.js +1 -1
- package/dist/tools/fs/shell-read-workdir.js +3 -2
- package/dist/tools/fs/shell-read-write-targets.d.ts +4 -3
- package/dist/tools/fs/shell-read-write-targets.js +3 -0
- package/package.json +2 -2
- package/test/export-surface.snapshot.json +169 -15
- package/wire-changes/core-stores-sql@7.71.0.json +40 -0
- package/wire-changes/core@7.71.0.json +5827 -0
- package/wire-changes/mods-kernel@7.71.0.json +52 -0
- package/wire-changes/primitives@7.71.0.json +473 -0
- package/wire-changes/wiki-gate@7.71.0.json +40 -0
- package/dist/core/frontmatter-fence.d.ts +0 -10
- package/dist/core/frontmatter-fence.js +0 -6
- package/dist/core/permission-rule-syntax.d.ts +0 -46
- package/dist/core/permission-rule-syntax.js +0 -52
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Type } from "typebox";
|
|
2
2
|
import { defineTool, errorResult } from "../core/tools.js";
|
|
3
3
|
import { governanceBaselineError, receiveGovernanceBaseline } from "./governance-baseline-validity.js";
|
|
4
|
+
import { isWorkflowRunId, WORKFLOW_RUN_ID_CHARACTERS } from "../core/workflow-run-store.js";
|
|
4
5
|
import { occupantStamp } from "../core/task-registry-shared.js";
|
|
5
6
|
import { workflowRecordPickupOf } from "./workflow-record-artifact.js";
|
|
6
7
|
import { admitsBackgroundLaunch, oweTerminalDelivery, resolveCompletionSink } from "../core/task-notification.js";
|
|
@@ -11,9 +12,9 @@ import { LAUNCH_RECEIPT_OWN_WORDS_CLAUSE, launchReceiptNoQuoteClause } from "../
|
|
|
11
12
|
import { createHash, randomUUID } from "node:crypto";
|
|
12
13
|
import { startWorkflow, WORKFLOW_STORE_WAIT_BOUND_MS, takeWorkflowResumeClaim, releaseWorkflowResumeClaim } from "./workflow.js";
|
|
13
14
|
import { assertJournalStoreGivesClaimsBack, journalKeepsLaunches } from "../core/workflow-journal-store.js";
|
|
14
|
-
import { boundedStoreRead, createWorkflowParkAdopter, otherWaitingLine,
|
|
15
|
+
import { boundedStoreRead, createWorkflowParkAdopter, otherWaitingLine, readWorkflowRunTree, readWorkflowRunTreeWithin, registerWorkflowParkAdopter, workflowLineForkReason, workflowLineTailOf, workflowTreeOverBoundSentence } from "./workflow-park-adoption.js";
|
|
15
16
|
import { settledRunOf } from "../core/workflow-settled-run.js";
|
|
16
|
-
import { WORKFLOW_AGENT_PARKED_ERROR_CODE, WORKFLOW_STEP_ASKED_AGAIN, parkedAgentsOf, workflowMembersOf, workflowParkHolderOf } from "./workflow-types.js";
|
|
17
|
+
import { WORKFLOW_AGENT_PARKED_ERROR_CODE, WORKFLOW_STEP_ASKED_AGAIN, firstFailedAgentCodeOf, parkedAgentsOf, workflowMembersOf, workflowParkHolderOf } from "./workflow-types.js";
|
|
17
18
|
import { memberLedgerClause, memberRefusalsText } from "../core/member-outcome.js";
|
|
18
19
|
import { checkpointStoreOfSeat } from "../core/checkpoint-seat.js";
|
|
19
20
|
import { buildWorkflowPrimitives } from "./workflow-primitives.js";
|
|
@@ -48,7 +49,7 @@ import { ANONYMOUS_SCOPE, callScopeOf } from "../core/isolation-scope.js";
|
|
|
48
49
|
import { readKeptLaunch } from "../core/workflow-journal-store.js";
|
|
49
50
|
import { isThinkingLevel } from "../brain/reasoning.js";
|
|
50
51
|
import { inlineUntrusted } from "../core/untrusted-text.js";
|
|
51
|
-
import { claimHeldOf, HOST_FOLD_INPUTS, hostFoldStampOf, notContinuedRefusalOf, storeErrorClassOf, storeFaultReport } from "./workflow-park-adoption.js";
|
|
52
|
+
import { answerRecordClaimHolder, claimHeldOf, HOST_FOLD_INPUTS, hostFoldStampOf, notContinuedRefusalOf, storeErrorClassOf, storeFaultReport } from "./workflow-park-adoption.js";
|
|
52
53
|
import { createSafeNotifier, observeThenableRejection } from "../core/safe-notify.js";
|
|
53
54
|
export const RUN_WORKFLOW_TOOL_NAME = "Workflow";
|
|
54
55
|
const CATALOG_HELD = "workflow.catalog_held";
|
|
@@ -168,12 +169,15 @@ async function heldStepOf(run, store) {
|
|
|
168
169
|
return undefined;
|
|
169
170
|
if (store === undefined)
|
|
170
171
|
return {};
|
|
171
|
-
const
|
|
172
|
-
if (typeof
|
|
172
|
+
const tree = await readWorkflowRunTree(store, inherited.parkedBy, run.scope);
|
|
173
|
+
if (typeof tree === "string")
|
|
173
174
|
return {};
|
|
174
|
-
const holder = workflowParkHolderOf(inherited.token,
|
|
175
|
+
const holder = workflowParkHolderOf(inherited.token, tree);
|
|
175
176
|
return holder.kind === "held" ? { holder: holder.runId } : {};
|
|
176
177
|
}
|
|
178
|
+
export function workflowNotifiedCodeOf(run) {
|
|
179
|
+
return run.errorCode === WORKFLOW_AGENT_PARKED_ERROR_CODE ? WORKFLOW_AGENT_PARKED_ERROR_CODE : firstFailedAgentCodeOf(run.agents);
|
|
180
|
+
}
|
|
177
181
|
const SCRIPT_ERROR_CODES = new Set([
|
|
178
182
|
"workflow.script_error",
|
|
179
183
|
"workflow.parked_call_changed",
|
|
@@ -219,7 +223,8 @@ function continuedBeforeSentence(run) {
|
|
|
219
223
|
}
|
|
220
224
|
function failureSummaryOf(err, runId, run, held) {
|
|
221
225
|
const codeWord = readMember(err, "code");
|
|
222
|
-
const
|
|
226
|
+
const thrownCode = typeof codeWord === "string" && codeWord !== WORKFLOW_AGENT_PARKED_ERROR_CODE ? codeWord : undefined;
|
|
227
|
+
const code = run !== undefined ? run.errorCode : thrownCode;
|
|
223
228
|
const refused = code === WORKFLOW_AGENT_PARKED_ERROR_CODE ? run?.decisions?.find((d) => d.result === "refused") : undefined;
|
|
224
229
|
if (refused !== undefined) {
|
|
225
230
|
const label = run?.agents.find((a) => a.callKey === refused.callKey)?.label ?? `#${refused.ordinal}`;
|
|
@@ -327,6 +332,26 @@ function claimWithin(p, late) {
|
|
|
327
332
|
});
|
|
328
333
|
});
|
|
329
334
|
}
|
|
335
|
+
async function takeToolResumeClaim(journal, args, what, runId, reportStoreFault) {
|
|
336
|
+
const who = what === "record" ? "record of a person's answer" : what;
|
|
337
|
+
let verdict;
|
|
338
|
+
try {
|
|
339
|
+
verdict = await claimWithin(takeWorkflowResumeClaim(journal, args), (late) => void (late.granted ? releaseWorkflowResumeClaim(journal, args, late.fallback) : undefined));
|
|
340
|
+
}
|
|
341
|
+
catch (err) {
|
|
342
|
+
reportStoreFault?.(`the ${who}'s resume claim on workflow run ${JSON.stringify(runId)} could not be taken`, err);
|
|
343
|
+
return { refused: `the ${who}'s resume claim could not be taken (the journal store threw ${storeErrorClassOf(err)}) — not started` };
|
|
344
|
+
}
|
|
345
|
+
if (verdict === "timeout")
|
|
346
|
+
return { refused: `the ${who}'s resume claim was not answered within ${WORKFLOW_STORE_WAIT_BOUND_MS}ms — not started` };
|
|
347
|
+
if (verdict.granted)
|
|
348
|
+
return { granted: { args, fallback: verdict.fallback } };
|
|
349
|
+
const held = claimHeldOf(verdict);
|
|
350
|
+
if (held.claimLapseUnreadable === true) {
|
|
351
|
+
reportStoreFault?.(`the journal store's refusal of the ${who}'s resume claim on workflow run ${JSON.stringify(runId)} answered a remaining time that does not read`, new Error("remainingMs is not a whole number of milliseconds from 1 to 86400000"));
|
|
352
|
+
}
|
|
353
|
+
return { held };
|
|
354
|
+
}
|
|
330
355
|
function launchRefusalText(content) {
|
|
331
356
|
const text = typeof content === "string" ? content : Array.isArray(content) ? content.map((c) => (c !== null && typeof c === "object" && typeof c.text === "string" ? c.text : "")).join("") : "";
|
|
332
357
|
try {
|
|
@@ -785,8 +810,15 @@ async function mountRunWorkflowTool(d) {
|
|
|
785
810
|
const subject = workflowCallSubject(preparedArgs);
|
|
786
811
|
const scriptArgs = rawArgs.args;
|
|
787
812
|
const rawResume = rawArgs.resumeFromRunId;
|
|
788
|
-
|
|
789
|
-
|
|
813
|
+
if (continuation === undefined && rawResume !== undefined && !isWorkflowRunId(rawResume)) {
|
|
814
|
+
return structuredError({
|
|
815
|
+
error: `resumeFromRunId ${JSON.stringify(String(rawResume).slice(0, 80))} is not a workflow run id — a run id is ${WORKFLOW_RUN_ID_CHARACTERS}. To continue a run, pass the runId its Workflow call returned (the tool result and the completion notification name it); to start fresh, leave resumeFromRunId out. Not started.`,
|
|
816
|
+
code: "config.invalid_argument",
|
|
817
|
+
});
|
|
818
|
+
}
|
|
819
|
+
const namedResume = continuation !== undefined ? continuation.fromRunId : rawResume;
|
|
820
|
+
const held = continuation === undefined ? takeHeldForCall(namedResume, ctx.toolCallId) : undefined;
|
|
821
|
+
let resumeFromRunId = namedResume;
|
|
790
822
|
if (held !== undefined && "refusal" in held)
|
|
791
823
|
return structuredError(held.refusal);
|
|
792
824
|
const sourceTaskId = ctx.taskId ?? d.sourceTaskId;
|
|
@@ -883,21 +915,34 @@ async function mountRunWorkflowTool(d) {
|
|
|
883
915
|
const parkStore = checkpointStoreOfSeat(childParkSeat);
|
|
884
916
|
const resumeScope = runScope;
|
|
885
917
|
const heldDecisionIds = held !== undefined && "decisions" in held ? held.decisions.map((x) => x.decisionId) : [];
|
|
918
|
+
const within = boundedStoreRead(WORKFLOW_STORE_WAIT_BOUND_MS);
|
|
886
919
|
const modelLineRefusal = async () => {
|
|
887
|
-
if (continuation !== undefined ||
|
|
920
|
+
if (continuation !== undefined || namedResume === undefined || d.store === undefined)
|
|
888
921
|
return undefined;
|
|
889
|
-
const
|
|
922
|
+
const tree = await readWorkflowRunTreeWithin(d.store, namedResume, resumeScope, within);
|
|
923
|
+
if (tree === "unreadable")
|
|
924
|
+
return `the records of workflow run "${inlineUntrusted(namedResume, 64)}"'s workflow could not be read (the run store did not answer, or holds no record of that run under this scope) — not started; check the run id, or resume again once the run store answers`;
|
|
925
|
+
if (tree === "over_bound")
|
|
926
|
+
return workflowTreeOverBoundSentence(namedResume);
|
|
927
|
+
let target = namedResume;
|
|
928
|
+
if (heldDecisionIds.length === 0) {
|
|
929
|
+
const tail = workflowLineTailOf(tree, namedResume);
|
|
930
|
+
if (tail.kind === "fork")
|
|
931
|
+
return `workflow run "${inlineUntrusted(namedResume, 64)}" is not continued: ${workflowLineForkReason(tail.leaves.map((l) => inlineUntrusted(l, 64)))}. Nothing was started.`;
|
|
932
|
+
target = tail.runId;
|
|
933
|
+
}
|
|
934
|
+
const line = await otherWaitingLine(tree, parkStore, target, within);
|
|
890
935
|
if (line.kind === "unreadable")
|
|
891
|
-
return `
|
|
892
|
-
if (line.kind === "over_bound")
|
|
893
|
-
return workflowTreeOverBoundSentence(resumeFromRunId);
|
|
936
|
+
return `an approval card of workflow run "${inlineUntrusted(target, 64)}"'s workflow could not be read — not started; resume again once the checkpoint store answers`;
|
|
894
937
|
if (line.kind === "waiting")
|
|
895
|
-
return notContinuedRefusalOf(
|
|
896
|
-
return { root: line.root };
|
|
938
|
+
return notContinuedRefusalOf(namedResume, "waiting_elsewhere", { waiting: line.lines, decisionIds: heldDecisionIds });
|
|
939
|
+
return { root: line.root, target };
|
|
897
940
|
};
|
|
898
941
|
const firstLine = await modelLineRefusal();
|
|
899
942
|
if (typeof firstLine === "string")
|
|
900
943
|
return structuredError(firstLine);
|
|
944
|
+
if (firstLine !== undefined)
|
|
945
|
+
resumeFromRunId = firstLine.target;
|
|
901
946
|
const claimKey = continuation !== undefined ? continuation.claimKey : firstLine?.root;
|
|
902
947
|
let sourceLaunch = continuation?.launch;
|
|
903
948
|
if (continuation === undefined && resumeFromRunId !== undefined && journalKeepsLaunches(d.journalStore)) {
|
|
@@ -942,24 +987,16 @@ async function mountRunWorkflowTool(d) {
|
|
|
942
987
|
if (resumeFromRunId !== undefined && claimKey !== undefined && d.journalStore !== undefined && launchRunId !== undefined) {
|
|
943
988
|
const journal = d.journalStore;
|
|
944
989
|
const args = { sourceRunId: claimKey, newRunId: launchRunId, scope: resumeScope };
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
catch (err) {
|
|
950
|
-
reportStoreFault?.(`the ${continuation !== undefined ? "continuation" : "resume"}'s resume claim on workflow run ${JSON.stringify(resumeFromRunId)} could not be taken`, err);
|
|
951
|
-
return structuredError(`the ${continuation !== undefined ? "continuation" : "resume"}'s resume claim could not be taken (the journal store threw ${storeErrorClassOf(err)}) — not started`);
|
|
952
|
-
}
|
|
953
|
-
if (verdict === "timeout")
|
|
954
|
-
return structuredError(`the ${continuation !== undefined ? "continuation" : "resume"}'s resume claim was not answered within ${WORKFLOW_STORE_WAIT_BOUND_MS}ms — not started`);
|
|
955
|
-
if (!verdict.granted) {
|
|
956
|
-
const held = claimHeldOf(verdict);
|
|
990
|
+
const taken = await takeToolResumeClaim(journal, args, continuation !== undefined ? "continuation" : "resume", resumeFromRunId, reportStoreFault);
|
|
991
|
+
if ("refused" in taken)
|
|
992
|
+
return structuredError(taken.refused);
|
|
993
|
+
if ("held" in taken) {
|
|
957
994
|
if (continuation === undefined)
|
|
958
|
-
return structuredError(notContinuedRefusalOf(resumeFromRunId, "continuing_elsewhere", { ...held, decisionIds: heldDecisionIds }));
|
|
959
|
-
continuation.onClaimHeld(held);
|
|
995
|
+
return structuredError(notContinuedRefusalOf(namedResume ?? resumeFromRunId, "continuing_elsewhere", { ...taken.held, decisionIds: heldDecisionIds }));
|
|
996
|
+
continuation.onClaimHeld(taken.held);
|
|
960
997
|
return structuredError("another run already holds this run's resume claim — not started");
|
|
961
998
|
}
|
|
962
|
-
continuationClaim =
|
|
999
|
+
continuationClaim = taken.granted;
|
|
963
1000
|
if (continuation === undefined) {
|
|
964
1001
|
let again;
|
|
965
1002
|
try {
|
|
@@ -968,6 +1005,9 @@ async function mountRunWorkflowTool(d) {
|
|
|
968
1005
|
catch {
|
|
969
1006
|
again = `the records of workflow run "${inlineUntrusted(resumeFromRunId, 64)}"'s workflow could not be read — not started`;
|
|
970
1007
|
}
|
|
1008
|
+
if (again !== undefined && typeof again !== "string" && (again.root !== claimKey || again.target !== resumeFromRunId)) {
|
|
1009
|
+
again = `the records of workflow run "${inlineUntrusted(namedResume ?? "", 64)}"'s workflow changed while this call took its resume claim (a run of it was continued, removed or created again meanwhile) — not started; call again to continue from what they say now`;
|
|
1010
|
+
}
|
|
971
1011
|
if (typeof again === "string") {
|
|
972
1012
|
releaseContinuationClaim();
|
|
973
1013
|
return structuredError(again);
|
|
@@ -1070,7 +1110,13 @@ async function mountRunWorkflowTool(d) {
|
|
|
1070
1110
|
: {}),
|
|
1071
1111
|
...(autoModeReview !== undefined ? { autoModeReview } : {}),
|
|
1072
1112
|
...(agentStations !== undefined ? { agentStations } : {}),
|
|
1073
|
-
}, {
|
|
1113
|
+
}, {
|
|
1114
|
+
workflowDepth: d.workflowDepth,
|
|
1115
|
+
launchingTool: tool,
|
|
1116
|
+
...((ctx.toolSelector?.layers ?? d.parentToolCeiling) !== undefined ? { toolCeiling: (ctx.toolSelector?.layers ?? d.parentToolCeiling) } : {}),
|
|
1117
|
+
...(continuationClaim !== undefined ? { resumeClaimKey: continuationClaim.args.sourceRunId } : {}),
|
|
1118
|
+
...(namedResume !== undefined && resumeFromRunId !== namedResume ? { resumeAsked: namedResume } : {}),
|
|
1119
|
+
});
|
|
1074
1120
|
}
|
|
1075
1121
|
catch (err) {
|
|
1076
1122
|
releaseContinuationClaim();
|
|
@@ -1128,6 +1174,7 @@ async function mountRunWorkflowTool(d) {
|
|
|
1128
1174
|
sourceTaskId,
|
|
1129
1175
|
...(d.originatingSessionId !== undefined ? { originatingSessionId: d.originatingSessionId } : {}),
|
|
1130
1176
|
principal,
|
|
1177
|
+
scope: runScope,
|
|
1131
1178
|
status: notification.status === "completed" ? "completed" : "failed",
|
|
1132
1179
|
summary: egressText("human", notification.summary),
|
|
1133
1180
|
...(notification.result !== undefined ? { result: egressText("human", notification.result) } : {}),
|
|
@@ -1135,6 +1182,7 @@ async function mountRunWorkflowTool(d) {
|
|
|
1135
1182
|
...(notification.diagnostics !== undefined ? { diagnostics: egressText("human", notification.diagnostics) } : {}),
|
|
1136
1183
|
...(notification.completionId !== undefined ? { completionId: notification.completionId } : {}),
|
|
1137
1184
|
...(notification.members !== undefined ? { members: notification.members } : {}),
|
|
1185
|
+
...(notification.errorCode !== undefined ? { errorCode: notification.errorCode } : {}),
|
|
1138
1186
|
}))
|
|
1139
1187
|
.catch(() => { });
|
|
1140
1188
|
};
|
|
@@ -1172,6 +1220,7 @@ async function mountRunWorkflowTool(d) {
|
|
|
1172
1220
|
diagnostics: workflowDiagnostics(runId, undefined, undefined, record, held),
|
|
1173
1221
|
...(settleId !== undefined ? { completionId: settleId } : {}),
|
|
1174
1222
|
...(failedRun !== undefined ? { members: workflowMembersOf(failedRun) } : {}),
|
|
1223
|
+
...((code) => (code !== undefined ? { errorCode: code } : {}))(failedRun === undefined ? undefined : workflowNotifiedCodeOf(failedRun)),
|
|
1175
1224
|
};
|
|
1176
1225
|
}
|
|
1177
1226
|
catch {
|
|
@@ -1193,6 +1242,9 @@ async function mountRunWorkflowTool(d) {
|
|
|
1193
1242
|
task_id: runId,
|
|
1194
1243
|
status: "started",
|
|
1195
1244
|
...(persistedScriptPath !== undefined ? { scriptPath: persistedScriptPath } : {}),
|
|
1245
|
+
...(namedResume !== undefined && resumeFromRunId !== undefined && resumeFromRunId !== namedResume
|
|
1246
|
+
? { resumedFrom: resumeFromRunId, resumeNote: `run "${inlineUntrusted(namedResume, 64)}" had already been continued, so this call continues the last run of its line, "${inlineUntrusted(resumeFromRunId, 64)}": its completed steps replay and only what it did not reach runs live. To continue this run later, resume from "${runId}".` }
|
|
1247
|
+
: {}),
|
|
1196
1248
|
handling: `${launchReceiptNoQuoteClause(" (the ids above, and scriptPath when present)")} ${LAUNCH_RECEIPT_OWN_WORDS_CLAUSE}`,
|
|
1197
1249
|
note: (() => {
|
|
1198
1250
|
const journalRef = journalLocatorOf(runId, runScope);
|
|
@@ -1226,6 +1278,23 @@ async function mountRunWorkflowTool(d) {
|
|
|
1226
1278
|
return { refused: launchRefusalText(details?.content) };
|
|
1227
1279
|
return { runId: details.details.workflowRunId };
|
|
1228
1280
|
},
|
|
1281
|
+
underClaim: async (claimKey, scope, body) => {
|
|
1282
|
+
const journal = d.journalStore;
|
|
1283
|
+
if (journal === undefined)
|
|
1284
|
+
return { refused: "no journal store holds this workflow's resume claim" };
|
|
1285
|
+
const args = { sourceRunId: claimKey, newRunId: answerRecordClaimHolder(), scope };
|
|
1286
|
+
const taken = await takeToolResumeClaim(journal, args, "record", claimKey, reportStoreFault);
|
|
1287
|
+
if ("refused" in taken)
|
|
1288
|
+
return { refused: taken.refused };
|
|
1289
|
+
if ("held" in taken)
|
|
1290
|
+
return { claimHeld: taken.held };
|
|
1291
|
+
try {
|
|
1292
|
+
return { value: await body() };
|
|
1293
|
+
}
|
|
1294
|
+
finally {
|
|
1295
|
+
void releaseWorkflowResumeClaim(journal, args, taken.granted.fallback);
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1229
1298
|
waitBoundMs: WORKFLOW_STORE_WAIT_BOUND_MS,
|
|
1230
1299
|
...(reportStoreFault !== undefined ? { reportStoreFault } : {}),
|
|
1231
1300
|
toolName: RUN_WORKFLOW_TOOL_NAME,
|