openplanr 2.2641.1 → 3.0.0

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 (315) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +1 -1
  3. package/dist/cli/commands/artifact.js +1 -1
  4. package/dist/cli/commands/artifact.js.map +1 -1
  5. package/dist/cli/commands/doctor.d.ts.map +1 -1
  6. package/dist/cli/commands/doctor.js +19 -4
  7. package/dist/cli/commands/doctor.js.map +1 -1
  8. package/dist/cli/commands/github.d.ts.map +1 -1
  9. package/dist/cli/commands/github.js +7 -10
  10. package/dist/cli/commands/github.js.map +1 -1
  11. package/dist/cli/commands/linear.js +1 -1
  12. package/dist/cli/commands/linear.js.map +1 -1
  13. package/dist/cli/commands/report.d.ts.map +1 -1
  14. package/dist/cli/commands/report.js +28 -32
  15. package/dist/cli/commands/report.js.map +1 -1
  16. package/dist/cli/commands/upgrade.d.ts.map +1 -1
  17. package/dist/cli/commands/upgrade.js +12 -10
  18. package/dist/cli/commands/upgrade.js.map +1 -1
  19. package/dist/cli/error-boundary.d.ts.map +1 -1
  20. package/dist/cli/error-boundary.js +2 -1
  21. package/dist/cli/error-boundary.js.map +1 -1
  22. package/dist/dashboard/.vite/manifest.json +1 -1
  23. package/dist/dashboard/assets/{index-DGyC7RDz.js → index-Csby7_ur.js} +2 -2
  24. package/dist/dashboard/assets/{index-DGyC7RDz.js.map → index-Csby7_ur.js.map} +1 -1
  25. package/dist/dashboard/dashboard-manifest.json +8 -8
  26. package/dist/dashboard/index.html +1 -1
  27. package/dist/models/schema.d.ts +0 -4
  28. package/dist/models/schema.d.ts.map +1 -1
  29. package/dist/models/schema.js +0 -2
  30. package/dist/models/schema.js.map +1 -1
  31. package/dist/models/types.d.ts +1 -4
  32. package/dist/models/types.d.ts.map +1 -1
  33. package/dist/services/credentials-service.js +1 -1
  34. package/dist/services/credentials-service.js.map +1 -1
  35. package/dist/services/distribution-service.d.ts +1 -4
  36. package/dist/services/distribution-service.d.ts.map +1 -1
  37. package/dist/services/distribution-service.js +1 -60
  38. package/dist/services/distribution-service.js.map +1 -1
  39. package/dist/services/github-service.d.ts +7 -4
  40. package/dist/services/github-service.d.ts.map +1 -1
  41. package/dist/services/github-service.js +16 -15
  42. package/dist/services/github-service.js.map +1 -1
  43. package/dist/services/linear-push-service.d.ts +3 -4
  44. package/dist/services/linear-push-service.d.ts.map +1 -1
  45. package/dist/services/linear-push-service.js +5 -6
  46. package/dist/services/linear-push-service.js.map +1 -1
  47. package/dist/services/runtime-change-summary.d.ts +4 -0
  48. package/dist/services/runtime-change-summary.d.ts.map +1 -1
  49. package/dist/services/runtime-change-summary.js +7 -0
  50. package/dist/services/runtime-change-summary.js.map +1 -1
  51. package/dist/services/runtime-manager/doctor.js +1 -1
  52. package/dist/services/runtime-manager/doctor.js.map +1 -1
  53. package/dist/services/runtime-manager/runtime-package.d.ts +15 -0
  54. package/dist/services/runtime-manager/runtime-package.d.ts.map +1 -1
  55. package/dist/services/runtime-manager/runtime-package.js +50 -10
  56. package/dist/services/runtime-manager/runtime-package.js.map +1 -1
  57. package/dist/services/runtime-manager-service.d.ts +11 -0
  58. package/dist/services/runtime-manager-service.d.ts.map +1 -1
  59. package/dist/services/runtime-manager-service.js +88 -16
  60. package/dist/services/runtime-manager-service.js.map +1 -1
  61. package/dist/services/spec-service.d.ts.map +1 -1
  62. package/dist/services/spec-service.js +34 -69
  63. package/dist/services/spec-service.js.map +1 -1
  64. package/dist/services/upgrade-report.d.ts +2 -2
  65. package/dist/services/upgrade-report.d.ts.map +1 -1
  66. package/dist/services/upgrade-report.js +11 -2
  67. package/dist/services/upgrade-report.js.map +1 -1
  68. package/dist/services/upgrade-service.d.ts +8 -2
  69. package/dist/services/upgrade-service.d.ts.map +1 -1
  70. package/dist/services/upgrade-service.js +44 -12
  71. package/dist/services/upgrade-service.js.map +1 -1
  72. package/dist/templates/rules/shared/capability-map.md.hbs +1 -1
  73. package/docs/CLI.md +14 -15
  74. package/docs/TROUBLESHOOTING.md +9 -6
  75. package/install.ps1 +3 -3
  76. package/install.sh +3 -3
  77. package/lib/host-packages/adapter-registry.json +5 -5
  78. package/lib/host-packages/capability-map.json +8 -8
  79. package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
  80. package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +2 -2
  81. package/lib/host-packages/claude/openplanr/.openplanr-content.json +91 -75
  82. package/lib/host-packages/claude/openplanr/README.md +8 -12
  83. package/lib/host-packages/claude/openplanr/agents/planr-backend.md +49 -55
  84. package/lib/host-packages/claude/openplanr/agents/planr-database.md +56 -92
  85. package/lib/host-packages/claude/openplanr/agents/planr-designer.md +35 -51
  86. package/lib/host-packages/claude/openplanr/agents/planr-devops.md +37 -51
  87. package/lib/host-packages/claude/openplanr/agents/planr-documentation.md +29 -52
  88. package/lib/host-packages/claude/openplanr/agents/planr-entity-scaffold.md +24 -23
  89. package/lib/host-packages/claude/openplanr/agents/planr-frontend.md +46 -58
  90. package/lib/host-packages/claude/openplanr/agents/planr-qa.md +4 -2
  91. package/lib/host-packages/claude/openplanr/agents/planr-specification.md +54 -51
  92. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/default/backend.md +21 -65
  93. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/default/designer.md +5 -6
  94. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/default/devops.md +2 -3
  95. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/default/doc-gen.md +3 -4
  96. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/default/frontend.md +19 -64
  97. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/default/specification.md +10 -12
  98. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/spec-driven/backend.md +19 -62
  99. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/spec-driven/designer.md +3 -4
  100. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/spec-driven/devops.md +2 -3
  101. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/spec-driven/doc-gen.md +2 -3
  102. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/spec-driven/frontend.md +16 -59
  103. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/spec-driven/specification.md +9 -11
  104. package/lib/host-packages/claude/openplanr/references/pipeline/stacks/database/mongodb.md +4 -4
  105. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +24 -9
  106. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share.mjs +3 -3
  107. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
  108. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -4
  109. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +14 -4
  110. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +1 -1
  111. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +14 -5
  112. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +28 -0
  113. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-studio-shell.js +105 -27
  114. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +6 -6
  115. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +2 -2
  116. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +1 -1
  117. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +2 -2
  118. package/lib/host-packages/claude/openplanr/skills/artifact/SKILL.md +2 -2
  119. package/lib/host-packages/claude/openplanr/skills/artifact/references/diagram-sharing.md +1 -1
  120. package/lib/host-packages/claude/openplanr/skills/ceo-review/SKILL.md +0 -1
  121. package/lib/host-packages/claude/openplanr/skills/ceo-review/references/operate-advisor-contract.md +25 -4
  122. package/lib/host-packages/claude/openplanr/skills/chair-review/SKILL.md +6 -2
  123. package/lib/host-packages/claude/openplanr/skills/challenger-review/SKILL.md +6 -2
  124. package/lib/host-packages/claude/openplanr/skills/cmo-review/SKILL.md +0 -1
  125. package/lib/host-packages/claude/openplanr/skills/cmo-review/references/operate-advisor-contract.md +25 -4
  126. package/lib/host-packages/claude/openplanr/skills/coo-review/SKILL.md +0 -1
  127. package/lib/host-packages/claude/openplanr/skills/coo-review/references/operate-advisor-contract.md +25 -4
  128. package/lib/host-packages/claude/openplanr/skills/cpo-review/SKILL.md +0 -1
  129. package/lib/host-packages/claude/openplanr/skills/cpo-review/references/operate-advisor-contract.md +25 -4
  130. package/lib/host-packages/claude/openplanr/skills/cto-review/SKILL.md +0 -1
  131. package/lib/host-packages/claude/openplanr/skills/cto-review/references/operate-advisor-contract.md +25 -4
  132. package/lib/host-packages/claude/openplanr/skills/delegate/SKILL.md +8 -1
  133. package/lib/host-packages/claude/openplanr/skills/delegate/references/capsule-contract.md +17 -2
  134. package/lib/host-packages/claude/openplanr/skills/delegate/references/operator-guide.md +7 -5
  135. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/adapters/claude.mjs +11 -4
  136. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/adapters/native.mjs +1 -1
  137. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/backend-diagnostics.mjs +14 -48
  138. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/context.mjs +84 -22
  139. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/credentials.mjs +167 -0
  140. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/presentation.mjs +3 -2
  141. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-contract.mjs +5 -7
  142. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-preparation.mjs +5 -3
  143. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-record.mjs +2 -3
  144. package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +1 -1
  145. package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +1 -1
  146. package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +1 -1
  147. package/lib/host-packages/claude/openplanr/skills/diagram/references/diagram-sharing.md +1 -1
  148. package/lib/host-packages/claude/openplanr/skills/doctor/SKILL.md +4 -1
  149. package/lib/host-packages/claude/openplanr/skills/doctor/references/upgrade.md +8 -0
  150. package/lib/host-packages/claude/openplanr/skills/operate/SKILL.md +5 -3
  151. package/lib/host-packages/claude/openplanr/skills/plan/SKILL.md +10 -4
  152. package/lib/host-packages/claude/openplanr/skills/sprint/SKILL.md +5 -4
  153. package/lib/host-packages/claude/openplanr/skills/sprint/references/tracker-connections.md +70 -0
  154. package/lib/host-packages/claude/openplanr/skills/status/SKILL.md +4 -3
  155. package/lib/host-packages/claude/openplanr/skills/status/references/tracker-connections.md +70 -0
  156. package/lib/host-packages/claude/openplanr/skills/sync/SKILL.md +11 -20
  157. package/lib/host-packages/claude/openplanr/skills/sync/references/tracker-connections.md +70 -0
  158. package/lib/host-packages/claude/openplanr/skills/sync/scripts/sync.mjs +2 -2
  159. package/lib/host-packages/cursor/openplanr/.openplanr-content.json +63 -47
  160. package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
  161. package/lib/host-packages/cursor/openplanr/rules/planr-artifact/references/diagram-sharing.md +1 -1
  162. package/lib/host-packages/cursor/openplanr/rules/planr-artifact.mdc +2 -2
  163. package/lib/host-packages/cursor/openplanr/rules/planr-ceo-review/references/operate-advisor-contract.md +25 -4
  164. package/lib/host-packages/cursor/openplanr/rules/planr-chair-review.mdc +6 -1
  165. package/lib/host-packages/cursor/openplanr/rules/planr-challenger-review.mdc +6 -1
  166. package/lib/host-packages/cursor/openplanr/rules/planr-cmo-review/references/operate-advisor-contract.md +25 -4
  167. package/lib/host-packages/cursor/openplanr/rules/planr-coo-review/references/operate-advisor-contract.md +25 -4
  168. package/lib/host-packages/cursor/openplanr/rules/planr-cpo-review/references/operate-advisor-contract.md +25 -4
  169. package/lib/host-packages/cursor/openplanr/rules/planr-cto-review/references/operate-advisor-contract.md +25 -4
  170. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/capsule-contract.md +17 -2
  171. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/operator-guide.md +7 -5
  172. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/adapters/claude.mjs +11 -4
  173. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/adapters/native.mjs +1 -1
  174. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/backend-diagnostics.mjs +14 -48
  175. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/context.mjs +84 -22
  176. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/credentials.mjs +167 -0
  177. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/presentation.mjs +3 -2
  178. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-contract.mjs +5 -7
  179. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-preparation.mjs +5 -3
  180. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-record.mjs +2 -3
  181. package/lib/host-packages/cursor/openplanr/rules/planr-delegate.mdc +8 -1
  182. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +1 -1
  183. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +1 -1
  184. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +1 -1
  185. package/lib/host-packages/cursor/openplanr/rules/planr-diagram/references/diagram-sharing.md +1 -1
  186. package/lib/host-packages/cursor/openplanr/rules/planr-doctor/references/upgrade.md +8 -0
  187. package/lib/host-packages/cursor/openplanr/rules/planr-doctor.mdc +4 -1
  188. package/lib/host-packages/cursor/openplanr/rules/planr-operate.mdc +5 -3
  189. package/lib/host-packages/cursor/openplanr/rules/planr-plan.mdc +10 -4
  190. package/lib/host-packages/cursor/openplanr/rules/planr-sprint/references/tracker-connections.md +70 -0
  191. package/lib/host-packages/cursor/openplanr/rules/planr-sprint.mdc +5 -4
  192. package/lib/host-packages/cursor/openplanr/rules/planr-status/references/tracker-connections.md +70 -0
  193. package/lib/host-packages/cursor/openplanr/rules/planr-status.mdc +4 -3
  194. package/lib/host-packages/cursor/openplanr/rules/planr-sync/references/tracker-connections.md +70 -0
  195. package/lib/host-packages/cursor/openplanr/rules/planr-sync/scripts/sync.mjs +2 -2
  196. package/lib/host-packages/cursor/openplanr/rules/planr-sync.mdc +11 -20
  197. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +24 -9
  198. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share.mjs +3 -3
  199. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
  200. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -4
  201. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +14 -4
  202. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +1 -1
  203. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +14 -5
  204. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +28 -0
  205. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-studio-shell.js +105 -27
  206. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +6 -6
  207. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +2 -2
  208. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +1 -1
  209. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +2 -2
  210. package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
  211. package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
  212. package/lib/host-packages/openai/openplanr/.openplanr-content.json +72 -56
  213. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +24 -9
  214. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share.mjs +3 -3
  215. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
  216. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -4
  217. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +14 -4
  218. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +1 -1
  219. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +14 -5
  220. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +28 -0
  221. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-studio-shell.js +105 -27
  222. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +6 -6
  223. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +2 -2
  224. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +1 -1
  225. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +2 -2
  226. package/lib/host-packages/openai/openplanr/skills/artifact/SKILL.md +2 -2
  227. package/lib/host-packages/openai/openplanr/skills/artifact/references/diagram-sharing.md +1 -1
  228. package/lib/host-packages/openai/openplanr/skills/ceo-review/SKILL.md +0 -1
  229. package/lib/host-packages/openai/openplanr/skills/ceo-review/references/operate-advisor-contract.md +25 -4
  230. package/lib/host-packages/openai/openplanr/skills/chair-review/SKILL.md +6 -2
  231. package/lib/host-packages/openai/openplanr/skills/challenger-review/SKILL.md +6 -2
  232. package/lib/host-packages/openai/openplanr/skills/cmo-review/SKILL.md +0 -1
  233. package/lib/host-packages/openai/openplanr/skills/cmo-review/references/operate-advisor-contract.md +25 -4
  234. package/lib/host-packages/openai/openplanr/skills/coo-review/SKILL.md +0 -1
  235. package/lib/host-packages/openai/openplanr/skills/coo-review/references/operate-advisor-contract.md +25 -4
  236. package/lib/host-packages/openai/openplanr/skills/cpo-review/SKILL.md +0 -1
  237. package/lib/host-packages/openai/openplanr/skills/cpo-review/references/operate-advisor-contract.md +25 -4
  238. package/lib/host-packages/openai/openplanr/skills/cto-review/SKILL.md +0 -1
  239. package/lib/host-packages/openai/openplanr/skills/cto-review/references/operate-advisor-contract.md +25 -4
  240. package/lib/host-packages/openai/openplanr/skills/delegate/SKILL.md +8 -1
  241. package/lib/host-packages/openai/openplanr/skills/delegate/openplanr.skill.json +11 -0
  242. package/lib/host-packages/openai/openplanr/skills/delegate/references/capsule-contract.md +17 -2
  243. package/lib/host-packages/openai/openplanr/skills/delegate/references/operator-guide.md +7 -5
  244. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/adapters/claude.mjs +11 -4
  245. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/adapters/native.mjs +1 -1
  246. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/backend-diagnostics.mjs +14 -48
  247. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/context.mjs +84 -22
  248. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/credentials.mjs +167 -0
  249. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/presentation.mjs +3 -2
  250. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-contract.mjs +5 -7
  251. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-preparation.mjs +5 -3
  252. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-record.mjs +2 -3
  253. package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +1 -1
  254. package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +1 -1
  255. package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +1 -1
  256. package/lib/host-packages/openai/openplanr/skills/diagram/references/diagram-sharing.md +1 -1
  257. package/lib/host-packages/openai/openplanr/skills/doctor/SKILL.md +4 -1
  258. package/lib/host-packages/openai/openplanr/skills/doctor/references/upgrade.md +8 -0
  259. package/lib/host-packages/openai/openplanr/skills/operate/SKILL.md +5 -3
  260. package/lib/host-packages/openai/openplanr/skills/plan/SKILL.md +10 -4
  261. package/lib/host-packages/openai/openplanr/skills/sprint/SKILL.md +5 -4
  262. package/lib/host-packages/openai/openplanr/skills/sprint/openplanr.skill.json +11 -0
  263. package/lib/host-packages/openai/openplanr/skills/sprint/references/tracker-connections.md +70 -0
  264. package/lib/host-packages/openai/openplanr/skills/status/SKILL.md +4 -3
  265. package/lib/host-packages/openai/openplanr/skills/status/openplanr.skill.json +11 -0
  266. package/lib/host-packages/openai/openplanr/skills/status/references/tracker-connections.md +70 -0
  267. package/lib/host-packages/openai/openplanr/skills/sync/SKILL.md +11 -20
  268. package/lib/host-packages/openai/openplanr/skills/sync/openplanr.skill.json +11 -0
  269. package/lib/host-packages/openai/openplanr/skills/sync/references/tracker-connections.md +70 -0
  270. package/lib/host-packages/openai/openplanr/skills/sync/scripts/sync.mjs +2 -2
  271. package/lib/integrations.mjs +2 -2
  272. package/lib/node-runtime.d.mts +1 -1
  273. package/lib/node-runtime.mjs +2 -7
  274. package/package.json +4 -5
  275. package/bin/planr.js +0 -7
  276. package/dist/services/connectors/adapters/business-metrics.d.ts +0 -5
  277. package/dist/services/connectors/adapters/business-metrics.d.ts.map +0 -1
  278. package/dist/services/connectors/adapters/business-metrics.js +0 -41
  279. package/dist/services/connectors/adapters/business-metrics.js.map +0 -1
  280. package/dist/services/connectors/adapters/deployment-health.d.ts +0 -18
  281. package/dist/services/connectors/adapters/deployment-health.d.ts.map +0 -1
  282. package/dist/services/connectors/adapters/deployment-health.js +0 -67
  283. package/dist/services/connectors/adapters/deployment-health.js.map +0 -1
  284. package/dist/services/connectors/adapters/github.d.ts +0 -5
  285. package/dist/services/connectors/adapters/github.d.ts.map +0 -1
  286. package/dist/services/connectors/adapters/github.js +0 -31
  287. package/dist/services/connectors/adapters/github.js.map +0 -1
  288. package/dist/services/connectors/adapters/linear-jira.d.ts +0 -5
  289. package/dist/services/connectors/adapters/linear-jira.d.ts.map +0 -1
  290. package/dist/services/connectors/adapters/linear-jira.js +0 -26
  291. package/dist/services/connectors/adapters/linear-jira.js.map +0 -1
  292. package/dist/services/connectors/adapters/posthog.d.ts +0 -5
  293. package/dist/services/connectors/adapters/posthog.d.ts.map +0 -1
  294. package/dist/services/connectors/adapters/posthog.js +0 -31
  295. package/dist/services/connectors/adapters/posthog.js.map +0 -1
  296. package/dist/services/connectors/adapters/sentry.d.ts +0 -5
  297. package/dist/services/connectors/adapters/sentry.d.ts.map +0 -1
  298. package/dist/services/connectors/adapters/sentry.js +0 -31
  299. package/dist/services/connectors/adapters/sentry.js.map +0 -1
  300. package/dist/services/connectors/checkpoint-custody.d.ts +0 -45
  301. package/dist/services/connectors/checkpoint-custody.d.ts.map +0 -1
  302. package/dist/services/connectors/checkpoint-custody.js +0 -499
  303. package/dist/services/connectors/checkpoint-custody.js.map +0 -1
  304. package/dist/services/connectors/connector-registry.d.ts +0 -144
  305. package/dist/services/connectors/connector-registry.d.ts.map +0 -1
  306. package/dist/services/connectors/connector-registry.js +0 -423
  307. package/dist/services/connectors/connector-registry.js.map +0 -1
  308. package/dist/services/connectors/connector-runtime.d.ts +0 -208
  309. package/dist/services/connectors/connector-runtime.d.ts.map +0 -1
  310. package/dist/services/connectors/connector-runtime.js +0 -1305
  311. package/dist/services/connectors/connector-runtime.js.map +0 -1
  312. package/dist/services/connectors/credential-custody.d.ts +0 -96
  313. package/dist/services/connectors/credential-custody.d.ts.map +0 -1
  314. package/dist/services/connectors/credential-custody.js +0 -390
  315. package/dist/services/connectors/credential-custody.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openplanr/design",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "Canonical OpenPlanr design helpers and design-loop engine",
