@double_geste/agent-standup 1.44.0 → 1.45.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@double_geste/agent-standup",
3
- "version": "1.44.0",
3
+ "version": "1.45.0",
4
4
  "description": "Your Claude Code, Codex and Mistral Vibe agents as a live video call, from the terminal: a local page in your browser, plus one-line status for status bars. Free, open source, zero token cost.",
5
5
  "bin": {
6
6
  "agent-standup": "bin/agent-standup.js"
package/public/index.html CHANGED
@@ -266,8 +266,8 @@
266
266
  .ticker { display:none; position:absolute; left:6px; right:6px; bottom:30px; font:10.5px/1.3 ui-monospace,Menlo,monospace; color:#fff; background:rgba(15,20,35,.8); border-radius:5px; padding:2px 7px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
267
267
  .ticker.on { display:block } .ticker i { font-style:normal; color:#ffd24a } .ticker.flash { animation:flash .25s } @keyframes flash { from { background:#3b5bdb } }
268
268
  /* character animation: all state-driven from the tile's classes */
269
- .fig { transform-origin:50px 76px; animation:bob 4.4s ease-in-out infinite; animation-delay:var(--d,0s) } /* the endless motions are moved by one clock in the script (IDLE_ANIMS), not 60 times a second by the browser */ @keyframes bob { 50% { transform:translateY(-.9px) } }
270
- .tile.speaking .fig { animation:talk .46s ease-in-out infinite } .tile.speaking .fig.still { animation:bob 4.4s ease-in-out infinite; animation-delay:var(--d,0s) } /* a character with a head of its own: the body does not squash, the head nods */
269
+ .fig { transform-origin:50px 76px; animation:bob var(--bd,4.4s) ease-in-out infinite; animation-delay:var(--d,0s) } /* the endless motions are moved by one clock in the script (IDLE_ANIMS), not 60 times a second by the browser */ @keyframes bob { 50% { transform:translateY(-.9px) } }
270
+ .tile.speaking .fig { animation:talk .46s ease-in-out infinite } .tile.speaking .fig.still { animation:bob var(--bd,4.4s) ease-in-out infinite; animation-delay:var(--d,0s) } /* a character with a head of its own: the body does not squash, the head nods */
271
271
  .chead { transform-origin:50px 44px } .tile.speaking .chead, #pcam.speaking .chead { animation:nod .6s ease-in-out infinite } @keyframes nod { 35% { transform:rotate(-.25deg) translateY(-.18px) } 75% { transform:rotate(.15deg) } } /* very light: the mouth does the talking */ @keyframes talk { 50% { transform:scale(1.025,.985) translateY(-.5px) } }
272
272
  .tile.vanishing { pointer-events:none; z-index:3; animation:vanish 1.2s cubic-bezier(.45,0,.75,.35) forwards }
273
273
  @keyframes vanish { 0% { filter:none; transform:none; opacity:1 } 16% { filter:brightness(1.7) saturate(1.5); transform:scale(1.05) } 55% { filter:brightness(2.3) blur(1.5px); transform:scale(.88) rotate(-3deg); opacity:.85 } 100% { filter:brightness(3.4) blur(11px); transform:scale(.12) rotate(11deg); opacity:0 } }
@@ -278,11 +278,11 @@
278
278
  .toast.offer { pointer-events:auto; animation:none; display:flex; align-items:center; gap:8px; padding:4px 6px 4px 12px; order:9 } .toast.offer .btn { padding:3px 10px; font-size:12px; white-space:nowrap } .toast.offer .ic { font-size:11px; padding:2px 6px }
279
279
  #packNoteI { width:48px; height:36px; border-radius:4px; object-fit:cover; flex:none; cursor:pointer; margin-left:-6px } /* the offer of the real voices: stays until answered, under the passing toasts */
280
280
  .toast { background:rgba(27,29,39,.92); border:1px solid var(--line); border-radius:99px; padding:5px 12px; font-size:12px; animation:toast 3s ease forwards } @keyframes toast { 0% { opacity:0; transform:translateY(6px) } 10%, 80% { opacity:1; transform:none } 100% { opacity:0 } }
281
- .eye { transform-box:fill-box; transform-origin:center; animation:blink 4.6s infinite; animation-delay:var(--d,0s) } @keyframes blink { 0%,94%,100% { transform:scaleY(1) } 97% { transform:scaleY(.08) } }
281
+ .eye { transform-box:fill-box; transform-origin:center; animation:blink var(--kd,4.6s) infinite; animation-delay:var(--d,0s) } @keyframes blink { 0%,94%,100% { transform:scaleY(1) } 97% { transform:scaleY(.08) } }
282
282
  .brow { transform-box:fill-box; transform-origin:center; transition:transform .25s } .tile.speaking .brow { animation:brow .7s ease-in-out infinite } @keyframes brow { 50% { transform:translateY(-1.1px) } }
283
283
  .tile.working .brow.l { transform:rotate(13deg) translateY(.5px) } .tile.working .brow.r { transform:rotate(-13deg) translateY(.5px) } .tile.working .pupil { transform:translateY(1.2px) }
284
- .arm.l { transform-origin:27px 48px } .arm.r { transform-origin:73px 48px } .tile.speaking .arm.r { animation:wave .7s ease-in-out infinite } @keyframes wave { 50% { transform:rotate(-34deg) } }
285
- .tile.working .arm { display:none } .tile .laptop, .tile .hands, .tile .sparks, .tile .grin, .tile .eyes-happy, .tile .mouth { display:none }
284
+ .arm { transition:transform .35s ease } .arm.l { transform-origin:27px 48px } .arm.r { transform-origin:73px 48px } .tile.speaking .arm.r { animation:wave .7s ease-in-out infinite } @keyframes wave { 50% { transform:rotate(-34deg) } }
285
+ .tile.working .arm.l { transform:rotate(-24deg) } .tile.working .arm.r { transform:rotate(24deg); animation:none } /* at work the arms reach in, behind the laptop */ .tile .laptop, .tile .hands, .tile .sparks, .tile .grin, .tile .eyes-happy, .tile .mouth { display:none }
286
286
  .tile.working .laptop, .tile.working .hands, .tile.done .sparks, .tile.done .eyes-happy { display:inline } .tile.done .eyes-open { display:none }
287
287
  .tile .eyes-open { transition:transform .45s ease; transform:translate(calc(var(--lx,0) * 1.4px), calc(var(--ly,0) * .9px)) } .tile.working .eyes-open { transform:translate(0,0) } /* the others glance at whoever speaks (gaze()); one move per line, not an endless animation; at work, eyes on the laptop */
288
288
  .tile.speaking .mouth { display:inline } .tile.speaking .smile, .tile.speaking .grin { display:none } .tile.done:not(.speaking) .smile { display:none } .tile.done:not(.speaking) .grin { display:inline }
@@ -293,6 +293,14 @@
293
293
  .drift { animation:drift 24s ease-in-out infinite alternate } @keyframes drift { to { transform:translateX(9px) } }
294
294
  .steam { animation:steam 2.6s ease-in-out infinite } @keyframes steam { 50% { transform:translateY(-1.4px); opacity:.25 } }
295
295
  .tile.done .sparks path { animation:tw 1.6s ease-in-out infinite }
296
+ /* one-shot moves (oneShot()), never endless: the lid opens and closes, the hands come to the keyboard once it is open, arms up when the work is done, a nod, raised eyebrows, a breath before the first word, the mouth settling into a smile, a stretch */
297
+ .lid { transform-origin:50px 64px } .tile.working .lid { animation:lidup .45s cubic-bezier(.2,.8,.3,1) } .tile.lidshut .laptop { display:inline } .tile.lidshut .lid { animation:lidshut .38s ease-in forwards } .tile.working .hands { animation:handsin .3s ease-out .25s both }
298
+ @keyframes lidup { from { transform:scaleY(.06) } } @keyframes lidshut { to { transform:scaleY(.06) } } @keyframes handsin { from { opacity:0; transform:translateY(2px) } }
299
+ .tile.yay .arm.l { animation:yayl .9s ease-in-out } .tile.yay .arm.r { animation:yayr .9s ease-in-out } .tile.yay:not(.speaking) .fig { animation:hop .7s ease-out } @keyframes yayl { 35%, 65% { transform:rotate(58deg) } } @keyframes yayr { 35%, 65% { transform:rotate(-58deg) } } @keyframes hop { 30% { transform:translateY(-2.4px) } 55% { transform:none } 75% { transform:translateY(-.8px) } }
300
+ .tile.nod1:not(.speaking) .fig { animation:nod1 .75s ease-in-out } @keyframes nod1 { 30% { transform:translateY(1px) rotate(.5deg) } 60% { transform:translateY(-.4px) } }
301
+ .tile.stretch:not(.speaking) .fig { animation:stretch 1.2s ease-in-out } @keyframes stretch { 40% { transform:scale(1.03,.97) translateY(.6px) } 65% { transform:scale(.98,1.035) translateY(-1.2px) } }
302
+ .tile.inhale .brow { animation:browup .34s ease-out } .tile.wow .brow { animation:wow 1.1s ease-out } @keyframes browup { 50% { transform:translateY(-1.8px) } } @keyframes wow { 20%, 70% { transform:translateY(-1.9px) } }
303
+ .tile.settle .smile, .tile.settle .grin { transform-box:fill-box; transform-origin:center; animation:settle .35s ease-out } @keyframes settle { from { transform:scale(.55,1.8) } }
296
304
  @media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none !important; transition:none !important } .confetti, .fly { display:none !important } }
297
305
  .tile:focus-visible, .rr:focus-visible, .bcard:focus-visible { outline:2px solid var(--accent); outline-offset:2px }
298
306
  .fly { position:fixed; left:0; top:0; font-size:28px; z-index:8; pointer-events:none; filter:drop-shadow(0 3px 4px rgba(0,0,0,.5)) }
@@ -402,6 +410,7 @@
402
410
  <div class="hint" id="trHint" style="display:none"></div>
403
411
  <h4 data-fr="Son" data-en="Sound">Son</h4>
404
412
  <button class="mi" data-t="voice"><span data-fr="Voix des agents" data-en="Agent voices">Voix des agents</span><i class="sw"></i></button>
413
+ <button class="mi" data-t="zen"><span data-fr="Mode zen : les alertes, sans les voix" data-en="Zen mode: alerts, no voices">Mode zen : les alertes, sans les voix</span><i class="sw"></i></button>
405
414
  <div class="box" id="voiceVolBox" style="display:none"><input id="voiceVol" type="range" min="0.05" max="1" step="0.05" style="width:100%" aria-label="Voice volume"></div>
406
415
  <div class="box" id="vstyleBox"><label class="lbl" for="vstyle" data-fr="Style des voix" data-en="Voice style">Style des voix</label><select id="vstyle"></select><div class="hint" id="vstyleTip" style="padding:6px 0 0;display:none" data-fr="Pour la meilleure expérience, choisissez les voix naturelles." data-en="For the best experience, pick the natural voices.">Pour la meilleure expérience, choisissez les voix naturelles.</div></div>
407
416
  <div class="box" id="kokoroBox" style="display:none"><button class="btn" id="kokoroInstall" style="width:100%"></button><div class="hint" id="kokoroHint" style="padding:2px 0 6px"></div></div>
@@ -829,7 +838,7 @@ function avatarSVG(p, o, uid = '') { // uid keeps SVG ids unique per instance:
829
838
  const st = !!o, sh = SHAPES[p.shape], fy = sh.fy, top = sh.top, bot = p.shape === 4, c = p.shirt, c1 = mix(c, '#ffffff', .3), c2 = mix(c, '#000000', .2);
830
839
  const ink = bot ? '#8ff0ff' : '#2a2233', gid = uid + 'b' + p.gid, sc = SCENES[p.scene], eg = EYES[p.eye], ex = p.shape === 1 ? [43, 57] : [41.5, 58.5];
831
840
  const V = (cls, show, html) => (st ? (show ? html : '') : `<g class="${cls}">${html}</g>`);
832
- const d0 = -((hash(p.id) % 45) / 10);
841
+ const d0 = -((hash(p.id) % 45) / 10), bd = 4 + ((hash(p.id) >>> 4) % 15) / 10, kd = 4 + ((hash(p.id) >>> 9) % 21) / 10; // its own breathing (4 to 5.4 s) and blinking (4 to 6 s): a full call does not move in step
833
842
  const eye = (x) => `<g class="eye"><ellipse cx="${x}" cy="${fy}" rx="${eg.rx}" ry="${eg.ry}" fill="${ink}"/><g class="pupil"><circle cx="${x + 1}" cy="${fy - 1.5}" r="1.1" fill="#fff"/><circle cx="${x - 1}" cy="${fy + 1.4}" r=".55" fill="#fff" opacity=".7"/></g></g>`;
834
843
  const happy = (x) => `<path d="M${x - 3.6} ${fy + 1.4}Q${x} ${fy - 4.2} ${x + 3.6} ${fy + 1.4}" fill="none" stroke="${ink}" stroke-width="1.7" stroke-linecap="round"/>`;
835
844
  const brow = (x, s) => `<path class="brow ${s}" d="M${x - 3.6} ${fy - eg.ry - 3}q3.6-2 7.2 0" fill="none" stroke="${ink}" stroke-width="1.4" stroke-linecap="round"/>`;
@@ -841,13 +850,13 @@ function avatarSVG(p, o, uid = '') { // uid keeps SVG ids unique per instance:
841
850
  ${V('mouth', speaking, `<ellipse class="mouthE" cx="50" cy="${my + 1}" rx="${mopen ? 4 : 4.6}" ry="${mopen ? 4.4 : .9}" fill="${bot ? '#8ff0ff' : '#4b1c2c'}"/>`)}
842
851
  ${p.glasses ? `<g fill="rgba(255,255,255,.16)" stroke="#2c2f40" stroke-width="1.1"><circle cx="${ex[0]}" cy="${fy}" r="6.2"/><circle cx="${ex[1]}" cy="${fy}" r="6.2"/><path d="M${ex[0] + 6.2} ${fy}h${ex[1] - ex[0] - 12.4}" fill="none"/></g>` : ''}`;
843
852
  const acc = ACC[p.acc](top, p.acc2, fy, sh.hw) + (p.lead ? `<path d="M${50 - sh.hw} ${fy + 5}q-2 11 13 12" fill="none" stroke="#2c2f40" stroke-width="1.2" stroke-linecap="round"/><circle cx="${50 - sh.hw + 13}" cy="${fy + 17}" r="1.9" fill="#2c2f40"/>` : '');
844
- const arm = (side) => `<g class="arm ${side}"><ellipse cx="${side === 'l' ? 25 : 75}" cy="56" rx="4.6" ry="9" fill="${c2}" transform="rotate(${side === 'l' ? 12 : -12} ${side === 'l' ? 25 : 75} 56)"/></g>`;
853
+ const arm = (side) => `<g class="arm ${side}"${working ? ` transform="rotate(${side === 'l' ? -24 : 24} ${side === 'l' ? 27 : 73} 48)"` : ''}><ellipse cx="${side === 'l' ? 25 : 75}" cy="56" rx="4.6" ry="9" fill="${c2}" transform="rotate(${side === 'l' ? 12 : -12} ${side === 'l' ? 25 : 75} 56)"/></g>`;
845
854
  const prop = [`<path d="M11 62.4l1.6-7.4h7.2l1.6 7.4z" fill="#e07a5f"/><path d="M16 55q-6-8-2-12q5 4 2 12z" fill="#3fbf7f"/><path d="M16 55q6-7 10-5q-1 6-10 5z" fill="#53c98a"/>`,
846
855
  `<rect x="79" y="55.6" width="7.4" height="6.8" rx="1.6" fill="#f6f2ea"/><path d="M86.2 57q3.2 0 3.2 2.2t-3.2 2.2" fill="none" stroke="#f6f2ea" stroke-width="1.3"/><g class="steam" fill="none" stroke="#fff" stroke-width=".8" stroke-linecap="round" opacity=".7"><path d="M81.5 53q-1.4-1.8 0-3.4M84.3 53q-1.4-1.8 0-3.4"/></g>`,
847
856
  `<rect x="76" y="58.2" width="14" height="4.2" rx="1" fill="#ff7a6b"/><rect x="77.5" y="54.4" width="12" height="3.8" rx="1" fill="#4cc3ff"/><rect x="76.5" y="50.8" width="11" height="3.6" rx="1" fill="#ffd84a"/>`][p.prop] + (pumpkinDay() ? pumpkin(p.prop === 0 ? 83 : 17) : ''); /* on the 30th and 31st of October, a carved pumpkin on the other side of the desk */
848
- const lap = `<rect x="33" y="46" width="34" height="18" rx="2.8" fill="#d3d8e6"/><rect x="33" y="46" width="34" height="18" rx="2.8" fill="url(#${uid}lg)" opacity=".5"/><circle cx="50" cy="55" r="2.3" fill="${c1}"/><rect x="29.5" y="63.4" width="41" height="3" rx="1.5" fill="#aab1c2"/>`;
857
+ const lap = `<g class="lid"><rect x="33" y="46" width="34" height="18" rx="2.8" fill="#d3d8e6"/><rect x="33" y="46" width="34" height="18" rx="2.8" fill="url(#${uid}lg)" opacity=".5"/><circle cx="50" cy="55" r="2.3" fill="${c1}"/></g><rect x="29.5" y="63.4" width="41" height="3" rx="1.5" fill="#aab1c2"/>`;
849
858
  const lapDark = `<rect x="33" y="46" width="34" height="18" rx="2.8" fill="#3b4152"/><rect x="33" y="46" width="34" height="18" rx="2.8" fill="url(#${uid}lg)" opacity=".18"/><circle cx="50" cy="55" r="2.3" fill="${c1}"/><rect x="29.5" y="63.4" width="41" height="3" rx="1.5" fill="#262a36"/>`; // for custom characters: darker, so it still shows under a white or cream sprite
850
- const hands = `<circle class="hand l" cx="38" cy="65.6" r="3.1" fill="${c2}"/><circle class="hand r" cx="62" cy="65.6" r="3.1" fill="${c2}"/>`;
859
+ const hands = `<circle class="hand l" cx="32.7" cy="59.8" r="3.1" fill="${c2}"/><circle class="hand r" cx="67.3" cy="59.8" r="3.1" fill="${c2}"/>`; // on the keyboard, behind the lid we see from the back: only their outer sides show
851
860
  const sparks = star(22, 28, 3) + star(78, 22, 2.6, '#ff9bb8') + star(70, 40, 1.9, '#9be7ff') + star(30, 46, 1.6, '#ffe58a');
852
861
  const custFig = (c, talking, who) => { const base = c.full ? 'width="100" height="75" preserveAspectRatio="xMidYMid slice"' : 'x="20" y="6" width="60" height="58" preserveAspectRatio="xMidYMax meet"', px = c.smooth ? '' : 'image-rendering:pixelated;';
853
862
  const worn = c.extras ? Object.keys(c.extras).filter((k) => !/^sticker/.test(k)).map((k) => { const n = c.extras[k].length, i = hash(who + '+' + k) % (2 * n); return i < n ? `<image href="${c.extras[k][i]}" ${base} style="${px}"/>` : ''; }).join('') : ''; // one of each kind, or none, half of the time: always the same for a given agent
@@ -867,12 +876,12 @@ function avatarSVG(p, o, uid = '') { // uid keeps SVG ids unique per instance:
867
876
  <linearGradient id="${uid}dk${p.scene}" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="${sc.desk[0]}"/><stop offset="1" stop-color="${sc.desk[1]}"/></linearGradient>
868
877
  <linearGradient id="${uid}lg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient></defs>
869
878
  ${room ? `<clipPath id="${room}c"><rect y="62" width="100" height="13"/></clipPath><image id="${room}" href="${p.custom.bg}" width="100" height="75" preserveAspectRatio="xMidYMid slice"${p.custom.bgSmooth ? '' : ' style="image-rendering:pixelated"'}/>` : sc.svg().replace(/id="(g[a-z]\d)"/g, `id="${uid}$1"`).replace(/url\(#(g[a-z]\d)\)/g, `url(#${uid}$1)`)}
870
- <g class="fig${p.custom && p.custom.head ? ' still' : ''}" style="--d:${d0}s">
879
+ <g class="fig${p.custom && p.custom.head ? ' still' : ''}" style="--d:${d0}s;--bd:${bd}s;--kd:${kd}s">
871
880
  ${fig}
872
881
  </g>
873
882
  ${p.custom ? custFront(p.custom, uid + 'hd' + p.gid, p.id || p.gid) : ''}
874
883
  ${room ? `<use href="#${room}" clip-path="url(#${room}c)"/>` : `<rect y="62" width="100" height="13" fill="url(#${uid}dk${p.scene})"/><rect y="62" width="100" height="1.3" fill="#fff" opacity=".38"/><rect y="63.3" width="100" height="2.6" fill="#000" opacity=".1"/>`}
875
- ${room ? '' : prop}${p.custom ? (prefs.customLaptop && !(p.custom.desks && p.custom.desks.length) ? V('laptop', working, lapDark) : '') : V('laptop', working, lap) + V('hands', working, hands)}${V('sparks', done, `<g class="sparks">${sparks}</g>`)}
884
+ ${room ? '' : prop}${p.custom ? (prefs.customLaptop && !(p.custom.desks && p.custom.desks.length) ? V('laptop', working, lapDark) : '') : V('hands', working, hands) + V('laptop', working, lap)}${V('sparks', done, `<g class="sparks">${sparks}</g>`)}
876
885
  </svg>`;
877
886
  }
878
887
 
@@ -996,6 +1005,7 @@ function updateHint() {
996
1005
  const AUD = {
997
1006
  ctx: null, muted: false, live: new Set(), lastClick: 0,
998
1007
  off() { return this.muted || !!S.hush || !!(S.owner && S.owner !== CID); }, // muted here, not turned on yet (S.hush: no click since the page opened), or another window holds the sound
1008
+ calm() { return this.off() || !!prefs.zen; }, // zen mode: the alerts (done, needs you, a knock) still chime; voices, ambience, music and reaction pops are silent
999
1009
  init() {
1000
1010
  if (this.ctx) { this.ctx.resume(); return; }
1001
1011
  let c; try { c = this.ctx = new (window.AudioContext || window.webkitAudioContext)(); } catch { return; }
@@ -1007,10 +1017,10 @@ const AUD = {
1007
1017
  const src = c.createBufferSource(); src.buffer = buf; src.loop = true; const lp = c.createBiquadFilter(); lp.type = 'lowpass'; lp.frequency.value = 500;
1008
1018
  const g = c.createGain(); g.gain.value = 0.3; src.connect(lp).connect(g).connect(this.sfx); src.start(); this.apply(); OFFICE.start();
1009
1019
  },
1010
- apply() { if (!this.ctx) return; this.sfx.gain.value = prefs.office && !this.off() ? 1 : 0; this.voice.gain.value = prefs.voice && !this.off() ? (prefs.voiceVol ?? 1) : 0; this.applyMusic(); RADIO.sync(); },
1020
+ apply() { if (!this.ctx) return; this.sfx.gain.value = prefs.office && !this.calm() ? 1 : 0; this.voice.gain.value = prefs.voice && !this.calm() ? (prefs.voiceVol ?? 1) : 0; this.applyMusic(); RADIO.sync(); },
1011
1021
  // Music fades down quickly when an agent starts talking and comes back slowly once the room is quiet.
1012
- applyMusic() { if (!this.ctx) return; this.amb.gain.setTargetAtTime((this.ducked ? 0.35 : 1) * (prefs.officeVol ?? 0.8), this.ctx.currentTime, 0.25); const v = prefs.music && !this.off() ? (prefs.musicVol ?? 0.35) * (this.ducked ? 0.16 : 1) : 0; this.music.gain.setTargetAtTime(v, this.ctx.currentTime, this.ducked ? 0.12 : 0.7); },
1013
- blip(f) { if (!this.ctx || this.off()) return; const c = this.ctx, t = c.currentTime, o = c.createOscillator(), g = c.createGain(); o.type = 'sine'; o.frequency.setValueAtTime(f, t); o.frequency.exponentialRampToValueAtTime(f * 1.5, t + 0.1); g.gain.setValueAtTime(0.0001, t); g.gain.exponentialRampToValueAtTime(0.12, t + 0.015); g.gain.exponentialRampToValueAtTime(0.0001, t + 0.22); o.connect(g).connect(c.destination); o.start(t); o.stop(t + 0.25); },
1022
+ applyMusic() { if (!this.ctx) return; this.amb.gain.setTargetAtTime((this.ducked ? 0.35 : 1) * (prefs.officeVol ?? 0.8), this.ctx.currentTime, 0.25); const v = prefs.music && !this.calm() ? (prefs.musicVol ?? 0.35) * (this.ducked ? 0.16 : 1) : 0; this.music.gain.setTargetAtTime(v, this.ctx.currentTime, this.ducked ? 0.12 : 0.7); },
1023
+ blip(f) { if (!this.ctx || this.calm()) return; const c = this.ctx, t = c.currentTime, o = c.createOscillator(), g = c.createGain(); o.type = 'sine'; o.frequency.setValueAtTime(f, t); o.frequency.exponentialRampToValueAtTime(f * 1.5, t + 0.1); g.gain.setValueAtTime(0.0001, t); g.gain.exponentialRampToValueAtTime(0.12, t + 0.015); g.gain.exponentialRampToValueAtTime(0.0001, t + 0.22); o.connect(g).connect(c.destination); o.start(t); o.stop(t + 0.25); },
1014
1024
  alert() { // a soft two-note chime for "your agents are done"; separate from the office sounds so it works with ambience off
1015
1025
  if (!this.ctx || this.off()) return; const c = this.ctx;
1016
1026
  [[784, 0], [1047, 0.16], [1319, 0.32]].forEach(([f, w]) => { const t = c.currentTime + w, o = c.createOscillator(), g = c.createGain(); o.type = 'sine'; o.frequency.value = f; g.gain.setValueAtTime(0.0001, t); g.gain.exponentialRampToValueAtTime(0.16, t + 0.02); g.gain.exponentialRampToValueAtTime(0.0001, t + 0.9); o.connect(g).connect(c.destination); o.start(t); o.stop(t + 0.95); });
@@ -1048,7 +1058,7 @@ const AUD = {
1048
1058
  // Office ambience, all synthesised (no audio files): keyboards that follow real activity, a coffee machine, and small room noises.
1049
1059
  const OFFICE = {
1050
1060
  nb: null, ty: [0, 1, 2].map(() => ({ n: 0, at: 0, pan: 0 })), pt: 0, prev: 0, nextCoffee: 22000, nextMisc: 9000, timer: null,
1051
- ok() { return AUD.ctx && prefs.office && !AUD.off() && S.playing; },
1061
+ ok() { return AUD.ctx && prefs.office && !AUD.calm() && S.playing; },
1052
1062
  noise() { const c = AUD.ctx; if (!this.nb) { this.nb = c.createBuffer(1, c.sampleRate * 2, c.sampleRate); const d = this.nb.getChannelData(0); for (let i = 0; i < d.length; i++) d[i] = Math.random() * 2 - 1; } return this.nb; },
1053
1063
  out(pan) { const c = AUD.ctx; if (!c.createStereoPanner) return AUD.amb; const p = c.createStereoPanner(); p.pan.value = pan; p.connect(AUD.amb); return p; },
1054
1064
  hit(t, out, o) { // one short filtered noise burst (+ optional low thump): the building block of keys, clicks, doors, paper
@@ -1116,7 +1126,7 @@ const RADIO = { // live web radio through WebAudio (so it can be faded when ag
1116
1126
  a.addEventListener('error', () => { this.err = !!this.cur; updateHint(); }); a.addEventListener('playing', () => { this.err = false; updateHint(); });
1117
1127
  AUD.ctx.createMediaElementSource(a).connect(AUD.music);
1118
1128
  }
1119
- const want = prefs.music && !AUD.off(), url = (STATIONS.find((s) => s.id === prefs.station) || STATIONS[0]).url;
1129
+ const want = prefs.music && !AUD.calm(), url = (STATIONS.find((s) => s.id === prefs.station) || STATIONS[0]).url;
1120
1130
  if (want) { if (this.cur !== url) { this.cur = url; this.err = false; this.el.src = url; } if (this.el.paused) this.el.play().catch(() => {}); }
1121
1131
  else if (this.cur) { this.cur = null; this.el.pause(); this.el.removeAttribute('src'); this.el.load(); } // stop downloading; it reconnects live next time
1122
1132
  },
@@ -1182,7 +1192,7 @@ function paceAt(k) {
1182
1192
  return { hurry, pace: Math.min(q > 7 ? 70 : q > 3 ? 130 : 260, lg > 30 ? 70 : lg > 15 ? 130 : lg > 6 ? 200 : 260), boost: hurry || S.events.length - k > 60 ? 3 : 1 };
1183
1193
  }
1184
1194
  function warmTTS(i) { // called by run() before each line (i is that line) and when new events arrive (i is the first of them)
1185
- if (!TTS.server || !AUD.ctx || AUD.off() || !prefs.voice || babbles()) return;
1195
+ if (!TTS.server || !AUD.ctx || AUD.calm() || !prefs.voice || babbles()) return;
1186
1196
  const fresh = i <= S.idx, from = fresh ? i : S.idx + 1, len = S.events.length, jobs = []; let n = 0; if (!fresh && !S.playing) return; // new events while a line is being read: the lines after it are planned again, they may now be read shorter and faster
1187
1197
  for (let k = from; k < Math.min(len, from + 400) && n < 4;) {
1188
1198
  const e = S.events[k]; if (quiet(e)) { k++; continue; }
@@ -1345,7 +1355,7 @@ function sessVoice(text, ev) { // for the lines that come from the session (ev
1345
1355
  }
1346
1356
  async function speakLine(text, p, primary, token, lo = voiceLang(text), always = false) { // always: your own lines are voiced even when the call is behind
1347
1357
  captionRun(p.id, text, estMs(text));
1348
- if (AUD.off() || !prefs.voice) { if (!AUD.off() && prefs.office) AUD.murmur(0.5 + (p.vi % 5) / 10, estMs(text) / 1000); return sleep(estMs(text)); }
1358
+ if (AUD.calm() || !prefs.voice) { if (!AUD.calm() && prefs.office) AUD.murmur(0.5 + (p.vi % 5) / 10, estMs(text) / 1000); return sleep(estMs(text)); }
1349
1359
  if (S.hurry && !always) return sleep(estMs(text));
1350
1360
  const bab = babbles(); if (bab && AUD.ctx) { try { await speakBabble(text, p, primary ? 1 : 0.5, token); return; } catch {} }
1351
1361
  if (!bab && TTS.server && AUD.ctx) { try { await speakServer(text, p, primary ? 1 : 0.5, token, lo); return; } catch {} }
@@ -1622,8 +1632,9 @@ function paintStates() {
1622
1632
  STATE_CLASSES.forEach((c) => t.classList.toggle(c, st.k === c && !(c === 'done' && st.stop))); /* stopped by the usage limit or a logout: resting, not the happy face and sparkles of done */
1623
1633
  const el = t.querySelector('.status'); if (el.textContent !== st.txt) { el.textContent = st.txt; const tb = t.querySelector('.tbadge'); if (tb) tb.style.top = el.offsetHeight > 26 ? el.offsetTop + el.offsetHeight + 4 + 'px' : ''; } /* a status on two lines: the badges under it move down */ const go = st.k === 'blocked' && st.sure ? L('Cliquez pour aller répondre', 'Click to go and answer') : ''; if (el.title !== go) el.title = go; const sc = 'status ' + st.k + (isTurn(p.id, st) ? ' turn' : '') + (st.gave || st.stop ? ' gave' : ''); if (el.className !== sc) el.className = sc;
1624
1634
  const pr = t.querySelector('.prop'), want = { blocked: '✋', stalled: '😰', waiting: '⌛' }[st.k] || '', was = S.prevState[p.id]; // a raised hand, a sweat drop, an hourglass: the call metaphor for "needs you / stuck / waiting"
1635
+ if (was === 'working' && st.k !== 'working' && shown && !p.custom && !S.hold) oneShot(t, 'lidshut', 420); else if (st.k === 'working') t.classList.remove('lidshut'); /* the drawn cast closes its laptop rather than see it vanish */
1625
1636
  const spot = S.spotted || (S.spotted = new Set()); if (st.k !== 'blocked' || !st.sure) spot.delete(p.id); else if (!spot.has(p.id) && shown && !S.gone.has(p.id) && !S.speakers.size && !(S.focusLock > Date.now())) { spot.add(p.id); setFocus(p.id); } // one that waits on you takes the spotlight once per wait, as soon as nobody talks (the speaker has it until then)
1626
- if (st.k === 'done' && was && was !== 'done' && was !== 'idle') { pr.textContent = '🎉'; pr.className = 'prop cheer'; setTimeout(() => { if (pr.classList.contains('cheer')) { pr.textContent = ''; pr.className = 'prop'; } }, 1200); }
1637
+ if (st.k === 'done' && was && was !== 'done' && was !== 'idle') { pr.textContent = '🎉'; pr.className = 'prop cheer'; if (shown) oneShot(t, 'yay', 950); setTimeout(() => { if (pr.classList.contains('cheer')) { pr.textContent = ''; pr.className = 'prop'; } }, 1200); }
1627
1638
  else if (!pr.classList.contains('cheer')) { if (pr.textContent !== want) pr.textContent = want; const pc = 'prop ' + (want ? st.k : ''); if (pr.className !== pc) pr.className = pc; }
1628
1639
  if (shown && !S.gone.has(p.id)) ros.push({ p, st });
1629
1640
  if (p.id === 'main' && st.k === 'done' && was && was !== 'done' && was !== 'idle' && S.live && S.playing) { S.wrap = was; if (Date.now() - (S.mainBusyAt || 0) > 45000) confetti(); if (S.mainBusyAt) coffeeAsk(S.mainBusyAt); } // the lead is done, its face says so: it always has a word for it (see wrapUp, which needs to know what it was doing just before), and confetti after a long turn
@@ -1800,7 +1811,7 @@ function setTicker(id, e) { // the strip on the tile: spinner while running, t
1800
1811
  tk.classList.add('on'); if (running) { tk.classList.remove('flash'); void tk.offsetWidth; tk.classList.add('flash'); }
1801
1812
  }
1802
1813
  function tickTools(ev) {
1803
- ev._n = ev.tools.length; const t = $('#t-' + ev.agent); if (!t) return; t.style.display = '';
1814
+ ev._n = ev.tools.length; const t = $('#t-' + ev.agent); if (!t) return; if (t.style.display === 'none') flip(() => (t.style.display = ''));
1804
1815
  ev.tools.forEach((tool) => pushTerm(ev.agent, tool));
1805
1816
  const buf = S.term[ev.agent], k = ev.tools[ev.tools.length - 1];
1806
1817
  S.tc[ev.agent] = (S.tc[ev.agent] || 0) + ev.tools.length; S.lastTool[ev.agent] = k.name + ' ' + (k.arg || '').slice(-38);
@@ -2148,8 +2159,21 @@ addEventListener('click', (e) => { if ($('#fpop') && !e.target.closest('#fpop, #
2148
2159
  addEventListener('keydown', (e) => { if (e.key === 'Escape' && $('#fpop')) { filesPop(false); const b = $('#fAll'); if (b) b.focus(); } });
2149
2160
  // the speaker always gets the spotlight (and keeps it until someone else talks)
2150
2161
  function setFocus(id) {
2151
- if (S.focus === id) return; const o = $('#t-' + S.focus); if (o) o.classList.remove('focus'); S.focus = id; const t = $('#t-' + id);
2152
- if (t) { t.classList.add('focus'); $('#stage').scrollTo({ top: 0, behavior: 'smooth' }); }
2162
+ if (S.focus === id) return; flip(() => { const o = $('#t-' + S.focus); if (o) o.classList.remove('focus'); S.focus = id; const t = $('#t-' + id); if (t) t.classList.add('focus'); });
2163
+ if ($('#t-' + id)) $('#stage').scrollTo({ top: 0, behavior: 'smooth' });
2164
+ }
2165
+ // the tiles slide to their new places instead of jumping there: a spotlight that moves, a tile that comes or goes. Not in a frozen moment (screenshots), while a replay is recomputed, in the compact rows, nor with reduced motion
2166
+ function flip(fn) {
2167
+ const b = document.body; if (S.hold || S.recomputing || document.hidden || reduced() || !Element.prototype.animate || b.classList.contains('compact') || b.classList.contains('tree') || b.classList.contains('board')) return fn();
2168
+ const was = new Map(); for (const t of $('#stage').children) if (t.classList.contains('tile') && t.style.display !== 'none') was.set(t, t.getBoundingClientRect()); /* where they are seen now, halfway through a slide included */
2169
+ for (const t of was.keys()) if (t._flip) { t._flip.cancel(); t._flip = null; }
2170
+ fn();
2171
+ for (const [t, a] of was) {
2172
+ if (t.style.display === 'none' || !a.width) continue; const r = t.getBoundingClientRect(); if (!r.width) continue;
2173
+ const dx = a.left + a.width / 2 - (r.left + r.width / 2), dy = a.top + a.height / 2 - (r.top + r.height / 2), sx = a.width / r.width, sy = a.height / r.height;
2174
+ if (Math.abs(dx) < 1 && Math.abs(dy) < 1 && Math.abs(sx - 1) < .02 && Math.abs(sy - 1) < .02) continue;
2175
+ try { const an = t.animate([{ transform: `translate(${dx}px,${dy}px) scale(${sx},${sy})` }, { transform: 'none' }], { duration: 340, easing: 'cubic-bezier(.25,.8,.3,1)', composite: 'add' }); t._flip = an; an.onfinish = () => { if (t._flip === an) t._flip = null; }; } catch {} /* add: on top of a pop or a join the tile may be doing */
2176
+ }
2153
2177
  }
2154
2178
  function fly(fromId, toId, emoji) {
2155
2179
  const a = $('#t-' + fromId), b = $('#t-' + toId); if (!a || !b || document.body.classList.contains('tree')) return;
@@ -2184,7 +2208,7 @@ function vanish(id) {
2184
2208
  toast(`${p.name} ${L('a quitté l’appel', 'left the call')} 👋`);
2185
2209
  if (t.style.display === 'none' || document.body.classList.contains('tree')) return;
2186
2210
  S.leaving.add(id); const say = prefs.banter && !S.hurry && !S.speakers.has(id), go = () => { t.classList.remove('bye'); if (!S.leaving.has(id)) return; t.classList.add('vanishing'); poof(t, p.shirt); AUD.tone(660, .35, 'sine', .07); AUD.tone(330, .5, 'sine', .06, .12);
2187
- setTimeout(() => { S.leaving.delete(id); t.classList.remove('vanishing'); if (S.gone.has(id)) t.style.display = 'none'; }, 1250); };
2211
+ setTimeout(() => { S.leaving.delete(id); t.classList.remove('vanishing'); if (S.gone.has(id)) flip(() => (t.style.display = 'none')); }, 1250); };
2188
2212
  if (say) { const b = t.querySelector('.bubble'), line = byeLine(id); b.innerHTML = `<small>👋</small>${esc(line)}`; t.classList.add('bye'); t._byeT = setTimeout(go, 1500); } else go(); // a short goodbye before the poof
2189
2213
  }
2190
2214
  setInterval(() => {
@@ -2199,15 +2223,18 @@ function startTalk(id, text, label) {
2199
2223
  const t = $('#t-' + id); if (!t) return; endThought(id); stopMumble(); TH.next[id] = Math.max(TH.next[id] || 0, Date.now() + 8000); // a spoken line takes the bubble and the floor
2200
2224
  if (S.present && S.present !== id) hidePresent();
2201
2225
  S.spokeAt = performance.now(); S.fill = 0; S.mused = false;
2202
- if (!S.speakers.size && !(S.focusLock > Date.now())) setFocus(id); S.gone.delete(id); if (S.doneAt[id] != null) S.doneAt[id] = S.clock; t.style.display = ''; t.classList.add('speaking'); S.speakers.add(id); S.say[id] = { text, label }; AUD.duck(true);
2226
+ if (!S.speakers.size && !(S.focusLock > Date.now())) setFocus(id); S.gone.delete(id); if (S.doneAt[id] != null) S.doneAt[id] = S.clock; if (t.style.display === 'none') flip(() => (t.style.display = '')); const fresh = !t.classList.contains('speaking'); t.classList.add('speaking'); if (fresh && !S.hold) { oneShot(t, 'inhale', 360); listen(id, text); } S.speakers.add(id); S.say[id] = { text, label }; AUD.duck(true);
2203
2227
  const shown0 = pieces(text), first = shown0.length > 1 ? shown0[0] : text; const b = t.querySelector('.bubble'); b.innerHTML = (label ? `<small>${esc(label)}</small>` : '') + esc(first);
2204
2228
  if (S.present === id) { $('#pcap').textContent = first; $('#pcam').classList.add('speaking'); }
2205
- const m = t.querySelector('.mouthE'); let open = false; clearInterval(mouths.get(id));
2206
- mouths.set(id, setInterval(() => {
2207
- if (!m) { const ct = t.querySelector('.cimg-talk'); if (ct) { const lv0 = S.level[id], op = lv0 ? lv0() > 0.05 : (open = !open); ct.style.display = op ? '' : 'none'; t.querySelector('.cimg').style.display = op ? 'none' : ''; if (S.present === id) { const pc = $('#pcam .cimg-talk'), pi = $('#pcam .cimg'); if (pc && pi) { pc.style.display = op ? '' : 'none'; pi.style.display = op ? 'none' : ''; } } } return; } // custom character: swap between its two frames
2208
- const pm = S.present === id ? $('#pcam .mouthE') : null, lv = S.level[id]; if (lv) { const v = lv(); const ry = (.9 + Math.min(4.2, v * 28)).toFixed(1), rx = (4.8 - Math.min(1.1, v * 6)).toFixed(1); m.setAttribute('ry', ry); m.setAttribute('rx', rx); if (pm) { pm.setAttribute('ry', ry); pm.setAttribute('rx', rx); } }
2209
- else { open = !open; m.setAttribute('ry', open ? 4.2 : 1.1); m.setAttribute('rx', open ? 4 : 4.7); if (pm) { pm.setAttribute('ry', open ? 4.2 : 1.1); pm.setAttribute('rx', open ? 4 : 4.7); } }
2210
- }, 70));
2229
+ const m = t.querySelector('.mouthE'); let open = false, lvS = 0, oS = 0, syl = 0, sylN = 0, sylA = 1, n = 0; clearInterval(mouths.get(id));
2230
+ mouths.set(id, setInterval(() => { // 25 times a second, the clock of the other moves (IDLE_ANIMS)
2231
+ n++; if (!m) { const ct = t.querySelector('.cimg-talk'); if (ct) { const lv0 = S.level[id], op = lv0 ? lv0() > 0.05 : n % 2 ? open : (open = !open); ct.style.display = op ? '' : 'none'; t.querySelector('.cimg').style.display = op ? 'none' : ''; if (S.present === id) { const pc = $('#pcam .cimg-talk'), pi = $('#pcam .cimg'); if (pc && pi) { pc.style.display = op ? '' : 'none'; pi.style.display = op ? 'none' : ''; } } } return; } // custom character: swap between its two frames
2232
+ const pm = S.present === id ? $('#pcam .mouthE') : null, lv = S.level[id]; let o;
2233
+ if (lv) { const v = lv(); lvS += (v - lvS) * (v > lvS ? .6 : .28); o = Math.min(1, lvS * 28 / 4.2); } /* opens fast, closes a little slower: a mouth, not a level meter */
2234
+ else { if (syl >= sylN) { syl = 0; sylN = 4 + Math.floor(Math.random() * 4); sylA = Math.random() < .12 ? 0 : .5 + Math.random() * .3; } o = sylA * Math.sin(Math.PI * syl++ / sylN); } /* no sound to follow: syllables of 160 to 280 ms, now and then a short pause */
2235
+ oS += (o - oS) * .55; o = oS; /* eased toward where it goes: no jump from one frame to the next */
2236
+ const ry = (.9 + 4.2 * o).toFixed(2), rx = (4.8 - .9 * o).toFixed(2); m.setAttribute('ry', ry); m.setAttribute('rx', rx); if (pm) { pm.setAttribute('ry', ry); pm.setAttribute('rx', rx); }
2237
+ }, 40));
2211
2238
  if (document.body.classList.contains('tree')) renderTree();
2212
2239
  gaze();
2213
2240
  }
@@ -2227,17 +2254,35 @@ function stopTalk(id) {
2227
2254
  clearInterval(mouths.get(id)); mouths.delete(id); S.speakers.delete(id); if (!S.speakers.size) AUD.duck(false); if (S.focus === id && S.speakers.size) setFocus([...S.speakers][0]);
2228
2255
  if (S.present === id) { $('#pcap').textContent = ''; $('#pcam').classList.remove('speaking'); const pm = $('#pcam .mouthE'); if (pm) { pm.setAttribute('ry', .9); pm.setAttribute('rx', 4.6); } }
2229
2256
  const t = $('#t-' + id); if (!t) return;
2230
- gaze(); t.classList.remove('speaking'); const m = t.querySelector('.mouthE'); if (m) { m.setAttribute('ry', .9); m.setAttribute('rx', 4.6); }
2257
+ gaze(); t.classList.remove('speaking'); if (!S.recomputing && !S.hold) oneShot(t, 'settle', 400); const m = t.querySelector('.mouthE'); if (m) { m.setAttribute('ry', .9); m.setAttribute('rx', 4.6); }
2231
2258
  const ct = t.querySelector('.cimg-talk'); if (ct) { ct.style.display = 'none'; t.querySelector('.cimg').style.display = ''; }
2232
2259
  const pc = $('#pcam .cimg-talk'), pi = $('#pcam .cimg'); if (pc && pi && S.present === id) { pc.style.display = 'none'; pi.style.display = ''; }
2233
2260
  }
2234
2261
  const clearSpeaking = () => [...S.speakers].forEach(stopTalk);
2235
- function gaze() { // the others turn their eyes to the one speaking, and back to the camera when the floor is free; after the spotlight has moved the tiles
2262
+ function gaze() { // the others turn their eyes to the one speaking, and back to the camera when the floor is free; measured where the tiles go (their layout, not where a slide shows them), so the eyes turn while the tiles move
2236
2263
  clearTimeout(gaze.t); gaze.t = setTimeout(() => {
2237
- const sp = [...S.speakers][0], st = sp && $('#t-' + sp), r = st && st.getBoundingClientRect();
2238
- for (const t of document.querySelectorAll('#stage .tile')) { let x = 0, y = 0; if (r && r.width && t !== st) { const q = t.getBoundingClientRect(), dx = r.left + r.width / 2 - (q.left + q.width / 2), dy = r.top + r.height / 2 - (q.top + q.height / 2), d = Math.hypot(dx, dy) || 1; x = dx / d; y = dy / d; } const lx = x.toFixed(2), ly = y.toFixed(2); if (t.style.getPropertyValue('--lx') !== lx) t.style.setProperty('--lx', lx); if (t.style.getPropertyValue('--ly') !== ly) t.style.setProperty('--ly', ly); }
2239
- }, 250);
2264
+ const box = (t) => ({ left: t.offsetLeft, top: t.offsetTop, width: t.offsetWidth, height: t.offsetHeight }), sp = [...S.speakers][0], st = sp && $('#t-' + sp), r = st && box(st);
2265
+ for (const t of document.querySelectorAll('#stage .tile')) { let x = 0, y = 0; if (r && r.width && t !== st) { const q = box(t), dx = r.left + r.width / 2 - (q.left + q.width / 2), dy = r.top + r.height / 2 - (q.top + q.height / 2), d = Math.hypot(dx, dy) || 1; x = dx / d; y = dy / d; } const lx = x.toFixed(2), ly = y.toFixed(2); if (t.style.getPropertyValue('--lx') !== lx) t.style.setProperty('--lx', lx); if (t.style.getPropertyValue('--ly') !== ly) t.style.setProperty('--ly', ly); }
2266
+ }, 60);
2267
+ }
2268
+ function oneShot(t, c, ms) { t.classList.remove(c); void t.offsetWidth; t.classList.add(c); clearTimeout(t['_' + c]); t['_' + c] = setTimeout(() => t.classList.remove(c), ms); } // a move of a character that plays once: its class, restarted, then taken off
2269
+ const LISTEN = { good: /(^|[^\p{L}\p{N}])(done|fixed|passe[sd]|passing|works|merged|shipped|terminée?s?|corrigée?s?|réglée?s?|réussie?s?|finie?s?)(?![\p{L}\p{N}])|✅|🎉/iu, bad: /(^|[^\p{L}\p{N}])(fail|fails|failed|failing|failure|errors?|broken|broke|crash|crashed|crashes|bugs?|échoue|échoué|échec|erreurs?|plante|cassée?)(?![\p{L}\p{N}])|❌/iu, at: {} };
2270
+ function listen(id, text) { // the others react once to a line: the one it names nods, a failure raises their eyebrows, good news gets a nod; each kind at most every 8 s, so a debugging session does not keep everyone's eyebrows up
2271
+ if (S.hold || S.recomputing || reduced() || !text) return; const s = String(text), now = Date.now(), cool = (k) => now - (LISTEN.at[k] || 0) > 8000;
2272
+ const bad = cool('bad') && LISTEN.bad.test(s), good = !bad && cool('good') && LISTEN.good.test(s); if (bad) LISTEN.at.bad = now; if (good) LISTEN.at.good = now;
2273
+ for (const p of Object.values(S.agents)) {
2274
+ if (p.id === id) continue; const t = $('#t-' + p.id); if (!t || t.style.display === 'none' || t.classList.contains('vanishing')) continue;
2275
+ const nm = p.id !== 'user' && p.name && p.name.length > 2 && new RegExp('(^|[^\\p{L}\\p{N}])' + p.name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') + '(?![\\p{L}\\p{N}])', 'iu').test(s), c = nm || good ? 'nod1' : bad ? 'wow' : '';
2276
+ if (c) setTimeout(() => { if (!t.classList.contains('speaking')) oneShot(t, c, c === 'wow' ? 1150 : 800); }, 250 + Math.random() * 450);
2277
+ }
2240
2278
  }
2279
+ setInterval(() => { // now and then someone who only listens moves a little: a look away, a stretch. One at a time, never while it works or speaks
2280
+ if (!S.playing || document.hidden || S.hold || reduced() || Math.random() < .5) return;
2281
+ const idle = [...document.querySelectorAll('#stage .tile')].filter((t) => t.style.display !== 'none' && !t.matches('.speaking, .working, .vanishing, .bye, .yay, .nod1, .wow, .stretch')); if (!idle.length) return;
2282
+ const t = idle[Math.floor(Math.random() * idle.length)];
2283
+ if (!S.speakers.size && !t.classList.contains('done') && Math.random() < .6) { const a = Math.random() * Math.PI * 2; t.style.setProperty('--lx', Math.cos(a).toFixed(2)); t.style.setProperty('--ly', (Math.sin(a) * .6).toFixed(2)); clearTimeout(t._glance); t._glance = setTimeout(gaze, 1500); } /* gaze() brings the eyes back */
2284
+ else oneShot(t, 'stretch', 1300);
2285
+ }, 9000);
2241
2286
  // =====================================================================
2242
2287
  // inner thoughts: an agent that has been at work for a while thinks to itself, in a bubble it does not say. What it thinks is real: its own reasoning when the session kept it
2243
2288
  // (rarely: Claude Code mostly stores a signature), otherwise what it is on right now (the command it waits for, the files it goes between, its to-do item, a failure, its task).
@@ -2294,7 +2339,7 @@ function endThought(id) {
2294
2339
  const clearThoughts = () => { document.querySelectorAll('.tile.musing').forEach((t) => endThought(t.id.slice(2))); stopMumble(); };
2295
2340
  function stopMumble() { const v = TH.voice; if (v) { TH.voice = null; try { v.src.stop(); } catch {} } }
2296
2341
  async function mumble(id, text) { // lips closed: the mouth does not move, the music does not make room, and anyone who starts to speak cuts it
2297
- const p = S.agents[id], t = $('#t-' + id); if (!p || !t || !prefs.voice || AUD.off() || !AUD.ctx || S.speakers.size || TH.voice) return;
2342
+ const p = S.agents[id], t = $('#t-' + id); if (!p || !t || !prefs.voice || AUD.calm() || !AUD.ctx || S.speakers.size || TH.voice) return;
2298
2343
  if (!TTS.server || babbles()) { const o = AUD.murmur(0.5 + (p.vi % 5) / 10, Math.min(2.2, estMs(text) / 1000), 0.4); if (o) { TH.voice = { id, src: o }; o.addEventListener('ended', () => { if (TH.voice && TH.voice.src === o) TH.voice = null; }); } return; }
2299
2344
  const voice = TTS.voiceFor(p, voiceLang(text)), token = S.token; if (!voice) return; let buf; try { buf = await TTS.buf(speakable(text), voice, TTS.rate(), true); } catch { return; } // made like a line prepared ahead: it never delays a real one
2300
2345
  if (token !== S.token || S.speakers.size || TH.voice || !t.classList.contains('musing')) return; // someone spoke meanwhile, or the thought is gone
@@ -3011,7 +3056,7 @@ function amend(e, was) { // the server corrected an event the call already has
3011
3056
  let polling = false, polledAt = 0;
3012
3057
  setInterval(async () => {
3013
3058
  if (!S.live || polling) return;
3014
- if (document.hidden && AUD.off() && Date.now() - polledAt < 2500) return; // hidden and not heard (muted, or another window has the sound): every 2.5 s is enough for the alerts; a call you listen to keeps its pace
3059
+ if (document.hidden && AUD.calm() && Date.now() - polledAt < 2500) return; // hidden and not heard (muted, zen, or another window has the sound): every 2.5 s is enough for the alerts; a call you listen to keeps its pace
3015
3060
  polling = true; polledAt = Date.now();
3016
3061
  try {
3017
3062
  const switched = await followCurrent(); if (S.offline) { S.offline = false; syncUI(); }
@@ -3207,7 +3252,7 @@ function showVisit(v) { // the same face and name each time for a given sessio
3207
3252
  }
3208
3253
  function hideVisit() { clearTimeout(showVisit.t); S.visit = S.knock = null; const el = $('#visit'); if (el.className) { el.className = ''; el.innerHTML = ''; } }
3209
3254
  async function visitSay(v, token) {
3210
- if (S.visit !== v || AUD.off() || !prefs.voice) return; const el = $('#visit'); el.classList.add('speaking'); AUD.duck(true);
3255
+ if (S.visit !== v || AUD.calm() || !prefs.voice) return; const el = $('#visit'); el.classList.add('speaking'); AUD.duck(true);
3211
3256
  await speakLine(v.line, v.p, true, token); el.classList.remove('speaking'); if (!S.speakers.size) AUD.duck(false);
3212
3257
  }
3213
3258
  $('#visit').onclick = (e) => { const v = S.visit; if (!v) return; if (e.target.closest('.vx')) hideVisit(); else { goSession(v.r.proj, v.r.id); answerAt(v.r); } };
@@ -3341,9 +3386,9 @@ function applyLang() {
3341
3386
  }
3342
3387
  const elsewhere = () => !!(S.owner && S.owner !== CID);
3343
3388
  function applyMute() {
3344
- const b = $('#bMute'); b.textContent = AUD.muted || S.hush ? '🔇' : elsewhere() ? '🔈' : '🔊';
3345
- b.title = S.hush ? L('Le son s’active à votre premier clic dans l’appel', 'Sound turns on with your first click in the call') : elsewhere() ? L('Le son est joué dans une autre fenêtre — cliquer pour le reprendre ici', 'Sound is playing in another window — click to take it over here') : L('Son (touche M)', 'Sound (M key)');
3346
- AUD.apply(); if (AUD.off()) { synth && synth.cancel(); AUD.stopAll(); }
3389
+ const b = $('#bMute'); b.textContent = AUD.muted || S.hush ? '🔇' : elsewhere() ? '🔈' : prefs.zen ? '🔔' : '🔊';
3390
+ b.title = S.hush ? L('Le son s’active à votre premier clic dans l’appel', 'Sound turns on with your first click in the call') : elsewhere() ? L('Le son est joué dans une autre fenêtre — cliquer pour le reprendre ici', 'Sound is playing in another window — click to take it over here') : prefs.zen ? L('Zen : seulement les alertes, sans les voix (touche M)', 'Zen: alerts only, no voices (M key)') : L('Son (touche M)', 'Sound (M key)');
3391
+ AUD.apply(); if (AUD.calm()) { synth && synth.cancel(); AUD.stopAll(); }
3347
3392
  }
3348
3393
  async function audioSync(claim) { // heartbeat + ownership: avoids two Agent Standup windows talking at the same time
3349
3394
  try {
@@ -3353,7 +3398,7 @@ async function audioSync(claim) { // heartbeat + ownership: avoids two Agent S
3353
3398
  }
3354
3399
  const claimAudio = () => { S.owner = CID; applyMute(); audioSync(true); };
3355
3400
  setInterval(() => audioSync(false), 1500);
3356
- function toggleMute() { if (S.hush) return joinSound(); if (elsewhere()) { AUD.muted = false; claimAudio(); return; } AUD.muted = !AUD.muted; applyMute(); }
3401
+ function toggleMute() { if (S.hush) return joinSound(); if (elsewhere()) { AUD.muted = false; claimAudio(); return; } if (AUD.muted) { AUD.muted = false; prefs.zen = false; } else if (prefs.zen) AUD.muted = true; else prefs.zen = true; savePrefs(); document.querySelectorAll('.mi[data-t="zen"] .sw').forEach((w) => w.classList.toggle('on', !!prefs.zen)); syncSwitches(); applyMute(); } // 🔊 everything → 🔔 zen (only the alerts) → 🔇 nothing
3357
3402
  function setView(v) { prefs.view = v; savePrefs(); document.body.classList.toggle('tree', v === 'tree'); document.body.classList.toggle('board', v === 'board'); if (v === 'board') renderBoardView(); document.querySelectorAll('#viewSeg button').forEach((b) => b.classList.toggle('on', b.dataset.v === v)); renderTree(); }
3358
3403
 
3359
3404
  $('#viewSeg').onclick = (e) => { const b = e.target.closest('button'); if (b) setView(b.dataset.v); };
@@ -3391,6 +3436,7 @@ function menuInit() {
3391
3436
  }
3392
3437
  const onSwitch = (e) => { const b = e.target.closest('.mi[data-t]'); if (!b) return; prefs[b.dataset.t] = !prefs[b.dataset.t]; savePrefs(); if (prefs[b.dataset.t] && ['voice', 'office', 'music', 'notify'].includes(b.dataset.t)) claimAudio(); b.querySelector('.sw').classList.toggle('on', prefs[b.dataset.t]); AUD.apply(); if (b.dataset.t === 'shareUsage') { prefs.usageAsked = true; savePrefs(); usageOpened(true); } if (b.dataset.t === 'office') $('#officeBox').style.display = prefs.office ? '' : 'none'; if (b.dataset.t === 'callTr') { prefs.callTrSeen = true; savePrefs(); setLang(prefs.lang); } if (b.dataset.t === 'voice') { voiceOffer(); $('#voiceVolBox').style.display = prefs.voice ? '' : 'none'; } if (b.dataset.t === 'customLaptop') { for (const k in imgCache) delete imgCache[k]; buildStage(); paintStatus(); } if (b.dataset.t === 'files') paintFiles(); if (b.dataset.t === 'artNet' && S.present) renderPresent(); if (b.dataset.t === 'ownNames') { renameAll(); subField(); } if (b.dataset.t === 'reactions') document.body.classList.toggle('react', prefs.reactions); if (b.dataset.t === 'focusLayout') { document.body.classList.toggle('focusl', !!prefs.focusLayout); layout(); } if (b.dataset.t === 'roster') { document.body.classList.toggle('rost', prefs.roster); paintStates(); } if (b.dataset.t === 'notify') { prefs.notifyChosen = true; savePrefs(); } if (b.dataset.t === 'notify' && prefs.notify) askNotify(); if (b.dataset.t === 'vanish' && !prefs.vanish) { S.gone.clear(); paintStatus(); }
3393
3438
  if (b.dataset.t === 'askCard') paintAsk(Date.now());
3439
+ if (b.dataset.t === 'zen') applyMute();
3394
3440
  if (b.dataset.t === 'updateNotice') { prefs.updateAsked = true; savePrefs(); $('#updTip').style.display = 'none'; if (prefs.updateNotice) { updStart.at = 0; setTimeout(updStart, 600); } } /* an answer too; on: asked once the settings file says so (savePrefs waits 400 ms) */
3395
3441
  if (b.dataset.t === 'music') { $('#musicBox').style.display = prefs.music ? '' : 'none'; if (prefs.music) { AUD.init(); AUD.apply(); } } };
3396
3442
  $('#menu').onclick = onSwitch; $('#prefs').onclick = (e) => { if (e.target === $('#prefs')) return closePrefs(); onSwitch(e); setTimeout(syncSwitches); };
@@ -3652,7 +3698,7 @@ setInterval(() => {
3652
3698
  if (pos[k] !== S.idx) { delete pos[k]; pos[k] = S.idx; const ks = Object.keys(pos); while (ks.length > 40) delete pos[ks.shift()]; savePrefs(); }
3653
3699
  }, 3000);
3654
3700
  function openKeys() {
3655
- const rows = [['Space', L('Pause / lecture', 'Pause / play')], ['← / →', L('Replay : événement précédent / suivant', 'Replay: previous / next event')], ['N / Shift+N', L('Replay : moment clé suivant / précédent', 'Replay: next / previous highlight')], ['M', L('Son coupé / activé', 'Mute / unmute')], ['T', L('Vue arbre ↔ appel', 'Tree view ↔ call')], ['R', L('Récapitulatif', 'Recap')], ['L', L('Transcription', 'Transcript')], ['G', L('Aller à ce qui a besoin de vous (ici ou dans une autre session)', 'Go to what needs you (here or in another session)')], ['J / K', L('Agent suivant / précédent qui a besoin de vous', 'Next / previous agent that needs you')], ['Cmd / Ctrl + K', L('Aller à une session', 'Go to a session')], ['?', L('Cette aide', 'This help')], ['Esc', L('Fermer', 'Close')]];
3701
+ const rows = [['Space', L('Pause / lecture', 'Pause / play')], ['← / →', L('Replay : événement précédent / suivant', 'Replay: previous / next event')], ['N / Shift+N', L('Replay : moment clé suivant / précédent', 'Replay: next / previous highlight')], ['M', L('Son : tout, zen (les alertes seules), coupé', 'Sound: all, zen (alerts only), off')], ['T', L('Vue arbre ↔ appel', 'Tree view ↔ call')], ['R', L('Récapitulatif', 'Recap')], ['L', L('Transcription', 'Transcript')], ['G', L('Aller à ce qui a besoin de vous (ici ou dans une autre session)', 'Go to what needs you (here or in another session)')], ['J / K', L('Agent suivant / précédent qui a besoin de vous', 'Next / previous agent that needs you')], ['Cmd / Ctrl + K', L('Aller à une session', 'Go to a session')], ['?', L('Cette aide', 'This help')], ['Esc', L('Fermer', 'Close')]];
3656
3702
  $('#recap .box').innerHTML = `<h1>${L('Raccourcis clavier', 'Keyboard shortcuts')}</h1><table>${rows.map(([k, d]) => `<tr><td class="f"><b>${esc(k)}</b></td><td>${esc(d)}</td></tr>`).join('')}</table><h3>${L('Les états', 'What the states mean')}</h3><table>${[['⚙', L('au travail', 'working')], ['🔗', L('attend un autre agent', 'waiting on another agent')], ['✋', L('attend votre réponse ou votre feu vert (avec « ? » : sans doute, d’après le temps écoulé)', 'waits for your answer or approval (with “?”: probably, from how long it has waited)')], ['⚠', L('bloqué : un sous-agent est silencieux depuis longtemps', 'stalled: a sub-agent has been silent for a long time')], ['✓', L('terminé', 'done')]].map(([k, d]) => `<tr><td class="f">${k}</td><td>${esc(d)}</td></tr>`).join('')}</table><p class="dim" style="margin:14px 0 0;font-size:12px">${L('Les vues Appel, Arbre et Sessions se changent aussi en haut de la fenêtre.', 'You can also switch between Call, Tree and Sessions at the top of the window.')}</p><div style="margin-top:14px"><button class="btn" id="recapx">${L('Fermer', 'Close')}</button></div>`;
3657
3703
  $('#recapx').onclick = () => $('#recap').classList.remove('on'); $('#recap').classList.add('on');
3658
3704
  }
@@ -103,7 +103,6 @@
103
103
  "Looking for a tool": "Leder efter et værktøj",
104
104
  "looping?": "går i ring?",
105
105
  "Music volume": "Lydstyrke for musik",
106
- "Mute / unmute": "Slå lyd fra / til",
107
106
  "need you": "har brug for dig",
108
107
  "needs you? ": "har brug for dig? ",
109
108
  "No agents were harmed.": "Ingen agenter kom til skade.",
@@ -458,5 +457,8 @@
458
457
  "Sub-agent names": "Navne på underagenter",
459
458
  "Rename every sub-agent: names separated by commas, given in the order the agents start. Empty: the built-in names.": "Omdøb alle underagenter: navne adskilt af kommaer, givet i den rækkefølge agenterne starter. Tom: de indbyggede navne.",
460
459
  "Agents you named yourself keep their names (switch below).": "Agenter, du selv har navngivet, beholder deres navne (kontakten nedenfor).",
461
- "Agents you named yourself take these names too (switch below).": "Agenter, du selv har navngivet, får også disse navne (kontakten nedenfor)."
460
+ "Agents you named yourself take these names too (switch below).": "Agenter, du selv har navngivet, får også disse navne (kontakten nedenfor).",
461
+ "Zen: alerts only, no voices (M key)": "Zen: kun advarsler, ingen stemmer (M-tasten)",
462
+ "Sound: all, zen (alerts only), off": "Lyd: alt, zen (kun advarsler), fra",
463
+ "Zen mode: alerts, no voices": "Zen-tilstand: advarsler, ingen stemmer"
462
464
  }
@@ -193,7 +193,6 @@
193
193
  "Voice style": "Stimmstil",
194
194
  "⌨ Keyboard shortcuts (?)": "⌨ Tastenkürzel (?)",
195
195
  "Keyboard shortcuts": "Tastenkürzel",
196
- "Mute / unmute": "Ton aus / an",
197
196
  "Pause / play": "Pause / Wiedergabe",
198
197
  "Recap": "Zusammenfassung",
199
198
  "This help": "Diese Hilfe",
@@ -459,5 +458,8 @@
459
458
  "Sub-agent names": "Namen der Subagenten",
460
459
  "Rename every sub-agent: names separated by commas, given in the order the agents start. Empty: the built-in names.": "Alle Subagenten umbenennen: Namen durch Kommas getrennt, in der Reihenfolge vergeben, in der die Agenten starten. Leer: die eingebauten Namen.",
461
460
  "Agents you named yourself keep their names (switch below).": "Agenten, die du selbst benannt hast, behalten ihre Namen (Schalter unten).",
462
- "Agents you named yourself take these names too (switch below).": "Agenten, die du selbst benannt hast, bekommen ebenfalls diese Namen (Schalter unten)."
461
+ "Agents you named yourself take these names too (switch below).": "Agenten, die du selbst benannt hast, bekommen ebenfalls diese Namen (Schalter unten).",
462
+ "Zen: alerts only, no voices (M key)": "Zen: nur Hinweistöne, keine Stimmen (Taste M)",
463
+ "Sound: all, zen (alerts only), off": "Ton: alles, Zen (nur Hinweistöne), aus",
464
+ "Zen mode: alerts, no voices": "Zen-Modus: Hinweistöne, keine Stimmen"
463
465
  }
@@ -211,7 +211,6 @@
211
211
  "Model": "Model",
212
212
  "More": "More",
213
213
  "Music volume": "Music volume",
214
- "Mute / unmute": "Mute / unmute",
215
214
  "My folder": "My folder",
216
215
  "Name for this project": "Name for this project",
217
216
  "Natural voices (installs on demand)": "Natural voices (installs on demand)",
@@ -345,6 +344,7 @@
345
344
  "Sound is playing in another Agent Standup window. Click 🔈 to take it over here.": "Sound is playing in another Agent Standup window. Click 🔈 to take it over here.",
346
345
  "Sound is playing in another window — click to take it over here": "Sound is playing in another window — click to take it over here",
347
346
  "Sound turns on with your first click in the call": "Sound turns on with your first click in the call",
347
+ "Sound: all, zen (alerts only), off": "Sound: all, zen (alerts only), off",
348
348
  "Source": "Source",
349
349
  "Speed": "Speed",
350
350
  "Speed presets": "Speed presets",
@@ -454,5 +454,7 @@
454
454
  "Your settings moved: the everyday ones are here, the rest in “All settings”.": "Your settings moved: the everyday ones are here, the rest in “All settings”.",
455
455
  "your turn": "your turn",
456
456
  "Your vampire comes from the Halloween pack, drawn by hand by Fabien Coupas. The rest of the cast is in it too.": "Your vampire comes from the Halloween pack, drawn by hand by Fabien Coupas. The rest of the cast is in it too.",
457
- "Yours": "Yours"
457
+ "Yours": "Yours",
458
+ "Zen mode: alerts, no voices": "Zen mode: alerts, no voices",
459
+ "Zen: alerts only, no voices (M key)": "Zen: alerts only, no voices (M key)"
458
460
  }
@@ -193,7 +193,6 @@
193
193
  "Voice style": "Estilo de voz",
194
194
  "⌨ Keyboard shortcuts (?)": "⌨ Atajos de teclado (?)",
195
195
  "Keyboard shortcuts": "Atajos de teclado",
196
- "Mute / unmute": "Silenciar / activar sonido",
197
196
  "Pause / play": "Pausa / reproducir",
198
197
  "Recap": "Resumen",
199
198
  "This help": "Esta ayuda",
@@ -459,5 +458,8 @@
459
458
  "Sub-agent names": "Nombres de los subagentes",
460
459
  "Rename every sub-agent: names separated by commas, given in the order the agents start. Empty: the built-in names.": "Renombra a todos los subagentes: nombres separados por comas, asignados en el orden en que empiezan los agentes. Vacío: los nombres integrados.",
461
460
  "Agents you named yourself keep their names (switch below).": "Los agentes que nombraste tú mantienen su nombre (interruptor de abajo).",
462
- "Agents you named yourself take these names too (switch below).": "Los agentes que nombraste tú también reciben estos nombres (interruptor de abajo)."
461
+ "Agents you named yourself take these names too (switch below).": "Los agentes que nombraste tú también reciben estos nombres (interruptor de abajo).",
462
+ "Zen: alerts only, no voices (M key)": "Zen: solo las alertas, sin voces (tecla M)",
463
+ "Sound: all, zen (alerts only), off": "Sonido: todo, zen (solo alertas), silencio",
464
+ "Zen mode: alerts, no voices": "Modo zen: alertas, sin voces"
463
465
  }
@@ -193,7 +193,6 @@
193
193
  "Voice style": "声のスタイル",
194
194
  "⌨ Keyboard shortcuts (?)": "⌨ キーボードショートカット (?)",
195
195
  "Keyboard shortcuts": "キーボードショートカット",
196
- "Mute / unmute": "ミュート / 解除",
197
196
  "Pause / play": "一時停止 / 再生",
198
197
  "Recap": "要約",
199
198
  "This help": "このヘルプ",
@@ -459,5 +458,8 @@
459
458
  "Sub-agent names": "サブエージェントの名前",
460
459
  "Rename every sub-agent: names separated by commas, given in the order the agents start. Empty: the built-in names.": "すべてのサブエージェントの名前を変更:名前をカンマで区切って入力すると、エージェントが開始した順に割り当てられます。空欄:組み込みの名前。",
461
460
  "Agents you named yourself keep their names (switch below).": "自分で名前を付けたエージェントはその名前のままです(下のスイッチ)。",
462
- "Agents you named yourself take these names too (switch below).": "自分で名前を付けたエージェントにもこれらの名前が付きます(下のスイッチ)。"
461
+ "Agents you named yourself take these names too (switch below).": "自分で名前を付けたエージェントにもこれらの名前が付きます(下のスイッチ)。",
462
+ "Zen: alerts only, no voices (M key)": "Zen:通知音のみ、声なし(Mキー)",
463
+ "Sound: all, zen (alerts only), off": "サウンド:すべて、Zen(通知音のみ)、オフ",
464
+ "Zen mode: alerts, no voices": "Zenモード:通知音のみ、声なし"
463
465
  }
@@ -193,7 +193,6 @@
193
193
  "Voice style": "목소리 스타일",
194
194
  "⌨ Keyboard shortcuts (?)": "⌨ 키보드 단축키 (?)",
195
195
  "Keyboard shortcuts": "키보드 단축키",
196
- "Mute / unmute": "음소거 / 해제",
197
196
  "Pause / play": "일시정지 / 재생",
198
197
  "Recap": "요약",
199
198
  "This help": "이 도움말",
@@ -459,5 +458,8 @@
459
458
  "Sub-agent names": "하위 에이전트 이름",
460
459
  "Rename every sub-agent: names separated by commas, given in the order the agents start. Empty: the built-in names.": "모든 하위 에이전트 이름 바꾸기: 이름을 쉼표로 구분해 입력하면 에이전트가 시작한 순서대로 붙습니다. 비우면 기본 이름을 씁니다.",
461
460
  "Agents you named yourself keep their names (switch below).": "직접 이름을 붙인 에이전트는 그 이름을 유지합니다(아래 스위치).",
462
- "Agents you named yourself take these names too (switch below).": "직접 이름을 붙인 에이전트도 이 이름을 받습니다(아래 스위치)."
461
+ "Agents you named yourself take these names too (switch below).": "직접 이름을 붙인 에이전트도 이 이름을 받습니다(아래 스위치).",
462
+ "Zen: alerts only, no voices (M key)": "젠: 알림음만, 목소리 없음 (M 키)",
463
+ "Sound: all, zen (alerts only), off": "소리: 전체, 젠 (알림음만), 끔",
464
+ "Zen mode: alerts, no voices": "젠 모드: 알림음만, 목소리 없음"
463
465
  }
@@ -193,7 +193,6 @@
193
193
  "Voice style": "Estilo de voz",
194
194
  "⌨ Keyboard shortcuts (?)": "⌨ Atalhos de teclado (?)",
195
195
  "Keyboard shortcuts": "Atalhos de teclado",
196
- "Mute / unmute": "Silenciar / ativar som",
197
196
  "Pause / play": "Pausar / reproduzir",
198
197
  "Recap": "Resumo",
199
198
  "This help": "Esta ajuda",
@@ -459,5 +458,8 @@
459
458
  "Sub-agent names": "Nomes dos subagentes",
460
459
  "Rename every sub-agent: names separated by commas, given in the order the agents start. Empty: the built-in names.": "Renomeie todos os subagentes: nomes separados por vírgulas, dados na ordem em que os agentes começam. Vazio: os nomes embutidos.",
461
460
  "Agents you named yourself keep their names (switch below).": "Os agentes que você mesmo nomeou mantêm seus nomes (chave abaixo).",
462
- "Agents you named yourself take these names too (switch below).": "Os agentes que você mesmo nomeou também recebem esses nomes (chave abaixo)."
461
+ "Agents you named yourself take these names too (switch below).": "Os agentes que você mesmo nomeou também recebem esses nomes (chave abaixo).",
462
+ "Zen: alerts only, no voices (M key)": "Zen: só os alertas, sem vozes (tecla M)",
463
+ "Sound: all, zen (alerts only), off": "Som: tudo, zen (só alertas), desligado",
464
+ "Zen mode: alerts, no voices": "Modo zen: alertas, sem vozes"
463
465
  }
@@ -193,7 +193,6 @@
193
193
  "Voice style": "语音风格",
194
194
  "⌨ Keyboard shortcuts (?)": "⌨ 键盘快捷键 (?)",
195
195
  "Keyboard shortcuts": "键盘快捷键",
196
- "Mute / unmute": "静音 / 取消静音",
197
196
  "Pause / play": "暂停 / 播放",
198
197
  "Recap": "回顾",
199
198
  "This help": "此帮助",
@@ -459,5 +458,8 @@
459
458
  "Sub-agent names": "子代理名字",
460
459
  "Rename every sub-agent: names separated by commas, given in the order the agents start. Empty: the built-in names.": "重命名所有子代理:用逗号分隔名字,按代理启动的顺序分配。留空:使用内置名字。",
461
460
  "Agents you named yourself keep their names (switch below).": "你自己命名的代理保留其名字(见下方开关)。",
462
- "Agents you named yourself take these names too (switch below).": "你自己命名的代理也会使用这些名字(见下方开关)。"
461
+ "Agents you named yourself take these names too (switch below).": "你自己命名的代理也会使用这些名字(见下方开关)。",
462
+ "Zen: alerts only, no voices (M key)": "禅模式:只有提示音,没有语音(M 键)",
463
+ "Sound: all, zen (alerts only), off": "声音:全部、禅模式(仅提示音)、关闭",
464
+ "Zen mode: alerts, no voices": "禅模式:提示音,无语音"
463
465
  }
@@ -193,7 +193,6 @@
193
193
  "Voice style": "語音風格",
194
194
  "⌨ Keyboard shortcuts (?)": "⌨ 鍵盤快速鍵 (?)",
195
195
  "Keyboard shortcuts": "鍵盤快速鍵",
196
- "Mute / unmute": "靜音 / 取消靜音",
197
196
  "Pause / play": "暫停 / 播放",
198
197
  "Recap": "回顧",
199
198
  "This help": "此說明",
@@ -459,5 +458,8 @@
459
458
  "Sub-agent names": "子代理名字",
460
459
  "Rename every sub-agent: names separated by commas, given in the order the agents start. Empty: the built-in names.": "重新命名所有子代理:以逗號分隔名字,依代理啟動的順序分配。留空:使用內建名字。",
461
460
  "Agents you named yourself keep their names (switch below).": "你自己命名的代理保留其名字(見下方開關)。",
462
- "Agents you named yourself take these names too (switch below).": "你自己命名的代理也會使用這些名字(見下方開關)。"
461
+ "Agents you named yourself take these names too (switch below).": "你自己命名的代理也會使用這些名字(見下方開關)。",
462
+ "Zen: alerts only, no voices (M key)": "禪模式:只有提示音,沒有語音(M 鍵)",
463
+ "Sound: all, zen (alerts only), off": "聲音:全部、禪模式(僅提示音)、關閉",
464
+ "Zen mode: alerts, no voices": "禪模式:提示音,無語音"
463
465
  }