@deksden-com/dd-flow-cli 0.9.0-beta.110 → 0.9.0-beta.111

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
@@ -1,5 +1,11 @@
1
1
  # @deksden-com/dd-flow-cli
2
2
 
3
+ ## 0.9.0-beta.111
4
+
5
+ ### Patch Changes
6
+
7
+ - Settle retired Grok child Sessions from their retained terminal native TaskOutput when session/info omits status; keep explicit activity, new attempts and outcome conflicts blocking settlement.
8
+
3
9
  ## 0.9.0-beta.110
4
10
 
5
11
  ### Patch Changes
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "cli_package": "@deksden-com/dd-flow-cli",
3
- "cli_version": "0.9.0-beta.110",
4
- "cli_commit": "dbb41705604e422795167f32b74fb92ee34fa1ae",
5
- "built_at": "2026-09-27T09:03:36.141Z",
3
+ "cli_version": "0.9.0-beta.111",
4
+ "cli_commit": "fde200161dc8fa1fd32de74ea5bad4b8b8e0aed6",
5
+ "built_at": "2026-09-27T10:00:38.751Z",
6
6
  "built_with_canon": {
7
7
  "version": "4.1.1",
8
8
  "commit": "678daa038287c948ada5b2d785a6dcc925c7b891",
@@ -291,6 +291,12 @@ export class Runtime {
291
291
  }
292
292
  rootRunning(result) {
293
293
  const status = String(result?.info?.status ?? result?.info?.state ?? result?.info?.data?.status ?? "unknown").toLowerCase();
294
+ const child = this.descendants.get(result?.provider_session_id);
295
+ // Grok may retire a completed child Session before session/info can be
296
+ // inspected. A retained TaskOutput for that exact attempt is native
297
+ // terminal proof; missing session/info alone is not.
298
+ if (status === "unknown" && child?.source === "x.ai/tool/TaskOutput" && !child.outcome_error && !child.activity_status
299
+ && ["completed", "failed", "cancelled"].includes(child.status)) return false;
294
300
  // Grok 1.0.17 omits status from session/info. Only a durable native
295
301
  // creation/end_turn receipt can then establish an idle root. Dispatch
296
302
  // clears that receipt before sending any subsequent productive request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deksden-com/dd-flow-cli",
3
- "version": "0.9.0-beta.110",
3
+ "version": "0.9.0-beta.111",
4
4
  "description": "Mechanical runtime CLI for dd-flow workflows.",
5
5
  "type": "module",
6
6
  "bin": {