specrails-desktop 2.59.3 → 2.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/client/dist/assets/{ActivityFeedPage-BGEayjTY.js → ActivityFeedPage-Wi5XNgoG.js} +1 -1
  2. package/client/dist/assets/{AgentBrowserCapture-Qvg4y5Tr.js → AgentBrowserCapture-CkNWDZT3.js} +1 -1
  3. package/client/dist/assets/{AgentModeAnalyticsPane-CR7aFeLJ.js → AgentModeAnalyticsPane-CXz2j-Bt.js} +2 -2
  4. package/client/dist/assets/{AgentModeCodePane-gAd88Gng.js → AgentModeCodePane-DnsBPtpS.js} +2 -2
  5. package/client/dist/assets/{AgentModeJobsPane-EjCDuTow.js → AgentModeJobsPane-U1J6PaBo.js} +1 -1
  6. package/client/dist/assets/{AgentsPage-CRHHcp1V.js → AgentsPage-CXrqu5vo.js} +2 -2
  7. package/client/dist/assets/{AnalyticsPage-a0b1fNEl.js → AnalyticsPage-Cvtt-LOO.js} +1 -1
  8. package/client/dist/assets/{CodePage-BmV1m7l3.js → CodePage-D35o-MFO.js} +1 -1
  9. package/client/dist/assets/{DesktopAnalyticsPage-B87WmXOQ.js → DesktopAnalyticsPage-CsDFy5rp.js} +1 -1
  10. package/client/dist/assets/{DocsDialog-Co0O672q.js → DocsDialog-CSlMPemn.js} +1 -1
  11. package/client/dist/assets/{DocsPage-DxGI6A2T.js → DocsPage-BKlYAvWq.js} +1 -1
  12. package/client/dist/assets/{ExportDropdown-1Ce031vB.js → ExportDropdown-CweP_1GP.js} +1 -1
  13. package/client/dist/assets/InteractiveJobComposer-CFKvbQeJ.js +19 -0
  14. package/client/dist/assets/{JobDetailModal-DVLDVgzz.js → JobDetailModal-DYyGq1Vp.js} +1 -1
  15. package/client/dist/assets/{JobDetailPage-RcP9N-D-.js → JobDetailPage-C6gpdYvj.js} +1 -1
  16. package/client/dist/assets/{JobsPage-R9M4xQnp.js → JobsPage-CgS0pnKd.js} +1 -1
  17. package/client/dist/assets/LoopBuilderPage-jUp20DSZ.js +1 -0
  18. package/client/dist/assets/{LoopPreviewModal-DA2JeKWX.js → LoopPreviewModal-DkLRfsYX.js} +1 -1
  19. package/client/dist/assets/{LoopWindowSurface-BkkeD0hx.js → LoopWindowSurface-CuACkXFV.js} +1 -1
  20. package/client/dist/assets/{LoopsPage-BHv--iI7.js → LoopsPage-ClSrWzDd.js} +1 -1
  21. package/client/dist/assets/{MinimizedChatsContext-Bc9xHByW.js → MinimizedChatsContext-CroAs6Kh.js} +1 -1
  22. package/client/dist/assets/{PluginsPage-BEy62gxK.js → PluginsPage-nCKQOwRL.js} +1 -1
  23. package/client/dist/assets/{ProjectSettingsDialog-DDQ_f94T.js → ProjectSettingsDialog-BVDYwllU.js} +1 -1
  24. package/client/dist/assets/{RepositoryDeliveries-DIWDFLRM.js → RepositoryDeliveries-DJCm1pZr.js} +1 -1
  25. package/client/dist/assets/{RepositoryScopeSelector-D3PlHIM-.js → RepositoryScopeSelector-CeCr6Jz-.js} +1 -1
  26. package/client/dist/assets/{ReviewPacketPage-BXdPwmdE.js → ReviewPacketPage-kTErrEjx.js} +1 -1
  27. package/client/dist/assets/{TemplatePreviewModal-C7-G6lvI.js → TemplatePreviewModal-B8yd1AGU.js} +1 -1
  28. package/client/dist/assets/{TicketDetailModalContext-gGUv7gsQ.js → TicketDetailModalContext-YBJX3RmP.js} +1 -1
  29. package/client/dist/assets/{Trans-Br_OIUKP.js → Trans-D5eOjfvG.js} +1 -1
  30. package/client/dist/assets/agentRuntime-B-myNBUP.js +1 -0
  31. package/client/dist/assets/agentRuntime-Bjt7Ij6_.js +1 -0
  32. package/client/dist/assets/agentRuntime-C_yLPKDy.js +1 -0
  33. package/client/dist/assets/agentRuntime-D2kYQqNO.js +1 -0
  34. package/client/dist/assets/agentRuntime-DvhEe1um.js +1 -0
  35. package/client/dist/assets/agentRuntime-DxC6-9rN.js +1 -0
  36. package/client/dist/assets/agentRuntime-TKQyg137.js +1 -0
  37. package/client/dist/assets/agentRuntime-WSv8G0pW.js +1 -0
  38. package/client/dist/assets/agents-B6ZsnARo.js +1 -0
  39. package/client/dist/assets/agents-BORdhe0K.js +1 -0
  40. package/client/dist/assets/agents-C6aq9Oqs.js +1 -0
  41. package/client/dist/assets/agents-Cbsc4bcX.js +1 -0
  42. package/client/dist/assets/agents-D0uYR6hq.js +1 -0
  43. package/client/dist/assets/agents-Doe1sHY5.js +1 -0
  44. package/client/dist/assets/agents-DyNi_I9m.js +1 -0
  45. package/client/dist/assets/agents-StKxiTg0.js +1 -0
  46. package/client/dist/assets/agentstudio-7cYCXn-L.js +1 -0
  47. package/client/dist/assets/{agentstudio-QdAJIDef.js → agentstudio-BHWQh8G3.js} +1 -1
  48. package/client/dist/assets/agentstudio-BjnWHyRs.js +1 -0
  49. package/client/dist/assets/{agentstudio-fLXpRGIi.js → agentstudio-BkV8vcK4.js} +1 -1
  50. package/client/dist/assets/{agentstudio-BWAKeGgB.js → agentstudio-BzugqB_N.js} +1 -1
  51. package/client/dist/assets/{agentstudio-Cja8Sjcp.js → agentstudio-CWbp7KvH.js} +1 -1
  52. package/client/dist/assets/agentstudio-DG6plf5o.js +1 -0
  53. package/client/dist/assets/agentstudio-DkZVF-Cc.js +1 -0
  54. package/client/dist/assets/{formatDistanceToNow-Q7QPRFV4.js → formatDistanceToNow-DZ3VWsHq.js} +1 -1
  55. package/client/dist/assets/{getTimezoneOffsetInMilliseconds-Bq0CXBaJ.js → getTimezoneOffsetInMilliseconds-9JiGlFrx.js} +1 -1
  56. package/client/dist/assets/{index-DVkWHOR3.js → index-lTGJJTuk.js} +8 -8
  57. package/client/dist/assets/{jira-api-C2Tzc362.js → jira-api-Bp0zXwjg.js} +1 -1
  58. package/client/dist/assets/{loops-Cm55CXJ4.js → loops-B2PhQLKR.js} +1 -1
  59. package/client/dist/assets/{loops-3IutojWt.js → loops-BqbF46st.js} +1 -1
  60. package/client/dist/assets/{loops-BAosWtXE.js → loops-CINnHbfI.js} +1 -1
  61. package/client/dist/assets/{loops-kIJJkaxf.js → loops-D-3XhH04.js} +1 -1
  62. package/client/dist/assets/{loops-DHQtnfze.js → loops-DKkEEjZ_.js} +1 -1
  63. package/client/dist/assets/{loops-D7tL_Saw.js → loops-DzWR5-v6.js} +1 -1
  64. package/client/dist/assets/{loops--KWr0X-w.js → loops-WyWDkhok.js} +1 -1
  65. package/client/dist/assets/{loops-BISDssL5.js → loops-scD5fIBf.js} +1 -1
  66. package/client/dist/assets/{narration-DvLQBW9U.js → narration-BEKMVxGm.js} +1 -1
  67. package/client/dist/assets/{narration-CHI06czm.js → narration-CjLwGKap.js} +1 -1
  68. package/client/dist/assets/{narration-DjKB3pQZ.js → narration-DANWuGsW.js} +1 -1
  69. package/client/dist/assets/{narration-eSx3gR0W.js → narration-DGeEDWiT.js} +1 -1
  70. package/client/dist/assets/{narration-DtCYvRLM.js → narration-DJgpGwIP.js} +1 -1
  71. package/client/dist/assets/{narration-n3hOA7LY.js → narration-DbHnz0qV.js} +1 -1
  72. package/client/dist/assets/{narration-thJOeT2-.js → narration-bZSsTZG8.js} +1 -1
  73. package/client/dist/assets/{narration--hUhjM5v.js → narration-i6aKJKEc.js} +1 -1
  74. package/client/dist/assets/{project-repositories-DZKmieH3.js → project-repositories-CadLZOnr.js} +1 -1
  75. package/client/dist/assets/{spending-EXaboRU0.js → spending-DQDNtM8q.js} +1 -1
  76. package/client/dist/assets/{useDesktop-ChSmmJfc.js → useDesktop-DKNbOF0u.js} +1 -1
  77. package/client/dist/assets/{useRuntimeRuns-w9-5OzZl.js → useRuntimeRuns-D3YMw9qx.js} +1 -1
  78. package/client/dist/assets/{useSharedWebSocket-g0nTHfTT.js → useSharedWebSocket-DaWuiO0S.js} +2 -2
  79. package/client/dist/index.html +19 -19
  80. package/docs/getting-started.md +2 -2
  81. package/docs/guide/de/agents/1-meet-the-agents.md +1 -1
  82. package/docs/guide/de/agents/2-profiles-and-the-balanced-default.md +1 -1
  83. package/docs/guide/de/agents/3-customizing-models-per-agent.md +1 -1
  84. package/docs/guide/de/agents/4-custom-agents-catalog.md +3 -3
  85. package/docs/guide/en/agents/1-meet-the-agents.md +1 -1
  86. package/docs/guide/en/agents/2-profiles-and-the-balanced-default.md +1 -1
  87. package/docs/guide/en/agents/3-customizing-models-per-agent.md +1 -1
  88. package/docs/guide/en/agents/4-custom-agents-catalog.md +3 -3
  89. package/docs/guide/es/agents/1-meet-the-agents.md +1 -1
  90. package/docs/guide/es/agents/2-profiles-and-the-balanced-default.md +1 -1
  91. package/docs/guide/es/agents/3-customizing-models-per-agent.md +1 -1
  92. package/docs/guide/es/agents/4-custom-agents-catalog.md +3 -3
  93. package/docs/guide/fr/agents/1-meet-the-agents.md +1 -1
  94. package/docs/guide/fr/agents/2-profiles-and-the-balanced-default.md +1 -1
  95. package/docs/guide/fr/agents/3-customizing-models-per-agent.md +1 -1
  96. package/docs/guide/fr/agents/4-custom-agents-catalog.md +3 -3
  97. package/docs/guide/it/agents/1-meet-the-agents.md +1 -1
  98. package/docs/guide/it/agents/2-profiles-and-the-balanced-default.md +1 -1
  99. package/docs/guide/it/agents/3-customizing-models-per-agent.md +1 -1
  100. package/docs/guide/it/agents/4-custom-agents-catalog.md +3 -3
  101. package/docs/guide/ja/agents/1-meet-the-agents.md +1 -1
  102. package/docs/guide/ja/agents/2-profiles-and-the-balanced-default.md +1 -1
  103. package/docs/guide/ja/agents/3-customizing-models-per-agent.md +1 -1
  104. package/docs/guide/ja/agents/4-custom-agents-catalog.md +3 -3
  105. package/docs/guide/pt/agents/1-meet-the-agents.md +1 -1
  106. package/docs/guide/pt/agents/2-profiles-and-the-balanced-default.md +1 -1
  107. package/docs/guide/pt/agents/3-customizing-models-per-agent.md +1 -1
  108. package/docs/guide/pt/agents/4-custom-agents-catalog.md +3 -3
  109. package/docs/guide/zh/agents/1-meet-the-agents.md +1 -1
  110. package/docs/guide/zh/agents/2-profiles-and-the-balanced-default.md +1 -1
  111. package/docs/guide/zh/agents/3-customizing-models-per-agent.md +1 -1
  112. package/docs/guide/zh/agents/4-custom-agents-catalog.md +3 -3
  113. package/docs/internals/adding-a-provider.md +7 -6
  114. package/docs/internals/configuration.md +2 -0
  115. package/docs/internals/core-runtime-updates.md +22 -3
  116. package/docs/internals/profiles.md +17 -10
  117. package/docs/internals/programmatic-agent-runtime.md +2 -0
  118. package/docs/internals/review-packet.md +1 -1
  119. package/docs/internals/source-map.md +1 -1
  120. package/docs/running-pipelines.md +2 -2
  121. package/package.json +1 -1
  122. package/server/dist/core-compat.js +7 -3
  123. package/server/dist/mcp/guide.js +4 -3
  124. package/server/dist/modules/agent-runtime/runtime/agent-runtime-bridge.js +19 -3
  125. package/server/dist/modules/agent-runtime/runtime/agent-runtime-effective-config.js +2 -0
  126. package/server/dist/modules/agent-runtime/runtime/agent-runtime-settings-router.js +6 -2
  127. package/server/dist/modules/agent-runtime/runtime/agent-runtime-settings.js +42 -7
  128. package/server/dist/modules/agents/runtime/profiles-router.js +74 -36
  129. package/server/dist/modules/execution/runtime/queue-manager.js +7 -9
  130. package/server/dist/modules/loops/runtime/loop-agents.js +2 -5
  131. package/server/dist/modules/loops/runtime/loop-command-catalog.js +5 -5
  132. package/server/dist/modules/loops/runtime/loop-core-factory.js +2 -2
  133. package/server/dist/modules/loops/runtime/loop-definition.js +2 -1
  134. package/server/dist/modules/loops/runtime/loop-executors.js +0 -2
  135. package/server/dist/modules/loops/runtime/loop-factory.js +1 -1
  136. package/server/dist/modules/loops/runtime/loop-graph.js +8 -1
  137. package/server/dist/modules/loops/runtime/loop-implement-recipe.js +33 -13
  138. package/server/dist/modules/loops/runtime/loop-templates.js +3 -3
  139. package/server/dist/modules/loops/runtime/loops-router.js +3 -1
  140. package/server/dist/providers/gemini-agent-ack.js +13 -10
  141. package/server/dist/schemas/agent-runtime.schema.json +9 -7
  142. package/server/dist/setup-manager.js +28 -43
  143. package/server/dist/workspace-manager.js +13 -71
  144. package/client/dist/assets/InteractiveJobComposer-DkqR77pO.js +0 -19
  145. package/client/dist/assets/LoopBuilderPage-C4S-rkWp.js +0 -1
  146. package/client/dist/assets/agentRuntime-15Pkk6we.js +0 -1
  147. package/client/dist/assets/agentRuntime-Bpx3yWHK.js +0 -1
  148. package/client/dist/assets/agentRuntime-C78n13To.js +0 -1
  149. package/client/dist/assets/agentRuntime-CCI7XF4c.js +0 -1
  150. package/client/dist/assets/agentRuntime-CKDHe2-a.js +0 -1
  151. package/client/dist/assets/agentRuntime-Ddqvp2bP.js +0 -1
  152. package/client/dist/assets/agentRuntime-TXPQowKJ.js +0 -1
  153. package/client/dist/assets/agentRuntime-hqZRy08E.js +0 -1
  154. package/client/dist/assets/agents-CA5eT1d0.js +0 -1
  155. package/client/dist/assets/agents-CAgy-5uS.js +0 -1
  156. package/client/dist/assets/agents-CNm6Qzlv.js +0 -1
  157. package/client/dist/assets/agents-CTwbx-fb.js +0 -1
  158. package/client/dist/assets/agents-DEGV1Vao.js +0 -1
  159. package/client/dist/assets/agents-HsDF1aQU.js +0 -1
  160. package/client/dist/assets/agents-IQjdA-z9.js +0 -1
  161. package/client/dist/assets/agents-RkGoteXh.js +0 -1
  162. package/client/dist/assets/agentstudio-B2CTtQgZ.js +0 -1
  163. package/client/dist/assets/agentstudio-DtfPcr99.js +0 -1
  164. package/client/dist/assets/agentstudio-X70BKf6u.js +0 -1
  165. package/client/dist/assets/agentstudio-qXKqVnWS.js +0 -1
  166. package/server/dist/modules/loops/runtime/loop-agent-defaults.json +0 -6
@@ -1 +1 @@
1
- import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-zu2_FqZY.js";import{n as r,t as i}from"./createLucideIcon-Bjbbp_KS.js";import{r as a}from"./useDesktop-ChSmmJfc.js";import{t as o}from"./git-branch-BRM0F5GN.js";import{i as s,l as c,o as l,r as u,t as d}from"./dialog-CMgps2MY.js";import{t as f}from"./utils-BC4DHlz2.js";import{$t as p,Xt as m,a as h,g,h as _,ht as v,i as y,n as b,o as x,r as S,s as C,vt as w,xt as T,yt as E}from"./index-DVkWHOR3.js";var D=i(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]),O=e(t(),1),k=n(),A=[{id:`general`,icon:E,labelKey:`projectDialog.nav.general`},{id:`agentRuntime`,icon:m,labelKey:`projectDialog.nav.agentRuntime`},{id:`branch`,icon:o,labelKey:`projectDialog.nav.branch`},{id:`environment`,icon:D,labelKey:`projectDialog.nav.environment`},{id:`budget`,icon:v,labelKey:`projectDialog.nav.budget`},{id:`telemetry`,icon:p,labelKey:`projectDialog.nav.telemetry`},{id:`terminal`,icon:w,labelKey:`projectDialog.nav.terminal`}];function j({open:e,onClose:t}){let{t:n}=r(`settings`),{activeProjectId:i,projects:o}=a(),p=o.find(e=>e.id===i),[m,v]=(0,O.useState)(`general`),w=e=>f(`space-y-5`,m===e?``:`hidden`);return(0,k.jsx)(d,{open:e,onOpenChange:e=>{e||t()},children:(0,k.jsxs)(u,{movableResizable:!0,className:`flex max-w-5xl w-[92vw] h-[82vh] flex-col overflow-hidden`,children:[(0,k.jsxs)(l,{children:[(0,k.jsxs)(c,{className:`flex items-center gap-2`,children:[(0,k.jsx)(T,{className:`w-4 h-4`}),p?n(`projectDialog.title`,{name:p.name}):n(`page.title`)]}),(0,k.jsx)(s,{children:n(`projectDialog.description`)})]}),(0,k.jsxs)(`div`,{className:`flex min-h-0 flex-1 gap-5 py-2`,children:[(0,k.jsx)(`nav`,{className:`w-40 shrink-0 space-y-0.5 overflow-y-auto border-r border-border pr-2`,children:A.map(e=>{let t=e.icon;return(0,k.jsxs)(`button`,{type:`button`,onClick:()=>v(e.id),className:f(`flex w-full items-center gap-2 rounded-lg px-2.5 py-1.5 text-left text-xs transition-colors`,m===e.id?`bg-accent-primary/15 font-medium text-foreground`:`text-muted-foreground hover:bg-muted/40 hover:text-foreground`),children:[(0,k.jsx)(t,{className:`w-3.5 h-3.5 shrink-0`}),(0,k.jsx)(`span`,{className:`truncate`,children:n(e.labelKey)})]},e.id)})}),(0,k.jsxs)(`div`,{className:`min-w-0 flex-1 overflow-y-auto pr-1`,children:[(0,k.jsxs)(`div`,{className:w(`general`),children:[(0,k.jsx)(_,{}),(0,k.jsx)(y,{})]}),(0,k.jsx)(`div`,{className:w(`agentRuntime`),children:(0,k.jsx)(C,{})}),(0,k.jsx)(`div`,{className:w(`branch`),children:(0,k.jsx)(S,{})}),(0,k.jsx)(`div`,{className:w(`environment`),children:(0,k.jsx)(x,{})}),(0,k.jsx)(`div`,{className:w(`budget`),children:(0,k.jsx)(b,{})}),(0,k.jsx)(`div`,{className:w(`telemetry`),children:(0,k.jsx)(h,{})}),(0,k.jsx)(`div`,{className:w(`terminal`),children:(0,k.jsx)(g,{mode:`project`})})]})]})]})})}export{j as ProjectSettingsDialog};
1
+ import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-zu2_FqZY.js";import{n as r,t as i}from"./createLucideIcon-Bjbbp_KS.js";import{r as a}from"./useDesktop-DKNbOF0u.js";import{t as o}from"./git-branch-BRM0F5GN.js";import{i as s,l as c,o as l,r as u,t as d}from"./dialog-CMgps2MY.js";import{t as f}from"./utils-BC4DHlz2.js";import{$t as p,Xt as m,a as h,g,h as _,ht as v,i as y,n as b,o as x,r as S,s as C,vt as w,xt as T,yt as E}from"./index-lTGJJTuk.js";var D=i(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]),O=e(t(),1),k=n(),A=[{id:`general`,icon:E,labelKey:`projectDialog.nav.general`},{id:`agentRuntime`,icon:m,labelKey:`projectDialog.nav.agentRuntime`},{id:`branch`,icon:o,labelKey:`projectDialog.nav.branch`},{id:`environment`,icon:D,labelKey:`projectDialog.nav.environment`},{id:`budget`,icon:v,labelKey:`projectDialog.nav.budget`},{id:`telemetry`,icon:p,labelKey:`projectDialog.nav.telemetry`},{id:`terminal`,icon:w,labelKey:`projectDialog.nav.terminal`}];function j({open:e,onClose:t}){let{t:n}=r(`settings`),{activeProjectId:i,projects:o}=a(),p=o.find(e=>e.id===i),[m,v]=(0,O.useState)(`general`),w=e=>f(`space-y-5`,m===e?``:`hidden`);return(0,k.jsx)(d,{open:e,onOpenChange:e=>{e||t()},children:(0,k.jsxs)(u,{movableResizable:!0,className:`flex max-w-5xl w-[92vw] h-[82vh] flex-col overflow-hidden`,children:[(0,k.jsxs)(l,{children:[(0,k.jsxs)(c,{className:`flex items-center gap-2`,children:[(0,k.jsx)(T,{className:`w-4 h-4`}),p?n(`projectDialog.title`,{name:p.name}):n(`page.title`)]}),(0,k.jsx)(s,{children:n(`projectDialog.description`)})]}),(0,k.jsxs)(`div`,{className:`flex min-h-0 flex-1 gap-5 py-2`,children:[(0,k.jsx)(`nav`,{className:`w-40 shrink-0 space-y-0.5 overflow-y-auto border-r border-border pr-2`,children:A.map(e=>{let t=e.icon;return(0,k.jsxs)(`button`,{type:`button`,onClick:()=>v(e.id),className:f(`flex w-full items-center gap-2 rounded-lg px-2.5 py-1.5 text-left text-xs transition-colors`,m===e.id?`bg-accent-primary/15 font-medium text-foreground`:`text-muted-foreground hover:bg-muted/40 hover:text-foreground`),children:[(0,k.jsx)(t,{className:`w-3.5 h-3.5 shrink-0`}),(0,k.jsx)(`span`,{className:`truncate`,children:n(e.labelKey)})]},e.id)})}),(0,k.jsxs)(`div`,{className:`min-w-0 flex-1 overflow-y-auto pr-1`,children:[(0,k.jsxs)(`div`,{className:w(`general`),children:[(0,k.jsx)(_,{}),(0,k.jsx)(y,{})]}),(0,k.jsx)(`div`,{className:w(`agentRuntime`),children:(0,k.jsx)(C,{})}),(0,k.jsx)(`div`,{className:w(`branch`),children:(0,k.jsx)(S,{})}),(0,k.jsx)(`div`,{className:w(`environment`),children:(0,k.jsx)(x,{})}),(0,k.jsx)(`div`,{className:w(`budget`),children:(0,k.jsx)(b,{})}),(0,k.jsx)(`div`,{className:w(`telemetry`),children:(0,k.jsx)(h,{})}),(0,k.jsx)(`div`,{className:w(`terminal`),children:(0,k.jsx)(g,{mode:`project`})})]})]})]})})}export{j as ProjectSettingsDialog};
@@ -1,4 +1,4 @@
1
- import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-zu2_FqZY.js";import{t as r}from"./useSharedWebSocket-g0nTHfTT.js";import{n as i,t as a}from"./createLucideIcon-Bjbbp_KS.js";import{i as o}from"./useDesktop-ChSmmJfc.js";import{a as s,i as c,l,o as u,r as d,t as f}from"./dialog-CMgps2MY.js";import{t as p}from"./button-D1xExSTF.js";var m=new Set([`building`,`on_review`,`pr_draft`,`pr_ready`,`no_changes`,`completed`,`pr_closed`,`superseded`,`merged`,`discarded`,`implementation_failed`,`pr_failed`]),h=new Set([`none`,`local-only`,`pushed`,`pr-created`]),g=new Set([`running`,`succeeded`,`partially_succeeded`,`failed`,`unknown`]),_=new Set([`pending`,`ready`,`delivered`,`partial`,`no_changes`,`retryable_failure`,`blocked`,`not_started`,`unknown`]),v=new Set([`create-pr`,`publish`,`discard`,`poll-merge`,`merge-local`,`dismiss`,`reopen`,`acknowledge-no-changes`,`recover-and-retry`,`checkout`]),y=new Set([`implementation_running`,`implementation_failed`,`ready_for_review`,`restart_pending`,`partial_success`,`partial_delivery`,`existing_pr_updated`,`no_changes`,`commit_failed`,`branch_verification_failed`,`push_failed`,`settlement_interrupted`,`recovery_unavailable`,`operation_interrupted`,`delivery_failed`,`pr_draft_ready`,`pr_ready`,`pr_closed`,`merged`,`discarded`,`superseded`,`cleanup_incomplete`,`status_failed`,`ref_mismatch`]);function b(e){return typeof e==`string`&&y.has(e)}var x=`previous delivery action was interrupted by restart`;function S(e,t){return e===`operation_interrupted`||typeof t==`string`&&t.toLowerCase().includes(x)}var C=e=>typeof e==`string`&&e.length>0?e:null,w=e=>typeof e==`string`&&e.length>0?e:null;function T(e){if(!e)return null;let t=/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(e)?`${e.replace(` `,`T`)}Z`:e,n=Date.parse(t);return Number.isFinite(n)?n:null}function ee(e,t){let n=T(e),r=T(t);return n==null||r==null?null:r<n?-1:+(r>n)}function te(e){if(!e||typeof e!=`object`)return null;let t=e;if(typeof t.ticketId!=`number`||!Number.isFinite(t.ticketId)||typeof t.branch!=`string`)return null;let n=typeof t.implementationOutcome==`string`&&g.has(t.implementationOutcome)?t.implementationOutcome:void 0,r=typeof t.deliveryOutcome==`string`&&_.has(t.deliveryOutcome)?t.deliveryOutcome:void 0;return{ticketId:t.ticketId,branch:t.branch,succeeded:t.succeeded===!0,...C(t.runId)?{runId:C(t.runId)}:{},...n?{implementationOutcome:n}:{},...r?{deliveryOutcome:r}:{},initialSha:w(t.initialSha),finalSha:w(t.finalSha),...typeof t.changed==`boolean`?{changed:t.changed}:{},failureCode:w(t.failureCode),...t.branchOwnership===`created`||t.branchOwnership===`preexisting`||t.branchOwnership===`borrowed-pr`?{branchOwnership:t.branchOwnership}:{},worktreePath:w(t.worktreePath)}}function E(e,t){if(!e||typeof e!=`object`)return null;let n=e,r=C(n.prDeliveryId)??C(n.id),i=typeof n.railIndex==`number`&&Number.isFinite(n.railIndex)?n.railIndex:t;if(!r||i==null||typeof n.decision!=`string`||!m.has(n.decision))return null;let a=typeof n.implementationOutcome==`string`&&g.has(n.implementationOutcome)?n.implementationOutcome:void 0,o=typeof n.deliveryOutcome==`string`&&_.has(n.deliveryOutcome)?n.deliveryOutcome:void 0,s=(Array.isArray(n.units)?n.units:Array.isArray(n.branches)?n.branches:[]).map(te).filter(e=>e!==null);return{prDeliveryId:r,railIndex:i,railKey:typeof n.railKey==`string`?n.railKey:``,ticketIds:Array.isArray(n.ticketIds)?n.ticketIds.filter(e=>typeof e==`number`&&Number.isFinite(e)):[],baseBranch:typeof n.baseBranch==`string`?n.baseBranch:``,branch:w(n.branch),prUrl:w(n.prUrl),prNumber:typeof n.prNumber==`number`&&Number.isInteger(n.prNumber)&&n.prNumber>0?n.prNumber:null,prState:typeof n.prState==`string`&&h.has(n.prState)?n.prState:`none`,decision:n.decision,runIds:Array.isArray(n.runIds)?n.runIds.filter(e=>typeof e==`string`&&e.length>0):s.map(e=>e.runId).filter(e=>typeof e==`string`&&e.length>0),originConversationId:w(n.originConversationId),createdAt:typeof n.createdAt==`string`?n.createdAt:void 0,updatedAt:typeof n.updatedAt==`string`?n.updatedAt:void 0,...a?{implementationOutcome:a}:{},...o?{deliveryOutcome:o}:{},statusCode:w(n.statusCode),statusDetail:w(n.statusDetail),deliverySha:w(n.deliverySha),isContinuation:n.isContinuation===!0,supersedesDeliveryId:w(n.supersedesDeliveryId),restoredFromDeliveryId:w(n.restoredFromDeliveryId),operation:typeof n.operation==`string`&&v.has(n.operation)?n.operation:null,cleanupWarnings:Array.isArray(n.cleanupWarnings)?n.cleanupWarnings.filter(e=>typeof e==`string`&&e.length>0):[],safetyArchives:Array.isArray(n.safetyArchives)?n.safetyArchives.filter(e=>typeof e==`string`&&e.length>0):[],units:s,executionManifest:n.executionManifest&&typeof n.executionManifest==`object`&&n.executionManifest.version===1?n.executionManifest:void 0,repositoryDeliveries:Array.isArray(n.repositoryDeliveries)?n.repositoryDeliveries.slice(0,100).flatMap(e=>{if(!e||typeof e!=`object`)return[];let t=e;if(typeof t.repositoryId!=`string`||typeof t.deliveryId!=`string`||typeof t.name!=`string`||typeof t.path!=`string`)return[];let n=E({...t,prDeliveryId:t.deliveryId,repositoryDeliveries:void 0},i);return n?[{repositoryId:t.repositoryId,deliveryId:t.deliveryId,name:t.name,path:t.path,baseBranch:n.baseBranch,...C(t.integrationBranch)?{integrationBranch:C(t.integrationBranch)}:{},branch:n.branch,deliverySha:n.deliverySha??null,decision:n.decision,implementationOutcome:n.implementationOutcome??`unknown`,deliveryOutcome:n.deliveryOutcome??`unknown`,statusCode:n.statusCode??null,statusDetail:n.statusDetail??null,prUrl:n.prUrl,prNumber:n.prNumber,runIds:n.runIds,worktreeIds:Array.isArray(t.worktreeIds)?t.worktreeIds.filter(e=>typeof e==`string`):[]}]:[]}):void 0}}function ne(e){let t=D(e);if(t.terminal||t.deliveryBlocked||t.implementationFailed||t.noChanges||e.decision===`building`||e.decision===`implementation_failed`)return null;if(e.branch||e.deliverySha)return e.branch&&/^[0-9a-f]{40,64}$/i.test(e.deliverySha??``)?e.branch:null;let n=e.units??[];if(n.length!==1)return null;let r=n[0];return!r.succeeded||r.implementationOutcome===`failed`||r.deliveryOutcome===`blocked`||r.deliveryOutcome===`no_changes`||r.changed===!1?null:r.branch&&/^[0-9a-f]{40,64}$/i.test(r.finalSha??``)?r.branch:null}function D(e){let t=e.units??[],n=t.length>0?t.filter(e=>e.implementationOutcome===`succeeded`||e.implementationOutcome==null&&e.succeeded).length:e.implementationOutcome===`failed`?0:e.ticketIds.length,r=t.length>0?t.filter(e=>e.implementationOutcome===`failed`||e.implementationOutcome==null&&!e.succeeded).length:e.implementationOutcome===`failed`?e.ticketIds.length:0,i=e.decision===`no_changes`||e.decision===`completed`||e.deliveryOutcome===`no_changes`||e.statusCode===`no_changes`,a=e.implementationOutcome===`partially_succeeded`||e.deliveryOutcome===`partial`||n>0&&r>0,o=t.length>0?t.filter(e=>e.deliveryOutcome===`ready`||e.deliveryOutcome===`delivered`||e.deliveryOutcome==null&&e.succeeded).length:a?0:n,s=a&&o===0,c=e.implementationOutcome===`failed`||e.implementationOutcome==null&&e.decision===`implementation_failed`,l=e.deliveryOutcome===`retryable_failure`,u=!c&&!l&&(s||e.deliveryOutcome===`blocked`||[`commit_failed`,`branch_verification_failed`,`settlement_interrupted`,`recovery_unavailable`,`status_failed`,`ref_mismatch`,`delivery_failed`].includes(e.statusCode??``)),d=e.isContinuation===!0,f=[...new Set((e.runIds??[]).filter(e=>typeof e==`string`&&e.length>0))],p=f.length===1?f[0]:null,m=p&&e.branch?t.filter(t=>t.runId===p&&t.branch===e.branch):[],h=[...new Set(m.map(e=>e.worktreePath).filter(e=>!!e))],g=(e.statusCode===`settlement_interrupted`||e.statusCode===`recovery_unavailable`)&&d?h:[...new Set(t.map(e=>e.worktreePath).filter(e=>!!e))],_=e.decision===`pr_failed`&&e.deliveryOutcome===`blocked`&&u&&d&&!!e.prUrl&&!!e.branch&&f.length===1&&m.length>0&&h.length<=1&&e.statusCode===`settlement_interrupted`&&(e.implementationOutcome===`succeeded`||e.implementationOutcome===`partially_succeeded`),v=e.decision===`pr_failed`&&e.deliveryOutcome===`blocked`&&u&&d&&e.statusCode===`recovery_unavailable`,y=v&&!!e.prUrl&&!!e.branch&&f.length===1&&m.length>0&&h.length<=1&&(e.implementationOutcome===`succeeded`||e.implementationOutcome===`partially_succeeded`),b=g.length>0||v&&!!e.deliverySha,x=!c&&l&&(e.statusCode===`push_failed`||d||!!e.prUrl),S=!c&&l&&!x,C=e.decision===`pr_closed`,w=e.decision===`superseded`;return{noChanges:i,partial:a,partialUndeliverable:s,implementationFailed:c,deliveryBlocked:u,retryablePush:x,retryablePrCreation:S,manualRecovery:_,recoveryUnavailable:v,recoveryRecheck:y,hasDiscardableRecoveryResult:b,continuation:d,localOnly:e.prState===`local-only`,closed:C,superseded:w,terminal:e.decision===`merged`||e.decision===`discarded`||e.decision===`completed`||w,succeededCount:n,deliverableCount:o,failedCount:r,totalCount:t.length>0?t.length:e.ticketIds.length,units:t,cleanupWarnings:e.cleanupWarnings??[],safetyArchives:e.safetyArchives??[],recoveryWorktreePaths:g}}var re=a(`send-horizontal`,[[`path`,{d:`M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z`,key:`117uat`}],[`path`,{d:`M6 12h16`,key:`s4cdu5`}]]),O=e(t(),1),ie=`"\\/bfnrtu`;function k(e){return e===` `||e===` `||e===`\r`||e===`
1
+ import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-zu2_FqZY.js";import{t as r}from"./useSharedWebSocket-DaWuiO0S.js";import{n as i,t as a}from"./createLucideIcon-Bjbbp_KS.js";import{i as o}from"./useDesktop-DKNbOF0u.js";import{a as s,i as c,l,o as u,r as d,t as f}from"./dialog-CMgps2MY.js";import{t as p}from"./button-D1xExSTF.js";var m=new Set([`building`,`on_review`,`pr_draft`,`pr_ready`,`no_changes`,`completed`,`pr_closed`,`superseded`,`merged`,`discarded`,`implementation_failed`,`pr_failed`]),h=new Set([`none`,`local-only`,`pushed`,`pr-created`]),g=new Set([`running`,`succeeded`,`partially_succeeded`,`failed`,`unknown`]),_=new Set([`pending`,`ready`,`delivered`,`partial`,`no_changes`,`retryable_failure`,`blocked`,`not_started`,`unknown`]),v=new Set([`create-pr`,`publish`,`discard`,`poll-merge`,`merge-local`,`dismiss`,`reopen`,`acknowledge-no-changes`,`recover-and-retry`,`checkout`]),y=new Set([`implementation_running`,`implementation_failed`,`ready_for_review`,`restart_pending`,`partial_success`,`partial_delivery`,`existing_pr_updated`,`no_changes`,`commit_failed`,`branch_verification_failed`,`push_failed`,`settlement_interrupted`,`recovery_unavailable`,`operation_interrupted`,`delivery_failed`,`pr_draft_ready`,`pr_ready`,`pr_closed`,`merged`,`discarded`,`superseded`,`cleanup_incomplete`,`status_failed`,`ref_mismatch`]);function b(e){return typeof e==`string`&&y.has(e)}var x=`previous delivery action was interrupted by restart`;function S(e,t){return e===`operation_interrupted`||typeof t==`string`&&t.toLowerCase().includes(x)}var C=e=>typeof e==`string`&&e.length>0?e:null,w=e=>typeof e==`string`&&e.length>0?e:null;function T(e){if(!e)return null;let t=/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(e)?`${e.replace(` `,`T`)}Z`:e,n=Date.parse(t);return Number.isFinite(n)?n:null}function ee(e,t){let n=T(e),r=T(t);return n==null||r==null?null:r<n?-1:+(r>n)}function te(e){if(!e||typeof e!=`object`)return null;let t=e;if(typeof t.ticketId!=`number`||!Number.isFinite(t.ticketId)||typeof t.branch!=`string`)return null;let n=typeof t.implementationOutcome==`string`&&g.has(t.implementationOutcome)?t.implementationOutcome:void 0,r=typeof t.deliveryOutcome==`string`&&_.has(t.deliveryOutcome)?t.deliveryOutcome:void 0;return{ticketId:t.ticketId,branch:t.branch,succeeded:t.succeeded===!0,...C(t.runId)?{runId:C(t.runId)}:{},...n?{implementationOutcome:n}:{},...r?{deliveryOutcome:r}:{},initialSha:w(t.initialSha),finalSha:w(t.finalSha),...typeof t.changed==`boolean`?{changed:t.changed}:{},failureCode:w(t.failureCode),...t.branchOwnership===`created`||t.branchOwnership===`preexisting`||t.branchOwnership===`borrowed-pr`?{branchOwnership:t.branchOwnership}:{},worktreePath:w(t.worktreePath)}}function E(e,t){if(!e||typeof e!=`object`)return null;let n=e,r=C(n.prDeliveryId)??C(n.id),i=typeof n.railIndex==`number`&&Number.isFinite(n.railIndex)?n.railIndex:t;if(!r||i==null||typeof n.decision!=`string`||!m.has(n.decision))return null;let a=typeof n.implementationOutcome==`string`&&g.has(n.implementationOutcome)?n.implementationOutcome:void 0,o=typeof n.deliveryOutcome==`string`&&_.has(n.deliveryOutcome)?n.deliveryOutcome:void 0,s=(Array.isArray(n.units)?n.units:Array.isArray(n.branches)?n.branches:[]).map(te).filter(e=>e!==null);return{prDeliveryId:r,railIndex:i,railKey:typeof n.railKey==`string`?n.railKey:``,ticketIds:Array.isArray(n.ticketIds)?n.ticketIds.filter(e=>typeof e==`number`&&Number.isFinite(e)):[],baseBranch:typeof n.baseBranch==`string`?n.baseBranch:``,branch:w(n.branch),prUrl:w(n.prUrl),prNumber:typeof n.prNumber==`number`&&Number.isInteger(n.prNumber)&&n.prNumber>0?n.prNumber:null,prState:typeof n.prState==`string`&&h.has(n.prState)?n.prState:`none`,decision:n.decision,runIds:Array.isArray(n.runIds)?n.runIds.filter(e=>typeof e==`string`&&e.length>0):s.map(e=>e.runId).filter(e=>typeof e==`string`&&e.length>0),originConversationId:w(n.originConversationId),createdAt:typeof n.createdAt==`string`?n.createdAt:void 0,updatedAt:typeof n.updatedAt==`string`?n.updatedAt:void 0,...a?{implementationOutcome:a}:{},...o?{deliveryOutcome:o}:{},statusCode:w(n.statusCode),statusDetail:w(n.statusDetail),deliverySha:w(n.deliverySha),isContinuation:n.isContinuation===!0,supersedesDeliveryId:w(n.supersedesDeliveryId),restoredFromDeliveryId:w(n.restoredFromDeliveryId),operation:typeof n.operation==`string`&&v.has(n.operation)?n.operation:null,cleanupWarnings:Array.isArray(n.cleanupWarnings)?n.cleanupWarnings.filter(e=>typeof e==`string`&&e.length>0):[],safetyArchives:Array.isArray(n.safetyArchives)?n.safetyArchives.filter(e=>typeof e==`string`&&e.length>0):[],units:s,executionManifest:n.executionManifest&&typeof n.executionManifest==`object`&&n.executionManifest.version===1?n.executionManifest:void 0,repositoryDeliveries:Array.isArray(n.repositoryDeliveries)?n.repositoryDeliveries.slice(0,100).flatMap(e=>{if(!e||typeof e!=`object`)return[];let t=e;if(typeof t.repositoryId!=`string`||typeof t.deliveryId!=`string`||typeof t.name!=`string`||typeof t.path!=`string`)return[];let n=E({...t,prDeliveryId:t.deliveryId,repositoryDeliveries:void 0},i);return n?[{repositoryId:t.repositoryId,deliveryId:t.deliveryId,name:t.name,path:t.path,baseBranch:n.baseBranch,...C(t.integrationBranch)?{integrationBranch:C(t.integrationBranch)}:{},branch:n.branch,deliverySha:n.deliverySha??null,decision:n.decision,implementationOutcome:n.implementationOutcome??`unknown`,deliveryOutcome:n.deliveryOutcome??`unknown`,statusCode:n.statusCode??null,statusDetail:n.statusDetail??null,prUrl:n.prUrl,prNumber:n.prNumber,runIds:n.runIds,worktreeIds:Array.isArray(t.worktreeIds)?t.worktreeIds.filter(e=>typeof e==`string`):[]}]:[]}):void 0}}function ne(e){let t=D(e);if(t.terminal||t.deliveryBlocked||t.implementationFailed||t.noChanges||e.decision===`building`||e.decision===`implementation_failed`)return null;if(e.branch||e.deliverySha)return e.branch&&/^[0-9a-f]{40,64}$/i.test(e.deliverySha??``)?e.branch:null;let n=e.units??[];if(n.length!==1)return null;let r=n[0];return!r.succeeded||r.implementationOutcome===`failed`||r.deliveryOutcome===`blocked`||r.deliveryOutcome===`no_changes`||r.changed===!1?null:r.branch&&/^[0-9a-f]{40,64}$/i.test(r.finalSha??``)?r.branch:null}function D(e){let t=e.units??[],n=t.length>0?t.filter(e=>e.implementationOutcome===`succeeded`||e.implementationOutcome==null&&e.succeeded).length:e.implementationOutcome===`failed`?0:e.ticketIds.length,r=t.length>0?t.filter(e=>e.implementationOutcome===`failed`||e.implementationOutcome==null&&!e.succeeded).length:e.implementationOutcome===`failed`?e.ticketIds.length:0,i=e.decision===`no_changes`||e.decision===`completed`||e.deliveryOutcome===`no_changes`||e.statusCode===`no_changes`,a=e.implementationOutcome===`partially_succeeded`||e.deliveryOutcome===`partial`||n>0&&r>0,o=t.length>0?t.filter(e=>e.deliveryOutcome===`ready`||e.deliveryOutcome===`delivered`||e.deliveryOutcome==null&&e.succeeded).length:a?0:n,s=a&&o===0,c=e.implementationOutcome===`failed`||e.implementationOutcome==null&&e.decision===`implementation_failed`,l=e.deliveryOutcome===`retryable_failure`,u=!c&&!l&&(s||e.deliveryOutcome===`blocked`||[`commit_failed`,`branch_verification_failed`,`settlement_interrupted`,`recovery_unavailable`,`status_failed`,`ref_mismatch`,`delivery_failed`].includes(e.statusCode??``)),d=e.isContinuation===!0,f=[...new Set((e.runIds??[]).filter(e=>typeof e==`string`&&e.length>0))],p=f.length===1?f[0]:null,m=p&&e.branch?t.filter(t=>t.runId===p&&t.branch===e.branch):[],h=[...new Set(m.map(e=>e.worktreePath).filter(e=>!!e))],g=(e.statusCode===`settlement_interrupted`||e.statusCode===`recovery_unavailable`)&&d?h:[...new Set(t.map(e=>e.worktreePath).filter(e=>!!e))],_=e.decision===`pr_failed`&&e.deliveryOutcome===`blocked`&&u&&d&&!!e.prUrl&&!!e.branch&&f.length===1&&m.length>0&&h.length<=1&&e.statusCode===`settlement_interrupted`&&(e.implementationOutcome===`succeeded`||e.implementationOutcome===`partially_succeeded`),v=e.decision===`pr_failed`&&e.deliveryOutcome===`blocked`&&u&&d&&e.statusCode===`recovery_unavailable`,y=v&&!!e.prUrl&&!!e.branch&&f.length===1&&m.length>0&&h.length<=1&&(e.implementationOutcome===`succeeded`||e.implementationOutcome===`partially_succeeded`),b=g.length>0||v&&!!e.deliverySha,x=!c&&l&&(e.statusCode===`push_failed`||d||!!e.prUrl),S=!c&&l&&!x,C=e.decision===`pr_closed`,w=e.decision===`superseded`;return{noChanges:i,partial:a,partialUndeliverable:s,implementationFailed:c,deliveryBlocked:u,retryablePush:x,retryablePrCreation:S,manualRecovery:_,recoveryUnavailable:v,recoveryRecheck:y,hasDiscardableRecoveryResult:b,continuation:d,localOnly:e.prState===`local-only`,closed:C,superseded:w,terminal:e.decision===`merged`||e.decision===`discarded`||e.decision===`completed`||w,succeededCount:n,deliverableCount:o,failedCount:r,totalCount:t.length>0?t.length:e.ticketIds.length,units:t,cleanupWarnings:e.cleanupWarnings??[],safetyArchives:e.safetyArchives??[],recoveryWorktreePaths:g}}var re=a(`send-horizontal`,[[`path`,{d:`M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z`,key:`117uat`}],[`path`,{d:`M6 12h16`,key:`s4cdu5`}]]),O=e(t(),1),ie=`"\\/bfnrtu`;function k(e){return e===` `||e===` `||e===`\r`||e===`
2
2
  `}function ae(e){let t=new Set,n=e.trim(),r=/^```[A-Za-z0-9_-]*[ \t]*\r?\n/.exec(n);r&&(n=n.slice(r[0].length),t.add(`nested_fence`));let i=/\r?\n[ \t]*```[ \t]*$/.exec(n);i&&(n=n.slice(0,i.index),t.add(`nested_fence`));let a=n.indexOf(`{`),o=n.lastIndexOf(`}`);a!==-1&&o>a&&(a>0||o<n.length-1)&&(n=n.slice(a,o+1),t.add(`trimmed_wrapper`));let s=``,c=!1;for(let e=0;e<n.length;e++){let r=n[e];if(c){if(r===`\\`){let i=n[e+1];if(i===void 0){t.add(`dangling_escape`);break}if(ie.includes(i)){s+=r+i,e+=1;continue}s+=i===`
