@uniqbit/mate-core 1.0.0-canary.7 → 1.0.0-canary.8

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.
Files changed (181) hide show
  1. package/claude-capability-plugins/companion-mentions/.claude-plugin/plugin.json +1 -1
  2. package/package.json +6 -3
  3. package/src/cli/commands/artifact/delivery/submit.ts +6 -4
  4. package/src/cli/commands/artifact/finish/command.ts +28 -11
  5. package/src/cli/commands/artifact/pending/command.ts +71 -7
  6. package/src/cli/commands/cap/tokensave.ts +2 -2
  7. package/src/cli/commands/companion/update.ts +2 -3
  8. package/src/cli/commands/doctor.ts +16 -4
  9. package/src/cli/commands/install.ts +8 -4
  10. package/src/cli/commands/plugin/install.ts +82 -35
  11. package/src/cli/commands/studio/service-host.ts +3 -0
  12. package/src/cli/commands/triage.ts +32 -11
  13. package/src/cli/commands/vscode/release-vsix.json +2 -2
  14. package/src/cli/install-plan.tsx +3 -0
  15. package/src/cli/main.ts +51 -7
  16. package/src/cli/usage.ts +3 -3
  17. package/src/factory-host.ts +6 -0
  18. package/src/index.ts +1 -0
  19. package/src/lib/delivery/merge-git.ts +31 -7
  20. package/src/lib/delivery/overlap.ts +14 -1
  21. package/src/lib/delivery/repository-access.ts +11 -6
  22. package/src/lib/delivery/staging/apply-chain.ts +25 -7
  23. package/src/lib/delivery/staging/linked-merges.ts +175 -0
  24. package/src/lib/delivery/staging/naming.ts +3 -0
  25. package/src/lib/delivery/staging/openspec-type.ts +38 -7
  26. package/src/lib/delivery/staging/pending.ts +153 -11
  27. package/src/lib/delivery/staging/preflight.ts +239 -0
  28. package/src/lib/delivery/staging/project.ts +243 -104
  29. package/src/lib/delivery/staging/replay.ts +5 -3
  30. package/src/lib/delivery/staging/settle-linked.ts +5 -119
  31. package/src/lib/delivery/staging/submit.ts +139 -18
  32. package/src/lib/delivery/submit-change.ts +163 -37
  33. package/src/lib/friction/mark.ts +49 -11
  34. package/src/lib/friction/view/read.ts +10 -1
  35. package/src/lib/openspec-cli.ts +10 -5
  36. package/src/lib/skills-cli.ts +38 -0
  37. package/src/lib/tool-manifest.ts +73 -0
  38. package/src/lib/triage/context.ts +138 -12
  39. package/src/lib/triage/prepare.ts +19 -4
  40. package/src/plugin-api.ts +1 -0
  41. package/src/runtime/command-arg.ts +15 -0
  42. package/src/runtime/companion-guidance.ts +1 -1
  43. package/src/runtime/friction-log.ts +41 -17
  44. package/src/runtime/friction-recorder.ts +15 -2
  45. package/src/runtime/git-tracked.ts +13 -2
  46. package/src/studio.ts +6 -1
  47. package/src/templates/capabilities/openspec-cap/mate-minimal/schema.yaml +5 -1
  48. package/src/templates/capabilities/react-doctor/mate-react-doctor/SKILL.md +28 -0
  49. package/src/templates/mate-skills/agents/mate-apply-change/SKILL.md +42 -4
  50. package/src/templates/mate-skills/agents/mate-archive-change/SKILL.md +27 -2
  51. package/src/templates/mate-skills/agents/mate-backfill-spec/SKILL.md +23 -1
  52. package/src/templates/mate-skills/agents/mate-clarify-intent/SKILL.md +26 -1
  53. package/src/templates/mate-skills/agents/mate-domain-modeling/SKILL.md +28 -0
  54. package/src/templates/mate-skills/agents/mate-explore-change/SKILL.md +28 -3
  55. package/src/templates/mate-skills/agents/mate-grill-me/SKILL.md +28 -0
  56. package/src/templates/mate-skills/agents/mate-grill-with-docs/SKILL.md +28 -0
  57. package/src/templates/mate-skills/agents/mate-grilling/SKILL.md +25 -0
  58. package/src/templates/mate-skills/agents/mate-interview-me/SKILL.md +28 -0
  59. package/src/templates/mate-skills/agents/mate-propose-change/SKILL.md +28 -3
  60. package/src/templates/mate-skills/agents/mate-publish-artifact/SKILL.md +28 -6
  61. package/src/templates/mate-skills/agents/mate-show-me/SKILL.md +27 -2
  62. package/src/templates/mate-skills/agents/mate-simplify-code/SKILL.md +28 -0
  63. package/src/templates/mate-skills/agents/mate-submit-change/SKILL.md +24 -2
  64. package/src/templates/mate-skills/claude/mate-apply-change/SKILL.md +42 -4
  65. package/src/templates/mate-skills/claude/mate-archive-change/SKILL.md +27 -2
  66. package/src/templates/mate-skills/claude/mate-backfill-spec/SKILL.md +23 -1
  67. package/src/templates/mate-skills/claude/mate-clarify-intent/SKILL.md +26 -1
  68. package/src/templates/mate-skills/claude/mate-domain-modeling/SKILL.md +28 -0
  69. package/src/templates/mate-skills/claude/mate-explore-change/SKILL.md +28 -3
  70. package/src/templates/mate-skills/claude/mate-grill-me/SKILL.md +28 -0
  71. package/src/templates/mate-skills/claude/mate-grill-with-docs/SKILL.md +28 -0
  72. package/src/templates/mate-skills/claude/mate-grilling/SKILL.md +25 -0
  73. package/src/templates/mate-skills/claude/mate-interview-me/SKILL.md +28 -0
  74. package/src/templates/mate-skills/claude/mate-propose-change/SKILL.md +28 -3
  75. package/src/templates/mate-skills/claude/mate-publish-artifact/SKILL.md +28 -6
  76. package/src/templates/mate-skills/claude/mate-show-me/SKILL.md +27 -2
  77. package/src/templates/mate-skills/claude/mate-simplify-code/SKILL.md +28 -0
  78. package/src/templates/mate-skills/claude/mate-submit-change/SKILL.md +24 -2
  79. package/src/templates/triage/PLAYBOOK.md +9 -1
  80. package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +108 -108
  81. package/src/tools/setup/capabilities/graphify.ts +23 -1
  82. package/src/tools/setup/capabilities/rtk.ts +27 -86
  83. package/src/tools/setup/capabilities/tokensave.ts +76 -54
  84. package/src/tools/setup/dynamic-plugins/audiences.ts +28 -14
  85. package/src/tools/setup/dynamic-plugins/hydrate.ts +32 -14
  86. package/src/tools/setup/dynamic-plugins/install.ts +2 -0
  87. package/src/tools/setup/dynamic-plugins/installed.ts +73 -0
  88. package/src/tools/setup/dynamic-plugins/loader.ts +12 -10
  89. package/src/tools/setup/dynamic-plugins/local.ts +492 -0
  90. package/src/tools/setup/dynamic-plugins/paths.ts +34 -6
  91. package/src/tools/setup/dynamic-plugins/verify.ts +34 -14
  92. package/src/tools/setup/dynamic-plugins/workspaces.ts +17 -8
  93. package/src/tools/setup/mate.ts +26 -1
  94. package/src/tools/setup/plugins/gitignore.ts +45 -12
  95. package/src/tools/setup/service.ts +8 -0
  96. package/src/tools/setup/utils.ts +10 -1
  97. package/studio-dist/client/assets/app-ggXJ_QVh.css +2 -0
  98. package/studio-dist/client/assets/button-amJ3g5oD.js +1 -0
  99. package/studio-dist/client/assets/cn-BQPKiwI4.js +1 -0
  100. package/studio-dist/client/assets/combobox-CJ7aGFid.js +1 -0
  101. package/studio-dist/client/assets/{companion-view-DINdPF-b.js → companion-view-C_N237bf.js} +1 -1
  102. package/studio-dist/client/assets/fields-BAiGkJ5N.js +1 -0
  103. package/studio-dist/client/assets/friction-DqOU59v7.js +1 -0
  104. package/studio-dist/client/assets/getting-started-yp42dj5S.js +1 -0
  105. package/studio-dist/client/assets/{getting-started._topic-DVB8e5R9.js → getting-started._topic-C9zVXz_m.js} +1 -1
  106. package/studio-dist/client/assets/{getting-started.index-DQvLHEr1.js → getting-started.index-DWbDKICP.js} +1 -1
  107. package/studio-dist/client/assets/graph-BYaD_5Bq.js +2 -0
  108. package/studio-dist/client/assets/{graph-canvas-DIcAqwtK.js → graph-canvas-ySGKMhmk.js} +1 -1
  109. package/studio-dist/client/assets/index-Qx7reRPD.js +40 -0
  110. package/studio-dist/client/assets/panel-C4bf_h2W.js +1 -0
  111. package/studio-dist/client/assets/plugins._service._view-y6f2FDAB.js +1 -0
  112. package/studio-dist/client/assets/reports-JFSwSueq.js +1 -0
  113. package/studio-dist/client/assets/routes-BdOWSgzK.js +1 -0
  114. package/studio-dist/client/assets/select-BHYYWPhK.js +1 -0
  115. package/studio-dist/client/assets/skills-Bo9FLsBd.js +1 -0
  116. package/studio-dist/client/assets/{specs-Dl8HfGlU.js → specs-BrCOjOch.js} +1 -1
  117. package/studio-dist/client/assets/specs-view-CdE2rlli.js +1 -0
  118. package/studio-dist/client/assets/{store-DyXbi6o9.js → store-C3vJq8Wj.js} +1 -1
  119. package/studio-dist/client/assets/{usage-Blcl8kA_.js → usage-BLsLy0nN.js} +13 -13
  120. package/studio-dist/client/assets/{useAnchoredPopupScrollLock-BBXJpX5L.js → useAnchoredPopupScrollLock-DC7f8GOp.js} +1 -1
  121. package/studio-dist/client/assets/useMutation-uJUrejsi.js +1 -0
  122. package/studio-dist/client/assets/vault-BB1B_OhR.js +1 -0
  123. package/studio-dist/client/assets/warnings-CqOOGlPD.js +1 -0
  124. package/studio-dist/client/assets/workflow-BFzmI-06.js +1 -0
  125. package/studio-dist/server/assets/{__23tanstack-start-server-fn-resolver-JoHQ5ihx.js → __23tanstack-start-server-fn-resolver-gVfW5vIV.js} +1 -1
  126. package/studio-dist/server/assets/_tanstack-start-manifest_v.js +42 -42
  127. package/studio-dist/server/assets/{button-B7e1fRyW.js → button-D6bvrFmm.js} +3 -3480
  128. package/studio-dist/server/assets/cn-FXJAM0KO.js +5528 -0
  129. package/studio-dist/server/assets/{combobox--S_OmUfh.js → combobox-D2MbYV1O.js} +6 -5
  130. package/studio-dist/server/assets/{companion-view-D-vGM55e.js → companion-view-Mf1ANbMb.js} +2 -2
  131. package/studio-dist/server/assets/{fields-B4qM2ZwC.js → fields-B4mAPETz.js} +2 -1
  132. package/studio-dist/server/assets/{friction-sLxaWY-H.js → friction-9a5S1m7U.js} +54 -14
  133. package/studio-dist/server/assets/{getting-started-Cq5Pcnsr.js → getting-started-RU6tYU2Q.js} +2 -2
  134. package/studio-dist/server/assets/{getting-started._topic-CmWdl3u3.js → getting-started._topic-C02HGrC6.js} +2 -2
  135. package/studio-dist/server/assets/{getting-started.index-AB8xpTFY.js → getting-started.index-EzLRosbb.js} +2 -2
  136. package/studio-dist/server/assets/{graph-C_Hn-Wf_.js → graph-CZ2H9Fzr.js} +7 -6
  137. package/studio-dist/server/assets/{graph-canvas-BthrSmPS.js → graph-canvas-rP5TT14Z.js} +1 -1
  138. package/studio-dist/server/assets/{guides-BVQ4pt5B.js → guides-BGftp4wf.js} +1 -1
  139. package/studio-dist/server/assets/{markdown-view-rwiiVcPC.js → markdown-view-CArpV-CS.js} +1 -1
  140. package/studio-dist/server/assets/{panel-CUxRIpYL.js → panel-DR0iq46J.js} +4 -3
  141. package/studio-dist/server/assets/{plugins._service._view-BSvGnlhU.js → plugins._service._view-n7u2k5dF.js} +7 -4
  142. package/studio-dist/server/assets/{queries-S_Pl90IG.js → queries-D-yVP9i0.js} +1 -1
  143. package/studio-dist/server/assets/{reports-CJpAItPk.js → reports-C2SmTgqh.js} +6 -5
  144. package/studio-dist/server/assets/{router-DF0etoNa.js → router-CPt0TAk_.js} +54 -29
  145. package/studio-dist/server/assets/{routes-6ylCLkyg.js → routes-CwH8LEy2.js} +8 -7
  146. package/studio-dist/server/assets/{select-CjuKScan.js → select-C3i6TTX-.js} +5 -4
  147. package/studio-dist/server/assets/{shell-DLkP7wG9.js → shell-CagqZZMZ.js} +2 -1
  148. package/studio-dist/server/assets/{skills-zeU80A9S.js → skills-C21Mg_8-.js} +7 -6
  149. package/studio-dist/server/assets/{specs-DDBNT_v1.js → specs-DetoMiaB.js} +3 -3
  150. package/studio-dist/server/assets/{specs-view-exvmWdg0.js → specs-view-CmbfLDwN.js} +9 -8
  151. package/studio-dist/server/assets/{store-kS7zk0Hr.js → store-aC-I6f6o.js} +1 -1
  152. package/studio-dist/server/assets/{studio-queries-qOXOYoPt.js → studio-queries-Dqf-3nzj.js} +1 -1
  153. package/studio-dist/server/assets/{usage-C2um7YiV.js → usage-CS4CBK9D.js} +9 -9
  154. package/studio-dist/server/assets/{useAnchoredPopupScrollLock-kQBB3y_b.js → useAnchoredPopupScrollLock-BjMNgXv9.js} +2 -2
  155. package/studio-dist/server/assets/{useMutation-C-WO6hCM.js → useMutation-DpBIuWXt.js} +2 -2
  156. package/studio-dist/server/assets/{vault-B8vgVIH9.js → vault-DVQidlId.js} +6 -6
  157. package/studio-dist/server/assets/{warnings-BxK4VfV5.js → warnings-C7hgXpdk.js} +2 -1
  158. package/studio-dist/server/assets/{workflow-BrTK632u.js → workflow-6dZZ1ofw.js} +7 -6
  159. package/studio-dist/server/server.js +2 -2
  160. package/tool-manifest.yaml +85 -0
  161. package/studio-dist/client/assets/app-aIwDxf48.css +0 -2
  162. package/studio-dist/client/assets/button-CX0sWAJl.js +0 -1
  163. package/studio-dist/client/assets/combobox-BmA8RjOc.js +0 -1
  164. package/studio-dist/client/assets/fields-BobQ7zRF.js +0 -1
  165. package/studio-dist/client/assets/friction-YdYd3zaz.js +0 -1
  166. package/studio-dist/client/assets/getting-started-CY7NEtTw.js +0 -1
  167. package/studio-dist/client/assets/graph-DbNnR884.js +0 -2
  168. package/studio-dist/client/assets/index-CysBCSxM.js +0 -40
  169. package/studio-dist/client/assets/panel-Csr49lBo.js +0 -1
  170. package/studio-dist/client/assets/plugins._service._view-CEA_CcPe.js +0 -1
  171. package/studio-dist/client/assets/reports-CLdgxxkg.js +0 -1
  172. package/studio-dist/client/assets/routes-DGilWbDE.js +0 -1
  173. package/studio-dist/client/assets/select-DdebbX7K.js +0 -1
  174. package/studio-dist/client/assets/skills-C3zNkU8g.js +0 -1
  175. package/studio-dist/client/assets/specs-view-B_n0Pekv.js +0 -1
  176. package/studio-dist/client/assets/useBaseQuery-C2cjmeH2.js +0 -1
  177. package/studio-dist/client/assets/useMutation-DI6LbvVa.js +0 -1
  178. package/studio-dist/client/assets/vault-Cb9DmM1i.js +0 -1
  179. package/studio-dist/client/assets/warnings-B-rvoW8q.js +0 -1
  180. package/studio-dist/client/assets/workflow-DN5T19jd.js +0 -1
  181. package/studio-dist/server/assets/useBaseQuery--iH3rd-T.js +0 -2051
