@runfusion/fusion 0.71.0 → 0.72.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 (93) hide show
  1. package/dist/bin.js +2251 -2176
  2. package/dist/child-process-worker.js +1545 -1485
  3. package/dist/client/.vite/manifest.json +244 -244
  4. package/dist/client/assets/{AgentDetailView-BvY24zNh.js → AgentDetailView-Bq6qfKGR.js} +5 -5
  5. package/dist/client/assets/{AgentPermissionPolicyEditor-CYvJw48-.js → AgentPermissionPolicyEditor-Dah1P8IX.js} +2 -2
  6. package/dist/client/assets/{AgentsView-BWkWEfNs.js → AgentsView-Bu8h0vGY.js} +4 -4
  7. package/dist/client/assets/{ChatView-BhlVq9Re.js → ChatView-BTE8fIib.js} +1 -1
  8. package/dist/client/assets/{CommandCenter-DingokjC.js → CommandCenter-l4no66mI.js} +1 -1
  9. package/dist/client/assets/{DevServerView-kfNJk83M.js → DevServerView-Cuxhgjdv.js} +1 -1
  10. package/dist/client/assets/DirectoryPicker-tm1SS2jF.js +1 -0
  11. package/dist/client/assets/{DocumentsView-Bwc5HSg7.js → DocumentsView-Dg8lFF7X.js} +2 -2
  12. package/dist/client/assets/{EvalsView-BEr_MhJ4.js → EvalsView-TccfkTNy.js} +1 -1
  13. package/dist/client/assets/{ExperimentalAgentOnboardingModal-CZK-KtFP.js → ExperimentalAgentOnboardingModal-2qAtocIG.js} +1 -1
  14. package/dist/client/assets/{GoalsView-B_Qrm8po.js → GoalsView-Du_jIEn2.js} +1 -1
  15. package/dist/client/assets/{InsightsView-BfbclBHM.js → InsightsView-BxJ327Tj.js} +2 -2
  16. package/dist/client/assets/{MemoryView-V9Y08BtR.js → MemoryView-Blv0YUWC.js} +2 -2
  17. package/dist/client/assets/{PiExtensionsManager-B7fl5l3O.js → PiExtensionsManager-BUS_ZKwO.js} +2 -2
  18. package/dist/client/assets/{PluginManager-H32X557C.js → PluginManager-DM5-rNen.js} +1 -1
  19. package/dist/client/assets/{PullRequestView-Dhz86tnJ.js → PullRequestView-D7ozwDrc.js} +2 -2
  20. package/dist/client/assets/{ResearchView-DEObk9J2.js → ResearchView-CRGaOkBH.js} +1 -1
  21. package/dist/client/assets/{SecretsView-DFEWUbXI.js → SecretsView-Nwc-7xGn.js} +1 -1
  22. package/dist/client/assets/{SessionTerminal-CwfTrmor.js → SessionTerminal-gC7X57E6.js} +1 -1
  23. package/dist/client/assets/{SettingsModal-H1TNebmF.js → SettingsModal-CuEXiFb_.js} +4 -4
  24. package/dist/client/assets/{SettingsModal-2mlwjfVZ.js → SettingsModal-q_D1o7T-.js} +1 -1
  25. package/dist/client/assets/{SettingsTextareaRow-ByeSU4Pi.js → SettingsTextareaRow-DnsWtbkh.js} +1 -1
  26. package/dist/client/assets/SetupWizardModal-3-mXX0VJ.js +2 -0
  27. package/dist/client/assets/{SkillsView-DScNdDRz.js → SkillsView-Dw8m0G-9.js} +1 -1
  28. package/dist/client/assets/{ThemeDropdown-BKl0kouU.js → ThemeDropdown-C7qybW7w.js} +1 -1
  29. package/dist/client/assets/{TodoView-_HojIE_Y.js → TodoView-r_qHhO28.js} +2 -2
  30. package/dist/client/assets/{WorkflowNodeEditor-CoQYdUYX.js → WorkflowNodeEditor-B0TGhu5B.js} +1 -1
  31. package/dist/client/assets/{architectureDiagram-3BPJPVTR-vIoH_tGm.js → architectureDiagram-3BPJPVTR-9REjGWnr.js} +1 -1
  32. package/dist/client/assets/{blockDiagram-GPEHLZMM-BqjSE9AM.js → blockDiagram-GPEHLZMM-OATfTc06.js} +1 -1
  33. package/dist/client/assets/{c4Diagram-AAUBKEIU-TWEWVE4T.js → c4Diagram-AAUBKEIU-B-nq1avj.js} +1 -1
  34. package/dist/client/assets/channel-BW-0I-xJ.js +1 -0
  35. package/dist/client/assets/{chunk-2J33WTMH-CJM3p9Fh.js → chunk-2J33WTMH-Dds2A4Un.js} +1 -1
  36. package/dist/client/assets/{chunk-4BX2VUAB-Bf_1wJ7O.js → chunk-4BX2VUAB-Dc-jRxxZ.js} +1 -1
  37. package/dist/client/assets/{chunk-55IACEB6-CI4ThikJ.js → chunk-55IACEB6-CKtwSOvQ.js} +1 -1
  38. package/dist/client/assets/{chunk-727SXJPM-C2TasaKk.js → chunk-727SXJPM-DbRZhQCr.js} +1 -1
  39. package/dist/client/assets/{chunk-AQP2D5EJ-BqKUxt3g.js → chunk-AQP2D5EJ-Dq_cSIeh.js} +1 -1
  40. package/dist/client/assets/{chunk-FMBD7UC4-CdK77AxG.js → chunk-FMBD7UC4-BmnvYNOo.js} +1 -1
  41. package/dist/client/assets/{chunk-ND2GUHAM-TE8zbIZ3.js → chunk-ND2GUHAM-D6nyZn0C.js} +1 -1
  42. package/dist/client/assets/{chunk-QZHKN3VN-7lgttGIx.js → chunk-QZHKN3VN-FFojVCmd.js} +1 -1
  43. package/dist/client/assets/classDiagram-4FO5ZUOK-DfBIljo4.js +1 -0
  44. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-DfBIljo4.js +1 -0
  45. package/dist/client/assets/{cose-bilkent-S5V4N54A-DsK8EBeo.js → cose-bilkent-S5V4N54A-DysS3-yZ.js} +1 -1
  46. package/dist/client/assets/{dagre-BM42HDAG-COza1ss6.js → dagre-BM42HDAG-DgL7uNq4.js} +1 -1
  47. package/dist/client/assets/{dashboard-view-ILJ_vnYK.js → dashboard-view-Bu_nB-cd.js} +1 -1
  48. package/dist/client/assets/{dashboard-view-D_etacMS.js → dashboard-view-DlxD_dta.js} +1 -1
  49. package/dist/client/assets/{dashboard-view-JEFD-Zgw.js → dashboard-view-ln6_a3ZY.js} +1 -1
  50. package/dist/client/assets/{diagram-2AECGRRQ-Co_F0-vp.js → diagram-2AECGRRQ-DTACb17z.js} +1 -1
  51. package/dist/client/assets/{diagram-5GNKFQAL-BD_n7vU0.js → diagram-5GNKFQAL-DqdKDR_d.js} +1 -1
  52. package/dist/client/assets/{diagram-KO2AKTUF-SFnuzet_.js → diagram-KO2AKTUF-CCKa3iUW.js} +1 -1
  53. package/dist/client/assets/{diagram-LMA3HP47-CFYeR0mH.js → diagram-LMA3HP47-C2SLmXdM.js} +1 -1
  54. package/dist/client/assets/{diagram-OG6HWLK6-DOVfqKgw.js → diagram-OG6HWLK6-Dz9wXgRN.js} +1 -1
  55. package/dist/client/assets/{erDiagram-TEJ5UH35-DkeW3bDN.js → erDiagram-TEJ5UH35-GGHapzlB.js} +1 -1
  56. package/dist/client/assets/{flowDiagram-I6XJVG4X-CVaNMQl_.js → flowDiagram-I6XJVG4X-B3SLxAlP.js} +1 -1
  57. package/dist/client/assets/{folder-open-BY1Gp9Wf.js → folder-open-BWBZSyO2.js} +1 -1
  58. package/dist/client/assets/{ganttDiagram-6RSMTGT7-BQJ0x5Hq.js → ganttDiagram-6RSMTGT7-DYveq-32.js} +1 -1
  59. package/dist/client/assets/{gitGraphDiagram-PVQCEYII-CIt0P2Lg.js → gitGraphDiagram-PVQCEYII-Bxh-7IFt.js} +1 -1
  60. package/dist/client/assets/{index-GJLKrqhe.css → index-CiqkhNwQ.css} +1 -1
  61. package/dist/client/assets/{index-ClPjlOHJ.js → index-D8sgsB8q.js} +268 -268
  62. package/dist/client/assets/{infoDiagram-5YYISTIA-B1KKCn80.js → infoDiagram-5YYISTIA-B3_g2TQW.js} +1 -1
  63. package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-CzG1cEeg.js → ishikawaDiagram-YF4QCWOH-CExRn4qZ.js} +1 -1
  64. package/dist/client/assets/{journeyDiagram-JHISSGLW-CNB7oM4Q.js → journeyDiagram-JHISSGLW-Dgck68vd.js} +1 -1
  65. package/dist/client/assets/{kanban-definition-UN3LZRKU-D8vXTzfs.js → kanban-definition-UN3LZRKU-B258_39Z.js} +1 -1
  66. package/dist/client/assets/{mermaid.core-BUhJJv1M.js → mermaid.core-uCT9za93.js} +4 -4
  67. package/dist/client/assets/{mindmap-definition-RKZ34NQL-y_XyU0Us.js → mindmap-definition-RKZ34NQL-DHevd0he.js} +1 -1
  68. package/dist/client/assets/{pieDiagram-4H26LBE5-MB9aZtTc.js → pieDiagram-4H26LBE5-rTbXqg0x.js} +1 -1
  69. package/dist/client/assets/{puzzle-CE00Ce2g.js → puzzle-D7NHfczg.js} +1 -1
  70. package/dist/client/assets/{quadrantDiagram-W4KKPZXB-hF7q33gK.js → quadrantDiagram-W4KKPZXB-C-N3JbLv.js} +1 -1
  71. package/dist/client/assets/{requirementDiagram-4Y6WPE33-BIOIzbEd.js → requirementDiagram-4Y6WPE33-DNINb6LP.js} +1 -1
  72. package/dist/client/assets/{sankeyDiagram-5OEKKPKP-BpLzUxJ8.js → sankeyDiagram-5OEKKPKP-UI7SyvRN.js} +1 -1
  73. package/dist/client/assets/{sequenceDiagram-3UESZ5HK-CLXamQhZ.js → sequenceDiagram-3UESZ5HK-pc1RDjwM.js} +1 -1
  74. package/dist/client/assets/{shield-alert-BhLVV0rp.js → shield-alert-c_--H0ce.js} +1 -1
  75. package/dist/client/assets/{standing-instructions-template-96KSNan7.js → standing-instructions-template-aTeHy5lT.js} +1 -1
  76. package/dist/client/assets/{stateDiagram-AJRCARHV-CPRWhQtZ.js → stateDiagram-AJRCARHV-CEiZfKWc.js} +1 -1
  77. package/dist/client/assets/{stateDiagram-v2-BHNVJYJU-8GvpOVMc.js → stateDiagram-v2-BHNVJYJU-B7aNz5OD.js} +1 -1
  78. package/dist/client/assets/{timeline-definition-PNZ67QCA-BAAldJMW.js → timeline-definition-PNZ67QCA-DyE71jn0.js} +1 -1
  79. package/dist/client/assets/{upload-DbKZcYCW.js → upload-YGrA50-5.js} +1 -1
  80. package/dist/client/assets/{users-ccVe3aKQ.js → users-fxiLvP6C.js} +1 -1
  81. package/dist/client/assets/{vennDiagram-CIIHVFJN-DGSAcrfx.js → vennDiagram-CIIHVFJN-DX-6Y82D.js} +1 -1
  82. package/dist/client/assets/{wardley-L42UT6IY-CLGvNiAx.js → wardley-L42UT6IY-ew7KQxeH.js} +1 -1
  83. package/dist/client/assets/{wardleyDiagram-YWT4CUSO-BhU8FLGx.js → wardleyDiagram-YWT4CUSO-DqSCrJdO.js} +1 -1
  84. package/dist/client/assets/{xychartDiagram-2RQKCTM6-BQ6AzTfE.js → xychartDiagram-2RQKCTM6-CEtZEj45.js} +1 -1
  85. package/dist/client/index.html +2 -2
  86. package/dist/client/version.json +1 -1
  87. package/dist/extension.js +1767 -1707
  88. package/package.json +1 -1
  89. package/dist/client/assets/DirectoryPicker-Cluyep4u.js +0 -1
  90. package/dist/client/assets/SetupWizardModal-BFZnVJX1.js +0 -2
  91. package/dist/client/assets/channel-hhQEu5zM.js +0 -1
  92. package/dist/client/assets/classDiagram-4FO5ZUOK-C2Thhy7D.js +0 -1
  93. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-C2Thhy7D.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runfusion/fusion",
