@toist/spec 0.5.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to `@toist/spec` are recorded here.
4
4
 
5
+ ## 0.7.1 — 2026-05-06
6
+
7
+ Lockstep version bump. No functional changes in this package.
8
+
9
+ ## 0.7.0 — 2026-05-06
10
+
11
+ Lockstep version bump. No functional changes in this package.
12
+
13
+ ## 0.6.1 — 2026-05-05
14
+
15
+ Lockstep version bump. No functional changes in this package.
16
+
17
+ ## 0.6.0 — 2026-05-05
18
+
19
+ Lockstep version bump. No functional changes in this package.
20
+
5
21
  ## 0.5.0 — 2026-05-05
6
22
 
7
23
  Lockstep version bump. No functional changes in this package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toist/spec",
3
- "version": "0.5.0",
3
+ "version": "0.7.1",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/kinds.ts CHANGED
@@ -107,8 +107,8 @@ export interface RunStore {
107
107
  * but trimmed to what the pipeline.run kind exposes to its caller. */
108
108
  export type SubRunOutcome =
109
109
  | { status: "done"; runId: number; output: unknown }
110
- | { status: "failed"; runId: number; error: string }
111
- | { status: "suspended"; runId: number; suspendedAt: string }
110
+ | { status: "failed"; runId: number; error: string; partialResults?: Record<string, unknown> }
111
+ | { status: "suspended"; runId: number; suspendedAt: string; partialResults?: Record<string, unknown> }
112
112
 
113
113
  /** Sub-run invocation capability. Pipeline.run uses this; nothing else
114
114
  * should. Per pipeline-spec.md §12 / decision_pipeline_recovery_model_v1
@@ -143,8 +143,8 @@ export interface ExecContext extends PlatformCtx {
143
143
  }
144
144
 
145
145
  export interface NodeKind<
146
- P extends Record<string, unknown> = Record<string, unknown>,
147
- I extends Record<string, unknown> = Record<string, unknown>,
146
+ P extends object = Record<string, unknown>,
147
+ I extends object = Record<string, unknown>,
148
148
  > {
149
149
  id: string // "transform.filter"
150
150
  category: string // "data" | "transform" | "db" | "io" | "control"