@@ -1,9 +1,10 @@
1
1
  import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
2
- import { En as getTarget, Er as useRenderElement, Fn as cancelOpen, Kn as listNavigation, L as DROPDOWN_COLLISION_AVOIDANCE, Lr as cn, M as FloatingPortal, Qt as stopEvent, S as useOpenChangeComplete, Tn as contains, Un as inputPress, Y as useTimeout, ar as formatErrorMessage, cn as popupStateMapping, er as createChangeEventDetails, ir as ownerDocument, nn as isInteractiveElement, or as useIsoLayoutEffect, qn as none, r as Icon, rr as useButton, sr as useStableCallback, vn as transitionStatusMapping, vr as isElement } from "./button-B7e1fRyW.js";
3
- import { _ as inertValue, a as InternalBackdrop, c as useLabelableId, l as useLabelableContext, m as useFieldRootContext, o as useSetFieldFocused, v as FloatingFocusManager } from "./fields-B4qM2ZwC.js";
4
- import { S as useClick, t as useAnchoredPopupScrollLock } from "./useAnchoredPopupScrollLock-kQBB3y_b.js";
5
- import { d as ItemIndicator, f as resolveAriaLabelledBy, i as POPUP, m as useTypeahead, n as ITEM, p as isMouseWithinBounds, r as ITEM_CHECK, t as CHEVRON, u as TRIGGER } from "./select-CjuKScan.js";
6
- import { $ as useComboboxInputValueContext, B as ComboboxItem$1, G as ComboboxPositionerContext, H as ComboboxList$1, J as usePopupSide, K as useComboboxPositionerContext, Q as useComboboxFloatingContext, U as ComboboxInput$1, V as useComboboxItemContext, W as ComboboxInternalDismissButton, X as AriaCombobox, Y as triggerStateAttributesMapping, Z as getComboboxPopupId, ct as useAnchorPositioning, et as useComboboxRootContext, ot as usePositioner, q as useListEmpty, st as getDisabledMountTransitionStyles, z as ComboboxEmpty$1 } from "./router-DF0etoNa.js";
2
+ import { t as cn } from "./cn-FXJAM0KO.js";
3
+ import { En as getTarget, Er as useRenderElement, Fn as cancelOpen, Kn as listNavigation, L as DROPDOWN_COLLISION_AVOIDANCE, M as FloatingPortal, Qt as stopEvent, S as useOpenChangeComplete, Tn as contains, Un as inputPress, Y as useTimeout, ar as formatErrorMessage, cn as popupStateMapping, er as createChangeEventDetails, ir as ownerDocument, nn as isInteractiveElement, or as useIsoLayoutEffect, qn as none, r as Icon, rr as useButton, sr as useStableCallback, vn as transitionStatusMapping, vr as isElement } from "./button-D6bvrFmm.js";
4
+ import { _ as inertValue, a as InternalBackdrop, c as useLabelableId, l as useLabelableContext, m as useFieldRootContext, o as useSetFieldFocused, v as FloatingFocusManager } from "./fields-B4mAPETz.js";
5
+ import { S as useClick, t as useAnchoredPopupScrollLock } from "./useAnchoredPopupScrollLock-BjMNgXv9.js";
6
+ import { d as ItemIndicator, f as resolveAriaLabelledBy, i as POPUP, m as useTypeahead, n as ITEM, p as isMouseWithinBounds, r as ITEM_CHECK, t as CHEVRON, u as TRIGGER } from "./select-C3i6TTX-.js";
7
+ import { $ as useComboboxInputValueContext, B as ComboboxItem$1, G as ComboboxPositionerContext, H as ComboboxList$1, J as usePopupSide, K as useComboboxPositionerContext, Q as useComboboxFloatingContext, U as ComboboxInput$1, V as useComboboxItemContext, W as ComboboxInternalDismissButton, X as AriaCombobox, Y as triggerStateAttributesMapping, Z as getComboboxPopupId, ct as useAnchorPositioning, et as useComboboxRootContext, ot as usePositioner, q as useListEmpty, st as getDisabledMountTransitionStyles, z as ComboboxEmpty$1 } from "./router-CPt0TAk_.js";
7
8
  // ../../node_modules/.bun/@base-ui+react@1.9.0+9e489665888c9e4a/node_modules/@base-ui/react/combobox/trigger/ComboboxTrigger.mjs
