ccdeck 3.48.0 → 3.48.1
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/README.md +1 -1
- package/dist/web/assets/{BrowserWatchModal-DuopT2Oa.js → BrowserWatchModal-Dfsuy2cT.js} +1 -1
- package/dist/web/assets/{IntegrationModal-CszT-tts.js → IntegrationModal-CcSR7YB-.js} +1 -1
- package/dist/web/assets/{RadioPanel-Cn3WvPUG.js → RadioPanel-s7WXdS6v.js} +1 -1
- package/dist/web/assets/{TrafficRadar-DZA8XSi7.js → TrafficRadar-C5GXMIwi.js} +1 -1
- package/dist/web/assets/{UsageHistoryModal-MgZJLXbF.js → UsageHistoryModal-CiExD9wF.js} +1 -1
- package/dist/web/assets/{app-F1xryJpn.js → app-BFaxhiED.js} +6 -6
- package/dist/web/assets/{index-BK9avF1k.js → index-ByovgZ_7.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/release-notes.json +2 -1
- package/src/server/deck-prefs.mjs +23 -13
- package/src/server/lan-deck.mjs +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./app-
|
|
1
|
+
import"./app-BFaxhiED.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)}})();
|
package/dist/web/index.html
CHANGED
|
@@ -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-
|
|
81
|
-
<link rel="modulepreload" crossorigin href="/assets/app-
|
|
80
|
+
<script type="module" crossorigin src="/assets/index-ByovgZ_7.js"></script>
|
|
81
|
+
<link rel="modulepreload" crossorigin href="/assets/app-BFaxhiED.js">
|
|
82
82
|
<link rel="stylesheet" crossorigin href="/assets/app-DjlHxWHg.css">
|
|
83
83
|
</head>
|
|
84
84
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccdeck",
|
|
3
|
-
"version": "3.48.
|
|
3
|
+
"version": "3.48.1",
|
|
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": {
|
package/release-notes.json
CHANGED
|
@@ -171,16 +171,18 @@ export const DEFAULTS = Object.freeze({
|
|
|
171
171
|
// of one person's machines show each other where they are working; off, and
|
|
172
172
|
// paired decks read "current account hidden" instead.
|
|
173
173
|
shareActive: true,
|
|
174
|
-
// THE LOGIN THIS DECK IS USING, SENT TO A PAIRED DECK,
|
|
175
|
-
// turns it
|
|
176
|
-
//
|
|
177
|
-
//
|
|
178
|
-
//
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
|
|
174
|
+
// THE LOGIN THIS DECK IS USING, SENT TO A PAIRED DECK, on unless somebody
|
|
175
|
+
// turns it off: a ticked account goes out whether or not this deck is on it
|
|
176
|
+
// (owner, 2026-10-27, 3.48.1). From #2192 until then it was off, and people
|
|
177
|
+
// read a ticked account that never arrived as sharing being broken. The
|
|
178
|
+
// cost is the one #2192 found: the two machines then hold one login, and a
|
|
179
|
+
// Claude login renews once, so whichever copy renews second is signed out.
|
|
180
|
+
// The "Also active on" warning and Auto-switch avoiding an account active
|
|
181
|
+
// on another deck (#2192) stay, and the switch keeps it here for whoever
|
|
182
|
+
// wants that. See `sendInUseSet` in normalise for why a saved false from
|
|
183
|
+
// before 3.48.1 does not count.
|
|
184
|
+
sendInUse: true,
|
|
185
|
+
sendInUseSet: false,
|
|
184
186
|
// FINDING THIS PERSON'S OTHER MACHINES OVER TAILSCALE, off until they turn
|
|
185
187
|
// it on: it is a new path off this machine, and the owner chooses it. Its
|
|
186
188
|
// two permissions ship on, like the local pair above, and they are narrower
|
|
@@ -321,9 +323,14 @@ function normaliseLan(raw) {
|
|
|
321
323
|
// Whether paired decks are told which shared account this one is on. Absent
|
|
322
324
|
// is on — the default above — and only a real boolean turns it off.
|
|
323
325
|
shareActive: flagOr(src.shareActive, DEFAULTS.lan.shareActive),
|
|
324
|
-
// Whether the login in use here may be sent.
|
|
325
|
-
//
|
|
326
|
-
sendInUse:
|
|
326
|
+
// Whether the login in use here may be sent. On unless somebody turned it
|
|
327
|
+
// off on 3.48.1 or later. Every write saves the whole normalised `lan`, so
|
|
328
|
+
// a deck from before then holds `sendInUse: false` whether or not anybody
|
|
329
|
+
// pressed the switch: the old default, written back with a tick or a name.
|
|
330
|
+
// That false says nothing, so it counts only beside `sendInUseSet`, which
|
|
331
|
+
// the page's own write of the switch adds (pagePatch).
|
|
332
|
+
sendInUse: src.sendInUseSet === true ? flagOr(src.sendInUse, DEFAULTS.lan.sendInUse) : DEFAULTS.lan.sendInUse,
|
|
333
|
+
sendInUseSet: src.sendInUseSet === true,
|
|
327
334
|
// The Tailscale switch and its two permissions. Only a real boolean
|
|
328
335
|
// overrides a default, as above.
|
|
329
336
|
tailscale: flagOr(src.tailscale, DEFAULTS.lan.tailscale),
|
|
@@ -753,6 +760,9 @@ export function pagePatch(body) {
|
|
|
753
760
|
};
|
|
754
761
|
const patch = pick(body, PAGE_FIELDS.top);
|
|
755
762
|
const lan = pick(body?.lan, PAGE_FIELDS.lan);
|
|
763
|
+
// Somebody pressed the switch, so from now on its value is a choice, not the
|
|
764
|
+
// default written back (see `sendInUseSet` in normalise).
|
|
765
|
+
if (Object.hasOwn(lan, "sendInUse")) lan.sendInUseSet = true;
|
|
756
766
|
return Object.keys(lan).length ? { ...patch, lan } : patch;
|
|
757
767
|
}
|
|
758
768
|
|
package/src/server/lan-deck.mjs
CHANGED
|
@@ -360,7 +360,8 @@ export function lanApplyFields(prefs, { load = false, env = process.env } = {})
|
|
|
360
360
|
// Whether paired decks are told which shared account this one is on.
|
|
361
361
|
shareActive: lan.shareActive !== false,
|
|
362
362
|
// Whether the account this deck is using right now may be sent to a paired
|
|
363
|
-
// deck.
|
|
363
|
+
// deck. On since 3.48.1 unless somebody turned it off (normalise in
|
|
364
|
+
// deck-prefs.mjs, #2192).
|
|
364
365
|
sendInUse: lan.sendInUse === true,
|
|
365
366
|
// Discovery over Tailscale, off unless somebody turned it on, and the two
|
|
366
367
|
// permissions that answer for the owner's own machines there.
|