@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.
- package/dist/bin.js +2251 -2176
- package/dist/child-process-worker.js +1545 -1485
- package/dist/client/.vite/manifest.json +244 -244
- package/dist/client/assets/{AgentDetailView-BvY24zNh.js → AgentDetailView-Bq6qfKGR.js} +5 -5
- package/dist/client/assets/{AgentPermissionPolicyEditor-CYvJw48-.js → AgentPermissionPolicyEditor-Dah1P8IX.js} +2 -2
- package/dist/client/assets/{AgentsView-BWkWEfNs.js → AgentsView-Bu8h0vGY.js} +4 -4
- package/dist/client/assets/{ChatView-BhlVq9Re.js → ChatView-BTE8fIib.js} +1 -1
- package/dist/client/assets/{CommandCenter-DingokjC.js → CommandCenter-l4no66mI.js} +1 -1
- package/dist/client/assets/{DevServerView-kfNJk83M.js → DevServerView-Cuxhgjdv.js} +1 -1
- package/dist/client/assets/DirectoryPicker-tm1SS2jF.js +1 -0
- package/dist/client/assets/{DocumentsView-Bwc5HSg7.js → DocumentsView-Dg8lFF7X.js} +2 -2
- package/dist/client/assets/{EvalsView-BEr_MhJ4.js → EvalsView-TccfkTNy.js} +1 -1
- package/dist/client/assets/{ExperimentalAgentOnboardingModal-CZK-KtFP.js → ExperimentalAgentOnboardingModal-2qAtocIG.js} +1 -1
- package/dist/client/assets/{GoalsView-B_Qrm8po.js → GoalsView-Du_jIEn2.js} +1 -1
- package/dist/client/assets/{InsightsView-BfbclBHM.js → InsightsView-BxJ327Tj.js} +2 -2
- package/dist/client/assets/{MemoryView-V9Y08BtR.js → MemoryView-Blv0YUWC.js} +2 -2
- package/dist/client/assets/{PiExtensionsManager-B7fl5l3O.js → PiExtensionsManager-BUS_ZKwO.js} +2 -2
- package/dist/client/assets/{PluginManager-H32X557C.js → PluginManager-DM5-rNen.js} +1 -1
- package/dist/client/assets/{PullRequestView-Dhz86tnJ.js → PullRequestView-D7ozwDrc.js} +2 -2
- package/dist/client/assets/{ResearchView-DEObk9J2.js → ResearchView-CRGaOkBH.js} +1 -1
- package/dist/client/assets/{SecretsView-DFEWUbXI.js → SecretsView-Nwc-7xGn.js} +1 -1
- package/dist/client/assets/{SessionTerminal-CwfTrmor.js → SessionTerminal-gC7X57E6.js} +1 -1
- package/dist/client/assets/{SettingsModal-H1TNebmF.js → SettingsModal-CuEXiFb_.js} +4 -4
- package/dist/client/assets/{SettingsModal-2mlwjfVZ.js → SettingsModal-q_D1o7T-.js} +1 -1
- package/dist/client/assets/{SettingsTextareaRow-ByeSU4Pi.js → SettingsTextareaRow-DnsWtbkh.js} +1 -1
- package/dist/client/assets/SetupWizardModal-3-mXX0VJ.js +2 -0
- package/dist/client/assets/{SkillsView-DScNdDRz.js → SkillsView-Dw8m0G-9.js} +1 -1
- package/dist/client/assets/{ThemeDropdown-BKl0kouU.js → ThemeDropdown-C7qybW7w.js} +1 -1
- package/dist/client/assets/{TodoView-_HojIE_Y.js → TodoView-r_qHhO28.js} +2 -2
- package/dist/client/assets/{WorkflowNodeEditor-CoQYdUYX.js → WorkflowNodeEditor-B0TGhu5B.js} +1 -1
- package/dist/client/assets/{architectureDiagram-3BPJPVTR-vIoH_tGm.js → architectureDiagram-3BPJPVTR-9REjGWnr.js} +1 -1
- package/dist/client/assets/{blockDiagram-GPEHLZMM-BqjSE9AM.js → blockDiagram-GPEHLZMM-OATfTc06.js} +1 -1
- package/dist/client/assets/{c4Diagram-AAUBKEIU-TWEWVE4T.js → c4Diagram-AAUBKEIU-B-nq1avj.js} +1 -1
- package/dist/client/assets/channel-BW-0I-xJ.js +1 -0
- package/dist/client/assets/{chunk-2J33WTMH-CJM3p9Fh.js → chunk-2J33WTMH-Dds2A4Un.js} +1 -1
- package/dist/client/assets/{chunk-4BX2VUAB-Bf_1wJ7O.js → chunk-4BX2VUAB-Dc-jRxxZ.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-CI4ThikJ.js → chunk-55IACEB6-CKtwSOvQ.js} +1 -1
- package/dist/client/assets/{chunk-727SXJPM-C2TasaKk.js → chunk-727SXJPM-DbRZhQCr.js} +1 -1
- package/dist/client/assets/{chunk-AQP2D5EJ-BqKUxt3g.js → chunk-AQP2D5EJ-Dq_cSIeh.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-CdK77AxG.js → chunk-FMBD7UC4-BmnvYNOo.js} +1 -1
- package/dist/client/assets/{chunk-ND2GUHAM-TE8zbIZ3.js → chunk-ND2GUHAM-D6nyZn0C.js} +1 -1
- package/dist/client/assets/{chunk-QZHKN3VN-7lgttGIx.js → chunk-QZHKN3VN-FFojVCmd.js} +1 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-DfBIljo4.js +1 -0
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-DfBIljo4.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-DsK8EBeo.js → cose-bilkent-S5V4N54A-DysS3-yZ.js} +1 -1
- package/dist/client/assets/{dagre-BM42HDAG-COza1ss6.js → dagre-BM42HDAG-DgL7uNq4.js} +1 -1
- package/dist/client/assets/{dashboard-view-ILJ_vnYK.js → dashboard-view-Bu_nB-cd.js} +1 -1
- package/dist/client/assets/{dashboard-view-D_etacMS.js → dashboard-view-DlxD_dta.js} +1 -1
- package/dist/client/assets/{dashboard-view-JEFD-Zgw.js → dashboard-view-ln6_a3ZY.js} +1 -1
- package/dist/client/assets/{diagram-2AECGRRQ-Co_F0-vp.js → diagram-2AECGRRQ-DTACb17z.js} +1 -1
- package/dist/client/assets/{diagram-5GNKFQAL-BD_n7vU0.js → diagram-5GNKFQAL-DqdKDR_d.js} +1 -1
- package/dist/client/assets/{diagram-KO2AKTUF-SFnuzet_.js → diagram-KO2AKTUF-CCKa3iUW.js} +1 -1
- package/dist/client/assets/{diagram-LMA3HP47-CFYeR0mH.js → diagram-LMA3HP47-C2SLmXdM.js} +1 -1
- package/dist/client/assets/{diagram-OG6HWLK6-DOVfqKgw.js → diagram-OG6HWLK6-Dz9wXgRN.js} +1 -1
- package/dist/client/assets/{erDiagram-TEJ5UH35-DkeW3bDN.js → erDiagram-TEJ5UH35-GGHapzlB.js} +1 -1
- package/dist/client/assets/{flowDiagram-I6XJVG4X-CVaNMQl_.js → flowDiagram-I6XJVG4X-B3SLxAlP.js} +1 -1
- package/dist/client/assets/{folder-open-BY1Gp9Wf.js → folder-open-BWBZSyO2.js} +1 -1
- package/dist/client/assets/{ganttDiagram-6RSMTGT7-BQJ0x5Hq.js → ganttDiagram-6RSMTGT7-DYveq-32.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-PVQCEYII-CIt0P2Lg.js → gitGraphDiagram-PVQCEYII-Bxh-7IFt.js} +1 -1
- package/dist/client/assets/{index-GJLKrqhe.css → index-CiqkhNwQ.css} +1 -1
- package/dist/client/assets/{index-ClPjlOHJ.js → index-D8sgsB8q.js} +268 -268
- package/dist/client/assets/{infoDiagram-5YYISTIA-B1KKCn80.js → infoDiagram-5YYISTIA-B3_g2TQW.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-CzG1cEeg.js → ishikawaDiagram-YF4QCWOH-CExRn4qZ.js} +1 -1
- package/dist/client/assets/{journeyDiagram-JHISSGLW-CNB7oM4Q.js → journeyDiagram-JHISSGLW-Dgck68vd.js} +1 -1
- package/dist/client/assets/{kanban-definition-UN3LZRKU-D8vXTzfs.js → kanban-definition-UN3LZRKU-B258_39Z.js} +1 -1
- package/dist/client/assets/{mermaid.core-BUhJJv1M.js → mermaid.core-uCT9za93.js} +4 -4
- package/dist/client/assets/{mindmap-definition-RKZ34NQL-y_XyU0Us.js → mindmap-definition-RKZ34NQL-DHevd0he.js} +1 -1
- package/dist/client/assets/{pieDiagram-4H26LBE5-MB9aZtTc.js → pieDiagram-4H26LBE5-rTbXqg0x.js} +1 -1
- package/dist/client/assets/{puzzle-CE00Ce2g.js → puzzle-D7NHfczg.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-W4KKPZXB-hF7q33gK.js → quadrantDiagram-W4KKPZXB-C-N3JbLv.js} +1 -1
- package/dist/client/assets/{requirementDiagram-4Y6WPE33-BIOIzbEd.js → requirementDiagram-4Y6WPE33-DNINb6LP.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-5OEKKPKP-BpLzUxJ8.js → sankeyDiagram-5OEKKPKP-UI7SyvRN.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-3UESZ5HK-CLXamQhZ.js → sequenceDiagram-3UESZ5HK-pc1RDjwM.js} +1 -1
- package/dist/client/assets/{shield-alert-BhLVV0rp.js → shield-alert-c_--H0ce.js} +1 -1
- package/dist/client/assets/{standing-instructions-template-96KSNan7.js → standing-instructions-template-aTeHy5lT.js} +1 -1
- package/dist/client/assets/{stateDiagram-AJRCARHV-CPRWhQtZ.js → stateDiagram-AJRCARHV-CEiZfKWc.js} +1 -1
- package/dist/client/assets/{stateDiagram-v2-BHNVJYJU-8GvpOVMc.js → stateDiagram-v2-BHNVJYJU-B7aNz5OD.js} +1 -1
- package/dist/client/assets/{timeline-definition-PNZ67QCA-BAAldJMW.js → timeline-definition-PNZ67QCA-DyE71jn0.js} +1 -1
- package/dist/client/assets/{upload-DbKZcYCW.js → upload-YGrA50-5.js} +1 -1
- package/dist/client/assets/{users-ccVe3aKQ.js → users-fxiLvP6C.js} +1 -1
- package/dist/client/assets/{vennDiagram-CIIHVFJN-DGSAcrfx.js → vennDiagram-CIIHVFJN-DX-6Y82D.js} +1 -1
- package/dist/client/assets/{wardley-L42UT6IY-CLGvNiAx.js → wardley-L42UT6IY-ew7KQxeH.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-YWT4CUSO-BhU8FLGx.js → wardleyDiagram-YWT4CUSO-DqSCrJdO.js} +1 -1
- package/dist/client/assets/{xychartDiagram-2RQKCTM6-BQ6AzTfE.js → xychartDiagram-2RQKCTM6-CEtZEj45.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/version.json +1 -1
- package/dist/extension.js +1767 -1707
- package/package.json +1 -1
- package/dist/client/assets/DirectoryPicker-Cluyep4u.js +0 -1
- package/dist/client/assets/SetupWizardModal-BFZnVJX1.js +0 -2
- package/dist/client/assets/channel-hhQEu5zM.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-C2Thhy7D.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-C2Thhy7D.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{c as B,
|
|
1
|
+
import{c as B,aV as N,aW as R,aX as O}from"./index-D8sgsB8q.js";import{r as b,j as e}from"./vendor-react-SZ_qB27O.js";import{u as F}from"./vendor-i18n-GF3RlKbq.js";/**
|
|
2
2
|
* @license lucide-react v1.7.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const
|
|
6
|
+
*/const W=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Z=B("book-open",W),_=["allow","require-approval","block"],P=/^[A-Za-z0-9_-]+$/;function X(){const o=new Set(O),a=new Set;for(const c of Object.values(R))for(const r of c)P.test(r)&&!o.has(r)&&a.add(r);return[...a].sort()}function U(o){return{git_write:{label:o("agentPolicy.category.gitWrite.label","Git writes"),description:o("agentPolicy.category.gitWrite.description","Commits, branch updates, and merge-affecting git changes.")},file_write_delete:{label:o("agentPolicy.category.fileWriteDelete.label","File writes/deletes"),description:o("agentPolicy.category.fileWriteDelete.description","Create, edit, or remove files in the workspace.")},command_execution:{label:o("agentPolicy.category.commandExecution.label","Command execution"),description:o("agentPolicy.category.commandExecution.description","Runs shell commands and scripts.")},network_api:{label:o("agentPolicy.category.networkApi.label","Network/API"),description:o("agentPolicy.category.networkApi.description","Outbound network or API access.")},task_agent_mutation:{label:o("agentPolicy.category.taskAgentMutation.label","Task/agent mutation"),description:o("agentPolicy.category.taskAgentMutation.description","Task state changes, delegation, or agent lifecycle actions.")},review_gate_bypass:{label:o("agentPolicy.category.reviewGateBypass.label","Review gate bypass"),description:o("agentPolicy.category.reviewGateBypass.description","Bypassing a failed pre-merge review step to force a card past the review lane.")},file_scope:{label:o("agentPolicy.category.fileScope.label","File Scope expansion"),description:o("agentPolicy.category.fileScope.description","Extending a task's declared File Scope beyond its initial spec at runtime.")}}}function y(o,a){if(a==="require-approval")return o("agentPolicy.requireApproval","Require approval");if(a==="allow")return o("agentPolicy.allow","Allow");if(a==="block")return o("agentPolicy.block","Block");const c=a;return c.charAt(0).toUpperCase()+c.slice(1)}function Y(){return{git_write:"allow",file_write_delete:"allow",command_execution:"allow",network_api:"allow",task_agent_mutation:"allow",review_gate_bypass:"require-approval",file_scope:"allow"}}const h={unrestricted:{git_write:"allow",file_write_delete:"allow",command_execution:"allow",network_api:"allow",task_agent_mutation:"allow",review_gate_bypass:"require-approval",file_scope:"allow"},"approval-required":{git_write:"require-approval",file_write_delete:"require-approval",command_execution:"require-approval",network_api:"require-approval",task_agent_mutation:"require-approval",review_gate_bypass:"require-approval",file_scope:"require-approval"},"locked-down":{git_write:"block",file_write_delete:"block",command_execution:"block",network_api:"block",task_agent_mutation:"block",review_gate_bypass:"block",file_scope:"block"}};function V(o){return h[o]}function w(o,a){return N.every(c=>o[c]===a[c])}function $(o){return w(o,h.unrestricted)?"unrestricted":w(o,h["approval-required"])?"approval-required":w(o,h["locked-down"])?"locked-down":"custom"}function J({value:o,projectDefault:a,projectDefaultToolRules:c,mode:r,onChange:p,disabled:u=!1}){const{t:l}=F("app"),E=U(l),I=b.useMemo(()=>X(),[]),[v,A]=b.useState("fn_task_create"),[f,S]=b.useState("block"),D=o?$(o.rules):"unrestricted",q=r==="agent-override"&&!o?"inherit":o?.presetId==="custom"?D:o?.presetId??"unrestricted",m=o?.rules??Y(),g=o?.toolRules??{},j=Object.entries(g).sort(([t],[i])=>t.localeCompare(i)),x=t=>({...t,...Object.keys(g).length>0?{toolRules:{...g}}:{}}),C=t=>{if(r==="agent-override"&&t==="inherit"){p(void 0);return}if(t==="custom"){p(x({presetId:"custom",rules:{...m}}));return}p(x({presetId:t,rules:V(t)}))},L=(t,i)=>{if(r==="agent-override"&&i==="inherit"){if(!o)return;const n={...o.rules};n[t]=a?.[t]??"allow",p(x({presetId:"custom",rules:n}));return}const s={...m,[t]:i};p(x({presetId:"custom",rules:s}))},k=(t,i)=>{const s=t.trim();if(!s||!P.test(s))return;const n={...g,[s]:i};p({presetId:"custom",rules:{...m},toolRules:n})},M=t=>{const i={...g};delete i[t],p({presetId:"custom",rules:{...m},...Object.keys(i).length>0?{toolRules:i}:{}})},G=()=>{k(v,f)};return e.jsxs("div",{className:"agent-policy-editor card",children:[e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:"agent-policy-preset",children:l("agentPolicy.preset","Preset")}),e.jsxs("select",{id:"agent-policy-preset",className:"select",value:q,onChange:t=>C(t.target.value),disabled:u,children:[r==="agent-override"?e.jsx("option",{value:"inherit",children:l("agentPolicy.inheritDefault","Inherit project default")}):null,e.jsx("option",{value:"unrestricted",children:l("agentPolicy.unrestricted","Unrestricted")}),e.jsx("option",{value:"approval-required",children:l("agentPolicy.approvalRequired","Approval Required")}),e.jsx("option",{value:"locked-down",children:l("agentPolicy.lockedDown","Locked Down")}),e.jsx("option",{value:"custom",children:l("agentPolicy.custom","Custom")})]})]}),e.jsx("div",{className:"agent-policy-table",role:"table","aria-label":l("agentPolicy.ariaLabel","Permission policy categories"),children:N.map(t=>{const i=E[t]??{label:t,description:""},s=a?.[t]??"allow",n=m[t]??"allow",T=r==="agent-override"&&!o?"inherit":n;return e.jsxs("div",{className:"agent-policy-row",role:"row","data-category":t,children:[e.jsxs("div",{className:"agent-policy-cell",children:[e.jsx("strong",{children:i.label}),e.jsx("div",{className:"agent-policy-description",children:i.description}),e.jsx("ul",{className:"agent-policy-examples","aria-label":l("agentPolicy.categoryExamples","{{label}} examples",{label:i.label}),children:(R[t]??[]).map(d=>e.jsx("li",{children:e.jsx("code",{children:d})},`${t}-${d}`))})]}),e.jsxs("div",{className:"agent-policy-cell",children:[e.jsxs("select",{className:"select",value:T,onChange:d=>L(t,d.target.value),disabled:u,children:[r==="agent-override"?e.jsx("option",{value:"inherit",children:l("agentPolicy.inherit","Inherit")}):null,_.map(d=>e.jsx("option",{value:d,children:y(l,d)},d))]}),r==="agent-override"&&T==="inherit"?e.jsxs("div",{className:"agent-policy-inherit-note",children:[l("agentPolicy.fromProjectDefault","from project default"),": ",y(l,s)]}):null]})]},t)})}),e.jsxs("section",{className:"agent-policy-tool-rules","aria-labelledby":"agent-policy-tool-rules-heading",children:[e.jsx("div",{className:"agent-policy-tool-rules-header",children:e.jsxs("div",{children:[e.jsx("h4",{id:"agent-policy-tool-rules-heading",children:l("agentPolicy.exactToolOverrides","Exact tool overrides")}),e.jsx("p",{children:l("agentPolicy.exactToolOverridesDescription","Override one governed tool by exact name before its category rule. Heartbeat-critical exempt tools stay non-configurable.")})]})}),j.length===0?e.jsx("div",{className:"agent-policy-tool-empty","data-testid":"agent-policy-tool-empty",children:l("agentPolicy.noExactToolOverrides","No exact tool overrides configured.")}):e.jsx("div",{className:"agent-policy-tool-list","data-testid":"agent-policy-tool-list",children:j.map(([t,i])=>{const s=c?.[t];return e.jsxs("div",{className:"agent-policy-tool-row","data-testid":"agent-policy-tool-row",children:[e.jsxs("label",{children:[e.jsx("span",{children:l("agentPolicy.toolName","Tool name")}),e.jsx("input",{className:"input",value:t,disabled:!0,readOnly:!0})]}),e.jsxs("label",{children:[e.jsx("span",{children:l("agentPolicy.toolDisposition","Disposition")}),e.jsx("select",{className:"select","aria-label":l("agentPolicy.toolDispositionFor","Disposition for {{toolName}}",{toolName:t}),value:i,onChange:n=>k(t,n.target.value),disabled:u,children:_.map(n=>e.jsx("option",{value:n,children:y(l,n)},n))}),r==="agent-override"&&s?e.jsxs("small",{className:"agent-policy-inherit-note",children:[l("agentPolicy.projectDefaultExactTool","project default exact rule"),": ",y(l,s)]}):null]}),e.jsx("button",{type:"button",className:"btn btn-secondary","aria-label":l("agentPolicy.removeToolOverride","Remove exact override for {{toolName}}",{toolName:t}),onClick:()=>M(t),disabled:u,children:l("agentPolicy.remove","Remove")})]},t)})}),e.jsxs("div",{className:"agent-policy-tool-add","data-testid":"agent-policy-tool-add",children:[e.jsxs("label",{children:[e.jsx("span",{children:l("agentPolicy.toolName","Tool name")}),e.jsx("input",{className:"input",list:"agent-policy-known-tools",value:v,onChange:t=>A(t.target.value),disabled:u,"aria-label":l("agentPolicy.toolOverrideTool","Tool override tool")}),e.jsx("datalist",{id:"agent-policy-known-tools",children:I.map(t=>e.jsx("option",{value:t},t))})]}),e.jsxs("label",{children:[e.jsx("span",{children:l("agentPolicy.toolDisposition","Disposition")}),e.jsx("select",{className:"select",value:f,onChange:t=>S(t.target.value),disabled:u,"aria-label":l("agentPolicy.toolOverrideDisposition","Tool override disposition"),children:_.map(t=>e.jsx("option",{value:t,children:y(l,t)},t))})]}),e.jsx("button",{type:"button",className:"btn btn-primary",onClick:G,disabled:u||!P.test(v.trim()),children:g[v.trim()]?l("agentPolicy.updateToolOverride","Update override"):l("agentPolicy.addToolOverride","Add override")})]})]}),e.jsxs("details",{className:"agent-policy-exempt",open:!1,children:[e.jsx("summary",{children:l("agentPolicy.exemptTools","Tools exempt from approval policy")}),e.jsx("p",{children:l("agentPolicy.exemptToolsDescription","These coordination tools bypass approval policy so heartbeats and inter-agent messaging cannot deadlock. They are not user-configurable.")}),e.jsx("ul",{className:"agent-policy-exempt-list",children:O.map(t=>e.jsx("li",{children:e.jsx("code",{children:t})},t))})]})]})}export{J as A,Z as B};
|