@dexhq/canvas 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/app/canvas/canvas-commands.ts +2 -10
- package/app/canvas/canvas-context.tsx +11 -2
- package/app/canvas/canvas-document.ts +5 -1
- package/app/canvas/canvas-keys.ts +1 -1
- package/app/canvas/canvas-model.ts +195 -20
- package/app/canvas/canvas-scene.ts +176 -171
- package/app/canvas/canvas-ui.ts +4 -11
- package/app/canvas/canvas.css +159 -179
- package/app/canvas/change-pictures.tsx +156 -0
- package/app/canvas/comment-drafts.ts +31 -0
- package/app/canvas/comment-layer.tsx +125 -71
- package/app/canvas/comments.tsx +38 -2
- package/app/canvas/element-picker.ts +20 -0
- package/app/canvas/engine/canvas-gestures.ts +15 -3
- package/app/canvas/engine/canvas-store.ts +5 -0
- package/app/canvas/engine/canvas-view.tsx +22 -5
- package/app/canvas/find-bar.tsx +57 -41
- package/app/canvas/flow-canvas.tsx +147 -272
- package/app/canvas/frame-copies.ts +14 -17
- package/app/canvas/frame-drops.ts +15 -7
- package/app/canvas/frame-inspector.ts +192 -41
- package/app/canvas/frame-node.tsx +123 -75
- package/app/canvas/frame-resize.tsx +321 -83
- package/app/canvas/insert-hint.tsx +5 -15
- package/app/canvas/inspect-layer.tsx +73 -19
- package/app/canvas/label-action.tsx +13 -2
- package/app/canvas/layout.ts +233 -98
- package/app/canvas/live-page.ts +5 -0
- package/app/canvas/new-frame.ts +10 -25
- package/app/canvas/note-placing.ts +55 -84
- package/app/canvas/picked-box.tsx +5 -0
- package/app/canvas/picks-menu.tsx +3 -9
- package/app/canvas/readable-colour.ts +52 -0
- package/app/canvas/request-node.tsx +19 -10
- package/app/canvas/scrolling-page.ts +45 -0
- package/app/canvas/section-node.tsx +36 -53
- package/app/canvas/settle.ts +21 -0
- package/app/canvas/snapping.ts +96 -8
- package/app/canvas/spec-frame.tsx +8 -5
- package/app/canvas/spot-pins.tsx +15 -3
- package/app/canvas/stack-frame.tsx +13 -57
- package/app/canvas/stack-model.ts +5 -0
- package/app/canvas/stack-toggle.tsx +89 -0
- package/app/canvas/styles-layer.tsx +23 -43
- package/app/canvas/text-layer.tsx +26 -10
- package/app/canvas/thread-focus.tsx +18 -1
- package/app/canvas/tool-cursors.ts +2 -2
- package/app/canvas/toolbar-parts.tsx +48 -8
- package/app/canvas/toolbar.tsx +12 -10
- package/app/canvas/use-canvas-clipboard.tsx +13 -5
- package/app/canvas/use-reveal.ts +86 -0
- package/app/editor/extensions.ts +2 -0
- package/app/editor/line-break-caret.ts +57 -0
- package/app/git/branch-panel.tsx +61 -20
- package/app/i18n/locales/en/messages.po +64 -17
- package/app/i18n/locales/en/messages.ts +1 -1
- package/app/i18n/locales/pseudo/messages.po +64 -17
- package/app/i18n/locales/pseudo/messages.ts +1 -1
- package/app/icons/glyphs.tsx +2 -0
- package/app/live/studio-live.ts +29 -9
- package/app/pages/canvas.tsx +1 -1
- package/app/pages/commands-settings.tsx +70 -76
- package/app/pages/play-bar.tsx +6 -11
- package/app/pages/play.tsx +52 -33
- package/app/shell/feedback-form.tsx +29 -5
- package/app/ui/prompt-editor.tsx +2 -0
- package/app/ui/use-field-list.ts +90 -0
- package/dist/cli/commands/mcp.mjs +6 -4
- package/dist/cli/mcp-relay.mjs +10 -6
- package/dist/content/content.d.mts +26 -9
- package/dist/content/content.mjs +65 -8
- package/dist/content/screenshot.d.mts +2 -0
- package/dist/content/screenshot.mjs +3 -0
- package/dist/content/snapshot-client.d.mts +2 -0
- package/dist/content/snapshot-client.mjs +12 -1
- package/dist/inspector.js +96 -19
- package/dist/paste/paste.d.mts +5 -0
- package/dist/paste/paste.mjs +7 -2
- package/dist/server/agent-tools.d.mts +1 -0
- package/dist/server/agent-tools.mjs +4 -3
- package/dist/server/change-picture-store.d.mts +13 -0
- package/dist/server/change-picture-store.mjs +42 -0
- package/dist/server/change-pictures.d.mts +25 -0
- package/dist/server/change-pictures.mjs +104 -0
- package/dist/server/close-check.d.mts +11 -0
- package/dist/server/close-check.mjs +37 -5
- package/dist/server/comments/agent-actions.d.mts +8 -4
- package/dist/server/comments/agent-actions.mjs +16 -7
- package/dist/server/comments/close-tools.mjs +7 -5
- package/dist/server/comments/files.d.mts +5 -1
- package/dist/server/comments/hand-out.d.mts +1 -1
- package/dist/server/comments/hand-out.mjs +4 -1
- package/dist/server/comments/push.d.mts +19 -10
- package/dist/server/comments/push.mjs +45 -30
- package/dist/server/comments/studio-files.d.mts +14 -1
- package/dist/server/comments/studio-files.mjs +44 -31
- package/dist/server/comments/tools.d.mts +1 -1
- package/dist/server/comments/workspace.mjs +1 -0
- package/dist/server/dev-server.mjs +34 -0
- package/dist/server/own-copies.mjs +4 -23
- package/dist/server/requests.mjs +57 -3
- package/dist/server/response-budget.d.mts +2 -1
- package/dist/server/response-budget.mjs +4 -3
- package/dist/server/roster.d.mts +19 -8
- package/dist/server/roster.mjs +50 -22
- package/dist/server/studio-for.d.mts +7 -0
- package/dist/server/studio-for.mjs +23 -7
- package/dist/server/thread-forms.d.mts +3 -0
- package/dist/server/thread-forms.mjs +21 -1
- package/dist/server/tools/place-frame.d.mts +1 -0
- package/dist/server/tools/place-frame.mjs +33 -9
- package/dist/server/tools/result.mjs +2 -2
- package/dist/server/tools/snapshot.d.mts +1 -1
- package/dist/server/tools/snapshot.mjs +2 -1
- package/dist/server/tools/studio-context.d.mts +2 -1
- package/dist/server/tools/studio-context.mjs +2 -1
- package/dist/server/tools/watch.mjs +29 -12
- package/dist/server/work-groups.mjs +1 -1
- package/dist/shared/canvas-core.d.mts +39 -5
- package/dist/shared/canvas-core.mjs +60 -15
- package/dist/shared/canvas-file.d.mts +7 -4
- package/dist/shared/change-pictures-core.d.mts +6 -0
- package/dist/shared/change-pictures-core.mjs +5 -0
- package/dist/shared/page-looks.d.mts +12 -0
- package/dist/shared/page-looks.mjs +49 -0
- package/dist/shared/snapshot-clipboard.d.mts +6 -0
- package/dist/shared/studio-routes.d.mts +11 -0
- package/extension/dist/manifest.json +1 -1
- package/extension/dist/picker.js +114 -108
- package/package.json +4 -3
- package/src/cli/commands/mcp.ts +18 -8
- package/src/cli/mcp-relay.ts +13 -6
- package/src/content/content.ts +90 -16
- package/src/content/screenshot.ts +9 -1
- package/src/content/snapshot-client.ts +17 -0
- package/src/paste/paste.ts +18 -1
- package/src/server/agent-tools.ts +5 -4
- package/src/server/change-picture-store.ts +71 -0
- package/src/server/change-pictures.ts +244 -0
- package/src/server/close-check.ts +69 -6
- package/src/server/comments/agent-actions.ts +51 -12
- package/src/server/comments/close-tools.ts +20 -10
- package/src/server/comments/files.ts +10 -2
- package/src/server/comments/hand-out.ts +2 -2
- package/src/server/comments/push.ts +94 -46
- package/src/server/comments/studio-files.ts +77 -46
- package/src/server/comments/workspace.ts +1 -0
- package/src/server/dev-server.ts +70 -0
- package/src/server/own-copies.ts +5 -33
- package/src/server/requests.ts +84 -4
- package/src/server/response-budget.ts +5 -3
- package/src/server/roster.ts +78 -28
- package/src/server/studio-for.ts +32 -7
- package/src/server/thread-forms.ts +41 -1
- package/src/server/tools/place-frame.ts +71 -14
- package/src/server/tools/result.ts +2 -2
- package/src/server/tools/snapshot.ts +2 -1
- package/src/server/tools/studio-context.ts +24 -14
- package/src/server/tools/watch.ts +38 -13
- package/src/server/work-groups.ts +1 -1
- package/src/shared/canvas-core.ts +119 -27
- package/src/shared/canvas-file.ts +7 -4
- package/src/shared/change-pictures-core.ts +8 -0
- package/src/shared/page-looks.ts +133 -0
- package/src/shared/snapshot-clipboard.ts +6 -0
- package/src/shared/studio-routes.ts +7 -1
- package/templates/agents/dex-worker.md +9 -7
- package/templates/feedback-workflow.md +1 -1
- package/templates/methods/review.md +7 -6
- package/templates/rules/canvas-frames.md +8 -7
- package/templates/rules/canvas.md +10 -8
- package/templates/rules/prototypes.md +5 -3
- package/app/canvas/stack-node.tsx +0 -100
|
@@ -383,6 +383,14 @@ msgstr "{SHOW_KEY} to show toolbar"
|
|
|
383
383
|
msgid "{title} cover"
|
|
384
384
|
msgstr "{title} cover"
|
|
385
385
|
|
|
386
|
+
#: app/canvas/stack-toggle.tsx
|
|
387
|
+
msgid "{title}: a stack of {count} frames. Open it to see them all, or move it with the left and right arrows."
|
|
388
|
+
msgstr "{title}: a stack of {count} frames. Open it to see them all, or move it with the left and right arrows."
|
|
389
|
+
|
|
390
|
+
#: app/canvas/stack-toggle.tsx
|
|
391
|
+
msgid "{title}: a stack of {count} frames. Open it to see them all."
|
|
392
|
+
msgstr "{title}: a stack of {count} frames. Open it to see them all."
|
|
393
|
+
|
|
386
394
|
#: app/shell/prototype-menu.tsx
|
|
387
395
|
msgid "{title}: more"
|
|
388
396
|
msgstr "{title}: more"
|
|
@@ -529,6 +537,10 @@ msgstr "Add it yourself"
|
|
|
529
537
|
msgid "Add MCP config"
|
|
530
538
|
msgstr "Add MCP config"
|
|
531
539
|
|
|
540
|
+
#: app/shell/feedback-form.tsx
|
|
541
|
+
msgid "Add more"
|
|
542
|
+
msgstr "Add more"
|
|
543
|
+
|
|
532
544
|
#: app/canvas/frame-context-menu.tsx
|
|
533
545
|
msgid "Add to spec"
|
|
534
546
|
msgstr "Add to spec"
|
|
@@ -559,6 +571,14 @@ msgstr "Added {0}. Click it to try its props."
|
|
|
559
571
|
msgid "Added. Restart {name}, then run your first prompt."
|
|
560
572
|
msgstr "Added. Restart {name}, then run your first prompt."
|
|
561
573
|
|
|
574
|
+
#: app/canvas/change-pictures.tsx
|
|
575
|
+
msgid "After"
|
|
576
|
+
msgstr "After"
|
|
577
|
+
|
|
578
|
+
#: app/canvas/change-pictures.tsx
|
|
579
|
+
msgid "After the change"
|
|
580
|
+
msgstr "After the change"
|
|
581
|
+
|
|
562
582
|
#: app/canvas/comments.tsx
|
|
563
583
|
#: app/shell/settings-sections.ts
|
|
564
584
|
msgid "Agent"
|
|
@@ -753,6 +773,14 @@ msgstr "Back, and caught up."
|
|
|
753
773
|
msgid "Base branch"
|
|
754
774
|
msgstr "Base branch"
|
|
755
775
|
|
|
776
|
+
#: app/canvas/change-pictures.tsx
|
|
777
|
+
msgid "Before"
|
|
778
|
+
msgstr "Before"
|
|
779
|
+
|
|
780
|
+
#: app/canvas/change-pictures.tsx
|
|
781
|
+
msgid "Before and after"
|
|
782
|
+
msgstr "Before and after"
|
|
783
|
+
|
|
756
784
|
#: app/pages/canvas-settings.tsx
|
|
757
785
|
#: app/shell/instructions-editor.tsx
|
|
758
786
|
msgid "Blocks"
|
|
@@ -784,6 +812,10 @@ msgstr "Branch prefix"
|
|
|
784
812
|
msgid "Branch: {shown}"
|
|
785
813
|
msgstr "Branch: {shown}"
|
|
786
814
|
|
|
815
|
+
#: app/git/branch-panel.tsx
|
|
816
|
+
msgid "Branches"
|
|
817
|
+
msgstr "Branches"
|
|
818
|
+
|
|
787
819
|
#: app/pages/deployment-settings.tsx
|
|
788
820
|
msgid "Branches, Sync, pull requests and People, which come from git, stay where Dex runs."
|
|
789
821
|
msgstr "Branches, Sync, pull requests and People, which come from git, stay where Dex runs."
|
|
@@ -1027,10 +1059,6 @@ msgstr "Codebase"
|
|
|
1027
1059
|
msgid "Codex reads it only in a project you trust: when Codex asks about this folder, trust it."
|
|
1028
1060
|
msgstr "Codex reads it only in a project you trust: when Codex asks about this folder, trust it."
|
|
1029
1061
|
|
|
1030
|
-
#: app/canvas/stack-frame.tsx
|
|
1031
|
-
msgid "Collapse"
|
|
1032
|
-
msgstr "Collapse"
|
|
1033
|
-
|
|
1034
1062
|
#: app/canvas/styles-layer.tsx
|
|
1035
1063
|
msgid "Colour"
|
|
1036
1064
|
msgstr "Colour"
|
|
@@ -1561,6 +1589,10 @@ msgstr "Dex is up to date"
|
|
|
1561
1589
|
msgid "Dex isn’t responding."
|
|
1562
1590
|
msgstr "Dex isn’t responding."
|
|
1563
1591
|
|
|
1592
|
+
#: app/canvas/change-pictures.tsx
|
|
1593
|
+
msgid "Dex no longer has the pictures of this change."
|
|
1594
|
+
msgstr "Dex no longer has the pictures of this change."
|
|
1595
|
+
|
|
1564
1596
|
#: app/shell/update-notice.tsx
|
|
1565
1597
|
msgid "Dex restarted on it."
|
|
1566
1598
|
msgstr "Dex restarted on it."
|
|
@@ -1921,6 +1953,10 @@ msgstr "Focus"
|
|
|
1921
1953
|
msgid "Focus ring"
|
|
1922
1954
|
msgstr "Focus ring"
|
|
1923
1955
|
|
|
1956
|
+
#: app/canvas/stack-toggle.tsx
|
|
1957
|
+
msgid "Fold back the stack of {count} frames"
|
|
1958
|
+
msgstr "Fold back the stack of {count} frames"
|
|
1959
|
+
|
|
1924
1960
|
#: app/canvas/device-icons.ts
|
|
1925
1961
|
msgid "Foldable"
|
|
1926
1962
|
msgstr "Foldable"
|
|
@@ -2496,6 +2532,10 @@ msgstr "Markup"
|
|
|
2496
2532
|
msgid "Markup on a shop’s cart: a task under way in its panel, with a reviewer’s comment on the total, pinned where they clicked."
|
|
2497
2533
|
msgstr "Markup on a shop’s cart: a task under way in its panel, with a reviewer’s comment on the total, pinned where they clicked."
|
|
2498
2534
|
|
|
2535
|
+
#: app/canvas/find-bar.tsx
|
|
2536
|
+
msgid "Matches"
|
|
2537
|
+
msgstr "Matches"
|
|
2538
|
+
|
|
2499
2539
|
#: app/shell/settings-sections.ts
|
|
2500
2540
|
msgid "MCP connection"
|
|
2501
2541
|
msgstr "MCP connection"
|
|
@@ -2577,10 +2617,6 @@ msgstr "Move all yours to trash"
|
|
|
2577
2617
|
msgid "Move the row: drag it, or press the up and down arrows"
|
|
2578
2618
|
msgstr "Move the row: drag it, or press the up and down arrows"
|
|
2579
2619
|
|
|
2580
|
-
#: app/canvas/stack-node.tsx
|
|
2581
|
-
msgid "Move the stack: drag it, or press the left and right arrows"
|
|
2582
|
-
msgstr "Move the stack: drag it, or press the left and right arrows"
|
|
2583
|
-
|
|
2584
2620
|
#: app/canvas/removed-views-panel.tsx
|
|
2585
2621
|
msgid "Move to trash"
|
|
2586
2622
|
msgstr "Move to trash"
|
|
@@ -3177,6 +3213,10 @@ msgstr "Pasted {0}"
|
|
|
3177
3213
|
msgid "Pasted a snapshot."
|
|
3178
3214
|
msgstr "Pasted a snapshot."
|
|
3179
3215
|
|
|
3216
|
+
#: app/canvas/use-canvas-clipboard.tsx
|
|
3217
|
+
msgid "Pasted a snapshot. Part of it was sized by the page's scripts, so it keeps that size when you resize the frame."
|
|
3218
|
+
msgstr "Pasted a snapshot. Part of it was sized by the page's scripts, so it keeps that size when you resize the frame."
|
|
3219
|
+
|
|
3180
3220
|
#: app/canvas/use-canvas-clipboard.tsx
|
|
3181
3221
|
msgid "Pasting…"
|
|
3182
3222
|
msgstr "Pasting…"
|
|
@@ -3992,6 +4032,10 @@ msgstr "Show reviews or their comments"
|
|
|
3992
4032
|
msgid "Show teammates’ frames"
|
|
3993
4033
|
msgstr "Show teammates’ frames"
|
|
3994
4034
|
|
|
4035
|
+
#: app/canvas/change-pictures.tsx
|
|
4036
|
+
msgid "Show the change"
|
|
4037
|
+
msgstr "Show the change"
|
|
4038
|
+
|
|
3995
4039
|
#: app/canvas/grid-panel.tsx
|
|
3996
4040
|
msgid "Show the grid"
|
|
3997
4041
|
msgstr "Show the grid"
|
|
@@ -4112,14 +4156,6 @@ msgstr "Specs"
|
|
|
4112
4156
|
msgid "Stack"
|
|
4113
4157
|
msgstr "Stack"
|
|
4114
4158
|
|
|
4115
|
-
#: app/canvas/stack-frame.tsx
|
|
4116
|
-
msgid "Stack of {count}"
|
|
4117
|
-
msgstr "Stack of {count}"
|
|
4118
|
-
|
|
4119
|
-
#: app/canvas/stack-frame.tsx
|
|
4120
|
-
msgid "Stack of {count} frames. Open it to see them all."
|
|
4121
|
-
msgstr "Stack of {count} frames. Open it to see them all."
|
|
4122
|
-
|
|
4123
4159
|
#: app/shell/connect-agent.tsx
|
|
4124
4160
|
msgid "Start {name} in this project"
|
|
4125
4161
|
msgstr "Start {name} in this project"
|
|
@@ -4344,6 +4380,10 @@ msgstr "That image could not be read."
|
|
|
4344
4380
|
msgid "That section is someone else's: place the note on one of yours, or outside any section."
|
|
4345
4381
|
msgstr "That section is someone else's: place the note on one of yours, or outside any section."
|
|
4346
4382
|
|
|
4383
|
+
#: app/canvas/note-placing.ts
|
|
4384
|
+
msgid "That section is someone else's: place the section header on one of yours, or outside any section."
|
|
4385
|
+
msgstr "That section is someone else's: place the section header on one of yours, or outside any section."
|
|
4386
|
+
|
|
4347
4387
|
#: app/canvas/spec-placing.tsx
|
|
4348
4388
|
msgid "That section is someone else's: place the slide on one of yours, or outside any section."
|
|
4349
4389
|
msgstr "That section is someone else's: place the slide on one of yours, or outside any section."
|
|
@@ -4420,6 +4460,14 @@ msgstr "The export failed."
|
|
|
4420
4460
|
msgid "The first time, it asks whether to use the dex MCP server: choose “Use this MCP server”, not the one it picks for you. If it was turned down before, run /mcp in Claude Code and enable dex."
|
|
4421
4461
|
msgstr "The first time, it asks whether to use the dex MCP server: choose “Use this MCP server”, not the one it picks for you. If it was turned down before, run /mcp in Claude Code and enable dex."
|
|
4422
4462
|
|
|
4463
|
+
#: app/canvas/change-pictures.tsx
|
|
4464
|
+
msgid "The frame after the change"
|
|
4465
|
+
msgstr "The frame after the change"
|
|
4466
|
+
|
|
4467
|
+
#: app/canvas/change-pictures.tsx
|
|
4468
|
+
msgid "The frame before the change"
|
|
4469
|
+
msgstr "The frame before the change"
|
|
4470
|
+
|
|
4423
4471
|
#: app/canvas/use-canvas-editor.ts
|
|
4424
4472
|
msgid "The frame could not be added."
|
|
4425
4473
|
msgstr "The frame could not be added."
|
|
@@ -4760,7 +4808,6 @@ msgid "Unsaved changes"
|
|
|
4760
4808
|
msgstr "Unsaved changes"
|
|
4761
4809
|
|
|
4762
4810
|
#: app/canvas/frame-context-menu.tsx
|
|
4763
|
-
#: app/canvas/stack-frame.tsx
|
|
4764
4811
|
msgid "Unstack"
|
|
4765
4812
|
msgstr "Unstack"
|
|
4766
4813
|
|