8
9
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
9
10
  /**
@@ -1,5 +1,5 @@
1
- import { ut as useSuspenseQuery } from "./router-DF0etoNa.js";
2
- import { a as companionViewQuery } from "./studio-queries-qOXOYoPt.js";
1
+ import { ut as useSuspenseQuery } from "./router-CPt0TAk_.js";
2
+ import { a as companionViewQuery } from "./studio-queries-Dqf-3nzj.js";
3
3
  import { t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
4
4
  // src/shell/companion-error.tsx
5
5
  var import_jsx_runtime = require_jsx_runtime();
@@ -1,5 +1,6 @@
1
1
  import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
2
- import { $t as getNodeAncestors, Ar as NOOP, B as FocusGuard, Cn as activeElement, Dt as isElementVisible, E as resolveRef, En as getTarget, Er as useRenderElement, G as useValueAsRef, J as Timeout, K as mergeCleanups, Lr as cn, Mr as useMergedRefs, Nr as useRefWithInit, P as usePortalContext, Pr as useBaseUiId, Qt as stopEvent, Sr as isShadowRoot, St as tabbable, Tn as contains, U as AnimationFrame, W as useAnimationFrame, Xt as isVirtualClick, Y as useTimeout, Zt as isVirtualPointerEvent, _t as getNextTabbable, an as isTypeableElement, ar as formatErrorMessage, bt as isOutsideEvent, en as getNodeChildren, er as createChangeEventDetails, fr as getNodeName, gr as getWindow, gt as focusable, in as isTypeableCombobox, ir as ownerDocument, j as useFloatingTree, jn as ios, jr as isReactVersionAtLeast, kn as webkit, kr as EMPTY_OBJECT, or as useIsoLayoutEffect, q as addEventListener, qn as none, sr as useStableCallback, tn as getFloatingFocusElement, vt as getPreviousTabbable, wn as closest, xr as isOverflowElement, xt as isTabbable, yr as isHTMLElement, z as createAttribute, zn as focusOut } from "./button-B7e1fRyW.js";
2
+ import { t as cn } from "./cn-FXJAM0KO.js";
3
+ import { $t as getNodeAncestors, Ar as NOOP, B as FocusGuard, Cn as activeElement, Dt as isElementVisible, E as resolveRef, En as getTarget, Er as useRenderElement, G as useValueAsRef, J as Timeout, K as mergeCleanups, Mr as useMergedRefs, Nr as useRefWithInit, P as usePortalContext, Pr as useBaseUiId, Qt as stopEvent, Sr as isShadowRoot, St as tabbable, Tn as contains, U as AnimationFrame, W as useAnimationFrame, Xt as isVirtualClick, Y as useTimeout, Zt as isVirtualPointerEvent, _t as getNextTabbable, an as isTypeableElement, ar as formatErrorMessage, bt as isOutsideEvent, en as getNodeChildren, er as createChangeEventDetails, fr as getNodeName, gr as getWindow, gt as focusable, in as isTypeableCombobox, ir as ownerDocument, j as useFloatingTree, jn as ios, jr as isReactVersionAtLeast, kn as webkit, kr as EMPTY_OBJECT, or as useIsoLayoutEffect, q as addEventListener, qn as none, sr as useStableCallback, tn as getFloatingFocusElement, vt as getPreviousTabbable, wn as closest, xr as isOverflowElement, xt as isTabbable, yr as isHTMLElement, z as createAttribute, zn as focusOut } from "./button-D6bvrFmm.js";
3
4
  // ../../node_modules/.bun/@base-ui+react@1.9.0+9e489665888c9e4a/node_modules/@base-ui/react/floating-ui-react/utils/enqueueFocus.mjs
4
5
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
5
6
  var rafId = 0;
@@ -1,11 +1,12 @@
1
- import { S as useRetryFocus, _ as useMarkFriction, b as RecordingReach, f as Route, g as frictionQuery, h as useBrowser, v as useSetFrictionRecording, x as RecordingState, y as RecordingButton } from "./router-DF0etoNa.js";
2
- import { B as keepPreviousData } from "./studio-queries-qOXOYoPt.js";
3
- import { Lr as cn, et as CommandLine, it as PAGE_PAD, lt as StatusWord, nt as EmptyNote, ot as Pills, r as Icon, rt as ListCard, t as Button, tt as Count, ut as ViewLoading, zr as useQuery } from "./button-B7e1fRyW.js";
1
+ import { S as useRetryFocus, _ as useMarkFriction, b as RecordingReach, f as Route, g as frictionQuery, h as useBrowser, v as useSetFrictionRecording, x as RecordingState, y as RecordingButton } from "./router-CPt0TAk_.js";
2
+ import { B as keepPreviousData } from "./studio-queries-Dqf-3nzj.js";
3
+ import { Lr as useQuery, et as CommandLine, it as PAGE_PAD, lt as StatusWord, nt as EmptyNote, ot as Pills, r as Icon, rt as ListCard, t as Button, tt as Count, ut as ViewLoading } from "./button-D6bvrFmm.js";
4
4
  import { _ as REPORT_KINDS, h as FRICTION_STATES, m as selectFriction$1, y as SUBJECT_TYPES } from "./studio-qRvQjRpz.js";
5
5
  import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
6
- import { a as Select, c as SelectTrigger, l as SelectValue, o as SelectContent, s as SelectItem } from "./select-CjuKScan.js";
6
+ import { a as Select, c as SelectTrigger, l as SelectValue, o as SelectContent, s as SelectItem } from "./select-C3i6TTX-.js";
7
+ import { t as cn } from "./cn-FXJAM0KO.js";
7
8
  import { a as FRICTION_VIEW_DAYS, n as oneOf } from "./search-b-yQesv3.js";
8
- import { t as Input } from "./fields-B4qM2ZwC.js";
9
+ import { t as Input } from "./fields-B4mAPETz.js";
9
10
  // ../mate-core/src/runtime/framework.ts
10
11
  /**
11
12
  * Framework identity: names everything identity-shaped — state directories
@@ -17,6 +18,21 @@ import { t as Input } from "./fields-B4qM2ZwC.js";
17
18
  * repo-local `.mate/` paths from it; `../framework` re-exports it.
18
19
  */