3
3
  `?`\\n`:i,e+=1,t.add(`invalid_escape`);continue}if(r===`"`){let i=e+1;for(;i<n.length&&k(n[i]);)i+=1;let a=n[i];if(a===void 0||a===`,`||a===`}`||a===`]`||a===`:`){c=!1,s+=r;continue}s+=`\\"`,t.add(`inner_quote`);continue}if(r===`
4
4
  `){s+=`\\n`,t.add(`raw_newline`);continue}if(r===`\r`){t.add(`raw_newline`);continue}if(r===` `){s+=`\\t`,t.add(`raw_control`);continue}let i=r.charCodeAt(0);if(i<32){s+=`\\u`+i.toString(16).padStart(4,`0`),t.add(`raw_control`);continue}s+=r;continue}if(r===`"`){c=!0,s+=r;continue}if(r===`,`){let i=e+1;for(;i<n.length&&k(n[i]);)i+=1;if(n[i]===`}`||n[i]===`]`){t.add(`trailing_comma`);continue}s+=r;continue}if(r===`/`&&n[e+1]===`/`){let r=n.indexOf(`
@@ -1,2 +1,2 @@
1
- import{t as e}from"./jsx-runtime-zu2_FqZY.js";import{n as t}from"./createLucideIcon-Bjbbp_KS.js";import{r as n}from"./useDesktop-ChSmmJfc.js";import{t as r}from"./project-repositories-DZKmieH3.js";var i=e();function a({value:e,onChange:a,disabled:o=!1,repositories:s,workspaceOnly:c=!1,workspaceSelection:l,onWorkspaceChange:u,showSingle:d=!1,label:f,hint:p}){let{t:m}=t(`common`),{activeProjectId:h,projects:g}=n(),_=s??r(g.find(e=>e.id===h)),v=_.find(e=>e.isPrimary),y=e??(v?[v.id]:[]),b=y.some(e=>!_.some(t=>t.id===e));if(c){let e=_.filter(e=>y.includes(e.id)&&(e.workspacePaths?.length||e.workspacePath));return e.length?(0,i.jsxs)(`fieldset`,{className:`space-y-2`,disabled:o,children:[(0,i.jsx)(`legend`,{className:`text-xs font-medium`,children:m(`repositories.launchWorkspaces`)}),(0,i.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:m(`repositories.launchWorkspaceHint`)}),e.map(e=>{let t=e.workspacePaths??[e.workspacePath],n=l?.[e.id]??t;return(0,i.jsxs)(`div`,{className:`space-y-1`,children:[(0,i.jsx)(`span`,{className:`text-xs font-medium`,children:e.name}),t.map(t=>(0,i.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,title:t,children:[(0,i.jsx)(`input`,{type:`checkbox`,"data-agent-interactive":!0,checked:n.includes(t),disabled:o||n.length===1&&n[0]===t,onChange:r=>u?.({...Object.fromEntries(Object.entries(l??{}).filter(([e])=>y.includes(e))),[e.id]:r.target.checked?[...n,t]:n.filter(e=>e!==t)})}),(0,i.jsx)(`span`,{className:`break-all`,children:t})]},t))]},e.id)})]}):null}return!d&&_.length<=1&&!b?null:(0,i.jsxs)(`fieldset`,{className:`space-y-2`,disabled:o,children:[(0,i.jsx)(`legend`,{className:`mb-1 text-xs font-medium`,children:f??m(`repositories.specScope`)}),(0,i.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:p??m(`repositories.scopeHint`)}),(0,i.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[_.map(e=>(0,i.jsxs)(`label`,{title:e.workspacePaths?.join(`
1
+ import{t as e}from"./jsx-runtime-zu2_FqZY.js";import{n as t}from"./createLucideIcon-Bjbbp_KS.js";import{r as n}from"./useDesktop-DKNbOF0u.js";import{t as r}from"./project-repositories-CadLZOnr.js";var i=e();function a({value:e,onChange:a,disabled:o=!1,repositories:s,workspaceOnly:c=!1,workspaceSelection:l,onWorkspaceChange:u,showSingle:d=!1,label:f,hint:p}){let{t:m}=t(`common`),{activeProjectId:h,projects:g}=n(),_=s??r(g.find(e=>e.id===h)),v=_.find(e=>e.isPrimary),y=e??(v?[v.id]:[]),b=y.some(e=>!_.some(t=>t.id===e));if(c){let e=_.filter(e=>y.includes(e.id)&&(e.workspacePaths?.length||e.workspacePath));return e.length?(0,i.jsxs)(`fieldset`,{className:`space-y-2`,disabled:o,children:[(0,i.jsx)(`legend`,{className:`text-xs font-medium`,children:m(`repositories.launchWorkspaces`)}),(0,i.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:m(`repositories.launchWorkspaceHint`)}),e.map(e=>{let t=e.workspacePaths??[e.workspacePath],n=l?.[e.id]??t;return(0,i.jsxs)(`div`,{className:`space-y-1`,children:[(0,i.jsx)(`span`,{className:`text-xs font-medium`,children:e.name}),t.map(t=>(0,i.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,title:t,children:[(0,i.jsx)(`input`,{type:`checkbox`,"data-agent-interactive":!0,checked:n.includes(t),disabled:o||n.length===1&&n[0]===t,onChange:r=>u?.({...Object.fromEntries(Object.entries(l??{}).filter(([e])=>y.includes(e))),[e.id]:r.target.checked?[...n,t]:n.filter(e=>e!==t)})}),(0,i.jsx)(`span`,{className:`break-all`,children:t})]},t))]},e.id)})]}):null}return!d&&_.length<=1&&!b?null:(0,i.jsxs)(`fieldset`,{className:`space-y-2`,disabled:o,children:[(0,i.jsx)(`legend`,{className:`mb-1 text-xs font-medium`,children:f??m(`repositories.specScope`)}),(0,i.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:p??m(`repositories.scopeHint`)}),(0,i.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[_.map(e=>(0,i.jsxs)(`label`,{title:e.workspacePaths?.join(`
2
2
  `)??e.workspacePath??e.path,className:`flex items-center gap-2 rounded border border-border px-2 py-1.5 text-xs`,children:[(0,i.jsx)(`input`,{type:`checkbox`,"data-agent-interactive":!0,checked:y.includes(e.id),"aria-label":e.available===!1?`${m(`repositories.unavailable`)}: ${e.name}`:void 0,disabled:o||(e.available===!1||e.kind===`folder`&&!e.isPrimary)&&!y.includes(e.id)||y.length===1&&y[0]===e.id,onChange:t=>a(t.target.checked?[...y,e.id]:y.filter(t=>t!==e.id))}),(0,i.jsx)(`span`,{children:e.name}),e.available===!1&&(0,i.jsxs)(`span`,{className:`text-destructive`,children:[` `,m(`repositories.unavailable`)]}),e.workspacePaths?.map(e=>(0,i.jsx)(`span`,{className:`text-muted-foreground`,children:e},e)),!e.workspacePaths&&e.workspacePath&&(0,i.jsx)(`span`,{className:`text-muted-foreground`,children:e.workspacePath}),e.kind===`folder`&&!e.isPrimary&&(0,i.jsx)(`span`,{className:`text-muted-foreground`,children:m(`repositories.contextOnly`)})]},e.id)),y.filter(e=>!_.some(t=>t.id===e)).map(e=>(0,i.jsxs)(`label`,{className:`flex items-center gap-2 rounded border border-destructive px-2 py-1.5 text-xs`,children:[(0,i.jsx)(`input`,{type:`checkbox`,"data-agent-interactive":!0,checked:!0,disabled:o||y.length===1,onChange:()=>a(y.filter(t=>t!==e))}),m(`repositories.unavailable`),`: `,e]},e))]}),b&&(0,i.jsx)(`p`,{role:`alert`,className:`text-xs text-destructive`,children:m(`repositories.invalidSelection`)})]})}export{a as t};
@@ -1,4 +1,4 @@
1
- import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-zu2_FqZY.js";import{d as r,f as i,u as ee}from"./chunk-KS7C4IRE-DEKu087k.js";import{n as te,t as a}from"./createLucideIcon-Bjbbp_KS.js";import{a as o,r as ne}from"./useDesktop-ChSmmJfc.js";import{H as re,n as ie,q as ae}from"./TicketDetailModalContext-gGUv7gsQ.js";import{C as oe,E as se,b as ce,r as le,t as ue,w as de}from"./RepositoryDeliveries-DIWDFLRM.js";import{n as s,r as fe}from"./save-OsUqVn99.js";import{l as pe}from"./MinimizedChatsContext-Bc9xHByW.js";import{n as me}from"./zap-CUOlvtT1.js";import{n as c}from"./file-text-BcLCfcWZ.js";import{t as l}from"./loader-circle-DcygOQpC.js";import{t as he}from"./sparkles-DrY8hb0X.js";import{t as u}from"./triangle-alert-H9T4jAmh.js";import{t as d}from"./utils-BC4DHlz2.js";import{n as f,t as p}from"./lib-CGdyxIWg.js";import{Pt as ge,bt as m,v as _e}from"./index-DVkWHOR3.js";var ve=a(`circle-dollar-sign`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`,key:`1h4pet`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}]]),h=a(`file-diff`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}],[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`M9 17h6`,key:`r8uit2`}]]),g=e(t(),1),_=n();function v(e){return e.split(/\n{2,}/).map(e=>{if(e.includes(`
1
+ import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-zu2_FqZY.js";import{d as r,f as i,u as ee}from"./chunk-KS7C4IRE-DEKu087k.js";import{n as te,t as a}from"./createLucideIcon-Bjbbp_KS.js";import{a as o,r as ne}from"./useDesktop-DKNbOF0u.js";import{H as re,n as ie,q as ae}from"./TicketDetailModalContext-YBJX3RmP.js";import{C as oe,E as se,b as ce,r as le,t as ue,w as de}from"./RepositoryDeliveries-DJCm1pZr.js";import{n as s,r as fe}from"./save-OsUqVn99.js";import{l as pe}from"./MinimizedChatsContext-CroAs6Kh.js";import{n as me}from"./zap-CUOlvtT1.js";import{n as c}from"./file-text-BcLCfcWZ.js";import{t as l}from"./loader-circle-DcygOQpC.js";import{t as he}from"./sparkles-DrY8hb0X.js";import{t as u}from"./triangle-alert-H9T4jAmh.js";import{t as d}from"./utils-BC4DHlz2.js";import{n as f,t as p}from"./lib-CGdyxIWg.js";import{Pt as ge,bt as m,v as _e}from"./index-lTGJJTuk.js";var ve=a(`circle-dollar-sign`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`,key:`1h4pet`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}]]),h=a(`file-diff`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}],[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`M9 17h6`,key:`r8uit2`}]]),g=e(t(),1),_=n();function v(e){return e.split(/\n{2,}/).map(e=>{if(e.includes(`
2
2
  `))return e;let t=e.match(/(?:^|\s)(\d{1,2})\.\s+(?=\S)/g);return!t||t.length<3?e:e.replace(/\s+(\d{1,2})\.\s+(?=\S)/g,(e,t,n)=>n===0?e:`\n${t}. `)}).join(`
3
3
 
4
4
  `)}function y({children:e,muted:t=!1,className:n}){let r=(0,g.useMemo)(()=>({a:({href:e,children:t})=>(0,_.jsx)(`a`,{href:e,target:`_blank`,rel:`noreferrer`,className:`text-accent-primary underline decoration-accent-primary/40 underline-offset-2 hover:decoration-accent-primary`,children:t}),img:()=>null,code:({className:e,children:t})=>e?(0,_.jsx)(`code`,{className:e,children:t}):(0,_.jsx)(`code`,{className:`rounded-md border border-border/50 bg-background-deep/60 px-1.5 py-px font-mono text-[0.85em] text-accent-info`,children:t})}),[]);return(0,_.jsx)(`div`,{"data-testid":`packet-markdown`,className:d(`prose prose-invert prose-sm max-w-none leading-relaxed`,`prose-p:my-1.5 prose-headings:mt-3 prose-headings:mb-1 prose-headings:text-sm prose-headings:font-semibold`,`prose-strong:text-foreground prose-ul:my-1.5 prose-ol:my-1.5 prose-li:my-0.5 prose-li:marker:text-accent-primary/70`,`prose-pre:my-2 prose-pre:rounded-lg prose-pre:border prose-pre:border-border/50 prose-pre:bg-background-deep/60 prose-pre:text-xs`,`prose-blockquote:border-accent-primary/40 prose-blockquote:text-muted-foreground prose-hr:border-border/50`,t?`text-muted-foreground`:`text-foreground/85`,n),children:(0,_.jsx)(f,{remarkPlugins:[p],skipHtml:!0,components:r,children:v(e)})})}var b=(e={})=>({verbs:[],acceptMeaning:null,fineControlOnly:!1,inFlight:!1,terminal:!1,requiresIrreversibleConfirm:!1,...e});function ye(e){let{decision:t,presentation:n,prUrl:r,canCreatePr:i}=e;if(t===`building`)return b({inFlight:!0});if(t===`merged`||t===`discarded`||n.superseded)return b({terminal:!0});if(n.manualRecovery||n.recoveryUnavailable||n.recoveryRecheck||n.retryablePush||n.retryablePrCreation||n.closed||n.deliveryBlocked&&!n.implementationFailed)return b({fineControlOnly:!0});if(n.noChanges)return b({verbs:[`accept`,`request-changes`],acceptMeaning:`mark-done`});if(n.implementationFailed)return b({verbs:n.succeededCount>0?[`request-changes`,`discard`]:[`discard`]});if(t===`pr_draft`)return b(r?{verbs:[`accept`,`request-changes`,`discard`],acceptMeaning:`publish`}:{fineControlOnly:!0});if(t===`pr_ready`)return b({verbs:[`request-changes`,`discard`]});if(t===`on_review`){let e=i?`create-pr`:`merge-local`;return b({verbs:[`accept`,`request-changes`,`discard`],acceptMeaning:e,requiresIrreversibleConfirm:e===`merge-local`})}return b({fineControlOnly:!0})}function be(e,t){if(e===`discard`)return`discard`;if(e===`request-changes`)return null;switch(t.acceptMeaning){case`create-pr`:return`create-pr`;case`publish`:return`publish`;case`merge-local`:return`merge-local`;case`mark-done`:return`acknowledge-no-changes`;default:return null}}var xe=[`app-verified`,`ai-reported`,`reviewer-score`],Se={"app-verified":m,"ai-reported":he,"reviewer-score":h},Ce={"app-verified":`text-accent-success border-accent-success/30 bg-accent-success/5`,"ai-reported":`text-accent-highlight border-accent-highlight/30 bg-accent-highlight/5`,"reviewer-score":`text-accent-info border-accent-info/30 bg-accent-info/5`};function x({item:e}){let{t}=te(`packet`);return(0,_.jsxs)(`li`,{className:`flex flex-col gap-1 py-1.5`,children:[(0,_.jsx)(`span`,{className:`text-sm text-foreground`,children:t(e.code,{...e.values??{},defaultValue:e.code})}),e.rawExcerpt?(0,_.jsx)(`pre`,{className:`max-h-32 overflow-auto rounded border border-border/60 bg-background-deep/60 p-2 text-[11px] leading-relaxed text-muted-foreground whitespace-pre-wrap`,children:e.rawExcerpt}):null]})}function we(e){return e.implementationOutcome===`failed`?`failed`:e.deliveryOutcome===`no_changes`||e.implementationOutcome===`succeeded`&&e.changed===!1?`noChanges`:e.deliveryOutcome===`not_started`?`notStarted`:e.implementationOutcome===`succeeded`?`succeeded`:`unknown`}var S={resolved:`border-accent-success/40 bg-accent-success/10 text-accent-success`,partial:`border-accent-warning/40 bg-accent-warning/10 text-accent-warning`,blocked:`border-destructive/40 bg-destructive/10 text-destructive`,unreported:`border-border bg-background-deep/50 text-muted-foreground`},Te={succeeded:`border-accent-success/40 bg-accent-success/10 text-accent-success`,noChanges:`border-accent-info/40 bg-accent-info/10 text-accent-info`,failed:`border-destructive/40 bg-destructive/10 text-destructive`,notStarted:`border-border bg-background-deep/50 text-muted-foreground`,unknown:`border-border bg-background-deep/50 text-muted-foreground`};function C({title:e,children:t,defaultOpen:n=!1,badge:r}){let[i,ee]=(0,g.useState)(n);return(0,_.jsxs)(`div`,{className:`rounded-lg border border-border/60 bg-surface/40`,children:[(0,_.jsxs)(`button`,{type:`button`,onClick:()=>ee(e=>!e),className:`flex w-full items-center gap-2 px-4 py-3 text-left`,"aria-expanded":i,children:[i?(0,_.jsx)(s,{className:`size-4 shrink-0 text-muted-foreground`,"aria-hidden":!0}):(0,_.jsx)(c,{className:`size-4 shrink-0 text-muted-foreground`,"aria-hidden":!0}),(0,_.jsx)(`span`,{className:`flex-1 text-sm font-medium text-foreground`,children:e}),r]}),i?(0,_.jsx)(`div`,{className:`border-t border-border/60 px-4 py-3`,children:t}):null]})}function w(e={}){let t=r(),n=e.prDeliveryId??t.prDeliveryId,{t:a}=te([`packet`,`common`]),s=ee(),[c,he]=i(),d=c.get(`repositoryId`),f=(0,g.useRef)(0),p=e.onClose??(()=>s(`/`)),{activeProjectId:m}=ne(),h=le(m),v=n?h.has(n):!1,{act:b,checkout:w}=_e(),{openTicketDetail:Ee}=ie(),T=JSON.stringify([m,n,d]),E=(0,g.useRef)({key:T,epoch:0});E.current.key!==T&&(E.current={key:T,epoch:E.current.epoch+1});let D=E.current.epoch,O=(0,g.useRef)(!0);(0,g.useEffect)(()=>(O.current=!0,()=>{O.current=!1}),[]);let k=(0,g.useCallback)(()=>O.current&&E.current.key===T&&E.current.epoch===D,[T,D]),[A,j]=(0,g.useState)(null),M=A?.key===T&&A.epoch===D?A:null,N=M?.data??null,P=M?.loading??!0,F=M?.error??null,[I,L]=(0,g.useState)(null),[De,R]=(0,g.useState)(!1),[z,B]=(0,g.useState)(null),[V,H]=(0,g.useState)(``),[U,W]=(0,g.useState)(!1),[G,K]=(0,g.useState)(null),[Oe,q]=(0,g.useState)(!1),J=(0,g.useCallback)(async()=>{if(!n||!m||!k())return;let e=++f.current,t=()=>k()&&f.current===e;j(e=>({key:T,epoch:D,data:e?.key===T&&e.epoch===D?e.data:null,loading:!0,error:null}));try{let e=d?`?repositoryId=${encodeURIComponent(d)}`:``,r=await fetch(`${o()}/rails/pr-deliveries/${n}/packet${e}`);if(!t())return;if(!r.ok){j({key:T,epoch:D,data:null,loading:!1,error:r.status===404?`notFound`:`loadFailed`});return}let i=await r.json();if(!t())return;j({key:T,epoch:D,data:i,loading:!1,error:null})}catch{if(!t())return;j({key:T,epoch:D,data:null,loading:!1,error:`loadFailed`})}},[n,m,d,T,D,k]);(0,g.useEffect)(()=>(J(),R(!1),q(!1),L(null),B(null),K(null),W(!1),H(``),()=>{f.current++}),[J]);let Y=(0,g.useMemo)(()=>de(N?.snapshot),[N?.snapshot]),X=N?.packet??null,Z=P||I!==null||U||!!Y?.operation,ke=N?.acceptCapability??null,Q=(0,g.useMemo)(()=>{if(!X)return null;let e=se({decision:X.decision,ticketIds:X.ticketIds,prState:X.prUrl?`pr-created`:`none`,statusCode:X.statusCode,prUrl:X.prUrl,runIds:X.runIds});return ye({decision:X.decision,presentation:e,prUrl:X.prUrl,canCreatePr:ke?.target===`create-pr`})},[X,ke]),$=(0,g.useCallback)(async e=>{if(!X||!Q||Z||!k())return;let t=be(e,Q);if(t){B(null),L(e);try{let e=await(d&&Y?b(Y.railIndex,t,Y.decision,Y.prDeliveryId,d):b(X.railIndex,t,X.decision,X.prDeliveryId));if(!k())return;e.ok?m&&ce(m):B(e.status===409&&e.error===`stale_decision`?`alreadyResolved`:`actionFailed`),await J()}finally{k()&&(L(null),R(!1))}}},[b,m,J,X,Q,Y,d,Z,k]),Ae=(0,g.useCallback)(async()=>{if(!(!X||!V.trim()||!m||Z||!k())){K(null),W(!0);try{let t=await fetch(`${o()}/rails/${X.railIndex}/launch`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({loopId:`factory:sdd-quick-openspec`,revisionOfDeliveryId:Y?.prDeliveryId??X.prDeliveryId,revisionNote:V.trim(),...Y?.executionManifest?{repositoryIds:Y.executionManifest.selectedRepositoryIds}:{}})});if(!k())return;if(!t.ok){let e=await t.json().catch(()=>null);if(!k())return;K(e?.error===`invalid_revision_target`?`revisionStale`:`revisionFailed`);return}H(``),q(!1);let r=await t.json().catch(()=>null);if(!k())return;r?.prDeliveryId&&r.prDeliveryId!==n?e.onClose?e.onClose():s(`/review/${encodeURIComponent(r.prDeliveryId)}`):await J()}catch{k()&&K(`revisionFailed`)}finally{k()&&W(!1)}}},[m,J,X,V,Y,Z,k,n,e.onClose,s]);if(P&&!X)return(0,_.jsxs)(`div`,{className:`flex h-full items-center justify-center text-muted-foreground`,children:[(0,_.jsx)(l,{className:`mr-2 size-4 animate-spin`,"aria-hidden":!0}),a(`common:states.loading`)]});if(F||!X||!Q)return(0,_.jsxs)(`div`,{className:`mx-auto flex max-w-2xl flex-col items-center gap-4 p-10 text-center`,children:[(0,_.jsx)(u,{className:`size-6 text-accent-warning`,"aria-hidden":!0}),(0,_.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:a(F===`notFound`?`error.notFound`:`error.loadFailed`)}),(0,_.jsx)(`button`,{type:`button`,onClick:p,className:`rounded-md border border-border px-3 py-1.5 text-sm text-foreground hover:bg-surface`,children:a(`backToBoard`)})]});let je=xe.map(e=>({tier:e,items:X.proof.filter(t=>t.tier===e)})).filter(e=>e.items.length>0),Me=X.cost.totalUsd===null?`—`:`${X.cost.estimated?`~`:``}$${X.cost.totalUsd.toFixed(2)}`;return(0,_.jsxs)(`div`,{className:`mx-auto flex w-full max-w-3xl flex-col gap-4 p-6`,children:[(0,_.jsxs)(`button`,{type:`button`,onClick:p,className:`flex w-fit items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground`,children:[(0,_.jsx)(fe,{className:`size-3.5`,"aria-hidden":!0}),a(`backToBoard`)]}),Y?.repositoryDeliveries?.length?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[a(`common:repositories.select`),(0,_.jsxs)(`select`,{value:d??``,onChange:e=>{let t=new URLSearchParams(c);e.target.value?t.set(`repositoryId`,e.target.value):t.delete(`repositoryId`),he(t,{replace:!0})},className:`rounded border border-border bg-background px-2 py-1`,children:[(0,_.jsx)(`option`,{value:``,children:a(`common:repositories.all`)}),Y.repositoryDeliveries.map(e=>(0,_.jsx)(`option`,{value:e.repositoryId,children:e.name},e.repositoryId))]})]}),(0,_.jsx)(ue,{deliveryId:Y.prDeliveryId,repositories:Y.repositoryDeliveries,busy:Z,onAct:async(e,t)=>{if(!(Z||!k())){L(`accept`);try{let n=await b(Y.railIndex,e,Y.decision,Y.prDeliveryId,t);if(!k())return;n.ok||B(`actionFailed`),await J()}finally{k()&&L(null)}}},onCheckout:async e=>{if(!(Z||!k())){L(`accept`);try{let t=await w(Y.railIndex,Y.prDeliveryId,e);if(!k())return;t.ok||B(`actionFailed`),await J()}finally{k()&&L(null)}}}})]}):null,(0,_.jsxs)(`div`,{className:`rounded-xl border border-border/70 bg-surface/60 p-5 shadow-sm`,children:[(0,_.jsx)(`h1`,{className:`text-lg font-semibold text-foreground`,children:a(X.headlineCode,{count:X.totalCount,succeeded:X.succeededCount,total:X.totalCount,defaultValue:X.headlineCode})}),(0,_.jsxs)(`div`,{className:`mt-2 flex flex-wrap items-center gap-2 text-xs`,children:[X.confidence?.overall!==null&&X.confidence?.overall!==void 0?(0,_.jsx)(`span`,{className:`inline-flex items-center gap-1 rounded-full border border-accent-info/30 bg-accent-info/10 px-2 py-0.5 text-accent-info`,title:a(`confidence.tooltip`),children:a(`confidence.pill`,{overall:X.confidence.overall})}):(0,_.jsx)(`span`,{className:`inline-flex items-center gap-1 rounded-full border border-border bg-background-deep/50 px-2 py-0.5 text-muted-foreground`,children:a(`confidence.unavailable`)}),(0,_.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-muted-foreground`,children:[(0,_.jsx)(ve,{className:`size-3.5`,"aria-hidden":!0}),a(`cost.thisBuild`,{amount:Me})]}),X.prUrl?(0,_.jsxs)(`a`,{href:X.prUrl,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-1 text-accent-info hover:underline`,children:[(0,_.jsx)(ae,{className:`size-3.5`,"aria-hidden":!0}),a(`openPr`,{number:X.prNumber??``})]}):null]}),Q.fineControlOnly?(0,_.jsx)(`p`,{className:`mt-4 rounded-md border border-accent-warning/30 bg-accent-warning/5 px-3 py-2 text-xs text-accent-warning`,children:a(`fineControlOnly`)}):Q.inFlight?(0,_.jsxs)(`p`,{className:`mt-4 flex items-center gap-2 text-sm text-muted-foreground`,children:[(0,_.jsx)(l,{className:`size-4 animate-spin`,"aria-hidden":!0}),a(`stillWorking`)]}):Q.terminal?(0,_.jsx)(`p`,{className:`mt-4 text-sm text-muted-foreground`,children:a(`alreadyResolved`)}):(0,_.jsxs)(`div`,{className:`mt-4 flex flex-wrap items-center gap-2`,children:[Q.verbs.includes(`accept`)&&(!Y?.repositoryDeliveries?.length||d)?De?(0,_.jsxs)(`div`,{className:`flex w-full flex-col gap-2 rounded-md border border-destructive/40 bg-destructive/5 p-3`,children:[(0,_.jsx)(`p`,{className:`text-xs text-foreground`,children:a(`accept.irreversibleWarning`)}),(0,_.jsxs)(`div`,{className:`flex gap-2`,children:[(0,_.jsx)(`button`,{type:`button`,onClick:()=>void $(`accept`),disabled:Z,className:`rounded-md bg-destructive px-3 py-1.5 text-sm font-medium text-white disabled:opacity-50`,"data-testid":`packet-accept-confirm`,children:a(`accept.irreversibleConfirm`)}),(0,_.jsx)(`button`,{type:`button`,onClick:()=>R(!1),className:`rounded-md border border-border px-3 py-1.5 text-sm text-foreground`,children:a(`common:actions.cancel`)})]})]}):(0,_.jsxs)(`button`,{type:`button`,onClick:()=>{Q.requiresIrreversibleConfirm?R(!0):$(`accept`)},disabled:Z,className:`inline-flex items-center gap-1.5 rounded-md bg-accent-success px-3 py-1.5 text-sm font-medium text-white disabled:opacity-50`,"data-testid":`packet-accept`,children:[I===`accept`?(0,_.jsx)(l,{className:`size-4 animate-spin`,"aria-hidden":!0}):(0,_.jsx)(pe,{className:`size-4`,"aria-hidden":!0}),a(`accept.${Q.acceptMeaning??`generic`}`)]}):null,Q.verbs.includes(`request-changes`)?(0,_.jsxs)(`button`,{type:`button`,onClick:()=>q(e=>!e),disabled:Z||U,"aria-expanded":Oe,className:`inline-flex items-center gap-1.5 rounded-md border border-border px-3 py-1.5 text-sm text-foreground hover:bg-surface disabled:opacity-50`,"data-testid":`packet-request-changes`,children:[(0,_.jsx)(re,{className:`size-4`,"aria-hidden":!0}),a(`requestChanges.label`)]}):null,Q.verbs.includes(`discard`)?(0,_.jsxs)(`button`,{type:`button`,onClick:()=>void $(`discard`),disabled:Z,className:`inline-flex items-center gap-1.5 rounded-md border border-border px-3 py-1.5 text-sm text-foreground hover:bg-surface disabled:opacity-50`,"data-testid":`packet-discard`,children:[I===`discard`?(0,_.jsx)(l,{className:`size-4 animate-spin`,"aria-hidden":!0}):(0,_.jsx)(me,{className:`size-4`,"aria-hidden":!0}),a(`discard.label`)]}):null]}),v&&Q.verbs.includes(`discard`)?(0,_.jsx)(`p`,{className:`mt-3 rounded-md border border-accent-warning/40 bg-accent-warning/10 px-3 py-2 text-xs text-accent-warning`,"data-testid":`packet-discard-stacked-note`,children:a(`discard.stackedNote`)}):null,z?(0,_.jsx)(`p`,{className:`mt-3 text-xs text-accent-warning`,children:a(`error.${z}`)}):null,Oe?(0,_.jsxs)(`div`,{className:`mt-4 flex flex-col gap-2 rounded-md border border-border/70 bg-background-deep/40 p-3`,children:[(0,_.jsx)(`label`,{htmlFor:`packet-revision-note`,className:`text-xs font-medium text-foreground`,children:a(`requestChanges.prompt`)}),(0,_.jsx)(`textarea`,{id:`packet-revision-note`,value:V,onChange:e=>H(e.target.value),rows:2,placeholder:a(`requestChanges.placeholder`),className:`resize-y rounded-md border border-border bg-surface px-2 py-1.5 text-sm text-foreground placeholder:text-muted-foreground`,"data-testid":`packet-revision-input`}),(0,_.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,_.jsxs)(`button`,{type:`button`,onClick:()=>void Ae(),disabled:Z||V.trim().length===0,className:`inline-flex items-center gap-1.5 rounded-md bg-accent-primary px-3 py-1.5 text-sm font-medium text-white disabled:opacity-50`,"data-testid":`packet-revision-submit`,children:[U?(0,_.jsx)(l,{className:`size-4 animate-spin`,"aria-hidden":!0}):(0,_.jsx)(oe,{className:`size-4`,"aria-hidden":!0}),a(`requestChanges.submit`)]}),(0,_.jsx)(`span`,{className:`text-[11px] text-muted-foreground`,children:a(`requestChanges.hint`)})]}),G?(0,_.jsx)(`p`,{className:`text-xs text-accent-warning`,children:a(`error.${G}`)}):null]}):null]}),X.driftNudges.length>0?(0,_.jsxs)(`div`,{className:`rounded-lg border border-accent-highlight/30 bg-accent-highlight/5 p-4`,"data-testid":`packet-drift-nudges`,children:[(0,_.jsx)(`h2`,{className:`mb-1 text-sm font-medium text-accent-highlight`,children:a(`drift.title`)}),(0,_.jsx)(`ul`,{className:`space-y-1 text-xs text-foreground`,children:X.driftNudges.map(e=>(0,_.jsx)(`li`,{children:a(e.code,{...e.values,defaultValue:e.code})},e.code))}),(0,_.jsx)(`p`,{className:`mt-2 text-[11px] text-muted-foreground`,children:a(`drift.advisory`)})]}):null,X.versions.length>1?(0,_.jsxs)(C,{title:a(`versions.title`,{count:X.versions.length}),badge:(0,_.jsx)(ge,{className:`size-3.5 text-muted-foreground`,"aria-hidden":!0}),children:[(0,_.jsx)(`ol`,{className:`space-y-2`,"data-testid":`packet-versions`,children:X.versions.map(e=>(0,_.jsxs)(`li`,{className:`flex flex-col gap-0.5 text-sm`,children:[(0,_.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,_.jsx)(`span`,{className:e.current?`font-medium text-foreground`:`text-muted-foreground`,children:a(`versions.label`,{version:e.version})}),e.current?(0,_.jsx)(`span`,{className:`rounded-full border border-accent-primary/40 bg-accent-primary/10 px-1.5 text-[10px] text-accent-primary`,children:a(`versions.current`)}):null,(0,_.jsx)(`span`,{className:`text-[11px] text-muted-foreground`,children:e.costUsd===null?`—`:`${e.costEstimated?`~`:``}$${e.costUsd.toFixed(2)}`})]}),(0,_.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.revisionNote??a(`versions.originalBuild`)})]},e.prDeliveryId))}),(0,_.jsx)(`p`,{className:`mt-3 text-xs text-muted-foreground`,children:a(`cost.allVersions`,{amount:X.chainCostUsd===null?`—`:`${X.chainCostEstimated?`~`:``}$${X.chainCostUsd.toFixed(2)}`})})]}):null,X.watchOut.length>0?(0,_.jsxs)(`div`,{className:`rounded-lg border border-accent-warning/30 bg-accent-warning/5 p-4`,children:[(0,_.jsxs)(`h2`,{className:`mb-2 flex items-center gap-1.5 text-sm font-medium text-accent-warning`,children:[(0,_.jsx)(u,{className:`size-4`,"aria-hidden":!0}),a(`watchOut.title`)]}),(0,_.jsx)(`ul`,{className:`space-y-1`,children:X.watchOut.map((e,t)=>(0,_.jsx)(x,{item:e},`${e.code}-${t}`))})]}):null,(0,_.jsx)(C,{title:a(`sections.whatYouAsked`),defaultOpen:!0,children:(0,_.jsx)(`ul`,{className:`space-y-3`,children:X.sections.map(e=>(0,_.jsxs)(`li`,{className:`text-sm`,children:[(0,_.jsxs)(`button`,{type:`button`,onClick:()=>Ee(e.ticketId),className:`text-accent-primary hover:underline`,children:[`#`,e.ticketId,` `,e.title??``]}),e.problem?(0,_.jsx)(y,{muted:!0,className:`mt-1`,children:e.problem}):null]},e.ticketId))})}),X.followUp&&(0,_.jsxs)(C,{title:a(`followUp.title`,{count:X.followUp.comments.length}),defaultOpen:!0,children:[(0,_.jsx)(`p`,{className:`mb-2 text-xs text-muted-foreground`,children:a(`followUp.caveat`)}),(0,_.jsx)(`ul`,{className:`space-y-3`,"data-testid":`packet-follow-up`,children:X.followUp.comments.map(e=>{let t=X.followUpReport?.find(t=>t.commentId===e.id)??null,n=t?t.verdict:`unreported`;return(0,_.jsxs)(`li`,{className:`rounded-md border border-border/50 bg-background-deep/30 px-3 py-2 text-sm`,children:[(0,_.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,_.jsx)(`span`,{className:`rounded bg-surface/70 px-1 font-mono text-[10px] text-muted-foreground`,children:e.id}),e.path?(0,_.jsxs)(`span`,{className:`font-mono text-xs text-accent-info`,children:[e.path,e.line?`:${e.line}`:``]}):null,(0,_.jsx)(`span`,{className:`rounded-full border px-2 py-0.5 text-[10px] font-medium ${S[n]}`,"data-testid":`packet-follow-up-verdict`,children:a(`followUp.verdict.${n}`)}),(0,_.jsxs)(`span`,{className:`text-[10px] text-muted-foreground`,children:[a(`followUp.source.${e.source===`github`?`github`:`pasted`}`),e.author?` · ${e.author}`:``]})]}),(0,_.jsx)(y,{muted:!0,className:`mt-1`,children:e.body}),t?(0,_.jsxs)(`dl`,{className:`mt-1 grid gap-x-3 gap-y-0.5 text-xs text-muted-foreground sm:grid-cols-[auto_1fr]`,children:[t.files?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(`dt`,{className:`font-medium`,children:a(`followUp.files`)}),(0,_.jsx)(`dd`,{className:`font-mono`,children:t.files})]}):null,t.tests?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(`dt`,{className:`font-medium`,children:a(`followUp.tests`)}),(0,_.jsx)(`dd`,{children:t.tests})]}):null,t.notes?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(`dt`,{className:`font-medium`,children:a(`followUp.notes`)}),(0,_.jsx)(`dd`,{children:t.notes})]}):null]}):(0,_.jsx)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:a(`followUp.noReport`)})]},e.id)})}),X.followUp.scope.excludedChanges.length>0&&(0,_.jsxs)(`p`,{className:`mt-2 text-xs text-muted-foreground`,children:[(0,_.jsxs)(`span`,{className:`font-medium`,children:[a(`followUp.excluded`),`:`]}),` `,X.followUp.scope.excludedChanges.join(` · `)]})]}),X.specAddenda&&X.specAddenda.length>0&&(0,_.jsxs)(C,{title:a(`addenda.title`,{count:X.specAddenda.length}),defaultOpen:!0,children:[(0,_.jsx)(`p`,{className:`mb-2 text-xs text-muted-foreground`,children:a(`addenda.caveat`)}),(0,_.jsx)(`ul`,{className:`space-y-2`,"data-testid":`packet-addenda`,children:X.specAddenda.map(e=>{let t=X.specAddendaReport?.find(t=>t.addendumId===e.id)??null,n=t?t.verdict:`unreported`,r=n===`applied`?S.resolved:S[n];return(0,_.jsxs)(`li`,{className:`rounded-md border border-border/50 bg-background-deep/30 px-3 py-2 text-sm`,children:[(0,_.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,_.jsxs)(`span`,{className:`font-mono text-xs text-accent-primary`,children:[`#`,e.ticketId]}),(0,_.jsx)(`span`,{className:`rounded-full border border-border/50 px-1.5 py-px text-[10px] text-muted-foreground`,children:a(`addenda.kind.${e.kind}`)}),(0,_.jsx)(`span`,{className:`font-medium`,children:e.title}),(0,_.jsx)(`span`,{className:`rounded-full border px-2 py-0.5 text-[10px] font-medium ${r}`,"data-testid":`packet-addenda-verdict`,children:a(`addenda.verdict.${n}`)})]}),t?(0,_.jsxs)(`dl`,{className:`mt-1 grid gap-x-3 gap-y-0.5 text-xs text-muted-foreground sm:grid-cols-[auto_1fr]`,children:[t.files?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(`dt`,{className:`font-medium`,children:a(`followUp.files`)}),(0,_.jsx)(`dd`,{className:`font-mono`,children:t.files})]}):null,t.tests?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(`dt`,{className:`font-medium`,children:a(`followUp.tests`)}),(0,_.jsx)(`dd`,{children:t.tests})]}):null,t.notes?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(`dt`,{className:`font-medium`,children:a(`followUp.notes`)}),(0,_.jsx)(`dd`,{children:t.notes})]}):null]}):(0,_.jsx)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:a(`addenda.noReport`)})]},e.id)})})]}),(0,_.jsx)(C,{title:a(`sections.whatIDid`),children:(0,_.jsx)(`ul`,{className:`space-y-3`,children:X.sections.map(e=>(0,_.jsxs)(`li`,{className:`text-sm`,"data-testid":`packet-done-${e.ticketId}`,children:[(0,_.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,_.jsxs)(`span`,{className:`font-medium text-foreground`,children:[`#`,e.ticketId]}),e.title?(0,_.jsx)(`span`,{className:`text-foreground/80`,children:e.title}):null,(()=>{let t=we(e);return(0,_.jsx)(`span`,{className:`rounded-full border px-2 py-0.5 text-[10px] font-medium ${Te[t]}`,"data-testid":`packet-outcome-pill`,children:a(`outcome.${t}`)})})()]}),e.churn?(0,_.jsxs)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:[a(`churn.line`,{files:e.churn.filesTouched,added:e.churn.addedLines,removed:e.churn.removedLines}),` · `,e.churn.testFilesTouched.length>0?a(`churn.testFiles`,{count:e.churn.testFilesTouched.length}):a(`churn.noTestFiles`)]}):(0,_.jsx)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:a(`churn.batchNotSplittable`)}),e.solution?(0,_.jsxs)(`details`,{className:`group mt-2 rounded-md border border-border/50 bg-background-deep/30 px-3 py-2`,children:[(0,_.jsx)(`summary`,{className:`cursor-pointer select-none text-xs font-medium text-muted-foreground group-open:text-foreground/80`,children:a(`planned.title`)}),(0,_.jsx)(`p`,{className:`mt-1 text-[11px] italic text-muted-foreground/80`,children:a(`planned.caveat`)}),(0,_.jsx)(y,{className:`mt-2`,children:e.solutionOverflow??e.solution})]}):(0,_.jsx)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:a(`noSolutionRecorded`)})]},e.ticketId))})}),(0,_.jsx)(C,{title:a(`sections.howItWasChecked`),badge:X.evidenceUnavailable?(0,_.jsx)(`span`,{className:`rounded-full border border-border bg-background-deep/50 px-2 py-0.5 text-[10px] text-muted-foreground`,children:a(`proof.evidenceUnavailable`)}):void 0,children:(0,_.jsx)(`div`,{className:`space-y-4`,children:je.map(({tier:e,items:t})=>{let n=Se[e];return(0,_.jsxs)(`div`,{className:`rounded-md border px-3 py-2 ${Ce[e]}`,children:[(0,_.jsxs)(`h3`,{className:`mb-1 flex items-center gap-1.5 text-xs font-medium`,children:[(0,_.jsx)(n,{className:`size-3.5`,"aria-hidden":!0}),a(`tier.${e}.title`)]}),(0,_.jsx)(`p`,{className:`mb-2 text-[11px] opacity-80`,children:a(`tier.${e}.caveat`)}),(0,_.jsx)(`ul`,{className:`space-y-1`,children:t.map((e,t)=>(0,_.jsx)(x,{item:e},`${e.code}-${t}`))})]},e)})})})]})}export{w as default};
