@yemi33/minions 0.1.962 → 0.1.963

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,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.962 (2026-04-14)
3
+ ## 0.1.963 (2026-04-14)
4
4
 
5
5
  ### Features
6
6
  - add quality standard reminder to all agent and CC prompts
@@ -25,6 +25,7 @@
25
25
  - fix dashboard plan-pause nested lock violation (#968)
26
26
 
27
27
  ### Fixes
28
+ - CC streaming 'tabId' TDZ error on new tab first message
28
29
  - fix tabId scope and close-event lock race in CC handlers
29
30
  - fix CC queued message 'already processing' and thinking UX stacking
30
31
  - enforce --timeout 1 on all azureauth calls to prevent agent orphans (#1063)
@@ -44,7 +45,6 @@
44
45
  - await discoverPipelineWork instead of fire-and-forget .catch (#1020)
45
46
  - add unhandledRejection/uncaughtException handlers to engine process (#1019)
46
47
  - show doc-chat badges on Notes and KB items (#1016)
47
- - steering kill on no-session re-queues dispatch instead of erroring (#1015)
48
48
 
49
49
  ### Other
50
50
  - refactor(dashboard): extract _releaseCCTab helper and CC_LOCK_WAIT_MS constant
package/dashboard.js CHANGED
@@ -3586,11 +3586,11 @@ What would you like to discuss or change? When you're happy, say "approve" and I
3586
3586
  // Persist tab→session mapping (no global ccSession mutation)
3587
3587
  const now = Date.now();
3588
3588
  const responseSessionId = result.sessionId || tabSessionId;
3589
- const tabId = body.tabId;
3590
- if (tabId && responseSessionId) {
3589
+ const _persistTabId = body.tabId;
3590
+ if (_persistTabId && responseSessionId) {
3591
3591
  try {
3592
3592
  const sessions = shared.safeJsonArr(CC_SESSIONS_PATH);
3593
- const existing = sessions.find(s => s.id === tabId);
3593
+ const existing = sessions.find(s => s.id === _persistTabId);
3594
3594
  const preview = (body.message || '').slice(0, 80);
3595
3595
  if (existing) {
3596
3596
  existing.sessionId = responseSessionId;
@@ -3599,7 +3599,7 @@ What would you like to discuss or change? When you're happy, say "approve" and I
3599
3599
  existing.preview = preview;
3600
3600
  existing._promptHash = _ccPromptHash;
3601
3601
  } else {
3602
- sessions.push({ id: tabId, title: (body.message || 'New chat').slice(0, 40), sessionId: responseSessionId, createdAt: new Date(now).toISOString(), lastActiveAt: new Date(now).toISOString(), turnCount: 1, preview, _promptHash: _ccPromptHash });
3602
+ sessions.push({ id: _persistTabId, title: (body.message || 'New chat').slice(0, 40), sessionId: responseSessionId, createdAt: new Date(now).toISOString(), lastActiveAt: new Date(now).toISOString(), turnCount: 1, preview, _promptHash: _ccPromptHash });
3603
3603
  }
3604
3604
  safeWrite(CC_SESSIONS_PATH, sessions);
3605
3605
  } catch { /* non-critical */ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.962",
3
+ "version": "0.1.963",
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"