3
- "version": "0.71.0",
3
+ "version": "0.72.0",
4
4
  "license": "MIT",
5
5
  "description": "Fusion CLI: HTTP API server, daemon, dashboard launcher, and task tooling for the Fusion AI coding agent.",
6
6
  "homepage": "https://github.com/Runfusion/Fusion#readme",
@@ -1 +0,0 @@
1
- import{r as n,j as r}from"./vendor-react-SZ_qB27O.js";import{al as z,am as D,an as S,ao as f,e as w,ap as T,E as B,n as A,P as L,L as K,g as N}from"./index-ClPjlOHJ.js";import{u as R}from"./vendor-i18n-GF3RlKbq.js";import{F as U}from"./folder-open-BY1Gp9Wf.js";function M({value:u,onChange:l,placeholder:F,onInputKeyDown:g,nodeId:b,localNodeId:m,selectCreatedDirectory:x=!1}){const{t:i}=R("app"),[e,s]=n.useState({isOpen:!1,loading:!1,error:null,currentPath:"",parentPath:null,entries:[],showHidden:!1,createFolderOpen:!1,createFolderError:null}),[h,p]=n.useState(""),d=n.useCallback(async(t,c=!1)=>{s(o=>({...o,loading:!0,error:null}));try{const o=await z(t,c,b,m);s(a=>({...a,loading:!1,currentPath:o.currentPath,parentPath:o.parentPath,entries:o.entries}))}catch(o){s(a=>({...a,loading:!1,error:o instanceof Error?o.message:"Failed to browse directory"}))}},[b,m]),C=n.useCallback(()=>{s(t=>t.isOpen?{...t,isOpen:!1}:{...t,isOpen:!0})},[]);n.useEffect(()=>{e.isOpen&&!e.loading&&!e.currentPath&&!e.error&&d(u||void 0,e.showHidden)},[e.isOpen,e.loading,e.currentPath,e.error,u,e.showHidden,d,b,m]);const k=n.useCallback(t=>{d(t,e.showHidden)},[d,e.showHidden]),H=n.useCallback(()=>{l(e.currentPath),s(t=>({...t,isOpen:!1}))},[e.currentPath,l]),E=n.useCallback(()=>{s(t=>{const c=!t.showHidden;return{...t,showHidden:c}})},[]);n.useEffect(()=>{e.isOpen&&e.currentPath&&d(e.currentPath,e.showHidden)},[e.showHidden,d]);const j=n.useCallback(()=>{s(t=>({...t,createFolderOpen:!t.createFolderOpen,createFolderError:null})),p("")},[]),y=n.useCallback(async()=>{if(!h.trim()||!e.currentPath)return;const t=h.trim();if(t.includes("/")||t.includes("\\")||t.includes("..")){s(a=>({...a,createFolderError:i("dirPicker.createFolderError","Folder name cannot contain path separators or '..'")}));return}const c=e.currentPath.includes("\\")?"\\":"/",o=e.currentPath.endsWith(c)?e.currentPath+t:e.currentPath+c+t;s(a=>({...a,loading:!0,createFolderError:null}));try{const a=await D(o);p(""),s(P=>({...P,createFolderOpen:!1})),x&&l(a.path),await d(e.currentPath,e.showHidden)}catch(a){s(P=>({...P,loading:!1,createFolderError:a instanceof Error?a.message:"Failed to create folder"}))}},[h,e.currentPath,e.showHidden,d,l,x]),O=n.useCallback(t=>{t.key==="Enter"?(t.preventDefault(),y()):t.key==="Escape"&&(s(c=>({...c,createFolderOpen:!1,createFolderError:null})),p(""))},[y]),v=e.currentPath?S(e.currentPath):[];return r.jsxs("div",{className:"directory-picker",children:[r.jsxs("div",{className:"directory-picker-input-row",children:[r.jsx("input",{type:"text",className:"input directory-picker-input",value:u,onChange:t=>l(t.target.value),onKeyDown:g,placeholder:F||i("dirPicker.defaultPlaceholder","/path/to/your/project")}),r.jsxs("button",{type:"button",className:"btn btn-secondary btn-sm directory-picker-browse-btn",onClick:C,"aria-label":e.isOpen?i("dirPicker.closeBrowser","Close directory browser"):i("dirPicker.openBrowser","Browse directories"),children:[e.isOpen?r.jsx(U,{size:16}):r.jsx(f,{size:16}),r.jsx("span",{children:i("dirPicker.browse","Browse")})]})]}),e.isOpen&&r.jsxs("div",{className:"directory-picker-browser",role:"tree","aria-label":i("dirPicker.ariaLabel","Directory browser"),children:[r.jsx("div",{className:"directory-picker-breadcrumbs",children:v.map((t,c)=>r.jsxs("span",{className:"directory-picker-breadcrumb-item",children:[c>0&&r.jsx(w,{size:12,className:"directory-picker-breadcrumb-sep"}),r.jsx("button",{type:"button",className:"directory-picker-breadcrumb",onClick:()=>k(t.path),title:t.path,children:t.label})]},t.path))}),r.jsxs("div",{className:"directory-picker-toolbar",children:[e.parentPath&&r.jsxs("button",{type:"button",className:"btn btn-sm btn-secondary directory-picker-up-btn",onClick:()=>k(e.parentPath),"aria-label":i("dirPicker.parentDir","Go to parent directory"),title:i("dirPicker.parentDirTitle","Parent directory"),children:[r.jsx(T,{size:14}),r.jsx("span",{children:i("dirPicker.up","Up")})]}),r.jsxs("button",{type:"button",className:"btn btn-sm btn-secondary directory-picker-hidden-toggle",onClick:E,"aria-label":e.showHidden?i("dirPicker.hideHiddenAria","Hide hidden directories"):i("dirPicker.showHiddenAria","Show hidden directories"),title:e.showHidden?i("dirPicker.hideHiddenTitle","Hide hidden"):i("dirPicker.showHiddenTitle","Show hidden"),children:[e.showHidden?r.jsx(B,{size:14}):r.jsx(A,{size:14}),r.jsx("span",{children:e.showHidden?i("dirPicker.hideHidden","Hide hidden"):i("dirPicker.showHidden","Show hidden")})]}),r.jsxs("button",{type:"button",className:"btn btn-sm btn-secondary directory-picker-create-folder-toggle",onClick:j,"aria-label":i("dirPicker.createFolderAria","Create new folder"),title:i("dirPicker.createFolderTitle","Create folder"),children:[r.jsx(L,{size:14}),r.jsx("span",{children:i("dirPicker.createFolder","New folder")})]})]}),e.loading?r.jsxs("div",{className:"directory-picker-loading",children:[r.jsx(K,{size:20,className:"animate-spin"}),r.jsx("span",{children:i("dirPicker.loading","Loading…")})]}):e.error?r.jsxs("div",{className:"directory-picker-error",children:[r.jsx(N,{size:16}),r.jsx("span",{children:e.error})]}):r.jsx("div",{className:"directory-picker-entries",children:e.entries.length===0?r.jsx("div",{className:"directory-picker-empty",children:i("dirPicker.noSubdirs","No subdirectories")}):e.entries.map(t=>r.jsxs("button",{type:"button",className:"directory-picker-entry",onClick:()=>k(t.path),role:"treeitem",title:t.path,children:[r.jsx(f,{size:16,className:"directory-picker-entry-icon"}),r.jsx("span",{className:"directory-picker-entry-name",children:t.name}),t.hasChildren&&r.jsx(w,{size:14,className:"directory-picker-entry-arrow"})]},t.path))}),e.createFolderOpen&&r.jsxs("div",{className:"directory-picker-create-folder",children:[r.jsx("input",{type:"text",className:"input directory-picker-create-folder-input",value:h,onChange:t=>p(t.target.value),onKeyDown:O,placeholder:i("dirPicker.newFolderPlaceholder","Folder name"),autoFocus:!0}),r.jsxs("div",{className:"directory-picker-create-folder-actions",children:[r.jsx("button",{type:"button",className:"btn btn-sm btn-primary",onClick:y,disabled:!h.trim()||e.loading||!e.currentPath,children:i("dirPicker.createFolderConfirm","Create")}),r.jsx("button",{type:"button",className:"btn btn-sm btn-secondary",onClick:j,children:i("dirPicker.cancel","Cancel")})]}),e.createFolderError&&r.jsxs("div",{className:"directory-picker-create-folder-error",children:[r.jsx(N,{size:14}),r.jsx("span",{children:e.createFolderError})]})]}),r.jsxs("div",{className:"directory-picker-actions",children:[r.jsx("span",{className:"directory-picker-selected-path",title:e.currentPath,children:e.currentPath}),r.jsx("button",{type:"button",className:"btn btn-primary directory-picker-select-btn",onClick:H,children:i("dirPicker.select","Select")})]})]})]})}export{M as D};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ExperimentalAgentOnboardingModal-CZK-KtFP.js","assets/vendor-react-SZ_qB27O.js","assets/index-ClPjlOHJ.js","assets/vendor-i18n-GF3RlKbq.js","assets/vendor-reactflow-9C3XTE7_.js","assets/vendor-reactflow-C5ap-Sga.css","assets/vendor-codemirror-jBKmHyH0.js","assets/vendor-xterm-BNq00GSj.js","assets/vendor-xterm-LZoznX6r.css","assets/index-GJLKrqhe.css","assets/ExperimentalAgentOnboardingModal-3ZEFv8sr.css"])))=>i.map(i=>d[i]);
2
- import{v as h,aq as P,ar as E,as as ie,at as oe,au as le,av as de,aw as ce,ax as pe,X as ue,L as z,e as me,ay as F,S as ge,az as T,aA as he,_ as xe}from"./index-ClPjlOHJ.js";import{r as o,j as e}from"./vendor-react-SZ_qB27O.js";import{D as je}from"./DirectoryPicker-Cluyep4u.js";import{s as I}from"./projectDetection-G3XuxD2X.js";import{u as fe}from"./vendor-i18n-GF3RlKbq.js";import"./vendor-reactflow-9C3XTE7_.js";import"./vendor-codemirror-jBKmHyH0.js";import"./vendor-xterm-BNq00GSj.js";import"./folder-open-BY1Gp9Wf.js";function U(d){return d.filter(p=>p.type!=="local")}function we(d){return U(d).length>0}function A(d){const p=d.replace(/[^a-zA-Z]/g,"").toUpperCase();return p.length>=2&&p.length<=4?p:p.length>4?p.slice(0,4):"FN"}const Ne=o.lazy(()=>xe(()=>import("./ExperimentalAgentOnboardingModal-CZK-KtFP.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).then(d=>({default:d.ExperimentalAgentOnboardingModal})));function Re({onProjectRegistered:d,onClose:p,agentOnboardingEnabled:R=!1,includeAgentStep:x=!0}){const{t:s}=fe("app"),W="https://discord.gg/ksrfuy7WYR",w=o.useMemo(()=>P("ceo")??h[0],[]),[H,L]=o.useState(!0),[t,i]=o.useState(()=>({step:"manual",manualMode:"existing",manualPath:"",manualCloneUrl:"",manualName:"",manualIsolationMode:"in-process",manualNodeId:"",manualTaskPrefix:"",detectedRepos:[],workspaceMode:!1,isDetectingWorkspace:!1,registeredProject:null,selectedPresetId:w.id,agentDraft:E(w),isCreatingAgent:!1,isRegistering:!1,error:null,agentError:null,agentOutcome:null})),[D,O]=o.useState(!1),[M,N]=o.useState(!1),S=o.useRef(null),{nodes:y,loading:_}=ie(),B=y.find(a=>a.type==="local")?.id,b=o.useCallback(()=>{L(!1),p?.()},[p]),G=o.useCallback(()=>{if(t.registeredProject){d(t.registeredProject);return}b()},[b,d,t.registeredProject]);o.useEffect(()=>{t.agentError&&S.current?.focus()},[t.agentError]);const j=o.useRef(0),$=o.useCallback(a=>{if(i(r=>{const n={manualPath:a,detectedRepos:[],workspaceMode:!1,error:null};a&&(!r.manualName||r.manualName===I(r.manualPath))&&(n.manualName=I(a));const l=n.manualName??r.manualName;return l&&(!r.manualTaskPrefix||r.manualTaskPrefix===A(I(r.manualPath)))&&(n.manualTaskPrefix=A(l)),{...r,...n}}),t.manualMode==="existing"&&a.trim()&&a.trim()!=="/"){const r=++j.current;i(n=>({...n,isDetectingWorkspace:!0})),oe(a.trim()).then(n=>{r===j.current&&i(l=>({...l,isDetectingWorkspace:!1,detectedRepos:n.repos,workspaceMode:n.isWorkspace}))}).catch(()=>{r===j.current&&i(n=>({...n,isDetectingWorkspace:!1}))})}},[t.manualMode]),k=o.useCallback(a=>{i(r=>({...r,manualMode:a,manualCloneUrl:a==="clone"?r.manualCloneUrl:"",detectedRepos:a==="existing"?r.detectedRepos:[],workspaceMode:a==="existing"?r.workspaceMode:!1,isDetectingWorkspace:!1,error:null})),j.current+=1},[]),Y=o.useCallback(async()=>{const a=t.manualPath.trim(),r=t.manualName.trim(),n=t.manualCloneUrl.trim();if(!(!a||!r)&&!(t.manualMode==="clone"&&!n)){i(l=>({...l,isRegistering:!0,error:null}));try{const l={name:r,path:a,isolationMode:t.manualIsolationMode,nodeId:t.manualNodeId||void 0,gitSetupMode:t.manualMode,cloneUrl:t.manualMode==="clone"?n:void 0,workspaceMode:t.manualMode==="existing"?t.workspaceMode:!1,taskPrefix:t.manualTaskPrefix.trim()||void 0},c=await le(l);if(!x){i(g=>({...g,isRegistering:!1})),d(c);return}i(g=>({...g,step:"agent",registeredProject:c,isRegistering:!1}))}catch(l){i(c=>({...c,isRegistering:!1,error:l instanceof Error?l.message:"Failed to register project"}))}}},[x,d,t.manualPath,t.manualName,t.manualCloneUrl,t.manualMode,t.manualIsolationMode,t.manualNodeId,t.workspaceMode,t.manualTaskPrefix]),v=o.useCallback(a=>{const r=P(a);r&&i(n=>({...n,selectedPresetId:r.id,agentDraft:E(r),agentError:null}))},[]),q=o.useCallback((a,r)=>{const n=h.findIndex(ne=>ne.id===r);if(n<0)return;const l=h.length-1;let c=null;if(a.key==="ArrowDown"||a.key==="ArrowRight"?c=n===l?0:n+1:a.key==="ArrowUp"||a.key==="ArrowLeft"?c=n===0?l:n-1:a.key==="Home"?c=0:a.key==="End"&&(c=l),c===null)return;a.preventDefault();const g=h[c];v(g.id),requestAnimationFrame(()=>{document.querySelector(`[data-agent-preset-id="${g.id}"]`)?.focus()})},[v]),K=o.useCallback(a=>{i(r=>({...r,selectedPresetId:"",agentDraft:de(a),agentError:null}))},[]),Z=o.useCallback(async()=>{if(!(!t.registeredProject||!t.agentDraft.name.trim())){i(a=>({...a,isCreatingAgent:!0,agentError:null}));try{await ce(pe(t.agentDraft),t.registeredProject.id),i(a=>({...a,step:"complete",isCreatingAgent:!1,agentOutcome:"created"}))}catch(a){if(a instanceof Error&&/already exists/i.test(a.message)){i(r=>({...r,step:"complete",isCreatingAgent:!1,agentOutcome:"created"}));return}i(r=>({...r,isCreatingAgent:!1,agentError:a instanceof Error?a.message:s("setup.firstAgentCreateError","Failed to create agent")}))}}},[t.agentDraft,t.registeredProject,s]),V=o.useCallback(()=>{i(a=>({...a,step:"complete",agentError:null,agentOutcome:"skipped"}))},[]);if(!H)return null;const C=t.manualMode==="existing",m=t.manualMode==="init",u=t.manualMode==="clone",X=u?s("setup.cloneAndRegisterProject","Clone and Register Project"):m?s("setup.initializeAndRegisterProject","Initialize and Register Project"):s("setup.registerProject","Register Project"),J=t.manualPath.trim().length>0,Q=t.manualName.trim().length>0,ee=t.manualCloneUrl.trim().length>0,te=t.isRegistering||!J||!Q||u&&!ee,se=t.selectedPresetId?P(t.selectedPresetId):void 0,f=t.isCreatingAgent,ae=t.selectedPresetId||w.id,re=`modal setup-wizard-modal${t.step==="agent"?" setup-wizard-modal--agent":""}`;return e.jsxs("div",{className:"modal-overlay open setup-wizard-overlay",role:"dialog","aria-modal":"true","aria-labelledby":"wizard-title",children:[e.jsxs("div",{className:re,children:[e.jsxs("div",{className:"setup-wizard-header",children:[e.jsxs("div",{className:"setup-wizard-heading",children:[e.jsxs("div",{className:"setup-wizard-brand","aria-label":s("setup.brandName","Fusion"),children:[e.jsxs("svg",{className:"setup-wizard-brand-logo",width:28,height:28,viewBox:"0 0 128 128",fill:"none","aria-label":s("setup.brandLogo","Fusion logo"),role:"img",children:[e.jsx("circle",{cx:"64",cy:"64",r:"52",stroke:"currentColor",strokeWidth:"8"}),e.jsx("path",{d:"M26 101C44 82 62 64 82 45C90 37 98 30 104 24C96 35 89 47 81 60C70 79 57 95 43 108C38 112 32 108 26 101Z",fill:"currentColor"})]}),e.jsx("span",{className:"setup-wizard-brand-name",children:s("setup.brandName","Fusion")})]}),!x&&t.step==="manual"&&e.jsx("span",{className:"setup-wizard-step-context",children:s("setup.projectStepContext","Step 3 of 5 — Project · Fusion setup")}),e.jsxs("h2",{id:"wizard-title",className:"setup-wizard-title",children:[t.step==="manual"&&(x?s("setup.welcomeToFusion","Welcome to Fusion"):s("setup.titleSetUpProject","Set Up Your Project")),t.step==="agent"&&s("setup.firstAgentTitle","Create your first agent"),t.step==="complete"&&s("setup.setupCompleteTitle","Setup Complete!")]})]}),t.step!=="complete"&&t.step!=="agent"&&e.jsx("button",{className:"modal-close",onClick:b,"aria-label":s("setup.closeWizard","Close wizard"),children:e.jsx(ue,{size:20})})]}),e.jsxs("div",{className:"setup-wizard-content",children:[t.step==="manual"&&e.jsxs("div",{className:"setup-wizard-manual",children:[e.jsxs("section",{className:"setup-wizard-repository-section","aria-labelledby":"setup-repository-mode-title",children:[e.jsxs("div",{className:"setup-wizard-section-heading",children:[e.jsx("h3",{id:"setup-repository-mode-title",children:s("setup.repositorySetupTitle","Repository setup")}),e.jsx("p",{children:s("setup.repositorySetupDescription","Choose how Fusion should prepare the project directory before registration.")})]}),e.jsxs("fieldset",{className:"setup-wizard-mode-switch","aria-label":s("setup.projectSetupModeAriaLabel","Project setup mode"),children:[e.jsx("legend",{children:s("setup.setupMode","Setup Mode")}),e.jsxs("label",{className:`setup-wizard-mode-option${C?" selected":""}`,children:[e.jsx("input",{type:"radio",name:"setup-mode",value:"existing","aria-label":s("setup.useExistingDirectory","Use Existing Directory"),checked:C,onChange:()=>k("existing")}),e.jsxs("span",{className:"setup-wizard-mode-option-copy",children:[e.jsx("strong",{children:s("setup.useExistingDirectory","Use Existing Directory")}),e.jsx("span",{children:s("setup.useExistingDirectoryHint","Register a folder that is already a git repository or workspace root.")})]})]}),e.jsxs("label",{className:`setup-wizard-mode-option${m?" selected":""}`,children:[e.jsx("input",{type:"radio",name:"setup-mode",value:"init","aria-label":s("setup.initializeNewRepository","Initialize New Repository"),checked:m,onChange:()=>k("init")}),e.jsxs("span",{className:"setup-wizard-mode-option-copy",children:[e.jsx("strong",{children:s("setup.initializeNewRepository","Initialize New Repository")}),e.jsx("span",{children:s("setup.initializeNewRepositoryHint","Register a selected non-git folder and let Fusion run git init on the server.")})]})]}),e.jsxs("label",{className:`setup-wizard-mode-option${u?" selected":""}`,children:[e.jsx("input",{type:"radio",name:"setup-mode",value:"clone","aria-label":s("setup.cloneGitRepository","Clone Git Repository"),checked:u,onChange:()=>k("clone")}),e.jsxs("span",{className:"setup-wizard-mode-option-copy",children:[e.jsx("strong",{children:s("setup.cloneGitRepository","Clone Git Repository")}),e.jsx("span",{children:s("setup.cloneGitRepositoryHint","Clone a remote repository into an empty or absent destination folder.")})]})]})]})]}),e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:"project-path",children:u?s("setup.destinationDirectory","Destination Directory"):m?s("setup.newRepositoryDirectory","New Repository Directory"):s("setup.projectDirectory","Project Directory")}),e.jsx(je,{value:t.manualPath,onChange:$,nodeId:t.manualNodeId||void 0,localNodeId:B,selectCreatedDirectory:!0,placeholder:u?s("setup.clonePathPlaceholder","/path/for/new-clone"):m?s("setup.initPathPlaceholder","/path/to/new-project"):s("setup.projectPathPlaceholder","/path/to/your/project")}),e.jsx("p",{className:"form-hint",children:u?s("setup.clonePathHint","Select or type an absolute destination path. Fusion will clone into this directory. The destination must be empty or absent."):m?s("setup.initPathHint","Select or type an absolute path to an empty or non-git folder. Fusion will run git init during registration."):s("setup.projectPathHint","Select or type the absolute path to an existing git repository or workspace root.")})]}),e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:"project-name",children:s("setup.projectName","Project Name")}),e.jsx("input",{id:"project-name",type:"text",value:t.manualName,onChange:a=>i(r=>({...r,manualName:a.target.value})),placeholder:s("setup.projectNamePlaceholder","my-project")}),e.jsx("p",{className:"form-hint",children:u?s("setup.projectNameHintClone","By default this follows the destination folder name unless you edit it."):m?s("setup.projectNameHintInit","By default this follows the folder name Fusion will initialize unless you edit it."):s("setup.projectNameHintExisting","By default this follows the selected directory name unless you edit it.")})]}),u&&e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:"project-clone-url",children:s("setup.repositoryUrl","Repository URL")}),e.jsx("input",{id:"project-clone-url",type:"text",value:t.manualCloneUrl,onChange:a=>i(r=>({...r,manualCloneUrl:a.target.value,error:null})),placeholder:s("setup.repositoryUrlPlaceholder","https://github.com/owner/repo.git")}),e.jsx("p",{className:"form-hint",children:s("setup.cloneGitHint","Fusion will run git clone into the destination directory, then register that cloned folder.")})]}),C&&t.manualPath.trim()&&e.jsxs("div",{className:"form-group",children:[e.jsxs("label",{htmlFor:"workspace-mode",className:"checkbox-label",children:[e.jsx("input",{id:"workspace-mode",type:"checkbox",checked:t.workspaceMode,onChange:a=>i(r=>({...r,workspaceMode:a.target.checked}))}),s("setup.workspaceMode","Workspace mode (multi-repo)")]}),t.isDetectingWorkspace&&e.jsxs("p",{className:"form-hint",children:[e.jsx(z,{size:12,className:"animate-spin setup-wizard-inline-spinner"}),s("setup.detectingWorkspace","Detecting sub-repositories...")]}),!t.isDetectingWorkspace&&t.detectedRepos.length>0&&e.jsxs("p",{className:"form-hint",children:[s("setup.detectedRepos","Found {{count}} repositories:",{count:t.detectedRepos.length})," ",t.detectedRepos.join(", ")]}),!t.isDetectingWorkspace&&t.detectedRepos.length===0&&t.workspaceMode===!1&&t.manualPath.trim()&&e.jsx("p",{className:"form-hint",children:s("setup.noSubReposDetected","No sub-repositories detected. Enable if this is a multi-repo workspace.")})]}),e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:"task-prefix",children:s("setup.taskPrefix","Task Prefix")}),e.jsx("input",{id:"task-prefix",type:"text",value:t.manualTaskPrefix,onChange:a=>i(r=>({...r,manualTaskPrefix:a.target.value.toUpperCase()})),placeholder:A(t.manualName||"FN"),maxLength:5}),e.jsx("p",{className:"form-hint",children:s("setup.taskPrefixHint",'Used for task IDs (e.g. "{{prefix}}-1"). Derived from project name.',{prefix:t.manualTaskPrefix||"FN"})})]}),e.jsxs("div",{className:"setup-wizard-advanced",children:[e.jsxs("button",{type:"button",className:"setup-wizard-advanced-toggle","aria-expanded":D,onClick:()=>O(a=>!a),children:[e.jsx(me,{size:16,className:"setup-wizard-advanced-chevron"}),e.jsx("span",{children:s("setup.advancedSettings","Advanced settings")})]}),D&&e.jsxs("div",{className:"setup-wizard-advanced-panel",children:[we(y)&&e.jsxs("div",{className:"form-group",children:[e.jsxs("div",{className:"project-node-selector",children:[e.jsx("span",{className:"project-node-selector__label",children:s("setup.runtimeNode","Runtime Node")}),e.jsxs("select",{value:t.manualNodeId,onChange:a=>i(r=>({...r,manualNodeId:a.target.value})),disabled:_||t.isRegistering,children:[e.jsx("option",{value:"",children:s("setup.localNode","Local node")}),U(y).map(a=>e.jsxs("option",{value:a.id,children:[a.name," (",a.type,")"]},a.id))]})]}),e.jsx("p",{className:"form-hint",children:s("setup.runtimeNodeHint",`A runtime node is the machine where this project's tasks run. "Local node" is this computer; pick a remote node to run tasks elsewhere.`)})]}),e.jsxs("div",{className:"form-group",children:[e.jsx("label",{children:s("setup.isolationMode","Isolation Mode")}),e.jsxs("div",{className:"setup-wizard-isolation-options",children:[e.jsxs("label",{className:`setup-wizard-isolation-option${t.manualIsolationMode==="in-process"?" selected":""}`,children:[e.jsx("input",{type:"radio",name:"isolation-mode",value:"in-process",checked:t.manualIsolationMode==="in-process",onChange:()=>i(a=>({...a,manualIsolationMode:"in-process"}))}),e.jsxs("div",{className:"setup-wizard-isolation-option-content",children:[e.jsx("strong",{children:s("setup.inProcess","In-Process")}),e.jsx("span",{children:s("setup.inProcessDesc","Lower overhead, shared memory. Best for most projects.")}),e.jsx("span",{className:"wizard-option-recommended",children:s("setup.recommended","Recommended")})]})]}),e.jsxs("label",{className:`setup-wizard-isolation-option${t.manualIsolationMode==="child-process"?" selected":""}`,children:[e.jsx("input",{type:"radio",name:"isolation-mode",value:"child-process",checked:t.manualIsolationMode==="child-process",onChange:()=>i(a=>({...a,manualIsolationMode:"child-process"}))}),e.jsxs("div",{className:"setup-wizard-isolation-option-content",children:[e.jsx("strong",{children:s("setup.childProcess","Child-Process")}),e.jsx("span",{children:s("setup.childProcessDesc","Isolated execution with crash containment.")})]})]})]})]})]})]}),t.error&&e.jsx("div",{className:"wizard-error",role:"alert",children:t.error})]}),t.step==="agent"&&e.jsxs("div",{className:"setup-wizard-agent-step",children:[e.jsx("p",{className:"setup-wizard-agent-intro",children:s("setup.firstAgentIntro","Agents are optional. Fusion can build tasks without one by starting temporary agents for planning, coding, review, and merge. Create an agent only if you want help coordinating tasks and direction.")}),e.jsxs("div",{className:"setup-wizard-agent-layout",children:[e.jsxs("section",{className:"setup-wizard-agent-presets","aria-labelledby":"setup-first-agent-presets-heading",children:[e.jsx("div",{className:"setup-wizard-agent-section-heading",id:"setup-first-agent-presets-heading",children:s("setup.firstAgentTemplates","Templates")}),e.jsx("div",{className:"setup-wizard-agent-preset-list",role:"radiogroup","aria-label":s("setup.firstAgentTemplates","Templates"),children:h.map(a=>{const r=t.selectedPresetId===a.id;return e.jsxs("button",{type:"button",className:`setup-wizard-agent-preset${r?" selected":""}`,role:"radio","aria-checked":r,"aria-label":r?s("setup.selectedAgentTemplate","{{name}} selected",{name:a.name}):a.name,tabIndex:a.id===ae?0:-1,"data-agent-preset-id":a.id,disabled:f,onClick:()=>v(a.id),onKeyDown:n=>q(n,a.id),children:[e.jsx(F,{agent:{id:a.id,icon:a.icon,name:a.name},size:28}),e.jsxs("span",{className:"setup-wizard-agent-preset-copy",children:[e.jsxs("span",{className:"setup-wizard-agent-preset-name",children:[a.name,a.id==="ceo"&&e.jsx("span",{className:"wizard-option-recommended",children:s("setup.recommended","Recommended")})]}),e.jsx("span",{className:"setup-wizard-agent-preset-description",children:a.description})]})]},a.id)})})]}),e.jsxs("section",{className:"setup-wizard-agent-preview","aria-labelledby":"setup-first-agent-preview-heading",children:[e.jsx("div",{className:"setup-wizard-agent-section-heading",id:"setup-first-agent-preview-heading",children:s("setup.firstAgentPreview","Preview")}),e.jsxs("div",{className:"setup-wizard-agent-preview-card",children:[e.jsxs("div",{className:"setup-wizard-agent-preview-title-row",children:[e.jsx(F,{agent:{id:t.selectedPresetId||"draft",icon:t.agentDraft.icon,name:t.agentDraft.name},size:36}),e.jsxs("div",{children:[e.jsx("h3",{children:t.agentDraft.name||s("setup.firstAgentDraftName","Draft agent")}),e.jsx("p",{children:t.agentDraft.title||se?.title||s("setup.firstAgentCustomDraft","Custom agent draft")})]})]}),e.jsxs("dl",{className:"setup-wizard-agent-preview-list",children:[e.jsxs("div",{children:[e.jsx("dt",{children:s("agents.fieldRole","Role")}),e.jsx("dd",{children:t.agentDraft.role})]}),e.jsxs("div",{children:[e.jsx("dt",{children:s("agents.fieldInstructionsText","Inline Instructions")}),e.jsx("dd",{children:t.agentDraft.instructionsText||s("setup.firstAgentNoInstructions","No inline instructions yet")})]})]}),R&&e.jsxs("button",{type:"button",className:"btn setup-wizard-agent-ai-btn",onClick:()=>N(!0),disabled:f,children:[e.jsx(ge,{size:16}),e.jsx("span",{children:s("agents.aiInterview","AI Interview")})]})]})]})]}),t.agentError&&e.jsx("div",{className:"wizard-error",role:"alert",tabIndex:-1,ref:S,children:t.agentError})]}),t.step==="complete"&&e.jsxs("div",{className:"setup-wizard-complete",children:[e.jsxs("div",{className:"setup-wizard-success-streak","aria-hidden":"true",children:[e.jsx("div",{className:"setup-wizard-success-streak-core"}),e.jsx("div",{className:"setup-wizard-success-streak-glow"})]}),e.jsx(T,{size:64,className:"success-icon"}),e.jsx("h3",{children:s("setup.allSet","All Set!")}),e.jsx("p",{children:t.agentOutcome==="created"?s("setup.firstAgentCreatedSuccess","Your project is registered and your first agent is ready."):s("setup.projectRegisteredSuccess","Your project has been registered successfully.")}),e.jsx("p",{children:t.agentOutcome==="skipped"?s("setup.firstAgentSkippedHint","You can create agents later from the Agents view."):s("setup.addMoreProjectsHint","You can add more projects anytime from the project overview.")})]})]}),e.jsxs("div",{className:"setup-wizard-footer",children:[e.jsx("a",{className:"btn setup-wizard-help-link",href:W,target:"_blank",rel:"noopener noreferrer",children:s("setup.needHelp","Need help?")}),t.step==="manual"&&e.jsx("button",{className:"btn btn-primary",onClick:Y,disabled:te,children:t.isRegistering?e.jsxs(e.Fragment,{children:[e.jsx(z,{size:16,className:"animate-spin"}),e.jsx("span",{children:s("setup.registering","Registering...")})]}):e.jsx("span",{children:X})}),t.step==="agent"&&e.jsxs(e.Fragment,{children:[e.jsx("button",{className:"btn",onClick:V,disabled:f,children:s("setup.skipFirstAgent","Skip for now")}),e.jsx("button",{className:"btn btn-primary",onClick:()=>void Z(),disabled:f||!t.agentDraft.name.trim(),"aria-busy":t.isCreatingAgent,children:t.isCreatingAgent?e.jsxs(e.Fragment,{children:[e.jsx(z,{size:16,className:"animate-spin"}),e.jsx("span",{children:s("setup.creatingFirstAgent","Creating agent...")})]}):e.jsx("span",{children:s("setup.createFirstAgent","Create Agent")})})]}),t.step==="complete"&&e.jsxs("button",{className:"btn btn-primary",onClick:G,children:[e.jsx(T,{size:16}),e.jsx("span",{children:s("setup.getStarted","Get Started")})]})]})]}),R&&M&&e.jsx(he,{level:"modal",fallback:e.jsxs("div",{className:"wizard-error setup-wizard-agent-interview-error",role:"alert",children:[e.jsx("span",{children:s("setup.firstAgentInterviewLoadError","AI interview could not load. You can still create an agent from a template or skip this step.")}),e.jsx("button",{type:"button",className:"btn",onClick:()=>N(!1),children:s("setup.firstAgentContinueWithTemplates","Continue with templates")})]}),children:e.jsx(o.Suspense,{fallback:e.jsx("div",{className:"wizard-error setup-wizard-agent-interview-error",role:"status",children:s("setup.firstAgentInterviewLoading","Loading AI Interview...")}),children:e.jsx(Ne,{isOpen:M,onClose:()=>N(!1),onUseDraft:K,projectId:t.registeredProject?.id,existingAgents:[],mode:"create"})})})]})}export{Re as SetupWizardModal};
@@ -1 +0,0 @@
1
- import{U as a,C as n}from"./mermaid.core-BUhJJv1M.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as t,C as e}from"./chunk-727SXJPM-C2TasaKk.js";import{_ as i}from"./mermaid.core-BUhJJv1M.js";import"./vendor-reactflow-9C3XTE7_.js";import"./chunk-FMBD7UC4-CdK77AxG.js";import"./chunk-ND2GUHAM-TE8zbIZ3.js";import"./chunk-55IACEB6-CI4ThikJ.js";import"./chunk-2J33WTMH-CJM3p9Fh.js";import"./index-ClPjlOHJ.js";import"./vendor-react-SZ_qB27O.js";import"./vendor-i18n-GF3RlKbq.js";import"./vendor-codemirror-jBKmHyH0.js";import"./vendor-xterm-BNq00GSj.js";import"./step-yuy0qJer.js";var k={parser:t,get db(){return new e},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{k as diagram};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as t,C as e}from"./chunk-727SXJPM-C2TasaKk.js";import{_ as i}from"./mermaid.core-BUhJJv1M.js";import"./vendor-reactflow-9C3XTE7_.js";import"./chunk-FMBD7UC4-CdK77AxG.js";import"./chunk-ND2GUHAM-TE8zbIZ3.js";import"./chunk-55IACEB6-CI4ThikJ.js";import"./chunk-2J33WTMH-CJM3p9Fh.js";import"./index-ClPjlOHJ.js";import"./vendor-react-SZ_qB27O.js";import"./vendor-i18n-GF3RlKbq.js";import"./vendor-codemirror-jBKmHyH0.js";import"./vendor-xterm-BNq00GSj.js";import"./step-yuy0qJer.js";var k={parser:t,get db(){return new e},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{k as diagram};