@farmslot/agent-runtime 0.8.0 → 0.8.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
@@ -4,6 +4,10 @@
4
4
 
5
5
  - Active-development baseline; add user-facing changes here before release or package publication.
6
6
 
7
+ ## 0.8.1 - 2026-08-14
8
+
9
+ - fix(mark): generate and retain an opaque identity for each worker signal attempt.
10
+
7
11
  ## 0.8.0 - 2026-08-10
8
12
 
9
13
  - fix(execution-templates): an explicit template id excluded only by the domain gate now fails naming the enabling source and domains; the participation gate is exported (`executionTemplateSourceParticipates`/`executionTemplateEntryParticipates`) as the single authority (MANUAL-000076).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farmslot/agent-runtime",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "prepublishOnly": "node ../../scripts/quality/check-farmslot-package-readiness.mjs --publish --packages @farmslot/agent-runtime"
33
33
  },
34
34
  "dependencies": {
35
- "@farmslot/protocol": "0.20.0"
35
+ "@farmslot/protocol": "0.21.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^22.0.0",
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  const fs = require('node:fs');
3
3
  const path = require('node:path');
4
+ const { randomUUID } = require('node:crypto');
4
5
  const { spawnSync } = require('node:child_process');
5
6
  const {
6
7
  expandedArtifactsForCommand,
@@ -137,7 +138,7 @@ if (terminalCommand === 'no-change' || terminalCommand === 'blocked') {
137
138
  }
138
139
  }
139
140
 
140
- const SIGNAL_PASSTHROUGH_KEYS = ['role', 'contextId', 'prNumber'];
141
+ const SIGNAL_PASSTHROUGH_KEYS = ['role', 'contextId', 'attemptId', 'prNumber'];
141
142
 
142
143
  function pickSignalPassthrough(signal) {
143
144
  const out = {};
@@ -361,6 +362,7 @@ function assertTerminalPackagedEvidence(taskPath, taskDir, terminalCommand) {
361
362
  function buildSignalUpdate(signal, terminal, target, timing, events, now, taskPath, _taskDir) {
362
363
  const base = {
363
364
  ...pickSignalPassthrough(signal),
365
+ ...(isStartCommand ? { attemptId: randomUUID() } : {}),
364
366
  step: target?.label ?? signal.step ?? 'complete',
365
367
  checklistTiming: {
366
368
  schemaVersion: 1,