19
20
  var FRAMEWORK_NAME = "mate";
21
+ // ../mate-core/src/runtime/command-arg.ts
22
+ /**
23
+ * Quotes one argument of a command a person pastes into a shell. Plain words stay bare and double
24
+ * quotes are used where cmd.exe, PowerShell and POSIX shells all keep the text unchanged; any
25
+ * other text falls back to POSIX single quotes.
26
+ */
27
+ function quoteCommandArg(value) {
28
+ if (/^[\w:./+=-]+$/.test(value)) return value;
29
+ if (!/["$`\\!%]/.test(value)) return `"${value}"`;
30
+ return `'${value.replaceAll("'", `'\\''`)}'`;
31
+ }
32
+ /** One command line from its words, each quoted with `quoteCommandArg`. */
33
+ function formatCommand(words) {
34
+ return words.map(quoteCommandArg).join(" ");
35
+ }
20
36
  // src/views/friction/mark-actions.tsx
21
37
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
22
38
  var import_jsx_runtime = require_jsx_runtime();
@@ -317,17 +333,39 @@ function Counted({ label, counts }) {
317
333
  })
318
334
  });
319
335
  }
320
- function ItemFooter({ name, item, onMark }) {
336
+ function ItemFooter({ name, target, item, onMark }) {
321
337
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
322
338
  className: "mt-1 grid gap-1.5",
323
- children: [item.state ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ItemState, {
324
- state: item.state,
325
- time: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FrictionTime, { at: item.state.at })
326
- }) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MarkActions, {
327
- name,
328
- handled: !item.open,
329
- onMark
330
- })]
339
+ children: [
340
+ item.state ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ItemState, {
341
+ state: item.state,
342
+ time: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FrictionTime, { at: item.state.at })
343
+ }) : null,
344
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MarkActions, {
345
+ name,
346
+ handled: !item.open,
347
+ onMark
348
+ }),
349
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
350
+ role: "group",
351
+ "aria-label": `Triage ${name}`,
352
+ className: "flex flex-wrap items-center gap-x-3 gap-y-2 text-xs",
353
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
354
+ className: "m-0 text-muted",
355
+ children: "To investigate this item, run in your own terminal, in a repository of its companion:"
356
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
357
+ className: "w-full max-w-xl min-w-0",
358
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CommandLine, {
359
+ text: formatCommand([
360
+ FRAMEWORK_NAME,
361
+ "triage",
362
+ target
363
+ ]),
364
+ label: "command"
365
+ })
366
+ })]
367
+ })
368
+ ]
331
369
  });
332
370
  }
333
371
  function Fields({ fields }) {
@@ -491,6 +529,7 @@ function GroupItem({ group, columns, onMark }) {
491
529
  }) : null,
492
530
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ItemFooter, {
493
531
  name: group.title,
532
+ target: group.fingerprint,
494
533
  item: group,
495
534
  onMark
496
535
  })
@@ -525,6 +564,7 @@ function FreeReportItem({ report, stateColumn, onMark }) {
525
564
  ["Workaround", report.workaround]
526
565
  ] }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ItemFooter, {
527
566
  name: report.subject,
567
+ target: report.id,
528
568
  item: report,
529
569
  onMark
530
570
  })]
@@ -1,5 +1,5 @@
1
- import { it as Link } from "./studio-queries-qOXOYoPt.js";
2
- import { t as MarkdownView } from "./markdown-view-rwiiVcPC.js";
1
+ import { it as Link } from "./studio-queries-Dqf-3nzj.js";
2
+ import { t as MarkdownView } from "./markdown-view-CArpV-CS.js";
3
3
  import { t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
4
4
  // src/views/getting-started/getting-started.tsx
5
5
  var import_jsx_runtime = require_jsx_runtime();
@@ -1,5 +1,5 @@
1
- import { t as GettingStarted } from "./getting-started-Cq5Pcnsr.js";
2
- import { r as Route } from "./router-DF0etoNa.js";
1
+ import { t as GettingStarted } from "./getting-started-RU6tYU2Q.js";
2
+ import { r as Route } from "./router-CPt0TAk_.js";
3
3
  import { t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
4
4
  // src/routes/getting-started.$topic.tsx?tsr-split=component
5
5
  var import_jsx_runtime = require_jsx_runtime();
@@ -1,5 +1,5 @@
1
- import { t as GettingStarted } from "./getting-started-Cq5Pcnsr.js";
2
- import { i as Route } from "./router-DF0etoNa.js";
1
+ import { t as GettingStarted } from "./getting-started-RU6tYU2Q.js";
2
+ import { i as Route } from "./router-CPt0TAk_.js";
3
3
  import { t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
4
4
  // src/routes/getting-started.index.tsx?tsr-split=component
5
5
  var import_jsx_runtime = require_jsx_runtime();
@@ -1,10 +1,11 @@
1
- import { Lr as cn, it as PAGE_PAD, nt as EmptyNote, r as Icon, zr as useQuery } from "./button-B7e1fRyW.js";
1
+ import { Lr as useQuery, it as PAGE_PAD, nt as EmptyNote, r as Icon } from "./button-D6bvrFmm.js";
2
2
  import "./studio-qRvQjRpz.js";
3
3
  import { i as __exportAll, n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
4
- import { it as Link, o as graphQuery } from "./studio-queries-qOXOYoPt.js";
5
- import { n as PanelSection, r as SidePanel, t as PanelHead } from "./panel-CUxRIpYL.js";
6
- import { a as archivedArtifactPath, i as ROOT_AREA_LABEL, o as capabilityNodeId, r as GRAPH_EDGE_KINDS, t as SpecDetail } from "./specs-view-exvmWdg0.js";
7
- import { d as Route } from "./router-DF0etoNa.js";
4
+ import { t as cn } from "./cn-FXJAM0KO.js";
5
+ import { it as Link, o as graphQuery } from "./studio-queries-Dqf-3nzj.js";
6
+ import { n as PanelSection, r as SidePanel, t as PanelHead } from "./panel-DR0iq46J.js";
7
+ import { a as archivedArtifactPath, i as ROOT_AREA_LABEL, o as capabilityNodeId, r as GRAPH_EDGE_KINDS, t as SpecDetail } from "./specs-view-CmbfLDwN.js";
8
+ import { d as Route } from "./router-CPt0TAk_.js";
8
9
  // src/views/graph/model.ts
9
10
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
10
11
  var NODE_SIZE = {
@@ -479,7 +480,7 @@ function GraphPanelBody({ selection, ...props }) {
479
480
  }
480
481
  // src/views/graph/graph-view.tsx
481
482
  /** The renderer is its own chunk: only a graph with specs loads it. */
482
- var GraphCanvas = (0, import_react.lazy)(() => import("./graph-canvas-BthrSmPS.js"));
483
+ var GraphCanvas = (0, import_react.lazy)(() => import("./graph-canvas-rP5TT14Z.js"));
483
484
  var EDGE_LABELS = {
484
485
  binds: "Areas",
485
486
  in: "Repositories",
@@ -1,6 +1,6 @@
1
1
  import "./studio-qRvQjRpz.js";
2
2
  import { n as require_react, o as __toESM, r as __commonJSMin, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
3
- import { a as forEachEdge$1, c as seedPositions, i as edgeVisible, n as NODE_SIZE, o as layoutWeight, r as edgeKey, s as placeNodes } from "./graph-C_Hn-Wf_.js";
3
+ import { a as forEachEdge$1, c as seedPositions, i as edgeVisible, n as NODE_SIZE, o as layoutWeight, r as edgeKey, s as placeNodes } from "./graph-CZ2H9Fzr.js";
4
4
  import { EventEmitter } from "events";
5
5
  // ../../node_modules/.bun/graphology-layout-forceatlas2@0.10.1+6368c1bed9f3b4f1/node_modules/graphology-layout-forceatlas2/webworker.js
6
6
  var require_webworker = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -1,4 +1,4 @@
1
- import { y as createSsrRpc } from "./studio-queries-qOXOYoPt.js";
1
+ import { y as createSsrRpc } from "./studio-queries-Dqf-3nzj.js";
2
2
  import { n as createServerFn } from "../server.js";
3
3
  // src/server/guides.ts
4
4
  var getGuide = createServerFn({ method: "GET" }).validator((input) => ({ topic: String(input.topic) })).handler(createSsrRpc("b2e22d82aeef8a3802144ae67d3a53a4fff5860a1a0b957618e8dcc7c0ef36c8"));
@@ -1,4 +1,4 @@
1
- import { it as Link } from "./studio-queries-qOXOYoPt.js";
1
+ import { it as Link } from "./studio-queries-Dqf-3nzj.js";
2
2
  import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
3
3
  // src/views/vault/markdown-view.tsx
4
4
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
@@ -1,7 +1,8 @@
1
1
  import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
2
- import { Lr as cn, r as Icon, t as Button } from "./button-B7e1fRyW.js";
3
- import { F as DialogPortal, I as DialogPopup, L as DialogClose, M as inField, N as DialogTitle, P as DialogRoot, R as DialogBackdrop } from "./router-DF0etoNa.js";
4
- import { n as Kbd } from "./fields-B4qM2ZwC.js";
2
+ import { r as Icon, t as Button } from "./button-D6bvrFmm.js";
3
+ import { F as DialogPortal, I as DialogPopup, L as DialogClose, M as inField, N as DialogTitle, P as DialogRoot, R as DialogBackdrop } from "./router-CPt0TAk_.js";
4
+ import { n as Kbd } from "./fields-B4mAPETz.js";
5
+ import { t as cn } from "./cn-FXJAM0KO.js";
5
6
  // src/components/ui/sheet.tsx
6
7
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
7
8
  var import_jsx_runtime = require_jsx_runtime();
@@ -1,7 +1,8 @@
1
- import { it as studioConnection, n as Route, ut as useSuspenseQuery } from "./router-DF0etoNa.js";
1
+ import { it as studioConnection, n as Route, ut as useSuspenseQuery } from "./router-CPt0TAk_.js";
2
2
  import "./studio-qRvQjRpz.js";
3
- import { C as SERVICE_ROUTE_PREFIX, u as shellQuery } from "./studio-queries-qOXOYoPt.js";
3
+ import { C as SERVICE_ROUTE_PREFIX, u as shellQuery } from "./studio-queries-Dqf-3nzj.js";
4
4
  import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
5
+ import { t as cn } from "./cn-FXJAM0KO.js";
5
6
  // src/plugins/plugin-view.tsx
6
7
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
7
8
  var import_jsx_runtime = require_jsx_runtime();
@@ -23,7 +24,7 @@ async function mountPluginView(element, moduleUrl, context, load = browserImport
23
24
  * A plugin service's view: its module owns everything inside the element, mounted in the
24
25
  * browser only and unmounted when the view, its companion or the module changes.
25
26
  */
26
- function PluginView({ moduleUrl, context, load }) {
27
+ function PluginView({ moduleUrl, context, layout = "page", load }) {
27
28
  const host = (0, import_react.useRef)(null);
28
29
  const [failure, setFailure] = (0, import_react.useState)(null);
29
30
  const { companion, apiBase, writable } = context;
@@ -58,7 +59,8 @@ function PluginView({ moduleUrl, context, load }) {
58
59
  load
59
60
  ]);
60
61
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
61
- className: "plugin-view mx-8 min-h-0 flex-1 max-sm:mx-4",
62
+ className: cn("plugin-view min-h-0 flex-1", layout === "workspace" ? void 0 : "mx-8 max-sm:mx-4"),
63
+ "data-layout": layout,
62
64
  children: [failure ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
63
65
  className: "m-0 rounded-card border border-dashed border-rule px-6 py-7 text-muted",
64
66
  children: ["The view could not load: ", failure]
@@ -84,6 +86,7 @@ var SplitComponent = function PluginViewRoute() {
84
86
  });
85
87
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PluginView, {
86
88
  moduleUrl: found.moduleUrl,
89
+ layout: found.layout,
87
90
  context: {
88
91
  companion: shell.selected?.digest ?? null,
89
92
  apiBase: `${SERVICE_ROUTE_PREFIX}${service}`,
@@ -1,4 +1,4 @@
1
- import { u as shellQuery } from "./studio-queries-qOXOYoPt.js";
1
+ import { u as shellQuery } from "./studio-queries-Dqf-3nzj.js";
2
2
  // src/lib/queries.ts
3
3
  /** Cached data as it is, however old, else fetched: what `ensureQueryData` returned. */
4
4
  function loadHeld(queryClient, options) {
@@ -1,10 +1,11 @@
1
- import { Lr as cn, ct as ROW, it as PAGE_PAD, nt as EmptyNote, r as Icon, rt as ListCard, zr as useQuery } from "./button-B7e1fRyW.js";
1
+ import { Lr as useQuery, ct as ROW, it as PAGE_PAD, nt as EmptyNote, r as Icon, rt as ListCard } from "./button-D6bvrFmm.js";
2
2
  import { a as useRouter } from "./useSelector-DUmCUXAs.js";
3
- import "./__23tanstack-start-server-fn-resolver-JoHQ5ihx.js";
3
+ import "./__23tanstack-start-server-fn-resolver-gVfW5vIV.js";
4
4
  import { n as require_react, o as __toESM, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
5
- import { S as REPORT_VIEW_PREFIX, l as reportsQuery } from "./studio-queries-qOXOYoPt.js";
6
- import { r as SidePanel, t as PanelHead } from "./panel-CUxRIpYL.js";
7
- import { rt as usePageUi, tt as useAppearance, u as Route } from "./router-DF0etoNa.js";
5
+ import { t as cn } from "./cn-FXJAM0KO.js";
6
+ import { S as REPORT_VIEW_PREFIX, l as reportsQuery } from "./studio-queries-Dqf-3nzj.js";
7
+ import { r as SidePanel, t as PanelHead } from "./panel-DR0iq46J.js";
8
+ import { rt as usePageUi, tt as useAppearance, u as Route } from "./router-CPt0TAk_.js";
8
9
  import "./studio-qRvQjRpz.js";
9
10
  // ../../node_modules/.bun/@tanstack+react-router@1.170.46+7492c01c6988791b/node_modules/@tanstack/react-router/dist/esm/useLocation.js
10
11
  /**
@@ -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 { c as notifyManager, d as QueryClientProvider, f as useQueryClient, i as Query, l as focusManager, n as defaultThrowOnError, r as QueryObserver, s as onlineManager, t as useBaseQuery, u as Subscribable } from "./useBaseQuery--iH3rd-T.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-qOXOYoPt.js";
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-FXJAM0KO.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-Dqf-3nzj.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
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-qRvQjRpz.js";
9
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-B28ClcPN.js";
10
- import { n as loadView, r as registeredCompanion, t as loadHeld } from "./queries-S_Pl90IG.js";
10
+ import { n as loadView, r as registeredCompanion, t as loadHeld } from "./queries-D-yVP9i0.js";
11
11
  import { t as formatCollectedAt } from "./model-PyPALjii.js";
12
12
  import { a as FRICTION_VIEW_DAYS, i as validateStudioSearch, n as oneOf, o as frictionViewDays, r as validateSpecsSearch, t as canonicalHref } from "./search-b-yQesv3.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 cn, 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, zr as useQuery, zt as getOppositeAxis } from "./button-B7e1fRyW.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-B4qM2ZwC.js";
16
- import { n as Mutation, t as useMutation } from "./useMutation-C-WO6hCM.js";
17
- import "./__23tanstack-start-server-fn-resolver-JoHQ5ihx.js";
18
- import { t as getGuide } from "./guides-BVQ4pt5B.js";
19
- import { n as popupStoreSelectors, t as createInitialPopupStoreState } from "./store-kS7zk0Hr.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-kQBB3y_b.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 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-D6bvrFmm.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-B4mAPETz.js";
16
+ import { n as Mutation, t as useMutation } from "./useMutation-DpBIuWXt.js";
17
+ import "./__23tanstack-start-server-fn-resolver-gVfW5vIV.js";
18
+ import { t as getGuide } from "./guides-BGftp4wf.js";
19
+ import { n as popupStoreSelectors, t as createInitialPopupStoreState } from "./store-aC-I6f6o.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-BjMNgXv9.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-aIwDxf48.css";
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": !ui.collapsed,
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": !ui.collapsed,
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, { terminal: shell.terminal }) : null
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-6ylCLkyg.js");
11665
+ var $$splitComponentImporter$12 = () => import("./routes-CwH8LEy2.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-sLxaWY-H.js");
11679
+ var $$splitComponentImporter$11 = () => import("./friction-9a5S1m7U.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-C_Hn-Wf_.js").then((n) => n.t);
11697
+ var $$splitComponentImporter$9 = () => import("./graph-CZ2H9Fzr.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-CJpAItPk.js");
11706
+ var $$splitComponentImporter$8 = () => import("./reports-C2SmTgqh.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-zeU80A9S.js");
11720
+ var $$splitComponentImporter$7 = () => import("./skills-C21Mg_8-.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-DDBNT_v1.js");
11732
+ var $$splitComponentImporter$6 = () => import("./specs-DetoMiaB.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-C2um7YiV.js");
11745
+ var $$splitComponentImporter$5 = () => import("./usage-CS4CBK9D.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-B8vgVIH9.js");
11756
+ var $$splitComponentImporter$4 = () => import("./vault-DVQidlId.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-BrTK632u.js");
11778
+ var $$splitComponentImporter$3 = () => import("./workflow-6dZZ1ofw.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-AB8xpTFY.js");
11790
+ var $$splitComponentImporter$2 = () => import("./getting-started.index-EzLRosbb.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-CmWdl3u3.js");
11798
+ var $$splitComponentImporter$1 = () => import("./getting-started._topic-C02HGrC6.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-BSvGnlhU.js");
11806
+ var $$splitComponentImporter = () => import("./plugins._service._view-n7u2k5dF.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-D-vGM55e.js";
2
- import { at as useNavigate, f as vaultChildrenQuery, it as Link, m as vaultQuery } from "./studio-queries-qOXOYoPt.js";
1
+ import { t as CompanionView } from "./companion-view-Mf1ANbMb.js";
2
+ import { at as useNavigate, f as vaultChildrenQuery, it as Link, m as vaultQuery } from "./studio-queries-Dqf-3nzj.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 cn, 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, zr as useQuery } from "./button-B7e1fRyW.js";
5
- import { n as PanelSection, r as SidePanel, t as PanelHead } from "./panel-CUxRIpYL.js";
6
- import { t as Warnings } from "./warnings-BxK4VfV5.js";
7
- import { t as MarkdownView } from "./markdown-view-rwiiVcPC.js";
8
- 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-DF0etoNa.js";
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-D6bvrFmm.js";
5
+ import { t as cn } from "./cn-FXJAM0KO.js";
6
+ import { n as PanelSection, r as SidePanel, t as PanelHead } from "./panel-DR0iq46J.js";
7
+ import { t as Warnings } from "./warnings-C7hgXpdk.js";
8
+ import { t as MarkdownView } from "./markdown-view-CArpV-CS.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-CPt0TAk_.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. */