openplanr 2.2640.1 → 2.2640.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.
Files changed (113) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cli/commands/planning-artifacts.js +1 -1
  3. package/dist/cli/commands/planning-artifacts.js.map +1 -1
  4. package/dist/cli/commands/runtime-output.d.ts +11 -0
  5. package/dist/cli/commands/runtime-output.d.ts.map +1 -0
  6. package/dist/cli/commands/runtime-output.js +26 -0
  7. package/dist/cli/commands/runtime-output.js.map +1 -0
  8. package/dist/cli/commands/runtime.d.ts.map +1 -1
  9. package/dist/cli/commands/runtime.js +30 -17
  10. package/dist/cli/commands/runtime.js.map +1 -1
  11. package/dist/cli/commands/setup.d.ts.map +1 -1
  12. package/dist/cli/commands/setup.js +2 -3
  13. package/dist/cli/commands/setup.js.map +1 -1
  14. package/dist/cli/commands/upgrade.d.ts +1 -1
  15. package/dist/cli/commands/upgrade.d.ts.map +1 -1
  16. package/dist/cli/commands/upgrade.js +23 -54
  17. package/dist/cli/commands/upgrade.js.map +1 -1
  18. package/dist/dashboard/.vite/manifest.json +1 -1
  19. package/dist/dashboard/assets/{index-9DLb9EO5.js → index-CaX9EJp4.js} +2 -2
  20. package/dist/dashboard/assets/{index-9DLb9EO5.js.map → index-CaX9EJp4.js.map} +1 -1
  21. package/dist/dashboard/dashboard-manifest.json +13 -13
  22. package/dist/dashboard/index.html +1 -1
  23. package/dist/services/artifact-service.d.ts.map +1 -1
  24. package/dist/services/artifact-service.js +4 -1
  25. package/dist/services/artifact-service.js.map +1 -1
  26. package/dist/services/runtime-change-summary.d.ts +33 -0
  27. package/dist/services/runtime-change-summary.d.ts.map +1 -0
  28. package/dist/services/runtime-change-summary.js +88 -0
  29. package/dist/services/runtime-change-summary.js.map +1 -0
  30. package/dist/services/runtime-manager/inventory.d.ts.map +1 -1
  31. package/dist/services/runtime-manager/inventory.js +8 -1
  32. package/dist/services/runtime-manager/inventory.js.map +1 -1
  33. package/dist/services/runtime-manager-service.d.ts +6 -0
  34. package/dist/services/runtime-manager-service.d.ts.map +1 -1
  35. package/dist/services/runtime-manager-service.js +28 -0
  36. package/dist/services/runtime-manager-service.js.map +1 -1
  37. package/dist/services/upgrade-offer-service.d.ts.map +1 -1
  38. package/dist/services/upgrade-offer-service.js +6 -30
  39. package/dist/services/upgrade-offer-service.js.map +1 -1
  40. package/dist/services/upgrade-report.d.ts +13 -0
  41. package/dist/services/upgrade-report.d.ts.map +1 -0
  42. package/dist/services/upgrade-report.js +90 -0
  43. package/dist/services/upgrade-report.js.map +1 -0
  44. package/dist/services/upgrade-service.d.ts +48 -29
  45. package/dist/services/upgrade-service.d.ts.map +1 -1
  46. package/dist/services/upgrade-service.js +236 -48
  47. package/dist/services/upgrade-service.js.map +1 -1
  48. package/dist/templates/backlog/backlog-item.md.hbs +0 -3
  49. package/docs/CLI.md +7 -2
  50. package/docs/CROSS_RUNTIME_SETUP.md +2 -2
  51. package/lib/host-packages/adapter-registry.json +5 -5
  52. package/lib/host-packages/capability-map.json +1 -1
  53. package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
  54. package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +1 -1
  55. package/lib/host-packages/claude/openplanr/.openplanr-content.json +20 -20
  56. package/lib/host-packages/claude/openplanr/README.md +1 -1
  57. package/lib/host-packages/claude/openplanr/skills/design/scripts/design-artifact-shell.mjs +1 -1
  58. package/lib/host-packages/claude/openplanr/skills/design/scripts/design-document.mjs +1 -1
  59. package/lib/host-packages/claude/openplanr/skills/design/scripts/design-review-handoff.mjs +1 -1
  60. package/lib/host-packages/claude/openplanr/skills/design/scripts/runtime/packages/protocol/package.json +1 -1
  61. package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/design-artifact-shell.mjs +1 -1
  62. package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/design-document.mjs +1 -1
  63. package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/design-review-handoff.mjs +1 -1
  64. package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/runtime/packages/protocol/package.json +1 -1
  65. package/lib/host-packages/claude/openplanr/skills/design-review/scripts/design-artifact-shell.mjs +1 -1
  66. package/lib/host-packages/claude/openplanr/skills/design-review/scripts/design-document.mjs +1 -1
  67. package/lib/host-packages/claude/openplanr/skills/design-review/scripts/design-review-handoff.mjs +1 -1
  68. package/lib/host-packages/claude/openplanr/skills/design-review/scripts/runtime/packages/protocol/package.json +1 -1
  69. package/lib/host-packages/claude/openplanr/skills/doctor/references/upgrade.md +61 -63
  70. package/lib/host-packages/claude/openplanr/skills/plan/scripts/design-artifact-shell.mjs +1 -1
  71. package/lib/host-packages/claude/openplanr/skills/plan/scripts/design-document.mjs +1 -1
  72. package/lib/host-packages/claude/openplanr/skills/plan/scripts/design-review-handoff.mjs +1 -1
  73. package/lib/host-packages/claude/openplanr/skills/plan/scripts/runtime/packages/protocol/package.json +1 -1
  74. package/lib/host-packages/cursor/openplanr/.openplanr-content.json +19 -19
  75. package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
  76. package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/design-artifact-shell.mjs +1 -1
  77. package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/design-document.mjs +1 -1
  78. package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/design-review-handoff.mjs +1 -1
  79. package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/runtime/packages/protocol/package.json +1 -1
  80. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/design-artifact-shell.mjs +1 -1
  81. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/design-document.mjs +1 -1
  82. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/design-review-handoff.mjs +1 -1
  83. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/runtime/packages/protocol/package.json +1 -1
  84. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/design-artifact-shell.mjs +1 -1
  85. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/design-document.mjs +1 -1
  86. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/design-review-handoff.mjs +1 -1
  87. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/runtime/packages/protocol/package.json +1 -1
  88. package/lib/host-packages/cursor/openplanr/rules/planr-doctor/references/upgrade.md +61 -63
  89. package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/design-artifact-shell.mjs +1 -1
  90. package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/design-document.mjs +1 -1
  91. package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/design-review-handoff.mjs +1 -1
  92. package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/runtime/packages/protocol/package.json +1 -1
  93. package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
  94. package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
  95. package/lib/host-packages/openai/openplanr/.openplanr-content.json +19 -19
  96. package/lib/host-packages/openai/openplanr/skills/design/scripts/design-artifact-shell.mjs +1 -1
  97. package/lib/host-packages/openai/openplanr/skills/design/scripts/design-document.mjs +1 -1
  98. package/lib/host-packages/openai/openplanr/skills/design/scripts/design-review-handoff.mjs +1 -1
  99. package/lib/host-packages/openai/openplanr/skills/design/scripts/runtime/packages/protocol/package.json +1 -1
  100. package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/design-artifact-shell.mjs +1 -1
  101. package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/design-document.mjs +1 -1
  102. package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/design-review-handoff.mjs +1 -1
  103. package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/runtime/packages/protocol/package.json +1 -1
  104. package/lib/host-packages/openai/openplanr/skills/design-review/scripts/design-artifact-shell.mjs +1 -1
  105. package/lib/host-packages/openai/openplanr/skills/design-review/scripts/design-document.mjs +1 -1
  106. package/lib/host-packages/openai/openplanr/skills/design-review/scripts/design-review-handoff.mjs +1 -1
  107. package/lib/host-packages/openai/openplanr/skills/design-review/scripts/runtime/packages/protocol/package.json +1 -1
  108. package/lib/host-packages/openai/openplanr/skills/doctor/references/upgrade.md +61 -63
  109. package/lib/host-packages/openai/openplanr/skills/plan/scripts/design-artifact-shell.mjs +1 -1
  110. package/lib/host-packages/openai/openplanr/skills/plan/scripts/design-document.mjs +1 -1
  111. package/lib/host-packages/openai/openplanr/skills/plan/scripts/design-review-handoff.mjs +1 -1
  112. package/lib/host-packages/openai/openplanr/skills/plan/scripts/runtime/packages/protocol/package.json +1 -1
  113. package/package.json +2 -2
