decocms 2.443.0 → 2.443.1
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/client/assets/{AlertCircle-C0w7vkhj.js → AlertCircle-CZWA2nH8.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-DNyQYu-V.js → ArrowUpRight-DXFfY2Nq.js} +1 -1
- package/dist/client/assets/{Check-8AgR6ZjG.js → Check-B7DufF9O.js} +1 -1
- package/dist/client/assets/{CheckCircle-CEi1N2Mq.js → CheckCircle-B3a532XL.js} +1 -1
- package/dist/client/assets/{ChevronDown-DhOfQXzQ.js → ChevronDown-DhIkdEzt.js} +1 -1
- package/dist/client/assets/{ChevronRight-DQs4tkMm.js → ChevronRight-BQDeINW7.js} +1 -1
- package/dist/client/assets/{ChevronUp-BJ7RKHi2.js → ChevronUp-BMLC4SgN.js} +1 -1
- package/dist/client/assets/{Container-nZYBPJRv.js → Container-DprTine2.js} +1 -1
- package/dist/client/assets/{DotsVertical-C00j11Qg.js → DotsVertical-BebTEDkn.js} +1 -1
- package/dist/client/assets/{Eye-B7Xkt1CB.js → Eye-DgcZpf5x.js} +1 -1
- package/dist/client/assets/{FilterLines-FHjfh1pF.js → FilterLines-uT-sk3rc.js} +1 -1
- package/dist/client/assets/{Globe01-Uo6KHfk2.js → Globe01-Dd7C_j_O.js} +1 -1
- package/dist/client/assets/{HardDrive-CGMuM2Oy.js → HardDrive-BtjljIRu.js} +1 -1
- package/dist/client/assets/{Key01-BIkGax_i.js → Key01-D1UyWXgw.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DycVPnNy.js → LinkExternal01-Brj_TJxd.js} +1 -1
- package/dist/client/assets/{Monitor01-D1U6Pa3W.js → Monitor01-DFXqifzv.js} +1 -1
- package/dist/client/assets/{Palette-Toq4eQ-J.js → Palette-Bq9PMsoj.js} +1 -1
- package/dist/client/assets/{Play-CA-oDPY7.js → Play-C9o4InoB.js} +1 -1
- package/dist/client/assets/{Plus-DgS5eNSe.js → Plus-DdlGCl-J.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-DVTjMN9w.js → RefreshCcw01-CZGSpPEW.js} +1 -1
- package/dist/client/assets/{SearchMd-WbJoDaWs.js → SearchMd-88EikaJB.js} +1 -1
- package/dist/client/assets/{Settings02-rrw51k4M.js → Settings02-B1lp2SVd.js} +1 -1
- package/dist/client/assets/{Shield01-5itVZGiR.js → Shield01-_I_z0Yxe.js} +1 -1
- package/dist/client/assets/{Star01-CeDy0qEH.js → Star01-b362v54F.js} +1 -1
- package/dist/client/assets/{Stars01-DYDsxZnS.js → Stars01-DAcarfyW.js} +1 -1
- package/dist/client/assets/{Stars02-ButLG8tI.js → Stars02-BFmBskXR.js} +1 -1
- package/dist/client/assets/{Sun-DB_K22EW.js → Sun-BaMRN3tl.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-5B3DSr8e.js → SwitchHorizontal01-LvHBRitv.js} +1 -1
- package/dist/client/assets/{Tool01-BcHwzAg_.js → Tool01-B3nr_Qai.js} +1 -1
- package/dist/client/assets/{Trash01-C9vkf5T6.js → Trash01-DzP4bSXT.js} +1 -1
- package/dist/client/assets/{Upload01-BXTkAAEz.js → Upload01-DJAirPOl.js} +1 -1
- package/dist/client/assets/{User01-C3qNbl-c.js → User01-D7oZ1u1w.js} +1 -1
- package/dist/client/assets/{Users01-C95xm0Ia.js → Users01-CQa1tUzy.js} +1 -1
- package/dist/client/assets/{Users03-Cgth-3GS.js → Users03-C7bMD3jg.js} +1 -1
- package/dist/client/assets/{X-FDfBE4i9.js → X-DEXMke5_.js} +1 -1
- package/dist/client/assets/{XCircle-8FTuCNvR.js → XCircle-B5jqknVe.js} +1 -1
- package/dist/client/assets/{XClose-BfJTW_HK.js → XClose-CpZzpgAq.js} +1 -1
- package/dist/client/assets/{Zap-DK6MOOIv.js → Zap-8zhK1JZ1.js} +1 -1
- package/dist/client/assets/{ZapSquare-wTPdLQod.js → ZapSquare-DT1D4OAA.js} +1 -1
- package/dist/client/assets/{ZoomOut-NkImUVHk.js → ZoomOut-C10GWzTz.js} +1 -1
- package/dist/client/assets/{access-gate-DwKbtSzY.js → access-gate-ChprljzU.js} +1 -1
- package/dist/client/assets/accordion-Dk7Q-28t.js +1 -0
- package/dist/client/assets/{add-section-modal-D23n3egw.js → add-section-modal-5UNgBmcq.js} +1 -1
- package/dist/client/assets/{agent-capabilities-CpWXCeRz.js → agent-capabilities-DtKIatZt.js} +1 -1
- package/dist/client/assets/{agent-icon-ExlCX9f5.js → agent-icon-DJnCVbR0.js} +1 -1
- package/dist/client/assets/{agent-icons-DAJPmC7Z.js → agent-icons-gxkxqZlA.js} +1 -1
- package/dist/client/assets/{agents-list-DdCb3QPP.js → agents-list-D-EW2m0k.js} +1 -1
- package/dist/client/assets/{ai-providers-D52L7y0S.js → ai-providers-DU29lPIn.js} +1 -1
- package/dist/client/assets/{alert-saVtzR2u.js → alert-CJmrA1-_.js} +1 -1
- package/dist/client/assets/{alert-dialog-rlUwGNsJ.js → alert-dialog-Bfzm0Sn1.js} +1 -1
- package/dist/client/assets/app-editor-BA0Rnv-W.js +1 -0
- package/dist/client/assets/{auth-catchall-DtCKOmFI.js → auth-catchall-Bmq1g-xe.js} +1 -1
- package/dist/client/assets/{auth-split-layout-DaXnlxNx.js → auth-split-layout-dlovNwqZ.js} +1 -1
- package/dist/client/assets/{automation-list-row-BYivUbaE.js → automation-list-row-DfQIV2Dv.js} +1 -1
- package/dist/client/assets/{automation-runs-B9Hv9eE-.js → automation-runs-B2hZA4Kn.js} +1 -1
- package/dist/client/assets/{automations-A6uZCwrZ.js → automations-DLu0_3ZB.js} +1 -1
- package/dist/client/assets/{avatar-GGBvmgaP.js → avatar-BCcehYOw.js} +1 -1
- package/dist/client/assets/{badge-BYAYJbYP.js → badge-Dxvv_o2R.js} +1 -1
- package/dist/client/assets/{brand-context-C7vqZWF-.js → brand-context-B9uo781k.js} +1 -1
- package/dist/client/assets/{buckets-Cv2ETh1T.js → buckets-B2ukbmRF.js} +1 -1
- package/dist/client/assets/{calendar-xjXZIDeb.js → calendar-alfK9fhJ.js} +1 -1
- package/dist/client/assets/{capability-load-error-CUPCgjg9.js → capability-load-error-Dz7EyokS.js} +1 -1
- package/dist/client/assets/{card-7rOCFixx.js → card-DwoGuIpq.js} +1 -1
- package/dist/client/assets/{chat-context-T6Hxtz67.js → chat-context-D4gb0Scc.js} +1 -1
- package/dist/client/assets/{checkbox-DotF6hoA.js → checkbox-CWwDb0cu.js} +1 -1
- package/dist/client/assets/{cli-auth-success-C_1kF7Fn.js → cli-auth-success-CKRlzllD.js} +1 -1
- package/dist/client/assets/collection-detail-DcSclG2P.js +1 -0
- package/dist/client/assets/{collection-display-button-Cn72Xu3L.js → collection-display-button-BoA_VnYw.js} +1 -1
- package/dist/client/assets/{collection-search-loHJ7IYX.js → collection-search-C5IBLwI6.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CB8ynCFf.js → collection-table-wrapper-CT-F8LmT.js} +1 -1
- package/dist/client/assets/{collection-tabs-IuChGrKO.js → collection-tabs-Bm-12qTR.js} +1 -1
- package/dist/client/assets/{collections-BY2lU4NZ.js → collections-D79oYVs-.js} +1 -1
- package/dist/client/assets/{command-CYcMZe50.js → command-DbOdOn2n.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-BjjpdcQ_.js → connect-desktop-dialog-Cl2Sz5Lx.js} +1 -1
- package/dist/client/assets/{connection-card-C98P6TUE.js → connection-card-JnLktoFU.js} +1 -1
- package/dist/client/assets/{connection-detail-DzFlb_go.js → connection-detail-BhA_swsb.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-B_et0Rp5.js → connection-form-helpers-DGv50Ov6.js} +1 -1
- package/dist/client/assets/{connections-B1EHRtVn.js → connections-D7jUJRkf.js} +1 -1
- package/dist/client/assets/{constants-P1xnRFeX.js → constants-h1Hu02Pl.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-CnTXTZP-.js → decopilot-sse-pool-CsEl5FJL.js} +1 -1
- package/dist/client/assets/{dialog-C3j-c3SR.js → dialog-C-asYC2o.js} +1 -1
- package/dist/client/assets/{domain-settings-8dDTfx0k.js → domain-settings-B1U-lr-C.js} +1 -1
- package/dist/client/assets/{drawer-ySjhgvkO.js → drawer-BgbFTtty.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DKiorR9d.js → dropdown-menu-DLTe8MWs.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-CtrFibYD.js → dynamic-plugin-layout-BLaOVD7L.js} +1 -1
- package/dist/client/assets/{empty-state-D0UPz__M.js → empty-state-CBUfB2GJ.js} +1 -1
- package/dist/client/assets/{empty-state-CsQfijIL.js → empty-state-DDTXMCO_.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DQPoIIzo.js → extract-connection-data-DHULaZ4q.js} +1 -1
- package/dist/client/assets/{features-DOYt53uh.js → features-n0dTbit2.js} +1 -1
- package/dist/client/assets/{file-explorer-BcIDvGnY.js → file-explorer-BAFEd0NP.js} +1 -1
- package/dist/client/assets/{file-preview-kcOvLrSx.js → file-preview-CVTyFcNA.js} +1 -1
- package/dist/client/assets/{file-type-icon-DWtzaQPp.js → file-type-icon-DiMBps0i.js} +1 -1
- package/dist/client/assets/{files-x6DVqY52.js → files-Dp4-coqo.js} +1 -1
- package/dist/client/assets/{form-w7JkvptQ.js → form-DcYfsvAB.js} +1 -1
- package/dist/client/assets/{general-BPDsNgDe.js → general-BHPyq_-g.js} +1 -1
- package/dist/client/assets/{generate-id-BsvOSxwt.js → generate-id-CHF9qC8v.js} +1 -1
- package/dist/client/assets/{github-repo-picker-B_v87FGw.js → github-repo-picker-vgbSu5iY.js} +1 -1
- package/dist/client/assets/{hover-card-B_RJCrCA.js → hover-card-Bi21pBU4.js} +1 -1
- package/dist/client/assets/{image-field-Cru0b2ZK.js → image-field-DoKub9f6.js} +1 -1
- package/dist/client/assets/{index-CswQOvGx.js → index-BBtzzfJI.js} +1 -1
- package/dist/client/assets/index-BCtg-ofa.js +1 -0
- package/dist/client/assets/{index-pO-YX1wf.js → index-BKi6N-tx.js} +25 -25
- package/dist/client/assets/{index-NioO90_M.js → index-BLjO-ihk.js} +1 -1
- package/dist/client/assets/{index-EVJ_UeFF.js → index-Bs5fxOOB.js} +3 -3
- package/dist/client/assets/{index-Cwd5mIBy.js → index-CDgtzHtW.js} +1 -1
- package/dist/client/assets/{index-BiOB1WZm.js → index-C_zwlUYa.js} +1 -1
- package/dist/client/assets/{index-B7LqxKQ-.js → index-DDGP_6P-.js} +1 -1
- package/dist/client/assets/{index-vNb1uvqd.js → index-Dh4s8pMn.js} +1 -1
- package/dist/client/assets/{index-CJoBkEf_.js → index-DoLgm5xJ.js} +3 -3
- package/dist/client/assets/{index-mPypacb-.js → index-DqPY9Bgk.js} +1 -1
- package/dist/client/assets/{index-C4kuSARI.js → index-Dvc_l9fe.js} +1 -1
- package/dist/client/assets/{index-Ck3k86Ip.js → index-a11Lx-OW.js} +1 -1
- package/dist/client/assets/{index-redirect-mdT-wByU.js → index-redirect-lTXXknoq.js} +1 -1
- package/dist/client/assets/{index-CKPUoGqe.js → index-yh2aXH-0.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-hzkIseBw.js → infiniteQueryObserver-DvYnKas5.js} +1 -1
- package/dist/client/assets/{input-BZDQfdYn.js → input-DKgzjTqx.js} +1 -1
- package/dist/client/assets/{integration-icon-DYz5eywh.js → integration-icon-DOg8lUEK.js} +1 -1
- package/dist/client/assets/{label-09bf4ZUr.js → label-CFa8MFdj.js} +1 -1
- package/dist/client/assets/{layout-hMbyvZRj.js → layout-BONESzv4.js} +1 -1
- package/dist/client/assets/{login-BWhh5Wx9.js → login-BUll2EP0.js} +1 -1
- package/dist/client/assets/{members-PDEQDpHB.js → members-DdoqCGvI.js} +1 -1
- package/dist/client/assets/{monaco-editor-B2MBxzPo.js → monaco-editor-DtMDBznS.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-D8gHIB7G.js → monitoring-stats-row-BapIOHm7.js} +1 -1
- package/dist/client/assets/{oauth-callback-BlANIrYK.js → oauth-callback-C-zOQYfK.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-ClHHYRKz.js → oauth-callback-ai-provider-DlnjgMD7.js} +1 -1
- package/dist/client/assets/{onboarding-lvXp9VmW.js → onboarding-g1-Y-MfC.js} +1 -1
- package/dist/client/assets/{org-install-C2fZgqt9.js → org-install-BTJrtDpZ.js} +1 -1
- package/dist/client/assets/{org-layout-NE6bn4Sq.js → org-layout-CvrkU3K2.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-hZqikTN5.js → org-plugin-layout-BExflMAw.js} +1 -1
- package/dist/client/assets/{page-seo-form-aB22X3RV.js → page-seo-form-CubEWrg6.js} +1 -1
- package/dist/client/assets/page-seo-sheet-B5ltGvRt.js +1 -0
- package/dist/client/assets/{pair-B1HhmTC2.js → pair-CcKUxOpV.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-Bq8PMk0Q.js → plugin-empty-state-DLFBKaPz.js} +1 -1
- package/dist/client/assets/{plugin-header-C3QgrcHM.js → plugin-header-CLwSjE0J.js} +1 -1
- package/dist/client/assets/{plugin-layout-D8j3qU9M.js → plugin-layout-C02I389s.js} +1 -1
- package/dist/client/assets/{popover-D7H0zNnu.js → popover-CAUP1BNb.js} +1 -1
- package/dist/client/assets/{post-editor-Q0aCt3BM.js → post-editor-Drz2Eab1.js} +1 -1
- package/dist/client/assets/{primitives-JHMgB1o-.js → primitives-CXryVT6L.js} +1 -1
- package/dist/client/assets/{profile-B9yqAVYS.js → profile-D65b5iWG.js} +1 -1
- package/dist/client/assets/{project-app-view-CQ14p1sb.js → project-app-view-BbeatmvL.js} +1 -1
- package/dist/client/assets/record-editor-CekyWQKV.js +1 -0
- package/dist/client/assets/registry-D2u_uWpG.js +2 -0
- package/dist/client/assets/{registry-layout-DYhQxzqY.js → registry-layout-B1tTNZCj.js} +1 -1
- package/dist/client/assets/{require-capability-DJDpC59C.js → require-capability-kQtzy73_.js} +1 -1
- package/dist/client/assets/{required-auth-layout-D_pVrMnQ.js → required-auth-layout-DoJBYTK7.js} +1 -1
- package/dist/client/assets/{reset-password-DzpB5VA8.js → reset-password-Dj6PXWH2.js} +1 -1
- package/dist/client/assets/{roles-BIa4EfJE.js → roles-C8T8UgqZ.js} +1 -1
- package/dist/client/assets/{save-status-B_RrNks8.js → save-status-DcbUOEsL.js} +1 -1
- package/dist/client/assets/schema-form-DGKrspeM.js +1 -0
- package/dist/client/assets/{scroll-area-DCO9LjjC.js → scroll-area-BhZZYQyk.js} +1 -1
- package/dist/client/assets/{search-input-BkjmAgNX.js → search-input-D-UUT0vq.js} +1 -1
- package/dist/client/assets/{secrets-eB4KGgEb.js → secrets-CYRDbt9b.js} +1 -1
- package/dist/client/assets/{sections-editor-DcoSMLUX.js → sections-editor-x1CRZCFt.js} +2 -2
- package/dist/client/assets/{select-D3xFKLhW.js → select-BqVzUjvA.js} +1 -1
- package/dist/client/assets/{select-model-DClZJUk2.js → select-model-rPu-NTfe.js} +1 -1
- package/dist/client/assets/{seo-editor-DEb43_7H.js → seo-editor-CWxIx22-.js} +1 -1
- package/dist/client/assets/{settings-layout-Y8ddbgRB.js → settings-layout-CwfaDJUd.js} +1 -1
- package/dist/client/assets/{settings-section-xKZ0B7RQ.js → settings-section-BaJoW4YL.js} +1 -1
- package/dist/client/assets/{sheet-y48NbizY.js → sheet-BJnnVAor.js} +1 -1
- package/dist/client/assets/{shell-controls-DTs3k-tY.js → shell-controls-Di_I0aR7.js} +1 -1
- package/dist/client/assets/{shell-layout-CtsnLkL0.js → shell-layout-C8xCDde2.js} +1 -1
- package/dist/client/assets/{shell-route-loading-2R_HkOJm.js → shell-route-loading-SSKWvym2.js} +1 -1
- package/dist/client/assets/{sidebar-BNHENVF_.js → sidebar-BItduOLp.js} +1 -1
- package/dist/client/assets/{skeleton-BWDI6b5B.js → skeleton-BITJK7H7.js} +1 -1
- package/dist/client/assets/{sortable.esm-D1-ateSo.js → sortable.esm-2KwbcifU.js} +1 -1
- package/dist/client/assets/{spinner-BLcfraim.js → spinner-D3DwAv1t.js} +1 -1
- package/dist/client/assets/{sso-B-Hyr04j.js → sso-AGe3fKNz.js} +1 -1
- package/dist/client/assets/{store-DtSOq-my.js → store-CiA5SmK4.js} +1 -1
- package/dist/client/assets/store-registry-0coppvYh.js +2 -0
- package/dist/client/assets/{switch-DFEmgVSQ.js → switch-C7IedEah.js} +1 -1
- package/dist/client/assets/{tab-id-BfrA42Sy.js → tab-id-DkCs8lF_.js} +1 -1
- package/dist/client/assets/{table-zHqbyGEy.js → table-CgfREqGw.js} +1 -1
- package/dist/client/assets/{tabs-Dj3HihPI.js → tabs-D8e1US14.js} +1 -1
- package/dist/client/assets/{task-status-gyYC-BVM.js → task-status-CxSktPB-.js} +1 -1
- package/dist/client/assets/{textarea-Kw6SbqZA.js → textarea-07GHniRL.js} +1 -1
- package/dist/client/assets/{toggle-group-CgAd7Mg_.js → toggle-group-vrtDLNQt.js} +1 -1
- package/dist/client/assets/{toolbar-D7UKSzZi.js → toolbar-DHbG5RVx.js} +1 -1
- package/dist/client/assets/{tools-list-X7Olg8ty.js → tools-list-CBmqUrzf.js} +1 -1
- package/dist/client/assets/{tooltip-BseNApEN.js → tooltip-C4Mvcc3-.js} +1 -1
- package/dist/client/assets/{types-CEUmohd_.js → types-CU1XYsZ6.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DSjz3Xn-.js → use-ai-providers-BrNyOb2S.js} +1 -1
- package/dist/client/assets/{use-automations-DD-gzzG-.js → use-automations-kjzpslcz.js} +1 -1
- package/dist/client/assets/{use-capability-BETReHdP.js → use-capability-DMQVY-z7.js} +1 -1
- package/dist/client/assets/{use-collections-C-e494pb.js → use-collections-0elTitFK.js} +1 -1
- package/dist/client/assets/{use-connection-COB3wZyv.js → use-connection-BFK8HgLm.js} +1 -1
- package/dist/client/assets/{use-copy-B4ijm3eQ.js → use-copy--KxUwDht.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DHggusOz.js → use-create-virtual-mcp-xfijFFeU.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-7RLEJTRO.js → use-debounced-autosave-EPr2q190.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CWde71K0.js → use-delete-connection-DThowArC.js} +1 -1
- package/dist/client/assets/{use-file-configs-BXchIe2N.js → use-file-configs-BFWFGnU_.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BTrNIqxO.js → use-infinite-scroll-Bsai9Hjv.js} +1 -1
- package/dist/client/assets/{use-list-state-DSHFjIyq.js → use-list-state-bJ_RuI2S.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-CLrlZKHJ.js → use-mcp-prompts-B0SzsQFQ.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BdUmFkbH.js → use-mcp-tools-CQC_DvOV.js} +1 -1
- package/dist/client/assets/{use-members-CaSqF02H.js → use-members-Bmr4BOrW.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BLkLok3n.js → use-navigate-to-agent-DHuSnk-7.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-Bl3vPuak.js → use-org-auth-client-rr7_FC67.js} +1 -1
- package/dist/client/assets/{use-org-sso-Bm8Zb6fp.js → use-org-sso-CUWrIQka.js} +1 -1
- package/dist/client/assets/{use-organization-roles-JDC-YH-l.js → use-organization-roles-G_sIrmcQ.js} +1 -1
- package/dist/client/assets/{use-organization-settings-D5g7NFw1.js → use-organization-settings-Y6xPrKF0.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BfC5RU93.js → use-registry-connections-D2Pb5Zae.js} +1 -1
- package/dist/client/assets/{use-secrets-BjVtsdxA.js → use-secrets-B2BL0CXw.js} +1 -1
- package/dist/client/assets/{use-status-sounds-9imVHc_4.js → use-status-sounds-BgSY6E7R.js} +1 -1
- package/dist/client/assets/{use-view-mode-CUhYlh8A.js → use-view-mode-BzGrBtpu.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-C09vm-BM.js → use-virtual-mcp-C5RbeZo0.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-C0Nzygow.js +1 -0
- package/dist/client/assets/{useRouterState-BjzQ0bsm.js → useRouterState-CAzgDa1e.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DhuueYPO.js +1 -0
- package/dist/client/assets/{user-Coaz5g4K.js → user-C3BOkzKG.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CoifNzqg.js → view-mode-toggle-BM4piPkb.js} +1 -1
- package/dist/client/assets/workflow-detail-CVGljoUQ.js +1 -0
- package/dist/client/assets/{workflow-53Ic0UX5.js → workflow-zG_0zF_e.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +2 -2
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/accordion-BrfX2IfA.js +0 -1
- package/dist/client/assets/app-editor-DR7rTN1y.js +0 -1
- package/dist/client/assets/collection-detail-Bfy-MA_d.js +0 -1
- package/dist/client/assets/index-D935qYUN.js +0 -1
- package/dist/client/assets/page-seo-sheet-9U2O7bHl.js +0 -1
- package/dist/client/assets/record-editor-DcoIPsEz.js +0 -1
- package/dist/client/assets/registry-a7dn3L4L.js +0 -2
- package/dist/client/assets/schema-form-B58UjuIl.js +0 -1
- package/dist/client/assets/store-registry-D5nKgOXT.js +0 -2
- package/dist/client/assets/useInfiniteQuery--C6hdwWo.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BZeP3q20.js +0 -1
- package/dist/client/assets/workflow-detail-xBmS8ZJ3.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e as N,q as E,F as Fe,a as ie,K as U,n as L,b2 as Me,r as X,j as s,B as P,c as Re,E as je,f as Be,d as Ke,z as Ie,o as Q}from"./index-
|
|
1
|
+
import{e as N,q as E,F as Fe,a as ie,K as U,n as L,b2 as Me,r as X,j as s,B as P,c as Re,E as je,f as Be,d as Ke,z as Ie,o as Q}from"./index-DoLgm5xJ.js";import{i as Ve}from"./ChevronRight-BQDeINW7.js";import{s as Ce}from"./Eye-DgcZpf5x.js";import{n as Se,i as He}from"./Globe01-Dd7C_j_O.js";import{s as Qe}from"./Plus-DdlGCl-J.js";import{t as Ge}from"./Stars01-DAcarfyW.js";import{i as De}from"./Upload01-DJAirPOl.js";import{b as ye,T as we,a as be,u as Xe}from"./tooltip-C4Mvcc3-.js";import{A as We,a as Ye,b as Ze,c as Je,d as et,e as tt,f as st,g as lt}from"./alert-dialog-Bfzm0Sn1.js";import{D as re,a as oe,c as ae,b as nt,e as it,d as rt}from"./dialog-C-asYC2o.js";import{I as ot}from"./input-DKgzjTqx.js";import{S as W}from"./skeleton-BITJK7H7.js";import{i as ce}from"./DotsVertical-BebTEDkn.js";import{i as Oe}from"./ZoomOut-C10GWzTz.js";import{s as de}from"./Trash01-DzP4bSXT.js";import{i as ze}from"./Zap-8zhK1JZ1.js";import{a as fe,c as Z,b as ue,D as me}from"./dropdown-menu-DLTe8MWs.js";import{F as G,d as Pe,M as at}from"./file-type-icon-DiMBps0i.js";import{n as ct}from"./LinkExternal01-Brj_TJxd.js";import{f as Ue,a as dt,F as ft}from"./file-preview-CVTyFcNA.js";import"./X-DEXMke5_.js";import"./Check-B7DufF9O.js";function _(l,e,t,n){const i=new URLSearchParams(n).toString();return`/api/${encodeURIComponent(l)}/fs/${encodeURIComponent(e)}/${t}${i?`?${i}`:""}`}async function R(l,e){const t=await fetch(l,e);if(!t.ok){let n="";try{n=(await t.json()).error??""}catch{}throw new Error(n||`HTTP ${t.status}`)}return t}function Te(l,e){const t=N.c(11),{org:n}=E();let i;t[0]!==n.id||t[1]!==e||t[2]!==l?(i=U.orgFsList(n.id,l,e),t[0]=n.id,t[1]=e,t[2]=l,t[3]=i):i=t[3];let r;t[4]!==n.slug||t[5]!==e||t[6]!==l?(r=async()=>(await(await R(_(n.slug,l,"list",{path:e}))).json()).entries.toSorted(ut),t[4]=n.slug,t[5]=e,t[6]=l,t[7]=r):r=t[7];let a;return t[8]!==i||t[9]!==r?(a={queryKey:i,placeholderData:Me,queryFn:r},t[8]=i,t[9]=r,t[10]=a):a=t[10],L(a)}function ut(l,e){return l.kind!==e.kind?l.kind==="dir"?-1:1:l.path.localeCompare(e.path)}function mt(l,e){const t=N.c(12),{org:n}=E();let i;t[0]!==n.id||t[1]!==e||t[2]!==l?(i=U.orgFsStat(n.id,l??"",e),t[0]=n.id,t[1]=e,t[2]=l,t[3]=i):i=t[3];const r=l!==null;let a;t[4]!==n.slug||t[5]!==e||t[6]!==l?(a=async()=>{const o=await fetch(_(n.slug,l??"","stat",{path:e}));if(o.status===404)return null;if(!o.ok)throw new Error(`HTTP ${o.status}`);return(await o.json()).entry},t[4]=n.slug,t[5]=e,t[6]=l,t[7]=a):a=t[7];let c;return t[8]!==i||t[9]!==r||t[10]!==a?(c={queryKey:i,enabled:r,queryFn:a},t[8]=i,t[9]=r,t[10]=a,t[11]=c):c=t[11],L(c)}function ht(l){const e=N.c(9),{org:t}=E();let n;e[0]!==t.id||e[1]!==l?(n=U.orgFsUsage(t.id,l),e[0]=t.id,e[1]=l,e[2]=n):n=e[2];let i;e[3]!==t.slug||e[4]!==l?(i=async()=>await(await R(_(t.slug,l,"usage"))).json(),e[3]=t.slug,e[4]=l,e[5]=i):i=e[5];let r;return e[6]!==n||e[7]!==i?(r={queryKey:n,queryFn:i},e[6]=n,e[7]=i,e[8]=r):r=e[8],L(r)}function xt(l){const e=N.c(8),t=60,{org:n}=E();let i;e[0]!==n.id?(i=U.orgFsRecent(n.id),e[0]=n.id,e[1]=i):i=e[1];let r;e[2]!==t||e[3]!==n.slug?(r=async()=>(await(await R(`/api/${encodeURIComponent(n.slug)}/fs/recent?limit=${t}`)).json()).entries,e[2]=t,e[3]=n.slug,e[4]=r):r=e[4];let a;return e[5]!==i||e[6]!==r?(a={queryKey:i,queryFn:r},e[5]=i,e[6]=r,e[7]=a):a=e[7],L(a)}function Ae(){const l=N.c(7),{org:e}=E();let t;l[0]!==e.id?(t=U.orgFsPublicSets(e.id),l[0]=e.id,l[1]=t):t=l[1];let n;l[2]!==e.slug?(n=async()=>(await(await R(`/api/${encodeURIComponent(e.slug)}/fs/public-sets`)).json()).sets,l[2]=e.slug,l[3]=n):n=l[3];let i;return l[4]!==t||l[5]!==n?(i={queryKey:t,staleTime:3e5,queryFn:n},l[4]=t,l[5]=n,l[6]=i):i=l[6],L(i)}function pt(l){const e=N.c(3),{org:t}=E();let n;return e[0]!==t.slug||e[1]!==l?(n=i=>_(t.slug,l,"read",{path:i}),e[0]=t.slug,e[1]=l,e[2]=n):n=e[2],n}function he(){const l=N.c(2),{org:e}=E();let t;return l[0]!==e.slug?(t=(n,i)=>_(e.slug,n,"read",{path:i}),l[0]=e.slug,l[1]=t):t=l[1],t}function ve(l){const e=N.c(26),{org:t}=E(),n=Fe();let i;e[0]!==t||e[1]!==n||e[2]!==l?(i=()=>{n.invalidateQueries({queryKey:U.orgFsVolume(t.id,l)}),n.invalidateQueries({queryKey:U.orgFsRecent(t.id)})},e[0]=t,e[1]=n,e[2]=l,e[3]=i):i=e[3];const r=i;let a;e[4]!==t||e[5]!==l?(a=async g=>{for(const h of g.files){const $=g.dir?`${g.dir}/${h.name}`:h.name;await R(_(t.slug,l,"file",{path:$}),{method:"PUT",headers:{"content-type":h.type||"application/octet-stream"},body:h})}},e[4]=t,e[5]=l,e[6]=a):a=e[6];let c;e[7]!==r||e[8]!==a?(c={mutationFn:a,onSettled:r},e[7]=r,e[8]=a,e[9]=c):c=e[9];const o=ie(c);let d;e[10]!==t||e[11]!==l?(d=async g=>{await R(_(t.slug,l,"dir",{path:g}),{method:"POST"})},e[10]=t,e[11]=l,e[12]=d):d=e[12];let u;e[13]!==r||e[14]!==d?(u={mutationFn:d,onSuccess:r},e[13]=r,e[14]=d,e[15]=u):u=e[15];const f=ie(u);let m;e[16]!==t||e[17]!==l?(m=async g=>{await R(_(t.slug,l,"file",{path:g}),{method:"DELETE"})},e[16]=t,e[17]=l,e[18]=m):m=e[18];let y;e[19]!==r||e[20]!==m?(y={mutationFn:m,onSuccess:r},e[19]=r,e[20]=m,e[21]=y):y=e[21];const w=ie(y);let p;return e[22]!==f||e[23]!==w||e[24]!==o?(p={upload:o,mkdir:f,remove:w},e[22]=f,e[23]=w,e[24]=o,e[25]=p):p=e[25],p}function gt(l){const e=N.c(33);let t,n,i;e[0]!==l?({glyph:t,readOnly:i,...n}=l,e[0]=l,e[1]=t,e[2]=n,e[3]=i):(t=e[1],n=e[2],i=e[3]);const r=X.useId(),a=`${r}-back`,c=`${r}-front`,o=`url(#${a})`;let d;e[4]!==o?(d=s.jsx("path",{d:"M2.53738 2.55C1.13602 2.55 0 3.68602 0 5.08738V11.535H31.931V7.65326C31.931 6.23616 30.7822 5.08738 29.3651 5.08738H14.7681L13.8775 5.02542C13.3886 4.99141 12.9197 4.81809 12.5261 4.52596L10.7726 3.22419C10.1828 2.78638 9.46784 2.55 8.73334 2.55H2.53738Z",fill:o}),e[4]=o,e[5]=d):d=e[5];const u=`url(#${c})`;let f;e[6]!==u?(f=s.jsx("rect",{y:"8.72",width:"32",height:"21",rx:"2.566",fill:u}),e[6]=u,e[7]=f):f=e[7];let m,y,w;e[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("rect",{x:"0.3",y:"8.86",width:"31.4",height:"0.55",rx:"0.275",fill:"#FFFFFF",opacity:"0.25"}),y=s.jsx("rect",{y:"25.81",width:"32",height:"0.552",fill:"#84CDFB"}),w=s.jsx("rect",{y:"27.05",width:"32",height:"0.552",fill:"#84CDFB"}),e[8]=m,e[9]=y,e[10]=w):(m=e[8],y=e[9],w=e[10]);let p;e[11]!==t?(p=t&&s.jsx(t,{x:10.5,y:13.2,width:11,height:11,strokeWidth:2.2,style:{color:"#014AC9",opacity:.55}}),e[11]=t,e[12]=p):p=e[12];let g;e[13]!==i?(g=i&&s.jsxs(s.Fragment,{children:[s.jsx("circle",{cx:"25.5",cy:"25.5",r:"6.2",strokeWidth:"1",className:"fill-background stroke-border"}),s.jsx(Ce,{x:22.1,y:22.1,width:6.8,height:6.8,strokeWidth:2.2,className:"text-muted-foreground"})]}),e[13]=i,e[14]=g):g=e[14];let h,$;e[15]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx("stop",{offset:"0.3",stopColor:"#4D87DF"}),$=s.jsx("stop",{offset:"1",stopColor:"#296FE8"}),e[15]=h,e[16]=$):(h=e[15],$=e[16]);let b;e[17]!==a?(b=s.jsxs("linearGradient",{id:a,x1:"15.97",y1:"2.55",x2:"15.97",y2:"9.53",gradientUnits:"userSpaceOnUse",children:[h,$]}),e[17]=a,e[18]=b):b=e[18];let k,x;e[19]===Symbol.for("react.memo_cache_sentinel")?(k=s.jsx("stop",{stopColor:"#72B6FA"}),x=s.jsx("stop",{offset:"1",stopColor:"#5BB1EF"}),e[19]=k,e[20]=x):(k=e[19],x=e[20]);let v;e[21]!==c?(v=s.jsxs("radialGradient",{id:c,cx:"0",cy:"0",r:"10",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(1.6 0 0 2.1538 16 19.22)",children:[k,x]}),e[21]=c,e[22]=v):v=e[22];let F;e[23]!==b||e[24]!==v?(F=s.jsxs("defs",{children:[b,v]}),e[23]=b,e[24]=v,e[25]=F):F=e[25];let S;return e[26]!==n||e[27]!==F||e[28]!==d||e[29]!==f||e[30]!==p||e[31]!==g?(S=s.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...n,children:[d,f,m,y,w,p,g,F]}),e[26]=n,e[27]=F,e[28]=d,e[29]=f,e[30]=p,e[31]=g,e[32]=S):S=e[32],S}function jt(l){const e={};for(const t of l.split(`
|
|
2
2
|
`)){const n=t.match(/^([A-Za-z][\w-]*):\s*(.*)$/);n?.[1]&&n[2]!==void 0&&(e[n[1].toLowerCase()]=n[2].trim())}return e}function ke(l){for(const e of l.split(/\n\s*\n/)){const t=e.trim();if(!(!t||t.startsWith("#")))return t.replace(/\n/g," ")}return null}function Ee(l){const e=l.match(/^---\n([\s\S]*?)\n---\n?/);if(!e||e[1]===void 0)return{name:null,description:ke(l),body:l};const t=jt(e[1]),n=l.slice(e[0].length);return{name:t.name||null,description:t.description||ke(n),body:n}}const yt=new Set(["png","jpg","jpeg","gif","webp","svg","avif"]),wt=new Set(["txt","md","markdown","json","csv","tsv","log","yaml","yml","xml","html","htm"]),bt=256*1024;function ee(l){const e=new Date(l);if(Number.isNaN(e.getTime()))return"";const t=Date.now()-e.getTime(),n=Math.floor(t/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;const i=Math.floor(n/60);if(i<24)return`${i}h ago`;const r=Math.floor(i/24);return r<30?`${r}d ago`:e.toLocaleDateString(void 0,{month:"short",day:"numeric"})}function vt(l){return l.split(".").pop()?.toLowerCase()??""}function _e(l){const e=N.c(15),{downloadUrl:t,filename:n,onDelete:i}=l,r=`Actions for ${n}`;let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(ce,{size:14}),e[0]=a):a=e[0];let c;e[1]!==r?(c=s.jsx(fe,{asChild:!0,children:s.jsx(P,{variant:"ghost",size:"icon",className:"size-6 shrink-0 opacity-0 transition-opacity group-hover/card:opacity-100 data-[state=open]:opacity-100",onClick:Nt,"aria-label":r,children:a})}),e[1]=r,e[2]=c):c=e[2];let o;e[3]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(Se,{size:14}),e[3]=o):o=e[3];let d;e[4]!==t||e[5]!==n?(d=s.jsx(Z,{asChild:!0,children:s.jsxs("a",{href:t,download:n,children:[o,"Download"]})}),e[4]=t,e[5]=n,e[6]=d):d=e[6];let u;e[7]!==i?(u=i&&s.jsxs(Z,{variant:"destructive",onClick:i,children:[s.jsx(de,{size:14}),"Delete"]}),e[7]=i,e[8]=u):u=e[8];let f;e[9]!==d||e[10]!==u?(f=s.jsxs(ue,{align:"end",onClick:kt,children:[d,u]}),e[9]=d,e[10]=u,e[11]=f):f=e[11];let m;return e[12]!==c||e[13]!==f?(m=s.jsxs(me,{children:[c,f]}),e[12]=c,e[13]=f,e[14]=m):m=e[14],m}function kt(l){return l.stopPropagation()}function Nt(l){return l.stopPropagation()}function te(l){const e=N.c(9),{onOpen:t,children:n,className:i}=l;let r;e[0]!==t?(r=o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),t())},e[0]=t,e[1]=r):r=e[1];let a;e[2]!==i?(a=Re("group/card flex cursor-pointer flex-col gap-3 rounded-2xl border border-border bg-background p-4 text-left transition-colors hover:border-border hover:bg-muted/40",i),e[2]=i,e[3]=a):a=e[3];let c;return e[4]!==n||e[5]!==t||e[6]!==r||e[7]!==a?(c=s.jsx("div",{role:"button",tabIndex:0,onClick:t,onKeyDown:r,className:a,children:n}),e[4]=n,e[5]=t,e[6]=r,e[7]=a,e[8]=c):c=e[8],c}function se(l){const e=N.c(16),{icon:t,name:n,meta:i,subtitle:r,actions:a}=l;let c;e[0]!==n?(c=s.jsx("span",{className:"min-w-0 flex-1 truncate text-[13px] text-foreground",title:n,children:n}),e[0]=n,e[1]=c):c=e[1];let o;e[2]!==i?(o=i&&s.jsx("span",{className:"shrink-0 text-xs text-muted-foreground",children:i}),e[2]=i,e[3]=o):o=e[3];let d;e[4]!==c||e[5]!==o?(d=s.jsxs("div",{className:"flex items-start gap-3",children:[c,o]}),e[4]=c,e[5]=o,e[6]=d):d=e[6];let u;e[7]!==r?(u=r&&s.jsx("span",{className:"text-xs text-muted-foreground",children:r}),e[7]=r,e[8]=u):u=e[8];let f;e[9]!==d||e[10]!==u?(f=s.jsxs("div",{className:"flex min-w-0 flex-1 flex-col justify-center",children:[d,u]}),e[9]=d,e[10]=u,e[11]=f):f=e[11];let m;return e[12]!==a||e[13]!==t||e[14]!==f?(m=s.jsxs("div",{className:"flex w-full items-center gap-2.5",children:[t,f,a]}),e[12]=a,e[13]=t,e[14]=f,e[15]=m):m=e[15],m}function le(l){const e=N.c(15),{name:t,meta:n,subtitle:i,glyph:r,readOnly:a,onOpen:c,onDelete:o}=l;let d;e[0]!==r||e[1]!==a?(d=s.jsx(gt,{glyph:r,readOnly:a,className:"size-8 shrink-0"}),e[0]=r,e[1]=a,e[2]=d):d=e[2];let u;e[3]!==t||e[4]!==o?(u=o?s.jsxs(me,{children:[s.jsx(fe,{asChild:!0,children:s.jsx(P,{variant:"ghost",size:"icon",className:"size-6 shrink-0 opacity-0 transition-opacity group-hover/card:opacity-100 data-[state=open]:opacity-100",onClick:Ft,"aria-label":`Actions for ${t}`,children:s.jsx(ce,{size:14})})}),s.jsx(ue,{align:"end",onClick:$t,children:s.jsxs(Z,{variant:"destructive",onClick:o,children:[s.jsx(de,{size:14}),"Delete"]})})]}):void 0,e[3]=t,e[4]=o,e[5]=u):u=e[5];let f;e[6]!==n||e[7]!==t||e[8]!==i||e[9]!==d||e[10]!==u?(f=s.jsx(se,{icon:d,name:t,meta:n,subtitle:i,actions:u}),e[6]=n,e[7]=t,e[8]=i,e[9]=d,e[10]=u,e[11]=f):f=e[11];let m;return e[12]!==c||e[13]!==f?(m=s.jsx(te,{onOpen:c,children:f}),e[12]=c,e[13]=f,e[14]=m):m=e[14],m}function $t(l){return l.stopPropagation()}function Ft(l){return l.stopPropagation()}function qe(l){const e=N.c(19),{filename:t,updatedAt:n,downloadUrl:i,onOpen:r,onDelete:a}=l;let c;e[0]!==t?(c=s.jsx(G,{filename:t,className:"h-8 w-6.5 shrink-0"}),e[0]=t,e[1]=c):c=e[1];let o;e[2]!==n?(o=ee(n),e[2]=n,e[3]=o):o=e[3];let d;e[4]!==t?(d=Pe(t),e[4]=t,e[5]=d):d=e[5];let u;e[6]!==i||e[7]!==t||e[8]!==a?(u=s.jsx(_e,{downloadUrl:i,filename:t,onDelete:a}),e[6]=i,e[7]=t,e[8]=a,e[9]=u):u=e[9];let f;e[10]!==t||e[11]!==c||e[12]!==o||e[13]!==d||e[14]!==u?(f=s.jsx(se,{icon:c,name:t,meta:o,subtitle:d,actions:u}),e[10]=t,e[11]=c,e[12]=o,e[13]=d,e[14]=u,e[15]=f):f=e[15];let m;return e[16]!==r||e[17]!==f?(m=s.jsx(te,{onOpen:r,children:f}),e[16]=r,e[17]=f,e[18]=m):m=e[18],m}function Ct(l){const e=N.c(36),{dirName:t,updatedAt:n,skillMdUrl:i,onOpen:r,onBrowse:a,onDelete:c}=l;let o;e[0]!==i?(o=U.fileText(i),e[0]=i,e[1]=o):o=e[1];let d;e[2]!==i?(d=async()=>{const C=await fetch(i,{credentials:"include"});if(!C.ok)throw new Error(`fetch failed: ${C.status}`);return C.text()},e[2]=i,e[3]=d):d=e[3];let u;e[4]!==o||e[5]!==d?(u={queryKey:o,queryFn:d,staleTime:6e4,retry:!1},e[4]=o,e[5]=d,e[6]=u):u=e[6];const{data:f}=L(u);let m;e[7]!==f?(m=f?Ee(f):null,e[7]=f,e[8]=m):m=e[8];const y=m;let w;e[9]===Symbol.for("react.memo_cache_sentinel")?(w=s.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary",children:s.jsx(ze,{size:16})}),e[9]=w):w=e[9];const p=y?.name??t;let g;e[10]!==n?(g=ee(n),e[10]=n,e[11]=g):g=e[11];const h=`Actions for ${t}`;let $;e[12]===Symbol.for("react.memo_cache_sentinel")?($=s.jsx(ce,{size:14}),e[12]=$):$=e[12];let b;e[13]!==h?(b=s.jsx(fe,{asChild:!0,children:s.jsx(P,{variant:"ghost",size:"icon",className:"size-6 shrink-0 opacity-0 transition-opacity group-hover/card:opacity-100 data-[state=open]:opacity-100",onClick:Dt,"aria-label":h,children:$})}),e[13]=h,e[14]=b):b=e[14];let k;e[15]===Symbol.for("react.memo_cache_sentinel")?(k=s.jsx(Oe,{size:14}),e[15]=k):k=e[15];let x;e[16]!==a?(x=s.jsxs(Z,{onClick:a,children:[k,"Browse files"]}),e[16]=a,e[17]=x):x=e[17];let v;e[18]!==c?(v=c&&s.jsxs(Z,{variant:"destructive",onClick:c,children:[s.jsx(de,{size:14}),"Delete"]}),e[18]=c,e[19]=v):v=e[19];let F;e[20]!==x||e[21]!==v?(F=s.jsxs(ue,{align:"end",onClick:St,children:[x,v]}),e[20]=x,e[21]=v,e[22]=F):F=e[22];let S;e[23]!==b||e[24]!==F?(S=s.jsxs(me,{children:[b,F]}),e[23]=b,e[24]=F,e[25]=S):S=e[25];let D;e[26]!==S||e[27]!==p||e[28]!==g?(D=s.jsx(se,{icon:w,name:p,meta:g,subtitle:"Skill",actions:S}),e[26]=S,e[27]=p,e[28]=g,e[29]=D):D=e[29];const z=y?.description??"";let O;e[30]!==z?(O=s.jsx("p",{className:"line-clamp-2 min-h-8 text-xs leading-4 text-muted-foreground",children:z}),e[30]=z,e[31]=O):O=e[31];let j;return e[32]!==r||e[33]!==D||e[34]!==O?(j=s.jsxs(te,{onOpen:r,children:[D,O]}),e[32]=r,e[33]=D,e[34]=O,e[35]=j):j=e[35],j}function St(l){return l.stopPropagation()}function Dt(l){return l.stopPropagation()}function Ot(l){const e=N.c(11),{url:t}=l;let n;e[0]!==t?(n=U.fileText(t),e[0]=t,e[1]=n):n=e[1];let i;e[2]!==t?(i=async()=>{const d=await fetch(t,{credentials:"include"});if(!d.ok)throw new Error(`fetch failed: ${d.status}`);return d.text()},e[2]=t,e[3]=i):i=e[3];let r;e[4]!==n||e[5]!==i?(r={queryKey:n,queryFn:i,staleTime:6e4,retry:!1},e[4]=n,e[5]=i,e[6]=r):r=e[6];const{data:a}=L(r);if(!a)return null;let c;e[7]!==a?(c=a.slice(0,2e3),e[7]=a,e[8]=c):c=e[8];let o;return e[9]!==c?(o=s.jsx("pre",{className:"pointer-events-none h-full w-full overflow-hidden bg-background p-3 font-mono text-[9px] leading-[1.5] text-muted-foreground select-none",children:c}),e[9]=c,e[10]=o):o=e[10],o}function zt(l){const e=N.c(4),{filename:t,size:n,downloadUrl:i}=l;let r;if(e[0]!==i||e[1]!==t||e[2]!==n){const a=vt(t),c=yt.has(a)?s.jsx("img",{src:i,alt:"",loading:"lazy",className:"h-full w-full object-cover"}):wt.has(a)&&n<=bt?s.jsx(Ot,{url:i}):s.jsx("div",{className:"flex h-full w-full items-center justify-center",children:s.jsx(G,{filename:t,className:"h-14 w-11 opacity-60"})});r=s.jsx("div",{className:"aspect-[400/265] w-full overflow-hidden rounded-lg border border-border/60 bg-muted/30",children:c}),e[0]=i,e[1]=t,e[2]=n,e[3]=r}else r=e[3];return r}function Pt(l){const e=N.c(24),t=l.onOpen;let n;e[0]!==l.filename?(n=s.jsx(G,{filename:l.filename,className:"h-8 w-6.5 shrink-0"}),e[0]=l.filename,e[1]=n):n=e[1];const i=l.filename;let r;e[2]!==l.updatedAt?(r=ee(l.updatedAt),e[2]=l.updatedAt,e[3]=r):r=e[3];let a;e[4]!==l.filename?(a=Pe(l.filename),e[4]=l.filename,e[5]=a):a=e[5];let c;e[6]!==l.downloadUrl||e[7]!==l.filename||e[8]!==l.onDelete?(c=s.jsx(_e,{downloadUrl:l.downloadUrl,filename:l.filename,onDelete:l.onDelete}),e[6]=l.downloadUrl,e[7]=l.filename,e[8]=l.onDelete,e[9]=c):c=e[9];let o;e[10]!==l.filename||e[11]!==n||e[12]!==r||e[13]!==a||e[14]!==c?(o=s.jsx(se,{icon:n,name:i,meta:r,subtitle:a,actions:c}),e[10]=l.filename,e[11]=n,e[12]=r,e[13]=a,e[14]=c,e[15]=o):o=e[15];let d;e[16]!==l.downloadUrl||e[17]!==l.filename||e[18]!==l.size?(d=s.jsx(zt,{filename:l.filename,size:l.size,downloadUrl:l.downloadUrl}),e[16]=l.downloadUrl,e[17]=l.filename,e[18]=l.size,e[19]=d):d=e[19];let u;return e[20]!==l.onOpen||e[21]!==o||e[22]!==d?(u=s.jsxs(te,{onOpen:t,children:[o,d]}),e[20]=l.onOpen,e[21]=o,e[22]=d,e[23]=u):u=e[23],u}function xe(l){const e=l?l.split("/").filter(Boolean):[],t=e[0]==="public",n=t?e[1]??null:null,i=t?n?`public-${n}`:null:e[0]??null,r=(t?e.slice(2):e.slice(1)).join("/");return{segments:e,volume:i,dirPath:r,isPublic:t,publicSet:n,readOnly:t}}function Y(l,e){return l.isPublic&&l.publicSet?`public/${l.publicSet}/${e}`:l.volume?`${l.volume}/${e}`:e}function T(l){const e=l.lastIndexOf("/");return e===-1?l:l.slice(e+1)}function Ut(l){const e=N.c(48),{previewPath:t,onClose:n}=l;let i;e[0]!==t?(i=xe(t),e[0]=t,e[1]=i):i=e[1];const r=i,{volume:a,dirPath:c}=r,{data:o,isPending:d}=mt(a,c),u=pt(a??"");let f,m,y,w,p,g,h,$,b,k,x,v;e[2]!==u||e[3]!==o||e[4]!==c||e[5]!==n||e[6]!==t?(w=T(c),y=o&&o.kind==="file"?{key:t,filename:w,size:o.size,downloadUrl:u(o.path)}:null,m=re,x=!0,e[19]!==n?(v=C=>{C||n()},e[19]=n,e[20]=v):v=e[20],f=oe,k="flex h-[88vh] w-[94vw] max-w-none! flex-col gap-0 overflow-hidden p-0 sm:max-w-5xl!",b="flex h-11 shrink-0 items-center gap-1 border-b border-border/60 py-1 pr-12 pl-2",p="flex min-w-0 flex-1 items-center gap-2 px-2",g=s.jsx(G,{filename:w,className:"h-4.5 w-3.5 shrink-0"}),e[21]!==w?(h=s.jsx(ae,{className:"truncate text-xs font-medium text-foreground",children:w}),e[21]=w,e[22]=h):h=e[22],$=y&&s.jsx("span",{className:"shrink-0 text-xs text-muted-foreground",children:Ue(y.size)}),e[2]=u,e[3]=o,e[4]=c,e[5]=n,e[6]=t,e[7]=f,e[8]=m,e[9]=y,e[10]=w,e[11]=p,e[12]=g,e[13]=h,e[14]=$,e[15]=b,e[16]=k,e[17]=x,e[18]=v):(f=e[7],m=e[8],y=e[9],w=e[10],p=e[11],g=e[12],h=e[13],$=e[14],b=e[15],k=e[16],x=e[17],v=e[18]);let F;e[23]!==p||e[24]!==g||e[25]!==h||e[26]!==$?(F=s.jsxs("div",{className:p,children:[g,h,$]}),e[23]=p,e[24]=g,e[25]=h,e[26]=$,e[27]=F):F=e[27];let S;e[28]!==y?(S=y&&s.jsxs(s.Fragment,{children:[s.jsxs(ye,{children:[s.jsx(we,{asChild:!0,children:s.jsx(P,{variant:"ghost",size:"icon",asChild:!0,children:s.jsx("a",{href:y.downloadUrl,download:y.filename,children:s.jsx(Se,{size:14})})})}),s.jsx(be,{side:"bottom",children:"Download"})]}),s.jsxs(ye,{children:[s.jsx(we,{asChild:!0,children:s.jsx(P,{variant:"ghost",size:"icon",onClick:()=>window.open(y.downloadUrl,"_blank","noopener"),children:s.jsx(ct,{size:14})})}),s.jsx(be,{side:"bottom",children:"Open in new tab"})]})]}),e[28]=y,e[29]=S):S=e[29];let D;e[30]!==F||e[31]!==S||e[32]!==b?(D=s.jsxs("div",{className:b,children:[F,S]}),e[30]=F,e[31]=S,e[32]=b,e[33]=D):D=e[33];let z;e[34]!==y||e[35]!==w||e[36]!==d?(z=s.jsx("div",{className:"relative min-h-0 flex-1 bg-background",children:y?s.jsx(dt,{file:y}):d?s.jsx(ft,{}):s.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2",children:[s.jsx(G,{filename:w,className:"h-7.5 w-6"}),s.jsx("span",{className:"text-sm text-muted-foreground",children:"This file is no longer available."})]})}),e[34]=y,e[35]=w,e[36]=d,e[37]=z):z=e[37];let O;e[38]!==f||e[39]!==D||e[40]!==z||e[41]!==k?(O=s.jsxs(f,{className:k,children:[D,z]}),e[38]=f,e[39]=D,e[40]=z,e[41]=k,e[42]=O):O=e[42];let j;return e[43]!==m||e[44]!==O||e[45]!==x||e[46]!==v?(j=s.jsx(m,{open:x,onOpenChange:v,children:O}),e[43]=m,e[44]=O,e[45]=x,e[46]=v,e[47]=j):j=e[47],j}function Tt(l){const e=N.c(37),{skillPath:t,onClose:n,onOpenFile:i,onBrowse:r}=l,a=xe(t),{volume:c,dirPath:o}=a,u=he()(c??"",`${o}/SKILL.md`),f=L({queryKey:U.fileText(u),queryFn:async()=>{const A=await fetch(u,{credentials:"include"});if(!A.ok)throw new Error(`fetch failed: ${A.status}`);return A.text()},staleTime:6e4,retry:!1}),m=Te(c??"",o);let y;e[0]!==o?(y=T(o),e[0]=o,e[1]=y):y=e[1];const w=y;let p;e[2]!==f.data?(p=f.data?Ee(f.data):null,e[2]=f.data,e[3]=p):p=e[3];const g=p,h=(m.data??[]).filter(At),$=re,b=!0;let k;e[4]!==n?(k=A=>{A||n()},e[4]=n,e[5]=k):k=e[5];const x=oe,v="flex h-[85vh] w-[92vw] flex-col gap-0 overflow-hidden p-0 sm:max-w-3xl!";let F;e[6]===Symbol.for("react.memo_cache_sentinel")?(F=s.jsx("div",{className:"flex size-10 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary",children:s.jsx(ze,{size:20})}),e[6]=F):F=e[6];const S=g?.name??w;let D;e[7]!==S?(D=s.jsx(ae,{className:"truncate text-sm font-medium text-foreground",children:S}),e[7]=S,e[8]=D):D=e[8];const z=g?.description??"Claude Code skill";let O;e[9]!==z?(O=s.jsx("p",{className:"line-clamp-2 text-xs text-muted-foreground",children:z}),e[9]=z,e[10]=O):O=e[10];let j;e[11]!==O||e[12]!==D?(j=s.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[D,O]}),e[11]=O,e[12]=D,e[13]=j):j=e[13];let C;e[14]!==r||e[15]!==t?(C=()=>r(t),e[14]=r,e[15]=t,e[16]=C):C=e[16];let B;e[17]===Symbol.for("react.memo_cache_sentinel")?(B=s.jsx(Oe,{size:14}),e[17]=B):B=e[17];let K;e[18]!==C?(K=s.jsxs(P,{variant:"outline",size:"sm",className:"shrink-0",onClick:C,children:[B,"Browse files"]}),e[18]=C,e[19]=K):K=e[19];let I;e[20]!==j||e[21]!==K?(I=s.jsxs("div",{className:"flex shrink-0 items-start gap-3 border-b border-border/60 py-4 pr-12 pl-5",children:[F,j,K]}),e[20]=j,e[21]=K,e[22]=I):I=e[22];let V;e[23]!==f.isError||e[24]!==f.isPending||e[25]!==g||e[26]!==t?(V=s.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto",children:f.isPending?s.jsxs("div",{className:"flex flex-col gap-2 p-6",children:[s.jsx(W,{className:"h-5 w-1/2"}),s.jsx(W,{className:"h-3 w-full"}),s.jsx(W,{className:"h-3 w-5/6"}),s.jsx(W,{className:"h-3 w-2/3"})]}):f.isError||!g?s.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:"This skill is no longer available."}):s.jsx("div",{className:"prose prose-sm dark:prose-invert max-w-none px-6 py-5",children:s.jsx(at,{id:`skill-preview-${t}`,text:g.body})})}),e[23]=f.isError,e[24]=f.isPending,e[25]=g,e[26]=t,e[27]=V):V=e[27];const ne=h.length>0&&s.jsxs("div",{className:"flex max-h-44 shrink-0 flex-col gap-1 overflow-y-auto border-t border-border/60 px-3 py-2.5",children:[s.jsx("p",{className:"px-2 text-xs text-muted-foreground",children:"Files in this skill"}),h.map(A=>s.jsxs("button",{type:"button",onClick:()=>i(Y(a,A.path)),className:"flex items-center gap-2 rounded-lg px-2 py-1.5 text-left hover:bg-muted/60",children:[s.jsx(G,{filename:T(A.path),className:"h-5 w-4 shrink-0"}),s.jsx("span",{className:"min-w-0 flex-1 truncate text-[13px] text-foreground",children:T(A.path)}),s.jsx("span",{className:"shrink-0 text-xs text-muted-foreground",children:Ue(A.size)})]},A.path))]});let H;e[28]!==x||e[29]!==I||e[30]!==V||e[31]!==ne?(H=s.jsxs(x,{className:v,children:[I,V,ne]}),e[28]=x,e[29]=I,e[30]=V,e[31]=ne,e[32]=H):H=e[32];let J;return e[33]!==$||e[34]!==H||e[35]!==k?(J=s.jsx($,{open:b,onOpenChange:k,children:H}),e[33]=$,e[34]=H,e[35]=k,e[36]=J):J=e[36],J}function At(l){return l.kind==="file"&&T(l.path)!=="SKILL.md"}const Le=[{id:"uploads",description:"Files your team uploads",glyph:De},{id:"outputs",description:"Agent run outputs",glyph:Ge}],Ne=3;function M(l){const e=N.c(2),{children:t}=l;let n;return e[0]!==t?(n=s.jsx("p",{className:"text-[13px] text-foreground",children:t}),e[0]=t,e[1]=n):n=e[1],n}function q(l){const e=N.c(2),{children:t}=l;let n;return e[0]!==t?(n=s.jsx("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:t}),e[0]=t,e[1]=n):n=e[1],n}function pe(l){const e=N.c(2),{rows:t}=l,n=t===void 0?1:t;let i;return e[0]!==n?(i=s.jsx(q,{children:Array.from({length:n*3},Et)}),e[0]=n,e[1]=i):i=e[1],i}function Et(l,e){return s.jsx(W,{className:"h-16 rounded-2xl"},e)}function ge(l){const e=N.c(2),{children:t}=l;let n;return e[0]!==t?(n=s.jsx("p",{className:"text-sm text-muted-foreground",children:t}),e[0]=t,e[1]=n):n=e[1],n}function _t(){const l=N.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(P,{variant:"secondary",size:"sm",className:"h-7 px-2.5 text-xs",children:"All"}),s.jsx(P,{variant:"ghost",size:"sm",className:"h-7 px-2.5 text-xs",disabled:!0,title:"Coming soon",children:"Shared"}),s.jsx(P,{variant:"ghost",size:"sm",className:"h-7 px-2.5 text-xs",disabled:!0,title:"Coming soon",children:"Private"})]}),l[0]=e):e=l[0],e}function qt(l){const e=N.c(6),{volume:t,description:n,glyph:i,onOpen:r}=l,a=ht(t),c=a.data?`${a.data.files} files`:void 0;let o;return e[0]!==n||e[1]!==i||e[2]!==r||e[3]!==c||e[4]!==t?(o=s.jsx(le,{name:t,meta:c,subtitle:n,glyph:i,onOpen:r}),e[0]=n,e[1]=i,e[2]=r,e[3]=c,e[4]=t,e[5]=o):o=e[5],o}function Lt(l){const e=N.c(8),{segments:t,onNavigate:n}=l;let i;e[0]!==n?(i=s.jsx("button",{type:"button",className:"text-muted-foreground hover:text-foreground hover:underline",onClick:()=>n(""),children:"Library"}),e[0]=n,e[1]=i):i=e[1];let r;e[2]!==n||e[3]!==t?(r=t.map((c,o)=>{const d=t.slice(0,o+1).join("/"),u=o===t.length-1;return s.jsxs("span",{className:"flex min-w-0 items-center gap-1",children:[s.jsx(Ve,{size:12,className:"shrink-0 text-muted-foreground"}),u?s.jsx("span",{className:"truncate font-medium text-foreground",children:c}):s.jsx("button",{type:"button",className:"truncate text-muted-foreground hover:text-foreground hover:underline",onClick:()=>n(d),children:c})]},d)}),e[2]=n,e[3]=t,e[4]=r):r=e[4];let a;return e[5]!==i||e[6]!==r?(a=s.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-1 text-sm",children:[i,r]}),e[5]=i,e[6]=r,e[7]=a):a=e[7],a}function Mt(l){const e=N.c(18),{onOpenDir:t,onOpenFile:n,onDelete:i}=l,r=xt(),a=Ae(),c=he();let o;if(e[0]!==c||e[1]!==i||e[2]!==t||e[3]!==n||e[4]!==a.data?.length||e[5]!==r.data||e[6]!==r.isPending){const d=r.data??[],u=d.slice(0,Ne),f=d.slice(Ne);let m,y;e[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx(M,{children:"Folders"}),y=s.jsx(_t,{}),e[8]=m,e[9]=y):(m=e[8],y=e[9]);let w;e[10]!==t?(w=Le.map(h=>s.jsx(qt,{volume:h.id,description:h.description,glyph:h.glyph,onOpen:()=>t(h.id)},h.id)),e[10]=t,e[11]=w):w=e[11];let p;e[12]!==t||e[13]!==a.data?.length?(p=(a.data?.length??0)>0&&s.jsx(le,{name:"public",meta:`${a.data?.length} sets`,subtitle:"Curated skill sets — read-only",glyph:He,readOnly:!0,onOpen:()=>t("public")}),e[12]=t,e[13]=a.data?.length,e[14]=p):p=e[14];let g;e[15]!==w||e[16]!==p?(g=s.jsxs("div",{className:"flex flex-col gap-3",children:[m,y,s.jsxs(q,{children:[w,p]})]}),e[15]=w,e[16]=p,e[17]=g):g=e[17],o=s.jsxs(s.Fragment,{children:[r.isPending?s.jsxs("div",{className:"flex flex-col gap-3",children:[s.jsx(M,{children:"Recently added"}),s.jsx(pe,{})]}):u.length>0?s.jsxs("div",{className:"flex flex-col gap-3",children:[s.jsx(M,{children:"Recently added"}),s.jsx(q,{children:u.map(h=>s.jsx(Pt,{filename:T(h.path),updatedAt:h.updatedAt,size:h.size,downloadUrl:c(h.volume,h.path),onOpen:()=>n(`${h.volume}/${h.path}`),onDelete:()=>i({volume:h.volume,path:h.path,kind:"file"})},`${h.volume}/${h.path}`))})]}):s.jsx(ge,{children:"No files yet — upload one, or ask an agent to produce something."}),g,f.length>0&&s.jsxs("div",{className:"flex flex-col gap-3",children:[s.jsx(M,{children:"All files"}),s.jsx(q,{children:f.map(h=>s.jsx(qe,{filename:T(h.path),updatedAt:h.updatedAt,downloadUrl:c(h.volume,h.path),onOpen:()=>n(`${h.volume}/${h.path}`),onDelete:()=>i({volume:h.volume,path:h.path,kind:"file"})},`${h.volume}/${h.path}`))})]})]}),e[0]=c,e[1]=i,e[2]=t,e[3]=n,e[4]=a.data?.length,e[5]=r.data,e[6]=r.isPending,e[7]=o}else o=e[7];return o}function Rt(l){const e=N.c(11),{onOpenDir:t}=l,n=Ae();if(n.isPending){let o;return e[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(pe,{}),e[0]=o):o=e[0],o}let i;e[1]!==n.data?(i=n.data??[],e[1]=n.data,e[2]=i):i=e[2];const r=i;if(r.length===0){let o;return e[3]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(ge,{children:"No public skill sets are configured."}),e[3]=o):o=e[3],o}let a;if(e[4]!==t||e[5]!==r){let o;e[7]!==t?(o=d=>s.jsx(le,{name:d,subtitle:"Read-only",readOnly:!0,onOpen:()=>t(`public/${d}`)},d),e[7]=t,e[8]=o):o=e[8],a=r.map(o),e[4]=t,e[5]=r,e[6]=a}else a=e[6];let c;return e[9]!==a?(c=s.jsx(q,{children:a}),e[9]=a,e[10]=c):c=e[10],c}function Bt(l){const e=N.c(25),{location:t,onOpenDir:n,onOpenFile:i,onOpenSkill:r,onDelete:a}=l,c=t.volume??"",o=Te(c,t.dirPath),d=he();if(o.isPending){let p;return e[0]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsx(pe,{rows:2}),e[0]=p):p=e[0],p}if(o.isError){const p=o.error instanceof Error?o.error.message:"Failed to load";let g;return e[1]!==p?(g=s.jsx("p",{className:"text-sm text-destructive",children:p}),e[1]=p,e[2]=g):g=e[2],g}let u,f,m,y;if(e[3]!==d||e[4]!==o.data||e[5]!==t||e[6]!==a||e[7]!==n||e[8]!==i||e[9]!==r||e[10]!==c){y=Symbol.for("react.early_return_sentinel");e:{const p=o.data??[],g=p.filter(Vt),h=p.filter(It),$=p.filter(Kt);if(p.length===0){const x=t.readOnly?"Empty — this read-only set syncs from its GitHub source.":"Empty folder — upload a file or create a folder to get started.";let v;e[15]!==x?(v=s.jsx(ge,{children:x}),e[15]=x,e[16]=v):v=e[16],y=v;break e}let b;e[17]!==t.readOnly||e[18]!==a||e[19]!==c?(b=x=>t.readOnly?void 0:()=>a({volume:c,path:x.path,kind:x.kind}),e[17]=t.readOnly,e[18]=a,e[19]=c,e[20]=b):b=e[20];const k=b;u=g.length>0&&s.jsxs("div",{className:"flex flex-col gap-3",children:[s.jsx(M,{children:"Skills"}),s.jsx(q,{children:g.map(x=>s.jsx(Ct,{dirName:T(x.path),updatedAt:x.updatedAt,skillMdUrl:d(c,`${x.path}/SKILL.md`),onOpen:()=>r(Y(t,x.path)),onBrowse:()=>n(Y(t,x.path)),onDelete:k(x)},x.path))})]}),f=h.length>0&&s.jsxs("div",{className:"flex flex-col gap-3",children:[s.jsx(M,{children:"Folders"}),s.jsx(q,{children:h.map(x=>s.jsx(le,{name:T(x.path),meta:ee(x.updatedAt),readOnly:t.readOnly,onOpen:()=>n(Y(t,x.path)),onDelete:k(x)},x.path))})]}),m=$.length>0&&s.jsxs("div",{className:"flex flex-col gap-3",children:[s.jsx(M,{children:"Files"}),s.jsx(q,{children:$.map(x=>s.jsx(qe,{filename:T(x.path),updatedAt:x.updatedAt,downloadUrl:d(c,x.path),onOpen:()=>i(Y(t,x.path)),onDelete:k(x)},x.path))})]})}e[3]=d,e[4]=o.data,e[5]=t,e[6]=a,e[7]=n,e[8]=i,e[9]=r,e[10]=c,e[11]=u,e[12]=f,e[13]=m,e[14]=y}else u=e[11],f=e[12],m=e[13],y=e[14];if(y!==Symbol.for("react.early_return_sentinel"))return y;let w;return e[21]!==u||e[22]!==f||e[23]!==m?(w=s.jsxs(s.Fragment,{children:[u,f,m]}),e[21]=u,e[22]=f,e[23]=m,e[24]=w):w=e[24],w}function Kt(l){return l.kind==="file"}function It(l){return l.kind==="dir"&&!l.hasSkill}function Vt(l){return l.kind==="dir"&&l.hasSkill}function $e(){const{org:l}=E(),e=Fe(),t=Be(),n=Ke({strict:!1}),i=n.path??"",r=xe(i),a=r.segments.length===0,c=(j,C)=>t({to:".",search:B=>({...B,[j]:C||void 0})}),o=j=>c("path",j),d=j=>c("preview",j),u=j=>c("skill",j),f=j=>t({to:".",search:C=>({...C,path:j,skill:void 0})}),[m,y]=X.useState(null),[w,p]=X.useState(!1),[g,h]=X.useState(""),$=X.useRef(null),b=r.readOnly?null:r.volume??"uploads",k=r.volume?r.dirPath:"",{upload:x,mkdir:v}=ve(b??"uploads"),{remove:F}=ve(m?.volume??"uploads");async function S(j){if(!(!b||!j||j.length===0))try{await x.mutateAsync({dir:k,files:[...j]}),Q.success(j.length===1?`Uploaded ${j[0]?.name}`:`Uploaded ${j.length} files`)}catch(C){Q.error(C instanceof Error?C.message:"Upload failed")}finally{$.current&&($.current.value="")}}async function D(){const j=g.trim();if(!(!b||!j))try{await v.mutateAsync(k?`${k}/${j}`:j),Q.success(`Folder "${j}" created`),p(!1),h("")}catch(C){Q.error(C instanceof Error?C.message:"Failed to create folder")}}async function z(){if(!m)return;const j=m;try{await F.mutateAsync(j.path),Q.success(`Deleted ${T(j.path)}`)}catch(C){Q.error(C instanceof Error?C.message:"Delete failed")}finally{y(null)}}function O(){for(const j of Le)e.invalidateQueries({queryKey:U.orgFsVolume(l.id,j.id)});r.volume&&e.invalidateQueries({queryKey:U.orgFsVolume(l.id,r.volume)}),e.invalidateQueries({queryKey:U.orgFsRecent(l.id)}),e.invalidateQueries({queryKey:U.orgFsPublicSets(l.id)})}return s.jsxs("div",{className:"h-full overflow-y-auto",children:[s.jsxs("div",{className:"mx-auto flex w-full max-w-[900px] flex-col gap-10 px-6 py-10 lg:px-10",children:[s.jsxs("div",{className:"flex flex-col gap-2",children:[!a&&s.jsx(Lt,{segments:r.segments,onNavigate:o}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("h1",{className:"min-w-0 flex-1 truncate text-xl font-medium text-foreground",children:a?"Library":r.segments.at(-1)??"Library"}),s.jsx(P,{variant:"ghost",size:"icon",onClick:O,"aria-label":"Refresh",children:s.jsx(Ie,{size:14})}),!a&&b&&s.jsxs(P,{variant:"outline",size:"sm",onClick:()=>p(!0),children:[s.jsx(Qe,{size:14}),"New folder"]}),r.readOnly?s.jsxs("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[s.jsx(Ce,{size:12}),"Read-only"]}):s.jsxs(P,{size:"sm",disabled:x.isPending,onClick:()=>$.current?.click(),children:[s.jsx(De,{size:14}),x.isPending?"Uploading…":"Upload file"]}),s.jsx("input",{ref:$,type:"file",multiple:!0,className:"hidden",onChange:j=>{S(j.target.files)}})]})]}),a?s.jsx(Mt,{onOpenDir:o,onOpenFile:d,onDelete:y}):r.volume===null?s.jsx(Rt,{onOpenDir:o}):s.jsx(Bt,{location:r,onOpenDir:o,onOpenFile:d,onOpenSkill:u,onDelete:y},r.volume)]}),n.preview?s.jsx(Ut,{previewPath:n.preview,onClose:()=>c("preview",null)}):n.skill?s.jsx(Tt,{skillPath:n.skill,onClose:()=>c("skill",null),onOpenFile:d,onBrowse:f}):null,s.jsx(re,{open:w,onOpenChange:p,children:s.jsxs(oe,{children:[s.jsxs(nt,{children:[s.jsx(ae,{children:"New folder"}),s.jsxs(it,{children:["Create a folder in ",i||"the library","."]})]}),s.jsx(ot,{autoFocus:!0,placeholder:"folder-name",value:g,onChange:j=>h(j.target.value),onKeyDown:j=>{j.key==="Enter"&&D()}}),s.jsxs(rt,{children:[s.jsx(P,{variant:"outline",onClick:()=>p(!1),children:"Cancel"}),s.jsx(P,{disabled:!g.trim()||v.isPending,onClick:()=>{D()},children:"Create"})]})]})}),s.jsx(We,{open:m!==null,onOpenChange:j=>{j||y(null)},children:s.jsxs(Ye,{children:[s.jsxs(Ze,{children:[s.jsxs(Je,{children:["Delete ",m?T(m.path):"","?"]}),s.jsx(et,{children:m?.kind==="dir"?"The folder and everything inside it will be deleted for the whole organization. Sandboxes see this change within seconds.":"The file will be deleted for the whole organization. Sandboxes see this change within seconds."})]}),s.jsxs(tt,{children:[s.jsx(st,{children:"Cancel"}),s.jsx(lt,{onClick:()=>{z()},children:"Delete"})]})]})})]})}function hs(){const l=N.c(2);if(Xe()){let n;return l[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden bg-background",children:s.jsx(je,{children:s.jsx($e,{})})}),l[0]=n):n=l[0],n}let t;return l[1]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx("div",{className:"min-h-0 flex-1 pt-0 pr-1 pb-1 pl-0",children:s.jsx("div",{className:"h-full p-0.5 pt-0.25",children:s.jsx("div",{className:"card-shadow flex h-full flex-col overflow-hidden rounded-[0.75rem] bg-background",children:s.jsx(je,{children:s.jsx($e,{})})})})}),l[1]=t):t=l[1],t}export{hs as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{dW as se,e as I,j as o,B as te,l as Yt,b1 as We,dX as Gs,r as X,q as oe,c as $,g as Qs,F as Zt,dY as Nt,dZ as es,o as Ys,v as Zs,d_ as en,d$ as tn}from"./index-CJoBkEf_.js";import{D as sn,F as nn,B as on}from"./index-Ck3k86Ip.js";import{h as De,i as rn,u as ae}from"./constants-P1xnRFeX.js";import{a as ts}from"./use-virtual-mcp-C09vm-BM.js";import{M as Oe}from"./monaco-editor-B2MBxzPo.js";import{A as ln,c as cn,a as an,b as un,e as dn,R as zt,d as fn}from"./accordion-BrfX2IfA.js";import{B as le}from"./badge-BYAYJbYP.js";import{b as xt,d as ht,c as Ze,a as gt,S as bt}from"./select-D3xFKLhW.js";import{S as et}from"./spinner-BLcfraim.js";import{V as mn}from"./view-mode-toggle-CoifNzqg.js";import{ak as pn,o as xn,i as hn,y as ss,al as gn,a3 as bn,s as jn,am as ns,aa as Sn,a7 as os,an as yn,ao as wn,a5 as ft,ap as vn}from"./agent-icon-ExlCX9f5.js";import{i as rs}from"./Play-CA-oDPY7.js";import{b as Nn,a as kn,V as Ge}from"./layout-hMbyvZRj.js";import{c as is,b as ls,T as cs,a as as}from"./tooltip-BseNApEN.js";import{u as In,a as _n}from"./use-connection-COB3wZyv.js";import{u as kt,d as It,b as us}from"./use-mcp-tools-BdUmFkbH.js";import{b as Cn,c as Tn,e as En,d as $n,a as On,D as Mn}from"./dialog-C3j-c3SR.js";import"./index-C4kuSARI.js";import{N as Rn,m as Ln,n as zn,o as Ke,P as Wn,i as An,R as Pn,u as Dn,p as Fn,e as Wt,d as Vn,q as qn,S as Hn}from"./scroll-area-DCO9LjjC.js";import{S as Un}from"./index-NioO90_M.js";import{H as Kn,a as Bn,b as Xn}from"./hover-card-B_RJCrCA.js";import{D as ds,a as fs,b as ms,c as Qe}from"./dropdown-menu-DKiorR9d.js";import{s as Jn}from"./Plus-DgS5eNSe.js";import{a as ps}from"./Tool01-BcHwzAg_.js";import{i as Fe}from"./Check-8AgR6ZjG.js";import{s as _t}from"./XClose-BfJTW_HK.js";import{I as Ct}from"./integration-icon-DYz5eywh.js";import"./index-vNb1uvqd.js";import{i as xs}from"./X-FDfBE4i9.js";import{u as hs,a as Gn}from"./use-collections-C-e494pb.js";import{E as gs}from"./empty-state-CsQfijIL.js";import{c as Qn}from"./create-sse-subscription-BS5983N4.js";import{I as At}from"./input-BZDQfdYn.js";const bs=se("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);const js=se("Braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);const tt=se("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const st=se("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);const Yn=se("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const Ss=se("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);const Zn=se("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"}]]);const ys=se("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const ws=se("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);const vs=se("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);const eo=se("OctagonAlert",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]]);const Ns=se("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const ks=se("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const to=se("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const Is=se("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]);function so(t){const e=I.c(15),{onSave:n,onUndo:s,isDirty:i,isSaving:r,saveLabel:l,undoLabel:c}=t,a=l===void 0?"Save":l,u=c===void 0?"Undo":c;if(!i)return null;let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d=o.jsx(pn,{size:14}),e[0]=d):d=e[0];let f;e[1]!==r||e[2]!==s||e[3]!==u?(f=o.jsxs(te,{variant:"outline",size:"sm",onClick:s,disabled:r,"aria-label":u,children:[d,u]}),e[1]=r,e[2]=s,e[3]=u,e[4]=f):f=e[4];let m;e[5]!==r?(m=r?o.jsx(Yt,{size:14,className:"animate-spin"}):o.jsx(xn,{size:14}),e[5]=r,e[6]=m):m=e[6];let p;e[7]!==r||e[8]!==n||e[9]!==a||e[10]!==m?(p=o.jsxs(te,{variant:"default",size:"sm",onClick:n,disabled:r,"aria-label":a,children:[m,a]}),e[7]=r,e[8]=n,e[9]=a,e[10]=m,e[11]=p):p=e[11];let x;return e[12]!==f||e[13]!==p?(x=o.jsxs(o.Fragment,{children:[f,p]}),e[12]=f,e[13]=p,e[14]=x):x=e[14],x}const Pt=t=>{let e;const n=new Set,s=(u,d)=>{const f=typeof u=="function"?u(e):u;if(!Object.is(f,e)){const m=e;e=d??(typeof f!="object"||f===null)?f:Object.assign({},e,f),n.forEach(p=>p(e,m))}},i=()=>e,c={setState:s,getState:i,getInitialState:()=>a,subscribe:u=>(n.add(u),()=>n.delete(u))},a=e=t(s,i,c);return c},Tt=(t=>t?Pt(t):Pt),no=t=>t;function jt(t,e=no){const n=We.useSyncExternalStore(t.subscribe,We.useCallback(()=>e(t.getState()),[t,e]),We.useCallback(()=>e(t.getInitialState()),[t,e]));return We.useDebugValue(n),n}const oo=t=>{const e=Tt(t),n=s=>jt(e,s);return Object.assign(n,e),n},ro=(t=>oo);function _s(t,e){let n;try{n=t()}catch{return}return{getItem:i=>{var r;const l=a=>a===null?null:JSON.parse(a,void 0),c=(r=n.getItem(i))!=null?r:null;return c instanceof Promise?c.then(l):l(c)},setItem:(i,r)=>n.setItem(i,JSON.stringify(r,void 0)),removeItem:i=>n.removeItem(i)}}const St=t=>e=>{try{const n=t(e);return n instanceof Promise?n:{then(s){return St(s)(n)},catch(s){return this}}}catch(n){return{then(s){return this},catch(s){return St(s)(n)}}}},io=(t,e)=>(n,s,i)=>{let r={storage:_s(()=>window.localStorage),partialize:g=>g,version:0,merge:(g,b)=>({...b,...g}),...e},l=!1,c=0;const a=new Set,u=new Set;let d=r.storage;if(!d)return t((...g)=>{console.warn(`[zustand persist middleware] Unable to update item '${r.name}', the given storage is currently unavailable.`),n(...g)},s,i);const f=()=>{const g=r.partialize({...s()});return d.setItem(r.name,{state:g,version:r.version})},m=i.setState;i.setState=(g,b)=>(m(g,b),f());const p=t((...g)=>(n(...g),f()),s,i);i.getInitialState=()=>p;let x;const h=()=>{var g,b;if(!d)return;const S=++c;l=!1,a.forEach(y=>{var j;return y((j=s())!=null?j:p)});const w=((b=r.onRehydrateStorage)==null?void 0:b.call(r,(g=s())!=null?g:p))||void 0;return St(d.getItem.bind(d))(r.name).then(y=>{if(y)if(typeof y.version=="number"&&y.version!==r.version){if(r.migrate){const j=r.migrate(y.state,y.version);return j instanceof Promise?j.then(v=>[!0,v]):[!0,j]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,y.state];return[!1,void 0]}).then(y=>{var j;if(S!==c)return;const[v,N]=y;if(x=r.merge(N,(j=s())!=null?j:p),n(x,!0),v)return f()}).then(()=>{S===c&&(w?.(s(),void 0),x=s(),l=!0,u.forEach(y=>y(x)))}).catch(y=>{S===c&&w?.(void 0,y)})};return i.persist={setOptions:g=>{r={...r,...g},g.storage&&(d=g.storage)},clearStorage:()=>{d?.removeItem(r.name)},getOptions:()=>r,rehydrate:()=>h(),hasHydrated:()=>l,onHydrate:g=>(a.add(g),()=>{a.delete(g)}),onFinishHydration:g=>(u.add(g),()=>{u.delete(g)})},r.skipHydration||h(),x||p},Cs=io,{useSyncExternalStoreWithSelector:lo}=Gs,co=t=>t;function ao(t,e=co,n){const s=lo(t.subscribe,t.getState,t.getInitialState,e,n);return We.useDebugValue(s),s}const Dt=t=>Symbol.iterator in t,Ft=t=>"entries"in t,Vt=(t,e)=>{const n=t instanceof Map?t:new Map(t.entries()),s=e instanceof Map?e:new Map(e.entries());if(n.size!==s.size)return!1;for(const[i,r]of n)if(!s.has(i)||!Object.is(r,s.get(i)))return!1;return!0},uo=(t,e)=>{const n=t[Symbol.iterator](),s=e[Symbol.iterator]();let i=n.next(),r=s.next();for(;!i.done&&!r.done;){if(!Object.is(i.value,r.value))return!1;i=n.next(),r=s.next()}return!!i.done&&!!r.done};function fo(t,e){return Object.is(t,e)?!0:typeof t!="object"||t===null||typeof e!="object"||e===null||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e)?!1:Dt(t)&&Dt(e)?Ft(t)&&Ft(e)?Vt(t,e):uo(t,e):Vt({entries:()=>Object.entries(t)},{entries:()=>Object.entries(e)})}function Ts(t,e="Output"){if(!t)return`interface ${e} {}`;function n(r){if(!r||typeof r!="object")return"unknown";const l=r.type;if(Array.isArray(l))return l.map(c=>s(c)).join(" | ");switch(l){case"string":return r.enum?r.enum.map(c=>`"${c}"`).join(" | "):"string";case"number":case"integer":return"number";case"boolean":return"boolean";case"null":return"null";case"array":{const c=r.items;return c?`${n(c)}[]`:"unknown[]"}case"object":return i(r);default:return r.anyOf?r.anyOf.map(n).join(" | "):r.oneOf?r.oneOf.map(n).join(" | "):r.allOf?r.allOf.map(n).join(" & "):"unknown"}}function s(r){switch(r){case"string":return"string";case"number":case"integer":return"number";case"boolean":return"boolean";case"null":return"null";default:return"unknown"}}function i(r){const l=r.properties;if(!l)return"Record<string, unknown>";const c=new Set(r.required||[]);return`{
|
|
1
|
+
import{dW as se,e as I,j as o,B as te,l as Yt,b1 as We,dX as Gs,r as X,q as oe,c as $,g as Qs,F as Zt,dY as Nt,dZ as es,o as Ys,v as Zs,d_ as en,d$ as tn}from"./index-DoLgm5xJ.js";import{D as sn,F as nn,B as on}from"./index-a11Lx-OW.js";import{h as De,i as rn,u as ae}from"./constants-h1Hu02Pl.js";import{a as ts}from"./use-virtual-mcp-C5RbeZo0.js";import{M as Oe}from"./monaco-editor-DtMDBznS.js";import{A as ln,c as cn,a as an,b as un,e as dn,R as zt,d as fn}from"./accordion-Dk7Q-28t.js";import{B as le}from"./badge-Dxvv_o2R.js";import{b as xt,d as ht,c as Ze,a as gt,S as bt}from"./select-BqVzUjvA.js";import{S as et}from"./spinner-D3DwAv1t.js";import{V as mn}from"./view-mode-toggle-BM4piPkb.js";import{ak as pn,o as xn,i as hn,y as ss,al as gn,a5 as bn,s as jn,am as ns,ab as Sn,M as os,an as yn,ao as wn,a7 as ft,ap as vn}from"./agent-icon-DJnCVbR0.js";import{i as rs}from"./Play-C9o4InoB.js";import{b as Nn,a as kn,V as Ge}from"./layout-BONESzv4.js";import{c as is,b as ls,T as cs,a as as}from"./tooltip-C4Mvcc3-.js";import{u as In,a as _n}from"./use-connection-BFK8HgLm.js";import{u as kt,d as It,b as us}from"./use-mcp-tools-CQC_DvOV.js";import{b as Cn,c as Tn,e as En,d as $n,a as On,D as Mn}from"./dialog-C-asYC2o.js";import"./index-Dvc_l9fe.js";import{N as Rn,m as Ln,n as zn,o as Ke,P as Wn,i as An,R as Pn,u as Dn,p as Fn,e as Wt,d as Vn,q as qn,S as Hn}from"./scroll-area-BhZZYQyk.js";import{S as Un}from"./index-BLjO-ihk.js";import{H as Kn,a as Bn,b as Xn}from"./hover-card-Bi21pBU4.js";import{D as ds,a as fs,b as ms,c as Qe}from"./dropdown-menu-DLTe8MWs.js";import{s as Jn}from"./Plus-DdlGCl-J.js";import{b as ps}from"./Tool01-B3nr_Qai.js";import{i as Fe}from"./Check-B7DufF9O.js";import{s as _t}from"./XClose-CpZzpgAq.js";import{I as Ct}from"./integration-icon-DOg8lUEK.js";import"./index-Dh4s8pMn.js";import{i as xs}from"./X-DEXMke5_.js";import{u as hs,a as Gn}from"./use-collections-0elTitFK.js";import{E as gs}from"./empty-state-DDTXMCO_.js";import{c as Qn}from"./create-sse-subscription-BS5983N4.js";import{I as At}from"./input-DKgzjTqx.js";const bs=se("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);const js=se("Braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);const tt=se("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const st=se("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);const Yn=se("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const Ss=se("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);const Zn=se("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"}]]);const ys=se("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const ws=se("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);const vs=se("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);const eo=se("OctagonAlert",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]]);const Ns=se("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const ks=se("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const to=se("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const Is=se("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]);function so(t){const e=I.c(15),{onSave:n,onUndo:s,isDirty:i,isSaving:r,saveLabel:l,undoLabel:c}=t,a=l===void 0?"Save":l,u=c===void 0?"Undo":c;if(!i)return null;let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d=o.jsx(pn,{size:14}),e[0]=d):d=e[0];let f;e[1]!==r||e[2]!==s||e[3]!==u?(f=o.jsxs(te,{variant:"outline",size:"sm",onClick:s,disabled:r,"aria-label":u,children:[d,u]}),e[1]=r,e[2]=s,e[3]=u,e[4]=f):f=e[4];let m;e[5]!==r?(m=r?o.jsx(Yt,{size:14,className:"animate-spin"}):o.jsx(xn,{size:14}),e[5]=r,e[6]=m):m=e[6];let p;e[7]!==r||e[8]!==n||e[9]!==a||e[10]!==m?(p=o.jsxs(te,{variant:"default",size:"sm",onClick:n,disabled:r,"aria-label":a,children:[m,a]}),e[7]=r,e[8]=n,e[9]=a,e[10]=m,e[11]=p):p=e[11];let x;return e[12]!==f||e[13]!==p?(x=o.jsxs(o.Fragment,{children:[f,p]}),e[12]=f,e[13]=p,e[14]=x):x=e[14],x}const Pt=t=>{let e;const n=new Set,s=(u,d)=>{const f=typeof u=="function"?u(e):u;if(!Object.is(f,e)){const m=e;e=d??(typeof f!="object"||f===null)?f:Object.assign({},e,f),n.forEach(p=>p(e,m))}},i=()=>e,c={setState:s,getState:i,getInitialState:()=>a,subscribe:u=>(n.add(u),()=>n.delete(u))},a=e=t(s,i,c);return c},Tt=(t=>t?Pt(t):Pt),no=t=>t;function jt(t,e=no){const n=We.useSyncExternalStore(t.subscribe,We.useCallback(()=>e(t.getState()),[t,e]),We.useCallback(()=>e(t.getInitialState()),[t,e]));return We.useDebugValue(n),n}const oo=t=>{const e=Tt(t),n=s=>jt(e,s);return Object.assign(n,e),n},ro=(t=>oo);function _s(t,e){let n;try{n=t()}catch{return}return{getItem:i=>{var r;const l=a=>a===null?null:JSON.parse(a,void 0),c=(r=n.getItem(i))!=null?r:null;return c instanceof Promise?c.then(l):l(c)},setItem:(i,r)=>n.setItem(i,JSON.stringify(r,void 0)),removeItem:i=>n.removeItem(i)}}const St=t=>e=>{try{const n=t(e);return n instanceof Promise?n:{then(s){return St(s)(n)},catch(s){return this}}}catch(n){return{then(s){return this},catch(s){return St(s)(n)}}}},io=(t,e)=>(n,s,i)=>{let r={storage:_s(()=>window.localStorage),partialize:g=>g,version:0,merge:(g,b)=>({...b,...g}),...e},l=!1,c=0;const a=new Set,u=new Set;let d=r.storage;if(!d)return t((...g)=>{console.warn(`[zustand persist middleware] Unable to update item '${r.name}', the given storage is currently unavailable.`),n(...g)},s,i);const f=()=>{const g=r.partialize({...s()});return d.setItem(r.name,{state:g,version:r.version})},m=i.setState;i.setState=(g,b)=>(m(g,b),f());const p=t((...g)=>(n(...g),f()),s,i);i.getInitialState=()=>p;let x;const h=()=>{var g,b;if(!d)return;const S=++c;l=!1,a.forEach(y=>{var j;return y((j=s())!=null?j:p)});const w=((b=r.onRehydrateStorage)==null?void 0:b.call(r,(g=s())!=null?g:p))||void 0;return St(d.getItem.bind(d))(r.name).then(y=>{if(y)if(typeof y.version=="number"&&y.version!==r.version){if(r.migrate){const j=r.migrate(y.state,y.version);return j instanceof Promise?j.then(v=>[!0,v]):[!0,j]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,y.state];return[!1,void 0]}).then(y=>{var j;if(S!==c)return;const[v,N]=y;if(x=r.merge(N,(j=s())!=null?j:p),n(x,!0),v)return f()}).then(()=>{S===c&&(w?.(s(),void 0),x=s(),l=!0,u.forEach(y=>y(x)))}).catch(y=>{S===c&&w?.(void 0,y)})};return i.persist={setOptions:g=>{r={...r,...g},g.storage&&(d=g.storage)},clearStorage:()=>{d?.removeItem(r.name)},getOptions:()=>r,rehydrate:()=>h(),hasHydrated:()=>l,onHydrate:g=>(a.add(g),()=>{a.delete(g)}),onFinishHydration:g=>(u.add(g),()=>{u.delete(g)})},r.skipHydration||h(),x||p},Cs=io,{useSyncExternalStoreWithSelector:lo}=Gs,co=t=>t;function ao(t,e=co,n){const s=lo(t.subscribe,t.getState,t.getInitialState,e,n);return We.useDebugValue(s),s}const Dt=t=>Symbol.iterator in t,Ft=t=>"entries"in t,Vt=(t,e)=>{const n=t instanceof Map?t:new Map(t.entries()),s=e instanceof Map?e:new Map(e.entries());if(n.size!==s.size)return!1;for(const[i,r]of n)if(!s.has(i)||!Object.is(r,s.get(i)))return!1;return!0},uo=(t,e)=>{const n=t[Symbol.iterator](),s=e[Symbol.iterator]();let i=n.next(),r=s.next();for(;!i.done&&!r.done;){if(!Object.is(i.value,r.value))return!1;i=n.next(),r=s.next()}return!!i.done&&!!r.done};function fo(t,e){return Object.is(t,e)?!0:typeof t!="object"||t===null||typeof e!="object"||e===null||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e)?!1:Dt(t)&&Dt(e)?Ft(t)&&Ft(e)?Vt(t,e):uo(t,e):Vt({entries:()=>Object.entries(t)},{entries:()=>Object.entries(e)})}function Ts(t,e="Output"){if(!t)return`interface ${e} {}`;function n(r){if(!r||typeof r!="object")return"unknown";const l=r.type;if(Array.isArray(l))return l.map(c=>s(c)).join(" | ");switch(l){case"string":return r.enum?r.enum.map(c=>`"${c}"`).join(" | "):"string";case"number":case"integer":return"number";case"boolean":return"boolean";case"null":return"null";case"array":{const c=r.items;return c?`${n(c)}[]`:"unknown[]"}case"object":return i(r);default:return r.anyOf?r.anyOf.map(n).join(" | "):r.oneOf?r.oneOf.map(n).join(" | "):r.allOf?r.allOf.map(n).join(" & "):"unknown"}}function s(r){switch(r){case"string":return"string";case"number":case"integer":return"number";case"boolean":return"boolean";case"null":return"null";default:return"unknown"}}function i(r){const l=r.properties;if(!l)return"Record<string, unknown>";const c=new Set(r.required||[]);return`{
|
|
2
2
|
${Object.entries(l).map(([u,d])=>{const f=c.has(u)?"":"?";return`${d.description?` /** ${d.description} */
|
|
3
3
|
`:""} ${u}${f}: ${n(d)};`}).join(`
|
|
4
4
|
`)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as h}from"./index-
|
|
1
|
+
import{r as h}from"./index-DoLgm5xJ.js";var w=(o,i,l,s,c,t,m,d)=>{let r=document.documentElement,u=["light","dark"];function n(e){(Array.isArray(o)?o:[o]).forEach(a=>{let p=a==="class",S=p&&t?c.map(f=>t[f]||f):c;p?(r.classList.remove(...S),r.classList.add(t&&t[e]?t[e]:e)):r.setAttribute(a,e)}),y(e)}function y(e){d&&u.includes(e)&&(r.style.colorScheme=e)}function g(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(s)n(s);else try{let e=localStorage.getItem(i)||l,a=m&&e==="system"?g():e;n(a)}catch{}};h.createContext(void 0);h.memo(({forcedTheme:o,storageKey:i,attribute:l,enableSystem:s,enableColorScheme:c,defaultTheme:t,value:m,themes:d,nonce:r,scriptProps:u})=>{let n=JSON.stringify([l,i,t,o,d,m,s,c]).slice(1,-1);return h.createElement("script",{...u,suppressHydrationWarning:!0,nonce:typeof window>"u"?r:"",dangerouslySetInnerHTML:{__html:`(${w.toString()})(${n})`}})});
|