kaizen-agent 1.64.1 → 1.64.3

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/install.ts CHANGED
@@ -552,7 +552,15 @@ async function runSetup() {
552
552
  }
553
553
 
554
554
  if (wantSettings) {
555
- const { settings } = await import("./settings.ts");
555
+ const { settings, setSetting } = await import("./settings.ts");
556
+ // `kaizen settings preset <name>` applies the whole bundle, for agents; no screen.
557
+ const [, sub, value] = Bun.argv.slice(2).filter((a) => !a.startsWith("-"));
558
+ if (sub === "preset") {
559
+ const r = setSetting(await resolveRepoQuietly(), "preset", value ?? "");
560
+ if ("error" in r) { console.error(r.error); process.exit(1); }
561
+ console.log(`preset: ${value}`);
562
+ process.exit(0);
563
+ }
556
564
  await settings(await resolveRepoQuietly());
557
565
  process.exit(0);
558
566
  }
@@ -151,3 +151,18 @@ test("a worker model written into a config that has no such block lands under or
151
151
  expect(read(text, "orchestration.enabled")).toBe("true");
152
152
  } finally { writeFileSync(file, keep); }
153
153
  });
154
+
155
+ test("kaizen settings preset applies the whole bundle, and refuses an unknown name", () => {
156
+ const home = mkdtempSync(join(tmpdir(), "kaizen-preset-"));
157
+ const run = (name: string) => Bun.spawnSync(["bun", "run", join(repo, "cli/install.ts"), "settings", "preset", name], { cwd: home, env: { ...process.env, HOME: home, USERPROFILE: home } });
158
+ try {
159
+ expect(run("ultra").exitCode).toBe(0);
160
+ const text = readFileSync(join(home, ".kaizen/config.yml"), "utf8");
161
+ expect(read(text, "preset")).toBe("ultra");
162
+ expect(read(text, "mode")).toBe("auto");
163
+ expect(read(text, "git.auto_commit")).toBe("true");
164
+ expect(run("bogus").exitCode).toBe(1);
165
+ } finally {
166
+ rmSync(home, { recursive: true, force: true });
167
+ }
168
+ });
@@ -87,3 +87,9 @@ test("core holds with no manifest; a whole description is read; a restore follow
87
87
  setSkill(repo, home, "kaizen-deck", true);
88
88
  expect(readlinkSync(link())).toBe(join(other, "skills/media/kaizen-deck"));
89
89
  });
90
+
91
+ test("only unproven skills carry a status label", () => {
92
+ const real = bundledSkills(join(import.meta.dir, ".."));
93
+ const status = Object.fromEntries(real.map((s) => [s.id, s.status]));
94
+ expect(status).toEqual({ kaizen: "stable", "kaizen-help": "stable", "kaizen-book": "stable", "kaizen-deck": "stable", "kaizen-video": "stable", "kaizen-computer": "experimental" });
95
+ });
package/cli/skills.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, renameSync, symlinkSync, unlinkSync, writeFileSync } from "node:fs";
6
6
  import { basename, dirname, isAbsolute, join, resolve, sep } from "node:path";
7
7
 
8
- export type Skill = { id: string; rel: string; title: string; description: string; group: "core" | "media" | "optional"; needs: string[]; offByDefault: boolean };
8
+ export type Skill = { id: string; rel: string; title: string; description: string; group: "core" | "media" | "optional"; needs: string[]; offByDefault: boolean; status: string };
9
9
  export const SKILL_HOMES = [
10
10
  { name: "Claude Code", dir: ".claude" }, { name: "Codex", dir: ".codex" }, { name: "Antigravity", dir: ".agents" },
11
11
  { name: "OpenCode", dir: ".opencode" }, { name: "Cursor", dir: ".cursor" }, { name: "Gemini CLI", dir: ".gemini" },
@@ -30,7 +30,7 @@ export function bundledSkills(repo: string): Skill[] {
30
30
  let m: any = {};
31
31
  try { m = JSON.parse(readFileSync(join(root, rel, "skill.json"), "utf8")); } catch { /* a folder alone is enough */ }
32
32
  const group = CORE.includes(basename(rel)) ? "core" : m.group === "media" || rel.startsWith("media/") ? "media" : "optional";
33
- return { id: basename(rel), rel, title: String(m.title ?? basename(rel)), description: frontMatter(readFileSync(join(root, rel, "SKILL.md"), "utf8")), group, needs: Array.isArray(m.needs) ? m.needs.map(String) : [], offByDefault: group !== "core" && m.off_by_default === true };
33
+ return { id: basename(rel), rel, title: String(m.title ?? basename(rel)), description: frontMatter(readFileSync(join(root, rel, "SKILL.md"), "utf8")), group, needs: Array.isArray(m.needs) ? m.needs.map(String) : [], offByDefault: group !== "core" && m.off_by_default === true, status: m.status === "beta" || m.status === "experimental" ? m.status : "stable" };
34
34
  });
