create-nimbo 0.2.0 → 0.2.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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  Alle noemenswaardige wijzigingen per versie. Versies volgen [Semantic Versioning](https://semver.org/lang/nl/).
4
4
 
5
+ ## 0.2.1 — 2 december 2026
6
+
7
+ ### Gewijzigd
8
+ - De installer toont het Nimbo-logo, een korte samenvatting per soort in plaats van iedere bestandsnaam, en kleuren uit het dashboard (uit buiten een terminal of met `NO_COLOR`). Nieuwe optie `--verbose` toont ieder bestand.
9
+ - De intake toont hetzelfde logo.
10
+ - De README (ook de npm-pagina) is kort en alleen voor gebruikers, met de waarschuwing om `npx` te gebruiken en niet `npm i`.
11
+
5
12
  ## 0.2.0 — 1 december 2026
6
13
 
7
14
  ### Nieuw
package/README.md CHANGED
@@ -1,120 +1,33 @@
1
1
  # Nimbo
2
2
 
3
- Nimbo is een gedeelde projectworkflow voor Codex en Claude:
3
+ *learn while doing*
4
4
 
5
- **intake → discover → blueprint → stack → roadmap → feature → integrate**, met explain en reflect op verzoek in elke fase, en een dashboard dat na elke fase wordt bijgewerkt.
5
+ Nimbo is een projectworkflow voor Claude Code en Codex. Hij begeleidt je stap voor stap van idee tot werkend product. Jij kiest per fase hoeveel je zelf doet en leert.
6
6
 
7
- Deze repository bevat de bron van de tool. Gebruikersprojecten krijgen een eigen kopie van de basisset en produceren hun eigen configuratie, plannen en logs.
7
+ ## Installeren
8
8
 
9
- ## Snel starten
10
-
11
- Vereist **Node.js 20 of nieuwer**. Open een terminal in de map van je project (nieuw of bestaand) en typ:
9
+ Vereist Node.js 20 of nieuwer. Typ in de map van je project, nieuw of bestaand:
12
10
 
13
11
  ```sh
14
12
  npx create-nimbo@latest
15
13
  ```
16
14
 
17
- Bevestig met `y`. Open de map daarna in Codex of Claude Code, begin een nieuwe sessie en stuur een willekeurig bericht: Nimbo stelt zich voor en start de intake.
18
-
19
- **Bijwerken:** typ in hetzelfde project opnieuw `npx create-nimbo@latest`. Bestanden die je niet hebt aangepast worden vervangen; je eigen aanpassingen, projectdocumenten en code blijven staan (zie [Nimbo bijwerken](#nimbo-bijwerken)).
20
-
21
- ## Indeling
22
-
23
- | Locatie | Doel |
24
- |---|---|
25
- | [AGENTS.md](AGENTS.md) en [CLAUDE.md](CLAUDE.md) | Ontwikkelinstructies voor Nimbo zelf |
26
- | [STATUS.md](STATUS.md) | Laatste stap en eerstvolgende acties |
27
- | [nimbo-dev/PROGRESS.md](nimbo-dev/PROGRESS.md) | Uitgebreide voortgang, controles en open punten |
28
- | [nimbo-dev/moscow.md](nimbo-dev/moscow.md) | MoSCoW-wensenlijst voor de ontwikkeling van Nimbo |
29
- | [install.js](install.js) | Ingang van de installatiewizard (ook het `nimbo`-commando uit `package.json`) |
30
- | `tools/nimbo/template/AGENTS.md.template` | Agentingang voor een gebruikersproject |
31
- | `tools/nimbo/template/CLAUDE.md.template` | Gedeelde routing en werkafspraken voor gebruikersprojecten |
32
- | `tools/nimbo/template/.claude/skills/` | De tien gebruikersskills; de installer plaatst ze in `.claude/skills/` (Claude Code) én `.agents/skills/` (Codex) |
33
- | [tools/nimbo/install.js](tools/nimbo/install.js) | Installer voor nieuwe en bestaande gebruikersprojecten |
34
- | [tests/install.test.js](tests/install.test.js) | Geautomatiseerde installatietests |
35
- | [package.json](package.json) | npm-pakket `create-nimbo` (`npx create-nimbo@latest` of `npm create nimbo@latest`), testscript en `nimbo`-commando |
36
- | [CHANGELOG.md](CHANGELOG.md) | Wijzigingen per versie |
37
-
38
- De `.template`-extensie maakt de twee agentbestanden herkenbaar als bronmateriaal. Bij het kopiëren krijgen ze hun normale doelnaam. De bestandsverwijzingen binnen de basisset zijn geschreven voor de root van het gebruikersproject.
39
-
40
- ## Installeren vanuit de bronmap (ontwikkeling)
41
-
42
- Gewoon gebruiken? Zie [Snel starten](#snel-starten). Deze route is voor wie aan Nimbo zelf werkt of een niet-gepubliceerde versie wil testen.
43
-
44
- Vereist **Node.js 20 of nieuwer**, zonder extra dependencies. Open **de doelmap** als project in je editor en open daar een terminal. Start de installer met het volledige pad naar de Nimbo-bronmap; vervang het voorbeeldpad door de werkelijke locatie:
45
-
46
- ```sh
47
- node /volledig/pad/naar/nimbo/install.js
48
- ```
49
-
50
- Staat de Nimbo-bronmap bijvoorbeeld in `~/Documents/EDU_PROJECTS/Nimbo`, dan typ je in de terminal van de doelmap:
51
-
52
- ```sh
53
- node ~/Documents/EDU_PROJECTS/Nimbo/install.js
54
- ```
55
-
56
- De installer gebruikt automatisch de huidige terminalmap als doelmap en toont de bestandswijzigingen. De installer is Engelstalig, omdat de voertaal pas in de intake wordt gekozen. Je krijgt één vraag:
57
-
58
- > Install Nimbo in the current folder '[locatie]'? [y/N]
59
-
60
- Typ `y` (of `yes`, `j`, `ja`) om te installeren, of druk op Enter om te annuleren. Je hoeft geen doelpad in te vullen, niet van map te wisselen en geen tweede commando uit te voeren. Paden met spaties werken ook.
15
+ > Gebruik `npx`, niet `npm i`. Nimbo is een installer, geen bibliotheek.
61
16
 
62
- De installer zelf blijft in de Nimbo-bronmap; alleen de basisbestanden komen in het huidige project terecht. Start de gewone installatie dus vanuit het gebruikersproject. Installatie in de Nimbo-bronmap zelf wordt geweigerd.
17
+ Open de map daarna in Claude Code of Codex, begin een nieuwe sessie en stuur een bericht. Nimbo start met een korte intake.
63
18
 
64
- Het overzicht toont nieuwe bestanden, identieke bestaande bestanden en eventuele conflicten. Tot je bevestigt wordt niets aangemaakt, ook geen doelmap. Bij conflicten stopt het script met een foutstatus. Los de inhoudelijke conflicten bewust op voordat je installeert; er is geen automatische overschrijf- of samenvoegoptie.
19
+ ## Bijwerken
65
20
 
66
- De doelmap mag nieuw zijn of een bestaand project bevatten. Bestaande projectbestanden, intakeconfiguratie en andere skills blijven behouden. Bij een nieuwe installatie blokkeren afwijkende `AGENTS.md`, `CLAUDE.md`, Nimbo-skills of installatiegegevens de hele installatie voordat er iets wordt geschreven. Symbolische links in het doelpad worden geweigerd; gebruik het fysieke pad naar het project.
21
+ Typ hetzelfde commando opnieuw in je project. Bestanden die je zelf hebt aangepast, blijven staan; de nieuwe versie komt ernaast als `.nimbo-new`. Je documenten en code worden nooit aangeraakt.
67
22
 
68
- Het script plaatst de twee agentbestanden, de tien skills in `.claude/skills/` en dezelfde tien in `.agents/skills/`, het dashboardscript met zijn pagina in `.workflow/dashboard/` (uitvoer in `.workflow/out/`, buiten Git), de Nimbo-licentietekst in `.workflow/LICENSE.nimbo` en `.workflow/nimbo-install.json`. Een bestaande `LICENSE` in het gebruikersproject blijft behouden. Dat installatiebestand bevat de bestandshashes en een hash die de exacte basisset identificeert; het is geen intakeconfiguratie. Een herhaalde installatie van dezelfde basisset schrijft identieke bestanden niet opnieuw. Een onderbroken installatie door een schrijffout ruimt alleen de tijdens die uitvoering nieuw aangemaakte bestanden en lege mappen op.
69
-
70
- Open daarna **de testmap** als project in Codex of Claude, begin een nieuwe sessie en stuur een willekeurig bericht. Nimbo stelt zich voor en start de intake. Na jouw akkoord richt de intake de configuratie en Git in (repository, `.gitignore`, eerste commit). De installer zelf maakt dus geen repository of workflowconfiguratie aan.
71
-
72
- Een skill kun je ook direct starten:
73
-
74
- | Omgeving | Starten | Voorbeeld |
75
- |---|---|---|
76
- | Claude Code | `/naam` | `/discover` |
77
- | Codex | `$naam`, of kiezen via `/skills` | `$discover` |
78
-
79
- Codex kent geen `/naam` voor skills; daar gebruik je `$naam`. Gewoon een bericht sturen werkt ook: de workflow kiest dan zelf de juiste fase.
80
-
81
- De installer neemt geen ontwikkelinstructies uit deze root, voorbeeldgegevens, `docs/` of bestaande `.workflow/config.md` mee. Die projectdocumenten ontstaan tijdens gebruik in het doelproject. Test Codex en Claude bij voorkeur met afzonderlijke verse kopieën.
82
-
83
- <details>
84
- <summary>Optioneel: alleen bekijken of geautomatiseerd installeren</summary>
85
-
86
- Voeg `--dry-run` toe aan het startcommando om alleen het overzicht voor de huidige map te bekijken zonder iets aan te maken. Voor geautomatiseerd gebruik kun je een doelmap direct meegeven: `node /volledig/pad/naar/nimbo/install.js /pad/naar/project --yes`. Zet een pad met spaties tussen aanhalingstekens wanneer je het als commandoargument meegeeft. Zonder `--yes` volgt bij nieuwe bestanden altijd de bevestigingsvraag.
87
-
88
- </details>
89
-
90
- ### Nimbo bijwerken
91
-
92
- Start in een project waar Nimbo al in staat hetzelfde commando opnieuw. De installer herkent de installatie aan `.workflow/nimbo-install.json` en toont een updateplan, met de geïnstalleerde en de nieuwe versie:
93
-
94
- | Regel | Betekenis |
95
- |---|---|
96
- | `NEW` | Nieuw Nimbo-bestand, bijvoorbeeld een nieuwe skill |
97
- | `UPDATE` | Nimbo-bestand dat je niet hebt aangepast; wordt vervangen door de nieuwe versie |
98
- | `KEEP` | Nimbo-bestand dat je zelf hebt aangepast; jouw versie blijft staan en de nieuwe komt ernaast als `<bestand>.nimbo-new`, zodat je zelf kunt vergelijken en overnemen |
99
- | `REMOVE` | Bestand dat niet meer bij Nimbo hoort en dat je niet hebt aangepast |
100
- | `LEAVE` | Bestand dat niet meer bij Nimbo hoort, maar dat je wel hebt aangepast; blijft staan |
101
-
102
- Na `Update Nimbo in …? [y/N]` wordt het plan uitgevoerd. Je projectwerk blijft altijd onaangeroerd: `docs/`, `.workflow/config.md`, `.workflow/out/` en je code. Of een bestand is aangepast, ziet de installer aan de vingerafdrukken (SHA-256) in het installatiebestand. Een update die halverwege mislukt, zet alle bestanden terug. `--dry-run` toont alleen het plan.
103
-
104
- ### Tests
105
-
106
- De geautomatiseerde installatietests draaien uitsluitend in tijdelijke testmappen:
107
-
108
- ```sh
109
- npm test
110
- ```
23
+ ## Hoe het werkt
111
24
 
112
- Die controles testen bestandsplaatsing en foutafhandeling. Praktijktests van de flow draaien via de installer in een afzonderlijk gebruikersproject. Voorbeeldprojecten, ruwe uitvoer en handmatige testverslagen worden buiten de Nimbo-bronrepository bewaard.
25
+ **intake → discover → blueprint → stack → roadmap → feature → integrate → release**
113
26
 
114
- ## Volgende ontwikkelstap
27
+ Uitleg (`explain`) en een terugblik (`reflect`) kun je in elke fase vragen. Na elke fase wordt een dashboard bijgewerkt met de voortgang en wie wat besliste: jij of de AI.
115
28
 
116
- De actuele laatste stap en eerstvolgende acties staan in [STATUS.md](STATUS.md). De uitgebreidere voortgang, testbevindingen en open werkzaamheden staan in [nimbo-dev/PROGRESS.md](nimbo-dev/PROGRESS.md).
29
+ Een fase direct starten: `/discover` in Claude Code, `$discover` in Codex.
117
30
 
118
31
  ## Licentie
119
32
 
120
- Nimbo wordt aangeboden onder de [MIT-licentie](LICENSE). Copyright (c) 2026 Bardt. De installer levert de licentietekst mee in `.workflow/LICENSE.nimbo`.
33
+ MIT. Copyright (c) 2026 Bardt.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nimbo",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Gedeelde projectworkflow voor Codex en Claude: van idee tot release, terwijl je leert.",
5
5
  "keywords": [
6
6
  "codex",
@@ -12,14 +12,6 @@
12
12
  "education"
13
13
  ],
14
14
  "license": "MIT",
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/BeeVeeDeeDee/nimbo.git"
18
- },
19
- "homepage": "https://github.com/BeeVeeDeeDee/nimbo#readme",
20
- "bugs": {
21
- "url": "https://github.com/BeeVeeDeeDee/nimbo/issues"
22
- },
23
15
  "type": "module",
24
16
  "bin": {
25
17
  "create-nimbo": "install.js",
@@ -315,7 +315,7 @@ export function applyPlan(target, payload, plan, { write = writeNewFile, replace
315
315
  }
316
316
  }
317
317
 
318
- const USAGE = "usage: nimbo [-h] [--dry-run] [--yes] [project]";
318
+ const USAGE = "usage: nimbo [-h] [--dry-run] [--verbose] [--yes] [project]";
319
319
  const HELP = `${USAGE}
320
320
 
321
321
  Install Nimbo into a new or existing project without overwriting files.
@@ -328,10 +328,12 @@ arguments:
328
328
 
329
329
  options:
330
330
  -h, --help show this help
331
- --dry-run show the plan without creating anything
331
+ --dry-run show the plan file by file without creating anything
332
+ -v, --verbose list every file
332
333
  -y, --yes install without confirmation; requires a target folder
333
334
 
334
- Requires Node.js 20+. Sets up no Git, product plan or intake configuration; Nimbo's intake does that.`;
335
+ Requires Node.js 20+. Sets up no Git, product plan or intake configuration; Nimbo's intake does that.
336
+ Colors are off when the output is not a terminal or NO_COLOR is set.`;
335
337
 
336
338
  class UsageError extends Error {}
337
339
 
@@ -344,6 +346,7 @@ function parseArguments(argv) {
344
346
  options: {
345
347
  help: { type: "boolean", short: "h" },
346
348
  "dry-run": { type: "boolean" },
349
+ verbose: { type: "boolean", short: "v" },
347
350
  yes: { type: "boolean", short: "y" },
348
351
  },
349
352
  });
@@ -352,7 +355,13 @@ function parseArguments(argv) {
352
355
  }
353
356
  const { values, positionals } = parsed;
354
357
  if (positionals.length > 1) throw new UsageError(`unexpected arguments: ${positionals.slice(1).join(" ")}`);
355
- const options = { help: Boolean(values.help), dryRun: Boolean(values["dry-run"]), yes: Boolean(values.yes), project: positionals[0] };
358
+ const options = {
359
+ help: Boolean(values.help),
360
+ dryRun: Boolean(values["dry-run"]),
361
+ verbose: Boolean(values.verbose || values["dry-run"]),
362
+ yes: Boolean(values.yes),
363
+ project: positionals[0],
364
+ };
356
365
  if (options.yes && options.project === undefined && !options.help) {
357
366
  throw new UsageError("--yes requires a target folder.");
358
367
  }
@@ -382,6 +391,71 @@ function expandHome(project) {
382
391
  return project;
383
392
  }
384
393
 
394
+ const shortHome = (target) => {
395
+ const home = os.homedir();
396
+ return isWithin(target, home) && target !== home ? `~${target.slice(home.length)}` : target;
397
+ };
398
+
399
+ // The dashboard palette (dark theme), with a 256-color fallback for terminals without truecolor.
400
+ const PALETTE = {
401
+ text: [[233, 231, 227], 255],
402
+ muted: [[141, 138, 133], 245],
403
+ faint: [[90, 88, 84], 240],
404
+ you: [[217, 162, 115], 179],
405
+ nimbo: [[143, 169, 220], 110],
406
+ red: [[217, 115, 111], 167],
407
+ };
408
+
409
+ /** Color helpers for one output stream; plain text when it is not a terminal or NO_COLOR is set. */
410
+ export function painter(stream, env = process.env) {
411
+ const on = Boolean(stream.isTTY) && !env.NO_COLOR;
412
+ const truecolor = /truecolor|24bit/i.test(env.COLORTERM || "");
413
+ const paint = (name, bold = false) => (text) => {
414
+ if (!on) return text;
415
+ const [rgb, fallback] = PALETTE[name];
416
+ const color = truecolor ? `38;2;${rgb.join(";")}` : `38;5;${fallback}`;
417
+ return `\x1b[${bold ? "1;" : ""}${color}m${text}\x1b[0m`;
418
+ };
419
+ return {
420
+ text: paint("text"), bold: paint("text", true), muted: paint("muted"), faint: paint("faint"),
421
+ you: paint("you"), nimbo: paint("nimbo"), red: paint("red"),
422
+ };
423
+ }
424
+
425
+ function logo(c) {
426
+ // The dashboard logo: an open ring with a sphere in the middle.
427
+ return [
428
+ "",
429
+ ` ${c.muted(" ──╮")}`,
430
+ ` ${c.muted("│ ")}${c.bold("●")}${c.muted(" │")} ${c.bold("N I M B O")} ${c.faint(nimboVersion())}`,
431
+ ` ${c.muted("╰─────╯")} ${c.faint("learn while doing")}`,
432
+ "",
433
+ ].join("\n");
434
+ }
435
+
436
+ const plural = (n, one, many) => (n === 1 ? one : many);
437
+ const skillName = (relative) => relative.match(/^\.(?:claude|agents)\/skills\/([^/]+)\/SKILL\.md$/)?.[1];
438
+
439
+ /** Summarize files the way a user thinks about them: agent files, skills, dashboard, the rest. */
440
+ function summarize(files, c) {
441
+ const lines = [];
442
+ const agents = files.filter((relative) => relative === "AGENTS.md" || relative === "CLAUDE.md");
443
+ if (agents.length) lines.push(agents.join(", "));
444
+ const skills = [...new Set(files.map(skillName).filter(Boolean))];
445
+ if (skills.length === SKILLS.length && skills.every((name) => SKILLS.includes(name))) {
446
+ lines.push(`${skills.length} skills ${c.muted("for Claude Code and Codex")}`);
447
+ } else if (skills.length) {
448
+ lines.push(`${skills.length} ${plural(skills.length, "skill", "skills")}: ${skills.join(", ")}`);
449
+ }
450
+ if (files.some((relative) => relative.startsWith(".workflow/dashboard/"))) lines.push("dashboard");
451
+ const quiet = new Set([MANIFEST, ".workflow/LICENSE.nimbo"]);
452
+ for (const relative of files) {
453
+ if (agents.includes(relative) || skillName(relative) || relative.startsWith(".workflow/dashboard/") || quiet.has(relative)) continue;
454
+ lines.push(relative);
455
+ }
456
+ return lines;
457
+ }
458
+
385
459
  export async function main(argv = process.argv.slice(2)) {
386
460
  let options;
387
461
  try {
@@ -395,68 +469,108 @@ export async function main(argv = process.argv.slice(2)) {
395
469
  console.log(HELP);
396
470
  return 0;
397
471
  }
472
+ const c = painter(process.stdout);
473
+ const e = painter(process.stderr);
474
+ const say = (line = "") => console.log(line);
475
+ const item = (mark, text) => say(` ${mark} ${text}`);
476
+ const detail = (text) => say(` ${c.faint(text)}`);
398
477
  try {
399
478
  const target = path.resolve(options.project === undefined ? process.cwd() : expandHome(options.project));
479
+ say(logo(c));
400
480
  const payload = installationFiles();
401
481
  const plan = makePlan(target, payload);
402
- const installed = plan.update ? readManifest(target).version : null;
403
- console.log(plan.update
404
- ? `Nimbo update → ${target} (installed: ${installed ?? "unknown version"}, new: ${nimboVersion()})`
405
- : `Nimbo → ${target}`);
406
- for (const relative of plan.additions) console.log(` NEW ${relative}`);
407
- for (const relative of plan.updates) if (relative !== MANIFEST) console.log(` UPDATE ${relative}`);
408
- for (const [relative] of plan.kept) console.log(` KEEP ${relative}: you changed it; new version in ${sidecar(relative)}`);
409
- for (const relative of plan.removals) console.log(` REMOVE ${relative}: no longer part of Nimbo`);
410
- for (const relative of plan.left) console.log(` LEAVE ${relative}: no longer part of Nimbo, but you changed it`);
482
+ const version = nimboVersion();
483
+ const updates = plan.updates.filter((relative) => relative !== MANIFEST);
484
+ const changes = plan.additions.length + updates.length
485
+ + plan.removals.length + plan.kept.filter(([, current]) => !current).length;
486
+
487
+ say(` ${c.muted("Folder")} ${c.text(shortHome(target))}`);
488
+ if (plan.update && changes) {
489
+ const installed = readManifest(target).version ?? "unknown";
490
+ say(` ${c.muted("Update")} ${c.muted(installed)} ${c.muted("→")} ${c.text(version)}`);
491
+ }
492
+ say();
493
+
494
+ if (plan.conflicts.length) {
495
+ item(c.red("✖"), c.bold(`${plan.conflicts.length} ${plural(plan.conflicts.length, "file is", "files are")} in the way:`));
496
+ for (const [relative, reason] of plan.conflicts) {
497
+ detail(`${relative}${reason === "exists with different content" ? "" : `: ${reason}`}`);
498
+ }
499
+ item(c.muted("→"), `Rename or remove ${plural(plan.conflicts.length, "it", "them")}, then run the command again. Nothing was changed.`);
500
+ say();
501
+ return 1;
502
+ }
503
+
411
504
  if (plan.update) {
412
- const same = plan.unchanged.filter((relative) => relative !== MANIFEST).length;
413
- if (same) console.log(` (${same} files unchanged)`);
505
+ if (updates.length) item(c.nimbo("↻"), `${updates.length} ${plural(updates.length, "file", "files")} updated`);
506
+ for (const line of summarize(plan.additions, c)) item(c.nimbo("+"), line);
507
+ if (plan.kept.length) {
508
+ const n = plan.kept.length;
509
+ item(c.you("!"), `${n} ${plural(n, "file you changed is kept; the new version is next to it:", "files you changed are kept; the new versions are next to them:")}`);
510
+ for (const [relative] of plan.kept) say(` ${c.faint(relative)}${c.you(".nimbo-new")}`);
511
+ }
512
+ if (plan.removals.length) {
513
+ item(c.nimbo("−"), `${plan.removals.length} ${plural(plan.removals.length, "file is", "files are")} no longer part of Nimbo and will be removed:`);
514
+ for (const relative of plan.removals) detail(relative);
515
+ }
516
+ if (plan.left.length) {
517
+ item(c.you("!"), `${plan.left.length} ${plural(plan.left.length, "file is", "files are")} no longer part of Nimbo, but you changed ${plural(plan.left.length, "it", "them")}; left in place:`);
518
+ for (const relative of plan.left) detail(relative);
519
+ }
414
520
  } else {
415
- for (const relative of plan.unchanged) console.log(` SAME ${relative}`);
521
+ for (const line of summarize(plan.additions, c)) item(c.nimbo("+"), line);
416
522
  }
417
- for (const [relative, reason] of plan.conflicts) console.log(` CONFLICT ${relative}: ${reason}`);
418
- if (plan.conflicts.length) throw new InstallError("Resolve the conflicts deliberately first. Nothing was written.");
419
- if (options.dryRun) {
420
- console.log("Dry run: nothing written.");
421
- return 0;
523
+
524
+ if (options.verbose) {
525
+ say();
526
+ for (const relative of plan.additions) detail(`NEW ${relative}`);
527
+ for (const relative of updates) detail(`UPDATE ${relative}`);
528
+ for (const [relative] of plan.kept) detail(`KEEP ${relative}`);
529
+ for (const relative of plan.removals) detail(`REMOVE ${relative}`);
530
+ for (const relative of plan.left) detail(`LEAVE ${relative}`);
531
+ if (!plan.update) for (const relative of plan.unchanged) detail(`SAME ${relative}`);
422
532
  }
423
- const changes = plan.additions.length + plan.updates.filter((relative) => relative !== MANIFEST).length
424
- + plan.removals.length + plan.kept.filter(([, current]) => !current).length;
533
+
425
534
  if (plan.update && !changes) {
426
535
  // Only Nimbo's own bookkeeping may differ (such as the version number): refresh it quietly.
427
- if (plan.updates.length) applyPlan(target, payload, plan);
428
- console.log(`Nimbo is up to date (${nimboVersion()}). Nothing to do.`);
536
+ if (!options.dryRun && plan.updates.length) applyPlan(target, payload, plan);
537
+ item(c.nimbo("✔"), c.bold(`Nimbo ${version} is up to date.`));
538
+ say();
539
+ return 0;
540
+ }
541
+ if (options.dryRun) {
542
+ say();
543
+ say(` ${c.muted("Dry run: nothing written.")}`);
544
+ say();
429
545
  return 0;
430
546
  }
547
+ say();
431
548
  if (changes && !options.yes) {
432
549
  const verb = plan.update ? "Update" : "Install";
433
- const question = options.project === undefined
434
- ? `${verb} Nimbo in the current folder '${target}'? [y/N]: `
435
- : `${verb} Nimbo in '${target}'? [y/N]: `;
436
- const answer = await ask(question);
437
- if (answer === null) {
438
- console.log("\nCancelled: nothing written.");
439
- return 0;
440
- }
441
- if (!["j", "ja", "y", "yes"].includes(answer.trim().toLowerCase())) {
442
- console.log("Cancelled: nothing written.");
550
+ const where = options.project === undefined ? "here" : `in '${target}'`;
551
+ const answer = await ask(` ${verb} Nimbo ${where}? ${c.muted("[y/N]")} `);
552
+ if (answer === null || !["j", "ja", "y", "yes"].includes(answer.trim().toLowerCase())) {
553
+ say(`${answer === null ? "\n" : ""} ${c.muted("Cancelled: nothing written.")}`);
554
+ say();
443
555
  return 0;
444
556
  }
557
+ say();
445
558
  }
446
559
  applyPlan(target, payload, plan);
447
- const updated = plan.updates.filter((relative) => relative !== MANIFEST).length;
448
- console.log(`Done: ${plan.additions.length} files added; ${updated} updated; ${plan.removals.length} removed; ${plan.unchanged.length} unchanged.`);
449
- if (plan.kept.length) {
450
- console.log(`Kept ${plan.kept.length} file(s) you changed; compare each with its .nimbo-new and merge what you want.`);
560
+ if (plan.update) {
561
+ item(c.nimbo("✔"), `${c.bold(`Nimbo updated to ${version}.`)} ${c.muted("Your project files are untouched.")}`);
562
+ if (plan.kept.length) item(c.you("!"), "Compare each .nimbo-new with your version and keep what you want.");
563
+ item(c.muted("→"), "Start a new Codex or Claude session to use it.");
564
+ } else {
565
+ item(c.nimbo("✔"), c.bold("Nimbo installed."));
566
+ item(c.muted("→"), "Open this folder in Claude Code or Codex and send any message.");
451
567
  }
452
- console.log("Your own project files, skills and intake configuration are preserved.");
453
- console.log(plan.update
454
- ? "Start a new Codex or Claude session to work with the updated Nimbo."
455
- : "Open the project in a new Codex or Claude session and send any message to start.");
568
+ say();
456
569
  return 0;
457
570
  } catch (error) {
458
571
  if (!(error instanceof InstallError) && typeof error?.code !== "string") throw error;
459
- console.error(`Error: ${error.message}`);
572
+ console.error(` ${e.red("✖")} ${error.message}`);
573
+ console.error();
460
574
  return 1;
461
575
  }
462
576
  }
@@ -22,9 +22,9 @@ Richt de samenwerking in voordat de productfases beginnen. Het resultaat is een
22
22
  Reageer op het eerste bericht, wat het ook is. Tot de taalkeuze communiceer je in het **Engels**. Toon het logo in een codeblok en stel Nimbo in één zin voor:
23
23
 
24
24
  ```text
25
- .--.
26
- .( ). nimbo
27
- (___.__)_)
25
+ ──╮
26
+ │ ● │ N I M B O
27
+ ╰─────╯ learn while doing
28
28
  ```
29
29
 
30
30
  > Hi, I'm Nimbo. I'll guide you from idea to working product, one step at a time. First, a few quick setup choices.