@@ -43,11 +43,11 @@
43
43
  "LICENSE"
44
44
  ],
45
45
  "engines": {
46
- "node": ">=20.19.0"
46
+ "node": ">=22.13.0"
47
47
  },
48
48
  "dependencies": {
49
- "@openplanr/artifact": "0.6.4",
50
- "@openplanr/protocol": "0.10.2"
49
+ "@openplanr/artifact": "0.6.6",
50
+ "@openplanr/protocol": "0.11.0"
51
51
  },
52
52
  "scripts": {
53
53
  "test": "node --test --test-concurrency=2 tests/*.test.mjs",
@@ -267,8 +267,13 @@ html[data-design-theme="light"] .design-export > div { box-shadow:0 12px 30px #1
267
267
 
268
268
  /* A shared sizing contract keeps captions, tools and service status from
269
269
  overlapping. It belongs to the shell; iframe documents inherit none of it. */
270
- [data-design-studio] .design-stage-context { height:var(--design-stage-context-height); }
271
- [data-design-studio] .planr-shell:not([data-design-presentation="true"]) .planr-stage-scroll { inset-block-start:var(--design-stage-context-height); }
270
+ [data-design-studio] .design-stage-context { height:auto; min-height:var(--design-stage-context-height); flex-wrap:wrap; }
271
+ [data-design-studio] .design-stage-context > div:first-child { flex:1 1 220px; max-width:100%; }
272
+ [data-design-studio] .design-stage-context > .design-stage-actions { flex:0 1 auto; flex-wrap:wrap; max-width:100%; }
273
+ [data-design-studio] .design-frame-picker { min-width:0; max-width:100%; }
274
+ [data-design-studio] .design-frame-picker select { min-width:0; flex:1 1 auto; appearance:none; line-height:1.3; min-height:32px; padding-inline-end:26px; background-image:linear-gradient(45deg,transparent 50%,var(--planr-color-text) 50%),linear-gradient(135deg,var(--planr-color-text) 50%,transparent 50%); background-position:calc(100% - 12px) 50%,calc(100% - 8px) 50%; background-size:4px 4px; background-repeat:no-repeat; }
275
+ [data-design-studio] .design-guidance > summary { height:auto; min-height:30px; padding-block:4px; line-height:1.3; white-space:nowrap; }
276
+ [data-design-studio] .planr-shell:not([data-design-presentation="true"]) .planr-stage-scroll { inset-block-start:var(--design-stage-context-measured-height,var(--design-stage-context-height)); }
272
277
  [data-design-studio] .planr-shell[data-design-view="prototype"]:not([data-design-presentation="true"]) .planr-stage-scroll { bottom:calc(var(--design-tools-space) + var(--design-status-space)); }
273
278
  [data-design-studio] .planr-shell[data-design-view="walkthrough"]:not([data-design-presentation="true"]) .planr-stage-scroll { bottom:calc(var(--design-tools-space) + var(--design-caption-height) + var(--design-status-space)); }
274
279
  [data-design-studio] .design-walkthrough-caption { height:var(--design-caption-height); min-height:var(--design-caption-height); max-height:var(--design-caption-height); bottom:var(--design-status-space); }
@@ -286,14 +291,14 @@ html[data-design-theme="light"] .design-export > div { box-shadow:0 12px 30px #1
286
291
  font-size:var(--design-type-control); line-height:1.4; min-height:var(--design-touch-target);
287
292
  min-width:0; max-width:100%; border-radius:8px; padding:10px 12px; scroll-margin-block:16px;
288
293
  }
289
- :root[data-design-studio] body select { height:var(--design-touch-target); }
294
+ :root[data-design-studio] body select { height:auto; min-height:var(--design-touch-target); }
290
295
  :root[data-design-studio] body :is(button:not(.planr-pin):not(.design-minimap-close),.design-export > summary,.design-tools-menu > summary,.design-guidance > summary) {
291
296
  min-height:var(--design-touch-target); min-width:var(--design-touch-target); touch-action:manipulation;
292
297
  }
293
298
  :root[data-design-studio] body :is(.design-dialog-close,.design-nav-close,.planr-rail-close,.planr-composer-header button) {
294
299
  width:var(--design-touch-target); height:var(--design-touch-target); flex-basis:var(--design-touch-target);
295
300
  }
296
- :root[data-design-studio] .design-canvas-tools button { height:var(--design-touch-target); white-space:nowrap; }
301
+ :root[data-design-studio] .design-canvas-tools button { height:auto; min-height:var(--design-touch-target); white-space:nowrap; }
297
302
  :root[data-design-studio] :is(.design-dialog-content,.design-inspector,.planr-thread-comment,.planr-reply) { font-size:var(--design-type-body); }
298
303
  :root[data-design-studio] :is(.design-profile-form > label,.planr-annotation-composer label,.planr-identity label,.design-profile-form legend) { font-size:var(--design-type-label); }
299
304
  :root[data-design-studio] :is(.design-muted,.design-profile-form > .design-muted,.design-dialog-status) { font-size:var(--design-type-label); }
@@ -365,6 +370,11 @@ html[data-design-theme="light"] .design-export > div { box-shadow:0 12px 30px #1
365
370
  :root[data-design-studio] .planr-shell { height:var(--design-frozen-shell-height,100%); }
366
371
  :root[data-design-studio] .design-toolbar { grid-template-columns:auto minmax(0,1fr) auto; grid-template-rows:52px; padding:0 max(8px,env(safe-area-inset-right,0px)) 0 max(8px,env(safe-area-inset-left,0px)); }
367
372
  :root[data-design-studio] .design-toolbar .planr-brand { display:none; }
373
+ :root[data-design-studio] .planr-shell[data-studio-framework="react"] .design-toolbar[data-studio-layout="compact"] { grid-template-columns:auto minmax(0,1fr); }
374
+ :root[data-design-studio] .planr-shell[data-studio-framework="react"] .design-toolbar[data-studio-layout="compact"] .studio-toolbar-leading { grid-column:1; grid-row:1; width:auto; }
375
+ :root[data-design-studio] .planr-shell[data-studio-framework="react"] .design-toolbar[data-studio-layout="compact"] .studio-toolbar-trailing { grid-column:2; grid-row:1; width:auto; flex-wrap:nowrap; }
376
+ :root[data-design-studio] .planr-shell[data-studio-framework="react"] .design-toolbar[data-studio-layout="compact"] .studio-toolbar-center { grid-column:1 / -1; grid-row:2; }
377
+ :root[data-design-studio] .planr-shell[data-studio-framework="react"] .design-toolbar[data-studio-layout="compact"] .studio-toolbar-status { width:auto; flex-basis:auto; max-width:128px; }
368
378
  :root[data-design-studio] .design-toolbar-trailing { grid-column:3; }
369
379
  :root[data-design-studio] .design-view-picker { grid-column:2; grid-row:1; }
370
380
  :root[data-design-studio] .design-stage-context { flex-wrap:nowrap; padding:4px 12px; }
@@ -1,4 +1,4 @@
1
- /* Trusted local adapter. Owner credentials never enter this runtime. */
1
+ /* Trusted local adapter. Owner keys never enter this runtime. */
2
2
  (() => {
3
3
  'use strict';
4
4
  const options = globalThis.__OPENPLANR_DESIGN_STUDIO_OPTIONS__ || {};
@@ -506,6 +506,11 @@
506
506
  transform: translateX(-50%);
507
507
  display: flex;
508
508
  align-items: center;
509
+ flex-wrap: wrap;
510
+ justify-content: center;
511
+ width: max-content;
512
+ max-width: calc(100% - 32px);
513
+ box-sizing: border-box;
509
514
  gap: 2px;
510
515
  padding: 4px;
511
516
  border: 1px solid var(--planr-color-rule);
@@ -514,22 +519,26 @@
514
519
  box-shadow: 0 8px 28px #0006;
515
520
  }
516
521
  .design-canvas-tools button {
517
- height: 28px;
522
+ height: auto;
523
+ min-height: 28px;
518
524
  min-width: 28px;
519
- padding: 0 8px;
525
+ flex: none;
526
+ padding: 4px 8px;
520
527
  border: 0;
521
528
  border-radius: 4px;
522
529
  background: transparent;
523
530
  font-size: 11px;
531
+ line-height: 1.3;
532
+ white-space: nowrap;
524
533
  cursor: pointer;
525
534
  }
526
535
  .design-canvas-tools [data-design-zoom="reset"] {
527
- flex: 0 0 56px;
528
- width: 56px;
536
+ flex: 0 0 auto;
537
+ width: auto;
529
538
  min-width: 56px;
530
539
  font-variant-numeric: tabular-nums;
531
540
  }
532
- .design-interaction-picker { height:30px; padding:0; border:0; background:transparent; }
541
+ .design-interaction-picker { height:auto; min-height:30px; flex:none; padding:0; border:0; background:transparent; }
533
542
  .design-interaction-picker button { display:flex; align-items:center; gap:6px; }
534
543
  .design-interaction-picker .design-button-label { display:none; }
535
544
  .design-canvas-tools .design-interaction-picker button[aria-pressed="true"] { background:var(--planr-color-raised); color:var(--planr-color-primary); }
@@ -2307,6 +2307,33 @@ ${fence}`;
2307
2307
  );
2308
2308
  content.append(value, reason, save);
2309
2309
  }
2310
+ function installStageContextGeometry() {
2311
+ const context = q(".design-stage-context", root);
2312
+ if (!context) return;
2313
+ let frame = 0;
2314
+ const measure = () => {
2315
+ frame = 0;
2316
+ if (disposed) return;
2317
+ const height = Math.ceil(context.getBoundingClientRect().height);
2318
+ const value = `${height}px`;
2319
+ if (height && root.style.getPropertyValue("--design-stage-context-measured-height") !== value)
2320
+ root.style.setProperty("--design-stage-context-measured-height", value);
2321
+ };
2322
+ const schedule = () => {
2323
+ if (!frame && !disposed) frame = requestAnimationFrame(measure);
2324
+ };
2325
+ const observer = typeof ResizeObserver === "function" ? new ResizeObserver(schedule) : null;
2326
+ observer?.observe(context);
2327
+ on(window, "resize", schedule);
2328
+ on(root, "planr:design-render", schedule);
2329
+ void document.fonts?.ready.then(schedule);
2330
+ measure();
2331
+ destroyers.push(() => {
2332
+ observer?.disconnect();
2333
+ cancelAnimationFrame(frame);
2334
+ root.style.removeProperty("--design-stage-context-measured-height");
2335
+ });
2336
+ }
2310
2337
  function installCanvas() {
2311
2338
  const tools = q(".design-canvas-tools");
2312
2339
  const more = node("details", "", { class: "design-tools-menu" });
@@ -3494,6 +3521,7 @@ ${fence}`;
3494
3521
  installComposerCategory();
3495
3522
  installInspector();
3496
3523
  installCanvas();
3524
+ installStageContextGeometry();
3497
3525
  installThumbnails();
3498
3526
  installPersonalDrafts();
3499
3527
  about(true);
@@ -46,36 +46,114 @@
46
46
  actions,
47
47
  className = ""
48
48
  }) {
49
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(Tag, { className: `planr-toolbar studio-toolbar ${className}`, "data-studio-react-chrome": "true", children: [
50
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "studio-toolbar-leading design-toolbar-leading", children: [
51
- leading,
52
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "planr-brand", children: [
53
- brand && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
54
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(StudioMark, {}),
55
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "design-wordmark", children: [
56
- "Open",
57
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { children: "Planr" })
49
+ const toolbar = (0, import_react3.useRef)(null);
50
+ (0, import_react3.useLayoutEffect)(() => {
51
+ const element = toolbar.current;
52
+ const window2 = element?.ownerDocument.defaultView;
53
+ if (!element || !window2) return;
54
+ const center = element.querySelector(".studio-toolbar-center");
55
+ const trailing = element.querySelector(".studio-toolbar-trailing");
56
+ const leading2 = element.querySelector(".studio-toolbar-leading");
57
+ if (!center || !trailing || !leading2) return;
58
+ const measure = () => {
59
+ const width = element.getBoundingClientRect().width;
60
+ if (!width) return;
61
+ element.dataset.studioDensity = width <= 680 ? "narrow" : "regular";
62
+ const style = window2.getComputedStyle(element);
63
+ const available = width - parseFloat(style.paddingLeft) - parseFloat(style.paddingRight);
64
+ const gap = parseFloat(style.columnGap) || 0;
65
+ element.dataset.studioCenter = "true";
66
+ const centerWidth = center.scrollWidth;
67
+ element.dataset.studioCenter = String(centerWidth > 0);
68
+ const controlSelector = 'button,a,summary,input,select,output,[role="status"]';
69
+ const controls = [...trailing.querySelectorAll(controlSelector)].filter(
70
+ (control) => control.getClientRects().length && !control.closest('[role="menu"],.studio-tooltip,[role="dialog"]') && (!control.closest("details") || !!control.closest("summary")) && !control.parentElement?.closest(controlSelector)
71
+ );
72
+ const actionWidth = controls.reduce((total, control) => total + control.getBoundingClientRect().width, 0) + Math.max(0, controls.length - 1) * (parseFloat(window2.getComputedStyle(trailing).gap) || 8);
73
+ const leadingControl = leading2.firstElementChild;
74
+ const branding = [
75
+ ...leading2.querySelectorAll(".planr-mark,.design-wordmark")
76
+ ].filter((node) => node.getClientRects().length);
77
+ const brandingWidth = branding.reduce(
78
+ (total, node) => total + node.getBoundingClientRect().width + 8,
79
+ 0
80
+ );
81
+ const leadingFloor = 128 + brandingWidth + (leadingControl instanceof window2.HTMLElement && !leadingControl.classList.contains("planr-brand") ? leadingControl.getBoundingClientRect().width + 8 : 0);
82
+ const outerWidth = Math.max(leadingFloor, actionWidth);
83
+ element.dataset.studioLayout = centerWidth > 0 ? width <= 680 || centerWidth + outerWidth * 2 + gap * 2 > available ? "compact" : "inline" : leadingFloor + actionWidth + gap > available ? "compact" : "inline";
84
+ };
85
+ measure();
86
+ let frame = 0;
87
+ const scheduleMeasure = () => {
88
+ if (frame) return;
89
+ frame = window2.requestAnimationFrame(() => {
90
+ frame = 0;
91
+ measure();
92
+ });
93
+ };
94
+ const resize = typeof window2.ResizeObserver === "function" ? new window2.ResizeObserver(scheduleMeasure) : null;
95
+ for (const node of [element, center, trailing]) resize?.observe(node);
96
+ const mutations = new window2.MutationObserver(scheduleMeasure);
97
+ mutations.observe(element, {
98
+ subtree: true,
99
+ childList: true,
100
+ characterData: true,
101
+ attributes: true,
102
+ attributeFilter: ["hidden"]
103
+ });
104
+ window2.addEventListener("resize", scheduleMeasure);
105
+ let active = true;
106
+ void element.ownerDocument.fonts?.ready.then(() => {
107
+ if (active) scheduleMeasure();
108
+ });
109
+ return () => {
110
+ active = false;
111
+ resize?.disconnect();
112
+ mutations.disconnect();
113
+ window2.cancelAnimationFrame(frame);
114
+ window2.removeEventListener("resize", scheduleMeasure);
115
+ };
116
+ }, [Tag]);
117
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
118
+ Tag,
119
+ {
120
+ ref: (node) => {
121
+ toolbar.current = node;
122
+ },
123
+ className: `planr-toolbar studio-toolbar ${className}`,
124
+ "data-studio-react-chrome": "true",
125
+ children: [
126
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "studio-toolbar-leading design-toolbar-leading", children: [
127
+ leading,
128
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "planr-brand", children: [
129
+ brand && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
130
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(StudioMark, {}),
131
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "design-wordmark", children: [
132
+ "Open",
133
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { children: "Planr" })
134
+ ] })
135
+ ] }),
136
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "studio-identity", children: [
137
+ hierarchy.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("nav", { className: "studio-hierarchy", "aria-label": "Project path", children: hierarchy.map((item, index2) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { children: [
138
+ index2 > 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { "aria-hidden": "true", children: " / " }),
139
+ item.href ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("a", { href: item.href, children: item.label }) : item.label
140
+ ] }, item.href ?? item.label)) }),
141
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "planr-title-block", children: [
142
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(StudioBadge, { children: kind === "artifact" ? "Artifact" : kind === "diagram" ? "Diagram" : "Design" }),
143
+ titleNode ?? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("strong", { title, children: title })
144
+ ] }),
145
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "studio-subtitle", children: subtitle })
146
+ ] })
58
147
  ] })