@@ -1,21 +1,20 @@
1
1
  # Driving an OpenPlanr upgrade
2
2
 
3
3
  `planr doctor` diagnoses; this reference is how to *act* once the tuple has
4
- drifted. An OpenPlanr install has two halves: the npm CLI, and the Claude Code
5
- plugin that `planr setup` installs from the marketplace bundled with that CLI —
6
- `planr@openplanr-local`, from the `openplanr-local` directory marketplace.
7
- `planr upgrade apply` moves the npm half itself and never changes Claude's plugin
8
- state; it hands back the exact commands for the plugin half, and this skill runs
9
- them inside the host and confirms the result.
4
+ drifted. An OpenPlanr install has two parts: the npm CLI, and what `planr setup`
5
+ installed into each coding agent from that CLI — the `planr@openplanr-local`
6
+ Claude Code plugin, Codex skills, Cursor rules. `planr upgrade apply` moves the
7
+ npm CLI itself and never changes a coding agent; the upgraded CLI then hands back
8
+ one command per installed agent, and this skill runs them and confirms the result.
10
9
 
11
10
  The cardinal rule: **name the actions, let the engine own the list.** Every
12
- plugin command you run comes from the CLI's own output. The skill never carries
13
- its own copy of those commands — the moment it did, it would drift from the CLI
14
- the first time the integration changed. The CLI renders the list from the same
15
- inspection `planr setup` and `planr doctor` use, so it cannot diverge from them.
16
- The retired remote plugins (`openplanr@openplanr`, `planr-pipeline@openplanr`)
17
- only ever appear in that list as removals; an instruction to install one did not
18
- come from the CLI.
11
+ command you run comes from the CLI's own output. The skill never carries its own
12
+ copy of those commands — the moment it did, it would drift from the CLI the first
13
+ time the integration changed. The upgraded CLI plans them with the same preview
14
+ `planr runtime update` and `planr setup` apply, so they cannot diverge. A retired
15
+ remote plugin (`openplanr@openplanr`, `planr-pipeline@openplanr`) only ever leaves
16
+ through the `planr setup … --replace-managed` command the list carries; an
17
+ instruction to install one did not come from the CLI.
19
18
 
