teamclaude-cloud 1.8.0 → 1.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teamclaude-cloud",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Multi-account Claude proxy with quota-based rotation + cloud token sync and auth-key control",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -892,7 +892,7 @@ async function statusCommand() {
892
892
  const current = acct.name === data.currentAccount ? ' *' : '';
893
893
 
894
894
  const disabledTag = acct.enabled === false ? ' [disabled]' : '';
895
- const privateTag = acct.isPrivate ? ' [private]' : '';
895
+ const privateTag = acct.isPrivate ? ' [🔑 private]' : '';
896
896
  console.log(` ${maskIf(acct.name, config.maskMode)} (${acct.type})${current}${privateTag}${disabledTag}`);
897
897
  console.log(` Status: ${acct.status}${acct.enabled === false ? ' (disabled — out of rotation)' : ''}`);
898
898
  if (acct.priority != null) console.log(` Priority: ${acct.priority} (lower = preferred)`);
package/src/tui.js CHANGED
@@ -18,6 +18,9 @@ const yellow = s => fg(33, s);
18
18
  const red = s => fg(31, s);
19
19
  const cyan = s => fg(36, s);
20
20
  const gray = s => fg(90, s);
21
+ // A pill-style badge: light-cyan text on a dark-teal background with padding, so it
22
+ // reads as a badge (like the web dashboard's) rather than plain colored text.
23
+ const badge = label => `${ESC}48;5;23m${ESC}38;5;159m ${label} ${RESET}`;
21
24
 
22
25
  const ANSI_RE = /\x1b\[[0-9;]*m/g;
23
26
  const strip = s => s.replace(ANSI_RE, '');
@@ -861,10 +864,11 @@ export class TUI {
861
864
  // badges stay column-aligned across mixed account types.
862
865
  line += l3 ? ` ${l3} ${bar(r3, bw, t3)}` : ' '.repeat(6 + bw);
863
866
  }
864
- // Provenance badge: an account in a personal (private) cloud group is tagged
865
- // "private" so it's distinguishable from a shared/fleet account. Appended (like
866
- // the rank badge) so it never disrupts the fixed-width columns / quota bars.
867
- if (a.isPrivate) line += ` ${cyan('private')}`;
867
+ // Provenance badge: an account in a personal (private) cloud group gets a pill
868
+ // badge "🔑 private" (matching the web dashboard) so it's distinguishable from a
869
+ // shared/fleet account. Appended (like the rank badge) so it never disrupts the
870
+ // fixed-width columns / quota bars.
871
+ if (a.isPrivate) line += ` ${badge('🔑 private')}`;
868
872
  // Order badge: ranked accounts show their 1-based position (#1 = most
869
873
  // preferred). While ordering, unranked accounts are labelled "auto" so the
870
874
  // two groups (pinned order vs use-or-lose) are visible. Appended last so it