@tom2012/cc-web 2026.4.17 → 2026.4.19-a

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 (32) hide show
  1. package/README.md +1 -1
  2. package/backend/dist/routes/hooks.d.ts.map +1 -1
  3. package/backend/dist/routes/hooks.js +5 -0
  4. package/backend/dist/routes/hooks.js.map +1 -1
  5. package/backend/dist/routes/projects.d.ts.map +1 -1
  6. package/backend/dist/routes/projects.js +0 -18
  7. package/backend/dist/routes/projects.js.map +1 -1
  8. package/backend/dist/routes/update.d.ts.map +1 -1
  9. package/backend/dist/routes/update.js +25 -8
  10. package/backend/dist/routes/update.js.map +1 -1
  11. package/frontend/dist/assets/{GraphPreview-DWbfxQMP.js → GraphPreview-chkENs4E.js} +1 -1
  12. package/frontend/dist/assets/{MobilePage-B9NDvC5H.js → MobilePage-DF72akPm.js} +3 -3
  13. package/frontend/dist/assets/{OfficePreview-CqPeqE8D.js → OfficePreview-BTIxA75W.js} +2 -2
  14. package/frontend/dist/assets/{PlanPanel-qMcCdgnB.js → PlanPanel-BPrymjUm.js} +1 -1
  15. package/frontend/dist/assets/{ProjectPage-DaVLIGxq.js → ProjectPage-uXtZbquI.js} +5 -5
  16. package/frontend/dist/assets/{SettingsPage-vCg2-gp3.js → SettingsPage-lg5h4qX7.js} +1 -1
  17. package/frontend/dist/assets/{ShareViewPage-z8iQsPWi.js → ShareViewPage-3ZhlFkz4.js} +1 -1
  18. package/frontend/dist/assets/{SkillHubPage-2wfYYyop.js → SkillHubPage-DOXDfvIh.js} +1 -1
  19. package/frontend/dist/assets/{bot-DyFCozBh.js → bot-D0CByVoh.js} +1 -1
  20. package/frontend/dist/assets/{chevron-down-DQbVIYs9.js → chevron-down-xAcwV0F_.js} +1 -1
  21. package/frontend/dist/assets/{chevron-up-BhJ_vGkt.js → chevron-up-CZmSySMS.js} +1 -1
  22. package/frontend/dist/assets/{index-BHHbhoCX.js → index-BJ--ICg_.js} +8 -8
  23. package/frontend/dist/assets/{index-gGkPkO5Y.js → index-Dzv8q6Mg.js} +1 -1
  24. package/frontend/dist/assets/{jszip.min-BkJCbD1t.js → jszip.min-DZVsq4fs.js} +1 -1
  25. package/frontend/dist/assets/{matter-D8YF6GqH.js → matter-CA4VIDh1.js} +1 -1
  26. package/frontend/dist/assets/{maximize-2-DNzHISX1.js → maximize-2-D1tTllby.js} +1 -1
  27. package/frontend/dist/assets/{one-light-Cw2fObXu.js → one-light-D3uIXPub.js} +1 -1
  28. package/frontend/dist/assets/{save-BfofeeTu.js → save-BrkulEks.js} +1 -1
  29. package/frontend/dist/assets/{search-BkNB-Hpn.js → search-Cp1V-uIA.js} +1 -1
  30. package/frontend/dist/assets/{user-CmfEQ_9b.js → user-Cw8mttQn.js} +1 -1
  31. package/frontend/dist/index.html +1 -1
  32. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import{c as e,r as t,aF as n,aG as r,aH as o,j as s,aI as a,aJ as i,aK as l,b as c,aL as d,R as u,aM as f,aN as p,aO as h,aP as m,aQ as x,aR as g,aS as v,aT as y,aU as w,aV as b,v as j,aW as N,a5 as S,a6 as C,a7 as k,a8 as R,a9 as T,B as A,aa as D,I as E,ab as P,aX as _,aY as I,aZ as O,a_ as M,a$ as L,al as F,b0 as H,k as V,T as W,aj as z,b1 as B,f as $,S as K,b2 as U,ak as q,b3 as G,x as X,A as Y,o as Z,X as Q,s as J,t as ee,b4 as te,b5 as ne,b6 as re,b7 as oe,b8 as se,b9 as ae,ba as ie,bb as le}from"./index-BHHbhoCX.js";import{C as ce}from"./chevron-down-DQbVIYs9.js";import{C as de}from"./chevron-up-BhJ_vGkt.js";import{S as ue}from"./save-BfofeeTu.js";
