@dexhq/canvas 0.14.0 → 0.15.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 +36 -0
- package/README.md +5 -3
- package/app/canvas/activity.tsx +8 -15
- package/app/canvas/anchoring.ts +3 -5
- package/app/canvas/canvas-input.ts +151 -14
- package/app/canvas/canvas-keys.ts +9 -0
- package/app/canvas/canvas-model.ts +5 -42
- package/app/canvas/canvas-panels.ts +1 -17
- package/app/canvas/canvas-scene.ts +7 -3
- package/app/canvas/canvas-ui.ts +2 -1
- package/app/canvas/canvas.css +61 -26
- package/app/canvas/change-notice.tsx +10 -1
- package/app/canvas/comment-layer.tsx +2 -1
- package/app/canvas/comments.tsx +204 -82
- package/app/canvas/element-picker.ts +200 -27
- package/app/canvas/engine/canvas-gestures.ts +72 -17
- package/app/canvas/engine/canvas-store.ts +17 -1
- package/app/canvas/engine/engine.css +6 -3
- package/app/canvas/find-bar.tsx +817 -0
- package/app/canvas/find-model.ts +135 -0
- package/app/canvas/flow-canvas.tsx +18 -2
- package/app/canvas/follow-pin.ts +26 -6
- package/app/canvas/frame-node.tsx +9 -9
- package/app/canvas/imported-reviews.tsx +12 -22
- package/app/canvas/layout.ts +27 -0
- package/app/canvas/live-page.ts +142 -19
- package/app/canvas/page-find.ts +220 -0
- package/app/canvas/page-style.ts +23 -0
- package/app/canvas/section-node.tsx +2 -0
- package/app/canvas/spec-threads.ts +24 -23
- package/app/canvas/thread-focus.tsx +14 -12
- package/app/canvas/use-activity.ts +0 -8
- package/app/canvas/use-agent-changes.tsx +34 -40
- package/app/canvas/use-canvas-clipboard.tsx +11 -14
- package/app/canvas/xray.ts +3 -12
- package/app/frame.tsx +5 -0
- package/app/i18n/locales/en/messages.po +88 -8
- package/app/i18n/locales/en/messages.ts +1 -1
- package/app/i18n/locales/pseudo/messages.po +88 -8
- package/app/i18n/locales/pseudo/messages.ts +1 -1
- package/app/icons/glyphs.tsx +4 -0
- package/app/main.tsx +3 -0
- package/app/pages/canvas.tsx +27 -8
- package/app/pages/commands-settings.tsx +16 -2
- package/app/shell/feedback-form.tsx +10 -21
- package/app/shell/feedback-link.tsx +2 -1
- package/app/shell/scaled-frame.tsx +21 -9
- package/app/types.ts +21 -205
- package/app/ui/file-drop.ts +128 -0
- package/app/ui/shadcn/input-group.tsx +2 -2
- package/dist/cli/banner.d.mts +4 -2
- package/dist/cli/banner.mjs +34 -11
- package/dist/cli/commands/app.mjs +19 -11
- package/dist/cli/commands/hook.mjs +2 -1
- package/dist/config/project-files.d.mts +6 -0
- package/dist/config/project-files.mjs +14 -2
- package/dist/config/renamed.d.mts +0 -2
- package/dist/config/renamed.mjs +1 -3
- package/dist/content/capture.d.mts +2 -2
- package/dist/content/capture.mjs +2 -2
- package/dist/content/content.d.mts +3 -141
- package/dist/content/content.mjs +7 -62
- package/dist/content/flow-specs.mjs +1 -1
- package/dist/content/prototype-summary.d.mts +3 -39
- package/dist/content/prototype-summary.mjs +2 -3
- package/dist/content/prototypes.mjs +1 -1
- package/dist/content/text-replace.d.mts +30 -0
- package/dist/content/text-replace.mjs +309 -0
- package/dist/content/thread-module.mjs +1 -1
- package/dist/content/threads.mjs +1 -1
- package/dist/paste/paste.mjs +1 -1
- package/dist/paths.d.mts +0 -2
- package/dist/paths.mjs +1 -3
- package/dist/server/agent-env.d.mts +5 -1
- package/dist/server/agent-env.mjs +7 -2
- package/dist/server/agent-session.d.mts +14 -1
- package/dist/server/agent-session.mjs +84 -19
- package/dist/server/build-pictures.mjs +1 -1
- package/dist/server/channel.d.mts +13 -24
- package/dist/server/channel.mjs +55 -37
- package/dist/server/claimed-presence.d.mts +3 -2
- package/dist/server/claimed-presence.mjs +15 -7
- package/dist/server/close-check.mjs +2 -2
- package/dist/server/comments/actions.d.mts +153 -0
- package/dist/server/comments/actions.mjs +154 -0
- package/dist/server/comments/routes.d.mts +25 -0
- package/dist/server/comments/routes.mjs +88 -0
- package/dist/server/comments/tools.d.mts +6 -0
- package/dist/server/comments/tools.mjs +154 -0
- package/dist/server/dev-server.mjs +27 -13
- package/dist/server/file-lock.d.mts +2 -2
- package/dist/server/file-lock.mjs +130 -36
- package/dist/server/mcp.d.mts +0 -2
- package/dist/server/mcp.mjs +7 -8
- package/dist/server/me.d.mts +1 -1
- package/dist/server/open-page.d.mts +22 -0
- package/dist/server/open-page.mjs +20 -2
- package/dist/server/outcome.d.mts +22 -0
- package/dist/server/outcome.mjs +8 -0
- package/dist/server/own-copies.mjs +2 -2
- package/dist/server/people.d.mts +1 -1
- package/dist/server/port.d.mts +12 -0
- package/dist/server/port.mjs +66 -14
- package/dist/server/presence.d.mts +4 -1
- package/dist/server/presence.mjs +2 -2
- package/dist/server/requests.d.mts +5 -1
- package/dist/server/requests.mjs +33 -48
- package/dist/server/studio-for.d.mts +5 -0
- package/dist/server/studio-for.mjs +17 -3
- package/dist/server/sync-install.d.mts +8 -12
- package/dist/server/sync-install.mjs +12 -30
- package/dist/server/thread-source.mjs +2 -2
- package/dist/server/tools/describe.d.mts +1 -1
- package/dist/server/tools/describe.mjs +1 -1
- package/dist/server/tools/feedback.d.mts +1 -1
- package/dist/server/tools/reading.mjs +13 -4
- package/dist/server/tools/show.d.mts +1 -1
- package/dist/server/tools/snapshot.d.mts +1 -1
- package/dist/server/tools/thread-list.mjs +1 -1
- package/dist/server/tools/watch.mjs +5 -3
- package/dist/server/vite.mjs +2 -2
- package/dist/server/web-app.mjs +4 -7
- package/dist/server/work-groups.mjs +1 -1
- package/dist/setup/create.d.mts +4 -2
- package/dist/setup/create.mjs +67 -17
- package/dist/setup/design-system-checks.mjs +3 -12
- package/dist/setup/desktop-app-script.mjs +4 -3
- package/dist/setup/desktop-app-start.d.mts +8 -2
- package/dist/setup/desktop-app-start.mjs +64 -29
- package/dist/setup/desktop-app.d.mts +8 -0
- package/dist/setup/desktop-app.mjs +19 -3
- package/dist/setup/detect.d.mts +0 -2
- package/dist/setup/detect.mjs +1 -3
- package/dist/setup/doctor.mjs +1 -1
- package/dist/setup/migrate/row-titles.mjs +1 -1
- package/dist/setup/project.d.mts +6 -1
- package/dist/setup/project.mjs +9 -9
- package/dist/setup/starters.d.mts +2 -0
- package/dist/setup/starters.mjs +7 -1
- package/dist/shared/annotations-core.mjs +1 -1
- package/dist/shared/canvas-core.mjs +1 -1
- package/dist/shared/canvas-file.d.mts +201 -0
- package/dist/shared/canvas-file.mjs +1 -0
- package/dist/shared/comments/routes.d.mts +53 -0
- package/dist/shared/comments/routes.mjs +37 -0
- package/dist/shared/feedback.d.mts +8 -0
- package/dist/shared/feedback.mjs +10 -2
- package/dist/shared/page-review.d.mts +2 -11
- package/dist/shared/page-review.mjs +4 -13
- package/dist/shared/presence-core.d.mts +11 -0
- package/dist/shared/presence-core.mjs +11 -2
- package/dist/shared/review-file.d.mts +5 -0
- package/dist/shared/review-file.mjs +23 -13
- package/dist/shared/server-page.mjs +1 -1
- package/dist/shared/signup.d.mts +2 -5
- package/dist/shared/signup.mjs +2 -35
- package/dist/shared/studio-events.d.mts +0 -6
- package/dist/shared/studio-events.mjs +1 -5
- package/dist/shared/studio-files.d.mts +12 -0
- package/dist/shared/studio-files.mjs +6 -1
- package/dist/shared/studio-routes.d.mts +16 -62
- package/dist/shared/studio-routes.mjs +1 -69
- package/dist/shared/threads-core.d.mts +2 -2
- package/dist/shared/threads-core.mjs +1 -1
- package/extension/dist/feedback.js +148 -138
- package/extension/dist/manifest.json +1 -1
- package/extension/dist/picker.js +146 -136
- package/package.json +2 -2
- package/src/cli/banner.ts +45 -11
- package/src/cli/commands/app.ts +23 -8
- package/src/cli/commands/hook.ts +4 -1
- package/src/config/project-files.ts +21 -6
- package/src/config/renamed.ts +0 -3
- package/src/content/capture.ts +6 -12
- package/src/content/content.ts +7 -241
- package/src/content/flow-specs.ts +2 -1
- package/src/content/prototype-summary.ts +4 -44
- package/src/content/review-pages.ts +2 -1
- package/src/content/text-replace.ts +449 -0
- package/src/paths.ts +0 -8
- package/src/server/agent-env.ts +12 -2
- package/src/server/agent-session.ts +124 -34
- package/src/server/channel.ts +94 -52
- package/src/server/claimed-presence.ts +26 -10
- package/src/server/comments/actions.ts +352 -0
- package/src/server/comments/routes.ts +176 -0
- package/src/server/comments/tools.ts +317 -0
- package/src/server/dev-server.ts +36 -15
- package/src/server/file-lock.ts +205 -54
- package/src/server/mcp.ts +13 -14
- package/src/server/me.ts +2 -5
- package/src/server/open-page.ts +54 -4
- package/src/server/outcome.ts +26 -0
- package/src/server/people.ts +2 -1
- package/src/server/port.ts +94 -20
- package/src/server/presence.ts +11 -3
- package/src/server/requests.ts +60 -70
- package/src/server/studio-for.ts +26 -2
- package/src/server/sync-install.ts +35 -26
- package/src/server/thread-place.ts +2 -4
- package/src/server/tools/reading.ts +16 -3
- package/src/server/tools/watch.ts +7 -7
- package/src/server/web-app.ts +11 -9
- package/src/setup/create.ts +91 -17
- package/src/setup/design-system-checks.ts +7 -15
- package/src/setup/desktop-app-script.ts +4 -3
- package/src/setup/desktop-app-start.ts +94 -26
- package/src/setup/desktop-app.ts +23 -2
- package/src/setup/detect.ts +0 -4
- package/src/setup/project.ts +9 -8
- package/src/setup/starters.ts +8 -1
- package/src/shared/canvas-file.ts +205 -0
- package/src/shared/comments/routes.ts +79 -0
- package/src/shared/feedback.ts +14 -4
- package/src/shared/page-review.ts +11 -16
- package/src/shared/presence-core.ts +16 -2
- package/src/shared/review-file.ts +28 -12
- package/src/shared/server-page.ts +2 -1
- package/src/shared/signup.ts +4 -28
- package/src/shared/studio-events.ts +0 -13
- package/src/shared/studio-files.ts +14 -0
- package/src/shared/studio-routes.ts +21 -64
- package/src/shared/threads-core.ts +2 -2
- package/dist/server/tools/close-reply.d.mts +0 -6
- package/dist/server/tools/close-reply.mjs +0 -138
- package/dist/server/tools/comment.d.mts +0 -6
- package/dist/server/tools/comment.mjs +0 -49
- package/src/server/tools/close-reply.ts +0 -271
- package/src/server/tools/comment.ts +0 -96
|
@@ -91,6 +91,11 @@ msgstr ""
|
|
|
91
91
|
msgid "{0} new from the team"
|
|
92
92
|
msgstr ""
|
|
93
93
|
|
|
94
|
+
#. placeholder {0}: at + 1
|
|
95
|
+
#: app/canvas/find-bar.tsx
|
|
96
|
+
msgid "{0} of {counted}"
|
|
97
|
+
msgstr ""
|
|
98
|
+
|
|
94
99
|
#. placeholder {0}: humanise(group.name)
|
|
95
100
|
#: app/canvas/removed-views-panel.tsx
|
|
96
101
|
msgid "{0}, {versions} versions"
|
|
@@ -957,6 +962,7 @@ msgid "Click Load unpacked and choose that folder: the one with manifest.json in
|
|
|
957
962
|
msgstr ""
|
|
958
963
|
|
|
959
964
|
#: app/canvas/comments.tsx
|
|
965
|
+
#: app/canvas/find-bar.tsx
|
|
960
966
|
#: app/canvas/floating-panel.tsx
|
|
961
967
|
#: app/canvas/review-panel.tsx
|
|
962
968
|
#: app/editor/node-views.tsx
|
|
@@ -1039,10 +1045,6 @@ msgstr ""
|
|
|
1039
1045
|
msgid "Comments"
|
|
1040
1046
|
msgstr ""
|
|
1041
1047
|
|
|
1042
|
-
#: app/canvas/comments.tsx
|
|
1043
|
-
msgid "Comments hidden"
|
|
1044
|
-
msgstr ""
|
|
1045
|
-
|
|
1046
1048
|
#: app/shell/agent-manual.tsx
|
|
1047
1049
|
msgid "Comments on a canvas reach a watching agent by themselves. It takes each one (👀), makes the change, and closes it (✅) once the code it changed passes {PRODUCT}’s checks. A comment it doesn’t finish goes back to waiting for an agent."
|
|
1048
1050
|
msgstr ""
|
|
@@ -1736,6 +1738,10 @@ msgstr ""
|
|
|
1736
1738
|
msgid "Filter comments"
|
|
1737
1739
|
msgstr ""
|
|
1738
1740
|
|
|
1741
|
+
#: app/canvas/find-bar.tsx
|
|
1742
|
+
msgid "Find"
|
|
1743
|
+
msgstr ""
|
|
1744
|
+
|
|
1739
1745
|
#: app/git/branch-panel.tsx
|
|
1740
1746
|
msgid "Find a branch"
|
|
1741
1747
|
msgstr ""
|
|
@@ -1748,6 +1754,14 @@ msgstr ""
|
|
|
1748
1754
|
msgid "Find a frame"
|
|
1749
1755
|
msgstr ""
|
|
1750
1756
|
|
|
1757
|
+
#: app/canvas/find-bar.tsx
|
|
1758
|
+
msgid "Find on the frames"
|
|
1759
|
+
msgstr ""
|
|
1760
|
+
|
|
1761
|
+
#: app/canvas/find-bar.tsx
|
|
1762
|
+
msgid "Finding…"
|
|
1763
|
+
msgstr ""
|
|
1764
|
+
|
|
1751
1765
|
#: app/git/paused.tsx
|
|
1752
1766
|
msgid "Finish"
|
|
1753
1767
|
msgstr ""
|
|
@@ -1938,6 +1952,10 @@ msgstr ""
|
|
|
1938
1952
|
msgid "Hide from published site"
|
|
1939
1953
|
msgstr ""
|
|
1940
1954
|
|
|
1955
|
+
#: app/canvas/find-bar.tsx
|
|
1956
|
+
msgid "Hide replace"
|
|
1957
|
+
msgstr ""
|
|
1958
|
+
|
|
1941
1959
|
#: app/canvas/imported-reviews.tsx
|
|
1942
1960
|
msgid "Hide resolved"
|
|
1943
1961
|
msgstr ""
|
|
@@ -2097,6 +2115,10 @@ msgstr ""
|
|
|
2097
2115
|
msgid "It could not be pasted."
|
|
2098
2116
|
msgstr ""
|
|
2099
2117
|
|
|
2118
|
+
#: app/canvas/find-bar.tsx
|
|
2119
|
+
msgid "It could not be put back."
|
|
2120
|
+
msgstr ""
|
|
2121
|
+
|
|
2100
2122
|
#: app/canvas/props-panel.tsx
|
|
2101
2123
|
msgid "it could not be saved here."
|
|
2102
2124
|
msgstr ""
|
|
@@ -2517,6 +2539,10 @@ msgstr ""
|
|
|
2517
2539
|
msgid "New section from these"
|
|
2518
2540
|
msgstr ""
|
|
2519
2541
|
|
|
2542
|
+
#: app/canvas/find-bar.tsx
|
|
2543
|
+
msgid "Next"
|
|
2544
|
+
msgstr ""
|
|
2545
|
+
|
|
2520
2546
|
#: app/pages/play-bar.tsx
|
|
2521
2547
|
msgid "Next step"
|
|
2522
2548
|
msgstr ""
|
|
@@ -2616,6 +2642,10 @@ msgstr ""
|
|
|
2616
2642
|
msgid "No React or bundler: put it at the end of <0><body></0>. It loads Markup from jsDelivr. Keep <1>type=\"module\"</1> and an exact version."
|
|
2617
2643
|
msgstr ""
|
|
2618
2644
|
|
|
2645
|
+
#: app/canvas/find-bar.tsx
|
|
2646
|
+
msgid "No results"
|
|
2647
|
+
msgstr ""
|
|
2648
|
+
|
|
2619
2649
|
#: app/canvas/imported-reviews.tsx
|
|
2620
2650
|
msgid "No reviews to show."
|
|
2621
2651
|
msgstr ""
|
|
@@ -2740,6 +2770,18 @@ msgstr ""
|
|
|
2740
2770
|
msgid "Note"
|
|
2741
2771
|
msgstr ""
|
|
2742
2772
|
|
|
2773
|
+
#: app/canvas/find-bar.tsx
|
|
2774
|
+
msgid "Nothing changed: {left} files changed meanwhile, or could not be written. Try again."
|
|
2775
|
+
msgstr ""
|
|
2776
|
+
|
|
2777
|
+
#: app/canvas/find-bar.tsx
|
|
2778
|
+
msgid "Nothing changed: these words aren't written as text in your files."
|
|
2779
|
+
msgstr ""
|
|
2780
|
+
|
|
2781
|
+
#: app/canvas/find-bar.tsx
|
|
2782
|
+
msgid "Nothing changed."
|
|
2783
|
+
msgstr ""
|
|
2784
|
+
|
|
2743
2785
|
#: app/canvas/comments.tsx
|
|
2744
2786
|
msgid "Nothing for people"
|
|
2745
2787
|
msgstr ""
|
|
@@ -3121,10 +3163,6 @@ msgstr ""
|
|
|
3121
3163
|
msgid "Presenting"
|
|
3122
3164
|
msgstr ""
|
|
3123
3165
|
|
|
3124
|
-
#: app/canvas/comments.tsx
|
|
3125
|
-
msgid "Press ⇧C, or choose Show comments in ⋯, to see them."
|
|
3126
|
-
msgstr ""
|
|
3127
|
-
|
|
3128
3166
|
#: app/canvas/styles-layer.tsx
|
|
3129
3167
|
msgid "Pressed"
|
|
3130
3168
|
msgstr ""
|
|
@@ -3142,6 +3180,10 @@ msgstr ""
|
|
|
3142
3180
|
msgid "Previewing the deployed site"
|
|
3143
3181
|
msgstr ""
|
|
3144
3182
|
|
|
3183
|
+
#: app/canvas/find-bar.tsx
|
|
3184
|
+
msgid "Previous"
|
|
3185
|
+
msgstr ""
|
|
3186
|
+
|
|
3145
3187
|
#: app/pages/play-bar.tsx
|
|
3146
3188
|
msgid "Previous step"
|
|
3147
3189
|
msgstr ""
|
|
@@ -3202,6 +3244,14 @@ msgstr ""
|
|
|
3202
3244
|
msgid "Put back"
|
|
3203
3245
|
msgstr ""
|
|
3204
3246
|
|
|
3247
|
+
#: app/canvas/find-bar.tsx
|
|
3248
|
+
msgid "Put back, but for {kept} files changed since."
|
|
3249
|
+
msgstr ""
|
|
3250
|
+
|
|
3251
|
+
#: app/canvas/find-bar.tsx
|
|
3252
|
+
msgid "Put back."
|
|
3253
|
+
msgstr ""
|
|
3254
|
+
|
|
3205
3255
|
#: app/canvas/slide-full-screen.tsx
|
|
3206
3256
|
msgid "Put words on the slide"
|
|
3207
3257
|
msgstr ""
|
|
@@ -3340,6 +3390,24 @@ msgstr ""
|
|
|
3340
3390
|
msgid "Reopen"
|
|
3341
3391
|
msgstr ""
|
|
3342
3392
|
|
|
3393
|
+
#: app/canvas/find-bar.tsx
|
|
3394
|
+
msgid "Replace"
|
|
3395
|
+
msgstr ""
|
|
3396
|
+
|
|
3397
|
+
#: app/canvas/find-bar.tsx
|
|
3398
|
+
msgid "Replace all, in your files"
|
|
3399
|
+
msgstr ""
|
|
3400
|
+
|
|
3401
|
+
#: app/canvas/find-bar.tsx
|
|
3402
|
+
msgid "Replace with"
|
|
3403
|
+
msgstr ""
|
|
3404
|
+
|
|
3405
|
+
#. placeholder {0}: status.replaced
|
|
3406
|
+
#. placeholder {1}: status.files
|
|
3407
|
+
#: app/canvas/find-bar.tsx
|
|
3408
|
+
msgid "Replaced {0} in {1} files."
|
|
3409
|
+
msgstr ""
|
|
3410
|
+
|
|
3343
3411
|
#: app/shell/bell.tsx
|
|
3344
3412
|
msgid "Replies and comments for you show here."
|
|
3345
3413
|
msgstr ""
|
|
@@ -4297,6 +4365,10 @@ msgstr ""
|
|
|
4297
4365
|
msgid "They collect here as the work goes on."
|
|
4298
4366
|
msgstr ""
|
|
4299
4367
|
|
|
4368
|
+
#: app/canvas/find-bar.tsx
|
|
4369
|
+
msgid "They could not be replaced."
|
|
4370
|
+
msgstr ""
|
|
4371
|
+
|
|
4300
4372
|
#: app/git/git-toasts.tsx
|
|
4301
4373
|
msgid "They’re on {base}, not on {branch} yet."
|
|
4302
4374
|
msgstr ""
|
|
@@ -4397,6 +4469,10 @@ msgstr ""
|
|
|
4397
4469
|
msgid "To change one, add a file with the same name to this project’s rules or methods folder: it replaces {PRODUCT}’s, and it is marked here."
|
|
4398
4470
|
msgstr ""
|
|
4399
4471
|
|
|
4472
|
+
#: app/canvas/find-bar.tsx
|
|
4473
|
+
msgid "Too many places to replace at once: find something narrower."
|
|
4474
|
+
msgstr ""
|
|
4475
|
+
|
|
4400
4476
|
#: app/pages/play-bar.tsx
|
|
4401
4477
|
msgid "Toolbar hidden. Press {SHOW_KEY} to show it."
|
|
4402
4478
|
msgstr ""
|
|
@@ -4423,6 +4499,10 @@ msgstr ""
|
|
|
4423
4499
|
msgid "TV"
|
|
4424
4500
|
msgstr ""
|
|
4425
4501
|
|
|
4502
|
+
#: app/canvas/find-bar.tsx
|
|
4503
|
+
msgid "Undo"
|
|
4504
|
+
msgstr ""
|
|
4505
|
+
|
|
4426
4506
|
#: app/git/paused.tsx
|
|
4427
4507
|
msgid "Undo it"
|
|
4428
4508
|
msgstr ""
|