@@ -1 +1 @@
1
- import{t as e}from"./jsx-runtime-zu2_FqZY.js";import{n as t}from"./createLucideIcon-Bjbbp_KS.js";import{t as n}from"./download-CFHyyHcw.js";import{t as r}from"./git-branch-BRM0F5GN.js";import{n as i,t as a}from"./square-Ci-PFcFe.js";import{a as o,i as s,l as c,o as l,r as u,t as d}from"./dialog-CMgps2MY.js";import{t as f}from"./button-D1xExSTF.js";import{Yt as p,gt as m,nt as h}from"./index-DVkWHOR3.js";var g=e(),_={core:p,start:i,"ai-step":p,shell:m,decider:r,condition:r,end:a};function v(e){if(e.type===`core`){let t=e.data?.params;return t?String(t.text??t.prompt??t.goal??t.expr??t.question??t.message??t.ref??t.body??t.outcome??JSON.stringify(t,null,2)):null}return e.type===`ai-step`?typeof e.data?.prompt==`string`?e.data.prompt:null:e.type===`shell`?typeof e.data?.command==`string`?e.data.command:null:e.type===`decider`?typeof e.data?.goal==`string`?e.data.goal:null:e.type===`end`?e.data?.outcome===`failure`?`failure`:`success`:null}function y({template:e,onClose:r,onUse:i}){let{t:m}=t(`loops`);return(0,g.jsx)(d,{open:e!==null,onOpenChange:e=>{e||r()},children:(0,g.jsx)(u,{movableResizable:!0,className:`max-w-lg`,children:e&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(l,{children:[(0,g.jsxs)(c,{className:`flex items-center gap-2`,children:[(0,g.jsx)(p,{className:`w-4 h-4 text-accent-highlight`}),e.name]}),(0,g.jsx)(s,{children:e.description})]}),(0,g.jsxs)(`div`,{className:`flex flex-wrap gap-1.5`,children:[h(e.graph)?(0,g.jsx)(`span`,{title:m(`gallery.needsSpecHint`),className:`px-1.5 py-0.5 rounded text-[10px] bg-accent-secondary/15 text-accent-secondary`,children:m(`gallery.needsSpec`)}):(0,g.jsx)(`span`,{title:m(`gallery.standaloneHint`),className:`px-1.5 py-0.5 rounded text-[10px] bg-accent-success/15 text-accent-success`,children:m(`gallery.standalone`)}),e.category&&(0,g.jsx)(`span`,{className:`px-1.5 py-0.5 rounded text-[10px] bg-accent-info/15 text-accent-info`,children:m(`categories.${e.category}`,{defaultValue:e.category})}),e.tags.map(e=>(0,g.jsx)(`span`,{className:`px-1.5 py-0.5 rounded text-[10px] bg-muted text-muted-foreground`,children:e},e))]}),(0,g.jsx)(`p`,{className:`text-[11px] text-muted-foreground`,children:e.graph.config.timeoutMinutes>0?m(`preview.limits`,{iterations:e.graph.config.maxIterations,timeout:e.graph.config.timeoutMinutes}):m(`preview.limitsNoTimeout`,{iterations:e.graph.config.maxIterations})}),(0,g.jsxs)(`div`,{className:`max-h-[50vh] overflow-y-auto space-y-1.5 pr-1`,children:[(0,g.jsx)(`span`,{className:`block text-[10px] font-medium uppercase tracking-wide text-muted-foreground`,children:m(`preview.steps`)}),e.graph.nodes.map((e,t)=>{let n=_[e.type]??a,r=v(e);return(0,g.jsxs)(`div`,{className:`rounded border border-border bg-surface/30 p-2`,children:[(0,g.jsxs)(`div`,{className:`flex items-center gap-1.5 text-xs font-medium text-foreground`,children:[(0,g.jsxs)(`span`,{className:`text-[10px] text-muted-foreground tabular-nums`,children:[t+1,`.`]}),(0,g.jsx)(n,{className:`w-3.5 h-3.5 text-accent-primary`}),m(e.type===`core`?`builder.core.pieces.${e.data?.kind}`:`builder.nodes.${e.type}`)]}),r&&(0,g.jsx)(`pre`,{className:`mt-1 whitespace-pre-wrap break-words text-[11px] text-muted-foreground font-mono`,children:r})]},e.id)})]}),(0,g.jsxs)(o,{children:[(0,g.jsx)(f,{variant:`ghost`,onClick:r,children:m(`common:actions.cancel`)}),(0,g.jsxs)(f,{onClick:()=>i(e.id),children:[(0,g.jsx)(n,{className:`w-3.5 h-3.5 mr-1.5`}),m(`actions.use`)]})]})]})})})}export{y as n,v as r,_ as t};
1
+ import{t as e}from"./jsx-runtime-zu2_FqZY.js";import{n as t}from"./createLucideIcon-Bjbbp_KS.js";import{t as n}from"./download-CFHyyHcw.js";import{t as r}from"./git-branch-BRM0F5GN.js";import{n as i,t as a}from"./square-Ci-PFcFe.js";import{a as o,i as s,l as c,o as l,r as u,t as d}from"./dialog-CMgps2MY.js";import{t as f}from"./button-D1xExSTF.js";import{Yt as p,gt as m,nt as h}from"./index-lTGJJTuk.js";var g=e(),_={core:p,start:i,"ai-step":p,shell:m,decider:r,condition:r,end:a};function v(e){if(e.type===`core`){let t=e.data?.params;return t?String(t.text??t.prompt??t.goal??t.expr??t.question??t.message??t.ref??t.body??t.outcome??JSON.stringify(t,null,2)):null}return e.type===`ai-step`?typeof e.data?.prompt==`string`?e.data.prompt:null:e.type===`shell`?typeof e.data?.command==`string`?e.data.command:null:e.type===`decider`?typeof e.data?.goal==`string`?e.data.goal:null:e.type===`end`?e.data?.outcome===`failure`?`failure`:`success`:null}function y({template:e,onClose:r,onUse:i}){let{t:m}=t(`loops`);return(0,g.jsx)(d,{open:e!==null,onOpenChange:e=>{e||r()},children:(0,g.jsx)(u,{movableResizable:!0,className:`max-w-lg`,children:e&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(l,{children:[(0,g.jsxs)(c,{className:`flex items-center gap-2`,children:[(0,g.jsx)(p,{className:`w-4 h-4 text-accent-highlight`}),e.name]}),(0,g.jsx)(s,{children:e.description})]}),(0,g.jsxs)(`div`,{className:`flex flex-wrap gap-1.5`,children:[h(e.graph)?(0,g.jsx)(`span`,{title:m(`gallery.needsSpecHint`),className:`px-1.5 py-0.5 rounded text-[10px] bg-accent-secondary/15 text-accent-secondary`,children:m(`gallery.needsSpec`)}):(0,g.jsx)(`span`,{title:m(`gallery.standaloneHint`),className:`px-1.5 py-0.5 rounded text-[10px] bg-accent-success/15 text-accent-success`,children:m(`gallery.standalone`)}),e.category&&(0,g.jsx)(`span`,{className:`px-1.5 py-0.5 rounded text-[10px] bg-accent-info/15 text-accent-info`,children:m(`categories.${e.category}`,{defaultValue:e.category})}),e.tags.map(e=>(0,g.jsx)(`span`,{className:`px-1.5 py-0.5 rounded text-[10px] bg-muted text-muted-foreground`,children:e},e))]}),(0,g.jsx)(`p`,{className:`text-[11px] text-muted-foreground`,children:e.graph.config.timeoutMinutes>0?m(`preview.limits`,{iterations:e.graph.config.maxIterations,timeout:e.graph.config.timeoutMinutes}):m(`preview.limitsNoTimeout`,{iterations:e.graph.config.maxIterations})}),(0,g.jsxs)(`div`,{className:`max-h-[50vh] overflow-y-auto space-y-1.5 pr-1`,children:[(0,g.jsx)(`span`,{className:`block text-[10px] font-medium uppercase tracking-wide text-muted-foreground`,children:m(`preview.steps`)}),e.graph.nodes.map((e,t)=>{let n=_[e.type]??a,r=v(e);return(0,g.jsxs)(`div`,{className:`rounded border border-border bg-surface/30 p-2`,children:[(0,g.jsxs)(`div`,{className:`flex items-center gap-1.5 text-xs font-medium text-foreground`,children:[(0,g.jsxs)(`span`,{className:`text-[10px] text-muted-foreground tabular-nums`,children:[t+1,`.`]}),(0,g.jsx)(n,{className:`w-3.5 h-3.5 text-accent-primary`}),m(e.type===`core`?`builder.core.pieces.${e.data?.kind}`:`builder.nodes.${e.type}`)]}),r&&(0,g.jsx)(`pre`,{className:`mt-1 whitespace-pre-wrap break-words text-[11px] text-muted-foreground font-mono`,children:r})]},e.id)})]}),(0,g.jsxs)(o,{children:[(0,g.jsx)(f,{variant:`ghost`,onClick:r,children:m(`common:actions.cancel`)}),(0,g.jsxs)(f,{onClick:()=>i(e.id),children:[(0,g.jsx)(n,{className:`w-3.5 h-3.5 mr-1.5`}),m(`actions.use`)]})]})]})})})}export{y as n,v as r,_ as t};
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/core-B3mKBIh5.js","assets/rolldown-runtime-CNC7AqOf.js","assets/event-Bt7f3wXe.js"])))=>i.map(i=>d[i]);
2
- import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-zu2_FqZY.js";import{t as r}from"./react-dom-DiWzBDP9.js";import{t as i}from"./preload-helper-Czpn1I53.js";import{u as a}from"./chunk-KS7C4IRE-DEKu087k.js";import{n as o,t as s}from"./tauri-shell-DE6LfGPw.js";import{D as c,E as l,a as u,h as d,l as f,m as p,r as m,w as h,x as g}from"./useSharedWebSocket-g0nTHfTT.js";import{t as _}from"./Trans-Br_OIUKP.js";import{n as v,t as y}from"./createLucideIcon-Bjbbp_KS.js";import{a as b,r as x,s as S}from"./useDesktop-ChSmmJfc.js";import{a as C}from"./provider-capabilities-lePfeT_Y.js";import{r as w,t as T}from"./save-OsUqVn99.js";import{n as E,r as D}from"./spending-EXaboRU0.js";import{l as O,n as k,u as A}from"./MinimizedChatsContext-Bc9xHByW.js";import{n as j,t as M}from"./zap-CUOlvtT1.js";import{t as N}from"./file-text-BcLCfcWZ.js";import{t as ee}from"./circle-x-CMYsN4ZH.js";import{t as P}from"./download-CFHyyHcw.js";import{t as te}from"./external-link-D6XxC_Cu.js";import{t as F}from"./git-branch-BRM0F5GN.js";import{t as ne}from"./loader-circle-DcygOQpC.js";import{t as I}from"./pencil-C9RkrIPZ.js";import{n as L,t as R}from"./square-Ci-PFcFe.js";import{t as z}from"./plus-CsnjfkmX.js";import{t as B}from"./rotate-ccw-Wh4id13q.js";import{t as re}from"./search-Cq_gE3Ik.js";import{t as ie}from"./trash-2-BOU3WdZZ.js";import{t as V}from"./triangle-alert-H9T4jAmh.js";import{n as ae,t as oe}from"./jira-api-C2Tzc362.js";import{t as se}from"./x-CBMI9ejn.js";import{F as ce,I as le,P as ue,a as de,i as fe,l as pe,o as me,r as he,t as ge}from"./dialog-CMgps2MY.js";import{t as H}from"./utils-BC4DHlz2.js";import{n as _e,t as U}from"./lib-CGdyxIWg.js";import{t as W}from"./formatDistanceToNow-Q7QPRFV4.js";import{t as G}from"./button-D1xExSTF.js";import{t as ve}from"./RepositoryScopeSelector-D3PlHIM-.js";function ye(e=``){return e||(typeof window<`u`&&(`__TAURI_INTERNALS__`in window||window.location.hostname===`tauri.localhost`)||typeof window<`u`&&window.location.protocol!==`http:`&&window.location.protocol!==`https:`?`ws://127.0.0.1:4200`:`${window.location.protocol===`https:`?`wss:`:`ws:`}//${window.location.host}`)}var be=ye(),xe=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_TERMINAL_PANEL;return typeof e!=`string`||e!==`false`})(),Se=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_AGENTS_SECTION;return typeof e!=`string`||e!==`false`})(),Ce=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_CODE_EXPLORER;return typeof e!=`string`||e!==`false`})(),we=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_JIRA;return typeof e!=`string`||e!==`false`})(),Te=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_MCP;return typeof e!=`string`||e!==`false`})(),Ee=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_AGENT_CHAT;return typeof e!=`string`||e!==`false`})(),De=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_AGENT_MODE;return Ee&&(typeof e!=`string`||e!==`false`)})();(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_INTERACTIVE_JOBS;return typeof e!=`string`||e!==`false`})();var Oe=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_LOOPS_SECTION;return typeof e!=`string`||e!==`false`})(),ke=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_NATIVE_BROWSER;return typeof e!=`string`||e!==`false`})(),Ae=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_PROJECT_BUILDER;return typeof e!=`string`||e!==`false`})(),je=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_REVIEW_PACKET;return typeof e!=`string`||e!==`false`})(),Me=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_NARRATED_PROGRESS;return typeof e!=`string`||e!==`false`})(),Ne=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_LOCAL_ENGINES;return typeof e!=`string`||e!==`false`})();function Pe(){return Ne}var Fe=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_MISSION_RAIL_CARDS;return typeof e!=`string`||e!==`false`})(),Ie=y(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Le=y(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),Re=y(`circle-arrow-right`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m12 16 4-4-4-4`,key:`1i9zcv`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),ze=y(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Be=y(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Ve=y(`columns-2`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]]),K=y(`droplet`,[[`path`,{d:`M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z`,key:`c7niix`}]]),He=y(`file-minus-corner`,[[`path`,{d:`M20 14V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12`,key:`l9p8hp`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]),Ue=y(`file-plus-corner`,[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`,key:`17jvcc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 19h6`,key:`bvotb8`}],[`path`,{d:`M17 16v6`,key:`18yu1i`}]]),We=y(`git-commit-horizontal`,[[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`line`,{x1:`3`,x2:`9`,y1:`12`,y2:`12`,key:`1dyftd`}],[`line`,{x1:`15`,x2:`21`,y1:`12`,y2:`12`,key:`oup4p8`}]]),Ge=y(`git-pull-request-arrow`,[[`circle`,{cx:`5`,cy:`6`,r:`3`,key:`1qnov2`}],[`path`,{d:`M5 9v12`,key:`ih889a`}],[`circle`,{cx:`19`,cy:`18`,r:`3`,key:`1qljk2`}],[`path`,{d:`m15 9-3-3 3-3`,key:`1lwv8l`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`,key:`1yj91y`}]]),Ke=y(`git-pull-request`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`,key:`1yeb86`}],[`line`,{x1:`6`,x2:`6`,y1:`9`,y2:`21`,key:`rroup`}]]),qe=y(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),Je=y(`hash`,[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]),Ye=y(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]),Xe=y(`message-square-text`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M7 11h10`,key:`1twpyw`}],[`path`,{d:`M7 15h6`,key:`d9of3u`}],[`path`,{d:`M7 7h8`,key:`af5zfr`}]]),Ze=y(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Qe=y(`mouse-pointer-2`,[[`path`,{d:`M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z`,key:`edeuup`}]]),$e=y(`redo-2`,[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`,key:`6uklza`}]]),et=y(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),q=y(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),tt=y(`split`,[[`path`,{d:`M16 3h5v5`,key:`1806ms`}],[`path`,{d:`M8 3H3v5`,key:`15dfkv`}],[`path`,{d:`M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3`,key:`1qrqzj`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}]]),nt=y(`ticket`,[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`qn84l0`}],[`path`,{d:`M13 5v2`,key:`dyzc3o`}],[`path`,{d:`M13 17v2`,key:`1ont0d`}],[`path`,{d:`M13 11v2`,key:`1wjjxi`}]]),rt=y(`type`,[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]),it=y(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]),J=y(`zoom-in`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`,key:`1vmskp`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),at=y(`zoom-out`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),ot=new Map,st=2e3;function ct(e){ot.set(e,(ot.get(e)??0)+1)}function lt(e){(ot.get(e)??0)<=0||setTimeout(()=>{let t=(ot.get(e)??0)-1;t<=0?ot.delete(e):ot.set(e,t)},st)}function ut(e){return e?(ot.get(e)??0)>0:!1}var Y=e(t(),1),dt=3e3,ft=`
2
+ import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-zu2_FqZY.js";import{t as r}from"./react-dom-DiWzBDP9.js";import{t as i}from"./preload-helper-Czpn1I53.js";import{u as a}from"./chunk-KS7C4IRE-DEKu087k.js";import{n as o,t as s}from"./tauri-shell-DE6LfGPw.js";import{D as c,E as l,a as u,h as d,l as f,m as p,r as m,w as h,x as g}from"./useSharedWebSocket-DaWuiO0S.js";import{t as _}from"./Trans-D5eOjfvG.js";import{n as v,t as y}from"./createLucideIcon-Bjbbp_KS.js";import{a as b,r as x,s as S}from"./useDesktop-DKNbOF0u.js";import{a as C}from"./provider-capabilities-lePfeT_Y.js";import{r as w,t as T}from"./save-OsUqVn99.js";import{n as E,r as D}from"./spending-DQDNtM8q.js";import{l as O,n as k,u as A}from"./MinimizedChatsContext-CroAs6Kh.js";import{n as j,t as M}from"./zap-CUOlvtT1.js";import{t as N}from"./file-text-BcLCfcWZ.js";import{t as ee}from"./circle-x-CMYsN4ZH.js";import{t as P}from"./download-CFHyyHcw.js";import{t as te}from"./external-link-D6XxC_Cu.js";import{t as F}from"./git-branch-BRM0F5GN.js";import{t as ne}from"./loader-circle-DcygOQpC.js";import{t as I}from"./pencil-C9RkrIPZ.js";import{n as L,t as R}from"./square-Ci-PFcFe.js";import{t as z}from"./plus-CsnjfkmX.js";import{t as B}from"./rotate-ccw-Wh4id13q.js";import{t as re}from"./search-Cq_gE3Ik.js";import{t as ie}from"./trash-2-BOU3WdZZ.js";import{t as V}from"./triangle-alert-H9T4jAmh.js";import{n as ae,t as oe}from"./jira-api-Bp0zXwjg.js";import{t as se}from"./x-CBMI9ejn.js";import{F as ce,I as le,P as ue,a as de,i as fe,l as pe,o as me,r as he,t as ge}from"./dialog-CMgps2MY.js";import{t as H}from"./utils-BC4DHlz2.js";import{n as _e,t as U}from"./lib-CGdyxIWg.js";import{t as W}from"./formatDistanceToNow-DZ3VWsHq.js";import{t as G}from"./button-D1xExSTF.js";import{t as ve}from"./RepositoryScopeSelector-CeCr6Jz-.js";function ye(e=``){return e||(typeof window<`u`&&(`__TAURI_INTERNALS__`in window||window.location.hostname===`tauri.localhost`)||typeof window<`u`&&window.location.protocol!==`http:`&&window.location.protocol!==`https:`?`ws://127.0.0.1:4200`:`${window.location.protocol===`https:`?`wss:`:`ws:`}//${window.location.host}`)}var be=ye(),xe=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_TERMINAL_PANEL;return typeof e!=`string`||e!==`false`})(),Se=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_AGENTS_SECTION;return typeof e!=`string`||e!==`false`})(),Ce=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_CODE_EXPLORER;return typeof e!=`string`||e!==`false`})(),we=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_JIRA;return typeof e!=`string`||e!==`false`})(),Te=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_MCP;return typeof e!=`string`||e!==`false`})(),Ee=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_AGENT_CHAT;return typeof e!=`string`||e!==`false`})(),De=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_AGENT_MODE;return Ee&&(typeof e!=`string`||e!==`false`)})();(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_INTERACTIVE_JOBS;return typeof e!=`string`||e!==`false`})();var Oe=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_LOOPS_SECTION;return typeof e!=`string`||e!==`false`})(),ke=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_NATIVE_BROWSER;return typeof e!=`string`||e!==`false`})(),Ae=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_PROJECT_BUILDER;return typeof e!=`string`||e!==`false`})(),je=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_REVIEW_PACKET;return typeof e!=`string`||e!==`false`})(),Me=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_NARRATED_PROGRESS;return typeof e!=`string`||e!==`false`})(),Ne=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_LOCAL_ENGINES;return typeof e!=`string`||e!==`false`})();function Pe(){return Ne}var Fe=(()=>{let e={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1}.VITE_FEATURE_MISSION_RAIL_CARDS;return typeof e!=`string`||e!==`false`})(),Ie=y(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Le=y(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),Re=y(`circle-arrow-right`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m12 16 4-4-4-4`,key:`1i9zcv`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),ze=y(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Be=y(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Ve=y(`columns-2`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]]),K=y(`droplet`,[[`path`,{d:`M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z`,key:`c7niix`}]]),He=y(`file-minus-corner`,[[`path`,{d:`M20 14V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12`,key:`l9p8hp`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]),Ue=y(`file-plus-corner`,[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`,key:`17jvcc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 19h6`,key:`bvotb8`}],[`path`,{d:`M17 16v6`,key:`18yu1i`}]]),We=y(`git-commit-horizontal`,[[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`line`,{x1:`3`,x2:`9`,y1:`12`,y2:`12`,key:`1dyftd`}],[`line`,{x1:`15`,x2:`21`,y1:`12`,y2:`12`,key:`oup4p8`}]]),Ge=y(`git-pull-request-arrow`,[[`circle`,{cx:`5`,cy:`6`,r:`3`,key:`1qnov2`}],[`path`,{d:`M5 9v12`,key:`ih889a`}],[`circle`,{cx:`19`,cy:`18`,r:`3`,key:`1qljk2`}],[`path`,{d:`m15 9-3-3 3-3`,key:`1lwv8l`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`,key:`1yj91y`}]]),Ke=y(`git-pull-request`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`,key:`1yeb86`}],[`line`,{x1:`6`,x2:`6`,y1:`9`,y2:`21`,key:`rroup`}]]),qe=y(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),Je=y(`hash`,[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]),Ye=y(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]),Xe=y(`message-square-text`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M7 11h10`,key:`1twpyw`}],[`path`,{d:`M7 15h6`,key:`d9of3u`}],[`path`,{d:`M7 7h8`,key:`af5zfr`}]]),Ze=y(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Qe=y(`mouse-pointer-2`,[[`path`,{d:`M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z`,key:`edeuup`}]]),$e=y(`redo-2`,[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`,key:`6uklza`}]]),et=y(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),q=y(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),tt=y(`split`,[[`path`,{d:`M16 3h5v5`,key:`1806ms`}],[`path`,{d:`M8 3H3v5`,key:`15dfkv`}],[`path`,{d:`M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3`,key:`1qrqzj`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}]]),nt=y(`ticket`,[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`qn84l0`}],[`path`,{d:`M13 5v2`,key:`dyzc3o`}],[`path`,{d:`M13 17v2`,key:`1ont0d`}],[`path`,{d:`M13 11v2`,key:`1wjjxi`}]]),rt=y(`type`,[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]),it=y(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]),J=y(`zoom-in`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`,key:`1vmskp`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),at=y(`zoom-out`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),ot=new Map,st=2e3;function ct(e){ot.set(e,(ot.get(e)??0)+1)}function lt(e){(ot.get(e)??0)<=0||setTimeout(()=>{let t=(ot.get(e)??0)-1;t<=0?ot.delete(e):ot.set(e,t)},st)}function ut(e){return e?(ot.get(e)??0)>0:!1}var Y=e(t(),1),dt=3e3,ft=`
3
3
 
