@1agh/maude 1.0.11 → 1.3.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/README.md +3 -1
- package/apps/studio/acp/bridge.ts +18 -13
- package/apps/studio/acp/index.ts +43 -7
- package/apps/studio/acp/transcript-io.ts +394 -0
- package/apps/studio/acp/transcript.ts +103 -38
- package/apps/studio/annotations-layer.tsx +191 -116
- package/apps/studio/annotations-model.ts +39 -0
- package/apps/studio/annotations-sync.ts +50 -0
- package/apps/studio/api.ts +821 -55
- package/apps/studio/bin/_import-figma.mjs +57 -11
- package/apps/studio/bin/_seed-fixture.mjs +163 -0
- package/apps/studio/bin/annotate.mjs +3 -1
- package/apps/studio/bin/server-up.sh +17 -2
- package/apps/studio/canvas-edit.ts +391 -7
- package/apps/studio/canvas-imports.ts +89 -0
- package/apps/studio/canvas-lib.tsx +82 -18
- package/apps/studio/canvas-notice-message.ts +16 -0
- package/apps/studio/canvas-notifications.tsx +19 -0
- package/apps/studio/canvas-shell.tsx +57 -6
- package/apps/studio/client/app.jsx +943 -248
- package/apps/studio/client/apply-edit-request.ts +55 -0
- package/apps/studio/client/export-center.jsx +125 -67
- package/apps/studio/client/github.js +38 -1
- package/apps/studio/client/index-loader.ts +76 -0
- package/apps/studio/client/panels/CloudBar.jsx +52 -6
- package/apps/studio/client/panels/GitPanel.jsx +103 -0
- package/apps/studio/client/panels/OnboardingWizard.jsx +36 -7
- package/apps/studio/client/panels/RepoBranchSwitcher.jsx +92 -27
- package/apps/studio/client/panels/SourceConflictPanel.jsx +166 -0
- package/apps/studio/client/panels/SyncPanel.jsx +238 -4
- package/apps/studio/client/panels/TeamProjects.jsx +376 -0
- package/apps/studio/client/panels/file-deep-link-dialog.jsx +54 -0
- package/apps/studio/client/photo-knobs.jsx +3 -0
- package/apps/studio/client/report-bug.jsx +19 -1
- package/apps/studio/client/share-dialog.jsx +91 -0
- package/apps/studio/client/share-link.js +94 -0
- package/apps/studio/client/styles/3-shell-maude.css +69 -18
- package/apps/studio/client/styles/4-components.css +44 -1
- package/apps/studio/client/tree-row-menu.jsx +48 -3
- package/apps/studio/client/whats-new.jsx +26 -32
- package/apps/studio/cloud/endpoints.ts +132 -0
- package/apps/studio/collab/index.ts +4 -0
- package/apps/studio/collab/persistence.ts +137 -17
- package/apps/studio/collab/registry.ts +19 -21
- package/apps/studio/collab/room.ts +13 -2
- package/apps/studio/context.ts +59 -0
- package/apps/studio/debug-bundle.ts +13 -0
- package/apps/studio/dist/client.bundle.js +1911 -1879
- package/apps/studio/dist/runtime/.min-sizes.json +1 -0
- package/apps/studio/dist/runtime/sonner.js +1 -0
- package/apps/studio/dist/styles.css +1 -1
- package/apps/studio/export-dialog.tsx +54 -0
- package/apps/studio/exporters/degraded.ts +19 -3
- package/apps/studio/exporters/ghostscript.ts +194 -0
- package/apps/studio/exporters/pdf-fonts.ts +261 -0
- package/apps/studio/exporters/pdf.ts +152 -3
- package/apps/studio/exporters/remote.ts +36 -1
- package/apps/studio/fs-watch.ts +45 -1
- package/apps/studio/http.ts +296 -19
- package/apps/studio/inspect.ts +19 -0
- package/apps/studio/managed-projects.ts +150 -0
- package/apps/studio/mem.ts +45 -9
- package/apps/studio/notifications.tsx +292 -0
- package/apps/studio/runtime-bundle.ts +2 -0
- package/apps/studio/server.ts +69 -6
- package/apps/studio/sync/accepted-cold-start.ts +225 -0
- package/apps/studio/sync/accepted-link.ts +320 -0
- package/apps/studio/sync/action-stage.ts +343 -0
- package/apps/studio/sync/agent.ts +104 -45
- package/apps/studio/sync/asset-push.ts +1 -47
- package/apps/studio/sync/cell-file-events.ts +3 -0
- package/apps/studio/sync/codec.ts +192 -34
- package/apps/studio/sync/cold-start-apply.ts +7 -0
- package/apps/studio/sync/cold-start.ts +118 -22
- package/apps/studio/sync/comment-identity.ts +68 -0
- package/apps/studio/sync/connection-state.ts +15 -1
- package/apps/studio/sync/ctl-provider.ts +15 -2
- package/apps/studio/sync/document-discovery.ts +81 -0
- package/apps/studio/sync/file-ledger.ts +117 -0
- package/apps/studio/sync/file-membership.ts +10 -2
- package/apps/studio/sync/file-plane.ts +926 -47
- package/apps/studio/sync/index.ts +1786 -36
- package/apps/studio/sync/journal-client.ts +13 -1
- package/apps/studio/sync/migrate-seed.ts +150 -22
- package/apps/studio/sync/poke.ts +4 -2
- package/apps/studio/sync/presentation.ts +311 -5
- package/apps/studio/sync/projection.ts +820 -23
- package/apps/studio/sync/repeated-module.ts +73 -0
- package/apps/studio/sync/retry-after.ts +169 -0
- package/apps/studio/sync/revision-barrier.ts +129 -0
- package/apps/studio/sync/seed-progress.ts +218 -0
- package/apps/studio/sync/seed-repair.ts +46 -0
- package/apps/studio/sync/source-merge.ts +100 -0
- package/apps/studio/sync/source-ops.ts +289 -0
- package/apps/studio/sync/source-recovery.ts +70 -0
- package/apps/studio/sync/source-validation.ts +56 -0
- package/apps/studio/sync/status.ts +201 -6
- package/apps/studio/sync/transaction-client.ts +460 -0
- package/apps/studio/sync/transport-error.ts +111 -0
- package/apps/studio/sync/writer-registry.ts +236 -0
- package/apps/studio/text-caret.ts +35 -0
- package/apps/studio/undo-hud.tsx +9 -87
- package/apps/studio/use-canvas-media-drop.tsx +4 -39
- package/apps/studio/whats-new.json +173 -0
- package/cli/bin/maude.mjs +2 -0
- package/cli/commands/codex.mjs +191 -0
- package/cli/commands/harness.mjs +1051 -0
- package/cli/commands/help.mjs +13 -0
- package/cli/lib/design-link.mjs +190 -2
- package/cli/lib/harness/capabilities.mjs +302 -0
- package/cli/lib/harness/codex-runtime.mjs +892 -0
- package/cli/lib/harness/compatibility.mjs +27 -0
- package/cli/lib/harness/discover-claude.mjs +1393 -0
- package/cli/lib/harness/managed-state.mjs +1296 -0
- package/cli/lib/harness/model.mjs +86 -0
- package/cli/lib/harness/secrets.mjs +390 -0
- package/cli/lib/harness/targets/codex.mjs +1141 -0
- package/cli/lib/harness/targets/opencode.mjs +807 -0
- package/cli/lib/harness/transaction.mjs +1099 -0
- package/cli/lib/hubs-config.mjs +35 -8
- package/cli/templates/harness/opencode/maude-projector.ts +58 -0
- package/docs/harness-capability-matrix.md +125 -0
- package/docs/harness-environment-projection.md +95 -0
- package/package.json +33 -9
- package/plugins/design/dependencies.json +3 -3
- package/plugins/design/templates/_shell.html +47 -0
- package/plugins/flow/.claude-plugin/config.schema.json +8 -0
- package/plugins/flow/dependencies.json +3 -3
- package/apps/studio/.ai/cache/_stats.json +0 -7
- package/apps/studio/bin/_agent-browser-safe.test.mjs +0 -165
- package/apps/studio/bin/_curl-local.test.mjs +0 -280
- package/apps/studio/bin/_pw-launch.test.mjs +0 -90
- package/apps/studio/bin/_smart-frames.test.mjs +0 -195
- package/apps/studio/bin/_transcribe.test.mjs +0 -80
- package/apps/studio/bun.lock +0 -928
- package/apps/studio/draw/test/animate.test.ts +0 -172
- package/apps/studio/draw/test/brush.test.ts +0 -213
- package/apps/studio/draw/test/composition.test.ts +0 -141
- package/apps/studio/draw/test/geometry.test.ts +0 -199
- package/apps/studio/draw/test/gradient.test.ts +0 -167
- package/apps/studio/draw/test/layout.test.ts +0 -120
- package/apps/studio/draw/test/morph.test.ts +0 -107
- package/apps/studio/draw/test/optimize.test.ts +0 -40
- package/apps/studio/draw/test/palette.test.ts +0 -123
- package/apps/studio/draw/test/primitives.test.ts +0 -129
- package/apps/studio/draw/test/serialize-animate.test.ts +0 -142
- package/apps/studio/draw/test/serialize.test.ts +0 -105
- package/apps/studio/figma/assets.test.ts +0 -464
- package/apps/studio/figma/client.test.ts +0 -395
- package/apps/studio/figma/codegen-client.test.ts +0 -276
- package/apps/studio/figma/codegen-fonts.test.ts +0 -103
- package/apps/studio/figma/codegen-values.test.ts +0 -179
- package/apps/studio/figma/comments-to-strokes.test.ts +0 -194
- package/apps/studio/figma/fig-decode.test.ts +0 -788
- package/apps/studio/figma/fig-differential.test.ts +0 -182
- package/apps/studio/figma/fig-translator.test.ts +0 -192
- package/apps/studio/figma/fig-vector.test.ts +0 -113
- package/apps/studio/figma/from-codegen.test.ts +0 -408
- package/apps/studio/figma/sanitize.test.ts +0 -325
- package/apps/studio/figma/tailwind-map.test.ts +0 -142
- package/apps/studio/figma/to-artboard.test.ts +0 -808
- package/apps/studio/figma/to-render.test.ts +0 -180
- package/apps/studio/figma/to-strokes-roundtrip.test.ts +0 -152
- package/apps/studio/figma/to-strokes.test.ts +0 -705
- package/apps/studio/figma/to-tokens.test.ts +0 -321
- package/apps/studio/figma/url.test.ts +0 -167
- package/apps/studio/footage/schema.test.ts +0 -287
- package/apps/studio/generation/adapters/groq.test.ts +0 -80
- package/apps/studio/generation/audio-library.test.ts +0 -95
- package/apps/studio/generation/captions.test.ts +0 -78
- package/apps/studio/generation/elevenlabs.test.ts +0 -223
- package/apps/studio/generation/gemini.test.ts +0 -350
- package/apps/studio/generation/jobs.test.ts +0 -128
- package/apps/studio/generation/keys.test.ts +0 -75
- package/apps/studio/generation/prefs.test.ts +0 -95
- package/apps/studio/generation/types.test.ts +0 -123
- package/apps/studio/generation/whisper-models.test.ts +0 -179
- package/apps/studio/test/_helpers.ts +0 -108
- package/apps/studio/test/acp-activity-endpoint.test.ts +0 -183
- package/apps/studio/test/acp-activity.test.ts +0 -154
- package/apps/studio/test/acp-ai-activity.test.ts +0 -182
- package/apps/studio/test/acp-attachment-serve.test.ts +0 -74
- package/apps/studio/test/acp-bootstrap-brief.test.ts +0 -178
- package/apps/studio/test/acp-branch-guard.test.ts +0 -123
- package/apps/studio/test/acp-bridge-lifetime.test.ts +0 -475
- package/apps/studio/test/acp-bridge.test.ts +0 -545
- package/apps/studio/test/acp-capabilities.test.ts +0 -123
- package/apps/studio/test/acp-caps-bridge.test.ts +0 -279
- package/apps/studio/test/acp-commands.test.ts +0 -119
- package/apps/studio/test/acp-elicitation-bridge.test.ts +0 -480
- package/apps/studio/test/acp-elicitation.test.ts +0 -251
- package/apps/studio/test/acp-env.test.ts +0 -95
- package/apps/studio/test/acp-mode-banner.test.ts +0 -45
- package/apps/studio/test/acp-origin-gate.test.ts +0 -160
- package/apps/studio/test/acp-permission-prompt.test.ts +0 -251
- package/apps/studio/test/acp-permission.test.ts +0 -278
- package/apps/studio/test/acp-plugin-bootstrap.test.ts +0 -89
- package/apps/studio/test/acp-session-allowed-tools.test.ts +0 -235
- package/apps/studio/test/acp-session-plugins.test.ts +0 -209
- package/apps/studio/test/acp-toolgroup.test.ts +0 -76
- package/apps/studio/test/acp-transcript-view.test.ts +0 -71
- package/apps/studio/test/acp-transcript.test.ts +0 -238
- package/apps/studio/test/acp-usage-bridge.test.ts +0 -141
- package/apps/studio/test/acp-usage.test.ts +0 -143
- package/apps/studio/test/acp-write-gate.test.ts +0 -323
- package/apps/studio/test/acp-write-scope.test.ts +0 -533
- package/apps/studio/test/active-state.test.ts +0 -186
- package/apps/studio/test/activity.test.ts +0 -189
- package/apps/studio/test/ai-activity.test.ts +0 -113
- package/apps/studio/test/annotate-write.test.ts +0 -1074
- package/apps/studio/test/annotation-strokes-command.test.ts +0 -166
- package/apps/studio/test/annotations-align.test.ts +0 -88
- package/apps/studio/test/annotations-api.test.ts +0 -145
- package/apps/studio/test/annotations-bindings.test.ts +0 -262
- package/apps/studio/test/annotations-draw-modifiers.test.ts +0 -206
- package/apps/studio/test/annotations-groups.test.ts +0 -231
- package/apps/studio/test/annotations-layer.test.ts +0 -1011
- package/apps/studio/test/annotations-roundtrip.test.ts +0 -663
- package/apps/studio/test/annotations-snap.test.ts +0 -135
- package/apps/studio/test/annotations-text-format.test.ts +0 -396
- package/apps/studio/test/artboard-activity-overlay.test.tsx +0 -56
- package/apps/studio/test/artboard-guides-overlay.test.tsx +0 -152
- package/apps/studio/test/artboard-hug-commit.test.ts +0 -36
- package/apps/studio/test/artboard-kinds.test.tsx +0 -83
- package/apps/studio/test/artboard-selection-attrs.test.ts +0 -69
- package/apps/studio/test/asset-api.test.ts +0 -149
- package/apps/studio/test/assets-s3.test.ts +0 -249
- package/apps/studio/test/binary-smoke.test.ts +0 -47
- package/apps/studio/test/boot-self-heal.test.ts +0 -87
- package/apps/studio/test/browse-posture.test.tsx +0 -107
- package/apps/studio/test/bundle-smoke.test.ts +0 -46
- package/apps/studio/test/camera-reveal.test.tsx +0 -173
- package/apps/studio/test/canvas-artifacts.test.ts +0 -125
- package/apps/studio/test/canvas-build-sandbox.test.ts +0 -69
- package/apps/studio/test/canvas-build.test.ts +0 -141
- package/apps/studio/test/canvas-create-api.test.ts +0 -676
- package/apps/studio/test/canvas-cursors.test.ts +0 -164
- package/apps/studio/test/canvas-edit.test.ts +0 -470
- package/apps/studio/test/canvas-freshness-deps.test.ts +0 -64
- package/apps/studio/test/canvas-header.test.ts +0 -127
- package/apps/studio/test/canvas-hide-chrome.test.ts +0 -88
- package/apps/studio/test/canvas-hmr-runtime.test.tsx +0 -114
- package/apps/studio/test/canvas-lib-inline.test.ts +0 -146
- package/apps/studio/test/canvas-lib-motion.test.ts +0 -131
- package/apps/studio/test/canvas-lib-resolver.test.ts +0 -111
- package/apps/studio/test/canvas-list-watch.test.ts +0 -388
- package/apps/studio/test/canvas-media-drop.test.ts +0 -187
- package/apps/studio/test/canvas-meta-api.test.ts +0 -707
- package/apps/studio/test/canvas-move-api.test.ts +0 -587
- package/apps/studio/test/canvas-origin-gate.test.ts +0 -417
- package/apps/studio/test/canvas-pipeline.test.ts +0 -180
- package/apps/studio/test/canvas-rects.test.ts +0 -198
- package/apps/studio/test/canvas-reorder.test.ts +0 -211
- package/apps/studio/test/canvas-route.test.ts +0 -179
- package/apps/studio/test/canvas-shell-base.test.ts +0 -107
- package/apps/studio/test/canvas-shell-build-error.test.ts +0 -52
- package/apps/studio/test/canvas-url.test.ts +0 -138
- package/apps/studio/test/canvas-wheel-delta.test.ts +0 -42
- package/apps/studio/test/canvas-zoom-floor.test.ts +0 -73
- package/apps/studio/test/capture-core.test.ts +0 -32
- package/apps/studio/test/capture-determinism-shape.test.ts +0 -135
- package/apps/studio/test/chat-attachments.test.ts +0 -117
- package/apps/studio/test/chat-context.test.ts +0 -129
- package/apps/studio/test/chat-markdown.test.tsx +0 -58
- package/apps/studio/test/clip-addressing.test.ts +0 -738
- package/apps/studio/test/clip-ops.test.ts +0 -922
- package/apps/studio/test/cloud-build.test.ts +0 -95
- package/apps/studio/test/cloud-connect-note.test.ts +0 -135
- package/apps/studio/test/cloud-endpoints.test.ts +0 -590
- package/apps/studio/test/cloud-history-hardening.test.ts +0 -165
- package/apps/studio/test/cloud-history-posture.test.ts +0 -230
- package/apps/studio/test/cloud-managed-save-surfaces.test.ts +0 -90
- package/apps/studio/test/cloud-renew.test.ts +0 -205
- package/apps/studio/test/cloud-session-role.test.ts +0 -161
- package/apps/studio/test/cloud-shell-surfaces.test.ts +0 -170
- package/apps/studio/test/cold-start-apply.test.ts +0 -303
- package/apps/studio/test/collab-annotations-bridge.test.ts +0 -55
- package/apps/studio/test/collab-awareness-bridge.test.ts +0 -223
- package/apps/studio/test/collab-bridge.test.ts +0 -79
- package/apps/studio/test/collab-loopback.test.ts +0 -63
- package/apps/studio/test/collab-origin-gate.test.ts +0 -323
- package/apps/studio/test/collab-protocol.test.ts +0 -146
- package/apps/studio/test/collab-readonly-gate.test.ts +0 -194
- package/apps/studio/test/collab-reseed-guard.test.ts +0 -78
- package/apps/studio/test/collab-room.test.ts +0 -188
- package/apps/studio/test/collab-session-survival.test.tsx +0 -176
- package/apps/studio/test/collab-stress.test.ts +0 -129
- package/apps/studio/test/comment-mount.test.ts +0 -97
- package/apps/studio/test/comment-relay-origin-gate.test.ts +0 -117
- package/apps/studio/test/comments-api.test.ts +0 -277
- package/apps/studio/test/comments-fs-rebroadcast.test.ts +0 -155
- package/apps/studio/test/comments-overlay.test.ts +0 -117
- package/apps/studio/test/compile-entry.test.ts +0 -133
- package/apps/studio/test/component-map.test.ts +0 -48
- package/apps/studio/test/config-projection.test.ts +0 -104
- package/apps/studio/test/config-reload.test.ts +0 -230
- package/apps/studio/test/config-version.test.ts +0 -88
- package/apps/studio/test/context-resolve-tokens.test.ts +0 -97
- package/apps/studio/test/convert-to-absolute.test.ts +0 -333
- package/apps/studio/test/credential-grammar.test.ts +0 -107
- package/apps/studio/test/csp-canvas-shell.test.ts +0 -62
- package/apps/studio/test/csrf-write-guard.test.ts +0 -141
- package/apps/studio/test/debug-bundle.test.ts +0 -105
- package/apps/studio/test/design-setup-readiness.test.ts +0 -155
- package/apps/studio/test/detach-component.test.ts +0 -94
- package/apps/studio/test/dns-rebinding-guard.test.ts +0 -101
- package/apps/studio/test/dom-selection.test.ts +0 -198
- package/apps/studio/test/dynamic-text-edit.test.ts +0 -162
- package/apps/studio/test/edit-css-occurrence.test.ts +0 -81
- package/apps/studio/test/edit-persistence.test.ts +0 -91
- package/apps/studio/test/edit-scope-api.test.ts +0 -119
- package/apps/studio/test/edit-source-command.test.ts +0 -142
- package/apps/studio/test/edit-suppress.test.ts +0 -170
- package/apps/studio/test/editing-presence.test.ts +0 -103
- package/apps/studio/test/element-resize.test.ts +0 -136
- package/apps/studio/test/element-structural-api.test.ts +0 -434
- package/apps/studio/test/element-structural-edit.test.ts +0 -750
- package/apps/studio/test/ensure-browser.test.ts +0 -92
- package/apps/studio/test/equal-spacing-detector.test.ts +0 -257
- package/apps/studio/test/export-assemble.test.ts +0 -53
- package/apps/studio/test/export-browser-lane.test.ts +0 -126
- package/apps/studio/test/export-capture-fidelity.test.ts +0 -146
- package/apps/studio/test/export-capture-hygiene.test.ts +0 -675
- package/apps/studio/test/export-center.test.tsx +0 -287
- package/apps/studio/test/export-e2e-lanes.test.ts +0 -857
- package/apps/studio/test/export-format-scope-coherence.test.ts +0 -89
- package/apps/studio/test/export-lane.test.ts +0 -245
- package/apps/studio/test/export-shim-multi-capture.test.ts +0 -83
- package/apps/studio/test/exporters/canva.test.ts +0 -63
- package/apps/studio/test/exporters/degraded-propagation.test.ts +0 -123
- package/apps/studio/test/exporters/endpoint.test.ts +0 -121
- package/apps/studio/test/exporters/history.test.ts +0 -107
- package/apps/studio/test/exporters/html.test.ts +0 -26
- package/apps/studio/test/exporters/jobs.test.ts +0 -342
- package/apps/studio/test/exporters/pdf.test.ts +0 -85
- package/apps/studio/test/exporters/png.test.ts +0 -103
- package/apps/studio/test/exporters/pptx-deck.test.ts +0 -112
- package/apps/studio/test/exporters/pptx.test.ts +0 -31
- package/apps/studio/test/exporters/pw-launch.test.ts +0 -49
- package/apps/studio/test/exporters/runtime.test.ts +0 -59
- package/apps/studio/test/exporters/scope.test.ts +0 -292
- package/apps/studio/test/exporters/svg.test.ts +0 -29
- package/apps/studio/test/exporters/unsupported-media.test.ts +0 -123
- package/apps/studio/test/exporters/zip.test.ts +0 -104
- package/apps/studio/test/fetch-asset-gate.test.ts +0 -189
- package/apps/studio/test/figjam-v3-model.test.ts +0 -342
- package/apps/studio/test/figma-explode.test.ts +0 -438
- package/apps/studio/test/figma-provenance.test.ts +0 -108
- package/apps/studio/test/figma-routes.test.ts +0 -294
- package/apps/studio/test/file-lock.test.ts +0 -84
- package/apps/studio/test/fixtures/backgrounding-claude-auth.sh +0 -12
- package/apps/studio/test/fixtures/fake-claude-auth.mjs +0 -23
- package/apps/studio/test/fixtures/figjam-v3-groups-bindings.svg +0 -1
- package/apps/studio/test/fixtures/mock-acp-agent-caps.mjs +0 -158
- package/apps/studio/test/fixtures/mock-acp-agent-commands.mjs +0 -44
- package/apps/studio/test/fixtures/mock-acp-agent-elicit-flood.mjs +0 -46
- package/apps/studio/test/fixtures/mock-acp-agent-elicit-url.mjs +0 -42
- package/apps/studio/test/fixtures/mock-acp-agent-elicit.mjs +0 -63
- package/apps/studio/test/fixtures/mock-acp-agent-permission-flood.mjs +0 -51
- package/apps/studio/test/fixtures/mock-acp-agent-permission.mjs +0 -50
- package/apps/studio/test/fixtures/mock-acp-agent-slow.mjs +0 -45
- package/apps/studio/test/fixtures/mock-acp-agent-usage.mjs +0 -56
- package/apps/studio/test/fixtures/mock-acp-agent-wedged.mjs +0 -37
- package/apps/studio/test/fixtures/mock-acp-agent-write.mjs +0 -118
- package/apps/studio/test/fixtures/mock-acp-agent.mjs +0 -69
- package/apps/studio/test/fixtures/noisy-claude-auth.mjs +0 -27
- package/apps/studio/test/fixtures/perf-canvas.mjs +0 -201
- package/apps/studio/test/fixtures/phase-20-annotations.svg +0 -1
- package/apps/studio/test/fixtures/phase-21-annotations.svg +0 -1
- package/apps/studio/test/fixtures/tiny-subset.woff2 +0 -0
- package/apps/studio/test/fixtures/video-comp-fixture.tsx +0 -82
- package/apps/studio/test/fixtures/wedged-claude-auth.sh +0 -11
- package/apps/studio/test/footage-store.test.ts +0 -100
- package/apps/studio/test/fs-mkdir-api.test.ts +0 -248
- package/apps/studio/test/fs-watch.test.ts +0 -41
- package/apps/studio/test/gemma-models.test.ts +0 -245
- package/apps/studio/test/generate-route.test.ts +0 -106
- package/apps/studio/test/git-api.test.ts +0 -0
- package/apps/studio/test/git-branches.test.ts +0 -341
- package/apps/studio/test/git-cloud-posture.test.ts +0 -59
- package/apps/studio/test/git-grouping.test.ts +0 -106
- package/apps/studio/test/git-lifecycle.test.ts +0 -100
- package/apps/studio/test/git-log-format.test.ts +0 -95
- package/apps/studio/test/git-safe-rel.test.ts +0 -132
- package/apps/studio/test/git-system-engine.test.ts +0 -135
- package/apps/studio/test/git-watch.test.ts +0 -97
- package/apps/studio/test/github-api.test.ts +0 -577
- package/apps/studio/test/grid-track-handles.test.ts +0 -160
- package/apps/studio/test/handoff-static-frames.test.ts +0 -215
- package/apps/studio/test/handoff.test.ts +0 -329
- package/apps/studio/test/history-rollback.test.ts +0 -88
- package/apps/studio/test/hmr-broadcast.test.ts +0 -236
- package/apps/studio/test/hmr-classify.test.ts +0 -87
- package/apps/studio/test/hub-link.test.ts +0 -80
- package/apps/studio/test/identity-cache.test.ts +0 -83
- package/apps/studio/test/import-asset-browser.test.ts +0 -64
- package/apps/studio/test/import-asset-route.test.ts +0 -71
- package/apps/studio/test/import-asset.test.ts +0 -427
- package/apps/studio/test/import-brand-browser.test.ts +0 -88
- package/apps/studio/test/import-brand-route.test.ts +0 -120
- package/apps/studio/test/import-brand.test.ts +0 -206
- package/apps/studio/test/import-figma.test.ts +0 -667
- package/apps/studio/test/import-tokens.test.ts +0 -722
- package/apps/studio/test/index-data-canvas-ds.test.ts +0 -97
- package/apps/studio/test/input-router.test.ts +0 -757
- package/apps/studio/test/inspect-script-syntax.test.ts +0 -53
- package/apps/studio/test/inspect-selections.test.ts +0 -219
- package/apps/studio/test/knob-props-authored.test.ts +0 -87
- package/apps/studio/test/layers-synthetic-groups.test.ts +0 -96
- package/apps/studio/test/locator.test.ts +0 -214
- package/apps/studio/test/marquee-overlay.test.ts +0 -94
- package/apps/studio/test/media-commit-chain.test.ts +0 -210
- package/apps/studio/test/mode-toggle.test.tsx +0 -226
- package/apps/studio/test/motion-sample.test.ts +0 -35
- package/apps/studio/test/move-artboards-command.test.ts +0 -108
- package/apps/studio/test/participants-chrome.test.ts +0 -65
- package/apps/studio/test/paths.test.ts +0 -88
- package/apps/studio/test/pdf-print-boxes.test.ts +0 -359
- package/apps/studio/test/peer-selection-follows-camera.test.tsx +0 -131
- package/apps/studio/test/perf-harness.ts +0 -193
- package/apps/studio/test/phase-3.6-smoke.test.ts +0 -79
- package/apps/studio/test/photo-bg-remove-validation.test.ts +0 -71
- package/apps/studio/test/photo-canvas-bundle.test.ts +0 -79
- package/apps/studio/test/photo-edit-api.test.ts +0 -201
- package/apps/studio/test/photo-filters.test.ts +0 -149
- package/apps/studio/test/photo-pipeline.test.ts +0 -106
- package/apps/studio/test/photo-taxonomy.test.ts +0 -96
- package/apps/studio/test/print-marks.test.ts +0 -113
- package/apps/studio/test/print-units.test.ts +0 -173
- package/apps/studio/test/read-annotations.test.ts +0 -727
- package/apps/studio/test/read-only-gate.test.ts +0 -188
- package/apps/studio/test/read-only-role.test.ts +0 -95
- package/apps/studio/test/readiness.test.ts +0 -337
- package/apps/studio/test/remote-ahead-behind-cache.test.ts +0 -89
- package/apps/studio/test/reorder-api.test.ts +0 -210
- package/apps/studio/test/repo-concurrency.test.ts +0 -146
- package/apps/studio/test/repo-lock.test.ts +0 -350
- package/apps/studio/test/report-proxy.test.ts +0 -125
- package/apps/studio/test/ripple.test.ts +0 -197
- package/apps/studio/test/runtime-bundle-error-mapping.test.ts +0 -43
- package/apps/studio/test/runtime-bundle.test.ts +0 -69
- package/apps/studio/test/sanitize-annotation-svg.test.ts +0 -238
- package/apps/studio/test/scaffold-design.test.ts +0 -122
- package/apps/studio/test/server-lifecycle.test.ts +0 -38
- package/apps/studio/test/session-runtime-state.test.ts +0 -226
- package/apps/studio/test/session-scope.test.ts +0 -100
- package/apps/studio/test/shared-doc-cell-pairing.test.ts +0 -642
- package/apps/studio/test/shared-doc-convergence.test.ts +0 -265
- package/apps/studio/test/shared-doc-foundation.test.ts +0 -63
- package/apps/studio/test/shared-doc-migrate.test.ts +0 -369
- package/apps/studio/test/shared-doc-projection.test.ts +0 -238
- package/apps/studio/test/shell-importmap.test.ts +0 -56
- package/apps/studio/test/sizing-mode.test.ts +0 -102
- package/apps/studio/test/slash-commands.test.ts +0 -117
- package/apps/studio/test/snap-distance-pill.test.ts +0 -68
- package/apps/studio/test/spacing-handles.test.ts +0 -138
- package/apps/studio/test/specimen-select.test.ts +0 -88
- package/apps/studio/test/sync-agent.test.ts +0 -660
- package/apps/studio/test/sync-annotations-cold-start.test.ts +0 -302
- package/apps/studio/test/sync-asset-push.test.ts +0 -931
- package/apps/studio/test/sync-atomic-write.test.ts +0 -62
- package/apps/studio/test/sync-attach-incremental.test.ts +0 -527
- package/apps/studio/test/sync-autocommit.test.ts +0 -537
- package/apps/studio/test/sync-canvas-path.test.ts +0 -200
- package/apps/studio/test/sync-cell-write-nudge.test.ts +0 -346
- package/apps/studio/test/sync-codec.test.ts +0 -230
- package/apps/studio/test/sync-cold-seed-dedup.test.ts +0 -187
- package/apps/studio/test/sync-cold-start.test.ts +0 -304
- package/apps/studio/test/sync-connect-honesty.test.ts +0 -114
- package/apps/studio/test/sync-connection-state.test.ts +0 -337
- package/apps/studio/test/sync-ctl-channel.test.ts +0 -508
- package/apps/studio/test/sync-decide-file.test.ts +0 -420
- package/apps/studio/test/sync-doc-name.test.ts +0 -281
- package/apps/studio/test/sync-echo-guard.test.ts +0 -96
- package/apps/studio/test/sync-file-ledger.test.ts +0 -334
- package/apps/studio/test/sync-file-membership.test.ts +0 -347
- package/apps/studio/test/sync-file-plane.test.ts +0 -976
- package/apps/studio/test/sync-file-pull.test.ts +0 -333
- package/apps/studio/test/sync-fresh-link-parity.test.ts +0 -267
- package/apps/studio/test/sync-fs-mirror.test.ts +0 -181
- package/apps/studio/test/sync-hardening.test.ts +0 -586
- package/apps/studio/test/sync-hub-listing.test.ts +0 -46
- package/apps/studio/test/sync-hubs-config.test.ts +0 -133
- package/apps/studio/test/sync-incident-replay.test.ts +0 -211
- package/apps/studio/test/sync-journal.test.ts +0 -176
- package/apps/studio/test/sync-meta-codec.test.ts +0 -199
- package/apps/studio/test/sync-migrate-flat-fallback.test.ts +0 -98
- package/apps/studio/test/sync-move-retirement.test.ts +0 -231
- package/apps/studio/test/sync-panel-surface.test.ts +0 -153
- package/apps/studio/test/sync-path-pull.test.ts +0 -531
- package/apps/studio/test/sync-presentation.test.ts +0 -262
- package/apps/studio/test/sync-pull-budget.test.ts +0 -169
- package/apps/studio/test/sync-remote-docs.test.ts +0 -333
- package/apps/studio/test/sync-resync-routes.test.ts +0 -168
- package/apps/studio/test/sync-runtime.test.ts +0 -1675
- package/apps/studio/test/sync-seed-defers-to-hub.test.ts +0 -83
- package/apps/studio/test/sync-settings-routes.test.ts +0 -195
- package/apps/studio/test/sync-settings.test.ts +0 -151
- package/apps/studio/test/sync-status.test.ts +0 -261
- package/apps/studio/test/sync-supervisor.test.ts +0 -262
- package/apps/studio/test/sync-tombstone-apply.test.ts +0 -111
- package/apps/studio/test/sync-trash.test.ts +0 -132
- package/apps/studio/test/sync-two-peer-discovery.test.ts +0 -343
- package/apps/studio/test/sync-untrusted.test.ts +0 -103
- package/apps/studio/test/system-endpoint.test.ts +0 -144
- package/apps/studio/test/text-editability-stamp.test.ts +0 -131
- package/apps/studio/test/timeline-comp-target.test.ts +0 -139
- package/apps/studio/test/timeline-media-cache.test.ts +0 -41
- package/apps/studio/test/timeline-parse.test.ts +0 -184
- package/apps/studio/test/timeline-scale.test.ts +0 -65
- package/apps/studio/test/timeline-snap.test.ts +0 -85
- package/apps/studio/test/tool-palette-insert-anchor.test.ts +0 -86
- package/apps/studio/test/tool-palette.test.tsx +0 -55
- package/apps/studio/test/tour-overlay.test.tsx +0 -90
- package/apps/studio/test/trusted-request-host.test.ts +0 -66
- package/apps/studio/test/undo-sequence-byte-compare.test.ts +0 -211
- package/apps/studio/test/undo-stack.test.ts +0 -244
- package/apps/studio/test/use-agent-presence.test.tsx +0 -117
- package/apps/studio/test/use-annotation-resize.test.ts +0 -402
- package/apps/studio/test/use-annotation-selection.test.tsx +0 -77
- package/apps/studio/test/use-artboard-drag.test.ts +0 -324
- package/apps/studio/test/use-canvas-activity.test.tsx +0 -206
- package/apps/studio/test/use-collab.test.ts +0 -0
- package/apps/studio/test/use-cursor-modifiers.test.ts +0 -59
- package/apps/studio/test/use-keyboard-discipline.test.ts +0 -27
- package/apps/studio/test/use-selection-set.test.tsx +0 -166
- package/apps/studio/test/use-snap-guides.test.ts +0 -271
- package/apps/studio/test/use-tool-mode.test.tsx +0 -186
- package/apps/studio/test/use-undo-stack.test.tsx +0 -223
- package/apps/studio/test/video-asset.test.ts +0 -163
- package/apps/studio/test/video-comp-fixture.test.ts +0 -50
- package/apps/studio/test/video-comp.test.ts +0 -270
- package/apps/studio/test/video-encode-lib.test.ts +0 -63
- package/apps/studio/test/video-render-bridge.test.ts +0 -171
- package/apps/studio/test/whats-new.test.ts +0 -113
- package/apps/studio/test/whisper-setup.test.ts +0 -97
- package/apps/studio/test/workspace-containment.test.ts +0 -382
- package/apps/studio/test/workspace-signin.test.ts +0 -292
- package/apps/studio/test/ws-handshake.test.ts +0 -33
- package/cli/commands/cache.test.mjs +0 -166
- package/cli/commands/design-link.test.mjs +0 -419
- package/cli/commands/design.test.mjs +0 -240
- package/cli/commands/doctor.test.mjs +0 -237
- package/cli/commands/hub-workspace.test.mjs +0 -275
- package/cli/commands/hub.test.mjs +0 -225
- package/cli/commands/kg.test.mjs +0 -142
- package/cli/commands/preflight.test.mjs +0 -46
- package/cli/lib/argv.test.mjs +0 -46
- package/cli/lib/cache.test.mjs +0 -303
- package/cli/lib/cell-plan.test.mjs +0 -225
- package/cli/lib/config-lint.test.mjs +0 -117
- package/cli/lib/ddr-to-kgai.test.mjs +0 -118
- package/cli/lib/design-ownership.test.mjs +0 -329
- package/cli/lib/fetch-asset.test.mjs +0 -213
- package/cli/lib/figma-codegen-reachability.test.mjs +0 -104
- package/cli/lib/figma-import-controls.test.mjs +0 -70
- package/cli/lib/flow-design-integration.test.mjs +0 -165
- package/cli/lib/gitignore-block.test.mjs +0 -136
- package/cli/lib/gitignore-drift.test.mjs +0 -156
- package/cli/lib/hubs-config.test.mjs +0 -165
- package/cli/lib/pkg-root.test.mjs +0 -111
- package/cli/lib/plugin-cli-reachability.test.mjs +0 -57
- package/cli/lib/plugin-name-namespace.test.mjs +0 -71
- package/cli/lib/reconstruct-toolset.test.mjs +0 -194
- package/cli/lib/stack-detect.test.mjs +0 -121
- package/cli/lib/update-check.test.mjs +0 -32
- package/cli/lib/workspace-plan.test.mjs +0 -699
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
// The executable half of the persistent-writer registry — DDR-241, plan T6.
|
|
2
|
+
//
|
|
3
|
+
// `docs/architecture/project-writer-registry.md` explains every writer; this
|
|
4
|
+
// module is the part a test can hold the code to. Every `/_api/*` route the
|
|
5
|
+
// studio serves is classified here by HOW its persistent effect reaches the
|
|
6
|
+
// project in accepted-revisions mode. A route that is not listed fails
|
|
7
|
+
// `test/sync-writer-registry.test.ts` — a new mutating route cannot ship
|
|
8
|
+
// without someone deciding which lane carries it.
|
|
9
|
+
//
|
|
10
|
+
// Classes:
|
|
11
|
+
// read — no persistent project effect.
|
|
12
|
+
// lane — rewrites canvas source/meta/annotations/comments; reaches the
|
|
13
|
+
// project as a `lane.replace` proposal (watcher import with the
|
|
14
|
+
// base announced by `activity:suppress`, or an API hook that
|
|
15
|
+
// hands the runtime its base).
|
|
16
|
+
// structural — canvas/folder create, move, delete: one manifest action.
|
|
17
|
+
// file-plane — assets, media sidecars, support files: the file plane's own
|
|
18
|
+
// CAS journal (DDR-226), not the canvas kernel (DDR-241 §8).
|
|
19
|
+
// git — operates on the checkout's Git graph; never a project action.
|
|
20
|
+
// local — this machine only: credentials, caches, jobs, activity, UI.
|
|
21
|
+
|
|
22
|
+
export type WriterClass = 'read' | 'lane' | 'structural' | 'file-plane' | 'git' | 'local';
|
|
23
|
+
|
|
24
|
+
export interface WriterEntry {
|
|
25
|
+
class: WriterClass;
|
|
26
|
+
/** Registry row(s) in project-writer-registry.md. */
|
|
27
|
+
rows?: string;
|
|
28
|
+
/** How the effect travels in accepted mode (lane / structural only). */
|
|
29
|
+
via?: string;
|
|
30
|
+
/** The test that proves it (lane / structural only). */
|
|
31
|
+
test?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const LANE_SOURCE = {
|
|
35
|
+
class: 'lane',
|
|
36
|
+
via: 'source write announced by activity:suppress → watcher import → html lane.replace with the announced base',
|
|
37
|
+
test: 'test/sync-accepted-projection.test.ts',
|
|
38
|
+
} as const;
|
|
39
|
+
|
|
40
|
+
export const WRITER_REGISTRY: Record<string, WriterEntry> = {
|
|
41
|
+
// --- canvas source edits (S01–S18, V01–V10)
|
|
42
|
+
'/_api/edit-text': { ...LANE_SOURCE, rows: 'S01' },
|
|
43
|
+
'/_api/edit-css': { ...LANE_SOURCE, rows: 'S02' },
|
|
44
|
+
'/_api/edit-attr': { ...LANE_SOURCE, rows: 'S03' },
|
|
45
|
+
'/_api/reorder': { ...LANE_SOURCE, rows: 'S04' },
|
|
46
|
+
'/_api/delete-element': { ...LANE_SOURCE, rows: 'S05' },
|
|
47
|
+
'/_api/insert-element': { ...LANE_SOURCE, rows: 'S06' },
|
|
48
|
+
'/_api/duplicate-element': { ...LANE_SOURCE, rows: 'S07' },
|
|
49
|
+
'/_api/convert-to-absolute': { ...LANE_SOURCE, rows: 'S08' },
|
|
50
|
+
'/_api/detach-component': { ...LANE_SOURCE, rows: 'S09' },
|
|
51
|
+
'/_api/insert-artboard': { ...LANE_SOURCE, rows: 'S10' },
|
|
52
|
+
'/_api/duplicate-artboard': { ...LANE_SOURCE, rows: 'S11' },
|
|
53
|
+
'/_api/delete-artboard': { ...LANE_SOURCE, rows: 'S12' },
|
|
54
|
+
'/_api/resize-artboard': { ...LANE_SOURCE, rows: 'S13' },
|
|
55
|
+
'/_api/set-artboard-hug': { ...LANE_SOURCE, rows: 'S14' },
|
|
56
|
+
'/_api/set-artboard-style': { ...LANE_SOURCE, rows: 'S15' },
|
|
57
|
+
'/_api/set-artboard-kind': { ...LANE_SOURCE, rows: 'S16' },
|
|
58
|
+
'/_api/set-artboard-label': { ...LANE_SOURCE, rows: 'S16' },
|
|
59
|
+
'/_api/set-artboard-guides': { ...LANE_SOURCE, rows: 'S17' },
|
|
60
|
+
'/_api/set-artboard-print': { ...LANE_SOURCE, rows: 'S17' },
|
|
61
|
+
'/_api/reorder-revert': { ...LANE_SOURCE, rows: 'S18' },
|
|
62
|
+
'/_api/retime-sequence': { ...LANE_SOURCE, rows: 'V01' },
|
|
63
|
+
'/_api/remove-sequence': { ...LANE_SOURCE, rows: 'V02' },
|
|
64
|
+
'/_api/insert-sequence': { ...LANE_SOURCE, rows: 'V03' },
|
|
65
|
+
'/_api/reorder-sequence': { ...LANE_SOURCE, rows: 'V04' },
|
|
66
|
+
'/_api/toggle-hide': { ...LANE_SOURCE, rows: 'V05' },
|
|
67
|
+
'/_api/edit-array-src': { ...LANE_SOURCE, rows: 'V06' },
|
|
68
|
+
'/_api/clip-edit': { ...LANE_SOURCE, rows: 'V07–V10' },
|
|
69
|
+
// --- shared meta, annotations, comments (S19, S23, S24)
|
|
70
|
+
'/_api/canvas-meta': {
|
|
71
|
+
class: 'lane',
|
|
72
|
+
rows: 'S19',
|
|
73
|
+
via: 'onMetaChanged hook → meta lane.replace with the replaced file as base; camera/overlays/locked stay local',
|
|
74
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
75
|
+
},
|
|
76
|
+
'/_api/annotations': {
|
|
77
|
+
class: 'lane',
|
|
78
|
+
rows: 'S23',
|
|
79
|
+
via: 'onAnnotationsChanged hook → annotations lane.replace with the base the layer sent',
|
|
80
|
+
test: 'test/sync-accepted-projection.test.ts',
|
|
81
|
+
},
|
|
82
|
+
// --- accepted history (T27/T28)
|
|
83
|
+
'/_api/project/history': { class: 'read' },
|
|
84
|
+
'/_api/project/restore': {
|
|
85
|
+
class: 'lane',
|
|
86
|
+
rows: 'X15',
|
|
87
|
+
via: 'history.restore — a NEW action restoring the canvas lanes (not comments) to a revision',
|
|
88
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
89
|
+
},
|
|
90
|
+
'/_api/project/conflict': {
|
|
91
|
+
class: 'lane',
|
|
92
|
+
rows: 'X15',
|
|
93
|
+
via: 'mine: html lane.replace on top of the accepted version (a new action); theirs: accepted body back to disk',
|
|
94
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
95
|
+
},
|
|
96
|
+
'/_api/project/ai-action': {
|
|
97
|
+
class: 'lane',
|
|
98
|
+
rows: 'I02',
|
|
99
|
+
via: 'publish: the held AI stage as ONE history action (lane.replace ops); discard: accepted value back to disk',
|
|
100
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
101
|
+
},
|
|
102
|
+
'/_api/project/undo': {
|
|
103
|
+
class: 'lane',
|
|
104
|
+
rows: 'S18',
|
|
105
|
+
via: 'history.undo/redo — effect-aware compensation of one of this actor’s actions',
|
|
106
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
107
|
+
},
|
|
108
|
+
// --- manifest (S20–S22)
|
|
109
|
+
'/_api/canvas': {
|
|
110
|
+
class: 'structural',
|
|
111
|
+
rows: 'S20',
|
|
112
|
+
via: 'create: cold start doc.create; delete: canvas-deleted → doc.delete; folders: dir.delete',
|
|
113
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
114
|
+
},
|
|
115
|
+
'/_api/fs-move': {
|
|
116
|
+
class: 'structural',
|
|
117
|
+
rows: 'S21',
|
|
118
|
+
via: 'retireForMove → doc.move; folders: proposeFolder dir.move',
|
|
119
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
120
|
+
},
|
|
121
|
+
'/_api/fs-mkdir': {
|
|
122
|
+
class: 'structural',
|
|
123
|
+
rows: 'S22',
|
|
124
|
+
via: 'proposeFolder dir.create before mkdir',
|
|
125
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
126
|
+
},
|
|
127
|
+
'/_api/design/init': {
|
|
128
|
+
class: 'structural',
|
|
129
|
+
rows: 'I12',
|
|
130
|
+
via: 'scaffolded canvases join by cold start doc.create',
|
|
131
|
+
test: 'test/sync-accepted-runtime.test.ts',
|
|
132
|
+
},
|
|
133
|
+
// --- file plane (S25–S30, I04–I11)
|
|
134
|
+
'/_api/photo-edit': { class: 'file-plane', rows: 'S25' },
|
|
135
|
+
'/_api/footage': { class: 'file-plane', rows: 'S26' },
|
|
136
|
+
'/_api/asset': { class: 'file-plane', rows: 'S27' },
|
|
137
|
+
'/_api/assets': { class: 'file-plane', rows: 'S27' },
|
|
138
|
+
'/_api/import-asset': { class: 'file-plane', rows: 'S28/I08' },
|
|
139
|
+
'/_api/import-brand': { class: 'file-plane', rows: 'S28/I07' },
|
|
140
|
+
'/_api/figma/import': { class: 'file-plane', rows: 'I04/I05 (canvases join by cold start)' },
|
|
141
|
+
'/_api/figma/explode': { class: 'file-plane', rows: 'I04/I05 (canvases join by cold start)' },
|
|
142
|
+
'/_api/generate-jobs': { class: 'file-plane', rows: 'S29' },
|
|
143
|
+
'/_api/generate/audio-reuse': { class: 'file-plane', rows: 'S30' },
|
|
144
|
+
'/_api/stickers': { class: 'file-plane', rows: 'S27' },
|
|
145
|
+
'/_api/generate/prefs': { class: 'local', rows: 'S31 (config.assign schema gap)' },
|
|
146
|
+
// --- git (H09/H10)
|
|
147
|
+
'/_api/git/branch': { class: 'git', rows: 'H10' },
|
|
148
|
+
'/_api/git/branches': { class: 'read' },
|
|
149
|
+
'/_api/git/checkout': { class: 'git', rows: 'H09' },
|
|
150
|
+
'/_api/git/commit': { class: 'git', rows: 'H10' },
|
|
151
|
+
'/_api/git/diff': { class: 'read' },
|
|
152
|
+
'/_api/git/discard': { class: 'git', rows: 'H09' },
|
|
153
|
+
'/_api/git/fetch': { class: 'git', rows: 'H10' },
|
|
154
|
+
'/_api/git/fold': { class: 'git', rows: 'H09' },
|
|
155
|
+
'/_api/git/log': { class: 'read' },
|
|
156
|
+
'/_api/git/pull': { class: 'git', rows: 'H09' },
|
|
157
|
+
'/_api/git/push': { class: 'git', rows: 'H10' },
|
|
158
|
+
'/_api/git/resolve': { class: 'git', rows: 'H09' },
|
|
159
|
+
'/_api/git/status': { class: 'read' },
|
|
160
|
+
'/_api/github/clone': { class: 'git', rows: 'H10' },
|
|
161
|
+
'/_api/github/create-project': { class: 'local', rows: 'I12' },
|
|
162
|
+
'/_api/github/create-repo': { class: 'local' },
|
|
163
|
+
'/_api/github/identity': { class: 'local' },
|
|
164
|
+
'/_api/github/invite': { class: 'local' },
|
|
165
|
+
'/_api/github/repos': { class: 'read' },
|
|
166
|
+
'/_api/project/create-local': { class: 'local', rows: 'I12' },
|
|
167
|
+
'/_api/projects/prepare': {
|
|
168
|
+
class: 'local',
|
|
169
|
+
rows: 'H13 (credential + project description for a managed copy)',
|
|
170
|
+
},
|
|
171
|
+
// --- reads
|
|
172
|
+
'/_api/canvas-source': { class: 'read' },
|
|
173
|
+
'/_api/comp-clips': { class: 'read' },
|
|
174
|
+
'/_api/component-map': { class: 'read' },
|
|
175
|
+
'/_api/edit-scope': { class: 'read' },
|
|
176
|
+
'/_api/git-committers': { class: 'read' },
|
|
177
|
+
'/_api/git-user': { class: 'read' },
|
|
178
|
+
'/_api/preflight': { class: 'read' },
|
|
179
|
+
'/_api/setup-readiness': { class: 'read' },
|
|
180
|
+
'/_api/whats-new': { class: 'read' },
|
|
181
|
+
'/_api/figma/probe': { class: 'read' },
|
|
182
|
+
'/_api/figma/status': { class: 'read' },
|
|
183
|
+
'/_api/generate/providers': { class: 'read' },
|
|
184
|
+
'/_api/generate/audio-search': { class: 'read' },
|
|
185
|
+
'/_api/export-history': { class: 'read' },
|
|
186
|
+
// --- this machine only
|
|
187
|
+
'/_api/acp/activity': { class: 'local' },
|
|
188
|
+
'/_api/acp/attachment': { class: 'local' },
|
|
189
|
+
'/_api/acp/chat': { class: 'local' },
|
|
190
|
+
'/_api/acp/chats': { class: 'local' },
|
|
191
|
+
'/_api/acp/focus': { class: 'local' },
|
|
192
|
+
'/_api/acp/running': { class: 'local' },
|
|
193
|
+
'/_api/acp/status': { class: 'local' },
|
|
194
|
+
'/_api/ai': { class: 'local', rows: 'I02' },
|
|
195
|
+
'/_api/ai/end': { class: 'local', rows: 'I02' },
|
|
196
|
+
'/_api/ai/heartbeat': { class: 'local', rows: 'I02' },
|
|
197
|
+
'/_api/ai/start': { class: 'local', rows: 'I02' },
|
|
198
|
+
'/_api/claude/install': { class: 'local' },
|
|
199
|
+
'/_api/claude/install-status': { class: 'local' },
|
|
200
|
+
'/_api/claude/signin': { class: 'local' },
|
|
201
|
+
'/_api/claude/signin-cancel': { class: 'local' },
|
|
202
|
+
'/_api/claude/signin-status': { class: 'local' },
|
|
203
|
+
'/_api/cloud/attach': { class: 'local' },
|
|
204
|
+
'/_api/cloud/attach/code': { class: 'local' },
|
|
205
|
+
'/_api/cloud/detach': { class: 'local' },
|
|
206
|
+
'/_api/cloud/history': { class: 'read' },
|
|
207
|
+
'/_api/cloud/projects': { class: 'read' },
|
|
208
|
+
'/_api/cloud/signin/poll': { class: 'local' },
|
|
209
|
+
'/_api/cloud/signin/start': { class: 'local' },
|
|
210
|
+
'/_api/cloud/signout': { class: 'local' },
|
|
211
|
+
'/_api/cloud/status': { class: 'read' },
|
|
212
|
+
'/_api/debug-bundle': { class: 'local' },
|
|
213
|
+
'/_api/export': { class: 'local' },
|
|
214
|
+
'/_api/export-assemble': { class: 'local' },
|
|
215
|
+
'/_api/export-jobs': { class: 'local' },
|
|
216
|
+
'/_api/export-jobs/download': { class: 'local' },
|
|
217
|
+
'/_api/export-warmup': { class: 'local' },
|
|
218
|
+
'/_api/figma/connect': { class: 'local' },
|
|
219
|
+
'/_api/generate/keyframe-model': { class: 'local' },
|
|
220
|
+
'/_api/generate/keys': { class: 'local' },
|
|
221
|
+
'/_api/generate/whisper-model': { class: 'local' },
|
|
222
|
+
'/_api/hub/link': { class: 'local' },
|
|
223
|
+
'/_api/report': { class: 'local' },
|
|
224
|
+
'/_api/report-fallback': { class: 'local' },
|
|
225
|
+
'/_api/shell-shot': { class: 'local' },
|
|
226
|
+
'/_api/sync/cancel-assets': { class: 'local' },
|
|
227
|
+
'/_api/sync/ownership': { class: 'local' },
|
|
228
|
+
'/_api/sync/resync': { class: 'local', rows: 'X16' },
|
|
229
|
+
'/_api/sync/offline': { class: 'local', rows: 'T19 (pull the whole file plane now)' },
|
|
230
|
+
'/_api/sync/settings': { class: 'local' },
|
|
231
|
+
'/_api/sync/trash': { class: 'local', rows: 'X15 (restore re-enters through cold start)' },
|
|
232
|
+
'/_api/timeline-media': { class: 'local' },
|
|
233
|
+
'/_api/ui-prefs': { class: 'local' },
|
|
234
|
+
'/_api/workspace/disclosure': { class: 'local' },
|
|
235
|
+
'/_api/workspace/sign-in': { class: 'local' },
|
|
236
|
+
};
|
|
@@ -76,6 +76,41 @@ export function placeCaretAt(
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Collapse an ENTRY select-all to the end of the content, if that is what the
|
|
81
|
+
* selection still is. issue-106: keyboard entry into a text surface (select the
|
|
82
|
+
* stroke, press Enter) leaves `placeCaretAt`'s select-all fallback in place, so
|
|
83
|
+
* the first keystroke replaces the whole body — which is exactly what the
|
|
84
|
+
* retype/rename convention wants for a typed CHARACTER, but never for
|
|
85
|
+
* Shift+Enter, whose entire documented meaning is "add a new line". Without
|
|
86
|
+
* this, Shift+Enter deleted the note and left a blank line in its place.
|
|
87
|
+
*
|
|
88
|
+
* Deliberately narrow: only a selection whose boundaries are still BOTH ends of
|
|
89
|
+
* the editable is collapsed. A user's own drag-selection or a partial range is
|
|
90
|
+
* left alone, so ordinary "replace the selected words" editing keeps native
|
|
91
|
+
* semantics. Returns true when it collapsed something.
|
|
92
|
+
*/
|
|
93
|
+
export function collapseEntrySelectAll(editable: HTMLElement, win: Window): boolean {
|
|
94
|
+
try {
|
|
95
|
+
const sel = win.getSelection();
|
|
96
|
+
if (!sel || sel.rangeCount === 0 || sel.isCollapsed) return false;
|
|
97
|
+
const cur = sel.getRangeAt(0);
|
|
98
|
+
const all = editable.ownerDocument.createRange();
|
|
99
|
+
all.selectNodeContents(editable);
|
|
100
|
+
// Range.START_TO_START / END_TO_END via the instance so no global lookup is
|
|
101
|
+
// needed (the editable may live in another document/realm).
|
|
102
|
+
if (cur.compareBoundaryPoints(cur.START_TO_START, all) !== 0) return false;
|
|
103
|
+
if (cur.compareBoundaryPoints(cur.END_TO_END, all) !== 0) return false;
|
|
104
|
+
all.collapse(false); // to the end
|
|
105
|
+
sel.removeAllRanges();
|
|
106
|
+
sel.addRange(all);
|
|
107
|
+
return true;
|
|
108
|
+
} catch {
|
|
109
|
+
/* selection API unavailable */
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
79
114
|
const STYLE_ID = 'maude-caret-css';
|
|
80
115
|
|
|
81
116
|
const CARET_CSS = `
|
package/apps/studio/undo-hud.tsx
CHANGED
|
@@ -1,94 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @purpose Subscribes to `useUndoStack().lastLabel` + `.lastTick` and
|
|
5
|
-
* surfaces a 1.2 s aria-live toast so the user (and a screen
|
|
6
|
-
* reader) knows which edit just got pushed / undone / redone.
|
|
7
|
-
*
|
|
8
|
-
* a11y. The toast renders into `aria-live="polite"` so a screen reader
|
|
9
|
-
* announces "Undo: move 3 artboards" without interrupting in-flight speech.
|
|
10
|
-
* Pointer events are disabled — the HUD is informational only and must
|
|
11
|
-
* never absorb clicks meant for the canvas behind it.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import { useEffect, useState } from 'react';
|
|
15
|
-
|
|
1
|
+
/** Announces canvas edit/undo/redo operations through the shared toast stack. */
|
|
2
|
+
import { useEffect, useRef } from 'react';
|
|
3
|
+
import { showCanvasToast } from './canvas-notifications.tsx';
|
|
16
4
|
import { useUndoStackOptional } from './use-undo-stack.tsx';
|
|
17
5
|
|
|
18
|
-
const HUD_CSS = `
|
|
19
|
-
.dc-undo-hud {
|
|
20
|
-
position: fixed;
|
|
21
|
-
top: 16px;
|
|
22
|
-
right: 16px;
|
|
23
|
-
z-index: 7;
|
|
24
|
-
pointer-events: none;
|
|
25
|
-
padding: 6px 10px;
|
|
26
|
-
background: var(--maude-chrome-bg-2, rgba(20, 20, 20, 0.85));
|
|
27
|
-
color: var(--maude-chrome-fg-1, rgba(255, 255, 255, 0.85));
|
|
28
|
-
border: 1px solid var(--maude-chrome-border, rgba(255, 255, 255, 0.08));
|
|
29
|
-
border-radius: 6px;
|
|
30
|
-
font: 11px var(--maude-chrome-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
31
|
-
letter-spacing: 0.02em;
|
|
32
|
-
user-select: none;
|
|
33
|
-
opacity: 0;
|
|
34
|
-
transform: translateY(-4px);
|
|
35
|
-
transition: opacity 200ms linear, transform 200ms ease-out;
|
|
36
|
-
}
|
|
37
|
-
.dc-undo-hud[data-visible="true"] {
|
|
38
|
-
opacity: 1;
|
|
39
|
-
transform: translateY(0);
|
|
40
|
-
transition-duration: 120ms;
|
|
41
|
-
}
|
|
42
|
-
@media (prefers-reduced-motion: reduce) {
|
|
43
|
-
.dc-undo-hud {
|
|
44
|
-
transition-duration: 1ms !important;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
`.trim();
|
|
48
|
-
|
|
49
|
-
function ensureStyles(): void {
|
|
50
|
-
if (typeof document === 'undefined') return;
|
|
51
|
-
if (document.getElementById('dc-undo-hud-css')) return;
|
|
52
|
-
const s = document.createElement('style');
|
|
53
|
-
s.id = 'dc-undo-hud-css';
|
|
54
|
-
s.textContent = HUD_CSS;
|
|
55
|
-
document.head.appendChild(s);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/** Auto-dismiss timeout — matches the post-Wave-3 toast cadence. */
|
|
59
|
-
const DISMISS_MS = 1200;
|
|
60
|
-
|
|
61
6
|
export function UndoHud() {
|
|
62
|
-
ensureStyles();
|
|
63
7
|
const undo = useUndoStackOptional();
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
// Bump visibility every time `lastTick` increments — same tick value means
|
|
67
|
-
// the underlying state did NOT change (provider's no-op fallback returns
|
|
68
|
-
// `lastTick: 0` constantly, so the HUD stays hidden when no provider).
|
|
69
|
-
const tick = undo.lastTick;
|
|
70
|
-
const label = undo.lastLabel;
|
|
71
|
-
|
|
8
|
+
const lastTick = useRef(0);
|
|
72
9
|
useEffect(() => {
|
|
73
|
-
if (
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
const id = window.setTimeout(() => setVisible(false), DISMISS_MS);
|
|
79
|
-
return () => window.clearTimeout(id);
|
|
80
|
-
}, [tick, label]);
|
|
81
|
-
|
|
82
|
-
return (
|
|
83
|
-
<div
|
|
84
|
-
className="dc-undo-hud"
|
|
85
|
-
data-visible={visible ? 'true' : 'false'}
|
|
86
|
-
role="status"
|
|
87
|
-
aria-live="polite"
|
|
88
|
-
aria-atomic="true"
|
|
89
|
-
>
|
|
90
|
-
{label ?? ''}
|
|
91
|
-
</div>
|
|
92
|
-
);
|
|
10
|
+
if (!undo.lastTick || !undo.lastLabel || lastTick.current === undo.lastTick) return;
|
|
11
|
+
lastTick.current = undo.lastTick;
|
|
12
|
+
showCanvasToast(undo.lastLabel, 'undo');
|
|
13
|
+
}, [undo.lastTick, undo.lastLabel]);
|
|
14
|
+
return null;
|
|
93
15
|
}
|
|
94
16
|
UndoHud.displayName = 'UndoHud';
|
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
import { useEffect } from 'react';
|
|
25
|
+
import { showCanvasToast } from './canvas-notifications.tsx';
|
|
26
|
+
|
|
27
|
+
export { showCanvasToast } from './canvas-notifications.tsx';
|
|
25
28
|
|
|
26
29
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
27
30
|
// Pure helpers (exported for unit tests)
|
|
@@ -194,25 +197,6 @@ export async function uploadAsset(file: Blob): Promise<{ path: string } | { erro
|
|
|
194
197
|
// Transient toast (no React state — self-contained DOM, mirrors ensure*Styles)
|
|
195
198
|
|
|
196
199
|
const TOAST_CSS = `
|
|
197
|
-
.dc-media-toast {
|
|
198
|
-
position: fixed;
|
|
199
|
-
left: 50%;
|
|
200
|
-
bottom: 108px;
|
|
201
|
-
transform: translateX(-50%);
|
|
202
|
-
z-index: 9;
|
|
203
|
-
max-width: 360px;
|
|
204
|
-
padding: 8px 14px;
|
|
205
|
-
border-radius: 8px;
|
|
206
|
-
background: #26262b;
|
|
207
|
-
color: #fff;
|
|
208
|
-
font-family: var(--maude-chrome-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
209
|
-
font-size: 12px;
|
|
210
|
-
box-shadow: 0 8px 28px rgba(0,0,0,0.34);
|
|
211
|
-
opacity: 0;
|
|
212
|
-
transition: opacity 140ms ease;
|
|
213
|
-
pointer-events: none;
|
|
214
|
-
}
|
|
215
|
-
.dc-media-toast[data-show="1"] { opacity: 1; }
|
|
216
200
|
/* Drop affordance — a focus-accent inset frame while a media drag is over the
|
|
217
201
|
canvas, so the surface reads as a drop target. */
|
|
218
202
|
.dc-media-dragover::after {
|
|
@@ -224,9 +208,6 @@ const TOAST_CSS = `
|
|
|
224
208
|
border-radius: 12px;
|
|
225
209
|
pointer-events: none;
|
|
226
210
|
}
|
|
227
|
-
@media (prefers-reduced-motion: reduce) {
|
|
228
|
-
.dc-media-toast { transition: none; }
|
|
229
|
-
}
|
|
230
211
|
/* feature-4 (2026-07-19) — sandbox-safe confirm dialog (window.confirm is
|
|
231
212
|
silently blocked in the allow-modals-less canvas iframe). HUD-token styled. */
|
|
232
213
|
.dc-confirm-backdrop {
|
|
@@ -364,22 +345,6 @@ export function canvasConfirm(
|
|
|
364
345
|
});
|
|
365
346
|
}
|
|
366
347
|
|
|
367
|
-
/** Show a brief auto-dismissing toast in the canvas (e.g. an upload failure). */
|
|
368
|
-
export function showCanvasToast(message: string): void {
|
|
369
|
-
if (typeof document === 'undefined') return;
|
|
370
|
-
ensureMediaStyles();
|
|
371
|
-
const el = document.createElement('div');
|
|
372
|
-
el.className = 'dc-media-toast';
|
|
373
|
-
el.setAttribute('role', 'status');
|
|
374
|
-
el.textContent = message;
|
|
375
|
-
document.body.appendChild(el);
|
|
376
|
-
requestAnimationFrame(() => el.setAttribute('data-show', '1'));
|
|
377
|
-
setTimeout(() => {
|
|
378
|
-
el.setAttribute('data-show', '0');
|
|
379
|
-
setTimeout(() => el.remove(), 200);
|
|
380
|
-
}, 2600);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
348
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
384
349
|
// Hook
|
|
385
350
|
|
|
@@ -414,7 +379,7 @@ export async function uploadAndAnnounceMedia(
|
|
|
414
379
|
const sizeMb = file.size / (1024 * 1024);
|
|
415
380
|
const res = await uploadAsset(file);
|
|
416
381
|
if ('error' in res) {
|
|
417
|
-
showCanvasToast(`Couldn't add ${mediaKind}: ${res.error}
|
|
382
|
+
showCanvasToast(`Couldn't add ${mediaKind}: ${res.error}`, 'error');
|
|
418
383
|
return;
|
|
419
384
|
}
|
|
420
385
|
const snippet = mediaSnippet(mediaKind, res.path);
|
|
@@ -1,6 +1,179 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./whats-new.schema.json",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"id": "artboard-rename-and-files",
|
|
6
|
+
"version": "1.3.0",
|
|
7
|
+
"date": "2026-09-15",
|
|
8
|
+
"kind": "feature",
|
|
9
|
+
"title": "Rename artboards on the canvas; manage notes and images in the tree",
|
|
10
|
+
"summary": "Double-click an artboard’s name to rename it — everyone on the project sees the new name. Notes, styles, images and videos beside your canvases now have their own ⋯ menu: Rename…, Move to… and Delete. A file a canvas still uses is not moved or deleted from under it; Maude names the canvas that uses it instead.",
|
|
11
|
+
"surface": "design-ui"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "cloud-connect-starts-syncing",
|
|
15
|
+
"version": "1.3.0",
|
|
16
|
+
"date": "2026-09-15",
|
|
17
|
+
"kind": "fix",
|
|
18
|
+
"title": "Connecting a project to Maude Cloud starts syncing right away again",
|
|
19
|
+
"summary": "Connect used to link the project and then ask you to restart Maude before anything synced. It syncs immediately now, a project that is not linked no longer greets you with a stale “Working offline” note, and a large video upload survives a dropped connection instead of failing.",
|
|
20
|
+
"surface": "design-ui"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "file-tree-rename-duplicate",
|
|
24
|
+
"version": "1.3.0",
|
|
25
|
+
"date": "2026-09-15",
|
|
26
|
+
"kind": "feature",
|
|
27
|
+
"title": "Rename and duplicate canvases and folders from the file tree",
|
|
28
|
+
"summary": "The ⋯ menu on a canvas now offers Rename… and Duplicate, and folders can be renamed in place. Teammates see the new name immediately — a canvas they have open follows the rename. Menus near the bottom of a long tree now open upward instead of off-screen, and after ⌘D the copy is what stays selected.",
|
|
29
|
+
"surface": "design-ui"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "open-team-project-no-folder",
|
|
33
|
+
"version": "1.3.0",
|
|
34
|
+
"date": "2026-09-15",
|
|
35
|
+
"kind": "feature",
|
|
36
|
+
"title": "Open your team’s project in one step",
|
|
37
|
+
"summary": "Invited to a project? Choose “Open a project you were invited to”, sign in to Maude Cloud or your team’s server with your email, pick the project and start designing — no folder to choose, no token, no Git. Maude keeps the project’s copy for you and lists it under “Open a team project…”.",
|
|
38
|
+
"surface": "design-ui"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "reliable-project-saving",
|
|
42
|
+
"version": "1.3.0",
|
|
43
|
+
"date": "2026-09-15",
|
|
44
|
+
"kind": "feature",
|
|
45
|
+
"title": "Every change saved, shared and undoable",
|
|
46
|
+
"summary": "In projects that save through accepted revisions, the status says “Saving…” until your team’s project has your change, History lists each action with its author, Undo takes back only your own action, two people changing the same thing end with the later change instead of a conflict, an unfinished AI edit waits for your decision, and large videos upload and download resumably.",
|
|
47
|
+
"surface": "design-ui"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "share-link-deeplink",
|
|
51
|
+
"version": "1.3.0",
|
|
52
|
+
"date": "2026-09-15",
|
|
53
|
+
"kind": "feature",
|
|
54
|
+
"title": "Share a link to any canvas",
|
|
55
|
+
"summary": "Copy a link that opens a canvas or file in the browser or Maude. After signing in, return to the shared file; links to another local project ask before switching.",
|
|
56
|
+
"learnMore": "https://maude.sh/docs/share-links",
|
|
57
|
+
"surface": "design-ui",
|
|
58
|
+
"tour": [
|
|
59
|
+
{
|
|
60
|
+
"target": "[data-testid=\"share-btn\"]",
|
|
61
|
+
"title": "Share this file",
|
|
62
|
+
"body": "Copy a web link, an app link, or a link for this Mac. You can also share another file from its row menu.",
|
|
63
|
+
"placement": "bottom",
|
|
64
|
+
"canvas": true
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "native-codex-shared-workflows",
|
|
70
|
+
"version": "1.3.0",
|
|
71
|
+
"date": "2026-09-15",
|
|
72
|
+
"kind": "feature",
|
|
73
|
+
"title": "Use Maude workflows in Codex",
|
|
74
|
+
"summary": "Install Maude’s design and flow plugins natively in Codex and use the shared workflows alongside Claude Code. The new guide covers setup, dependencies and the browser requirements for working with Design Studio.",
|
|
75
|
+
"learnMore": "https://maude.sh/docs/codex",
|
|
76
|
+
"surface": "design-ui"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "shared-toast-stack-export-errors",
|
|
80
|
+
"version": "1.3.0",
|
|
81
|
+
"date": "2026-09-15",
|
|
82
|
+
"kind": "improvement",
|
|
83
|
+
"title": "Notifications stack and clear themselves",
|
|
84
|
+
"summary": "Export updates, canvas messages and Undo now share a stack that expands when you hover or use the keyboard. Notifications dismiss automatically; long export errors stay short, with the complete message available on demand in export history.",
|
|
85
|
+
"surface": "design-ui"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "source-sync-preserves-valid-canvases",
|
|
89
|
+
"version": "1.3.0",
|
|
90
|
+
"date": "2026-09-15",
|
|
91
|
+
"kind": "fix",
|
|
92
|
+
"title": "Safer canvas source syncing",
|
|
93
|
+
"summary": "Sync now holds incoming canvas code with syntax errors or duplicate declarations and warns you in the Sync panel. Concurrent edits preserve more unchanged code, and recovery copies help you recover local work when a conflicting update is held.",
|
|
94
|
+
"surface": "design-ui"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "sticky-notes-take-a-second-line",
|
|
98
|
+
"version": "1.3.0",
|
|
99
|
+
"date": "2026-09-15",
|
|
100
|
+
"kind": "fix",
|
|
101
|
+
"title": "Sticky notes take a second line",
|
|
102
|
+
"summary": "Shift+Enter in a sticky note could look like it did nothing. A note never grew, and its text is clipped at the card's edge, so on a full note the new line was inserted and then hidden — notes now grow as you type and keep that height. Opening a note from the keyboard selects all of its text so you can retype it, and Shift+Enter used to replace the lot; it now adds a line instead, while typing still replaces. And on a project synced to a workspace, what you have typed into an open note is no longer overwritten mid-keystroke when a collaborator edits the same note.",
|
|
103
|
+
"surface": "design-ui"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "pdf-export-print-safe-text",
|
|
107
|
+
"version": "1.2.0",
|
|
108
|
+
"date": "2026-09-04",
|
|
109
|
+
"kind": "feature",
|
|
110
|
+
"title": "PDF exports a print shop will actually accept",
|
|
111
|
+
"summary": "A colour font or a faux-italic could come out of a PDF export in a form printers reject — the file looked perfect on screen, and you only found out when the print shop refused it. Maude now checks the fonts on every PDF export and warns you, by name, when one of them would fail preflight. Under Text you can also ask it to verify the fonts are properly embedded, or convert all text to curves so there is nothing left to break — bleed, crop marks and photo resolution all come through untouched.",
|
|
112
|
+
"surface": "design-ui"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "seed-progress-you-can-watch",
|
|
116
|
+
"version": "1.2.0",
|
|
117
|
+
"date": "2026-09-04",
|
|
118
|
+
"kind": "improvement",
|
|
119
|
+
"title": "You can watch a large project sync",
|
|
120
|
+
"summary": "Linking a big project used to be a black box: the Sync panel counted files it had moved but never how many there were, so \"1 412\" looked the same whether it was a quarter done or finished — and `maude design status` reported only canvases, so a project with hundreds of files still on their way could read as fully synced. Now every surface shows the same thing: how many of how many have arrived, what is waiting, and what is stuck and why. The panel has a progress bar, `maude design status` has a files line (and a `--watch` mode), and the desktop app puts the count in the window title and tells you once when it finishes. Files the workspace will never take — something over its size limit, or an hourly upload allowance that is used up — now say so by name instead of retrying forever.",
|
|
121
|
+
"surface": "design-ui"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": "images-arrive-again",
|
|
125
|
+
"version": "1.2.0",
|
|
126
|
+
"date": "2026-09-04",
|
|
127
|
+
"kind": "fix",
|
|
128
|
+
"title": "Images arrive again on linked projects",
|
|
129
|
+
"summary": "On a project synced with a workspace, images and other project files could quietly never arrive — broken placeholders on the canvas while the Sync panel still said everything was synced. When a workspace asks Maude to slow down, it now waits as long as it was asked instead of retrying straight into the same wall, and the Sync panel says so in plain words: syncing is paused for a moment, nothing is lost, the rest arrives when the pause lifts.",
|
|
130
|
+
"surface": "design-ui"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "comments-stop-disappearing",
|
|
134
|
+
"version": "1.2.0",
|
|
135
|
+
"date": "2026-09-04",
|
|
136
|
+
"kind": "fix",
|
|
137
|
+
"title": "Comments stop disappearing",
|
|
138
|
+
"summary": "On a project linked to a hub, a comment you had just added could vanish a few seconds later, leaving only the first one on the canvas — with nothing to undo and no sign anything had gone wrong. A new comment now reaches the shared project before it is written to disk, and Maude will not overwrite a comment it has not seen yet, so what you write stays put.",
|
|
139
|
+
"surface": "design-ui"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "comments-stop-duplicating",
|
|
143
|
+
"version": "1.2.0",
|
|
144
|
+
"date": "2026-09-04",
|
|
145
|
+
"kind": "fix",
|
|
146
|
+
"title": "Comments stop duplicating, and resolve works",
|
|
147
|
+
"summary": "On a project linked to a hub, a comment could come back two, four, then eight times, and clicking resolve appeared to do nothing — every copy had to be dealt with separately, and new ones kept arriving. Maude now recognises the copies as one comment, so they collapse back to a single pin, and resolving or deleting one clears all of it. A project that already filled up with duplicates repairs itself the next time you open it.",
|
|
148
|
+
"surface": "design-ui"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "synced-canvases-stop-duplicating",
|
|
152
|
+
"version": "1.2.0",
|
|
153
|
+
"date": "2026-09-04",
|
|
154
|
+
"kind": "fix",
|
|
155
|
+
"title": "Synced canvases stop duplicating themselves",
|
|
156
|
+
"summary": "On a project linked to a hub, a canvas could come back with its whole contents pasted onto itself — twice, sometimes more — which broke the build and left the canvas unopenable. It happened when two people (or your machine and the hub) first picked up the same canvas at the same moment. Maude now recognises that exact shape and collapses it back to one copy, on the styles as well as the body. Moving a canvas into another folder also fixes up its imports instead of breaking them.",
|
|
157
|
+
"surface": "design-ui"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"date": "2026-09-04",
|
|
161
|
+
"id": "sync-recovers-after-the-workspace-sleeps",
|
|
162
|
+
"kind": "fix",
|
|
163
|
+
"summary": "If you left Maude alone for a while, your cloud workspace went to sleep and syncing quietly stopped — the indicator still said it was connected, and only pressing Resync got it moving again. Maude now notices when the connection has gone quiet, brings it back on its own, and only reports canvases as synced once they really are.",
|
|
164
|
+
"surface": "design-ui",
|
|
165
|
+
"title": "Sync comes back on its own",
|
|
166
|
+
"version": "1.2.0"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"date": "2026-09-04",
|
|
170
|
+
"id": "long-chats-no-longer-freeze",
|
|
171
|
+
"kind": "fix",
|
|
172
|
+
"summary": "In a project with a long chat history, Maude could slow to a crawl and stop responding for many minutes while using enormous amounts of memory — often needing a force-quit. Screenshots the agent took were being stored inside the chat history at full size, and every chat you opened re-read all of it. Chats now stay small and are read in fixed-size pieces, so a long history costs the same as a short one.",
|
|
173
|
+
"surface": "design-ui",
|
|
174
|
+
"title": "Long chats no longer freeze Maude",
|
|
175
|
+
"version": "1.2.0"
|
|
176
|
+
},
|
|
4
177
|
{
|
|
5
178
|
"id": "canvas-media-plays-on-linux",
|
|
6
179
|
"version": "1.0.10",
|
package/cli/bin/maude.mjs
CHANGED
|
@@ -14,6 +14,7 @@ const COMMANDS = {
|
|
|
14
14
|
init: () => import('../commands/init.mjs'),
|
|
15
15
|
config: () => import('../commands/config.mjs'),
|
|
16
16
|
cache: () => import('../commands/cache.mjs'),
|
|
17
|
+
codex: () => import('../commands/codex.mjs'),
|
|
17
18
|
preflight: () => import('../commands/preflight.mjs'),
|
|
18
19
|
design: () => import('../commands/design.mjs'),
|
|
19
20
|
'scenario-report': () => import('../commands/scenario-report.mjs'),
|
|
@@ -21,6 +22,7 @@ const COMMANDS = {
|
|
|
21
22
|
kg: () => import('../commands/kg.mjs'),
|
|
22
23
|
help: () => import('../commands/help.mjs'),
|
|
23
24
|
hub: () => import('../commands/hub.mjs'),
|
|
25
|
+
harness: () => import('../commands/harness.mjs'),
|
|
24
26
|
version: () => import('../commands/version.mjs'),
|
|
25
27
|
};
|
|
26
28
|
|