@helpra/design 0.0.0-stage → 0.1.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/LICENSE +202 -0
- package/README.md +93 -2
- package/README.ru.md +23 -0
- package/bin/helpra-design.mjs +12 -0
- package/design-system/helpra/tokens.json +1655 -0
- package/dist/embed/index.d.ts +9 -0
- package/dist/embed/index.js +94 -0
- package/dist/embed/types.d.ts +113 -0
- package/dist/embed/types.js +1 -0
- package/dist/ui/assets/browserHost-CgiYo1Ht.js +1 -0
- package/dist/ui/assets/index-BpwlDiXE.css +1 -0
- package/dist/ui/assets/index-DCndCScv.js +82 -0
- package/dist/ui/assets/inter-cyrillic-wght-normal-BmJJXa8e.woff2 +0 -0
- package/dist/ui/assets/inter-latin-wght-normal-BgVq2Tq4.woff2 +0 -0
- package/dist/ui/assets/session.schemas-DqTxSFE-.js +352 -0
- package/dist/ui/fonts/OFL.txt +93 -0
- package/dist/ui/index.html +14 -0
- package/docs/agent-workflow.md +28 -0
- package/docs/orca-integration.md +66 -0
- package/package.json +87 -4
- package/skills/README.md +25 -0
- package/skills/helpra-design/SKILL.md +23 -0
- package/skills/helpra-design/agents/openai.yaml +4 -0
- package/skills/helpra-design/references/button-change.md +14 -0
- package/skills/helpra-design/references/canvases-and-artboards.md +15 -0
- package/skills/helpra-design/references/capture-and-export.md +20 -0
- package/skills/helpra-design/references/comments-and-anchors.md +31 -0
- package/skills/helpra-design/references/designing-screens.md +79 -0
- package/skills/helpra-design/references/mcp-workflow.md +121 -0
- package/skills/helpra-design/references/project-format.md +17 -0
- package/skills/helpra-design/scripts/find_elements.py +77 -0
- package/skills/helpra-design/templates/artboard.json +23 -0
- package/skills/helpra-design/templates/canvas.json +9 -0
- package/skills/helpra-design/templates/page.json +11 -0
- package/skills/helpra-design-system/SKILL.md +35 -0
- package/skills/helpra-design-system/agents/openai.yaml +4 -0
- package/skills/helpra-design-system/references/component-contract.md +11 -0
- package/skills/helpra-design-system/references/coverage.md +19 -0
- package/skills/helpra-design-system/references/tokens-and-rules.md +13 -0
- package/skills/helpra-design-system/references/validation.md +11 -0
- package/skills/helpra-design-system/templates/component.json +38 -0
- package/skills/helpra-design-system/templates/system.json +70 -0
- package/skills/helpra-screen-composition/SKILL.md +69 -0
- package/src/brief/authoring-brief.ts +97 -0
- package/src/brief/bound.ts +80 -0
- package/src/brief/component-props.ts +53 -0
- package/src/brief/project-brief.ts +80 -0
- package/src/brief/reference-excerpt.ts +61 -0
- package/src/brief/references.ts +66 -0
- package/src/brief/screen-composition.ts +68 -0
- package/src/brief/shell.ts +84 -0
- package/src/brief/system.ts +74 -0
- package/src/brief/theme-css.ts +57 -0
- package/src/brief/tokens.ts +74 -0
- package/src/brief/trajectory.ts +64 -0
- package/src/contracts/agent-targets.ts +42 -0
- package/src/contracts/annotations.ts +44 -0
- package/src/contracts/artboard-appearance.ts +67 -0
- package/src/contracts/artboard-approval.ts +109 -0
- package/src/contracts/artboard-topology.ts +45 -0
- package/src/contracts/assets.ts +20 -0
- package/src/contracts/canvas-name.ts +19 -0
- package/src/contracts/common.schemas.ts +32 -0
- package/src/contracts/common.ts +3 -0
- package/src/contracts/common.types.ts +10 -0
- package/src/contracts/context-navigation.types.ts +6 -0
- package/src/contracts/context-read.schemas.ts +34 -0
- package/src/contracts/context-read.types.ts +20 -0
- package/src/contracts/design-error.ts +3 -0
- package/src/contracts/design-system-lifecycle.ts +107 -0
- package/src/contracts/design-system-themes.ts +36 -0
- package/src/contracts/design-system-tokens.ts +167 -0
- package/src/contracts/find-elements.ts +63 -0
- package/src/contracts/git-commit.ts +17 -0
- package/src/contracts/graph.schemas.ts +18 -0
- package/src/contracts/graph.types.ts +11 -0
- package/src/contracts/guide.types.ts +4 -0
- package/src/contracts/helpra-mark.ts +2 -0
- package/src/contracts/index.ts +13 -0
- package/src/contracts/input-errors.ts +48 -0
- package/src/contracts/legacy-component.ts +23 -0
- package/src/contracts/local-directory-picker.ts +9 -0
- package/src/contracts/managed-project.ts +22 -0
- package/src/contracts/operations.ts +315 -0
- package/src/contracts/origins.ts +25 -0
- package/src/contracts/portable.ts +72 -0
- package/src/contracts/project-brief-screen-pool.ts +78 -0
- package/src/contracts/project-brief.ts +99 -0
- package/src/contracts/project-component-dirs.ts +18 -0
- package/src/contracts/project-files.ts +17 -0
- package/src/contracts/project-read.types.ts +41 -0
- package/src/contracts/project.schemas.ts +72 -0
- package/src/contracts/project.ts +2 -0
- package/src/contracts/project.types.ts +70 -0
- package/src/contracts/publication-publish.schemas.ts +33 -0
- package/src/contracts/publication-publish.types.ts +6 -0
- package/src/contracts/publication-status.schemas.ts +17 -0
- package/src/contracts/publication-status.types.ts +5 -0
- package/src/contracts/publication.schemas.ts +9 -0
- package/src/contracts/publication.types.ts +25 -0
- package/src/contracts/recents.ts +59 -0
- package/src/contracts/render-inspection.schemas.ts +75 -0
- package/src/contracts/render-tree.schemas.ts +58 -0
- package/src/contracts/render.ts +182 -0
- package/src/contracts/review-geometry.ts +55 -0
- package/src/contracts/review-image.ts +26 -0
- package/src/contracts/review.ts +227 -0
- package/src/contracts/screen-constants.ts +93 -0
- package/src/contracts/screen-layout.ts +31 -0
- package/src/contracts/screen-palette-constants.ts +99 -0
- package/src/contracts/screen-palette-domain.styles.ts +160 -0
- package/src/contracts/screen-palette-domain.ts +134 -0
- package/src/contracts/screen-palette-fallbacks.ts +57 -0
- package/src/contracts/screen-palette-seed.ts +6 -0
- package/src/contracts/screen-palette-styles.ts +96 -0
- package/src/contracts/screen-palette.ts +88 -0
- package/src/contracts/screen-recipe.ts +118 -0
- package/src/contracts/screen-transition.ts +166 -0
- package/src/contracts/screen-workspace-palette.ts +62 -0
- package/src/contracts/screen-workspace-styles.ts +143 -0
- package/src/contracts/screen-workspace-template.ts +65 -0
- package/src/contracts/service.types.ts +16 -0
- package/src/contracts/source-export.schemas.ts +19 -0
- package/src/contracts/source-export.types.ts +6 -0
- package/src/contracts/source-mime.ts +5 -0
- package/src/contracts/system-browser.schemas.ts +15 -0
- package/src/contracts/system-browser.types.ts +7 -0
- package/src/contracts/system.constants.ts +2 -0
- package/src/contracts/system.schemas.ts +36 -0
- package/src/contracts/system.ts +3 -0
- package/src/contracts/system.types.ts +42 -0
- package/src/contracts/ui-session.ts +11 -0
- package/src/contracts/visual-replay.ts +21 -0
- package/src/embed/index.ts +94 -0
- package/src/embed/types.ts +61 -0
- package/src/graph/evidence.ts +47 -0
- package/src/graph/projection.ts +52 -0
- package/src/graph/query-snapshot.ts +42 -0
- package/src/graph/query.ts +60 -0
- package/src/graph/relations.ts +40 -0
- package/src/graph/validate.ts +20 -0
- package/src/guide/bundle.ts +26 -0
- package/src/guide/guide.constants.ts +3 -0
- package/src/guide/views.ts +22 -0
- package/src/project/annotations.ts +55 -0
- package/src/project/appearance-transaction.ts +240 -0
- package/src/project/approval-state.ts +125 -0
- package/src/project/artboard-approvals.ts +152 -0
- package/src/project/artboard-operations.ts +66 -0
- package/src/project/artboard-placement.ts +58 -0
- package/src/project/artboard-properties.ts +31 -0
- package/src/project/artboard-source.ts +124 -0
- package/src/project/artboard-topology-transaction.ts +249 -0
- package/src/project/assets.ts +217 -0
- package/src/project/catalog-summary.ts +169 -0
- package/src/project/change-impact.ts +96 -0
- package/src/project/component-aliases.ts +16 -0
- package/src/project/component-library.ts +54 -0
- package/src/project/css-impact.ts +151 -0
- package/src/project/demo-assets/fonts/LICENSE +93 -0
- package/src/project/demo-assets/fonts/README.md +5 -0
- package/src/project/demo-assets/fonts/inter-cyrillic-wght-normal.woff2 +0 -0
- package/src/project/demo-assets/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/src/project/demo-assets/fonts/provenance.json +22 -0
- package/src/project/demo-design.ts +35 -0
- package/src/project/demo-fonts.ts +8 -0
- package/src/project/demo-sources.ts +19 -0
- package/src/project/demo.ts +64 -0
- package/src/project/dependencies.ts +124 -0
- package/src/project/derived-snapshot.ts +78 -0
- package/src/project/design-system-components.ts +178 -0
- package/src/project/design-system-documents.ts +128 -0
- package/src/project/design-system-journal.ts +52 -0
- package/src/project/design-system-lifecycle.ts +161 -0
- package/src/project/design-system-seed.ts +165 -0
- package/src/project/design-system-theme-edits.ts +124 -0
- package/src/project/design-system-token-patches.ts +278 -0
- package/src/project/design-system-tokens.ts +157 -0
- package/src/project/design-system-transaction.ts +164 -0
- package/src/project/design-systems.ts +266 -0
- package/src/project/design-workspace.ts +50 -0
- package/src/project/export-files.ts +34 -0
- package/src/project/extract-html-component.ts +83 -0
- package/src/project/file-cache.ts +61 -0
- package/src/project/file-lease.ts +44 -0
- package/src/project/format.ts +104 -0
- package/src/project/git-commit.ts +80 -0
- package/src/project/git.ts +142 -0
- package/src/project/html-fragments.ts +60 -0
- package/src/project/import-screen-mapper.ts +150 -0
- package/src/project/imports.ts +354 -0
- package/src/project/index.ts +12 -0
- package/src/project/initial-canvas.ts +31 -0
- package/src/project/live-topology.ts +17 -0
- package/src/project/locks.ts +36 -0
- package/src/project/managed-projects.ts +265 -0
- package/src/project/module-resolution.ts +21 -0
- package/src/project/parse-script.ts +53 -0
- package/src/project/paths.ts +230 -0
- package/src/project/project-component-dirs.ts +125 -0
- package/src/project/project-files.ts +117 -0
- package/src/project/project-metadata.ts +142 -0
- package/src/project/public-git.ts +39 -0
- package/src/project/recents.ts +111 -0
- package/src/project/registered-snapshot.ts +18 -0
- package/src/project/registry.ts +141 -0
- package/src/project/revisions.ts +200 -0
- package/src/project/screen-authoring.ts +153 -0
- package/src/project/screen-definitions.ts +47 -0
- package/src/project/screen-fonts.ts +18 -0
- package/src/project/screen-policy.ts +76 -0
- package/src/project/screen-pool.ts +91 -0
- package/src/project/screen-project-seed.ts +40 -0
- package/src/project/screen-styles.ts +33 -0
- package/src/project/screen-transitions.ts +317 -0
- package/src/project/snapshot-reader.ts +63 -0
- package/src/project/snapshot-selection.ts +41 -0
- package/src/project/snapshot-topology.ts +99 -0
- package/src/project/source-view.ts +42 -0
- package/src/project/stage-component-dirs.ts +37 -0
- package/src/project/topology-source-inventory.ts +92 -0
- package/src/project/topology.ts +394 -0
- package/src/project/transactions.ts +213 -0
- package/src/project/transition-transaction.ts +377 -0
- package/src/project/ui-sessions.ts +66 -0
- package/src/project/watch.ts +217 -0
- package/src/project/workspace.ts +746 -0
- package/src/project/workspace.types.ts +4 -0
- package/src/publication/cli.ts +51 -0
- package/src/publication/cutover.schemas.ts +25 -0
- package/src/publication/cutover.ts +82 -0
- package/src/publication/cutover.types.ts +5 -0
- package/src/publication/digests.ts +44 -0
- package/src/publication/durable.ts +21 -0
- package/src/publication/live-reader.ts +16 -0
- package/src/publication/navigation.ts +26 -0
- package/src/publication/navigation.types.ts +3 -0
- package/src/publication/publish-files.ts +39 -0
- package/src/publication/publish-gateway.ts +48 -0
- package/src/publication/publish-identity.ts +107 -0
- package/src/publication/publish-identity.types.ts +5 -0
- package/src/publication/publish-status.ts +88 -0
- package/src/publication/publish-status.types.ts +14 -0
- package/src/publication/publish.ts +132 -0
- package/src/publication/schemas.ts +10 -0
- package/src/publication/store.constants.ts +8 -0
- package/src/publication/store.ts +131 -0
- package/src/publication/validate-store.ts +23 -0
- package/src/publication/validate.ts +99 -0
- package/src/render/annotations.ts +149 -0
- package/src/render/archive-workspace.ts +31 -0
- package/src/render/asset-safety.ts +19 -0
- package/src/render/bridge-client.ts +41 -0
- package/src/render/budgets.ts +8 -0
- package/src/render/build.schemas.ts +13 -0
- package/src/render/build.ts +125 -0
- package/src/render/build.types.ts +6 -0
- package/src/render/capture.ts +105 -0
- package/src/render/comment-cursor.constants.ts +23 -0
- package/src/render/design-system-screenshot.ts +148 -0
- package/src/render/export.ts +144 -0
- package/src/render/html-head.ts +33 -0
- package/src/render/index.ts +324 -0
- package/src/render/input-references.ts +116 -0
- package/src/render/input-references.types.ts +1 -0
- package/src/render/inputs.ts +161 -0
- package/src/render/inputs.types.ts +4 -0
- package/src/render/interactive-capture.ts +49 -0
- package/src/render/module-policy.constants.ts +5 -0
- package/src/render/offline.ts +87 -0
- package/src/render/preview-headers.ts +8 -0
- package/src/render/preview.ts +64 -0
- package/src/render/provenance.ts +28 -0
- package/src/render/renderer.types.ts +17 -0
- package/src/render/replay.ts +131 -0
- package/src/render/resources.ts +97 -0
- package/src/render/runtime-archive-workspace.ts +116 -0
- package/src/render/runtime-cascade.ts +255 -0
- package/src/render/runtime-css-values.ts +20 -0
- package/src/render/runtime-cssom.ts +238 -0
- package/src/render/runtime-dom.ts +74 -0
- package/src/render/runtime-lazy.ts +108 -0
- package/src/render/runtime-lengths.ts +58 -0
- package/src/render/runtime-spacing.ts +40 -0
- package/src/render/runtime-styles.ts +187 -0
- package/src/render/runtime-transitions.ts +378 -0
- package/src/render/runtime.ts +490 -0
- package/src/render/source-map.ts +39 -0
- package/src/render/static-build.ts +115 -0
- package/src/render/static-public-screen.ts +27 -0
- package/src/render/static-svg.ts +71 -0
- package/src/render/system-artifacts.ts +108 -0
- package/src/render/system-chromium.ts +31 -0
- package/src/render/system-preview.ts +46 -0
- package/src/render/vite-build.ts +113 -0
- package/src/render/vite-pool.ts +125 -0
- package/src/render/vite-worker.ts +31 -0
- package/src/review/anchors.ts +85 -0
- package/src/review/attachments.ts +119 -0
- package/src/review/comparison.ts +57 -0
- package/src/review/creation-topology.ts +71 -0
- package/src/review/drawing-observation.ts +93 -0
- package/src/review/evidence.ts +77 -0
- package/src/review/image-bytes.ts +9 -0
- package/src/review/index.ts +1 -0
- package/src/review/original-captures.ts +60 -0
- package/src/review/placement.ts +49 -0
- package/src/review/project.ts +18 -0
- package/src/review/removed-target.ts +39 -0
- package/src/review/review-images.ts +79 -0
- package/src/review/service.ts +477 -0
- package/src/review/storage.ts +257 -0
- package/src/sandbox/HomeIdePreview.tsx +27 -0
- package/src/sandbox/SandboxClient.ts +106 -0
- package/src/sandbox/SandboxState.ts +56 -0
- package/src/sandbox/SketchPreview.tsx +54 -0
- package/src/sandbox/artboardBackground.ts +8 -0
- package/src/sandbox/canvasOperations.ts +148 -0
- package/src/sandbox/commentOperations.ts +85 -0
- package/src/sandbox/main.tsx +56 -0
- package/src/sandbox/overview.en.md +27 -0
- package/src/sandbox/overview.ru.md +27 -0
- package/src/sandbox/pngExports.ts +79 -0
- package/src/sandbox/previewLocation.ts +40 -0
- package/src/sandbox/project.ts +69 -0
- package/src/sandbox/sandbox.css +100 -0
- package/src/sandbox/system.ts +69 -0
- package/src/search/budget.ts +80 -0
- package/src/search/find-elements.ts +128 -0
- package/src/search/html.ts +56 -0
- package/src/search/jsx.ts +124 -0
- package/src/search/query.ts +74 -0
- package/src/search/source.ts +57 -0
- package/src/service/agent/dispatch.ts +326 -0
- package/src/service/agent/http.ts +76 -0
- package/src/service/agent/orca-bridge.ts +126 -0
- package/src/service/agent/orca.ts +261 -0
- package/src/service/agent/payload.ts +125 -0
- package/src/service/agent/receipts.ts +44 -0
- package/src/service/cli.ts +196 -0
- package/src/service/client.ts +77 -0
- package/src/service/comment-evidence.ts +91 -0
- package/src/service/comment-inspection.ts +33 -0
- package/src/service/comment-scenes.ts +22 -0
- package/src/service/context-cursor.ts +59 -0
- package/src/service/context-pinned.ts +82 -0
- package/src/service/context-selection.ts +62 -0
- package/src/service/context-source.ts +56 -0
- package/src/service/context.ts +119 -0
- package/src/service/daemon-entry.ts +16 -0
- package/src/service/daemon.ts +121 -0
- package/src/service/export-config.ts +21 -0
- package/src/service/http.ts +491 -0
- package/src/service/index.ts +190 -0
- package/src/service/inspect-page.ts +49 -0
- package/src/service/inspect.ts +38 -0
- package/src/service/lifecycle.ts +29 -0
- package/src/service/local-cli.ts +65 -0
- package/src/service/local-directory-picker.ts +29 -0
- package/src/service/loopback-http.ts +35 -0
- package/src/service/mcp-artboard-review.ts +91 -0
- package/src/service/mcp-auth.ts +24 -0
- package/src/service/mcp-content.ts +47 -0
- package/src/service/mcp-http.ts +26 -0
- package/src/service/mcp.ts +124 -0
- package/src/service/mutation-gate.ts +107 -0
- package/src/service/native-directory-picker.ts +70 -0
- package/src/service/operation-policy.ts +45 -0
- package/src/service/operations.ts +447 -0
- package/src/service/publication-gateway-server.ts +34 -0
- package/src/service/publication-gateway.ts +139 -0
- package/src/service/publication-gateway.types.ts +9 -0
- package/src/service/remote-agent-tokens.ts +49 -0
- package/src/service/remote-config.ts +43 -0
- package/src/service/remote-mcp.ts +76 -0
- package/src/service/remote-results.ts +39 -0
- package/src/service/remote-session.ts +65 -0
- package/src/service/remote.ts +33 -0
- package/src/service/results.ts +33 -0
- package/src/service/review-payloads.ts +72 -0
- package/src/service/review-resource-links.ts +41 -0
- package/src/service/security.ts +117 -0
- package/src/service/server-config.ts +44 -0
- package/src/service/server-config.types.ts +13 -0
- package/src/service/server.ts +16 -0
- package/src/service/status-capacity.ts +59 -0
- package/src/service/status-current.ts +30 -0
- package/src/service/stdio.ts +34 -0
- package/src/service/ui-asset-cache.ts +51 -0
- package/src/service/usecases.ts +155 -0
- package/src/service/work-budget.ts +37 -0
- package/src/service/workspace-http.ts +57 -0
- package/src/source-export/archive.ts +78 -0
- package/src/source-export/capacity.ts +44 -0
- package/src/source-export/checkpoint.ts +58 -0
- package/src/source-export/cleanup.ts +46 -0
- package/src/source-export/download.ts +74 -0
- package/src/source-export/downloads.ts +29 -0
- package/src/source-export/history.ts +50 -0
- package/src/source-export/inventory.types.ts +12 -0
- package/src/source-export/job-store.ts +125 -0
- package/src/source-export/kernel-lease.ts +13 -0
- package/src/source-export/lease.ts +72 -0
- package/src/source-export/legacy.ts +46 -0
- package/src/source-export/manager.ts +189 -0
- package/src/source-export/manifest.ts +23 -0
- package/src/source-export/member-reader.ts +24 -0
- package/src/source-export/result.ts +12 -0
- package/src/source-export/review-checkpoint.ts +169 -0
- package/src/source-export/snapshot-space.ts +35 -0
- package/src/source-export/space.ts +79 -0
- package/src/source-export/tickets.ts +24 -0
- package/src/system/browser-source.ts +87 -0
- package/src/system/browser.ts +39 -0
- package/src/system/change-policy.ts +82 -0
- package/src/system/component-metadata.ts +36 -0
- package/src/system/components.ts +58 -0
- package/src/system/css-token-blocks.ts +346 -0
- package/src/system/index.ts +9 -0
- package/src/system/inspection.ts +20 -0
- package/src/system/library-namespace.ts +108 -0
- package/src/system/published-metadata.ts +38 -0
- package/src/system/report-store.ts +41 -0
- package/src/system/rules.ts +47 -0
- package/src/system/scope-policy.ts +61 -0
- package/src/system/service.ts +129 -0
- package/src/system/service.types.ts +6 -0
- package/src/system/snapshot.ts +101 -0
- package/src/system/source-analysis.ts +273 -0
- package/src/system/source-exports.ts +38 -0
- package/src/system/theme-layers.ts +17 -0
- package/src/system/token-parser.ts +63 -0
- package/src/system/token-values.constants.ts +1 -0
- package/src/system/token-values.ts +62 -0
- package/src/system/token-values.types.ts +4 -0
- package/src/system/tokens.ts +111 -0
- package/src/system/usage-index.ts +148 -0
- package/src/system/validation.ts +101 -0
- package/src/system/validation.types.ts +2 -0
- package/src/ui/AgentDeliveryControl.tsx +106 -0
- package/src/ui/AnnotationDetails.tsx +23 -0
- package/src/ui/AnnotationProperties.tsx +218 -0
- package/src/ui/ApiError.ts +31 -0
- package/src/ui/App.tsx +340 -0
- package/src/ui/ArtboardBackgroundField.tsx +122 -0
- package/src/ui/ArtboardDragGuides.tsx +25 -0
- package/src/ui/ArtboardFrame.tsx +230 -0
- package/src/ui/ArtboardPropertiesSection.tsx +286 -0
- package/src/ui/Brand.tsx +42 -0
- package/src/ui/CanvasAnnotationObject.tsx +358 -0
- package/src/ui/CanvasAnnotations.tsx +168 -0
- package/src/ui/CanvasNavPanel.tsx +421 -0
- package/src/ui/CanvasNavSwitcher.tsx +148 -0
- package/src/ui/CommentComposer.tsx +202 -0
- package/src/ui/CommentDeliveryStatus.tsx +80 -0
- package/src/ui/CommentEvidence.tsx +280 -0
- package/src/ui/CommentLayer.tsx +279 -0
- package/src/ui/CommentTextarea.tsx +47 -0
- package/src/ui/ContextMenu.tsx +373 -0
- package/src/ui/CustomSelect.tsx +364 -0
- package/src/ui/DesignSystemsCatalog.tsx +275 -0
- package/src/ui/DiscussionsPanel.tsx +240 -0
- package/src/ui/ElementProperties.tsx +117 -0
- package/src/ui/Entry.tsx +392 -0
- package/src/ui/ExportMenu.tsx +218 -0
- package/src/ui/FolderPathField.tsx +62 -0
- package/src/ui/FrameExportPopover.tsx +187 -0
- package/src/ui/FullscreenPlayOverlay.tsx +177 -0
- package/src/ui/GhostPlacementOverlay.tsx +48 -0
- package/src/ui/HomeModals.tsx +294 -0
- package/src/ui/HomeProjectDetails.tsx +295 -0
- package/src/ui/HomeProjectList.tsx +327 -0
- package/src/ui/HomeRecents.tsx +293 -0
- package/src/ui/IdeStatusControl.tsx +49 -0
- package/src/ui/InlineNameInput.tsx +51 -0
- package/src/ui/InspectionViews.tsx +133 -0
- package/src/ui/LanguageDropdown.tsx +62 -0
- package/src/ui/McpSettingsDialog.tsx +169 -0
- package/src/ui/MinimalInspector.tsx +112 -0
- package/src/ui/Preview.tsx +68 -0
- package/src/ui/ProjectDialog.tsx +235 -0
- package/src/ui/ProjectHeader.tsx +213 -0
- package/src/ui/RegionSelector.tsx +106 -0
- package/src/ui/ReviewAttachments.tsx +331 -0
- package/src/ui/SandboxHeaderControls.tsx +30 -0
- package/src/ui/ScopeEditor.tsx +109 -0
- package/src/ui/Session.tsx +499 -0
- package/src/ui/SmartGuidesOverlay.tsx +86 -0
- package/src/ui/SpacingOverlay.tsx +33 -0
- package/src/ui/StandaloneSystemReader.tsx +322 -0
- package/src/ui/SystemView.tsx +56 -0
- package/src/ui/ThreadDetail.tsx +423 -0
- package/src/ui/Toolbar.tsx +195 -0
- package/src/ui/TooltipLayer.tsx +132 -0
- package/src/ui/Workbench.tsx +1081 -0
- package/src/ui/Workspace.tsx +497 -0
- package/src/ui/ZoomControls.tsx +131 -0
- package/src/ui/agent-delivery.css +88 -0
- package/src/ui/agentDelivery.ts +138 -0
- package/src/ui/annotations.css +146 -0
- package/src/ui/api.ts +340 -0
- package/src/ui/approvals/ApprovalActions.tsx +121 -0
- package/src/ui/approvals/ApprovalNoteComposer.tsx +69 -0
- package/src/ui/approvals/ApprovalStatusGlyph.tsx +39 -0
- package/src/ui/approvals/ApprovalsPanel.tsx +295 -0
- package/src/ui/approvals/ArtboardApprovalChip.tsx +61 -0
- package/src/ui/approvals/InlineApprovalPopover.tsx +180 -0
- package/src/ui/approvals/QuickReworkPopover.tsx +67 -0
- package/src/ui/approvals/approvalOrder.ts +36 -0
- package/src/ui/approvals/approvalUtils.ts +249 -0
- package/src/ui/approvals/approvals.css +476 -0
- package/src/ui/approvals/inline-approvals.css +125 -0
- package/src/ui/approvals/useApprovalsPanel.ts +257 -0
- package/src/ui/approvals/useInlineApproval.ts +22 -0
- package/src/ui/artboardBackground.ts +29 -0
- package/src/ui/artboardClipboard.ts +54 -0
- package/src/ui/artboardId.ts +5 -0
- package/src/ui/artboardPropertyEdits.ts +58 -0
- package/src/ui/assets/helpra-mark.svg +3 -0
- package/src/ui/authStorage.ts +184 -0
- package/src/ui/browserHost.ts +87 -0
- package/src/ui/browserUiSession.ts +30 -0
- package/src/ui/camera.ts +22 -0
- package/src/ui/cameraAnimation.ts +82 -0
- package/src/ui/canvas-placement.css +160 -0
- package/src/ui/canvas-render-priority.ts +26 -0
- package/src/ui/canvas-render-state.ts +60 -0
- package/src/ui/canvas.css +463 -0
- package/src/ui/canvasFit.ts +96 -0
- package/src/ui/canvasNavigation.ts +52 -0
- package/src/ui/canvasPlacementOps.ts +146 -0
- package/src/ui/catalog.css +119 -0
- package/src/ui/comment-layer.css +108 -0
- package/src/ui/comment-textarea.css +30 -0
- package/src/ui/commentDeliveryFailures.ts +40 -0
- package/src/ui/commentGeometry.ts +339 -0
- package/src/ui/commentLabels.ts +12 -0
- package/src/ui/commentPresentation.ts +32 -0
- package/src/ui/commentState.ts +90 -0
- package/src/ui/comments.css +419 -0
- package/src/ui/componentLibrary.ts +18 -0
- package/src/ui/context-menu.css +93 -0
- package/src/ui/contextMenuEditable.ts +215 -0
- package/src/ui/controls.css +186 -0
- package/src/ui/custom-select.css +131 -0
- package/src/ui/dialogs.css +137 -0
- package/src/ui/drawing/DrawingSnapshot.tsx +46 -0
- package/src/ui/drawing/PencilLayer.tsx +401 -0
- package/src/ui/drawing/drawingUtils.ts +294 -0
- package/src/ui/editorStyles.ts +28 -0
- package/src/ui/entry.css +210 -0
- package/src/ui/entry.types.ts +1 -0
- package/src/ui/fonts/README.md +5 -0
- package/src/ui/fonts/inter-cyrillic-wght-normal.woff2 +0 -0
- package/src/ui/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/src/ui/fonts.css +21 -0
- package/src/ui/frameMounting.ts +88 -0
- package/src/ui/helpra-tokens.css +361 -0
- package/src/ui/home-oss.css +191 -0
- package/src/ui/home-project-list.css +457 -0
- package/src/ui/home.css +374 -0
- package/src/ui/identifyBrowserClient.ts +28 -0
- package/src/ui/index.html +13 -0
- package/src/ui/inspector.css +556 -0
- package/src/ui/keyboardTarget.ts +5 -0
- package/src/ui/language-dropdown.css +30 -0
- package/src/ui/lazyTreeSession.ts +139 -0
- package/src/ui/library.css +212 -0
- package/src/ui/loadTopology.ts +74 -0
- package/src/ui/localizedCopy.ts +10 -0
- package/src/ui/localizedCopyEditor.ts +293 -0
- package/src/ui/localizedCopySystem.ts +177 -0
- package/src/ui/main.tsx +10 -0
- package/src/ui/markupExport.ts +166 -0
- package/src/ui/mobile.css +191 -0
- package/src/ui/models.ts +336 -0
- package/src/ui/navigation.css +373 -0
- package/src/ui/pointerCanvasPoint.ts +6 -0
- package/src/ui/previewInspection.ts +124 -0
- package/src/ui/previewProps.ts +76 -0
- package/src/ui/previewRecord.ts +61 -0
- package/src/ui/previewTreeDemand.ts +14 -0
- package/src/ui/primitives.tsx +207 -0
- package/src/ui/projectArtboardEdits.ts +21 -0
- package/src/ui/projectNames.ts +24 -0
- package/src/ui/projectRefresh.ts +48 -0
- package/src/ui/projectSelection.ts +41 -0
- package/src/ui/projectSourceEvents.ts +39 -0
- package/src/ui/public/fonts/OFL.txt +93 -0
- package/src/ui/publicSandbox.ts +2 -0
- package/src/ui/publicationPresentation.ts +35 -0
- package/src/ui/review-attachments.css +151 -0
- package/src/ui/scene.ts +133 -0
- package/src/ui/session.schemas.ts +35 -0
- package/src/ui/shell.css +294 -0
- package/src/ui/smartGuides.ts +239 -0
- package/src/ui/spacingGeometry.ts +84 -0
- package/src/ui/structuralRepeats.ts +226 -0
- package/src/ui/styles.css +146 -0
- package/src/ui/submitCommentOnEnter.ts +10 -0
- package/src/ui/system/ScreenConstantSample.tsx +84 -0
- package/src/ui/system/ScreenConstantsSection.tsx +184 -0
- package/src/ui/system/SystemAssets.tsx +95 -0
- package/src/ui/system/SystemComponents.tsx +94 -0
- package/src/ui/system/SystemDocument.tsx +74 -0
- package/src/ui/system/SystemFiles.tsx +136 -0
- package/src/ui/system/SystemMarkdown.tsx +236 -0
- package/src/ui/system/SystemNativeLibrary.tsx +37 -0
- package/src/ui/system/SystemNavigation.tsx +107 -0
- package/src/ui/system/SystemOverview.tsx +52 -0
- package/src/ui/system/SystemPreviewFrame.tsx +96 -0
- package/src/ui/system/SystemTokenSection.tsx +190 -0
- package/src/ui/system/SystemTypography.tsx +146 -0
- package/src/ui/system/SystemValue.tsx +52 -0
- package/src/ui/system/open-ds/OpenDsComponentsShowcase.tsx +224 -0
- package/src/ui/system/open-ds/OpenDsIcons.tsx +161 -0
- package/src/ui/system/open-ds/OpenDsSections.tsx +362 -0
- package/src/ui/system/open-ds/OpenDsTokenEditors.tsx +246 -0
- package/src/ui/system/open-ds/OverviewDocuments.tsx +146 -0
- package/src/ui/system/open-ds/SlidingNavigation.tsx +44 -0
- package/src/ui/system/open-ds/open-ds-components.css +109 -0
- package/src/ui/system/open-ds/open-ds-sections.css +356 -0
- package/src/ui/system/open-ds/openDsCatalogData.ts +294 -0
- package/src/ui/system/open-ds/openDsTokenSpecs.ts +192 -0
- package/src/ui/system/open-ds/useOpenDsPersistence.ts +213 -0
- package/src/ui/system/screen-constants.css +143 -0
- package/src/ui/system/screenConstants.ts +193 -0
- package/src/ui/system/standalone-reader.css +404 -0
- package/src/ui/system/system-browser.css +383 -0
- package/src/ui/system/system-content.css +220 -0
- package/src/ui/system/system-library.css +272 -0
- package/src/ui/system/system-markdown.css +99 -0
- package/src/ui/system/system-typography.css +83 -0
- package/src/ui/system/systemBrowser.types.ts +76 -0
- package/src/ui/system/systemBrowserSource.ts +203 -0
- package/src/ui/system/systemCatalog.ts +198 -0
- package/src/ui/system/systemPreviewUrl.ts +38 -0
- package/src/ui/system/systemReadQueue.ts +41 -0
- package/src/ui/system/systemTokens.ts +169 -0
- package/src/ui/system/systemValueStyle.ts +13 -0
- package/src/ui/system/useScreenConstants.ts +32 -0
- package/src/ui/system/useSystemAnchors.ts +85 -0
- package/src/ui/system/useSystemBrowser.ts +167 -0
- package/src/ui/system/useSystemFonts.ts +67 -0
- package/src/ui/system/useSystemVisibility.ts +23 -0
- package/src/ui/tooltip.css +36 -0
- package/src/ui/transfers.css +93 -0
- package/src/ui/transitions/TransitionBackPill.tsx +54 -0
- package/src/ui/transitions/TransitionControl.tsx +257 -0
- package/src/ui/transitions/TransitionPickerPopover.tsx +176 -0
- package/src/ui/transitions/transitionUtils.ts +223 -0
- package/src/ui/transitions/transitions.css +406 -0
- package/src/ui/transitions/useScreenTransitions.ts +308 -0
- package/src/ui/uiTheme.ts +51 -0
- package/src/ui/useArtboardCommands.ts +162 -0
- package/src/ui/useArtboardDrag.ts +83 -0
- package/src/ui/useArtboardPropertyEdits.ts +72 -0
- package/src/ui/useCamera.ts +291 -0
- package/src/ui/useCameraFlight.ts +84 -0
- package/src/ui/useCanvasAnnotations.ts +452 -0
- package/src/ui/useCanvasPlacement.ts +374 -0
- package/src/ui/useCanvasRenders.ts +314 -0
- package/src/ui/useCommentSubmissions.ts +47 -0
- package/src/ui/useInspection.ts +62 -0
- package/src/ui/useLiveInspection.ts +69 -0
- package/src/ui/useMountedFrames.ts +90 -0
- package/src/ui/usePopover.ts +58 -0
- package/src/ui/usePreviewChannel.ts +389 -0
- package/src/ui/usePreviewPanOwner.ts +41 -0
- package/src/ui/useProject.ts +498 -0
- package/src/ui/useProjectComments.ts +152 -0
- package/src/ui/useProjectSourceWatch.ts +89 -0
- package/src/ui/useProjectTopology.ts +16 -0
- package/src/ui/useUsages.ts +102 -0
- package/src/ui/useVisibleCanvasFrames.ts +37 -0
- package/src/ui/useWorkbench.ts +440 -0
- package/src/ui/useWorkbenchContextMenus.ts +456 -0
- package/src/ui/validation.constants.ts +12 -0
- package/src/ui/validationModel.ts +22 -0
- package/src/ui/workbenchI18n.ts +377 -0
- package/src/ui/workingCopyMutations.ts +43 -0
- package/templates/native-components/README.md +62 -0
- package/templates/native-components/components/app-shell/AppShell.tsx +392 -0
- package/templates/native-components/components/app-shell/README.md +5 -0
- package/templates/native-components/components/app-shell/StageScrollbar.tsx +185 -0
- package/templates/native-components/components/app-shell/component.json +34 -0
- package/templates/native-components/components/app-shell/examples/default.tsx +14 -0
- package/templates/native-components/components/app-state/AppState.tsx +151 -0
- package/templates/native-components/components/app-state/README.md +5 -0
- package/templates/native-components/components/app-state/component.json +73 -0
- package/templates/native-components/components/app-state/examples/form.tsx +7 -0
- package/templates/native-components/components/app-state/examples/list.tsx +7 -0
- package/templates/native-components/components/app-state/examples/panel.tsx +7 -0
- package/templates/native-components/components/app-state/examples/screen.tsx +7 -0
- package/templates/native-components/components/badge/Badge.tsx +18 -0
- package/templates/native-components/components/badge/README.md +5 -0
- package/templates/native-components/components/badge/component.json +87 -0
- package/templates/native-components/components/badge/examples/accent.tsx +7 -0
- package/templates/native-components/components/badge/examples/danger.tsx +7 -0
- package/templates/native-components/components/badge/examples/neutral.tsx +7 -0
- package/templates/native-components/components/badge/examples/success.tsx +7 -0
- package/templates/native-components/components/badge/examples/warning.tsx +7 -0
- package/templates/native-components/components/button/Button.tsx +15 -0
- package/templates/native-components/components/button/README.md +5 -0
- package/templates/native-components/components/button/component.json +73 -0
- package/templates/native-components/components/button/examples/add.tsx +7 -0
- package/templates/native-components/components/button/examples/ghost.tsx +7 -0
- package/templates/native-components/components/button/examples/primary.tsx +7 -0
- package/templates/native-components/components/button/examples/secondary.tsx +7 -0
- package/templates/native-components/components/card/Card.tsx +19 -0
- package/templates/native-components/components/card/README.md +5 -0
- package/templates/native-components/components/card/component.json +45 -0
- package/templates/native-components/components/card/examples/md.tsx +7 -0
- package/templates/native-components/components/card/examples/sm.tsx +7 -0
- package/templates/native-components/components/class-names.ts +9 -0
- package/templates/native-components/components/composer/Composer.tsx +61 -0
- package/templates/native-components/components/composer/README.md +5 -0
- package/templates/native-components/components/composer/component.json +43 -0
- package/templates/native-components/components/composer/examples/compact.tsx +12 -0
- package/templates/native-components/components/composer/examples/default.tsx +12 -0
- package/templates/native-components/components/field-message.tsx +16 -0
- package/templates/native-components/components/focus-layer.ts +146 -0
- package/templates/native-components/components/form-field.ts +27 -0
- package/templates/native-components/components/helpra-logo/HelpraLogo.tsx +27 -0
- package/templates/native-components/components/helpra-logo/README.md +5 -0
- package/templates/native-components/components/helpra-logo/component.json +43 -0
- package/templates/native-components/components/helpra-logo/examples/compact.tsx +7 -0
- package/templates/native-components/components/helpra-logo/examples/default.tsx +7 -0
- package/templates/native-components/components/helpra-mark-path.ts +2 -0
- package/templates/native-components/components/helpra-mascot/HelpraMascot.tsx +45 -0
- package/templates/native-components/components/helpra-mascot/README.md +5 -0
- package/templates/native-components/components/helpra-mascot/component.json +57 -0
- package/templates/native-components/components/helpra-mascot/examples/default.tsx +7 -0
- package/templates/native-components/components/helpra-mascot/examples/loading.tsx +7 -0
- package/templates/native-components/components/helpra-mascot/examples/thinking.tsx +7 -0
- package/templates/native-components/components/index.ts +47 -0
- package/templates/native-components/components/input/Input.tsx +59 -0
- package/templates/native-components/components/input/README.md +5 -0
- package/templates/native-components/components/input/component.json +43 -0
- package/templates/native-components/components/input/examples/default.tsx +7 -0
- package/templates/native-components/components/input/examples/invalid.tsx +7 -0
- package/templates/native-components/components/metric-grid/MetricGrid.tsx +40 -0
- package/templates/native-components/components/metric-grid/README.md +5 -0
- package/templates/native-components/components/metric-grid/component.json +29 -0
- package/templates/native-components/components/metric-grid/examples/default.tsx +7 -0
- package/templates/native-components/components/modal/Modal.tsx +75 -0
- package/templates/native-components/components/modal/README.md +5 -0
- package/templates/native-components/components/modal/component.json +31 -0
- package/templates/native-components/components/modal/examples/default.tsx +13 -0
- package/templates/native-components/components/panel-resize-handle/PanelResizeHandle.tsx +52 -0
- package/templates/native-components/components/panel-resize-handle/README.md +5 -0
- package/templates/native-components/components/panel-resize-handle/component.json +29 -0
- package/templates/native-components/components/panel-resize-handle/examples/default.tsx +13 -0
- package/templates/native-components/components/profile-avatar/ProfileAvatar.tsx +37 -0
- package/templates/native-components/components/profile-avatar/README.md +5 -0
- package/templates/native-components/components/profile-avatar/component.json +45 -0
- package/templates/native-components/components/profile-avatar/examples/md.tsx +7 -0
- package/templates/native-components/components/profile-avatar/examples/sm.tsx +7 -0
- package/templates/native-components/components/row-card/README.md +5 -0
- package/templates/native-components/components/row-card/RowCard.tsx +33 -0
- package/templates/native-components/components/row-card/component.json +43 -0
- package/templates/native-components/components/row-card/examples/current.tsx +7 -0
- package/templates/native-components/components/row-card/examples/default.tsx +7 -0
- package/templates/native-components/components/select/README.md +5 -0
- package/templates/native-components/components/select/Select.tsx +66 -0
- package/templates/native-components/components/select/component.json +29 -0
- package/templates/native-components/components/select/examples/default.tsx +7 -0
- package/templates/native-components/components/shell-nav-icon-graphic/README.md +5 -0
- package/templates/native-components/components/shell-nav-icon-graphic/ShellNavIconGraphic.tsx +148 -0
- package/templates/native-components/components/shell-nav-icon-graphic/component.json +45 -0
- package/templates/native-components/components/shell-nav-icon-graphic/examples/home.tsx +7 -0
- package/templates/native-components/components/shell-nav-icon-graphic/examples/settings.tsx +7 -0
- package/templates/native-components/components/shell-resizer.ts +304 -0
- package/templates/native-components/components/skeleton/README.md +5 -0
- package/templates/native-components/components/skeleton/Skeleton.tsx +20 -0
- package/templates/native-components/components/skeleton/component.json +87 -0
- package/templates/native-components/components/skeleton/examples/block.tsx +7 -0
- package/templates/native-components/components/skeleton/examples/card.tsx +7 -0
- package/templates/native-components/components/skeleton/examples/circle.tsx +7 -0
- package/templates/native-components/components/skeleton/examples/text.tsx +7 -0
- package/templates/native-components/components/skeleton/examples/title.tsx +7 -0
- package/templates/native-components/components/status-badge/README.md +5 -0
- package/templates/native-components/components/status-badge/StatusBadge.tsx +18 -0
- package/templates/native-components/components/status-badge/component.json +75 -0
- package/templates/native-components/components/status-badge/examples/danger.tsx +7 -0
- package/templates/native-components/components/status-badge/examples/neutral.tsx +7 -0
- package/templates/native-components/components/status-badge/examples/success.tsx +7 -0
- package/templates/native-components/components/status-badge/examples/warning.tsx +7 -0
- package/templates/native-components/components/step-indicator/README.md +5 -0
- package/templates/native-components/components/step-indicator/StepIndicator.tsx +30 -0
- package/templates/native-components/components/step-indicator/component.json +29 -0
- package/templates/native-components/components/step-indicator/examples/default.tsx +7 -0
- package/templates/native-components/components/styles.css +2 -0
- package/templates/native-components/components/table/README.md +5 -0
- package/templates/native-components/components/table/Table.tsx +95 -0
- package/templates/native-components/components/table/component.json +45 -0
- package/templates/native-components/components/table/examples/scroll.tsx +10 -0
- package/templates/native-components/components/table/examples/stack.tsx +10 -0
- package/templates/native-components/components/tabs/README.md +5 -0
- package/templates/native-components/components/tabs/Tabs.tsx +217 -0
- package/templates/native-components/components/tabs/component.json +29 -0
- package/templates/native-components/components/tabs/examples/default.tsx +10 -0
- package/templates/native-components/components/textarea/README.md +5 -0
- package/templates/native-components/components/textarea/Textarea.tsx +60 -0
- package/templates/native-components/components/textarea/component.json +29 -0
- package/templates/native-components/components/textarea/examples/default.tsx +7 -0
- package/templates/native-components/components/window/README.md +5 -0
- package/templates/native-components/components/window/Window.tsx +25 -0
- package/templates/native-components/components/window/component.json +43 -0
- package/templates/native-components/components/window/examples/default.tsx +8 -0
- package/templates/native-components/components/window/examples/detached.tsx +8 -0
- package/templates/native-components/tsconfig.json +7 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="ru">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<meta name="theme-color" content="#f7f7fa" />
|
|
7
|
+
<title>Helpra Design</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-DCndCScv.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BpwlDiXE.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="root"></div>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Agent workflow
|
|
2
|
+
|
|
3
|
+
Use the distributable [Helpra Design skills](../skills/README.md) with the selected standalone project and its authorized MCP service or filesystem environment. Each working copy has one source writer; other agents use separate checkouts/worktrees. Review messages can change independently.
|
|
4
|
+
|
|
5
|
+
## From feedback to a shared change
|
|
6
|
+
|
|
7
|
+
1. Read `design.manifest.json` and obtain project/working-copy context at a known source revision. Resolve one system and one component library. Read the system's `rules/components.md` and the rules relevant to the request.
|
|
8
|
+
2. Inspect the selected node and its mapped definition, then read current thread messages and versions. Separate where feedback was observed (`target`) from the source change's intended impact (`changeScope`).
|
|
9
|
+
3. Find usages across all canvases, following pagination and retaining unknown/detached warnings. Group compatible feedback. Surface conflicting values for the same property/scope before changing that property.
|
|
10
|
+
4. For a shared component, variant or token change, use `helpra-design-system` within the same agent. Apply the narrowest supported change to the real common source. Use named variants/specialized components for intended differences according to the project's policy.
|
|
11
|
+
5. Apply with expected content revision and per-file hashes. On conflict, reread context and diff, preserve the other edits and revise the patch. A local raw file edit does not inherit the service transaction's guarantees.
|
|
12
|
+
6. Confirm affected consumers were invalidated, rebuild them and validate the actual resulting revision. Capture the affected artboards, open the returned images and exercise the relevant controls. Keep build/import, visual and interaction evidence separate.
|
|
13
|
+
7. Mark addressed using the current thread version, the actual source revision and persisted validation/capture IDs. New messages can invalidate the discussion version while source remains unchanged.
|
|
14
|
+
8. Review the addressed result with read-only `design_get_comment_evidence({workingCopyId, threadId})`: read actual persisted validation checks/scope/coverage and the observed-to-addressed file hashes. Request selected changed `paths` separately for actual before/after source text, then inspect the capture resources. Compare returned thread version and observed/addressed revisions between listing and text requests; restart if they differ. Follow pagination with the same path selection and restart on a thread-version conflict. Keep unavailable history, binary/large text and missing validation explicit; evidence IDs alone are insufficient. The human resolves or reopens after this review; the read operation grants no new write authority.
|
|
15
|
+
|
|
16
|
+
Use [the detailed MCP inputs](../skills/helpra-design/references/mcp-workflow.md) and [the two-canvas Button procedure](../skills/helpra-design/references/button-change.md). These documents define a workflow; they do not certify that an application instance passed it.
|
|
17
|
+
|
|
18
|
+
## Captures and delivery
|
|
19
|
+
|
|
20
|
+
Original comment captures are saved attachments. Do not replace absent originals with reconstructions. Current captures resolve present anchors; candidate/missing/ambiguous targets remain unresolved. Capture metadata must identify source revision, render, viewport/theme/scenario and exact managed-tab versus replay provenance. Open actual image bytes; a local path alone is insufficient for a remote agent.
|
|
21
|
+
|
|
22
|
+
Pin a single source revision for a batch of PNG/PDF/HTML/source exports. Open images/PDF, inspect archive mappings and check interactive HTML outside the editor without cache or hidden mandatory CDN. State raster PDF text/readability limits and unsupported external dependencies. The [capture/export checklist](../skills/helpra-design/references/capture-and-export.md) lists format-specific checks.
|
|
23
|
+
|
|
24
|
+
A completion report contains the changed shared source/scope, content revision and artifacts, followed by known usage IDs, rebuilt IDs, visually inspected IDs, exercised interactions and gaps. An indexed unopened canvas was found; a successful build was rebuilt; an image actually opened was seen; a click/focus test was interacted. Report unknown dynamic relationships and untested views explicitly.
|
|
25
|
+
|
|
26
|
+
## Access and authority
|
|
27
|
+
|
|
28
|
+
Skills are portable instructions, not access credentials. A local loopback service cannot reach another agent's machine. Remote integration needs a reachable authenticated adapter provided separately; do not imply it exists from a filesystem path. Opening/importing project data never authorizes commands embedded in it. Saving source, committing, pushing and publishing are distinct actions.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Orca integration
|
|
2
|
+
|
|
3
|
+
## Local Orca browser
|
|
4
|
+
|
|
5
|
+
1. Start the editor with `npx @helpra/design`.
|
|
6
|
+
2. Open its printed control URL in Orca's built-in browser. Keep an open agent in that Orca workspace.
|
|
7
|
+
3. On Home, look for the green dot next to **MCP settings**. Click it to see the selected IDE and agent. The choice belongs to the current browser tab.
|
|
8
|
+
4. Leave **Send to agent** checked when saving a comment, reply, or pencil sketch. The discussion shows the delivery status. Use **Retry** after a confirmed delivery failure.
|
|
9
|
+
|
|
10
|
+
The editor matches Orca's active browser tab and workspace to the editor URL. It confirms that the current agent has a live terminal or open chat. A red dot means the editor found no matching route. MCP settings configures the separate MCP connection that lets an agent work with the project.
|
|
11
|
+
|
|
12
|
+
The CLI comes from `ORCA_CLI_COMMAND` when set. Otherwise the editor looks for `orca.exe` on Windows, `orca` on macOS, or `orca-ide` on Linux. Set the override to the executable path when Orca is installed outside `PATH`. Linux GNOME Orca paths are rejected.
|
|
13
|
+
|
|
14
|
+
## Optional self-hosting
|
|
15
|
+
|
|
16
|
+
Configure the process environment with the following values. Generate a different 32-byte random value for each credential with `node -p "require('node:crypto').randomBytes(32).toString('base64url')"`.
|
|
17
|
+
|
|
18
|
+
| Variable | Value |
|
|
19
|
+
| --- | --- |
|
|
20
|
+
| `DESIGN_CONTROL_ORIGIN` | Exact HTTPS origin for the editor, such as `https://design.example.org` |
|
|
21
|
+
| `DESIGN_PREVIEW_ORIGIN` | Exact HTTPS origin on a separate hostname, such as `https://preview.design.example.org` |
|
|
22
|
+
| `DESIGN_HUMAN_TOKEN` | Owner key entered in the browser |
|
|
23
|
+
| `DESIGN_AGENT_TOKEN` | Agent credential sent as `Authorization: Bearer …` |
|
|
24
|
+
| `HELPRA_DESIGN_HOME` | Optional dedicated directory for the server workspace |
|
|
25
|
+
|
|
26
|
+
Start with `npx @helpra/design --mode remote`. Proxy the control and preview hostnames to ports 4310 and 4311 respectively. Preserve each original Host header and allow SSE streaming. The process binds to loopback by default. In an isolated container network, set `DESIGN_BIND_HOST=0.0.0.0`.
|
|
27
|
+
|
|
28
|
+
For Docker Compose, configure `DESIGN_HOST` and `DESIGN_PREVIEW_HOST` as hostnames without the scheme and set both credentials. From a checkout run `docker compose -f deploy/compose.oss.yaml up --build`. Caddy handles TLS for those hostnames. The editor workspace is stored in the `workspace` volume.
|
|
29
|
+
|
|
30
|
+
The browser uses a protected `__Host-hd_session` cookie. Agents connect to Streamable HTTP at the control origin's `/mcp`. Use the Bearer header on every request and keep it out of URLs. Use `--stateless-mcp` for stateless proxies. From **MCP settings**, the owner can issue an additional agent key. The editor shows it once and stores only its hash. Rotating the owner key invalidates the keys issued under it. OAuth is outside v1. The private HTTP switch `--allow-private-http-origins` is for explicitly trusted networks. Secure browser sessions require HTTPS in production.
|
|
31
|
+
|
|
32
|
+
### Forward to a local Orca workspace
|
|
33
|
+
|
|
34
|
+
Open the remote editor URL in Orca's built-in browser with an active agent. On the same computer, put the server's agent credential in `DESIGN_AGENT_TOKEN`, then run:
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
npx @helpra/design orca-bridge --origin https://design.example.org
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The bridge advertises an available target while its active browser tab and agent match. It listens for comment events over SSE, checks the current recipient again, and acknowledges delivery to the server. Select the bridge in the editor if multiple channels are available.
|
|
41
|
+
|
|
42
|
+
The Orca message includes the comment, project context, and a link to the thread. When image bytes are available to the local sender, it saves temporary copies in its private state directory and includes their file paths. A confirmed refusal removes the copies for that attempt. Copies older than 24 hours are removed on the next send, and the original images remain available in the discussion. Images above the bridge transfer limit are listed by their MCP resource URI. Orca delivery represents acceptance by the destination mailbox. An unconfirmed send is displayed separately to avoid waking the agent twice.
|
|
43
|
+
|
|
44
|
+
### Use a webhook
|
|
45
|
+
|
|
46
|
+
Set `DESIGN_AGENT_WEBHOOK_URL` to the receiver's HTTPS endpoint and `DESIGN_AGENT_WEBHOOK_SECRET` to a shared signing key of at least 32 characters. Select **Webhook** as the delivery channel when composing or replying to a comment. The Home indicator shows open IDE agents.
|
|
47
|
+
|
|
48
|
+
The request body is an `AgentCommentDispatchPayload` JSON object. Verify `X-Helpra-Dispatch-Signature` using HMAC-SHA256 over the string `X-Helpra-Dispatch-Timestamp + "." + rawBody` and compare digests in constant time. The header is `sha256=<hex digest>`. Reject stale timestamps. Use `Idempotency-Key` as the stable deduplication key, persist it before acknowledging, and return 2xx on a duplicate already accepted. The optional `X-Helpra-Message-Id` response header appears in the delivery receipt.
|
|
49
|
+
|
|
50
|
+
## Electron host SDK
|
|
51
|
+
|
|
52
|
+
`@helpra/design/embed` ships JavaScript and TypeScript declarations and has no runtime dependencies. It supports Orca and Helpra Works Desktop as host types.
|
|
53
|
+
|
|
54
|
+
For a `WebContentsView`, expose a `HelpraDesignHostBridge` with Electron's `contextBridge.exposeInMainWorld("helpraDesignHost", bridge)`. Keep `contextIsolation` enabled and Node integration disabled. Bind the preload and IPC handlers to the expected editor origin.
|
|
55
|
+
|
|
56
|
+
For an iframe, start the local editor with `DESIGN_EMBED_PARENT_ORIGIN` set to the parent's exact HTTP(S) origin. Call `exposeDesignHost(bridge, iframe.contentWindow, editorOrigin)` from the parent. Keep the cleanup function and call it on unmount. The editor's `connectDesignHost` checks the source window and exact origin for calls, replies, and context changes. The parent origin is configured at startup.
|
|
57
|
+
|
|
58
|
+
| Direction | API |
|
|
59
|
+
| --- | --- |
|
|
60
|
+
| Host to Design | `getContext()` supplies the theme, locale, active agent, capabilities, and optional initial view and target |
|
|
61
|
+
| Host to Design | `onContextChanged(listener)` subscribes to live context updates |
|
|
62
|
+
| Design to host | `sendToAgent(payload)` returns delivery status and an optional message ID |
|
|
63
|
+
| Design to host | `titleChanged(state)` and `selectionChanged(state)` synchronize tab chrome |
|
|
64
|
+
| Design to host | `openExternal(url)`, `contextMenu(event)`, and `setFullscreen(enabled)` delegate host actions |
|
|
65
|
+
|
|
66
|
+
Validate command arguments again in privileged Electron handlers. Accept external links only for permitted schemes. Bind `sendToAgent` to open agents and deduplicate by `dispatchId`. The artboard preview is on a separate origin and does not participate in the host bridge.
|
package/package.json
CHANGED
|
@@ -1,6 +1,89 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helpra/design",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"homepage": "https://design.helpra.app",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/HelpraDev/helpra-design.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/HelpraDev/helpra-design/issues"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=24.0.0"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"start": "tsx src/service/cli.ts",
|
|
21
|
+
"dev": "tsx watch src/service/cli.ts",
|
|
22
|
+
"demo": "tsx src/service/cli.ts demo",
|
|
23
|
+
"mcp": "tsx src/service/stdio.ts",
|
|
24
|
+
"typecheck": "tsc --noEmit && tsc -p templates/native-components",
|
|
25
|
+
"build": "vite build --config vite.ui.config.ts && tsc -p tsconfig.embed.json",
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:e2e": "playwright test",
|
|
28
|
+
"lint": "eslint src tests templates/native-components *.ts eslint.config.js --max-warnings=0",
|
|
29
|
+
"check": "npm run lint && npm run typecheck && npm test",
|
|
30
|
+
"server": "tsx src/service/server.ts",
|
|
31
|
+
"publication:validate": "tsx src/publication/cli.ts",
|
|
32
|
+
"prepack": "npm run build",
|
|
33
|
+
"pack:smoke": "node scripts/pack-smoke.mjs",
|
|
34
|
+
"build:site": "vite build --config vite.site.config.ts && node scripts/build-site.mjs",
|
|
35
|
+
"test:site": "playwright test --config playwright.site.config.ts"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@modelcontextprotocol/sdk": "1.32.2",
|
|
39
|
+
"chokidar": "6.0.0",
|
|
40
|
+
"fflate": "0.8.3",
|
|
41
|
+
"lightningcss": "1.33.0",
|
|
42
|
+
"lucide-react": "0.555.0",
|
|
43
|
+
"parse5": "8.1.1",
|
|
44
|
+
"pdf-lib": "1.17.1",
|
|
45
|
+
"postcss": "8.5.32",
|
|
46
|
+
"react": "19.3.1",
|
|
47
|
+
"react-dom": "19.3.1",
|
|
48
|
+
"sharp": "0.35.5",
|
|
49
|
+
"unicode-case-folding": "1.1.2",
|
|
50
|
+
"vite": "8.3.8",
|
|
51
|
+
"zod": "4.6.7",
|
|
52
|
+
"tsx": "4.23.15",
|
|
53
|
+
"typescript": "6.0.3",
|
|
54
|
+
"@playwright/test": "1.65.0"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@eslint/js": "10.0.1",
|
|
58
|
+
"@types/node": "26.6.6",
|
|
59
|
+
"@types/react": "19.3.0",
|
|
60
|
+
"@types/react-dom": "19.3.0",
|
|
61
|
+
"eslint": "10.15.0",
|
|
62
|
+
"typescript-eslint": "8.72.2",
|
|
63
|
+
"vitest": "5.1.0"
|
|
64
|
+
},
|
|
65
|
+
"license": "Apache-2.0",
|
|
66
|
+
"bin": {
|
|
67
|
+
"helpra-design": "bin/helpra-design.mjs"
|
|
68
|
+
},
|
|
69
|
+
"files": [
|
|
70
|
+
"LICENSE",
|
|
71
|
+
"bin",
|
|
72
|
+
"design-system/helpra/tokens.json",
|
|
73
|
+
"dist/ui",
|
|
74
|
+
"dist/embed",
|
|
75
|
+
"docs/agent-workflow.md",
|
|
76
|
+
"docs/orca-integration.md",
|
|
77
|
+
"README.ru.md",
|
|
78
|
+
"src",
|
|
79
|
+
"skills",
|
|
80
|
+
"templates/native-components"
|
|
81
|
+
],
|
|
82
|
+
"description": "A local-first design workspace for humans and AI agents",
|
|
83
|
+
"exports": {
|
|
84
|
+
"./embed": {
|
|
85
|
+
"types": "./dist/embed/index.d.ts",
|
|
86
|
+
"import": "./dist/embed/index.js"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
package/skills/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Helpra Design agent skills
|
|
2
|
+
|
|
3
|
+
This directory distributes skills for the standalone Helpra Design application:
|
|
4
|
+
|
|
5
|
+
| Package | Use |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `helpra-design-system/` | One project system, token/rule work and shared component/variant changes |
|
|
8
|
+
| `helpra-design/` | Canvas editing, anchored comments, MCP, captures and versioned delivery |
|
|
9
|
+
| [`helpra-screen-composition/`](helpra-screen-composition/SKILL.md) | Public screen palette, shared screen constants, preview and authorized delivery |
|
|
10
|
+
|
|
11
|
+
Copy each complete directory into the skill directory supported by your agent host, or attach it to that host's project skill configuration. Keep `SKILL.md` with any bundled `references/`, `templates/` and `agents/`. Install `helpra-design` and `helpra-design-system` for comment-driven shared edits. Installation is manual; opening the application does not modify global agent configuration. Hosts without Codex UI metadata may ignore `agents/openai.yaml` and read `SKILL.md` directly.
|
|
12
|
+
|
|
13
|
+
Invoke `$helpra-design` for project/comment work and `$helpra-design-system` for system or library work. The general skill loads the system procedure in the same agent when shared behavior changes. It does not require a second thread. Both skills read the selected project's manifest-resolved `rules/components.md`; no policy copy is shipped here.
|
|
14
|
+
|
|
15
|
+
Invoke `$helpra-screen-composition` when assembling or editing HTML screens in a project with `component-pool-v1`.
|
|
16
|
+
|
|
17
|
+
Connect the agent to an authorized local Helpra Design MCP service, or give it the selected local project files in an authorized environment. Discover the service's actual schemas before use. The application supplies operations; these packages do not install dependencies, start builds from untrusted projects, expose a server, or make another computer's local paths accessible.
|
|
18
|
+
|
|
19
|
+
Example request:
|
|
20
|
+
|
|
21
|
+
> Use $helpra-design to address the primary Button comment across the project. Find all consumers, change the shared variant, inspect both affected canvases and return PNG plus interactive HTML at one revision. Report any untested views.
|
|
22
|
+
|
|
23
|
+
Follow [the reproducible Button workflow](helpra-design/references/button-change.md) and [the agent workflow](../docs/agent-workflow.md). JSON descriptors in each package's `templates/` match format v1; adapt their sample IDs and paths and run the application's validation before use. They are not full source projects and do not supply missing project rules or implementation modules.
|
|
24
|
+
|
|
25
|
+
A compatible format/API is required. A successful skill-package check proves packaging and template shape, not that a connected application has rendered, inspected or exported a project. Keep those runtime results separate.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: helpra-design
|
|
3
|
+
description: Inspect Helpra designs and comments, author screens from live product donors, and hand approved designs to Linear.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Helpra Design
|
|
7
|
+
|
|
8
|
+
Discover the tools available to your connection and their schemas. Use the served guide identity. A separate publisher credential exposes `design_publish_changes` and `design_get_publication_status` with no source or comment writes.
|
|
9
|
+
|
|
10
|
+
1. Call `design_list_projects({})`. Select the authoritative project and its `workingCopyId`. Check publication freshness.
|
|
11
|
+
2. Before authoring any mockup, read `design_get_guide({view:"section",section:"designing-screens"})`. Follow it to select a revision and request a compact `design_get_project_brief` at that revision.
|
|
12
|
+
3. Find a donor with `design_query_graph({workingCopyId,contentRevision,kind:"artboard",query:"screen name"})`. Keep the same `contentRevision` for subsequent reads and captures. MCP defaults to three rows. Use a native artboard ID from a sample or graph node.
|
|
13
|
+
4. Call `design_get_context({workingCopyId,contentRevision,detail:"implementation",artboardId})` for the selected source and asset references. For exact bytes, use `detail:"files",read:"chunk",paths:[path]` with the same IDs. Follow cursors with identical selectors. Decode base64 chunks individually and reconstruct by offset. Explicit `read:"full"` returns a whole file.
|
|
14
|
+
5. Call `design_screenshot_artboard({workingCopyId,artboardId,contentRevision})` for an inline PNG. Inspect a known node or instance with its render ID. Match viewport, theme, fonts, content and state. Static evidence and captures leave interaction and dynamic dependencies unverified.
|
|
15
|
+
6. Before designing, study 2–4 live screens across different canvases and pages, compare their screenshots and read the system tokens, native components and rules. Reuse the closest shell. Render and visually verify one pilot before building a batch.
|
|
16
|
+
|
|
17
|
+
`design_get_guide({view:"index"})` lists sections. Use `view:"section"` for one member. `view:"full"` or `helpra-design://guides/helpra-design` returns the complete guide.
|
|
18
|
+
|
|
19
|
+
For authorized local edits, follow the relevant section and actual system rules. Shared edits require `helpra-design-system`, usage checks and optimistic hashes. Find matching markup with `design_find_elements({workingCopyId,contentRevision,selector,text})`. Follow cursors with the same filters and check coverage. Keep comment target separate from change scope. The human resolves discussions. Follow [comments and anchors](references/comments-and-anchors.md) for local commits and Linear handoff after approval.
|
|
20
|
+
|
|
21
|
+
MCP sets directly edited or newly created artboards to `in_progress`. Shared component, shell and CSS edits alone preserve existing approvals. After verifying the result, explicitly call `design_set_artboard_approval` with `status:"pending_approval"` for the artboards ready for review. Use the same explicit step to submit an artboard affected only by a shared edit.
|
|
22
|
+
|
|
23
|
+
For authorized publishing, read the `mcp-workflow` section. Queue the exact commit with current publication identity. Poll `design_get_publication_status({operationId})` across reconnects. The receipt is historical and current publication can be unknown during restart. A guide-only update can preserve catalog content revisions.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Example: one comment, one shared Button change
|
|
2
|
+
|
|
3
|
+
Use the local editor's shared demo project or a disposable copy with at least two canvases that import the same Button. This example requires the authorized local editing operations; the remote publication viewer remains read-only. The procedure discovers IDs; it does not depend on copied screenshot coordinates or machine-specific paths. Do not perform it on a user's project without an authorized request.
|
|
4
|
+
|
|
5
|
+
1. Discover the selected `workingCopyId` and query the compact graph to choose the relevant canvas/page/artboard before reading its source or rendering. Generic demo projects may have structural topology with missing description coverage. Obtain the selected context and system rules, including `rules/components.md`. Record the base `contentRevision`. Find a Button definition with `primary` and `secondary` variants, then inspect a primary instance on the first canvas.
|
|
6
|
+
2. Render that artboard at the recorded revision. Create a human feedback thread through the UI on the primary Button, for example “Increase the primary Button horizontal padding; keep secondary unchanged.” Record the actual observed render. The thread target is that instance; its change scope is the shared primary variant. Missing original capture must not prevent thread creation.
|
|
7
|
+
3. Read the thread and other relevant open comments. Find all usages of this Button, following pagination. Confirm at least one primary consumer on another canvas and retain any unopened, dynamic or detached warnings. Record each known artboard ID. If a second comment requests an incompatible padding for the same variant, expose the conflict before editing; use a named variant if a deliberate difference is authorized.
|
|
8
|
+
4. Load `helpra-design-system` in the same agent. Inspect the component's source, descriptor, README, token inputs and base relationships. Choose a padding already supported by the project's spacing roles or an explicit requested value. Apply a minimal shared primary-variant change with base revision and file hashes; do not patch a single rendered instance or widen a foundation token without checking its consumers.
|
|
9
|
+
5. Read the apply receipt and affected preview state. Confirm known consumers are invalidated. Validate the new source revision. Rebuild all known affected artboards, including the second canvas. A closed artboard counts as updated only after its actual rebuild, not merely because it was found.
|
|
10
|
+
6. Capture both primary consumers at the new revision and open the actual image resources. Inspect the requested spacing and a secondary control for unintended impact. Exercise the relevant click and keyboard-focus behavior in the browser and report those observations separately. A screenshot does not demonstrate those interactions.
|
|
11
|
+
7. Request the original and current captures of the comment. The original must retain its saved bytes/provenance; current must resolve the present exact anchor. Report `original_capture_unavailable` or unresolved targets honestly. Obtain final persisted validation with its capture coverage, then mark addressed with the current thread version and real validation/capture IDs. For the addressed result, read `design_get_comment_evidence` without paths to inspect the actual persisted validation and changed-file hashes, then select returned changed paths to read their before/after text. Check the primary-only source change, scope/revision and retained warnings against the request, and open the captures. Report missing history or unavailable text. IDs alone do not demonstrate the fix; the human chooses resolve or reopen after reviewing this evidence.
|
|
12
|
+
8. Export the two artboards at the same pinned revision in the requested formats. Open PNG/PDF, exercise exported HTML outside the editor and check the multi-item mapping. Report source revision; found, rebuilt, seen and interacted IDs; unavailable captures; unknown dependencies; and exact untested views.
|
|
13
|
+
|
|
14
|
+
Success requires a common-source update visible on both inspected canvases and supported evidence for the assertions made. If only one view was opened, that is a partial visual check even when both builds passed. The package checks validate templates and this workflow's contract; deployment/runtime evidence is recorded by the application's acceptance run.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Canvases, pages and artboards
|
|
2
|
+
|
|
3
|
+
A canvas groups pages; a page groups artboards; an artboard references a real HTML or React entrypoint, viewport and supported preview state. Read neighboring descriptors and the installed schemas before adding IDs or references. Use the `templates/` files as structurally validated examples, then replace sample IDs and paths consistently.
|
|
4
|
+
|
|
5
|
+
Use the compact semantic graph to find a canvas, page or artboard by its purpose/state description before opening its live content. Follow native parent/child identities for hierarchy; inspect source-verified related/variant/navigation edges separately. A disabled or ambiguous reference is not a selectable verified transition. Exercise a live interaction only when the request needs runtime evidence, and report that result separately from source mapping.
|
|
6
|
+
|
|
7
|
+
The optional native `design.graph.json` stores semantic descriptions and evidence-backed relations using existing IDs. Names, hierarchy, paths and artboard state come from native descriptors. Current published Business and Works catalogs require complete descriptions for every canvas, page and artboard, including honest empty-page descriptions. When an authorized local edit changes structure or purpose, keep the matching graph entry and evidence current using the installed schema. Do not create descriptions as canvas notes/text or infer variants from similar names. Generic local projects and old revisions can lack graph metadata; retain their explicit coverage gap.
|
|
8
|
+
|
|
9
|
+
Keep stable IDs when renaming or moving an object. A duplicate needs new IDs, including the repeated-instance context where required. Check all references after deletion and leave unresolved comments visible rather than discarding them.
|
|
10
|
+
|
|
11
|
+
Use real shared modules for components. A copied HTML fragment or local CSS patch does not demonstrate a shared update. Route shared changes through `helpra-design-system` and the project's `rules/components.md`.
|
|
12
|
+
|
|
13
|
+
Choose viewport/theme/scenario from the artboard and the request. Treat empty/loading/error as distinct states when affected. Repeated data rows require stable entity keys for instance IDs, so sorting does not attach feedback to another row.
|
|
14
|
+
|
|
15
|
+
The preview is a separate, restricted origin. Keep control credentials, cookies, file APIs and host commands out of project HTML. Use supported operations for inspection and capture. Native HTML preview does not require installing arbitrary project dependencies. A custom pipeline is a separate explicit environment mode.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Capture and export
|
|
2
|
+
|
|
3
|
+
For an artboard or region, choose the actual content revision, theme, viewport and scenario. Wait for the supported renderer, fonts and assets. Record whether provenance is an exact managed tab, scenario replay or unavailable. Do not describe a replay as an exact earlier interaction or a random animation frame as reproducible.
|
|
4
|
+
|
|
5
|
+
A capture must return an accessible image resource with MIME, dimensions, `contentRevision` and `renderId`. Open that resource using the host's image/resource viewer and inspect the image. A server-local path is not image access for a remote agent. If the host cannot read the bytes, report the capture as produced but uninspected.
|
|
6
|
+
|
|
7
|
+
Region coordinates are logical artboard coordinates. Account for zoom, scroll, DPR and bounds through the application's region operation; do not multiply scale twice. For comment captures, request `original` from its stored attachment and `current` from the current resolved anchor. Report unavailable originals or unresolved current targets directly.
|
|
8
|
+
|
|
9
|
+
Resolve `current` once for a batch and pin every item to that immutable revision. Export artboard/page/canvas/project selections using the installed operation's supported modes. Include annotations only when explicitly requested.
|
|
10
|
+
|
|
11
|
+
A source archive is always the full portable project, including saved history and review, even when an artboard scope was requested. For one screen, prefer selected HTML/PNG export or the selected source references and chunks. For a full project, pin `contentRevision`, call `design_prepare_source_export({workingCopyId,contentRevision,requestId})`, then poll `design_get_source_export({workingCopyId,exportId})`. On `ready`, download `download.url` with an HTTPS client or the web UI link, not an MCP binary read. Keep the bearer URL out of logs and shared output. Check the archive's returned size and SHA-256, its manifest and member hashes, and reopen it after relocation for the required scope. Reusing the same `requestId` with identical input reads the same job; a `failed` job stays failed, so report its safe code rather than claiming a retry.
|
|
12
|
+
|
|
13
|
+
| Output | Check before delivery |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| PNG | Open images; verify requested dimensions and 1×/2×/3× scaling applied once. For multiple items, open the ZIP and verify file-to-artboard mapping and a single revision. |
|
|
16
|
+
| PDF | Open the result; check page order, proportions, long-page readability and missing content. State when raster text is not selectable/searchable and report page-size limits. |
|
|
17
|
+
| HTML | Open outside the editor with its service stopped and cache cleared; exercise basic interactions/navigation. Verify bundled runtime/assets and no hidden mandatory CDN or backend. An image inside an HTML wrapper is not an interactive export. |
|
|
18
|
+
| Source archive | Inspect its manifest, one system, real component library, canvas hierarchy, assets, review attachments and referenced history. Exclude temporary cache and control secrets. Test reopening after relocation; do not claim untested portability. |
|
|
19
|
+
|
|
20
|
+
Keep exports independent of disposable preview cache. Report artifact resources, revision, inspected items, interaction evidence and limitations. If an operation is unsupported or a check was not performed, say so instead of implying success.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Comments and anchors
|
|
2
|
+
|
|
3
|
+
A thread's `target` identifies where feedback was observed. Its `changeScope` describes the shared component, variant, token or other authorized source to change. Do not derive the scope solely from the selected DOM node.
|
|
4
|
+
|
|
5
|
+
Read the current thread, including every message and version, before acting. Preserve its observed theme, viewport, scenario, scroll, `contentRevision` and `renderId`. A stale displayed preview belongs to its displayed revision even if newer source exists.
|
|
6
|
+
|
|
7
|
+
Prefer exact stable project/artboard/node/instance IDs and explicit refactoring maps. Selector, text and relative point are hints. For repeated nodes use stable entity context. Treat `candidate`, `missing` and `ambiguous` as unresolved; do not crop or retarget to a plausible neighbor. Use regional anchors for canvas, closed shadow content and foreign iframes when element identity is unavailable.
|
|
8
|
+
|
|
9
|
+
Capture absence must not prevent creating feedback. Save the original image attachment when available. `original` means that saved image, never a reconstruction from historical source. If absent, return/report `original_capture_unavailable`. `current` is a new capture of a currently resolved anchor, with its own revision/render/provenance. Do not reuse old crop coordinates silently.
|
|
10
|
+
|
|
11
|
+
Create/reply operations may record structured `requirements:[{property,value}]` when those values are established. On reply, omitting `requirements` preserves the stored set, a supplied array replaces it and an empty array explicitly clears it at the new thread version. Do not clear or replace constraints merely to make a shared change pass.
|
|
12
|
+
|
|
13
|
+
An agent marks addressed after actual validation and image inspection using the current thread version. A new message can invalidate that version without changing the source revision. On conflict, reread the thread and decide whether the same change still addresses it; do not retry blindly. Only a human resolves or reopens. Missing anchors and failed builds do not close discussions.
|
|
14
|
+
|
|
15
|
+
## Changes across mockups
|
|
16
|
+
|
|
17
|
+
A requested change applies to every occurrence of the same element in the selected product's mockups. A comment identifies the example. Find every matching screen and state, unless the user specifies a narrower scope. Apply a color request in the theme where it was observed. In the other theme preserve the existing semantic surface, text and icon colors unless the user explicitly requests that literal color there too. Check both themes, responsive frames and unopened pages on every canvas. Prefer the shared implementation. Imported screens can contain independent HTML copies. Find and update those copies too. Verify the affected variants and tell the user how many were found, changed and checked.
|
|
18
|
+
|
|
19
|
+
For a comment, read its message and observed target together. Use stable IDs when available. For a regional target inspect the original crop, text hint and artboard entrypoint. For saved markup, call `design_find_elements({workingCopyId,contentRevision,selector,text})` with the relevant filters. Follow `nextCursor` and check coverage. Matches identify source paths, hashes and artboard IDs. Inspect candidates by role and context. Use component usages and rendered evidence for dynamically generated elements.
|
|
20
|
+
|
|
21
|
+
## Git history for mockup changes
|
|
22
|
+
|
|
23
|
+
After verifying a design edit, make a local commit in the Git repository that owns the catalog. Use one commit per logical change. The subject describes the visible result. For each related comment add a trailer `Design-Comment: <full thread.id>`. Use a descriptive subject alone for a change requested outside a thread. Preserve the assigned ID across replies and revisions. Record the commit hash alongside the design revision and reuse it in the approved Linear handoff.
|
|
24
|
+
|
|
25
|
+
Inspect the staged and working diffs first. Commit only the verified design delta, keeping other work separate even in the same file. If the editor runs on an untracked mirror, apply that delta to the matching tracked base in a dedicated local checkout of the canonical catalog. Git history and design history have separate identities. Push or publish only on a separate request.
|
|
26
|
+
|
|
27
|
+
## When the user approves
|
|
28
|
+
|
|
29
|
+
On explicit human approval of a design change, create an implementation issue in the Helpra Linear team and the owning product project. First look for the same decision and update its existing issue if found. A request to try an edit, or the agent marking a thread addressed, is still design iteration. Record the approved behavior, affected screens/states and testable acceptance criteria. Return the Linear issue link to the user.
|
|
30
|
+
|
|
31
|
+
Link the shared artboard and, where available there, the stable node/instance or discussion. Verify the destination on the shared copy using its own working-copy ID. For local-only changes, link the corresponding shared artboard or its versioned repository source, identify the approved local revision and attach an approved capture when available. Label what the shared link currently shows. Keep loopback URLs, local paths and tokens out of Linear. Publication is a separate user decision.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Designing screens from the live project
|
|
2
|
+
|
|
3
|
+
## Establish the working revision
|
|
4
|
+
|
|
5
|
+
Select the catalog with `design_list_projects({})`. For a local working copy, get its `contentRevision` with `design_get_context({workingCopyId,detail:"summary"})`. For a published project, use its `publication.contentRevision` from the list.
|
|
6
|
+
|
|
7
|
+
Call `design_get_project_brief({workingCopyId,contentRevision,canvasId})` before creating or editing a mockup. Use the reference PNGs, design system and component tree to start. Confirm that the brief returns the selected revision. Canvas coordinates and viewport dimensions describe the artboard and belong outside the product UI.
|
|
8
|
+
|
|
9
|
+
Find a donor with `design_query_graph({workingCopyId,contentRevision,kind:"artboard",query:"screen name"})`, using a name from the brief. Keep the same revision for each donor read, system read and capture. If a local revision reports `snapshot_unavailable`, verify that it has been saved. When authorized to save a snapshot, a local graph query without `contentRevision` can save the current revision. Use the revision it returns for the brief and subsequent reads.
|
|
10
|
+
|
|
11
|
+
For a sampled trajectory, read the legacy view of the brief. Identify the target page, the section a user arrives from and a neighboring section that shares the application shell. If the brief was shortened, page through `design_query_graph` at the pinned revision using `kind:"canvas"` or `kind:"page"`. Use a narrow artboard query in `design_query_graph` to locate missing states. Check coverage and warnings before interpreting a missing element. A shell flag records what static analysis could see in the saved entrypoint. Conditional markup and imported implementations can supply additional chrome.
|
|
12
|
+
|
|
13
|
+
## Study two to four live donors
|
|
14
|
+
|
|
15
|
+
1. Choose one screen in the same product section and state, then another from a different canvas and page. If available, add a screen with the same viewport, open-panel state or alternate theme. In a small project inspect the available donors and record the gap.
|
|
16
|
+
2. For each donor call `design_get_context({workingCopyId,contentRevision,artboardId,detail:"implementation"})`. Read the referenced entrypoint and relevant shared component or stylesheet using `detail:"files",read:"chunk"` with the same selection. Look for the component responsible for the frame edges, header, scrolling and navigation.
|
|
17
|
+
3. Call `design_screenshot_artboard({workingCopyId,contentRevision,artboardId})` for each donor. Inspect the actual image. Compare where the sidebar begins, where the header divider ends, which column scrolls and how overlays cover the content. Keep the donor IDs and captures with the design notes.
|
|
18
|
+
4. Choose a primary donor by task, surface and shell state. A desktop inbox with chat open can supply panel geometry for a related conversation. A mobile launcher with chat closed can supply its popover anchor. Copy each pattern only where the target state calls for it.
|
|
19
|
+
|
|
20
|
+
## Read the system before editing
|
|
21
|
+
|
|
22
|
+
Use `design_get_system({workingCopyId,contentRevision,detail:"metadata"})` to read the declared components and rule status. Open the saved system catalog with `browser:{kind:"catalog"}`. Read layout, surfaces, typography, themes and interaction rules using `browser:{kind:"file",path}` with a path returned by the catalog. Use `detail:"full"` to compare exact compiled values for the same CSS names in light and dark. Inspect the native component's variants and example source before using its public export from `@helpra/ui`. Sample usage counts cover the sampled entrypoints. Use `design_find_usages` for wider impact when changing a shared component.
|
|
23
|
+
|
|
24
|
+
## Compose HTML screens from the public pool
|
|
25
|
+
|
|
26
|
+
Check `screenComposition.mode` with `design_get_project_brief` and `view: "legacy"` when choosing a screen composition workflow. Mode `legacy` uses the source workflow above. Mode `component-pool-v1` is enabled by `manifest.extensions.componentScreens === 1`. Its `publicComponents` lists the available IDs, labels and ordered slots.
|
|
27
|
+
|
|
28
|
+
For a workspace section, use **Рабочий экран Helpra** (`helpra.workspace-screen`). Follow `screenComposition.example` when it contains this template. Keep the sidebar and the right panel in their own slots. Change the active tab, heading, header actions and content for the target section. In the preview, collapse and reopen the sidebar and check that the right panel follows its width in both themes.
|
|
29
|
+
|
|
30
|
+
The public source `components/screen-pool.json` maps each ID to ordered HTML fragments. Each slot goes between two consecutive fragments. The recipe for an HTML entrypoint `X` is `X.screen.json`. The brief gives `sampleScreens[].compositionPath` for available sample recipes. To read a pool file or recipe at the pinned revision, use `design_get_context({workingCopyId,contentRevision,detail:"files",read:"chunk",paths:[path]})` with the exact path and no artboard selector. Read the existing recipe before changing an artboard.
|
|
31
|
+
|
|
32
|
+
The pinned `screenComposition.constantsPath` identifies the shared style registry for the screen pool. It contains named colors, spacing, control sizes, radii, elevation and type scales. Component templates and CSS sources refer to these values with `[[hd-token:ID]]`. When changing a shared value, check its role and its theme. An archive can retain distinct historical variants where the original designs differed. Keep authored screen recipes focused on component choices and content.
|
|
33
|
+
|
|
34
|
+
For a synchronized set, edit the shared definitions under `shared-library/components/`. The local root is `../design-library` from the editor repository and maps Business and Works through `projects.local.json`. In a Git checkout, use the `design-catalog/` root containing both catalogs and the library. From the editor repository, run `npm exec -- tsx scripts/share-screen-library.mts sync <set> --apply`, then use `--check` to verify the selected catalogs. The editor repository's `docs/shared-screen-library.md` covers the commands, local mapping and the private three-project migration layout. For a standalone copy use `npm exec -- tsx scripts/build-component-screens.mts <project>`.
|
|
35
|
+
|
|
36
|
+
Build `{schemaVersion:1,body:[…]}` from `{use,slots}` nodes. Each slot is an array of nested nodes or escaped HTML text. Pass one array per slot in the advertised order and use `[]` for an empty slot. Escape text such as `A & B < C` as `A & B < C`. All markup comes from the pool. Use public IDs for new screens. An existing archive recipe may also retain or reuse its own historical IDs. For such an ID the archive source is `components/archive-pool-XX.json`, where `XX` is the first two lowercase hex digits of SHA-256 over the UTF-8 ID. Archive entries are for existing artboards only.
|
|
37
|
+
|
|
38
|
+
For an authorized local write, check the current revision and choose the actual page ID. The `helpra.document` template provides the HTML document wrapper and public component styles. When it and `helpra.heading` are available, a minimal creation request is:
|
|
39
|
+
|
|
40
|
+
```js
|
|
41
|
+
design_mutate_topology({
|
|
42
|
+
workingCopyId, operationId, expectedRevision: contentRevision,
|
|
43
|
+
kind: "create", entity: "artboard", parentId: pageId,
|
|
44
|
+
value: {
|
|
45
|
+
name: "Inbox pilot",
|
|
46
|
+
composition: {
|
|
47
|
+
schemaVersion: 1,
|
|
48
|
+
body: [{ use: "helpra.document", slots: [[{ use: "helpra.heading", slots: [["Inbox"]] }]] }]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
})
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Use a new `operationId` for a new edit. To update an existing artboard, send `kind: "compose"`, `entity: "artboard"`, `id: artboardId` and `value: {composition}` with the same revision and operation fields. The operation saves the recipe and assembled HTML together. Author changes through the recipe. Published MCP access can inspect these sources. Perform composition writes in an authorized local working copy.
|
|
55
|
+
|
|
56
|
+
## Preserve the product chrome
|
|
57
|
+
|
|
58
|
+
Start with the primary donor's shell and change the interior required by the task. Preserve its sidebar width, collapse state, logo asset, navigation icons, active item and topbar tools. Keep the section window full height when its donor fills the stage. Align the divider directly under the header and retain the actual list/content boundary. Inspect the frame at the intended viewport to distinguish a real content inset from empty space around the canvas.
|
|
59
|
+
|
|
60
|
+
For Helpra chat, trace the open donor's placement. A docked right panel shares the section height and may resize the main column. A floating chat window or popover is anchored above content and keeps the underlying layout. Match the donor's trigger, width, divider, shadow, dismissal and scroll owner. Introduce a panel only when a real comparable state supports it.
|
|
61
|
+
|
|
62
|
+
Use the donor's semantic variables for backgrounds, text, icons, dividers and action states. Apply shared spacing, typography, radii and elevation tokens to equivalent surfaces. Verify the light and dark variants independently, including muted text, focus cues and icon contrast.
|
|
63
|
+
|
|
64
|
+
## Check the pilot before scaling
|
|
65
|
+
|
|
66
|
+
Create **one pilot artboard** with representative content in the most demanding state. Render the saved pilot using `design_render`, then call `design_screenshot_artboard` at its new revision. Place the image beside the primary donor capture at the same viewport and theme. Check frame edges, logo and icons, header height and divider, scroll boundaries, open overlays, typography and content density. Capture the paired theme or narrow viewport when the batch includes it.
|
|
67
|
+
|
|
68
|
+
Reject the pilot if any of these checks fail.
|
|
69
|
+
|
|
70
|
+
- Process labels such as `Итерация 1`, `Сценарий 1/2`, `360×520` or raw internal feature flags appear as visible product copy. Keep iteration names, scenario IDs and dimensions in descriptors or authoring notes.
|
|
71
|
+
- A new wrapper, decorative frame, invented sidebar or unexplained right panel changes the shell.
|
|
72
|
+
- Artificial outer margins or padding shrink the section window, or the header divider floats away from its boundary.
|
|
73
|
+
- Hardcoded colors, spacing or fonts replace an available token. One theme borrows a literal from the other and loses readability.
|
|
74
|
+
|
|
75
|
+
Correct the pilot, save, render and compare a fresh screenshot. Once the visual checks pass, reuse that shell and its components across the remaining artboards. Verify representative captures for each changed state, viewport and theme. Report the pilot revision, donor IDs, capture evidence and any state that could not be inspected.
|
|
76
|
+
|
|
77
|
+
## Artboard review
|
|
78
|
+
|
|
79
|
+
MCP moves a directly targeted artboard to `in_progress` when an edit changes its source or descriptor. New and duplicated artboards enter the same status. Changes confined to a shared component, shell or stylesheet preserve the artboards' existing approvals. Once you have verified the result, set `pending_approval` explicitly with `design_set_artboard_approval` for each artboard you want reviewed.
|