@1agh/maude 2.1.0 → 2.1.2
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/access/request.ts +1 -0
- package/apps/studio/actions/agents.ts +45 -42
- package/apps/studio/actions/defs/app.ts +28 -1
- package/apps/studio/actions/defs/sync.ts +4 -0
- package/apps/studio/actions/verbs.ts +49 -0
- package/apps/studio/actions.manifest.json +162 -20
- package/apps/studio/actions.parity.json +13 -1
- package/apps/studio/ai/create-claim.ts +1 -1
- package/apps/studio/bin/_asset-file.mjs +117 -0
- package/apps/studio/bin/_canvas-file.mjs +146 -0
- package/apps/studio/bin/_curl-local.mjs +7 -4
- package/apps/studio/bin/_footage.mjs +123 -0
- package/apps/studio/bin/_pdf-playwright.mjs +14 -0
- package/apps/studio/bin/_png-playwright.mjs +15 -1
- package/apps/studio/bin/_pw-launch.mjs +98 -0
- package/apps/studio/bin/_retry-save.mjs +49 -0
- package/apps/studio/bin/_sync.mjs +145 -2
- package/apps/studio/bin/asset-rename.sh +12 -0
- package/apps/studio/bin/asset-trash.sh +12 -0
- package/apps/studio/bin/canvas-move.sh +12 -0
- package/apps/studio/bin/canvas-new.sh +12 -0
- package/apps/studio/bin/footage.sh +12 -0
- package/apps/studio/bin/generate.sh +7 -0
- package/apps/studio/bin/retry-save.sh +13 -0
- package/apps/studio/bridge/canvas-mode-store.ts +11 -2
- package/apps/studio/bridge/dgn-protocol.ts +8 -3
- package/apps/studio/bridge/occlusion.ts +45 -0
- package/apps/studio/canvas-theme-pill.tsx +169 -26
- package/apps/studio/client/app.jsx +16 -4
- package/apps/studio/client/export-center.jsx +32 -3
- package/apps/studio/client/home/HomeAccountBanner.jsx +61 -0
- package/apps/studio/client/home/HomeAccountsChip.jsx +404 -0
- package/apps/studio/client/home/HomeConnection.jsx +112 -0
- package/apps/studio/client/home/ProjectRows.jsx +514 -0
- package/apps/studio/client/home/home-accounts-model.js +234 -76
- package/apps/studio/client/home/home-api.js +10 -2
- package/apps/studio/client/home/home-app.jsx +151 -394
- package/apps/studio/client/home/home-icons.jsx +8 -0
- package/apps/studio/client/home/home-model.js +149 -1
- package/apps/studio/client/home/home-where-model.js +105 -0
- package/apps/studio/client/home/home.css +621 -53
- package/apps/studio/client/home/use-account-fix.js +123 -0
- package/apps/studio/client/hooks/use-palette-and-panels.jsx +3 -1
- package/apps/studio/client/hooks/use-tabs.jsx +11 -4
- package/apps/studio/client/panels/TeamProjects.jsx +137 -134
- package/apps/studio/client/share-link.js +12 -0
- package/apps/studio/client/styles/_index.css +4 -0
- package/apps/studio/client/v2/assets/generate-ask.jsx +3 -1
- package/apps/studio/client/v2/diagnostics/diagnostics-host.jsx +1 -0
- package/apps/studio/client/v2/diagnostics/diagnostics-model.js +32 -2
- package/apps/studio/client/v2/diagnostics/diagnostics-sheet.jsx +35 -8
- package/apps/studio/client/v2/diagnostics/diagnostics.css +34 -0
- package/apps/studio/client/v2/diagnostics/sync-details/sync-details-model.js +94 -3
- package/apps/studio/client/v2/diagnostics/sync-details/sync-details.jsx +187 -4
- package/apps/studio/client/v2/export/done-toast.jsx +2 -5
- package/apps/studio/client/v2/export/export-sheet.jsx +9 -2
- package/apps/studio/client/v2/export/export.css +9 -0
- package/apps/studio/client/v2/export/exports-model.js +16 -3
- package/apps/studio/client/v2/export/file-rows.jsx +81 -5
- package/apps/studio/client/v2/export/native-save.js +33 -0
- package/apps/studio/client/v2/export/sections/print-copy.js +3 -0
- package/apps/studio/client/v2/export/sections/print.jsx +37 -20
- package/apps/studio/client/v2/link-server/LinkServerDialog.jsx +492 -0
- package/apps/studio/client/v2/link-server/LinkServerHost.jsx +42 -0
- package/apps/studio/client/v2/link-server/link-server-api.js +142 -0
- package/apps/studio/client/v2/link-server/link-server-model.js +438 -0
- package/apps/studio/client/v2/link-server/link-server.css +109 -0
- package/apps/studio/client/v2/onboarding/AdvancedSheets.jsx +31 -86
- package/apps/studio/client/v2/onboarding/onboarding-model.js +1 -18
- package/apps/studio/client/v2/search/search-keywords.js +3 -2
- package/apps/studio/client/v2/settings/account.jsx +4 -2
- package/apps/studio/client/v2/settings/advanced-section.jsx +245 -148
- package/apps/studio/client/v2/settings/connection-row.jsx +3 -59
- package/apps/studio/client/v2/settings/connections-section.jsx +118 -425
- package/apps/studio/client/v2/settings/general-section.jsx +138 -43
- package/apps/studio/client/v2/settings/project-sync-settings.jsx +4 -3
- package/apps/studio/client/v2/settings/reset-section.jsx +14 -3
- package/apps/studio/client/v2/settings/settings-card.jsx +142 -0
- package/apps/studio/client/v2/settings/settings-cards.js +220 -0
- package/apps/studio/client/v2/settings/settings-handlers.js +7 -6
- package/apps/studio/client/v2/settings/settings-model.js +91 -31
- package/apps/studio/client/v2/settings/settings-sheet.jsx +25 -6
- package/apps/studio/client/v2/settings/settings.css +374 -64
- package/apps/studio/client/v2/settings/this-project-card.jsx +730 -0
- package/apps/studio/client/v2/settings/this-project-model.js +172 -0
- package/apps/studio/client/v2/settings/use-connections.js +3 -2
- package/apps/studio/client/v2/settings/use-open-card.js +37 -0
- package/apps/studio/client/v2/shell/connection-state.js +197 -0
- package/apps/studio/client/v2/shell/menu-runner.js +7 -2
- package/apps/studio/client/v2/shell/occlusion-insets.js +37 -9
- package/apps/studio/client/v2/shell/project-account-bus.js +36 -0
- package/apps/studio/client/v2/shell/project-account-card.jsx +357 -148
- package/apps/studio/client/v2/shell/project-account-model.js +272 -149
- package/apps/studio/client/v2/shell/project-account-toast.js +66 -0
- package/apps/studio/client/v2/shell/project-account.css +237 -0
- package/apps/studio/client/v2/shell/share-cluster-host.jsx +166 -83
- package/apps/studio/client/v2/shell/shell-parity.js +3 -2
- package/apps/studio/client/v2/shell/shell-parity.json +40 -26
- package/apps/studio/client/v2/shell/use-account.js +2 -0
- package/apps/studio/client/v2/shell/use-occluded-insets.js +13 -3
- package/apps/studio/client/v2/signin/use-signin.js +1 -1
- package/apps/studio/cloud/endpoints.ts +29 -4
- package/apps/studio/collab/room.ts +21 -7
- package/apps/studio/dist/client.bundle.js +886 -886
- package/apps/studio/dist/comment-mount.js +2 -2
- package/apps/studio/dist/styles.css +1 -1
- package/apps/studio/exporters/ghostscript.ts +78 -1
- package/apps/studio/exporters/pdf-fonts.ts +31 -4
- package/apps/studio/generation/jobs.ts +6 -0
- package/apps/studio/home/accounts.ts +30 -11
- package/apps/studio/home/cloud.ts +6 -1
- package/apps/studio/home/hub-health.ts +76 -0
- package/apps/studio/home/routes.ts +9 -3
- package/apps/studio/http.ts +14 -2
- package/apps/studio/migrate/hub.ts +8 -1
- package/apps/studio/routes/agent.ts +6 -2
- package/apps/studio/routes/hub-link-folder.ts +334 -0
- package/apps/studio/routes/hub-signin.ts +78 -1
- package/apps/studio/routes/index.ts +4 -0
- package/apps/studio/routes/project-undo.ts +10 -0
- package/apps/studio/routes/sync.ts +22 -4
- package/apps/studio/server.ts +25 -0
- package/apps/studio/shell/api-key.ts +11 -0
- package/apps/studio/shell/cli-yield.ts +48 -11
- package/apps/studio/sync/accepted-cold-start.ts +144 -8
- package/apps/studio/sync/action-stage.ts +18 -1
- package/apps/studio/sync/ctl-heal.ts +58 -0
- package/apps/studio/sync/file-ledger.ts +38 -4
- package/apps/studio/sync/file-plane.ts +226 -19
- package/apps/studio/sync/held-deletes.ts +86 -5
- package/apps/studio/sync/hub-link.ts +8 -0
- package/apps/studio/sync/index.ts +68 -4
- package/apps/studio/sync/link-consent.ts +22 -75
- package/apps/studio/sync/link-survey.ts +252 -0
- package/apps/studio/sync/local-kernel.ts +16 -1
- package/apps/studio/sync/seed-progress.ts +12 -0
- package/apps/studio/sync/source-recovery.ts +18 -2
- package/apps/studio/sync/status.ts +11 -1
- package/apps/studio/sync/writer-registry.ts +5 -0
- package/apps/studio/whats-new.json +36 -0
- package/cli/commands/design.mjs +74 -16
- package/cli/lib/bash-guard.mjs +23 -4
- package/cli/lib/confine-read.mjs +2 -0
- package/cli/lib/design-help.gen.mjs +15 -2
- package/cli/lib/design-hook.mjs +1 -1
- package/cli/lib/desktop-locate.mjs +36 -8
- package/cli/lib/studio-locate.mjs +8 -2
- package/cli/lib/sub-verbs.mjs +13 -1
- package/package.json +9 -8
- package/apps/studio/client/home/HomeAccounts.jsx +0 -262
- package/apps/studio/client/v2/onboarding/HubSheet.jsx +0 -212
- package/apps/studio/client/v2/shell/account-card-model.js +0 -114
- package/apps/studio/client/v2/shell/account-card.jsx +0 -189
|
@@ -165,6 +165,7 @@ const CANVAS_ONLY_REFUSED = new Set([
|
|
|
165
165
|
'/_api/diagnostics/report',
|
|
166
166
|
'/_api/debug-bundle',
|
|
167
167
|
'/_api/cloud/move',
|
|
168
|
+
'/_api/hub/link-folder',
|
|
168
169
|
'/_api/cloud/projects',
|
|
169
170
|
'/_api/github/repos',
|
|
170
171
|
// #122 (122-C) — the desktop shell's clip carriage (shell-token routes, `project` class): they move a
|
|
@@ -132,9 +132,7 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
132
132
|
// An agent's own writes go straight to the files; it frees space and may press Retry the same way.
|
|
133
133
|
'save.retry-held': {
|
|
134
134
|
effect: 'project',
|
|
135
|
-
agent: cli(
|
|
136
|
-
'maude design curl-local -X POST http://127.0.0.1:<port>/_api/diagnostics/disk-retry'
|
|
137
|
-
),
|
|
135
|
+
agent: cli('maude design retry-save'),
|
|
138
136
|
minRole: 'edit',
|
|
139
137
|
server: { route: '/_api/diagnostics/disk-retry', method: 'POST' },
|
|
140
138
|
},
|
|
@@ -145,23 +143,17 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
145
143
|
// S11.12 — Sync details (06 ad-syncd). A held SOURCE conflict's three picks; the slug is the
|
|
146
144
|
// `source-conflict-<slug>` notice id `maude design sync status` lists. Keep both writes this Mac's
|
|
147
145
|
// version as a new canvas "<name> this Mac" (ONE doc.create — one undo step) + a history aside.
|
|
146
|
+
// fix-bulk 2026-11-10: taught as the `sync` sub-verbs of the same names, which send the studio's key
|
|
147
|
+
// (the old `curl-local` recipes were answered 401 by a keyed studio); still prompt (`sync` is shared).
|
|
148
148
|
...Object.fromEntries(
|
|
149
|
-
(
|
|
150
|
-
[
|
|
151
|
-
['keep-mine', 'mine'],
|
|
152
|
-
['use-theirs', 'theirs'],
|
|
153
|
-
['keep-both', 'keep-both'],
|
|
154
|
-
] as const
|
|
155
|
-
).map(([k, choice]) => [
|
|
149
|
+
(['keep-mine', 'use-theirs', 'keep-both'] as const).map((k) => [
|
|
156
150
|
`sync.${k}`,
|
|
157
151
|
{
|
|
158
152
|
effect: 'shared',
|
|
159
153
|
minRole: 'edit',
|
|
160
154
|
undo: 'step',
|
|
161
155
|
server: { route: '/_api/project/conflict', method: 'POST' },
|
|
162
|
-
agent: cli(
|
|
163
|
-
`maude design curl-local -X POST http://127.0.0.1:<port>/_api/project/conflict -d '{"file":"<slug>","choice":"${choice}"}'`
|
|
164
|
-
),
|
|
156
|
+
agent: cli(`maude design sync ${k} <slug>`),
|
|
165
157
|
} satisfies ActionDefAI,
|
|
166
158
|
])
|
|
167
159
|
),
|
|
@@ -172,9 +164,7 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
172
164
|
effect: 'shared',
|
|
173
165
|
minRole: 'edit',
|
|
174
166
|
server: { route: '/_api/project/ai-action', method: 'POST' },
|
|
175
|
-
agent: cli(
|
|
176
|
-
`maude design curl-local -X POST http://127.0.0.1:<port>/_api/project/ai-action -d '{"choice":"${choice}"}'`
|
|
177
|
-
),
|
|
167
|
+
agent: cli(`maude design sync ${choice}-ai-edit`),
|
|
178
168
|
} satisfies ActionDefAI,
|
|
179
169
|
])
|
|
180
170
|
),
|
|
@@ -182,7 +172,7 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
182
172
|
effect: 'none',
|
|
183
173
|
minRole: 'edit',
|
|
184
174
|
server: { route: '/_api/sync/cancel-assets', method: 'POST' },
|
|
185
|
-
agent: cli('maude design
|
|
175
|
+
agent: cli('maude design sync cancel-transfer'),
|
|
186
176
|
},
|
|
187
177
|
// Issue #207 — which folders a project syncs is the person's choice (a versioned config write
|
|
188
178
|
// that changes what reaches the team), so the AI is never taught it.
|
|
@@ -216,6 +206,23 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
216
206
|
server: { route: '/_api/sync/held-deletes', method: 'POST' },
|
|
217
207
|
agent: human('hub-link', 'which deleted files stay on the hub is the person’s choice'),
|
|
218
208
|
},
|
|
209
|
+
// 2.1.1 T13 — the answer to a batch the PROJECT deleted, held on this Mac by the inbound breaker.
|
|
210
|
+
// Removing files from this Mac's project folder (into the trash) or keeping them is the person's call.
|
|
211
|
+
'sync.remove-held-here': {
|
|
212
|
+
effect: 'project',
|
|
213
|
+
minRole: 'edit',
|
|
214
|
+
server: { route: '/_api/sync/held-deletes', method: 'POST' },
|
|
215
|
+
agent: human(
|
|
216
|
+
'hub-link',
|
|
217
|
+
'removing a batch of the project’s files from this Mac is the person’s choice'
|
|
218
|
+
),
|
|
219
|
+
},
|
|
220
|
+
'sync.keep-held-here': {
|
|
221
|
+
effect: 'none',
|
|
222
|
+
minRole: 'edit',
|
|
223
|
+
server: { route: '/_api/sync/held-deletes', method: 'POST' },
|
|
224
|
+
agent: human('hub-link', 'which deleted files stay on this Mac is the person’s choice'),
|
|
225
|
+
},
|
|
219
226
|
// #167 T5.3 — a file the hub holds back from the code lane: adopting teammate bytes as the owner's code
|
|
220
227
|
// is the owner's own call (implicit adoption was rejected on purpose), never the AI's.
|
|
221
228
|
'sync.adopt-as-code': {
|
|
@@ -238,9 +245,7 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
238
245
|
// No `server`: the action itself only opens a sheet; the read under it is Sync details' own GET.
|
|
239
246
|
'sync.compare': {
|
|
240
247
|
effect: 'none',
|
|
241
|
-
agent: cli(
|
|
242
|
-
'maude design curl-local "http://127.0.0.1:<port>/_api/project/conflict?file=<slug>"'
|
|
243
|
-
),
|
|
248
|
+
agent: cli('maude design sync compare <slug>'),
|
|
244
249
|
},
|
|
245
250
|
'sync.get-latest': GIT('/_api/git/pull', 'git pull'),
|
|
246
251
|
// fix/207 — the person's yes / no to shared code (.ts/.js) from the project's hub: it runs on this
|
|
@@ -275,36 +280,30 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
275
280
|
// records it in Version history and claims it for the chat's run — runForCreate), then edited. The
|
|
276
281
|
// design hook refuses a hand-written new canvas (new-canvas); test/ai-parity-hook-crosscheck.test.ts.
|
|
277
282
|
'canvas.new': TSX(
|
|
278
|
-
|
|
283
|
+
'Create it with `maude design canvas-new "<name>"` (it prints the file it made), then Edit that .tsx: a DCArtboard per screen'
|
|
279
284
|
),
|
|
280
285
|
'canvas.new-brief': TSX(
|
|
281
|
-
|
|
286
|
+
'Create it with `maude design canvas-new "<name>" --kind brief-board` (it prints the file it made), then Edit that brief .tsx'
|
|
282
287
|
),
|
|
283
288
|
// S6.3 — a canvas from one sentence (V2-1.1 §5.9: `file:'canvas-tsx'`). From Home the server has already made
|
|
284
289
|
// the file from the sentence; otherwise the agent makes it with the app's create first (V2-8.16).
|
|
285
290
|
'home.ask': TSX(
|
|
286
|
-
`The canvas exists when Home asks (the server made it from the sentence); otherwise create it with \`maude design
|
|
291
|
+
`The canvas exists when Home asks (the server made it from the sentence); otherwise create it with \`maude design canvas-new\` (it prints the file it made). Then Edit it: add every artboard empty with kind and size first, then fill big before small, words last (SKILL.md § A first draft from Home)`
|
|
287
292
|
),
|
|
288
293
|
// V2-8.16 — whole-file ops go through the studio's own routes: the design hook refuses an agent's
|
|
289
294
|
// mv / cp / rm of a versioned design file (bash-guard use-verb · not-a-writer · use-trash), and the
|
|
290
295
|
// route is what records the move / create in Version history. test/ai-parity-hook-crosscheck.test.ts.
|
|
291
296
|
'canvas.duplicate': {
|
|
292
297
|
effect: 'project',
|
|
293
|
-
agent: cli(
|
|
294
|
-
`maude design curl-local http://127.0.0.1:<port>/_api/canvas --method POST --header "Content-Type: application/json" --data '{"duplicateOf":"<canvas path>"}'`
|
|
295
|
-
),
|
|
298
|
+
agent: cli('maude design canvas-new --duplicate <canvas path>'),
|
|
296
299
|
},
|
|
297
300
|
'canvas.rename': {
|
|
298
301
|
effect: 'project',
|
|
299
|
-
agent: cli(
|
|
300
|
-
`maude design curl-local http://127.0.0.1:<port>/_api/fs-move --method POST --header "Content-Type: application/json" --data '{"file":"<canvas path>","toName":"<new name>"}'`
|
|
301
|
-
),
|
|
302
|
+
agent: cli('maude design canvas-move <canvas path> --name "<new name>"'),
|
|
302
303
|
},
|
|
303
304
|
'canvas.move': {
|
|
304
305
|
effect: 'project',
|
|
305
|
-
agent: cli(
|
|
306
|
-
`maude design curl-local http://127.0.0.1:<port>/_api/fs-move --method POST --header "Content-Type: application/json" --data '{"file":"<canvas path>","toDir":"<folder>"}'`
|
|
307
|
-
),
|
|
306
|
+
agent: cli('maude design canvas-move <canvas path> --to <folder>'),
|
|
308
307
|
},
|
|
309
308
|
// S11.7 — the code view and the broken-canvas card. The agent reads the same two routes through verbs
|
|
310
309
|
// (S11.6): `canvas-source` is the code (or one artboard's lines), `canvas-errors` the structured errors.
|
|
@@ -336,9 +335,7 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
336
335
|
'canvas.copy-file-path': { effect: 'none', agent: cli('maude design index') },
|
|
337
336
|
'canvas.rename-file': {
|
|
338
337
|
effect: 'project',
|
|
339
|
-
agent: cli(
|
|
340
|
-
`maude design curl-local http://127.0.0.1:<port>/_api/fs-move --method POST --header "Content-Type: application/json" --data '{"file":"<canvas path>","toName":"<new name>"}'`
|
|
341
|
-
),
|
|
338
|
+
agent: cli('maude design canvas-move <canvas path> --name "<new name>"'),
|
|
342
339
|
},
|
|
343
340
|
'canvas.copy-link': {
|
|
344
341
|
effect: 'none',
|
|
@@ -379,7 +376,7 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
379
376
|
'view.advanced-close-all': PREF('folds every panel’s Advanced section; a UI preference'),
|
|
380
377
|
'canvas.reload': PREF('reloads the user’s view; the studio reloads on every file change'),
|
|
381
378
|
'canvas.new-video': TSX(
|
|
382
|
-
|
|
379
|
+
'Create it with `maude design canvas-new "<name>" --kind video-comp` (it prints the file it made), then Edit that video-comp .tsx',
|
|
383
380
|
'design-video:video-comp'
|
|
384
381
|
),
|
|
385
382
|
'canvas.close': PREF('closes the user’s tab'),
|
|
@@ -1002,9 +999,7 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
1002
999
|
server: { route: '/_api/assets/trash', method: 'POST' },
|
|
1003
1000
|
// V2-8.16 — the route, not mv: it refuses a picture a canvas uses or an older version shows and
|
|
1004
1001
|
// answers per item (moved, or used | kept-by-versions | checking); `assets --not-used` lists them.
|
|
1005
|
-
agent: cli(
|
|
1006
|
-
`maude design curl-local http://127.0.0.1:<port>/_api/assets/trash --method POST --header "Content-Type: application/json" --data '{"assets":["assets/<name>"]}'`
|
|
1007
|
-
),
|
|
1002
|
+
agent: cli('maude design asset-trash assets/<name>'),
|
|
1008
1003
|
},
|
|
1009
1004
|
// P8 round 7 — Rename… an asset: assets/<name>.<ext> and its sidecars take the new name (asset-rename.ts). Never a
|
|
1010
1005
|
// picture a canvas uses or an older version shows — their references would break — so nothing else is rewritten.
|
|
@@ -1015,9 +1010,7 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
1015
1010
|
server: { route: '/_api/assets/rename', method: 'POST' },
|
|
1016
1011
|
// V2-8.16 — the route, not mv: {ok, to} or 409 {reason: used | kept-by-versions | checking | exists |
|
|
1017
1012
|
// same | bad-name | invalid | missing}.
|
|
1018
|
-
agent: cli(
|
|
1019
|
-
`maude design curl-local http://127.0.0.1:<port>/_api/assets/rename --method POST --header "Content-Type: application/json" --data '{"asset":"assets/<name>.<ext>","name":"<new name>"}'`
|
|
1020
|
-
),
|
|
1013
|
+
agent: cli('maude design asset-rename assets/<name>.<ext> "<new name>"'),
|
|
1021
1014
|
},
|
|
1022
1015
|
'tool.create-default': TSX(
|
|
1023
1016
|
'Add the element’s JSX at its default size: a frame or rectangle is 100 × 100 (see object.insert-shape), a text is a <p> with the words “Text”'
|
|
@@ -1809,6 +1802,16 @@ export const AGENT_PATHS: Readonly<Record<ActionId, ActionDefAI>> = {
|
|
|
1809
1802
|
effect: 'none',
|
|
1810
1803
|
agent: human('native-window', 'the desktop app’s profiles; an agent never picks an account'),
|
|
1811
1804
|
},
|
|
1805
|
+
// 2.1.1 B1: a new Maude Cloud account signs in in the person's own browser.
|
|
1806
|
+
'account.add-cloud': {
|
|
1807
|
+
effect: 'none',
|
|
1808
|
+
agent: human('native-window', 'Maude Cloud’s sign-in page; an agent never signs anyone in'),
|
|
1809
|
+
},
|
|
1810
|
+
// 2.1.1 B2: linking a server is a sign-in on that server's page, in the person's own browser.
|
|
1811
|
+
'account.link-server': {
|
|
1812
|
+
effect: 'none',
|
|
1813
|
+
agent: human('native-window', 'the server’s sign-in page; an agent never signs anyone in'),
|
|
1814
|
+
},
|
|
1812
1815
|
// 2.0.5 W4: GitHub's device flow — a person types the code in their own browser.
|
|
1813
1816
|
'account.github-signin': {
|
|
1814
1817
|
effect: 'none',
|
|
@@ -109,11 +109,38 @@ export const APP_ACTIONS: ActionDef[] = [
|
|
|
109
109
|
// from the Share panel as usual. V2-4.8a: a CLOUD tab has it too — there it ends the browser session
|
|
110
110
|
// (the v1 menubar's account chip + "Sign out", Cloud Phase 27 C4: who you are, and how to stop
|
|
111
111
|
// being them) and the hub asks for a sign-in again; the row shows the account's email.
|
|
112
|
+
// 2.1.1 T4 (canvas 17 · ac-switch): on the desktop it opens the avatar menu's Switch account list —
|
|
113
|
+
// the accounts already on this Mac and "No account — this Mac only" (`project_use_account`, a
|
|
114
|
+
// confirm sheet first). It never moves a project to a fresh, empty account any more.
|
|
112
115
|
id: 'account.switch',
|
|
113
|
-
label: '
|
|
116
|
+
label: 'Switch account…',
|
|
114
117
|
kind: 'command',
|
|
115
118
|
exec: 'shell',
|
|
116
119
|
visible: { shell: ['desktop', 'cloud'] },
|
|
120
|
+
search: { keywords: ['account', 'sign in', 'profile', 'no account', 'this mac only'] },
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
// 2.1.1 T4 — the Switch account list's foot: a Maude Cloud account this Mac does not hold yet. The
|
|
124
|
+
// V2-3.8 path: `cloud_sign_in_prepare` (a profile already signed in to Maude Cloud is never
|
|
125
|
+
// re-signed — the project moves to a fresh profile of its own, and the page reloads), then the cloud
|
|
126
|
+
// sign-in in Settings › Connections.
|
|
127
|
+
id: 'account.add-cloud',
|
|
128
|
+
label: 'Add a Maude Cloud account…',
|
|
129
|
+
kind: 'command',
|
|
130
|
+
exec: 'shell',
|
|
131
|
+
visible: { shell: ['desktop'] },
|
|
132
|
+
search: { keywords: ['cloud', 'sign in', 'account', 'login'] },
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
// 2.1.1 T3/T4/T5 — "Link your server…" / "Sign in with custom server…": the one team-server dialog
|
|
136
|
+
// (B2 wires it: it hears the `maude:link-server` event and prevents its default). Until it is there
|
|
137
|
+
// the row opens Settings › Connections, where today's team-server dialog lives.
|
|
138
|
+
id: 'account.link-server',
|
|
139
|
+
label: 'Link your server…',
|
|
140
|
+
kind: 'command',
|
|
141
|
+
exec: 'shell',
|
|
142
|
+
visible: { shell: ['desktop', 'browser'] },
|
|
143
|
+
search: { keywords: ['team server', 'hub', 'self-hosted', 'custom server', 'sign in', 'link'] },
|
|
117
144
|
},
|
|
118
145
|
{
|
|
119
146
|
// 2.0.5 W4: GitHub sign-in from anywhere — the avatar's card, ⌘K and every "Sign in with GitHub to
|
|
@@ -54,6 +54,10 @@ export const SYNC_ACTIONS: ActionDef[] = [
|
|
|
54
54
|
// one confirmed batch, or keep the files on the hub (`POST /_api/sync/held-deletes { answer }`).
|
|
55
55
|
pick('sync.delete-held-on-hub', 'Move to the hub’s trash too…'),
|
|
56
56
|
pick('sync.keep-held-on-hub', 'Keep on the hub'),
|
|
57
|
+
// 2.1.1 T13 — Sync details › Deleted by the project, held here: file the batch into the trash on this
|
|
58
|
+
// Mac, or keep this Mac's copies (`POST /_api/sync/held-deletes { answer: remove-here | keep-here }`).
|
|
59
|
+
pick('sync.remove-held-here', 'Remove here too'),
|
|
60
|
+
pick('sync.keep-held-here', 'Keep them here'),
|
|
57
61
|
// #167 T5.3 — Sync details › a file the hub holds back from the code lane (the owner's held list):
|
|
58
62
|
// keep it as code (`POST /_api/sync/adopt-held { path }` → the hub's owner-only adopt door), or open
|
|
59
63
|
// the canvas folders (config.json `canvasGroups`) to keep it as a canvas. The second is the Mac
|
|
@@ -48,6 +48,10 @@ const t = (verb: string, effect: VerbEffect, extra: Partial<VerbDef> = {}): Verb
|
|
|
48
48
|
const KG_LOG =
|
|
49
49
|
'writes the versioned .kgai log (repo-tracked, merge=union) — lead: keeps prompting (decision:maude/v2-2.4b-held-and-prompting-verbs)';
|
|
50
50
|
|
|
51
|
+
// fix-bulk 2026-11-10 follow-up (lead brief: "keep each family's tier; do NOT widen").
|
|
52
|
+
const HELD_AT_RECIPE_TIER =
|
|
53
|
+
'replaced a `curl-local` recipe (prompt) that a keyed studio answered 401 — lead: keeps prompting, a key fix widens no tier';
|
|
54
|
+
|
|
51
55
|
export const MAUDE_VERBS: readonly VerbDef[] = [
|
|
52
56
|
// ── `maude design`, effect none (reads, computes, runtime `_*` state) ────────────────────
|
|
53
57
|
d('prep', 'none'),
|
|
@@ -116,6 +120,12 @@ export const MAUDE_VERBS: readonly VerbDef[] = [
|
|
|
116
120
|
// ── `maude design`, effect project (writes versioned files of this project) ──────────────
|
|
117
121
|
d('annotate', 'project'),
|
|
118
122
|
d('canvas-edit', 'project'),
|
|
123
|
+
// fix-bulk W1 follow-up — the app's own create / duplicate and rename / move (POST /_api/canvas,
|
|
124
|
+
// /_api/fs-move), the registry actions canvas.new / duplicate / rename / move already rate `project`.
|
|
125
|
+
d('canvas-new', 'project', { note: 'one new canvas file, recorded in Version history' }),
|
|
126
|
+
d('canvas-move', 'project', {
|
|
127
|
+
note: 'renames or moves one canvas, recorded in Version history as one canvas',
|
|
128
|
+
}),
|
|
119
129
|
d('handoff', 'project'),
|
|
120
130
|
d('import-asset', 'project'),
|
|
121
131
|
d('import-tokens', 'project'),
|
|
@@ -152,6 +162,45 @@ export const MAUDE_VERBS: readonly VerbDef[] = [
|
|
|
152
162
|
hold: '/design:export documents `--out ~/Downloads/…` — lead: keeps prompting (decision:maude/v2-2.4b-held-and-prompting-verbs)',
|
|
153
163
|
}),
|
|
154
164
|
d('ds-check', 'project', { note: '--fix=mechanical / --emit write canvases / tokens.json' }),
|
|
165
|
+
// fix-bulk 2026-11-10 follow-up — the verbs that replaced the last `curl-local` recipes (a keyed studio
|
|
166
|
+
// answered those 401, sec-loopback-bearer §7). Each keeps its action's effect (actions/agents.ts) and
|
|
167
|
+
// the prompt tier the recipe had: a key fix widens nothing. The Sync details answers are shared
|
|
168
|
+
// (they change the project for everyone), so they prompt by their effect.
|
|
169
|
+
d('asset-trash', 'project', {
|
|
170
|
+
hold: HELD_AT_RECIPE_TIER,
|
|
171
|
+
note: 'Assets › Move to trash: pictures and sidecars to _trash/; one a canvas uses stays',
|
|
172
|
+
}),
|
|
173
|
+
d('asset-rename', 'project', {
|
|
174
|
+
hold: HELD_AT_RECIPE_TIER,
|
|
175
|
+
note: 'Assets › Rename…: a picture and its sidecars; one a canvas uses keeps its name',
|
|
176
|
+
}),
|
|
177
|
+
d('retry-save', 'project', {
|
|
178
|
+
hold: HELD_AT_RECIPE_TIER,
|
|
179
|
+
note: 'Retry on Not saved: lands the canvas writes a full disk held',
|
|
180
|
+
}),
|
|
181
|
+
d('footage', 'project', {
|
|
182
|
+
hold: HELD_AT_RECIPE_TIER,
|
|
183
|
+
note: '`show` reads a clip’s analysis / a cut’s EDL; `save` writes assets/<sha8>.footage.json or the EDL',
|
|
184
|
+
}),
|
|
185
|
+
d('sync compare', 'none', {
|
|
186
|
+
hold: HELD_AT_RECIPE_TIER,
|
|
187
|
+
note: 'a held source conflict’s two versions, read only',
|
|
188
|
+
}),
|
|
189
|
+
d('sync cancel-transfer', 'none', {
|
|
190
|
+
hold: HELD_AT_RECIPE_TIER,
|
|
191
|
+
note: 'stops the running picture / video transfer; it starts again on the next sync',
|
|
192
|
+
}),
|
|
193
|
+
d('sync keep-mine', 'shared', { note: 'a held source conflict: this Mac’s version wins' }),
|
|
194
|
+
d('sync use-theirs', 'shared', { note: 'a held source conflict: the project’s version wins' }),
|
|
195
|
+
d('sync keep-both', 'shared', {
|
|
196
|
+
note: 'a held source conflict: the project’s version, and this Mac’s as a new canvas',
|
|
197
|
+
}),
|
|
198
|
+
d('sync publish-ai-edit', 'shared', {
|
|
199
|
+
note: 'an unfinished AI edit held from the project goes out',
|
|
200
|
+
}),
|
|
201
|
+
d('sync discard-ai-edit', 'shared', {
|
|
202
|
+
note: 'an unfinished AI edit held from the project is undone',
|
|
203
|
+
}),
|
|
155
204
|
// ── `maude design`, prompt ────────────────────────────────────────────────────────────────
|
|
156
205
|
d('curl-local', 'external', { note: 'any method/body against any loopback port: every route' }),
|
|
157
206
|
d('draw-build', 'external', { note: 'runs model-authored code (Q2)' }),
|