openplanr 3.3.0 → 3.5.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 +80 -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/design.d.ts +3 -0
- package/dist/cli/commands/design.d.ts.map +1 -0
- package/dist/cli/commands/design.js +137 -0
- package/dist/cli/commands/design.js.map +1 -0
- package/dist/cli/commands/groups/operations.d.ts.map +1 -1
- package/dist/cli/commands/groups/operations.js +2 -0
- package/dist/cli/commands/groups/operations.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-B-l_941W.js +75 -0
- package/dist/dashboard/assets/index-B-l_941W.js.map +1 -0
- package/dist/dashboard/assets/index-Cv4Vwhuw.css +2 -0
- package/dist/dashboard/dashboard-manifest.json +14 -14
- package/dist/dashboard/index.html +2 -2
- package/dist/services/design-artifact-service.d.ts +42 -1
- package/dist/services/design-artifact-service.d.ts.map +1 -1
- package/dist/services/design-artifact-service.js +198 -19
- package/dist/services/design-artifact-service.js.map +1 -1
- package/dist/services/runtime-manager/runtime-package.js +1 -1
- package/dist/services/runtime-manager/runtime-package.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 +67 -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 +57 -429
- package/lib/host-packages/claude/openplanr/README.md +16 -16
- package/lib/host-packages/claude/openplanr/references/agents/shared/modes/shared/task-context-resolution.md +4 -4
- package/lib/host-packages/claude/openplanr/skills/artifact/references/design-sharing.md +2 -2
- 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/SKILL.md +23 -12
- package/lib/host-packages/claude/openplanr/skills/design/references/design-system.md +2 -2
- package/lib/host-packages/claude/openplanr/skills/design/references/generation.md +3 -3
- package/lib/host-packages/claude/openplanr/skills/design/references/hosted-canvas.md +6 -3
- package/lib/host-packages/claude/openplanr/skills/design/references/review.md +6 -6
- package/lib/host-packages/claude/openplanr/skills/design/references/team-review.md +3 -4
- package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +78 -32
- package/lib/host-packages/claude/openplanr/skills/design-loop/SKILL.md +15 -7
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/design-system.md +2 -2
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/generation.md +3 -3
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/review.md +6 -6
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/team-review.md +3 -4
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +78 -32
- package/lib/host-packages/claude/openplanr/skills/design-review/SKILL.md +25 -5
- package/lib/host-packages/claude/openplanr/skills/design-review/references/design-system.md +2 -2
- package/lib/host-packages/claude/openplanr/skills/design-review/references/generation.md +3 -3
- package/lib/host-packages/claude/openplanr/skills/design-review/references/review.md +6 -6
- package/lib/host-packages/claude/openplanr/skills/design-review/references/team-review.md +3 -4
- package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +78 -32
- 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/plan/SKILL.md +7 -3
- 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 +55 -427
- package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-artifact/references/design-sharing.md +2 -2
- 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/design-system.md +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/generation.md +3 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/hosted-canvas.md +6 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/review.md +6 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/team-review.md +3 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +78 -32
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/design-system.md +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/generation.md +3 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/review.md +6 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/team-review.md +3 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +78 -32
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop.mdc +15 -7
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/design-system.md +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/generation.md +3 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/review.md +6 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/team-review.md +3 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +78 -32
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review.mdc +25 -5
- package/lib/host-packages/cursor/openplanr/rules/planr-design.mdc +23 -12
- 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-plan.mdc +7 -3
- 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/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 +62 -434
- package/lib/host-packages/openai/openplanr/skills/artifact/references/design-sharing.md +2 -2
- 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/SKILL.md +23 -12
- package/lib/host-packages/openai/openplanr/skills/design/openplanr.skill.json +0 -11
- package/lib/host-packages/openai/openplanr/skills/design/references/design-system.md +2 -2
- package/lib/host-packages/openai/openplanr/skills/design/references/generation.md +3 -3
- package/lib/host-packages/openai/openplanr/skills/design/references/hosted-canvas.md +6 -3
- package/lib/host-packages/openai/openplanr/skills/design/references/review.md +6 -6
- package/lib/host-packages/openai/openplanr/skills/design/references/team-review.md +3 -4
- package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +78 -32
- package/lib/host-packages/openai/openplanr/skills/design-loop/SKILL.md +15 -7
- package/lib/host-packages/openai/openplanr/skills/design-loop/openplanr.skill.json +0 -11
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/design-system.md +2 -2
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/generation.md +3 -3
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/review.md +6 -6
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/team-review.md +3 -4
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +78 -32
- package/lib/host-packages/openai/openplanr/skills/design-review/SKILL.md +25 -5
- package/lib/host-packages/openai/openplanr/skills/design-review/openplanr.skill.json +0 -11
- package/lib/host-packages/openai/openplanr/skills/design-review/references/design-system.md +2 -2
- package/lib/host-packages/openai/openplanr/skills/design-review/references/generation.md +3 -3
- package/lib/host-packages/openai/openplanr/skills/design-review/references/review.md +6 -6
- package/lib/host-packages/openai/openplanr/skills/design-review/references/team-review.md +3 -4
- package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +78 -32
- 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/plan/SKILL.md +7 -3
- package/lib/host-packages/openai/openplanr/skills/plan/openplanr.skill.json +0 -11
- 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-artifact-shell.mjs +0 -1774
- 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-document.mjs +0 -2937
- 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-entities.mjs +0 -439
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +0 -1576
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
- 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-parse5-parser.mjs +0 -3970
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
- 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-review.mjs +0 -3385
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -39
- 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-sandbox-guards.mjs +0 -1102
- 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-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +0 -1113
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +0 -505
- 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/design.mjs +0 -1430
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2050
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -809
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -5693
- 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/artifact/templates/artifact-review-stage.js.sources.json +0 -124
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -133
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -159
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
- 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.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
- 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/runtime/plan/scripts/design-protocol-contracts.mjs +0 -5468
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +0 -2844
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -159
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/integration-transaction.mjs +0 -958
- package/lib/host-packages/claude/openplanr/skills/design/scripts/design.mjs +0 -12
- package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/design.mjs +0 -12
- package/lib/host-packages/claude/openplanr/skills/design-review/scripts/design.mjs +0 -12
- package/lib/host-packages/claude/openplanr/skills/plan/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/integration-transaction.mjs +0 -958
- package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1774
- 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-document.mjs +0 -2937
- 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-entities.mjs +0 -439
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +0 -1576
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
- 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-parse5-parser.mjs +0 -3970
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
- 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-review.mjs +0 -3385
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -39
- 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-sandbox-guards.mjs +0 -1102
- 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-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +0 -1113
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +0 -505
- 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/design.mjs +0 -1430
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2050
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -809
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -5693
- 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/artifact/templates/artifact-review-stage.js.sources.json +0 -124
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -133
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -159
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
- 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.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
- 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/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -5468
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +0 -2844
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -159
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1774
- 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-document.mjs +0 -2937
- 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-entities.mjs +0 -439
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +0 -1576
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
- 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-parse5-parser.mjs +0 -3970
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
- 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-review.mjs +0 -3385
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -39
- 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-sandbox-guards.mjs +0 -1102
- 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-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +0 -1113
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +0 -505
- 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/design.mjs +0 -1430
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2050
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -809
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -5693
- 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/artifact/templates/artifact-review-stage.js.sources.json +0 -124
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -133
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -159
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
- 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.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
- 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/runtime/plan/scripts/design-protocol-contracts.mjs +0 -5468
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +0 -2844
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -159
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/integration-transaction.mjs +0 -958
- package/lib/host-packages/openai/openplanr/skills/design/scripts/design.mjs +0 -12
- package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/design.mjs +0 -12
- package/lib/host-packages/openai/openplanr/skills/design-review/scripts/design.mjs +0 -12
- package/lib/host-packages/openai/openplanr/skills/plan/scripts/design.mjs +0 -12
|
@@ -1,505 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LARGE_OBJECT_LIMITS,
|
|
3
|
-
validateJson
|
|
4
|
-
} from "./design-shared-protocol-contracts-b5f28f94.mjs";
|
|
5
|
-
|
|
6
|
-
// packages/protocol/src/errors.mjs
|
|
7
|
-
var ARTIFACT_ERROR_CODES = Object.freeze({
|
|
8
|
-
INPUT_INVALID: "E_ARTIFACT_INPUT_INVALID",
|
|
9
|
-
FILE_MISSING: "E_ARTIFACT_FILE_MISSING",
|
|
10
|
-
ROOT_MISSING: "E_ARTIFACT_ROOT_MISSING",
|
|
11
|
-
PATH_TRAVERSAL: "E_ARTIFACT_PATH_TRAVERSAL",
|
|
12
|
-
SYMLINK_ESCAPE: "E_ARTIFACT_SYMLINK_ESCAPE",
|
|
13
|
-
EXTERNAL_ASSET: "E_ARTIFACT_EXTERNAL_ASSET",
|
|
14
|
-
UNRESOLVED_ASSET: "E_ARTIFACT_UNRESOLVED_ASSET",
|
|
15
|
-
UNSUPPORTED_MODULE: "E_ARTIFACT_UNSUPPORTED_MODULE",
|
|
16
|
-
UNSAFE_HTML: "E_ARTIFACT_UNSAFE_HTML",
|
|
17
|
-
FILE_LIMIT: "E_ARTIFACT_FILE_LIMIT",
|
|
18
|
-
BYTE_LIMIT: "E_ARTIFACT_BYTE_LIMIT",
|
|
19
|
-
OUTPUT_LIMIT: "E_ARTIFACT_OUTPUT_LIMIT",
|
|
20
|
-
REDACTION: "E_ARTIFACT_REDACTION",
|
|
21
|
-
ENVELOPE_INVALID: "E_ARTIFACT_ENVELOPE_INVALID",
|
|
22
|
-
SCHEMA_UNSUPPORTED: "E_ARTIFACT_SCHEMA_UNSUPPORTED",
|
|
23
|
-
LOOPBACK_BIND: "E_ARTIFACT_LOOPBACK_BIND",
|
|
24
|
-
LOOPBACK_STATE: "E_ARTIFACT_LOOPBACK_STATE",
|
|
25
|
-
PORT_IN_USE: "E_ARTIFACT_PORT_IN_USE",
|
|
26
|
-
SESSION_TOKEN: "E_ARTIFACT_SESSION_TOKEN",
|
|
27
|
-
SESSION_NOT_FOUND: "E_ARTIFACT_SESSION_NOT_FOUND",
|
|
28
|
-
REQUEST_INVALID: "E_ARTIFACT_REQUEST_INVALID",
|
|
29
|
-
REQUEST_LIMIT: "E_ARTIFACT_REQUEST_LIMIT",
|
|
30
|
-
SANDBOX_POLICY: "E_ARTIFACT_SANDBOX_POLICY",
|
|
31
|
-
BRIDGE_INVALID: "E_ARTIFACT_BRIDGE_INVALID",
|
|
32
|
-
REVIEW_INVALID: "E_ARTIFACT_REVIEW_INVALID",
|
|
33
|
-
REVIEW_WRITE: "E_ARTIFACT_REVIEW_WRITE",
|
|
34
|
-
REVIEW_IMPORT: "E_ARTIFACT_REVIEW_IMPORT",
|
|
35
|
-
REVIEW_DECODER_REQUIRED: "E_ARTIFACT_REVIEW_DECODER_REQUIRED",
|
|
36
|
-
REVIEW_EXPORT: "E_ARTIFACT_REVIEW_EXPORT",
|
|
37
|
-
DIGEST_MISMATCH: "E_ARTIFACT_DIGEST_MISMATCH",
|
|
38
|
-
STALE_REVIEW: "E_ARTIFACT_STALE_REVIEW",
|
|
39
|
-
MERGE_CONFLICT: "E_ARTIFACT_MERGE_CONFLICT",
|
|
40
|
-
CODEC_INVALID: "E_ARTIFACT_CODEC_INVALID",
|
|
41
|
-
CODEC_UNAVAILABLE: "E_ARTIFACT_CODEC_UNAVAILABLE",
|
|
42
|
-
CODEC_FAILED: "E_ARTIFACT_CODEC_FAILED",
|
|
43
|
-
FRAGMENT_INVALID: "E_ARTIFACT_FRAGMENT_INVALID",
|
|
44
|
-
FRAGMENT_VERSION_UNSUPPORTED: "E_ARTIFACT_FRAGMENT_VERSION_UNSUPPORTED",
|
|
45
|
-
FRAGMENT_TOO_LARGE: "E_ARTIFACT_FRAGMENT_TOO_LARGE",
|
|
46
|
-
DECOMPRESSION_LIMIT: "E_ARTIFACT_DECOMPRESSION_LIMIT",
|
|
47
|
-
BROWSER_UNSUPPORTED: "E_ARTIFACT_BROWSER_UNSUPPORTED",
|
|
48
|
-
ENCRYPTION_FAILED: "E_ARTIFACT_ENCRYPTION_FAILED",
|
|
49
|
-
DECRYPTION_FAILED: "E_ARTIFACT_DECRYPTION_FAILED",
|
|
50
|
-
CONFIRMATION_REQUIRED: "E_ARTIFACT_CONFIRMATION_REQUIRED",
|
|
51
|
-
SHORT_CONFIRMATION_REQUIRED: "E_ARTIFACT_SHORT_CONFIRMATION_REQUIRED",
|
|
52
|
-
PASTE_INVALID: "E_ARTIFACT_PASTE_INVALID",
|
|
53
|
-
PASTE_UNAVAILABLE: "E_ARTIFACT_PASTE_UNAVAILABLE",
|
|
54
|
-
PASTE_EXPIRED: "E_ARTIFACT_PASTE_EXPIRED",
|
|
55
|
-
PASTE_LIMIT: "E_ARTIFACT_PASTE_LIMIT",
|
|
56
|
-
SHARE_NETWORK: "E_ARTIFACT_SHARE_NETWORK",
|
|
57
|
-
ROOM_CREATE_AMBIGUOUS: "E_ARTIFACT_ROOM_CREATE_AMBIGUOUS",
|
|
58
|
-
ROOM_INVALID: "E_ARTIFACT_ROOM_INVALID",
|
|
59
|
-
ROOM_UNAVAILABLE: "E_ARTIFACT_ROOM_UNAVAILABLE",
|
|
60
|
-
ROOM_EXPIRED: "E_ARTIFACT_ROOM_EXPIRED",
|
|
61
|
-
ROOM_CLOSED: "E_ARTIFACT_ROOM_CLOSED",
|
|
62
|
-
ROOM_LEGACY_READ_ONLY: "E_ARTIFACT_ROOM_LEGACY_READ_ONLY",
|
|
63
|
-
ROOM_FORBIDDEN: "E_ARTIFACT_ROOM_FORBIDDEN",
|
|
64
|
-
ROOM_EVENT_INVALID: "E_ARTIFACT_ROOM_EVENT_INVALID",
|
|
65
|
-
ROOM_EVENT_REPLAY: "E_ARTIFACT_ROOM_EVENT_REPLAY"
|
|
66
|
-
});
|
|
67
|
-
var PROTOCOL_ERROR_CODES = Object.freeze({
|
|
68
|
-
ASSET_NOT_FOUND: "E_PROTOCOL_ASSET_NOT_FOUND",
|
|
69
|
-
DIGEST_MISMATCH: "E_PROTOCOL_DIGEST_MISMATCH",
|
|
70
|
-
DOCUMENT_INVALID: "E_PROTOCOL_DOCUMENT_INVALID",
|
|
71
|
-
DOCUMENT_VERSION_UNSUPPORTED: "E_PROTOCOL_DOCUMENT_VERSION_UNSUPPORTED",
|
|
72
|
-
DUPLICATE_ID: "E_PROTOCOL_DUPLICATE_ID",
|
|
73
|
-
REFERENCE_INVALID: "E_PROTOCOL_REFERENCE_INVALID",
|
|
74
|
-
REGISTRY_INVALID: "E_PROTOCOL_REGISTRY_INVALID",
|
|
75
|
-
SCHEMA_INVALID: "E_PROTOCOL_SCHEMA_INVALID",
|
|
76
|
-
SCHEMA_UNKNOWN: "E_SCHEMA_UNKNOWN",
|
|
77
|
-
SCHEMA_VERSION_UNSUPPORTED: "E_SCHEMA_VERSION_UNSUPPORTED",
|
|
78
|
-
SORT_ORDER_INVALID: "E_PROTOCOL_SORT_ORDER_INVALID"
|
|
79
|
-
});
|
|
80
|
-
var PipelineError = class extends Error {
|
|
81
|
-
constructor(code, message, fix = "", details = void 0) {
|
|
82
|
-
super(message);
|
|
83
|
-
this.name = "PipelineError";
|
|
84
|
-
this.code = code;
|
|
85
|
-
this.fix = fix;
|
|
86
|
-
if (details !== void 0) this.details = details;
|
|
87
|
-
}
|
|
88
|
-
toJSON() {
|
|
89
|
-
return {
|
|
90
|
-
ok: false,
|
|
91
|
-
code: this.code,
|
|
92
|
-
problem: this.message,
|
|
93
|
-
...this.fix ? { fix: this.fix } : {},
|
|
94
|
-
...this.details === void 0 ? {} : { details: this.details }
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
// packages/artifact/lib/artifact/artifact-sources.mjs
|
|
100
|
-
var ARTIFACT_SHARED_ENVELOPE_VERSION = "1.1.0";
|
|
101
|
-
var ARTIFACT_MAX_SOURCES = 256;
|
|
102
|
-
var ARTIFACT_MAX_VIEWS = 4096;
|
|
103
|
-
function resolveArtifactHtml(envelope, artifactOrId) {
|
|
104
|
-
const id = typeof artifactOrId === "string" ? artifactOrId : artifactOrId?.id;
|
|
105
|
-
const artifact = envelope?.artifacts?.find((value) => value.id === id);
|
|
106
|
-
const source = envelope?.schemaVersion === ARTIFACT_SHARED_ENVELOPE_VERSION ? envelope.sources?.find((value) => value.id === artifact?.sourceId) : artifact;
|
|
107
|
-
if (!artifact || typeof source?.html !== "string" || source.sha256 !== artifact.sha256) {
|
|
108
|
-
throw new PipelineError(
|
|
109
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
110
|
-
"Artifact source is missing or does not match its viewport reference."
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
return source.html;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// packages/artifact/lib/artifact/envelope.mjs
|
|
117
|
-
import { createHash } from "node:crypto";
|
|
118
|
-
|
|
119
|
-
// packages/artifact/lib/artifact/internal/schema-loader.mjs
|
|
120
|
-
import { fileURLToPath as __planrAssetFile } from "node:url";
|
|
121
|
-
import { readFileSync } from "node:fs";
|
|
122
|
-
import { createRequire } from "node:module";
|
|
123
|
-
import { dirname, join } from "node:path";
|
|
124
|
-
var require2 = createRequire(new URL("./runtime/packages/artifact/lib/artifact/internal/schema-loader.mjs", import.meta.url).href);
|
|
125
|
-
var protocolPackageRoot = dirname(__planrAssetFile(new URL("./runtime/packages/protocol/package.json", import.meta.url)));
|
|
126
|
-
var SCHEMAS_ROOT = join(protocolPackageRoot, "schemas");
|
|
127
|
-
var DEFAULT_SCHEMA_VERSIONS = Object.freeze(["v1.0.0", "v1.1.0"]);
|
|
128
|
-
var schemaCache = /* @__PURE__ */ new Map();
|
|
129
|
-
function parseSchemaReference(name, version) {
|
|
130
|
-
if (typeof name !== "string" || !/^[a-z0-9-]+(?:\.schema\.json)?$/i.test(name)) {
|
|
131
|
-
throw new Error(`invalid schema name: ${String(name)}`);
|
|
132
|
-
}
|
|
133
|
-
const cleanName = name.replace(/\.schema\.json$/i, "");
|
|
134
|
-
if (version !== void 0 && !/^v\d+\.\d+\.\d+$/.test(version)) {
|
|
135
|
-
throw new Error(`invalid schema version: ${String(version)}`);
|
|
136
|
-
}
|
|
137
|
-
return { cleanName, versions: version ? [version] : DEFAULT_SCHEMA_VERSIONS };
|
|
138
|
-
}
|
|
139
|
-
function loadSchema(name, version = void 0) {
|
|
140
|
-
if (typeof name === "string" && name.includes("/")) {
|
|
141
|
-
const [qualifiedVersion, qualifiedName, ...rest] = name.split("/");
|
|
142
|
-
if (rest.length > 0 || version !== void 0)
|
|
143
|
-
throw new Error(`invalid schema reference: ${name}`);
|
|
144
|
-
return loadSchema(qualifiedName, qualifiedVersion);
|
|
145
|
-
}
|
|
146
|
-
const { cleanName, versions } = parseSchemaReference(name, version);
|
|
147
|
-
for (const candidateVersion of versions) {
|
|
148
|
-
const key = `${candidateVersion}/${cleanName}`;
|
|
149
|
-
if (schemaCache.has(key)) return schemaCache.get(key);
|
|
150
|
-
const path = join(SCHEMAS_ROOT, candidateVersion, `${cleanName}.schema.json`);
|
|
151
|
-
try {
|
|
152
|
-
const schema = JSON.parse(readFileSync(path, "utf-8"));
|
|
153
|
-
schemaCache.set(key, schema);
|
|
154
|
-
return schema;
|
|
155
|
-
} catch (error) {
|
|
156
|
-
if (error?.code !== "ENOENT") throw error;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
throw new Error(`unknown schema: ${cleanName}${version ? ` (${version})` : ""}`);
|
|
160
|
-
}
|
|
161
|
-
function validate(data, schemaName, version = void 0) {
|
|
162
|
-
return validateJson(data, loadSchema(schemaName, version));
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// packages/artifact/lib/artifact/envelope.mjs
|
|
166
|
-
var textEncoder = new TextEncoder();
|
|
167
|
-
var SHA256_RE = /^[a-f0-9]{64}$/;
|
|
168
|
-
var ID_RE = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
169
|
-
var MAX_ARTIFACTS = 256;
|
|
170
|
-
var MAX_ARTIFACT_HTML_BYTES = LARGE_OBJECT_LIMITS.uniqueHtmlBytes;
|
|
171
|
-
var MAX_PINS = 1e4;
|
|
172
|
-
var MAX_REPLIES = 1e4;
|
|
173
|
-
var MAX_PASTE_BYTES = 5 * 1024 * 1024;
|
|
174
|
-
var ARTIFACT_PRESENTATIONS = Object.freeze(["document", "canvas"]);
|
|
175
|
-
var ARTIFACT_DOCUMENT_MAX_HEIGHT = 262144;
|
|
176
|
-
function invalid(message, details = void 0) {
|
|
177
|
-
throw new PipelineError(ARTIFACT_ERROR_CODES.ENVELOPE_INVALID, message, "", details);
|
|
178
|
-
}
|
|
179
|
-
function assertBoundedString(value, label, { min = 0, max, pattern } = {}) {
|
|
180
|
-
if (typeof value !== "string" || value.length < min || max !== void 0 && value.length > max || pattern && !pattern.test(value)) {
|
|
181
|
-
invalid(`${label} is outside its allowed string bounds.`);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
function assertViewport(viewport, label, { maxHeight = 16384 } = {}) {
|
|
185
|
-
if (!viewport || !Number.isInteger(viewport.width) || !Number.isInteger(viewport.height) || viewport.width < 1 || viewport.width > 16384 || viewport.height < 1 || viewport.height > maxHeight) {
|
|
186
|
-
invalid(
|
|
187
|
-
`${label} must have an integer width from 1 through 16384 pixels and height from 1 through ${maxHeight} pixels.`
|
|
188
|
-
);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
function normalizeUtf8Text(value) {
|
|
192
|
-
if (typeof value !== "string") {
|
|
193
|
-
throw new PipelineError(ARTIFACT_ERROR_CODES.INPUT_INVALID, "Artifact HTML must be a string.");
|
|
194
|
-
}
|
|
195
|
-
return value.replace(/^\uFEFF/, "").replace(/\r\n?/g, "\n");
|
|
196
|
-
}
|
|
197
|
-
function canonicalArtifactBytes(html) {
|
|
198
|
-
return textEncoder.encode(normalizeUtf8Text(html));
|
|
199
|
-
}
|
|
200
|
-
function sha256Hex(bytes) {
|
|
201
|
-
return createHash("sha256").update(bytes).digest("hex");
|
|
202
|
-
}
|
|
203
|
-
function digestArtifact(html) {
|
|
204
|
-
return sha256Hex(canonicalArtifactBytes(html));
|
|
205
|
-
}
|
|
206
|
-
function canonicalObject(value) {
|
|
207
|
-
if (Array.isArray(value)) return value.map(canonicalObject);
|
|
208
|
-
if (!value || typeof value !== "object") return value;
|
|
209
|
-
return Object.fromEntries(
|
|
210
|
-
Object.keys(value).sort().map((key) => [key, canonicalObject(value[key])])
|
|
211
|
-
);
|
|
212
|
-
}
|
|
213
|
-
function canonicalSerialize(value) {
|
|
214
|
-
return JSON.stringify(canonicalObject(value));
|
|
215
|
-
}
|
|
216
|
-
function canonicalBytes(value) {
|
|
217
|
-
return textEncoder.encode(canonicalSerialize(value));
|
|
218
|
-
}
|
|
219
|
-
function normalizeViewport(viewport = {}) {
|
|
220
|
-
const width = viewport.width ?? 1440;
|
|
221
|
-
const height = viewport.height ?? 900;
|
|
222
|
-
if (!Number.isInteger(width) || width < 1 || width > 16384 || !Number.isInteger(height) || height < 1 || height > 16384) {
|
|
223
|
-
throw new PipelineError(
|
|
224
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
225
|
-
"Artifact viewport width and height must be integers from 1 through 16384."
|
|
226
|
-
);
|
|
227
|
-
}
|
|
228
|
-
return { width, height };
|
|
229
|
-
}
|
|
230
|
-
function normalizeArtifact(artifact) {
|
|
231
|
-
if (!artifact || typeof artifact !== "object") {
|
|
232
|
-
throw new PipelineError(
|
|
233
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
234
|
-
"Each artifact must be an object."
|
|
235
|
-
);
|
|
236
|
-
}
|
|
237
|
-
const id = artifact.id;
|
|
238
|
-
const title = artifact.title;
|
|
239
|
-
if (typeof id !== "string" || !ID_RE.test(id) || id.length > 128) {
|
|
240
|
-
throw new PipelineError(
|
|
241
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
242
|
-
`Invalid artifact id: ${String(id)}`
|
|
243
|
-
);
|
|
244
|
-
}
|
|
245
|
-
if (typeof title !== "string" || title.length === 0 || title.length > 512) {
|
|
246
|
-
throw new PipelineError(
|
|
247
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
248
|
-
`Artifact ${id} requires a title.`
|
|
249
|
-
);
|
|
250
|
-
}
|
|
251
|
-
const html = normalizeUtf8Text(artifact.html);
|
|
252
|
-
if (html.length === 0) {
|
|
253
|
-
throw new PipelineError(ARTIFACT_ERROR_CODES.ENVELOPE_INVALID, `Artifact ${id} HTML is empty.`);
|
|
254
|
-
}
|
|
255
|
-
if (Buffer.byteLength(html, "utf8") > MAX_ARTIFACT_HTML_BYTES) {
|
|
256
|
-
invalid(`Artifact ${id} exceeds ${MAX_ARTIFACT_HTML_BYTES} UTF-8 bytes.`);
|
|
257
|
-
}
|
|
258
|
-
const sha256 = digestArtifact(html);
|
|
259
|
-
if (artifact.sha256 !== void 0 && artifact.sha256 !== sha256) {
|
|
260
|
-
throw new PipelineError(
|
|
261
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
262
|
-
`Artifact ${id} digest does not match its canonical bundled HTML.`,
|
|
263
|
-
"",
|
|
264
|
-
{ expected: sha256, actual: artifact.sha256 }
|
|
265
|
-
);
|
|
266
|
-
}
|
|
267
|
-
const colorScheme = artifact.colorScheme ?? "light";
|
|
268
|
-
if (!["light", "dark"].includes(colorScheme)) {
|
|
269
|
-
throw new PipelineError(
|
|
270
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
271
|
-
`Artifact ${id} has an invalid color scheme.`
|
|
272
|
-
);
|
|
273
|
-
}
|
|
274
|
-
return {
|
|
275
|
-
id,
|
|
276
|
-
kind: "html",
|
|
277
|
-
title,
|
|
278
|
-
sha256,
|
|
279
|
-
html,
|
|
280
|
-
viewport: normalizeViewport(artifact.viewport),
|
|
281
|
-
colorScheme
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
function normalizeViewer(viewer, artifacts) {
|
|
285
|
-
const ids = new Set(artifacts.map(({ id }) => id));
|
|
286
|
-
const normalized = {
|
|
287
|
-
mode: viewer?.mode ?? (artifacts.length > 1 ? "variants" : "single"),
|
|
288
|
-
activeArtifactId: viewer?.activeArtifactId ?? artifacts[0].id
|
|
289
|
-
};
|
|
290
|
-
if (!["single", "variants"].includes(normalized.mode)) {
|
|
291
|
-
throw new PipelineError(
|
|
292
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
293
|
-
"Viewer mode must be single or variants."
|
|
294
|
-
);
|
|
295
|
-
}
|
|
296
|
-
if (!ids.has(normalized.activeArtifactId)) {
|
|
297
|
-
throw new PipelineError(
|
|
298
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
299
|
-
"Viewer activeArtifactId is not present in artifacts."
|
|
300
|
-
);
|
|
301
|
-
}
|
|
302
|
-
if (viewer?.presentation !== void 0) {
|
|
303
|
-
if (!ARTIFACT_PRESENTATIONS.includes(viewer.presentation)) {
|
|
304
|
-
throw new PipelineError(
|
|
305
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
306
|
-
"Viewer presentation must be document or canvas."
|
|
307
|
-
);
|
|
308
|
-
}
|
|
309
|
-
normalized.presentation = viewer.presentation;
|
|
310
|
-
}
|
|
311
|
-
return normalized;
|
|
312
|
-
}
|
|
313
|
-
function envelopeWithoutReview(envelope) {
|
|
314
|
-
return {
|
|
315
|
-
schemaVersion: envelope.schemaVersion,
|
|
316
|
-
...envelope.schemaVersion === ARTIFACT_SHARED_ENVELOPE_VERSION ? { sources: envelope.sources } : {},
|
|
317
|
-
artifacts: envelope.artifacts,
|
|
318
|
-
viewer: envelope.viewer
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
function canonicalEnvelopeBytes(envelope, { includeReview = false } = {}) {
|
|
322
|
-
const value = includeReview ? envelope : envelopeWithoutReview(envelope);
|
|
323
|
-
return canonicalBytes(value);
|
|
324
|
-
}
|
|
325
|
-
function digestArtifactEnvelope(envelope) {
|
|
326
|
-
return sha256Hex(canonicalEnvelopeBytes(envelope));
|
|
327
|
-
}
|
|
328
|
-
function validateArtifactReview(review) {
|
|
329
|
-
const issues = validate(review, "artifact-review", "v1.1.0");
|
|
330
|
-
if (issues.length > 0) {
|
|
331
|
-
throw new PipelineError(
|
|
332
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
333
|
-
`Invalid artifact review at ${issues[0].path}: ${issues[0].detail}`,
|
|
334
|
-
"",
|
|
335
|
-
{ issues }
|
|
336
|
-
);
|
|
337
|
-
}
|
|
338
|
-
assertBoundedString(review.reviewId, "reviewId", { min: 1, max: 128 });
|
|
339
|
-
assertBoundedString(review.reviewOf, "reviewOf", { min: 64, max: 64, pattern: SHA256_RE });
|
|
340
|
-
assertBoundedString(review.overall, "overall", { max: 65536 });
|
|
341
|
-
if (!Array.isArray(review.pins) || review.pins.length > MAX_PINS)
|
|
342
|
-
invalid(`Review pins exceed ${MAX_PINS}.`);
|
|
343
|
-
for (const [pinIndex, pin] of review.pins.entries()) {
|
|
344
|
-
const label = `pins[${pinIndex}]`;
|
|
345
|
-
assertBoundedString(pin.id, `${label}.id`, { min: 1, max: 128 });
|
|
346
|
-
assertBoundedString(pin.author?.id ?? "", `${label}.author.id`, { max: 128 });
|
|
347
|
-
assertBoundedString(pin.author?.name, `${label}.author.name`, { min: 1, max: 256 });
|
|
348
|
-
assertBoundedString(pin.artifactId, `${label}.artifactId`, { min: 1, max: 128 });
|
|
349
|
-
if (pin.variant !== void 0)
|
|
350
|
-
assertBoundedString(pin.variant, `${label}.variant`, { min: 1, max: 128 });
|
|
351
|
-
assertBoundedString(pin.comment, `${label}.comment`, { min: 1, max: 65536 });
|
|
352
|
-
if (pin.anchor) {
|
|
353
|
-
assertBoundedString(pin.anchor.planrId, `${label}.anchor.planrId`, { min: 1, max: 512 });
|
|
354
|
-
if (pin.anchor.screen !== void 0)
|
|
355
|
-
assertBoundedString(pin.anchor.screen, `${label}.anchor.screen`, { min: 1, max: 128 });
|
|
356
|
-
}
|
|
357
|
-
assertViewport(pin.viewport, `${label}.viewport`, { maxHeight: ARTIFACT_DOCUMENT_MAX_HEIGHT });
|
|
358
|
-
for (const coordinate of ["x", "y", "w", "h"]) {
|
|
359
|
-
const value = pin.region?.[coordinate];
|
|
360
|
-
if (typeof value !== "number" || !Number.isFinite(value) || value < 0 || value > 1) {
|
|
361
|
-
invalid(`${label}.region.${coordinate} must be a finite normalized coordinate.`);
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
if (pin.region.x + pin.region.w > 1 || pin.region.y + pin.region.h > 1) {
|
|
365
|
-
invalid(`${label}.region must remain inside normalized artifact bounds.`);
|
|
366
|
-
}
|
|
367
|
-
if (!Array.isArray(pin.replies) || pin.replies.length > MAX_REPLIES)
|
|
368
|
-
invalid(`${label}.replies exceeds ${MAX_REPLIES}.`);
|
|
369
|
-
for (const [replyIndex, reply] of pin.replies.entries()) {
|
|
370
|
-
const replyLabel = `${label}.replies[${replyIndex}]`;
|
|
371
|
-
assertBoundedString(reply.id, `${replyLabel}.id`, { min: 1, max: 128 });
|
|
372
|
-
assertBoundedString(reply.author?.id ?? "", `${replyLabel}.author.id`, { max: 128 });
|
|
373
|
-
assertBoundedString(reply.author?.name, `${replyLabel}.author.name`, { min: 1, max: 256 });
|
|
374
|
-
assertBoundedString(reply.comment, `${replyLabel}.comment`, { min: 1, max: 65536 });
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
return review;
|
|
378
|
-
}
|
|
379
|
-
function validateArtifactEnvelope(envelope) {
|
|
380
|
-
const shared = envelope?.schemaVersion === ARTIFACT_SHARED_ENVELOPE_VERSION;
|
|
381
|
-
const issues = validate(envelope, "artifact-envelope", shared ? "v1.16.0" : "v1.1.0");
|
|
382
|
-
if (issues.length > 0) {
|
|
383
|
-
throw new PipelineError(
|
|
384
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
385
|
-
`Invalid artifact envelope at ${issues[0].path}: ${issues[0].detail}`,
|
|
386
|
-
"",
|
|
387
|
-
{ issues }
|
|
388
|
-
);
|
|
389
|
-
}
|
|
390
|
-
if (!Array.isArray(envelope.artifacts) || envelope.artifacts.length < 1 || envelope.artifacts.length > (shared ? ARTIFACT_MAX_VIEWS : MAX_ARTIFACTS)) {
|
|
391
|
-
invalid(
|
|
392
|
-
`Envelope requires 1 through ${shared ? ARTIFACT_MAX_VIEWS : MAX_ARTIFACTS} artifacts.`
|
|
393
|
-
);
|
|
394
|
-
}
|
|
395
|
-
const ids = envelope.artifacts.map(({ id }) => id);
|
|
396
|
-
if (new Set(ids).size !== ids.length) {
|
|
397
|
-
throw new PipelineError(ARTIFACT_ERROR_CODES.ENVELOPE_INVALID, "Artifact ids must be unique.");
|
|
398
|
-
}
|
|
399
|
-
const sources = shared ? envelope.sources : envelope.artifacts;
|
|
400
|
-
if (shared && new Set(sources.map(({ id }) => id)).size !== sources.length) {
|
|
401
|
-
invalid("Artifact source ids must be unique.");
|
|
402
|
-
}
|
|
403
|
-
let artifactBytes = 0;
|
|
404
|
-
for (const source of sources) {
|
|
405
|
-
assertBoundedString(source.html, `Source ${source.id} HTML`, { min: 1 });
|
|
406
|
-
artifactBytes += Buffer.byteLength(source.html, "utf8");
|
|
407
|
-
if (artifactBytes > MAX_ARTIFACT_HTML_BYTES) {
|
|
408
|
-
invalid(`Envelope sources exceed ${MAX_ARTIFACT_HTML_BYTES} UTF-8 bytes in total.`);
|
|
409
|
-
}
|
|
410
|
-
if (!SHA256_RE.test(source.sha256) || digestArtifact(source.html) !== source.sha256) {
|
|
411
|
-
invalid(`Artifact source ${source.id} digest is invalid.`);
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
for (const artifact of envelope.artifacts) {
|
|
415
|
-
assertBoundedString(artifact.id, "artifact.id", { min: 1, max: 128, pattern: ID_RE });
|
|
416
|
-
assertBoundedString(artifact.title, `Artifact ${artifact.id} title`, { min: 1, max: 512 });
|
|
417
|
-
assertViewport(artifact.viewport, `Artifact ${artifact.id} viewport`);
|
|
418
|
-
if (shared) resolveArtifactHtml(envelope, artifact);
|
|
419
|
-
}
|
|
420
|
-
if (shared && new Set(envelope.artifacts.map(({ sourceId }) => sourceId)).size !== sources.length) {
|
|
421
|
-
invalid("Every shared artifact source must be referenced by a viewport.");
|
|
422
|
-
}
|
|
423
|
-
assertBoundedString(envelope.viewer.activeArtifactId, "viewer.activeArtifactId", {
|
|
424
|
-
min: 1,
|
|
425
|
-
max: 128
|
|
426
|
-
});
|
|
427
|
-
if (!ids.includes(envelope.viewer.activeArtifactId)) {
|
|
428
|
-
throw new PipelineError(
|
|
429
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
430
|
-
"Viewer references an unknown artifact."
|
|
431
|
-
);
|
|
432
|
-
}
|
|
433
|
-
if (envelope.review) {
|
|
434
|
-
validateArtifactReview(envelope.review);
|
|
435
|
-
for (const pin of envelope.review.pins) {
|
|
436
|
-
if (!ids.includes(pin.artifactId))
|
|
437
|
-
invalid(`Review pin references unknown artifact: ${pin.artifactId}`);
|
|
438
|
-
}
|
|
439
|
-
const expected = digestArtifactEnvelope(envelope);
|
|
440
|
-
if (envelope.review.reviewOf !== expected) {
|
|
441
|
-
throw new PipelineError(
|
|
442
|
-
ARTIFACT_ERROR_CODES.ENVELOPE_INVALID,
|
|
443
|
-
"Review digest does not match the canonical review-free envelope.",
|
|
444
|
-
"",
|
|
445
|
-
{ expected, actual: envelope.review.reviewOf }
|
|
446
|
-
);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
return envelope;
|
|
450
|
-
}
|
|
451
|
-
function createSharedArtifactEnvelope({ sources, artifacts, viewer, review } = {}) {
|
|
452
|
-
if (!Array.isArray(sources) || sources.length < 1 || sources.length > ARTIFACT_MAX_SOURCES) {
|
|
453
|
-
invalid(`Shared envelope requires 1 through ${ARTIFACT_MAX_SOURCES} sources.`);
|
|
454
|
-
}
|
|
455
|
-
if (!Array.isArray(artifacts) || artifacts.length < 1 || artifacts.length > ARTIFACT_MAX_VIEWS) {
|
|
456
|
-
invalid(`Shared envelope requires 1 through ${ARTIFACT_MAX_VIEWS} viewport references.`);
|
|
457
|
-
}
|
|
458
|
-
const normalizedSources = sources.map((source) => {
|
|
459
|
-
const value = normalizeArtifact({ ...source, title: source?.id });
|
|
460
|
-
return { id: value.id, kind: value.kind, sha256: value.sha256, html: value.html };
|
|
461
|
-
});
|
|
462
|
-
const sourceMap = new Map(normalizedSources.map((source) => [source.id, source]));
|
|
463
|
-
const normalizedArtifacts = artifacts.map((artifact) => {
|
|
464
|
-
const source = sourceMap.get(artifact?.sourceId);
|
|
465
|
-
if (!source) invalid("Artifact viewport references an unknown shared source.");
|
|
466
|
-
assertBoundedString(artifact.id, "artifact.id", { min: 1, max: 128, pattern: ID_RE });
|
|
467
|
-
assertBoundedString(artifact.title, "artifact.title", { min: 1, max: 512 });
|
|
468
|
-
if (artifact.sha256 !== void 0 && artifact.sha256 !== source.sha256) {
|
|
469
|
-
invalid("Artifact viewport digest does not match its shared source.");
|
|
470
|
-
}
|
|
471
|
-
const colorScheme = artifact.colorScheme ?? "light";
|
|
472
|
-
if (!["light", "dark"].includes(colorScheme))
|
|
473
|
-
invalid("Artifact viewport color scheme is invalid.");
|
|
474
|
-
return {
|
|
475
|
-
id: artifact.id,
|
|
476
|
-
kind: "html",
|
|
477
|
-
title: artifact.title,
|
|
478
|
-
sourceId: source.id,
|
|
479
|
-
sha256: source.sha256,
|
|
480
|
-
viewport: normalizeViewport(artifact.viewport),
|
|
481
|
-
colorScheme
|
|
482
|
-
};
|
|
483
|
-
});
|
|
484
|
-
return validateArtifactEnvelope({
|
|
485
|
-
schemaVersion: ARTIFACT_SHARED_ENVELOPE_VERSION,
|
|
486
|
-
sources: normalizedSources,
|
|
487
|
-
artifacts: normalizedArtifacts,
|
|
488
|
-
viewer: normalizeViewer(viewer, normalizedArtifacts),
|
|
489
|
-
...review ? { review: canonicalObject(review) } : {}
|
|
490
|
-
});
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
export {
|
|
494
|
-
ARTIFACT_ERROR_CODES,
|
|
495
|
-
PipelineError,
|
|
496
|
-
ARTIFACT_MAX_SOURCES,
|
|
497
|
-
ARTIFACT_MAX_VIEWS,
|
|
498
|
-
resolveArtifactHtml,
|
|
499
|
-
MAX_ARTIFACT_HTML_BYTES,
|
|
500
|
-
canonicalSerialize,
|
|
501
|
-
digestArtifactEnvelope,
|
|
502
|
-
validateArtifactReview,
|
|
503
|
-
validateArtifactEnvelope,
|
|
504
|
-
createSharedArtifactEnvelope
|
|
505
|
-
};
|