@babylonjs-toolkit/agent 1.2.8 → 1.2.9

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Babylon Toolkit Desktop Agent (1.2.8)
1
+ # Babylon Toolkit Desktop Agent (1.2.9)
2
2
 
3
3
  The desktop agent owns the entire pipeline end to end — frontend and UI design, gameplay code, shaders, generated art and audio, 3D models in headless Blender, whole game levels and prefabs in a terminal-driven Unity Editor, the interactive glTF export, the web build, the dev server, and visual QA by screenshotting both Unity and the running browser.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs-toolkit/agent",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "Installs the Babylon Toolkit Desktop Agent for Claude Code, Codex, GitHub Copilot, Gemini CLI and Antigravity.",
5
5
  "keywords": [
6
6
  "babylonjs",
@@ -85,7 +85,7 @@ Work in **phases**: the plan's `### Phase N` groups, else up to 3 consecutive ta
85
85
  snapshots/ tests/ recon/
86
86
  ```
87
87
 
88
- **The feature folder is wherever the plan is** (`<slug>` is its name); paths are relative to it. The user moves folders between `.agents/specs/`, `complete/`, `followup/` and `archived/`; a reopened plan runs where it is. **Never move a feature folder.** A legacy flat plan (`.agents/specs/<slug>_plan.md`) runs in place and gets `.agents/specs/<slug>/` for the dashboard files and `snapshots/`.
88
+ **The feature folder is wherever the plan is** (`<slug>` is its name); paths are relative to it. The user moves folders between `.agents/specs/`, `.agents/complete/`, `.agents/followup/` and `.agents/archived/`; a reopened plan runs where it is. **Never move a feature folder.** A legacy flat plan (`.agents/specs/<slug>_plan.md`) runs in place and gets `.agents/specs/<slug>/` for the dashboard files and `snapshots/`.
89
89
 
90
90
  The page, starter data and live file come from `templates/dashboard/` *(skills loaded through a tool: `load_skill` + `read_skill_resource`; as files: this skill's folder)*; `dashboard.html` is copied with `{{slug}}` replaced, never edited. **`data-schema.md` documents every field, status and snapshot shape — read it once per run; brief each role on its parts.** bt-plan writes all three; create any that is missing. **Every write goes through `scripts/dashboard.mjs`** (atomic, shape-checked; options in its header; no Node → `data-schema.md`'s fallback).
91
91
 
@@ -110,7 +110,7 @@ The snapshots are how a human sees what was built and how it came together. Choo
110
110
 
111
111
  ### Run start, phases, run end
112
112
 
113
- - **Run start:** create any missing `.agents/specs/`, `complete/`, `archived/`, `followup/`, `profile/`, `recon/` (each with an empty `.gitkeep`); re-copy `dashboard.html` and an existing `documents/<slug>_summary.html` from their templates; **sync the dashboard with the plan** — add missing phases and tasks in plan order as `pending` with an `updates` note (`Added to the plan after <phase 2 ran / it was complete> — <why>`), remove dropped ones with an `activity` line. Then `status <feature-folder> in-progress`, `runs` + 1, the run-log link, an `activity` line, and **the watchdog launched in the background**; in git, add `.agents/*/*/documents/*_live.js` to `.gitignore` once. Before T1 of the first run changes anything, save `snapshots/plan-before.png`, the plan-wide "before" (*Snapshots tell the story*).
113
+ - **Run start:** make sure the six `.agents/` folders exist side by side directly under `.agents/` — `.agents/specs/`, `.agents/complete/`, `.agents/followup/`, `.agents/archived/`, `.agents/profile/` and `.agents/recon/`, never inside `.agents/specs/` — creating only a missing one, with an empty `.gitkeep` written only where it is missing; re-copy `dashboard.html` and an existing `documents/<slug>_summary.html` from their templates; **sync the dashboard with the plan** — add missing phases and tasks in plan order as `pending` with an `updates` note (`Added to the plan after <phase 2 ran / it was complete> — <why>`), remove dropped ones with an `activity` line. Then `status <feature-folder> in-progress`, `runs` + 1, the run-log link, an `activity` line, and **the watchdog launched in the background**; in git, add `.agents/*/*/documents/*_live.js` to `.gitignore` once. Before T1 of the first run changes anything, save `snapshots/plan-before.png`, the plan-wide "before" (*Snapshots tell the story*).
114
114
  - **Each phase, after its ticks:** status, times and minutes (its `⏱` line), verifier result, a 2–3 sentence summary, the phase's progression (its tasks' frames in build order from one camera, `snapshot P<N> --frame …`) when it spans tasks, `decisions`, `activeTime` (all runs: each `⏱ Run <n> end` line's `active` plus this run's), an `activity` line, a "so far" `outcome`, and `check` passing.
115
115
  - **Run end — the After Action Report.** Status from **re-reading the checkboxes**: all `- [x]` → `complete`; all ticked or ⏭️ DEFERRED → `incomplete`; else `paused` — never `in-progress`. **Follow-ups:** add each with `followup <feature-folder> --title "<one line>" --detail "…" --source "T<n> <role>" [--file <path>]…` — one per thing a human should look at next (a pre-existing problem the run logged, work outside the plan's scope, a gap no check covered), never a note about what went well. Each carries enough to be specced on its own: what is wrong, the evidence (numbers, where it showed), where to look, what fixing it involves. The helper numbers them `F1`, `F2` …, writes `documents/<slug>_followups.md`, and the dashboard offers a `/bt-spec Fix F<n> from …` command for each, and for any ticked together. A later run revises one with `--id F2 … --note "why"`, never by rewriting it. A feature specced *from* follow-ups (its `feature.addresses`, set by bt-spec) needs nothing extra: every `status` write and `check` carries its progress to the source follow-ups (in progress, done, partly done). Then write `afterAction` (fields in `data-schema.md`): headline, body, highlights, **one plan-wide before/after** (`snapshot <feature-folder> comparison --before snapshots/plan-before.png --after snapshots/plan-after.png --caption "…"`), the "after" from the same camera in the final end-to-end session; the key progression in `afterAction.snapshots` if it tells the story best; and every run `afterAction.testing` — each suite the plan touched re-run **once in full** (one `suites` entry each, never summed from tasks), a `summary` and `gaps`. An early end writes it too (*Interim* while `paused`; revised next run with an `updates` entry); finishing a reopened plan rewrites it, notes the change and retakes the "after". Then open `dashboard.html` headless once: every snapshot shows.
116
116
  - **Plan summary, only when `complete`:** copy `templates/summary/summary.html` to `documents/<slug>_summary.html` (`{{slug}}` replaced) and write `documents/<slug>_summary.js` per **`summary-guide.md`** and its worked example `summary.template.js` — the plan for people who never see the code, on-screen names in **bold**, real values, no file names, task IDs or test counts. Set `afterAction.planSummary`. A reopened plan keeps its summary until it completes again; then rewrite it, add the date to `stamp` (`Fixed on 2026-10-19; updated on 2026-11-02`) and say in the lead what changed.