20
19
  ## 1. Decide whether to act
21
20
 
@@ -36,7 +35,8 @@ Shape (the fields this skill reads):
36
35
  "pipeline": { "version": "0.52.1" }
37
36
  },
38
37
  "legacyPlugins": [],
39
- "ecosystemSource": "network"
38
+ "ecosystemSource": "network",
39
+ "nextSteps": []
40
40
  }
41
41
  ```
42
42
 
@@ -44,71 +44,69 @@ Shape (the fields this skill reads):
44
44
  means Claude Code was not detected or `planr setup` has not installed the
45
45
  plugin. `installed.pipeline` is always `null` — the pipeline ships inside the
46
46
  CLI, and `bundledPipeline` reports it.
47
- - `aligned` or `unknown` → nothing to drive. Report and stop. (`unknown` means
48
- the published manifest was unreachable — say so; do not guess.)
47
+ - `nextSteps` lists what each coding agent needs to match the installed CLI,
48
+ in the shape step 2 describes.
49
+ - `aligned` or `unknown` with empty `nextSteps` → nothing to drive. Report and
50
+ stop. (`unknown` means the published manifest was unreachable — say so; do not
51
+ guess.)
49
52
  - `upgrade-available` or `incompatible` → act. First **record the `installed`
50
- block as the before state** — the honest diff at the end depends on it.
53
+ block as the before state** — the honest diff at the end depends on it. When
54
+ only `nextSteps` is non-empty, skip to step 3.
51
55
 
52
- ## 2. Perform the owned half and obtain the prescription
56
+ ## 2. Upgrade the CLI and obtain the next steps
53
57
 
54
- The plugin commands are rendered by the CLI from the bundled marketplace's own
55
- operation list, so they always match what `planr setup` would really run. Confirm
56
- with the user first (this upgrades the npm CLI), then:
58
+ Confirm with the user first (this upgrades the npm CLI), then:
57
59
 
58
60
  ```bash
59
61
  planr upgrade apply --yes --json
60
62
  ```
61
63
 
62
- On success the output carries the ordered `pluginHalfCommands` array:
64
+ On success the output carries `nextSteps`, planned by the newly installed CLI:
63
65
 
64
66
  ```json
