@akagilnc/pi-workflow-roles 0.1.3635 → 0.1.3637

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.
@@ -11177,7 +11177,7 @@ function createSubmissionLedgerHost(host, outputTools, failInfrastructure2 = (er
11177
11177
  });
11178
11178
  rounds.set(attemptId, candidates2);
11179
11179
  return {
11180
- content: [],
11180
+ content: result.content,
11181
11181
  details: { submissionDisposition: "pending-round-closure" }
11182
11182
  };
11183
11183
  }
@@ -11193,7 +11193,7 @@ function createSubmissionLedgerHost(host, outputTools, failInfrastructure2 = (er
11193
11193
  candidates.push({ toolCallId, toolName: tool.name, role, result, context });
11194
11194
  rounds.set(attemptId, candidates);
11195
11195
  return {
11196
- content: [],
11196
+ content: result.content,
11197
11197
  details: { submissionDisposition: "pending-round-closure" }
11198
11198
  };
11199
11199
  }
@@ -361,8 +361,11 @@ export function createSubmissionLedgerHost(host, outputTools, failInfrastructure
361
361
  },
362
362
  });
363
363
  rounds.set(attemptId, candidates);
364
+ // The role's own acceptance text must reach the model: an empty
365
+ // result reads as "nothing happened" on hosts without terminate
366
+ // semantics (grok build kept resubmitting, #750 evidence).
364
367
  return {
365
- content: [],
368
+ content: result.content,
366
369
  details: { submissionDisposition: "pending-round-closure" },
367
370
  };
368
371
  }
@@ -378,7 +381,7 @@ export function createSubmissionLedgerHost(host, outputTools, failInfrastructure
378
381
  candidates.push({ toolCallId, toolName: tool.name, role, result, context });
379
382
  rounds.set(attemptId, candidates);
380
383
  return {
381
- content: [],
384
+ content: result.content,
382
385
  details: { submissionDisposition: "pending-round-closure" },
383
386
  };
384
387
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akagilnc/pi-workflow-roles",
3
- "version": "0.1.3635",
3
+ "version": "0.1.3637",
4
4
  "description": "Soul-bound workflow roles for Pi",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -439,8 +439,11 @@ export function createSubmissionLedgerHost(
439
439
  },
440
440
  });
441
441
  rounds.set(attemptId, candidates);
442
+ // The role's own acceptance text must reach the model: an empty
443
+ // result reads as "nothing happened" on hosts without terminate
444
+ // semantics (grok build kept resubmitting, #750 evidence).
442
445
  return {
443
- content: [],
446
+ content: result.content,
444
447
  details: { submissionDisposition: "pending-round-closure" },
445
448
  };
446
449
  }
@@ -456,7 +459,7 @@ export function createSubmissionLedgerHost(
456
459
  candidates.push({ toolCallId, toolName: tool.name, role, result, context });
457
460
  rounds.set(attemptId, candidates);
458
461
  return {
459
- content: [],
462
+ content: result.content,
460
463
  details: { submissionDisposition: "pending-round-closure" },
461
464
  };
462
465
  },