@johnz4021/illuminate 0.5.10 → 0.5.12

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/dist/cli.mjs CHANGED
@@ -3819,8 +3819,7 @@ var init_prompts = __esm({
3819
3819
  "- 2\u20136 `areas` named in product language (Patients, Billing, Background jobs), not folder names.",
3820
3820
  "- Aim for 6\u20138 boxes (`nodes`); 12 is a hard ceiling, reached only when the question asks about several things at once. A map is an answer, not an inventory: someone should be able to hold it in their head. Each box is one step a person would recognize and that the answer turns on.",
3821
3821
  "- Leave plumbing off the map unless the question is about it: a request arriving, a job being started, a result being saved, an update being sent to the screen. Fold each into the box it serves and say it in that box's `explain` or on the arrow.",
3822
- "- When several steps in a row just hand on to the next (a route that calls a handler that calls a service), they are one box, cited at the step that matters.",
3823
- '- A wrapper is not just handing on: a function that works out or fixes some of what it passes before calling another (who the owner is, a mode turned on or off, a value computed from the caller) is its own box, cited in the wrapper itself, never folded into its caller or the function it calls. Its `explain` says what it fills in and how ("Makes whoever signed the owner, and turns safe mode off, then creates the record"). People new to the code can\'t guess those values from the function it calls.',
3822
+ "- When several steps in a row just hand on to the next (a route that calls a handler that calls a service), they are one box, cited at the step that matters. If one of them fills in or changes what it passes along (who the owner is, a mode turned on or off, a value worked out from the caller), say that in the box's `explain` and cite its line too.",
3824
3823
  "- When what they ask about can happen more than one way (two ways to sign up, a request through the server and a direct call, two modes), draw each way to where they meet, unless they asked about one of them. Someone new to the code needs to know the others exist. Each way can be a box or two.",
3825
3824
  "- When the answer is a list of like things (five kinds of rule, four checks), that is one box naming the group, or at most the two or three that differ in a way the question cares about; put the rest in `explain`.",
3826
3825
  "- Before returning, go through the boxes one at a time: if the answer would be the same without it, drop or merge it.",
@@ -5060,7 +5059,7 @@ var VERSION, PACKAGE, DAY;
5060
5059
  var init_updates = __esm({
5061
5060
  "packages/server/src/updates.ts"() {
5062
5061
  "use strict";
5063
- VERSION = true ? "0.5.10" : void 0;
5062
+ VERSION = true ? "0.5.12" : void 0;
5064
5063
  PACKAGE = "@johnz4021/illuminate";
5065
5064
  DAY = 24 * 60 * 60 * 1e3;
5066
5065
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnz4021/illuminate",
3
- "version": "0.5.10",
3
+ "version": "0.5.12",
4
4
  "description": "Checked, interactive maps of how your code works, drawn by your own Claude Code session.",
5
5
  "license": "MIT",
6
6
  "type": "module",