@yemi33/minions 0.1.1794 → 0.1.1795

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1795 (2026-05-08)
4
+
5
+ ### Other
6
+ - Fix Copilot steering checkpoint handling
7
+
3
8
  ## 0.1.1794 (2026-05-08)
4
9
 
5
10
  ### Other
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-08T16:04:08.215Z"
4
+ "cachedAt": "2026-05-08T16:18:58.310Z"
5
5
  }
package/engine/timeout.js CHANGED
@@ -78,6 +78,15 @@ function rememberDeferredSteering(info, steerEntry) {
78
78
  info._deferredSteeringFiles = Array.from(existing);
79
79
  }
80
80
 
81
+ function deferSteeringUntilCheckpoint(id, info, steerEntry) {
82
+ log('info', `Steering: no mid-run resumable checkpoint for ${info.agentId} (${id}) — queued until checkpoint`);
83
+ rememberDeferredSteering(info, steerEntry);
84
+ try {
85
+ const liveLogPath = path.join(AGENTS_DIR, info.agentId, 'live-output.log');
86
+ fs.appendFileSync(liveLogPath, `\n[steering] Message received. This runtime has not emitted a resumable checkpoint for the current run yet, so the message is queued until the agent reaches a resumable checkpoint or the next dispatch.\n`);
87
+ } catch { /* optional */ }
88
+ }
89
+
81
90
  function checkSteering(config) {
82
91
  const activeProcesses = engine().activeProcesses;
83
92
  for (const [id, info] of activeProcesses) {
@@ -112,18 +121,13 @@ function checkSteering(config) {
112
121
  if (!steerEntry) continue; // ENOENT/no agents/<id>/inbox/steering-*.md message
113
122
  const message = steerEntry.message.trim();
114
123
 
124
+ if (!runtimeSupportsMidRunSessionId(info)) {
125
+ deferSteeringUntilCheckpoint(id, info, steerEntry);
126
+ continue;
127
+ }
128
+
115
129
  const sessionId = info.sessionId;
116
130
  if (!sessionId) {
117
- if (!runtimeSupportsMidRunSessionId(info)) {
118
- log('info', `Steering: no mid-run sessionId for ${info.agentId} (${id}) — queued until resumable checkpoint`);
119
- rememberDeferredSteering(info, steerEntry);
120
- try {
121
- const liveLogPath = path.join(AGENTS_DIR, info.agentId, 'live-output.log');
122
- fs.appendFileSync(liveLogPath, `\n[steering] Message received. This runtime has not emitted a resumable session yet, so the message is queued until the agent reaches a resumable checkpoint or the next dispatch.\n`);
123
- } catch { /* optional */ }
124
- continue;
125
- }
126
-
127
131
  // No session to resume for a runtime that should have emitted one — kill
128
132
  // agent and leave message unread in inbox for retry. Previously this
129
133
  // silently skipped for up to 5m then deleted the message (#627).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1794",
3
+ "version": "0.1.1795",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"