openplanr 3.3.0 → 3.4.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.
- package/CHANGELOG.md +52 -0
- package/dist/cli/commands/artifact-design-share.d.ts +9 -0
- package/dist/cli/commands/artifact-design-share.d.ts.map +1 -0
- package/dist/cli/commands/artifact-design-share.js +200 -0
- package/dist/cli/commands/artifact-design-share.js.map +1 -0
- package/dist/cli/commands/artifact.d.ts.map +1 -1
- package/dist/cli/commands/artifact.js +5 -18
- package/dist/cli/commands/artifact.js.map +1 -1
- package/dist/cli/commands/ship.d.ts.map +1 -1
- package/dist/cli/commands/ship.js +2 -0
- package/dist/cli/commands/ship.js.map +1 -1
- package/dist/dashboard/.vite/manifest.json +2 -2
- package/dist/dashboard/assets/index-Cv4Vwhuw.css +2 -0
- package/dist/dashboard/assets/index-CvQAlBy3.js +75 -0
- package/dist/dashboard/assets/index-CvQAlBy3.js.map +1 -0
- package/dist/dashboard/dashboard-manifest.json +14 -14
- package/dist/dashboard/index.html +2 -2
- package/dist/services/design-artifact-service.d.ts +20 -1
- package/dist/services/design-artifact-service.d.ts.map +1 -1
- package/dist/services/design-artifact-service.js +137 -18
- package/dist/services/design-artifact-service.js.map +1 -1
- package/dist/services/ship-checks/contract.d.ts +3 -1
- package/dist/services/ship-checks/contract.d.ts.map +1 -1
- package/dist/services/ship-checks/contract.js +1 -1
- package/dist/services/ship-checks/contract.js.map +1 -1
- package/dist/services/ship-checks/discover.d.ts.map +1 -1
- package/dist/services/ship-checks/discover.js +2 -1
- package/dist/services/ship-checks/discover.js.map +1 -1
- package/dist/services/ship-checks/package-contents.d.ts +4 -0
- package/dist/services/ship-checks/package-contents.d.ts.map +1 -0
- package/dist/services/ship-checks/package-contents.js +91 -0
- package/dist/services/ship-checks/package-contents.js.map +1 -0
- package/dist/services/ship-checks/packages.d.ts +2 -0
- package/dist/services/ship-checks/packages.d.ts.map +1 -1
- package/dist/services/ship-checks/packages.js +4 -0
- package/dist/services/ship-checks/packages.js.map +1 -1
- package/dist/services/ship-checks/scope.js +2 -1
- package/dist/services/ship-checks/scope.js.map +1 -1
- package/dist/utils/splice-managed-block.js +1 -1
- package/dist/utils/splice-managed-block.js.map +1 -1
- package/docs/CLI.md +38 -1
- package/lib/host-packages/adapter-registry.json +5 -5
- package/lib/host-packages/capability-map.json +1 -1
- package/lib/host-packages/claude/.claude-plugin/marketplace.json +3 -3
- package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +6 -6
- package/lib/host-packages/claude/openplanr/.openplanr-content.json +67 -123
- package/lib/host-packages/claude/openplanr/README.md +12 -12
- package/lib/host-packages/claude/openplanr/references/agents/shared/modes/shared/task-context-resolution.md +4 -4
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-artifact-shell.mjs +2 -4
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-document.mjs +26 -26
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +850 -56
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review-state-store.mjs +45 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +65 -74
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +321 -0
- package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs → claude/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs} +762 -223
- package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs → claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-9f6918b0.mjs} +537 -5
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +137 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design.mjs +107 -37
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -27
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +138 -133
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +1 -5684
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +2568 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +10 -74
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +8 -2
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +545 -4781
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +219 -452
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
- package/lib/host-packages/claude/openplanr/skills/delegate/SKILL.md +2 -1
- package/lib/host-packages/claude/openplanr/skills/delegate/references/integration-review.md +26 -20
- package/lib/host-packages/claude/openplanr/skills/delegate/references/operator-guide.md +25 -1
- package/lib/host-packages/claude/openplanr/skills/delegate/references/run-handoff.md +2 -2
- package/lib/host-packages/claude/openplanr/skills/delegate/references/worktree-custody.md +17 -9
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/adapters/claude.mjs +15 -3
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/adapters/codex.mjs +38 -2
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/adapters/native.mjs +5 -0
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/custody.mjs +217 -10
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/handoff.mjs +1080 -0
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/integrate.mjs +96 -201
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/integration-files.mjs +3 -382
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/presentation.mjs +29 -12
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-contract.mjs +11 -0
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-execution.mjs +1 -1
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-lifecycle.mjs +14 -10
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-preparation.mjs +4 -0
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-record.mjs +2 -2
- package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +14 -8
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +14 -8
- package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +14 -8
- package/lib/host-packages/claude/openplanr/skills/investigate/SKILL.md +1 -0
- package/lib/host-packages/claude/openplanr/skills/investigate/references/fail-first.md +40 -0
- package/lib/host-packages/claude/openplanr/skills/ship/SKILL.md +22 -10
- package/lib/host-packages/claude/openplanr/skills/ship/references/fail-first.md +40 -0
- package/lib/host-packages/claude/openplanr/skills/ship/references/result-contract.md +7 -3
- package/lib/host-packages/cursor/openplanr/.openplanr-content.json +65 -121
- package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/integration-review.md +26 -20
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/operator-guide.md +25 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/run-handoff.md +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/worktree-custody.md +17 -9
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/adapters/claude.mjs +15 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/adapters/codex.mjs +38 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/adapters/native.mjs +5 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/custody.mjs +217 -10
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/handoff.mjs +1080 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/integrate.mjs +96 -201
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/integration-files.mjs +3 -382
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/presentation.mjs +29 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-contract.mjs +11 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-execution.mjs +1 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-lifecycle.mjs +14 -10
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-preparation.mjs +4 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-record.mjs +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate.mdc +2 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +14 -8
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +14 -8
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +14 -8
- package/lib/host-packages/cursor/openplanr/rules/planr-investigate/references/fail-first.md +40 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-investigate.mdc +1 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/fail-first.md +40 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/result-contract.md +7 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-ship.mdc +22 -10
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +2 -4
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-document.mjs +26 -26
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +850 -56
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review-state-store.mjs +45 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +65 -74
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +321 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/{design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs → design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs} +762 -223
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/{design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs → design-shared-artifact-support-protocol-contracts-9f6918b0.mjs} +537 -5
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +137 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design.mjs +107 -37
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -27
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +138 -133
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +1 -5684
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +2568 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +10 -74
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +8 -2
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +545 -4781
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +219 -452
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
- package/lib/host-packages/openai/.claude-plugin/marketplace.json +3 -3
- package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +2 -2
- package/lib/host-packages/openai/openplanr/.openplanr-content.json +68 -124
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +2 -4
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-document.mjs +26 -26
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +850 -56
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review-state-store.mjs +45 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +65 -74
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +321 -0
- package/lib/host-packages/{claude/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs → openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs} +762 -223
- package/lib/host-packages/{claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs → openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-9f6918b0.mjs} +537 -5
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +137 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design.mjs +107 -37
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -27
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +138 -133
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +1 -5684
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +2568 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +10 -74
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +8 -2
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +545 -4781
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +219 -452
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
- package/lib/host-packages/openai/openplanr/skills/delegate/SKILL.md +2 -1
- package/lib/host-packages/openai/openplanr/skills/delegate/openplanr.skill.json +1 -1
- package/lib/host-packages/openai/openplanr/skills/delegate/references/integration-review.md +26 -20
- package/lib/host-packages/openai/openplanr/skills/delegate/references/operator-guide.md +25 -1
- package/lib/host-packages/openai/openplanr/skills/delegate/references/run-handoff.md +2 -2
- package/lib/host-packages/openai/openplanr/skills/delegate/references/worktree-custody.md +17 -9
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/adapters/claude.mjs +15 -3
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/adapters/codex.mjs +38 -2
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/adapters/native.mjs +5 -0
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/custody.mjs +217 -10
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/handoff.mjs +1080 -0
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/integrate.mjs +96 -201
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/integration-files.mjs +3 -382
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/presentation.mjs +29 -12
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-contract.mjs +11 -0
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-execution.mjs +1 -1
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-lifecycle.mjs +14 -10
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-preparation.mjs +4 -0
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-record.mjs +2 -2
- package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +14 -8
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +14 -8
- package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +14 -8
- package/lib/host-packages/openai/openplanr/skills/investigate/SKILL.md +1 -0
- package/lib/host-packages/openai/openplanr/skills/investigate/openplanr.skill.json +12 -1
- package/lib/host-packages/openai/openplanr/skills/investigate/references/fail-first.md +40 -0
- package/lib/host-packages/openai/openplanr/skills/ship/SKILL.md +22 -10
- package/lib/host-packages/openai/openplanr/skills/ship/openplanr.skill.json +12 -1
- package/lib/host-packages/openai/openplanr/skills/ship/references/fail-first.md +40 -0
- package/lib/host-packages/openai/openplanr/skills/ship/references/result-contract.md +7 -3
- package/package.json +8 -8
- package/dist/dashboard/assets/index-BU5fzjyz.css +0 -1
- package/dist/dashboard/assets/index-B_96uzCl.js +0 -572
- package/dist/dashboard/assets/index-B_96uzCl.js.map +0 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +0 -555
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-compression.mjs +0 -4180
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +0 -647
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-owner-custody.mjs +0 -129
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-resource-pack.mjs +0 -698
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-support-25485dbf1cb2.mjs +0 -24
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share.mjs +0 -1993
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +0 -222
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs +0 -5907
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-upload-spool.mjs +0 -198
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +0 -4175
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +0 -65
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +0 -1755
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +0 -62
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +0 -2633
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-paste.schema.json +0 -49
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-workspace.schema.json +0 -108
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-create.schema.json +0 -170
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-event.schema.json +0 -97
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-revision.schema.json +0 -56
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/integration-transaction.mjs +0 -958
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/integration-transaction.mjs +0 -958
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +0 -555
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-compression.mjs +0 -4180
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +0 -647
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-owner-custody.mjs +0 -129
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-resource-pack.mjs +0 -698
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-support-25485dbf1cb2.mjs +0 -24
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share.mjs +0 -1993
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +0 -222
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs +0 -5907
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-upload-spool.mjs +0 -198
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +0 -4175
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +0 -65
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +0 -1755
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +0 -62
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +0 -2633
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-paste.schema.json +0 -49
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-workspace.schema.json +0 -108
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-create.schema.json +0 -170
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-event.schema.json +0 -97
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-revision.schema.json +0 -56
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +0 -555
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-compression.mjs +0 -4180
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +0 -647
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-owner-custody.mjs +0 -129
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-resource-pack.mjs +0 -698
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-support-25485dbf1cb2.mjs +0 -24
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share.mjs +0 -1993
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +0 -222
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs +0 -5907
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-upload-spool.mjs +0 -198
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +0 -4175
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +0 -65
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +0 -1755
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +0 -62
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +0 -2633
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-paste.schema.json +0 -49
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-workspace.schema.json +0 -108
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-create.schema.json +0 -170
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-event.schema.json +0 -97
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-revision.schema.json +0 -56
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/integration-transaction.mjs +0 -958
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Run the linked design helper from the skill entrypoint relative to the skill's
|
|
4
4
|
directory. It contains deterministic operations and all required assets. It needs
|
|
5
|
-
Node.js 22.13 or later, with no
|
|
6
|
-
|
|
5
|
+
Node.js 22.13 or later, with no provider credentials. Local design work needs no global
|
|
6
|
+
CLI. Sharing a design for company review runs in the `openplanr` CLI, which holds the
|
|
7
|
+
owner keys. Only `fonts fetch` downloads anything, and only when run; nothing is
|
|
8
|
+
fetched when a design opens.
|
|
7
9
|
Use `--help` to inspect the installed command interface before writing documents
|
|
8
10
|
or invoking operations; the installed contract is authoritative.
|
|
9
11
|
|
|
@@ -108,12 +110,16 @@ The design remains accessible when the local machine is offline. Owner authority
|
|
|
108
110
|
saves automatically in a protected user-level file outside the project; recovery
|
|
109
111
|
export is optional. Only copy the reviewer token through the explicit Share controls.
|
|
110
112
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
Sharing needs the OpenPlanr CLI (`npm install -g openplanr`). The bundled utility's
|
|
114
|
+
`share`, `publish`, `sync` and `manage` commands, the studio's Share dialog, and handoff
|
|
115
|
+
decisions on a shared design all run `openplanr artifact` for the network step, so the
|
|
116
|
+
helper itself reads no owner keys. `share` creates or retries a review, `publish` sends
|
|
117
|
+
an explicitly requested new revision to the existing URL, and `sync` retrieves
|
|
118
|
+
authenticated feedback. You can also run the CLI directly: `openplanr artifact share`,
|
|
119
|
+
`publish`, `sync`, `status`, `manage`, `feedback` and `handoff`. Without the CLI,
|
|
120
|
+
sharing commands stop with `E_DESIGN_SHARE_CLI_REQUIRED`, and feedback inspection
|
|
121
|
+
still works but reports that sync was skipped. A helper and CLI with different sharing
|
|
122
|
+
formats refuse with `E_DESIGN_SHARE_RUNTIME_MISMATCH`; update whichever is older.
|
|
117
123
|
|
|
118
124
|
Retention is until the owner revokes or deletes the review, while the service is
|
|
119
125
|
maintained. The owner can pause comments and rotate access tokens. Rotation blocks
|
package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Run the linked design helper from the skill entrypoint relative to the skill's
|
|
4
4
|
directory. It contains deterministic operations and all required assets. It needs
|
|
5
|
-
Node.js 22.13 or later, with no
|
|
6
|
-
|
|
5
|
+
Node.js 22.13 or later, with no provider credentials. Local design work needs no global
|
|
6
|
+
CLI. Sharing a design for company review runs in the `openplanr` CLI, which holds the
|
|
7
|
+
owner keys. Only `fonts fetch` downloads anything, and only when run; nothing is
|
|
8
|
+
fetched when a design opens.
|
|
7
9
|
Use `--help` to inspect the installed command interface before writing documents
|
|
8
10
|
or invoking operations; the installed contract is authoritative.
|
|
9
11
|
|
|
@@ -108,12 +110,16 @@ The design remains accessible when the local machine is offline. Owner authority
|
|
|
108
110
|
saves automatically in a protected user-level file outside the project; recovery
|
|
109
111
|
export is optional. Only copy the reviewer token through the explicit Share controls.
|
|
110
112
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
Sharing needs the OpenPlanr CLI (`npm install -g openplanr`). The bundled utility's
|
|
114
|
+
`share`, `publish`, `sync` and `manage` commands, the studio's Share dialog, and handoff
|
|
115
|
+
decisions on a shared design all run `openplanr artifact` for the network step, so the
|
|
116
|
+
helper itself reads no owner keys. `share` creates or retries a review, `publish` sends
|
|
117
|
+
an explicitly requested new revision to the existing URL, and `sync` retrieves
|
|
118
|
+
authenticated feedback. You can also run the CLI directly: `openplanr artifact share`,
|
|
119
|
+
`publish`, `sync`, `status`, `manage`, `feedback` and `handoff`. Without the CLI,
|
|
120
|
+
sharing commands stop with `E_DESIGN_SHARE_CLI_REQUIRED`, and feedback inspection
|
|
121
|
+
still works but reports that sync was skipped. A helper and CLI with different sharing
|
|
122
|
+
formats refuse with `E_DESIGN_SHARE_RUNTIME_MISMATCH`; update whichever is older.
|
|
117
123
|
|
|
118
124
|
Retention is until the owner revokes or deletes the review, while the service is
|
|
119
125
|
maintained. The owner can pause comments and rotate access tokens. Rotation blocks
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Fail-first
|
|
2
|
+
|
|
3
|
+
A check proves an acceptance criterion only if it fails without the change.
|
|
4
|
+
|
|
5
|
+
## Applies to
|
|
6
|
+
|
|
7
|
+
A check mapped to an acceptance ID, or a test written for this task. For
|
|
8
|
+
Investigate, the regression test for the fix.
|
|
9
|
+
|
|
10
|
+
## Fail-first
|
|
11
|
+
|
|
12
|
+
- Write or run the check before the implementation. It counts only when the
|
|
13
|
+
runner reports at least one failed assertion or test.
|
|
14
|
+
- A load error does not count: a missing module, a syntax or compile error, "no
|
|
15
|
+
tests found", or a collection error. Report it as "fails only on load".
|
|
16
|
+
- If the runner output is unclear, say so instead of guessing.
|
|
17
|
+
- A test written after the code is `not-run` for fail-first. Never revert the
|
|
18
|
+
implementation to prove it.
|
|
19
|
+
|
|
20
|
+
A check that already passes before the change: report "passes before the change;
|
|
21
|
+
proves nothing", then narrow or strengthen the check yourself and record that in
|
|
22
|
+
`checks`.
|
|
23
|
+
|
|
24
|
+
## Seeded fault
|
|
25
|
+
|
|
26
|
+
Off by default. Offer it only when an acceptance check is new code or fail-first
|
|
27
|
+
failed only on load; the question's default is skip.
|
|
28
|
+
|
|
29
|
+
1. Record `git status --porcelain` and confirm nothing staged (`git diff --cached --quiet`).
|
|
30
|
+
2. Copy the target file outside the repository.
|
|
31
|
+
3. Make one small edit that breaks behaviour the criterion names.
|
|
32
|
+
4. Rebuild if the tests run built output.
|
|
33
|
+
5. Run the check. It must fail on an assertion.
|
|
34
|
+
6. Restore from the copy, and rebuild if step 4 did; never `git checkout`, which
|
|
35
|
+
also discards the uncommitted implementation.
|
|
36
|
+
7. Confirm `cmp` against the copy, an identical `--porcelain` output, and nothing staged.
|
|
37
|
+
|
|
38
|
+
A seed that survives goes in `checks` with a question whose default is "add a
|
|
39
|
+
test for it". Report all of this in the existing `checks` result text: no new
|
|
40
|
+
field, no new stop, no record file.
|
|
@@ -22,6 +22,7 @@ the requested outcome.
|
|
|
22
22
|
When the user asked for a fix, implement the smallest coherent correction within the requested
|
|
23
23
|
repository and run focused regression checks. Preserve unrelated work. Ask only when a missing
|
|
24
24
|
product decision or an irreversible external action genuinely blocks progress.
|
|
25
|
+
Prove the regression test with [fail-first](planr-investigate/references/fail-first.md).
|
|
25
26
|
|
|
26
27
|
## Findings outside the cause
|
|
27
28
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Fail-first
|
|
2
|
+
|
|
3
|
+
A check proves an acceptance criterion only if it fails without the change.
|
|
4
|
+
|
|
5
|
+
## Applies to
|
|
6
|
+
|
|
7
|
+
A check mapped to an acceptance ID, or a test written for this task. For
|
|
8
|
+
Investigate, the regression test for the fix.
|
|
9
|
+
|
|
10
|
+
## Fail-first
|
|
11
|
+
|
|
12
|
+
- Write or run the check before the implementation. It counts only when the
|
|
13
|
+
runner reports at least one failed assertion or test.
|
|
14
|
+
- A load error does not count: a missing module, a syntax or compile error, "no
|
|
15
|
+
tests found", or a collection error. Report it as "fails only on load".
|
|
16
|
+
- If the runner output is unclear, say so instead of guessing.
|
|
17
|
+
- A test written after the code is `not-run` for fail-first. Never revert the
|
|
18
|
+
implementation to prove it.
|
|
19
|
+
|
|
20
|
+
A check that already passes before the change: report "passes before the change;
|
|
21
|
+
proves nothing", then narrow or strengthen the check yourself and record that in
|
|
22
|
+
`checks`.
|
|
23
|
+
|
|
24
|
+
## Seeded fault
|
|
25
|
+
|
|
26
|
+
Off by default. Offer it only when an acceptance check is new code or fail-first
|
|
27
|
+
failed only on load; the question's default is skip.
|
|
28
|
+
|
|
29
|
+
1. Record `git status --porcelain` and confirm nothing staged (`git diff --cached --quiet`).
|
|
30
|
+
2. Copy the target file outside the repository.
|
|
31
|
+
3. Make one small edit that breaks behaviour the criterion names.
|
|
32
|
+
4. Rebuild if the tests run built output.
|
|
33
|
+
5. Run the check. It must fail on an assertion.
|
|
34
|
+
6. Restore from the copy, and rebuild if step 4 did; never `git checkout`, which
|
|
35
|
+
also discards the uncommitted implementation.
|
|
36
|
+
7. Confirm `cmp` against the copy, an identical `--porcelain` output, and nothing staged.
|
|
37
|
+
|
|
38
|
+
A seed that survives goes in `checks` with a question whose default is "add a
|
|
39
|
+
test for it". Report all of this in the existing `checks` result text: no new
|
|
40
|
+
field, no new stop, no record file.
|
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Return one concise human rendering backed by these five machine fields:
|
|
4
4
|
|
|
5
|
-
1. `outcome`: `completed`, `partial`,
|
|
5
|
+
1. `outcome`: `completed`, `partial`, `blocked`, or `awaiting-acceptance` (repository
|
|
6
|
+
work done; acceptance needs a run only the owner can do), plus the achieved result.
|
|
6
7
|
2. `task`: exact task identity and path, or `direct-request`.
|
|
7
|
-
3. `changed`: material files grouped by purpose
|
|
8
|
+
3. `changed`: material files grouped by purpose; files outside the task's Create
|
|
9
|
+
and Modify lists form their own group.
|
|
8
10
|
4. `checks`: each executed or applicable check with `passed`, `failed`, or
|
|
9
|
-
`not-run
|
|
11
|
+
`not-run`, a concise result, and the acceptance IDs it covers. The result says
|
|
12
|
+
what fail-first proved, for example `failed before the change on an assertion;
|
|
13
|
+
seed in src/x.ts caught`.
|
|
10
14
|
5. `issues`: `blockers` for this task, each with problem, impact, and next
|
|
11
15
|
action, and `findings` outside the task, shaped as `findings.md` describes;
|
|
12
16
|
use `none` when both are empty.
|
|
@@ -18,7 +18,8 @@ For a selector, locate exactly one task and read it completely. Then follow its
|
|
|
18
18
|
`storyId` and `specId` to the parent story, acceptance criteria, Gherkin file
|
|
19
19
|
when present, and specification. Also read repository instructions, ADRs,
|
|
20
20
|
planning rules, applicable stack guidance, relevant design/database context,
|
|
21
|
-
implementation code, tests, and interfaces produced by declared dependencies.
|
|
21
|
+
implementation code, tests, and interfaces produced by declared dependencies. Read any
|
|
22
|
+
`.planr/conventions/<area>.md`, indexed from AGENTS.md, for the areas this task touches.
|
|
22
23
|
|
|
23
24
|
Read [the design lineage contract](planr-ship/references/design-lineage.md). If the selected
|
|
24
25
|
planning root contains `design-lineage.json`, load only the selected task's mapped
|
|
@@ -61,8 +62,9 @@ QA retains verification tools, subject to role policy and session permissions.
|
|
|
61
62
|
|
|
62
63
|
Select the exact registered identity from the host's roster; Claude plugin
|
|
63
64
|
agents use names such as `planr:planr-backend` and `planr:planr-qa`. Give each worker
|
|
64
|
-
its outcome,
|
|
65
|
-
|
|
65
|
+
its outcome, the absolute task path with `MODE` and, in spec-driven mode, `SPEC_DIR`,
|
|
66
|
+
authoritative paths, relevant decisions, file ownership, verification requirements,
|
|
67
|
+
and concise return expectations. Parallel workers need disjoint
|
|
66
68
|
writes or an agreed interface. Explain the delegation's purpose briefly in
|
|
67
69
|
commentary. Host-native workers do not invoke the separate `planr-delegate` helper.
|
|
68
70
|
When the host lacks the native role, perform the work sequentially in this session
|
|
@@ -70,7 +72,8 @@ and disclose capability limitations; never claim an unavailable specialist ran.
|
|
|
70
72
|
|
|
71
73
|
Integrate the complete change, then verify behavior. `reviewRisks` and
|
|
72
74
|
`browserSurfaces` select useful checks; empty arrays are normal and neither field
|
|
73
|
-
is a workflow gate.
|
|
75
|
+
is a workflow gate. Re-run the cheap checks a worker reports as passed, and compare
|
|
76
|
+
its `changed` list with `git diff --name-only` plus untracked files; report any difference.
|
|
74
77
|
|
|
75
78
|
## Discover and run verification
|
|
76
79
|
|
|
@@ -85,9 +88,14 @@ Run `openplanr ship checks --json --task <task-path>` (omit `--task` for a direc
|
|
|
85
88
|
request; add `--tier story` or `--tier push` before pushing) and run its `checks`
|
|
86
89
|
from each `cwd`. The command never executes checks or writes files. When
|
|
87
90
|
`complete` is `false`, report its error diagnostics and treat the check set as
|
|
88
|
-
incomplete: a pass is not CI-equivalent.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
incomplete: a pass is not CI-equivalent. Act on warning diagnostics too; each names
|
|
92
|
+
the files or checks it affects. A diagnostic that a check could not run, such as
|
|
93
|
+
`TYPESCRIPT_UNAVAILABLE`, is not a pass: name that check in `checks` and verify its
|
|
94
|
+
concern yourself where you can (for a new test file, confirm some tsconfig includes
|
|
95
|
+
it). For a `package-contents` check, account for every `expectFiles` entry in the
|
|
96
|
+
tarball's `files`: packed or deliberately left out. Without
|
|
97
|
+
the CLI, the packaged read-only [verification discovery helper](planr-ship/scripts/discover-verification.mjs)
|
|
98
|
+
may list candidates. Resolve it relative to this `SKILL.md` and run
|
|
91
99
|
`node <helper> --project <repository-root> --task <task-path>`; omit `--task` for a
|
|
92
100
|
direct request. It never executes checks or writes files. If both are unavailable,
|
|
93
101
|
inspect those four sources directly. Missing commands are diagnostics, not a
|
|
@@ -97,6 +105,8 @@ Run the strongest applicable focused checks while working, then the relevant
|
|
|
97
105
|
regression checks. Run each check on its own or under `set -o pipefail`, and judge
|
|
98
106
|
it by its own exit code; to shorten output, write it to a log and read the tail.
|
|
99
107
|
Fix failures caused by the change and rerun affected checks.
|
|
108
|
+
For an acceptance check written or changed for this task, follow
|
|
109
|
+
[fail-first](planr-ship/references/fail-first.md) and report what it proved in that check's result.
|
|
100
110
|
Read [the result contract](planr-ship/references/result-contract.md) before reporting.
|
|
101
111
|
|
|
102
112
|
Report defects you notice outside the task as [findings](planr-ship/references/findings.md),
|
|
@@ -115,10 +125,12 @@ behavior, link material changes by purpose, and summarize actual verification.
|
|
|
115
125
|
Retain complete file inventories and command diagnostics in their existing
|
|
116
126
|
results instead of reproducing them in chat.
|
|
117
127
|
|
|
118
|
-
- **Outcome:** `completed`, `partial`,
|
|
128
|
+
- **Outcome:** `completed`, `partial`, `blocked`, or `awaiting-acceptance` (repository
|
|
129
|
+
work done; acceptance needs a run only the owner can do), followed by what now works.
|
|
119
130
|
- **Task:** task ID and path, or `direct-request`.
|
|
120
|
-
- **Changed:** material paths grouped by purpose.
|
|
121
|
-
- **Checks:** command, `passed`, `failed`, or `not-run`, plus a concise result
|
|
131
|
+
- **Changed:** material paths grouped by purpose, files outside Create and Modify apart.
|
|
132
|
+
- **Checks:** command, `passed`, `failed`, or `not-run`, plus a concise result and the
|
|
133
|
+
acceptance IDs it covers; list acceptance criteria no check covers.
|
|
122
134
|
- **Issues:** blockers with problem, impact, and next action, or `none`; then
|
|
123
135
|
findings outside the task, each with its disposition.
|
|
124
136
|
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
digestArtifactEnvelope
|
|
3
|
-
} from "./design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs";
|
|
4
|
-
import {
|
|
2
|
+
digestArtifactEnvelope,
|
|
5
3
|
validateJson
|
|
6
|
-
} from "./design-shared-protocol-contracts-
|
|
4
|
+
} from "./design-shared-artifact-support-protocol-contracts-9f6918b0.mjs";
|
|
7
5
|
|
|
8
6
|
// packages/artifact/lib/artifact/ui/shell.mjs
|
|
9
7
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DESIGN_DOCUMENT_SCHEMA,
|
|
3
|
+
assertDesignDocument,
|
|
4
|
+
bundleLocalDocument,
|
|
5
|
+
initialFrameHeight,
|
|
6
|
+
inspectLocalDocumentBody,
|
|
7
|
+
loadReviewContext,
|
|
8
|
+
parse,
|
|
9
|
+
parseFragment,
|
|
10
|
+
resolveLocalDocumentFile,
|
|
11
|
+
reviewDigest,
|
|
12
|
+
reviewFingerprints,
|
|
13
|
+
serialize,
|
|
14
|
+
validateDesignProps
|
|
15
|
+
} from "./design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs";
|
|
1
16
|
import {
|
|
2
17
|
AA_NORMAL,
|
|
3
18
|
contrastRatio,
|
|
@@ -6,6 +21,15 @@ import {
|
|
|
6
21
|
renderArtifactShellDocument,
|
|
7
22
|
renderPlanrMark
|
|
8
23
|
} from "./design-artifact-shell.mjs";
|
|
24
|
+
import {
|
|
25
|
+
ARTIFACT_ERROR_CODES,
|
|
26
|
+
ARTIFACT_MAX_SOURCES,
|
|
27
|
+
ARTIFACT_MAX_VIEWS,
|
|
28
|
+
PipelineError,
|
|
29
|
+
createSharedArtifactEnvelope,
|
|
30
|
+
digestArtifactEnvelope,
|
|
31
|
+
resolveArtifactHtml
|
|
32
|
+
} from "./design-shared-artifact-support-protocol-contracts-9f6918b0.mjs";
|
|
9
33
|
import {
|
|
10
34
|
ARTIFACT_FRAME_GUARD_TEMPLATE,
|
|
11
35
|
ARTIFACT_HOST_GUARD_TEMPLATE,
|
|
@@ -14,40 +38,16 @@ import {
|
|
|
14
38
|
import {
|
|
15
39
|
atomicBytes,
|
|
16
40
|
atomicJson,
|
|
17
|
-
bundleLocalDocument,
|
|
18
41
|
currentDesign,
|
|
19
42
|
designSpecPath,
|
|
20
43
|
hash,
|
|
21
|
-
inspectLocalDocumentBody,
|
|
22
44
|
json,
|
|
23
|
-
loadReviewContext,
|
|
24
|
-
parse,
|
|
25
|
-
parseFragment,
|
|
26
45
|
readJson,
|
|
27
|
-
recoverDesignPublication
|
|
28
|
-
|
|
29
|
-
reviewDigest,
|
|
30
|
-
reviewFingerprints,
|
|
31
|
-
serialize
|
|
32
|
-
} from "./design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs";
|
|
46
|
+
recoverDesignPublication
|
|
47
|
+
} from "./design-shared-design-support-0bac378d.mjs";
|
|
33
48
|
import {
|
|
34
49
|
acquireStartLock
|
|
35
50
|
} from "./design-loopback-server.mjs";
|
|
36
|
-
import {
|
|
37
|
-
ARTIFACT_ERROR_CODES,
|
|
38
|
-
ARTIFACT_MAX_SOURCES,
|
|
39
|
-
ARTIFACT_MAX_VIEWS,
|
|
40
|
-
PipelineError,
|
|
41
|
-
createSharedArtifactEnvelope,
|
|
42
|
-
digestArtifactEnvelope,
|
|
43
|
-
resolveArtifactHtml
|
|
44
|
-
} from "./design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs";
|
|
45
|
-
import {
|
|
46
|
-
DESIGN_DOCUMENT_SCHEMA,
|
|
47
|
-
assertDesignDocument,
|
|
48
|
-
initialFrameHeight,
|
|
49
|
-
validateDesignProps
|
|
50
|
-
} from "./design-shared-protocol-contracts-b5f28f94.mjs";
|
|
51
51
|
|
|
52
52
|
// packages/design/lib/design/frame-size.mjs
|
|
53
53
|
function designFrameLabel(frame) {
|