kaizen-agent 1.50.0 → 1.52.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/web/board.html CHANGED
@@ -68,6 +68,7 @@ svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke
68
68
  .rail a.it[aria-current=page]{background:none;color:var(--accent)}
69
69
  [data-rail=min] .rail .lbl{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
70
70
  .rail a.it.fold{display:none}
71
+ .rail a.it[data-view=board]{order:1}.rail a.it[data-view=notes]{order:2}.rail a.it[data-view=home]{order:3}.rail a.it[data-view=terminal]{order:4}.mtab{order:5}
71
72
  .mtab{display:flex;flex:1;position:relative}
72
73
  .mtab summary{flex:1;list-style:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;padding:4px 0;font-size:11px;font-weight:500;color:var(--dim);cursor:pointer}
73
74
  .mtab summary::-webkit-details-marker{display:none}
@@ -284,6 +285,60 @@ body.paged #board,body.paged .ftr,body.paged .scrim,body.paged #bq{display:none}
284
285
  /* The Icebox keeps the project bar with its own title, without New idea or the panel's header; Settings has none */
285
286
  body.paged:not(.ice) .hdr,body.ice aside.docked>header{display:none}body.ice #newtop{visibility:hidden}
286
287
  /* The Terminal page: the project bar stays (it picks whose terminals show), the board gives way to the tiles */
288
+ #home{display:none}#hnewtop{display:none}body.homev.paged .hdr{display:flex}body.homev #combo,body.homev #showc,body.homev #bq,body.homev #newtop,body.homev #fbtn,body.homev #tmodes{display:none!important}body.homev #hnewtop{display:inline-flex;align-items:center;gap:6px}#hnewtop svg{width:16px;height:16px}
289
+ body.homev #home{flex:1;min-height:0;display:flex;position:relative;animation:fi .2s}
290
+ .hside{flex:none;width:260px;overflow:hidden;border-right:1px solid color-mix(in srgb,var(--line) 60%,transparent);transition:width .28s cubic-bezier(.2,.7,.2,1),opacity .2s,border-color .28s}
291
+ #home:not(.hopen) .hside{width:0;opacity:0;border-color:transparent}
292
+ .hsin{width:260px;height:100%;display:flex;flex-direction:column;gap:8px;padding:12px 10px 12px 20px;box-sizing:border-box}
293
+ .hshd{display:flex;align-items:center;justify-content:space-between;padding:0 4px 0 6px;font-size:12px;font-weight:600;color:var(--dim)}
294
+ .hlist{display:flex;flex-direction:column;gap:2px;overflow-y:auto;min-height:0}
295
+ .hli{display:flex;align-items:center;border-radius:var(--r-s);transition:background .15s}.hli:hover,.hli.on{background:var(--hover)}.hli.on>button:first-child{color:var(--ink)}
296
+ .hli>button:first-child{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;text-align:left;background:none;border:0;padding:7px 10px;font:inherit;font-size:13px;color:var(--dim);cursor:pointer;white-space:nowrap}
297
+ .hli .ht,.hli .hp{overflow:hidden;text-overflow:ellipsis}.hli .hp{font-size:11px;opacity:.8}
298
+ .hli .ib{opacity:0;transition:opacity .15s}.hli:hover .ib,.hli .ib:focus-visible{opacity:1}.hli .dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--run);animation:hpulse 1.4s ease-in-out infinite}
299
+ .hmain{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px;min-height:0;padding:0 0 16px}
300
+ .htop{align-self:stretch;display:flex;align-items:center;gap:4px;padding:8px 16px 0}
301
+ .htop .ib svg{width:18px;height:18px}
302
+ .hwhere{display:flex;align-items:center;gap:6px;margin-left:6px;font-size:12px;color:var(--dim)}.hwhere svg{width:13px;height:13px}
303
+ .hmain.hfresh{justify-content:flex-start}.hmain.hfresh .hlog{flex:none;overflow:visible;margin-top:auto}.hmain.hfresh .hchips{margin-bottom:auto}
304
+ .hlog{flex:1;width:100%;box-sizing:border-box;overflow-y:auto;overflow-anchor:none;display:flex;flex-direction:column;gap:16px;padding:8px max(20px,calc((100% - 960px)/2))}
305
+ .hhero{width:100%;text-align:center;animation:hin .4s cubic-bezier(.2,.7,.2,1)}.hhero .hint{margin:0;color:var(--dim)}.hhero h2{margin:0 0 6px;font-size:28px;font-weight:600;letter-spacing:-.01em;color:var(--ink-hi)}
306
+ .hm{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.hm.u{align-items:flex-end}.hm.in{animation:hin .32s cubic-bezier(.2,.7,.2,1) both}
307
+ .hm.u .hb{max-width:80%;padding:9px 14px;border-radius:18px 18px 4px 18px;background:var(--hover);color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}
308
+ .hfiles,.hatt{display:flex;flex-wrap:wrap;gap:6px}.hfiles{justify-content:flex-end;max-width:80%}.hfiles span,.hatt span{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 8px;border:1px solid var(--line);border-radius:var(--r-pill);font-size:11px;overflow-wrap:anywhere}.hfiles svg,.hatt svg{width:12px;height:12px;flex:none}.hatt:empty{display:none}.hatt button{border:0;background:none;color:var(--dim);cursor:pointer;font:inherit;padding:0 2px}.hatt button:hover{color:var(--ink)}
309
+ .hm.a .hb{width:100%;max-width:none;color:var(--ink);overflow-wrap:anywhere;line-height:1.6}.hm.a .hb>:first-child{margin-top:0}.hm.a .hb>:last-child{margin-bottom:0}.hm .md p{max-width:none}
310
+ .hsteps{font-size:12px;color:var(--dim);max-width:100%;min-width:0}.hsteps summary{cursor:pointer;width:max-content}.hsteps summary:hover{color:var(--ink)}.hsteps ul{list-style:none;margin:6px 0 0;padding:0 0 0 2px;display:flex;flex-direction:column;gap:3px;border-left:2px solid var(--line);padding-left:10px}
311
+ .hsteps[open] ul{animation:fi .2s}
312
+ .hsteps li{display:flex;align-items:flex-start;gap:6px;min-width:0}.hsteps li code{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--mono)}.hsteps li.bad{color:var(--danger)}.hsteps svg{flex:none;width:13px;height:13px;margin-top:2px}
313
+ .herr{font-size:13px;color:var(--danger);white-space:pre-wrap}
314
+ .hactivity{display:flex;align-items:center;gap:10px;min-height:54px;font-size:12px;color:var(--dim);overflow-wrap:anywhere}
315
+ .hmascot{position:relative;display:block;width:52px;height:52px;flex:none;border-radius:12px}
316
+ .hmascot img{display:block;width:100%;height:100%;border-radius:inherit;animation:hfloat 2.4s ease-in-out infinite}
317
+ .hlaptop{position:absolute;left:14px;bottom:5px;width:24px;height:13px;border:1.5px solid #dce9ff;border-radius:3px 3px 2px 2px;background:linear-gradient(145deg,#3269bd,#142e61);box-shadow:0 0 8px #4384ff66}
318
+ .hlaptop:after{content:"";position:absolute;left:-4px;right:-4px;bottom:-4px;height:2px;border-radius:0 0 5px 5px;background:#b8d0ff}
319
+ .hactivity-copy{display:flex;min-width:0;flex-direction:column;gap:6px}
320
+ .hdots{display:flex;align-items:center;gap:6px;height:7px}
321
+ .hdots i{width:6px;height:6px;border-radius:50%;background:var(--accent);opacity:.35;animation:hdot 1.05s ease-in-out infinite}
322
+ .hdots i:nth-child(2){animation-delay:.16s}.hdots i:nth-child(3){animation-delay:.32s}
323
+ .hrun{display:inline-flex;align-items:center;gap:6px}.hrun svg{width:14px;height:14px}
324
+ .hmove{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ok)}.hmove.bad{color:var(--danger)}.hmove svg{width:13px;height:13px}
325
+ .hbox{position:relative;width:calc(100% - 40px);max-width:960px;display:flex;align-items:flex-end;gap:8px;padding:10px 10px 10px 16px;border:1px solid var(--line);border-radius:22px;background:var(--bg-2);box-shadow:var(--shadow-2);view-transition-name:hbox;transition:border-color .15s,box-shadow .15s}
326
+ .hbox:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 15%,transparent),var(--shadow-2)}
327
+ .hinput{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.hbox textarea{width:100%;box-sizing:border-box;min-height:24px;max-height:220px;resize:none;border:0;outline:0;background:none;color:var(--ink);font:inherit;font-size:15px;line-height:1.5;padding:4px 0}.hattach{flex:none;margin-bottom:2px}
328
+ .hgo{flex:none;width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--on-accent);transition:transform .12s,filter .15s,background .15s}.hgo:hover{background:var(--accent);filter:brightness(1.1)}.hgo:active{transform:scale(.92)}.hgo.stop{background:var(--ink);color:var(--bg)}
329
+ .hchips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:calc(100% - 40px);max-width:960px;animation:hin .5s cubic-bezier(.2,.7,.2,1)}
330
+ .hchips .chip{cursor:pointer;background:none;border:0;font:inherit;font-size:13px;padding:6px 12px;border-radius:var(--r-pill);transition:background .15s,color .15s,transform .15s}.hchips .chip:hover{color:var(--ink);background:var(--hover);transform:translateY(-1px)}
331
+ .hscrim{display:none}
332
+ @keyframes hin{from{opacity:0;transform:translateY(8px)}}
333
+ @keyframes hfloat{50%{transform:translateY(-2px)}}
334
+ @keyframes hdot{50%{opacity:1;transform:translateY(-1px)}}
335
+ @keyframes hpulse{50%{opacity:.4}}
336
+ ::view-transition-group(hbox){animation-duration:.35s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}
337
+ @media(max-width:640px){.hside{position:absolute;z-index:6;top:0;bottom:0;left:0;width:280px;max-width:85%;background:var(--bg-2);box-shadow:var(--shadow-2);transform:translateX(-105%);transition:transform .28s cubic-bezier(.2,.7,.2,1)}
338
+ #home:not(.hopen) .hside{width:280px;opacity:1}#home.hopen .hside{transform:none}.hsin{width:100%}
339
+ #home.hopen .hscrim{display:block;position:absolute;inset:0;z-index:5;background:var(--shade);animation:fi .2s}
340
+ .htop{padding-inline:8px}.hlog{padding-inline:16px}.hbox,.hchips{width:calc(100% - 32px)}}
341
+ @media(max-width:640px){.hhero h2{font-size:22px}.hbox textarea{font-size:16px}}
287
342
  #terms{display:none}body.termv.paged .hdr{display:flex}body.termv #newtop,body.termv #fbtn{display:none!important}
