zdashboard 2.8.5 → 2.8.6
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/cli.js +468 -15
- package/dist/cli.js.map +1 -1
- package/dist/web/assets/CodeViewer-_jAxbWVL.js +10 -0
- package/dist/web/assets/{FileIcon-FyROY2Qe.js → FileIcon-68etP2t6.js} +1 -1
- package/dist/web/assets/{FilterPills-DwCH0Z96.js → FilterPills-DGfzMpn_.js} +1 -1
- package/dist/web/assets/ImageViewer-ChZdzYPf.js +298 -0
- package/dist/web/assets/{Sidebar-Cz3W5MP6.js → Sidebar-D83uLTNy.js} +1 -1
- package/dist/web/assets/{Sidebar-BUi2jDuu.js → Sidebar-N0HiMJRK.js} +1 -1
- package/dist/web/assets/Workspace-BE7p2hNz.js +1 -0
- package/dist/web/assets/{Workspace-ICT0FTaI.js → Workspace-BpSq60xh.js} +1 -1
- package/dist/web/assets/{Workspace-Db4r4oQO.js → Workspace-DW8xX3Tg.js} +1 -1
- package/dist/web/assets/Workspace-DjL1fdji.js +2 -0
- package/dist/web/assets/Workspace-DrN9--Je.js +1 -0
- package/dist/web/assets/{index--t_ijYil.css → index-DH1Mqw-g.css} +1 -1
- package/dist/web/assets/{index-BAFFLjYP.js → index-D_uh-zkI.js} +12 -12
- package/dist/web/assets/{usePluginData-DEpAv1Yl.js → usePluginData-Bk2M7LNj.js} +1 -1
- package/dist/web/assets/web-BZukfmmT.js +2 -0
- package/dist/web/assets/{web-D0z_1kb8.js → web-CEB9kTEr.js} +2 -2
- package/dist/web/assets/web-CGvrDSNo.js +2 -0
- package/dist/web/assets/web-CLKkH6eO.js +2 -0
- package/dist/web/assets/{web-S85uEYzf.js → web-CbW9uGDV.js} +2 -2
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/CodeViewer-BrquqtDE.js +0 -307
- package/dist/web/assets/Workspace-CafALYiK.js +0 -1
- package/dist/web/assets/Workspace-D-n83gau.js +0 -1
- package/dist/web/assets/web-BP-QGcd3.js +0 -2
- package/dist/web/assets/web-CE86ahqk.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as S}from"./index-
|
|
1
|
+
import{r as a,h as S}from"./index-D_uh-zkI.js";const f=new Map,s=new Map,d=new Set;function v(e){for(const i of[...d])i.event===e&&i.cb()}function m(e){return e instanceof Error?e.message:String(e)}function M(e,i,r){const o=a.useRef(i);a.useEffect(()=>{o.current=i}),S((r==null?void 0:r.subscribe)??"",()=>v((r==null?void 0:r.subscribe)??""));const[b,g]=a.useState(0),[h,c]=a.useState(()=>{const t=f.get(e);return t?{data:t.data,error:null,loading:!1}:{data:null,error:null,loading:!0}}),l=a.useCallback(t=>{if(t)f.delete(e),s.delete(e);else{const n=f.get(e);if(n){c({data:n.data,error:null,loading:!1});return}}let u=s.get(e);u||(u=Promise.resolve().then(()=>o.current()),s.set(e,u),u.then(n=>{f.set(e,{data:n,error:null})},()=>{}).finally(()=>{s.get(e)===u&&s.delete(e)})),c(n=>({...n,loading:n.loading||t,error:null})),u.then(n=>c({data:n,error:null,loading:!1}),n=>c({data:null,error:m(n),loading:!1}))},[e]);a.useEffect(()=>{l(!1)},[e,b,l]),a.useEffect(()=>{if(!(r!=null&&r.subscribe))return;const t={event:r.subscribe,cb:()=>{l(!0)}};return d.add(t),()=>{d.delete(t)}},[r==null?void 0:r.subscribe,l]);const E=a.useCallback(()=>{g(t=>t+1),l(!0)},[l]);return{...h,reload:E}}export{M as u};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Workspace-DrN9--Je.js","assets/index-D_uh-zkI.js","assets/index-DH1Mqw-g.css","assets/FilterPills-DGfzMpn_.js","assets/ImageViewer-ChZdzYPf.js","assets/CodeViewer-_jAxbWVL.js","assets/CodeViewer-BTcE7LSd.css","assets/client-Cw4K1Nx3.js","assets/Sidebar-D83uLTNy.js","assets/FileIcon-68etP2t6.js","assets/usePluginData-Bk2M7LNj.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e,_ as o}from"./index-D_uh-zkI.js";import{d as t}from"./client-Cw4K1Nx3.js";const r={mode:"design",label:"设计资产",icon:"🎨",description:"设计资产分类浏览 · zdesign",order:30},i=[{name:"type",label:"资产类型",type:"string",description:"page/component/icon/token/md/video/audio/pdf/font"},{name:"asset",label:"选中资产",type:"string",description:"资产相对路径"},{name:"folder",label:"当前文件夹",type:"string",description:"限定展示的资产路径前缀"}],n=t({manifest:r,params:i,workspace:e.lazy(()=>o(()=>import("./Workspace-DrN9--Je.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]))),sidebar:e.lazy(()=>o(()=>import("./Sidebar-D83uLTNy.js"),__vite__mapDeps([8,1,2,9,10])))}),d=Object.freeze(Object.defineProperty({__proto__:null,default:n},Symbol.toStringTag,{value:"Module"}));export{r as m,d as w};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Workspace-
|
|
2
|
-
import{r as e,_ as t}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Workspace-DW8xX3Tg.js","assets/index-D_uh-zkI.js","assets/index-DH1Mqw-g.css","assets/FilterPills-DGfzMpn_.js","assets/usePluginData-Bk2M7LNj.js","assets/client-Cw4K1Nx3.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e,_ as t}from"./index-D_uh-zkI.js";import{d as r}from"./client-Cw4K1Nx3.js";const o={mode:"just",label:"Just Runner",icon:"📜",description:"Just 任务日志与执行",order:50},i=[{name:"recipe",label:"Recipe",type:"string",description:"选中的 recipe 名"},{name:"task",label:"任务",type:"string",description:"活跃任务 id"}],s=r({manifest:o,params:i,workspace:e.lazy(()=>t(()=>import("./Workspace-DW8xX3Tg.js"),__vite__mapDeps([0,1,2,3,4,5])))}),p=Object.freeze(Object.defineProperty({__proto__:null,default:s},Symbol.toStringTag,{value:"Module"}));export{o as m,p as w};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Workspace-DjL1fdji.js","assets/index-D_uh-zkI.js","assets/index-DH1Mqw-g.css","assets/FilterPills-DGfzMpn_.js","assets/CodeViewer-_jAxbWVL.js","assets/CodeViewer-BTcE7LSd.css","assets/usePluginData-Bk2M7LNj.js","assets/client-Cw4K1Nx3.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e,_ as t}from"./index-D_uh-zkI.js";import{d as o}from"./client-Cw4K1Nx3.js";const r={mode:"market",label:"灵感市场",icon:"✨",description:"Logo / 动效 / 设计灵感浏览 · 转提示词闭环",order:40},i=[{name:"tab",label:"当前市场",type:"string",description:"logos/motions/inspirations"},{name:"q",label:"搜索词",type:"string",description:"当前市场内搜索/过滤"},{name:"entry",label:"选中条目",type:"string",description:"目录项 id,直达详情"}],a=o({manifest:r,params:i,workspace:e.lazy(()=>t(()=>import("./Workspace-DjL1fdji.js"),__vite__mapDeps([0,1,2,3,4,5,6,7])))}),l=Object.freeze(Object.defineProperty({__proto__:null,default:a},Symbol.toStringTag,{value:"Module"}));export{r as m,l as w};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Workspace-BE7p2hNz.js","assets/index-D_uh-zkI.js","assets/index-DH1Mqw-g.css","assets/ImageViewer-ChZdzYPf.js","assets/CodeViewer-_jAxbWVL.js","assets/CodeViewer-BTcE7LSd.css","assets/client-Cw4K1Nx3.js","assets/Sidebar-N0HiMJRK.js","assets/FileIcon-68etP2t6.js","assets/usePluginData-Bk2M7LNj.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e,_ as t}from"./index-D_uh-zkI.js";import{d as r}from"./client-Cw4K1Nx3.js";const o={mode:"view",label:"项目浏览",icon:"👁️",description:"openspec / docs / 文档预览",order:20},i=[{name:"wt",label:"Worktree 路径",type:"string",description:"worktree 绝对路径"},{name:"file",label:"文件路径",type:"string",description:"预览文件相对路径"},{name:"filter",label:"过滤词",type:"string",description:"文件树过滤词"}],a=r({manifest:o,params:i,workspace:e.lazy(()=>t(()=>import("./Workspace-BE7p2hNz.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),sidebar:e.lazy(()=>t(()=>import("./Sidebar-N0HiMJRK.js"),__vite__mapDeps([7,1,2,8,9])))}),l=Object.freeze(Object.defineProperty({__proto__:null,default:a},Symbol.toStringTag,{value:"Module"}));export{o as m,l as w};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Workspace-
|
|
2
|
-
import{r as e,_ as t}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Workspace-BpSq60xh.js","assets/index-D_uh-zkI.js","assets/index-DH1Mqw-g.css","assets/usePluginData-Bk2M7LNj.js","assets/client-Cw4K1Nx3.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e,_ as t}from"./index-D_uh-zkI.js";import{d as r}from"./client-Cw4K1Nx3.js";const o={mode:"stats",label:"项目统计",icon:"📊",description:"项目文件统计 · 扫描生成",order:10},a=[{name:"card",label:"钻取来源",type:"string",description:"钻取来源(worktree/dirty),view 侧读取后高亮"}],i=r({manifest:o,params:a,workspace:e.lazy(()=>t(()=>import("./Workspace-BpSq60xh.js"),__vite__mapDeps([0,1,2,3,4])))}),d=Object.freeze(Object.defineProperty({__proto__:null,default:i},Symbol.toStringTag,{value:"Module"}));export{o as m,d as w};
|
package/dist/web/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
7
7
|
<title>zdashboard · 项目洞察</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-D_uh-zkI.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DH1Mqw-g.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|