65
67
  {
66
68
  "ok": true,
67
69
  "cliUpgraded": true,
70
+ "previousVersion": "2.2638.0",
68
71
  "installedVersion": "2.2639.1",
69
- "changelogBullets": ["…"],
70
- "pluginHalfCommands": [
71
- "<refresh the bundled openplanr-local marketplace — always position 0>",
72
- "<update planr@openplanr-local from it>",
73
- "<remove a retired plugin — only when one is still installed>"
72
+ "releaseNotes": [{ "version": "2.2639.1", "entries": ["…"] }],
73
+ "nextSteps": [
74
+ {
75
+ "runtime": "claude-code",
76
+ "host": "Claude Code",
77
+ "command": "<one planr command>",
78
+ "detail": "<what it changes>"
79
+ }
74
80
  ]
75
81
  }
76
82
  ```
77
83
 
78
- The entries above are shown as roles, not literal strings, on purpose: **execute
79
- whatever the array actually contains, in the order it gives — never a list typed
80
- into this file.** Two other shapes are possible:
81
-
82
- - An empty array: Claude Code was not detected, or its plugin state could not be
83
- inspected (`claude plugin list --json` failed). Run `planr doctor --json` to
84
- find out which, then go to step 4. When `planr@openplanr-local` already matches
85
- the new CLI the array is not empty: it holds the lone
86
- `claude plugin marketplace update openplanr-local` refresh — run it as usual.
87
- - A single `planr setup --runtime claude --scope user` entry, with
88
- `--replace-managed` appended when a retired plugin must also be removed (setup
89
- refuses that removal without the flag): the bundled marketplace was never
90
- registered on this machine, and setup is the only command that registers it and
91
- records the installation. In a non-interactive shell it stops with
92
- `E_CONFIRMATION_REQUIRED`; show the user the preview (the same command with
93
- `--dry-run`) and rerun it with `--yes` only after they confirm.
84
+ The `command` values above are shown as placeholders on purpose: **run whatever
85
+ the array actually contains, in the order it gives — never a command typed into
86
+ this file.** Other shapes:
87
+
88
+ - An empty array: every installed coding agent already matches the new CLI.
89
+ - `nextStepsError` instead of steps: the upgraded CLI could not be asked. Run
90
+ `planr upgrade status --json` and use its `nextSteps`.
91
+ - A `planr doctor` command: planning that agent's update failed, and `detail`
92
+ says why. Relay it and run `planr doctor --json`.
93
+
94
+ `pluginHalfCommands` repeats the commands for older readers; read `nextSteps`.
94
95
 
95
96
  If `apply` reports `ok: false`, stop and surface its `failure.message`; the CLI
96
97
  restores the previous version on a bad install, so report what it says was
97
- restored rather than continuing to the plugin half.
98
+ restored rather than continuing to the coding agents.
98
99
 
99
- ## 3. Execute the plugin half, refresh first
100
+ ## 3. Run the next steps
100
101
 
101
- Run each entry of `pluginHalfCommands` verbatim, top to bottom, with your shell
102
- tool. Two invariants:
102
+ Run each `command` of `nextSteps` verbatim, top to bottom, with your shell tool.
103
+ Each one refreshes the bundled `openplanr-local` marketplace before it updates the
104
+ plugin, so **do not reorder, drop, merge, or hand-edit a command**. If one fails,
105
+ stop and report the failure and every agent still on the old version — a partial
106
+ upgrade that reports success is the one outcome to avoid.
103
107
 
104
- - **Refresh is position 0 and runs first.** The first entry refreshes the
105
- `openplanr-local` marketplace, which points at the directory the upgraded CLI
106
- now bundles. Without it, the installer reinstalls the cached, stale version and
107
- the user is told they upgraded when nothing moved. The CLI sorts it to position
108
- 0 for exactly this reason; preserve that order.
109
- - **No substitutions.** Do not reorder, drop, merge, or hand-edit a command. If
110
- an entry fails, stop and report the failure and everything still on the stale
111
- version — a partial upgrade that reports success is the one outcome to avoid.
108
+ Then tell the user to restart each `host` the steps named; a running coding agent
109
+ keeps the old plugin and skills until it restarts.
112
110
 
113
111
  ## 4. Verify, then report what actually changed
114
112
 
@@ -125,14 +123,14 @@ CLI 2.2638.0 → 2.2639.1 moved
125
123
  planr@openplanr-local 2.2638.0 → 2.2639.1 moved
126
124
  ```
127
125
 
128
- `planr doctor` adds what `upgrade status` does not judge. A
129
- `runtime-claude-duplicate-plugin` warning means a second `planr` plugin (usually
130
- `planr@openplanr`, installed from the public marketplace) sits beside the
131
- setup-managed one, and both expose the same `/planr` commands. Its `fix` carries
132
- the exact `claude plugin uninstall` command: relay it, and run it only when the
133
- user asks — nothing removes a duplicate automatically.
126
+ `nextSteps` should now be empty. `planr doctor` adds what `upgrade status` does
127
+ not judge. A `runtime-claude-duplicate-plugin` warning means a second `planr`
128
+ plugin (usually `planr@openplanr`, installed from the public marketplace) sits
129
+ beside the setup-managed one, and both expose the same `/planr` commands. Its `fix`
130
+ carries the exact `claude plugin uninstall` command: relay it, and run it only
131
+ when the user asks — nothing removes a duplicate automatically.
134
132
 
135
133
  State the outcome from this second reading, never from the commands you ran. If
136
134
  a component did not move, say so plainly and name the likely cause (most often a
137
- skipped or failed marketplace refresh). "Upgraded" is a claim about the after
138
- state — earn it with the re-check.
135
+ command that failed or a coding agent that was not restarted). "Upgraded" is a
136
+ claim about the after state — earn it with the re-check.
@@ -436,7 +436,7 @@ var textEncoder = new TextEncoder();
436
436
  var SHA256_RE = /^[a-f0-9]{64}$/;
