@juicesharp/rpiv-workflow 2.5.1 → 2.6.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.
package/docs/embedding.md CHANGED
@@ -60,7 +60,7 @@ because rpiv-workflow must not import rpiv-pi.
60
60
  ```ts
61
61
  spawnChild<T>(options: {
62
62
  prompt: string;
63
- model?: ModelSelection; // { model?: string; thinking?: "off" | … | "xhigh" }
63
+ model?: ModelSelection; // { model?: string; thinking?: "off" or a graded thinking level Pi reports }
64
64
  signal?: AbortSignal; // abort THIS child mid-flight
65
65
  reattach?: { sessionFile: string }; // open the persisted session in place
66
66
  fork?: { sessionFile: string }; // fork it into a new child (sessionPolicy: "continue")
package/host.ts CHANGED
@@ -67,7 +67,7 @@ export type WorkflowLauncherContext = Omit<WorkflowHostContext, "spawnChild" | "
67
67
  */
68
68
  export interface ModelSelection {
69
69
  model?: string;
70
- thinking?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
70
+ thinking?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
71
71
  }
72
72
 
73
73
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juicesharp/rpiv-workflow",
3
- "version": "2.5.1",
3
+ "version": "2.6.0",
4
4
  "description": "Pi extension. Chain skills into typed multi-stage workflows with audited JSONL state, predicate routing, and per-stage output validation. Skill-agnostic — bring your own skills.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -111,7 +111,7 @@
111
111
  ]
112
112
  },
113
113
  "dependencies": {
114
- "@juicesharp/rpiv-config": "^2.5.1",
114
+ "@juicesharp/rpiv-config": "^2.6.0",
115
115
  "jiti": "^2.7.0",
116
116
  "typebox": "^1.1.24"
117
117
  },
package/runner/runner.ts CHANGED
@@ -328,7 +328,8 @@ export async function resumeWorkflow(
328
328
  return { stagesCompleted: 0, success: false, error: resumeRefusalError(recon, header.workflow) };
329
329
  }
330
330
 
331
- // Detach to the executor host — the SAME wiring as live (L4-01). After the
331
+ // Detach to the executor host — the SAME wiring as live (resume-detach
332
+ // parity). After the
332
333
  // reconstruct refusal so a refused resume builds no host, but BEFORE
333
334
  // `buildRunContext`/`executeRun` so every resumed stage (single-stage reattach,
334
335
  // pending-fanout re-dispatch, or a cold-routed continue fork) runs against the