@tom2012/cc-web 2026.6.16-a → 2026.6.16-b

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 (35) hide show
  1. package/CHANGELOG.json +1 -0
  2. package/backend/dist/routes/sync.d.ts.map +1 -1
  3. package/backend/dist/routes/sync.js +33 -11
  4. package/backend/dist/routes/sync.js.map +1 -1
  5. package/backend/dist/sync-service.d.ts +18 -7
  6. package/backend/dist/sync-service.d.ts.map +1 -1
  7. package/backend/dist/sync-service.js +72 -26
  8. package/backend/dist/sync-service.js.map +1 -1
  9. package/frontend/dist/assets/{ChatOverlay-B40mlJYb.js → ChatOverlay-Bj49Majf.js} +1 -1
  10. package/frontend/dist/assets/{ClaudeMemPage-D0QSs5Q0.js → ClaudeMemPage-4xS26cd_.js} +1 -1
  11. package/frontend/dist/assets/{GraphPreview-DR8V3Zi6.js → GraphPreview-D8qvNCfB.js} +1 -1
  12. package/frontend/dist/assets/{MobilePage-BphvlWK1.js → MobilePage-h6nA8yyt.js} +3 -3
  13. package/frontend/dist/assets/{NotebookPage-CSFtzV32.js → NotebookPage-DtrQBnPy.js} +1 -1
  14. package/frontend/dist/assets/{OfficePreview-DG0WM5Rb.js → OfficePreview-BT-1GmTK.js} +2 -2
  15. package/frontend/dist/assets/{PdfPreview-v-3sq-AX.js → PdfPreview-D6rZuv8C.js} +1 -1
  16. package/frontend/dist/assets/{ProjectPage-BVpP7jop.js → ProjectPage-CN420RNC.js} +3 -3
  17. package/frontend/dist/assets/ProjectSettingsPage-90KiUD2M.js +13 -0
  18. package/frontend/dist/assets/{SettingsPage-8ZlrZoHc.js → SettingsPage-BqNxT1iB.js} +1 -1
  19. package/frontend/dist/assets/{SkillHubPage-Zo61Va6p.js → SkillHubPage-BHZoI993.js} +1 -1
  20. package/frontend/dist/assets/{check-circle-2-BUUiam-3.js → check-circle-2-CdtsUdet.js} +1 -1
  21. package/frontend/dist/assets/{chevron-down-DrKithBI.js → chevron-down-ovAqDKwI.js} +1 -1
  22. package/frontend/dist/assets/{clock-_H5KhCWu.js → clock-9D3X6IAV.js} +1 -1
  23. package/frontend/dist/assets/{file-text-paqIXkax.js → file-text-Cj8n_6fj.js} +1 -1
  24. package/frontend/dist/assets/{index-D8nRRr6l.js → index-BJ8f9B6b.js} +1 -1
  25. package/frontend/dist/assets/{index-Bnts3xfp.js → index-CRo82xso.js} +4 -4
  26. package/frontend/dist/assets/{index-C4oOqDKN.js → index-DEJiBQJR.js} +1 -1
  27. package/frontend/dist/assets/{jszip.min-CM_vUoB1.js → jszip.min-CJNVz1_q.js} +1 -1
  28. package/frontend/dist/assets/{save-Cqgk43nV.js → save-CrHmoDw1.js} +1 -1
  29. package/frontend/dist/assets/{search-BsKUgW16.js → search-lKtcrVXr.js} +1 -1
  30. package/frontend/dist/assets/{select-4YpThSl9.js → select-eZo9Zifh.js} +1 -1
  31. package/frontend/dist/assets/{tabs-CDMxLs18.js → tabs-BuTf3eh_.js} +1 -1
  32. package/frontend/dist/assets/{textarea-Bdi1f_K2.js → textarea-Bt8ATXGQ.js} +1 -1
  33. package/frontend/dist/index.html +1 -1
  34. package/package.json +1 -1
  35. package/frontend/dist/assets/ProjectSettingsPage-D-jq_0nr.js +0 -13
