clauddy 1.24.0 → 1.26.0

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.
@@ -33,11 +33,22 @@
33
33
  <circle cx="7" cy="7" r="3" />
34
34
  </svg>
35
35
  </button>
36
+ <button id="mute" title="Mute the voice for 1 hour" hidden>
37
+ <svg class="ic ic-sound" viewBox="0 0 24 24" aria-hidden="true">
38
+ <path d="M11 5 6 9H2v6h4l5 4Z" /><path d="M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14" />
39
+ </svg>
40
+ <svg class="ic ic-muted" viewBox="0 0 24 24" aria-hidden="true">
41
+ <path d="M11 5 6 9H2v6h4l5 4Z" /><path d="m22 9-6 6M16 9l6 6" />
42
+ </svg>
43
+ </button>
36
44
  <button id="usage" title="Open Usage page">
37
45
  <svg class="ic" viewBox="0 0 24 24" aria-hidden="true">
38
46
  <path d="M7 7h10v10M7 17 17 7" />
39
47
  </svg>
40
48
  </button>
49
+ <button id="pet-only-toggle" title="Just the pet" aria-label="Just the pet">
50
+ <svg class="ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 4h14v4h3v10h-3v3h-3v-3H8v3H5v-3H2V8h3Z"/><path d="M8 11v2m8-2v2"/></svg>
51
+ </button>
41
52
  <button id="min" title="Minimize / expand">
42
53
  <svg class="ic ic-min" viewBox="0 0 24 24" aria-hidden="true">
43
54
  <path d="M5 12h14" />
@@ -146,6 +157,8 @@
146
157
  <div id="sweat"><i></i><i></i></div>
147
158
  <div id="dropzone"></div>
148
159
  </div>
160
+ <!-- the pet's remarks: only on transitions, never on a timer -->
161
+ <div id="bubble" role="status" aria-live="polite" hidden><span id="bubble-text"></span></div>
149
162
  <!-- editing mode, foreground: coffee mug in front of the pet -->
150
163
  <!-- mug: its own SVG with UNIFORM scaling (no stage stretch) so it stays perfectly shaped -->
151
164
  <svg id="mug" viewBox="0 0 46 44" preserveAspectRatio="xMidYMid meet" aria-hidden="true">
@@ -192,20 +205,29 @@
192
205
  <span id="mini-acct-name"></span>
193
206
  <span id="mini-acct-plan" class="plan-badge" hidden></span>
194
207
  </div>
195
- <div class="mini-line"><span id="mini-dot"></span><span id="mini-text">idle</span></div>
208
+ <div class="mini-line"><span id="mini-dot"></span><span id="mini-workers" class="activity-logos" role="img" hidden><span data-provider="claude"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#logo-claude" /></svg></span><span data-provider="codex"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#logo-openai" /></svg></span></span><span id="mini-text">idle</span></div>
196
209
  <div id="mini-pct-row"><span id="mini-pct">0%</span> <span class="lbl">session</span></div>
197
210
  <!-- Dual-service dock: two glanceable readings, one shared pet. -->
198
211
  <div id="mini-dual">
199
212
  <button type="button" class="mini-source" data-provider="claude">
200
- <span>Claude</span><span class="mini-track"><i id="mini-claude-bar"></i></span><b id="mini-claude-value">—</b>
213
+ <svg class="mini-logo" viewBox="0 0 24 24" aria-hidden="true"><use href="#logo-claude" /></svg><span class="mini-source-name">Claude</span><span class="mini-track"><i id="mini-claude-bar"></i></span><b id="mini-claude-value">—</b>
201
214
  </button>
202
215
  <button type="button" class="mini-source" data-provider="codex">
203
- <span>Codex</span><span class="mini-track"><i id="mini-codex-bar"></i></span><b id="mini-codex-value">—</b>
216
+ <svg class="mini-logo" viewBox="0 0 24 24" aria-hidden="true"><use href="#logo-openai" /></svg><span class="mini-source-name">Codex</span><span class="mini-track"><i id="mini-codex-bar"></i></span><b id="mini-codex-value">—</b>
204
217
  </button>
205
218
  </div>
206
219
  <div id="mini-reset" hidden></div>
220
+ <button type="button" id="mini-reminder" class="reminder-toggle" hidden></button>
207
221
  </div>
208
222
 
223
+ <div id="pet-activity" class="activity-logos" role="img" hidden><span data-provider="claude"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#logo-claude" /></svg></span><span data-provider="codex"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#logo-openai" /></svg></span></div>
224
+ <section id="pet-glance" aria-label="Session usage">
225
+ <button type="button" data-provider="claude" id="glance-claude"><svg class="mini-logo" viewBox="0 0 24 24" aria-hidden="true"><use href="#logo-claude" /></svg><span>Claude</span><b id="glance-claude-value">—</b></button>
226
+ <button type="button" data-provider="codex" id="glance-codex"><svg class="mini-logo" viewBox="0 0 24 24" aria-hidden="true"><use href="#logo-openai" /></svg><span>Codex</span><b id="glance-codex-value">—</b></button>
227
+ <span id="glance-empty" hidden>Connect an account in Settings.</span>
228
+ <button type="button" id="pet-restore" aria-label="Open compact monitor" title="Open compact monitor"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 4h6v6M20 4l-7 7M10 20H4v-6M4 20l7-7" /></svg></button>
229
+ </section>
230
+ <div id="companion-notice" role="status" hidden></div>
209
231
  <!-- collapsible content -->
210
232
  <div id="content">
211
233
  <!-- status -->
@@ -231,6 +253,7 @@
231
253
  <div class="meter-top"><span>current session</span><span id="session-pct">0%</span></div>
232
254
  <div class="track"><div class="fill" id="session-fill"></div></div>
233
255
  <div class="sub" id="session-sub">no active session</div>
256
+ <button type="button" id="reminder-toggle" class="reminder-toggle" hidden></button>
234
257
  <div class="sub proj" id="session-proj" hidden></div>
235
258
  </div>
236
259
  <div class="meter">
@@ -380,6 +403,15 @@
380
403
  <span class="set-row-label">Zoom</span>
381
404
  <span class="num"><button type="button" class="num-btn" data-for="set-zoom" data-step="-25">−</button><span class="num-val"><input id="set-zoom" type="number" min="100" max="200" step="25" /><i>%</i></span><button type="button" class="num-btn" data-for="set-zoom" data-step="25">+</button></span>
382
405
  </div>
406
+ <div class="settings-label threshold-label">voice</div>
407
+ <div class="set-row">
408
+ <span class="set-row-label">Speech bubbles</span>
409
+ <input id="set-talk" class="set-toggle" type="checkbox" aria-label="Let the pet talk" />
410
+ </div>
411
+ <div class="set-row voice-sub">
412
+ <span class="set-row-label">Chiptune voice</span>
413
+ <input id="set-sound" class="set-toggle" type="checkbox" aria-label="Play blips when the pet talks" />
414
+ </div>
383
415
  </div>
384
416
 
385
417
  <div class="set-actions">
@@ -398,6 +430,8 @@
398
430
  </div>
399
431
  </div>
400
432
  <script src="burn.js"></script>
433
+ <script src="voice.js"></script>
434
+ <script src="companion.js"></script>
401
435
  <script src="pet.js"></script>
402
436
  </body>
403
437
  </html>