omnius 1.0.922 → 1.0.924
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/dist/{providerRegistry.d.ts → _types/backend-vllm/providerRegistry.d.ts} +0 -1
- package/dist/_types/backend-vllm/types.d.ts +209 -0
- package/dist/_types/execution/av/media-capability.d.ts +94 -0
- package/dist/_types/execution/delegation-contract.d.ts +102 -0
- package/dist/_types/execution/evidence.d.ts +68 -0
- package/dist/_types/execution/html-source-evidence.d.ts +65 -0
- package/dist/_types/execution/mcp/types.d.ts +169 -0
- package/dist/_types/execution/mutation-contract.d.ts +102 -0
- package/dist/_types/execution/nol/artifacts.d.ts +39 -0
- package/dist/_types/execution/nol/checkpoint-edits.d.ts +98 -0
- package/dist/_types/execution/nol/distributions.d.ts +128 -0
- package/dist/_types/execution/nol/gguf-checkpoint-edits.d.ts +194 -0
- package/dist/_types/execution/nol/gguf-control-reader.d.ts +224 -0
- package/dist/_types/execution/nol/lora-exports.d.ts +129 -0
- package/dist/_types/execution/nol/neuronary.d.ts +212 -0
- package/dist/_types/execution/nol/pytorch-control-reader.d.ts +143 -0
- package/dist/_types/execution/nol/qwen35-head-sites.d.ts +61 -0
- package/dist/_types/execution/nol/worker-assets.d.ts +82 -0
- package/dist/_types/execution/nol/worker-protocol.d.ts +94 -0
- package/dist/_types/execution/page-content-source.d.ts +40 -0
- package/dist/_types/execution/rapid-computer-use/artifact-store.d.ts +21 -0
- package/dist/_types/execution/rapid-computer-use/contracts.d.ts +320 -0
- package/dist/_types/execution/rapid-computer-use/decision.d.ts +70 -0
- package/dist/_types/execution/rapid-computer-use/desktop-verification.d.ts +23 -0
- package/dist/_types/execution/rapid-computer-use/geometry.d.ts +57 -0
- package/dist/_types/execution/rapid-computer-use/planner.d.ts +78 -0
- package/dist/_types/execution/rapid-computer-use/trace.d.ts +80 -0
- package/dist/_types/execution/rapid-computer-use/visual.d.ts +48 -0
- package/dist/_types/execution/shell-runs.d.ts +78 -0
- package/dist/_types/execution/streamed-web-source.d.ts +64 -0
- package/dist/_types/execution/tools/browser-page-fallback.d.ts +25 -0
- package/dist/_types/execution/tools/network-egress-policy.d.ts +30 -0
- package/dist/_types/execution/tools/pdf-native-tables.d.ts +46 -0
- package/dist/_types/execution/tools/todo-store.d.ts +133 -0
- package/dist/_types/execution/tools/web-fetch.d.ts +57 -0
- package/dist/_types/execution/tools/workboard.d.ts +1223 -0
- package/dist/_types/execution/types.d.ts +549 -0
- package/dist/_types/execution/web-source.d.ts +14 -0
- package/dist/_types/memory/artifactReviewSourceIndex.d.ts +133 -0
- package/dist/_types/memory/contextMemoryLedger.d.ts +213 -0
- package/dist/_types/memory/db.d.ts +12 -0
- package/dist/_types/memory/embeddings.d.ts +36 -0
- package/dist/_types/memory/immutableEvidenceStore.d.ts +165 -0
- package/dist/_types/memory/memoryIngestion.d.ts +65 -0
- package/dist/_types/memory/memoryTypes.d.ts +312 -0
- package/dist/_types/memory/sourceCorpusStore.d.ts +331 -0
- package/dist/_types/memory/structuredMemoryStore.d.ts +105 -0
- package/dist/_types/memory/unifiedMemoryStore.d.ts +127 -0
- package/dist/_types/memory/virtualMemory.d.ts +187 -0
- package/dist/_types/orchestrator/agentic-page-content-receipt.d.ts +20 -0
- package/dist/_types/orchestrator/agentic-web-fetch-receipt.d.ts +20 -0
- package/dist/_types/orchestrator/agenticRunner.d.ts +5216 -0
- package/dist/_types/orchestrator/app-state.d.ts +171 -0
- package/dist/_types/orchestrator/artifactClaimCritic.d.ts +63 -0
- package/dist/_types/orchestrator/artifactQuality.d.ts +15 -0
- package/dist/_types/orchestrator/artifactSemanticIntegrity.d.ts +203 -0
- package/dist/_types/orchestrator/canonical-context-projection.d.ts +254 -0
- package/dist/_types/orchestrator/canonical-source-body-projection.d.ts +51 -0
- package/dist/_types/orchestrator/completion-review-pending.d.ts +24 -0
- package/dist/_types/orchestrator/completionContract.d.ts +103 -0
- package/dist/_types/orchestrator/completionFinalization.d.ts +224 -0
- package/dist/_types/orchestrator/completionLedger.d.ts +429 -0
- package/dist/_types/orchestrator/completionReadiness.d.ts +234 -0
- package/dist/_types/orchestrator/context-admission.d.ts +93 -0
- package/dist/_types/orchestrator/context-dump-retention.d.ts +25 -0
- package/dist/_types/orchestrator/context-fabric.d.ts +133 -0
- package/dist/_types/orchestrator/contextEngine.d.ts +68 -0
- package/dist/_types/orchestrator/contextWindowDump.d.ts +327 -0
- package/dist/_types/orchestrator/convergence-breaker.d.ts +225 -0
- package/dist/_types/orchestrator/convergence-progress.d.ts +66 -0
- package/dist/_types/orchestrator/deliveryCoverage.d.ts +181 -0
- package/dist/_types/orchestrator/document-persistence-goal-binding.d.ts +106 -0
- package/dist/_types/orchestrator/durable-document-worker.d.ts +85 -0
- package/dist/_types/orchestrator/evidenceBranch.d.ts +291 -0
- package/dist/_types/orchestrator/expected-inference-response.d.ts +55 -0
- package/dist/_types/orchestrator/expectedOutcomeContract.d.ts +58 -0
- package/dist/_types/orchestrator/failure-taxonomy.d.ts +36 -0
- package/dist/_types/orchestrator/focusSupervisor.d.ts +436 -0
- package/dist/_types/orchestrator/forced-update-requirement-recovery.d.ts +105 -0
- package/dist/_types/orchestrator/hooks.d.ts +100 -0
- package/dist/_types/orchestrator/inference-pressure.d.ts +61 -0
- package/dist/_types/orchestrator/integrationClosure.d.ts +89 -0
- package/dist/_types/orchestrator/interruption-lifecycle.d.ts +154 -0
- package/dist/_types/orchestrator/live-memory-passages.d.ts +51 -0
- package/dist/_types/orchestrator/liveVirtualContext.d.ts +84 -0
- package/dist/_types/orchestrator/memory-compiler.d.ts +254 -0
- package/dist/_types/orchestrator/memory-consolidation.d.ts +134 -0
- package/dist/_types/orchestrator/model-router.d.ts +17 -0
- package/dist/_types/orchestrator/modelResponseDiagnostics.d.ts +71 -0
- package/dist/_types/orchestrator/nativeRequirementAmendment.d.ts +63 -0
- package/dist/_types/orchestrator/nol/coordinator.d.ts +204 -0
- package/dist/_types/orchestrator/nol/datasets.d.ts +58 -0
- package/dist/_types/orchestrator/nol/discovery.d.ts +286 -0
- package/dist/_types/orchestrator/nol/evaluation.d.ts +59 -0
- package/dist/_types/orchestrator/nol/model-validation.d.ts +198 -0
- package/dist/_types/orchestrator/nol/statistics.d.ts +142 -0
- package/dist/_types/orchestrator/nol/store.d.ts +133 -0
- package/dist/_types/orchestrator/nol/variant-registry.d.ts +292 -0
- package/dist/_types/orchestrator/ollama-context-policy.d.ts +26 -0
- package/dist/_types/orchestrator/personality.d.ts +66 -0
- package/dist/_types/orchestrator/prompt-cache.d.ts +24 -0
- package/dist/_types/orchestrator/remote-inference-fallback.d.ts +224 -0
- package/dist/_types/orchestrator/remote-inference-policy.d.ts +58 -0
- package/dist/_types/orchestrator/request-budget.d.ts +75 -0
- package/dist/_types/orchestrator/requirementCoverage.d.ts +69 -0
- package/dist/_types/orchestrator/reviewedInterpretation.d.ts +111 -0
- package/dist/_types/orchestrator/runEvents.d.ts +115 -0
- package/dist/_types/orchestrator/runtime-rollout.d.ts +63 -0
- package/dist/_types/orchestrator/semanticVerification.d.ts +135 -0
- package/dist/_types/orchestrator/source-wide-extraction.d.ts +202 -0
- package/dist/_types/orchestrator/steeringIntake.d.ts +123 -0
- package/dist/_types/orchestrator/structured-memory-extraction-worker.d.ts +89 -0
- package/dist/_types/orchestrator/structuredMemoryInference.d.ts +62 -0
- package/dist/_types/orchestrator/successful-procedure-memory.d.ts +127 -0
- package/dist/_types/orchestrator/supportedAnswer.d.ts +68 -0
- package/dist/_types/orchestrator/taskEffectEvidence.d.ts +38 -0
- package/dist/_types/orchestrator/taskExecutionSnapshot.d.ts +67 -0
- package/dist/_types/orchestrator/taskObjective.d.ts +310 -0
- package/dist/_types/orchestrator/taskObjectiveContinuation.d.ts +134 -0
- package/dist/_types/orchestrator/taskRequirementReview.d.ts +246 -0
- package/dist/_types/orchestrator/taskRequirements.d.ts +80 -0
- package/dist/_types/orchestrator/taskSemanticAdmission.d.ts +159 -0
- package/dist/_types/orchestrator/taskWorkDelegation.d.ts +147 -0
- package/dist/_types/orchestrator/taskWorkPlan.d.ts +177 -0
- package/dist/_types/orchestrator/telegram-passive-history.d.ts +42 -0
- package/dist/_types/orchestrator/terminalTaskReport.d.ts +91 -0
- package/dist/_types/orchestrator/todoObservability.d.ts +147 -0
- package/dist/_types/orchestrator/tool-exposure-policy.d.ts +100 -0
- package/dist/_types/orchestrator/trajectory-checkpoint.d.ts +159 -0
- package/dist/_types/orchestrator/types.d.ts +185 -0
- package/dist/_types/schemas/dispatch.d.ts +53 -0
- package/dist/_types/schemas/feature-workflow.d.ts +362 -0
- package/dist/_types/schemas/messages.d.ts +15 -0
- package/dist/_types/schemas/nol-assets.d.ts +955 -0
- package/dist/_types/schemas/nol-json.d.ts +2 -0
- package/dist/_types/schemas/nol.d.ts +3995 -0
- package/dist/_types/schemas/patch.d.ts +47 -0
- package/dist/_types/schemas/plan.d.ts +47 -0
- package/dist/_types/schemas/repoProfile.d.ts +116 -0
- package/dist/_types/schemas/retrieval.d.ts +44 -0
- package/dist/_types/schemas/task.d.ts +57 -0
- package/dist/_types/schemas/tools.d.ts +16 -0
- package/dist/_types/schemas/verification.d.ts +31 -0
- package/dist/api/py-embed.js +3353 -1829
- package/dist/assets/nol-checkpoint-editor.py +701 -0
- package/dist/assets/nol-gguf-checkpoint-editor.py +785 -0
- package/dist/assets/nol-gguf-control-reader.py +428 -0
- package/dist/assets/nol-gne-tools-worker.py +425 -0
- package/dist/assets/nol-gne-worker.py +1081 -0
- package/dist/assets/nol-lora-exporter.py +349 -0
- package/dist/assets/nol-pytorch-control-reader.py +470 -0
- package/dist/assets/nol-transformers-nnsight-worker.py +512 -0
- package/dist/assets/nol-transformers-peft-validation-worker.py +385 -0
- package/dist/assets/nol-transformers-peft-worker.py +488 -0
- package/dist/assets/nol-transformers-research-worker.py +472 -0
- package/dist/assets/nol-transformers-worker.py +920 -0
- package/dist/assets/nol-vllm-owned-worker.py +803 -0
- package/dist/assets/nol-vllm-runtime.py +695 -0
- package/dist/assets/nol-vllm-tokenizer.py +93 -0
- package/dist/assets/nol-vllm-worker.py +201 -0
- package/dist/computer-use/configured-planner.d.ts +37 -0
- package/dist/computer-use/configured-point.d.ts +35 -0
- package/dist/computer-use/host-session.d.ts +60 -0
- package/dist/computer-use/runner-ui-port.d.ts +37 -0
- package/dist/computer-use/session-review.d.ts +14 -0
- package/dist/computer-use/task-spec.d.ts +84 -0
- package/dist/discovery.d.ts +16 -2
- package/dist/index.js +2 -2
- package/dist/library.d.ts +94 -10
- package/dist/library.js +137700 -81150
- package/dist/memory-maintenance-worker.js +1676 -511
- package/dist/nol/cpu-control-reader-profile.d.ts +93 -0
- package/dist/nol/cpu-control-reader-service.d.ts +87 -0
- package/dist/nol/cuda-lease.d.ts +111 -0
- package/dist/nol/cuda-mutations.d.ts +34 -0
- package/dist/nol/export-runtime-config.d.ts +114 -0
- package/dist/nol/export-service.d.ts +143 -0
- package/dist/nol/facade.d.ts +147 -0
- package/dist/nol/gguf-cpu-control-reader-profile.d.ts +106 -0
- package/dist/nol/gguf-cpu-control-reader-service.d.ts +91 -0
- package/dist/nol/gguf-model-control-verifier.d.ts +120 -0
- package/dist/nol/gguf-parameter-inventory.d.ts +28 -0
- package/dist/nol/gne-adapter.d.ts +134 -0
- package/dist/nol/gne-agent-evaluation.d.ts +84 -0
- package/dist/nol/gne-profile.d.ts +124 -0
- package/dist/nol/gne-tools-profile.d.ts +148 -0
- package/dist/nol/gne-tools-transport.d.ts +194 -0
- package/dist/nol/model-actions.d.ts +662 -0
- package/dist/nol/model-control-verifier.d.ts +135 -0
- package/dist/nol/model-json-scorer.d.ts +13 -0
- package/dist/nol/model-runtime-config.d.ts +830 -0
- package/dist/nol/model-serving.d.ts +130 -0
- package/dist/nol/model-subject-adapter.d.ts +72 -0
- package/dist/nol/model-validation-factory.d.ts +113 -0
- package/dist/nol/neuronary-catalog.d.ts +130 -0
- package/dist/nol/orphan-custody.d.ts +72 -0
- package/dist/nol/peft-conformance.d.ts +48 -0
- package/dist/nol/peft-control-types.d.ts +137 -0
- package/dist/nol/peft-control-verifier.d.ts +8 -0
- package/dist/nol/peft-model-actions.d.ts +41 -0
- package/dist/nol/peft-model-authority.d.ts +146 -0
- package/dist/nol/peft-model-controls.d.ts +20 -0
- package/dist/nol/peft-model-host.d.ts +47 -0
- package/dist/nol/peft-model-profile.d.ts +161 -0
- package/dist/nol/peft-model-runtime-config.d.ts +174 -0
- package/dist/nol/peft-model-subject-adapter.d.ts +36 -0
- package/dist/nol/peft-validation.d.ts +105 -0
- package/dist/nol/persistent-parameter-inventory.d.ts +32 -0
- package/dist/nol/runtime.d.ts +100 -0
- package/dist/nol/sqlite-store.d.ts +80 -0
- package/dist/nol/transformers-adapter.d.ts +119 -0
- package/dist/nol/transformers-nnsight.d.ts +87 -0
- package/dist/nol/transformers-peft.d.ts +107 -0
- package/dist/nol/transformers-research.d.ts +114 -0
- package/dist/nol/variant-service.d.ts +143 -0
- package/dist/nol/variant-store.d.ts +51 -0
- package/dist/nol/vllm-actions.d.ts +774 -0
- package/dist/nol/vllm-adapter.d.ts +1473 -0
- package/dist/nol/vllm-authority.d.ts +55 -0
- package/dist/nol/vllm-conformance.d.ts +662 -0
- package/dist/nol/vllm-profile.d.ts +850 -0
- package/dist/nol/vllm-protocol.d.ts +1505 -0
- package/dist/nol/vllm-runtime-config.d.ts +120 -0
- package/dist/nol/vllm-runtime.d.ts +34 -0
- package/dist/nol/vllm-startup.d.ts +235 -0
- package/dist/omni-setup-worker.js +3433 -1909
- package/dist/service-version.d.ts +0 -1
- package/dist/tui/async-process.d.ts +27 -0
- package/dist/tui/native/worker.js +3 -1
- package/dist/tui/telegram-action-session-registry.d.ts +136 -0
- package/dist/tui/telegram-cognition-queue.d.ts +154 -0
- package/dist/tui/telegram-context-packet-v2.d.ts +99 -0
- package/dist/tui/telegram-input-ownership.d.ts +78 -0
- package/dist/tui/telegram-turn-contract-v2.d.ts +62 -0
- package/dist/update-worker-runtime.js +4216 -2603
- package/docs/DISCOVERY.json +462 -0
- package/docs/DISCOVERY.md +6 -0
- package/docs/work-orders/evidence/telegram-catch-up-attention-live-20261104.json +743 -0
- package/docs/work-orders/telegram-catch-up-attention-repair-20261104.md +133 -0
- package/npm-shrinkwrap.json +28 -12
- package/package.json +3 -2
|
@@ -0,0 +1,1223 @@
|
|
|
1
|
+
import type { CommandEvidenceReceipt, Tool, ToolResult } from "../types.js";
|
|
2
|
+
export declare const WORKBOARD_SCHEMA_VERSION = 2;
|
|
3
|
+
export declare const WORKBOARD_LEGACY_SCHEMA_VERSION = 1;
|
|
4
|
+
export type WorkboardWriteMode = "legacy" | "v2";
|
|
5
|
+
/**
|
|
6
|
+
* Explicit rollback for newly created boards. Existing V2 histories never
|
|
7
|
+
* downgrade: once a V2 event exists, every later write remains V2 so rollback
|
|
8
|
+
* cannot relabel or destroy typed evidence already accepted by the host.
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveWorkboardWriteMode(env?: NodeJS.ProcessEnv): WorkboardWriteMode;
|
|
11
|
+
export type WorkboardSchemaVersion = typeof WORKBOARD_LEGACY_SCHEMA_VERSION | typeof WORKBOARD_SCHEMA_VERSION;
|
|
12
|
+
export type WorkboardStatus = "active" | "completed" | "archived";
|
|
13
|
+
export type WorkboardLane = "backlog" | "ready" | "worker" | "verification" | "synthesis" | "blocked" | "done";
|
|
14
|
+
export type WorkboardCardStatus = "open" | "in_progress" | "needs_changes" | "blocked" | "completed" | "verified";
|
|
15
|
+
export type WorkboardRole = "decomposer" | "worker" | "verifier" | "synthesizer";
|
|
16
|
+
export type WorkboardEvidenceKind = "tool_result" | "file" | "url" | "message" | "note";
|
|
17
|
+
export type WorkboardEvidenceResult = "success" | "failure" | "unknown";
|
|
18
|
+
export declare const WORKBOARD_EVIDENCE_PREDICATE_SCHEMA: "omnius.workboard-evidence-predicate.v1";
|
|
19
|
+
export declare const WORKBOARD_OWNERSHIP_LEASE_SCHEMA: "omnius.workboard-ownership-lease.v1";
|
|
20
|
+
export declare const WORKBOARD_FAILURE_RESOLUTION_RECEIPT_SCHEMA: "omnius.workboard-failure-resolution-receipt.v1";
|
|
21
|
+
export interface WorkboardEvidenceRange {
|
|
22
|
+
/** Inclusive, one-based source line. */
|
|
23
|
+
startLine: number;
|
|
24
|
+
/** Inclusive source line. `null` means the observed range reached EOF. */
|
|
25
|
+
endLine: number | null;
|
|
26
|
+
}
|
|
27
|
+
export interface WorkboardOwnershipLease {
|
|
28
|
+
schema: typeof WORKBOARD_OWNERSHIP_LEASE_SCHEMA;
|
|
29
|
+
id: string;
|
|
30
|
+
owner: string;
|
|
31
|
+
acquiredAt: string;
|
|
32
|
+
expiresAt?: string;
|
|
33
|
+
releasedAt?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface WorkboardFailureIdentity {
|
|
36
|
+
taskEpoch: number;
|
|
37
|
+
targetKey: string;
|
|
38
|
+
patternKey: string;
|
|
39
|
+
recoveryAttempt: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A structured evidence requirement. Every declared field is matched exactly
|
|
43
|
+
* against one evidence item. `label` remains the human/model-facing prose;
|
|
44
|
+
* it is not itself treated as proof.
|
|
45
|
+
*/
|
|
46
|
+
export interface WorkboardEvidencePredicate {
|
|
47
|
+
schema: typeof WORKBOARD_EVIDENCE_PREDICATE_SCHEMA;
|
|
48
|
+
id: string;
|
|
49
|
+
label: string;
|
|
50
|
+
kind?: WorkboardEvidenceKind;
|
|
51
|
+
summary?: string;
|
|
52
|
+
ref?: string;
|
|
53
|
+
path?: string;
|
|
54
|
+
url?: string;
|
|
55
|
+
tool?: string;
|
|
56
|
+
command?: string;
|
|
57
|
+
message?: string;
|
|
58
|
+
content?: string;
|
|
59
|
+
/** Exact content revision. A label or path alone never implies it. */
|
|
60
|
+
revision?: string;
|
|
61
|
+
/** Exact inclusive source range observed at `revision`. */
|
|
62
|
+
range?: WorkboardEvidenceRange;
|
|
63
|
+
/** Require a successful command receipt minted by the local runtime. */
|
|
64
|
+
requireTrustedSuccess?: boolean;
|
|
65
|
+
}
|
|
66
|
+
export type WorkboardDiagnosticCode = "card_not_found" | "compile_error_card_created" | "compile_error_card_assigned" | "compile_error_card_dismissed" | "compile_error_card_verified" | "compile_error_card_blocked" | "completion_without_evidence" | "dependency_blocked" | "empty_active_board" | "invalid_transition" | "self_verification_rejected" | "unresolved_failure_card" | "repeated_worker_failure" | "assignee_unavailable";
|
|
67
|
+
export interface WorkboardEvidence {
|
|
68
|
+
id: string;
|
|
69
|
+
kind: WorkboardEvidenceKind;
|
|
70
|
+
summary: string;
|
|
71
|
+
createdAt: string;
|
|
72
|
+
actor?: string;
|
|
73
|
+
ref?: string;
|
|
74
|
+
path?: string;
|
|
75
|
+
url?: string;
|
|
76
|
+
tool?: string;
|
|
77
|
+
command?: string;
|
|
78
|
+
message?: string;
|
|
79
|
+
content?: string;
|
|
80
|
+
revision?: string;
|
|
81
|
+
range?: WorkboardEvidenceRange;
|
|
82
|
+
verifies?: string[];
|
|
83
|
+
/** Explicit result semantics. Failed evidence can describe a failure but cannot verify a card. */
|
|
84
|
+
result?: WorkboardEvidenceResult;
|
|
85
|
+
/**
|
|
86
|
+
* Process facts supplied by Omnius' local command runner. This field is
|
|
87
|
+
* intentionally absent from WorkboardEvidenceInput so a model cannot mint
|
|
88
|
+
* verifier authority by including receipt-shaped JSON in a tool call.
|
|
89
|
+
*/
|
|
90
|
+
commandReceipt?: CommandEvidenceReceipt;
|
|
91
|
+
}
|
|
92
|
+
export interface WorkboardDecision {
|
|
93
|
+
id: string;
|
|
94
|
+
kind: "split" | "blocked" | "reassigned" | "completed" | "verified" | "needs_changes" | "diagnostic" | "note";
|
|
95
|
+
reason: string;
|
|
96
|
+
createdAt: string;
|
|
97
|
+
actor?: string;
|
|
98
|
+
cardId?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface WorkboardDiagnostic {
|
|
101
|
+
id: string;
|
|
102
|
+
code: WorkboardDiagnosticCode;
|
|
103
|
+
severity: "info" | "warning" | "error";
|
|
104
|
+
message: string;
|
|
105
|
+
createdAt: string;
|
|
106
|
+
cardId?: string;
|
|
107
|
+
actor?: string;
|
|
108
|
+
assignee?: string;
|
|
109
|
+
count?: number;
|
|
110
|
+
/** Additive lifecycle fields. Legacy records may contain only createdAt. */
|
|
111
|
+
firstSeenAt?: string;
|
|
112
|
+
lastSeenAt?: string;
|
|
113
|
+
exemplars?: WorkboardDiagnosticExemplar[];
|
|
114
|
+
suggestedAction?: string;
|
|
115
|
+
details?: Record<string, unknown>;
|
|
116
|
+
}
|
|
117
|
+
export interface WorkboardDiagnosticExemplar {
|
|
118
|
+
id: string;
|
|
119
|
+
observedAt: string;
|
|
120
|
+
message: string;
|
|
121
|
+
actor?: string;
|
|
122
|
+
details?: Record<string, unknown>;
|
|
123
|
+
}
|
|
124
|
+
export interface WorkboardCard {
|
|
125
|
+
id: string;
|
|
126
|
+
title: string;
|
|
127
|
+
description: string;
|
|
128
|
+
lane: WorkboardLane;
|
|
129
|
+
status: WorkboardCardStatus;
|
|
130
|
+
dependencies: string[];
|
|
131
|
+
evidenceRequired: boolean;
|
|
132
|
+
evidenceRequirements: string[];
|
|
133
|
+
/** Additive V2 predicates. V1 cards without these retain legacy prose matching. */
|
|
134
|
+
evidencePredicates?: WorkboardEvidencePredicate[];
|
|
135
|
+
evidence: WorkboardEvidence[];
|
|
136
|
+
decisions: WorkboardDecision[];
|
|
137
|
+
createdAt: string;
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
assignee?: string;
|
|
140
|
+
role?: WorkboardRole;
|
|
141
|
+
blocker?: string;
|
|
142
|
+
startedAt?: string;
|
|
143
|
+
completedAt?: string;
|
|
144
|
+
verifiedAt?: string;
|
|
145
|
+
verificationNotes?: string;
|
|
146
|
+
diagnosticFingerprint?: string;
|
|
147
|
+
ownedFiles?: string[];
|
|
148
|
+
verifierCommand?: string;
|
|
149
|
+
rank?: number;
|
|
150
|
+
/** Stable semantic identity for todo-derived cards. */
|
|
151
|
+
canonicalKey?: string;
|
|
152
|
+
/** Todo ids folded into this canonical card. */
|
|
153
|
+
sourceTodoIds?: string[];
|
|
154
|
+
/** Explicit canonical links. Card state remains method intent, never objective acceptance. */
|
|
155
|
+
requirementIds?: string[];
|
|
156
|
+
acceptanceIds?: string[];
|
|
157
|
+
sourceRefs?: string[];
|
|
158
|
+
/** Duplicate card retained only for audit; never selected for new work. */
|
|
159
|
+
supersededBy?: string;
|
|
160
|
+
/** Explicit worker ownership. Legacy cards without a lease remain readable. */
|
|
161
|
+
ownershipLease?: WorkboardOwnershipLease;
|
|
162
|
+
/** Exact failure epoch/target identity for host-driven recovery cards. */
|
|
163
|
+
failureIdentity?: WorkboardFailureIdentity;
|
|
164
|
+
}
|
|
165
|
+
export interface WorkboardProgressCheckpoint {
|
|
166
|
+
turn: number;
|
|
167
|
+
signature: string;
|
|
168
|
+
evidenceIds: string[];
|
|
169
|
+
occurredAt: string;
|
|
170
|
+
}
|
|
171
|
+
export interface WorkboardSnapshot {
|
|
172
|
+
schemaVersion: WorkboardSchemaVersion;
|
|
173
|
+
runId: string;
|
|
174
|
+
owner: string;
|
|
175
|
+
status: WorkboardStatus;
|
|
176
|
+
createdAt: string;
|
|
177
|
+
updatedAt: string;
|
|
178
|
+
eventCount: number;
|
|
179
|
+
cards: WorkboardCard[];
|
|
180
|
+
decisions: WorkboardDecision[];
|
|
181
|
+
diagnostics: WorkboardDiagnostic[];
|
|
182
|
+
goal?: string;
|
|
183
|
+
scope?: string;
|
|
184
|
+
title?: string;
|
|
185
|
+
taskEpoch?: number;
|
|
186
|
+
rawUserIntent?: string;
|
|
187
|
+
artifactEvidence?: WorkboardEvidence[];
|
|
188
|
+
lastSubstantiveProgress?: WorkboardProgressCheckpoint;
|
|
189
|
+
/** Authoritative run terminal receipt; cards remain intact for audit. */
|
|
190
|
+
terminalReceiptId?: string;
|
|
191
|
+
terminalSummary?: string;
|
|
192
|
+
/** Distinct, replay-safe receipts for cross-store failure resolution. */
|
|
193
|
+
failureResolutionReceipts?: WorkboardFailureResolutionReceipt[];
|
|
194
|
+
}
|
|
195
|
+
export interface WorkboardFailureResolutionReceipt {
|
|
196
|
+
schema: typeof WORKBOARD_FAILURE_RESOLUTION_RECEIPT_SCHEMA;
|
|
197
|
+
id: string;
|
|
198
|
+
transactionId: string;
|
|
199
|
+
runId: string;
|
|
200
|
+
taskEpoch: number;
|
|
201
|
+
targetKey: string;
|
|
202
|
+
targetPaths: string[];
|
|
203
|
+
failureIds: string[];
|
|
204
|
+
failureFingerprints: string[];
|
|
205
|
+
cardIds: string[];
|
|
206
|
+
preparedAt: string;
|
|
207
|
+
committedAt: string;
|
|
208
|
+
resolver: {
|
|
209
|
+
toolName: string;
|
|
210
|
+
fingerprint: string;
|
|
211
|
+
turn: number;
|
|
212
|
+
success: true;
|
|
213
|
+
receipt?: CommandEvidenceReceipt;
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
export interface CompactWorkboardCard {
|
|
217
|
+
id: string;
|
|
218
|
+
title: string;
|
|
219
|
+
status: WorkboardCardStatus;
|
|
220
|
+
lane: WorkboardLane;
|
|
221
|
+
assignee?: string;
|
|
222
|
+
dependencies: string[];
|
|
223
|
+
evidenceCount: number;
|
|
224
|
+
evidenceRequirements: string[];
|
|
225
|
+
evidencePredicates?: WorkboardEvidencePredicate[];
|
|
226
|
+
blocker?: string;
|
|
227
|
+
diagnosticFingerprint?: string;
|
|
228
|
+
ownedFiles?: string[];
|
|
229
|
+
verifierCommand?: string;
|
|
230
|
+
rank?: number;
|
|
231
|
+
canonicalKey?: string;
|
|
232
|
+
sourceTodoIds?: string[];
|
|
233
|
+
/** Explicit canonical links. Card state remains method intent, never objective acceptance. */
|
|
234
|
+
requirementIds?: string[];
|
|
235
|
+
acceptanceIds?: string[];
|
|
236
|
+
sourceRefs?: string[];
|
|
237
|
+
supersededBy?: string;
|
|
238
|
+
ownershipLease?: WorkboardOwnershipLease;
|
|
239
|
+
failureIdentity?: WorkboardFailureIdentity;
|
|
240
|
+
}
|
|
241
|
+
export interface CompactWorkboardSnapshot {
|
|
242
|
+
runId: string;
|
|
243
|
+
status: WorkboardStatus;
|
|
244
|
+
owner: string;
|
|
245
|
+
updatedAt: string;
|
|
246
|
+
counts: Record<WorkboardCardStatus, number>;
|
|
247
|
+
cards: CompactWorkboardCard[];
|
|
248
|
+
hiddenCardCount: number;
|
|
249
|
+
diagnostics: WorkboardDiagnostic[];
|
|
250
|
+
}
|
|
251
|
+
export interface WorkboardSynthesisContext {
|
|
252
|
+
runId: string;
|
|
253
|
+
verifiedCards: Array<{
|
|
254
|
+
id: string;
|
|
255
|
+
title: string;
|
|
256
|
+
evidence: Array<Pick<WorkboardEvidence, "kind" | "summary" | "ref" | "path" | "url" | "tool" | "command">>;
|
|
257
|
+
verifiedAt?: string;
|
|
258
|
+
verificationNotes?: string;
|
|
259
|
+
}>;
|
|
260
|
+
unresolvedBlockers: Array<{
|
|
261
|
+
id: string;
|
|
262
|
+
title: string;
|
|
263
|
+
status: WorkboardCardStatus;
|
|
264
|
+
blocker?: string;
|
|
265
|
+
diagnostics: WorkboardDiagnostic[];
|
|
266
|
+
}>;
|
|
267
|
+
excludedUnverifiedCardIds: string[];
|
|
268
|
+
}
|
|
269
|
+
interface WorkboardEventBase {
|
|
270
|
+
schemaVersion: WorkboardSchemaVersion;
|
|
271
|
+
id: string;
|
|
272
|
+
runId: string;
|
|
273
|
+
createdAt: string;
|
|
274
|
+
actor?: string;
|
|
275
|
+
}
|
|
276
|
+
export type WorkboardEvent = (WorkboardEventBase & {
|
|
277
|
+
type: "board.created";
|
|
278
|
+
payload: {
|
|
279
|
+
owner: string;
|
|
280
|
+
status: WorkboardStatus;
|
|
281
|
+
goal?: string;
|
|
282
|
+
scope?: string;
|
|
283
|
+
title?: string;
|
|
284
|
+
taskEpoch?: number;
|
|
285
|
+
rawUserIntent?: string;
|
|
286
|
+
artifactEvidence?: WorkboardEvidence[];
|
|
287
|
+
lastSubstantiveProgress?: WorkboardProgressCheckpoint;
|
|
288
|
+
};
|
|
289
|
+
}) | (WorkboardEventBase & {
|
|
290
|
+
type: "board.updated";
|
|
291
|
+
payload: {
|
|
292
|
+
status?: WorkboardStatus;
|
|
293
|
+
goal?: string;
|
|
294
|
+
scope?: string;
|
|
295
|
+
title?: string;
|
|
296
|
+
taskEpoch?: number;
|
|
297
|
+
rawUserIntent?: string;
|
|
298
|
+
artifactEvidence?: WorkboardEvidence[];
|
|
299
|
+
lastSubstantiveProgress?: WorkboardProgressCheckpoint;
|
|
300
|
+
terminalReceiptId?: string;
|
|
301
|
+
terminalSummary?: string;
|
|
302
|
+
};
|
|
303
|
+
}) | (WorkboardEventBase & {
|
|
304
|
+
type: "card.added";
|
|
305
|
+
payload: {
|
|
306
|
+
card: WorkboardCard;
|
|
307
|
+
};
|
|
308
|
+
}) | (WorkboardEventBase & {
|
|
309
|
+
type: "card.updated";
|
|
310
|
+
payload: {
|
|
311
|
+
cardId: string;
|
|
312
|
+
updates: WorkboardCardUpdate;
|
|
313
|
+
decision?: WorkboardDecision;
|
|
314
|
+
};
|
|
315
|
+
}) | (WorkboardEventBase & {
|
|
316
|
+
type: "evidence.attached";
|
|
317
|
+
payload: {
|
|
318
|
+
cardId: string;
|
|
319
|
+
evidence: WorkboardEvidence[];
|
|
320
|
+
};
|
|
321
|
+
}) | (WorkboardEventBase & {
|
|
322
|
+
type: "card.completed";
|
|
323
|
+
payload: {
|
|
324
|
+
cardId: string;
|
|
325
|
+
decision?: WorkboardDecision;
|
|
326
|
+
notes?: string;
|
|
327
|
+
};
|
|
328
|
+
}) | (WorkboardEventBase & {
|
|
329
|
+
type: "card.verified";
|
|
330
|
+
payload: {
|
|
331
|
+
cardId: string;
|
|
332
|
+
decision?: WorkboardDecision;
|
|
333
|
+
notes?: string;
|
|
334
|
+
};
|
|
335
|
+
}) | (WorkboardEventBase & {
|
|
336
|
+
type: "card.changes_requested";
|
|
337
|
+
payload: {
|
|
338
|
+
cardId: string;
|
|
339
|
+
missingEvidence: string[];
|
|
340
|
+
reason: string;
|
|
341
|
+
decision?: WorkboardDecision;
|
|
342
|
+
};
|
|
343
|
+
}) | (WorkboardEventBase & {
|
|
344
|
+
type: "decision.recorded";
|
|
345
|
+
payload: {
|
|
346
|
+
decision: WorkboardDecision;
|
|
347
|
+
};
|
|
348
|
+
}) | (WorkboardEventBase & {
|
|
349
|
+
type: "diagnostic.recorded";
|
|
350
|
+
payload: {
|
|
351
|
+
diagnostic: WorkboardDiagnostic;
|
|
352
|
+
};
|
|
353
|
+
}) | (WorkboardEventBase & {
|
|
354
|
+
type: "failure.resolution_committed";
|
|
355
|
+
payload: {
|
|
356
|
+
receipt: WorkboardFailureResolutionReceipt;
|
|
357
|
+
};
|
|
358
|
+
});
|
|
359
|
+
/** Frozen V1 wire encoder. It rejects V2 authority rather than relabelling it. */
|
|
360
|
+
export declare function encodeLegacyWorkboardEvent(event: WorkboardEvent): WorkboardEvent;
|
|
361
|
+
export interface WorkboardCardInput {
|
|
362
|
+
id?: string;
|
|
363
|
+
title: string;
|
|
364
|
+
description?: string;
|
|
365
|
+
lane?: WorkboardLane;
|
|
366
|
+
status?: WorkboardCardStatus;
|
|
367
|
+
assignee?: string;
|
|
368
|
+
role?: WorkboardRole;
|
|
369
|
+
dependencies?: string[];
|
|
370
|
+
evidenceRequired?: boolean;
|
|
371
|
+
evidenceRequirements?: string[];
|
|
372
|
+
evidencePredicates?: WorkboardEvidencePredicate[];
|
|
373
|
+
diagnosticFingerprint?: string;
|
|
374
|
+
ownedFiles?: string[];
|
|
375
|
+
verifierCommand?: string;
|
|
376
|
+
rank?: number;
|
|
377
|
+
canonicalKey?: string;
|
|
378
|
+
sourceTodoIds?: string[];
|
|
379
|
+
/** Explicit canonical links. Card state remains method intent, never objective acceptance. */
|
|
380
|
+
requirementIds?: string[];
|
|
381
|
+
acceptanceIds?: string[];
|
|
382
|
+
sourceRefs?: string[];
|
|
383
|
+
ownershipLease?: WorkboardOwnershipLease;
|
|
384
|
+
failureIdentity?: WorkboardFailureIdentity;
|
|
385
|
+
}
|
|
386
|
+
export interface CreateWorkboardInput {
|
|
387
|
+
runId?: string;
|
|
388
|
+
owner?: string;
|
|
389
|
+
goal?: string;
|
|
390
|
+
scope?: string;
|
|
391
|
+
title?: string;
|
|
392
|
+
actor?: string;
|
|
393
|
+
cards?: WorkboardCardInput[];
|
|
394
|
+
taskEpoch?: number;
|
|
395
|
+
rawUserIntent?: string;
|
|
396
|
+
artifactEvidence?: WorkboardEvidenceInput[];
|
|
397
|
+
lastSubstantiveProgress?: WorkboardProgressCheckpoint;
|
|
398
|
+
}
|
|
399
|
+
export interface AddWorkboardCardInput extends WorkboardCardInput {
|
|
400
|
+
runId?: string;
|
|
401
|
+
actor?: string;
|
|
402
|
+
decisionReason?: string;
|
|
403
|
+
}
|
|
404
|
+
export interface UpdateWorkboardMetadataInput {
|
|
405
|
+
runId?: string;
|
|
406
|
+
actor?: string;
|
|
407
|
+
taskEpoch?: number;
|
|
408
|
+
rawUserIntent?: string;
|
|
409
|
+
artifactEvidence?: WorkboardEvidenceInput[];
|
|
410
|
+
lastSubstantiveProgress?: WorkboardProgressCheckpoint;
|
|
411
|
+
status?: WorkboardStatus;
|
|
412
|
+
terminalReceiptId?: string;
|
|
413
|
+
terminalSummary?: string;
|
|
414
|
+
}
|
|
415
|
+
export type WorkboardCardUpdate = Partial<Pick<WorkboardCard, "title" | "description" | "lane" | "status" | "assignee" | "role" | "dependencies" | "evidenceRequired" | "evidenceRequirements" | "evidencePredicates" | "blocker" | "diagnosticFingerprint" | "ownedFiles" | "verifierCommand" | "rank" | "canonicalKey" | "sourceTodoIds" | "requirementIds" | "acceptanceIds" | "sourceRefs" | "supersededBy" | "ownershipLease" | "failureIdentity">>;
|
|
416
|
+
export interface UpdateWorkboardCardInput {
|
|
417
|
+
runId?: string;
|
|
418
|
+
cardId: string;
|
|
419
|
+
actor?: string;
|
|
420
|
+
decisionReason?: string;
|
|
421
|
+
updates: WorkboardCardUpdate;
|
|
422
|
+
}
|
|
423
|
+
export interface AttachWorkboardEvidenceInput {
|
|
424
|
+
runId?: string;
|
|
425
|
+
cardId: string;
|
|
426
|
+
actor?: string;
|
|
427
|
+
evidence: WorkboardEvidenceInput | WorkboardEvidenceInput[];
|
|
428
|
+
}
|
|
429
|
+
export interface AttachTrustedWorkboardCommandEvidenceInput extends AttachWorkboardEvidenceInput {
|
|
430
|
+
evidence: WorkboardEvidenceInput;
|
|
431
|
+
/** Trusted out-of-band process receipt supplied by the execution runtime. */
|
|
432
|
+
receipt: CommandEvidenceReceipt;
|
|
433
|
+
}
|
|
434
|
+
export type WorkboardEvidenceInput = string | {
|
|
435
|
+
id?: string;
|
|
436
|
+
kind?: WorkboardEvidenceKind;
|
|
437
|
+
summary?: string;
|
|
438
|
+
ref?: string;
|
|
439
|
+
path?: string;
|
|
440
|
+
file?: string;
|
|
441
|
+
url?: string;
|
|
442
|
+
tool?: string;
|
|
443
|
+
command?: string;
|
|
444
|
+
message?: string;
|
|
445
|
+
content?: string;
|
|
446
|
+
note?: string;
|
|
447
|
+
verifies?: string[];
|
|
448
|
+
result?: WorkboardEvidenceResult;
|
|
449
|
+
revision?: string;
|
|
450
|
+
range?: WorkboardEvidenceRange;
|
|
451
|
+
};
|
|
452
|
+
export interface CommitWorkboardFailureResolutionInput {
|
|
453
|
+
runId?: string;
|
|
454
|
+
actor?: string;
|
|
455
|
+
receipt: WorkboardFailureResolutionReceipt;
|
|
456
|
+
}
|
|
457
|
+
export interface CompleteWorkboardCardInput {
|
|
458
|
+
runId?: string;
|
|
459
|
+
cardId: string;
|
|
460
|
+
actor?: string;
|
|
461
|
+
outcome?: "completed" | "verified" | "request_changes";
|
|
462
|
+
evidence?: WorkboardEvidenceInput | WorkboardEvidenceInput[];
|
|
463
|
+
reason?: string;
|
|
464
|
+
notes?: string;
|
|
465
|
+
missingEvidence?: string[];
|
|
466
|
+
}
|
|
467
|
+
export interface WorkboardCompletionResult {
|
|
468
|
+
accepted: boolean;
|
|
469
|
+
snapshot: WorkboardSnapshot;
|
|
470
|
+
message: string;
|
|
471
|
+
card?: WorkboardCard;
|
|
472
|
+
diagnostic?: WorkboardDiagnostic;
|
|
473
|
+
code?: WorkboardDiagnosticCode;
|
|
474
|
+
}
|
|
475
|
+
export declare class WorkboardError extends Error {
|
|
476
|
+
code: string;
|
|
477
|
+
details?: Record<string, unknown>;
|
|
478
|
+
constructor(code: string, message: string, details?: Record<string, unknown>);
|
|
479
|
+
}
|
|
480
|
+
export declare const WORKBOARD_BOARD_SCHEMA: {
|
|
481
|
+
readonly type: "object";
|
|
482
|
+
readonly required: readonly [
|
|
483
|
+
"schemaVersion",
|
|
484
|
+
"runId",
|
|
485
|
+
"owner",
|
|
486
|
+
"status",
|
|
487
|
+
"createdAt",
|
|
488
|
+
"updatedAt",
|
|
489
|
+
"cards"
|
|
490
|
+
];
|
|
491
|
+
readonly properties: {
|
|
492
|
+
readonly schemaVersion: {
|
|
493
|
+
readonly type: "number";
|
|
494
|
+
readonly enum: readonly [
|
|
495
|
+
1,
|
|
496
|
+
2
|
|
497
|
+
];
|
|
498
|
+
};
|
|
499
|
+
readonly runId: {
|
|
500
|
+
readonly type: "string";
|
|
501
|
+
};
|
|
502
|
+
readonly owner: {
|
|
503
|
+
readonly type: "string";
|
|
504
|
+
};
|
|
505
|
+
readonly status: {
|
|
506
|
+
readonly type: "string";
|
|
507
|
+
readonly enum: readonly [
|
|
508
|
+
"active",
|
|
509
|
+
"completed",
|
|
510
|
+
"archived"
|
|
511
|
+
];
|
|
512
|
+
};
|
|
513
|
+
readonly goal: {
|
|
514
|
+
readonly type: "string";
|
|
515
|
+
};
|
|
516
|
+
readonly scope: {
|
|
517
|
+
readonly type: "string";
|
|
518
|
+
};
|
|
519
|
+
readonly cards: {
|
|
520
|
+
readonly type: "array";
|
|
521
|
+
readonly items: {
|
|
522
|
+
readonly $ref: "#/$defs/card";
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
readonly diagnostics: {
|
|
526
|
+
readonly type: "array";
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
readonly $defs: {
|
|
530
|
+
readonly card: {
|
|
531
|
+
readonly $ref: "#/WORKBOARD_CARD_SCHEMA";
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
export declare const WORKBOARD_CARD_SCHEMA: {
|
|
536
|
+
readonly type: "object";
|
|
537
|
+
readonly required: readonly [
|
|
538
|
+
"id",
|
|
539
|
+
"title",
|
|
540
|
+
"description",
|
|
541
|
+
"lane",
|
|
542
|
+
"status",
|
|
543
|
+
"dependencies",
|
|
544
|
+
"evidenceRequired",
|
|
545
|
+
"evidenceRequirements",
|
|
546
|
+
"evidence",
|
|
547
|
+
"createdAt",
|
|
548
|
+
"updatedAt"
|
|
549
|
+
];
|
|
550
|
+
readonly properties: {
|
|
551
|
+
readonly id: {
|
|
552
|
+
readonly type: "string";
|
|
553
|
+
};
|
|
554
|
+
readonly title: {
|
|
555
|
+
readonly type: "string";
|
|
556
|
+
};
|
|
557
|
+
readonly description: {
|
|
558
|
+
readonly type: "string";
|
|
559
|
+
};
|
|
560
|
+
readonly lane: {
|
|
561
|
+
readonly type: "string";
|
|
562
|
+
readonly enum: readonly [
|
|
563
|
+
"backlog",
|
|
564
|
+
"ready",
|
|
565
|
+
"worker",
|
|
566
|
+
"verification",
|
|
567
|
+
"synthesis",
|
|
568
|
+
"blocked",
|
|
569
|
+
"done"
|
|
570
|
+
];
|
|
571
|
+
};
|
|
572
|
+
readonly status: {
|
|
573
|
+
readonly type: "string";
|
|
574
|
+
readonly enum: readonly [
|
|
575
|
+
"open",
|
|
576
|
+
"in_progress",
|
|
577
|
+
"needs_changes",
|
|
578
|
+
"blocked",
|
|
579
|
+
"completed",
|
|
580
|
+
"verified"
|
|
581
|
+
];
|
|
582
|
+
};
|
|
583
|
+
readonly assignee: {
|
|
584
|
+
readonly type: "string";
|
|
585
|
+
};
|
|
586
|
+
readonly role: {
|
|
587
|
+
readonly type: "string";
|
|
588
|
+
readonly enum: readonly [
|
|
589
|
+
"decomposer",
|
|
590
|
+
"worker",
|
|
591
|
+
"verifier",
|
|
592
|
+
"synthesizer"
|
|
593
|
+
];
|
|
594
|
+
};
|
|
595
|
+
readonly dependencies: {
|
|
596
|
+
readonly type: "array";
|
|
597
|
+
readonly items: {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
readonly requirementIds: {
|
|
602
|
+
readonly type: "array";
|
|
603
|
+
readonly items: {
|
|
604
|
+
readonly type: "string";
|
|
605
|
+
readonly minLength: 1;
|
|
606
|
+
};
|
|
607
|
+
readonly uniqueItems: true;
|
|
608
|
+
};
|
|
609
|
+
readonly acceptanceIds: {
|
|
610
|
+
readonly type: "array";
|
|
611
|
+
readonly items: {
|
|
612
|
+
readonly type: "string";
|
|
613
|
+
readonly minLength: 1;
|
|
614
|
+
};
|
|
615
|
+
readonly uniqueItems: true;
|
|
616
|
+
};
|
|
617
|
+
readonly sourceRefs: {
|
|
618
|
+
readonly type: "array";
|
|
619
|
+
readonly items: {
|
|
620
|
+
readonly type: "string";
|
|
621
|
+
readonly minLength: 1;
|
|
622
|
+
};
|
|
623
|
+
readonly uniqueItems: true;
|
|
624
|
+
};
|
|
625
|
+
readonly evidenceRequired: {
|
|
626
|
+
readonly type: "boolean";
|
|
627
|
+
};
|
|
628
|
+
readonly evidenceRequirements: {
|
|
629
|
+
readonly type: "array";
|
|
630
|
+
readonly items: {
|
|
631
|
+
readonly type: "string";
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
readonly evidencePredicates: {
|
|
635
|
+
readonly type: "array";
|
|
636
|
+
readonly items: {
|
|
637
|
+
readonly $ref: "#/$defs/evidencePredicate";
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
readonly evidence: {
|
|
641
|
+
readonly type: "array";
|
|
642
|
+
readonly items: {
|
|
643
|
+
readonly $ref: "#/WORKBOARD_EVIDENCE_SCHEMA";
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
readonly diagnosticFingerprint: {
|
|
647
|
+
readonly type: "string";
|
|
648
|
+
};
|
|
649
|
+
readonly ownedFiles: {
|
|
650
|
+
readonly type: "array";
|
|
651
|
+
readonly items: {
|
|
652
|
+
readonly type: "string";
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
readonly verifierCommand: {
|
|
656
|
+
readonly type: "string";
|
|
657
|
+
};
|
|
658
|
+
readonly rank: {
|
|
659
|
+
readonly type: "number";
|
|
660
|
+
};
|
|
661
|
+
readonly ownershipLease: {
|
|
662
|
+
readonly type: "object";
|
|
663
|
+
readonly required: readonly [
|
|
664
|
+
"schema",
|
|
665
|
+
"id",
|
|
666
|
+
"owner",
|
|
667
|
+
"acquiredAt"
|
|
668
|
+
];
|
|
669
|
+
readonly properties: {
|
|
670
|
+
readonly schema: {
|
|
671
|
+
readonly const: "omnius.workboard-ownership-lease.v1";
|
|
672
|
+
};
|
|
673
|
+
readonly id: {
|
|
674
|
+
readonly type: "string";
|
|
675
|
+
};
|
|
676
|
+
readonly owner: {
|
|
677
|
+
readonly type: "string";
|
|
678
|
+
};
|
|
679
|
+
readonly acquiredAt: {
|
|
680
|
+
readonly type: "string";
|
|
681
|
+
};
|
|
682
|
+
readonly expiresAt: {
|
|
683
|
+
readonly type: "string";
|
|
684
|
+
};
|
|
685
|
+
readonly releasedAt: {
|
|
686
|
+
readonly type: "string";
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
readonly failureIdentity: {
|
|
691
|
+
readonly type: "object";
|
|
692
|
+
readonly required: readonly [
|
|
693
|
+
"taskEpoch",
|
|
694
|
+
"targetKey",
|
|
695
|
+
"patternKey",
|
|
696
|
+
"recoveryAttempt"
|
|
697
|
+
];
|
|
698
|
+
readonly properties: {
|
|
699
|
+
readonly taskEpoch: {
|
|
700
|
+
readonly type: "integer";
|
|
701
|
+
readonly minimum: 0;
|
|
702
|
+
};
|
|
703
|
+
readonly targetKey: {
|
|
704
|
+
readonly type: "string";
|
|
705
|
+
};
|
|
706
|
+
readonly patternKey: {
|
|
707
|
+
readonly type: "string";
|
|
708
|
+
};
|
|
709
|
+
readonly recoveryAttempt: {
|
|
710
|
+
readonly type: "integer";
|
|
711
|
+
readonly minimum: 1;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
readonly $defs: {
|
|
717
|
+
readonly evidencePredicate: {
|
|
718
|
+
readonly type: "object";
|
|
719
|
+
readonly required: readonly [
|
|
720
|
+
"schema",
|
|
721
|
+
"id",
|
|
722
|
+
"label"
|
|
723
|
+
];
|
|
724
|
+
readonly properties: {
|
|
725
|
+
readonly schema: {
|
|
726
|
+
readonly const: "omnius.workboard-evidence-predicate.v1";
|
|
727
|
+
};
|
|
728
|
+
readonly id: {
|
|
729
|
+
readonly type: "string";
|
|
730
|
+
};
|
|
731
|
+
readonly label: {
|
|
732
|
+
readonly type: "string";
|
|
733
|
+
};
|
|
734
|
+
readonly kind: {
|
|
735
|
+
readonly type: "string";
|
|
736
|
+
readonly enum: readonly [
|
|
737
|
+
"tool_result",
|
|
738
|
+
"file",
|
|
739
|
+
"url",
|
|
740
|
+
"message",
|
|
741
|
+
"note"
|
|
742
|
+
];
|
|
743
|
+
};
|
|
744
|
+
readonly summary: {
|
|
745
|
+
readonly type: "string";
|
|
746
|
+
};
|
|
747
|
+
readonly ref: {
|
|
748
|
+
readonly type: "string";
|
|
749
|
+
};
|
|
750
|
+
readonly path: {
|
|
751
|
+
readonly type: "string";
|
|
752
|
+
};
|
|
753
|
+
readonly url: {
|
|
754
|
+
readonly type: "string";
|
|
755
|
+
};
|
|
756
|
+
readonly tool: {
|
|
757
|
+
readonly type: "string";
|
|
758
|
+
};
|
|
759
|
+
readonly command: {
|
|
760
|
+
readonly type: "string";
|
|
761
|
+
};
|
|
762
|
+
readonly message: {
|
|
763
|
+
readonly type: "string";
|
|
764
|
+
};
|
|
765
|
+
readonly content: {
|
|
766
|
+
readonly type: "string";
|
|
767
|
+
};
|
|
768
|
+
readonly revision: {
|
|
769
|
+
readonly type: "string";
|
|
770
|
+
};
|
|
771
|
+
readonly range: {
|
|
772
|
+
readonly type: "object";
|
|
773
|
+
readonly required: readonly [
|
|
774
|
+
"startLine",
|
|
775
|
+
"endLine"
|
|
776
|
+
];
|
|
777
|
+
readonly properties: {
|
|
778
|
+
readonly startLine: {
|
|
779
|
+
readonly type: "integer";
|
|
780
|
+
readonly minimum: 1;
|
|
781
|
+
};
|
|
782
|
+
readonly endLine: {
|
|
783
|
+
readonly anyOf: readonly [
|
|
784
|
+
{
|
|
785
|
+
readonly type: "integer";
|
|
786
|
+
readonly minimum: 1;
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
readonly type: "null";
|
|
790
|
+
}
|
|
791
|
+
];
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
readonly requireTrustedSuccess: {
|
|
796
|
+
readonly type: "boolean";
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
export declare const WORKBOARD_EVIDENCE_SCHEMA: {
|
|
803
|
+
readonly type: "object";
|
|
804
|
+
readonly required: readonly [
|
|
805
|
+
"id",
|
|
806
|
+
"kind",
|
|
807
|
+
"summary",
|
|
808
|
+
"createdAt"
|
|
809
|
+
];
|
|
810
|
+
readonly properties: {
|
|
811
|
+
readonly id: {
|
|
812
|
+
readonly type: "string";
|
|
813
|
+
};
|
|
814
|
+
readonly kind: {
|
|
815
|
+
readonly type: "string";
|
|
816
|
+
readonly enum: readonly [
|
|
817
|
+
"tool_result",
|
|
818
|
+
"file",
|
|
819
|
+
"url",
|
|
820
|
+
"message",
|
|
821
|
+
"note"
|
|
822
|
+
];
|
|
823
|
+
};
|
|
824
|
+
readonly summary: {
|
|
825
|
+
readonly type: "string";
|
|
826
|
+
};
|
|
827
|
+
readonly ref: {
|
|
828
|
+
readonly type: "string";
|
|
829
|
+
};
|
|
830
|
+
readonly path: {
|
|
831
|
+
readonly type: "string";
|
|
832
|
+
};
|
|
833
|
+
readonly url: {
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
};
|
|
836
|
+
readonly tool: {
|
|
837
|
+
readonly type: "string";
|
|
838
|
+
};
|
|
839
|
+
readonly command: {
|
|
840
|
+
readonly type: "string";
|
|
841
|
+
};
|
|
842
|
+
readonly message: {
|
|
843
|
+
readonly type: "string";
|
|
844
|
+
};
|
|
845
|
+
readonly content: {
|
|
846
|
+
readonly type: "string";
|
|
847
|
+
};
|
|
848
|
+
readonly revision: {
|
|
849
|
+
readonly type: "string";
|
|
850
|
+
};
|
|
851
|
+
readonly range: {
|
|
852
|
+
readonly type: "object";
|
|
853
|
+
readonly required: readonly [
|
|
854
|
+
"startLine",
|
|
855
|
+
"endLine"
|
|
856
|
+
];
|
|
857
|
+
readonly properties: {
|
|
858
|
+
readonly startLine: {
|
|
859
|
+
readonly type: "integer";
|
|
860
|
+
readonly minimum: 1;
|
|
861
|
+
};
|
|
862
|
+
readonly endLine: {
|
|
863
|
+
readonly anyOf: readonly [
|
|
864
|
+
{
|
|
865
|
+
readonly type: "integer";
|
|
866
|
+
readonly minimum: 1;
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
readonly type: "null";
|
|
870
|
+
}
|
|
871
|
+
];
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
readonly verifies: {
|
|
876
|
+
readonly type: "array";
|
|
877
|
+
readonly items: {
|
|
878
|
+
readonly type: "string";
|
|
879
|
+
};
|
|
880
|
+
};
|
|
881
|
+
readonly result: {
|
|
882
|
+
readonly type: "string";
|
|
883
|
+
readonly enum: readonly [
|
|
884
|
+
"success",
|
|
885
|
+
"failure",
|
|
886
|
+
"unknown"
|
|
887
|
+
];
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
export declare function workboardRoot(workingDir?: string): string;
|
|
892
|
+
export declare function normalizeWorkboardRunId(value?: unknown): string;
|
|
893
|
+
export declare function workboardPaths(workingDir: string, runId?: string): {
|
|
894
|
+
runId: string;
|
|
895
|
+
dir: string;
|
|
896
|
+
eventsPath: string;
|
|
897
|
+
activePath: string;
|
|
898
|
+
};
|
|
899
|
+
export declare function readWorkboardEvents(workingDir: string, runId?: string): WorkboardEvent[];
|
|
900
|
+
export declare function readActiveWorkboardSnapshot(workingDir: string, runId?: string): WorkboardSnapshot | null;
|
|
901
|
+
export declare function writeActiveWorkboardSnapshot(workingDir: string, snapshot: WorkboardSnapshot): void;
|
|
902
|
+
export declare function loadWorkboardSnapshot(workingDir: string, runId?: string): WorkboardSnapshot | null;
|
|
903
|
+
export declare function rebuildActiveWorkboardSnapshot(workingDir: string, runId?: string): WorkboardSnapshot;
|
|
904
|
+
export declare function replayWorkboardEvents(events: readonly WorkboardEvent[]): WorkboardSnapshot;
|
|
905
|
+
export declare function createWorkboard(workingDir: string, input?: CreateWorkboardInput): WorkboardSnapshot;
|
|
906
|
+
export declare function addWorkboardCard(workingDir: string, input: AddWorkboardCardInput): WorkboardSnapshot;
|
|
907
|
+
/**
|
|
908
|
+
* Persist restart-recovery metadata separately from card transitions. This
|
|
909
|
+
* remains an event-sourced write, so a recovery process can only observe a
|
|
910
|
+
* complete checkpoint rather than partially mutating an active snapshot.
|
|
911
|
+
*/
|
|
912
|
+
export declare function updateWorkboardMetadata(workingDir: string, input: UpdateWorkboardMetadataInput): WorkboardSnapshot;
|
|
913
|
+
export declare function updateWorkboardCard(workingDir: string, input: UpdateWorkboardCardInput): WorkboardSnapshot;
|
|
914
|
+
export declare function attachWorkboardEvidence(workingDir: string, input: AttachWorkboardEvidenceInput): WorkboardSnapshot;
|
|
915
|
+
/**
|
|
916
|
+
* Attach command evidence together with the process receipt produced by the
|
|
917
|
+
* local shell runtime. This API is for controller code only; it is not
|
|
918
|
+
* exposed through a model-callable workboard tool schema.
|
|
919
|
+
*/
|
|
920
|
+
export declare function attachTrustedWorkboardCommandEvidence(workingDir: string, input: AttachTrustedWorkboardCommandEvidenceInput): WorkboardSnapshot;
|
|
921
|
+
/**
|
|
922
|
+
* Validate a host-authored failure-resolution receipt before either durable
|
|
923
|
+
* store changes. This is intentionally separate from the commit so a
|
|
924
|
+
* cross-store coordinator can prepare a recoverable transaction safely.
|
|
925
|
+
*/
|
|
926
|
+
export declare function validateWorkboardFailureResolution(workingDir: string, input: CommitWorkboardFailureResolutionInput): WorkboardFailureResolutionReceipt;
|
|
927
|
+
/** Commit one distinct, replay-safe workboard side of a cross-store resolution. */
|
|
928
|
+
export declare function commitWorkboardFailureResolution(workingDir: string, input: CommitWorkboardFailureResolutionInput): WorkboardSnapshot;
|
|
929
|
+
export declare function completeWorkboardCard(workingDir: string, input: CompleteWorkboardCardInput): WorkboardCompletionResult;
|
|
930
|
+
export declare function validateCardTransition(from: WorkboardCardStatus, to: WorkboardCardStatus): {
|
|
931
|
+
valid: boolean;
|
|
932
|
+
message: string;
|
|
933
|
+
};
|
|
934
|
+
export declare function verifyCardEvidence(card: WorkboardCard): {
|
|
935
|
+
valid: boolean;
|
|
936
|
+
missing: string[];
|
|
937
|
+
};
|
|
938
|
+
export declare function compactWorkboardCard(card: WorkboardCard): CompactWorkboardCard;
|
|
939
|
+
export declare function compactWorkboardSnapshot(snapshot: WorkboardSnapshot, maxCards?: number): CompactWorkboardSnapshot;
|
|
940
|
+
export declare function formatWorkboardCompact(snapshot: WorkboardSnapshot, maxCards?: number): string;
|
|
941
|
+
export declare function buildWorkboardSynthesisContext(snapshot: WorkboardSnapshot): WorkboardSynthesisContext;
|
|
942
|
+
declare class WorkboardBaseTool {
|
|
943
|
+
protected workingDir: string;
|
|
944
|
+
constructor(workingDir?: string);
|
|
945
|
+
protected runId(args: Record<string, unknown>): string;
|
|
946
|
+
protected result(start: number, payload: Record<string, unknown>, mutated: boolean, runId?: string): ToolResult;
|
|
947
|
+
protected failure(start: number, code: string, message: string, details?: Record<string, unknown>, output?: Record<string, unknown>): ToolResult;
|
|
948
|
+
protected catchFailure(start: number, err: unknown): ToolResult;
|
|
949
|
+
}
|
|
950
|
+
export declare class WorkboardCreateTool extends WorkboardBaseTool implements Tool {
|
|
951
|
+
name: string;
|
|
952
|
+
description: string;
|
|
953
|
+
parameters: {
|
|
954
|
+
type: string;
|
|
955
|
+
properties: {
|
|
956
|
+
run_id: {
|
|
957
|
+
type: string;
|
|
958
|
+
description: string;
|
|
959
|
+
};
|
|
960
|
+
owner: {
|
|
961
|
+
type: string;
|
|
962
|
+
description: string;
|
|
963
|
+
};
|
|
964
|
+
goal: {
|
|
965
|
+
type: string;
|
|
966
|
+
description: string;
|
|
967
|
+
};
|
|
968
|
+
scope: {
|
|
969
|
+
type: string;
|
|
970
|
+
description: string;
|
|
971
|
+
};
|
|
972
|
+
title: {
|
|
973
|
+
type: string;
|
|
974
|
+
description: string;
|
|
975
|
+
};
|
|
976
|
+
cards: {
|
|
977
|
+
type: string;
|
|
978
|
+
description: string;
|
|
979
|
+
items: {
|
|
980
|
+
type: "object";
|
|
981
|
+
properties: Record<string, unknown>;
|
|
982
|
+
required: string[];
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
required: never[];
|
|
987
|
+
};
|
|
988
|
+
execute(args: Record<string, unknown>): Promise<ToolResult>;
|
|
989
|
+
}
|
|
990
|
+
export declare class WorkboardAddCardTool extends WorkboardBaseTool implements Tool {
|
|
991
|
+
name: string;
|
|
992
|
+
description: string;
|
|
993
|
+
parameters: {
|
|
994
|
+
type: string;
|
|
995
|
+
properties: {
|
|
996
|
+
decision_reason: {
|
|
997
|
+
type: string;
|
|
998
|
+
description: string;
|
|
999
|
+
};
|
|
1000
|
+
run_id: {
|
|
1001
|
+
type: string;
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
required: string[];
|
|
1005
|
+
};
|
|
1006
|
+
execute(args: Record<string, unknown>): Promise<ToolResult>;
|
|
1007
|
+
}
|
|
1008
|
+
export declare class WorkboardUpdateCardTool extends WorkboardBaseTool implements Tool {
|
|
1009
|
+
name: string;
|
|
1010
|
+
description: string;
|
|
1011
|
+
parameters: {
|
|
1012
|
+
type: string;
|
|
1013
|
+
properties: {
|
|
1014
|
+
ownership_lease: Record<string, unknown>;
|
|
1015
|
+
failure_identity: Record<string, unknown>;
|
|
1016
|
+
blocker: {
|
|
1017
|
+
type: string;
|
|
1018
|
+
};
|
|
1019
|
+
decision_reason: {
|
|
1020
|
+
type: string;
|
|
1021
|
+
};
|
|
1022
|
+
actor: {
|
|
1023
|
+
type: string;
|
|
1024
|
+
};
|
|
1025
|
+
run_id: {
|
|
1026
|
+
type: string;
|
|
1027
|
+
};
|
|
1028
|
+
card_id: {
|
|
1029
|
+
type: string;
|
|
1030
|
+
};
|
|
1031
|
+
title: {
|
|
1032
|
+
type: string;
|
|
1033
|
+
};
|
|
1034
|
+
description: {
|
|
1035
|
+
type: string;
|
|
1036
|
+
};
|
|
1037
|
+
lane: {
|
|
1038
|
+
type: string;
|
|
1039
|
+
enum: readonly WorkboardLane[];
|
|
1040
|
+
};
|
|
1041
|
+
status: {
|
|
1042
|
+
type: string;
|
|
1043
|
+
enum: readonly WorkboardCardStatus[];
|
|
1044
|
+
};
|
|
1045
|
+
assignee: {
|
|
1046
|
+
type: string;
|
|
1047
|
+
};
|
|
1048
|
+
role: {
|
|
1049
|
+
type: string;
|
|
1050
|
+
enum: readonly WorkboardRole[];
|
|
1051
|
+
};
|
|
1052
|
+
dependencies: {
|
|
1053
|
+
type: string;
|
|
1054
|
+
items: {
|
|
1055
|
+
type: string;
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
evidence_required: {
|
|
1059
|
+
type: string;
|
|
1060
|
+
};
|
|
1061
|
+
evidence_requirements: {
|
|
1062
|
+
type: string;
|
|
1063
|
+
items: {
|
|
1064
|
+
type: string;
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
evidence_predicates: {
|
|
1068
|
+
type: string;
|
|
1069
|
+
items: Record<string, unknown>;
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
required: string[];
|
|
1073
|
+
};
|
|
1074
|
+
execute(args: Record<string, unknown>): Promise<ToolResult>;
|
|
1075
|
+
}
|
|
1076
|
+
export declare class WorkboardAttachEvidenceTool extends WorkboardBaseTool implements Tool {
|
|
1077
|
+
name: string;
|
|
1078
|
+
description: string;
|
|
1079
|
+
parameters: {
|
|
1080
|
+
type: string;
|
|
1081
|
+
properties: {
|
|
1082
|
+
run_id: {
|
|
1083
|
+
type: string;
|
|
1084
|
+
};
|
|
1085
|
+
card_id: {
|
|
1086
|
+
type: string;
|
|
1087
|
+
};
|
|
1088
|
+
evidence: {
|
|
1089
|
+
oneOf: ({
|
|
1090
|
+
type: string;
|
|
1091
|
+
items?: undefined;
|
|
1092
|
+
} | {
|
|
1093
|
+
type: string;
|
|
1094
|
+
items: {
|
|
1095
|
+
oneOf: {
|
|
1096
|
+
type: string;
|
|
1097
|
+
}[];
|
|
1098
|
+
};
|
|
1099
|
+
})[];
|
|
1100
|
+
};
|
|
1101
|
+
kind: {
|
|
1102
|
+
type: string;
|
|
1103
|
+
enum: readonly WorkboardEvidenceKind[];
|
|
1104
|
+
};
|
|
1105
|
+
summary: {
|
|
1106
|
+
type: string;
|
|
1107
|
+
};
|
|
1108
|
+
ref: {
|
|
1109
|
+
type: string;
|
|
1110
|
+
};
|
|
1111
|
+
path: {
|
|
1112
|
+
type: string;
|
|
1113
|
+
};
|
|
1114
|
+
url: {
|
|
1115
|
+
type: string;
|
|
1116
|
+
};
|
|
1117
|
+
tool: {
|
|
1118
|
+
type: string;
|
|
1119
|
+
};
|
|
1120
|
+
command: {
|
|
1121
|
+
type: string;
|
|
1122
|
+
};
|
|
1123
|
+
message: {
|
|
1124
|
+
type: string;
|
|
1125
|
+
};
|
|
1126
|
+
content: {
|
|
1127
|
+
type: string;
|
|
1128
|
+
};
|
|
1129
|
+
revision: {
|
|
1130
|
+
type: string;
|
|
1131
|
+
};
|
|
1132
|
+
range: Record<string, unknown>;
|
|
1133
|
+
verifies: {
|
|
1134
|
+
type: string;
|
|
1135
|
+
items: {
|
|
1136
|
+
type: string;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
result: {
|
|
1140
|
+
type: string;
|
|
1141
|
+
enum: readonly WorkboardEvidenceResult[];
|
|
1142
|
+
};
|
|
1143
|
+
actor: {
|
|
1144
|
+
type: string;
|
|
1145
|
+
};
|
|
1146
|
+
};
|
|
1147
|
+
required: string[];
|
|
1148
|
+
};
|
|
1149
|
+
execute(args: Record<string, unknown>): Promise<ToolResult>;
|
|
1150
|
+
}
|
|
1151
|
+
export declare class WorkboardCompleteCardTool extends WorkboardBaseTool implements Tool {
|
|
1152
|
+
name: string;
|
|
1153
|
+
description: string;
|
|
1154
|
+
parameters: {
|
|
1155
|
+
type: string;
|
|
1156
|
+
properties: {
|
|
1157
|
+
run_id: {
|
|
1158
|
+
type: string;
|
|
1159
|
+
};
|
|
1160
|
+
card_id: {
|
|
1161
|
+
type: string;
|
|
1162
|
+
};
|
|
1163
|
+
outcome: {
|
|
1164
|
+
type: string;
|
|
1165
|
+
enum: string[];
|
|
1166
|
+
description: string;
|
|
1167
|
+
};
|
|
1168
|
+
evidence: {
|
|
1169
|
+
oneOf: ({
|
|
1170
|
+
type: string;
|
|
1171
|
+
items?: undefined;
|
|
1172
|
+
} | {
|
|
1173
|
+
type: string;
|
|
1174
|
+
items: {
|
|
1175
|
+
oneOf: {
|
|
1176
|
+
type: string;
|
|
1177
|
+
}[];
|
|
1178
|
+
};
|
|
1179
|
+
})[];
|
|
1180
|
+
};
|
|
1181
|
+
reason: {
|
|
1182
|
+
type: string;
|
|
1183
|
+
};
|
|
1184
|
+
notes: {
|
|
1185
|
+
type: string;
|
|
1186
|
+
};
|
|
1187
|
+
missing_evidence: {
|
|
1188
|
+
type: string;
|
|
1189
|
+
items: {
|
|
1190
|
+
type: string;
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
actor: {
|
|
1194
|
+
type: string;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
required: string[];
|
|
1198
|
+
};
|
|
1199
|
+
execute(args: Record<string, unknown>): Promise<ToolResult>;
|
|
1200
|
+
}
|
|
1201
|
+
export declare class WorkboardShowTool extends WorkboardBaseTool implements Tool {
|
|
1202
|
+
name: string;
|
|
1203
|
+
description: string;
|
|
1204
|
+
parameters: {
|
|
1205
|
+
type: string;
|
|
1206
|
+
properties: {
|
|
1207
|
+
run_id: {
|
|
1208
|
+
type: string;
|
|
1209
|
+
};
|
|
1210
|
+
format: {
|
|
1211
|
+
type: string;
|
|
1212
|
+
enum: string[];
|
|
1213
|
+
};
|
|
1214
|
+
max_cards: {
|
|
1215
|
+
type: string;
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
required: never[];
|
|
1219
|
+
};
|
|
1220
|
+
isReadOnly(): boolean;
|
|
1221
|
+
execute(args: Record<string, unknown>): Promise<ToolResult>;
|
|
1222
|
+
}
|
|
1223
|
+
export {};
|