288
343
  body.termv #terms{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;padding:10px 20px 14px 28px;animation:fi .2s}
289
344
  .tbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px}#tmodes{display:none}body.termv #tmodes{display:inline-flex}#tmodes button{display:inline-grid;place-items:center;padding:0 8px}#tmodes svg{width:16px;height:16px}.tbar .chip{cursor:pointer;background:none;border:0;font:inherit;font-size:11px}.tbar .chip:hover{color:var(--ink)}.tbar svg{width:12px;height:12px}
@@ -519,7 +574,7 @@ a.schip:hover{color:var(--ink);border-color:color-mix(in srgb,var(--line) 60%,va
519
574
  .src-add .acts .btn{flex-shrink:0}
520
575
  @media(max-width:480px){.src-add .two,.src-add .two.plat{grid-template-columns:1fr}}
521
576
  @media(max-width:900px){main{grid-template-columns:1fr;padding-inline:16px;gap:8px}.hdr,.ftr,aside.docked>header,aside.docked>.body{padding-inline:16px}.more{display:grid}.card:hover .age{display:inline}.toast{left:16px;max-width:calc(100% - 32px)}}
522
- @media(max-width:640px){.hdr{gap:8px 12px}.hdr h1{order:0;flex:1 0 50%}#newtop{order:1}.hdr .combo{order:2;flex:1 1 calc(50% - 6px);min-width:0}.hdr .combo>.sel{width:100%;max-width:none}.hdr .sp{display:none}#bq{order:3;flex:1 0 100%;width:auto}.ftr{gap:6px 12px}}
577
+ @media(max-width:640px){.hdr{gap:8px 12px;padding-top:28px;padding-bottom:12px}.hdr h1{order:0;flex:1 0 50%;font-size:20px}#newtop{order:1}.hdr .combo{order:2;flex:1 1 calc(50% - 6px);min-width:0}.hdr .combo>.sel{width:100%;max-width:none}.hdr .sp{display:none}#bq{order:3;flex:1 0 100%;width:auto;max-width:none}body.termv .hdr h1{flex-basis:100%}.ftr{gap:6px 12px}}
523
578
  @media(hover:none){#kbd{display:none}}
524
579
  .skel{display:block;border-radius:6px;background:linear-gradient(90deg,var(--line) 25%,color-mix(in srgb,var(--line) 45%,transparent) 50%,var(--line) 75%);background-size:200% 100%;animation:skel 1.2s ease-in-out infinite}@keyframes skel{from{background-position:200% 0}to{background-position:-200% 0}}
525
580
  /* motion: data-motion (Settings) wins over the system's reduced-motion */
@@ -541,6 +596,8 @@ a.schip:hover{color:var(--ink);border-color:color-mix(in srgb,var(--line) 60%,va
541
596
  <symbol id="i-ai" viewBox="0 0 24 24"><path d="M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z"/><path d="M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z"/></symbol>
542
597
  <symbol id="i-google" viewBox="0 0 24 24"><path fill="currentColor" stroke="none" d="M12.48 10.92v3.28h7.84c-.24 1.84-.85 3.18-1.73 4.1-1.08 1.08-2.76 2.26-5.7 2.26-4.82 0-8.6-3.89-8.6-8.72s3.78-8.72 8.6-8.72c2.6 0 4.5 1.02 5.9 2.34l2.31-2.31C19.13 1.19 16.56 0 12.48 0 5.87 0 .31 5.39.31 12s5.56 12 12.17 12c3.57 0 6.26-1.17 8.37-3.36 2.16-2.16 2.84-5.21 2.84-7.66 0-.76-.05-1.47-.17-2.06z"/></symbol>
543
598
  <symbol id="i-plus" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></symbol>
599
+ <symbol id="i-send" viewBox="0 0 24 24"><path d="M12 19V5M6 11l6-6 6 6"/></symbol>
600
+ <symbol id="i-home" viewBox="0 0 24 24"><path d="M4 11l8-7 8 7v8a1 1 0 0 1-1 1h-4v-6h-6v6H5a1 1 0 0 1-1-1z"/></symbol>
544
601
  <symbol id="i-gear" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"/></symbol>
545
602
  <symbol id="i-inbox" viewBox="0 0 24 24"><path d="M22 12h-6l-2 3h-4l-2-3H2"/><path d="M5.5 5.1L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.5-6.9A2 2 0 0 0 16.8 4H7.2a2 2 0 0 0-1.7 1.1z"/></symbol>
546
603
  <symbol id="i-link" viewBox="0 0 24 24"><path d="M10 13a5 5 0 0 0 7.1.4l3-3a5 5 0 0 0-7.1-7.1l-1.7 1.7M14 11a5 5 0 0 0-7.1-.4l-3 3a5 5 0 0 0 7.1 7.1l1.7-1.7"/></symbol>
@@ -596,16 +653,17 @@ a.schip:hover{color:var(--ink);border-color:color-mix(in srgb,var(--line) 60%,va
596
653
  </defs></svg>
597
654
 
598
655
  <nav class="rail" aria-label="Main">
599
- <div class="top"><a class="home" href="/" title="Board" aria-label="kaizen board"><pre class="mark"><span>█ █ ▄▀█ █ ▀▀█ █▀▀ █▄ █</span>
656
+ <div class="top"><a class="home" href="/" title="Home" aria-label="kaizen home"><pre class="mark"><span>█ █ ▄▀█ █ ▀▀█ █▀▀ █▄ █</span>
600
657
  <span>█▀▄ █▀█ █ ▄▀ ██▄ █ ▀█</span>
601
658
  <span>█ █ █ █ █ █▄▄ █▄▄ █ █</span></pre><span class="mascot"></span></a><button class="ib" id="fold" aria-label="Collapse menu" title="Collapse menu"><svg><use href="#i-side"/></svg></button></div>
602
- <a class="it" href="/?view=icebox" data-view="sources" title="Icebox: requests gathered from your sources"><svg><use href="#i-inbox"/></svg><span class="lbl">Icebox</span></a>
603
- <a class="it" href="/" data-view="board" title="Board"><svg><use href="#i-board"/></svg><span class="lbl">Board</span></a>
659
+ <a class="it" href="/" data-view="home" title="Home: chat with the project's agent"><svg><use href="#i-home"/></svg><span class="lbl">Home</span></a>
660
+ <a class="it fold" href="/?view=icebox" data-view="sources" title="Icebox: requests gathered from your sources"><svg><use href="#i-inbox"/></svg><span class="lbl">Icebox</span></a>
661
+ <a class="it" href="/?view=board" data-view="board" title="Board"><svg><use href="#i-board"/></svg><span class="lbl">Board</span></a>
604
662
  <a class="it" href="/notebook" data-view="notes" title="Notes"><svg><use href="#i-note"/></svg><span class="lbl">Notes</span></a>
605
663
  <a class="it fold" href="/video" data-view="video" title="Video: make and edit videos"><svg><use href="#i-video"/></svg><span class="lbl">Video</span></a>
606
664
  <a class="it" href="/?view=terminal" data-view="terminal" title="Terminal: every agent running in its card"><svg><use href="#i-term"/></svg><span class="lbl">Terminal</span></a>
607
665
  <a class="it fold" href="/?view=settings" data-view="settings" title="Settings"><svg><use href="#i-gear"/></svg><span class="lbl">Settings</span></a>
608
- <details class="mtab"><summary title="More"><svg><use href="#i-more"/></svg><span class="lbl">More</span></summary><div class="mpop"><a href="/video" data-view="video"><svg><use href="#i-video"/></svg>Video</a><a href="/?view=settings" data-view="settings"><svg><use href="#i-gear"/></svg>Settings</a></div></details>
666
+ <details class="mtab"><summary title="More"><svg><use href="#i-more"/></svg><span class="lbl">More</span></summary><div class="mpop"><a href="/?view=icebox" data-view="sources"><svg><use href="#i-inbox"/></svg>Icebox</a><a href="/video" data-view="video"><svg><use href="#i-video"/></svg>Video</a><a href="/?view=settings" data-view="settings"><svg><use href="#i-gear"/></svg>Settings</a></div></details>
609
667
  <span class="end"></span>
610
668
  <div class="theme" role="group" aria-label="Theme"><button data-t="light" title="Light theme"><svg><use href="#i-sun"/></svg><span class="lbl">Light</span></button><button data-t="dark" title="Dark theme"><svg><use href="#i-moon"/></svg><span class="lbl">Dark</span></button></div>
611
669
  </nav>
@@ -641,10 +699,12 @@ a.schip:hover{color:var(--ink);border-color:color-mix(in srgb,var(--line) 60%,va
641
699
  <span class="sp"></span>
642
700
  <span class="bar" id="tmodes" role="group" aria-label="Layout"></span>
643
701
  <button class="btn pri" id="newtop">New idea</button>
702
+ <button class="btn pri" id="hnewtop" aria-label="New chat"><svg><use href="#i-plus"/></svg>New chat</button>
644
703
  </div>
645
704
  <main id="board" aria-live="polite" aria-busy="true"><section aria-hidden="true"><span class="skel" style="height:14px;width:40%;margin:4px 0 12px"></span><span class="skel" style="height:72px;margin-bottom:8px"></span><span class="skel" style="height:72px"></span></section><section aria-hidden="true"><span class="skel" style="height:14px;width:40%;margin:4px 0 12px"></span><span class="skel" style="height:72px;margin-bottom:8px"></span><span class="skel" style="height:72px"></span></section><section aria-hidden="true"><span class="skel" style="height:14px;width:40%;margin:4px 0 12px"></span><span class="skel" style="height:72px;margin-bottom:8px"></span><span class="skel" style="height:72px"></span></section><section aria-hidden="true"><span class="skel" style="height:14px;width:40%;margin:4px 0 12px"></span><span class="skel" style="height:72px;margin-bottom:8px"></span><span class="skel" style="height:72px"></span></section><section aria-hidden="true"><span class="skel" style="height:14px;width:40%;margin:4px 0 12px"></span><span class="skel" style="height:72px;margin-bottom:8px"></span><span class="skel" style="height:72px"></span></section></main>
646
705
 
647
706
  <div id="terms" aria-label="Terminals"></div>
707
+ <div id="home" aria-label="Chat"></div>
648
708
 
649
709
  <div class="ftr"><span class="strip" id="strip"></span><span><a href="/issue" target="_blank" rel="noopener"><svg><use href="#i-bug"/></svg>Report an issue</a><a id="kbd"><svg><use href="#i-kbd"/></svg>Keyboard shortcuts</a></span></div>
650
710