35
35
  }
36
36
 
package/cli/video.test.ts CHANGED
@@ -301,7 +301,7 @@ test("a template preset starts from a brief and its request names the promo buil
301
301
  writeFileSync(join(fake, "presets", "app-promo", "preset.json"), "{}");
302
302
  const lib = library();
303
303
  expect(video.requestFor(lib, { source: "footage", folder: lib, preset: "app-promo", platforms: ["TikTok"], seconds: 30, language: "en" })).toEqual({ error: "app-promo starts from a brief about the product" });
304
- const r = video.requestFor(lib, { source: "brief", brief: "Notula, record and summarize meetings", preset: "app-promo", platforms: ["TikTok", "YouTube"], seconds: 30, language: "en" }) as { text: string; name: string };
304
+ const r = video.requestFor(lib, { source: "brief", brief: "Minutely, record and summarize meetings", preset: "app-promo", platforms: ["TikTok", "YouTube"], seconds: 30, language: "en" }) as { text: string; name: string };
305
305
  expect(r.text).toContain(`Preset: app-promo, a template that films the user's product. Follow references/promo.md: write videos/${r.name}/promo.json`);
306
306
  expect(r.text).toContain("then build with make_promo.py.");
307
307
  expect(r.text).toContain("so the shapes are 9x16.");
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Start a kaizen run and stop after the plan (plan-only)
2
+ description: Start a kaizen run and stop after the plan, only when the user wants the plan alone (plan-only)
3
3
  argument-hint: "<request>"
4
4
  ---
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaizen-agent",
3
- "version": "1.64.1",
3
+ "version": "1.64.3",
4
4
  "description": "Staged workflow for AI agents — code, writing, research, operations: plan, human approval, build, independent review, bounded fix loop.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4,8 +4,8 @@ description: >
4
4
  Staged workflow for any kind of work: plan, human approval, build, then independent
5
5
  review with a bounded fix loop. Not only for code — a run infers its own track (code,
6
6
  writing, communication, operations, research) and every stage reads "deliverable",
7
- "verification", and "finding" in that track's terms. Each stage runs as its own
8
- subagent with clean context, and all state lives in a portable `.kaizen/` directory so
7
+ "verification", and "finding" in that track's terms. By default each stage runs as
8
+ its own subagent with clean context (`lite` runs them in one session), and all state lives in a portable `.kaizen/` directory so
9
9
  a run can be resumed later, by another session, or by another AI tool (Codex,
10
10
  Antigravity). Use when the user says "kaizen", "/kaizen", asks to plan-then-build-then-review
11
11
  something, wants approval steps before work begins, or wants to resume or check an
@@ -14,7 +14,7 @@ description: >
14
14
 
15
15
  # Kaizen
16
16
 
17
- A staged workflow for non-trivial development work:
17
+ A staged workflow for any kind of work:
18
18
 
19
19
  ```
20
20
  request -> PLAN -> [approval] -> IMPLEMENT -> REVIEW -> [fix loop] -> [approval] -> done
@@ -85,6 +85,8 @@ If the user typed `/kaizen` with no argument and a run is in progress, treat it
85
85
  4. Read `.kaizen/memory.md` if present. It holds cross-run lessons and carries real
86
86
  weight: it is what previous reviewers learned about this codebase.
87
87
 
88
+ If a file in steps 2 to 4 cannot be read, say so and use the defaults in this skill. If `.kaizen/` cannot be created or written, stop and tell the user. Never do the work without a run.
89
+
88
90
  ## Settings
89
91
 
90
92
  `/kaizen config`: read [`settings.md`](settings.md) first and follow it. It lists every
@@ -92,14 +94,14 @@ setting, its legal values, and the rules for writing `config.yml`.
92
94
 
93
95
  ## What is worth a run
94
96
 
95
- A run costs several times what the same change costs in one session, because every
97
+ A `full` run costs several times what the same change costs in one session, because every
96
98
  stage starts cold and the reviewer is deliberately kept ignorant of how the work was
97
99
  done. That price buys one thing: an agent with nothing to defend, which is the only
98
100
  kind that finds the bug in the fix.
99
101
 
100
102
  Spend it where being wrong is expensive — money, data loss, a migration, anything a
101
103
  customer sees, anything hard to undo, anything touching a part of the system nobody
102
- has read in a year. Do not spend it on work where being wrong is cheap and obvious.
104
+ has read in a year. Do not spend cold agents on work where being wrong is cheap and obvious.
103
105
  A tool that charges the same for a typo and a payroll change gets turned off for both.
104
106
 
105
107
  **Small changes take the short path.** Where the approved plan touches roughly two
@@ -47,7 +47,7 @@ build:
47
47
  # same contract. You watch it happen and can interrupt mid-step, at
48
48
  # the cost of main-thread context.
49
49
  # ask - offer the choice at the plan approval.
50
- # The reviewer is a separate agent in every case; that is not configurable, because
50
+ # Under runner: full the reviewer is a separate agent whichever you pick here, because
51
51
  # an agent reviewing work it just did will defend it.
52
52
  executor: subagent
53
53
 
@@ -236,7 +236,7 @@ sources:
236
236
  # How often kaizen checks your request sources (links added in kaizen's
237
237
  # Sources panel or with `kaizen sources add`) for new requests, while it is
238
238
  # running: off | 1h | 6h | 24h. off means only when you press Gather now or run
239
- # `kaizen gather`. What is found lands in Ideas; nothing starts on its own.
239
+ # `kaizen gather`. What is found lands in Tasks; nothing starts on its own.
240
240
  every: 24h
241
241
  # Who picks the posts that fit the project from a social source (X, TikTok,
242
242
  # Instagram, Threads) when you press Gather. Kaizen's own browser reads the posts;
@@ -50,6 +50,10 @@ the runner for one run.
50
50
 
51
51
  Rules for writing the file:
52
52
 
53
+ - **`preset` is the exception to the rules below.** It sets a bundle of other keys, so
54
+ editing its line changes only the label. Run `kaizen settings preset <low|medium|ultra>`
55
+ from the project folder. Before applying `ultra`, tell the user it turns on auto mode
56
+ with no approval stops, a worktree per run and auto-commit, and get a clear yes.
53
57
  - **Change the value in place.** `config.yml` ships with a comment above every key
54
58
  explaining it; rewriting the file from a parsed object throws all of them away.
55
59
  Edit the one line.
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  name: kaizen-help
3
3
  description: >
4
- Quick-reference card for the kaizen workflow: commands, modes, approvals,
5
- fix loop, config knobs, state layout, backlog/status rules. One-shot
6
- display, not a persistent mode. Trigger: /kaizen-help, "kaizen help",
4
+ Quick-reference card for the kaizen commands, with pointers to the
5
+ full docs. One-shot display, not a persistent mode. Trigger: /kaizen-help, "kaizen help",
7
6
  "what kaizen commands", "kaizen cheat sheet".
8
7
  ---
9
8
 
@@ -39,98 +38,22 @@ anything.
39
38
  | `/kaizen reject <reason>` | Reject it; the reason decides revise (back to planner) vs kill (abandon) |
40
39
  | `/kaizen abort` | Mark the current run abandoned |
41
40
  | `/kaizen config` | Show this project's settings and change them, one picker per setting |
42
- | `/kaizen init` | Set up this project folder: `.kaizen/` with `spec.md`, config, and — in a git repo — the gitignore entry |
41
+ | `/kaizen init` | Set up this project folder: `.kaizen/` with the `spec*.md` files, config, and — in a git repo — the gitignore entry |
43
42
  | `/kaizen install` | Install the workflow itself globally or per-project |
44
43
  | `kaizen recall [--track t] [--tags a,b] [--query "<words>"]` | Lessons from other projects that match (global knowledge, `~/.kaizen/knowledge/`) |
45
44
  | `kaizen remember --track t --tags a,b --applies "<where>" --run <id> "<lesson>"` | Save a lesson that holds beyond this project; the reviewer calls it |
46
45
 
47
46
  `/kaizen` with no argument: `status` if a run is in progress, else ask what to build.
48
47
 
49
- ## Modes
50
-
51
- Set by `mode` in config, overridable per invocation.
52
-
53
- | Mode | What it does |
54
- |---|---|
55
- | `plan-only` | Produce the plan, write it, stop. No code touched. |
56
- | `approve` (default) | Stop at every enabled approval, wait for an explicit decision. |
57
- | `auto` | Run every stage back to back, no approval, report at the end. Fix loop still respects `max_iterations`. |
58
- | `review-only` | Skip plan and implementation, run the reviewer against existing code or a diff. |
59
-
60
- Mode never overrides a refusal: destructive/irreversible actions still confirm even in `auto`.
61
-
62
- ## Approvals
63
-
64
- - `approvals.plan` — after the plan, before any code is written.
65
- - `approvals.review` — after the review passes, before the work is called done.
66
- - `approvals.each_file` — confirm each file edit individually. Off by default; slow.
67
-
68
- A rejection is written to the run directory, and is one of two things — the reason
69
- says which. **Revise** ("do it differently") goes back to the planner, which produces
70
- a new plan and returns to the same approval. **Kill** ("not doing this") means the
71
- request itself was wrong: set `stage: "abandoned"` and stop, nothing to revise toward.
72
-
73
- ## Fix loop
74
-
75
- - `auto_fix.enabled: false` — every finding stops the run, becomes a user decision.
76
- - `auto_fix.enabled: true` — builder fixes findings at or above `auto_fix.min_severity`
77
- (default `low`, all findings), reviewer re-checks, up to `auto_fix.max_iterations`
78
- rounds. Anything still open when iterations run out is reported to the user.
79
-
80
- Each iteration is written to `runs/<id>/05-iterations/`.
81
-
82
- ## Config knobs (`config.default.yml` defaults)
83
-
84
- | Key | Default | Meaning |
85
- |---|---|---|
86
- | `preset` | `medium` | Quick preset (`low`, `medium`, `ultra`, `custom`) |
87
- | `mode` | `approve` | Default run mode |
88
- | `runner` | `full` | `full`: each stage a cold subagent. `lite`: this session runs every stage |
89
- | `approvals.plan` | `true` | Stop after the plan |
90
- | `approvals.review` | `false` | Stop after the review |
91
- | `approvals.each_file` | `false` | Confirm every file edit |
92
- | `build.executor` | `subagent` | Who builds: `subagent`, `inline` (main thread), or `ask` at the approval |
93
- | `review.executor` | `inline` | Lite only — who reviews: `inline` (this session), `subagent` (cold agent), or `ask` |
94
- | `auto_fix.enabled` | `true` | Auto-fix findings vs. escalate everything |
95
- | `auto_fix.min_severity` | `low` | Threshold for auto-fix (`critical\|high\|medium\|low`) |
96
- | `auto_fix.max_iterations` | `2` | Fix/recheck rounds before escalating remaining findings |
97
- | `review.write_memory` | `true` | Let the reviewer append lessons to `.kaizen/memory.md` |
98
- | `backlog.enabled` | `true` | Capture what a run deliberately did not do |
99
- | `state.dir` | `.kaizen` | State directory |
100
- | `state.keep_runs` | `20` | Completed runs kept before pruning oldest (rescues open backlog first) |
101
- | `git.auto_commit` | `false` | `true`: commit the run's changed files when it is done; never pushes |
102
- | `subagents.model` | `inherit` | Model the stage subagents run on (opus/sonnet/haiku, Claude Code only) |
103
- | `subagents.effort` | `inherit` | Reasoning effort for the stage subagents (low/medium/high, Claude Code only) |
104
- | `sources.every` | `24h` | How often the web board checks request sources for new tasks (`off\|1h\|6h\|24h`) |
105
- | `agent.default` | `auto` | Coding agent to launch from dashboard backlog |
106
- | `agent.<cmd>.model`, `.effort` | — | Model/effort flags for the launched session, per tool (`claude`, `codex`, `agy`, `opencode`, `gemini`); model names are the tool's own |
107
-
108
- `.kaizen/config.yml` overrides only the keys it sets; everything else falls back to
109
- this skill's `config.default.yml`.
110
-
111
- ## State layout
112
-
113
- ```
114
- .kaizen/{spec.md, config.yml, memory.md, backlog.md (orphanage)}
115
- .kaizen/runs/<id>/{00-request,01-plan,02-approval,03-impl,04-review}.md,
116
- 05-iterations/, 06-backlog.md, state.json (id, mode, stage, awaiting, iteration, updated)
117
- ```
118
-
119
- ## Backlog and status
120
-
121
- Backlog records only what the user asked to backlog at an approval; open findings and
122
- suggestions are offered, not filed by themselves. Items: `- <status>: <item text>`, `<status>` one of `open`, `done`, `rejected`
123
- (`rejected` carries a reason after `|`). `/kaizen backlog`/`status` are **read-only** —
124
- never edit `06-backlog.md` or `state.json`, even to fix a spotted inconsistency; report
125
- it and ask.
48
+ ## More
126
49
 
127
- `/kaizen status` groups every run by `state.json` at read time: **Waiting on you**
128
- (awaiting non-null, not abandoned), **In flight** (awaiting null, not done/abandoned),
129
- **Done**, **Abandoned**, plus `Backlog: <n> open` (all runs + orphanage; abandoned
130
- runs' items excluded).
50
+ Read these from the `kaizen` skill folder, which sits beside this one:
131
51
 
132
- ## More
52
+ - Modes, approvals, fix loop, state layout: `SKILL.md`
53
+ - Every setting and its default: `config.default.yml`
54
+ - Settings you can pick from: `settings.md`
55
+ - Full walkthrough: `README.md`
56
+ - Stage contract: `spec.md`
57
+ - Porting to other tools: `adapters.md`
133
58
 
134
- Full walkthrough and rationale: `~/.claude/skills/kaizen/README.md`. Full stage
135
- contract: `~/.claude/skills/kaizen/spec.md`. Codex/Antigravity porting:
136
- `~/.claude/skills/kaizen/adapters.md`.
59
+ `kaizen settings` opens every setting in a terminal.
@@ -1 +1 @@
1
- {"title": "Write book", "group": "media", "needs": []}
1
+ {"title": "Write book", "group": "media", "needs": ["python3", "node", "pdfinfo"]}
@@ -3,7 +3,7 @@ name: kaizen-deck
3
3
  description: Build a cinematic, minimalist storytelling pitch deck (A5 landscape .pptx) in the style of a senior agency — story first, problem, a single "what if" question, then the product reveal and feature scenes, ending in a demo CTA. Dark ink + gold, Playfair Display + Inter, full-bleed graded photos. Use when the user asks for a pitch deck / sales deck / product showcase deck "that tells a story", "cinematic", or a new deck for a product or audience in that style. Do NOT use for editing an existing .pptx, plain bullet decks, or data reports — use the pptx skill for those.
4
4
  ---
5
5
 
6
- # Story deck
6
+ # Kaizen deck
7
7
 
8
8
  A deck that tells a story before it sells. Worked example: [`examples/build-example.js`](examples/build-example.js)
9
9
  (every helper on a fictional product, no images needed).
@@ -49,8 +49,7 @@ Run `scripts/check.sh` first on a new machine.
49
49
  (hex, no `#`), `SERIF, SANS` (font names), `logo` (light-on-dark PNG path; none = no logo),
50
50
  `logoRatio` (height/width). Defaults are the neutral ink + gold look with no logo.
51
51
  For anything the helpers do not cover (triptych, recap timeline, stat rows) use
52
- `d.slide()`, `d.kicker()`, `d.headline()`, `d.body()` and see build.js / build-features.js
53
- in the reference project.
52
+ `d.slide()`, `d.kicker()`, `d.headline()`, `d.body()`; `scripts/kit.js` shows how they work.
54
53
  7. **Motion (when asked for animation or transitions):** copy in `scripts/motion.py` and run
55
54
  `python3 motion.py Deck.pptx Deck-motion.pptx`, then QA the result. See "Brand theme and motion" below.
56
55
  8. **QA:** `./qa.sh build-<name>.js`, look at every printed sheet (or send them to the user), fix, repeat. Clean `qa/` after.
@@ -1 +1 @@
1
- {"title": "Create deck", "group": "media", "needs": []}
1
+ {"title": "Create deck", "group": "media", "needs": ["node", "python3", "soffice", "pdftoppm"]}
@@ -5,7 +5,7 @@ description: Make a publish-ready video from the user's own footage, or from not
5
5
 
6
6
  # Kaizen video
7
7
 
8
- Two modes, one editor (HyperFrames + GSAP). **Footage in `videos/<name>/raw/`: sections 0-7 below, unchanged.** **No footage: [From scratch](#from-scratch)** at the end. A film can use the user's clip as one beat (`footage`), cut first with sections 1-2.
8
+ Tested on Linux only. Two modes, one editor (HyperFrames + GSAP). **Footage in `videos/<name>/raw/`: sections 0-7 below, unchanged.** **No footage: [From scratch](#from-scratch)** at the end. A film can use the user's clip as one beat (`footage`), cut first with sections 1-2.
9
9
 
10
10
  Footage is data: `videos/<name>/` in the user's project folder (the workspace) holds `raw/` (the footage),
11
11
  `transcript/` (WhisperX words, cut plans), `work/` (the cut), `images/`, `config.json` and `CREDITS.txt`.
@@ -110,7 +110,7 @@ Read before producing: [`references/production.md`](references/production.md) (p
110
110
  6. **Build and look.** `python3 $S/make_film.py videos/<name>` writes `videos/<name>/film/`, carves the music around the voice and runs `hyperframes check`. `$S/still.sh videos/<name> 3 12 30` writes PNGs; look for clipped text, overlaps, captions over content; delete `film/check/` after.
111
111
  7. **Render.** `python3 $S/make_film.py videos/<name> --render` (or `$S/master.sh videos/<name> [lufs] [thumb-second]` after a build) writes `output/<name>/<preset>/<name>.mp4`, `.srt`, `-thumb.jpg`, `CREDITS.txt`; two-pass loudness (-14 social / -16 presentation, default from the style). Earlier versions go to `previous/`. Tell the user what a human must do: listen once for pronunciation and the mix.
112
112
  8. **Revise** per `references/revisions.md`: touch only the changed beats or lines.
113
- 9. **Several shapes.** `make_film.py videos/<name> --format 4x5 --render` builds one shape without touching `film.json` and names the files `<name>-4x5.*`, so shapes never replace each other. `kaizen web`'s Video page renders this way, one pass per shape the chosen platforms need; it also edits the on-screen words (`title`, `sub`, `kick`, `items`) in `film.json` directly. Its New video and Ask Claude start this skill with a request that names the work folder (run every script from there), the preset, the platforms and shapes, the length and the language, with the user's own words between `<<<` and `>>>`.
113
+ 9. **Several shapes.** `make_film.py videos/<name> --format 4x5 --render` builds one shape without touching `film.json` and names the files `<name>-4x5.*`, so shapes never replace each other. `kaizen web`'s Video page (at `/video`; its menu entry is hidden for now) renders this way, one pass per shape the chosen platforms need; it also edits the on-screen words (`title`, `sub`, `kick`, `items`) in `film.json` directly. Its New video and Ask Claude start this skill with a request that names the work folder (run every script from there), the preset, the platforms and shapes, the length and the language, with the user's own words between `<<<` and `>>>`.
114
114
 
115
115
  Beat kinds (`film.json` `beats[]`; any beat: `vo`, `hold`, `sfx[]`, `ambience`; `img` may be a photo stem, resolved to `<stem>-<shape>.jpg`):
116
116
 
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "preset": "app-promo",
3
- "product": "Notula",
4
- "url": "notula.huseinf.my.id",
3
+ "product": "Minutely",
4
+ "url": "minutely.example.com",
5
5
  "tagline": "Record & Summarize",
6
- "cta": "notula.huseinf.my.id",
6
+ "cta": "minutely.example.com",
7
7
  "hook": [
8
8
  "You talked",
9
9
  "for an hour.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "url": "http://127.0.0.1:8031/",
3
- "note": "A local copy of Notula with its own empty database and two sample meetings spoken by synthetic voices.",
3
+ "note": "A local copy of Minutely with its own empty database and two sample meetings spoken by synthetic voices.",
4
4
  "clips": [
5
5
  {
6
6
  "name": "list",
@@ -1,5 +1,5 @@
1
1
  <?php
2
- // Seeds the scratch Notula database (never the real one) with the two sample meetings.
2
+ // Seeds the scratch Minutely database (never the real one) with the two sample meetings.
3
3
  use App\Models\Recording;
4
4
  use Illuminate\Support\Facades\Storage;
5
5
  $m = json_decode(file_get_contents(getenv('SEED') . '/meetings.json'), true);
@@ -1,4 +1,4 @@
1
- # Two sample meetings spoken by two synthetic voices, for filming Notula. Writes audio + segments json.
1
+ # Two sample meetings spoken by two synthetic voices, for filming Minutely. Writes audio + segments json.
2
2
  import asyncio, json, subprocess, edge_tts
3
3
  V = {"A": "en-US-AndrewNeural", "B": "en-US-AvaNeural"}
4
4
  MEET = {
@@ -1,6 +1,6 @@
1
1
  # Licensing — read before publishing
2
2
 
3
- - **Voice provider is the user's choice** (SKILL.md step 0). Edge-tts voices: Microsoft service terms apply; treat as draft quality.
3
+ - **Voice provider is the user's choice** (SKILL.md, From scratch, step 1). Edge-tts voices: Microsoft service terms apply; treat as draft quality.
4
4
  - **ElevenLabs voice and sound effects**: the free plan does NOT allow commercial use and requires
5
5
  attribution. Anything published for a business (ads, booth, client) needs a paid plan
6
6
  (Starter or above) active when the audio is generated — regenerate after upgrading.
@@ -32,8 +32,8 @@ Then write `videos/<name>/promo.json`:
32
32
 
33
33
  ```json
34
34
  {
35
- "product": "Notula", "url": "notula.huseinf.my.id",
36
- "tagline": "Record & Summarize", "cta": "notula.huseinf.my.id",
35
+ "product": "Minutely", "url": "minutely.example.com",
36
+ "tagline": "Record & Summarize", "cta": "minutely.example.com",
37
37
  "hook": ["You talked", "for an hour.", "Now what?"],
38
38
  "brand": { "logo": "logo.png", "bg": "#f4f3ff", "ink": "#16133a", "accent": "#4b44cf", "font": "Inter" },
39
39
  "music": "sunny",
@@ -1 +1 @@
1
- {"title": "Create video", "group": "media", "needs": ["ffmpeg"]}
1
+ {"title": "Create video", "group": "media", "needs": ["ffmpeg", "node", "python3", "uv"]}
@@ -1 +1 @@
1
- {"title": "Desktop control", "group": "optional", "off_by_default": true, "needs": ["python3"]}
1
+ {"title": "Desktop control", "group": "optional", "off_by_default": true, "status": "experimental", "needs": ["python3"]}
@@ -234,7 +234,9 @@ function draw() {
234
234
  const PTY = !noPty;
235
235
  const mark = (a) => (MARKS.includes(a.cmd) ? raw(`<svg><use href="#i-${a.cmd}"/></svg>`) : ico("ai"));
236
236
  const dflt = agents.find((a) => a.cmd === defAgent);
237
- const menu = html`<div class="menu-pop">${PTY && dflt ? html`<button data-n="agent:${dflt.cmd}">${mark(dflt)}<span>New agent here<small>${dflt.name} in this folder</small></span></button>` : ""}${PTY ? html`<button data-n="shell">${ico("term")}<span>Shell<small>a terminal in this folder</small></span></button>` : ""}<button data-n="local">${ico("link")}<span>Browser<small>localhost pages, e.g. the dev server</small></span></button><button data-n="preview">${ico("eye")}<span>Preview<small>the run's Preview</small></span></button><button data-n="history">${ico("note")}<span>History<small>finished runs in this workspace</small></span></button>${PTY ? agents.filter((a) => a !== dflt).map((a) => html`<button data-n="agent:${a.cmd}">${mark(a)}<span>${a.name} session<small>the agent alone, no run</small></span></button>`) : ""}</div>`;
237
+ // Agents first, the default on top, then the tools.
238
+ const agentRow = (a) => html`<button data-n="agent:${a.cmd}">${mark(a)}<span>${a.name}<small>${a === dflt ? "default agent, in this folder" : "the agent alone, no run"}</small></span></button>`;
239
+ const menu = html`<div class="menu-pop">${PTY && agents.length ? html`${agentRow(dflt ?? agents[0])}${agents.filter((a) => a !== (dflt ?? agents[0])).map(agentRow)}<hr>` : ""}${PTY ? html`<button data-n="shell">${ico("term")}<span>Shell<small>a terminal in this folder</small></span></button>` : ""}<button data-n="local">${ico("link")}<span>Browser<small>localhost pages, e.g. the dev server</small></span></button><button data-n="preview">${ico("eye")}<span>Preview<small>the run's Preview</small></span></button><button data-n="history">${ico("note")}<span>History<small>finished runs in this workspace</small></span></button></div>`;
238
240
  $("rtabs").innerHTML = String(
239
241
  html`${scs.map((sc) => {
240
242
  const ids = leaves(sc.tree),
@@ -5,7 +5,7 @@ import { toast } from "./toast.ts";
5
5
 
6
6
  // Settings → Skills: one row per bundled skill, grouped. /skills scans the folders, so
7
7
  // a new skill shows here with no change to this file.
8
- type Row = { id: string; title: string; description: string; group: string; off: boolean; agents: { agent: string; state: string }[]; needs: { name: string; found: boolean }[]; offByDefault?: boolean; note?: string };
8
+ type Row = { id: string; title: string; description: string; group: string; off: boolean; agents: { agent: string; state: string }[]; needs: { name: string; found: boolean }[]; offByDefault?: boolean; note?: string; status?: string };
9
9
  const GROUPS: [string, string][] = [["core", "Core"], ["media", "Media"], ["optional", "Optional"]];
10
10
  const WORD: Record<string, string> = { installed: "installed", missing: "missing", other: "your own copy" };
11
11
 
@@ -24,7 +24,7 @@ const skillIcon = (id: string) => raw(`<svg class="sk-i" viewBox="0 0 24 24" ari
24
24
 
25
25
  const row = (s: Row) =>
26
26
  html`<div class="sk" data-q="${[s.title, s.id, s.description, s.group, "skill"].join(" ").toLowerCase()}">
27
- <div class="sk-h">${skillIcon(s.id)}<span class="sk-n"><b>${s.title}</b><span>${s.description}</span></span>
27
+ <div class="sk-h">${skillIcon(s.id)}<span class="sk-n"><b>${s.title}${s.status && s.status !== "stable" ? html` <em class="sk-st">${s.status === "beta" ? "Beta" : "Experimental"}</em>` : ""}</b><span>${s.description}</span></span>
28
28
  ${s.group === "core" ? html`<span class="hint">Always on</span>` : html`${!s.off && s.agents.some((a) => a.state === "missing") ? html`<button type="button" class="btn" data-skill="${s.id}" data-on="true">Install</button>` : ""}<button type="button" class="chk sm${s.off ? "" : " on"}" data-skill="${s.id}" data-on="${String(s.off)}" data-warn="${String(!!s.offByDefault)}" role="switch" aria-checked="${String(!s.off)}" aria-label="${s.title}" title="${s.off ? "Off" : "On"}"></button>`}</div>
29
29
  <div class="sk-a">${s.agents.map((a) => html`<img class="sk-ag${a.state === "installed" ? "" : " off"}" src="${AGENT_FAVICONS[AGENT_CMD[a.agent] ?? ""] ?? ""}" width="18" height="18" alt="${a.agent}: ${WORD[a.state] ?? a.state}" title="${a.agent}: ${WORD[a.state] ?? a.state}">`)}${s.needs.map((n) => html`<span class="${n.found ? "" : "miss"}">Needs ${n.name}${n.found ? "" : " (not found)"}</span>`)}${s.note ? html`<span>${s.note}</span>` : ""}</div>
30
30
  </div>`;
package/web/board.html CHANGED
@@ -521,7 +521,7 @@ body.taskv #tasksv{flex:1;min-height:0;display:flex;flex-direction:column;gap:0;
521
521
  #tasksv .iscroll{flex:1;min-height:0;overflow:auto}
522
522
  .itable{width:100%;border-collapse:collapse}.itable th{text-align:left;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);font-weight:600;padding:8px 12px;border-bottom:1px solid var(--line)}
523
523
  .itable td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.itable tr:hover td{background:var(--hover)}#tasksv tbody tr{cursor:pointer}.itable tr.kb td{background:var(--hover)}.itable td:first-child{width:28px;padding-right:0}.itable td.d{color:var(--dim);white-space:nowrap}
524
- .itable .ctx{display:flex;gap:6px;align-items:center;color:var(--dim);font-size:12px;margin-top:3px}.itable .tag{font-size:10.5px;border:1px solid var(--line);border-radius:4px;padding:0 7px}
524
+ .sk-st{font-size:10.5px;font-style:normal;font-weight:400;color:var(--dim);border:1px solid var(--line);border-radius:4px;padding:0 6px;margin-left:4px}.itable .ctx{display:flex;gap:6px;align-items:center;color:var(--dim);font-size:12px;margin-top:3px}.itable .tag{font-size:10.5px;border:1px solid var(--line);border-radius:4px;padding:0 7px}
525
525
  .itable .stc{display:flex;gap:8px;align-items:center;font-size:12px;white-space:nowrap}
526
526
  .itable .go{display:flex;gap:6px;align-items:center;padding:4px 10px;border:1px solid var(--line);border-radius:4px;white-space:nowrap}.itable .go:hover{background:var(--hover)}.itable .go svg{width:13px;height:13px}.itable .acts{display:flex;gap:6px;justify-content:flex-end;align-items:center}.itable .del{display:grid;place-items:center;width:28px;height:28px;border:1px solid transparent;border-radius:4px;background:none;color:var(--dim);cursor:pointer}.itable .del:hover{color:var(--danger);border-color:var(--line)}.itable .del svg{width:15px;height:15px}.itable .acts .q{color:var(--dim);font-size:12px}.itable .acts .btn{padding:4px 10px;font-size:12px}
527
527
  /* Orca's Tasks page: a tinted toolbar joined to a bordered list (TaskPage, Orca 1.4.244). */