@1agh/maude 2.0.8 → 2.1.1
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 +2 -1
- package/apps/hub/src/project-transactions/kernel.mjs +13 -7
- package/apps/studio/access/closure.ts +86 -10
- package/apps/studio/access/filters.ts +18 -1
- package/apps/studio/access/request.ts +8 -0
- package/apps/studio/acp/design-write-verb.ts +12 -2
- package/apps/studio/acp/env.ts +7 -2
- package/apps/studio/acp/index.ts +15 -4
- package/apps/studio/acp/login-state.ts +22 -5
- package/apps/studio/acp/may-scope.ts +38 -1
- package/apps/studio/acp/plugin-bootstrap.ts +13 -1
- package/apps/studio/acp/probe.ts +11 -4
- package/apps/studio/actions/agents.ts +110 -28
- package/apps/studio/actions/canvas-keys.ts +4 -2
- package/apps/studio/actions/ctx.ts +3 -0
- package/apps/studio/actions/defs/annotation.ts +84 -2
- package/apps/studio/actions/defs/app.ts +28 -1
- package/apps/studio/actions/defs/edit.ts +13 -0
- package/apps/studio/actions/defs/export.ts +12 -0
- package/apps/studio/actions/defs/sync.ts +18 -0
- package/apps/studio/actions/defs/video.ts +9 -0
- package/apps/studio/actions/documents.ts +6 -1
- package/apps/studio/actions/keymap.gen.ts +147 -9
- package/apps/studio/actions/menu.ts +5 -1
- package/apps/studio/actions/types.ts +4 -2
- package/apps/studio/actions/verbs.ts +9 -0
- package/apps/studio/actions.manifest.json +300 -45
- package/apps/studio/actions.parity.json +19 -1
- package/apps/studio/ai/save-hold.ts +2 -1
- package/apps/studio/ai/write-claim-scope.ts +7 -1
- package/apps/studio/ai/write-claim.ts +154 -3
- package/apps/studio/annotations/ai-read.ts +42 -6
- package/apps/studio/annotations/ai-write.ts +145 -2
- package/apps/studio/annotations/board-ops.ts +34 -3
- package/apps/studio/annotations/checklist-ops.ts +374 -0
- package/apps/studio/annotations/elements/checkitem.model.ts +129 -0
- package/apps/studio/annotations/elements/sticky.model.ts +54 -2
- package/apps/studio/annotations/ops.ts +30 -0
- package/apps/studio/annotations/registry.ts +9 -1
- package/apps/studio/annotations/templates.ts +4 -2
- package/apps/studio/annotations/text-steps.ts +114 -10
- package/apps/studio/annotations/ui/checklist-wire.ts +129 -0
- package/apps/studio/annotations/ui/checklist.tsx +429 -0
- package/apps/studio/annotations/ui/element-node.tsx +48 -2
- package/apps/studio/annotations/ui/template-place.ts +11 -1
- package/apps/studio/annotations/v1-adapter.ts +22 -3
- package/apps/studio/annotations-context-toolbar.tsx +12 -0
- package/apps/studio/annotations-layer.tsx +442 -49
- package/apps/studio/annotations-model.ts +4 -2
- package/apps/studio/api.ts +148 -21
- package/apps/studio/artboard-live-gate.tsx +54 -17
- package/apps/studio/artboard-still-persist.ts +166 -0
- package/apps/studio/artboard-still-raster.ts +6 -2
- package/apps/studio/artboard-still.ts +390 -20
- package/apps/studio/asset-added.ts +154 -0
- package/apps/studio/asset-details.ts +46 -3
- package/apps/studio/asset-origins.ts +5 -3
- package/apps/studio/asset-trash.ts +6 -1
- package/apps/studio/bin/_agent-browser-safe.mjs +3 -4
- package/apps/studio/bin/_annotate-post.mjs +14 -5
- package/apps/studio/bin/_audio-search.mjs +8 -2
- package/apps/studio/bin/_curl-local.mjs +7 -4
- package/apps/studio/bin/_desktop-locate.sh +145 -0
- package/apps/studio/bin/_ds-check-live.mjs +2 -1
- package/apps/studio/bin/_exports.mjs +38 -2
- package/apps/studio/bin/_history.mjs +79 -8
- package/apps/studio/bin/_import-asset.mjs +14 -9
- package/apps/studio/bin/_import-figma.mjs +510 -98
- package/apps/studio/bin/_index-cli.mjs +10 -21
- package/apps/studio/bin/_ingest-footage.mjs +24 -6
- package/apps/studio/bin/_media-probe.mjs +232 -0
- package/apps/studio/bin/_perf-probe-open.mjs +6 -0
- package/apps/studio/bin/_perf-probe-safari.mjs +6 -0
- package/apps/studio/bin/_perf-probe-studio.mjs +6 -1
- package/apps/studio/bin/_perf-probe.mjs +8 -3
- package/apps/studio/bin/_perf-sweep-shared.mjs +789 -0
- package/apps/studio/bin/_perf-sweep.mjs +240 -0
- package/apps/studio/bin/_record-shot.sh +33 -8
- package/apps/studio/bin/_screenshot-playwright.mjs +45 -2
- package/apps/studio/bin/_studio-verb.mjs +8 -3
- package/apps/studio/bin/_thumb-route.mjs +21 -0
- package/apps/studio/bin/_thumbs-playwright.mjs +83 -1
- package/apps/studio/bin/_transcribe.mjs +22 -6
- package/apps/studio/bin/_unsynced-refs.mjs +22 -0
- package/apps/studio/bin/_url-guard.mjs +120 -5
- package/apps/studio/bin/_url-guard.sh +29 -7
- package/apps/studio/bin/_video-limits.mjs +104 -0
- package/apps/studio/bin/_video-playwright.mjs +119 -19
- package/apps/studio/bin/_video-proxy.mjs +130 -0
- package/apps/studio/bin/_write-claim.mjs +38 -16
- package/apps/studio/bin/annotate.mjs +12 -2
- package/apps/studio/bin/canvas-rects.sh +19 -4
- package/apps/studio/bin/chat-open.sh +7 -1
- package/apps/studio/bin/draw-proof.sh +6 -2
- package/apps/studio/bin/generate.sh +32 -10
- package/apps/studio/bin/handoff.sh +2 -2
- package/apps/studio/bin/perf.sh +96 -15
- package/apps/studio/bin/photo-adjust.sh +6 -3
- package/apps/studio/bin/photo-bg-remove.sh +2 -2
- package/apps/studio/bin/prep.sh +21 -4
- package/apps/studio/bin/read-annotations.mjs +3 -0
- package/apps/studio/bin/runtime-health.sh +27 -1
- package/apps/studio/bin/screenshot.sh +152 -12
- package/apps/studio/bin/server-up.sh +64 -6
- package/apps/studio/bin/smoke.sh +43 -8
- package/apps/studio/bin/to-lottie.sh +3 -2
- package/apps/studio/bin/video-proxy.sh +27 -0
- package/apps/studio/bin/visual-sanity.sh +3 -1
- package/apps/studio/bridge/dgn-protocol.ts +157 -1
- package/apps/studio/bridge/mode-shows.ts +8 -6
- package/apps/studio/bridge/still-webp.ts +233 -0
- package/apps/studio/build.ts +18 -0
- package/apps/studio/canvas-build.ts +93 -11
- package/apps/studio/canvas-comment-mount.tsx +53 -8
- package/apps/studio/canvas-edit.ts +34 -1
- package/apps/studio/canvas-lib-module.ts +210 -0
- package/apps/studio/canvas-lib.tsx +3 -12
- package/apps/studio/canvas-pipeline.ts +111 -5
- package/apps/studio/canvas-shell.tsx +8 -11
- package/apps/studio/canvas-theme-pill.tsx +5 -3
- package/apps/studio/check/index.ts +12 -5
- package/apps/studio/check/video.ts +18 -2
- package/apps/studio/client/app.jsx +65 -7
- package/apps/studio/client/clipboard-relay.ts +193 -16
- package/apps/studio/client/comments-overlay.css +18 -0
- package/apps/studio/client/export-center.jsx +30 -0
- package/apps/studio/client/generate-dialog.jsx +49 -4
- package/apps/studio/client/github.js +7 -0
- package/apps/studio/client/home/HomeAccountsRow.jsx +221 -0
- package/apps/studio/client/home/HomeConnection.jsx +111 -0
- package/apps/studio/client/home/home-accounts-model.js +110 -1
- package/apps/studio/client/home/home-api.js +9 -2
- package/apps/studio/client/home/home-app.jsx +126 -13
- package/apps/studio/client/home/home-model.js +69 -1
- package/apps/studio/client/home/home-where-model.js +105 -0
- package/apps/studio/client/home/home.css +239 -1
- package/apps/studio/client/hooks/use-canvas-bridge.jsx +173 -98
- package/apps/studio/client/hooks/use-palette-and-panels.jsx +5 -1
- package/apps/studio/client/hooks/use-tabs.jsx +11 -4
- package/apps/studio/client/panels/DiffView.jsx +7 -1
- package/apps/studio/client/panels/TeamProjects.jsx +137 -134
- package/apps/studio/client/panels/chat-context.js +2 -0
- package/apps/studio/client/panels/slash-commands.gen.js +13 -13
- package/apps/studio/client/selection-scope.js +16 -9
- package/apps/studio/client/share-link.js +12 -0
- package/apps/studio/client/shell/viewport.jsx +11 -1
- package/apps/studio/client/shell-events.js +8 -0
- package/apps/studio/client/styles/3-kit-maude-v2.css +16 -0
- package/apps/studio/client/styles/_index.css +4 -0
- package/apps/studio/client/v2/ai/Feed.jsx +1 -1
- package/apps/studio/client/v2/ai/OfferCard.jsx +34 -0
- package/apps/studio/client/v2/ai/activity-line.js +54 -1
- package/apps/studio/client/v2/ai/ai-offer.js +21 -1
- package/apps/studio/client/v2/ai/run-model.js +3 -1
- package/apps/studio/client/v2/annotations/vote-store.js +28 -4
- package/apps/studio/client/v2/assets/asset-drop-session.js +37 -2
- package/apps/studio/client/v2/assets/canvas-drop-catcher.jsx +7 -5
- package/apps/studio/client/v2/assets/details-model.js +1 -1
- package/apps/studio/client/v2/assets/details.jsx +5 -0
- package/apps/studio/client/v2/assets/tile-drag.js +11 -7
- package/apps/studio/client/v2/comments/comments-panel.jsx +22 -3
- package/apps/studio/client/v2/create/duplicate-done.js +6 -2
- 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 +113 -3
- package/apps/studio/client/v2/diagnostics/sync-details/sync-details.jsx +343 -6
- package/apps/studio/client/v2/diagnostics/sync-details/unsynced-refs.js +55 -0
- package/apps/studio/client/v2/ds/review.css +1 -1
- package/apps/studio/client/v2/export/exports-model.js +7 -0
- package/apps/studio/client/v2/export/exports-panel.jsx +1 -0
- package/apps/studio/client/v2/export/job-row.jsx +32 -2
- package/apps/studio/client/v2/handoff/ready-card.jsx +1 -1
- package/apps/studio/client/v2/history/compare-view.jsx +1 -0
- package/apps/studio/client/v2/inspector/css-write.js +6 -1
- package/apps/studio/client/v2/inspector/frame.jsx +28 -4
- package/apps/studio/client/v2/inspector/kinds/clip-model.js +51 -0
- package/apps/studio/client/v2/inspector/kinds/clip.jsx +75 -2
- package/apps/studio/client/v2/inspector/model.js +21 -0
- package/apps/studio/client/v2/inspector/sections/fill.jsx +12 -3
- package/apps/studio/client/v2/inspector/sections/recent-colours.js +8 -5
- package/apps/studio/client/v2/inspector/view-mode.jsx +11 -1
- 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/preview/link-follow.js +4 -2
- package/apps/studio/client/v2/preview/preview-chrome-host.jsx +16 -6
- package/apps/studio/client/v2/search/help-model.js +2 -0
- 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 +344 -137
- 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 +155 -24
- 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 +100 -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/share/share-sheet.jsx +28 -11
- package/apps/studio/client/v2/shell/api-session-boot.js +6 -0
- package/apps/studio/client/v2/shell/api-session.js +126 -0
- package/apps/studio/client/v2/shell/connection-state.js +197 -0
- package/apps/studio/client/v2/shell/floating-panels.css +31 -1
- package/apps/studio/client/v2/shell/image-pick.js +61 -8
- package/apps/studio/client/v2/shell/menu-aim.js +43 -0
- package/apps/studio/client/v2/shell/menu-runner.js +25 -7
- package/apps/studio/client/v2/shell/occlusion-insets.js +18 -1
- 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/project-pill.jsx +52 -6
- 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 +71 -36
- package/apps/studio/client/v2/shell/still-bridge.js +194 -0
- package/apps/studio/client/v2/shell/still-store.js +319 -0
- package/apps/studio/client/v2/shell/use-account.js +2 -0
- package/apps/studio/client/v2/shell/use-tool-panels.js +2 -1
- package/apps/studio/client/v2/signin/use-signin.js +1 -1
- package/apps/studio/client/v2/timeline/Timeline.jsx +15 -0
- package/apps/studio/client/v2/timeline/frame-handle-model.js +142 -0
- package/apps/studio/client/v2/timeline/frame-handle.jsx +151 -0
- package/apps/studio/clip-ops.ts +126 -8
- package/apps/studio/cloud/endpoints.ts +29 -4
- package/apps/studio/collab/ai-activity.ts +10 -8
- package/apps/studio/collab/awareness-bridge.ts +34 -9
- package/apps/studio/collab/index.ts +3 -0
- package/apps/studio/collab/registry.ts +41 -10
- package/apps/studio/comment-reattach.ts +149 -0
- package/apps/studio/comments/mine-stamp.ts +15 -7
- package/apps/studio/comments/ops.ts +52 -8
- package/apps/studio/comments-overlay.tsx +146 -9
- package/apps/studio/dist/client.bundle.js +892 -885
- package/apps/studio/dist/comment-mount.js +2 -2
- package/apps/studio/dist/styles.css +1 -1
- package/apps/studio/dom-selection.ts +87 -18
- package/apps/studio/ds/board/directions.css +8 -0
- package/apps/studio/ds/board/outline.tsx +16 -0
- package/apps/studio/ds/canvas-check.ts +6 -0
- package/apps/studio/edit-ops/clip/reframe.ts +19 -3
- package/apps/studio/edit-ops/clip-carry.ts +602 -0
- package/apps/studio/edit-ops/clipboard.ts +318 -23
- package/apps/studio/edit-ops/dispatch.ts +20 -2
- package/apps/studio/edit-ops/scope-names.ts +249 -40
- package/apps/studio/edit-ops/slot-defaults.ts +3 -0
- package/apps/studio/edit-ops/types.ts +6 -0
- package/apps/studio/editing/align-bar.tsx +33 -9
- package/apps/studio/editing/artboard-actions.ts +5 -0
- package/apps/studio/editing/artboard-menu.tsx +6 -2
- package/apps/studio/editing/click-to-type.ts +1 -1
- package/apps/studio/editing/clip-words.ts +48 -0
- package/apps/studio/editing/clipboard.ts +21 -6
- package/apps/studio/editing/declared-background.ts +25 -0
- package/apps/studio/editing/index.tsx +3 -0
- package/apps/studio/editing/object-keys.ts +4 -4
- package/apps/studio/editing/object-menu.tsx +13 -3
- package/apps/studio/editing/pen/points.tsx +61 -0
- package/apps/studio/editing/text-in-place.tsx +11 -0
- package/apps/studio/editing/video-frame-handle.tsx +425 -0
- package/apps/studio/exporters/capture-prepass.ts +374 -0
- package/apps/studio/exporters/degraded.ts +148 -0
- package/apps/studio/exporters/hub-render-door.ts +28 -2
- package/apps/studio/exporters/index.ts +3 -1
- package/apps/studio/exporters/job-budget.ts +93 -0
- package/apps/studio/exporters/jobs.ts +215 -28
- package/apps/studio/exporters/parity-check.ts +254 -0
- package/apps/studio/exporters/remote.ts +209 -15
- package/apps/studio/exporters/svg-inline.ts +87 -0
- package/apps/studio/exporters/video-render-lib.ts +88 -26
- package/apps/studio/exporters/video.ts +29 -6
- package/apps/studio/figma/assets.ts +58 -43
- package/apps/studio/figma/codegen-fonts.ts +100 -0
- package/apps/studio/figma/fig-decode.ts +390 -25
- package/apps/studio/figma/fig-kiwi.ts +18 -4
- package/apps/studio/figma/fig-vector.ts +59 -3
- package/apps/studio/figma/sanitize.ts +2 -0
- package/apps/studio/figma/style-map.ts +293 -48
- package/apps/studio/figma/to-artboard.ts +455 -69
- package/apps/studio/figma/to-strokes.ts +44 -11
- package/apps/studio/figma/types.ts +13 -0
- package/apps/studio/footage/schema.ts +3 -3
- package/apps/studio/generation/adapters/elevenlabs.ts +7 -1
- package/apps/studio/generation/adapters/groq.ts +8 -1
- package/apps/studio/generation/spend.ts +312 -0
- package/apps/studio/generation/types.ts +12 -0
- package/apps/studio/handoff/run.ts +1 -1
- package/apps/studio/handoff/targets.ts +2 -2
- package/apps/studio/handoff/write-scopes.ts +1 -1
- package/apps/studio/history/describe-annotations.ts +4 -0
- package/apps/studio/home/accounts.ts +30 -11
- package/apps/studio/home/cloud.ts +6 -1
- package/apps/studio/home/create-local.ts +32 -3
- package/apps/studio/home/hub-health.ts +76 -0
- package/apps/studio/home/routes.ts +15 -4
- package/apps/studio/http.ts +438 -86
- package/apps/studio/imported-module-ids.ts +91 -0
- package/apps/studio/inspect.ts +2 -0
- package/apps/studio/migrate/hub.ts +8 -1
- package/apps/studio/notifications.tsx +47 -5
- package/apps/studio/paths.ts +10 -1
- package/apps/studio/port.ts +3 -2
- package/apps/studio/preview/preview-camera.tsx +15 -382
- package/apps/studio/readiness.ts +10 -1
- package/apps/studio/release-build.ts +51 -0
- package/apps/studio/routes/agent.ts +188 -9
- package/apps/studio/routes/ai.ts +43 -11
- package/apps/studio/routes/annotations.ts +27 -1
- package/apps/studio/routes/assets.ts +18 -1
- package/apps/studio/routes/canvas-origin.ts +12 -9
- package/apps/studio/routes/cloud-move.ts +15 -0
- package/apps/studio/routes/edit.ts +3 -0
- package/apps/studio/routes/export.ts +51 -0
- package/apps/studio/routes/generate.ts +42 -12
- 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 +9 -1
- package/apps/studio/routes/shell.ts +217 -5
- package/apps/studio/routes/sync.ts +136 -8
- package/apps/studio/routes/votes.ts +2 -1
- package/apps/studio/schema/annotations.v2.schema.json +143 -1
- package/apps/studio/schema/beats.v1.schema.json +1 -1
- package/apps/studio/schema/edl.v1.schema.json +1 -1
- package/apps/studio/schema/formats.ts +3 -3
- package/apps/studio/schema/transcript.v1.schema.json +1 -1
- package/apps/studio/server.ts +142 -43
- package/apps/studio/shell/api-key.ts +503 -0
- package/apps/studio/shell/attest.ts +59 -0
- package/apps/studio/shell/capture-url.ts +20 -0
- package/apps/studio/shell/cli-yield.ts +276 -0
- package/apps/studio/shell/clip-transfer.ts +302 -0
- package/apps/studio/shell/key-file.ts +108 -0
- package/apps/studio/shell/server-json.ts +75 -0
- package/apps/studio/shell/worktree.ts +19 -0
- package/apps/studio/spoof-chars.ts +9 -0
- package/apps/studio/studio-page-host.ts +1 -1
- package/apps/studio/sync/accepted-cold-start.ts +144 -8
- package/apps/studio/sync/accepted-link.ts +76 -29
- package/apps/studio/sync/action-stage.ts +575 -44
- package/apps/studio/sync/adopt-held.ts +85 -0
- package/apps/studio/sync/ctl-heal.ts +58 -0
- package/apps/studio/sync/file-ledger.ts +38 -4
- package/apps/studio/sync/file-membership.ts +16 -1
- package/apps/studio/sync/file-plane.ts +289 -22
- package/apps/studio/sync/held-deletes.ts +86 -5
- package/apps/studio/sync/hub-link.ts +8 -0
- package/apps/studio/sync/index.ts +196 -12
- package/apps/studio/sync/journal-client.ts +50 -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 +296 -8
- package/apps/studio/sync/projection.ts +22 -3
- package/apps/studio/sync/seed-progress.ts +12 -0
- package/apps/studio/sync/source-recovery.ts +59 -3
- package/apps/studio/sync/status.ts +19 -2
- package/apps/studio/sync/unsynced-refs.ts +397 -0
- package/apps/studio/sync/writer-registry.ts +20 -0
- package/apps/studio/thumbs/service.ts +4 -1
- package/apps/studio/tool-palette.tsx +23 -0
- package/apps/studio/ui-prefs.ts +40 -0
- package/apps/studio/use-agent-presence.tsx +2 -2
- package/apps/studio/use-canvas-keys.ts +6 -1
- package/apps/studio/video/format-ids.ts +2 -2
- package/apps/studio/video/inject.ts +31 -0
- package/apps/studio/video/media-risk.ts +58 -0
- package/apps/studio/video/object-fit.ts +137 -0
- package/apps/studio/video/provider-transcript.ts +141 -0
- package/apps/studio/whats-new.json +137 -0
- package/apps/studio/workspace-mode.ts +1 -0
- package/apps/studio/ws.ts +5 -0
- package/cli/commands/design.mjs +119 -8
- package/cli/lib/bash-guard.mjs +366 -6
- package/cli/lib/confine-read.mjs +1 -0
- package/cli/lib/design-help.gen.mjs +3 -2
- package/cli/lib/design-hook.mjs +387 -81
- package/cli/lib/design-link.mjs +16 -1
- package/cli/lib/design-open.mjs +49 -3
- package/cli/lib/desktop-locate.mjs +770 -0
- package/cli/lib/handoff.mjs +1 -1
- package/cli/lib/hook-state.mjs +291 -0
- package/cli/lib/pkg-root.mjs +65 -13
- package/cli/lib/studio-locate.mjs +59 -16
- package/package.json +15 -8
- package/plugins/design/templates/_shell.html +13 -0
- 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
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
// client/v2/settings/advanced-section.jsx — V2-4.7a: Settings › Advanced (06 ad-settings).
|
|
2
2
|
//
|
|
3
|
-
// About this Mac
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
3
|
+
// About this Mac, in plain words with the exact value in mono beside them: the version and the staged
|
|
4
|
+
// update, the server build, where keys are kept, Claude Code's setup and copy-paste commands, the
|
|
5
|
+
// transcription / keyframe engines and their models. The model and engine cards are today's
|
|
6
|
+
// (panels/SettingsPanel.jsx) — kept mounted while their card is closed, so a model download's poll
|
|
7
|
+
// survives a fold or a section switch.
|
|
8
8
|
//
|
|
9
9
|
// S11.13 (06 ad-settings): Runtime and Plugins from GET /_api/settings/about; Use my own plugin copy and
|
|
10
10
|
// AI reviews argue it out (advanced-prefs.js, read at the next AI session); Decision memory from
|
|
11
11
|
// GET /_api/kg/summary ("N decisions · kgai" or "Not set up"); Logs in bug reports; and Reset (reset-
|
|
12
12
|
// section.jsx). C34: no row for usage data or "Faster canvas engine" — a feature Maude lacks has no switch.
|
|
13
13
|
//
|
|
14
|
+
// 2.1.1 T6 (canvas 17 · 11): one column of cards — Generation spend · This Mac · Claude Code · Decision
|
|
15
|
+
// memory · Engines · Privacy · Experimental, then Reset — each closed card saying what is set, so most
|
|
16
|
+
// visits end without opening anything. This project left Advanced: its switches are under General ›
|
|
17
|
+
// This project › Sync details.
|
|
18
|
+
//
|
|
14
19
|
// Desktop only (`cloud === null`) — see connections-section.jsx.
|
|
15
20
|
|
|
16
21
|
import { useEffect, useState } from 'react';
|
|
@@ -30,9 +35,17 @@ import {
|
|
|
30
35
|
WhisperModelCard,
|
|
31
36
|
} from '../../panels/SettingsPanel.jsx';
|
|
32
37
|
import { MDCC_VERSION } from '../../shell/constants.js';
|
|
33
|
-
import {
|
|
34
|
-
import ProjectSyncSettings from './project-sync-settings.jsx';
|
|
38
|
+
import { Row, SwitchRow } from './parts.jsx';
|
|
35
39
|
import ResetSection from './reset-section.jsx';
|
|
40
|
+
import { SettingsCard } from './settings-card.jsx';
|
|
41
|
+
import {
|
|
42
|
+
claudeCodeSummary,
|
|
43
|
+
enginesSummary,
|
|
44
|
+
experimentalSummary,
|
|
45
|
+
privacySummary,
|
|
46
|
+
spendSummary,
|
|
47
|
+
thisMacSummary,
|
|
48
|
+
} from './settings-cards.js';
|
|
36
49
|
import {
|
|
37
50
|
decisionMemoryLine,
|
|
38
51
|
EXPERIMENTAL_TEAMS_PREF,
|
|
@@ -43,6 +56,7 @@ import {
|
|
|
43
56
|
runtimeLine,
|
|
44
57
|
} from './settings-model.js';
|
|
45
58
|
import { advancedPrefs, useAdvancedPrefs } from './use-advanced-prefs.js';
|
|
59
|
+
import { useOpenCard } from './use-open-card.js';
|
|
46
60
|
|
|
47
61
|
/** The commands the sheet hands over to paste into a terminal or the AI chat. */
|
|
48
62
|
export const COMMANDS = Object.freeze({
|
|
@@ -124,7 +138,7 @@ function UpdateRow({ update, onLater }) {
|
|
|
124
138
|
}
|
|
125
139
|
|
|
126
140
|
/** DDR-166 Decision 5 — offer to install Claude Code and sign in. DEFAULT ON; native-only (a Tauri pref). */
|
|
127
|
-
function
|
|
141
|
+
function useAutoSetup() {
|
|
128
142
|
const native = isNativeApp();
|
|
129
143
|
const [on, setOn] = useState(true);
|
|
130
144
|
useEffect(() => {
|
|
@@ -137,28 +151,149 @@ function AutoSetupRow() {
|
|
|
137
151
|
alive = false;
|
|
138
152
|
};
|
|
139
153
|
}, [native]);
|
|
154
|
+
const set = (next) => {
|
|
155
|
+
setOn(next);
|
|
156
|
+
setClaudeAutoSetup(next).catch(() => setOn(!next));
|
|
157
|
+
};
|
|
158
|
+
return { native, on: native && on, set };
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
function AutoSetupRow({ auto }) {
|
|
140
162
|
return (
|
|
141
163
|
<SwitchRow
|
|
142
164
|
testid="settings-claude-autosetup"
|
|
143
165
|
label="Install and sign in automatically"
|
|
144
166
|
note={
|
|
145
|
-
native
|
|
167
|
+
auto.native
|
|
146
168
|
? 'Offer to install Claude Code and sign in for you. Off shows only the copy-paste command — takes effect next launch or project switch.'
|
|
147
169
|
: 'Needs the Maude desktop app.'
|
|
148
170
|
}
|
|
149
|
-
checked={
|
|
150
|
-
disabled={!native}
|
|
151
|
-
onChange={
|
|
152
|
-
setOn(next);
|
|
153
|
-
setClaudeAutoSetup(next).catch(() => setOn(!next));
|
|
154
|
-
}}
|
|
171
|
+
checked={auto.on}
|
|
172
|
+
disabled={!auto.native}
|
|
173
|
+
onChange={auto.set}
|
|
155
174
|
/>
|
|
156
175
|
);
|
|
157
176
|
}
|
|
158
177
|
|
|
159
|
-
/**
|
|
160
|
-
|
|
178
|
+
/** Paid generation spend limits (generation/spend.ts): per Mac, bounded by the server. */
|
|
179
|
+
const SPEND_FIELDS = [
|
|
180
|
+
{
|
|
181
|
+
key: 'perRun',
|
|
182
|
+
label: 'Stop after, per session',
|
|
183
|
+
hint: 'The most this project tab may spend on generating pictures, sound and video before it stops.',
|
|
184
|
+
min: 0.1,
|
|
185
|
+
max: 100,
|
|
186
|
+
def: 2,
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
key: 'perDay',
|
|
190
|
+
label: 'Stop after, per day',
|
|
191
|
+
hint: 'The most this project may spend in one day, across sessions.',
|
|
192
|
+
min: 0.1,
|
|
193
|
+
max: 500,
|
|
194
|
+
def: 10,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
key: 'confirmOver',
|
|
198
|
+
label: 'Ask me before a job over',
|
|
199
|
+
hint: 'A single job estimated above this waits for your OK in Maude. 0 asks every time.',
|
|
200
|
+
min: 0,
|
|
201
|
+
max: 50,
|
|
202
|
+
def: 1,
|
|
203
|
+
},
|
|
204
|
+
];
|
|
205
|
+
|
|
206
|
+
function useSpendLimits() {
|
|
207
|
+
const [vals, setVals] = useState(() =>
|
|
208
|
+
Object.fromEntries(SPEND_FIELDS.map((f) => [f.key, f.def]))
|
|
209
|
+
);
|
|
210
|
+
// what is saved — the closed card says this, never a half-typed value
|
|
211
|
+
const [saved, setSaved] = useState(vals);
|
|
212
|
+
const [problem, setProblem] = useState('');
|
|
213
|
+
useEffect(() => {
|
|
214
|
+
let alive = true;
|
|
215
|
+
fetch('/_api/ui-prefs')
|
|
216
|
+
.then((r) => (r.ok ? r.json() : null))
|
|
217
|
+
.then((p) => {
|
|
218
|
+
const g = p && typeof p.generateSpend === 'object' ? p.generateSpend : null;
|
|
219
|
+
if (!alive || !g) return;
|
|
220
|
+
const next = {};
|
|
221
|
+
for (const f of SPEND_FIELDS)
|
|
222
|
+
if (typeof g[f.key] === 'number' && g[f.key] >= f.min && g[f.key] <= f.max)
|
|
223
|
+
next[f.key] = g[f.key];
|
|
224
|
+
setVals((v) => ({ ...v, ...next }));
|
|
225
|
+
setSaved((v) => ({ ...v, ...next }));
|
|
226
|
+
})
|
|
227
|
+
.catch(() => {});
|
|
228
|
+
return () => {
|
|
229
|
+
alive = false;
|
|
230
|
+
};
|
|
231
|
+
}, []);
|
|
232
|
+
const save = (f, raw) => {
|
|
233
|
+
const n = Number(raw);
|
|
234
|
+
if (!Number.isFinite(n) || n < f.min || n > f.max) {
|
|
235
|
+
setProblem(`${f.label}: use a number from $${f.min} to $${f.max}.`);
|
|
236
|
+
return;
|
|
237
|
+
}
|
|
238
|
+
setProblem('');
|
|
239
|
+
setVals((v) => ({ ...v, [f.key]: n }));
|
|
240
|
+
fetch('/_api/ui-prefs', {
|
|
241
|
+
method: 'POST',
|
|
242
|
+
headers: { 'content-type': 'application/json' },
|
|
243
|
+
body: JSON.stringify({ generateSpend: { [f.key]: n } }),
|
|
244
|
+
})
|
|
245
|
+
.then((r) => {
|
|
246
|
+
if (!r.ok) throw new Error('refused');
|
|
247
|
+
setSaved((v) => ({ ...v, [f.key]: n }));
|
|
248
|
+
})
|
|
249
|
+
.catch(() => setProblem('That limit was not saved. Nothing changed.'));
|
|
250
|
+
};
|
|
251
|
+
return { vals, setVals, saved, save, problem };
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
function SpendRows({ spend }) {
|
|
255
|
+
const { vals, setVals, save, problem } = spend;
|
|
256
|
+
return (
|
|
257
|
+
<div data-testid="settings-generate-spend">
|
|
258
|
+
{SPEND_FIELDS.map((f) => (
|
|
259
|
+
<label className="v2s-row" key={f.key} data-testid={`settings-generate-spend-${f.key}`}>
|
|
260
|
+
<span className="v2s-row-t">
|
|
261
|
+
<span className="v2s-row-k">{f.label}</span>
|
|
262
|
+
<span className="v2s-hint">{f.hint}</span>
|
|
263
|
+
</span>
|
|
264
|
+
<span className="v2s-inline">
|
|
265
|
+
<span aria-hidden="true">$</span>
|
|
266
|
+
<input
|
|
267
|
+
type="number"
|
|
268
|
+
className="v2s-select"
|
|
269
|
+
min={f.min}
|
|
270
|
+
max={f.max}
|
|
271
|
+
step="0.5"
|
|
272
|
+
style={{ width: '5.5em' }}
|
|
273
|
+
aria-label={f.label}
|
|
274
|
+
value={vals[f.key]}
|
|
275
|
+
onChange={(e) => setVals((v) => ({ ...v, [f.key]: e.target.value }))}
|
|
276
|
+
onBlur={(e) => save(f, e.target.value)}
|
|
277
|
+
onKeyDown={(e) => {
|
|
278
|
+
if (e.key === 'Enter') e.currentTarget.blur();
|
|
279
|
+
}}
|
|
280
|
+
/>
|
|
281
|
+
</span>
|
|
282
|
+
</label>
|
|
283
|
+
))}
|
|
284
|
+
{problem && (
|
|
285
|
+
<p className="v2s-hint" role="alert" data-testid="settings-generate-spend-problem">
|
|
286
|
+
{problem}
|
|
287
|
+
</p>
|
|
288
|
+
)}
|
|
289
|
+
</div>
|
|
290
|
+
);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/** One GET of a read-only route, `null` until it answers (and when it never does). `key` reads it again. */
|
|
294
|
+
function useRead(url, key = 0) {
|
|
161
295
|
const [data, setData] = useState(null);
|
|
296
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: `key` is the re-read ask
|
|
162
297
|
useEffect(() => {
|
|
163
298
|
let alive = true;
|
|
164
299
|
fetch(url)
|
|
@@ -168,141 +303,213 @@ function useRead(url) {
|
|
|
168
303
|
return () => {
|
|
169
304
|
alive = false;
|
|
170
305
|
};
|
|
171
|
-
}, [url]);
|
|
306
|
+
}, [url, key]);
|
|
172
307
|
return data;
|
|
173
308
|
}
|
|
174
309
|
|
|
175
|
-
export default function AdvancedSection({ update, onUpdateLater, live }) {
|
|
176
|
-
// The engine cards stay mounted once opened: a model download polls from inside them.
|
|
310
|
+
export default function AdvancedSection({ update, onUpdateLater, live, focus = null }) {
|
|
177
311
|
const port = typeof location !== 'undefined' ? location.port : '';
|
|
178
312
|
const prefs = useAdvancedPrefs();
|
|
179
313
|
const about = useRead('/_api/settings/about');
|
|
180
314
|
const kg = useRead('/_api/kg/summary');
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
<UpdateRow update={update} onLater={onUpdateLater} />
|
|
189
|
-
{/* C34: display only — a port you can edit is a port that fights the proxy. */}
|
|
190
|
-
<Row label="Local server port" mono testid="settings-server-port">
|
|
191
|
-
{port || '—'}
|
|
192
|
-
</Row>
|
|
193
|
-
<Row label="Runtime" mono testid="settings-runtime">
|
|
194
|
-
{runtimeLine(about)}
|
|
195
|
-
</Row>
|
|
196
|
-
<Row label="Server build" mono testid="settings-server-build">
|
|
197
|
-
maude-dev-srv
|
|
198
|
-
</Row>
|
|
199
|
-
<Row
|
|
200
|
-
label="Keys are kept in"
|
|
201
|
-
hint="Or ~/.config/maude/keys.json (private to you) when the Keychain is off. An update you skip installs when you next quit."
|
|
202
|
-
mono
|
|
203
|
-
testid="settings-keys-store"
|
|
204
|
-
>
|
|
205
|
-
macOS Keychain
|
|
206
|
-
</Row>
|
|
207
|
-
</Group>
|
|
315
|
+
const auto = useAutoSetup();
|
|
316
|
+
const spend = useSpendLimits();
|
|
317
|
+
const { open, toggle } = useOpenCard('advanced', focus);
|
|
318
|
+
// the engine cards save on their own: the closed card re-reads what they saved each time it closes
|
|
319
|
+
const engines = useRead('/_api/generate/prefs', open === 'engines' ? 1 : 0);
|
|
320
|
+
const plugins = pluginsLine(about);
|
|
321
|
+
const card = (id) => ({ open: open === id, onToggle: toggle, reveal: focus?.card === id });
|
|
208
322
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
<Row label="maude in the terminal">
|
|
222
|
-
<CopyCommand
|
|
223
|
-
ghost
|
|
224
|
-
command={COMMANDS.install}
|
|
225
|
-
label="Copy the install command"
|
|
226
|
-
text="Copy install command"
|
|
227
|
-
/>
|
|
228
|
-
</Row>
|
|
229
|
-
<Row label="Draw a mark with the SVG agent" testid="settings-copy-draw">
|
|
230
|
-
<CopyCommand ghost command={COMMANDS.draw} label="Copy the draw command" />
|
|
231
|
-
</Row>
|
|
232
|
-
<Row label="Import a brand from the terminal" testid="settings-copy-brand">
|
|
233
|
-
<CopyCommand ghost command={COMMANDS.brand} label="Copy the brand import command" />
|
|
234
|
-
</Row>
|
|
235
|
-
</Group>
|
|
323
|
+
return (
|
|
324
|
+
<div className="v2s-cards" data-testid="settings-advanced-cards">
|
|
325
|
+
<SettingsCard
|
|
326
|
+
id="spend"
|
|
327
|
+
icon="spark"
|
|
328
|
+
title="Generation spend"
|
|
329
|
+
desc="Limits for AI pictures, video and voice."
|
|
330
|
+
summary={spendSummary(spend.saved)}
|
|
331
|
+
{...card('spend')}
|
|
332
|
+
>
|
|
333
|
+
<SpendRows spend={spend} />
|
|
334
|
+
</SettingsCard>
|
|
236
335
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
<
|
|
336
|
+
<SettingsCard
|
|
337
|
+
id="this-mac"
|
|
338
|
+
testid="settings-this-mac"
|
|
339
|
+
icon="laptop"
|
|
340
|
+
title="This Mac"
|
|
341
|
+
desc="Version, updates, the local server."
|
|
342
|
+
summary={thisMacSummary({ version: MDCC_VERSION, port, update })}
|
|
343
|
+
{...card('this-mac')}
|
|
344
|
+
>
|
|
345
|
+
<div className="v2s-card-cols">
|
|
346
|
+
<div>
|
|
347
|
+
<Row label="Version" mono testid="settings-app-version">
|
|
348
|
+
{MDCC_VERSION}
|
|
349
|
+
</Row>
|
|
350
|
+
<UpdateRow update={update} onLater={onUpdateLater} />
|
|
351
|
+
{/* C34: display only — a port you can edit is a port that fights the proxy. */}
|
|
352
|
+
<Row label="Local server port" mono testid="settings-server-port">
|
|
353
|
+
{port || '—'}
|
|
354
|
+
</Row>
|
|
254
355
|
</div>
|
|
255
|
-
<div
|
|
256
|
-
<
|
|
257
|
-
|
|
356
|
+
<div>
|
|
357
|
+
<Row label="Runtime" mono testid="settings-runtime">
|
|
358
|
+
{runtimeLine(about)}
|
|
359
|
+
</Row>
|
|
360
|
+
<Row
|
|
361
|
+
label="Keys are kept in"
|
|
362
|
+
hint="Or ~/.config/maude/keys.json (private to you) when the Keychain is off. An update you skip installs when you next quit."
|
|
363
|
+
mono
|
|
364
|
+
testid="settings-keys-store"
|
|
365
|
+
>
|
|
366
|
+
macOS Keychain
|
|
367
|
+
</Row>
|
|
368
|
+
<Row label="Server build" mono testid="settings-server-build">
|
|
369
|
+
maude-dev-srv
|
|
370
|
+
</Row>
|
|
258
371
|
</div>
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
372
|
+
</div>
|
|
373
|
+
</SettingsCard>
|
|
374
|
+
|
|
375
|
+
<SettingsCard
|
|
376
|
+
id="claude-code"
|
|
377
|
+
icon="code"
|
|
378
|
+
title="Claude Code"
|
|
379
|
+
desc="The plugins Maude’s AI runs with."
|
|
380
|
+
summary={claudeCodeSummary({
|
|
381
|
+
plugins,
|
|
382
|
+
ownCopy: prefs[OWN_PLUGIN_COPY_PREF],
|
|
383
|
+
autoSetup: auto.native ? auto.on : true,
|
|
384
|
+
})}
|
|
385
|
+
{...card('claude-code')}
|
|
386
|
+
>
|
|
387
|
+
<Row label="Plugins" mono testid="settings-plugins">
|
|
388
|
+
{plugins ?? 'From your own install'}
|
|
389
|
+
</Row>
|
|
390
|
+
<SwitchRow
|
|
391
|
+
testid="settings-own-plugin-copy"
|
|
392
|
+
label="Use my own plugin copy"
|
|
393
|
+
note="Load the plugins you installed yourself instead of the ones Maude brings. Takes effect when the AI chat next starts."
|
|
394
|
+
checked={prefs[OWN_PLUGIN_COPY_PREF]}
|
|
395
|
+
onChange={(on) => advancedPrefs.set(OWN_PLUGIN_COPY_PREF, on)}
|
|
396
|
+
/>
|
|
397
|
+
<AutoSetupRow auto={auto} />
|
|
398
|
+
<Row label="maude in the terminal">
|
|
399
|
+
<CopyCommand
|
|
400
|
+
ghost
|
|
401
|
+
command={COMMANDS.install}
|
|
402
|
+
label="Copy the install command"
|
|
403
|
+
text="Copy install command"
|
|
404
|
+
/>
|
|
405
|
+
</Row>
|
|
406
|
+
<Row label="Draw a mark with the SVG agent" testid="settings-copy-draw">
|
|
407
|
+
<CopyCommand ghost command={COMMANDS.draw} label="Copy the draw command" />
|
|
408
|
+
</Row>
|
|
409
|
+
<Row label="Import a brand from the terminal" testid="settings-copy-brand">
|
|
410
|
+
<CopyCommand ghost command={COMMANDS.brand} label="Copy the brand import command" />
|
|
411
|
+
</Row>
|
|
412
|
+
</SettingsCard>
|
|
413
|
+
|
|
414
|
+
{/* C34: the count is the graph's own, or "Not set up". No switch: nothing in Maude turns it off. */}
|
|
415
|
+
<SettingsCard
|
|
416
|
+
id="decision-memory"
|
|
417
|
+
icon="history"
|
|
418
|
+
title="Decision memory"
|
|
419
|
+
desc="Remembers why things are the way they are."
|
|
420
|
+
summary={decisionMemoryLine(kg)}
|
|
421
|
+
{...card('decision-memory')}
|
|
422
|
+
>
|
|
423
|
+
<Row
|
|
424
|
+
label="In this project"
|
|
425
|
+
hint="Design decisions are kept with the project, so AI remembers why."
|
|
426
|
+
mono
|
|
427
|
+
testid="settings-decision-memory"
|
|
428
|
+
>
|
|
429
|
+
{decisionMemoryLine(kg)}
|
|
430
|
+
</Row>
|
|
431
|
+
</SettingsCard>
|
|
432
|
+
|
|
433
|
+
<SettingsCard
|
|
434
|
+
id="engines"
|
|
435
|
+
icon="sliders"
|
|
436
|
+
title="Engines"
|
|
437
|
+
desc="Subtitles and video keyframes."
|
|
438
|
+
summary={enginesSummary(engines)}
|
|
439
|
+
{...card('engines')}
|
|
440
|
+
>
|
|
441
|
+
<div data-testid="settings-transcription">
|
|
442
|
+
<TranscriptionEngineCard />
|
|
443
|
+
<WhisperModelCard />
|
|
444
|
+
</div>
|
|
445
|
+
<div data-testid="settings-keyframes">
|
|
446
|
+
<KeyframeEngineCard />
|
|
447
|
+
<GemmaModelCard />
|
|
448
|
+
</div>
|
|
449
|
+
<p className="v2s-hint">
|
|
450
|
+
Without a model, Auto uses ElevenLabs or Groq for subtitles and ffmpeg scene cuts for
|
|
451
|
+
keyframes.
|
|
452
|
+
</p>
|
|
453
|
+
</SettingsCard>
|
|
264
454
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
455
|
+
<SettingsCard
|
|
456
|
+
id="privacy"
|
|
457
|
+
icon="lock"
|
|
458
|
+
title="Privacy"
|
|
459
|
+
desc="What leaves this Mac besides your work."
|
|
460
|
+
summary={privacySummary(prefs[REPORT_LOGS_PREF])}
|
|
461
|
+
{...card('privacy')}
|
|
462
|
+
>
|
|
463
|
+
<label className="v2s-row" data-testid="settings-report-logs">
|
|
464
|
+
<span className="v2s-row-t">
|
|
465
|
+
<span className="v2s-row-k">Logs in bug reports</span>
|
|
466
|
+
<span className="v2s-hint">
|
|
467
|
+
Whether a report carries the last lines of Maude’s log. You see them before anything
|
|
468
|
+
is sent.
|
|
273
469
|
</span>
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
</
|
|
287
|
-
</
|
|
288
|
-
</
|
|
289
|
-
<div className="v2s-col">
|
|
290
|
-
<Group title="This project" testid="settings-this-project">
|
|
291
|
-
<ProjectSyncSettings cloud={null} />
|
|
292
|
-
</Group>
|
|
470
|
+
</span>
|
|
471
|
+
<select
|
|
472
|
+
className="v2s-select"
|
|
473
|
+
data-testid="settings-report-logs-select"
|
|
474
|
+
value={prefs[REPORT_LOGS_PREF]}
|
|
475
|
+
onChange={(e) => advancedPrefs.set(REPORT_LOGS_PREF, e.target.value)}
|
|
476
|
+
>
|
|
477
|
+
{REPORT_LOGS_CHOICES.map((c) => (
|
|
478
|
+
<option key={c.id} value={c.id}>
|
|
479
|
+
{c.label}
|
|
480
|
+
</option>
|
|
481
|
+
))}
|
|
482
|
+
</select>
|
|
483
|
+
</label>
|
|
484
|
+
</SettingsCard>
|
|
293
485
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
486
|
+
<SettingsCard
|
|
487
|
+
id="experimental"
|
|
488
|
+
icon="sparkle"
|
|
489
|
+
title="Experimental"
|
|
490
|
+
desc="Previews of what comes next."
|
|
491
|
+
summary={experimentalSummary(prefs[EXPERIMENTAL_TEAMS_PREF])}
|
|
492
|
+
{...card('experimental')}
|
|
493
|
+
>
|
|
494
|
+
<SwitchRow
|
|
495
|
+
testid="settings-experimental-teams"
|
|
496
|
+
label="AI reviews argue it out (teams)"
|
|
497
|
+
note="Reviews are argued out by several AI seats that answer each other. Costs more. Takes effect when the AI chat next starts."
|
|
498
|
+
checked={prefs[EXPERIMENTAL_TEAMS_PREF]}
|
|
499
|
+
onChange={(on) => advancedPrefs.set(EXPERIMENTAL_TEAMS_PREF, on)}
|
|
500
|
+
/>
|
|
501
|
+
</SettingsCard>
|
|
303
502
|
|
|
304
|
-
|
|
305
|
-
|
|
503
|
+
<SettingsCard
|
|
504
|
+
id="reset"
|
|
505
|
+
icon="reload"
|
|
506
|
+
title="Reset"
|
|
507
|
+
desc="Panels, Advanced sections, every setting."
|
|
508
|
+
summary="Keys and sign-ins are never reset"
|
|
509
|
+
{...card('reset')}
|
|
510
|
+
>
|
|
511
|
+
<ResetSection live={live} bare />
|
|
512
|
+
</SettingsCard>
|
|
306
513
|
</div>
|
|
307
514
|
);
|
|
308
515
|
}
|
|
@@ -1,62 +1,6 @@
|
|
|
1
|
-
// client/v2/settings/connection-row.jsx — S11.14:
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// Signed in as You
|
|
5
|
-
// › Advanced ← its own fold, remembered per Mac (`connections.<row>`)
|
|
6
|
-
//
|
|
7
|
-
// The row is the plain-words half (what it is, whether it works, one action); the mono words —
|
|
8
|
-
// addresses, the masked token, versions — live only under that row's Advanced. `children` is what
|
|
9
|
-
// stays visible under the row (the cloud project list, the key cards while Manage is open).
|
|
10
|
-
|
|
11
|
-
import { StIcon } from '../../shell/icons.jsx';
|
|
12
|
-
import { AdvancedFold } from '../fold/advanced-fold.jsx';
|
|
13
|
-
import { connectionFoldId } from './connections-model.js';
|
|
14
|
-
|
|
15
|
-
export function ConnectionRow({
|
|
16
|
-
row,
|
|
17
|
-
icon,
|
|
18
|
-
title,
|
|
19
|
-
desc,
|
|
20
|
-
status,
|
|
21
|
-
tone,
|
|
22
|
-
action,
|
|
23
|
-
advanced,
|
|
24
|
-
children,
|
|
25
|
-
testid,
|
|
26
|
-
rowTestid,
|
|
27
|
-
}) {
|
|
28
|
-
return (
|
|
29
|
-
<section
|
|
30
|
-
className="v2s-conn"
|
|
31
|
-
aria-label={title}
|
|
32
|
-
data-testid={testid ?? `settings-conn-${row}`}
|
|
33
|
-
data-conn={row}
|
|
34
|
-
>
|
|
35
|
-
<div className="v2s-conn-r" data-testid={rowTestid}>
|
|
36
|
-
<span className="v2s-conn-ic" aria-hidden="true">
|
|
37
|
-
<StIcon name={icon} size={16} />
|
|
38
|
-
</span>
|
|
39
|
-
<span className="v2s-conn-t">
|
|
40
|
-
<strong>{title}</strong>
|
|
41
|
-
{desc ? <span className="v2s-conn-d">{desc}</span> : null}
|
|
42
|
-
<span
|
|
43
|
-
className={tone === 'ok' ? 'v2s-conn-s v2s-conn-s--ok' : 'v2s-conn-s'}
|
|
44
|
-
data-testid={`settings-conn-${row}-status`}
|
|
45
|
-
>
|
|
46
|
-
{status}
|
|
47
|
-
</span>
|
|
48
|
-
</span>
|
|
49
|
-
{action ? <span className="v2s-conn-a">{action}</span> : null}
|
|
50
|
-
</div>
|
|
51
|
-
{children}
|
|
52
|
-
{advanced ? (
|
|
53
|
-
<div className="v2s-conn-fold">
|
|
54
|
-
<AdvancedFold panel={connectionFoldId(row)}>{advanced}</AdvancedFold>
|
|
55
|
-
</div>
|
|
56
|
-
) : null}
|
|
57
|
-
</section>
|
|
58
|
-
);
|
|
59
|
-
}
|
|
1
|
+
// client/v2/settings/connection-row.jsx — S11.14: the mono "k · value" line a connection keeps under its
|
|
2
|
+
// own Advanced (06 ad-edge-hub): addresses, the masked token, versions. 2.1.1 T6: the connection ROW itself
|
|
3
|
+
// became the Settings card (settings-card.jsx), the same in every tab.
|
|
60
4
|
|
|
61
5
|
/** One "k · value" line under a connection's Advanced; `copy` adds a Copy button for the value. */
|
|
62
6
|
export function ConnField({ k, mono, copy, children, testid }) {
|