omnius 1.0.923 → 1.0.925
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 +5219 -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 +34 -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 +144003 -87414
- 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 +389 -0
- package/docs/DISCOVERY.md +4 -0
- package/npm-shrinkwrap.json +28 -12
- package/package.json +3 -2
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const FEATURE_WORKFLOW_PLAN_SCHEMA: "omnius.feature-workflow-plan.v1";
|
|
3
|
+
export declare const FEATURE_WORKFLOW_PHASES: readonly [
|
|
4
|
+
"research",
|
|
5
|
+
"specification",
|
|
6
|
+
"implementation",
|
|
7
|
+
"integration",
|
|
8
|
+
"acceptance",
|
|
9
|
+
"handoff"
|
|
10
|
+
];
|
|
11
|
+
export declare const FeatureWorkflowPhaseSchema: z.ZodEnum<{
|
|
12
|
+
research: "research";
|
|
13
|
+
specification: "specification";
|
|
14
|
+
implementation: "implementation";
|
|
15
|
+
integration: "integration";
|
|
16
|
+
acceptance: "acceptance";
|
|
17
|
+
handoff: "handoff";
|
|
18
|
+
}>;
|
|
19
|
+
export declare const FeatureWorkflowArtifactReferenceSchema: z.ZodString;
|
|
20
|
+
export declare const FeatureWorkflowCardSchema: z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
title: z.ZodString;
|
|
23
|
+
phase: z.ZodEnum<{
|
|
24
|
+
research: "research";
|
|
25
|
+
specification: "specification";
|
|
26
|
+
implementation: "implementation";
|
|
27
|
+
integration: "integration";
|
|
28
|
+
acceptance: "acceptance";
|
|
29
|
+
handoff: "handoff";
|
|
30
|
+
}>;
|
|
31
|
+
role: z.ZodEnum<{
|
|
32
|
+
verifier: "verifier";
|
|
33
|
+
researcher: "researcher";
|
|
34
|
+
author: "author";
|
|
35
|
+
reviewer: "reviewer";
|
|
36
|
+
implementer: "implementer";
|
|
37
|
+
integrator: "integrator";
|
|
38
|
+
synthesizer: "synthesizer";
|
|
39
|
+
}>;
|
|
40
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
41
|
+
sourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
42
|
+
inputSlots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
43
|
+
reviewSlots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
44
|
+
ownedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
45
|
+
acceptanceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
46
|
+
verifier: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
command: z.ZodString;
|
|
48
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
49
|
+
targetPaths: z.ZodArray<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>>;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export declare const FeatureWorkflowPlanSchema: z.ZodObject<{
|
|
53
|
+
schema: z.ZodLiteral<"omnius.feature-workflow-plan.v1">;
|
|
54
|
+
id: z.ZodString;
|
|
55
|
+
revision: z.ZodNumber;
|
|
56
|
+
objective: z.ZodString;
|
|
57
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
58
|
+
id: z.ZodString;
|
|
59
|
+
description: z.ZodString;
|
|
60
|
+
}, z.core.$strict>>;
|
|
61
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
62
|
+
id: z.ZodString;
|
|
63
|
+
reference: z.ZodString;
|
|
64
|
+
}, z.core.$strict>>>;
|
|
65
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
kind: z.ZodEnum<{
|
|
68
|
+
research: "research";
|
|
69
|
+
specification: "specification";
|
|
70
|
+
implementation: "implementation";
|
|
71
|
+
integration: "integration";
|
|
72
|
+
handoff: "handoff";
|
|
73
|
+
review: "review";
|
|
74
|
+
}>;
|
|
75
|
+
cardId: z.ZodString;
|
|
76
|
+
requiresReview: z.ZodDefault<z.ZodBoolean>;
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
title: z.ZodString;
|
|
81
|
+
phase: z.ZodEnum<{
|
|
82
|
+
research: "research";
|
|
83
|
+
specification: "specification";
|
|
84
|
+
implementation: "implementation";
|
|
85
|
+
integration: "integration";
|
|
86
|
+
acceptance: "acceptance";
|
|
87
|
+
handoff: "handoff";
|
|
88
|
+
}>;
|
|
89
|
+
role: z.ZodEnum<{
|
|
90
|
+
verifier: "verifier";
|
|
91
|
+
researcher: "researcher";
|
|
92
|
+
author: "author";
|
|
93
|
+
reviewer: "reviewer";
|
|
94
|
+
implementer: "implementer";
|
|
95
|
+
integrator: "integrator";
|
|
96
|
+
synthesizer: "synthesizer";
|
|
97
|
+
}>;
|
|
98
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
99
|
+
sourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
100
|
+
inputSlots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
101
|
+
reviewSlots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
102
|
+
ownedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
103
|
+
acceptanceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
104
|
+
verifier: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
command: z.ZodString;
|
|
106
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
107
|
+
targetPaths: z.ZodArray<z.ZodString>;
|
|
108
|
+
}, z.core.$strict>>;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
}, z.core.$strict>;
|
|
111
|
+
export type FeatureWorkflowPlan = z.infer<typeof FeatureWorkflowPlanSchema>;
|
|
112
|
+
export type FeatureWorkflowCard = z.infer<typeof FeatureWorkflowCardSchema>;
|
|
113
|
+
export type FeatureWorkflowPhase = z.infer<typeof FeatureWorkflowPhaseSchema>;
|
|
114
|
+
/** Host dispatch metadata. This type is never part of a model-callable schema. */
|
|
115
|
+
export interface FeatureWorkflowOperationBinding {
|
|
116
|
+
parentOperationId: string;
|
|
117
|
+
parentRunId: string;
|
|
118
|
+
parentGeneration: number;
|
|
119
|
+
taskEpoch: number;
|
|
120
|
+
cardId: string;
|
|
121
|
+
planReference: string;
|
|
122
|
+
cardContract: string;
|
|
123
|
+
inputSlots: Record<string, string>;
|
|
124
|
+
kind: "work" | "review" | "verification";
|
|
125
|
+
readOnly: boolean;
|
|
126
|
+
ownedFiles: string[];
|
|
127
|
+
inputArtifactsHash: string;
|
|
128
|
+
}
|
|
129
|
+
/** Minted by the child runner adapter from actual execution/terminal state. */
|
|
130
|
+
export interface FeatureWorkflowChildReceipt extends FeatureWorkflowOperationBinding {
|
|
131
|
+
schema: "omnius.feature-workflow-child-receipt.v1";
|
|
132
|
+
childId: string;
|
|
133
|
+
childRunId: string;
|
|
134
|
+
childTaskEpoch: number;
|
|
135
|
+
/** SHA256 of actual dispatched task, system context and tool surface; distinct from inputArtifactsHash. */
|
|
136
|
+
childInputHash: string;
|
|
137
|
+
status: "completed" | "failed" | "cancelled" | "running";
|
|
138
|
+
terminalReceiptId?: string;
|
|
139
|
+
}
|
|
140
|
+
export interface FeatureWorkflowInputArtifact {
|
|
141
|
+
slotId: string;
|
|
142
|
+
reference: string;
|
|
143
|
+
content: string;
|
|
144
|
+
}
|
|
145
|
+
/** Parsed only from a completed child's host-attested accepted reply. */
|
|
146
|
+
export declare const FeatureWorkflowChildReportSchema: z.ZodObject<{
|
|
147
|
+
schema: z.ZodLiteral<"omnius.feature-workflow-child-report.v1">;
|
|
148
|
+
cardId: z.ZodString;
|
|
149
|
+
status: z.ZodEnum<{
|
|
150
|
+
completed: "completed";
|
|
151
|
+
failed: "failed";
|
|
152
|
+
partial: "partial";
|
|
153
|
+
blocked: "blocked";
|
|
154
|
+
}>;
|
|
155
|
+
inputSlots: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
156
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
157
|
+
slotId: z.ZodString;
|
|
158
|
+
content: z.ZodString;
|
|
159
|
+
}, z.core.$strict>>>;
|
|
160
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
161
|
+
disposition: z.ZodEnum<{
|
|
162
|
+
approved: "approved";
|
|
163
|
+
changes_requested: "changes_requested";
|
|
164
|
+
}>;
|
|
165
|
+
reviewedSlots: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
166
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
167
|
+
id: z.ZodString;
|
|
168
|
+
severity: z.ZodEnum<{
|
|
169
|
+
info: "info";
|
|
170
|
+
blocking: "blocking";
|
|
171
|
+
}>;
|
|
172
|
+
detail: z.ZodString;
|
|
173
|
+
}, z.core.$strict>>;
|
|
174
|
+
}, z.core.$strict>>;
|
|
175
|
+
blockers: z.ZodArray<z.ZodString>;
|
|
176
|
+
unresolvedQuestions: z.ZodArray<z.ZodString>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
export type FeatureWorkflowChildReport = z.infer<typeof FeatureWorkflowChildReportSchema>;
|
|
179
|
+
/** Model-callable inputs deliberately exclude pass flags, actor IDs and host receipts. */
|
|
180
|
+
export declare const FeatureWorkflowToolInputSchema: z.ZodDiscriminatedUnion<[
|
|
181
|
+
z.ZodObject<{
|
|
182
|
+
action: z.ZodEnum<{
|
|
183
|
+
create: "create";
|
|
184
|
+
revise: "revise";
|
|
185
|
+
}>;
|
|
186
|
+
plan: z.ZodObject<{
|
|
187
|
+
schema: z.ZodLiteral<"omnius.feature-workflow-plan.v1">;
|
|
188
|
+
id: z.ZodString;
|
|
189
|
+
revision: z.ZodNumber;
|
|
190
|
+
objective: z.ZodString;
|
|
191
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
192
|
+
id: z.ZodString;
|
|
193
|
+
description: z.ZodString;
|
|
194
|
+
}, z.core.$strict>>;
|
|
195
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
196
|
+
id: z.ZodString;
|
|
197
|
+
reference: z.ZodString;
|
|
198
|
+
}, z.core.$strict>>>;
|
|
199
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
200
|
+
id: z.ZodString;
|
|
201
|
+
kind: z.ZodEnum<{
|
|
202
|
+
research: "research";
|
|
203
|
+
specification: "specification";
|
|
204
|
+
implementation: "implementation";
|
|
205
|
+
integration: "integration";
|
|
206
|
+
handoff: "handoff";
|
|
207
|
+
review: "review";
|
|
208
|
+
}>;
|
|
209
|
+
cardId: z.ZodString;
|
|
210
|
+
requiresReview: z.ZodDefault<z.ZodBoolean>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
212
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
213
|
+
id: z.ZodString;
|
|
214
|
+
title: z.ZodString;
|
|
215
|
+
phase: z.ZodEnum<{
|
|
216
|
+
research: "research";
|
|
217
|
+
specification: "specification";
|
|
218
|
+
implementation: "implementation";
|
|
219
|
+
integration: "integration";
|
|
220
|
+
acceptance: "acceptance";
|
|
221
|
+
handoff: "handoff";
|
|
222
|
+
}>;
|
|
223
|
+
role: z.ZodEnum<{
|
|
224
|
+
verifier: "verifier";
|
|
225
|
+
researcher: "researcher";
|
|
226
|
+
author: "author";
|
|
227
|
+
reviewer: "reviewer";
|
|
228
|
+
implementer: "implementer";
|
|
229
|
+
integrator: "integrator";
|
|
230
|
+
synthesizer: "synthesizer";
|
|
231
|
+
}>;
|
|
232
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
233
|
+
sourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
234
|
+
inputSlots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
235
|
+
reviewSlots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
236
|
+
ownedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
237
|
+
acceptanceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
238
|
+
verifier: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
command: z.ZodString;
|
|
240
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
241
|
+
targetPaths: z.ZodArray<z.ZodString>;
|
|
242
|
+
}, z.core.$strict>>;
|
|
243
|
+
}, z.core.$strict>>;
|
|
244
|
+
}, z.core.$strict>;
|
|
245
|
+
}, z.core.$strict>,
|
|
246
|
+
z.ZodObject<{
|
|
247
|
+
action: z.ZodLiteral<"status">;
|
|
248
|
+
}, z.core.$strict>,
|
|
249
|
+
z.ZodObject<{
|
|
250
|
+
action: z.ZodLiteral<"discover">;
|
|
251
|
+
}, z.core.$strict>,
|
|
252
|
+
z.ZodObject<{
|
|
253
|
+
action: z.ZodLiteral<"resume">;
|
|
254
|
+
runId: z.ZodString;
|
|
255
|
+
planReference: z.ZodString;
|
|
256
|
+
objectiveId: z.ZodString;
|
|
257
|
+
}, z.core.$strict>,
|
|
258
|
+
z.ZodObject<{
|
|
259
|
+
action: z.ZodLiteral<"repair">;
|
|
260
|
+
cardId: z.ZodString;
|
|
261
|
+
failedCardId: z.ZodString;
|
|
262
|
+
reason: z.ZodString;
|
|
263
|
+
}, z.core.$strict>,
|
|
264
|
+
z.ZodObject<{
|
|
265
|
+
action: z.ZodLiteral<"record_artifact">;
|
|
266
|
+
cardId: z.ZodString;
|
|
267
|
+
slotId: z.ZodString;
|
|
268
|
+
path: z.ZodString;
|
|
269
|
+
}, z.core.$strict>
|
|
270
|
+
], "action">;
|
|
271
|
+
/** Shared references keep the exact native tool definition inside normal schema budgets. */
|
|
272
|
+
export declare const FeatureWorkflowToolJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodDiscriminatedUnion<[
|
|
273
|
+
z.ZodObject<{
|
|
274
|
+
action: z.ZodEnum<{
|
|
275
|
+
create: "create";
|
|
276
|
+
revise: "revise";
|
|
277
|
+
}>;
|
|
278
|
+
plan: z.ZodObject<{
|
|
279
|
+
schema: z.ZodLiteral<"omnius.feature-workflow-plan.v1">;
|
|
280
|
+
id: z.ZodString;
|
|
281
|
+
revision: z.ZodNumber;
|
|
282
|
+
objective: z.ZodString;
|
|
283
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
284
|
+
id: z.ZodString;
|
|
285
|
+
description: z.ZodString;
|
|
286
|
+
}, z.core.$strict>>;
|
|
287
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
288
|
+
id: z.ZodString;
|
|
289
|
+
reference: z.ZodString;
|
|
290
|
+
}, z.core.$strict>>>;
|
|
291
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
kind: z.ZodEnum<{
|
|
294
|
+
research: "research";
|
|
295
|
+
specification: "specification";
|
|
296
|
+
implementation: "implementation";
|
|
297
|
+
integration: "integration";
|
|
298
|
+
handoff: "handoff";
|
|
299
|
+
review: "review";
|
|
300
|
+
}>;
|
|
301
|
+
cardId: z.ZodString;
|
|
302
|
+
requiresReview: z.ZodDefault<z.ZodBoolean>;
|
|
303
|
+
}, z.core.$strict>>;
|
|
304
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
305
|
+
id: z.ZodString;
|
|
306
|
+
title: z.ZodString;
|
|
307
|
+
phase: z.ZodEnum<{
|
|
308
|
+
research: "research";
|
|
309
|
+
specification: "specification";
|
|
310
|
+
implementation: "implementation";
|
|
311
|
+
integration: "integration";
|
|
312
|
+
acceptance: "acceptance";
|
|
313
|
+
handoff: "handoff";
|
|
314
|
+
}>;
|
|
315
|
+
role: z.ZodEnum<{
|
|
316
|
+
verifier: "verifier";
|
|
317
|
+
researcher: "researcher";
|
|
318
|
+
author: "author";
|
|
319
|
+
reviewer: "reviewer";
|
|
320
|
+
implementer: "implementer";
|
|
321
|
+
integrator: "integrator";
|
|
322
|
+
synthesizer: "synthesizer";
|
|
323
|
+
}>;
|
|
324
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
325
|
+
sourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
326
|
+
inputSlots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
327
|
+
reviewSlots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
328
|
+
ownedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
329
|
+
acceptanceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
330
|
+
verifier: z.ZodOptional<z.ZodObject<{
|
|
331
|
+
command: z.ZodString;
|
|
332
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
333
|
+
targetPaths: z.ZodArray<z.ZodString>;
|
|
334
|
+
}, z.core.$strict>>;
|
|
335
|
+
}, z.core.$strict>>;
|
|
336
|
+
}, z.core.$strict>;
|
|
337
|
+
}, z.core.$strict>,
|
|
338
|
+
z.ZodObject<{
|
|
339
|
+
action: z.ZodLiteral<"status">;
|
|
340
|
+
}, z.core.$strict>,
|
|
341
|
+
z.ZodObject<{
|
|
342
|
+
action: z.ZodLiteral<"discover">;
|
|
343
|
+
}, z.core.$strict>,
|
|
344
|
+
z.ZodObject<{
|
|
345
|
+
action: z.ZodLiteral<"resume">;
|
|
346
|
+
runId: z.ZodString;
|
|
347
|
+
planReference: z.ZodString;
|
|
348
|
+
objectiveId: z.ZodString;
|
|
349
|
+
}, z.core.$strict>,
|
|
350
|
+
z.ZodObject<{
|
|
351
|
+
action: z.ZodLiteral<"repair">;
|
|
352
|
+
cardId: z.ZodString;
|
|
353
|
+
failedCardId: z.ZodString;
|
|
354
|
+
reason: z.ZodString;
|
|
355
|
+
}, z.core.$strict>,
|
|
356
|
+
z.ZodObject<{
|
|
357
|
+
action: z.ZodLiteral<"record_artifact">;
|
|
358
|
+
cardId: z.ZodString;
|
|
359
|
+
slotId: z.ZodString;
|
|
360
|
+
path: z.ZodString;
|
|
361
|
+
}, z.core.$strict>
|
|
362
|
+
], "action">>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AgentMessageSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
sessionId: z.ZodString;
|
|
5
|
+
role: z.ZodEnum<{
|
|
6
|
+
system: "system";
|
|
7
|
+
user: "user";
|
|
8
|
+
assistant: "assistant";
|
|
9
|
+
tool: "tool";
|
|
10
|
+
}>;
|
|
11
|
+
content: z.ZodString;
|
|
12
|
+
timestamp: z.ZodString;
|
|
13
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type AgentMessage = z.infer<typeof AgentMessageSchema>;
|