decocms 2.304.0 → 2.304.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-BeiDn4Fp.js → AlertCircle-Bmjr0ClA.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-hulNygQd.js → ArrowNarrowLeft-CThwX0q-.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-lTwxwkJA.js → ArrowUpRight-B7vTMj1u.js} +1 -1
- package/dist/client/assets/{CheckCircle-3TB25Bcb.js → CheckCircle-CNaz4scY.js} +1 -1
- package/dist/client/assets/{ChevronDown-_b59faTm.js → ChevronDown-BMpzZvgp.js} +1 -1
- package/dist/client/assets/{ChevronRight-DEybByBs.js → ChevronRight-B0WDiR9g.js} +1 -1
- package/dist/client/assets/{ChevronUp-B_td_jK6.js → ChevronUp-C1KppMC5.js} +1 -1
- package/dist/client/assets/{Container-d8d36LPk.js → Container-DxKKEmNe.js} +1 -1
- package/dist/client/assets/{DotsVertical-9AuPT8gf.js → DotsVertical-CRTfJ6MH.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BMrJcbl6.js → LinkExternal01-DcUPNTey.js} +1 -1
- package/dist/client/assets/{Lock01-C5rgxGgu.js → Lock01-CwYOwvXR.js} +1 -1
- package/dist/client/assets/{Palette-DfnmIo6d.js → Palette-c4ovbTBC.js} +1 -1
- package/dist/client/assets/{Play-BGW505UY.js → Play-BzawbqMW.js} +1 -1
- package/dist/client/assets/{Plus-DlISHBLe.js → Plus-CZq1C4jM.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-Dbq2QLAC.js → RefreshCcw01-Dwpnc1qZ.js} +1 -1
- package/dist/client/assets/{SearchMd-C8WDOhfc.js → SearchMd-BYUE-oTe.js} +1 -1
- package/dist/client/assets/{Settings02-BIpL5e3f.js → Settings02-FFAtt7kb.js} +1 -1
- package/dist/client/assets/{Shield01-DCoI7_zY.js → Shield01-CZOC16WM.js} +1 -1
- package/dist/client/assets/{Star01-Chns_B29.js → Star01-GaFk6Xa_.js} +1 -1
- package/dist/client/assets/{Sun-CgSsJ8OX.js → Sun-_nS1eHVw.js} +1 -1
- package/dist/client/assets/{Tool01-B8RjIhe4.js → Tool01-CpBRL57v.js} +1 -1
- package/dist/client/assets/{Trash01-CFncShuD.js → Trash01-CKEJHaXR.js} +1 -1
- package/dist/client/assets/{User01-Bq8r53VC.js → User01-BO3afenP.js} +1 -1
- package/dist/client/assets/{Users03-qD8JWxak.js → Users03-B2dn7j_S.js} +1 -1
- package/dist/client/assets/{X-BNOerUAB.js → X-BY4Cj76l.js} +1 -1
- package/dist/client/assets/{XCircle-B-JS14_e.js → XCircle-H-paIGFm.js} +1 -1
- package/dist/client/assets/{XClose-vOlmnMjZ.js → XClose-ihnqmUfp.js} +1 -1
- package/dist/client/assets/{Zap-BPHOFmqu.js → Zap-BafO525R.js} +1 -1
- package/dist/client/assets/{ZapSquare-CX9zqrxv.js → ZapSquare-BFMe5Mv9.js} +1 -1
- package/dist/client/assets/{accordion-DIyksd99.js → accordion-DJ9g6lbv.js} +1 -1
- package/dist/client/assets/{agent-icon-CLQAOsUE.js → agent-icon-3dvecirS.js} +1 -1
- package/dist/client/assets/{agents-list-D0BQglaf.js → agents-list-C3oLVAtv.js} +1 -1
- package/dist/client/assets/ai-providers-BnFAoUUB.js +1 -0
- package/dist/client/assets/{alert-dialog-BWduFhy-.js → alert-dialog-BaDMThMD.js} +1 -1
- package/dist/client/assets/{auth-catchall-D-v4q1Qx.js → auth-catchall-DyAp9W_K.js} +1 -1
- package/dist/client/assets/{automation-list-row-DPkrb87t.js → automation-list-row-BZ5pc5Hf.js} +1 -1
- package/dist/client/assets/{automations-BCzY9gmM.js → automations-NFa1s-Bh.js} +1 -1
- package/dist/client/assets/{avatar-C6HNjGDg.js → avatar-D8_rUBWz.js} +1 -1
- package/dist/client/assets/{badge-CZCn9Wwi.js → badge-DdmMZRNT.js} +1 -1
- package/dist/client/assets/{brand-context-DcqBJ41j.js → brand-context-Bze-d_ZO.js} +1 -1
- package/dist/client/assets/{card-oNblR0HO.js → card-BsUopeoI.js} +1 -1
- package/dist/client/assets/{chat-context-RcvBJBC7.js → chat-context-DfbXSilM.js} +1 -1
- package/dist/client/assets/{checkbox-JSEUVCMB.js → checkbox-D9P4N8hw.js} +1 -1
- package/dist/client/assets/{collection-detail-C5pV1mWu.js → collection-detail-D-8PAzvK.js} +1 -1
- package/dist/client/assets/{collection-display-button-DQSPcJBz.js → collection-display-button-B0aY08zq.js} +1 -1
- package/dist/client/assets/{collection-search-CLoorkFj.js → collection-search-C4AgxGiz.js} +1 -1
- package/dist/client/assets/{collection-search-DGO6_1o7.js → collection-search-Dlp7iCDd.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-P7sXgSq0.js → collection-table-wrapper-CQMKVKSx.js} +1 -1
- package/dist/client/assets/{collection-tabs-6c5Oz0MD.js → collection-tabs-C9tMEUhv.js} +1 -1
- package/dist/client/assets/{collections-CcBlrCx6.js → collections-BDAFtlmY.js} +1 -1
- package/dist/client/assets/{command-C666DFpg.js → command-CQ2qBZMm.js} +1 -1
- package/dist/client/assets/{connection-card-DbGlMaON.js → connection-card-DwOSEuv8.js} +1 -1
- package/dist/client/assets/{connection-detail-DOFWK_LZ.js → connection-detail-CawEIpU7.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-S9iwzj4v.js → connection-form-helpers-D2ynuhjT.js} +1 -1
- package/dist/client/assets/{connections-DZgnlfnc.js → connections-CpSP7u11.js} +1 -1
- package/dist/client/assets/{constants-B22iOAkD.js → constants-8SUUmfde.js} +1 -1
- package/dist/client/assets/{constants-DRQ2x-Dp.js → constants-dX65r6Zc.js} +1 -1
- package/dist/client/assets/{dialog-ReVTOuxu.js → dialog-C09MDdtC.js} +1 -1
- package/dist/client/assets/{domain-settings-_aY4XST2.js → domain-settings-C8zQRIa5.js} +1 -1
- package/dist/client/assets/{drawer-BYHJ-8Om.js → drawer-CgP97_zn.js} +1 -1
- package/dist/client/assets/{dropdown-menu-y8iKrNsS.js → dropdown-menu-BUQ2j94Z.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-BxzD5223.js → dynamic-plugin-layout-D01hx5Sr.js} +1 -1
- package/dist/client/assets/{empty-state-B4rhh1dc.js → empty-state-CDSs8u5J.js} +1 -1
- package/dist/client/assets/{empty-state-ByRM_QUo.js → empty-state-CnWmYGyJ.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CbVt8VgN.js → extract-connection-data-BksUB8IU.js} +1 -1
- package/dist/client/assets/{features-BMKDqpeL.js → features-DbY_j0po.js} +1 -1
- package/dist/client/assets/{form-D8QDPjk9.js → form-D7lwTpan.js} +1 -1
- package/dist/client/assets/{general-WpQ82n-X.js → general-ClAAY_hM.js} +1 -1
- package/dist/client/assets/index-1cERBOeE.js +1 -0
- package/dist/client/assets/{index-BET8kMZe.js → index-8uCGLU1q.js} +1 -1
- package/dist/client/assets/{index-CeC26NPv.js → index-B7KZ-vdQ.js} +1 -1
- package/dist/client/assets/{index-CgURykwj.js → index-BHEM4T0P.js} +1 -1
- package/dist/client/assets/{index-DBj2qw-o.js → index-BT2v6iP4.js} +1 -1
- package/dist/client/assets/{index-Bpod-O0_.js → index-BfFMVpP_.js} +1 -1
- package/dist/client/assets/{index-CTWz6nN8.js → index-BfFwypL5.js} +1 -1
- package/dist/client/assets/{index-U5YmU8lc.js → index-CKVeIfog.js} +1 -1
- package/dist/client/assets/{index-CPmmcxsi.js → index-C_Adeshs.js} +1 -1
- package/dist/client/assets/{index-D4IWA9IU.js → index-Cqw0FyHL.js} +2 -2
- package/dist/client/assets/{index-Cf5saV1q.js → index-DH_JeBfm.js} +1 -1
- package/dist/client/assets/{index-Bi-e-UKp.js → index-DHwV9q9X.js} +1 -1
- package/dist/client/assets/{index-DXXI9MyH.js → index-DRij5nf9.js} +1 -1
- package/dist/client/assets/{index-D8dvMQZl.js → index-Eg0bSiJp.js} +1 -1
- package/dist/client/assets/{index-D9Q6YnJH.js → index-stoVKXMu.js} +1 -1
- package/dist/client/assets/{index-BuLwXk3-.js → index-zf-rleQN.js} +3 -3
- package/dist/client/assets/{infiniteQueryObserver-ClYEJj89.js → infiniteQueryObserver-DdGFkAXb.js} +1 -1
- package/dist/client/assets/{input-DhXllgVP.js → input-Co0HW9uN.js} +1 -1
- package/dist/client/assets/{integration-icon-CNQIPioy.js → integration-icon-DmwSpOA7.js} +1 -1
- package/dist/client/assets/{label-BDcPRk17.js → label-CeKVWPbr.js} +1 -1
- package/dist/client/assets/{layout-DBK70FJ7.js → layout-Tnq2i3zg.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-Cosr7uB6.js → lean-canvas-recruit-modal-BU3z415J.js} +1 -1
- package/dist/client/assets/{login-uRApKgz7.js → login-CWTb0-fH.js} +1 -1
- package/dist/client/assets/{members-CgYS1Zxe.js → members-Bj1Fn746.js} +1 -1
- package/dist/client/assets/{monaco-editor-D34bkcWL.js → monaco-editor-qXNTtuH2.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-Rw8mxMr8.js → monitoring-stats-row-yM4e_YZD.js} +1 -1
- package/dist/client/assets/{oauth-callback-DLWU7IjL.js → oauth-callback-CdB6DJDA.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-5FDIcGBj.js → oauth-callback-ai-provider-BgDs3na5.js} +1 -1
- package/dist/client/assets/{onboarding-jyaCV8uq.js → onboarding-DKG_eIr1.js} +1 -1
- package/dist/client/assets/{org-layout-DxW3YApR.js → org-layout-Dl85hYyi.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-B-uqLn5y.js → org-plugin-layout-BjSThyiS.js} +1 -1
- package/dist/client/assets/{pair-CM7Z5dgt.js → pair-1dEJPLek.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-C-o1hhqY.js → plugin-empty-state-Don4CmqW.js} +1 -1
- package/dist/client/assets/{plugin-header-BTFD2Tcj.js → plugin-header-B8c9MPqH.js} +1 -1
- package/dist/client/assets/{plugin-layout-BiJEtvKW.js → plugin-layout-Cl6_YUJ2.js} +1 -1
- package/dist/client/assets/{popover-DQq9bf6V.js → popover-vkIPXKru.js} +1 -1
- package/dist/client/assets/{profile-PICkTEdT.js → profile-Biqh2ggJ.js} +1 -1
- package/dist/client/assets/{project-app-view-B1QcPr4W.js → project-app-view-DSY0SCnx.js} +1 -1
- package/dist/client/assets/registry-B4DkMjbe.js +2 -0
- package/dist/client/assets/{registry-layout-DGmSzwah.js → registry-layout-BHVIlZsW.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CfAoaltR.js → required-auth-layout-1Kf8B8P9.js} +1 -1
- package/dist/client/assets/{reset-password-NMO08kVP.js → reset-password-CZU-BGGi.js} +1 -1
- package/dist/client/assets/{roles-CCaqodZQ.js → roles-V0vn58qZ.js} +1 -1
- package/dist/client/assets/{scroll-area-AhoYMTSF.js → scroll-area-BF4q7Ra2.js} +1 -1
- package/dist/client/assets/{search-input-BSmmjMtR.js → search-input-VyjPISbx.js} +1 -1
- package/dist/client/assets/{select-model-D2H_jWcd.js → select-model-CGzdU4-Q.js} +1 -1
- package/dist/client/assets/{select-dTphD0ES.js → select-rxK-8b1N.js} +1 -1
- package/dist/client/assets/{settings-layout-Bn3d6rRU.js → settings-layout-Bc0g8WOL.js} +1 -1
- package/dist/client/assets/{settings-section-DkPpouMA.js → settings-section-BsEmPevi.js} +1 -1
- package/dist/client/assets/{shell-layout-DLX5f9iI.js → shell-layout-BhC55LLx.js} +1 -1
- package/dist/client/assets/{skeleton-DCMX-VkN.js → skeleton-y3O4xgdS.js} +1 -1
- package/dist/client/assets/{sso-BeQadTWm.js → sso-Di8r0acw.js} +1 -1
- package/dist/client/assets/{store-D-lrayyv.js → store-B9Zqk-bV.js} +1 -1
- package/dist/client/assets/store-registry-RqxELDy6.js +2 -0
- package/dist/client/assets/{switch-D9uEYoPa.js → switch-QErK7wwO.js} +1 -1
- package/dist/client/assets/{table-BIcJswmk.js → table-CdyHz2p3.js} +1 -1
- package/dist/client/assets/{tabs-Bbs5xG17.js → tabs-CMFQWy73.js} +1 -1
- package/dist/client/assets/{task-status-1zFON5T4.js → task-status-D0-O3Mr3.js} +1 -1
- package/dist/client/assets/{textarea-BMU9fnHG.js → textarea-CxEqGfix.js} +1 -1
- package/dist/client/assets/{toggle-group-juphd3c4.js → toggle-group-AZijjpe8.js} +1 -1
- package/dist/client/assets/{tools-list-BP78dRI3.js → tools-list-DjWGeJBp.js} +1 -1
- package/dist/client/assets/{tooltip-B5FrLY14.js → tooltip-D_3qm7UK.js} +1 -1
- package/dist/client/assets/{types-DmM_J5U9.js → types-D1Wl9DNB.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CVAGId9e.js → use-ai-providers-Cah1GZeX.js} +1 -1
- package/dist/client/assets/{use-collections-DKWG5Tun.js → use-collections-DrmuHy93.js} +1 -1
- package/dist/client/assets/{use-connection-Dy5vq_5j.js → use-connection-CyjN1GtI.js} +1 -1
- package/dist/client/assets/{use-copy-BSYEct5q.js → use-copy-SV4GW98D.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-ifW0Pllw.js → use-create-virtual-mcp-Y9XZZ8XI.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-DVXCv4R8.js → use-decopilot-events-Drlt36bF.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CRe3MUPe.js → use-delete-connection-B955BI0e.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-4DQHfv5o.js → use-infinite-scroll-BRF66BxZ.js} +1 -1
- package/dist/client/assets/{use-list-state-CihFBhY3.js → use-list-state-C6Di0aCP.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-Bog3rGRX.js → use-mcp-tools-DyKI35iZ.js} +1 -1
- package/dist/client/assets/{use-members-eWVl2b1I.js → use-members-mnYCaL5_.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent--7ajKHhy.js → use-navigate-to-agent-DrWD9J71.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-C-BGwXKo.js → use-org-auth-client-HeIerkrz.js} +1 -1
- package/dist/client/assets/{use-org-sso-2mlDJ8c4.js → use-org-sso-BuTv1ygf.js} +1 -1
- package/dist/client/assets/{use-organization-roles-PByiiFjp.js → use-organization-roles-ChLRcseg.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DngIHmBy.js → use-organization-settings-EfxM66aZ.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CDM-gpri.js → use-registry-connections-fltIDY82.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BzXaoVC8.js → use-status-sounds-BRxCV6Ea.js} +1 -1
- package/dist/client/assets/{use-tasks-M1RmMNT7.js → use-tasks-DEh_VRON.js} +1 -1
- package/dist/client/assets/{use-view-mode-DRDlksJe.js → use-view-mode-B3nY15Yz.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CDCK02Yj.js → use-virtual-mcp-Bb04Uah7.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CY4tnydB.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BFpIngH9.js +1 -0
- package/dist/client/assets/{user-WYGHhGxH.js → user-ClafvvGL.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CK1VLDTo.js → view-mode-toggle-Im7J4smk.js} +1 -1
- package/dist/client/assets/workflow-detail-Cr5QMF9R.js +1 -0
- package/dist/client/assets/{workflow-DkcKupEW.js → workflow-u6doascD.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +387 -387
- package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
- package/dist/server/node_modules/ansi-styles/index.js +223 -0
- package/dist/server/node_modules/{slice-ansi → ansi-styles}/license +0 -1
- package/dist/server/node_modules/ansi-styles/package.json +54 -0
- package/dist/server/node_modules/ansi-styles/readme.md +173 -0
- package/dist/server/node_modules/environment/index.d.ts +74 -0
- package/dist/server/node_modules/environment/index.js +47 -0
- package/dist/server/node_modules/environment/license +9 -0
- package/dist/server/node_modules/environment/package.json +74 -0
- package/dist/server/node_modules/environment/readme.md +94 -0
- package/dist/server/node_modules/escape-string-regexp/index.d.ts +18 -0
- package/dist/server/node_modules/escape-string-regexp/index.js +11 -0
- package/dist/server/node_modules/escape-string-regexp/package.json +43 -0
- package/dist/server/node_modules/escape-string-regexp/readme.md +29 -0
- package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/dist/server/node_modules/is-fullwidth-code-point/index.js +12 -0
- package/dist/server/node_modules/is-fullwidth-code-point/license +9 -0
- package/dist/server/node_modules/is-fullwidth-code-point/package.json +53 -0
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
- package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
- package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
- package/dist/server/node_modules/is-unicode-supported/license +9 -0
- package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
- package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
- package/dist/server/node_modules/{postgres-date/license → pg-pool/LICENSE} +6 -6
- package/dist/server/node_modules/pg-pool/README.md +357 -0
- package/dist/server/node_modules/pg-pool/esm/index.mjs +5 -0
- package/dist/server/node_modules/pg-pool/index.js +517 -0
- package/dist/server/node_modules/pg-pool/package.json +51 -0
- package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
- package/dist/server/node_modules/restore-cursor/index.js +11 -0
- package/dist/server/node_modules/restore-cursor/license +9 -0
- package/dist/server/node_modules/restore-cursor/package.json +55 -0
- package/dist/server/node_modules/restore-cursor/readme.md +31 -0
- package/dist/server/node_modules/string-width/index.d.ts +39 -0
- package/dist/server/node_modules/string-width/index.js +82 -0
- package/dist/server/node_modules/string-width/license +9 -0
- package/dist/server/node_modules/string-width/package.json +64 -0
- package/dist/server/node_modules/string-width/readme.md +66 -0
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-BnclkXxt.js +0 -1
- package/dist/client/assets/index-BB2bR64l.js +0 -1
- package/dist/client/assets/registry-Dr9Q687k.js +0 -2
- package/dist/client/assets/store-registry-dKQp57q_.js +0 -2
- package/dist/client/assets/useInfiniteQuery-DtJBa4_2.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-G-zitmER.js +0 -1
- package/dist/client/assets/workflow-detail-BtHvU2Pd.js +0 -1
- package/dist/server/node_modules/mimic-fn/index.d.ts +0 -54
- package/dist/server/node_modules/mimic-fn/index.js +0 -13
- package/dist/server/node_modules/mimic-fn/package.json +0 -42
- package/dist/server/node_modules/mimic-fn/readme.md +0 -69
- package/dist/server/node_modules/postgres-date/index.js +0 -116
- package/dist/server/node_modules/postgres-date/package.json +0 -33
- package/dist/server/node_modules/postgres-date/readme.md +0 -49
- package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
- package/dist/server/node_modules/slice-ansi/index.js +0 -260
- package/dist/server/node_modules/slice-ansi/package.json +0 -59
- package/dist/server/node_modules/slice-ansi/readme.md +0 -54
- package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
- /package/dist/server/node_modules/{mimic-fn → escape-string-regexp}/license +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type Options = {
|
|
2
|
+
/**
|
|
3
|
+
Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).
|
|
4
|
+
|
|
5
|
+
@default true
|
|
6
|
+
|
|
7
|
+
> Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). __If the context cannot be established reliably, they should be treated as narrow characters by default.__
|
|
8
|
+
> - http://www.unicode.org/reports/tr11/
|
|
9
|
+
*/
|
|
10
|
+
readonly ambiguousIsNarrow?: boolean;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted.
|
|
14
|
+
|
|
15
|
+
@default false
|
|
16
|
+
*/
|
|
17
|
+
readonly countAnsiEscapeCodes?: boolean;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
Get the visual width of a string - the number of columns required to display it.
|
|
22
|
+
|
|
23
|
+
Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
|
|
24
|
+
|
|
25
|
+
@example
|
|
26
|
+
```
|
|
27
|
+
import stringWidth from 'string-width';
|
|
28
|
+
|
|
29
|
+
stringWidth('a');
|
|
30
|
+
//=> 1
|
|
31
|
+
|
|
32
|
+
stringWidth('古');
|
|
33
|
+
//=> 2
|
|
34
|
+
|
|
35
|
+
stringWidth('\u001B[1m古\u001B[22m');
|
|
36
|
+
//=> 2
|
|
37
|
+
```
|
|
38
|
+
*/
|
|
39
|
+
export default function stringWidth(string: string, options?: Options): number;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import stripAnsi from 'strip-ansi';
|
|
2
|
+
import {eastAsianWidth} from 'get-east-asian-width';
|
|
3
|
+
import emojiRegex from 'emoji-regex';
|
|
4
|
+
|
|
5
|
+
const segmenter = new Intl.Segmenter();
|
|
6
|
+
|
|
7
|
+
const defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
|
|
8
|
+
|
|
9
|
+
export default function stringWidth(string, options = {}) {
|
|
10
|
+
if (typeof string !== 'string' || string.length === 0) {
|
|
11
|
+
return 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const {
|
|
15
|
+
ambiguousIsNarrow = true,
|
|
16
|
+
countAnsiEscapeCodes = false,
|
|
17
|
+
} = options;
|
|
18
|
+
|
|
19
|
+
if (!countAnsiEscapeCodes) {
|
|
20
|
+
string = stripAnsi(string);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (string.length === 0) {
|
|
24
|
+
return 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
let width = 0;
|
|
28
|
+
const eastAsianWidthOptions = {ambiguousAsWide: !ambiguousIsNarrow};
|
|
29
|
+
|
|
30
|
+
for (const {segment: character} of segmenter.segment(string)) {
|
|
31
|
+
const codePoint = character.codePointAt(0);
|
|
32
|
+
|
|
33
|
+
// Ignore control characters
|
|
34
|
+
if (codePoint <= 0x1F || (codePoint >= 0x7F && codePoint <= 0x9F)) {
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Ignore zero-width characters
|
|
39
|
+
if (
|
|
40
|
+
(codePoint >= 0x20_0B && codePoint <= 0x20_0F) // Zero-width space, non-joiner, joiner, left-to-right mark, right-to-left mark
|
|
41
|
+
|| codePoint === 0xFE_FF // Zero-width no-break space
|
|
42
|
+
) {
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Ignore combining characters
|
|
47
|
+
if (
|
|
48
|
+
(codePoint >= 0x3_00 && codePoint <= 0x3_6F) // Combining diacritical marks
|
|
49
|
+
|| (codePoint >= 0x1A_B0 && codePoint <= 0x1A_FF) // Combining diacritical marks extended
|
|
50
|
+
|| (codePoint >= 0x1D_C0 && codePoint <= 0x1D_FF) // Combining diacritical marks supplement
|
|
51
|
+
|| (codePoint >= 0x20_D0 && codePoint <= 0x20_FF) // Combining diacritical marks for symbols
|
|
52
|
+
|| (codePoint >= 0xFE_20 && codePoint <= 0xFE_2F) // Combining half marks
|
|
53
|
+
) {
|
|
54
|
+
continue;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Ignore surrogate pairs
|
|
58
|
+
if (codePoint >= 0xD8_00 && codePoint <= 0xDF_FF) {
|
|
59
|
+
continue;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Ignore variation selectors
|
|
63
|
+
if (codePoint >= 0xFE_00 && codePoint <= 0xFE_0F) {
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// This covers some of the above cases, but we still keep them for performance reasons.
|
|
68
|
+
if (defaultIgnorableCodePointRegex.test(character)) {
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// TODO: Use `/\p{RGI_Emoji}/v` when targeting Node.js 20.
|
|
73
|
+
if (emojiRegex().test(character)) {
|
|
74
|
+
width += 2;
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
width += eastAsianWidth(codePoint, eastAsianWidthOptions);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return width;
|
|
82
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "string-width",
|
|
3
|
+
"version": "7.2.0",
|
|
4
|
+
"description": "Get the visual width of a string - the number of columns required to display it",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "sindresorhus/string-width",
|
|
7
|
+
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Sindre Sorhus",
|
|
10
|
+
"email": "sindresorhus@gmail.com",
|
|
11
|
+
"url": "https://sindresorhus.com"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"exports": {
|
|
15
|
+
"types": "./index.d.ts",
|
|
16
|
+
"default": "./index.js"
|
|
17
|
+
},
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=18"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"test": "xo && ava && tsd"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"index.js",
|
|
27
|
+
"index.d.ts"
|
|
28
|
+
],
|
|
29
|
+
"keywords": [
|
|
30
|
+
"string",
|
|
31
|
+
"character",
|
|
32
|
+
"unicode",
|
|
33
|
+
"width",
|
|
34
|
+
"visual",
|
|
35
|
+
"column",
|
|
36
|
+
"columns",
|
|
37
|
+
"fullwidth",
|
|
38
|
+
"full-width",
|
|
39
|
+
"full",
|
|
40
|
+
"ansi",
|
|
41
|
+
"escape",
|
|
42
|
+
"codes",
|
|
43
|
+
"cli",
|
|
44
|
+
"command-line",
|
|
45
|
+
"terminal",
|
|
46
|
+
"console",
|
|
47
|
+
"cjk",
|
|
48
|
+
"chinese",
|
|
49
|
+
"japanese",
|
|
50
|
+
"korean",
|
|
51
|
+
"fixed-width",
|
|
52
|
+
"east-asian-width"
|
|
53
|
+
],
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"emoji-regex": "^10.3.0",
|
|
56
|
+
"get-east-asian-width": "^1.0.0",
|
|
57
|
+
"strip-ansi": "^7.1.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"ava": "^5.3.1",
|
|
61
|
+
"tsd": "^0.29.0",
|
|
62
|
+
"xo": "^0.56.0"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# string-width
|
|
2
|
+
|
|
3
|
+
> Get the visual width of a string - the number of columns required to display it
|
|
4
|
+
|
|
5
|
+
Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
|
|
6
|
+
|
|
7
|
+
Useful to be able to measure the actual width of command-line output.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm install string-width
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
import stringWidth from 'string-width';
|
|
19
|
+
|
|
20
|
+
stringWidth('a');
|
|
21
|
+
//=> 1
|
|
22
|
+
|
|
23
|
+
stringWidth('古');
|
|
24
|
+
//=> 2
|
|
25
|
+
|
|
26
|
+
stringWidth('\u001B[1m古\u001B[22m');
|
|
27
|
+
//=> 2
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## API
|
|
31
|
+
|
|
32
|
+
### stringWidth(string, options?)
|
|
33
|
+
|
|
34
|
+
#### string
|
|
35
|
+
|
|
36
|
+
Type: `string`
|
|
37
|
+
|
|
38
|
+
The string to be counted.
|
|
39
|
+
|
|
40
|
+
#### options
|
|
41
|
+
|
|
42
|
+
Type: `object`
|
|
43
|
+
|
|
44
|
+
##### ambiguousIsNarrow
|
|
45
|
+
|
|
46
|
+
Type: `boolean`\
|
|
47
|
+
Default: `true`
|
|
48
|
+
|
|
49
|
+
Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).
|
|
50
|
+
|
|
51
|
+
> Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). **If the context cannot be established reliably, they should be treated as narrow characters by default.**
|
|
52
|
+
> - http://www.unicode.org/reports/tr11/
|
|
53
|
+
|
|
54
|
+
##### countAnsiEscapeCodes
|
|
55
|
+
|
|
56
|
+
Type: `boolean`\
|
|
57
|
+
Default: `false`
|
|
58
|
+
|
|
59
|
+
Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted.
|
|
60
|
+
|
|
61
|
+
## Related
|
|
62
|
+
|
|
63
|
+
- [string-width-cli](https://github.com/sindresorhus/string-width-cli) - CLI for this module
|
|
64
|
+
- [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string
|
|
65
|
+
- [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string
|
|
66
|
+
- [get-east-asian-width](https://github.com/sindresorhus/get-east-asian-width) - Determine the East Asian Width of a Unicode character
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t,j as i}from"./index-D4IWA9IU.js";import{O as m}from"./select-model-D2H_jWcd.js";import"./checkbox-JSEUVCMB.js";import"./ChevronDown-_b59faTm.js";import"./input-DhXllgVP.js";import"./dialog-ReVTOuxu.js";import"./X-BNOerUAB.js";import"./drawer-BYHJ-8Om.js";import"./tooltip-B5FrLY14.js";import"./select-dTphD0ES.js";import"./ChevronUp-B_td_jK6.js";import"./skeleton-DCMX-VkN.js";import"./Tool01-B8RjIhe4.js";import"./RefreshCcw01-Dbq2QLAC.js";import"./SearchMd-C8WDOhfc.js";import"./Settings02-BIpL5e3f.js";import"./use-ai-providers-CVAGId9e.js";import"./constants-B22iOAkD.js";import"./chat-context-RcvBJBC7.js";import"./use-virtual-mcp-CDCK02Yj.js";import"./use-collections-DKWG5Tun.js";import"./use-decopilot-events-DVXCv4R8.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-M1RmMNT7.js";import"./use-organization-settings-DngIHmBy.js";import"./ai-providers-logos-DD3qZ33J.js";import"./Zap-BPHOFmqu.js";import"./AlertCircle-BeiDn4Fp.js";import"./CheckCircle-3TB25Bcb.js";import"./Trash01-CFncShuD.js";import"./index-BET8kMZe.js";import"./settings-section-DkPpouMA.js";import"./card-oNblR0HO.js";import"./ArrowUpRight-lTwxwkJA.js";import"./switch-D9uEYoPa.js";import"./toggle-group-juphd3c4.js";import"./avatar-C6HNjGDg.js";import"./User01-Bq8r53VC.js";import"./alert-dialog-BWduFhy-.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./unwrap-tool-result-BYXdCQMg.js";function T(){const o=t.c(1);let r;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=i.jsx(m,{}),o[0]=r):r=o[0],r}export{T as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as n,j as r,r as d,g as h,O as f,l as u}from"./index-D4IWA9IU.js";import{S as j,a as b,b as S}from"./index-BET8kMZe.js";import{u as _}from"./tooltip-B5FrLY14.js";import{u as k,T as y,a as T,b as i,S as g}from"./index-D9Q6YnJH.js";import{C as v}from"./chat-context-RcvBJBC7.js";import"./X-BNOerUAB.js";import"./agent-icon-CLQAOsUE.js";import"./AlertCircle-BeiDn4Fp.js";import"./Tool01-B8RjIhe4.js";import"./XClose-vOlmnMjZ.js";import"./RefreshCcw01-Dbq2QLAC.js";import"./ArrowNarrowLeft-hulNygQd.js";import"./XCircle-B-JS14_e.js";import"./ArrowUpRight-lTwxwkJA.js";import"./ZapSquare-CX9zqrxv.js";import"./Users03-qD8JWxak.js";import"./CheckCircle-3TB25Bcb.js";import"./ChevronDown-_b59faTm.js";import"./ChevronRight-DEybByBs.js";import"./ChevronUp-B_td_jK6.js";import"./DotsVertical-9AuPT8gf.js";import"./Container-d8d36LPk.js";import"./Star01-Chns_B29.js";import"./Palette-DfnmIo6d.js";import"./SearchMd-C8WDOhfc.js";import"./LinkExternal01-BMrJcbl6.js";import"./Lock01-C5rgxGgu.js";import"./Sun-CgSsJ8OX.js";import"./Play-BGW505UY.js";import"./Plus-DlISHBLe.js";import"./Settings02-BIpL5e3f.js";import"./Shield01-DCoI7_zY.js";import"./Trash01-CFncShuD.js";import"./User01-Bq8r53VC.js";import"./Zap-BPHOFmqu.js";import"./shell-layout-DLX5f9iI.js";import"./dialog-ReVTOuxu.js";import"./required-auth-layout-CfAoaltR.js";import"./use-tasks-M1RmMNT7.js";import"./use-collections-DKWG5Tun.js";import"./constants-B22iOAkD.js";import"./use-organization-settings-DngIHmBy.js";import"./use-org-sso-2mlDJ8c4.js";import"./pair-CM7Z5dgt.js";import"./index-Bi-e-UKp.js";import"./use-copy-BSYEct5q.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./content-blocks-o63cs2vh.js";import"./types-DmM_J5U9.js";import"./integration-icon-CNQIPioy.js";import"./use-virtual-mcp-CDCK02Yj.js";import"./skeleton-DCMX-VkN.js";import"./popover-DQq9bf6V.js";import"./drawer-BYHJ-8Om.js";import"./avatar-C6HNjGDg.js";import"./alert-dialog-BWduFhy-.js";import"./form-D8QDPjk9.js";import"./label-BDcPRk17.js";import"./input-DhXllgVP.js";import"./index-U5YmU8lc.js";import"./use-mcp-tools-Bog3rGRX.js";import"./use-ai-providers-CVAGId9e.js";import"./index-DBj2qw-o.js";import"./switch-D9uEYoPa.js";import"./use-connection-Dy5vq_5j.js";import"./lean-canvas-recruit-modal-Cosr7uB6.js";import"./use-navigate-to-agent--7ajKHhy.js";import"./collection-search-CLoorkFj.js";import"./checkbox-JSEUVCMB.js";import"./extract-connection-data-CbVt8VgN.js";import"./constants-DRQ2x-Dp.js";import"./collections-CcBlrCx6.js";import"./tabs-Bbs5xG17.js";import"./dropdown-menu-y8iKrNsS.js";import"./select-dTphD0ES.js";import"./toggle-group-juphd3c4.js";import"./select-model-D2H_jWcd.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-DkPpouMA.js";import"./card-oNblR0HO.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./unwrap-tool-result-BYXdCQMg.js";import"./index-D8dvMQZl.js";import"./question-004-sINsf4GQ.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-DbGlMaON.js";import"./use-registry-connections-CDM-gpri.js";import"./useInfiniteQuery-DtJBa4_2.js";import"./infiniteQueryObserver-ClYEJj89.js";import"./collection-tabs-6c5Oz0MD.js";import"./badge-CZCn9Wwi.js";import"./textarea-BMU9fnHG.js";import"./connection-form-helpers-S9iwzj4v.js";import"./use-infinite-scroll-4DQHfv5o.js";import"./useSuspenseInfiniteQuery-G-zitmER.js";import"./collection-search-DGO6_1o7.js";import"./use-create-virtual-mcp-ifW0Pllw.js";import"./empty-state-B4rhh1dc.js";import"./use-decopilot-events-DVXCv4R8.js";import"./create-sse-subscription-CxkOgzKf.js";import"./task-status-1zFON5T4.js";const N=280;function P(){const t=n.c(2),{tasksOpen:e}=k();if(!e)return null;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={width:`${N}px`},t[0]=o):o=t[0];let m;return t[1]===Symbol.for("react.memo_cache_sentinel")?(m=r.jsx("aside",{className:"shrink-0 h-full bg-sidebar pb-1",style:o,children:r.jsx("div",{className:"h-full p-0.5 pt-0.25",children:r.jsx("div",{className:"h-full bg-background rounded-[0.75rem] overflow-hidden card-shadow",children:r.jsx(y,{})})})}),t[1]=m):m=t[1],m}function C(){const t=n.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=r.jsx(d.Suspense,{fallback:null,children:r.jsx(P,{})}),t[0]=e):e=t[0],e}function x(){const t=n.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=r.jsx("div",{className:"flex-1 flex items-center justify-center",children:r.jsx(u,{size:20,className:"animate-spin text-muted-foreground"})}),t[0]=e):e=t[0],e}function yr(){const t=n.c(7),e=_();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={strict:!1},t[0]=o):o=t[0];const c=!!h(o).taskId;let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s={"--sidebar-width-icon":"3.5rem"},t[1]=s):s=t[1];let l;t[2]===Symbol.for("react.memo_cache_sentinel")?(l=r.jsx(g,{}),t[2]=l):l=t[2];let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p={background:"transparent",containerType:"inline-size"},t[3]=p):p=t[3];let a;return t[4]!==c||t[5]!==e?(a=r.jsx(j,{defaultOpen:!1,children:r.jsx("div",{className:"flex flex-col h-dvh overflow-hidden",children:r.jsxs(b,{className:"flex-1 bg-sidebar",style:s,children:[l,r.jsx(S,{className:"flex flex-col",style:p,children:r.jsx(v,{children:r.jsx(T,{children:e?r.jsx(d.Suspense,{fallback:r.jsx(x,{}),children:r.jsx(f,{})}):r.jsxs(i,{children:[r.jsxs(i.Header,{children:[r.jsxs(i.LeftColumn,{children:[r.jsx(i.Nav,{}),r.jsx(i.TogglesSlot,{})]}),r.jsx(i.CenterSlot,{}),r.jsxs(i.RightColumn,{children:[r.jsx(i.TabsSlot,{}),r.jsx(i.RightSlot,{})]})]}),r.jsxs("div",{className:"flex-1 min-h-0 flex flex-row",children:[c&&r.jsx(C,{}),r.jsx(d.Suspense,{fallback:r.jsx(x,{}),children:r.jsx(f,{})})]})]})})})})]})})}),t[4]=c,t[5]=e,t[6]=a):a=t[6],a}export{yr as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DGmSzwah.js","assets/index-D4IWA9IU.js","assets/index-DXHNyf1g.css","assets/ArrowNarrowLeft-hulNygQd.js","assets/CheckCircle-3TB25Bcb.js","assets/Container-d8d36LPk.js","assets/Settings02-BIpL5e3f.js","assets/XCircle-B-JS14_e.js","assets/constants-B22iOAkD.js","assets/useInfiniteQuery-DtJBa4_2.js","assets/infiniteQueryObserver-ClYEJj89.js","assets/badge-CZCn9Wwi.js","assets/input-DhXllgVP.js","assets/dropdown-menu-y8iKrNsS.js","assets/ChevronDown-_b59faTm.js","assets/ChevronRight-DEybByBs.js","assets/DotsVertical-9AuPT8gf.js","assets/table-BIcJswmk.js","assets/toggle-group-juphd3c4.js","assets/use-view-mode-DRDlksJe.js","assets/tooltip-B5FrLY14.js","assets/SearchMd-C8WDOhfc.js","assets/dialog-ReVTOuxu.js","assets/X-BNOerUAB.js","assets/AlertCircle-BeiDn4Fp.js","assets/alert-dialog-BWduFhy-.js","assets/card-oNblR0HO.js","assets/Trash01-CFncShuD.js","assets/label-BDcPRk17.js","assets/select-dTphD0ES.js","assets/ChevronUp-B_td_jK6.js","assets/switch-D9uEYoPa.js","assets/textarea-BMU9fnHG.js","assets/RefreshCcw01-Dbq2QLAC.js","assets/checkbox-JSEUVCMB.js","assets/LinkExternal01-BMrJcbl6.js","assets/use-copy-BSYEct5q.js","assets/Plus-DlISHBLe.js","assets/Play-BGW505UY.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as a,j as t,r,l as i,_ as o}from"./index-D4IWA9IU.js";const n=r.lazy(()=>o(()=>import("./registry-layout-DGmSzwah.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])));function c(){const s=a.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(r.Suspense,{fallback:t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(i,{size:20,className:"animate-spin text-muted-foreground"})}),children:t.jsx(n,{})}),s[0]=e):e=s[0],e}export{c as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DGmSzwah.js","assets/index-D4IWA9IU.js","assets/index-DXHNyf1g.css","assets/ArrowNarrowLeft-hulNygQd.js","assets/CheckCircle-3TB25Bcb.js","assets/Container-d8d36LPk.js","assets/Settings02-BIpL5e3f.js","assets/XCircle-B-JS14_e.js","assets/constants-B22iOAkD.js","assets/useInfiniteQuery-DtJBa4_2.js","assets/infiniteQueryObserver-ClYEJj89.js","assets/badge-CZCn9Wwi.js","assets/input-DhXllgVP.js","assets/dropdown-menu-y8iKrNsS.js","assets/ChevronDown-_b59faTm.js","assets/ChevronRight-DEybByBs.js","assets/DotsVertical-9AuPT8gf.js","assets/table-BIcJswmk.js","assets/toggle-group-juphd3c4.js","assets/use-view-mode-DRDlksJe.js","assets/tooltip-B5FrLY14.js","assets/SearchMd-C8WDOhfc.js","assets/dialog-ReVTOuxu.js","assets/X-BNOerUAB.js","assets/AlertCircle-BeiDn4Fp.js","assets/alert-dialog-BWduFhy-.js","assets/card-oNblR0HO.js","assets/Trash01-CFncShuD.js","assets/label-BDcPRk17.js","assets/select-dTphD0ES.js","assets/ChevronUp-B_td_jK6.js","assets/switch-D9uEYoPa.js","assets/textarea-BMU9fnHG.js","assets/RefreshCcw01-Dbq2QLAC.js","assets/checkbox-JSEUVCMB.js","assets/LinkExternal01-BMrJcbl6.js","assets/use-copy-BSYEct5q.js","assets/Plus-DlISHBLe.js","assets/Play-BGW505UY.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as n,f as c,g as m,j as r,l as f,r as l,_ as u}from"./index-D4IWA9IU.js";const _=l.lazy(()=>u(()=>import("./registry-layout-DGmSzwah.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])));function x(){const e=n.c(5),o=c();let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:i}=m(t);let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=r.jsx("div",{className:"h-full flex items-center justify-center",children:r.jsx(f,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=s):s=e[1];let a;return e[2]!==o||e[3]!==i?(a=r.jsx(l.Suspense,{fallback:s,children:r.jsx(_,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{x as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-ClYEJj89.js";import{c2 as i}from"./index-D4IWA9IU.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./infiniteQueryObserver-ClYEJj89.js";import{c2 as u,c3 as n}from"./index-D4IWA9IU.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as s,g as l,j as o,l as a,E as n,r as c}from"./index-D4IWA9IU.js";import{a as f}from"./index-DXXI9MyH.js";import"./index-CPmmcxsi.js";import"./constants-B22iOAkD.js";import"./collections-CcBlrCx6.js";import"./index-CeC26NPv.js";import"./use-virtual-mcp-CDCK02Yj.js";import"./use-collections-DKWG5Tun.js";import"./monaco-editor-D34bkcWL.js";import"./index-Bi-e-UKp.js";import"./accordion-DIyksd99.js";import"./agent-icon-CLQAOsUE.js";import"./AlertCircle-BeiDn4Fp.js";import"./Tool01-B8RjIhe4.js";import"./XClose-vOlmnMjZ.js";import"./RefreshCcw01-Dbq2QLAC.js";import"./ArrowNarrowLeft-hulNygQd.js";import"./XCircle-B-JS14_e.js";import"./ArrowUpRight-lTwxwkJA.js";import"./ZapSquare-CX9zqrxv.js";import"./Users03-qD8JWxak.js";import"./CheckCircle-3TB25Bcb.js";import"./ChevronDown-_b59faTm.js";import"./ChevronRight-DEybByBs.js";import"./ChevronUp-B_td_jK6.js";import"./DotsVertical-9AuPT8gf.js";import"./Container-d8d36LPk.js";import"./Star01-Chns_B29.js";import"./Palette-DfnmIo6d.js";import"./SearchMd-C8WDOhfc.js";import"./index-BET8kMZe.js";import"./tooltip-B5FrLY14.js";import"./X-BNOerUAB.js";import"./LinkExternal01-BMrJcbl6.js";import"./Lock01-C5rgxGgu.js";import"./Sun-CgSsJ8OX.js";import"./Play-BGW505UY.js";import"./Plus-DlISHBLe.js";import"./Settings02-BIpL5e3f.js";import"./Shield01-DCoI7_zY.js";import"./Trash01-CFncShuD.js";import"./User01-Bq8r53VC.js";import"./Zap-BPHOFmqu.js";import"./badge-CZCn9Wwi.js";import"./select-dTphD0ES.js";import"./view-mode-toggle-CK1VLDTo.js";import"./layout-DBK70FJ7.js";import"./use-connection-Dy5vq_5j.js";import"./use-mcp-tools-Bog3rGRX.js";import"./dialog-ReVTOuxu.js";import"./index-D8dvMQZl.js";import"./dropdown-menu-y8iKrNsS.js";import"./integration-icon-CNQIPioy.js";import"./scroll-area-AhoYMTSF.js";import"./index-U5YmU8lc.js";import"./empty-state-ByRM_QUo.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-DhXllgVP.js";function ht(){const t=s.c(4);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/workflows/$itemId"},t[0]=r):r=t[0];const{itemId:e}=l(r);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(a,{size:32,className:"animate-spin text-muted-foreground"})}),t[1]=i):i=t[1];const p=decodeURIComponent(e);let m;return t[2]!==p?(m=o.jsx(n,{children:o.jsx(c.Suspense,{fallback:i,children:o.jsx(f,{itemId:p})})}),t[2]=p,t[3]=m):m=t[3],m}export{ht as default};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
declare const mimicFn: {
|
|
2
|
-
/**
|
|
3
|
-
Make a function mimic another one. It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
|
|
4
|
-
|
|
5
|
-
@param to - Mimicking function.
|
|
6
|
-
@param from - Function to mimic.
|
|
7
|
-
@returns The modified `to` function.
|
|
8
|
-
|
|
9
|
-
@example
|
|
10
|
-
```
|
|
11
|
-
import mimicFn = require('mimic-fn');
|
|
12
|
-
|
|
13
|
-
function foo() {}
|
|
14
|
-
foo.unicorn = '🦄';
|
|
15
|
-
|
|
16
|
-
function wrapper() {
|
|
17
|
-
return foo();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
console.log(wrapper.name);
|
|
21
|
-
//=> 'wrapper'
|
|
22
|
-
|
|
23
|
-
mimicFn(wrapper, foo);
|
|
24
|
-
|
|
25
|
-
console.log(wrapper.name);
|
|
26
|
-
//=> 'foo'
|
|
27
|
-
|
|
28
|
-
console.log(wrapper.unicorn);
|
|
29
|
-
//=> '🦄'
|
|
30
|
-
```
|
|
31
|
-
*/
|
|
32
|
-
<
|
|
33
|
-
ArgumentsType extends unknown[],
|
|
34
|
-
ReturnType,
|
|
35
|
-
FunctionType extends (...arguments: ArgumentsType) => ReturnType
|
|
36
|
-
>(
|
|
37
|
-
to: (...arguments: ArgumentsType) => ReturnType,
|
|
38
|
-
from: FunctionType
|
|
39
|
-
): FunctionType;
|
|
40
|
-
|
|
41
|
-
// TODO: Remove this for the next major release, refactor the whole definition to:
|
|
42
|
-
// declare function mimicFn<
|
|
43
|
-
// ArgumentsType extends unknown[],
|
|
44
|
-
// ReturnType,
|
|
45
|
-
// FunctionType extends (...arguments: ArgumentsType) => ReturnType
|
|
46
|
-
// >(
|
|
47
|
-
// to: (...arguments: ArgumentsType) => ReturnType,
|
|
48
|
-
// from: FunctionType
|
|
49
|
-
// ): FunctionType;
|
|
50
|
-
// export = mimicFn;
|
|
51
|
-
default: typeof mimicFn;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export = mimicFn;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const mimicFn = (to, from) => {
|
|
4
|
-
for (const prop of Reflect.ownKeys(from)) {
|
|
5
|
-
Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
return to;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
module.exports = mimicFn;
|
|
12
|
-
// TODO: Remove this for the next major release
|
|
13
|
-
module.exports.default = mimicFn;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mimic-fn",
|
|
3
|
-
"version": "2.1.0",
|
|
4
|
-
"description": "Make a function mimic another one",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/mimic-fn",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=6"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "xo && ava && tsd"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js",
|
|
20
|
-
"index.d.ts"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"function",
|
|
24
|
-
"mimic",
|
|
25
|
-
"imitate",
|
|
26
|
-
"rename",
|
|
27
|
-
"copy",
|
|
28
|
-
"inherit",
|
|
29
|
-
"properties",
|
|
30
|
-
"name",
|
|
31
|
-
"func",
|
|
32
|
-
"fn",
|
|
33
|
-
"set",
|
|
34
|
-
"infer",
|
|
35
|
-
"change"
|
|
36
|
-
],
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"ava": "^1.4.1",
|
|
39
|
-
"tsd": "^0.7.1",
|
|
40
|
-
"xo": "^0.24.0"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# mimic-fn [](https://travis-ci.org/sindresorhus/mimic-fn)
|
|
2
|
-
|
|
3
|
-
> Make a function mimic another one
|
|
4
|
-
|
|
5
|
-
Useful when you wrap a function in another function and like to preserve the original name and other properties.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Install
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
$ npm install mimic-fn
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
const mimicFn = require('mimic-fn');
|
|
19
|
-
|
|
20
|
-
function foo() {}
|
|
21
|
-
foo.unicorn = '🦄';
|
|
22
|
-
|
|
23
|
-
function wrapper() {
|
|
24
|
-
return foo();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
console.log(wrapper.name);
|
|
28
|
-
//=> 'wrapper'
|
|
29
|
-
|
|
30
|
-
mimicFn(wrapper, foo);
|
|
31
|
-
|
|
32
|
-
console.log(wrapper.name);
|
|
33
|
-
//=> 'foo'
|
|
34
|
-
|
|
35
|
-
console.log(wrapper.unicorn);
|
|
36
|
-
//=> '🦄'
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## API
|
|
41
|
-
|
|
42
|
-
It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
|
|
43
|
-
|
|
44
|
-
### mimicFn(to, from)
|
|
45
|
-
|
|
46
|
-
Modifies the `to` function and returns it.
|
|
47
|
-
|
|
48
|
-
#### to
|
|
49
|
-
|
|
50
|
-
Type: `Function`
|
|
51
|
-
|
|
52
|
-
Mimicking function.
|
|
53
|
-
|
|
54
|
-
#### from
|
|
55
|
-
|
|
56
|
-
Type: `Function`
|
|
57
|
-
|
|
58
|
-
Function to mimic.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## Related
|
|
62
|
-
|
|
63
|
-
- [rename-fn](https://github.com/sindresorhus/rename-fn) - Rename a function
|
|
64
|
-
- [keep-func-props](https://github.com/ehmicky/keep-func-props) - Wrap a function without changing its name, length and other properties
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
## License
|
|
68
|
-
|
|
69
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
var DATE_TIME = /(\d{1,})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})(\.\d{1,})?.*?( BC)?$/
|
|
4
|
-
var DATE = /^(\d{1,})-(\d{2})-(\d{2})( BC)?$/
|
|
5
|
-
var TIME_ZONE = /([Z+-])(\d{2})?:?(\d{2})?:?(\d{2})?/
|
|
6
|
-
var INFINITY = /^-?infinity$/
|
|
7
|
-
|
|
8
|
-
module.exports = function parseDate (isoDate) {
|
|
9
|
-
if (INFINITY.test(isoDate)) {
|
|
10
|
-
// Capitalize to Infinity before passing to Number
|
|
11
|
-
return Number(isoDate.replace('i', 'I'))
|
|
12
|
-
}
|
|
13
|
-
var matches = DATE_TIME.exec(isoDate)
|
|
14
|
-
|
|
15
|
-
if (!matches) {
|
|
16
|
-
// Force YYYY-MM-DD dates to be parsed as local time
|
|
17
|
-
return getDate(isoDate) || null
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
var isBC = !!matches[8]
|
|
21
|
-
var year = parseInt(matches[1], 10)
|
|
22
|
-
if (isBC) {
|
|
23
|
-
year = bcYearToNegativeYear(year)
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
var month = parseInt(matches[2], 10) - 1
|
|
27
|
-
var day = matches[3]
|
|
28
|
-
var hour = parseInt(matches[4], 10)
|
|
29
|
-
var minute = parseInt(matches[5], 10)
|
|
30
|
-
var second = parseInt(matches[6], 10)
|
|
31
|
-
|
|
32
|
-
var ms = matches[7]
|
|
33
|
-
ms = ms ? 1000 * parseFloat(ms) : 0
|
|
34
|
-
|
|
35
|
-
var date
|
|
36
|
-
var offset = timeZoneOffset(isoDate)
|
|
37
|
-
if (offset != null) {
|
|
38
|
-
date = new Date(Date.UTC(year, month, day, hour, minute, second, ms))
|
|
39
|
-
|
|
40
|
-
// Account for years from 0 to 99 being interpreted as 1900-1999
|
|
41
|
-
// by Date.UTC / the multi-argument form of the Date constructor
|
|
42
|
-
if (is0To99(year)) {
|
|
43
|
-
date.setUTCFullYear(year)
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
if (offset !== 0) {
|
|
47
|
-
date.setTime(date.getTime() - offset)
|
|
48
|
-
}
|
|
49
|
-
} else {
|
|
50
|
-
date = new Date(year, month, day, hour, minute, second, ms)
|
|
51
|
-
|
|
52
|
-
if (is0To99(year)) {
|
|
53
|
-
date.setFullYear(year)
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
return date
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function getDate (isoDate) {
|
|
61
|
-
var matches = DATE.exec(isoDate)
|
|
62
|
-
if (!matches) {
|
|
63
|
-
return
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
var year = parseInt(matches[1], 10)
|
|
67
|
-
var isBC = !!matches[4]
|
|
68
|
-
if (isBC) {
|
|
69
|
-
year = bcYearToNegativeYear(year)
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
var month = parseInt(matches[2], 10) - 1
|
|
73
|
-
var day = matches[3]
|
|
74
|
-
// YYYY-MM-DD will be parsed as local time
|
|
75
|
-
var date = new Date(year, month, day)
|
|
76
|
-
|
|
77
|
-
if (is0To99(year)) {
|
|
78
|
-
date.setFullYear(year)
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
return date
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// match timezones:
|
|
85
|
-
// Z (UTC)
|
|
86
|
-
// -05
|
|
87
|
-
// +06:30
|
|
88
|
-
function timeZoneOffset (isoDate) {
|
|
89
|
-
if (isoDate.endsWith('+00')) {
|
|
90
|
-
return 0
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
var zone = TIME_ZONE.exec(isoDate.split(' ')[1])
|
|
94
|
-
if (!zone) return
|
|
95
|
-
var type = zone[1]
|
|
96
|
-
|
|
97
|
-
if (type === 'Z') {
|
|
98
|
-
return 0
|
|
99
|
-
}
|
|
100
|
-
var sign = type === '-' ? -1 : 1
|
|
101
|
-
var offset = parseInt(zone[2], 10) * 3600 +
|
|
102
|
-
parseInt(zone[3] || 0, 10) * 60 +
|
|
103
|
-
parseInt(zone[4] || 0, 10)
|
|
104
|
-
|
|
105
|
-
return offset * sign * 1000
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function bcYearToNegativeYear (year) {
|
|
109
|
-
// Account for numerical difference between representations of BC years
|
|
110
|
-
// See: https://github.com/bendrucker/postgres-date/issues/5
|
|
111
|
-
return -(year - 1)
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function is0To99 (num) {
|
|
115
|
-
return num >= 0 && num < 100
|
|
116
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "postgres-date",
|
|
3
|
-
"main": "index.js",
|
|
4
|
-
"version": "1.0.7",
|
|
5
|
-
"description": "Postgres date column parser",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": "bendrucker/postgres-date",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Ben Drucker",
|
|
10
|
-
"email": "bvdrucker@gmail.com",
|
|
11
|
-
"url": "bendrucker.me"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=0.10.0"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "standard && tape test.js"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [
|
|
20
|
-
"postgres",
|
|
21
|
-
"date",
|
|
22
|
-
"parser"
|
|
23
|
-
],
|
|
24
|
-
"dependencies": {},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"standard": "^14.0.0",
|
|
27
|
-
"tape": "^5.0.0"
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"index.js",
|
|
31
|
-
"readme.md"
|
|
32
|
-
]
|
|
33
|
-
}
|