59
148
  ] }),
60
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "studio-identity", children: [
61
- hierarchy.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("nav", { className: "studio-hierarchy", "aria-label": "Project path", children: hierarchy.map((item, index2) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { children: [
62
- index2 > 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { "aria-hidden": "true", children: " / " }),
63
- item.href ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("a", { href: item.href, children: item.label }) : item.label
64
- ] }, item.href ?? item.label)) }),
65
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "planr-title-block", children: [
66
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(StudioBadge, { children: kind === "artifact" ? "Artifact" : kind === "diagram" ? "Diagram" : "Design" }),
67
- titleNode ?? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("strong", { title, children: title })
68
- ] }),
69
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "studio-subtitle", children: subtitle })
149
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "studio-toolbar-center", children: viewPicker }),
150
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "studio-toolbar-trailing design-toolbar-trailing", children: [
151
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "studio-toolbar-status", children: status }),
152
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "studio-toolbar-actions", children: actions })
70
153
  ] })
71
- ] })
72
- ] }),
73
- viewPicker,
74
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "studio-toolbar-trailing design-toolbar-trailing", children: [
75
- status,
76
- actions
77
- ] })
78
- ] });
154
+ ]
155
+ }
156
+ );
79
157
  }
80
158
  function StudioMenu({
81
159
  label,
@@ -2,8 +2,8 @@
2
2
  "kind": "openplanr-runtime-asset-sources",
3
3
  "schemaVersion": "1.0.0",
4
4
  "asset": "studio.js",
5
- "bytes": 1136703,
6
- "sha256": "24745f5b2327275efa2cb904652c4451b16a6893d4284e375a3ce986d909f49e",
5
+ "bytes": 1142078,
6
+ "sha256": "b8688a3102c5028847fc9a1d4a257b096768de1db3b4bfd4656482d318013c71",
7
7
  "scopes": [
8
8
  {
9
9
  "id": "bundle",
@@ -143,8 +143,8 @@
143
143
  "packages/design/lib/design/ui/enhancements.mjs",
144
144
  "packages/design/lib/design/ui/handoff-center.mjs"
145
145
  ],
146
- "bytes": 151613,
147
- "sha256": "c40392e1328eb17f9d0a778d1f20e44118731d7c6a0a25f0aa731304a86994a0"
146
+ "bytes": 152776,
147
+ "sha256": "9e2ac3d6b99028c7335aacf548f9e04fdf709d15f889db3e35bbebc389631000"
148
148
  },
149
149
  {
150
150
  "path": "studio.js.sources/13-studio-shell.js",
@@ -238,8 +238,8 @@
238
238
  "packages/artifact/lib/artifact/ui/studio-shell-components.mjs",
239
239
  "packages/artifact/lib/artifact/ui/studio-shell-mount-impl.mjs"
240
240
  ],
241
- "bytes": 19068,
242
- "sha256": "a84049d6a41dd3f655e85a4a39e4874a4c7f6f2013ad9d8c192d22a7082bf407"
241
+ "bytes": 23280,
242
+ "sha256": "5306387b1f59d43e1cd0ed2c471b18b0b35d5cc8c573ffe5439ea9315494c01e"
243
243
  },
244
244
  {
245
245
  "path": "studio.js.sources/17-design-studio.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openplanr/protocol",
3
- "version": "0.10.2",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
6
6
  "license": "MIT",
@@ -132,7 +132,7 @@
132
132
  "test": "node --test ../../tests/protocol/*.test.mjs"
133
133
  },
134
134
  "engines": {
135
- "node": ">=20"
135
+ "node": ">=22.13.0"
136
136
  },
137
137
  "repository": {
138
138
  "type": "git",
@@ -2551,7 +2551,7 @@ ${current.document.id}`);
2551
2551
  const within = relative3(project, root);
2552
2552
  if ((!allowMissing || existsSync4(path)) && (within === "" || !within.startsWith(`..${process.platform === "win32" ? "\\" : "/"}`) && within !== ".." && !isAbsolute3(within)))
2553
2553
  throw new Error(
2554
- "Design owner credentials must be stored outside the project. Set PLANR_HOME to a private user-level directory."
2554
+ "Design owner keys must be stored outside the project. Set PLANR_HOME to a private user-level directory."
2555
2555
  );
2556
2556
  const legacyPath = !options.custodyRoot && !configuredPlanrHome(env) ? join7(realpathSync4(env.HOME || homedir3()), ".openplanr", "design-shares", `${key}.json`) : null;
2557
2557
  return { root, path, current, legacyPath };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openplanr/protocol",
3
- "version": "0.10.2",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "description": "Canonical OpenPlanr schemas, registries, typed errors, and portable contract validation",
6
6
  "license": "MIT",
@@ -132,7 +132,7 @@
132
132
  "test": "node --test ../../tests/protocol/*.test.mjs"
133
133
  },
134
134
  "engines": {
135
- "node": ">=20"
135
+ "node": ">=22.13.0"
136
136
  },
137
137
  "repository": {
138
138
  "type": "git",
@@ -30,7 +30,7 @@ relaunch the active coding agent from inside this skill.
30
30
  preserve existing guidance and never invent requirements. Render and inspect
31
31
  the updated context before sharing. For a design document this creates a permanent encrypted
32
32
  design review with a stable URL and a separately entered generated access
33
- token. Owner credentials save privately outside the project; copy the reviewer
33
+ token. Owner keys save privately outside the project; copy the reviewer
34
34
  token through the studio's Share dialog, never put it in a URL or ordinary
35
35
  command output. Publish an explicitly requested update with
36
36
  `openplanr artifact publish <design-document.json>`; synchronize reviewer feedback
@@ -67,7 +67,7 @@ separate permissions and storage from encrypted token shares.
67
67
 
68
68
  Lead with what was opened, shared, imported or exported and the confirmed revision
69
69
  or session. Link the actual review URL or exported file; never print capability
70
- tokens or private owner credentials. Distinguish successful service operations
70
+ tokens or private owner keys. Distinguish successful service operations
71
71
  from preparation and browser verification from validation alone. For partial or
72
72
  blocked work, name the remaining step and exact retry or recovery action, retaining
73
73
  the useful local result. Keep detailed diagnostics in their existing records;
@@ -13,7 +13,7 @@ review. Preview the exact diagram title, source revision, elements, connections,
13
13
  destination and retention before creating it. Use `--yes` only when the user has
14
14
  already authorized that publication. The stable URL and generated access token
15
15
  are separate; copy the token through the local studio's **Share diagram** dialog,
16
- never into a URL, prompt, ordinary output or repository file. Owner credentials
16
+ never into a URL, prompt, ordinary output or repository file. Owner keys
17
17
  are saved privately outside the project. The review remains available until the
18
18
  owner revokes or deletes it and works while the local studio is stopped.
19
19
 
@@ -2,7 +2,6 @@
2
2
  name: ceo-review
3
3
  description: "Produce a grounded strategy and finance review for an Operate cycle. Use when direction, runway, margin, investment, or cost of delay needs a CEO lens."
4
4
  license: MIT
5
- allowed-tools: "Read, Grep, Glob, Edit(./.planr/operate/**)"
6
5
  ---
7
6
 
8
7
  # OpenPlanr CEO Review
@@ -1,8 +1,8 @@
1
1
  # Shared Operate advisor contract
2
2
 
3
- This contract supplies the common context method and output shape for the five executive advisor
4
- skills. The invoking skill supplies the lens, review questions, useful sources, and decision
5
- standard. Follow both.
3
+ This contract supplies the common context method and output shape for the executive advisor
4
+ skills (CEO, CTO, CPO, CMO, and COO). The invoking skill supplies the lens, review questions,
5
+ useful sources, and decision standard. Follow both.
6
6
 
7
7
  ## Outcome
8
8
 
@@ -21,7 +21,28 @@ not the whole context boundary. Inspect relevant original repository and Git sou
21
21
  drawing conclusions. If an input is unavailable, report the exact problem and continue when the
22
22
  remaining context still supports a useful note.
23
23
 
24
- Write the review only to `<output-path>`.
24
+ Write the review only to `<output-path>`. Writes follow the host's normal permission rules; this
25
+ skill pre-approves nothing.
26
+
27
+ ### Running without `planr-operate`
28
+
29
+ When no `<output-path>` was supplied, this lens creates the cycle itself, in the layout
30
+ `planr-operate` uses, under the repository root:
31
+
32
+ ```text
33
+ .planr/operate/<YYYY-MM-DD>-<subject-slug>/
34
+ cycle.md the request wording, the effective scope, and a one-lens roster
35
+ brief.md compact orientation for this lens only, including what was searched for and not found
36
+ <lens>.md this note: ceo.md, cto.md, cpo.md, cmo.md, or coo.md
37
+ board-report.md an unsynthesized lens summary
38
+ ```
39
+
40
+ Take the subject, window, and requested decision from the request. Use the first unused directory
41
+ name; append `-02`, `-03`, and so on when the base name exists. In `board-report.md`, use the
42
+ `planr-operate` report sections, mark this lens `reported` and every other lens `omitted by scope`
43
+ under Review coverage, and write `No decision-ready proposal was established.` and
44
+ `No proposed actions.` unless this note states a directly supported proposal. Write nothing outside
45
+ that cycle directory. The dashboard lists a cycle only when `board-report.md` exists.
25
46
 
26
47
  ## Grounding
27
48
 
@@ -2,7 +2,6 @@
2
2
  name: chair-review
3
3
  description: "Synthesize an Operate cycle into a prioritized decision queue and action plan. Use after specialist reviews when leadership needs one coherent brief."
4
4
  license: MIT
5
- allowed-tools: "Read, Grep, Glob, Edit(./.planr/operate/**)"
6
5
  ---
7
6
 
8
7
  # OpenPlanr Chair Review
@@ -18,7 +17,12 @@ and its decision impact; continue when the remaining notes still support useful
18
17
  selected roster from the scope or brief and label an intentionally unselected lens `omitted by
19
18
  scope`; do not turn that omission into an issue or decision-changing gap.
20
19
 
21
- Write only `<output-path>`.
20
+ Write only `<output-path>`. Writes follow the host's normal permission rules; this skill
21
+ pre-approves nothing.
22
+
23
+ Invoked without `<cycle-dir>`, offer the most recent cycle under `.planr/operate/` that holds
24
+ advisor notes and use its `chair.md` as the output path. When there is none, say so and point to
25
+ `planr-operate`; never create an empty cycle.
22
26
 
23
27
  ## Synthesis standard
24
28
 
@@ -2,7 +2,6 @@
2
2
  name: challenger-review
3
3
  description: "Challenge an Operate cycle's claims, alternatives, downside, and confidence. Use when assumptions or executive consensus need an independent stress test."
4
4
  license: MIT
5
- allowed-tools: "Read, Grep, Glob, Edit(./.planr/operate/**)"
6
5
  ---
7
6
 
8
7
  # OpenPlanr Challenger Review
@@ -18,7 +17,12 @@ Use `<cycle-dir>`, `<brief-path>`, `<output-path>`, and `<scope>`. Inspect the a
18
17
  is `omitted by scope`, not unavailable, and creates no gap by itself. If a selected advisor note is
19
18
  unavailable, record the decision impact rather than reconstructing that lens.
20
19
 
21
- Write only `<output-path>`.
20
+ Write only `<output-path>`. Writes follow the host's normal permission rules; this skill
21
+ pre-approves nothing.
22
+
23
+ Invoked without `<cycle-dir>`, offer the most recent cycle under `.planr/operate/` that holds
24
+ advisor notes and use its `challenger.md` as the output path. When there is none, say so and point
25
+ to `planr-operate`; never create an empty cycle.
22
26
 
23
27
  ## Material exceptions
24
28
 
@@ -2,7 +2,6 @@
2
2
  name: cmo-review
3
3
  description: "Produce a grounded market and growth review for an Operate cycle. Use when acquisition, positioning, demand, retention, or missing measurement needs a CMO lens."
4
4
  license: MIT
5
- allowed-tools: "Read, Grep, Glob, Edit(./.planr/operate/**)"
6
5
  ---
7
6
 
8
7
  # OpenPlanr CMO Review
@@ -1,8 +1,8 @@
1
1
  # Shared Operate advisor contract
2
2
 
3
- This contract supplies the common context method and output shape for the five executive advisor
4
- skills. The invoking skill supplies the lens, review questions, useful sources, and decision
5
- standard. Follow both.
3
+ This contract supplies the common context method and output shape for the executive advisor
4
+ skills (CEO, CTO, CPO, CMO, and COO). The invoking skill supplies the lens, review questions,
5
+ useful sources, and decision standard. Follow both.
6
6
 
7
7
  ## Outcome
8
8
 
@@ -21,7 +21,28 @@ not the whole context boundary. Inspect relevant original repository and Git sou
21
21
  drawing conclusions. If an input is unavailable, report the exact problem and continue when the
22
22
  remaining context still supports a useful note.
23
23
 
24
- Write the review only to `<output-path>`.
24
+ Write the review only to `<output-path>`. Writes follow the host's normal permission rules; this
25
+ skill pre-approves nothing.
26
+
27
+ ### Running without `planr-operate`
28
+
29
+ When no `<output-path>` was supplied, this lens creates the cycle itself, in the layout
30
+ `planr-operate` uses, under the repository root:
31
+
32
+ ```text
33
+ .planr/operate/<YYYY-MM-DD>-<subject-slug>/
34
+ cycle.md the request wording, the effective scope, and a one-lens roster
35
+ brief.md compact orientation for this lens only, including what was searched for and not found
36
+ <lens>.md this note: ceo.md, cto.md, cpo.md, cmo.md, or coo.md
37
+ board-report.md an unsynthesized lens summary
38
+ ```
39
+
40
+ Take the subject, window, and requested decision from the request. Use the first unused directory
41
+ name; append `-02`, `-03`, and so on when the base name exists. In `board-report.md`, use the
42
+ `planr-operate` report sections, mark this lens `reported` and every other lens `omitted by scope`
43
+ under Review coverage, and write `No decision-ready proposal was established.` and
44
+ `No proposed actions.` unless this note states a directly supported proposal. Write nothing outside
45
+ that cycle directory. The dashboard lists a cycle only when `board-report.md` exists.
25
46
 
26
47
  ## Grounding
27
48
 
@@ -2,7 +2,6 @@
2
2
  name: coo-review
3
3
  description: "Produce a grounded operations and customer-health review for an Operate cycle. Use when readiness, service delivery, capacity, or customer health needs a COO lens."
4
4
  license: MIT
5
- allowed-tools: "Read, Grep, Glob, Edit(./.planr/operate/**)"
6
5
  ---
7
6
 
8
7
  # OpenPlanr COO Review
@@ -1,8 +1,8 @@
1
1
  # Shared Operate advisor contract
2
2
 
3
- This contract supplies the common context method and output shape for the five executive advisor
4
- skills. The invoking skill supplies the lens, review questions, useful sources, and decision
5
- standard. Follow both.
3
+ This contract supplies the common context method and output shape for the executive advisor
4
+ skills (CEO, CTO, CPO, CMO, and COO). The invoking skill supplies the lens, review questions,
5
+ useful sources, and decision standard. Follow both.
6
6
 
7
7
  ## Outcome
8
8
 
@@ -21,7 +21,28 @@ not the whole context boundary. Inspect relevant original repository and Git sou
21
21
  drawing conclusions. If an input is unavailable, report the exact problem and continue when the
22
22
  remaining context still supports a useful note.
23
23
 
24
- Write the review only to `<output-path>`.
24
+ Write the review only to `<output-path>`. Writes follow the host's normal permission rules; this
25
+ skill pre-approves nothing.
26
+
27
+ ### Running without `planr-operate`
28
+
29
+ When no `<output-path>` was supplied, this lens creates the cycle itself, in the layout
30
+ `planr-operate` uses, under the repository root:
31
+
32
+ ```text
33
+ .planr/operate/<YYYY-MM-DD>-<subject-slug>/
34
+ cycle.md the request wording, the effective scope, and a one-lens roster
35
+ brief.md compact orientation for this lens only, including what was searched for and not found
36
+ <lens>.md this note: ceo.md, cto.md, cpo.md, cmo.md, or coo.md
37
+ board-report.md an unsynthesized lens summary
38
+ ```
39
+
40
+ Take the subject, window, and requested decision from the request. Use the first unused directory
41
+ name; append `-02`, `-03`, and so on when the base name exists. In `board-report.md`, use the
42
+ `planr-operate` report sections, mark this lens `reported` and every other lens `omitted by scope`
43
+ under Review coverage, and write `No decision-ready proposal was established.` and
44
+ `No proposed actions.` unless this note states a directly supported proposal. Write nothing outside
45
+ that cycle directory. The dashboard lists a cycle only when `board-report.md` exists.
25
46
 
26
47
  ## Grounding
27
48
 
@@ -2,7 +2,6 @@
2
2
  name: cpo-review
3
3
  description: "Produce a grounded product and activation review for an Operate cycle. Use when customer value, activation, prioritization, or adoption needs a CPO lens."
4
4
  license: MIT
5
- allowed-tools: "Read, Grep, Glob, Edit(./.planr/operate/**)"
6
5
  ---
7
6
 
8
7
  # OpenPlanr CPO Review