@@ -1,11 +1,11 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/GraphPreview-DR8V3Zi6.js","assets/index-Bnts3xfp.js","assets/index-CrWOYDYH.css","assets/purify.es-CgRAQgUo.js","assets/ChatOverlay-B40mlJYb.js","assets/chevron-down-DrKithBI.js","assets/index-C4oOqDKN.js","assets/clock-_H5KhCWu.js","assets/file-text-paqIXkax.js","assets/check-circle-2-BUUiam-3.js","assets/ChatOverlay-wklAmtGL.css","assets/save-Cqgk43nV.js","assets/tabs-CDMxLs18.js","assets/select-4YpThSl9.js","assets/search-BsKUgW16.js","assets/textarea-Bdi1f_K2.js","assets/OfficePreview-DG0WM5Rb.js","assets/PdfPreview-v-3sq-AX.js","assets/PdfPreview-Bu5q60D-.css"])))=>i.map(i=>d[i]);
2
- var e,t,i,s,r,n,o=Object.defineProperty,a=(e,t,i)=>((e,t,i)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i)(e,"symbol"!=typeof t?t+"":t,i);import{c as l,u as c,r as h,a as d,g as u,b as f,w as p,t as m,j as _,d as g,E as v,P as y,M as x,e as b,f as w,X as S,h as C,i as k,S as E,R as N,_ as M,s as j,k as D,l as R,D as P,T as L,F as T,m as I,n as B,o as O,C as A,p as z,q as $,v as H,x as W,A as F,y as K,z as U,B as V,G as q,H as Y,I as X,J as G,K as Z,L as J,N as Q,O as ee,Q as te,U as ie,V as se,W as re,Y as ne,Z as oe,$ as ae,a0 as le,a1 as ce,a2 as he,a3 as de,a4 as ue,a5 as fe,a6 as pe,a7 as me,a8 as _e,a9 as ge,aa as ve,ab as ye,ac as xe,ad as be,ae as we,af as Se,ag as Ce,ah as ke,ai as Ee,aj as Ne,ak as Me,al as je,am as De,an as Re,ao as Pe,ap as Le,aq as Te,ar as Ie,as as Be,at as Oe,au as Ae,av as ze,aw as $e,ax as He,ay as We,az as Fe,aA as Ke,aB as Ue,aC as Ve,aD as qe,aE as Ye,aF as Xe,aG as Ge,aH as Ze,aI as Je,aJ as Qe,aK as et,aL as tt,aM as it,aN as st,aO as rt,aP as nt,aQ as ot,aR as at,aS as lt,aT as ct,aU as ht,aV as dt,aW as ut,aX as ft,aY as pt,aZ as mt,a_ as _t,a$ as gt,b0 as vt,b1 as yt,b2 as xt,b3 as bt,b4 as wt,b5 as St,b6 as Ct,b7 as kt,b8 as Et,b9 as Nt,ba as Mt,bb as jt,bc as Dt}from"./index-Bnts3xfp.js";import{p as Rt}from"./purify.es-CgRAQgUo.js";import{M as Pt,r as Lt,a as Tt,b as It,c as Bt,h as Ot,o as At,d as zt,e as $t,I as Ht,G as Wt,C as Ft}from"./ChatOverlay-B40mlJYb.js";import{F as Kt}from"./file-text-paqIXkax.js";import{S as Ut}from"./save-Cqgk43nV.js";import{U as Vt,T as qt,a as Yt,b as Xt,c as Gt,d as Zt,I as Jt,R as Qt}from"./tabs-CDMxLs18.js";import{C as ei}from"./chevron-down-DrKithBI.js";import{C as ti}from"./clock-_H5KhCWu.js";import{c as ii,S as si,a as ri,b as ni,d as oi,e as ai}from"./select-4YpThSl9.js";import{u as li,C as ci}from"./index-C4oOqDKN.js";import{C as hi}from"./check-circle-2-BUUiam-3.js";import{S as di}from"./search-BsKUgW16.js";import{T as ui}from"./textarea-Bdi1f_K2.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/GraphPreview-D8qvNCfB.js","assets/index-CRo82xso.js","assets/index-CrWOYDYH.css","assets/purify.es-CgRAQgUo.js","assets/ChatOverlay-Bj49Majf.js","assets/chevron-down-ovAqDKwI.js","assets/index-DEJiBQJR.js","assets/clock-9D3X6IAV.js","assets/file-text-Cj8n_6fj.js","assets/check-circle-2-CdtsUdet.js","assets/ChatOverlay-wklAmtGL.css","assets/save-CrHmoDw1.js","assets/tabs-BuTf3eh_.js","assets/select-eZo9Zifh.js","assets/search-lKtcrVXr.js","assets/textarea-Bt8ATXGQ.js","assets/OfficePreview-BT-1GmTK.js","assets/PdfPreview-D6rZuv8C.js","assets/PdfPreview-Bu5q60D-.css"])))=>i.map(i=>d[i]);
2
+ var e,t,i,s,r,n,o=Object.defineProperty,a=(e,t,i)=>((e,t,i)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i)(e,"symbol"!=typeof t?t+"":t,i);import{c as l,u as c,r as h,a as d,g as u,b as f,w as p,t as m,j as _,d as g,E as v,P as y,M as x,e as b,f as w,X as S,h as C,i as k,S as E,R as N,_ as M,s as j,k as D,l as R,D as P,T as L,F as T,m as I,n as B,o as O,C as A,p as z,q as $,v as H,x as W,A as F,y as K,z as U,B as V,G as q,H as Y,I as X,J as G,K as Z,L as J,N as Q,O as ee,Q as te,U as ie,V as se,W as re,Y as ne,Z as oe,$ as ae,a0 as le,a1 as ce,a2 as he,a3 as de,a4 as ue,a5 as fe,a6 as pe,a7 as me,a8 as _e,a9 as ge,aa as ve,ab as ye,ac as xe,ad as be,ae as we,af as Se,ag as Ce,ah as ke,ai as Ee,aj as Ne,ak as Me,al as je,am as De,an as Re,ao as Pe,ap as Le,aq as Te,ar as Ie,as as Be,at as Oe,au as Ae,av as ze,aw as $e,ax as He,ay as We,az as Fe,aA as Ke,aB as Ue,aC as Ve,aD as qe,aE as Ye,aF as Xe,aG as Ge,aH as Ze,aI as Je,aJ as Qe,aK as et,aL as tt,aM as it,aN as st,aO as rt,aP as nt,aQ as ot,aR as at,aS as lt,aT as ct,aU as ht,aV as dt,aW as ut,aX as ft,aY as pt,aZ as mt,a_ as _t,a$ as gt,b0 as vt,b1 as yt,b2 as xt,b3 as bt,b4 as wt,b5 as St,b6 as Ct,b7 as kt,b8 as Et,b9 as Nt,ba as Mt,bb as jt,bc as Dt}from"./index-CRo82xso.js";import{p as Rt}from"./purify.es-CgRAQgUo.js";import{M as Pt,r as Lt,a as Tt,b as It,c as Bt,h as Ot,o as At,d as zt,e as $t,I as Ht,G as Wt,C as Ft}from"./ChatOverlay-Bj49Majf.js";import{F as Kt}from"./file-text-Cj8n_6fj.js";import{S as Ut}from"./save-CrHmoDw1.js";import{U as Vt,T as qt,a as Yt,b as Xt,c as Gt,d as Zt,I as Jt,R as Qt}from"./tabs-BuTf3eh_.js";import{C as ei}from"./chevron-down-ovAqDKwI.js";import{C as ti}from"./clock-9D3X6IAV.js";import{c as ii,S as si,a as ri,b as ni,d as oi,e as ai}from"./select-eZo9Zifh.js";import{u as li,C as ci}from"./index-DEJiBQJR.js";import{C as hi}from"./check-circle-2-CdtsUdet.js";import{S as di}from"./search-lKtcrVXr.js";import{T as ui}from"./textarea-Bt8ATXGQ.js";
3
3
  /**
4
4
  * @license lucide-react v0.309.0 - ISC
5
5
  *
6
6
  * This source code is licensed under the ISC license.
7
7
  * See the LICENSE file in the root directory of this source tree.
8
- */const fi=l("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]),pi=l("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),mi=l("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]),_i=l("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),gi=l("ClipboardCopy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]]),vi=l("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]),yi=l("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),xi=l("CornerDownLeft",[["polyline",{points:"9 10 4 15 9 20",key:"r3jprv"}],["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}]]),bi=l("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),wi=l("FileSpreadsheet",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M14 17h2",key:"10kma7"}]]),Si=l("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]),Ci=l("GitCommitHorizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]]),ki=l("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),Ei=l("ListRestart",[["path",{d:"M21 6H3",key:"1jwq7v"}],["path",{d:"M7 12H3",key:"13ou7f"}],["path",{d:"M7 18H3",key:"1sijw9"}],["path",{d:"M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14",key:"qth677"}],["path",{d:"M11 10v4h4",key:"172dkj"}]]),Ni=l("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]),Mi=l("MoreVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]),ji=l("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]),Di=l("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]),Ri=l("PanelRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),Pi=l("Play",[["polygon",{points:"5 3 19 12 5 21 5 3",key:"191637"}]]),Li=l("Presentation",[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]]),Ti=l("Repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]),Ii=l("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]),Bi=l("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]),Oi=l("TrainTrack",[["path",{d:"M2 17 17 2",key:"18b09t"}],["path",{d:"m2 14 8 8",key:"1gv9hu"}],["path",{d:"m5 11 8 8",key:"189pqp"}],["path",{d:"m8 8 8 8",key:"1imecy"}],["path",{d:"m11 5 8 8",key:"ummqn6"}],["path",{d:"m14 2 8 8",key:"1vk7dn"}],["path",{d:"M7 22 22 7",key:"15mb1i"}]]),Ai=l("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]),zi=l("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),$i=l("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),Hi=N.lazy(()=>M(()=>import("./GraphPreview-DR8V3Zi6.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])).then(e=>({default:e.GraphPreview}))),Wi=N.lazy(()=>M(()=>import("./OfficePreview-DG0WM5Rb.js"),__vite__mapDeps([16,1,2,3])).then(e=>({default:e.OfficePreview}))),Fi=N.lazy(()=>M(()=>import("./PdfPreview-v-3sq-AX.js"),__vite__mapDeps([17,1,2,18])).then(e=>({default:e.PdfPreview}))),Ki=new Set(["doc","docx","xlsx","xls","pptx"]),Ui=new Set(["pdf"]),Vi={js:"javascript",jsx:"jsx",ts:"typescript",tsx:"tsx",py:"python",rb:"ruby",go:"go",rs:"rust",java:"java",kt:"kotlin",swift:"swift",c:"c",cpp:"cpp",h:"c",cs:"csharp",php:"php",sh:"bash",bash:"bash",zsh:"bash",yaml:"yaml",yml:"yaml",json:"json",toml:"toml",html:"html",htm:"html",xml:"xml",svg:"xml",css:"css",scss:"scss",less:"less",sql:"sql",graphql:"graphql",gql:"graphql",dockerfile:"docker",makefile:"makefile",r:"r",lua:"lua",dart:"dart",zig:"zig"};
8
+ */const fi=l("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]),pi=l("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),mi=l("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]),_i=l("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),gi=l("ClipboardCopy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]]),vi=l("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]),yi=l("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),xi=l("CornerDownLeft",[["polyline",{points:"9 10 4 15 9 20",key:"r3jprv"}],["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}]]),bi=l("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),wi=l("FileSpreadsheet",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M14 17h2",key:"10kma7"}]]),Si=l("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]),Ci=l("GitCommitHorizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]]),ki=l("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),Ei=l("ListRestart",[["path",{d:"M21 6H3",key:"1jwq7v"}],["path",{d:"M7 12H3",key:"13ou7f"}],["path",{d:"M7 18H3",key:"1sijw9"}],["path",{d:"M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14",key:"qth677"}],["path",{d:"M11 10v4h4",key:"172dkj"}]]),Ni=l("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]),Mi=l("MoreVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]),ji=l("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]),Di=l("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]),Ri=l("PanelRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),Pi=l("Play",[["polygon",{points:"5 3 19 12 5 21 5 3",key:"191637"}]]),Li=l("Presentation",[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]]),Ti=l("Repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]),Ii=l("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]),Bi=l("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]),Oi=l("TrainTrack",[["path",{d:"M2 17 17 2",key:"18b09t"}],["path",{d:"m2 14 8 8",key:"1gv9hu"}],["path",{d:"m5 11 8 8",key:"189pqp"}],["path",{d:"m8 8 8 8",key:"1imecy"}],["path",{d:"m11 5 8 8",key:"ummqn6"}],["path",{d:"m14 2 8 8",key:"1vk7dn"}],["path",{d:"M7 22 22 7",key:"15mb1i"}]]),Ai=l("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]),zi=l("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),$i=l("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),Hi=N.lazy(()=>M(()=>import("./GraphPreview-D8qvNCfB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])).then(e=>({default:e.GraphPreview}))),Wi=N.lazy(()=>M(()=>import("./OfficePreview-BT-1GmTK.js"),__vite__mapDeps([16,1,2,3])).then(e=>({default:e.OfficePreview}))),Fi=N.lazy(()=>M(()=>import("./PdfPreview-D6rZuv8C.js"),__vite__mapDeps([17,1,2,18])).then(e=>({default:e.PdfPreview}))),Ki=new Set(["doc","docx","xlsx","xls","pptx"]),Ui=new Set(["pdf"]),Vi={js:"javascript",jsx:"jsx",ts:"typescript",tsx:"tsx",py:"python",rb:"ruby",go:"go",rs:"rust",java:"java",kt:"kotlin",swift:"swift",c:"c",cpp:"cpp",h:"c",cs:"csharp",php:"php",sh:"bash",bash:"bash",zsh:"bash",yaml:"yaml",yml:"yaml",json:"json",toml:"toml",html:"html",htm:"html",xml:"xml",svg:"xml",css:"css",scss:"scss",less:"less",sql:"sql",graphql:"graphql",gql:"graphql",dockerfile:"docker",makefile:"makefile",r:"r",lua:"lua",dart:"dart",zig:"zig"};
9
9
  /**
10
10
  * @license lucide-react v0.309.0 - ISC
11
11
  *
@@ -0,0 +1,13 @@
1
+ import{c as e,aO as s,ba as a,aP as n,aR as r,r as t,bJ as c,aQ as o,j as i,G as l,aK as d,aV as m,I as x,n as j,Y as p,Z as h,$ as u,a0 as y,bK as f,bL as b,bM as g,W as N,d as w,X as v,m as k,bN as _,t as C,aW as S,aX as M}from"./index-CRo82xso.js";import{T as z}from"./textarea-Bt8ATXGQ.js";import{S as A}from"./save-CrHmoDw1.js";
2
+ /**
3
+ * @license lucide-react v0.309.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */const R=e("CloudOff",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.782 5.782A7 7 0 0 0 9 19h8.5a4.5 4.5 0 0 0 1.307-.193",key:"yfwify"}],["path",{d:"M21.532 16.5A4.5 4.5 0 0 0 17.5 10h-1.79A7.008 7.008 0 0 0 10 5.07",key:"jlfiyv"}]]),D=e("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);
8
+ /**
9
+ * @license lucide-react v0.309.0 - ISC
10
+ *
11
+ * This source code is licensed under the ISC license.
12
+ * See the LICENSE file in the root directory of this source tree.
13
+ */function E(e){if(!e)return"";const s=Date.now()-e,a=Math.floor(s/6e4);if(a<1)return"just now";if(a<60)return`${a}m`;const n=Math.floor(a/60);return n<24?`${n}h`:new Date(e).toLocaleString()}function I(){const{t:e}=s(),{id:I}=a(),$=n(),O=r(e=>e.projects.find(e=>e.id===I)),[P,T]=t.useState("loading"),[K,L]=t.useState(null),[W,Z]=t.useState(""),[B,G]=t.useState(""),[H,J]=t.useState(!1),[Q,V]=t.useState(!1),[X,Y]=t.useState(0),[q,F]=t.useState(!1),U=t.useCallback(async()=>{if(I)try{const e=await c(I);L(e),Z(e.path),G(e.excludes.join("\n")),T("ready")}catch(e){T(e instanceof Error&&/forbidden/i.test(e.message)?"forbidden":"error")}},[I]);t.useEffect(()=>{U()},[U]),o({onStart:e=>{e.projectId===I&&(V(!0),Y(0))},onProgress:e=>{e.projectId===I&&Y(e.filesTransferred)},onDone:e=>{e.projectId===I&&(V(!1),Y(0),U())}});const ee=(null==O?void 0:O.name)??I??"",se=i.jsx("header",{className:"border-b sticky top-0 bg-background z-10",children:i.jsxs("div",{className:"w-full px-4 sm:px-6 h-14 flex items-center gap-3",children:[i.jsxs(l,{variant:"ghost",size:"sm",onClick:()=>$("/"),children:[i.jsx(d,{className:"h-4 w-4 mr-1"}),e("projsync.back")]}),i.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[i.jsx(m,{className:"h-5 w-5 shrink-0"}),i.jsx("span",{className:"font-semibold text-lg truncate",children:ee}),i.jsxs("span",{className:"text-muted-foreground text-sm shrink-0",children:["· ",e("projsync.title")]})]})]})});if("loading"===P)return i.jsx("div",{className:"min-h-screen bg-background",children:se});if("forbidden"===P||"error"===P)return i.jsxs("div",{className:"min-h-screen bg-background",children:[se,i.jsxs("div",{className:"max-w-2xl mx-auto px-4 py-20 text-center",children:[i.jsx(R,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),i.jsx("p",{className:"text-muted-foreground text-sm",children:e("forbidden"===P?"projsync.forbidden":"projsync.load_error")})]})]});const ae=K,ne=!!ae.path;return i.jsxs("div",{className:"min-h-screen bg-background",children:[se,i.jsxs("main",{className:"max-w-2xl mx-auto px-4 py-8 space-y-6",children:[!ae.connectionReady&&i.jsxs("div",{className:"rounded-lg border border-amber-500/40 bg-amber-500/10 px-4 py-3 text-sm",children:[e("projsync.no_connection")," ",i.jsx("button",{className:"underline hover:text-foreground",onClick:()=>$("/settings"),children:e("projsync.go_global")})]}),i.jsxs("section",{className:"space-y-2",children:[i.jsxs("label",{className:"text-sm font-medium flex items-center gap-2",children:[i.jsx(D,{className:"h-4 w-4 text-muted-foreground"}),e("projsync.remote_path")]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(x,{value:W,onChange:e=>Z(e.target.value),placeholder:"/home/user/backups/my-project",spellCheck:!1}),i.jsxs(l,{type:"button",variant:"outline",className:"shrink-0",onClick:()=>F(!0),disabled:!ae.connectionReady,title:ae.connectionReady?e("projsync.browse"):e("projsync.no_connection"),children:[i.jsx(j,{className:"h-4 w-4 mr-1"}),e("projsync.browse")]})]}),i.jsx("p",{className:"text-xs text-muted-foreground",children:e("projsync.remote_path_hint")})]}),i.jsx(p,{open:q,onOpenChange:F,children:i.jsxs(h,{className:"sm:max-w-lg",children:[i.jsx(u,{children:i.jsx(y,{children:e("projsync.browse_title")})}),i.jsx(f,{browse:g,createDir:b,initialPath:W.trim()||void 0,onSelect:e=>{Z(e),F(!1)}})]})}),i.jsxs("section",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium",children:e("projsync.excludes")}),i.jsx(z,{value:B,onChange:e=>G(e.target.value),placeholder:"*.log\ntmp/",rows:4,spellCheck:!1,className:"font-mono text-xs"}),i.jsx("p",{className:"text-xs text-muted-foreground",children:e("projsync.excludes_hint")})]}),i.jsx("div",{className:"flex items-center gap-2",children:i.jsxs(l,{onClick:()=>{(async()=>{if(I){J(!0);try{const s=B.split("\n").map(e=>e.trim()).filter(Boolean),a=await _(I,{path:W.trim(),excludes:s});L(a),Z(a.path),G(a.excludes.join("\n")),C.success(e("projsync.saved"))}catch(s){C.error(s instanceof Error?s.message:e("projsync.save_failed"))}finally{J(!1)}}})()},disabled:H,children:[H?i.jsx(N,{className:"h-4 w-4 mr-2 animate-spin"}):i.jsx(A,{className:"h-4 w-4 mr-2"}),e("projsync.save")]})}),i.jsxs("section",{className:"rounded-xl border border-border bg-card p-4 space-y-3",children:[i.jsxs("div",{className:"flex items-center justify-between text-sm",children:[i.jsx("span",{className:"text-muted-foreground",children:e("projsync.status")}),i.jsx("span",{className:w("font-medium",ae.dirty?"text-amber-500":ne?"text-green-500":"text-muted-foreground"),children:ne?ae.dirty?e("projsync.dirty"):e("projsync.synced"):e("projsync.not_configured")})]}),i.jsxs("div",{className:"flex items-center justify-between text-sm",children:[i.jsx("span",{className:"text-muted-foreground",children:e("projsync.last_sync")}),i.jsx("span",{children:ae.lastSyncAt?E(ae.lastSyncAt):e("projsync.never")})]}),i.jsxs("div",{className:"flex items-center justify-between text-sm",children:[i.jsx("span",{className:"text-muted-foreground",children:e("projsync.direction")}),i.jsx("span",{className:"capitalize",children:ae.direction})]}),i.jsx("div",{className:"flex items-center gap-2 pt-1",children:Q?i.jsxs(l,{variant:"outline",size:"sm",onClick:()=>{(async()=>{if(I)try{await S(I)}catch{}})()},children:[i.jsx(v,{className:"h-4 w-4 mr-1"}),e("projsync.cancel"),X>0?` (${X})`:""]}):i.jsxs(l,{size:"sm",onClick:()=>{(async()=>{if(I){V(!0);try{const s=await M(I);s.ok?C.success(e("projsync.sync_done",{files:s.filesTransferred})):C.error(e("projsync.sync_failed_reason",{reason:s.reason??""}))}catch(s){C.error(s instanceof Error?s.message:e("projsync.sync_failed"))}finally{V(!1),U()}}})()},disabled:!ne||!ae.connectionReady,title:ne?void 0:e("projsync.set_path_first"),children:[i.jsx(k,{className:"h-4 w-4 mr-1"}),e("projsync.sync_now")]})})]})]})]})}export{I as ProjectSettingsPage};
@@ -1,4 +1,4 @@
1
- import{c as e,r as s,ad as t,bd as a,j as n,af as c,ae as l,be as i,a9 as r,d as o,aO as d,aQ as h,bf as m,t as x,a2 as u,I as p,G as j,W as g,X as b,D as y,bg as f,bh as _,bi as v,bj as k,u as N,bk as w,T as C,bl as S,bm as M,bn as T,bo as E,bp as P,aP as R,bq as I,br as H,i as z,S as F,bs as L,aK as q,O as A,s as O,bt as V}from"./index-Bnts3xfp.js";import{U as G,T as U,a as B,b as D,c as Q}from"./tabs-CDMxLs18.js";import{u as W,S as Z,a as $,b as K,d as X,e as J}from"./select-4YpThSl9.js";import{S as Y}from"./save-Cqgk43nV.js";import{C as ee}from"./check-circle-2-BUUiam-3.js";import"./index-C4oOqDKN.js";import"./chevron-down-DrKithBI.js";
1
+ import{c as e,r as s,ad as t,bd as a,j as n,af as c,ae as l,be as i,a9 as r,d as o,aO as d,aQ as h,bf as m,t as x,a2 as u,I as p,G as j,W as g,X as b,D as y,bg as f,bh as _,bi as v,bj as k,u as N,bk as w,T as C,bl as S,bm as M,bn as T,bo as E,bp as P,aP as R,bq as I,br as H,i as z,S as F,bs as L,aK as q,O as A,s as O,bt as V}from"./index-CRo82xso.js";import{U as G,T as U,a as B,b as D,c as Q}from"./tabs-BuTf3eh_.js";import{u as W,S as Z,a as $,b as K,d as X,e as J}from"./select-eZo9Zifh.js";import{S as Y}from"./save-CrHmoDw1.js";import{C as ee}from"./check-circle-2-CdtsUdet.js";import"./index-DEJiBQJR.js";import"./chevron-down-ovAqDKwI.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import{c as e,aP as s,r as t,bv as a,bw as r,t as n,bx as l,by as i,bz as c,ar as d,bA as o,j as m,G as x,aK as u,d as p,I as h,T as g,y as f,D as j,aL as b,aM as y,A as N,aw as v,aC as k}from"./index-Bnts3xfp.js";import{S as w}from"./search-BsKUgW16.js";import{C}from"./chevron-down-DrKithBI.js";
1
+ import{c as e,aP as s,r as t,bv as a,bw as r,t as n,bx as l,by as i,bz as c,ar as d,bA as o,j as m,G as x,aK as u,d as p,I as h,T as g,y as f,D as j,aL as b,aM as y,A as N,aw as v,aC as k}from"./index-CRo82xso.js";import{S as w}from"./search-lKtcrVXr.js";import{C}from"./chevron-down-ovAqDKwI.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import{c}from"./index-Bnts3xfp.js";
1
+ import{c}from"./index-CRo82xso.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-Bnts3xfp.js";
1
+ import{c as o}from"./index-CRo82xso.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import{c}from"./index-Bnts3xfp.js";
1
+ import{c}from"./index-CRo82xso.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import{c as e}from"./index-Bnts3xfp.js";
1
+ import{c as e}from"./index-CRo82xso.js";
2
2
  /**
3
3
  * @license lucide-react v0.309.0 - ISC
4
4
  *