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.
Files changed (239) hide show
  1. package/dist/{providerRegistry.d.ts → _types/backend-vllm/providerRegistry.d.ts} +0 -1
  2. package/dist/_types/backend-vllm/types.d.ts +209 -0
  3. package/dist/_types/execution/av/media-capability.d.ts +94 -0
  4. package/dist/_types/execution/delegation-contract.d.ts +102 -0
  5. package/dist/_types/execution/evidence.d.ts +68 -0
  6. package/dist/_types/execution/html-source-evidence.d.ts +65 -0
  7. package/dist/_types/execution/mcp/types.d.ts +169 -0
  8. package/dist/_types/execution/mutation-contract.d.ts +102 -0
  9. package/dist/_types/execution/nol/artifacts.d.ts +39 -0
  10. package/dist/_types/execution/nol/checkpoint-edits.d.ts +98 -0
  11. package/dist/_types/execution/nol/distributions.d.ts +128 -0
  12. package/dist/_types/execution/nol/gguf-checkpoint-edits.d.ts +194 -0
  13. package/dist/_types/execution/nol/gguf-control-reader.d.ts +224 -0
  14. package/dist/_types/execution/nol/lora-exports.d.ts +129 -0
  15. package/dist/_types/execution/nol/neuronary.d.ts +212 -0
  16. package/dist/_types/execution/nol/pytorch-control-reader.d.ts +143 -0
  17. package/dist/_types/execution/nol/qwen35-head-sites.d.ts +61 -0
  18. package/dist/_types/execution/nol/worker-assets.d.ts +82 -0
  19. package/dist/_types/execution/nol/worker-protocol.d.ts +94 -0
  20. package/dist/_types/execution/page-content-source.d.ts +40 -0
  21. package/dist/_types/execution/rapid-computer-use/artifact-store.d.ts +21 -0
  22. package/dist/_types/execution/rapid-computer-use/contracts.d.ts +320 -0
  23. package/dist/_types/execution/rapid-computer-use/decision.d.ts +70 -0
  24. package/dist/_types/execution/rapid-computer-use/desktop-verification.d.ts +23 -0
  25. package/dist/_types/execution/rapid-computer-use/geometry.d.ts +57 -0
  26. package/dist/_types/execution/rapid-computer-use/planner.d.ts +78 -0
  27. package/dist/_types/execution/rapid-computer-use/trace.d.ts +80 -0
  28. package/dist/_types/execution/rapid-computer-use/visual.d.ts +48 -0
  29. package/dist/_types/execution/shell-runs.d.ts +78 -0
  30. package/dist/_types/execution/streamed-web-source.d.ts +64 -0
  31. package/dist/_types/execution/tools/browser-page-fallback.d.ts +25 -0
  32. package/dist/_types/execution/tools/network-egress-policy.d.ts +30 -0
  33. package/dist/_types/execution/tools/pdf-native-tables.d.ts +46 -0
  34. package/dist/_types/execution/tools/todo-store.d.ts +133 -0
  35. package/dist/_types/execution/tools/web-fetch.d.ts +57 -0
  36. package/dist/_types/execution/tools/workboard.d.ts +1223 -0
  37. package/dist/_types/execution/types.d.ts +549 -0
  38. package/dist/_types/execution/web-source.d.ts +14 -0
  39. package/dist/_types/memory/artifactReviewSourceIndex.d.ts +133 -0
  40. package/dist/_types/memory/contextMemoryLedger.d.ts +213 -0
  41. package/dist/_types/memory/db.d.ts +12 -0
  42. package/dist/_types/memory/embeddings.d.ts +36 -0
  43. package/dist/_types/memory/immutableEvidenceStore.d.ts +165 -0
  44. package/dist/_types/memory/memoryIngestion.d.ts +65 -0
  45. package/dist/_types/memory/memoryTypes.d.ts +312 -0
  46. package/dist/_types/memory/sourceCorpusStore.d.ts +331 -0
  47. package/dist/_types/memory/structuredMemoryStore.d.ts +105 -0
  48. package/dist/_types/memory/unifiedMemoryStore.d.ts +127 -0
  49. package/dist/_types/memory/virtualMemory.d.ts +187 -0
  50. package/dist/_types/orchestrator/agentic-page-content-receipt.d.ts +20 -0
  51. package/dist/_types/orchestrator/agentic-web-fetch-receipt.d.ts +20 -0
  52. package/dist/_types/orchestrator/agenticRunner.d.ts +5219 -0
  53. package/dist/_types/orchestrator/app-state.d.ts +171 -0
  54. package/dist/_types/orchestrator/artifactClaimCritic.d.ts +63 -0
  55. package/dist/_types/orchestrator/artifactQuality.d.ts +15 -0
  56. package/dist/_types/orchestrator/artifactSemanticIntegrity.d.ts +203 -0
  57. package/dist/_types/orchestrator/canonical-context-projection.d.ts +254 -0
  58. package/dist/_types/orchestrator/canonical-source-body-projection.d.ts +51 -0
  59. package/dist/_types/orchestrator/completion-review-pending.d.ts +24 -0
  60. package/dist/_types/orchestrator/completionContract.d.ts +103 -0
  61. package/dist/_types/orchestrator/completionFinalization.d.ts +224 -0
  62. package/dist/_types/orchestrator/completionLedger.d.ts +429 -0
  63. package/dist/_types/orchestrator/completionReadiness.d.ts +234 -0
  64. package/dist/_types/orchestrator/context-admission.d.ts +93 -0
  65. package/dist/_types/orchestrator/context-dump-retention.d.ts +25 -0
  66. package/dist/_types/orchestrator/context-fabric.d.ts +133 -0
  67. package/dist/_types/orchestrator/contextEngine.d.ts +68 -0
  68. package/dist/_types/orchestrator/contextWindowDump.d.ts +327 -0
  69. package/dist/_types/orchestrator/convergence-breaker.d.ts +225 -0
  70. package/dist/_types/orchestrator/convergence-progress.d.ts +66 -0
  71. package/dist/_types/orchestrator/deliveryCoverage.d.ts +181 -0
  72. package/dist/_types/orchestrator/document-persistence-goal-binding.d.ts +106 -0
  73. package/dist/_types/orchestrator/durable-document-worker.d.ts +85 -0
  74. package/dist/_types/orchestrator/evidenceBranch.d.ts +291 -0
  75. package/dist/_types/orchestrator/expected-inference-response.d.ts +55 -0
  76. package/dist/_types/orchestrator/expectedOutcomeContract.d.ts +58 -0
  77. package/dist/_types/orchestrator/failure-taxonomy.d.ts +36 -0
  78. package/dist/_types/orchestrator/focusSupervisor.d.ts +436 -0
  79. package/dist/_types/orchestrator/forced-update-requirement-recovery.d.ts +105 -0
  80. package/dist/_types/orchestrator/hooks.d.ts +100 -0
  81. package/dist/_types/orchestrator/inference-pressure.d.ts +61 -0
  82. package/dist/_types/orchestrator/integrationClosure.d.ts +89 -0
  83. package/dist/_types/orchestrator/interruption-lifecycle.d.ts +154 -0
  84. package/dist/_types/orchestrator/live-memory-passages.d.ts +51 -0
  85. package/dist/_types/orchestrator/liveVirtualContext.d.ts +84 -0
  86. package/dist/_types/orchestrator/memory-compiler.d.ts +254 -0
  87. package/dist/_types/orchestrator/memory-consolidation.d.ts +134 -0
  88. package/dist/_types/orchestrator/model-router.d.ts +17 -0
  89. package/dist/_types/orchestrator/modelResponseDiagnostics.d.ts +71 -0
  90. package/dist/_types/orchestrator/nativeRequirementAmendment.d.ts +63 -0
  91. package/dist/_types/orchestrator/nol/coordinator.d.ts +204 -0
  92. package/dist/_types/orchestrator/nol/datasets.d.ts +58 -0
  93. package/dist/_types/orchestrator/nol/discovery.d.ts +286 -0
  94. package/dist/_types/orchestrator/nol/evaluation.d.ts +59 -0
  95. package/dist/_types/orchestrator/nol/model-validation.d.ts +198 -0
  96. package/dist/_types/orchestrator/nol/statistics.d.ts +142 -0
  97. package/dist/_types/orchestrator/nol/store.d.ts +133 -0
  98. package/dist/_types/orchestrator/nol/variant-registry.d.ts +292 -0
  99. package/dist/_types/orchestrator/ollama-context-policy.d.ts +34 -0
  100. package/dist/_types/orchestrator/personality.d.ts +66 -0
  101. package/dist/_types/orchestrator/prompt-cache.d.ts +24 -0
  102. package/dist/_types/orchestrator/remote-inference-fallback.d.ts +224 -0
  103. package/dist/_types/orchestrator/remote-inference-policy.d.ts +58 -0
  104. package/dist/_types/orchestrator/request-budget.d.ts +75 -0
  105. package/dist/_types/orchestrator/requirementCoverage.d.ts +69 -0
  106. package/dist/_types/orchestrator/reviewedInterpretation.d.ts +111 -0
  107. package/dist/_types/orchestrator/runEvents.d.ts +115 -0
  108. package/dist/_types/orchestrator/runtime-rollout.d.ts +63 -0
  109. package/dist/_types/orchestrator/semanticVerification.d.ts +135 -0
  110. package/dist/_types/orchestrator/source-wide-extraction.d.ts +202 -0
  111. package/dist/_types/orchestrator/steeringIntake.d.ts +123 -0
  112. package/dist/_types/orchestrator/structured-memory-extraction-worker.d.ts +89 -0
  113. package/dist/_types/orchestrator/structuredMemoryInference.d.ts +62 -0
  114. package/dist/_types/orchestrator/successful-procedure-memory.d.ts +127 -0
  115. package/dist/_types/orchestrator/supportedAnswer.d.ts +68 -0
  116. package/dist/_types/orchestrator/taskEffectEvidence.d.ts +38 -0
  117. package/dist/_types/orchestrator/taskExecutionSnapshot.d.ts +67 -0
  118. package/dist/_types/orchestrator/taskObjective.d.ts +310 -0
  119. package/dist/_types/orchestrator/taskObjectiveContinuation.d.ts +134 -0
  120. package/dist/_types/orchestrator/taskRequirementReview.d.ts +246 -0
  121. package/dist/_types/orchestrator/taskRequirements.d.ts +80 -0
  122. package/dist/_types/orchestrator/taskSemanticAdmission.d.ts +159 -0
  123. package/dist/_types/orchestrator/taskWorkDelegation.d.ts +147 -0
  124. package/dist/_types/orchestrator/taskWorkPlan.d.ts +177 -0
  125. package/dist/_types/orchestrator/telegram-passive-history.d.ts +42 -0
  126. package/dist/_types/orchestrator/terminalTaskReport.d.ts +91 -0
  127. package/dist/_types/orchestrator/todoObservability.d.ts +147 -0
  128. package/dist/_types/orchestrator/tool-exposure-policy.d.ts +100 -0
  129. package/dist/_types/orchestrator/trajectory-checkpoint.d.ts +159 -0
  130. package/dist/_types/orchestrator/types.d.ts +185 -0
  131. package/dist/_types/schemas/dispatch.d.ts +53 -0
  132. package/dist/_types/schemas/feature-workflow.d.ts +362 -0
  133. package/dist/_types/schemas/messages.d.ts +15 -0
  134. package/dist/_types/schemas/nol-assets.d.ts +955 -0
  135. package/dist/_types/schemas/nol-json.d.ts +2 -0
  136. package/dist/_types/schemas/nol.d.ts +3995 -0
  137. package/dist/_types/schemas/patch.d.ts +47 -0
  138. package/dist/_types/schemas/plan.d.ts +47 -0
  139. package/dist/_types/schemas/repoProfile.d.ts +116 -0
  140. package/dist/_types/schemas/retrieval.d.ts +44 -0
  141. package/dist/_types/schemas/task.d.ts +57 -0
  142. package/dist/_types/schemas/tools.d.ts +16 -0
  143. package/dist/_types/schemas/verification.d.ts +31 -0
  144. package/dist/api/py-embed.js +3353 -1829
  145. package/dist/assets/nol-checkpoint-editor.py +701 -0
  146. package/dist/assets/nol-gguf-checkpoint-editor.py +785 -0
  147. package/dist/assets/nol-gguf-control-reader.py +428 -0
  148. package/dist/assets/nol-gne-tools-worker.py +425 -0
  149. package/dist/assets/nol-gne-worker.py +1081 -0
  150. package/dist/assets/nol-lora-exporter.py +349 -0
  151. package/dist/assets/nol-pytorch-control-reader.py +470 -0
  152. package/dist/assets/nol-transformers-nnsight-worker.py +512 -0
  153. package/dist/assets/nol-transformers-peft-validation-worker.py +385 -0
  154. package/dist/assets/nol-transformers-peft-worker.py +488 -0
  155. package/dist/assets/nol-transformers-research-worker.py +472 -0
  156. package/dist/assets/nol-transformers-worker.py +920 -0
  157. package/dist/assets/nol-vllm-owned-worker.py +803 -0
  158. package/dist/assets/nol-vllm-runtime.py +695 -0
  159. package/dist/assets/nol-vllm-tokenizer.py +93 -0
  160. package/dist/assets/nol-vllm-worker.py +201 -0
  161. package/dist/computer-use/configured-planner.d.ts +37 -0
  162. package/dist/computer-use/configured-point.d.ts +35 -0
  163. package/dist/computer-use/host-session.d.ts +60 -0
  164. package/dist/computer-use/runner-ui-port.d.ts +37 -0
  165. package/dist/computer-use/session-review.d.ts +14 -0
  166. package/dist/computer-use/task-spec.d.ts +84 -0
  167. package/dist/discovery.d.ts +16 -2
  168. package/dist/index.js +2 -2
  169. package/dist/library.d.ts +94 -10
  170. package/dist/library.js +144003 -87414
  171. package/dist/memory-maintenance-worker.js +1676 -511
  172. package/dist/nol/cpu-control-reader-profile.d.ts +93 -0
  173. package/dist/nol/cpu-control-reader-service.d.ts +87 -0
  174. package/dist/nol/cuda-lease.d.ts +111 -0
  175. package/dist/nol/cuda-mutations.d.ts +34 -0
  176. package/dist/nol/export-runtime-config.d.ts +114 -0
  177. package/dist/nol/export-service.d.ts +143 -0
  178. package/dist/nol/facade.d.ts +147 -0
  179. package/dist/nol/gguf-cpu-control-reader-profile.d.ts +106 -0
  180. package/dist/nol/gguf-cpu-control-reader-service.d.ts +91 -0
  181. package/dist/nol/gguf-model-control-verifier.d.ts +120 -0
  182. package/dist/nol/gguf-parameter-inventory.d.ts +28 -0
  183. package/dist/nol/gne-adapter.d.ts +134 -0
  184. package/dist/nol/gne-agent-evaluation.d.ts +84 -0
  185. package/dist/nol/gne-profile.d.ts +124 -0
  186. package/dist/nol/gne-tools-profile.d.ts +148 -0
  187. package/dist/nol/gne-tools-transport.d.ts +194 -0
  188. package/dist/nol/model-actions.d.ts +662 -0
  189. package/dist/nol/model-control-verifier.d.ts +135 -0
  190. package/dist/nol/model-json-scorer.d.ts +13 -0
  191. package/dist/nol/model-runtime-config.d.ts +830 -0
  192. package/dist/nol/model-serving.d.ts +130 -0
  193. package/dist/nol/model-subject-adapter.d.ts +72 -0
  194. package/dist/nol/model-validation-factory.d.ts +113 -0
  195. package/dist/nol/neuronary-catalog.d.ts +130 -0
  196. package/dist/nol/orphan-custody.d.ts +72 -0
  197. package/dist/nol/peft-conformance.d.ts +48 -0
  198. package/dist/nol/peft-control-types.d.ts +137 -0
  199. package/dist/nol/peft-control-verifier.d.ts +8 -0
  200. package/dist/nol/peft-model-actions.d.ts +41 -0
  201. package/dist/nol/peft-model-authority.d.ts +146 -0
  202. package/dist/nol/peft-model-controls.d.ts +20 -0
  203. package/dist/nol/peft-model-host.d.ts +47 -0
  204. package/dist/nol/peft-model-profile.d.ts +161 -0
  205. package/dist/nol/peft-model-runtime-config.d.ts +174 -0
  206. package/dist/nol/peft-model-subject-adapter.d.ts +36 -0
  207. package/dist/nol/peft-validation.d.ts +105 -0
  208. package/dist/nol/persistent-parameter-inventory.d.ts +32 -0
  209. package/dist/nol/runtime.d.ts +100 -0
  210. package/dist/nol/sqlite-store.d.ts +80 -0
  211. package/dist/nol/transformers-adapter.d.ts +119 -0
  212. package/dist/nol/transformers-nnsight.d.ts +87 -0
  213. package/dist/nol/transformers-peft.d.ts +107 -0
  214. package/dist/nol/transformers-research.d.ts +114 -0
  215. package/dist/nol/variant-service.d.ts +143 -0
  216. package/dist/nol/variant-store.d.ts +51 -0
  217. package/dist/nol/vllm-actions.d.ts +774 -0
  218. package/dist/nol/vllm-adapter.d.ts +1473 -0
  219. package/dist/nol/vllm-authority.d.ts +55 -0
  220. package/dist/nol/vllm-conformance.d.ts +662 -0
  221. package/dist/nol/vllm-profile.d.ts +850 -0
  222. package/dist/nol/vllm-protocol.d.ts +1505 -0
  223. package/dist/nol/vllm-runtime-config.d.ts +120 -0
  224. package/dist/nol/vllm-runtime.d.ts +34 -0
  225. package/dist/nol/vllm-startup.d.ts +235 -0
  226. package/dist/omni-setup-worker.js +3433 -1909
  227. package/dist/service-version.d.ts +0 -1
  228. package/dist/tui/async-process.d.ts +27 -0
  229. package/dist/tui/native/worker.js +3 -1
  230. package/dist/tui/telegram-action-session-registry.d.ts +136 -0
  231. package/dist/tui/telegram-cognition-queue.d.ts +154 -0
  232. package/dist/tui/telegram-context-packet-v2.d.ts +99 -0
  233. package/dist/tui/telegram-input-ownership.d.ts +78 -0
  234. package/dist/tui/telegram-turn-contract-v2.d.ts +62 -0
  235. package/dist/update-worker-runtime.js +4216 -2603
  236. package/docs/DISCOVERY.json +389 -0
  237. package/docs/DISCOVERY.md +4 -0
  238. package/npm-shrinkwrap.json +28 -12
  239. 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>;