@yemi33/minions 0.1.468 → 0.1.469

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.469 (2026-04-07)
4
+
5
+ ### Fixes
6
+ - only cache sessionId for steering when actually resuming same branch
7
+
3
8
  ## 0.1.468 (2026-04-07)
4
9
 
5
10
  ### Fixes
package/engine.js CHANGED
@@ -474,10 +474,10 @@ function spawnAgent(dispatchItem, config) {
474
474
  try {
475
475
  const sessionFile = safeJson(path.join(AGENTS_DIR, agentId, 'session.json'));
476
476
  if (sessionFile?.sessionId && sessionFile.savedAt) {
477
- cachedSessionId = sessionFile.sessionId;
478
477
  const sessionAge = Date.now() - new Date(sessionFile.savedAt).getTime();
479
478
  const sameBranch = branchName && sessionFile.branch && sessionFile.branch === branchName;
480
479
  if (sessionAge < 2 * 60 * 60 * 1000 && sameBranch) {
480
+ cachedSessionId = sessionFile.sessionId;
481
481
  args.push('--resume', sessionFile.sessionId);
482
482
  log('info', `Resuming session ${sessionFile.sessionId} for ${agentId} on branch ${branchName} (age: ${Math.round(sessionAge / 60000)}min)`);
483
483
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.468",
3
+ "version": "0.1.469",
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"