@1agh/maude 1.8.1 → 1.9.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/apps/studio/acp/bridge.ts +14 -2
- package/apps/studio/acp/probe.ts +51 -1
- package/apps/studio/api.ts +19 -4
- package/apps/studio/bin/_curl-local.mjs +7 -0
- package/apps/studio/bin/annotate.mjs +16 -7
- package/apps/studio/bin/read-annotations.mjs +62 -4
- package/apps/studio/client/app.jsx +428 -15977
- package/apps/studio/client/dialogs/asset-picker.jsx +331 -0
- package/apps/studio/client/dialogs/command-palette.jsx +112 -0
- package/apps/studio/client/dialogs/export-dialog.jsx +782 -0
- package/apps/studio/client/dialogs/help-modal.jsx +324 -0
- package/apps/studio/client/dialogs/shortcuts-overlay.jsx +144 -0
- package/apps/studio/client/hooks/use-canvas-bridge.jsx +2150 -0
- package/apps/studio/client/hooks/use-git-actions.jsx +236 -0
- package/apps/studio/client/hooks/use-keyboard-shortcuts.jsx +297 -0
- package/apps/studio/client/hooks/use-palette-and-panels.jsx +474 -0
- package/apps/studio/client/hooks/use-photo-and-timeline.jsx +901 -0
- package/apps/studio/client/hooks/use-project-data.jsx +90 -0
- package/apps/studio/client/hooks/use-shell-core.jsx +1212 -0
- package/apps/studio/client/hooks/use-tabs.jsx +723 -0
- package/apps/studio/client/hooks/use-web-socket.jsx +13 -0
- package/apps/studio/client/inspector/artboard-knobs.jsx +456 -0
- package/apps/studio/client/inspector/color-picker.jsx +196 -0
- package/apps/studio/client/inspector/color.js +92 -0
- package/apps/studio/client/inspector/css-knobs.jsx +1720 -0
- package/apps/studio/client/inspector/css-vocab.jsx +131 -0
- package/apps/studio/client/inspector/ds-tokens.js +90 -0
- package/apps/studio/client/inspector/grid-tracks-editor.jsx +97 -0
- package/apps/studio/client/inspector/inspect-computed.jsx +68 -0
- package/apps/studio/client/inspector/inspector-panel.jsx +769 -0
- package/apps/studio/client/inspector/layers.jsx +322 -0
- package/apps/studio/client/inspector/selection.js +65 -0
- package/apps/studio/client/inspector/token-popover.jsx +301 -0
- package/apps/studio/client/menus/menubar.jsx +856 -0
- package/apps/studio/client/selection-scope.js +40 -0
- package/apps/studio/client/shell/banners.jsx +272 -0
- package/apps/studio/client/shell/collapsed-rail.jsx +23 -0
- package/apps/studio/client/shell/comments-panel.jsx +177 -0
- package/apps/studio/client/shell/constants.js +60 -0
- package/apps/studio/client/shell/dock.jsx +131 -0
- package/apps/studio/client/shell/icons.jsx +370 -0
- package/apps/studio/client/shell/status-bar.jsx +215 -0
- package/apps/studio/client/shell/util.js +332 -0
- package/apps/studio/client/shell/viewport.jsx +254 -0
- package/apps/studio/client/system/system-view.jsx +255 -0
- package/apps/studio/client/tree/tree.jsx +1243 -0
- package/apps/studio/comments-overlay.tsx +6 -4
- package/apps/studio/config.schema.json +5 -0
- package/apps/studio/context.ts +13 -0
- package/apps/studio/dist/client.bundle.js +1337 -1337
- package/apps/studio/dist/comment-mount.js +2 -2
- package/apps/studio/exporters/_browser-bundles.ts +21 -2
- package/apps/studio/exporters/jobs.ts +75 -15
- package/apps/studio/exporters/scope.ts +15 -12
- package/apps/studio/format.ts +296 -0
- package/apps/studio/http.ts +213 -23
- package/apps/studio/server.ts +118 -29
- package/apps/studio/sync/accepted-link.ts +6 -0
- package/apps/studio/sync/agent.ts +9 -1
- package/apps/studio/sync/cold-start-apply.ts +29 -4
- package/apps/studio/sync/cold-start.ts +78 -0
- package/apps/studio/sync/file-plane.ts +61 -1
- package/apps/studio/sync/format-sync.ts +160 -0
- package/apps/studio/sync/index.ts +134 -10
- package/apps/studio/sync/journal-client.ts +25 -5
- package/apps/studio/sync/migrate-seed.ts +8 -1
- package/apps/studio/sync/status.ts +2 -0
- package/apps/studio/sync/transaction-client.ts +130 -13
- package/apps/studio/ui-prefs.ts +95 -10
- package/apps/studio/whats-new.json +9 -0
- package/apps/studio/ws.ts +19 -4
- package/cli/bin/claude-design-server.mjs +0 -0
- package/package.json +10 -8
|
@@ -618,7 +618,9 @@ export function CommentsOverlay(): React.ReactNode {
|
|
|
618
618
|
|
|
619
619
|
interface CommitterRow {
|
|
620
620
|
name: string;
|
|
621
|
-
|
|
621
|
+
/** Absent on the canvas origin: it answers a no-e-mail projection (V2-2.8
|
|
622
|
+
* S6) — this composer runs there. The shell's own copy carries it. */
|
|
623
|
+
email?: string;
|
|
622
624
|
commits: number;
|
|
623
625
|
}
|
|
624
626
|
|
|
@@ -721,7 +723,7 @@ function MentionAwareTextarea({
|
|
|
721
723
|
const list = !q
|
|
722
724
|
? committers
|
|
723
725
|
: committers.filter(
|
|
724
|
-
(c) => c.name.toLowerCase().includes(q) || c.email.toLowerCase().includes(q)
|
|
726
|
+
(c) => c.name.toLowerCase().includes(q) || (c.email ?? '').toLowerCase().includes(q)
|
|
725
727
|
);
|
|
726
728
|
return list.slice(0, 8);
|
|
727
729
|
}, [token, committers]);
|
|
@@ -832,7 +834,7 @@ function MentionAwareTextarea({
|
|
|
832
834
|
const selected = i === highlight;
|
|
833
835
|
return (
|
|
834
836
|
<li
|
|
835
|
-
key={`${c.name}-${c.email}`}
|
|
837
|
+
key={`${c.name}-${c.email ?? ''}`}
|
|
836
838
|
role="option"
|
|
837
839
|
aria-selected={selected}
|
|
838
840
|
className="cm-mention-popup__item"
|
|
@@ -845,7 +847,7 @@ function MentionAwareTextarea({
|
|
|
845
847
|
}}
|
|
846
848
|
>
|
|
847
849
|
<span className="cm-mention-popup__name">@{firstNameSlug(c.name)}</span>
|
|
848
|
-
<span className="cm-mention-popup__email">{c.email}</span>
|
|
850
|
+
{c.email ? <span className="cm-mention-popup__email">{c.email}</span> : null}
|
|
849
851
|
</li>
|
|
850
852
|
);
|
|
851
853
|
})}
|
|
@@ -207,6 +207,11 @@
|
|
|
207
207
|
"description": "Name of the DS used when a canvas's .meta.json has no 'designSystem' field. For single-DS projects, this is the only DS. For multi-DS, pick the most common.",
|
|
208
208
|
"default": null
|
|
209
209
|
},
|
|
210
|
+
"formatVersion": {
|
|
211
|
+
"type": "integer",
|
|
212
|
+
"minimum": 1,
|
|
213
|
+
"description": "The project's file format (V2-1.12, Gate 0 A17). Absent = 1 (Maude 1). Written as 2 by `maude migrate v2` / Update project; a build edits only the format it supports and opens any other format view only. Never hand-edit — use `maude migrate v2 [--reverse]`."
|
|
214
|
+
},
|
|
210
215
|
"linkedHub": {
|
|
211
216
|
"type": "object",
|
|
212
217
|
"description": "Pairs this repo with a Maude hub for cross-machine file sync (Phase 9 Task 3+4). Written by 'maude design link <url> --token <hex>'. Token NEVER lives in this committed config — it's stored per-machine in ~/.config/maude/hubs.json. When present, 'maude design serve' starts the bidirectional Yjs↔fs sync agent (Task 4).",
|
package/apps/studio/context.ts
CHANGED
|
@@ -118,6 +118,11 @@ export interface DevServerConfig {
|
|
|
118
118
|
newCanvasDir: string;
|
|
119
119
|
newComponentDir: string;
|
|
120
120
|
linkedHub?: LinkedHub;
|
|
121
|
+
/**
|
|
122
|
+
* V2-1.12 (Gate 0 A17) — the project's file format; absent = 1. Written only
|
|
123
|
+
* by `maude migrate v2` / Update project. The gate is `format.ts`.
|
|
124
|
+
*/
|
|
125
|
+
formatVersion?: number;
|
|
121
126
|
/**
|
|
122
127
|
* feature-ai-media-generation (DDR-16x) — BYOK generation preferences.
|
|
123
128
|
* NON-SECRET ONLY: provider keys live in the OS keychain / ~/.config/maude/
|
|
@@ -219,6 +224,14 @@ export interface Context {
|
|
|
219
224
|
* URLs. Undefined in tests / before the canvas listener boots.
|
|
220
225
|
*/
|
|
221
226
|
canvasOrigin?: string;
|
|
227
|
+
/**
|
|
228
|
+
* V2-2.8 S9 (V2-1.16 L21) — origin of the read-only CAPTURE listener
|
|
229
|
+
* (`http://localhost:<port>`), set by server.ts on a desktop / plain server
|
|
230
|
+
* while the origin split is on. The main origin 307s headless canvas-shell
|
|
231
|
+
* renders here (http.ts); never advertised to clients. Undefined in a cell,
|
|
232
|
+
* with the split off, in tests and before boot.
|
|
233
|
+
*/
|
|
234
|
+
captureOrigin?: string;
|
|
222
235
|
/**
|
|
223
236
|
* T2 (9.1-A) — origin of the MAIN dev-server listener (e.g.
|
|
224
237
|
* `http://localhost:4399`), set by server.ts once the primary listener binds.
|