4
4
  ---
5
5
 
@@ -1 +1 @@
1
- import{a as e,t}from"./rolldown-runtime-CNC7AqOf.js";import{n}from"./jsx-runtime-zu2_FqZY.js";import{j as r}from"./useSharedWebSocket-g0nTHfTT.js";import{a as i,d as a,f as o,i as s,l as c,p as l,s as u,u as d}from"./createLucideIcon-Bjbbp_KS.js";var f=t(((e,t)=>{t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}})),p=e(n()),m=e(f()),h=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function g(e){var t={type:`tag`,name:``,voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(m.default[n[1]]||e.charAt(e.length-2)===`/`)&&(t.voidElement=!0),t.name.startsWith(`!--`))){var r=e.indexOf(`-->`);return{type:`comment`,comment:r===-1?``:e.slice(4,r)}}for(var i=new RegExp(h),a=null;(a=i.exec(e))!==null;)if(a[0].trim())if(a[1]){var o=a[1].trim(),s=[o,``];o.indexOf(`=`)>-1&&(s=o.split(`=`)),t.attrs[s[0]]=s[1],i.lastIndex--}else a[2]&&(t.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return t}var _=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,v=/^\s*$/,y=Object.create(null);function b(e,t){switch(t.type){case`text`:return e+t.content;case`tag`:return e+=`<`+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+`="`+e[n]+`"`);return t.length?` `+t.join(` `):``}(t.attrs):``)+(t.voidElement?`/>`:`>`),t.voidElement?e:e+t.children.reduce(b,``)+`</`+t.name+`>`;case`comment`:return e+`<!--`+t.comment+`-->`}}var x={parse:function(e,t){t||={},t.components||=y;var n,r=[],i=[],a=-1,o=!1;if(e.indexOf(`<`)!==0){var s=e.indexOf(`<`);r.push({type:`text`,content:s===-1?e:e.substring(0,s)})}return e.replace(_,function(s,c){if(o){if(s!==`</`+n.name+`>`)return;o=!1}var l,u=s.charAt(1)!==`/`,d=s.startsWith(`<!--`),f=c+s.length,p=e.charAt(f);if(d){var m=g(s);return a<0?(r.push(m),r):((l=i[a]).children.push(m),r)}if(u&&(a++,(n=g(s)).type===`tag`&&t.components[n.name]&&(n.type=`component`,o=!0),n.voidElement||o||!p||p===`<`||n.children.push({type:`text`,content:e.slice(f,e.indexOf(`<`,f))}),a===0&&r.push(n),(l=i[a-1])&&l.children.push(n),i[a]=n),(!u||n.voidElement)&&(a>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(a--,n=a===-1?r:i[a]),!o&&p!==`<`&&p)){l=a===-1?r:i[a].children;var h=e.indexOf(`<`,f),_=e.slice(f,h===-1?void 0:h);v.test(_)&&(_=` `),(h>-1&&a+l.length>=0||_!==` `)&&l.push({type:`text`,content:_})}}),r},stringify:function(e){return e.reduce(function(e,t){return e+b(``,t)},``)}},S=(e,t)=>{if(!e)return!1;let n=e.props?.children??e.children;return t?n.length>0:!!n},C=e=>{if(!e)return[];let t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?T(t):t},w=e=>Array.isArray(e)&&e.every(p.isValidElement),T=e=>Array.isArray(e)?e:[e],E=(e,t)=>{let n={...t};return n.props={...t.props,...e.props},n},D=e=>{let t={};if(!e)return t;let n=e=>{T(e).forEach(e=>{a(e)||(S(e)?n(C(e)):d(e)&&!(0,p.isValidElement)(e)&&Object.assign(t,e))})};return n(e),t},O=(e,t,n,r)=>{if(!e)return``;let i=``,s=T(e),c=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return s.forEach((e,s)=>{if(a(e)){i+=`${e}`;return}if((0,p.isValidElement)(e)){let{props:o,type:l}=e,u=Object.keys(o).length,d=c.indexOf(l)>-1,f=o.children;if(!f&&d&&!u){i+=`<${l}/>`;return}if(!f&&(!d||u)||o.i18nIsDynamicList){i+=`<${s}></${s}>`;return}if(d&&u<=1){let e=a(f)?f:O(f,t,n,r);i+=`<${l}>${e}</${l}>`;return}let p=O(f,t,n,r);i+=`<${s}>${p}</${s}>`;return}if(e===null){o(n,`TRANS_NULL_VALUE`,`Passed in a null value as child`,{i18nKey:r});return}if(d(e)){let{format:t,...a}=e,s=Object.keys(a);if(s.length===1){let e=t?`${s[0]}, ${t}`:s[0];i+=`{{${e}}}`;return}o(n,`TRANS_INVALID_OBJ`,`Invalid child - Object should only have keys {{ value, format }} (format is optional).`,{i18nKey:r,child:e});return}o(n,`TRANS_INVALID_VAR`,`Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.`,{i18nKey:r,child:e})}),i},k=(e,t=[],n={})=>{if(!e)return e;let r=Object.keys(n),i=[...t,...r],a=``,o=0;for(;o<e.length;)if(e[o]===`<`){let t=!1,n=e.slice(o).match(/^<\/(\d+|[a-zA-Z][a-zA-Z0-9_-]*)>/);if(n){let e=n[1];(/^\d+$/.test(e)||i.includes(e))&&(t=!0,a+=n[0],o+=n[0].length)}if(!t){let n=e.slice(o).match(/^<(\d+|[a-zA-Z][a-zA-Z0-9_-]*)(\s+[\w-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*(\/)?>/);if(n){let e=n[1];(/^\d+$/.test(e)||i.includes(e))&&(t=!0,a+=n[0],o+=n[0].length)}}t||(a+=`&lt;`,o+=1)}else a+=e[o],o+=1;return a},A=(e,t,n,r,i,o,s)=>{if(n===``)return[];let l=i.transKeepBasicHtmlNodesFor||[],f=n&&new RegExp(l.map(e=>`<${e}`).join(`|`)).test(n);if(!e&&!t&&!f&&!s)return[n];let m=t??{},h=e=>{T(e).forEach(e=>{a(e)||(S(e)?h(C(e)):d(e)&&!(0,p.isValidElement)(e)&&Object.assign(m,e))})};h(e);let g=k(n,l,m),_=x.parse(`<0>${g}</0>`),v={...m,...o},y=(e,t,n)=>{let r=C(e),i=D(r,t.children,n);return w(r)&&i.length===0||e.props?.i18nIsDynamicList?r:i},b=(e,t,n,r,i)=>{e.dummy?(e.children=t,n.push((0,p.cloneElement)(e,{key:r},i?void 0:t))):n.push(...p.Children.map([e],e=>{if(e.type===p.Fragment||e.props?.i18nIsDynamicList!==void 0){let n={key:r};return e&&e.props&&Object.keys(e.props).forEach(t=>{t===`children`||t===`i18nIsDynamicList`||(n[t]=e.props[t])}),(0,p.createElement)(e.type,n,i?null:t)}let n={key:r};return e&&e.props&&Object.keys(e.props).forEach(t=>{t===`ref`||t===`children`||(n[t]=e.props[t])}),(0,p.cloneElement)(e,n,i?null:t)}))},D=(e,n,o)=>{let m=T(e),h=T(n),g={};return h.reduce((e,n,h)=>{let _=n.children?.[0]?.content&&r.services.interpolator.interpolate(n.children[0].content,v,r.language);if(n.type===`tag`){let u=m[parseInt(n.name,10)];!u&&t&&(u=t[n.name]),o.length===1&&!u&&(u=o[0][n.name]),u||={};let x={...n.attrs};s&&Object.keys(x).forEach(e=>{let t=x[e];a(t)&&(x[e]=c(t))});let w=Object.keys(x).length===0?u:E({props:x},u),O=(0,p.isValidElement)(w),k=O&&S(n,!0)&&!n.voidElement,A=f&&d(w)&&w.dummy&&!O,j=d(t)&&Object.hasOwnProperty.call(t,n.name);if(a(w)){let t=r.services.interpolator.interpolate(w,v,r.language);e.push(t)}else if(S(w)||k){let t=y(w,n,o);b(w,t,e,h)}else if(A){let t=D(m,n.children,o);b(w,t,e,h)}else if(Number.isNaN(parseFloat(n.name)))if(j){let t=y(w,n,o);b(w,t,e,h,n.voidElement)}else if(i.transSupportBasicHtmlNodes&&l.indexOf(n.name)>-1)if(n.voidElement)e.push((0,p.createElement)(n.name,{key:`${n.name}-${h}`}));else{let t=g[n.name]||0;g[n.name]=t+1;let r,i=0;for(let e=0;e<m.length;e+=1){let a=m[e];if((0,p.isValidElement)(a)&&a.type===n.name){if(i===t){r=a;break}i+=1}}let a=r?T(C(r)):m,s=D(a,n.children,o);e.push((0,p.createElement)(n.name,{key:`${n.name}-${h}`},s))}else if(n.voidElement)e.push(`<${n.name} />`);else{let t=D(m,n.children,o);e.push(`<${n.name}>${t}</${n.name}>`)}else if(d(w)&&!O){let t=n.children[0]?_:null;t&&e.push(t)}else b(w,_,e,h,n.children.length!==1||!_)}else if(n.type===`text`){let t=i.transWrapTextNodes,a=typeof i.unescape==`function`?i.unescape:u().unescape,o=s?a(r.services.interpolator.interpolate(n.content,v,r.language)):r.services.interpolator.interpolate(n.content,v,r.language);t?e.push((0,p.createElement)(t,{key:`${n.name}-${h}`},o)):e.push(o)}return e},[])};return C(D([{dummy:!0,children:e||[]}],_,T(e||[]))[0])},j=(e,t,n)=>{let r=e.key||t,i=(0,p.cloneElement)(e,{key:r});if(!i.props||!i.props.children||n.indexOf(`${t}/>`)<0&&n.indexOf(`${t} />`)<0)return i;function a(){return(0,p.createElement)(p.Fragment,null,i)}return(0,p.createElement)(a,{key:r})},M=(e,t)=>e.map((e,n)=>j(e,n,t)),N=(e,t)=>{let n={};return Object.keys(e).forEach(r=>{Object.assign(n,{[r]:j(e[r],r,t)})}),n},P=(e,t,n,r)=>e?Array.isArray(e)?M(e,t):d(e)?N(e,t):(l(n,`TRANS_INVALID_COMPONENTS`,`<Trans /> "components" prop expects an object or array`,{i18nKey:r}),null):null,F=e=>!d(e)||Array.isArray(e)?!1:Object.keys(e).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0);function I({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:c={},values:d,defaults:f,components:m,ns:h,i18n:g,t:_,shouldUnescape:v,...y}){let b=g||i();if(!b)return l(b,`NO_I18NEXT_INSTANCE`,`Trans: You need to pass in an i18next instance using i18nextReactModule`,{i18nKey:o}),e;let x=_||b.t.bind(b)||(e=>e),S={...u(),...b.options?.react},C=h||x.ns||b.options?.defaultNS;C=a(C)?[C]:C||[`translation`];let{transDefaultProps:w}=S,T=w?.tOptions?{...w.tOptions,...c}:c,E=v??w?.shouldUnescape,k=w?.values?{...w.values,...d}:d,j=w?.components?{...w.components,...m}:m,M=O(e,S,b,o),N=f||T?.defaultValue||M||S.transEmptyNodeValue||(typeof o==`function`?r(o):o),{hashTransKey:I}=S,L=o||(I?I(M||N):M||N);d=b.options?.interpolation?.defaultVariables?k&&Object.keys(k).length>0?{...k,...b.options.interpolation.defaultVariables}:{...b.options.interpolation.defaultVariables}:k;let R=D(e);R&&typeof R.count==`number`&&t===void 0&&(t=R.count);let z=d||t!==void 0&&!b.options?.interpolation?.alwaysFormat||!e?T.interpolation:{interpolation:{...T.interpolation,prefix:`#$?`,suffix:`?$#`}},B={...T,context:s||T.context,count:t,...d,...z,defaultValue:N,ns:C},V=L?x(L,B):N;V===L&&N&&(V=N);let H=P(j,V,b,o),U=H||e,W=null;F(H)&&(W=H,U=e);let G=A(U,W,V,b,S,B,E),K=n??S.defaultTransParent;return K?(0,p.createElement)(K,y,G):G}function L({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o={},values:c,defaults:l,components:u,ns:d,i18n:f,t:m,shouldUnescape:h,...g}){let{i18n:_,defaultNS:v}=(0,p.useContext)(s)||{},y=f||_||i(),b=m||y?.t.bind(y);return I({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o,values:c,defaults:l,components:u,ns:d||b?.ns||v||y?.options?.defaultNS,i18n:y,t:m,shouldUnescape:h,...g})}export{L as t};
1
+ import{a as e,t}from"./rolldown-runtime-CNC7AqOf.js";import{n}from"./jsx-runtime-zu2_FqZY.js";import{j as r}from"./useSharedWebSocket-DaWuiO0S.js";import{a as i,d as a,f as o,i as s,l as c,p as l,s as u,u as d}from"./createLucideIcon-Bjbbp_KS.js";var f=t(((e,t)=>{t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}})),p=e(n()),m=e(f()),h=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function g(e){var t={type:`tag`,name:``,voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(m.default[n[1]]||e.charAt(e.length-2)===`/`)&&(t.voidElement=!0),t.name.startsWith(`!--`))){var r=e.indexOf(`-->`);return{type:`comment`,comment:r===-1?``:e.slice(4,r)}}for(var i=new RegExp(h),a=null;(a=i.exec(e))!==null;)if(a[0].trim())if(a[1]){var o=a[1].trim(),s=[o,``];o.indexOf(`=`)>-1&&(s=o.split(`=`)),t.attrs[s[0]]=s[1],i.lastIndex--}else a[2]&&(t.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return t}var _=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,v=/^\s*$/,y=Object.create(null);function b(e,t){switch(t.type){case`text`:return e+t.content;case`tag`:return e+=`<`+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+`="`+e[n]+`"`);return t.length?` `+t.join(` `):``}(t.attrs):``)+(t.voidElement?`/>`:`>`),t.voidElement?e:e+t.children.reduce(b,``)+`</`+t.name+`>`;case`comment`:return e+`<!--`+t.comment+`-->`}}var x={parse:function(e,t){t||={},t.components||=y;var n,r=[],i=[],a=-1,o=!1;if(e.indexOf(`<`)!==0){var s=e.indexOf(`<`);r.push({type:`text`,content:s===-1?e:e.substring(0,s)})}return e.replace(_,function(s,c){if(o){if(s!==`</`+n.name+`>`)return;o=!1}var l,u=s.charAt(1)!==`/`,d=s.startsWith(`<!--`),f=c+s.length,p=e.charAt(f);if(d){var m=g(s);return a<0?(r.push(m),r):((l=i[a]).children.push(m),r)}if(u&&(a++,(n=g(s)).type===`tag`&&t.components[n.name]&&(n.type=`component`,o=!0),n.voidElement||o||!p||p===`<`||n.children.push({type:`text`,content:e.slice(f,e.indexOf(`<`,f))}),a===0&&r.push(n),(l=i[a-1])&&l.children.push(n),i[a]=n),(!u||n.voidElement)&&(a>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(a--,n=a===-1?r:i[a]),!o&&p!==`<`&&p)){l=a===-1?r:i[a].children;var h=e.indexOf(`<`,f),_=e.slice(f,h===-1?void 0:h);v.test(_)&&(_=` `),(h>-1&&a+l.length>=0||_!==` `)&&l.push({type:`text`,content:_})}}),r},stringify:function(e){return e.reduce(function(e,t){return e+b(``,t)},``)}},S=(e,t)=>{if(!e)return!1;let n=e.props?.children??e.children;return t?n.length>0:!!n},C=e=>{if(!e)return[];let t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?T(t):t},w=e=>Array.isArray(e)&&e.every(p.isValidElement),T=e=>Array.isArray(e)?e:[e],E=(e,t)=>{let n={...t};return n.props={...t.props,...e.props},n},D=e=>{let t={};if(!e)return t;let n=e=>{T(e).forEach(e=>{a(e)||(S(e)?n(C(e)):d(e)&&!(0,p.isValidElement)(e)&&Object.assign(t,e))})};return n(e),t},O=(e,t,n,r)=>{if(!e)return``;let i=``,s=T(e),c=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return s.forEach((e,s)=>{if(a(e)){i+=`${e}`;return}if((0,p.isValidElement)(e)){let{props:o,type:l}=e,u=Object.keys(o).length,d=c.indexOf(l)>-1,f=o.children;if(!f&&d&&!u){i+=`<${l}/>`;return}if(!f&&(!d||u)||o.i18nIsDynamicList){i+=`<${s}></${s}>`;return}if(d&&u<=1){let e=a(f)?f:O(f,t,n,r);i+=`<${l}>${e}</${l}>`;return}let p=O(f,t,n,r);i+=`<${s}>${p}</${s}>`;return}if(e===null){o(n,`TRANS_NULL_VALUE`,`Passed in a null value as child`,{i18nKey:r});return}if(d(e)){let{format:t,...a}=e,s=Object.keys(a);if(s.length===1){let e=t?`${s[0]}, ${t}`:s[0];i+=`{{${e}}}`;return}o(n,`TRANS_INVALID_OBJ`,`Invalid child - Object should only have keys {{ value, format }} (format is optional).`,{i18nKey:r,child:e});return}o(n,`TRANS_INVALID_VAR`,`Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.`,{i18nKey:r,child:e})}),i},k=(e,t=[],n={})=>{if(!e)return e;let r=Object.keys(n),i=[...t,...r],a=``,o=0;for(;o<e.length;)if(e[o]===`<`){let t=!1,n=e.slice(o).match(/^<\/(\d+|[a-zA-Z][a-zA-Z0-9_-]*)>/);if(n){let e=n[1];(/^\d+$/.test(e)||i.includes(e))&&(t=!0,a+=n[0],o+=n[0].length)}if(!t){let n=e.slice(o).match(/^<(\d+|[a-zA-Z][a-zA-Z0-9_-]*)(\s+[\w-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*(\/)?>/);if(n){let e=n[1];(/^\d+$/.test(e)||i.includes(e))&&(t=!0,a+=n[0],o+=n[0].length)}}t||(a+=`&lt;`,o+=1)}else a+=e[o],o+=1;return a},A=(e,t,n,r,i,o,s)=>{if(n===``)return[];let l=i.transKeepBasicHtmlNodesFor||[],f=n&&new RegExp(l.map(e=>`<${e}`).join(`|`)).test(n);if(!e&&!t&&!f&&!s)return[n];let m=t??{},h=e=>{T(e).forEach(e=>{a(e)||(S(e)?h(C(e)):d(e)&&!(0,p.isValidElement)(e)&&Object.assign(m,e))})};h(e);let g=k(n,l,m),_=x.parse(`<0>${g}</0>`),v={...m,...o},y=(e,t,n)=>{let r=C(e),i=D(r,t.children,n);return w(r)&&i.length===0||e.props?.i18nIsDynamicList?r:i},b=(e,t,n,r,i)=>{e.dummy?(e.children=t,n.push((0,p.cloneElement)(e,{key:r},i?void 0:t))):n.push(...p.Children.map([e],e=>{if(e.type===p.Fragment||e.props?.i18nIsDynamicList!==void 0){let n={key:r};return e&&e.props&&Object.keys(e.props).forEach(t=>{t===`children`||t===`i18nIsDynamicList`||(n[t]=e.props[t])}),(0,p.createElement)(e.type,n,i?null:t)}let n={key:r};return e&&e.props&&Object.keys(e.props).forEach(t=>{t===`ref`||t===`children`||(n[t]=e.props[t])}),(0,p.cloneElement)(e,n,i?null:t)}))},D=(e,n,o)=>{let m=T(e),h=T(n),g={};return h.reduce((e,n,h)=>{let _=n.children?.[0]?.content&&r.services.interpolator.interpolate(n.children[0].content,v,r.language);if(n.type===`tag`){let u=m[parseInt(n.name,10)];!u&&t&&(u=t[n.name]),o.length===1&&!u&&(u=o[0][n.name]),u||={};let x={...n.attrs};s&&Object.keys(x).forEach(e=>{let t=x[e];a(t)&&(x[e]=c(t))});let w=Object.keys(x).length===0?u:E({props:x},u),O=(0,p.isValidElement)(w),k=O&&S(n,!0)&&!n.voidElement,A=f&&d(w)&&w.dummy&&!O,j=d(t)&&Object.hasOwnProperty.call(t,n.name);if(a(w)){let t=r.services.interpolator.interpolate(w,v,r.language);e.push(t)}else if(S(w)||k){let t=y(w,n,o);b(w,t,e,h)}else if(A){let t=D(m,n.children,o);b(w,t,e,h)}else if(Number.isNaN(parseFloat(n.name)))if(j){let t=y(w,n,o);b(w,t,e,h,n.voidElement)}else if(i.transSupportBasicHtmlNodes&&l.indexOf(n.name)>-1)if(n.voidElement)e.push((0,p.createElement)(n.name,{key:`${n.name}-${h}`}));else{let t=g[n.name]||0;g[n.name]=t+1;let r,i=0;for(let e=0;e<m.length;e+=1){let a=m[e];if((0,p.isValidElement)(a)&&a.type===n.name){if(i===t){r=a;break}i+=1}}let a=r?T(C(r)):m,s=D(a,n.children,o);e.push((0,p.createElement)(n.name,{key:`${n.name}-${h}`},s))}else if(n.voidElement)e.push(`<${n.name} />`);else{let t=D(m,n.children,o);e.push(`<${n.name}>${t}</${n.name}>`)}else if(d(w)&&!O){let t=n.children[0]?_:null;t&&e.push(t)}else b(w,_,e,h,n.children.length!==1||!_)}else if(n.type===`text`){let t=i.transWrapTextNodes,a=typeof i.unescape==`function`?i.unescape:u().unescape,o=s?a(r.services.interpolator.interpolate(n.content,v,r.language)):r.services.interpolator.interpolate(n.content,v,r.language);t?e.push((0,p.createElement)(t,{key:`${n.name}-${h}`},o)):e.push(o)}return e},[])};return C(D([{dummy:!0,children:e||[]}],_,T(e||[]))[0])},j=(e,t,n)=>{let r=e.key||t,i=(0,p.cloneElement)(e,{key:r});if(!i.props||!i.props.children||n.indexOf(`${t}/>`)<0&&n.indexOf(`${t} />`)<0)return i;function a(){return(0,p.createElement)(p.Fragment,null,i)}return(0,p.createElement)(a,{key:r})},M=(e,t)=>e.map((e,n)=>j(e,n,t)),N=(e,t)=>{let n={};return Object.keys(e).forEach(r=>{Object.assign(n,{[r]:j(e[r],r,t)})}),n},P=(e,t,n,r)=>e?Array.isArray(e)?M(e,t):d(e)?N(e,t):(l(n,`TRANS_INVALID_COMPONENTS`,`<Trans /> "components" prop expects an object or array`,{i18nKey:r}),null):null,F=e=>!d(e)||Array.isArray(e)?!1:Object.keys(e).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0);function I({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:c={},values:d,defaults:f,components:m,ns:h,i18n:g,t:_,shouldUnescape:v,...y}){let b=g||i();if(!b)return l(b,`NO_I18NEXT_INSTANCE`,`Trans: You need to pass in an i18next instance using i18nextReactModule`,{i18nKey:o}),e;let x=_||b.t.bind(b)||(e=>e),S={...u(),...b.options?.react},C=h||x.ns||b.options?.defaultNS;C=a(C)?[C]:C||[`translation`];let{transDefaultProps:w}=S,T=w?.tOptions?{...w.tOptions,...c}:c,E=v??w?.shouldUnescape,k=w?.values?{...w.values,...d}:d,j=w?.components?{...w.components,...m}:m,M=O(e,S,b,o),N=f||T?.defaultValue||M||S.transEmptyNodeValue||(typeof o==`function`?r(o):o),{hashTransKey:I}=S,L=o||(I?I(M||N):M||N);d=b.options?.interpolation?.defaultVariables?k&&Object.keys(k).length>0?{...k,...b.options.interpolation.defaultVariables}:{...b.options.interpolation.defaultVariables}:k;let R=D(e);R&&typeof R.count==`number`&&t===void 0&&(t=R.count);let z=d||t!==void 0&&!b.options?.interpolation?.alwaysFormat||!e?T.interpolation:{interpolation:{...T.interpolation,prefix:`#$?`,suffix:`?$#`}},B={...T,context:s||T.context,count:t,...d,...z,defaultValue:N,ns:C},V=L?x(L,B):N;V===L&&N&&(V=N);let H=P(j,V,b,o),U=H||e,W=null;F(H)&&(W=H,U=e);let G=A(U,W,V,b,S,B,E),K=n??S.defaultTransParent;return K?(0,p.createElement)(K,y,G):G}function L({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o={},values:c,defaults:l,components:u,ns:d,i18n:f,t:m,shouldUnescape:h,...g}){let{i18n:_,defaultNS:v}=(0,p.useContext)(s)||{},y=f||_||i(),b=m||y?.t.bind(y);return I({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o,values:c,defaults:l,components:u,ns:d||b?.ns||v||y?.options?.defaultNS,i18n:y,t:m,shouldUnescape:h,...g})}export{L as t};
@@ -0,0 +1 @@
1
+ var e=`Motor de agentes`,t=`Arquiteto, programador e revisor correm como fases separadas com verificação determinista entre elas. Escolha um fornecedor por função; tudo o resto tem um valor por defeito que funciona.`,n=`A carregar configurações…`,r=`Não foi possível carregar as configurações. Tente novamente antes de alterar.`,i=`Tentar novamente`,a=`Esta instalação do Core não inclui o motor de agentes. Atualize o Core antes de ativar; pode preparar as configurações enquanto está desativado.`,o=`Guardar configurações`,s=`A guardar…`,c=`Configurações guardadas`,l=`Não foi possível guardar as configurações.`,u=`Pausar para aprovação antes de concluir o fluxo`,d={title:`Fornecedores`,hint:`Os CLI usam a sessão existente. As API aceitam apenas o nome da variável de ambiente, nunca a chave. Em serviços locais, pode ficar vazio. Reatribua as funções antes de remover o fornecedor.`,entry:`Fornecedor {{index}}`,id:`ID do fornecedor`,kind:`Tipo de ligação`,cli:`CLI de programação instalado`,compatible:`Endpoint compatível com OpenAI`,command:`CLI de programação`,baseUrl:`URL base da API`,apiKeyEnv:`Variável de ambiente da chave (opcional)`,remove:`Remover fornecedor`,addCli:`Adicionar fornecedor CLI`,addLocal:`Adicionar fornecedor local / API`,show:`Mostrar ligações a fornecedores`,hide:`Ocultar ligações a fornecedores`,globalTitle:`Provedores de IA`,globalHint:`Dois tipos de provedor alimentam cada projeto: as CLIs de programação detectadas nesta máquina e os motores locais compatíveis com OpenAI que registares aqui. Atribui-os às fases do pipeline em Definições do projeto ▸ Motor de agentes. As alterações aplicam-se a novas execuções.`,label:`Nome de exibição (opcional)`,labelPlaceholder:`ex.: Máquina LAN`,defaultModel:`Modelo padrão`,defaultModelNone:`Sem padrão (primeiro descoberto)`,defaultModelPlaceholder:`ID do modelo ou alias personalizado`,customModel:`Alias personalizado…`,discoveredModels:`Modelos descobertos`,noModels:`Nenhum modelo descoberto ainda — teste a conexão.`,rates:`Tarifas (USD por 1M de tokens, opcional)`,ratesHint:`Os custos são exibidos como estimativas; deixe ambas vazias e o custo permanece desconhecido.`,inputRate:`Entrada por 1M`,outputRate:`Saída por 1M`,ratesInvalid:`Informe ambas as tarifas como números não negativos ou deixe as duas vazias.`,reasoningEffort:`O endpoint aceita esforço de raciocínio`,reasoningEffortHint:`Envia o campo reasoning_effort da OpenAI: o esforço configurado do papel em cada chamada, elevado a alto enquanto o arquiteto compacto escreve o plano. Deixe desligado a menos que o servidor o respeite.`,apiKeyEnvMissing:`{{name}} não está definida no processo do app. Defina-a no ambiente a partir do qual o app é iniciado.`,test:`Testar conexão`,testing:`Testando…`,testFailed:`Não foi possível testar a conexão.`,rename:`Renomear`,renameHint:`Renomear mantém as atribuições de papéis apontando para esta conexão.`,idLocked:`O id fica bloqueado após salvar. Use Renomear para alterá-lo.`,localBadge:`Motor local`,cliBadge:`CLI`,notDetected:`Não detectado nesta máquina`,unsaved:`Alterações não salvas`,empty:`Ainda não há conexões. Adicione um provedor local / API para começar.`,fixBeforeSave:`Corrija os campos destacados antes de salvar.`,status:{probing:`Verificando…`,reachable:`Acessível`,unauthorized:`Não autorizado`,unreachable:`Inacessível`,untested:`Nunca testado`},auth:{authenticated:`Sessão iniciada`,unauthenticated:`Sem sessão`,unknown:`Sessão desconhecida`},agentLoop:`Loop do agente`,agentLoopHint:`como o pipeline implement conduz este modelo`,agentLoop_compact:`Compacto`,agentLoop_compactHint:`Micropassos conduzidos pelo app com saída estruturada. Recomendado para modelos abaixo de ~30B.`,agentLoop_free:`Livre`,agentLoop_freeHint:`Um loop agêntico por papel, como um provedor CLI. Exige um modelo forte.`,contextWindow:`Janela de contexto (tokens)`,contextWindowHint:`Iguale ao tamanho de contexto do servidor (n_ctx / num_ctx). Usado para compactar resultados antigos de ferramentas antes de encher a janela. Padrão 32768.`,maxOutput:`Orçamento de saída por turno (tokens)`,maxOutputHint:`max_tokens de um turno de ferramentas; um turno cortado é repetido uma vez com o dobro. Conta dentro da janela de contexto, por isso é sempre limitado ao espaço restante — aumente-o se o modelo raciocina em privado (o thinking consome-o). Predefinição 8192.`,reasoningEffortRailHint:`Desligado: o seletor de esforço de raciocínio não aparece no cabeçalho do rail para este motor.`,presetTitle:`Configuração rápida`,presetSmallModel:`Recomendado para modelos pequenos`,presetSmallModelApplied:`Predefinição para modelos pequenos aplicada`,presetSmallModelHint:`Ativa o loop Compacto, encaminha o esforço de raciocínio e fixa uma janela de contexto de 32k: a combinação validada com modelos de 7–14B. Cada campo continua editável.`,cliGroup:`Ferramentas CLI`,cliGroupHint:`Detectadas nesta máquina: usam o seu próprio início de sessão, nada a configurar.`,localGroup:`Motores locais`,localGroupHint:`Endpoints compatíveis com OpenAI (llama.cpp, Ollama, vLLM, LM Studio…) acessíveis a partir desta app.`,models_one:`{{count}} modelo`,models_other:`{{count}} modelos`,expand:`Mostrar definições`,collapse:`Ocultar definições`,overflow:`Mais ações`,addLocalHero:`Adicionar motor local`,emptyLocalPitch:`Ainda não há motores locais. Aponta a app para um endpoint compatível com OpenAI para executar o pipeline no teu próprio hardware: o custo fica sob o teu controlo e nada sai da tua rede.`,defaultsGroup:`Predefinições do provedor`},f={claude:`Claude`,codex:`Codex`,gemini:`Gemini`,kimi:`Kimi`},p={architect:`Arquiteto`,developer:`Desenvolvedor`,reviewer:`Revisor`,fixer:`Corretor`,verify:`Verificação`,archive:`Conclusão`},m={title:`Atribuição de funções`,hint:`Cada papel pode usar um fornecedor e um modelo diferentes. Conexões: Definições gerais → Provedores de IA. Limite padrão: {{turns}} turnos por agente.`,provider:`Fornecedor`,model:`Modelo`,modelPlaceholder:`ID do modelo ou padrão do CLI`,maxTurns:`Máximo de turnos (por defeito {{turns}})`,defaultModel:`Por defeito ({{model}})`,thinking:`Raciocínio oculto`,thinking_off:`Desligado`,thinking_on:`Ligado`,thinkingHint:`Desligado por defeito: o raciocínio oculto gasta o orçamento de saída e minutos por turno num ciclo guiado pelo host. Ligue-o para um papel que beneficie de deliberação (enviado como chat_template_kwargs.enable_thinking; os endpoints que não o conhecem ignoram-no).`},h={title:`Limites do fluxo`,hint:`Os campos vazios usam os valores do Core: {{attempts}} tentativas de correção e {{minutes}} minutos por passo de papel. Em motores locais o timeout aplica-se a cada unidade de trabalho (um grupo de tarefas, um artefacto, uma revisão) — 45 minutos por defeito — mais um watchdog de inatividade de 20 minutos; um passo que esgota o tempo bloqueia a execução e pode ser retomado a partir do próximo grupo aberto. Os limites de tokens e USD são opcionais; os de USD exigem Claude em todos os papéis.`,maxAttempts:`Máximo de tentativas do programador (por defeito {{attempts}})`,timeoutMinutes:`Timeout em minutos (por defeito {{minutes}}; motores locais 45 por grupo de tarefas)`,maxTokens:`Máximo de tokens`,maxCostUsd:`Custo máximo (USD)`,unlimited:`Sem limite`},g={title:`Comandos de verificação`,hint:`Opcional. Correm quando o programador termina e as falhas voltam ao programador. Com a lista vazia, o arquiteto propõe as verificações do próprio projeto em cada execução; os repositórios sem verificação automática são revistos na mesma.`,detect:`Detetar verificações do projeto`,detecting:`A detetar…`,detected:`Preenchido com as verificações que este projeto já define.`,nothingDetected:`Não foi encontrado nenhum comando de teste, verificação de tipos ou build. Não há problema: o arquiteto propõe verificações em cada execução quando possível.`,detectFailed:`Não foi possível inspecionar os repositórios do projeto.`,repository:`Repositório`,command:`Comando`,reason:`Detetado em {{reason}}`,remove:`Remover`,add:`Adicionar comando`,invalidLine:`Comando de verificação vazio ou com aspas por fechar: {{line}}`,label:`Nome da verificação (opcional)`,moveUp:`Subir`,moveDown:`Descer`},_={title:`Comandos de preparação`,hint:"Comandos idempotentes que o Core executa antes de cada verificação, no checkout do repositório (por exemplo `npx playwright install chromium`).",add:`Adicionar comando de preparação`,invalidLine:`O comando de preparação está vazio ou tem uma aspa não fechada: {{line}}`,repository:`Repositório`,command:`Comando de preparação`,label:`Rótulo de preparação (opcional)`,remove:`Remover`,moveUp:`Mover comando de preparação para cima`,moveDown:`Mover comando de preparação para baixo`,empty:`Sem comandos de preparação. A verificação é executada diretamente no checkout.`},v={title:`Execuções guardadas`,refresh:`Atualizar`,hint:`Continua no worktree original com o âmbito e as configurações guardadas; o progresso aparece no registo desse trabalho. Não publica nem reinicia a entrega do Desktop. As execuções ativas param a partir dos controlos do trabalho.`,empty:`Não há execuções guardadas.`,loadFailed:`Não foi possível carregar as execuções.`,actionFailed:`Não foi possível atualizar esta execução.`,phase:`Próxima fase: {{phase}}`,approve:`Aprovar conclusão`,recover:`Recuperar fase interrompida`,resume:`Retomar`,cancel:`Cancelar continuação`,status:{running:`A continuar…`,succeeded:`Concluído`,failed:`Falhou`,blocked:`Bloqueado`,paused:`Em pausa`,cancelled:`Cancelado`,interrupted:`Interrompido`,unavailable:`Indisponível`,expired:`Expirado`},question:`O arquiteto pergunta:`,answerLabel:`A sua resposta`,answerPlaceholder:`Responda à pergunta; o arquiteto continua com ela.`,answer:`Responder e retomar`,viewLog:`Ver log do job`,implementation:`Implementação`,preserveProgress:`Continue a partir da fase indicada, preservando o trabalho e as configurações guardadas.`,reviewDelivery:`Implementação concluída. Reveja o resultado no log antes da entrega; esta continuação não o publicou.`,prepareDelivery:`Preparar entrega`,dismiss:`Descartar`,selectRecovery:`Selecione as tentativas interrompidas a recuperar`},y={architect:`Lê o código e escreve a proposta, o design, as tarefas e a spec. Só leitura.`,developer:`Implementa as tarefas com testes. Pode editar ficheiros e executar comandos na sandbox do CLI.`,reviewer:`Confere o resultado com a spec e a evidência de verificação. Só leitura.`},b={title:`Limite de revisão`,hint:`Campos vazios usam o limite do Core. Os valores só podem elevá-lo: pontuação geral de pelo menos {{score}}, segurança de pelo menos {{security}}, outros aspetos de pelo menos {{aspect}}.`,minScore:`Pontuação geral mínima (padrão {{score}})`,aspects:{type_correctness:`Correção de tipos (padrão {{score}})`,pattern_adherence:`Aderência a padrões (padrão {{score}})`,test_coverage:`Cobertura de testes (padrão {{score}})`,security:`Segurança (padrão {{score}})`,architectural_alignment:`Alinhamento arquitetural (padrão {{score}})`}},x={title:`Confiança do arquiteto`,hint:`Após uma passagem de investigação autónoma, um design ainda com baixa confiança pausa com a pergunta do arquiteto ou prossegue com suposições declaradas.`,onLowConfidence:`Com baixa confiança`,ask:`Perguntar (pausar com a pergunta)`,proceed:`Prosseguir com suposições declaradas`},S={title:`Consumo e tempo`,hint:`Inclui correções e chamadas falhadas. O tempo dos agentes inclui as ferramentas. Os tokens em cache fazem parte dos tokens de entrada.`,unknown:`Indisponível`,duration:`Tempo de execução`,agentTime:`Tempo dos agentes`,cost:`Custo reportado`,providerCalls:`Chamadas a agentes`,toolCalls:`Chamadas a ferramentas`,input:`Tokens de entrada`,output:`Tokens de saída`,uncached:`Entrada sem cache`,cacheRead:`Leituras da cache`,cacheWrite:`Escritas na cache`,partial:`Algumas tentativas não têm medições detalhadas.`,phases:`Consumo por fase`,phase:`Fase`,attempts:`Tentativas`},C={title:`Prompts dos papéis dos agentes`,description:`Veja e edite as instruções de cada papel. São partilhadas por todos os projetos e fornecedores; as alterações aplicam-se a novos trabalhos. Os trabalhos retomados mantêm os prompts originais.`,definition:`Definição de {{role}}`,default:`Predefinição de fábrica`,custom:`Personalizado`,restore:`Restaurar predefinição`,contracts:`O contexto da spec, o fluxo OpenSpec e o formato de resposta obrigatório são adicionados automaticamente e não são editados aqui.`,invalid:`Cada definição deve conter entre 1 e 20.000 caracteres, com texto não vazio e sem bytes nulos.`,saved:`Prompts dos papéis guardados`,unsaved:`Alterações por guardar`,discard:`Descartar alterações`,save:`Guardar prompts`,fixerHint:`Usado apenas em rondas de correção: após uma verificação falhada ou uma revisão rejeitada. Corre no motor do developer salvo se Definições ▸ Motor dos agentes ▸ Corretor indicar um próprio. Um fornecedor CLI que retoma a sessão do developer recebe o seguimento curto de correção; a definição aplica-se sempre que arranca uma sessão nova (motores locais, motor corretor, sessão perdida).`},w={title:`Eficiência da implementação`,scope:`Aplica-se a novas execuções. As execuções guardadas mantêm a configuração e o motor originais.`,effort:`Esforço de raciocínio`,providerDefault:`Padrão do fornecedor`,unconfirmed:`Não confirmado`,unknownSupport:`O suporte deste modelo e transporte não está confirmado.`,escalation:`Permitir um nível superior com o mesmo fornecedor`,baseRequired:`Selecione primeiro um modelo base explícito.`,escalationModel:`Modelo de nível superior`,triggers:{architect:`Apenas a investigação aprofundada existente pode selecionar este nível.`,developer:`Após dois candidatos falhados, a próxima tentativa permitida pode selecionar este nível.`,reviewer:`Apenas para reparar respostas inválidas; rejeitar código não ativa este nível.`,fixer:`Só uma rodada de correção pode alcançar este nível; as primeiras passagens nunca executam o corretor.`},contextMode:`Contexto do repositório`,reviewMode:`Revisão de correções`,planning:`Profundidade do planeamento`,adaptive:`Adaptativo`,full:`Completo`,developerChecks:`Aceitar verificações adicionais propostas pelo programador`,concurrency:`Máximo de verificações simultâneas`,concurrencyHint:`Padrão: 1. Apenas verificações independentes declaradas pelo anfitrião em repositórios diferentes podem executar em conjunto. Sem reutilização por padrão.`,checkCapabilities:`Verificar compatibilidade dos modelos`,capabilitiesFailed:`Compatibilidade não confirmada. Atualize Core ou mantenha os padrões do fornecedor.`},T={title:`Evidências de verificação`,acceptance:`Aceitação técnica`,acceptanceStatus:{pending:`Pendente`,validated:`Validado`,"with-exceptions":`Com exceções`,blocked:`Bloqueado`},calls:`Chamadas aos agentes`,executed:`Verificações executadas`,reused:`Verificações reutilizadas`,unknown:`Indisponível`,unavailable:`Evidência indisponível. O resultado guardado não prova a validade atual.`,current:`Candidato e plano atuais`,historical:`Resultado histórico`,moreChecks:`Mais verificações`,output:`Saída da verificação`,empty:`Sem saída`,truncated:`Página limitada ou captura truncada.`,nextPage:`Página seguinte`,status:{passed:`Aprovado`,failed:`Falhou`,cancelled:`Cancelado`,interrupted:`Interrompido`},disposition:{executed:`Executado`,reused:`Reutilizado`,"not-run":`Não executado`},origin:`Origem`,origins:{host:`Anfitrião`,architect:`Arquiteto`,developer:`Programador`,"frozen-runtime-config":`Configuração guardada`,"project-role":`Papel do projeto`,default:`Padrão`,"explicit-launch-override":`Fornecedor escolhido para esta execução`,"loop-role":`Papel do loop`},reuseDisabled:`Reutilização desativada para esta verificação.`,reuseConfirmed:`Reutilizado após confirmar entradas e ferramentas idênticas.`,inputsChanged:`As entradas mudaram durante a verificação; resultado invalidado.`,reuseUnproven:`Sem resultado atual com entradas idênticas comprovadas; executado novamente.`,original:`Execução original`,requested:`Solicitado`,reported:`Reportado`},E={title:`Papéis do loop`,hint:`Motores dos papéis do loop quando um rail é lançado com o motor «Papéis». Os papéis do pipeline acima (architect, developer, reviewer) já vêm desta configuração do runtime.`,verifier:`Verificador`,verifierHint:`Todos os passos de IA do loop fora do core: verify, fix e passos de IA personalizados.`,decider:`Decisor`,deciderHint:`O Loop Decider que lê o veredicto e escolhe o passo seguinte — um modelo barato e rápido é a escolha natural.`,inherit:`Herdar o principal`,model:`Modelo`,effort:`Esforço de raciocínio`,disabled:`O runtime de agentes está desativado — os rails lançados com o motor «Papéis» são recusados até ser ativado.`,saveFailed:`Não foi possível guardar os papéis do loop.`},D={title:`Pipeline de implementação`,explainer:`Estas fases executam nesta ordem em cada implementação. Quando o motor do rail é "{{roles}}", cada fase usa o motor configurado abaixo — fornecedor, modelo e esforço diferentes por fase. Escolher um motor concreto no rail executa todas as fases nesse motor.`,host:`Host`,noCommand:`sem comando`,inherits:`Herda o principal`,inheritsDeveloper:`Herda do desenvolvedor`,open:`Abrir`,collapse:`Recolher`,groups:{core:{title:`Pipeline principal`,hint:`Executa dentro de cada implementação: planear, construir, verificar, corrigir, rever.`},loop:{title:`Passos do loop`,hint:`Passos de IA do loop do rail que envolve a execução (verificar → decidir → corrigir) e dos loops personalizados; herdam o motor principal se não forem definidos.`,chip:`loop do rail`}},phases:{architect:{name:`Arquiteto`,purpose:`Lê o código e escreve a proposta, o design e as tarefas.`},developer:{name:`Desenvolvedor`,purpose:`Implementa as tarefas com testes.`},verification:{name:`Verificação`,purpose:`O host executa as suas verificações; as falhas voltam ao desenvolvedor.`},fixer:{name:`Corretor`,purpose:`Corrige o que a verificação ou a revisão rejeitam; herda do desenvolvedor se não for configurado.`},reviewer:{name:`Revisor`,purpose:`Confere o resultado com a spec e as evidências.`},verifier:{name:`Verificador`,purpose:`Passos de IA verify, fix e personalizados do loop.`},decider:{name:`Decisor`,purpose:`Lê o veredito e escolhe o próximo passo do loop.`}}},O={title:`Motor do corretor`,inherit:`Herdar desenvolvedor`,own:`Motor próprio`,hint:`Só é executado em rodadas de correção: após uma verificação falha ou uma revisão rejeitada; as primeiras passagens continuam no desenvolvedor. Um modelo mais forte ou na nuvem aqui compensa quando o desenvolvedor é um modelo local barato.`},k={title:`Guarda-corpos`,intro:`Regras de processo que o host aplica em torno dos modelos locais para que um modelo pequeno não descarrile. Todas ativas por padrão; desative uma apenas para ajustar o processo. Provedores CLI nunca são afetados.`,unsupported:`Esta instalação do Core não expõe guarda-corpos configuráveis. Atualize o Core para ajustá-los; as regras integradas continuam a aplicar-se.`,active:`{{on}} de {{total}} ativos`,reset:`Restaurar padrões`,phases:{architect:`Arquiteto`,developer:`Desenvolvedor`,host:`Host`},unknown:`Um guarda-corpo adicionado por um Core mais recente; este app ainda não tem descrição para ele.`,items:{"plan-validation":{title:`Plano de tarefas validado`,description:`Rejeita planos que apontam para openspec/, listam nomes de arquivo soltos como tarefas, têm poucas tarefas/grupos para a spec ou deixam critérios de aceitação descobertos; o arquiteto tenta novamente.`,why:`Um plano vago ou incompleto é a razão nº 1 para um modelo desenvolvedor pequeno escrever stubs.`},"genuine-blocking-question":{title:`Apenas perguntas bloqueantes reais`,description:`O arquiteto só pode pausar a execução com uma pergunta real terminada em '?', nunca com texto de exemplo copiado.`,why:`Modelos pequenos repetem os marcadores do prompt e bloqueariam todas as execuções.`},"plan-language-hint":{title:`Planejar na linguagem do repositório`,description:`Informa ao arquiteto a linguagem principal para que os nomes de arquivo das tarefas tenham a extensão correta.`,why:`Um plano JS num repo TypeScript torna impossível marcar as tarefas.`},"frozen-plan-writes":{title:`Artefatos de planejamento estão congelados`,description:`O desenvolvedor não pode escrever em openspec/; o plano pertence ao host.`,why:`Modelos 'implementam' editando o plano em vez do código.`},"primary-language":{title:`Lembrete da linguagem principal`,description:`Cada grupo de tarefas recebe a linguagem principal do repositório; arquivos novos devem usá-la.`,why:`Evita uma segunda implementação em outra linguagem.`},"duplicate-sibling":{title:`Sem módulos gêmeos entre linguagens`,description:`Recusa board.js quando board.ts já existe; estenda o módulo existente.`,why:`Gêmeos compilam ambos e os testes importam o errado.`},"one-test-per-module":{title:`Um arquivo de teste por módulo`,description:`Recusa board.tick.test.ts quando board.test.ts existe; estenda-o em vez disso.`,why:`Senão cada passada de correção adiciona uma suíte nova.`},"empty-write":{title:`Sem sobrescritas vazias`,description:`Uma escrita vazia sobre um arquivo com conteúdo é recusada; escreva o conteúdo completo ou aplique um patch.`,why:`Uma passada de 'limpeza' certa vez deixou index.ts com 0 linhas.`},"evidence-gated-ticking":{title:`Evidência antes de marcar uma tarefa`,description:`Uma tarefa que nomeia arquivos só está concluída quando eles existem e não são stubs (extensões irmãs aceitas).`,why:`Sem isso, 'concluído' é só uma afirmação e a verificação roda contra nada.`},"inventory-retry":{title:`Tentar de novo com o inventário real`,description:`Quando o modelo desiste alegando que o repo está vazio sem estar, tenta uma vez mais com a lista de arquivos.`,why:`Segunda chance barata em vez de um passo falhado.`},"synthetic-corrections":{title:`Transformar feedback em tarefas`,description:`Quando todas as tarefas estão marcadas mas review/verify falharam, o feedback vira tarefas de correção concretas.`,why:`Senão o desenvolvedor responde 'já está feito' e nada muda.`},"silent-group-closure":{title:`Fechar grupos silenciosos, manter seus arquivos`,description:`Um grupo cujo modelo para de responder é fechado creditando os arquivos que escreveu e deixando suas tarefas abertas, em vez de falhar a execução.`,why:`Um modelo 9B escreveu cinco módulos, silenciou e toda a execução falhou.`},"environment-repair":{title:`O host repara o ambiente`,description:`Dependências ou ferramentas de teste ausentes (npm install, ts-jest, @types/jest, módulos de config do Jest) são instaladas pelo host e a verificação roda de novo uma vez.`,why:`O modelo não consegue consertar o ambiente e gasta correções tentando.`},"lockfile-repair":{title:`Descartar lockfiles escritos à mão`,description:`Um package-lock.json inventado pelo modelo (EINTEGRITY/ETARGET) é removido e a instalação repetida uma vez.`,why:`Hashes inventados nunca instalam.`},"verify-idle-timeout":{title:`Parar testes travados`,description:`Um comando de verificação sem saída por 5 minutos é interrompido e reportado como provável travamento (última saída incluída).`,why:`Senão um laço while num teste segura a execução até o limite de 15 minutos.`},"verify-per-group":{title:`Verificar após cada grupo`,description:`Executa o comando de teste do repositório logo após cada grupo de tarefas; uma falha recebe uma ronda de correção imediata com o contexto do grupo ainda fresco.`,why:`Cinco suites partidas no fim são muito mais difíceis de corrigir do que uma de cada vez.`},"test-reachability":{title:`Todo teste novo tem de correr mesmo`,description:"Um ficheiro de teste escrito pelo developer que o comando de teste do repositório nunca executa (um script `test` enumerativo que omite o ficheiro novo) falha a verificação com o ficheiro exato, primeiro ao nível do grupo e de novo na verificação do host.",why:`Uma suite de 622 linhas com seis casos a falhar chegou verde porque nada a executou.`},"exit-code-honesty":{title:`Desconfiar de um exit 0 que reporta falhas`,description:'Um comando de verificação que sai com 0 enquanto a saída imprime falhas (linhas `FAIL:`, "3 failed", um AssertionError) é tratado como FALHADO e entregue ao corretor com o harness apontado como o defeito.',why:`Um runner de testes caseiro que nunca definia um exit code diferente de zero entregou três testes vermelhos como verdes.`}}},A=`Alterações não guardadas`,j={title:`Funções personalizadas`,hint:`Defina instruções reutilizáveis e permissões explícitas para as funções do fluxo.`,unsupported:`Atualize o Core para editar funções personalizadas.`,remove:`Remover {{id}}`,access:`Acesso ao código`,read:`Somente leitura`,write:`Leitura e escrita`,artifacts:`Acesso aos artefatos OpenSpec`,none:`Nenhum`,tasks:`Somente caixas de tarefas`,all:`Todos os artefatos da alteração`,skill:`Skill do OpenSpec`,noSkill:`Nenhuma skill associada`,prompt:`Instruções da função`,id:`ID da função`,add:`Adicionar função`,invalidId:`Use um ID único em minúsculas que comece com uma letra, com até 64 letras, números ou hífens. Os IDs integrados são reservados.`,escalationHint:`Somente uma correção permitida do protocolo pode usar o modelo de escalonamento. Nenhuma tentativa extra é adicionada.`},M={title:`Instruções de execução`,hint:`O Core guarda estas instruções para o próximo turno de agente compatível. O envio não responde a perguntas nem concede aprovações.`,label:`Instruções adicionais`,send:`Enviar instruções`,accepted:`Recebidas pelo Core; aguardando utilização.`,pending:`Aguardando um turno de agente`,consumed:`Utilizadas por um agente`,counts:`Pendentes: {{pending}} · Utilizadas: {{consumed}}`,failed:`Não foi possível enviar as instruções. Tente novamente para confirmar a mesma mensagem.`,unavailable:`Os detalhes dos recibos estão indisponíveis.`,unreported:`Esta versão do Core não informa a utilização.`,truncated:`São apresentados apenas os recibos recentes e as mensagens pendentes.`},N={title:`Valores padrão do papel do Core`,hint:`Estes valores do arquivo aplicam-se a novos workflows. As configurações explícitas do projeto têm prioridade; as execuções salvas mantêm as configurações fixadas.`,invalid:`Corrija o cabeçalho YAML no editor antes de alterar os campos do papel.`,escalationEffort:`Esforço de raciocínio do modelo superior`},P={title:`Retenção do histórico`,description:`Elimine históricos expirados e versões do Core sem uso. Históricos eliminados não podem ser retomados nem bifurcados. Execuções ativas ou recuperáveis e entregas pendentes ficam protegidas; registos de trabalhos e custos são mantidos.`,forever:`Manter o histórico indefinidamente`,days:`Dias de retenção`,save:`Guardar retenção`,preview:`Pré-visualizar limpeza`,collect:`Eliminar histórico expirado`,previewSummary:`Elegíveis: {{runs}} históricos e {{packages}} versões do Core sem uso.`,collectedSummary:`Expirados: {{runs}} históricos. Removidas: {{packages}} versões do Core sem uso.`,more:`{{count}} execuções adicionais.`,failed:`Não foi possível consultar ou atualizar a retenção.`,expired:`Este histórico expirou segundo a política do projeto. O registo do trabalho e a contabilidade continuam disponíveis.`,loading:`A carregar a política…`,states:{protected:`Mantido`,eligible:`Elegível`,expired:`Expirado`,cleanup_pending:`Limpeza pendente`,busy:`Em uso`,error:`Falha na inspeção`},reasons:{disabled:`Retenção indefinida`,recoverable:`Recuperação ainda disponível`,active:`Execução ativa`,human_pending:`A aguardar resposta humana`,interrupted_writes:`Escritas interrompidas por rever`,delivery_pending:`Entrega pendente`,fork_pending:`Existe uma bifurcação dependente`,unknown_terminal_time:`Data de conclusão desconhecida`,within_retention:`Dentro do período de retenção`}},F={title:`Loop agents`,hint:`These definitions are shared by every project using this loop. Duplicate the loop to customize a separate workflow.`,legacy:`This saved loop still uses historical project agents. Import them or enable loop agents before changing its configuration.`,enable:`Use loop agents`,import:`Import current project agents`,restoreDefinition:`Usar a definição do Core`,default:`Provider default`,effort:`Reasoning effort`,escalationModel:`Escalation model`,escalationEffort:`Escalation effort`,policy:`Workflow policy`,maxAttempts:`Maximum correction attempts`,maxTokens:`Token budget`,maxCostUsd:`Cost budget (USD)`,timeoutMs:`Run timeout (ms)`,projectHint:`Configure repository checks here. Agent definitions, models and workflow policy are configured in the loop editor. Historical project agents can be imported into a duplicated loop.`,showUnused:`Also show agents not used in this loop`,stepTitle:`Step agent and options`,stepHint:`Edit this step’s agent definition and engine. Steps using the same role in this loop share these settings.`,inheritProvider:`Herdar o fornecedor da missão`,inheritDefinition:`Segue a definição do Core: cada atualização do Core renova-a automaticamente.`,customizeDefinition:`Personalizar para este loop`,coreDefinitionUnavailable:`Pré-visualização indisponível até instalar um runtime do Core.`},I={title:e,description:t,loading:n,loadFailed:r,retry:i,unavailable:a,save:o,saving:s,saved:c,saveFailed:l,approvalBeforeArchive:u,providers:d,cliNames:f,roles:p,agents:m,limits:h,verification:g,setup:_,runs:v,roleHints:y,review:b,architect:x,metrics:S,prompts:C,efficiency:w,evidence:T,loopRoles:E,pipeline:D,fixer:O,guardrails:k,unsavedChanges:A,customRoles:j,steering:M,studioRole:N,retention:P,loopAgents:F};export{m as agents,u as approvalBeforeArchive,x as architect,f as cliNames,j as customRoles,I as default,t as description,w as efficiency,T as evidence,O as fixer,k as guardrails,h as limits,r as loadFailed,n as loading,F as loopAgents,E as loopRoles,S as metrics,D as pipeline,C as prompts,d as providers,P as retention,i as retry,b as review,y as roleHints,p as roles,v as runs,o as save,l as saveFailed,c as saved,s as saving,_ as setup,M as steering,N as studioRole,e as title,a as unavailable,A as unsavedChanges,g as verification};
@@ -0,0 +1 @@
1
+ var e=`Moteur d’agents`,t=`Architecte, développeur et relecteur s’exécutent en phases séparées avec une vérification déterministe entre elles. Choisissez un fournisseur par rôle ; tout le reste a une valeur par défaut qui fonctionne.`,n=`Chargement des paramètres…`,r=`Impossible de charger les paramètres. Réessayez avant de les modifier.`,i=`Réessayer`,a=`Cette installation de Core ne contient pas le moteur d’agents. Mettez Core à jour avant de l’activer ; vous pouvez préparer les paramètres en attendant.`,o=`Enregistrer les paramètres`,s=`Enregistrement…`,c=`Paramètres enregistrés`,l=`Impossible d’enregistrer les paramètres.`,u=`Demander une approbation avant de terminer le workflow`,d={title:`Fournisseurs`,hint:`Les CLI utilisent leur connexion existante. Pour les API, indiquez uniquement un nom de variable d’environnement, jamais une clé. Il peut rester vide en local. Réaffectez les rôles avant de supprimer leur fournisseur.`,entry:`Fournisseur {{index}}`,id:`ID du fournisseur`,kind:`Type de connexion`,cli:`CLI de programmation installé`,compatible:`API compatible OpenAI`,command:`CLI de programmation`,baseUrl:`URL de base de l’API`,apiKeyEnv:`Variable d’environnement de la clé (facultative)`,remove:`Supprimer le fournisseur`,addCli:`Ajouter un fournisseur CLI`,addLocal:`Ajouter un fournisseur local / API`,show:`Afficher les connexions aux fournisseurs`,hide:`Masquer les connexions aux fournisseurs`,globalTitle:`Fournisseurs d'IA`,globalHint:`Deux types de fournisseurs alimentent chaque projet : les CLI de programmation détectées sur cette machine et les moteurs locaux compatibles OpenAI que vous enregistrez ici. Attribuez-les aux phases du pipeline dans Paramètres du projet ▸ Moteur des agents. Les changements s’appliquent aux nouvelles exécutions.`,label:`Nom affiché (facultatif)`,labelPlaceholder:`ex. Machine LAN`,defaultModel:`Modèle par défaut`,defaultModelNone:`Aucun défaut (premier découvert)`,defaultModelPlaceholder:`ID du modèle ou alias personnalisé`,customModel:`Alias personnalisé…`,discoveredModels:`Modèles découverts`,noModels:`Aucun modèle découvert pour l'instant : testez la connexion.`,rates:`Tarifs (USD par 1M de jetons, facultatif)`,ratesHint:`Les coûts sont affichés comme des estimations ; laissez les deux vides et le coût reste inconnu.`,inputRate:`Entrée par 1M`,outputRate:`Sortie par 1M`,ratesInvalid:`Saisissez les deux tarifs comme nombres non négatifs, ou laissez les deux vides.`,reasoningEffort:`Le service accepte l'effort de raisonnement`,reasoningEffortHint:`Envoie le champ reasoning_effort d'OpenAI : l'effort configuré du rôle à chaque appel, porté à élevé pendant que l'architecte compact rédige le plan. Laissez désactivé sauf si le serveur le prend en charge.`,apiKeyEnvMissing:`{{name}} n'est pas définie dans le processus de l'app. Définissez-la dans l'environnement qui lance l'app.`,test:`Tester la connexion`,testing:`Test en cours…`,testFailed:`Impossible de tester la connexion.`,rename:`Renommer`,renameHint:`Le renommage conserve les affectations de rôles vers cette connexion.`,idLocked:`L'id est verrouillé après l'enregistrement. Utilisez Renommer pour le modifier.`,localBadge:`Moteur local`,cliBadge:`CLI`,notDetected:`Non détecté sur cette machine`,unsaved:`Modifications non enregistrées`,empty:`Aucune connexion pour l'instant. Ajoutez un fournisseur local / API pour commencer.`,fixBeforeSave:`Corrigez les champs signalés avant d'enregistrer.`,status:{probing:`Vérification…`,reachable:`Joignable`,unauthorized:`Non autorisé`,unreachable:`Injoignable`,untested:`Jamais testé`},auth:{authenticated:`Connecté`,unauthenticated:`Non connecté`,unknown:`Connexion inconnue`},agentLoop:`Boucle de l'agent`,agentLoopHint:`comment le pipeline implement pilote ce modèle`,agentLoop_compact:`Compacte`,agentLoop_compactHint:`Micro-étapes pilotées par l'application avec sortie structurée. Recommandé pour les modèles de moins de ~30B.`,agentLoop_free:`Libre`,agentLoop_freeHint:`Une boucle agentique par rôle, comme un fournisseur CLI. Nécessite un modèle puissant.`,contextWindow:`Fenêtre de contexte (tokens)`,contextWindowHint:`Alignez sur la taille de contexte du serveur (n_ctx / num_ctx). Sert à compacter les anciens résultats d'outils avant de remplir la fenêtre. Par défaut 32768.`,maxOutput:`Budget de sortie par tour (tokens)`,maxOutputHint:`max_tokens d'un tour d'outils ; un tour coupé est retenté une fois au double. Compte dans la fenêtre de contexte, donc toujours plafonné à l'espace restant — augmentez-le si le modèle raisonne en privé (le thinking le consomme). Par défaut 8192.`,reasoningEffortRailHint:`Désactivé : le sélecteur d'effort de raisonnement n'apparaît pas dans l'en-tête du rail pour ce moteur.`,presetTitle:`Configuration rapide`,presetSmallModel:`Recommandé pour les petits modèles`,presetSmallModelApplied:`Préréglage petits modèles appliqué`,presetSmallModelHint:`Active la boucle Compacte, transmet l'effort de raisonnement et fixe une fenêtre de contexte de 32k : la combinaison validée avec des modèles de 7–14B. Chaque champ reste modifiable.`,cliGroup:`Outils CLI`,cliGroupHint:`Détectés sur cette machine : ils utilisent leur propre connexion, rien à configurer.`,localGroup:`Moteurs locaux`,localGroupHint:`Points de terminaison compatibles OpenAI (llama.cpp, Ollama, vLLM, LM Studio…) accessibles depuis cette application.`,models_one:`{{count}} modèle`,models_other:`{{count}} modèles`,expand:`Afficher les paramètres`,collapse:`Masquer les paramètres`,overflow:`Plus d'actions`,addLocalHero:`Ajouter un moteur local`,emptyLocalPitch:`Aucun moteur local pour l'instant. Pointez l'application vers un point de terminaison compatible OpenAI pour exécuter le pipeline sur votre propre matériel : le coût reste sous votre contrôle et rien ne quitte votre réseau.`,defaultsGroup:`Valeurs par défaut du fournisseur`},f={claude:`Claude`,codex:`Codex`,gemini:`Gemini`,kimi:`Kimi`},p={architect:`Architecte`,developer:`Développeur`,reviewer:`Réviseur`,fixer:`Correcteur`,verify:`Vérification`,archive:`Finalisation`},m={title:`Attribution des rôles`,hint:`Chaque rôle peut utiliser un fournisseur et un modèle différents. Connexions : Paramètres généraux → Fournisseurs d'IA. Limite par défaut : {{turns}} tours par agent.`,provider:`Fournisseur`,model:`Modèle`,modelPlaceholder:`ID du modèle ou modèle par défaut du CLI`,maxTurns:`Nombre maximal de tours (par défaut {{turns}})`,defaultModel:`Par défaut ({{model}})`,thinking:`Raisonnement privé`,thinking_off:`Désactivé`,thinking_on:`Activé`,thinkingHint:`Désactivé par défaut : le raisonnement caché consomme le budget de sortie et des minutes par tour dans une boucle pilotée par l'hôte. Activez-le pour un rôle qui profite de la délibération (envoyé comme chat_template_kwargs.enable_thinking ; ignoré par les endpoints qui ne le connaissent pas).`},h={title:`Limites du workflow`,hint:`Les champs vides utilisent les valeurs de Core : {{attempts}} tentatives de correction et {{minutes}} minutes par étape de rôle. Sur les moteurs locaux, le délai s'applique à chaque unité de travail (un groupe de tâches, un artefact, une revue) — 45 minutes par défaut — plus une surveillance d'inactivité de 20 minutes ; une étape qui dépasse son temps bloque l'exécution et peut reprendre au prochain groupe ouvert. Les plafonds de tokens et USD sont facultatifs ; ceux en USD exigent Claude pour tous les rôles.`,maxAttempts:`Tentatives maximales du développeur (par défaut {{attempts}})`,timeoutMinutes:`Délai en minutes (par défaut {{minutes}} ; moteurs locaux 45 par groupe de tâches)`,maxTokens:`Jetons maximum`,maxCostUsd:`Coût maximum (USD)`,unlimited:`Sans limite`},g={title:`Commandes de vérification`,hint:`Facultatif. Elles s’exécutent quand le développeur a terminé et leurs échecs lui reviennent. Liste vide : l’architecte propose les vérifications propres au projet à chaque exécution ; les dépôts sans vérification automatique sont quand même relus.`,detect:`Détecter les vérifications du projet`,detecting:`Détection…`,detected:`Rempli avec les vérifications que ce projet définit déjà.`,nothingDetected:`Aucune commande de test, de vérification de types ou de build trouvée. Ce n’est pas grave : l’architecte propose des vérifications à chaque exécution quand c’est possible.`,detectFailed:`Impossible d’inspecter les dépôts du projet.`,repository:`Dépôt`,command:`Commande`,reason:`Détecté depuis {{reason}}`,remove:`Retirer`,add:`Ajouter une commande`,invalidLine:`Commande de vérification vide ou guillemet non fermé : {{line}}`,label:`Libellé du contrôle (facultatif)`,moveUp:`Monter`,moveDown:`Descendre`},_={title:`Commandes de préparation`,hint:"Commandes idempotentes que Core exécute avant chaque vérification, dans le checkout du dépôt (par exemple `npx playwright install chromium`).",add:`Ajouter une commande de préparation`,invalidLine:`La commande de préparation est vide ou contient un guillemet non fermé : {{line}}`,repository:`Dépôt`,command:`Commande de préparation`,label:`Libellé de préparation (facultatif)`,remove:`Retirer`,moveUp:`Monter la commande de préparation`,moveDown:`Descendre la commande de préparation`,empty:`Aucune commande de préparation. La vérification s'exécute directement dans le checkout.`},v={title:`Exécutions enregistrées`,refresh:`Actualiser`,hint:`Continue dans le worktree d’origine avec le périmètre et les paramètres enregistrés ; la progression apparaît dans le journal de ce job. Ne publie pas et ne relance pas la livraison Desktop. Les exécutions actives s’arrêtent depuis les contrôles du job.`,empty:`Aucune exécution enregistrée.`,loadFailed:`Impossible de charger les exécutions.`,actionFailed:`Impossible de mettre à jour cette exécution.`,phase:`Phase suivante : {{phase}}`,approve:`Approuver la fin`,recover:`Récupérer la phase interrompue`,resume:`Reprendre`,cancel:`Annuler la reprise`,status:{running:`Reprise en cours…`,succeeded:`Réussi`,failed:`Échec`,blocked:`Bloqué`,paused:`En pause`,cancelled:`Annulé`,interrupted:`Interrompu`,unavailable:`Indisponible`,expired:`Expiré`},question:`L'architecte demande :`,answerLabel:`Votre réponse`,answerPlaceholder:`Répondez à la question ; l'architecte poursuit avec elle.`,answer:`Répondre et reprendre`,viewLog:`Voir le journal du job`,implementation:`Implémentation`,preserveProgress:`Reprendre à la phase indiquée en conservant le travail et les paramètres enregistrés.`,reviewDelivery:`Implémentation terminée. Vérifiez le résultat dans le journal avant la livraison ; cette reprise ne l’a pas publié.`,prepareDelivery:`Préparer la livraison`,dismiss:`Ignorer`,selectRecovery:`Sélectionnez les tentatives interrompues à reprendre`},y={architect:`Lit le code et rédige la proposition, la conception, les tâches et la spec. Lecture seule.`,developer:`Implémente les tâches avec des tests. Peut modifier des fichiers et exécuter des commandes dans le bac à sable du CLI.`,reviewer:`Vérifie le résultat par rapport à la spec et aux preuves de vérification. Lecture seule.`},b={title:`Seuil de revue`,hint:`Les champs vides utilisent le seuil de Core. Les valeurs ne peuvent que le relever : score global d'au moins {{score}}, sécurité d'au moins {{security}}, autres aspects d'au moins {{aspect}}.`,minScore:`Score global minimal (par défaut {{score}})`,aspects:{type_correctness:`Exactitude des types (par défaut {{score}})`,pattern_adherence:`Respect des patrons (par défaut {{score}})`,test_coverage:`Couverture de tests (par défaut {{score}})`,security:`Sécurité (par défaut {{score}})`,architectural_alignment:`Alignement architectural (par défaut {{score}})`}},x={title:`Confiance de l'architecte`,hint:`Après une passe d'investigation autonome, une conception encore peu sûre se met en pause avec la question de l'architecte ou continue sur des hypothèses explicites.`,onLowConfidence:`En cas de faible confiance`,ask:`Demander (pause avec la question)`,proceed:`Continuer sur des hypothèses explicites`},S={title:`Consommation et durée`,hint:`Inclut les corrections et les appels échoués. La durée des agents inclut les outils. Les tokens en cache font partie des tokens en entrée.`,unknown:`Indisponible`,duration:`Durée d’exécution`,agentTime:`Durée des agents`,cost:`Coût déclaré`,providerCalls:`Appels aux agents`,toolCalls:`Appels aux outils`,input:`Tokens en entrée`,output:`Tokens en sortie`,uncached:`Entrée sans cache`,cacheRead:`Lectures du cache`,cacheWrite:`Écritures du cache`,partial:`Certains essais ne disposent pas de mesures détaillées.`,phases:`Consommation par phase`,phase:`Phase`,attempts:`Essais`},C={title:`Prompts des rôles des agents`,description:`Consultez et modifiez les instructions de chaque rôle. Elles sont partagées par tous les projets et fournisseurs ; les modifications s’appliquent aux nouveaux travaux. Les travaux repris conservent leurs prompts d’origine.`,definition:`Définition de {{role}}`,default:`Valeur par défaut`,custom:`Personnalisé`,restore:`Rétablir la valeur par défaut`,contracts:`Le contexte de la spec, le workflow OpenSpec et le format de réponse requis sont ajoutés automatiquement et ne sont pas modifiables ici.`,invalid:`Chaque définition doit contenir entre 1 et 20 000 caractères, du texte non vide et aucun octet nul.`,saved:`Prompts des rôles enregistrés`,unsaved:`Modifications non enregistrées`,discard:`Annuler les modifications`,save:`Enregistrer les prompts`,fixerHint:`Utilisé uniquement lors des tours de correction : après une vérification échouée ou une revue rejetée. Tourne sur le moteur du développeur sauf si Réglages ▸ Moteur des agents ▸ Correcteur en désigne un. Un fournisseur CLI qui reprend la session du développeur reçoit le court suivi de correction ; la définition s'applique dès qu'une session neuve démarre (moteurs locaux, moteur correcteur, session perdue).`},w={title:`Efficacité de l’implémentation`,scope:`S’applique aux nouvelles exécutions. Les exécutions enregistrées conservent leur configuration et leur moteur.`,effort:`Effort de raisonnement`,providerDefault:`Valeur du fournisseur`,unconfirmed:`Non confirmé`,unknownSupport:`La prise en charge de ce modèle et de ce transport reste à confirmer.`,escalation:`Autoriser un niveau supérieur avec le même fournisseur`,baseRequired:`Sélectionnez d’abord un modèle de base explicite.`,escalationModel:`Modèle supérieur`,triggers:{architect:`Seule l’investigation approfondie existante peut sélectionner ce niveau.`,developer:`Après deux candidats en échec, la prochaine tentative autorisée peut sélectionner ce niveau.`,reviewer:`Uniquement pour réparer une réponse mal formée, jamais pour un refus du code.`,fixer:`Seul un tour de correction peut atteindre ce palier ; les premiers passages n'exécutent jamais le correcteur.`},contextMode:`Contexte du dépôt`,reviewMode:`Revue des corrections`,planning:`Profondeur de planification`,adaptive:`Adaptatif`,full:`Complet`,developerChecks:`Accepter les contrôles supplémentaires proposés par le développeur`,concurrency:`Contrôles simultanés maximum`,concurrencyHint:`Par défaut : 1. Seuls les contrôles indépendants déclarés par l’hôte dans différents dépôts peuvent s’exécuter ensemble. Aucune réutilisation par défaut.`,checkCapabilities:`Vérifier la compatibilité des modèles`,capabilitiesFailed:`Compatibilité non confirmée. Mettez à jour Core ou conservez les valeurs du fournisseur.`},T={title:`Preuves de vérification`,acceptance:`Acceptation technique`,acceptanceStatus:{pending:`En attente`,validated:`Validé`,"with-exceptions":`Avec exceptions`,blocked:`Bloqué`},calls:`Appels aux agents`,executed:`Contrôles exécutés`,reused:`Contrôles réutilisés`,unknown:`Indisponible`,unavailable:`Preuves indisponibles. Le résultat enregistré ne prouve pas la validité actuelle.`,current:`Candidat et plan actuels`,historical:`Résultat historique`,moreChecks:`Plus de contrôles`,output:`Sortie de vérification`,empty:`Aucune sortie`,truncated:`Page limitée ou capture tronquée.`,nextPage:`Page de sortie suivante`,status:{passed:`Réussi`,failed:`Échec`,cancelled:`Annulé`,interrupted:`Interrompu`},disposition:{executed:`Exécuté`,reused:`Réutilisé`,"not-run":`Non exécuté`},origin:`Origine`,origins:{host:`Hôte`,architect:`Architecte`,developer:`Développeur`,"frozen-runtime-config":`Configuration enregistrée`,"project-role":`Rôle du projet`,default:`Par défaut`,"explicit-launch-override":`Fournisseur choisi pour le lancement`,"loop-role":`Rôle de la boucle`},reuseDisabled:`Réutilisation désactivée pour ce contrôle.`,reuseConfirmed:`Réutilisé après confirmation des entrées et outils identiques.`,inputsChanged:`Entrées modifiées pendant la vérification ; résultat invalidé.`,reuseUnproven:`Aucun résultat actuel avec des entrées identiques prouvées ; contrôle relancé.`,original:`Exécution originale`,requested:`Demandé`,reported:`Rapporté`},E={title:`Rôles de boucle`,hint:`Moteurs des rôles côté boucle lorsqu'un rail est lancé avec le moteur « Rôles ». Les rôles du pipeline ci-dessus (architect, developer, reviewer) proviennent déjà de cette configuration du runtime.`,verifier:`Vérificateur`,verifierHint:`Chaque étape IA de la boucle hors core : verify, fix et étapes IA personnalisées.`,decider:`Décideur`,deciderHint:`Le Loop Decider qui lit le verdict et choisit l'étape suivante — un modèle rapide et peu coûteux est le choix naturel.`,inherit:`Hériter du principal`,model:`Modèle`,effort:`Effort de raisonnement`,disabled:`Le runtime des agents est désactivé : les rails lancés avec le moteur « Rôles » sont refusés tant qu'il n'est pas activé.`,saveFailed:`Impossible d'enregistrer les rôles de boucle.`},D={title:`Pipeline d'implémentation`,explainer:`Ces phases s'exécutent dans cet ordre à chaque implémentation. Quand le moteur du rail est « {{roles}} », chaque phase utilise le moteur configuré ci-dessous : fournisseur, modèle et effort différents par phase. Choisir un moteur précis sur le rail exécute toutes les phases avec ce moteur.`,host:`Hôte`,noCommand:`aucune commande`,inherits:`Hérite du principal`,inheritsDeveloper:`Hérite du développeur`,open:`Ouvrir`,collapse:`Réduire`,groups:{core:{title:`Pipeline principal`,hint:`S'exécute dans chaque implémentation : planifier, construire, vérifier, corriger, relire.`},loop:{title:`Étapes de la boucle`,hint:`Étapes IA de la boucle du rail qui entoure l'exécution (vérifier → décider → corriger) et des boucles personnalisées ; elles héritent du moteur principal sauf réglage.`,chip:`boucle du rail`}},phases:{architect:{name:`Architecte`,purpose:`Lit le code et rédige la proposition, la conception et les tâches.`},developer:{name:`Développeur`,purpose:`Implémente les tâches avec des tests.`},verification:{name:`Vérification`,purpose:`L'hôte exécute vos contrôles ; les échecs reviennent au développeur.`},fixer:{name:`Correcteur`,purpose:`Corrige ce que la vérification ou la revue rejettent ; hérite du développeur s'il n'est pas configuré.`},reviewer:{name:`Relecteur`,purpose:`Confronte le résultat à la spec et aux preuves.`},verifier:{name:`Vérificateur`,purpose:`Étapes IA verify, fix et personnalisées de la boucle.`},decider:{name:`Décideur`,purpose:`Lit le verdict et choisit l'étape suivante de la boucle.`}}},O={title:`Moteur du correcteur`,inherit:`Hériter du développeur`,own:`Moteur dédié`,hint:`Ne s'exécute que lors des tours de correction : après une vérification échouée ou une revue rejetée ; les premiers passages restent sur le développeur. Un modèle plus puissant ou cloud ici est rentable quand le développeur est un modèle local bon marché.`},k={title:`Garde-fous`,intro:`Règles de processus que l'hôte applique autour des modèles locaux pour qu'un petit modèle ne déraille pas. Toutes actives par défaut ; n'en désactivez une que pour ajuster le processus. Les fournisseurs CLI ne sont jamais concernés.`,unsupported:`Cette installation de Core n'expose pas de garde-fous configurables. Mettez Core à jour pour les ajuster ; les règles intégrées s'appliquent toujours.`,active:`{{on}} sur {{total}} actifs`,reset:`Rétablir les valeurs par défaut`,phases:{architect:`Architecte`,developer:`Développeur`,host:`Hôte`},unknown:`Un garde-fou ajouté par un Core plus récent ; cette application n'a pas encore de description pour lui.`,items:{"plan-validation":{title:`Plan de tâches validé`,description:`Rejette les plans qui ciblent openspec/, listent de simples noms de fichiers comme tâches, ont trop peu de tâches/groupes pour la spec ou laissent des critères d'acceptation non couverts ; l'architecte réessaie.`,why:`Un plan vague ou incomplet est la raison nº 1 pour laquelle un petit modèle développeur écrit des stubs.`},"genuine-blocking-question":{title:`Uniquement de vraies questions bloquantes`,description:`L'architecte ne peut mettre l'exécution en pause qu'avec une vraie question terminée par « ? », jamais avec un texte d'exemple copié.`,why:`Les petits modèles répètent les espaces réservés du prompt et bloqueraient chaque exécution.`},"plan-language-hint":{title:`Planifier dans le langage du dépôt`,description:`Indique à l'architecte le langage principal pour que les noms de fichiers des tâches portent la bonne extension.`,why:`Un plan JS sur un dépôt TypeScript rend les tâches impossibles à cocher.`},"frozen-plan-writes":{title:`Les artefacts de planification sont figés`,description:`Le développeur ne peut pas écrire sous openspec/ ; le plan appartient à l'hôte.`,why:`Les modèles « implémentent » en modifiant le plan au lieu du code.`},"primary-language":{title:`Rappel du langage principal`,description:`Chaque groupe de tâches reçoit le langage principal du dépôt ; les nouveaux fichiers doivent l'utiliser.`,why:`Évite une seconde implémentation dans un autre langage.`},"duplicate-sibling":{title:`Pas de modules jumeaux entre langages`,description:`Refuse board.js quand board.ts existe déjà ; étendez plutôt le module existant.`,why:`Les jumeaux compilent tous les deux et les tests importent le mauvais.`},"one-test-per-module":{title:`Un fichier de test par module`,description:`Refuse board.tick.test.ts quand board.test.ts existe ; étendez-le plutôt.`,why:`Sinon chaque passe de correction ajoute une nouvelle suite.`},"empty-write":{title:`Pas d'écrasements vides`,description:`Une écriture vide sur un fichier rempli est refusée ; écrivez le contenu complet ou appliquez un patch.`,why:`Une passe de « nettoyage » a un jour laissé index.ts à 0 ligne.`},"evidence-gated-ticking":{title:`Des preuves avant de cocher une tâche`,description:`Une tâche nommant des fichiers n'est terminée que s'ils existent et ne sont pas des stubs (extensions sœurs acceptées).`,why:`Sans cela, « terminé » n'est qu'une affirmation et la vérification s'exécute sur rien.`},"inventory-retry":{title:`Réessayer avec le vrai inventaire`,description:`Quand le modèle abandonne en prétendant que le dépôt est vide alors qu'il ne l'est pas, réessaie une fois avec la liste des fichiers.`,why:`Une seconde chance peu coûteuse plutôt qu'une étape échouée.`},"synthetic-corrections":{title:`Transformer le retour en tâches`,description:`Quand toutes les tâches sont cochées mais que la revue/vérification a échoué, le retour devient des tâches de correction concrètes.`,why:`Sinon le développeur répond « déjà fait » et rien ne change.`},"silent-group-closure":{title:`Fermer les groupes silencieux, garder leurs fichiers`,description:`Un groupe dont le modèle cesse de répondre est fermé en créditant les fichiers écrits et en laissant ses tâches ouvertes, au lieu de faire échouer l'exécution.`,why:`Un modèle 9B a écrit cinq modules, s'est tu, et toute l'exécution a échoué.`},"environment-repair":{title:`L'hôte répare l'environnement`,description:`Les dépendances ou outils de test manquants (npm install, ts-jest, @types/jest, modules de config Jest) sont installés par l'hôte, puis la vérification est relancée une fois.`,why:`Le modèle ne peut pas réparer l'environnement et gaspille des corrections à essayer.`},"lockfile-repair":{title:`Supprimer les lockfiles écrits à la main`,description:`Un package-lock.json inventé par le modèle (EINTEGRITY/ETARGET) est supprimé et l'installation retentée une fois.`,why:`Des hachages inventés ne s'installent jamais.`},"verify-idle-timeout":{title:`Arrêter les tests bloqués`,description:`Une commande de vérification sans sortie pendant 5 minutes est arrêtée et signalée comme blocage probable (dernière sortie incluse).`,why:`Sinon une boucle while dans un test retient l'exécution jusqu'à la limite de 15 minutes.`},"verify-per-group":{title:`Vérifier après chaque groupe`,description:`Lance la commande de test du dépôt juste après chaque groupe de tâches ; un échec reçoit une correction immédiate tant que le contexte du groupe est frais.`,why:`Cinq suites cassées à la fin sont bien plus dures à corriger qu'une à la fois.`},"test-reachability":{title:`Chaque nouveau test doit vraiment s'exécuter`,description:"Un fichier de test écrit par le developer que la commande de test du dépôt n'exécute jamais (un script `test` énumératif qui omet le nouveau fichier) fait échouer la vérification en nommant le fichier exact, d'abord au niveau du groupe puis à la vérification de l'hôte.",why:`Une suite de 622 lignes avec six cas en échec est passée au vert parce que rien ne l'avait jamais lancée.`},"exit-code-honesty":{title:`Se méfier d'un code de sortie 0 qui signale des échecs`,description:"Une commande de vérification qui sort avec 0 alors que sa sortie affiche des échecs (lignes `FAIL:`, « 3 failed », une AssertionError) est traitée comme ÉCHOUÉE et transmise au correcteur, le harnais étant désigné comme le défaut.",why:`Un lanceur de tests maison qui ne fixait jamais de code de sortie non nul a livré trois tests rouges comme verts.`}}},A=`Modifications non enregistrées`,j={title:`Rôles personnalisés`,hint:`Définissez des instructions réutilisables et des permissions explicites pour les rôles du workflow.`,unsupported:`Mettez Core à jour pour modifier les rôles personnalisés.`,remove:`Supprimer {{id}}`,access:`Accès au code`,read:`Lecture seule`,write:`Lecture et écriture`,artifacts:`Accès aux artefacts OpenSpec`,none:`Aucun`,tasks:`Cases des tâches uniquement`,all:`Tous les artefacts du changement`,skill:`Skill OpenSpec`,noSkill:`Aucun skill associé`,prompt:`Instructions du rôle`,id:`ID du rôle`,add:`Ajouter un rôle`,invalidId:`Utilisez un ID unique en minuscules commençant par une lettre, avec au plus 64 lettres, chiffres ou tirets. Les IDs intégrés sont réservés.`,escalationHint:`Seule une réparation autorisée du protocole peut utiliser le modèle supérieur. Aucun nouvel essai n’est ajouté.`},M={title:`Instructions d’exécution`,hint:`Core conserve ces instructions pour le prochain tour d’agent compatible. Leur envoi ne répond pas aux questions et ne donne aucune approbation.`,label:`Instructions supplémentaires`,send:`Envoyer les instructions`,accepted:`Reçues par Core ; en attente de traitement.`,pending:`En attente d’un tour d’agent`,consumed:`Prises en compte par un agent`,counts:`En attente : {{pending}} · Traitées : {{consumed}}`,failed:`Impossible d’envoyer les instructions. Réessayez pour confirmer le même message.`,unavailable:`Les détails des reçus sont indisponibles.`,unreported:`Cette version de Core ne signale pas la prise en compte.`,truncated:`Seuls les reçus récents et les messages en attente sont affichés.`},N={title:`Valeurs par défaut du rôle Core`,hint:`Ces valeurs du fichier s’appliquent aux nouveaux workflows. Les paramètres explicites du projet sont prioritaires ; les exécutions enregistrées conservent leurs paramètres figés.`,invalid:`Corrigez l’en-tête YAML dans l’éditeur avant de modifier les champs du rôle.`,escalationEffort:`Effort de raisonnement du modèle supérieur`},P={title:`Conservation de l’historique`,description:`Supprimez les historiques expirés et les versions de Core inutilisées. Un historique supprimé ne peut plus être repris ni bifurqué. Les exécutions actives ou récupérables et les livraisons en attente restent protégées ; les journaux et les coûts sont conservés.`,forever:`Conserver indéfiniment`,days:`Jours de conservation`,save:`Enregistrer la conservation`,preview:`Aperçu du nettoyage`,collect:`Supprimer les historiques expirés`,previewSummary:`Éligibles : {{runs}} historiques et {{packages}} versions de Core inutilisées.`,collectedSummary:`Expirés : {{runs}} historiques. Supprimées : {{packages}} versions de Core inutilisées.`,more:`{{count}} exécutions supplémentaires.`,failed:`Impossible de consulter ou modifier la conservation.`,expired:`Cet historique a expiré selon la politique du projet. Le journal et la comptabilité restent disponibles.`,loading:`Chargement de la politique…`,states:{protected:`Conservé`,eligible:`Éligible`,expired:`Expiré`,cleanup_pending:`Nettoyage en attente`,busy:`Utilisé`,error:`Échec de vérification`},reasons:{disabled:`Conservation indéfinie`,recoverable:`Récupération encore possible`,active:`Exécution active`,human_pending:`Réponse humaine attendue`,interrupted_writes:`Écritures interrompues à examiner`,delivery_pending:`Livraison en attente`,fork_pending:`Bifurcation dépendante restante`,unknown_terminal_time:`Date de fin inconnue`,within_retention:`Durée de conservation non dépassée`}},F={title:`Loop agents`,hint:`These definitions are shared by every project using this loop. Duplicate the loop to customize a separate workflow.`,legacy:`This saved loop still uses historical project agents. Import them or enable loop agents before changing its configuration.`,enable:`Use loop agents`,import:`Import current project agents`,restoreDefinition:`Utiliser la définition de Core`,default:`Provider default`,effort:`Reasoning effort`,escalationModel:`Escalation model`,escalationEffort:`Escalation effort`,policy:`Workflow policy`,maxAttempts:`Maximum correction attempts`,maxTokens:`Token budget`,maxCostUsd:`Cost budget (USD)`,timeoutMs:`Run timeout (ms)`,projectHint:`Configure repository checks here. Agent definitions, models and workflow policy are configured in the loop editor. Historical project agents can be imported into a duplicated loop.`,showUnused:`Also show agents not used in this loop`,stepTitle:`Step agent and options`,stepHint:`Edit this step’s agent definition and engine. Steps using the same role in this loop share these settings.`,inheritProvider:`Hériter du fournisseur de la mission`,inheritDefinition:`Suit la définition de Core : chaque mise à niveau de Core la met à jour automatiquement.`,customizeDefinition:`Personnaliser pour cette boucle`,coreDefinitionUnavailable:`Aperçu indisponible tant qu’aucun runtime Core n’est installé.`},I={title:e,description:t,loading:n,loadFailed:r,retry:i,unavailable:a,save:o,saving:s,saved:c,saveFailed:l,approvalBeforeArchive:u,providers:d,cliNames:f,roles:p,agents:m,limits:h,verification:g,setup:_,runs:v,roleHints:y,review:b,architect:x,metrics:S,prompts:C,efficiency:w,evidence:T,loopRoles:E,pipeline:D,fixer:O,guardrails:k,unsavedChanges:A,customRoles:j,steering:M,studioRole:N,retention:P,loopAgents:F};export{m as agents,u as approvalBeforeArchive,x as architect,f as cliNames,j as customRoles,I as default,t as description,w as efficiency,T as evidence,O as fixer,k as guardrails,h as limits,r as loadFailed,n as loading,F as loopAgents,E as loopRoles,S as metrics,D as pipeline,C as prompts,d as providers,P as retention,i as retry,b as review,y as roleHints,p as roles,v as runs,o as save,l as saveFailed,c as saved,s as saving,_ as setup,M as steering,N as studioRole,e as title,a as unavailable,A as unsavedChanges,g as verification};
@@ -0,0 +1 @@
1
+ import{r as e}from"./rolldown-runtime-CNC7AqOf.js";var t=e({agents:()=>g,approvalBeforeArchive:()=>f,architect:()=>C,cliNames:()=>m,customRoles:()=>N,default:()=>R,description:()=>r,efficiency:()=>E,evidence:()=>D,fixer:()=>A,guardrails:()=>j,limits:()=>_,loadFailed:()=>a,loading:()=>i,loopAgents:()=>L,loopRoles:()=>O,metrics:()=>w,pipeline:()=>k,prompts:()=>T,providers:()=>p,retention:()=>I,retry:()=>o,review:()=>S,roleHints:()=>x,roles:()=>h,runs:()=>b,save:()=>c,saveFailed:()=>d,saved:()=>u,saving:()=>l,setup:()=>y,steering:()=>P,studioRole:()=>F,title:()=>n,unavailable:()=>s,unsavedChanges:()=>M,verification:()=>v}),n=`Agent runtime`,r=`Architect, developer and reviewer run as separate phases with deterministic verification in between. Pick a provider per role; everything else has a working default.`,i=`Loading runtime settings…`,a=`Could not load runtime settings. Retry before making changes.`,o=`Retry`,s=`This Core installation does not include the agent runtime. Update Core before enabling it; you can prepare settings while disabled.`,c=`Save runtime settings`,l=`Saving…`,u=`Runtime settings saved`,d=`Could not save runtime settings.`,f=`Pause for approval before completing the workflow`,p={title:`Providers`,hint:`CLI providers use their existing login. API providers accept an environment variable name only, never an API key. Local endpoints can leave it blank. Assign another provider to a role before removing its current provider.`,entry:`Provider {{index}}`,id:`Provider ID`,kind:`Connection type`,cli:`Installed coding CLI`,compatible:`OpenAI-compatible endpoint`,command:`Coding CLI`,baseUrl:`API base URL`,apiKeyEnv:`API key environment variable (optional)`,remove:`Remove provider`,addCli:`Add CLI provider`,addLocal:`Add local / API provider`,show:`Show provider connections`,hide:`Hide provider connections`,globalTitle:`AI providers`,globalHint:`Two kinds of provider power every project: coding CLIs detected on this machine and local OpenAI-compatible engines you register here. Assign them to the pipeline phases in Project settings ▸ Agent engine. Changes apply to new executions.`,label:`Display name (optional)`,labelPlaceholder:`e.g. LAN box`,defaultModel:`Default model`,defaultModelNone:`No default (first discovered)`,defaultModelPlaceholder:`Model id or custom alias`,customModel:`Custom alias…`,discoveredModels:`Discovered models`,noModels:`No models discovered yet — test the connection.`,rates:`Rates (USD per 1M tokens, optional)`,ratesHint:`Costs are shown as estimates; leave both empty and cost stays unknown.`,inputRate:`Input per 1M`,outputRate:`Output per 1M`,ratesInvalid:`Enter both rates as non-negative numbers, or leave both empty.`,reasoningEffort:`Endpoint accepts reasoning effort`,reasoningEffortHint:`Sends the OpenAI reasoning_effort field: the role's configured effort on every call, raised to high while the Compact architect writes the plan. Leave off unless the server honours it.`,apiKeyEnvMissing:`{{name}} is not set in the app process. Set it in the environment the app is launched from.`,test:`Test connection`,testing:`Testing…`,testFailed:`Could not test the connection.`,rename:`Rename`,renameHint:`Renaming keeps role assignments pointing at this connection.`,idLocked:`The id is locked once saved. Use Rename to change it.`,localBadge:`Local engine`,cliBadge:`CLI`,notDetected:`Not detected on this machine`,unsaved:`Unsaved changes`,empty:`No connections yet. Add a local / API provider to get started.`,fixBeforeSave:`Fix the highlighted fields before saving.`,status:{probing:`Probing…`,reachable:`Reachable`,unauthorized:`Not authorized`,unreachable:`Unreachable`,untested:`Never tested`},auth:{authenticated:`Signed in`,unauthenticated:`Not signed in`,unknown:`Sign-in unknown`},agentLoop:`Agent loop`,agentLoopHint:`how the implement pipeline drives this model`,agentLoop_compact:`Compact`,agentLoop_compactHint:`Host-driven micro-steps with structured output. Recommended for models under ~30B.`,agentLoop_free:`Free`,agentLoop_freeHint:`One agentic loop per role, like a CLI provider. Needs a strong model.`,contextWindow:`Context window (tokens)`,contextWindowHint:`Match the server's context size (n_ctx / num_ctx). Used to compact old tool results before the window fills. Default 32768.`,maxOutput:`Output budget per turn (tokens)`,maxOutputHint:`max_tokens of one tool turn; a turn cut off by it is retried once at double. Counts inside the context window, so it is always capped to the room left — raise it when the model thinks privately (thinking counts against it). Default 8192.`,reasoningEffortRailHint:`Off: the reasoning-effort selector is hidden in the rail header for this engine.`,presetTitle:`Quick setup`,presetSmallModel:`Recommended for small models`,presetSmallModelApplied:`Small-model preset applied`,presetSmallModelHint:`Sets Compact loop, forwards reasoning effort and a 32k context window — the combination validated with 7–14B models. You can still change each field.`,cliGroup:`CLI tools`,cliGroupHint:`Detected on this machine — they use their own login, nothing to configure.`,localGroup:`Local engines`,localGroupHint:`OpenAI-compatible endpoints (llama.cpp, Ollama, vLLM, LM Studio…) reachable from this app.`,models_one:`{{count}} model`,models_other:`{{count}} models`,expand:`Show settings`,collapse:`Hide settings`,overflow:`More actions`,addLocalHero:`Add local engine`,emptyLocalPitch:`No local engine yet. Point the app at an OpenAI-compatible endpoint to run the pipeline on your own hardware — cost stays under your control and nothing leaves your network.`,defaultsGroup:`Provider defaults`},m={claude:`Claude`,codex:`Codex`,gemini:`Gemini`,kimi:`Kimi`},h={architect:`Architect`,developer:`Developer`,reviewer:`Reviewer`,fixer:`Fixer`,verify:`Verification`,archive:`Completion`},g={title:`Role assignments`,hint:`Each role can use a different provider and model. Manage connections in General settings → AI providers. Default limit: {{turns}} turns per agent.`,provider:`Provider`,model:`Model`,modelPlaceholder:`Model ID or CLI default`,maxTurns:`Maximum turns (default {{turns}})`,defaultModel:`Default ({{model}})`,thinking:`Private thinking`,thinking_off:`Off`,thinking_on:`On`,thinkingHint:`Off by default: hidden reasoning spends the output budget and minutes per turn in a host-driven loop. Turn it on for a role that benefits from deliberation (sent as chat_template_kwargs.enable_thinking; ignored by endpoints that do not know it).`},_={title:`Workflow limits`,hint:`Empty fields use Core defaults: {{attempts}} correction attempts and {{minutes}} minutes per role step. On local engines the timeout applies to each unit of work (a task group, an artifact, a review) — 45 minutes by default — plus a 20-minute idle watchdog; a step that runs out of time blocks the run and can be resumed from the next open task group. Token and USD caps are optional; USD caps require Claude for every AI role.`,maxAttempts:`Maximum developer attempts (default {{attempts}})`,timeoutMinutes:`Timeout in minutes (default {{minutes}}; local engines 45 per task group)`,maxTokens:`Maximum tokens`,maxCostUsd:`Maximum cost (USD)`,unlimited:`No limit`},v={title:`Verification commands`,hint:`Optional. These run after the developer finishes and their failures go back to the developer. Leave the list empty and the architect proposes the project's own checks on each run; repositories without any automated check are still reviewed.`,detect:`Detect project checks`,detecting:`Detecting…`,detected:`Filled in from the checks this project already defines.`,nothingDetected:`No test, type-check or build command was found. That is fine: the architect proposes checks at run time when possible.`,detectFailed:`Could not inspect the project repositories.`,repository:`Repository`,command:`Command`,reason:`Detected from {{reason}}`,remove:`Remove`,add:`Add command`,invalidLine:`Verification command is empty or has an unterminated quote: {{line}}`,label:`Check label (optional)`,moveUp:`Move up`,moveDown:`Move down`},y={title:`Setup commands`,hint:"Idempotent commands Core runs before every verification, in the repository checkout (for example `npx playwright install chromium`).",add:`Add setup command`,invalidLine:`Setup command is empty or has an unterminated quote: {{line}}`,repository:`Repository`,command:`Setup command`,label:`Setup label (optional)`,remove:`Remove`,moveUp:`Move setup command up`,moveDown:`Move setup command down`,empty:`No setup commands. Verification runs directly in the checkout.`},b={title:`Saved executions`,refresh:`Refresh`,hint:`Continue in the original worktree with the frozen scope and settings; progress appears in that job's log. This does not publish or restart Desktop delivery. Active rail executions are stopped from their job controls.`,empty:`No saved runtime executions.`,loadFailed:`Could not load saved executions.`,actionFailed:`Could not update this execution.`,phase:`Next phase: {{phase}}`,approve:`Approve completion`,recover:`Recover interrupted phase`,resume:`Resume`,cancel:`Cancel continuation`,status:{running:`Continuing…`,succeeded:`Succeeded`,failed:`Failed`,blocked:`Blocked`,paused:`Paused`,cancelled:`Cancelled`,interrupted:`Interrupted`,unavailable:`Unavailable`,expired:`Expired`},question:`The architect asks:`,answerLabel:`Your answer`,answerPlaceholder:`Answer the question; the architect continues with it.`,answer:`Answer and resume`,viewLog:`View job log`,implementation:`Implementation`,preserveProgress:`Continue from the indicated phase, preserving your existing work and saved settings.`,reviewDelivery:`Implementation completed. Review the result in this job log before arranging delivery; this continuation has not published it.`,prepareDelivery:`Prepare delivery`,dismiss:`Dismiss`,selectRecovery:`Select the interrupted attempts to recover`},x={architect:`Reads the code and writes the proposal, design, tasks and spec. Read-only.`,developer:`Implements the tasks with tests. Can edit files and run commands inside the CLI sandbox.`,reviewer:`Checks the result against the spec and the verification evidence. Read-only.`},S={title:`Review gate`,hint:`Empty fields use Core's gate. Values can only raise it: overall score at least {{score}}, security at least {{security}}, other aspects at least {{aspect}}.`,minScore:`Minimum overall score (default {{score}})`,aspects:{type_correctness:`Type correctness (default {{score}})`,pattern_adherence:`Pattern adherence (default {{score}})`,test_coverage:`Test coverage (default {{score}})`,security:`Security (default {{score}})`,architectural_alignment:`Architectural alignment (default {{score}})`}},C={title:`Architect confidence`,hint:`After one autonomous investigation pass, a design that is still low in confidence either pauses with the architect's question or proceeds on stated assumptions.`,onLowConfidence:`On low confidence`,ask:`Ask (pause with the question)`,proceed:`Proceed on stated assumptions`},w={title:`Usage and time`,hint:`Includes corrections and failed calls. Agent time includes tool work. Cached tokens are part of input tokens.`,unknown:`Unavailable`,duration:`Execution time`,agentTime:`Agent time`,cost:`Reported cost`,providerCalls:`Agent calls`,toolCalls:`Tool calls`,input:`Input tokens`,output:`Output tokens`,uncached:`Uncached input`,cacheRead:`Cache reads`,cacheWrite:`Cache writes`,partial:`Some attempts have no detailed measurements.`,phases:`Usage by phase`,phase:`Phase`,attempts:`Attempts`},T={title:`Agent role prompts`,description:`View and edit the instructions for each role. Shared by all projects and providers; changes apply to new jobs. Resumed jobs keep their original prompts.`,definition:`{{role}} definition`,default:`Factory default`,custom:`Customized`,restore:`Restore default`,contracts:`Spec context, OpenSpec workflow and required response format are added automatically and are not edited here.`,invalid:`Each definition must contain 1–20,000 characters, with nonblank text and no null bytes.`,saved:`Role prompts saved`,unsaved:`Unsaved changes`,discard:`Discard changes`,save:`Save prompts`,fixerHint:`Used on correction rounds only — after a failed verification or a rejected review. Runs on the developer's engine unless Settings ▸ Agent engine ▸ Fixer names its own. A CLI provider that resumes the developer's session receives the short correction follow-up instead; the definition applies whenever a fresh session starts (local engines, the fixer engine, a lost session).`},E={title:`Implementation efficiency`,scope:`Applies to new runs. Saved runs retain their original configuration and runtime.`,effort:`Reasoning effort`,providerDefault:`Provider default`,unconfirmed:`Unconfirmed`,unknownSupport:`Support is not confirmed for this model and transport. Provider default remains available.`,escalation:`Allow one higher tier with the same provider`,baseRequired:`Select an explicit base model first.`,escalationModel:`Higher-tier model`,triggers:{architect:`Only the existing deeper investigation pass can select this tier.`,developer:`After two failed candidates, the next permitted attempt can select this tier.`,reviewer:`Only a malformed-response repair can select this tier; rejecting code does not trigger it.`,fixer:`Only a correction round can reach this tier; first passes never run the fixer.`},contextMode:`Repository context`,reviewMode:`Correction review`,planning:`Planning depth`,adaptive:`Adaptive`,full:`Full`,developerChecks:`Accept additional checks proposed by the developer`,concurrency:`Maximum concurrent checks`,concurrencyHint:`Default 1. Only host-declared independent checks across different repositories may run together. Checks are never reused by default.`,checkCapabilities:`Check model compatibility`,capabilitiesFailed:`Could not confirm model capabilities. Update the paired Core runtime or keep provider defaults.`},D={title:`Verification evidence`,acceptance:`Technical acceptance`,acceptanceStatus:{pending:`Pending`,validated:`Validated`,"with-exceptions":`With exceptions`,blocked:`Blocked`},calls:`Agent calls`,executed:`Executed checks`,reused:`Reused checks`,unknown:`Unavailable`,unavailable:`Evidence is unavailable for this execution. Its recorded outcome is not proof of current validity.`,current:`Current candidate and plan`,historical:`Historical result`,moreChecks:`More checks`,output:`Verification output`,empty:`No output`,truncated:`This is a bounded page or a truncated capture.`,nextPage:`Next output page`,status:{passed:`Passed`,failed:`Failed`,cancelled:`Cancelled`,interrupted:`Interrupted`},disposition:{executed:`Executed`,reused:`Reused`,"not-run":`Not run`},origin:`Origin`,origins:{host:`Host`,architect:`Architect`,developer:`Developer`,"frozen-runtime-config":`Frozen configuration`,"project-role":`Project role`,default:`Default`,"explicit-launch-override":`Selected launch provider`,"loop-role":`Loop role`},reuseDisabled:`Reuse disabled for this check.`,reuseConfirmed:`Reused after verifying matching inputs and toolchain.`,inputsChanged:`Inputs changed during verification; result invalidated.`,reuseUnproven:`No current result with proven matching inputs; the check ran again.`,original:`Original execution`,requested:`Requested`,reported:`Reported`},O={title:`Loop roles`,hint:`Engines for the loop-side roles when a rail launches with the "Roles" engine. The pipeline roles above (architect, developer, reviewer) already come from this runtime configuration.`,verifier:`Verifier`,verifierHint:`Every non-core AI step of the loop: verify, fix and custom AI steps.`,decider:`Decider`,deciderHint:`The Loop Decider that reads the verdict and routes the next step — a cheap, fast model is the natural pick.`,inherit:`Inherit primary`,model:`Model`,effort:`Reasoning effort`,disabled:`The agent runtime is disabled — rails launched with the "Roles" engine are refused until it is enabled.`,saveFailed:`Could not save the loop roles.`},k={title:`Implement pipeline`,explainer:`These phases run in this order on every implementation. When the rail's engine is "{{roles}}", each phase runs on the engine configured below — a different provider, model and effort per phase. Picking a concrete engine on the rail runs every phase on that engine instead.`,host:`Host`,noCommand:`no command`,inherits:`Inherits primary`,inheritsDeveloper:`Inherits developer`,open:`Open`,collapse:`Collapse`,groups:{core:{title:`Core pipeline`,hint:`Runs inside every implement: plan, build, verify, fix, review.`},loop:{title:`Loop steps`,hint:`AI steps of the rail's loop around the run (verify → decide → fix) and of custom loops; they inherit the primary engine unless set.`,chip:`rail loop`}},phases:{architect:{name:`Architect`,purpose:`Reads the code and writes the proposal, design and tasks.`},developer:{name:`Developer`,purpose:`Implements the tasks with tests.`},verification:{name:`Verification`,purpose:`The host runs your checks; failures go back to the developer.`},fixer:{name:`Fixer`,purpose:`Corrects what verification or review reject; inherits the developer when not configured.`},reviewer:{name:`Reviewer`,purpose:`Checks the result against the spec and the evidence.`},verifier:{name:`Verifier`,purpose:`Verify, fix and custom AI steps of the loop.`},decider:{name:`Decider`,purpose:`Reads the verdict and routes the next loop step.`}}},A={title:`Fixer engine`,inherit:`Inherit developer`,own:`Own engine`,hint:`Runs only on correction rounds — after a failed verification or a rejected review; first passes stay on the developer. A stronger or cloud model here pays off when the developer is a cheap local model.`},j={title:`Guardrails`,intro:`Process rules the host applies around local models so a small model does not derail. All on by default; switch one off only to tune the process. CLI providers are never affected.`,unsupported:`This Core installation does not expose configurable guardrails. Update Core to tune them; the built-in rules still apply.`,active:`{{on}} of {{total}} active`,reset:`Reset to defaults`,phases:{architect:`Architect`,developer:`Developer`,host:`Host`},unknown:`A guardrail added by a newer Core; this app has no description for it yet.`,items:{"plan-validation":{title:`Validated task plan`,description:`Rejects plans that target openspec/, list bare file names as tasks, have too few tasks/groups for the spec, or leave acceptance criteria uncovered; the architect retries.`,why:`A vague or incomplete plan is the #1 reason a small developer model writes stubs.`},"genuine-blocking-question":{title:`Only real blocking questions`,description:`The architect can pause the run only with an actual question ending in '?', never with copied example text.`,why:`Small models echo prompt placeholders and would block every run.`},"plan-language-hint":{title:`Plan in the repository's language`,description:`Tells the architect the primary language so task file names carry the right extension.`,why:`A JS plan on a TypeScript repo makes tasks impossible to tick.`},"frozen-plan-writes":{title:`Planning artifacts are frozen`,description:`The developer cannot write under openspec/; the plan is the host's.`,why:`Models 'implement' by editing the plan instead of the code.`},"primary-language":{title:`Primary language reminder`,description:`Each task group is told the repository's primary language; new files should use it.`,why:`Prevents a second implementation in another language.`},"duplicate-sibling":{title:`No twin modules across languages`,description:`Refuses board.js when board.ts already exists; extend the existing module instead.`,why:`Twins compile both and the tests import the wrong one.`},"one-test-per-module":{title:`One test file per module`,description:`Refuses board.tick.test.ts when board.test.ts exists; extend it instead.`,why:`Correction passes otherwise add a new suite per attempt.`},"empty-write":{title:`No empty overwrites`,description:`An empty write over a populated file is refused; write the full content or patch it.`,why:`A 'cleanup' pass once left index.ts at 0 lines.`},"evidence-gated-ticking":{title:`Evidence before ticking a task`,description:`A task naming files is done only when they exist and are not stubs (sibling extensions accepted).`,why:`Without it 'done' is just a claim and verify runs against nothing.`},"inventory-retry":{title:`Retry with the real inventory`,description:`When the model gives up claiming the repo is empty while it is not, retry once with the file list.`,why:`Cheap second chance instead of a failed step.`},"synthetic-corrections":{title:`Turn feedback into tasks`,description:`When every task is ticked but review/verify failed, the feedback becomes concrete correction tasks.`,why:`Otherwise the developer reports 'already done' and nothing changes.`},"silent-group-closure":{title:`Close silent groups, keep their files`,description:`A group whose model stops answering is closed with the files it wrote credited and its tasks left open, instead of failing the run.`,why:`A 9B model wrote five modules, went silent, and the whole run failed.`},"environment-repair":{title:`Host repairs the environment`,description:`Missing dependencies or test tooling (npm install, ts-jest, @types/jest, Jest config modules) are installed by the host, then verify re-runs once.`,why:`The model cannot fix the environment and burns corrections trying.`},"lockfile-repair":{title:`Drop hand-written lockfiles`,description:`A package-lock.json the model invented (EINTEGRITY/ETARGET) is removed and the install retried once.`,why:`Invented hashes never install.`},"verify-idle-timeout":{title:`Stop hanging tests`,description:`A verification command with no output for 5 minutes is stopped and reported as a probable hang (last output included).`,why:`A while-loop in a test otherwise holds the run until the 15-minute wall clock.`},"verify-per-group":{title:`Verify after each group`,description:`Runs the repository's own test command right after each task group; a failure gets one in-place fix round while the group's context is still fresh.`,why:`Five broken suites at the end are much harder to fix than one at a time.`},"test-reachability":{title:`Every new test must actually run`,description:"A test file the developer writes that the repository's test command never executes (an enumerating `test` script that skips the new file) fails verification with the exact file, at group altitude first and again at the host verify.",why:`A 622-line test suite with six failing cases once shipped green because nothing ever ran it.`},"exit-code-honesty":{title:`Distrust a green exit code that reports failures`,description:'A verification command that exits 0 while its output prints failures (`FAIL:` lines, "3 failed", an AssertionError) is treated as FAILED and handed to the fixer with the harness named as the defect.',why:`A hand-rolled test runner that never sets a non-zero exit code once shipped three red tests as green.`}}},M=`Unsaved changes`,N={title:`Custom roles`,hint:`Declare reusable instructions and explicit permissions for workflow roles.`,unsupported:`Update Core to edit custom roles.`,remove:`Remove {{id}}`,access:`Source access`,read:`Read only`,write:`Read and write`,artifacts:`OpenSpec artifact access`,none:`None`,tasks:`Task checkboxes only`,all:`All change artifacts`,skill:`OpenSpec skill`,noSkill:`No skill binding`,prompt:`Role instructions`,id:`Role ID`,add:`Add role`,invalidId:`Use a unique lowercase ID beginning with a letter, up to 64 letters, digits or hyphens. Built-in IDs are reserved.`,escalationHint:`Only a permitted protocol repair may use the escalation model. No extra retry is added.`},P={title:`Run instructions`,hint:`Core saves these instructions for the next eligible agent turn. Sending does not answer a question or grant approval.`,label:`Additional instructions`,send:`Send instructions`,accepted:`Accepted by Core; awaiting consumption.`,pending:`Awaiting an agent turn`,consumed:`Consumed by an agent`,counts:`Pending: {{pending}} · Consumed: {{consumed}}`,failed:`Could not send instructions. Retry to confirm the same message.`,unavailable:`Receipt details are unavailable.`,unreported:`This Core version does not report consumption.`,truncated:`Only the most recent receipts and pending messages are shown.`},F={title:`Core role defaults`,hint:`These file defaults apply to new workflows. Explicit project settings take precedence; saved runs keep their frozen settings.`,invalid:`Fix the YAML frontmatter in the editor before changing role fields.`,escalationEffort:`Higher-tier reasoning effort`},I={title:`History retention`,description:`Delete expired execution histories and unused Core versions. Deleted histories cannot be resumed or forked. Active or recoverable runs and pending deliveries stay protected; job logs and cost records remain.`,forever:`Keep history indefinitely`,days:`Retention days`,save:`Save retention`,preview:`Preview cleanup`,collect:`Delete expired history`,previewSummary:`Eligible: {{runs}} histories and {{packages}} unused Core versions.`,collectedSummary:`Expired: {{runs}} histories. Removed: {{packages}} unused Core versions.`,more:`{{count}} additional executions.`,failed:`Could not inspect or update retention.`,expired:`This execution history expired under the project policy. Its job log and accounting remain available.`,loading:`Loading retention policy…`,states:{protected:`Kept`,eligible:`Eligible`,expired:`Expired`,cleanup_pending:`Cleanup pending`,busy:`In use`,error:`Inspection failed`},reasons:{disabled:`Indefinite retention`,recoverable:`Recovery remains available`,active:`Active execution`,human_pending:`Waiting for a human`,interrupted_writes:`Interrupted writes need review`,delivery_pending:`Delivery is pending`,fork_pending:`A dependent fork remains`,unknown_terminal_time:`Completion time is unknown`,within_retention:`Still within the retention period`}},L={title:`Loop agents`,hint:`These definitions are shared by every project using this loop. Duplicate the loop to customize a separate workflow.`,legacy:`This saved loop still uses historical project agents. Import them or enable loop agents before changing its configuration.`,enable:`Use loop agents`,import:`Import current project agents`,restoreDefinition:`Use the Core definition`,default:`Provider default`,effort:`Reasoning effort`,escalationModel:`Escalation model`,escalationEffort:`Escalation effort`,policy:`Workflow policy`,maxAttempts:`Maximum correction attempts`,maxTokens:`Token budget`,maxCostUsd:`Cost budget (USD)`,timeoutMs:`Run timeout (ms)`,projectHint:`Configure repository checks here. Agent definitions, models and workflow policy are configured in the loop editor. Historical project agents can be imported into a duplicated loop.`,showUnused:`Also show agents not used in this loop`,stepTitle:`Step agent and options`,stepHint:`Edit this step’s agent definition and engine. Steps using the same role in this loop share these settings.`,inheritProvider:`Inherit mission provider`,inheritDefinition:`Follows the Core definition: every Core upgrade updates it automatically.`,customizeDefinition:`Customize for this loop`,coreDefinitionUnavailable:`Preview unavailable until a Core runtime is installed.`},R={title:n,description:r,loading:i,loadFailed:a,retry:o,unavailable:s,save:c,saving:l,saved:u,saveFailed:d,approvalBeforeArchive:f,providers:p,cliNames:m,roles:h,agents:g,limits:_,verification:v,setup:y,runs:b,roleHints:x,review:S,architect:C,metrics:w,prompts:T,efficiency:E,evidence:D,loopRoles:O,pipeline:k,fixer:A,guardrails:j,unsavedChanges:M,customRoles:N,steering:P,studioRole:F,retention:I,loopAgents:L};export{t};
@@ -0,0 +1 @@
1
+ var e=`Agenten-Laufzeit`,t=`Architekt, Entwickler und Reviewer laufen als getrennte Phasen mit deterministischer Verifikation dazwischen. Wähle pro Rolle einen Anbieter; alles andere hat funktionierende Standardwerte.`,n=`Einstellungen werden geladen…`,r=`Einstellungen konnten nicht geladen werden. Vor Änderungen erneut versuchen.`,i=`Erneut versuchen`,a=`Diese Core-Installation enthält die Agenten-Laufzeit nicht. Aktualisieren Sie Core vor der Aktivierung. Die Einstellungen können Sie bereits vorbereiten.`,o=`Laufzeit-Einstellungen speichern`,s=`Wird gespeichert…`,c=`Einstellungen gespeichert`,l=`Einstellungen konnten nicht gespeichert werden.`,u=`Vor Abschluss des Workflows auf Freigabe warten`,d={title:`Anbieter`,hint:`CLI-Anbieter nutzen die bestehende Anmeldung. APIs akzeptieren nur den Namen einer Umgebungsvariablen, niemals den Schlüssel selbst. Lokal kann er leer bleiben. Rollen vor dem Entfernen ihres Anbieters neu zuweisen.`,entry:`Anbieter {{index}}`,id:`Anbieter-ID`,kind:`Verbindungstyp`,cli:`Installierte Programmier-CLI`,compatible:`OpenAI-kompatibler Endpunkt`,command:`Programmier-CLI`,baseUrl:`API-Basis-URL`,apiKeyEnv:`Umgebungsvariable für API-Schlüssel (optional)`,remove:`Anbieter entfernen`,addCli:`CLI-Anbieter hinzufügen`,addLocal:`Lokalen / API-Anbieter hinzufügen`,show:`Anbieterverbindungen anzeigen`,hide:`Anbieterverbindungen ausblenden`,globalTitle:`KI-Anbieter`,globalHint:`Zwei Arten von Anbietern treiben jedes Projekt an: auf diesem Rechner erkannte Coding-CLIs und lokale OpenAI-kompatible Engines, die du hier registrierst. Weise sie den Pipeline-Phasen in Projekteinstellungen ▸ Agenten-Engine zu. Änderungen gelten für neue Ausführungen.`,label:`Anzeigename (optional)`,labelPlaceholder:`z. B. LAN-Rechner`,defaultModel:`Standardmodell`,defaultModelNone:`Kein Standard (erstes gefundenes)`,defaultModelPlaceholder:`Modell-ID oder eigener Alias`,customModel:`Eigener Alias…`,discoveredModels:`Gefundene Modelle`,noModels:`Noch keine Modelle gefunden – Verbindung testen.`,rates:`Tarife (USD pro 1M Tokens, optional)`,ratesHint:`Kosten werden als Schätzung angezeigt; beide leer lassen und die Kosten bleiben unbekannt.`,inputRate:`Eingabe pro 1M`,outputRate:`Ausgabe pro 1M`,ratesInvalid:`Beide Tarife als nicht negative Zahlen eingeben oder beide leer lassen.`,reasoningEffort:`Endpunkt akzeptiert Reasoning-Aufwand`,reasoningEffortHint:`Sendet das OpenAI-Feld reasoning_effort: bei jedem Aufruf den konfigurierten Aufwand der Rolle, auf hoch angehoben, während der kompakte Architekt den Plan schreibt. Nur aktivieren, wenn der Server es berücksichtigt.`,apiKeyEnvMissing:`{{name}} ist im App-Prozess nicht gesetzt. Setze sie in der Umgebung, aus der die App gestartet wird.`,test:`Verbindung testen`,testing:`Wird getestet…`,testFailed:`Verbindung konnte nicht getestet werden.`,rename:`Umbenennen`,renameHint:`Beim Umbenennen zeigen Rollenzuweisungen weiterhin auf diese Verbindung.`,idLocked:`Die ID ist nach dem Speichern gesperrt. Zum Ändern Umbenennen verwenden.`,localBadge:`Lokale Engine`,cliBadge:`CLI`,notDetected:`Auf diesem Rechner nicht erkannt`,unsaved:`Ungespeicherte Änderungen`,empty:`Noch keine Verbindungen. Füge einen lokalen / API-Anbieter hinzu.`,fixBeforeSave:`Korrigiere die markierten Felder vor dem Speichern.`,status:{probing:`Wird geprüft…`,reachable:`Erreichbar`,unauthorized:`Nicht autorisiert`,unreachable:`Nicht erreichbar`,untested:`Nie getestet`},auth:{authenticated:`Angemeldet`,unauthenticated:`Nicht angemeldet`,unknown:`Anmeldung unbekannt`},agentLoop:`Agenten-Schleife`,agentLoopHint:`wie die Implement-Pipeline dieses Modell steuert`,agentLoop_compact:`Kompakt`,agentLoop_compactHint:`App-gesteuerte Mikroschritte mit strukturierter Ausgabe. Empfohlen für Modelle unter ~30B.`,agentLoop_free:`Frei`,agentLoop_freeHint:`Eine agentische Schleife pro Rolle, wie bei einem CLI-Provider. Braucht ein starkes Modell.`,contextWindow:`Kontextfenster (Tokens)`,contextWindowHint:`An die Kontextgröße des Servers anpassen (n_ctx / num_ctx). Dient zum Komprimieren alter Tool-Ergebnisse, bevor das Fenster voll ist. Standard 32768.`,maxOutput:`Ausgabebudget pro Zug (Tokens)`,maxOutputHint:`max_tokens eines Werkzeugzugs; ein abgeschnittener Zug wird einmal mit dem Doppelten wiederholt. Zählt innerhalb des Kontextfensters und wird daher stets auf den verbleibenden Platz begrenzt – erhöhen, wenn das Modell privat nachdenkt (Thinking verbraucht es). Standard 8192.`,reasoningEffortRailHint:`Aus: der Reasoning-Aufwand-Selektor erscheint für diese Engine nicht in der Rail-Kopfzeile.`,presetTitle:`Schnelleinrichtung`,presetSmallModel:`Empfohlen für kleine Modelle`,presetSmallModelApplied:`Voreinstellung für kleine Modelle angewendet`,presetSmallModelHint:`Setzt die kompakte Schleife, leitet den Reasoning-Aufwand weiter und ein 32k-Kontextfenster – die mit 7–14B-Modellen validierte Kombination. Jedes Feld bleibt änderbar.`,cliGroup:`CLI-Werkzeuge`,cliGroupHint:`Auf diesem Rechner erkannt – sie nutzen ihre eigene Anmeldung, nichts zu konfigurieren.`,localGroup:`Lokale Engines`,localGroupHint:`OpenAI-kompatible Endpunkte (llama.cpp, Ollama, vLLM, LM Studio …), die von dieser App aus erreichbar sind.`,models_one:`{{count}} Modell`,models_other:`{{count}} Modelle`,expand:`Einstellungen anzeigen`,collapse:`Einstellungen ausblenden`,overflow:`Weitere Aktionen`,addLocalHero:`Lokale Engine hinzufügen`,emptyLocalPitch:`Noch keine lokale Engine. Richte die App auf einen OpenAI-kompatiblen Endpunkt, um die Pipeline auf eigener Hardware auszuführen – die Kosten bleiben unter deiner Kontrolle und nichts verlässt dein Netzwerk.`,defaultsGroup:`Anbieter-Standardwerte`},f={claude:`Claude`,codex:`Codex`,gemini:`Gemini`,kimi:`Kimi`},p={architect:`Architekt`,developer:`Entwickler`,reviewer:`Prüfer`,fixer:`Korrektor`,verify:`Prüfung`,archive:`Abschluss`},m={title:`Rollenzuweisungen`,hint:`Jede Rolle kann einen anderen Anbieter und ein anderes Modell verwenden. Verbindungen: Allgemeine Einstellungen → KI-Anbieter. Standard: {{turns}} Runden pro Agent.`,provider:`Anbieter`,model:`Modell`,modelPlaceholder:`Modell-ID oder CLI-Standard`,maxTurns:`Maximale Runden (Standard {{turns}})`,defaultModel:`Standard ({{model}})`,thinking:`Verdecktes Nachdenken`,thinking_off:`Aus`,thinking_on:`An`,thinkingHint:`Standardmäßig aus: verdecktes Nachdenken verbraucht das Ausgabebudget und Minuten pro Zug in einer host-gesteuerten Schleife. Für eine Rolle einschalten, die von Abwägen profitiert (gesendet als chat_template_kwargs.enable_thinking; Endpunkte, die es nicht kennen, ignorieren es).`},h={title:`Workflow-Limits`,hint:`Leere Felder nutzen die Core-Standards: {{attempts}} Korrekturversuche und {{minutes}} Minuten pro Rollenschritt. Bei lokalen Engines gilt das Zeitlimit je Arbeitseinheit (eine Aufgabengruppe, ein Artefakt, ein Review) – standardmäßig 45 Minuten – plus ein 20-minütiger Leerlauf-Wächter; ein Schritt, dem die Zeit ausgeht, blockiert den Lauf und kann ab der nächsten offenen Aufgabengruppe fortgesetzt werden. Token- und USD-Limits sind optional; USD-Limits erfordern Claude für jede KI-Rolle.`,maxAttempts:`Maximale Entwicklerversuche (Standard {{attempts}})`,timeoutMinutes:`Zeitlimit in Minuten (Standard {{minutes}}; lokale Engines 45 je Aufgabengruppe)`,maxTokens:`Maximale Tokens`,maxCostUsd:`Maximale Kosten (USD)`,unlimited:`Kein Limit`},g={title:`Verifikationsbefehle`,hint:`Optional. Sie laufen, nachdem der Entwickler fertig ist; Fehler gehen an den Entwickler zurück. Bleibt die Liste leer, schlägt der Architekt bei jedem Lauf die projekteigenen Prüfungen vor; Repositories ohne automatische Prüfung werden trotzdem reviewt.`,detect:`Projektprüfungen erkennen`,detecting:`Erkenne…`,detected:`Ausgefüllt mit den Prüfungen, die dieses Projekt bereits definiert.`,nothingDetected:`Kein Test-, Typprüfungs- oder Build-Befehl gefunden. Kein Problem: der Architekt schlägt bei jedem Lauf Prüfungen vor, wenn möglich.`,detectFailed:`Die Projekt-Repositories konnten nicht untersucht werden.`,repository:`Repository`,command:`Befehl`,reason:`Erkannt aus {{reason}}`,remove:`Entfernen`,add:`Befehl hinzufügen`,invalidLine:`Verifikationsbefehl ist leer oder hat ein nicht geschlossenes Anführungszeichen: {{line}}`,label:`Prüfbezeichnung (optional)`,moveUp:`Nach oben`,moveDown:`Nach unten`},_={title:`Setup-Befehle`,hint:"Idempotente Befehle, die Core vor jeder Verifikation im Repository-Checkout ausführt (zum Beispiel `npx playwright install chromium`).",add:`Setup-Befehl hinzufügen`,invalidLine:`Der Setup-Befehl ist leer oder hat ein nicht geschlossenes Anführungszeichen: {{line}}`,repository:`Repository`,command:`Setup-Befehl`,label:`Setup-Bezeichnung (optional)`,remove:`Entfernen`,moveUp:`Setup-Befehl nach oben`,moveDown:`Setup-Befehl nach unten`,empty:`Keine Setup-Befehle. Die Verifikation läuft direkt im Checkout.`},v={title:`Gespeicherte Ausführungen`,refresh:`Aktualisieren`,hint:`Setzt im ursprünglichen Worktree mit gespeichertem Umfang und Einstellungen fort; der Fortschritt erscheint im Protokoll dieses Jobs. Es wird nichts veröffentlicht und keine Desktop-Auslieferung neu gestartet. Aktive Rail-Ausführungen werden über ihre Job-Steuerung gestoppt.`,empty:`Keine gespeicherten Ausführungen.`,loadFailed:`Ausführungen konnten nicht geladen werden.`,actionFailed:`Ausführung konnte nicht aktualisiert werden.`,phase:`Nächste Phase: {{phase}}`,approve:`Abschluss freigeben`,recover:`Unterbrochene Phase wiederherstellen`,resume:`Fortsetzen`,cancel:`Fortsetzung abbrechen`,status:{running:`Wird fortgesetzt…`,succeeded:`Erfolgreich`,failed:`Fehlgeschlagen`,blocked:`Blockiert`,paused:`Pausiert`,cancelled:`Abgebrochen`,interrupted:`Unterbrochen`,unavailable:`Nicht verfügbar`,expired:`Abgelaufen`},question:`Der Architekt fragt:`,answerLabel:`Ihre Antwort`,answerPlaceholder:`Beantworten Sie die Frage; der Architekt macht damit weiter.`,answer:`Antworten und fortsetzen`,viewLog:`Job-Protokoll anzeigen`,implementation:`Implementierung`,preserveProgress:`Ab der angezeigten Phase fortsetzen; bisherige Arbeit und gespeicherte Einstellungen bleiben erhalten.`,reviewDelivery:`Implementierung abgeschlossen. Prüfe das Ergebnis im Job-Protokoll vor der Auslieferung; diese Fortsetzung hat es nicht veröffentlicht.`,prepareDelivery:`Auslieferung vorbereiten`,dismiss:`Verwerfen`,selectRecovery:`Unterbrochene Versuche zur Wiederaufnahme auswählen`},y={architect:`Liest den Code und schreibt Vorschlag, Design, Aufgaben und Spezifikation. Nur lesend.`,developer:`Setzt die Aufgaben mit Tests um. Darf Dateien bearbeiten und Befehle in der CLI-Sandbox ausführen.`,reviewer:`Prüft das Ergebnis gegen Spezifikation und Verifikationsnachweise. Nur lesend.`},b={title:`Review-Schwelle`,hint:`Leere Felder verwenden Cores Schwelle. Werte können sie nur anheben: Gesamtwert mindestens {{score}}, Sicherheit mindestens {{security}}, andere Aspekte mindestens {{aspect}}.`,minScore:`Mindestgesamtwert (Standard {{score}})`,aspects:{type_correctness:`Typkorrektheit (Standard {{score}})`,pattern_adherence:`Mustertreue (Standard {{score}})`,test_coverage:`Testabdeckung (Standard {{score}})`,security:`Sicherheit (Standard {{score}})`,architectural_alignment:`Architekturkonformität (Standard {{score}})`}},x={title:`Zuversicht des Architekten`,hint:`Nach einem autonomen Untersuchungsdurchlauf pausiert ein weiterhin unsicherer Entwurf mit der Frage des Architekten oder fährt mit benannten Annahmen fort.`,onLowConfidence:`Bei geringer Zuversicht`,ask:`Fragen (mit der Frage pausieren)`,proceed:`Mit benannten Annahmen fortfahren`},S={title:`Verbrauch und Zeit`,hint:`Enthält Korrekturen und fehlgeschlagene Aufrufe. Die Agentenzeit umfasst Werkzeuge. Cache-Tokens sind Teil der Eingabe-Tokens.`,unknown:`Nicht verfügbar`,duration:`Ausführungszeit`,agentTime:`Agentenzeit`,cost:`Gemeldete Kosten`,providerCalls:`Agentenaufrufe`,toolCalls:`Werkzeugaufrufe`,input:`Eingabe-Tokens`,output:`Ausgabe-Tokens`,uncached:`Eingabe ohne Cache`,cacheRead:`Cache-Lesezugriffe`,cacheWrite:`Cache-Schreibzugriffe`,partial:`Für einige Versuche fehlen detaillierte Messungen.`,phases:`Verbrauch nach Phase`,phase:`Phase`,attempts:`Versuche`},C={title:`Prompts der Agentenrollen`,description:`Anweisungen für jede Rolle anzeigen und bearbeiten. Sie gelten für alle Projekte und Anbieter; Änderungen gelten für neue Jobs. Fortgesetzte Jobs behalten ihre ursprünglichen Prompts.`,definition:`Definition für {{role}}`,default:`Werkseinstellung`,custom:`Angepasst`,restore:`Standard wiederherstellen`,contracts:`Spec-Kontext, OpenSpec-Workflow und erforderliches Antwortformat werden automatisch ergänzt und hier nicht bearbeitet.`,invalid:`Jede Definition muss 1–20.000 Zeichen mit nicht leerem Text und ohne Nullbytes enthalten.`,saved:`Rollen-Prompts gespeichert`,unsaved:`Ungespeicherte Änderungen`,discard:`Änderungen verwerfen`,save:`Prompts speichern`,fixerHint:`Nur in Korrekturrunden – nach einer fehlgeschlagenen Prüfung oder einem abgelehnten Review. Läuft auf der Engine des Entwicklers, sofern Einstellungen ▸ Agent-Engine ▸ Korrektor keine eigene nennt. Ein CLI-Anbieter, der die Entwickler-Sitzung fortsetzt, erhält stattdessen den kurzen Korrekturhinweis; die Definition gilt, sobald eine neue Sitzung startet (lokale Engines, Korrektor-Engine, verlorene Sitzung).`},w={title:`Effizienz der Implementierung`,scope:`Gilt für neue Ausführungen. Gespeicherte Ausführungen behalten ihre Konfiguration und Laufzeit.`,effort:`Denkaufwand`,providerDefault:`Anbietervorgabe`,unconfirmed:`Unbestätigt`,unknownSupport:`Unterstützung für dieses Modell und diesen Transport ist nicht bestätigt.`,escalation:`Eine höhere Stufe beim gleichen Anbieter erlauben`,baseRequired:`Zuerst ein konkretes Basismodell auswählen.`,escalationModel:`Modell der höheren Stufe`,triggers:{architect:`Nur die bestehende vertiefte Untersuchung kann diese Stufe wählen.`,developer:`Nach zwei fehlgeschlagenen Kandidaten kann der nächste erlaubte Versuch diese Stufe wählen.`,reviewer:`Nur zur Reparatur ungültiger Antworten, nicht bei Ablehnung des Codes.`,fixer:`Nur eine Korrekturrunde kann diese Stufe erreichen; erste Durchläufe führen den Korrektor nie aus.`},contextMode:`Repository-Kontext`,reviewMode:`Korrekturprüfung`,planning:`Planungstiefe`,adaptive:`Adaptiv`,full:`Vollständig`,developerChecks:`Zusätzliche Prüfungen des Entwicklers akzeptieren`,concurrency:`Maximale gleichzeitige Prüfungen`,concurrencyHint:`Standard: 1. Nur vom Host als unabhängig deklarierte Prüfungen verschiedener Repositories laufen gleichzeitig. Standardmäßig keine Wiederverwendung.`,checkCapabilities:`Modellkompatibilität prüfen`,capabilitiesFailed:`Kompatibilität nicht bestätigt. Core aktualisieren oder Anbietervorgaben beibehalten.`},T={title:`Prüfnachweise`,acceptance:`Technische Abnahme`,acceptanceStatus:{pending:`Ausstehend`,validated:`Validiert`,"with-exceptions":`Mit Ausnahmen`,blocked:`Blockiert`},calls:`Agentenaufrufe`,executed:`Ausgeführte Prüfungen`,reused:`Wiederverwendete Prüfungen`,unknown:`Nicht verfügbar`,unavailable:`Nachweise nicht verfügbar. Das gespeicherte Ergebnis beweist keine aktuelle Gültigkeit.`,current:`Aktueller Kandidat und Plan`,historical:`Historisches Ergebnis`,moreChecks:`Weitere Prüfungen`,output:`Prüfausgabe`,empty:`Keine Ausgabe`,truncated:`Begrenzte Seite oder gekürzte Erfassung.`,nextPage:`Nächste Ausgabeseite`,status:{passed:`Bestanden`,failed:`Fehlgeschlagen`,cancelled:`Abgebrochen`,interrupted:`Unterbrochen`},disposition:{executed:`Ausgeführt`,reused:`Wiederverwendet`,"not-run":`Nicht ausgeführt`},origin:`Herkunft`,origins:{host:`Host`,architect:`Architekt`,developer:`Entwickler`,"frozen-runtime-config":`Gespeicherte Konfiguration`,"project-role":`Projektrolle`,default:`Standard`,"explicit-launch-override":`Für diesen Start gewählter Anbieter`,"loop-role":`Loop-Rolle`},reuseDisabled:`Wiederverwendung für diese Prüfung deaktiviert.`,reuseConfirmed:`Nach Prüfung identischer Eingaben und Werkzeuge wiederverwendet.`,inputsChanged:`Eingaben während der Prüfung geändert; Ergebnis ungültig.`,reuseUnproven:`Kein aktuelles Ergebnis mit nachweislich identischen Eingaben; erneut ausgeführt.`,original:`Ursprüngliche Ausführung`,requested:`Angefordert`,reported:`Gemeldet`},E={title:`Loop-Rollen`,hint:`Engines für die Loop-Rollen, wenn ein Rail mit der Engine „Rollen“ gestartet wird. Die Pipeline-Rollen oben (Architect, Developer, Reviewer) stammen bereits aus dieser Runtime-Konfiguration.`,verifier:`Verifier`,verifierHint:`Jeder KI-Schritt des Loops außerhalb des Cores: verify, fix und eigene KI-Schritte.`,decider:`Decider`,deciderHint:`Der Loop Decider, der das Urteil liest und den nächsten Schritt bestimmt – ein günstiges, schnelles Modell ist die natürliche Wahl.`,inherit:`Primären übernehmen`,model:`Modell`,effort:`Denkaufwand`,disabled:`Die Agenten-Runtime ist deaktiviert – Rails mit der Engine „Rollen“ werden abgelehnt, bis sie aktiviert ist.`,saveFailed:`Die Loop-Rollen konnten nicht gespeichert werden.`},D={title:`Implementierungs-Pipeline`,explainer:`Diese Phasen laufen bei jeder Implementierung in dieser Reihenfolge. Ist die Engine des Rails „{{roles}}“, nutzt jede Phase die unten konfigurierte Engine – Anbieter, Modell und Aufwand je Phase. Wählst du im Rail eine konkrete Engine, laufen alle Phasen mit dieser Engine.`,host:`Host`,noCommand:`kein Befehl`,inherits:`Erbt die primäre`,inheritsDeveloper:`Erbt vom Entwickler`,open:`Öffnen`,collapse:`Einklappen`,groups:{core:{title:`Kern-Pipeline`,hint:`Läuft in jeder Implementierung: planen, bauen, prüfen, korrigieren, reviewen.`},loop:{title:`Loop-Schritte`,hint:`KI-Schritte des Rail-Loops um den Lauf (prüfen → entscheiden → korrigieren) und eigener Loops; sie erben die primäre Engine, sofern nicht gesetzt.`,chip:`Rail-Loop`}},phases:{architect:{name:`Architekt`,purpose:`Liest den Code und schreibt Vorschlag, Design und Aufgaben.`},developer:{name:`Entwickler`,purpose:`Setzt die Aufgaben mit Tests um.`},verification:{name:`Verifikation`,purpose:`Der Host führt deine Prüfungen aus; Fehler gehen zurück an den Entwickler.`},fixer:{name:`Korrektor`,purpose:`Behebt, was Verifizierung oder Review ablehnen; erbt vom Entwickler, wenn nicht konfiguriert.`},reviewer:{name:`Reviewer`,purpose:`Prüft das Ergebnis gegen Spec und Nachweise.`},verifier:{name:`Prüfer`,purpose:`Verify-, Fix- und eigene KI-Schritte des Loops.`},decider:{name:`Entscheider`,purpose:`Liest das Urteil und wählt den nächsten Loop-Schritt.`}}},O={title:`Korrektor-Engine`,inherit:`Vom Entwickler erben`,own:`Eigene Engine`,hint:`Läuft nur in Korrekturrunden – nach einer fehlgeschlagenen Verifizierung oder einem abgelehnten Review; erste Durchläufe bleiben beim Entwickler. Ein stärkeres oder Cloud-Modell lohnt sich hier, wenn der Entwickler ein günstiges lokales Modell ist.`},k={title:`Leitplanken`,intro:`Prozessregeln, die der Host um lokale Modelle herum anwendet, damit ein kleines Modell nicht entgleist. Standardmäßig alle aktiv; schalte eine nur ab, um den Prozess zu justieren. CLI-Anbieter sind nie betroffen.`,unsupported:`Diese Core-Installation stellt keine konfigurierbaren Leitplanken bereit. Aktualisiere Core, um sie zu justieren; die eingebauten Regeln gelten weiterhin.`,active:`{{on}} von {{total}} aktiv`,reset:`Auf Standard zurücksetzen`,phases:{architect:`Architekt`,developer:`Entwickler`,host:`Host`},unknown:`Eine Leitplanke aus einem neueren Core; diese App hat noch keine Beschreibung dafür.`,items:{"plan-validation":{title:`Validierter Aufgabenplan`,description:`Lehnt Pläne ab, die auf openspec/ zielen, bloße Dateinamen als Aufgaben listen, zu wenige Aufgaben/Gruppen für die Spec haben oder Akzeptanzkriterien unabgedeckt lassen; der Architekt versucht es erneut.`,why:`Ein vager oder unvollständiger Plan ist Grund Nr. 1, warum ein kleines Entwicklermodell Stubs schreibt.`},"genuine-blocking-question":{title:`Nur echte blockierende Fragen`,description:`Der Architekt kann den Lauf nur mit einer echten Frage anhalten, die auf „?“ endet, nie mit kopiertem Beispieltext.`,why:`Kleine Modelle wiederholen Prompt-Platzhalter und würden jeden Lauf blockieren.`},"plan-language-hint":{title:`In der Sprache des Repositorys planen`,description:`Nennt dem Architekten die Hauptsprache, damit Aufgaben-Dateinamen die richtige Endung tragen.`,why:`Ein JS-Plan auf einem TypeScript-Repo macht Aufgaben unabhakbar.`},"frozen-plan-writes":{title:`Planungsartefakte sind eingefroren`,description:`Der Entwickler darf nicht unter openspec/ schreiben; der Plan gehört dem Host.`,why:`Modelle „implementieren“, indem sie den Plan statt den Code bearbeiten.`},"primary-language":{title:`Erinnerung an die Hauptsprache`,description:`Jeder Aufgabengruppe wird die Hauptsprache des Repositorys mitgeteilt; neue Dateien sollen sie verwenden.`,why:`Verhindert eine zweite Implementierung in einer anderen Sprache.`},"duplicate-sibling":{title:`Keine Zwillingsmodule über Sprachen hinweg`,description:`Lehnt board.js ab, wenn board.ts bereits existiert; erweitere stattdessen das vorhandene Modul.`,why:`Zwillinge kompilieren beide und die Tests importieren den falschen.`},"one-test-per-module":{title:`Eine Testdatei pro Modul`,description:`Lehnt board.tick.test.ts ab, wenn board.test.ts existiert; erweitere diese stattdessen.`,why:`Sonst fügt jeder Korrekturdurchlauf eine neue Suite hinzu.`},"empty-write":{title:`Keine leeren Überschreibungen`,description:`Ein leerer Schreibvorgang über eine gefüllte Datei wird abgelehnt; schreibe den vollständigen Inhalt oder patche sie.`,why:`Ein „Aufräum“-Durchlauf ließ index.ts einmal mit 0 Zeilen zurück.`},"evidence-gated-ticking":{title:`Belege vor dem Abhaken einer Aufgabe`,description:`Eine Aufgabe, die Dateien nennt, ist nur erledigt, wenn diese existieren und keine Stubs sind (Geschwister-Endungen akzeptiert).`,why:`Ohne das ist „erledigt“ nur eine Behauptung und die Verifikation läuft gegen nichts.`},"inventory-retry":{title:`Mit dem echten Inventar erneut versuchen`,description:`Wenn das Modell aufgibt und behauptet, das Repo sei leer, obwohl es das nicht ist, wird einmal mit der Dateiliste erneut versucht.`,why:`Günstige zweite Chance statt eines fehlgeschlagenen Schritts.`},"synthetic-corrections":{title:`Feedback in Aufgaben verwandeln`,description:`Wenn alle Aufgaben abgehakt sind, aber Review/Verifikation fehlschlug, wird das Feedback zu konkreten Korrekturaufgaben.`,why:`Sonst meldet der Entwickler „schon erledigt“ und nichts ändert sich.`},"silent-group-closure":{title:`Stille Gruppen schließen, ihre Dateien behalten`,description:`Eine Gruppe, deren Modell nicht mehr antwortet, wird geschlossen; die geschriebenen Dateien werden gutgeschrieben und ihre Aufgaben bleiben offen, statt den Lauf scheitern zu lassen.`,why:`Ein 9B-Modell schrieb fünf Module, verstummte, und der ganze Lauf scheiterte.`},"environment-repair":{title:`Der Host repariert die Umgebung`,description:`Fehlende Abhängigkeiten oder Test-Tooling (npm install, ts-jest, @types/jest, Jest-Konfigurationsmodule) installiert der Host, dann läuft die Verifikation einmal erneut.`,why:`Das Modell kann die Umgebung nicht reparieren und verbrennt Korrekturen beim Versuch.`},"lockfile-repair":{title:`Handgeschriebene Lockfiles verwerfen`,description:`Eine vom Modell erfundene package-lock.json (EINTEGRITY/ETARGET) wird entfernt und die Installation einmal wiederholt.`,why:`Erfundene Hashes lassen sich nie installieren.`},"verify-idle-timeout":{title:`Hängende Tests stoppen`,description:`Ein Verifikationsbefehl ohne Ausgabe für 5 Minuten wird gestoppt und als wahrscheinlicher Hänger gemeldet (letzte Ausgabe inklusive).`,why:`Sonst hält eine while-Schleife in einem Test den Lauf bis zur 15-Minuten-Grenze.`},"verify-per-group":{title:`Nach jeder Gruppe prüfen`,description:`Führt den Testbefehl des Repositorys direkt nach jeder Aufgabengruppe aus; ein Fehler bekommt sofort eine Korrekturrunde, solange der Kontext der Gruppe frisch ist.`,why:`Fünf kaputte Suites am Ende sind viel schwerer zu beheben als eine nach der anderen.`},"test-reachability":{title:`Jeder neue Test muss wirklich laufen`,description:"Eine vom Developer geschriebene Testdatei, die der Testbefehl des Repositorys nie ausführt (ein aufzählendes `test`-Skript, das die neue Datei auslässt), lässt die Prüfung mit der genauen Datei fehlschlagen – zuerst auf Gruppenebene, dann erneut in der Host-Prüfung.",why:`Eine 622-zeilige Suite mit sechs fehlschlagenden Fällen wurde einmal grün ausgeliefert, weil sie nie lief.`},"exit-code-honesty":{title:`Grünem Exit-Code mit gemeldeten Fehlern misstrauen`,description:"Ein Prüfbefehl, der mit 0 endet, während seine Ausgabe Fehler meldet (`FAIL:`-Zeilen, „3 failed“, ein AssertionError), gilt als FEHLGESCHLAGEN und geht an den Korrektor, wobei der Test-Harness als Defekt benannt wird.",why:`Ein selbstgebauter Test-Runner ohne Nicht-Null-Exit-Code lieferte einmal drei rote Tests als grün aus.`}}},A=`Ungespeicherte Änderungen`,j={title:`Benutzerdefinierte Rollen`,hint:`Definieren Sie wiederverwendbare Anweisungen und ausdrückliche Berechtigungen für Workflow-Rollen.`,unsupported:`Aktualisieren Sie Core, um benutzerdefinierte Rollen zu bearbeiten.`,remove:`{{id}} entfernen`,access:`Quellcodezugriff`,read:`Nur lesen`,write:`Lesen und schreiben`,artifacts:`Zugriff auf OpenSpec-Artefakte`,none:`Keiner`,tasks:`Nur Aufgaben-Kontrollkästchen`,all:`Alle Änderungsartefakte`,skill:`OpenSpec-Skill`,noSkill:`Keine Skill-Zuordnung`,prompt:`Rollenanweisungen`,id:`Rollen-ID`,add:`Rolle hinzufügen`,invalidId:`Verwenden Sie eine eindeutige ID in Kleinbuchstaben, die mit einem Buchstaben beginnt und höchstens 64 Buchstaben, Ziffern oder Bindestriche enthält. Integrierte IDs sind reserviert.`,escalationHint:`Nur eine zulässige Protokollkorrektur darf das Eskalationsmodell verwenden. Es wird kein weiterer Versuch hinzugefügt.`},M={title:`Ausführungsanweisungen`,hint:`Core speichert diese Anweisungen für den nächsten geeigneten Agentendurchlauf. Das Senden beantwortet keine Fragen und erteilt keine Freigabe.`,label:`Zusätzliche Anweisungen`,send:`Anweisungen senden`,accepted:`Von Core angenommen; noch nicht übernommen.`,pending:`Warten auf einen Agentendurchlauf`,consumed:`Von einem Agenten übernommen`,counts:`Ausstehend: {{pending}} · Übernommen: {{consumed}}`,failed:`Anweisungen konnten nicht gesendet werden. Erneut versuchen, um dieselbe Nachricht zu bestätigen.`,unavailable:`Empfangsdetails sind nicht verfügbar.`,unreported:`Diese Core-Version meldet die Übernahme nicht.`,truncated:`Nur aktuelle Empfangsbestätigungen und ausstehende Nachrichten werden angezeigt.`},N={title:`Standardwerte der Core-Rolle`,hint:`Diese Dateivorgaben gelten für neue Workflows. Explizite Projekteinstellungen haben Vorrang; gespeicherte Ausführungen behalten ihre festgelegten Einstellungen.`,invalid:`Korrigieren Sie den YAML-Kopf im Editor, bevor Sie Rollenfelder ändern.`,escalationEffort:`Denkaufwand des höherwertigen Modells`},P={title:`Aufbewahrung des Verlaufs`,description:`Lösche abgelaufene Ausführungsverläufe und ungenutzte Core-Versionen. Gelöschte Verläufe können nicht fortgesetzt oder verzweigt werden. Aktive oder wiederherstellbare Ausführungen und offene Auslieferungen bleiben geschützt; Jobprotokolle und Kosten bleiben erhalten.`,forever:`Verlauf unbegrenzt aufbewahren`,days:`Aufbewahrungstage`,save:`Aufbewahrung speichern`,preview:`Bereinigung prüfen`,collect:`Abgelaufenen Verlauf löschen`,previewSummary:`Geeignet: {{runs}} Verläufe und {{packages}} ungenutzte Core-Versionen.`,collectedSummary:`Abgelaufen: {{runs}} Verläufe. Entfernt: {{packages}} ungenutzte Core-Versionen.`,more:`{{count}} weitere Ausführungen.`,failed:`Aufbewahrung konnte nicht geprüft oder aktualisiert werden.`,expired:`Dieser Verlauf ist gemäß der Projektrichtlinie abgelaufen. Jobprotokoll und Kosten bleiben verfügbar.`,loading:`Aufbewahrungsrichtlinie wird geladen…`,states:{protected:`Aufbewahrt`,eligible:`Geeignet`,expired:`Abgelaufen`,cleanup_pending:`Bereinigung ausstehend`,busy:`In Verwendung`,error:`Prüfung fehlgeschlagen`},reasons:{disabled:`Unbegrenzte Aufbewahrung`,recoverable:`Wiederherstellung noch möglich`,active:`Aktive Ausführung`,human_pending:`Wartet auf menschliche Antwort`,interrupted_writes:`Unterbrochene Schreibvorgänge prüfen`,delivery_pending:`Auslieferung ausstehend`,fork_pending:`Abhängige Verzweigung vorhanden`,unknown_terminal_time:`Abschlusszeit unbekannt`,within_retention:`Aufbewahrungsfrist noch nicht abgelaufen`}},F={title:`Loop agents`,hint:`These definitions are shared by every project using this loop. Duplicate the loop to customize a separate workflow.`,legacy:`This saved loop still uses historical project agents. Import them or enable loop agents before changing its configuration.`,enable:`Use loop agents`,import:`Import current project agents`,restoreDefinition:`Core-Definition verwenden`,default:`Provider default`,effort:`Reasoning effort`,escalationModel:`Escalation model`,escalationEffort:`Escalation effort`,policy:`Workflow policy`,maxAttempts:`Maximum correction attempts`,maxTokens:`Token budget`,maxCostUsd:`Cost budget (USD)`,timeoutMs:`Run timeout (ms)`,projectHint:`Configure repository checks here. Agent definitions, models and workflow policy are configured in the loop editor. Historical project agents can be imported into a duplicated loop.`,showUnused:`Also show agents not used in this loop`,stepTitle:`Step agent and options`,stepHint:`Edit this step’s agent definition and engine. Steps using the same role in this loop share these settings.`,inheritProvider:`Anbieter der Mission übernehmen`,inheritDefinition:`Folgt der Core-Definition: jedes Core-Upgrade aktualisiert sie automatisch.`,customizeDefinition:`Für diesen Loop anpassen`,coreDefinitionUnavailable:`Vorschau erst verfügbar, wenn eine Core-Laufzeit installiert ist.`},I={title:e,description:t,loading:n,loadFailed:r,retry:i,unavailable:a,save:o,saving:s,saved:c,saveFailed:l,approvalBeforeArchive:u,providers:d,cliNames:f,roles:p,agents:m,limits:h,verification:g,setup:_,runs:v,roleHints:y,review:b,architect:x,metrics:S,prompts:C,efficiency:w,evidence:T,loopRoles:E,pipeline:D,fixer:O,guardrails:k,unsavedChanges:A,customRoles:j,steering:M,studioRole:N,retention:P,loopAgents:F};export{m as agents,u as approvalBeforeArchive,x as architect,f as cliNames,j as customRoles,I as default,t as description,w as efficiency,T as evidence,O as fixer,k as guardrails,h as limits,r as loadFailed,n as loading,F as loopAgents,E as loopRoles,S as metrics,D as pipeline,C as prompts,d as providers,P as retention,i as retry,b as review,y as roleHints,p as roles,v as runs,o as save,l as saveFailed,c as saved,s as saving,_ as setup,M as steering,N as studioRole,e as title,a as unavailable,A as unsavedChanges,g as verification};