@uniqbit/mate-core 1.0.0-canary.7 → 1.0.0-canary.9
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/claude-capability-plugins/companion-mentions/.claude-plugin/plugin.json +1 -1
- package/package.json +6 -3
- package/src/cli/commands/artifact/delivery/submit.ts +6 -4
- package/src/cli/commands/artifact/finish/command.ts +28 -11
- package/src/cli/commands/artifact/pending/command.ts +71 -7
- package/src/cli/commands/cap/tokensave.ts +2 -2
- package/src/cli/commands/companion/update.ts +2 -3
- package/src/cli/commands/doctor.ts +33 -4
- package/src/cli/commands/install.ts +8 -4
- package/src/cli/commands/plugin/install.ts +82 -35
- package/src/cli/commands/studio/service-host.ts +3 -0
- package/src/cli/commands/triage.ts +32 -11
- package/src/cli/commands/vscode/release-vsix.json +2 -2
- package/src/cli/install-plan.tsx +3 -0
- package/src/cli/main.ts +51 -7
- package/src/cli/usage.ts +3 -3
- package/src/create-mate.ts +4 -1
- package/src/factory-host.ts +6 -0
- package/src/index.ts +1 -0
- package/src/lib/delivery/merge-git.ts +31 -7
- package/src/lib/delivery/overlap.ts +14 -1
- package/src/lib/delivery/repository-access.ts +11 -6
- package/src/lib/delivery/staging/apply-chain.ts +25 -7
- package/src/lib/delivery/staging/linked-merges.ts +175 -0
- package/src/lib/delivery/staging/naming.ts +3 -0
- package/src/lib/delivery/staging/openspec-type.ts +38 -7
- package/src/lib/delivery/staging/pending.ts +153 -11
- package/src/lib/delivery/staging/preflight.ts +239 -0
- package/src/lib/delivery/staging/project.ts +243 -104
- package/src/lib/delivery/staging/replay.ts +5 -3
- package/src/lib/delivery/staging/settle-linked.ts +5 -119
- package/src/lib/delivery/staging/submit.ts +139 -18
- package/src/lib/delivery/submit-change.ts +163 -37
- package/src/lib/friction/mark.ts +49 -11
- package/src/lib/friction/view/read.ts +10 -1
- package/src/lib/mcp-manager/resolve.ts +70 -0
- package/src/lib/mcp-manager/store.ts +109 -0
- package/src/lib/mcp-manager/types.ts +58 -0
- package/src/lib/mcp-manager/validate.ts +246 -0
- package/src/lib/openspec-cli.ts +10 -5
- package/src/lib/orchestrator/config-store.ts +30 -7
- package/src/lib/orchestrator/engine-floor.ts +16 -4
- package/src/lib/orchestrator/engine-guard.ts +7 -1
- package/src/lib/orchestrator/types.ts +4 -0
- package/src/lib/skills-cli.ts +38 -0
- package/src/lib/tool-manifest.ts +73 -0
- package/src/lib/triage/context.ts +138 -12
- package/src/lib/triage/prepare.ts +19 -4
- package/src/plugin-api.ts +1 -0
- package/src/runtime/command-arg.ts +15 -0
- package/src/runtime/companion-guidance.ts +1 -1
- package/src/runtime/friction-log.ts +41 -17
- package/src/runtime/friction-recorder.ts +15 -2
- package/src/runtime/git-tracked.ts +13 -2
- package/src/runtime/workflow/turn.ts +14 -12
- package/src/studio.ts +23 -1
- package/src/templates/capabilities/openspec-cap/mate-minimal/schema.yaml +5 -1
- package/src/templates/capabilities/react-doctor/mate-react-doctor/SKILL.md +28 -0
- package/src/templates/mate-skills/agents/mate-apply-change/SKILL.md +42 -4
- package/src/templates/mate-skills/agents/mate-archive-change/SKILL.md +27 -2
- package/src/templates/mate-skills/agents/mate-backfill-spec/SKILL.md +23 -1
- package/src/templates/mate-skills/agents/mate-clarify-intent/SKILL.md +26 -1
- package/src/templates/mate-skills/agents/mate-domain-modeling/SKILL.md +28 -0
- package/src/templates/mate-skills/agents/mate-explore-change/SKILL.md +28 -3
- package/src/templates/mate-skills/agents/mate-grill-me/SKILL.md +28 -0
- package/src/templates/mate-skills/agents/mate-grill-with-docs/SKILL.md +28 -0
- package/src/templates/mate-skills/agents/mate-grilling/SKILL.md +25 -0
- package/src/templates/mate-skills/agents/mate-interview-me/SKILL.md +28 -0
- package/src/templates/mate-skills/agents/mate-propose-change/SKILL.md +28 -3
- package/src/templates/mate-skills/agents/mate-publish-artifact/SKILL.md +28 -6
- package/src/templates/mate-skills/agents/mate-show-me/SKILL.md +27 -2
- package/src/templates/mate-skills/agents/mate-simplify-code/SKILL.md +28 -0
- package/src/templates/mate-skills/agents/mate-submit-change/SKILL.md +24 -2
- package/src/templates/mate-skills/claude/mate-apply-change/SKILL.md +42 -4
- package/src/templates/mate-skills/claude/mate-archive-change/SKILL.md +27 -2
- package/src/templates/mate-skills/claude/mate-backfill-spec/SKILL.md +23 -1
- package/src/templates/mate-skills/claude/mate-clarify-intent/SKILL.md +26 -1
- package/src/templates/mate-skills/claude/mate-domain-modeling/SKILL.md +28 -0
- package/src/templates/mate-skills/claude/mate-explore-change/SKILL.md +28 -3
- package/src/templates/mate-skills/claude/mate-grill-me/SKILL.md +28 -0
- package/src/templates/mate-skills/claude/mate-grill-with-docs/SKILL.md +28 -0
- package/src/templates/mate-skills/claude/mate-grilling/SKILL.md +25 -0
- package/src/templates/mate-skills/claude/mate-interview-me/SKILL.md +28 -0
- package/src/templates/mate-skills/claude/mate-propose-change/SKILL.md +28 -3
- package/src/templates/mate-skills/claude/mate-publish-artifact/SKILL.md +28 -6
- package/src/templates/mate-skills/claude/mate-show-me/SKILL.md +27 -2
- package/src/templates/mate-skills/claude/mate-simplify-code/SKILL.md +28 -0
- package/src/templates/mate-skills/claude/mate-submit-change/SKILL.md +24 -2
- package/src/templates/triage/PLAYBOOK.md +9 -1
- package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +108 -108
- package/src/tools/setup/capabilities/graphify.ts +23 -1
- package/src/tools/setup/capabilities/mcp-manager.ts +74 -0
- package/src/tools/setup/capabilities/rtk.ts +27 -86
- package/src/tools/setup/capabilities/tokensave.ts +76 -54
- package/src/tools/setup/context-services.ts +35 -6
- package/src/tools/setup/dynamic-plugins/audiences.ts +31 -16
- package/src/tools/setup/dynamic-plugins/hydrate.ts +32 -14
- package/src/tools/setup/dynamic-plugins/install.ts +2 -0
- package/src/tools/setup/dynamic-plugins/installed.ts +73 -0
- package/src/tools/setup/dynamic-plugins/loader.ts +12 -10
- package/src/tools/setup/dynamic-plugins/local.ts +492 -0
- package/src/tools/setup/dynamic-plugins/paths.ts +34 -6
- package/src/tools/setup/dynamic-plugins/verify.ts +34 -14
- package/src/tools/setup/dynamic-plugins/workspaces.ts +17 -8
- package/src/tools/setup/engine.ts +55 -3
- package/src/tools/setup/mate.ts +26 -1
- package/src/tools/setup/plugin.ts +14 -0
- package/src/tools/setup/plugins/gitignore.ts +45 -12
- package/src/tools/setup/providers/claude-format.ts +39 -2
- package/src/tools/setup/providers/claude.ts +10 -0
- package/src/tools/setup/providers/opencode-format.ts +13 -3
- package/src/tools/setup/service.ts +8 -0
- package/src/tools/setup/utils.ts +10 -1
- package/studio-dist/client/assets/app-ggXJ_QVh.css +2 -0
- package/studio-dist/client/assets/button-C9SQW3kI.js +1 -0
- package/studio-dist/client/assets/cn-DC80MJV0.js +1 -0
- package/studio-dist/client/assets/combobox-D7mKYCBb.js +1 -0
- package/studio-dist/client/assets/{companion-view-DINdPF-b.js → companion-view-C1F0_jbt.js} +1 -1
- package/studio-dist/client/assets/fields-CEep8IFT.js +1 -0
- package/studio-dist/client/assets/friction-D9dBU7WN.js +1 -0
- package/studio-dist/client/assets/getting-started-BDyGvHhc.js +1 -0
- package/studio-dist/client/assets/{getting-started-djaQeWlu.js → getting-started-BN4aTpsz.js} +1 -1
- package/studio-dist/client/assets/getting-started._topic-B9ajbF4o.js +1 -0
- package/studio-dist/client/assets/getting-started.index-CYiBPtb7.js +1 -0
- package/studio-dist/client/assets/graph-ah7ZXfTa.js +2 -0
- package/studio-dist/client/assets/{graph-canvas-DIcAqwtK.js → graph-canvas-Be5qgdDt.js} +1 -1
- package/studio-dist/client/assets/guides-CsL0660B.js +1 -0
- package/studio-dist/client/assets/index-zmRH87D4.js +40 -0
- package/studio-dist/client/assets/{markdown-view-jMiaBTSO.js → markdown-view-dku7MGPn.js} +1 -1
- package/studio-dist/client/assets/panel-COgk0vP5.js +1 -0
- package/studio-dist/client/assets/plugins._service._view-Cn3WBHab.js +1 -0
- package/studio-dist/client/assets/{prepaint-CKsXyJOR.js → prepaint-BkoDSw5X.js} +1 -1
- package/studio-dist/client/assets/{queries-Dfp5deWj.js → queries-CMvC2OkU.js} +1 -1
- package/studio-dist/client/assets/reports-C_AqLBYH.js +1 -0
- package/studio-dist/client/assets/routes-BokQmHtC.js +1 -0
- package/studio-dist/client/assets/{search-CXosfvYh.js → search-DxidNK2M.js} +1 -1
- package/studio-dist/client/assets/select-CYFCbHUd.js +1 -0
- package/studio-dist/client/assets/skills-R3vttWHM.js +1 -0
- package/studio-dist/client/assets/{specs-Dl8HfGlU.js → specs-Bqd1ajyD.js} +1 -1
- package/studio-dist/client/assets/specs-view-znqFPx9p.js +1 -0
- package/studio-dist/client/assets/{steps-CKUno4lh.js → steps-tVDWn7j6.js} +1 -1
- package/studio-dist/client/assets/{store-DyXbi6o9.js → store-BYnEU33C.js} +1 -1
- package/studio-dist/client/assets/studio-ndtFcS2Y.js +100 -0
- package/studio-dist/client/assets/{studio-queries-BflKt9va.js → studio-queries-CkUSByy7.js} +1 -1
- package/studio-dist/client/assets/{usage-Blcl8kA_.js → usage-Kuhr8dSl.js} +13 -13
- package/studio-dist/client/assets/{useAnchoredPopupScrollLock-BBXJpX5L.js → useAnchoredPopupScrollLock-dc_kP4Go.js} +1 -1
- package/studio-dist/client/assets/useMutation-CqtM9COw.js +1 -0
- package/studio-dist/client/assets/vault-CSP8kwRg.js +1 -0
- package/studio-dist/client/assets/warnings-Cnw99ugO.js +1 -0
- package/studio-dist/client/assets/workflow-BPJAmmZi.js +1 -0
- package/studio-dist/server/assets/{__23tanstack-start-server-fn-resolver-JoHQ5ihx.js → __23tanstack-start-server-fn-resolver-CS3QRY4Q.js} +18 -18
- package/studio-dist/server/assets/_tanstack-start-manifest_v.js +58 -58
- package/studio-dist/server/assets/{button-B7e1fRyW.js → button-Ct_WeYLc.js} +3 -3480
- package/studio-dist/server/assets/cn-DWFJaP_9.js +5528 -0
- package/studio-dist/server/assets/{combobox--S_OmUfh.js → combobox-17vO5Uz8.js} +6 -5
- package/studio-dist/server/assets/{companion-view-D-vGM55e.js → companion-view-JkxnGLlp.js} +2 -2
- package/studio-dist/server/assets/{companions-Dr6IpNAb.js → companions-YNLsbnch.js} +1 -1
- package/studio-dist/server/assets/{fields-B4qM2ZwC.js → fields-VytPpqBq.js} +2 -1
- package/studio-dist/server/assets/{friction-sLxaWY-H.js → friction-B6osqFSm.js} +56 -16
- package/studio-dist/server/assets/{friction-CWOTjpCV.js → friction-BW86PCPM.js} +2 -2
- package/studio-dist/server/assets/{getting-started-Cq5Pcnsr.js → getting-started-CFHSeX5h.js} +2 -2
- package/studio-dist/server/assets/{getting-started._topic-CmWdl3u3.js → getting-started._topic-BK2eU6AS.js} +2 -2
- package/studio-dist/server/assets/{getting-started.index-AB8xpTFY.js → getting-started.index-DZLuXnNO.js} +2 -2
- package/studio-dist/server/assets/{graph-C_Hn-Wf_.js → graph-BJVZBevL.js} +8 -7
- package/studio-dist/server/assets/{graph-B11ITte0.js → graph-DGZHV-Ek.js} +1 -1
- package/studio-dist/server/assets/{graph-canvas-BthrSmPS.js → graph-canvas-lrNT6jbl.js} +2 -2
- package/studio-dist/server/assets/{guides-B8HdeK_C.js → guides-CEwLOZb9.js} +1 -1
- package/studio-dist/server/assets/{guides-BVQ4pt5B.js → guides-_G8Vucsk.js} +1 -1
- package/studio-dist/server/assets/{guides.server-DqFQAStf.js → guides.server-ZWFKX2XJ.js} +1 -1
- package/studio-dist/server/assets/{markdown-view-rwiiVcPC.js → markdown-view-Bmjghg_Z.js} +1 -1
- package/studio-dist/server/assets/{panel-CUxRIpYL.js → panel-DvRjyil3.js} +4 -3
- package/studio-dist/server/assets/{plugins._service._view-BSvGnlhU.js → plugins._service._view-B32LzraG.js} +8 -5
- package/studio-dist/server/assets/{prepaint-B28ClcPN.js → prepaint-BEHwKl51.js} +1 -1
- package/studio-dist/server/assets/{queries-S_Pl90IG.js → queries-D6Vq0AuZ.js} +1 -1
- package/studio-dist/server/assets/{reports-B9k98oE6.js → reports-DDaH5k0H.js} +1 -1
- package/studio-dist/server/assets/{reports-CJpAItPk.js → reports-Dn92pLap.js} +7 -6
- package/studio-dist/server/assets/{router-DF0etoNa.js → router-Bjf4S9tO.js} +57 -32
- package/studio-dist/server/assets/{routes-6ylCLkyg.js → routes-B4sNiE0X.js} +8 -7
- package/studio-dist/server/assets/{search-b-yQesv3.js → search-DKeJRvg8.js} +1 -1
- package/studio-dist/server/assets/{select-CjuKScan.js → select-CVHYL7oR.js} +5 -4
- package/studio-dist/server/assets/{shell-DLkP7wG9.js → shell-BxbYYaAk.js} +4 -3
- package/studio-dist/server/assets/{skills-zeU80A9S.js → skills-B4-0qpqN.js} +8 -7
- package/studio-dist/server/assets/{skills-DGg0mWDM.js → skills-Bj8eOgzR.js} +1 -1
- package/studio-dist/server/assets/{specs-DDBNT_v1.js → specs-rfMug6qW.js} +4 -4
- package/studio-dist/server/assets/{specs-view-exvmWdg0.js → specs-view-qi1SE1Sl.js} +10 -9
- package/studio-dist/server/assets/{steps-D1tYAyWZ.js → steps-rger6HJc.js} +1 -1
- package/studio-dist/server/assets/{store-kS7zk0Hr.js → store-Dg9T7oWs.js} +1 -1
- package/studio-dist/server/assets/{studio-qRvQjRpz.js → studio-D79JzDLc.js} +1347 -0
- package/studio-dist/server/assets/{studio-queries-qOXOYoPt.js → studio-queries-CeFfmIuM.js} +3 -3
- package/studio-dist/server/assets/{usage-C2um7YiV.js → usage-BJgYWRCX.js} +10 -10
- package/studio-dist/server/assets/{usage-Cwle9-xY.js → usage-Dw_UQFX-.js} +1 -1
- package/studio-dist/server/assets/{useAnchoredPopupScrollLock-kQBB3y_b.js → useAnchoredPopupScrollLock-ciS_sEq3.js} +2 -2
- package/studio-dist/server/assets/{useMutation-C-WO6hCM.js → useMutation-DnWK0PhO.js} +2 -2
- package/studio-dist/server/assets/{vault-CEBBRLMb.js → vault-BzarssiL.js} +1 -1
- package/studio-dist/server/assets/{vault-B8vgVIH9.js → vault-CvlrLd2H.js} +6 -6
- package/studio-dist/server/assets/{views-UgO0Qz_g.js → views-CAxwKHMK.js} +2 -2
- package/studio-dist/server/assets/{warnings-BxK4VfV5.js → warnings-BpVCugHm.js} +2 -1
- package/studio-dist/server/assets/{workflow-BrTK632u.js → workflow-BdrzcCt8.js} +9 -8
- package/studio-dist/server/server.js +2 -2
- package/tool-manifest.yaml +85 -0
- package/studio-dist/client/assets/app-aIwDxf48.css +0 -2
- package/studio-dist/client/assets/button-CX0sWAJl.js +0 -1
- package/studio-dist/client/assets/combobox-BmA8RjOc.js +0 -1
- package/studio-dist/client/assets/fields-BobQ7zRF.js +0 -1
- package/studio-dist/client/assets/friction-YdYd3zaz.js +0 -1
- package/studio-dist/client/assets/getting-started-CY7NEtTw.js +0 -1
- package/studio-dist/client/assets/getting-started._topic-DVB8e5R9.js +0 -1
- package/studio-dist/client/assets/getting-started.index-DQvLHEr1.js +0 -1
- package/studio-dist/client/assets/graph-DbNnR884.js +0 -2
- package/studio-dist/client/assets/guides-D6T6W_jV.js +0 -1
- package/studio-dist/client/assets/index-CysBCSxM.js +0 -40
- package/studio-dist/client/assets/panel-Csr49lBo.js +0 -1
- package/studio-dist/client/assets/plugins._service._view-CEA_CcPe.js +0 -1
- package/studio-dist/client/assets/reports-CLdgxxkg.js +0 -1
- package/studio-dist/client/assets/routes-DGilWbDE.js +0 -1
- package/studio-dist/client/assets/select-DdebbX7K.js +0 -1
- package/studio-dist/client/assets/skills-C3zNkU8g.js +0 -1
- package/studio-dist/client/assets/specs-view-B_n0Pekv.js +0 -1
- package/studio-dist/client/assets/studio-0ueISxwP.js +0 -100
- package/studio-dist/client/assets/useBaseQuery-C2cjmeH2.js +0 -1
- package/studio-dist/client/assets/useMutation-DI6LbvVa.js +0 -1
- package/studio-dist/client/assets/vault-Cb9DmM1i.js +0 -1
- package/studio-dist/client/assets/warnings-B-rvoW8q.js +0 -1
- package/studio-dist/client/assets/workflow-DN5T19jd.js +0 -1
- package/studio-dist/server/assets/useBaseQuery--iH3rd-T.js +0 -2051
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as useRouter, c as _getAssetMatches, m as createNonReactiveReadonlyStore, p as createNonReactiveMutableStore, u as RouterCore } from "./useSelector-DUmCUXAs.js";
|
|
2
2
|
import { i as __exportAll, n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
|
|
3
|
-
import {
|
|
4
|
-
import { D as TERMINAL_SOCKET_ROUTE, E as TERMINAL_SESSIONS_ROUTE, F as functionalUpdate, H as matchQuery, I as hashKey, K as replaceEqualDeep, L as hashQueryKeyByOptions, O as TERMINAL_WASM, T as TERMINAL_SESSIONS_END_ROUTE, U as noop, V as matchMutation, W as partialMatchKey, X as skipToken, a as companionViewQuery, at as useNavigate, b as studioFetch, c as pluginAttentionQuery, it as Link, k as queryOptions, l as reportsQuery, m as vaultQuery, n as afterRefresh, nt as createFileRoute, ot as useParams, q as resolveQueryValue, rt as createRootRouteWithContext, s as holdShellForMode, t as afterEvent, tt as lazyRouteComponent, u as shellQuery, v as getShell, w as STUDIO_EVENTS_ROUTE, x as probeStudio, y as createSsrRpc } from "./studio-queries-
|
|
3
|
+
import { a as QueryObserver, d as focusManager, f as Subscribable, i as defaultThrowOnError, l as onlineManager, m as useQueryClient, o as Query, p as QueryClientProvider, r as useBaseQuery, t as cn, u as notifyManager } from "./cn-DWFJaP_9.js";
|
|
4
|
+
import { D as TERMINAL_SOCKET_ROUTE, E as TERMINAL_SESSIONS_ROUTE, F as functionalUpdate, H as matchQuery, I as hashKey, K as replaceEqualDeep, L as hashQueryKeyByOptions, O as TERMINAL_WASM, T as TERMINAL_SESSIONS_END_ROUTE, U as noop, V as matchMutation, W as partialMatchKey, X as skipToken, a as companionViewQuery, at as useNavigate, b as studioFetch, c as pluginAttentionQuery, it as Link, k as queryOptions, l as reportsQuery, m as vaultQuery, n as afterRefresh, nt as createFileRoute, ot as useParams, q as resolveQueryValue, rt as createRootRouteWithContext, s as holdShellForMode, t as afterEvent, tt as lazyRouteComponent, u as shellQuery, v as getShell, w as STUDIO_EVENTS_ROUTE, x as probeStudio, y as createSsrRpc } from "./studio-queries-CeFfmIuM.js";
|
|
5
5
|
import { r as redirect } from "./redirect-BaZ_QyqF.js";
|
|
6
6
|
import { a as useMatches, c as appendUniqueUserTags, d as resolveManifestCssLink, i as require_react_dom, l as getAssetCrossOrigin, n as createServerFn, o as Outlet, s as useHydrated, u as getScriptPreloadAttrs } from "../server.js";
|
|
7
7
|
import { s as escapeHtml } from "./utils-C9CX1kcy.js";
|
|
8
|
-
import { D as SHARED_VIEWS, E as MODE_VIEWS, N as viewsFor, O as STUDIO_MODES, S as COMPANION_DIGEST_PATTERN, g as MARK_STATES, i as stepStage, n as LIGHT_PALETTE, p as defaultWorkflow, r as stagesBeforeWork, t as DARK_PALETTE } from "./studio-
|
|
9
|
-
import { a as VAULT_TREE_STORAGE_KEY, i as THEME_STORAGE_KEY, n as RAIL_STORAGE_KEY, r as STUDIO_PREPAINT_SCRIPT, t as COMPANION_STORAGE_KEY } from "./prepaint-
|
|
10
|
-
import { n as loadView, r as registeredCompanion, t as loadHeld } from "./queries-
|
|
8
|
+
import { D as SHARED_VIEWS, E as MODE_VIEWS, N as viewsFor, O as STUDIO_MODES, S as COMPANION_DIGEST_PATTERN, g as MARK_STATES, i as stepStage, n as LIGHT_PALETTE, p as defaultWorkflow, r as stagesBeforeWork, t as DARK_PALETTE } from "./studio-D79JzDLc.js";
|
|
9
|
+
import { a as VAULT_TREE_STORAGE_KEY, i as THEME_STORAGE_KEY, n as RAIL_STORAGE_KEY, r as STUDIO_PREPAINT_SCRIPT, t as COMPANION_STORAGE_KEY } from "./prepaint-BEHwKl51.js";
|
|
10
|
+
import { n as loadView, r as registeredCompanion, t as loadHeld } from "./queries-D6Vq0AuZ.js";
|
|
11
11
|
import { t as formatCollectedAt } from "./model-PyPALjii.js";
|
|
12
|
-
import { a as FRICTION_VIEW_DAYS, i as validateStudioSearch, n as oneOf, o as frictionViewDays, r as validateSpecsSearch, t as canonicalHref } from "./search-
|
|
12
|
+
import { a as FRICTION_VIEW_DAYS, i as validateStudioSearch, n as oneOf, o as frictionViewDays, r as validateSpecsSearch, t as canonicalHref } from "./search-DKeJRvg8.js";
|
|
13
13
|
import { t as create } from "./react-CiBZPDs8.js";
|
|
14
|
-
import { A as useFloatingParentNodeId, An as android, Ar as NOOP, At as clamp, B as FocusGuard, Bn as imperativeAction, Bt as getOppositeAxisPlacements, C as useAnimationsFinished, Cn as activeElement, Cr as isTableElement, Ct as getGridNavigatedIndex, D as FloatingNode, Dr as mergeProps, En as getTarget, Er as useRenderElement, F as CLICK_TRIGGER_IDENTIFIER, Ft as getAlignmentAxis, G as useValueAsRef, Gn as keyboard, Gt as max, H as visuallyHiddenInput, Hn as inputClear, Ht as getPaddingObject, I as DISABLED_TRANSITIONS_STYLE, In as closePress, Ir as useControlled, It as getAlignmentSides, J as Timeout, Jt as round, K as mergeCleanups, Kt as min, Ln as disabled, Lr as
|
|
15
|
-
import { _ as inertValue, a as InternalBackdrop, c as useLabelableId, d as useRegisterFieldControl, f as DEFAULT_FIELD_ROOT_CONTEXT, g as fieldValidityMapping, h as DEFAULT_FIELD_STATE_ATTRIBUTES, i as useScrollLock, l as useLabelableContext, m as useFieldRootContext, n as Kbd, o as useSetFieldFocused, p as FieldRootContext, r as Separator, s as useValueChanged, t as Input, u as useFormContext, v as FloatingFocusManager } from "./fields-
|
|
16
|
-
import { n as Mutation, t as useMutation } from "./useMutation-
|
|
17
|
-
import "./__23tanstack-start-server-fn-resolver-
|
|
18
|
-
import { t as getGuide } from "./guides-
|
|
19
|
-
import { n as popupStoreSelectors, t as createInitialPopupStoreState } from "./store-
|
|
20
|
-
import { S as useClick, _ as resolveSelectedIndex, a as hasNullItemLabel, b as useListNavigation, d as compareItemEquality, f as defaultItemEquality, g as removeItem, h as isSelectedValueDirty, i as flattenLeafItems, l as stringifyAsLabel, m as findSelectionIndex, n as useOpenInteractionType, o as isGroupedItems, p as findItemIndex, r as useOpenMethodTriggerProps, t as useAnchoredPopupScrollLock, u as stringifyAsValue, v as selectedValueIncludes, x as useFloatingRootContext, y as useOnFirstRender } from "./useAnchoredPopupScrollLock-
|
|
14
|
+
import { A as useFloatingParentNodeId, An as android, Ar as NOOP, At as clamp, B as FocusGuard, Bn as imperativeAction, Bt as getOppositeAxisPlacements, C as useAnimationsFinished, Cn as activeElement, Cr as isTableElement, Ct as getGridNavigatedIndex, D as FloatingNode, Dr as mergeProps, En as getTarget, Er as useRenderElement, F as CLICK_TRIGGER_IDENTIFIER, Ft as getAlignmentAxis, G as useValueAsRef, Gn as keyboard, Gt as max, H as visuallyHiddenInput, Hn as inputClear, Ht as getPaddingObject, I as DISABLED_TRANSITIONS_STYLE, In as closePress, Ir as useControlled, It as getAlignmentSides, J as Timeout, Jt as round, K as mergeCleanups, Kt as min, Ln as disabled, Lr as useQuery, Lt as getAxisLength, M as FloatingPortal, Mn as mac, Mr as useMergedRefs, Mt as evaluate, N as useFloatingPortalNode, Nr as useRefWithInit, Nt as floor, O as FloatingTree, On as gecko, Or as EMPTY_ARRAY, Ot as isIndexOutOfListBounds, Pn as CompositeList, Pr as useBaseUiId, Pt as getAlignment, Q as fastComponentRef, Qn as triggerPress, Qt as stopEvent, R as POPUP_COLLISION_AVOIDANCE, Rn as escapeKey, Rt as getExpandedPlacements, S as useOpenChangeComplete, T as useDismiss, Tn as contains, Tr as isWebKit, Un as inputPress, Ut as getSide, V as visuallyHidden, Vn as inputChange, Vt as getOppositePlacement, Wn as itemPress, Wt as getSideAxis, X as useOnMount, Xn as triggerFocus, Y as useTimeout, Yn as pointer, Yt as isMouseLikePointerType, Z as fastComponent, Zn as triggerHover, _ as usePopupInteractionProps, _r as isContainingBlock, a as ReactStore, an as isTypeableElement, ar as formatErrorMessage, at as PageHeader, b as useTriggerDataForwarding, br as isLastTraversableNode, bt as isOutsideEvent, c as PopupTriggerMap, cn as popupStateMapping, cr as getComputedStyle$1, d as applyPopupOpenChange, dn as triggerOpenStateMapping, dr as getFrameElement, dt as ToggleGroup, en as getNodeChildren, er as createChangeEventDetails, f as attachPreventUnmountOnClose, fr as getNodeName, ft as ToggleGroupItem, g as useOpenStateTransitions, gr as getWindow, h as useImplicitActiveTrigger, hr as getParentNode, ht as COMPOSITE_KEYS, ir as ownerDocument, j as useFloatingTree, jn as ios, jt as createCoords, k as useFloatingNodeId, kn as webkit, kr as EMPTY_OBJECT, l as FOCUSABLE_POPUP_PROPS, ln as popupTransitionStateMapping, lr as getContainingBlock, lt as StatusWord, m as createPopupOpenState, mr as getOverflowAncestors, mt as useDirection, nn as isInteractiveElement, nr as useCompositeListItem, on as matchesFocusVisible, or as useIsoLayoutEffect, p as createDefaultInitialFocus, pr as getNodeScroll, pt as useToolbarRootContext, q as addEventListener, qn as none, qt as rectToClientRect, r as Icon, rn as isTargetInsideEnabledTrigger, rr as useButton, rt as ListCard, s as require_shim, sn as triggerDisabled, sr as useStableCallback, t as Button, tr as createGenericEventDetails, tt as Count, u as PopupHandleAttachment, un as pressableTriggerOpenStateMapping, ur as getDocumentElement, v as usePopupRootStore, vn as transitionStatusMapping, vr as isElement, wn as closest, wr as isTopLayer, x as useUnmountAfterClose, xr as isOverflowElement, y as usePopupRootSync, yr as isHTMLElement, yt as getTabbableNearElement, z as createAttribute, zn as focusOut, zt as getOppositeAxis } from "./button-Ct_WeYLc.js";
|
|
15
|
+
import { _ as inertValue, a as InternalBackdrop, c as useLabelableId, d as useRegisterFieldControl, f as DEFAULT_FIELD_ROOT_CONTEXT, g as fieldValidityMapping, h as DEFAULT_FIELD_STATE_ATTRIBUTES, i as useScrollLock, l as useLabelableContext, m as useFieldRootContext, n as Kbd, o as useSetFieldFocused, p as FieldRootContext, r as Separator, s as useValueChanged, t as Input, u as useFormContext, v as FloatingFocusManager } from "./fields-VytPpqBq.js";
|
|
16
|
+
import { n as Mutation, t as useMutation } from "./useMutation-DnWK0PhO.js";
|
|
17
|
+
import "./__23tanstack-start-server-fn-resolver-CS3QRY4Q.js";
|
|
18
|
+
import { t as getGuide } from "./guides-_G8Vucsk.js";
|
|
19
|
+
import { n as popupStoreSelectors, t as createInitialPopupStoreState } from "./store-Dg9T7oWs.js";
|
|
20
|
+
import { S as useClick, _ as resolveSelectedIndex, a as hasNullItemLabel, b as useListNavigation, d as compareItemEquality, f as defaultItemEquality, g as removeItem, h as isSelectedValueDirty, i as flattenLeafItems, l as stringifyAsLabel, m as findSelectionIndex, n as useOpenInteractionType, o as isGroupedItems, p as findItemIndex, r as useOpenMethodTriggerProps, t as useAnchoredPopupScrollLock, u as stringifyAsValue, v as selectedValueIncludes, x as useFloatingRootContext, y as useOnFirstRender } from "./useAnchoredPopupScrollLock-ciS_sEq3.js";
|
|
21
21
|
// ../../node_modules/.bun/@tanstack+router-core@1.171.39/node_modules/@tanstack/router-core/dist/esm/ssr/bodyScripts.js
|
|
22
22
|
function getSsrBodyScriptParts(matches, manifest, nonce, routeScriptAttrs) {
|
|
23
23
|
const assetMatches = _getAssetMatches(matches);
|
|
@@ -2243,7 +2243,7 @@ var VIEW_DESCRIPTIONS = {
|
|
|
2243
2243
|
}
|
|
2244
2244
|
};
|
|
2245
2245
|
// src/styles/app.css?url
|
|
2246
|
-
var app_default = "/assets/app-
|
|
2246
|
+
var app_default = "/assets/app-ggXJ_QVh.css";
|
|
2247
2247
|
// src/terminal/keys.ts
|
|
2248
2248
|
/** Browser storage keys and sizes of the agent terminal, shared by the page and its scripts. */
|
|
2249
2249
|
var TERMINAL_TAB_KEY = "mate-studio-terminal-tab";
|
|
@@ -2252,6 +2252,10 @@ var TERMINAL_WIDTH_KEY = "mate-studio-terminal-width";
|
|
|
2252
2252
|
var TERMINAL_COLLAPSED_KEY = "mate-studio-terminal-collapsed";
|
|
2253
2253
|
var TERMINAL_MAX_WIDTH_RATIO = .7;
|
|
2254
2254
|
// src/stores/terminal-ui.ts
|
|
2255
|
+
/** The workspace view holding the sidebar collapsed, if any. */
|
|
2256
|
+
function heldBy(workspace, released) {
|
|
2257
|
+
return workspace && !released.includes(workspace) ? workspace : null;
|
|
2258
|
+
}
|
|
2255
2259
|
function clampWidth(px) {
|
|
2256
2260
|
return Math.round(Math.max(360, Math.min(px, window.innerWidth * TERMINAL_MAX_WIDTH_RATIO)));
|
|
2257
2261
|
}
|
|
@@ -2269,6 +2273,8 @@ var useTerminalUi = create((set, get) => ({
|
|
|
2269
2273
|
drawerOpen: false,
|
|
2270
2274
|
viewing: null,
|
|
2271
2275
|
controller: null,
|
|
2276
|
+
workspace: null,
|
|
2277
|
+
released: [],
|
|
2272
2278
|
setCollapsed: (collapsed) => {
|
|
2273
2279
|
document.documentElement.toggleAttribute("data-terminal-collapsed", collapsed);
|
|
2274
2280
|
save$1(TERMINAL_COLLAPSED_KEY, String(collapsed));
|
|
@@ -2286,7 +2292,14 @@ var useTerminalUi = create((set, get) => ({
|
|
|
2286
2292
|
set({ viewing });
|
|
2287
2293
|
},
|
|
2288
2294
|
register: (controller) => set({ controller }),
|
|
2295
|
+
setWorkspace: (workspace) => set({ workspace }),
|
|
2296
|
+
release: (view) => {
|
|
2297
|
+
if (get().collapsed) get().setCollapsed(false);
|
|
2298
|
+
if (!get().released.includes(view)) set({ released: [...get().released, view] });
|
|
2299
|
+
},
|
|
2289
2300
|
reveal: () => {
|
|
2301
|
+
const held = heldBy(get().workspace, get().released);
|
|
2302
|
+
if (held) get().release(held);
|
|
2290
2303
|
if (get().collapsed) get().setCollapsed(false);
|
|
2291
2304
|
if (window.matchMedia?.("(max-width: 1200px)").matches) set({ drawerOpen: true });
|
|
2292
2305
|
}
|
|
@@ -11246,12 +11259,13 @@ function useTerminalClient(mount, companion) {
|
|
|
11246
11259
|
* A direct grid child of `.shell`: sticky positioning breaks under an ancestor that sets
|
|
11247
11260
|
* `overflow`. Lives in the root layout, so its session survives navigation between views.
|
|
11248
11261
|
*/
|
|
11249
|
-
function TerminalSidebar({ terminal }) {
|
|
11262
|
+
function TerminalSidebar({ terminal, heldBy }) {
|
|
11250
11263
|
const target = terminal.target;
|
|
11251
11264
|
const mount = (0, import_react.useRef)(null);
|
|
11252
11265
|
const { client, state, status, reconnectable, choice, setChoice } = useTerminalClient(mount, target?.digest ?? "");
|
|
11253
11266
|
const { sessions, end } = useTerminalSessions();
|
|
11254
11267
|
const ui = useTerminalUi();
|
|
11268
|
+
const collapsed = ui.collapsed || Boolean(heldBy);
|
|
11255
11269
|
(0, import_react.useEffect)(() => {
|
|
11256
11270
|
if (!ui.drawerOpen) return;
|
|
11257
11271
|
const close = (event) => {
|
|
@@ -11276,9 +11290,9 @@ function TerminalSidebar({ terminal }) {
|
|
|
11276
11290
|
className: ICON_BUTTON,
|
|
11277
11291
|
id: "terminal-expand",
|
|
11278
11292
|
"aria-controls": "terminal-body",
|
|
11279
|
-
"aria-expanded": !
|
|
11293
|
+
"aria-expanded": !collapsed,
|
|
11280
11294
|
"aria-label": "Expand the terminal",
|
|
11281
|
-
onClick: () => ui.setCollapsed(false),
|
|
11295
|
+
onClick: () => heldBy ? ui.release(heldBy) : ui.setCollapsed(false),
|
|
11282
11296
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { name: "left" })
|
|
11283
11297
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
11284
11298
|
className: "terminal-dot",
|
|
@@ -11308,7 +11322,7 @@ function TerminalSidebar({ terminal }) {
|
|
|
11308
11322
|
className: ICON_BUTTON,
|
|
11309
11323
|
id: "terminal-collapse",
|
|
11310
11324
|
"aria-controls": "terminal-body",
|
|
11311
|
-
"aria-expanded": !
|
|
11325
|
+
"aria-expanded": !collapsed,
|
|
11312
11326
|
"aria-label": "Collapse the terminal",
|
|
11313
11327
|
onClick: () => ui.setCollapsed(true),
|
|
11314
11328
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { name: "right" })
|
|
@@ -11500,11 +11514,18 @@ function StudioLayout({ search }) {
|
|
|
11500
11514
|
const view = useMatches({ select: (matches) => matches.findLast((match) => match.staticData.view)?.staticData.view }) ?? "dashboard";
|
|
11501
11515
|
const pluginParams = useMatches({ select: (matches) => matches.findLast((match) => match.staticData.pluginView)?.params });
|
|
11502
11516
|
const pluginView = pluginParams ? shell.pluginViews.find((entry) => entry.service === pluginParams.service && entry.view === pluginParams.view) : void 0;
|
|
11517
|
+
const workspace = pluginView?.layout === "workspace";
|
|
11518
|
+
const workspaceKey = pluginView ? `${pluginView.service}/${pluginView.view}` : null;
|
|
11519
|
+
const released = useTerminalUi((state) => state.released);
|
|
11520
|
+
const held = heldBy(workspace ? workspaceKey : null, released);
|
|
11503
11521
|
const digest = shell.selected?.digest;
|
|
11504
11522
|
useStudioEvents(digest);
|
|
11505
11523
|
useStudioClicks();
|
|
11506
11524
|
useRailKey();
|
|
11507
11525
|
usePrefetchViews(shell.selected ? search : {}, shell.studioMode, shell.enabledModes);
|
|
11526
|
+
(0, import_react.useEffect)(() => {
|
|
11527
|
+
useTerminalUi.getState().setWorkspace(workspace ? workspaceKey : null);
|
|
11528
|
+
}, [workspace, workspaceKey]);
|
|
11508
11529
|
(0, import_react.useEffect)(() => {
|
|
11509
11530
|
if (!digest) return;
|
|
11510
11531
|
try {
|
|
@@ -11517,6 +11538,7 @@ function StudioLayout({ search }) {
|
|
|
11517
11538
|
"data-companion": digest,
|
|
11518
11539
|
"data-terminal": shell.terminal ? "" : void 0,
|
|
11519
11540
|
"data-picker": shell.selected ? void 0 : "",
|
|
11541
|
+
"data-terminal-held": held ? "" : void 0,
|
|
11520
11542
|
children: [
|
|
11521
11543
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(NavigationProgress, {}),
|
|
11522
11544
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TopBar, {
|
|
@@ -11531,7 +11553,7 @@ function StudioLayout({ search }) {
|
|
|
11531
11553
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("main", {
|
|
11532
11554
|
className: "studio-main flex min-h-0 min-w-0 flex-col overflow-auto",
|
|
11533
11555
|
id: "studio-main",
|
|
11534
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConnectionBanner, {}), shell.selected ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageHeader, {
|
|
11556
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConnectionBanner, {}), shell.selected && workspace ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Outlet, {}) : shell.selected ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageHeader, {
|
|
11535
11557
|
title: pluginView ? pluginView.label : VIEW_TITLES[view],
|
|
11536
11558
|
description: pluginView ? pluginView.description ?? "" : VIEW_DESCRIPTIONS[shell.studioMode][view]
|
|
11537
11559
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -11543,7 +11565,10 @@ function StudioLayout({ search }) {
|
|
|
11543
11565
|
addsCompanions: shell.addsCompanions
|
|
11544
11566
|
})]
|
|
11545
11567
|
}),
|
|
11546
|
-
shell.terminal ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TerminalSidebar, {
|
|
11568
|
+
shell.terminal ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TerminalSidebar, {
|
|
11569
|
+
terminal: shell.terminal,
|
|
11570
|
+
heldBy: held
|
|
11571
|
+
}) : null
|
|
11547
11572
|
]
|
|
11548
11573
|
}),
|
|
11549
11574
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CommandPalette, {
|
|
@@ -11637,7 +11662,7 @@ function RootDocument({ children }) {
|
|
|
11637
11662
|
});
|
|
11638
11663
|
}
|
|
11639
11664
|
// src/routes/index.tsx
|
|
11640
|
-
var $$splitComponentImporter$12 = () => import("./routes-
|
|
11665
|
+
var $$splitComponentImporter$12 = () => import("./routes-B4sNiE0X.js");
|
|
11641
11666
|
var Route$12 = createFileRoute("/")({
|
|
11642
11667
|
staticData: { view: "dashboard" },
|
|
11643
11668
|
validateSearch: (raw) => typeof raw.change === "string" && raw.change !== "" ? { change: raw.change } : {},
|
|
@@ -11651,7 +11676,7 @@ var Route$12 = createFileRoute("/")({
|
|
|
11651
11676
|
});
|
|
11652
11677
|
/** Each mode reads its own Overview; the server's effective mode picks it, not the address. */
|
|
11653
11678
|
// src/routes/friction.tsx
|
|
11654
|
-
var $$splitComponentImporter$11 = () => import("./friction-
|
|
11679
|
+
var $$splitComponentImporter$11 = () => import("./friction-B6osqFSm.js");
|
|
11655
11680
|
var Route$11 = createFileRoute("/friction")({
|
|
11656
11681
|
staticData: { view: "friction" },
|
|
11657
11682
|
loaderDeps: ({ search }) => ({
|
|
@@ -11669,7 +11694,7 @@ var Route$10 = createFileRoute("/getting-started")({
|
|
|
11669
11694
|
component: lazyRouteComponent($$splitComponentImporter$10, "component")
|
|
11670
11695
|
});
|
|
11671
11696
|
// src/routes/graph.tsx
|
|
11672
|
-
var $$splitComponentImporter$9 = () => import("./graph-
|
|
11697
|
+
var $$splitComponentImporter$9 = () => import("./graph-BJVZBevL.js").then((n) => n.t);
|
|
11673
11698
|
var text$1 = (value) => typeof value === "string" && value.length > 0 && value.length <= 1024 ? value : void 0;
|
|
11674
11699
|
var Route$9 = createFileRoute("/graph")({
|
|
11675
11700
|
validateSearch: (raw) => text$1(raw.node) ? { node: text$1(raw.node) } : {},
|
|
@@ -11678,7 +11703,7 @@ var Route$9 = createFileRoute("/graph")({
|
|
|
11678
11703
|
component: lazyRouteComponent($$splitComponentImporter$9, "component")
|
|
11679
11704
|
});
|
|
11680
11705
|
// src/routes/reports.tsx
|
|
11681
|
-
var $$splitComponentImporter$8 = () => import("./reports-
|
|
11706
|
+
var $$splitComponentImporter$8 = () => import("./reports-Dn92pLap.js");
|
|
11682
11707
|
var Route$8 = createFileRoute("/reports")({
|
|
11683
11708
|
staticData: { view: "reports" },
|
|
11684
11709
|
loaderDeps: ({ search }) => ({
|
|
@@ -11692,7 +11717,7 @@ var Route$8 = createFileRoute("/reports")({
|
|
|
11692
11717
|
component: lazyRouteComponent($$splitComponentImporter$8, "component")
|
|
11693
11718
|
});
|
|
11694
11719
|
// src/routes/skills.tsx
|
|
11695
|
-
var $$splitComponentImporter$7 = () => import("./skills-
|
|
11720
|
+
var $$splitComponentImporter$7 = () => import("./skills-B4-0qpqN.js");
|
|
11696
11721
|
var Route$7 = createFileRoute("/skills")({
|
|
11697
11722
|
staticData: { view: "skills" },
|
|
11698
11723
|
loaderDeps: ({ search }) => ({
|
|
@@ -11704,7 +11729,7 @@ var Route$7 = createFileRoute("/skills")({
|
|
|
11704
11729
|
component: lazyRouteComponent($$splitComponentImporter$7, "component")
|
|
11705
11730
|
});
|
|
11706
11731
|
// src/routes/specs.tsx
|
|
11707
|
-
var $$splitComponentImporter$6 = () => import("./specs-
|
|
11732
|
+
var $$splitComponentImporter$6 = () => import("./specs-rfMug6qW.js");
|
|
11708
11733
|
var Route$6 = createFileRoute("/specs")({
|
|
11709
11734
|
staticData: { view: "specs" },
|
|
11710
11735
|
validateSearch: validateSpecsSearch,
|
|
@@ -11717,7 +11742,7 @@ var Route$6 = createFileRoute("/specs")({
|
|
|
11717
11742
|
component: lazyRouteComponent($$splitComponentImporter$6, "component")
|
|
11718
11743
|
});
|
|
11719
11744
|
// src/routes/usage.tsx
|
|
11720
|
-
var $$splitComponentImporter$5 = () => import("./usage-
|
|
11745
|
+
var $$splitComponentImporter$5 = () => import("./usage-BJgYWRCX.js");
|
|
11721
11746
|
var Route$5 = createFileRoute("/usage")({
|
|
11722
11747
|
staticData: { view: "usage" },
|
|
11723
11748
|
loaderDeps: ({ search }) => ({
|
|
@@ -11728,7 +11753,7 @@ var Route$5 = createFileRoute("/usage")({
|
|
|
11728
11753
|
component: lazyRouteComponent($$splitComponentImporter$5, "component")
|
|
11729
11754
|
});
|
|
11730
11755
|
// src/routes/vault.tsx
|
|
11731
|
-
var $$splitComponentImporter$4 = () => import("./vault-
|
|
11756
|
+
var $$splitComponentImporter$4 = () => import("./vault-CvlrLd2H.js");
|
|
11732
11757
|
var text = (value) => typeof value === "string" && value ? value : void 0;
|
|
11733
11758
|
var Route$4 = createFileRoute("/vault")({
|
|
11734
11759
|
staticData: { view: "vault" },
|
|
@@ -11750,7 +11775,7 @@ var Route$4 = createFileRoute("/vault")({
|
|
|
11750
11775
|
component: lazyRouteComponent($$splitComponentImporter$4, "component")
|
|
11751
11776
|
});
|
|
11752
11777
|
// src/routes/workflow.tsx
|
|
11753
|
-
var $$splitComponentImporter$3 = () => import("./workflow-
|
|
11778
|
+
var $$splitComponentImporter$3 = () => import("./workflow-BdrzcCt8.js");
|
|
11754
11779
|
var Route$3 = createFileRoute("/workflow")({
|
|
11755
11780
|
staticData: { view: "workflow" },
|
|
11756
11781
|
loaderDeps: ({ search }) => ({
|
|
@@ -11762,7 +11787,7 @@ var Route$3 = createFileRoute("/workflow")({
|
|
|
11762
11787
|
component: lazyRouteComponent($$splitComponentImporter$3, "component")
|
|
11763
11788
|
});
|
|
11764
11789
|
// src/routes/getting-started.index.tsx
|
|
11765
|
-
var $$splitComponentImporter$2 = () => import("./getting-started.index-
|
|
11790
|
+
var $$splitComponentImporter$2 = () => import("./getting-started.index-DZLuXnNO.js");
|
|
11766
11791
|
var Route$2 = createFileRoute("/getting-started/")({
|
|
11767
11792
|
loaderDeps: ({ search }) => search,
|
|
11768
11793
|
ssr: true,
|
|
@@ -11770,7 +11795,7 @@ var Route$2 = createFileRoute("/getting-started/")({
|
|
|
11770
11795
|
component: lazyRouteComponent($$splitComponentImporter$2, "component")
|
|
11771
11796
|
});
|
|
11772
11797
|
// src/routes/getting-started.$topic.tsx
|
|
11773
|
-
var $$splitComponentImporter$1 = () => import("./getting-started._topic-
|
|
11798
|
+
var $$splitComponentImporter$1 = () => import("./getting-started._topic-BK2eU6AS.js");
|
|
11774
11799
|
var Route$1 = createFileRoute("/getting-started/$topic")({
|
|
11775
11800
|
loaderDeps: ({ search }) => search,
|
|
11776
11801
|
ssr: true,
|
|
@@ -11778,7 +11803,7 @@ var Route$1 = createFileRoute("/getting-started/$topic")({
|
|
|
11778
11803
|
component: lazyRouteComponent($$splitComponentImporter$1, "component")
|
|
11779
11804
|
});
|
|
11780
11805
|
// src/routes/plugins.$service.$view.tsx
|
|
11781
|
-
var $$splitComponentImporter = () => import("./plugins._service._view-
|
|
11806
|
+
var $$splitComponentImporter = () => import("./plugins._service._view-B32LzraG.js");
|
|
11782
11807
|
/** A view a plugin service ships as its own module; Studio mounts it in the layout. */
|
|
11783
11808
|
var Route = createFileRoute("/plugins/$service/$view")({
|
|
11784
11809
|
staticData: { pluginView: true },
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { t as CompanionView } from "./companion-view-
|
|
2
|
-
import { at as useNavigate, f as vaultChildrenQuery, it as Link, m as vaultQuery } from "./studio-queries-
|
|
1
|
+
import { t as CompanionView } from "./companion-view-JkxnGLlp.js";
|
|
2
|
+
import { at as useNavigate, f as vaultChildrenQuery, it as Link, m as vaultQuery } from "./studio-queries-CeFfmIuM.js";
|
|
3
3
|
import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
|
|
4
|
-
import { $ as Age, Lr as
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
4
|
+
import { $ as Age, Lr as useQuery, ct as ROW, et as CommandLine, it as PAGE_PAD, lt as StatusWord, nt as EmptyNote, ot as Pills, r as Icon, rt as ListCard, st as Progress, t as Button, tt as Count } from "./button-Ct_WeYLc.js";
|
|
5
|
+
import { t as cn } from "./cn-DWFJaP_9.js";
|
|
6
|
+
import { n as PanelSection, r as SidePanel, t as PanelHead } from "./panel-DvRjyil3.js";
|
|
7
|
+
import { t as Warnings } from "./warnings-BpVCugHm.js";
|
|
8
|
+
import { t as MarkdownView } from "./markdown-view-Bmjghg_Z.js";
|
|
9
|
+
import { A as changeStep, D as changeGroup, E as activeChanges, O as changePath, T as GROUP_TITLES, j as groupChanges, k as changeProgress, p as Route, w as CHANGE_GROUPS } from "./router-Bjf4S9tO.js";
|
|
9
10
|
// src/views/overview/changed-specs.ts
|
|
10
11
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
11
12
|
/** Each capability once, at the newest shipped change that touched it. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as COMPANION_PARAM, M as requestedMode, N as viewsFor, S as COMPANION_DIGEST_PATTERN, T as LEGACY_ROLE_PARAM, _ as REPORT_KINDS, k as STUDIO_MODE_PARAM, v as STATE_FILTERS, y as SUBJECT_TYPES } from "./studio-
|
|
1
|
+
import { C as COMPANION_PARAM, M as requestedMode, N as viewsFor, S as COMPANION_DIGEST_PATTERN, T as LEGACY_ROLE_PARAM, _ as REPORT_KINDS, k as STUDIO_MODE_PARAM, v as STATE_FILTERS, y as SUBJECT_TYPES } from "./studio-D79JzDLc.js";
|
|
2
2
|
// ../mate-core/src/lib/friction/view/model.ts
|
|
3
3
|
var FRICTION_VIEW_DAYS = [
|
|
4
4
|
7,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { t as cn } from "./cn-DWFJaP_9.js";
|
|
3
|
+
import { $n as windowResize, Ar as NOOP, Bn as imperativeAction, Dn as jsdom, Dr as mergeProps, Dt as isElementVisible, Er as useRenderElement, Fn as cancelOpen, G as useValueAsRef, H as visuallyHiddenInput, Ir as useControlled, L as DROPDOWN_COLLISION_AVOIDANCE, M as FloatingPortal, Mr as useMergedRefs, Nn as isElementDisabled, Nr as useRefWithInit, Or as EMPTY_ARRAY, Pn as CompositeList, Qt as stopEvent, S as useOpenChangeComplete, T as useDismiss, Tn as contains, V as visuallyHidden, W as useAnimationFrame, Wn as itemPress, Xt as isVirtualClick, Y as useTimeout, a as ReactStore, ar as formatErrorMessage, cn as popupStateMapping, dn as triggerOpenStateMapping, er as createChangeEventDetails, f as attachPreventUnmountOnClose, gr as getWindow, ht as COMPOSITE_KEYS, ir as ownerDocument, kn as webkit, kr as EMPTY_OBJECT, kt as isListIndexDisabled, l as FOCUSABLE_POPUP_PROPS, mt as useDirection, nr as useCompositeListItem, or as useIsoLayoutEffect, pt as useToolbarRootContext, q as addEventListener, qn as none, qt as rectToClientRect, r as Icon, rr as useButton, sr as useStableCallback, tn as getFloatingFocusElement, un as pressableTriggerOpenStateMapping, vn as transitionStatusMapping, w as useTransitionStatus, x as useUnmountAfterClose } from "./button-Ct_WeYLc.js";
|
|
4
|
+
import { _ as inertValue, a as InternalBackdrop, c as useLabelableId, d as useRegisterFieldControl, g as fieldValidityMapping, l as useLabelableContext, m as useFieldRootContext, o as useSetFieldFocused, s as useValueChanged, u as useFormContext, v as FloatingFocusManager } from "./fields-VytPpqBq.js";
|
|
5
|
+
import { S as useClick, _ as resolveSelectedIndex, a as hasNullItemLabel, b as useListNavigation, c as resolveSelectedLabel, d as compareItemEquality, f as defaultItemEquality, g as removeItem, h as isSelectedValueDirty, l as stringifyAsLabel, m as findSelectionIndex, n as useOpenInteractionType, p as findItemIndex, s as resolveMultipleLabels, t as useAnchoredPopupScrollLock, u as stringifyAsValue, x as useFloatingRootContext, y as useOnFirstRender } from "./useAnchoredPopupScrollLock-ciS_sEq3.js";
|
|
6
|
+
import { ct as useAnchorPositioning, lt as platform, ot as usePositioner, st as getDisabledMountTransitionStyles } from "./router-Bjf4S9tO.js";
|
|
6
7
|
// ../../node_modules/.bun/@base-ui+react@1.9.0+9e489665888c9e4a/node_modules/@base-ui/react/floating-ui-react/hooks/useTypeahead.mjs
|
|
7
8
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
8
9
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createServerRpc } from "./createServerRpc-bFKFpGFG.js";
|
|
2
2
|
import { n as healthNote } from "./model-PyPALjii.js";
|
|
3
3
|
import { n as createServerFn } from "../server.js";
|
|
4
|
-
import { C as COMPANION_PARAM, j as companionDigest, k as STUDIO_MODE_PARAM } from "./studio-
|
|
5
|
-
import { i as validateStudioSearch } from "./search-
|
|
4
|
+
import { C as COMPANION_PARAM, j as companionDigest, k as STUDIO_MODE_PARAM } from "./studio-D79JzDLc.js";
|
|
5
|
+
import { i as validateStudioSearch } from "./search-DKeJRvg8.js";
|
|
6
6
|
// src/server/shell.ts?tss-serverfn-split
|
|
7
7
|
/** `refresh` collects the companion again; every other call reads the held snapshot. */
|
|
8
8
|
var getShell_createServerFn_handler = createServerRpc({
|
|
@@ -49,7 +49,8 @@ var getShell = createServerFn({ method: "GET" }).validator((input) => ({
|
|
|
49
49
|
label: view.label,
|
|
50
50
|
...view.description ? { description: view.description } : {},
|
|
51
51
|
moduleUrl: view.moduleUrl,
|
|
52
|
-
...view.attentionUrl ? { attentionUrl: view.attentionUrl } : {}
|
|
52
|
+
...view.attentionUrl ? { attentionUrl: view.attentionUrl } : {},
|
|
53
|
+
...view.layout ? { layout: view.layout } : {}
|
|
53
54
|
}] : [])),
|
|
54
55
|
terminal: page.terminal ? {
|
|
55
56
|
pinned: page.terminal.pinned,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { t as CompanionView } from "./companion-view-
|
|
1
|
+
import { t as CompanionView } from "./companion-view-JkxnGLlp.js";
|
|
2
2
|
import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
|
|
3
|
-
import { Lr as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { Lr as useQuery, ct as ROW, et as CommandLine, it as PAGE_PAD, nt as EmptyNote, ot as Pills, r as Icon, rt as ListCard } from "./button-Ct_WeYLc.js";
|
|
4
|
+
import { t as cn } from "./cn-DWFJaP_9.js";
|
|
5
|
+
import { n as PanelSection, r as SidePanel, t as PanelHead } from "./panel-DvRjyil3.js";
|
|
6
|
+
import { i as workflowPlan } from "./steps-rger6HJc.js";
|
|
7
|
+
import { B as keepPreviousData, d as skillPreviewQuery } from "./studio-queries-CeFfmIuM.js";
|
|
8
|
+
import { t as MarkdownView } from "./markdown-view-Bmjghg_Z.js";
|
|
9
|
+
import { l as Route } from "./router-Bjf4S9tO.js";
|
|
9
10
|
// src/views/skills/skill-files.tsx
|
|
10
11
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
11
12
|
var import_jsx_runtime = require_jsx_runtime();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createServerRpc } from "./createServerRpc-bFKFpGFG.js";
|
|
2
2
|
import { n as createServerFn } from "../server.js";
|
|
3
|
-
import { S as COMPANION_DIGEST_PATTERN } from "./studio-
|
|
3
|
+
import { S as COMPANION_DIGEST_PATTERN } from "./studio-D79JzDLc.js";
|
|
4
4
|
// src/server/skills.ts?tss-serverfn-split
|
|
5
5
|
var AGENTS = /* @__PURE__ */ new Set([
|
|
6
6
|
"claude",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./studio-
|
|
2
|
-
import { t as CompanionView } from "./companion-view-
|
|
3
|
-
import { n as Specs } from "./specs-view-
|
|
1
|
+
import "./studio-D79JzDLc.js";
|
|
2
|
+
import { t as CompanionView } from "./companion-view-JkxnGLlp.js";
|
|
3
|
+
import { n as Specs } from "./specs-view-qi1SE1Sl.js";
|
|
4
4
|
import { n as findAction } from "./actions-D8erOphH.js";
|
|
5
|
-
import { c as Route } from "./router-
|
|
5
|
+
import { c as Route } from "./router-Bjf4S9tO.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
|
|
7
7
|
// src/lib/spec-offers.ts
|
|
8
8
|
/** Spec offers as the view renders them: prompts rebuilt from core's action list. */
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
|
|
2
|
-
import { it as Link, m as vaultQuery } from "./studio-queries-
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
2
|
+
import { it as Link, m as vaultQuery } from "./studio-queries-CeFfmIuM.js";
|
|
3
|
+
import { t as cn } from "./cn-DWFJaP_9.js";
|
|
4
|
+
import { Lr as useQuery, ct as ROW, it as PAGE_PAD, lt as StatusWord, nt as EmptyNote, r as Icon, rt as ListCard } from "./button-Ct_WeYLc.js";
|
|
5
|
+
import "./studio-D79JzDLc.js";
|
|
5
6
|
import { t as SUBJECT_PATTERN } from "./actions-D8erOphH.js";
|
|
6
|
-
import { t as Input } from "./fields-
|
|
7
|
-
import { a as Select, c as SelectTrigger, l as SelectValue, o as SelectContent, s as SelectItem } from "./select-
|
|
8
|
-
import { a as ComboboxItem, i as ComboboxInput, n as ComboboxContent, o as ComboboxList, r as ComboboxEmpty, t as Combobox } from "./combobox
|
|
9
|
-
import { t as MarkdownView } from "./markdown-view-
|
|
10
|
-
import { n as PanelSection, r as SidePanel, t as PanelHead } from "./panel-
|
|
11
|
-
import { t as Warnings } from "./warnings-
|
|
7
|
+
import { t as Input } from "./fields-VytPpqBq.js";
|
|
8
|
+
import { a as Select, c as SelectTrigger, l as SelectValue, o as SelectContent, s as SelectItem } from "./select-CVHYL7oR.js";
|
|
9
|
+
import { a as ComboboxItem, i as ComboboxInput, n as ComboboxContent, o as ComboboxList, r as ComboboxEmpty, t as Combobox } from "./combobox-17vO5Uz8.js";
|
|
10
|
+
import { t as MarkdownView } from "./markdown-view-Bmjghg_Z.js";
|
|
11
|
+
import { n as PanelSection, r as SidePanel, t as PanelHead } from "./panel-DvRjyil3.js";
|
|
12
|
+
import { t as Warnings } from "./warnings-BpVCugHm.js";
|
|
12
13
|
// ../mate-core/src/cli/commands/studio/graph-model.ts
|
|
13
14
|
/** Edge kinds by wire code: an edge's kind is its index here. */
|
|
14
15
|
var GRAPH_EDGE_KINDS = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as canonicalSchema, d as BUILTIN_ARTIFACT_TYPE, f as WORKFLOW_FILE, l as deliveryPath, o as SCHEMA_ARTIFACTS, p as defaultWorkflow, s as SHIPPED_SCHEMAS, u as isMateSchema, w as IDEA_PLACEHOLDER, x as CHANGE_PLACEHOLDER } from "./studio-
|
|
1
|
+
import { c as canonicalSchema, d as BUILTIN_ARTIFACT_TYPE, f as WORKFLOW_FILE, l as deliveryPath, o as SCHEMA_ARTIFACTS, p as defaultWorkflow, s as SHIPPED_SCHEMAS, u as isMateSchema, w as IDEA_PLACEHOLDER, x as CHANGE_PLACEHOLDER } from "./studio-D79JzDLc.js";
|
|
2
2
|
// src/views/workflow/steps.ts
|
|
3
3
|
var DEFAULT_WORKFLOW = defaultWorkflow();
|
|
4
4
|
/** The graph node of a review stage: `reviews` for the default one. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as FloatingRootStore, kr as EMPTY_OBJECT } from "./button-
|
|
1
|
+
import { i as FloatingRootStore, kr as EMPTY_OBJECT } from "./button-Ct_WeYLc.js";
|
|
2
2
|
// ../../node_modules/.bun/@base-ui+react@1.9.0+9e489665888c9e4a/node_modules/@base-ui/react/utils/popups/store.mjs
|
|
3
3
|
/**
|
|
4
4
|
* State common to all popup stores.
|