437
437
  var ID_RE = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
438
438
  var MAX_ARTIFACTS = 256;
439
- var MAX_ARTIFACT_HTML_BYTES = 10 * 1024 * 1024;
439
+ var MAX_ARTIFACT_HTML_BYTES = 100 * 1024 * 1024;
440
440
  var MAX_PINS = 1e4;
441
441
  var MAX_REPLIES = 1e4;
442
442
  var MAX_PASTE_BYTES = 5 * 1024 * 1024;
@@ -1389,7 +1389,7 @@ function bundleLocalDocument({
1389
1389
  source,
1390
1390
  sharedStyles = [],
1391
1391
  screenId,
1392
- maxBytes = 10 * 1024 * 1024,
1392
+ maxBytes = 100 * 1024 * 1024,
1393
1393
  readSource,
1394
1394
  passive = false
1395
1395
  }) {
@@ -71,7 +71,7 @@ var here = dirname(fileURLToPath(new URL("./runtime/packages/artifact/lib/artifa
71
71
  var STAGE_RUNTIME_PATH = join(here, "..", "..", "templates", "artifact-review-stage.js");
72
72
  var ARTIFACT_REVIEW_SERVER_VERSION = 1;
73
73
  var ARTIFACT_REVIEW_SERVER_KIND = "artifact-review";
74
- var ARTIFACT_REVIEW_MAX_CONTROL_BYTES = 64 * 1024 * 1024;
74
+ var ARTIFACT_REVIEW_MAX_CONTROL_BYTES = 256 * 1024 * 1024;
75
75
  var ARTIFACT_REVIEW_MAX_STATE_BYTES2 = ARTIFACT_REVIEW_MAX_STATE_BYTES;
76
76
  var SESSION_ID_BYTES = 16;
77
77
  var CONTROL_TOKEN_BYTES = 32;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openplanr/protocol",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  "files": [
9
9
  {
10
10
  "path": "manifest.json",
11
- "digest": "sha256:08082bbb6ea000660b447a36d25f6293882e29dab407b6fe389203b500caa889"
11
+ "digest": "sha256:af1b0d20bf5b236a58bd867d217b2fd31d788bd45a6b9ab251cedec0fbcd6cf8"
12
12
  },
13
13
  {
14
14
  "path": "rules/planr-artifact.mdc",
@@ -244,11 +244,11 @@
244
244
  },
245
245
  {
246
246
  "path": "rules/planr-design-loop/scripts/design-artifact-shell.mjs",
247
- "digest": "sha256:9245a86f8e3f20f6ec4c705d1364d2d6d3e639b34a7d41162769a0f490dd39df"
247
+ "digest": "sha256:2612a0ac85e121b9562e6239e3832be64933c89ea5b5739b18b58748d69ac791"
248
248
  },
249
249
  {
250
250
  "path": "rules/planr-design-loop/scripts/design-document.mjs",
251
- "digest": "sha256:7e15b9f9e9afd29be2a2558fad9e57b5df85e494a586180d5afe23015cdbcfb7"
251
+ "digest": "sha256:480906730eb79fe8fe0a9d5956f633493bf51cfa587ec600006ff2d58dea54af"
252
252
  },
253
253
  {
254
254
  "path": "rules/planr-design-loop/scripts/design-entities.mjs",
@@ -264,7 +264,7 @@
264
264
  },
265
265
  {
266
266
  "path": "rules/planr-design-loop/scripts/design-review-handoff.mjs",
267
- "digest": "sha256:1d04e0d821738f3934fb3fbd314b161fb557f4459cf2da2d1921c99d27d7d861"
267
+ "digest": "sha256:3e55cf8003b7f1645c5d9dded0ea206bf02cb6cf44f342815528e687768b0dbc"
268
268
  },
269
269
  {
270
270
  "path": "rules/planr-design-loop/scripts/design-sandbox-guards.mjs",
@@ -316,7 +316,7 @@
316
316
  },
317
317
  {
318
318
  "path": "rules/planr-design-loop/scripts/runtime/packages/protocol/package.json",
319
- "digest": "sha256:931a50e413656f4dcd95db2451b5fc63c985b13494b4b01b492d8292529f4fcb"
319
+ "digest": "sha256:bb969da90f0482f19b3afc21b4b35e4c00efff42c69ec61d9c5c07395e2bfd69"
320
320
  },
321
321
  {
322
322
  "path": "rules/planr-design-loop/scripts/runtime/packages/protocol/registries/artifact-theme.json",
@@ -452,11 +452,11 @@
452
452
  },
453
453
  {
454
454
  "path": "rules/planr-design-review/scripts/design-artifact-shell.mjs",
455
- "digest": "sha256:9245a86f8e3f20f6ec4c705d1364d2d6d3e639b34a7d41162769a0f490dd39df"
455
+ "digest": "sha256:2612a0ac85e121b9562e6239e3832be64933c89ea5b5739b18b58748d69ac791"
456
456
  },
457
457
  {
458
458
  "path": "rules/planr-design-review/scripts/design-document.mjs",
459
- "digest": "sha256:7e15b9f9e9afd29be2a2558fad9e57b5df85e494a586180d5afe23015cdbcfb7"
459
+ "digest": "sha256:480906730eb79fe8fe0a9d5956f633493bf51cfa587ec600006ff2d58dea54af"
460
460
  },
461
461
  {
462
462
  "path": "rules/planr-design-review/scripts/design-entities.mjs",
@@ -472,7 +472,7 @@
472
472
  },
473
473
  {
474
474
  "path": "rules/planr-design-review/scripts/design-review-handoff.mjs",
475
- "digest": "sha256:1d04e0d821738f3934fb3fbd314b161fb557f4459cf2da2d1921c99d27d7d861"
475
+ "digest": "sha256:3e55cf8003b7f1645c5d9dded0ea206bf02cb6cf44f342815528e687768b0dbc"
476
476
  },
477
477
  {
478
478
  "path": "rules/planr-design-review/scripts/design-sandbox-guards.mjs",
@@ -524,7 +524,7 @@
524
524
  },
525
525
  {
526
526
  "path": "rules/planr-design-review/scripts/runtime/packages/protocol/package.json",
527
- "digest": "sha256:931a50e413656f4dcd95db2451b5fc63c985b13494b4b01b492d8292529f4fcb"
527
+ "digest": "sha256:bb969da90f0482f19b3afc21b4b35e4c00efff42c69ec61d9c5c07395e2bfd69"
528
528
  },
529
529
  {
530
530
  "path": "rules/planr-design-review/scripts/runtime/packages/protocol/registries/artifact-theme.json",
@@ -660,11 +660,11 @@
660
660
  },
661
661
  {
662
662
  "path": "rules/planr-design/scripts/design-artifact-shell.mjs",
663
- "digest": "sha256:9245a86f8e3f20f6ec4c705d1364d2d6d3e639b34a7d41162769a0f490dd39df"
663
+ "digest": "sha256:2612a0ac85e121b9562e6239e3832be64933c89ea5b5739b18b58748d69ac791"
664
664
  },
665
665
  {
666
666
  "path": "rules/planr-design/scripts/design-document.mjs",
667
- "digest": "sha256:7e15b9f9e9afd29be2a2558fad9e57b5df85e494a586180d5afe23015cdbcfb7"
667
+ "digest": "sha256:480906730eb79fe8fe0a9d5956f633493bf51cfa587ec600006ff2d58dea54af"
668
668
  },
669
669
  {
670
670
  "path": "rules/planr-design/scripts/design-entities.mjs",
@@ -680,7 +680,7 @@
680
680
  },
681
681
  {
682
682
  "path": "rules/planr-design/scripts/design-review-handoff.mjs",
683
- "digest": "sha256:1d04e0d821738f3934fb3fbd314b161fb557f4459cf2da2d1921c99d27d7d861"
683
+ "digest": "sha256:3e55cf8003b7f1645c5d9dded0ea206bf02cb6cf44f342815528e687768b0dbc"
684
684
  },
685
685
  {
686
686
  "path": "rules/planr-design/scripts/design-sandbox-guards.mjs",
@@ -732,7 +732,7 @@
732
732
  },
733
733
  {
734
734
  "path": "rules/planr-design/scripts/runtime/packages/protocol/package.json",
735
- "digest": "sha256:931a50e413656f4dcd95db2451b5fc63c985b13494b4b01b492d8292529f4fcb"
735
+ "digest": "sha256:bb969da90f0482f19b3afc21b4b35e4c00efff42c69ec61d9c5c07395e2bfd69"
736
736
  },
737
737
  {
738
738
  "path": "rules/planr-design/scripts/runtime/packages/protocol/registries/artifact-theme.json",
@@ -836,7 +836,7 @@
836
836
  },
837
837
  {
838
838
  "path": "rules/planr-doctor/references/upgrade.md",
839
- "digest": "sha256:b105aadfa437d8f9beb9c6fb4167c9f3275d85d96b1125fdb8e80fa7da284387"
839
+ "digest": "sha256:415456942ec2c3f13a71ba9ea44e07533a7871acf072d677b59d410ab5704ad8"
840
840
  },
841
841
  {
842
842
  "path": "rules/planr-investigate.mdc",
@@ -900,11 +900,11 @@
900
900
  },
901
901
  {
902
902
  "path": "rules/planr-plan/scripts/design-artifact-shell.mjs",
903
- "digest": "sha256:9245a86f8e3f20f6ec4c705d1364d2d6d3e639b34a7d41162769a0f490dd39df"
903
+ "digest": "sha256:2612a0ac85e121b9562e6239e3832be64933c89ea5b5739b18b58748d69ac791"
904
904
  },
905
905
  {
906
906
  "path": "rules/planr-plan/scripts/design-document.mjs",
907
- "digest": "sha256:7e15b9f9e9afd29be2a2558fad9e57b5df85e494a586180d5afe23015cdbcfb7"
907
+ "digest": "sha256:480906730eb79fe8fe0a9d5956f633493bf51cfa587ec600006ff2d58dea54af"
908
908
  },
909
909
  {
910
910
  "path": "rules/planr-plan/scripts/design-entities.mjs",
@@ -920,7 +920,7 @@
920
920
  },
921
921
  {
922
922
  "path": "rules/planr-plan/scripts/design-review-handoff.mjs",
923
- "digest": "sha256:1d04e0d821738f3934fb3fbd314b161fb557f4459cf2da2d1921c99d27d7d861"
923
+ "digest": "sha256:3e55cf8003b7f1645c5d9dded0ea206bf02cb6cf44f342815528e687768b0dbc"
924
924
  },
925
925
  {
926
926
  "path": "rules/planr-plan/scripts/design-sandbox-guards.mjs",
@@ -976,7 +976,7 @@
976
976
  },
977
977
  {
978
978
  "path": "rules/planr-plan/scripts/runtime/packages/protocol/package.json",
979
- "digest": "sha256:931a50e413656f4dcd95db2451b5fc63c985b13494b4b01b492d8292529f4fcb"
979
+ "digest": "sha256:bb969da90f0482f19b3afc21b4b35e4c00efff42c69ec61d9c5c07395e2bfd69"
980
980
  },
981
981
  {
982
982
  "path": "rules/planr-plan/scripts/runtime/packages/protocol/registries/artifact-theme.json",
@@ -1139,5 +1139,5 @@
1139
1139
  "digest": "sha256:005397d703d8df70f346a789d15c665a44329449418b39e807bb0dff927153da"
1140
1140
  }
1141
1141
  ],
1142
- "contentDigest": "sha256:f02279180b2faec3fb1b804bce06def25aa967fb1b3339e37ee571818f24127f"
1142
+ "contentDigest": "sha256:8c04be716b9a8cffe2bfc101b825ddf9b5db76effc10cdb6d7dfcc31a0fbc5db"
1143
1143
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openplanr",
3
- "version": "2.2640.1",
3
+ "version": "2.2640.3",
4
4
  "ruleCount": 27,
5
5
  "rules": [
6
6
  "rules/planr-artifact.mdc",
@@ -436,7 +436,7 @@ var textEncoder = new TextEncoder();
436
436
  var SHA256_RE = /^[a-f0-9]{64}$/;
437
437
  var ID_RE = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
438
438
  var MAX_ARTIFACTS = 256;
439
- var MAX_ARTIFACT_HTML_BYTES = 10 * 1024 * 1024;
439
+ var MAX_ARTIFACT_HTML_BYTES = 100 * 1024 * 1024;
440
440
  var MAX_PINS = 1e4;
441
441
  var MAX_REPLIES = 1e4;
442
442
  var MAX_PASTE_BYTES = 5 * 1024 * 1024;
@@ -1389,7 +1389,7 @@ function bundleLocalDocument({
1389
1389
  source,
1390
1390
  sharedStyles = [],
1391
1391
  screenId,
1392
- maxBytes = 10 * 1024 * 1024,
1392
+ maxBytes = 100 * 1024 * 1024,
1393
1393
  readSource,
1394
1394
  passive = false
1395
1395
  }) {
@@ -71,7 +71,7 @@ var here = dirname(fileURLToPath(new URL("./runtime/packages/artifact/lib/artifa
71
71
  var STAGE_RUNTIME_PATH = join(here, "..", "..", "templates", "artifact-review-stage.js");
72
72
  var ARTIFACT_REVIEW_SERVER_VERSION = 1;
73
73
  var ARTIFACT_REVIEW_SERVER_KIND = "artifact-review";
74
- var ARTIFACT_REVIEW_MAX_CONTROL_BYTES = 64 * 1024 * 1024;
74
+ var ARTIFACT_REVIEW_MAX_CONTROL_BYTES = 256 * 1024 * 1024;
75
75
  var ARTIFACT_REVIEW_MAX_STATE_BYTES2 = ARTIFACT_REVIEW_MAX_STATE_BYTES;
76
76
  var SESSION_ID_BYTES = 16;
77
77
  var CONTROL_TOKEN_BYTES = 32;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openplanr/protocol",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
6
6
  "license": "MIT",
@@ -436,7 +436,7 @@ var textEncoder = new TextEncoder();
436
436
  var SHA256_RE = /^[a-f0-9]{64}$/;
437
437
  var ID_RE = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
438
438
  var MAX_ARTIFACTS = 256;
439
- var MAX_ARTIFACT_HTML_BYTES = 10 * 1024 * 1024;
439
+ var MAX_ARTIFACT_HTML_BYTES = 100 * 1024 * 1024;
440
440
  var MAX_PINS = 1e4;
441
441
  var MAX_REPLIES = 1e4;
442
442
  var MAX_PASTE_BYTES = 5 * 1024 * 1024;
@@ -1389,7 +1389,7 @@ function bundleLocalDocument({
1389
1389
  source,
1390
1390
  sharedStyles = [],
1391
1391
  screenId,
1392
- maxBytes = 10 * 1024 * 1024,
1392
+ maxBytes = 100 * 1024 * 1024,
1393
1393
  readSource,
1394
1394
  passive = false
1395
1395
  }) {
@@ -71,7 +71,7 @@ var here = dirname(fileURLToPath(new URL("./runtime/packages/artifact/lib/artifa
71
71
  var STAGE_RUNTIME_PATH = join(here, "..", "..", "templates", "artifact-review-stage.js");
72
72
  var ARTIFACT_REVIEW_SERVER_VERSION = 1;
73
73
  var ARTIFACT_REVIEW_SERVER_KIND = "artifact-review";
74
- var ARTIFACT_REVIEW_MAX_CONTROL_BYTES = 64 * 1024 * 1024;
74
+ var ARTIFACT_REVIEW_MAX_CONTROL_BYTES = 256 * 1024 * 1024;
75
75
  var ARTIFACT_REVIEW_MAX_STATE_BYTES2 = ARTIFACT_REVIEW_MAX_STATE_BYTES;
76
76
  var SESSION_ID_BYTES = 16;
77
77
  var CONTROL_TOKEN_BYTES = 32;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openplanr/protocol",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
6
6
  "license": "MIT",
@@ -436,7 +436,7 @@ var textEncoder = new TextEncoder();
436
436
  var SHA256_RE = /^[a-f0-9]{64}$/;
437
437
  var ID_RE = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
438
438
  var MAX_ARTIFACTS = 256;
439
- var MAX_ARTIFACT_HTML_BYTES = 10 * 1024 * 1024;
439
+ var MAX_ARTIFACT_HTML_BYTES = 100 * 1024 * 1024;
440
440
  var MAX_PINS = 1e4;
441
441
  var MAX_REPLIES = 1e4;
442
442
  var MAX_PASTE_BYTES = 5 * 1024 * 1024;
@@ -1389,7 +1389,7 @@ function bundleLocalDocument({
1389
1389
  source,
1390
1390
  sharedStyles = [],
1391
1391
  screenId,
1392
- maxBytes = 10 * 1024 * 1024,
1392
+ maxBytes = 100 * 1024 * 1024,
1393
1393
  readSource,
1394
1394
  passive = false
1395
1395
  }) {
@@ -71,7 +71,7 @@ var here = dirname(fileURLToPath(new URL("./runtime/packages/artifact/lib/artifa
71
71
  var STAGE_RUNTIME_PATH = join(here, "..", "..", "templates", "artifact-review-stage.js");
72
72
  var ARTIFACT_REVIEW_SERVER_VERSION = 1;
73
73
  var ARTIFACT_REVIEW_SERVER_KIND = "artifact-review";
74
- var ARTIFACT_REVIEW_MAX_CONTROL_BYTES = 64 * 1024 * 1024;
74
+ var ARTIFACT_REVIEW_MAX_CONTROL_BYTES = 256 * 1024 * 1024;
75
75
  var ARTIFACT_REVIEW_MAX_STATE_BYTES2 = ARTIFACT_REVIEW_MAX_STATE_BYTES;
76
76
  var SESSION_ID_BYTES = 16;
77
77
  var CONTROL_TOKEN_BYTES = 32;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openplanr/protocol",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
6
6
  "license": "MIT",