@runfusion/fusion 0.2.6 → 0.2.7

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 (28) hide show
  1. package/dist/bin.js +60 -6
  2. package/dist/client/assets/{AgentDetailView-CBdzWtd-.js → AgentDetailView-B4lRk--v.js} +1 -1
  3. package/dist/client/assets/{AgentsView-DPlnCa_B.js → AgentsView-yCYBY2km.js} +3 -3
  4. package/dist/client/assets/{ChatView-BXzYysNG.js → ChatView-CH9T0dDs.js} +1 -1
  5. package/dist/client/assets/{DevServerView-BY5cGz23.js → DevServerView-jXXtoQUx.js} +1 -1
  6. package/dist/client/assets/DirectoryPicker-izgMlS27.js +1 -0
  7. package/dist/client/assets/{DocumentsView-lQwJmc4G.js → DocumentsView-DkkoHRwL.js} +1 -1
  8. package/dist/client/assets/{InsightsView-DUiZZ0z8.js → InsightsView-DaRtUPHX.js} +1 -1
  9. package/dist/client/assets/{MemoryView-DvSmMN6G.js → MemoryView-85NKuU3h.js} +1 -1
  10. package/dist/client/assets/{NodesView-DgyM-ktg.js → NodesView-BsUk_oiU.js} +1 -1
  11. package/dist/client/assets/{PiExtensionsManager-wxB-q06A.js → PiExtensionsManager-BF5pxrSE.js} +1 -1
  12. package/dist/client/assets/PluginManager-ccq3uK50.css +1 -0
  13. package/dist/client/assets/{PluginManager-LH02ybSH.js → PluginManager-s6btydh5.js} +1 -1
  14. package/dist/client/assets/{RoadmapsView-ANn2jmsU.js → RoadmapsView-SQol126Y.js} +1 -1
  15. package/dist/client/assets/{SetupWizardModal-UxlAtKWA.js → SetupWizardModal-CQc1uGSq.js} +1 -1
  16. package/dist/client/assets/{SkillsView-DEjGh7wW.js → SkillsView-BtUhs_QW.js} +1 -1
  17. package/dist/client/assets/{folder-open-J7yPbaCt.js → folder-open-CI4TCD7P.js} +1 -1
  18. package/dist/client/assets/index-Ct-OqLpP.css +1 -0
  19. package/dist/client/assets/index-rNf7s96d.js +649 -0
  20. package/dist/client/assets/{upload-B_grq4hM.js → upload-CAlKC4qI.js} +1 -1
  21. package/dist/client/index.html +2 -2
  22. package/dist/extension.js +5 -0
  23. package/dist/pi-claude-cli/package.json +1 -1
  24. package/package.json +5 -5
  25. package/dist/client/assets/DirectoryPicker-DZ90eSBn.js +0 -1
  26. package/dist/client/assets/PluginManager-tCFMZMLL.css +0 -1
  27. package/dist/client/assets/index-BdJsO65L.css +0 -1
  28. package/dist/client/assets/index-CHoVMPAA.js +0 -649
