patchrelay 0.41.3 → 0.41.4

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "service": "patchrelay",
3
- "version": "0.41.3",
4
- "commit": "091d6739b8e1",
5
- "builtAt": "2026-04-12T23:46:11.014Z"
3
+ "version": "0.41.4",
4
+ "commit": "f0bf37346e5e",
5
+ "builtAt": "2026-04-13T10:48:22.890Z"
6
6
  }
@@ -120,6 +120,7 @@ export class DesiredStageRecorder {
120
120
  triggerEvent: params.normalized.triggerEvent,
121
121
  delegated,
122
122
  });
123
+ const terminalRunRelease = effectiveRunRelease.release && terminal;
123
124
  const commitIssueUpdate = () => {
124
125
  const record = this.db.issues.upsertIssue({
125
126
  projectId: params.project.id,
@@ -148,6 +149,7 @@ export class DesiredStageRecorder {
148
149
  ...(clearPending ? { pendingRunType: null, pendingRunContextJson: null } : {}),
149
150
  ...(agentSessionId !== undefined ? { agentSessionId } : {}),
150
151
  ...(effectiveRunRelease.release ? { activeRunId: null } : {}),
152
+ ...(terminalRunRelease ? { factoryState: "done", pendingRunType: null, pendingRunContextJson: null } : {}),
151
153
  ...(blockerPausedImplementation ? { factoryState: "delegated" } : {}),
152
154
  ...(undelegation.factoryState ? { factoryState: undelegation.factoryState } : {}),
153
155
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchrelay",
3
- "version": "0.41.3",
3
+ "version": "0.41.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {