kaizen-agent 1.59.2 → 1.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/add-project.test.ts +169 -0
- package/cli/add-project.ts +132 -0
- package/cli/board.test.ts +15 -0
- package/cli/chat.ts +1 -1
- package/cli/dashboard.ts +6 -2
- package/cli/install.test.ts +1 -1
- package/cli/install.ts +18 -9
- package/cli/pty.test.ts +89 -5
- package/cli/pty.ts +126 -9
- package/cli/restart.test.ts +169 -0
- package/cli/settings.test.ts +35 -0
- package/cli/settings.ts +69 -18
- package/cli/state.test.ts +119 -3
- package/cli/state.ts +171 -13
- package/cli/usage.test.ts +130 -1
- package/cli/web-accept.test.ts +54 -0
- package/cli/web-pr.test.ts +51 -0
- package/cli/web-symlink.test.ts +28 -0
- package/cli/web.ts +349 -100
- package/cli/worktree.test.ts +146 -1
- package/cli/worktree.ts +214 -4
- package/cli/writeback.ts +1 -1
- package/package.json +1 -1
- package/skills/kaizen/SKILL.md +5 -1
- package/skills/kaizen/config.default.yml +15 -2
- package/skills/kaizen/settings.md +1 -0
- package/skills/kaizen/spec-main.md +28 -2
- package/skills/kaizen-help/SKILL.md +1 -0
- package/web/board/add-project.ts +136 -0
- package/web/board/api.ts +1 -1
- package/web/board/badge.ts +5 -5
- package/web/board/cards.ts +11 -3
- package/web/board/context.ts +1 -0
- package/web/board/fixes.ts +3 -2
- package/web/board/git.ts +309 -60
- package/web/board/home.ts +7 -1
- package/web/board/ideas.ts +20 -3
- package/web/board/live.ts +1 -1
- package/web/board/main.ts +26 -9
- package/web/board/panel.ts +31 -16
- package/web/board/projects.ts +6 -85
- package/web/board/run-pick.ts +41 -0
- package/web/board/run-view.ts +286 -110
- package/web/board/search-match.ts +20 -0
- package/web/board/search.test.ts +20 -0
- package/web/board/search.ts +324 -0
- package/web/board/settings.ts +42 -5
- package/web/board/store.ts +3 -1
- package/web/board/toast.ts +4 -1
- package/web/board/views.ts +3 -1
- package/web/board/workspace.ts +127 -38
- package/web/board/ws-board-ui.ts +95 -0
- package/web/board/ws-board.test.ts +71 -0
- package/web/board/ws-board.ts +45 -0
- package/web/board/ws-tabs.test.ts +181 -0
- package/web/board/ws-tabs.ts +173 -0
- package/web/board.html +86 -36
- package/web/board.js +129 -44
- package/web/notebook.js +41 -24
- package/web/notes.html +26 -20
- package/web/term.js +1 -1
- package/web/video.html +26 -20
- package/web/video.js +76 -59
package/web/notes.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
:root[data-theme=dark]{--bg:#0c162f;--bg-2:#121e3c;--line:#22305a;--ink:#eef2fa;--ink-hi:#deeeff;--dim:#96aacd;--accent:#486ed9;--run:#4fd6e6;--ok:#5fd28a;--warn:#e6b450;--danger:#e85050;color-scheme:dark}
|
|
16
16
|
*{box-sizing:border-box}
|
|
17
17
|
/* Shape, type and depth. --shade is the one shadow colour, themed like the rest. */
|
|
18
|
-
:root{--r:4px;--r-s:4px;--r-pill:999px;--font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;--mono:ui-monospace,"JetBrains Mono","Cascadia Code","SF Mono",Menlo,Consolas,monospace;--on-accent:#fff;--hover:color-mix(in srgb,var(--dim) 12%,transparent);--shade:rgb(12 22 47/.08);--shadow-1:0 1px 2px var(--shade);--shadow-2:0 0 0 1px var(--shade),0 8px 24px -6px var(--shade);--canvas:color-mix(in srgb,var(--bg) 95.5%,var(--ink))}
|
|
18
|
+
:root{--r:4px;--r-s:4px;--r-pill:999px;--font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;--mono:ui-monospace,"JetBrains Mono","Cascadia Code","SF Mono",Menlo,Consolas,monospace;--on-accent:#fff;--hover:color-mix(in srgb,var(--dim) 12%,transparent);--shade:rgb(12 22 47/.08);--shadow-1:0 1px 2px var(--shade);--shadow-2:0 0 0 1px var(--shade),0 8px 24px -6px var(--shade);--canvas:color-mix(in srgb,var(--bg) 95.5%,var(--ink));--row:28px;--row-h:32px;--ico:14px;--ico-s:12px;--btn-xs:24px;--btn-s:32px;--btn:36px;--tabbar:36px;--pane-h:24px;--fs-xs:11px;--fs-s:12px;--fs:13px;--fs-l:14px;--gap:6px;--padx:8px}
|
|
19
19
|
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--shade:rgb(0 0 0/.45);--canvas:color-mix(in srgb,var(--bg) 70%,black)}}
|
|
20
20
|
:root[data-theme=dark]{--shade:rgb(0 0 0/.45);--canvas:color-mix(in srgb,var(--bg) 70%,black)}
|
|
21
21
|
body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;height:100vh;height:100dvh;overflow:hidden;display:flex}
|
|
@@ -32,28 +32,29 @@ svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke
|
|
|
32
32
|
[hidden]{display:none!important}
|
|
33
33
|
|
|
34
34
|
/* side menu: the same lines in board.html and notes.html (a test holds them equal) */
|
|
35
|
-
.rail{width:
|
|
35
|
+
.rail{width:280px;flex:none;display:flex;flex-direction:column;gap:2px;padding:18px 12px 14px;overflow:hidden auto;transition:width .18s}
|
|
36
36
|
.rail .top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 18px 10px}
|
|
37
37
|
.rail .home{display:block;color:inherit;text-decoration:none}
|
|
38
38
|
.rail .top .mascot{display:none;width:28px;height:26px}
|
|
39
|
-
.rail a.it{display:flex;align-items:center;gap:
|
|
39
|
+
.rail a.it{display:flex;align-items:center;gap:var(--gap);height:var(--row);padding:0 var(--padx);border-radius:var(--r-s);font-size:var(--fs);font-weight:500;color:var(--dim);text-decoration:none;white-space:nowrap;transition:background .12s,color .12s}
|
|
40
40
|
.rail a.it:hover{background:var(--hover);color:var(--ink)}
|
|
41
|
+
@media(min-width:641px){.rail a.it svg{width:var(--ico);height:var(--ico)}}
|
|
41
42
|
.rail a.it[aria-current=page]{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--ink)}
|
|
42
43
|
.rail a.it[aria-current=page] svg{color:var(--accent)}
|
|
43
44
|
.rail .end{flex:1}
|
|
44
45
|
.theme{display:flex;gap:2px;padding:3px;border-radius:var(--r-s);background:var(--hover)}
|
|
45
|
-
.theme button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:
|
|
46
|
-
.theme button svg{width:
|
|
46
|
+
.theme button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:var(--btn-xs);border-radius:4px;font-size:var(--fs-s);font-weight:500;color:var(--dim);transition:background .12s,color .12s}
|
|
47
|
+
.theme button svg{width:var(--ico);height:var(--ico)}
|
|
47
48
|
.theme button:hover{color:var(--ink)}
|
|
48
49
|
.theme button[aria-pressed=true]{background:var(--bg-2);color:var(--ink);box-shadow:var(--shadow-1)}
|
|
49
50
|
[data-rail=min] .rail{width:60px;padding-inline:10px;align-items:center}
|
|
50
51
|
[data-rail=min] .rail .top{flex-direction:column;gap:12px;padding:0 0 14px}
|
|
51
52
|
[data-rail=min] .rail .top pre.mark{display:none}
|
|
52
53
|
[data-rail=min] .rail .top .mascot{display:block}
|
|
53
|
-
[data-rail=min] .rail a.it{width:
|
|
54
|
+
[data-rail=min] .rail a.it{width:var(--btn-s);height:var(--btn-s);justify-content:center;padding:0}
|
|
54
55
|
[data-rail=min] .rail .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
|
|
55
56
|
[data-rail=min] .theme{flex-direction:column}
|
|
56
|
-
[data-rail=min] .theme button{width:
|
|
57
|
+
[data-rail=min] .theme button{width:var(--btn-s);flex:none}
|
|
57
58
|
@media(max-width:640px){#fold{display:none}}
|
|
58
59
|
.mtab{display:none}
|
|
59
60
|
/* phones: the side menu is a bottom tab bar, in the page flow so nothing sits under it; it owns the bottom safe area */
|
|
@@ -77,24 +78,28 @@ svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke
|
|
|
77
78
|
body .rail a.upd::after{left:calc(50% + 6px);top:4px}body .toast{left:16px;bottom:calc(68px + env(safe-area-inset-bottom))}}
|
|
78
79
|
.rail a.it[data-n]{position:relative}.rail a.it[data-n]::after{content:attr(data-n);position:absolute;left:24px;top:3px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:8px;background:var(--dim);color:var(--bg);font:600 10px/16px var(--font);text-align:center;box-shadow:0 0 0 2px var(--bg)}
|
|
79
80
|
@media(max-width:640px){body .rail a.it[data-n]::after{left:calc(50% + 4px);top:2px}}
|
|
80
|
-
.rail a.it:is([data-view=board],[data-view=ideas])[data-n]::after{left:auto;right:8px;top:
|
|
81
|
+
.rail a.it:is([data-view=board],[data-view=ideas])[data-n]::after{left:auto;right:8px;top:6px;background:var(--warn)}
|
|
81
82
|
[data-rail=min] .rail a.it:is([data-view=board],[data-view=ideas])[data-n]::after{left:24px;right:auto;top:3px}
|
|
82
83
|
@media(max-width:640px){[data-rail=min] .rail a.it:is([data-view=board],[data-view=ideas])[data-n]::after{left:calc(50% + 4px);top:2px}}
|
|
83
84
|
/* the rail's Projects list: ideas and runs grouped by project, each with its state icon */
|
|
84
|
-
.rail a.it .n{margin-left:auto;font-size:
|
|
85
|
+
.rail a.it .n{margin-left:auto;font-size:var(--fs-xs);font-weight:400;color:var(--dim)}
|
|
85
86
|
.rail a.it .srcs+.n{margin-left:8px}.rail a.it .srcs{margin-left:auto;display:flex;gap:4px;opacity:.75}.rail a.it .srcs svg,.rail a.it .srcs img{width:13px;height:13px}
|
|
86
87
|
.rail a.it,.rail .theme,.rail .theme button{border-radius:4px}
|
|
87
|
-
.rail .psec{display:flex;align-items:center;gap:2px;margin:14px 0 2px;padding-left:
|
|
88
|
-
.rail .psec button,.rail .rib{width:
|
|
88
|
+
.rail .psec{display:flex;align-items:center;gap:2px;margin:14px 0 2px;padding-left:var(--padx);font-size:var(--fs-xs);font-weight:600;color:var(--dim)}.rail .psec .lbl{flex:1}
|
|
89
|
+
.rail .psec button,.rail .rib{width:var(--btn-xs);height:var(--btn-xs);display:grid;place-items:center;flex:none;border-radius:4px;color:var(--dim)}.rail .psec button:hover,.rail .rib:hover{background:var(--hover);color:var(--ink)}.rail .psec button svg,.rail .rib svg{width:var(--ico);height:var(--ico)}
|
|
89
90
|
.rail .psec button[aria-pressed=true]{color:var(--accent)}.rail .psec button{position:relative}.rail .psec button[aria-pressed=true]::after{content:"";position:absolute;right:3px;top:3px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
|
|
90
91
|
.pfpop{position:fixed;z-index:40;min-width:220px;max-width:280px;max-height:60vh;overflow:auto;padding:6px;display:flex;flex-direction:column;gap:1px;background:var(--bg-2);color:var(--ink);border:1px solid var(--line);border-radius:4px;box-shadow:var(--shadow-2);font-size:12.5px}
|
|
91
92
|
.pfpop .sel{margin:2px 2px 6px;padding:5px 8px;border-radius:4px}.pfrow{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:4px;cursor:pointer;white-space:nowrap}.pfrow:hover{background:var(--hover)}.pfrow input{accent-color:var(--accent);margin:0}.pfrow .plogo{width:16px;height:16px;font-size:9px;border-radius:4px;display:inline-grid;place-items:center;flex:none;font-weight:600;color:var(--dim);background:var(--hover)}.pfrow img.plogo{background:none}
|
|
92
93
|
.pfpop .pfh{margin:8px 8px 2px;font-size:11px;font-weight:600;color:var(--dim)}
|
|
93
94
|
.rail .plist{flex:1;min-height:40px;overflow:hidden auto;margin:0 -4px;padding:0 4px}
|
|
94
|
-
#kbd{display:none!important}.plist .proj{all:unset;box-sizing:border-box;display:flex;gap:8px;align-items:center;margin:
|
|
95
|
-
.plist .row{display:grid;grid-template-columns:14px minmax(0,1fr);gap:
|
|
96
|
-
.plist .row
|
|
97
|
-
.plist .none{padding:6px
|
|
95
|
+
#kbd{display:none!important}.plist .proj{all:unset;box-sizing:border-box;display:flex;gap:8px;align-items:center;height:var(--row-h);margin:2px 0 0;padding:0 var(--padx);font-size:var(--fs-s);font-weight:500;color:var(--ink);white-space:nowrap;cursor:pointer;width:100%;border-radius:4px}.proj:hover{background:var(--hover)}.proj:focus-visible{outline:2px solid var(--accent)}.proj .pname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.proj .fchev{width:12px;height:12px;flex:none;color:var(--dim);transition:transform .15s,opacity .15s;transform:rotate(90deg);opacity:0}.proj:hover .fchev,.proj:focus-visible .fchev{opacity:1}.proj.shut .fchev{transform:none}@media(hover:none){.proj .fchev{opacity:1}}.plist .proj .c{color:var(--dim);font-size:11px;font-weight:400}.plist .proj .plogo{width:16px;height:16px;font-size:9px;border-radius:4px;display:inline-grid;place-items:center;flex:none;font-weight:600;color:var(--dim);background:var(--hover);object-fit:contain}.plist .proj img.plogo{background:none}
|
|
96
|
+
.plist .row{display:grid;grid-template-columns:14px minmax(0,1fr);gap:var(--gap);align-items:center;height:var(--row);padding:0 var(--padx);border-radius:4px;color:var(--ink);text-decoration:none}.plist .row:hover,.plist .row[aria-current]{background:var(--hover)}.plist .row .si{margin-top:0}
|
|
97
|
+
.plist .row div{display:flex;align-items:baseline;gap:var(--gap);min-width:0}.plist .row b{flex:1;min-width:0;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plist .row small{flex:0 1 auto;max-width:30%;color:var(--dim);font:var(--fs-xs)/1.4 var(--mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plist .wsr{position:relative}.plist .wsr:has(.wcount) .row{padding-right:36px}.plist .wcount{all:unset;box-sizing:border-box;position:absolute;right:var(--padx);top:50%;margin-top:-9px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;text-align:center;color:var(--dim);font:var(--fs-xs)/18px var(--mono);cursor:pointer}.plist .wcount::before{content:"";position:absolute;inset:-10px -6px}.plist .wcount:hover{background:var(--hover);color:var(--ink)}.plist .wcount:focus-visible{outline:2px solid var(--accent)}
|
|
98
|
+
.plist .wsr.wsc{margin:3px 0;border:1px solid transparent;border-radius:8px}.plist .wsr.wsc:hover{background:var(--hover)}.plist .wsr.wsc:has(.row[aria-current]){border-color:var(--line);background:var(--hover)}.plist .wsr.wsc .row{height:auto;min-height:44px;align-items:start;padding-top:7px;padding-bottom:4px;background:none}.plist .wsr.wsc .row .si{margin-top:3px}.plist .row .wl{flex-direction:column;align-items:stretch;gap:1px}.plist .l1,.plist .l2{display:flex;align-items:center;gap:var(--gap);min-width:0}.plist .l1 b{font-weight:500}.plist .pri{flex:none;font:var(--fs-xs)/16px var(--mono);font-style:normal;padding:0 6px;border:1px solid var(--line);border-radius:6px;color:var(--dim)}.plist .l2{color:var(--dim);font:var(--fs-xs)/1.4 var(--mono)}.plist .l2 span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plist .l2 svg{width:12px;height:12px;flex:none}.plist .wsr.wsc .wcount{top:8px;margin-top:0}
|
|
99
|
+
.plist .wag{display:flex;align-items:center;gap:var(--gap);padding:0 var(--padx) 7px;min-width:0}.plist .chips{display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0}.plist .chip{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 6px;border:1px solid var(--line);border-radius:7px}.plist .amark,.plist .wchev,.plist .aone,.plist .arow{all:unset;box-sizing:border-box;cursor:pointer}.plist .amark,.plist .wchev{display:grid;place-items:center;border-radius:4px}.plist .amark{width:18px;height:18px}.plist .wchev{width:20px;height:20px;margin-left:auto;color:var(--dim)}.plist .amark:hover,.plist .wchev:hover,.plist .aone:hover,.plist .arow:hover{background:var(--hover);color:var(--ink)}.plist .amark:focus-visible,.plist .wchev:focus-visible,.plist .aone:focus-visible,.plist .arow:focus-visible{outline:2px solid var(--accent)}.plist .amark svg,.plist .aone svg,.plist .arow svg{width:14px;height:14px;flex:none}.plist .wchev svg{width:14px;height:14px;transition:transform .15s}.plist .wchev.on svg{transform:rotate(180deg)}
|
|
100
|
+
.plist .aone,.plist .arow{display:flex;align-items:center;gap:6px;min-width:0;font-size:var(--fs-s);border-radius:4px}.plist .aone{flex:1;color:var(--ink)}.plist .aht{flex:1;font-size:var(--fs-s)}.plist .alist{display:flex;flex-direction:column;padding:0 4px 6px}.plist .arow{height:26px;padding:0 4px;color:var(--dim)}.plist .atx{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plist .aone small,.plist .arow small{flex:none;margin-left:auto;color:var(--dim);font:var(--fs-xs)/1 var(--mono)}[data-rail=min] .plist .wag,[data-rail=min] .plist .alist,[data-rail=min] .plist .pri{display:none}[data-rail=min] .plist .wsr.wsc{border-color:transparent}
|
|
101
|
+
.plist .none{padding:6px var(--padx);color:var(--dim);font-size:var(--fs-s)}
|
|
102
|
+
.plist .pgrp{display:flex;align-items:center;margin:2px 0 0}.plist .pgrp .proj{flex:1;min-width:0;margin:0}.plist .wadd{all:unset;box-sizing:border-box;display:grid;place-items:center;width:20px;height:20px;flex:none;border-radius:4px;color:var(--dim);cursor:pointer;opacity:0}.plist .pgrp:hover .wadd,.plist .wadd:focus-visible{opacity:1}.plist .wadd:hover{background:var(--hover);color:var(--ink)}.plist .wadd:focus-visible{outline:2px solid var(--accent)}.plist .wadd svg{width:var(--ico-s);height:var(--ico-s)}[data-rail=min] .plist .wadd{display:none}
|
|
98
103
|
.rail .rbot{display:flex;align-items:center;gap:2px;margin-top:6px}#themet .moon,#themet[data-dark=true] .sun{display:none}#themet[data-dark=true] .moon{display:block}.rail .rbot a.it{flex:1;min-width:0}
|
|
99
104
|
/* a card's state: idle ring, planning arc, building tailed arc, reviewing orbit, waiting ripple, done check, stalled pause */
|
|
100
105
|
.si{width:12px;height:12px;border-radius:50%;position:relative;flex:none;--ring:radial-gradient(farthest-side,#0000 calc(100% - 2px),#000 calc(100% - 1.5px))}
|
|
@@ -111,9 +116,9 @@ body .rail a.upd::after{left:calc(50% + 6px);top:4px}body .toast{left:16px;botto
|
|
|
111
116
|
@keyframes si-spin{to{transform:rotate(360deg)}}@keyframes si-ping{75%,100%{transform:scale(2.2);opacity:0}}
|
|
112
117
|
@media (prefers-reduced-motion:reduce){:root:not([data-motion=full]) .si{animation:none!important}}
|
|
113
118
|
:root[data-motion=reduce] .si{animation:none!important}
|
|
114
|
-
[data-rail=min] .rail a.it .n,[data-rail=min] .rail a.it .srcs,[data-rail=min] .rail .rib:not(.th),[data-rail=min] .plist .proj :not(.plogo),[data-rail=min] .plist .row div{display:none}
|
|
119
|
+
[data-rail=min] .rail a.it .n,[data-rail=min] .rail a.it .srcs,[data-rail=min] .rail .rib:not(.th),[data-rail=min] .plist .proj :not(.plogo),[data-rail=min] .plist .row div,[data-rail=min] .plist .wcount{display:none}
|
|
115
120
|
[data-rail=min] .rail .psec{padding:0;margin:12px 0 2px;flex-direction:column}[data-rail=min] .rail .rbot{flex-direction:column}
|
|
116
|
-
[data-rail=min] .plist .proj{justify-content:center;margin:10px 0 4px}[data-rail=min] .plist .row{grid-template-columns:14px;justify-content:center;padding:
|
|
121
|
+
[data-rail=min] .plist .proj{justify-content:center;margin:10px 0 4px;padding:0}[data-rail=min] .plist .row{grid-template-columns:14px;justify-content:center;padding:0}
|
|
117
122
|
@media(max-width:640px){.rail .psec,.rail .plist,.rail .rib{display:none}.rail .rbot,[data-rail=min] .rail .rbot{display:contents}.rail a.it[data-view=ideas]{order:3}.rail a.it[data-view=board]{order:4}.rail a.it .n,.rail a.it .srcs{display:none}}
|
|
118
123
|
/* phones: Home, Chat, Runs, Settings. The board, Ideas and the Icebox are set up on a computer (web/board/phone.ts) */
|
|
119
124
|
.rail a.it.ponly,#phome{display:none}
|
|
@@ -304,7 +309,7 @@ select.sel{cursor:pointer;appearance:none;padding-right:30px;max-width:min(320px
|
|
|
304
309
|
<symbol id="i-max" viewBox="0 0 24 24"><path d="M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5"/></symbol>
|
|
305
310
|
<symbol id="i-min" viewBox="0 0 24 24"><path d="M9 4v5H4M15 4v5h5M9 20v-5H4M15 20v-5h5"/></symbol>
|
|
306
311
|
<symbol id="i-list" viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h16"/></symbol>
|
|
307
|
-
|
|
312
|
+
<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><symbol id="i-claude" viewBox="0 0 24 24"><path fill="#D97757" stroke="none" d="m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"/></symbol><symbol id="i-gemini" viewBox="0 0 24 24"><path fill="#8E75B2" stroke="none" d="M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"/></symbol><symbol id="i-codex" viewBox="0 0 24 24"><path fill="currentColor" stroke="none" d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></symbol></defs></svg>
|
|
308
313
|
|
|
309
314
|
<nav class="rail" aria-label="Main">
|
|
310
315
|
<div class="top"><a class="home" href="/" title="Home" aria-label="kaizen home"><pre class="mark"><span>█ █ ▄▀█ █ ▀▀█ █▀▀ █▄ █</span>
|
|
@@ -321,15 +326,16 @@ select.sel{cursor:pointer;appearance:none;padding-right:30px;max-width:min(320px
|
|
|
321
326
|
<symbol id="r-chat" viewBox="0 0 24 24"><path d="M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z"/></symbol>
|
|
322
327
|
<symbol id="r-runs" viewBox="0 0 24 24"><path d="M9 6h11M9 12h11M9 18h11"/><circle cx="4.5" cy="6" r="1.2"/><circle cx="4.5" cy="12" r="1.2"/><circle cx="4.5" cy="18" r="1.2"/></symbol>
|
|
323
328
|
</defs></svg>
|
|
329
|
+
<a class="it gs-it" href="#" id="gsearch" title="Search everything"><svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" fill="none" stroke="currentColor" stroke-width="2"/><path d="M20 20l-4-4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg><span class="lbl">Search</span></a>
|
|
324
330
|
<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>
|
|
325
331
|
<a class="it ponly" href="/?view=chat" data-view="chat" title="Chat with kaizen's agent"><svg><use href="#r-chat"/></svg><span class="lbl">Chat</span></a>
|
|
326
332
|
<a class="it ponly" href="/?view=device" data-view="device" title="This computer's runs"><svg><use href="#r-runs"/></svg><span class="lbl">Runs</span></a>
|
|
327
333
|
<a class="it fold" href="/?view=icebox" data-view="sources" title="Icebox: requests gathered from your sources"><svg><use href="#r-tray"/></svg><span class="lbl">Icebox</span><span class="srcs" id="rail-srcs"></span><span class="n" id="ice-n"></span></a>
|
|
328
334
|
<a class="it" href="/?view=ideas" data-view="ideas" title="Ideas: every idea and run, filtered"><svg><use href="#r-bulb"/></svg><span class="lbl">Ideas</span></a>
|
|
329
335
|
<a class="it" href="/?view=board" data-view="board" title="Board"><svg><use href="#i-board"/></svg><span class="lbl">Board</span></a>
|
|
330
|
-
<div class="psec"><span class="lbl">Projects</span><button id="pfilter" title="Show one project" aria-label="Show one project"><svg><use href="#r-filter"/></svg></button><button id="padd" title="
|
|
336
|
+
<div class="psec"><span class="lbl">Projects</span><button id="pfilter" title="Show one project" aria-label="Show one project"><svg><use href="#r-filter"/></svg></button><button id="padd" title="Add project or workspace" aria-label="Add project or workspace"><svg><use href="#r-plus"/></svg></button></div>
|
|
331
337
|
<div class="plist" id="plist" aria-label="Ideas and runs by project"></div>
|
|
332
|
-
<div class="rbot"><a class="it fold" href="/?view=settings" data-view="settings" title="Settings"><svg><use href="#i-gear"/></svg
|
|
338
|
+
<div class="rbot"><a class="it fold" href="/?view=settings" data-view="settings" title="Settings" aria-label="Settings"><svg><use href="#i-gear"/></svg></a><a class="rib" href="/issue" target="_blank" rel="noopener" title="Report an issue" aria-label="Report an issue"><svg><use href="#r-bug"/></svg></a><button class="rib" id="kbd" title="Keyboard shortcuts" aria-label="Keyboard shortcuts"><svg><use href="#r-kbd"/></svg></button><button class="rib th" id="themet" title="Theme" aria-label="Theme"><svg class="sun"><use href="#i-sun"/></svg><svg class="moon"><use href="#i-moon"/></svg></button></div>
|
|
333
339
|
</nav>
|
|
334
340
|
<script>
|
|
335
341
|
// Side menu: theme and collapse, the same lines in board.html and notes.html. Runs before
|
package/web/term.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* kaizen terminal
|
|
1
|
+
/* kaizen terminal 3dc63af3007d5303 -- generated by bun run build:web from web/term.ts; do not edit */
|
|
2
2
|
(()=>{var{defineProperty:Oo,getOwnPropertyDescriptor:Jh}=Object,Qh=(e,t)=>{for(var i in t)Oo(e,i,{get:t[i],enumerable:!0})},he=(e,t,i,s)=>{for(var r=s>1?void 0:s?Jh(t,i):t,n=e.length-1,o;n>=0;n--)(o=e[n])&&(r=(s?o(t,i,r):o(r))||r);return s&&r&&Oo(t,i,r),r},P=(e,t)=>(i,s)=>t(i,s,e),Tn="Terminal input",or={get:()=>Tn,set:(e)=>Tn=e},Bn="Too much output to announce, navigate to rows manually to read",ar={get:()=>Bn,set:(e)=>Bn=e};function el(e){return e.replace(/\r?\n/g,"\r")}function tl(e,t){return t?"\x1B[200~"+e+"\x1B[201~":e}function il(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()}function sl(e,t,i,s){if(e.stopPropagation(),e.clipboardData){let r=e.clipboardData.getData("text/plain");Io(r,t,i,s)}}function Io(e,t,i,s){e=el(e),e=tl(e,i.decPrivateModes.bracketedPasteMode&&s.rawOptions.ignoreBracketedPasteMode!==!0),i.triggerDataEvent(e,!0),t.value=""}function No(e,t,i){let s=i.getBoundingClientRect(),r=e.clientX-s.left-10,n=e.clientY-s.top-10;t.style.width="20px",t.style.height="20px",t.style.left=`${r}px`,t.style.top=`${n}px`,t.style.zIndex="1000",t.focus()}function An(e,t,i,s,r){No(e,t,i),r&&s.rightClickSelect(e),t.value=s.selectionText,t.select()}function At(e){return e>65535?(e-=65536,String.fromCharCode((e>>10)+55296)+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)}function _s(e,t=0,i=e.length){let s="";for(let r=t;r<i;++r){let n=e[r];n>65535?(n-=65536,s+=String.fromCharCode((n>>10)+55296)+String.fromCharCode(n%1024+56320)):s+=String.fromCharCode(n)}return s}var rl=class{constructor(){this._interim=0}clear(){this._interim=0}decode(e,t){let i=e.length;if(!i)return 0;let s=0,r=0;if(this._interim){let n=e.charCodeAt(r++);56320<=n&&n<=57343?t[s++]=(this._interim-55296)*1024+n-56320+65536:(t[s++]=this._interim,t[s++]=n),this._interim=0}for(let n=r;n<i;++n){let o=e.charCodeAt(n);if(55296<=o&&o<=56319){if(++n>=i)return this._interim=o,s;let a=e.charCodeAt(n);56320<=a&&a<=57343?t[s++]=(o-55296)*1024+a-56320+65536:(t[s++]=o,t[s++]=a);continue}o!==65279&&(t[s++]=o)}return s}},nl=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(e,t){let i=e.length;if(!i)return 0;let s=0,r,n,o,a,l=0,h=0;if(this.interim[0]){let u=!1,g=this.interim[0];g&=(g&224)===192?31:(g&240)===224?15:7;let p=0,b;for(;(b=this.interim[++p]&63)&&p<4;)g<<=6,g|=b;let M=(this.interim[0]&224)===192?2:(this.interim[0]&240)===224?3:4,B=M-p;for(;h<B;){if(h>=i)return 0;if(b=e[h++],(b&192)!==128){h--,u=!0;break}else this.interim[p++]=b,g<<=6,g|=b&63}u||(M===2?g<128?h--:t[s++]=g:M===3?g<2048||g>=55296&&g<=57343||g===65279||(t[s++]=g):g<65536||g>1114111||(t[s++]=g)),this.interim.fill(0)}let d=i-4,c=h;for(;c<i;){for(;c<d&&!((r=e[c])&128)&&!((n=e[c+1])&128)&&!((o=e[c+2])&128)&&!((a=e[c+3])&128);)t[s++]=r,t[s++]=n,t[s++]=o,t[s++]=a,c+=4;if(r=e[c++],r<128)t[s++]=r;else if((r&224)===192){if(c>=i)return this.interim[0]=r,s;if(n=e[c++],(n&192)!==128){c--;continue}if(l=(r&31)<<6|n&63,l<128){c--;continue}t[s++]=l}else if((r&240)===224){if(c>=i)return this.interim[0]=r,s;if(n=e[c++],(n&192)!==128){c--;continue}if(c>=i)return this.interim[0]=r,this.interim[1]=n,s;if(o=e[c++],(o&192)!==128){c--;continue}if(l=(r&15)<<12|(n&63)<<6|o&63,l<2048||l>=55296&&l<=57343||l===65279)continue;t[s++]=l}else if((r&248)===240){if(c>=i)return this.interim[0]=r,s;if(n=e[c++],(n&192)!==128){c--;continue}if(c>=i)return this.interim[0]=r,this.interim[1]=n,s;if(o=e[c++],(o&192)!==128){c--;continue}if(c>=i)return this.interim[0]=r,this.interim[1]=n,this.interim[2]=o,s;if(a=e[c++],(a&192)!==128){c--;continue}if(l=(r&7)<<18|(n&63)<<12|(o&63)<<6|a&63,l<65536||l>1114111)continue;t[s++]=l}}return s}},Fo="",Pt=" ",Di=class e{constructor(){this.fg=0,this.bg=0,this.extended=new rs}static toColorRGB(t){return[t>>>16&255,t>>>8&255,t&255]}static fromColorRGB(t){return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255}clone(){let t=new e;return t.fg=this.fg,t.bg=this.bg,t.extended=this.extended.clone(),t}isInverse(){return this.fg&67108864}isBold(){return this.fg&134217728}isUnderline(){return this.hasExtendedAttrs()&&this.extended.underlineStyle!==0?1:this.fg&268435456}isBlink(){return this.fg&536870912}isInvisible(){return this.fg&1073741824}isItalic(){return this.bg&67108864}isDim(){return this.bg&134217728}isStrikethrough(){return this.fg&2147483648}isProtected(){return this.bg&536870912}isOverline(){return this.bg&1073741824}getFgColorMode(){return this.fg&50331648}getBgColorMode(){return this.bg&50331648}isFgRGB(){return(this.fg&50331648)===50331648}isBgRGB(){return(this.bg&50331648)===50331648}isFgPalette(){return(this.fg&50331648)===16777216||(this.fg&50331648)===33554432}isBgPalette(){return(this.bg&50331648)===16777216||(this.bg&50331648)===33554432}isFgDefault(){return(this.fg&50331648)===0}isBgDefault(){return(this.bg&50331648)===0}isAttributeDefault(){return this.fg===0&&this.bg===0}getFgColor(){switch(this.fg&50331648){case 16777216:case 33554432:return this.fg&255;case 50331648:return this.fg&16777215;default:return-1}}getBgColor(){switch(this.bg&50331648){case 16777216:case 33554432:return this.bg&255;case 50331648:return this.bg&16777215;default:return-1}}hasExtendedAttrs(){return this.bg&268435456}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(this.bg&268435456&&~this.extended.underlineColor)switch(this.extended.underlineColor&50331648){case 16777216:case 33554432:return this.extended.underlineColor&255;case 50331648:return this.extended.underlineColor&16777215;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return this.bg&268435456&&~this.extended.underlineColor?this.extended.underlineColor&50331648:this.getFgColorMode()}isUnderlineColorRGB(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)===50331648:this.isFgRGB()}isUnderlineColorPalette(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)===16777216||(this.extended.underlineColor&50331648)===33554432:this.isFgPalette()}isUnderlineColorDefault(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)===0:this.isFgDefault()}getUnderlineStyle(){return this.fg&268435456?this.bg&268435456?this.extended.underlineStyle:1:0}getUnderlineVariantOffset(){return this.extended.underlineVariantOffset}},rs=class e{constructor(t=0,i=0){this._ext=0,this._urlId=0,this._ext=t,this._urlId=i}get ext(){return this._urlId?this._ext&-469762049|this.underlineStyle<<26:this._ext}set ext(t){this._ext=t}get underlineStyle(){return this._urlId?5:(this._ext&469762048)>>26}set underlineStyle(t){this._ext&=-469762049,this._ext|=t<<26&469762048}get underlineColor(){return this._ext&67108863}set underlineColor(t){this._ext&=-67108864,this._ext|=t&67108863}get urlId(){return this._urlId}set urlId(t){this._urlId=t}get underlineVariantOffset(){let t=(this._ext&3758096384)>>29;return t<0?t^4294967288:t}set underlineVariantOffset(t){this._ext&=536870911,this._ext|=t<<29&3758096384}clone(){return new e(this._ext,this._urlId)}isEmpty(){return this.underlineStyle===0&&this._urlId===0}},Xe=class e extends Di{constructor(){super(...arguments);this.content=0,this.fg=0,this.bg=0,this.extended=new rs,this.combinedData=""}static fromCharData(t){let i=new e;return i.setFromCharData(t),i}isCombined(){return this.content&2097152}getWidth(){return this.content>>22}getChars(){return this.content&2097152?this.combinedData:this.content&2097151?At(this.content&2097151):""}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):this.content&2097151}setFromCharData(t){this.fg=t[0],this.bg=0;let i=!1;if(t[1].length>2)i=!0;else if(t[1].length===2){let s=t[1].charCodeAt(0);if(55296<=s&&s<=56319){let r=t[1].charCodeAt(1);56320<=r&&r<=57343?this.content=(s-55296)*1024+r-56320+65536|t[2]<<22:i=!0}else i=!0}else this.content=t[1].charCodeAt(0)|t[2]<<22;i&&(this.combinedData=t[1],this.content=2097152|t[2]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}},Pn="di$target",hr="di$dependencies",Ks=new Map;function ol(e){return e[hr]||[]}function ye(e){if(Ks.has(e))return Ks.get(e);let t=function(i,s,r){if(arguments.length!==3)throw Error("@IServiceName-decorator can only be used to decorate a parameter");al(t,i,r)};return t._id=e,Ks.set(e,t),t}function al(e,t,i){t[Pn]===t?t[hr].push({id:e,index:i}):(t[hr]=[{id:e,index:i}],t[Pn]=t)}var Oe=ye("BufferService"),Wo=ye("CoreMouseService"),jt=ye("CoreService"),hl=ye("CharsetService"),Ir=ye("InstantiationService"),zo=ye("LogService"),Ie=ye("OptionsService"),Ho=ye("OscLinkService"),ll=ye("UnicodeService"),Ti=ye("DecorationService"),lr=class{constructor(e,t,i){this._bufferService=e,this._optionsService=t,this._oscLinkService=i}provideLinks(e,t){let i=this._bufferService.buffer.lines.get(e-1);if(!i){t(void 0);return}let s=[],r=this._optionsService.rawOptions.linkHandler,n=new Xe,o=i.getTrimmedLength(),a=-1,l=-1,h=!1;for(let d=0;d<o;d++)if(!(l===-1&&!i.hasContent(d))){if(i.loadCell(d,n),n.hasExtendedAttrs()&&n.extended.urlId)if(l===-1){l=d,a=n.extended.urlId;continue}else h=n.extended.urlId!==a;else l!==-1&&(h=!0);if(h||l!==-1&&d===o-1){let c=this._oscLinkService.getLinkData(a)?.uri;if(c){let u={start:{x:l+1,y:e},end:{x:d+(!h&&d===o-1?1:0),y:e}},g=!1;if(!r?.allowNonHttpProtocols)try{let p=new URL(c);["http:","https:"].includes(p.protocol)||(g=!0)}catch{g=!0}g||s.push({text:c,range:u,activate:(p,b)=>r?r.activate(p,b,u):cl(p,b),hover:(p,b)=>r?.hover?.(p,b,u),leave:(p,b)=>r?.leave?.(p,b,u)})}h=!1,n.hasExtendedAttrs()&&n.extended.urlId?(l=d,a=n.extended.urlId):(l=-1,a=-1)}}t(s)}};lr=he([P(0,Oe),P(1,Ie),P(2,Ho)],lr);function cl(e,t){if(confirm(`Do you want to navigate to ${t}?
|
|
3
3
|
|
|
4
4
|
WARNING: This link could potentially be dangerous`)){let i=window.open();if(i){try{i.opener=null}catch{}i.location.href=t}else console.warn("Opening link blocked as opener could not be cleared")}}var fs=ye("CharSizeService"),vt=ye("CoreBrowserService"),Nr=ye("MouseService"),mt=ye("RenderService"),dl=ye("SelectionService"),$o=ye("CharacterJoinerService"),ei=ye("ThemeService"),Uo=ye("LinkProviderService"),ul=class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?On.isErrorNoTelemetry(e)?new On(e.message+`
|
package/web/video.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
:root[data-theme=dark]{--bg:#0c162f;--bg-2:#121e3c;--line:#22305a;--ink:#eef2fa;--ink-hi:#deeeff;--dim:#96aacd;--accent:#486ed9;--run:#4fd6e6;--ok:#5fd28a;--warn:#e6b450;--danger:#e85050;color-scheme:dark}
|
|
16
16
|
*{box-sizing:border-box}
|
|
17
17
|
/* Shape, type and depth. --shade is the one shadow colour, themed like the rest. */
|
|
18
|
-
:root{--r:4px;--r-s:4px;--r-pill:999px;--font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;--mono:ui-monospace,"JetBrains Mono","Cascadia Code","SF Mono",Menlo,Consolas,monospace;--on-accent:#fff;--hover:color-mix(in srgb,var(--dim) 12%,transparent);--shade:rgb(12 22 47/.08);--shadow-1:0 1px 2px var(--shade);--shadow-2:0 0 0 1px var(--shade),0 8px 24px -6px var(--shade);--canvas:color-mix(in srgb,var(--bg) 95.5%,var(--ink))}
|
|
18
|
+
:root{--r:4px;--r-s:4px;--r-pill:999px;--font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;--mono:ui-monospace,"JetBrains Mono","Cascadia Code","SF Mono",Menlo,Consolas,monospace;--on-accent:#fff;--hover:color-mix(in srgb,var(--dim) 12%,transparent);--shade:rgb(12 22 47/.08);--shadow-1:0 1px 2px var(--shade);--shadow-2:0 0 0 1px var(--shade),0 8px 24px -6px var(--shade);--canvas:color-mix(in srgb,var(--bg) 95.5%,var(--ink));--row:28px;--row-h:32px;--ico:14px;--ico-s:12px;--btn-xs:24px;--btn-s:32px;--btn:36px;--tabbar:36px;--pane-h:24px;--fs-xs:11px;--fs-s:12px;--fs:13px;--fs-l:14px;--gap:6px;--padx:8px}
|
|
19
19
|
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--shade:rgb(0 0 0/.45);--canvas:color-mix(in srgb,var(--bg) 70%,black)}}
|
|
20
20
|
:root[data-theme=dark]{--shade:rgb(0 0 0/.45);--canvas:color-mix(in srgb,var(--bg) 70%,black)}
|
|
21
21
|
body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;height:100vh;height:100dvh;overflow:hidden;display:flex}
|
|
@@ -32,28 +32,29 @@ svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke
|
|
|
32
32
|
[hidden]{display:none!important}
|
|
33
33
|
|
|
34
34
|
/* side menu: the same lines in board.html and notes.html (a test holds them equal) */
|
|
35
|
-
.rail{width:
|
|
35
|
+
.rail{width:280px;flex:none;display:flex;flex-direction:column;gap:2px;padding:18px 12px 14px;overflow:hidden auto;transition:width .18s}
|
|
36
36
|
.rail .top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 18px 10px}
|
|
37
37
|
.rail .home{display:block;color:inherit;text-decoration:none}
|
|
38
38
|
.rail .top .mascot{display:none;width:28px;height:26px}
|
|
39
|
-
.rail a.it{display:flex;align-items:center;gap:
|
|
39
|
+
.rail a.it{display:flex;align-items:center;gap:var(--gap);height:var(--row);padding:0 var(--padx);border-radius:var(--r-s);font-size:var(--fs);font-weight:500;color:var(--dim);text-decoration:none;white-space:nowrap;transition:background .12s,color .12s}
|
|
40
40
|
.rail a.it:hover{background:var(--hover);color:var(--ink)}
|
|
41
|
+
@media(min-width:641px){.rail a.it svg{width:var(--ico);height:var(--ico)}}
|
|
41
42
|
.rail a.it[aria-current=page]{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--ink)}
|
|
42
43
|
.rail a.it[aria-current=page] svg{color:var(--accent)}
|
|
43
44
|
.rail .end{flex:1}
|
|
44
45
|
.theme{display:flex;gap:2px;padding:3px;border-radius:var(--r-s);background:var(--hover)}
|
|
45
|
-
.theme button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:
|
|
46
|
-
.theme button svg{width:
|
|
46
|
+
.theme button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:var(--btn-xs);border-radius:4px;font-size:var(--fs-s);font-weight:500;color:var(--dim);transition:background .12s,color .12s}
|
|
47
|
+
.theme button svg{width:var(--ico);height:var(--ico)}
|
|
47
48
|
.theme button:hover{color:var(--ink)}
|
|
48
49
|
.theme button[aria-pressed=true]{background:var(--bg-2);color:var(--ink);box-shadow:var(--shadow-1)}
|
|
49
50
|
[data-rail=min] .rail{width:60px;padding-inline:10px;align-items:center}
|
|
50
51
|
[data-rail=min] .rail .top{flex-direction:column;gap:12px;padding:0 0 14px}
|
|
51
52
|
[data-rail=min] .rail .top pre.mark{display:none}
|
|
52
53
|
[data-rail=min] .rail .top .mascot{display:block}
|
|
53
|
-
[data-rail=min] .rail a.it{width:
|
|
54
|
+
[data-rail=min] .rail a.it{width:var(--btn-s);height:var(--btn-s);justify-content:center;padding:0}
|
|
54
55
|
[data-rail=min] .rail .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
|
|
55
56
|
[data-rail=min] .theme{flex-direction:column}
|
|
56
|
-
[data-rail=min] .theme button{width:
|
|
57
|
+
[data-rail=min] .theme button{width:var(--btn-s);flex:none}
|
|
57
58
|
@media(max-width:640px){#fold{display:none}}
|
|
58
59
|
.mtab{display:none}
|
|
59
60
|
/* phones: the side menu is a bottom tab bar, in the page flow so nothing sits under it; it owns the bottom safe area */
|
|
@@ -77,24 +78,28 @@ svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke
|
|
|
77
78
|
body .rail a.upd::after{left:calc(50% + 6px);top:4px}body .toast{left:16px;bottom:calc(68px + env(safe-area-inset-bottom))}}
|
|
78
79
|
.rail a.it[data-n]{position:relative}.rail a.it[data-n]::after{content:attr(data-n);position:absolute;left:24px;top:3px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:8px;background:var(--dim);color:var(--bg);font:600 10px/16px var(--font);text-align:center;box-shadow:0 0 0 2px var(--bg)}
|
|
79
80
|
@media(max-width:640px){body .rail a.it[data-n]::after{left:calc(50% + 4px);top:2px}}
|
|
80
|
-
.rail a.it:is([data-view=board],[data-view=ideas])[data-n]::after{left:auto;right:8px;top:
|
|
81
|
+
.rail a.it:is([data-view=board],[data-view=ideas])[data-n]::after{left:auto;right:8px;top:6px;background:var(--warn)}
|
|
81
82
|
[data-rail=min] .rail a.it:is([data-view=board],[data-view=ideas])[data-n]::after{left:24px;right:auto;top:3px}
|
|
82
83
|
@media(max-width:640px){[data-rail=min] .rail a.it:is([data-view=board],[data-view=ideas])[data-n]::after{left:calc(50% + 4px);top:2px}}
|
|
83
84
|
/* the rail's Projects list: ideas and runs grouped by project, each with its state icon */
|
|
84
|
-
.rail a.it .n{margin-left:auto;font-size:
|
|
85
|
+
.rail a.it .n{margin-left:auto;font-size:var(--fs-xs);font-weight:400;color:var(--dim)}
|
|
85
86
|
.rail a.it .srcs+.n{margin-left:8px}.rail a.it .srcs{margin-left:auto;display:flex;gap:4px;opacity:.75}.rail a.it .srcs svg,.rail a.it .srcs img{width:13px;height:13px}
|
|
86
87
|
.rail a.it,.rail .theme,.rail .theme button{border-radius:4px}
|
|
87
|
-
.rail .psec{display:flex;align-items:center;gap:2px;margin:14px 0 2px;padding-left:
|
|
88
|
-
.rail .psec button,.rail .rib{width:
|
|
88
|
+
.rail .psec{display:flex;align-items:center;gap:2px;margin:14px 0 2px;padding-left:var(--padx);font-size:var(--fs-xs);font-weight:600;color:var(--dim)}.rail .psec .lbl{flex:1}
|
|
89
|
+
.rail .psec button,.rail .rib{width:var(--btn-xs);height:var(--btn-xs);display:grid;place-items:center;flex:none;border-radius:4px;color:var(--dim)}.rail .psec button:hover,.rail .rib:hover{background:var(--hover);color:var(--ink)}.rail .psec button svg,.rail .rib svg{width:var(--ico);height:var(--ico)}
|
|
89
90
|
.rail .psec button[aria-pressed=true]{color:var(--accent)}.rail .psec button{position:relative}.rail .psec button[aria-pressed=true]::after{content:"";position:absolute;right:3px;top:3px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
|
|
90
91
|
.pfpop{position:fixed;z-index:40;min-width:220px;max-width:280px;max-height:60vh;overflow:auto;padding:6px;display:flex;flex-direction:column;gap:1px;background:var(--bg-2);color:var(--ink);border:1px solid var(--line);border-radius:4px;box-shadow:var(--shadow-2);font-size:12.5px}
|
|
91
92
|
.pfpop .sel{margin:2px 2px 6px;padding:5px 8px;border-radius:4px}.pfrow{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:4px;cursor:pointer;white-space:nowrap}.pfrow:hover{background:var(--hover)}.pfrow input{accent-color:var(--accent);margin:0}.pfrow .plogo{width:16px;height:16px;font-size:9px;border-radius:4px;display:inline-grid;place-items:center;flex:none;font-weight:600;color:var(--dim);background:var(--hover)}.pfrow img.plogo{background:none}
|
|
92
93
|
.pfpop .pfh{margin:8px 8px 2px;font-size:11px;font-weight:600;color:var(--dim)}
|
|
93
94
|
.rail .plist{flex:1;min-height:40px;overflow:hidden auto;margin:0 -4px;padding:0 4px}
|
|
94
|
-
#kbd{display:none!important}.plist .proj{all:unset;box-sizing:border-box;display:flex;gap:8px;align-items:center;margin:
|
|
95
|
-
.plist .row{display:grid;grid-template-columns:14px minmax(0,1fr);gap:
|
|
96
|
-
.plist .row
|
|
97
|
-
.plist .none{padding:6px
|
|
95
|
+
#kbd{display:none!important}.plist .proj{all:unset;box-sizing:border-box;display:flex;gap:8px;align-items:center;height:var(--row-h);margin:2px 0 0;padding:0 var(--padx);font-size:var(--fs-s);font-weight:500;color:var(--ink);white-space:nowrap;cursor:pointer;width:100%;border-radius:4px}.proj:hover{background:var(--hover)}.proj:focus-visible{outline:2px solid var(--accent)}.proj .pname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.proj .fchev{width:12px;height:12px;flex:none;color:var(--dim);transition:transform .15s,opacity .15s;transform:rotate(90deg);opacity:0}.proj:hover .fchev,.proj:focus-visible .fchev{opacity:1}.proj.shut .fchev{transform:none}@media(hover:none){.proj .fchev{opacity:1}}.plist .proj .c{color:var(--dim);font-size:11px;font-weight:400}.plist .proj .plogo{width:16px;height:16px;font-size:9px;border-radius:4px;display:inline-grid;place-items:center;flex:none;font-weight:600;color:var(--dim);background:var(--hover);object-fit:contain}.plist .proj img.plogo{background:none}
|
|
96
|
+
.plist .row{display:grid;grid-template-columns:14px minmax(0,1fr);gap:var(--gap);align-items:center;height:var(--row);padding:0 var(--padx);border-radius:4px;color:var(--ink);text-decoration:none}.plist .row:hover,.plist .row[aria-current]{background:var(--hover)}.plist .row .si{margin-top:0}
|
|
97
|
+
.plist .row div{display:flex;align-items:baseline;gap:var(--gap);min-width:0}.plist .row b{flex:1;min-width:0;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plist .row small{flex:0 1 auto;max-width:30%;color:var(--dim);font:var(--fs-xs)/1.4 var(--mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plist .wsr{position:relative}.plist .wsr:has(.wcount) .row{padding-right:36px}.plist .wcount{all:unset;box-sizing:border-box;position:absolute;right:var(--padx);top:50%;margin-top:-9px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;text-align:center;color:var(--dim);font:var(--fs-xs)/18px var(--mono);cursor:pointer}.plist .wcount::before{content:"";position:absolute;inset:-10px -6px}.plist .wcount:hover{background:var(--hover);color:var(--ink)}.plist .wcount:focus-visible{outline:2px solid var(--accent)}
|
|
98
|
+
.plist .wsr.wsc{margin:3px 0;border:1px solid transparent;border-radius:8px}.plist .wsr.wsc:hover{background:var(--hover)}.plist .wsr.wsc:has(.row[aria-current]){border-color:var(--line);background:var(--hover)}.plist .wsr.wsc .row{height:auto;min-height:44px;align-items:start;padding-top:7px;padding-bottom:4px;background:none}.plist .wsr.wsc .row .si{margin-top:3px}.plist .row .wl{flex-direction:column;align-items:stretch;gap:1px}.plist .l1,.plist .l2{display:flex;align-items:center;gap:var(--gap);min-width:0}.plist .l1 b{font-weight:500}.plist .pri{flex:none;font:var(--fs-xs)/16px var(--mono);font-style:normal;padding:0 6px;border:1px solid var(--line);border-radius:6px;color:var(--dim)}.plist .l2{color:var(--dim);font:var(--fs-xs)/1.4 var(--mono)}.plist .l2 span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plist .l2 svg{width:12px;height:12px;flex:none}.plist .wsr.wsc .wcount{top:8px;margin-top:0}
|
|
99
|
+
.plist .wag{display:flex;align-items:center;gap:var(--gap);padding:0 var(--padx) 7px;min-width:0}.plist .chips{display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0}.plist .chip{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 6px;border:1px solid var(--line);border-radius:7px}.plist .amark,.plist .wchev,.plist .aone,.plist .arow{all:unset;box-sizing:border-box;cursor:pointer}.plist .amark,.plist .wchev{display:grid;place-items:center;border-radius:4px}.plist .amark{width:18px;height:18px}.plist .wchev{width:20px;height:20px;margin-left:auto;color:var(--dim)}.plist .amark:hover,.plist .wchev:hover,.plist .aone:hover,.plist .arow:hover{background:var(--hover);color:var(--ink)}.plist .amark:focus-visible,.plist .wchev:focus-visible,.plist .aone:focus-visible,.plist .arow:focus-visible{outline:2px solid var(--accent)}.plist .amark svg,.plist .aone svg,.plist .arow svg{width:14px;height:14px;flex:none}.plist .wchev svg{width:14px;height:14px;transition:transform .15s}.plist .wchev.on svg{transform:rotate(180deg)}
|
|
100
|
+
.plist .aone,.plist .arow{display:flex;align-items:center;gap:6px;min-width:0;font-size:var(--fs-s);border-radius:4px}.plist .aone{flex:1;color:var(--ink)}.plist .aht{flex:1;font-size:var(--fs-s)}.plist .alist{display:flex;flex-direction:column;padding:0 4px 6px}.plist .arow{height:26px;padding:0 4px;color:var(--dim)}.plist .atx{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plist .aone small,.plist .arow small{flex:none;margin-left:auto;color:var(--dim);font:var(--fs-xs)/1 var(--mono)}[data-rail=min] .plist .wag,[data-rail=min] .plist .alist,[data-rail=min] .plist .pri{display:none}[data-rail=min] .plist .wsr.wsc{border-color:transparent}
|
|
101
|
+
.plist .none{padding:6px var(--padx);color:var(--dim);font-size:var(--fs-s)}
|
|
102
|
+
.plist .pgrp{display:flex;align-items:center;margin:2px 0 0}.plist .pgrp .proj{flex:1;min-width:0;margin:0}.plist .wadd{all:unset;box-sizing:border-box;display:grid;place-items:center;width:20px;height:20px;flex:none;border-radius:4px;color:var(--dim);cursor:pointer;opacity:0}.plist .pgrp:hover .wadd,.plist .wadd:focus-visible{opacity:1}.plist .wadd:hover{background:var(--hover);color:var(--ink)}.plist .wadd:focus-visible{outline:2px solid var(--accent)}.plist .wadd svg{width:var(--ico-s);height:var(--ico-s)}[data-rail=min] .plist .wadd{display:none}
|
|
98
103
|
.rail .rbot{display:flex;align-items:center;gap:2px;margin-top:6px}#themet .moon,#themet[data-dark=true] .sun{display:none}#themet[data-dark=true] .moon{display:block}.rail .rbot a.it{flex:1;min-width:0}
|
|
99
104
|
/* a card's state: idle ring, planning arc, building tailed arc, reviewing orbit, waiting ripple, done check, stalled pause */
|
|
100
105
|
.si{width:12px;height:12px;border-radius:50%;position:relative;flex:none;--ring:radial-gradient(farthest-side,#0000 calc(100% - 2px),#000 calc(100% - 1.5px))}
|
|
@@ -111,9 +116,9 @@ body .rail a.upd::after{left:calc(50% + 6px);top:4px}body .toast{left:16px;botto
|
|
|
111
116
|
@keyframes si-spin{to{transform:rotate(360deg)}}@keyframes si-ping{75%,100%{transform:scale(2.2);opacity:0}}
|
|
112
117
|
@media (prefers-reduced-motion:reduce){:root:not([data-motion=full]) .si{animation:none!important}}
|
|
113
118
|
:root[data-motion=reduce] .si{animation:none!important}
|
|
114
|
-
[data-rail=min] .rail a.it .n,[data-rail=min] .rail a.it .srcs,[data-rail=min] .rail .rib:not(.th),[data-rail=min] .plist .proj :not(.plogo),[data-rail=min] .plist .row div{display:none}
|
|
119
|
+
[data-rail=min] .rail a.it .n,[data-rail=min] .rail a.it .srcs,[data-rail=min] .rail .rib:not(.th),[data-rail=min] .plist .proj :not(.plogo),[data-rail=min] .plist .row div,[data-rail=min] .plist .wcount{display:none}
|
|
115
120
|
[data-rail=min] .rail .psec{padding:0;margin:12px 0 2px;flex-direction:column}[data-rail=min] .rail .rbot{flex-direction:column}
|
|
116
|
-
[data-rail=min] .plist .proj{justify-content:center;margin:10px 0 4px}[data-rail=min] .plist .row{grid-template-columns:14px;justify-content:center;padding:
|
|
121
|
+
[data-rail=min] .plist .proj{justify-content:center;margin:10px 0 4px;padding:0}[data-rail=min] .plist .row{grid-template-columns:14px;justify-content:center;padding:0}
|
|
117
122
|
@media(max-width:640px){.rail .psec,.rail .plist,.rail .rib{display:none}.rail .rbot,[data-rail=min] .rail .rbot{display:contents}.rail a.it[data-view=ideas]{order:3}.rail a.it[data-view=board]{order:4}.rail a.it .n,.rail a.it .srcs{display:none}}
|
|
118
123
|
/* phones: Home, Chat, Runs, Settings. The board, Ideas and the Icebox are set up on a computer (web/board/phone.ts) */
|
|
119
124
|
.rail a.it.ponly,#phome{display:none}
|
|
@@ -343,7 +348,7 @@ pre.mark span:nth-child(1){color:var(--ink-hi)}pre.mark span:nth-child(2){color:
|
|
|
343
348
|
<symbol id="i-list" viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h16"/></symbol>
|
|
344
349
|
<symbol id="i-play" viewBox="0 0 24 24"><path d="M7 4.5v15l12-7.5z"/></symbol>
|
|
345
350
|
<symbol id="i-pause" viewBox="0 0 24 24"><path d="M6 4h4v16H6zM14 4h4v16h-4z"/></symbol>
|
|
346
|
-
|
|
351
|
+
<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><symbol id="i-claude" viewBox="0 0 24 24"><path fill="#D97757" stroke="none" d="m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"/></symbol><symbol id="i-gemini" viewBox="0 0 24 24"><path fill="#8E75B2" stroke="none" d="M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"/></symbol><symbol id="i-codex" viewBox="0 0 24 24"><path fill="currentColor" stroke="none" d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></symbol></defs></svg>
|
|
347
352
|
<nav class="rail" aria-label="Main">
|
|
348
353
|
<div class="top"><a class="home" href="/" title="Home" aria-label="kaizen home"><pre class="mark"><span>█ █ ▄▀█ █ ▀▀█ █▀▀ █▄ █</span>
|
|
349
354
|
<span>█▀▄ █▀█ █ ▄▀ ██▄ █ ▀█</span>
|
|
@@ -359,15 +364,16 @@ pre.mark span:nth-child(1){color:var(--ink-hi)}pre.mark span:nth-child(2){color:
|
|
|
359
364
|
<symbol id="r-chat" viewBox="0 0 24 24"><path d="M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z"/></symbol>
|
|
360
365
|
<symbol id="r-runs" viewBox="0 0 24 24"><path d="M9 6h11M9 12h11M9 18h11"/><circle cx="4.5" cy="6" r="1.2"/><circle cx="4.5" cy="12" r="1.2"/><circle cx="4.5" cy="18" r="1.2"/></symbol>
|
|
361
366
|
</defs></svg>
|
|
367
|
+
<a class="it gs-it" href="#" id="gsearch" title="Search everything"><svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" fill="none" stroke="currentColor" stroke-width="2"/><path d="M20 20l-4-4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg><span class="lbl">Search</span></a>
|
|
362
368
|
<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>
|
|
363
369
|
<a class="it ponly" href="/?view=chat" data-view="chat" title="Chat with kaizen's agent"><svg><use href="#r-chat"/></svg><span class="lbl">Chat</span></a>
|
|
364
370
|
<a class="it ponly" href="/?view=device" data-view="device" title="This computer's runs"><svg><use href="#r-runs"/></svg><span class="lbl">Runs</span></a>
|
|
365
371
|
<a class="it fold" href="/?view=icebox" data-view="sources" title="Icebox: requests gathered from your sources"><svg><use href="#r-tray"/></svg><span class="lbl">Icebox</span><span class="srcs" id="rail-srcs"></span><span class="n" id="ice-n"></span></a>
|
|
366
372
|
<a class="it" href="/?view=ideas" data-view="ideas" title="Ideas: every idea and run, filtered"><svg><use href="#r-bulb"/></svg><span class="lbl">Ideas</span></a>
|
|
367
373
|
<a class="it" href="/?view=board" data-view="board" title="Board"><svg><use href="#i-board"/></svg><span class="lbl">Board</span></a>
|
|
368
|
-
<div class="psec"><span class="lbl">Projects</span><button id="pfilter" title="Show one project" aria-label="Show one project"><svg><use href="#r-filter"/></svg></button><button id="padd" title="
|
|
374
|
+
<div class="psec"><span class="lbl">Projects</span><button id="pfilter" title="Show one project" aria-label="Show one project"><svg><use href="#r-filter"/></svg></button><button id="padd" title="Add project or workspace" aria-label="Add project or workspace"><svg><use href="#r-plus"/></svg></button></div>
|
|
369
375
|
<div class="plist" id="plist" aria-label="Ideas and runs by project"></div>
|
|
370
|
-
<div class="rbot"><a class="it fold" href="/?view=settings" data-view="settings" title="Settings"><svg><use href="#i-gear"/></svg
|
|
376
|
+
<div class="rbot"><a class="it fold" href="/?view=settings" data-view="settings" title="Settings" aria-label="Settings"><svg><use href="#i-gear"/></svg></a><a class="rib" href="/issue" target="_blank" rel="noopener" title="Report an issue" aria-label="Report an issue"><svg><use href="#r-bug"/></svg></a><button class="rib" id="kbd" title="Keyboard shortcuts" aria-label="Keyboard shortcuts"><svg><use href="#r-kbd"/></svg></button><button class="rib th" id="themet" title="Theme" aria-label="Theme"><svg class="sun"><use href="#i-sun"/></svg><svg class="moon"><use href="#i-moon"/></svg></button></div>
|
|
371
377
|
</nav>
|
|
372
378
|
<script>
|
|
373
379
|
// Side menu: theme and collapse, the same lines in board.html and notes.html. Runs before
|