ccdeck 3.81.1 → 3.81.2

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 +1 @@
1
- import"./app-DCoamBD4.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function s(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=s(e);fetch(e.href,r)}})();
1
+ import"./app-uL65pD1B.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function s(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=s(e);fetch(e.href,r)}})();
@@ -77,8 +77,8 @@
77
77
  document.documentElement.setAttribute("data-density", density === "tightest" || density === "tighter" || density === "compact" || density === "comfortable" ? density : "default");
78
78
  })();
79
79
  </script>
80
- <script type="module" crossorigin src="/assets/index-BMX8nr4f.js"></script>
81
- <link rel="modulepreload" crossorigin href="/assets/app-DCoamBD4.js">
80
+ <script type="module" crossorigin src="/assets/index-4-WbGg1k.js"></script>
81
+ <link rel="modulepreload" crossorigin href="/assets/app-uL65pD1B.js">
82
82
  <link rel="stylesheet" crossorigin href="/assets/app-BIrh5Q0W.css">
83
83
  </head>
84
84
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccdeck",
3
- "version": "3.81.1",
3
+ "version": "3.81.2",
4
4
  "description": "Local dashboard for Claude Code and Codex CLI sessions: which Claude Code session needs input, every tool call and Claude Code subagent live, token cost and quota, several Claude accounts. Run npx ccdeck.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -84,6 +84,7 @@
84
84
  "without one."
85
85
  ],
86
86
  "//summaries": {
87
+ "3.81.2": "Codex account switches wait through activity changes",
87
88
  "3.81.1": "Codex reconnection and Windows fixes",
88
89
  "3.81.0": "Codex accounts on a par with Claude's, Codex over Local network, and ccdeck tui for the whole deck",
89
90
  "3.80.0": "Codex account switching, continuation and sharing",
@@ -137,6 +138,14 @@
137
138
  "3.53.1",
138
139
  "3.53.3"
139
140
  ],
141
+ "3.81.2": [
142
+ {
143
+ "title": "Codex account switches wait through activity changes",
144
+ "body": "If new work starts while a switch is being prepared, ccdeck now waits and retries safely instead of leaving the switch failed.",
145
+ "priority": "highlight",
146
+ "icon": "accounts"
147
+ }
148
+ ],
140
149
  "3.81.1": [
141
150
  {
142
151
  "title": "Fix Codex sharing on Windows",
@@ -346,6 +346,17 @@ export function createCodexLiveAccountController(input = {}) {
346
346
  }
347
347
  } catch (error) {
348
348
  handoff ??= error.handoff;
349
+ // Activity may start between the handoff snapshot and the final quiet
350
+ // check. If nothing was sent, retain the current selection and observe
351
+ // again instead of turning a harmless race into a permanent failure.
352
+ // Any durable interrupt/checkpoint or possible login stays on the
353
+ // existing recovery path: uncertain work must never be replayed.
354
+ if (error.code === 'native_activity_changed' && !maybeApplied && !checkpoint
355
+ && !journal.entries.length && !handoff?.paused?.length && owner() && await lease?.valid()) {
356
+ defer(intent, refresh, automatic);
357
+ update({ state: 'waiting', requestedProfileId: intent.id, reason: 'native_tools_active', continuation: 'waiting' });
358
+ return status();
359
+ }
349
360
  const lostControl = ['native_control_lost', 'account_changed_outside_deck', 'native_disconnected'].includes(error.code);
350
361
  if (!maybeApplied && !lostControl && handoff?.paused?.length && rpc && !closed) {
351
362
  try { await resume(); } catch { update({ continuation: 'manual_required' }); }