@smithers-orchestrator/components 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +10 -10
  2. package/src/index.d.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithers-orchestrator/components",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "React components for Smithers workflows",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -24,15 +24,15 @@
24
24
  "react": "^19.2.5",
25
25
  "react-dom": "^19.2.5",
26
26
  "zod": "^4.3.6",
27
- "@smithers-orchestrator/db": "0.22.0",
28
- "@smithers-orchestrator/agents": "0.22.0",
29
- "@smithers-orchestrator/errors": "0.22.0",
30
- "@smithers-orchestrator/driver": "0.22.0",
31
- "@smithers-orchestrator/memory": "0.22.0",
32
- "@smithers-orchestrator/graph": "0.22.0",
33
- "@smithers-orchestrator/observability": "0.22.0",
34
- "@smithers-orchestrator/react-reconciler": "0.22.0",
35
- "@smithers-orchestrator/scheduler": "0.22.0"
27
+ "@smithers-orchestrator/agents": "0.23.0",
28
+ "@smithers-orchestrator/errors": "0.23.0",
29
+ "@smithers-orchestrator/graph": "0.23.0",
30
+ "@smithers-orchestrator/memory": "0.23.0",
31
+ "@smithers-orchestrator/driver": "0.23.0",
32
+ "@smithers-orchestrator/observability": "0.23.0",
33
+ "@smithers-orchestrator/react-reconciler": "0.23.0",
34
+ "@smithers-orchestrator/scheduler": "0.23.0",
35
+ "@smithers-orchestrator/db": "0.23.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@tanstack/react-query": "^5.99.1",
package/src/index.d.ts CHANGED
@@ -135,6 +135,14 @@ type TaskProps$2<Row, Output extends OutputTarget$1 = OutputTarget$1, D extends
135
135
  needs?: Record<string, string>;
136
136
  /** Render-time typed dependencies. Keys resolve from task ids of the same name, or from matching `needs` entries. */
137
137
  deps?: D;
138
+ /**
139
+ * Start this agent task from a copy of another task's final agent session context.
140
+ * The fork source becomes an implicit dependency: this task waits for it to complete,
141
+ * then copies its conversation snapshot into a fresh, independent session and submits
142
+ * its own prompt. The source is never mutated. Inside a `<Loop>`, resolves to the
143
+ * latest completed snapshot for that task id. Requires an agent task.
144
+ */
145
+ fork?: string;
138
146
  skipIf?: boolean;
139
147
  needsApproval?: boolean;
140
148
  /** When paired with `needsApproval`, do not block unrelated downstream flow while the approval is pending. */