kaizen-agent 1.61.5 → 1.61.6
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/notes.test.ts +9 -0
- package/package.json +1 -1
- package/web/board/views.ts +1 -0
- package/web/board.html +6 -4
- package/web/board.js +14 -14
- package/web/notebook.js +1 -1
- package/web/notes.html +5 -3
- package/web/term.js +1 -1
- package/web/video.html +5 -3
- package/web/video.js +1 -1
- package/skills/media/kaizen-video/scripts/__pycache__/intake.cpython-314.pyc +0 -0
- package/skills/media/kaizen-video/scripts/__pycache__/make_film.cpython-314.pyc +0 -0
- package/skills/media/kaizen-video/scripts/__pycache__/make_tiktok.cpython-314.pyc +0 -0
- package/skills/media/kaizen-video/scripts/__pycache__/render_cut.cpython-314.pyc +0 -0
- package/skills/media/kaizen-video/scripts/__pycache__/sfx.cpython-314.pyc +0 -0
- package/skills/media/kaizen-video/scripts/__pycache__/srt.cpython-314.pyc +0 -0
- package/skills/media/kaizen-video/scripts/__pycache__/transcribe.cpython-314.pyc +0 -0
- package/skills/media/kaizen-video/scripts/__pycache__/vo.cpython-314.pyc +0 -0
package/cli/notes.test.ts
CHANGED
|
@@ -238,3 +238,12 @@ test("web/notebook.js, web/term.js, web/board.js, web/video.js and bot/web/app.j
|
|
|
238
238
|
expect(readFileSync(BOT_OUT, "utf8").split("\n", 1)[0]!).toContain(`kaizen bot page ${sourceHash()} `);
|
|
239
239
|
expect(readFileSync(VIDEO_OUT, "utf8").split("\n", 1)[0]!).toContain(`kaizen video page ${sourceHash()} `);
|
|
240
240
|
});
|
|
241
|
+
|
|
242
|
+
test("an installed app fits the window, not the screen", () => {
|
|
243
|
+
for (const f of ["board.html", "notes.html", "video.html"]) {
|
|
244
|
+
const s = readFileSync(join(root, "web", f), "utf8");
|
|
245
|
+
expect(s).not.toMatch(/--sh\b(?!a)/);
|
|
246
|
+
expect(s).toContain("inset:0 0 auto;height:100dvh");
|
|
247
|
+
expect(s).toContain("body::after{content");
|
|
248
|
+
}
|
|
249
|
+
});
|
package/package.json
CHANGED
package/web/board/views.ts
CHANGED
|
@@ -23,6 +23,7 @@ export const markView = (v) => {
|
|
|
23
23
|
);
|
|
24
24
|
// The Icebox is titled in the header, top left, like the board.
|
|
25
25
|
document.querySelector(".hdr h1").textContent = v === "sources" ? "Icebox" : v === "ideas" ? "Ideas" : v === "run" ? "Run" : v === "terminal" ? "Terminal" : v === "home" ? (isPhone() ? "kaizen" : "Home") : v === "chat" ? "Chat" : v === "device" ? "Runs" : "Board";
|
|
26
|
+
if (v === "home" && isPhone()) document.querySelector(".hdr h1").innerHTML = '<pre class="mark" role="img" aria-label="kaizen">' + document.querySelector(".rail pre.mark").innerHTML + "</pre>";
|
|
26
27
|
};
|
|
27
28
|
export function go(v, push) {
|
|
28
29
|
store.pageGen++;
|
package/web/board.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
|
6
|
-
<script>if(matchMedia("(display-mode:standalone)").matches||navigator.standalone){document.querySelector("meta[name=viewport]").content+=",maximum-scale=1,user-scalable=no";addEventListener("gesturestart",e=>e.preventDefault());if(navigator.standalone)
|
|
6
|
+
<script>if(matchMedia("(display-mode:standalone)").matches||navigator.standalone){document.querySelector("meta[name=viewport]").content+=",maximum-scale=1,user-scalable=no";addEventListener("gesturestart",e=>e.preventDefault());if(navigator.standalone)addEventListener("resize",()=>scrollTo(0,0))}</script>
|
|
7
7
|
<title>kaizen</title>
|
|
8
8
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
9
9
|
<meta name="theme-color" content="#f7f7f7" media="(prefers-color-scheme: light)">
|
|
@@ -30,12 +30,13 @@
|
|
|
30
30
|
:root[data-theme=dark]{--shade:rgb(0 0 0/.45);--canvas:color-mix(in srgb,var(--bg) 70%,black)}
|
|
31
31
|
body{margin:0;background:var(--canvas);color:var(--ink);font:13px/1.5 var(--font);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;height:100vh;height:100dvh;overflow:hidden;display:flex}
|
|
32
32
|
html{background:var(--canvas);touch-action:manipulation}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
@media(display-mode:standalone) and (max-width:640px){body{bottom:auto;height:var(--sh,100lvh)}}
|
|
33
|
+
/* the window, not the screen: a height taken from the screen can run past what iOS shows and crop the tab bar */
|
|
34
|
+
@media(display-mode:standalone){html{overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0 0 auto;height:100dvh;overscroll-behavior:none;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%}}
|
|
36
35
|
@media(max-width:640px),(display-mode:standalone){body{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}}
|
|
37
36
|
/* iOS 26 blurs the page under the status bar unless a fixed bar touches the top edge: give it one in the page colour */
|
|
38
37
|
@media(display-mode:standalone){body::before{content:"";position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top);background:inherit;z-index:100;pointer-events:none}}
|
|
38
|
+
/* the same at the bottom edge, in the tab bar colour; the root matches it so no band shows if iOS stops the window short. The header sits under the status bar inset, so it drops its own top gap */
|
|
39
|
+
@media(display-mode:standalone) and (max-width:640px){html:root{background:var(--bg-2)}body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:env(safe-area-inset-bottom);background:var(--bg-2);z-index:1;pointer-events:none}body .hdr,body aside.docked>header{padding-top:10px}}
|
|
39
40
|
button,input,select{font:inherit;color:inherit;background:none;border:0;padding:0}
|
|
40
41
|
button{cursor:pointer}
|
|
41
42
|
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
|
|
@@ -402,6 +403,7 @@ dialog.onb{border:1px solid var(--line);padding:0;background:var(--bg);color:var
|
|
|
402
403
|
dialog.onb[open]{display:flex;flex-direction:column;padding:26px 32px 18px}
|
|
403
404
|
dialog.onb::backdrop,dialog.onb-ask::backdrop{background:rgb(0 0 0/.55);backdrop-filter:blur(2px)}
|
|
404
405
|
.onb pre.mark{font-size:6px}
|
|
406
|
+
.hdr h1 pre.mark{font-size:7px}
|
|
405
407
|
.onb-prog{display:flex;align-items:center;gap:6px;margin:22px 0 0;font-size:var(--fs-s);color:var(--dim)}
|
|
406
408
|
.onb-prog button{width:32px;height:3px;padding:0;border-radius:2px;background:var(--line);transition:background .2s,width .2s}
|
|
407
409
|
.onb-prog button.was{background:color-mix(in srgb,var(--ink) 40%,var(--line))}
|