@@ -1,4 +1,4 @@
1
- import{c as a}from"./index-CHoVMPAA.js";/**
1
+ import{c as a}from"./index-rNf7s96d.js";/**
2
2
  * @license lucide-react v1.7.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -78,11 +78,11 @@
78
78
  }
79
79
  })();
80
80
  </script>
81
- <script type="module" crossorigin src="/assets/index-CHoVMPAA.js"></script>
81
+ <script type="module" crossorigin src="/assets/index-rNf7s96d.js"></script>
82
82
  <link rel="modulepreload" crossorigin href="/assets/vendor-react-K0fH_qHe.js">
83
83
  <link rel="modulepreload" crossorigin href="/assets/vendor-xterm-DzcZoU0P.js">
84
84
  <link rel="stylesheet" crossorigin href="/assets/vendor-xterm-LZoznX6r.css">
85
- <link rel="stylesheet" crossorigin href="/assets/index-BdJsO65L.css">
85
+ <link rel="stylesheet" crossorigin href="/assets/index-Ct-OqLpP.css">
86
86
  </head>
87
87
  <body>
88
88
  <div id="root"></div>
package/dist/extension.js CHANGED
@@ -70959,6 +70959,11 @@ async function createPlanningAgent(session, rootDir, modelProvider, modelId, pro
70959
70959
  },
70960
70960
  onText: (delta) => {
70961
70961
  session.thinkingOutput += delta;
70962
+ persistThinking(session.id, session.thinkingOutput);
70963
+ planningStreamManager.broadcast(session.id, {
70964
+ type: "thinking",
70965
+ data: delta
70966
+ });
70962
70967
  }
70963
70968
  });
70964
70969
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion/pi-claude-cli",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Fusion vendored fork: pi coding-agent extension that routes LLM calls through the Claude Code CLI. Forked from rchern/pi-claude-cli (MIT). See UPSTREAM.md.",
5
5
  "license": "MIT",
6
6
  "private": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runfusion/fusion",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
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",
@@ -75,10 +75,10 @@
75
75
  "typescript": "^5.7.0",
76
76
  "vitest": "^3.1.0",
77
77
  "yaml": "^2.8.3",
78
- "@fusion/core": "0.2.6",
79
- "@fusion/dashboard": "0.2.6",
80
- "@fusion/engine": "0.2.6",
81
- "@fusion/pi-claude-cli": "0.2.6"
78
+ "@fusion/engine": "0.2.7",
79
+ "@fusion/pi-claude-cli": "0.2.7",
80
+ "@fusion/dashboard": "0.2.7",
81
+ "@fusion/core": "0.2.7"
82
82
  },
83
83
  "repository": {
84
84
  "type": "git",
@@ -1 +0,0 @@
1
- import{r as t,j as r}from"./vendor-react-K0fH_qHe.js";import{bV as f,bW as b,D as x,a7 as g,a2 as P,a3 as C,L as H,ae as O}from"./index-CHoVMPAA.js";import{F as v}from"./folder-open-J7yPbaCt.js";function S({value:d,onChange:l,placeholder:y,onInputKeyDown:j,nodeId:h,localNodeId:p}){const[e,a]=t.useState({isOpen:!1,loading:!1,error:null,currentPath:"",parentPath:null,entries:[],showHidden:!1}),c=t.useCallback(async(s,n=!1)=>{a(i=>({...i,loading:!0,error:null}));try{const i=await f(s,n,h,p);a(u=>({...u,loading:!1,currentPath:i.currentPath,parentPath:i.parentPath,entries:i.entries}))}catch(i){a(u=>({...u,loading:!1,error:i instanceof Error?i.message:"Failed to browse directory"}))}},[h,p]),k=t.useCallback(()=>{a(s=>s.isOpen?{...s,isOpen:!1}:{...s,isOpen:!0})},[]);t.useEffect(()=>{e.isOpen&&!e.loading&&e.entries.length===0&&!e.error&&c(d||void 0,e.showHidden)},[e.isOpen,e.loading,e.entries.length,e.error,d,e.showHidden,c,h,p]);const o=t.useCallback(s=>{c(s,e.showHidden)},[c,e.showHidden]),w=t.useCallback(()=>{l(e.currentPath),a(s=>({...s,isOpen:!1}))},[e.currentPath,l]),N=t.useCallback(()=>{a(s=>{const n=!s.showHidden;return{...s,showHidden:n}})},[]);t.useEffect(()=>{e.isOpen&&e.currentPath&&c(e.currentPath,e.showHidden)},[e.showHidden]);const m=e.currentPath?e.currentPath.split("/").filter(Boolean):[];return r.jsxs("div",{className:"directory-picker",children:[r.jsxs("div",{className:"directory-picker-input-row",children:[r.jsx("input",{type:"text",className:"directory-picker-input",value:d,onChange:s=>l(s.target.value),onKeyDown:j,placeholder:y||"/path/to/your/project"}),r.jsxs("button",{type:"button",className:"directory-picker-browse-btn",onClick:k,"aria-label":e.isOpen?"Close directory browser":"Browse directories",children:[e.isOpen?r.jsx(v,{size:16}):r.jsx(b,{size:16}),r.jsx("span",{children:"Browse"})]})]}),e.isOpen&&r.jsxs("div",{className:"directory-picker-browser",role:"tree","aria-label":"Directory browser",children:[r.jsxs("div",{className:"directory-picker-breadcrumbs",children:[r.jsx("button",{className:"directory-picker-breadcrumb",onClick:()=>o("/"),title:"Root",children:"/"}),m.map((s,n)=>{const i="/"+m.slice(0,n+1).join("/");return r.jsxs("span",{className:"directory-picker-breadcrumb-item",children:[r.jsx(x,{size:12,className:"directory-picker-breadcrumb-sep"}),r.jsx("button",{className:"directory-picker-breadcrumb",onClick:()=>o(i),title:i,children:s})]},i)})]}),r.jsxs("div",{className:"directory-picker-toolbar",children:[e.parentPath&&r.jsxs("button",{className:"directory-picker-up-btn",onClick:()=>o(e.parentPath),"aria-label":"Go to parent directory",title:"Parent directory",children:[r.jsx(g,{size:14}),r.jsx("span",{children:"Up"})]}),r.jsxs("button",{className:"directory-picker-hidden-toggle",onClick:N,"aria-label":e.showHidden?"Hide hidden directories":"Show hidden directories",title:e.showHidden?"Hide hidden":"Show hidden",children:[e.showHidden?r.jsx(P,{size:14}):r.jsx(C,{size:14}),r.jsx("span",{children:e.showHidden?"Hide hidden":"Show hidden"})]})]}),e.loading?r.jsxs("div",{className:"directory-picker-loading",children:[r.jsx(H,{size:20,className:"animate-spin"}),r.jsx("span",{children:"Loading…"})]}):e.error?r.jsxs("div",{className:"directory-picker-error",children:[r.jsx(O,{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:"No subdirectories"}):e.entries.map(s=>r.jsxs("button",{className:"directory-picker-entry",onClick:()=>o(s.path),role:"treeitem",title:s.path,children:[r.jsx(b,{size:16,className:"directory-picker-entry-icon"}),r.jsx("span",{className:"directory-picker-entry-name",children:s.name}),s.hasChildren&&r.jsx(x,{size:14,className:"directory-picker-entry-arrow"})]},s.path))}),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:w,children:"Select"})]})]})]})}export{S as D};
@@ -1 +0,0 @@
1
- .plugin-manager,.plugin-manager-detail{display:flex;flex-direction:column;gap:var(--space-lg)}.plugin-manager-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--space-sm);border-bottom:1px solid var(--border)}.plugin-manager-actions{display:flex;gap:var(--space-sm);align-items:center}.plugin-install-form{display:flex;flex-direction:column;gap:var(--space-sm);padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.plugin-install-hint{margin:0;font-size:.85rem;color:var(--text-secondary, var(--text-muted));line-height:1.45}.plugin-install-hint code{padding:1px var(--space-xs);border-radius:var(--radius-sm);background:var( --bg-tertiary, color-mix(in srgb, var(--text-muted) 18%, transparent) );font-size:.85em}.plugin-install-actions{display:flex;gap:var(--space-sm);justify-content:flex-end}.plugin-list{display:flex;flex-direction:column;gap:var(--space-sm)}.plugin-item{display:flex;align-items:center;justify-content:space-between;padding:var(--space-md) var(--space-lg);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);transition:border-color var(--transition-fast)}.plugin-item:hover{border-color:var(--text-dim)}.plugin-info{display:flex;align-items:center;gap:var(--space-sm);min-width:0}.plugin-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plugin-version{font-size:.85rem}.plugin-state-badge{display:inline-flex;align-items:center;padding:var(--space-xs) var(--space-sm);border-radius:var(--radius-pill);font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;background:color-mix(in srgb,currentColor 12%,transparent)}.plugin-actions{display:flex;align-items:center;gap:var(--space-xs);flex-shrink:0}.plugin-manager-detail-header,.plugin-detail-title{display:flex;align-items:center;gap:var(--space-md);flex-wrap:wrap}.plugin-detail-title h3{margin:0}.plugin-detail-content{display:flex;flex-direction:column;gap:var(--space-lg)}.plugin-detail-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-lg);display:flex;flex-direction:column;gap:var(--space-md)}.plugin-description{font-size:.95rem;color:var(--text-secondary, var(--text-muted));line-height:1.5}.plugin-detail-meta-row{display:flex;align-items:center;gap:var(--space-xs);font-size:.9rem;color:var(--text-muted)}.plugin-homepage a{display:inline-flex;align-items:center;gap:var(--space-xs);color:var(--color-info);font-size:.85rem}.plugin-settings-form .settings-section-heading{margin:0}.plugin-settings-form{display:flex;flex-direction:column;gap:var(--space-lg);margin-top:var(--space-xs)}.plugin-settings-form .form-group{padding:0;margin-bottom:0}.plugin-settings-array{display:flex;flex-direction:column;gap:var(--space-sm)}.plugin-settings-array-item{display:flex;align-items:center;gap:var(--space-sm)}.plugin-settings-array-item input{flex:1}.plugin-detail-actions{display:flex;gap:var(--space-sm);padding-top:var(--space-md);border-top:1px solid var(--border);justify-content:flex-end}.plugin-manager .empty-state,.plugin-manager .loading-state,.plugin-manager .settings-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-sm);padding:var(--space-2xl);text-align:center;color:var(--text-muted)}@media(max-width:768px){.plugin-manager-detail-header{gap:var(--space-sm)}.plugin-detail-title{gap:var(--space-xs)}.plugin-detail-card{padding:var(--space-md);gap:var(--space-sm)}.plugin-list{gap:var(--space-xs)}.plugin-item{padding:var(--space-md)}.plugin-actions{gap:var(--space-xs)}.plugin-detail-actions{flex-wrap:wrap;justify-content:stretch}.plugin-detail-actions button{flex:1 1 auto;min-height:36px}}