1
+ import{c as e,r as t,aD as n,aE as r,aF as o,j as s,aG as a,aH as i,aI as l,b as c,aJ as d,R as u,aK as f,aL as p,aM as h,aN as m,aO as x,aP as g,aQ as v,aR as y,aS as w,aT as b,v as j,aU as N,a4 as S,a5 as C,a6 as k,a7 as R,a8 as T,B as A,a9 as D,I as E,aa as P,aV as _,aW as I,aX as O,aY as M,aZ as L,aj as F,a_ as H,k as V,T as W,ah as z,a$ as B,f as $,S as K,b0 as U,ai as q,b1 as G,x as X,A as Y,o as Z,X as Q,s as J,t as ee,b2 as te,b3 as ne,b4 as re,b5 as oe,b6 as se,b7 as ae,b8 as ie,b9 as le}from"./index-BJ--ICg_.js";import{C as ce}from"./chevron-down-xAcwV0F_.js";import{C as de}from"./chevron-up-CZmSySMS.js";import{S as ue}from"./save-BrkulEks.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1 +1 @@
1
- import{aB as e,r as s,bi as t,j as r,b as a}from"./index-BHHbhoCX.js";import{U as n}from"./user-CmfEQ_9b.js";import{B as c}from"./bot-DyFCozBh.js";function l(){const{token:l}=e(),[i,d]=s.useState(!0),[m,x]=s.useState(null),[o,u]=s.useState(null),[g,h]=s.useState("");if(s.useEffect(()=>{l&&(d(!0),t(l).then(e=>{document.title=e.projectName+" — cc-web",u(e.session),h(e.projectName)}).catch(e=>x(e.message||"链接无效或已过期")).finally(()=>d(!1)))},[l]),i)return r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:r.jsx("span",{className:"text-muted-foreground text-sm",children:"加载中…"})});if(m||!o)return r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:r.jsxs("div",{className:"text-center space-y-2",children:[r.jsx("p",{className:"text-foreground font-medium",children:"无法加载会话"}),r.jsx("p",{className:"text-muted-foreground text-sm",children:m??"链接无效或已过期"})]})});const f=new Date(o.startedAt).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"});return r.jsx("div",{className:"min-h-screen bg-background text-foreground",children:r.jsxs("div",{className:"max-w-2xl mx-auto px-4 py-8",children:[r.jsxs("div",{className:"mb-6",children:[r.jsx("h1",{className:"text-lg font-semibold text-foreground",children:g}),r.jsxs("div",{className:"flex items-center gap-3 mt-1 text-sm text-muted-foreground",children:[r.jsx("span",{children:f}),r.jsx("span",{children:"·"}),r.jsxs("span",{children:[o.messageCount," 条消息"]})]})]}),r.jsxs("div",{className:"space-y-4",children:[0===o.messages.length&&r.jsx("p",{className:"text-xs text-muted-foreground text-center py-8",children:"本次会话暂无记录"}),o.messages.map((e,s)=>r.jsxs("div",{className:a("flex gap-2.5","user"===e.role?"flex-row-reverse":"flex-row"),children:[r.jsx("div",{className:a("flex-shrink-0 w-7 h-7 rounded-full flex items-center justify-center mt-0.5","user"===e.role?"bg-blue-500/10":"bg-muted"),children:"user"===e.role?r.jsx(n,{className:"h-3.5 w-3.5 text-blue-400"}):r.jsx(c,{className:"h-3.5 w-3.5 text-muted-foreground"})}),r.jsx("div",{className:a("max-w-[85%] text-sm rounded-lg px-3 py-2 whitespace-pre-wrap break-words","user"===e.role?"bg-blue-500/10 text-blue-400":"bg-muted text-foreground"),children:e.content})]},s))]})]})})}export{l as ShareViewPage};
1
+ import{az as e,r as s,bg as t,j as r,b as a}from"./index-BJ--ICg_.js";import{U as n}from"./user-Cw8mttQn.js";import{B as c}from"./bot-D0CByVoh.js";function l(){const{token:l}=e(),[i,d]=s.useState(!0),[m,x]=s.useState(null),[o,u]=s.useState(null),[g,h]=s.useState("");if(s.useEffect(()=>{l&&(d(!0),t(l).then(e=>{document.title=e.projectName+" — cc-web",u(e.session),h(e.projectName)}).catch(e=>x(e.message||"链接无效或已过期")).finally(()=>d(!1)))},[l]),i)return r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:r.jsx("span",{className:"text-muted-foreground text-sm",children:"加载中…"})});if(m||!o)return r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:r.jsxs("div",{className:"text-center space-y-2",children:[r.jsx("p",{className:"text-foreground font-medium",children:"无法加载会话"}),r.jsx("p",{className:"text-muted-foreground text-sm",children:m??"链接无效或已过期"})]})});const f=new Date(o.startedAt).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"});return r.jsx("div",{className:"min-h-screen bg-background text-foreground",children:r.jsxs("div",{className:"max-w-2xl mx-auto px-4 py-8",children:[r.jsxs("div",{className:"mb-6",children:[r.jsx("h1",{className:"text-lg font-semibold text-foreground",children:g}),r.jsxs("div",{className:"flex items-center gap-3 mt-1 text-sm text-muted-foreground",children:[r.jsx("span",{children:f}),r.jsx("span",{children:"·"}),r.jsxs("span",{children:[o.messageCount," 条消息"]})]})]}),r.jsxs("div",{className:"space-y-4",children:[0===o.messages.length&&r.jsx("p",{className:"text-xs text-muted-foreground text-center py-8",children:"本次会话暂无记录"}),o.messages.map((e,s)=>r.jsxs("div",{className:a("flex gap-2.5","user"===e.role?"flex-row-reverse":"flex-row"),children:[r.jsx("div",{className:a("flex-shrink-0 w-7 h-7 rounded-full flex items-center justify-center mt-0.5","user"===e.role?"bg-blue-500/10":"bg-muted"),children:"user"===e.role?r.jsx(n,{className:"h-3.5 w-3.5 text-blue-400"}):r.jsx(c,{className:"h-3.5 w-3.5 text-muted-foreground"})}),r.jsx("div",{className:a("max-w-[85%] text-sm rounded-lg px-3 py-2 whitespace-pre-wrap break-words","user"===e.role?"bg-blue-500/10 text-blue-400":"bg-muted text-foreground"),children:e.content})]},s))]})]})})}export{l as ShareViewPage};
@@ -1,4 +1,4 @@
1
- import{c as e,aj as s,r as t,bc as a,bd as r,t as n,be as l,bf as i,bg as d,j as c,B as o,ak as m,b as x,I as u,T as h,o as p,D as g,a3 as f,A as j,bh as b}from"./index-BHHbhoCX.js";import{S as N}from"./search-BkNB-Hpn.js";import{U as v}from"./user-CmfEQ_9b.js";import{C as y}from"./chevron-down-DQbVIYs9.js";
1
+ import{c as e,ah as s,r as t,ba as a,bb as r,t as n,bc as l,bd as i,be as d,j as c,B as o,ai as m,b as x,I as u,T as h,o as p,D as g,a2 as f,A as j,bf as b}from"./index-BJ--ICg_.js";import{S as N}from"./search-Cp1V-uIA.js";import{U as v}from"./user-Cw8mttQn.js";import{C as y}from"./chevron-down-xAcwV0F_.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import{c as t}from"./index-BHHbhoCX.js";
1
+ import{c as t}from"./index-BJ--ICg_.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BHHbhoCX.js";
1
+ import{c as o}from"./index-BJ--ICg_.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BHHbhoCX.js";
1
+ import{c as o}from"./index-BJ--ICg_.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *