decocms 2.306.18 → 2.307.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-D5P-n_4t.js → AlertCircle-CMCkCBRI.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-Cei5z2C8.js → ArrowNarrowLeft-BOEo-CBC.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-Dp3G1ifa.js → ArrowUpRight-WdPk_kpa.js} +1 -1
- package/dist/client/assets/{Check-CHUfypwG.js → Check-CAMqJWCl.js} +1 -1
- package/dist/client/assets/{CheckCircle-CAevZeBb.js → CheckCircle-DZo2q-YR.js} +1 -1
- package/dist/client/assets/{ChevronDown-DGxIrQou.js → ChevronDown-Cx6Pbu_K.js} +1 -1
- package/dist/client/assets/{ChevronRight-D0NO-NBa.js → ChevronRight-B4kHNMva.js} +1 -1
- package/dist/client/assets/{ChevronUp-R3D-J8U2.js → ChevronUp-DE9NYg_0.js} +1 -1
- package/dist/client/assets/{Container-BOvWwKV4.js → Container-Ci-j0vPm.js} +1 -1
- package/dist/client/assets/{DotsVertical-rqLS7JIj.js → DotsVertical-D128coNp.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BAOljpRH.js → LinkExternal01-Ch_n4-pR.js} +1 -1
- package/dist/client/assets/{Lock01-D8HWIvFW.js → Lock01-B6OWF8qs.js} +1 -1
- package/dist/client/assets/{Palette-DFI0YLk6.js → Palette-DpT03Fqa.js} +1 -1
- package/dist/client/assets/{Play-CI6lv5t3.js → Play-C8kJ2Esj.js} +1 -1
- package/dist/client/assets/{Plus-DyrPdLFx.js → Plus-C4z2sygw.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-CGNxI6Ck.js → RefreshCcw01-ljF052Et.js} +1 -1
- package/dist/client/assets/{SearchMd-Xtv0xaPE.js → SearchMd-CqEX_8tR.js} +1 -1
- package/dist/client/assets/{Settings02-CJ_7W7Nn.js → Settings02-ByJHULD_.js} +1 -1
- package/dist/client/assets/{Shield01-C53xx91N.js → Shield01-DNagRkrI.js} +1 -1
- package/dist/client/assets/{Star01-BuYjjFhM.js → Star01-BthGo7Cr.js} +1 -1
- package/dist/client/assets/{Sun-C-z27smq.js → Sun-DIAjvzoS.js} +1 -1
- package/dist/client/assets/{Tool01-Ce_Me7cD.js → Tool01-DaKtGMUM.js} +1 -1
- package/dist/client/assets/{Trash01-Q2vImoqI.js → Trash01-CslzP03u.js} +1 -1
- package/dist/client/assets/{User01-CBFfH1NO.js → User01-BIVBcamj.js} +1 -1
- package/dist/client/assets/{Users03-FLHuEcPu.js → Users03-C4VkXkge.js} +1 -1
- package/dist/client/assets/{X-Y4H2YxIf.js → X-DwGqF9nr.js} +1 -1
- package/dist/client/assets/{XCircle-ABCC_xEK.js → XCircle-DZ8qXuj0.js} +1 -1
- package/dist/client/assets/{XClose-Dz62x8sU.js → XClose-CtlDoPHz.js} +1 -1
- package/dist/client/assets/{Zap-XI7LaIzu.js → Zap-BiGMObSD.js} +1 -1
- package/dist/client/assets/{ZapSquare-rh7PDy43.js → ZapSquare-CQqweAlr.js} +1 -1
- package/dist/client/assets/{accordion-BKGH1GWc.js → accordion-BJ1n_ugI.js} +1 -1
- package/dist/client/assets/{agent-icon-Tpw3Xml_.js → agent-icon-DEN9w1Xd.js} +1 -1
- package/dist/client/assets/{agents-list-BMtx_0ol.js → agents-list-Y2O9Vsq3.js} +1 -1
- package/dist/client/assets/ai-providers-CMrgygQq.js +1 -0
- package/dist/client/assets/{alert-dialog-Cv_ZG6Li.js → alert-dialog-4oindKfE.js} +1 -1
- package/dist/client/assets/{auth-catchall-CWSY8cPU.js → auth-catchall-BboupSOD.js} +1 -1
- package/dist/client/assets/{automation-list-row-cjwWU5Jn.js → automation-list-row-DZtgkt6i.js} +1 -1
- package/dist/client/assets/{automations-BWSQaVvj.js → automations-ChNNn4md.js} +1 -1
- package/dist/client/assets/{avatar-C5CAYMYh.js → avatar-B_3UpRA5.js} +1 -1
- package/dist/client/assets/{badge-DTOCxRAj.js → badge-Chay17Vz.js} +1 -1
- package/dist/client/assets/{brand-context-CPJ-WXdh.js → brand-context-CtihgiQK.js} +1 -1
- package/dist/client/assets/{card-CmdabgMS.js → card-CskiuoWn.js} +1 -1
- package/dist/client/assets/{chat-context-v3shdBDS.js → chat-context-bXL3-eRr.js} +1 -1
- package/dist/client/assets/{checkbox-CdfCoEXC.js → checkbox-t7fuWMLj.js} +1 -1
- package/dist/client/assets/{collection-detail-4V9zCrdC.js → collection-detail-DzqJPltw.js} +1 -1
- package/dist/client/assets/{collection-display-button-D4lZfaVu.js → collection-display-button-81MgYnbQ.js} +1 -1
- package/dist/client/assets/{collection-search-CtXh96Gm.js → collection-search-BcB09Avg.js} +1 -1
- package/dist/client/assets/{collection-search-CXt30faC.js → collection-search-DzEyUHPw.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DfZVmP1H.js → collection-table-wrapper-B7PvqWRA.js} +1 -1
- package/dist/client/assets/{collection-tabs-C5ZYsU-l.js → collection-tabs-CqOncbDL.js} +1 -1
- package/dist/client/assets/{collections-ECsba_DJ.js → collections-D9BTFOqK.js} +1 -1
- package/dist/client/assets/{command-jqyaWRfY.js → command-BoJ1ciHh.js} +1 -1
- package/dist/client/assets/{connection-card-D9YKYwnO.js → connection-card-jO4vXtn1.js} +1 -1
- package/dist/client/assets/{connection-detail-DXs485Ka.js → connection-detail-D6Vn_GzM.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DX9_FJ-7.js → connection-form-helpers-BYYfT8Z2.js} +1 -1
- package/dist/client/assets/{connections-CtYO_Eid.js → connections-DDgYP8Zf.js} +1 -1
- package/dist/client/assets/{constants-CmR1uSOF.js → constants-EDUNpUuM.js} +1 -1
- package/dist/client/assets/{constants-DULkH_5i.js → constants-tprixB5_.js} +1 -1
- package/dist/client/assets/{dialog-5eNXtqKl.js → dialog-DlX5SAb0.js} +1 -1
- package/dist/client/assets/{domain-settings-Zmfq2b2Q.js → domain-settings-DH1ljuOi.js} +1 -1
- package/dist/client/assets/{drawer-XB2DW5E_.js → drawer-CI3Y5KcZ.js} +1 -1
- package/dist/client/assets/{dropdown-menu-B5GSfnIt.js → dropdown-menu-D50uKv4Z.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-BUFoiyje.js → dynamic-plugin-layout-Bw3XgtbQ.js} +1 -1
- package/dist/client/assets/{empty-state-BzQGAVLh.js → empty-state-C07mnXqN.js} +1 -1
- package/dist/client/assets/{empty-state-DFWupnXC.js → empty-state-CQNTMuNZ.js} +1 -1
- package/dist/client/assets/{extract-connection-data-eaIPqvNo.js → extract-connection-data-DypK3ZOO.js} +1 -1
- package/dist/client/assets/{features-WEkPNtWs.js → features-ed1Z33Jr.js} +1 -1
- package/dist/client/assets/{form-D7WJCWvC.js → form-Ab2TEl_6.js} +1 -1
- package/dist/client/assets/{general-qMj6waFc.js → general-DYxQ3pFy.js} +1 -1
- package/dist/client/assets/{index-DPpnO2aq.js → index-6FiJ8WLC.js} +1 -1
- package/dist/client/assets/{index-BsCdi-Ss.js → index-B4757iid.js} +1 -1
- package/dist/client/assets/{index-DLVc0mBN.js → index-B5NFytyy.js} +1 -1
- package/dist/client/assets/{index-BZOcmiWe.js → index-B8wYFose.js} +2 -2
- package/dist/client/assets/{index-BtHnxUeh.js → index-BOF6ofTq.js} +1 -1
- package/dist/client/assets/{index-7K7UIKVV.js → index-BSJbFbDh.js} +1 -1
- package/dist/client/assets/{index-C77tsMmw.js → index-Bcn8Bkwx.js} +1 -1
- package/dist/client/assets/{index-RPF-NZ4H.js → index-C49BJ7nT.js} +1 -1
- package/dist/client/assets/{index-Dx7luzbY.js → index-C5S4fHHJ.js} +1 -1
- package/dist/client/assets/index-CM5-k2EG.js +1 -0
- package/dist/client/assets/{index-CDXDJ4IA.js → index-CPa_Ly3S.js} +1 -1
- package/dist/client/assets/index-CpHJcJk3.css +1 -0
- package/dist/client/assets/{index-BC4hQ6Pz.js → index-D-Yyr1Of.js} +3 -3
- package/dist/client/assets/index-DJWAjcuG.js +1 -0
- package/dist/client/assets/{index-DVlsCdud.js → index-Dh5b6FKZ.js} +1 -1
- package/dist/client/assets/{index-BssrisCo.js → index-EtUE8o2i.js} +1 -1
- package/dist/client/assets/{index-B5iHWh5E.js → index-N8VfJ_WS.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-D2p5_zwx.js → infiniteQueryObserver-B3yUqEed.js} +1 -1
- package/dist/client/assets/{input-CrpFSP0W.js → input-jyF6PW8g.js} +1 -1
- package/dist/client/assets/{integration-icon-CVmwF3_e.js → integration-icon-BNLQkBSh.js} +1 -1
- package/dist/client/assets/{label-B-_20bUy.js → label-RBqBCNRl.js} +1 -1
- package/dist/client/assets/{layout-CbPXdrhy.js → layout-C_xEd7nj.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-BxpDu-kR.js → lean-canvas-recruit-modal-DUsywhP3.js} +1 -1
- package/dist/client/assets/{login-CuUDpoMc.js → login-C3PZzKVS.js} +1 -1
- package/dist/client/assets/{members-BeDE1Qvs.js → members-DxP_61CO.js} +1 -1
- package/dist/client/assets/{monaco-editor-BmBsVL_8.js → monaco-editor-CMoZIi5v.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-BdLsHbqc.js → monitoring-stats-row-B4N7Cr9X.js} +1 -1
- package/dist/client/assets/{oauth-callback-Cz-iMFvk.js → oauth-callback-Y6ElVo-T.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-D5sARU9m.js → oauth-callback-ai-provider-thCkYTMA.js} +1 -1
- package/dist/client/assets/{onboarding-B2dI9ERG.js → onboarding-Bpx2v7g7.js} +1 -1
- package/dist/client/assets/{org-layout-CBC7ZhZm.js → org-layout-WkhCwbOe.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-DHZ0k56l.js → org-plugin-layout-Bvake79q.js} +1 -1
- package/dist/client/assets/{pair-CAi6xFSC.js → pair-B6BbDOpB.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DcHczrca.js → plugin-empty-state-QUTzmu71.js} +1 -1
- package/dist/client/assets/{plugin-header-gaZYNLeh.js → plugin-header-BVUkGlDu.js} +1 -1
- package/dist/client/assets/{plugin-layout-CvwzX9Qn.js → plugin-layout-DD14rMXC.js} +1 -1
- package/dist/client/assets/{popover-LcCFPFES.js → popover-qWmYLRmA.js} +1 -1
- package/dist/client/assets/{profile-BKiR8aSR.js → profile-CuR6lu-V.js} +1 -1
- package/dist/client/assets/{project-app-view-CJDnIq_9.js → project-app-view-C0X2xA3N.js} +1 -1
- package/dist/client/assets/registry-BPCmPkI0.js +2 -0
- package/dist/client/assets/{registry-layout-Cx01KKyS.js → registry-layout-CNhn_-ss.js} +1 -1
- package/dist/client/assets/{required-auth-layout-Af4UnFi9.js → required-auth-layout-rSID11cv.js} +1 -1
- package/dist/client/assets/{reset-password-BLW7KDI7.js → reset-password-CPGH6Po2.js} +1 -1
- package/dist/client/assets/{roles-CNktySuz.js → roles-CVG_GsDj.js} +1 -1
- package/dist/client/assets/{scroll-area-BXZ-RbOr.js → scroll-area-BO2c1evq.js} +1 -1
- package/dist/client/assets/{search-input-BNNV_F6W.js → search-input-CyuqOS29.js} +1 -1
- package/dist/client/assets/{select-DBYBPYY4.js → select-DyrffkPY.js} +1 -1
- package/dist/client/assets/{select-model-CG6HX7bQ.js → select-model-MtHn5YCh.js} +1 -1
- package/dist/client/assets/settings-layout-BeQugeMG.js +1 -0
- package/dist/client/assets/{settings-section-B0-S604v.js → settings-section-Bv1B_Iyu.js} +1 -1
- package/dist/client/assets/{shell-layout-DKPO37-r.js → shell-layout-BMFORwGZ.js} +1 -1
- package/dist/client/assets/{skeleton-CrRFtQk0.js → skeleton-Bb_UHLlD.js} +1 -1
- package/dist/client/assets/{sso-Bwxm1t61.js → sso-CnH39dzt.js} +1 -1
- package/dist/client/assets/{store-CUewbtbE.js → store-B4Sd_o9F.js} +1 -1
- package/dist/client/assets/store-registry-Dgj_ZLqa.js +2 -0
- package/dist/client/assets/{switch-Bwaq8U3c.js → switch-CjEJxiT5.js} +1 -1
- package/dist/client/assets/{table-CuBz05JY.js → table-BSe6la9q.js} +1 -1
- package/dist/client/assets/{tabs-CFK-4Uvj.js → tabs-CItgwp2q.js} +1 -1
- package/dist/client/assets/{task-status-BsG941tf.js → task-status-gNlQ8E3J.js} +1 -1
- package/dist/client/assets/{textarea-D7eHvlow.js → textarea-CkHpujob.js} +1 -1
- package/dist/client/assets/{toggle-group-K9WiqSuu.js → toggle-group-BVZV_S5a.js} +1 -1
- package/dist/client/assets/{tools-list-hCGHW9Jl.js → tools-list-DTAPbDxP.js} +1 -1
- package/dist/client/assets/{tooltip-CdOJqDy5.js → tooltip-Br8vvjUC.js} +1 -1
- package/dist/client/assets/{types-C-mEWZM_.js → types-CdDmClXu.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CLe9OJ_9.js → use-ai-providers-BhO8IOvl.js} +1 -1
- package/dist/client/assets/{use-collections-JK0nrhOu.js → use-collections-C8-XPfet.js} +1 -1
- package/dist/client/assets/{use-connection-B5nKWk3Z.js → use-connection-D4awwlNm.js} +1 -1
- package/dist/client/assets/{use-copy-EJp5-EOo.js → use-copy-BqN03NIx.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Q_F8SKCO.js → use-create-virtual-mcp-NAr-kct_.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-Batv9_51.js → use-debounced-autosave-BkTbpR8X.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CeWCSdOD.js → use-decopilot-events-Cy5EvIFc.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CkxuXNRZ.js → use-delete-connection-BMqrlfjF.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-F6JWUz0y.js → use-infinite-scroll-D-cTYkh7.js} +1 -1
- package/dist/client/assets/{use-list-state-CwvWCBhv.js → use-list-state-KRujZXrp.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DVxd_j8t.js → use-mcp-tools-clbdK_dO.js} +1 -1
- package/dist/client/assets/{use-members-kfmfVai8.js → use-members-B5Kck8c2.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CmO0cf8k.js → use-navigate-to-agent-0IK3_Y6S.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-DahzRa45.js → use-org-auth-client-YO3EIm35.js} +1 -1
- package/dist/client/assets/{use-org-sso-q2q8U5Lz.js → use-org-sso-BpLPs06v.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DxoRIw_w.js → use-organization-roles-DlPZ2ynD.js} +1 -1
- package/dist/client/assets/{use-organization-settings-VQvWdDuI.js → use-organization-settings-szqcLcms.js} +1 -1
- package/dist/client/assets/{use-registry-connections-D_xn2bCS.js → use-registry-connections-Bg83zLVA.js} +1 -1
- package/dist/client/assets/{use-status-sounds-B0UgOSIP.js → use-status-sounds-Bpl9kxdd.js} +1 -1
- package/dist/client/assets/{use-tasks-CSnCGk4W.js → use-tasks-CNBdTEaU.js} +1 -1
- package/dist/client/assets/{use-view-mode-CIjwNrGA.js → use-view-mode-Bdt8Bgm2.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BoDRyRzA.js → use-virtual-mcp-vzw_J4dC.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-qt2fJSoW.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-RjKQa7yO.js +1 -0
- package/dist/client/assets/{user-BZxSHSfd.js → user-DNC84t6V.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-ChqhIYbZ.js → view-mode-toggle-D60CVsHW.js} +1 -1
- package/dist/client/assets/{workflow-QOiCAn4W.js → workflow-DgdhY2yy.js} +1 -1
- package/dist/client/assets/workflow-detail-CGa1IVbR.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/manifest.webmanifest +1 -0
- package/dist/server/cli.js +1 -1
- 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/mimic-fn/index.d.ts +54 -0
- package/dist/server/node_modules/mimic-fn/index.js +13 -0
- package/dist/server/node_modules/mimic-fn/license +9 -0
- package/dist/server/node_modules/mimic-fn/package.json +42 -0
- package/dist/server/node_modules/mimic-fn/readme.md +69 -0
- package/dist/server/node_modules/pg-int8/LICENSE +13 -0
- package/dist/server/node_modules/pg-int8/README.md +16 -0
- package/dist/server/node_modules/pg-int8/index.js +100 -0
- package/dist/server/node_modules/pg-int8/package.json +24 -0
- package/dist/server/node_modules/postgres-date/index.js +116 -0
- package/dist/server/node_modules/{xtend/LICENSE → postgres-date/license} +2 -1
- package/dist/server/node_modules/postgres-date/package.json +33 -0
- package/dist/server/node_modules/postgres-date/readme.md +49 -0
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-CPD083hB.js +0 -1
- package/dist/client/assets/index-BKEC_fM2.js +0 -1
- package/dist/client/assets/index-B_4-KoG_.css +0 -1
- package/dist/client/assets/index-DHf5lGYs.js +0 -1
- package/dist/client/assets/registry-CW84oX2Y.js +0 -2
- package/dist/client/assets/settings-layout-DCSUHSAI.js +0 -1
- package/dist/client/assets/store-registry-CGpSuJSg.js +0 -2
- package/dist/client/assets/useInfiniteQuery-BdN7n6zj.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DAeYCHoW.js +0 -1
- package/dist/client/assets/workflow-detail-CfhhVDGj.js +0 -1
- package/dist/server/node_modules/xtend/.jshintrc +0 -30
- package/dist/server/node_modules/xtend/README.md +0 -32
- package/dist/server/node_modules/xtend/immutable.js +0 -19
- package/dist/server/node_modules/xtend/mutable.js +0 -17
- package/dist/server/node_modules/xtend/package.json +0 -55
- package/dist/server/node_modules/xtend/test.js +0 -103
|
@@ -0,0 +1,69 @@
|
|
|
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)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright © 2017, Charmander <~@charmander.me>
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
4
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
5
|
+
copyright notice and this permission notice appear in all copies.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[![Build status][ci image]][ci]
|
|
2
|
+
|
|
3
|
+
64-bit big-endian signed integer-to-string conversion designed for [pg][].
|
|
4
|
+
|
|
5
|
+
```js
|
|
6
|
+
const readInt8 = require('pg-int8');
|
|
7
|
+
|
|
8
|
+
readInt8(Buffer.from([0, 1, 2, 3, 4, 5, 6, 7]))
|
|
9
|
+
// '283686952306183'
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
[pg]: https://github.com/brianc/node-postgres
|
|
14
|
+
|
|
15
|
+
[ci]: https://travis-ci.org/charmander/pg-int8
|
|
16
|
+
[ci image]: https://api.travis-ci.org/charmander/pg-int8.svg
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// selected so (BASE - 1) * 0x100000000 + 0xffffffff is a safe integer
|
|
4
|
+
var BASE = 1000000;
|
|
5
|
+
|
|
6
|
+
function readInt8(buffer) {
|
|
7
|
+
var high = buffer.readInt32BE(0);
|
|
8
|
+
var low = buffer.readUInt32BE(4);
|
|
9
|
+
var sign = '';
|
|
10
|
+
|
|
11
|
+
if (high < 0) {
|
|
12
|
+
high = ~high + (low === 0);
|
|
13
|
+
low = (~low + 1) >>> 0;
|
|
14
|
+
sign = '-';
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
var result = '';
|
|
18
|
+
var carry;
|
|
19
|
+
var t;
|
|
20
|
+
var digits;
|
|
21
|
+
var pad;
|
|
22
|
+
var l;
|
|
23
|
+
var i;
|
|
24
|
+
|
|
25
|
+
{
|
|
26
|
+
carry = high % BASE;
|
|
27
|
+
high = high / BASE >>> 0;
|
|
28
|
+
|
|
29
|
+
t = 0x100000000 * carry + low;
|
|
30
|
+
low = t / BASE >>> 0;
|
|
31
|
+
digits = '' + (t - BASE * low);
|
|
32
|
+
|
|
33
|
+
if (low === 0 && high === 0) {
|
|
34
|
+
return sign + digits + result;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
pad = '';
|
|
38
|
+
l = 6 - digits.length;
|
|
39
|
+
|
|
40
|
+
for (i = 0; i < l; i++) {
|
|
41
|
+
pad += '0';
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
result = pad + digits + result;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
{
|
|
48
|
+
carry = high % BASE;
|
|
49
|
+
high = high / BASE >>> 0;
|
|
50
|
+
|
|
51
|
+
t = 0x100000000 * carry + low;
|
|
52
|
+
low = t / BASE >>> 0;
|
|
53
|
+
digits = '' + (t - BASE * low);
|
|
54
|
+
|
|
55
|
+
if (low === 0 && high === 0) {
|
|
56
|
+
return sign + digits + result;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
pad = '';
|
|
60
|
+
l = 6 - digits.length;
|
|
61
|
+
|
|
62
|
+
for (i = 0; i < l; i++) {
|
|
63
|
+
pad += '0';
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
result = pad + digits + result;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
{
|
|
70
|
+
carry = high % BASE;
|
|
71
|
+
high = high / BASE >>> 0;
|
|
72
|
+
|
|
73
|
+
t = 0x100000000 * carry + low;
|
|
74
|
+
low = t / BASE >>> 0;
|
|
75
|
+
digits = '' + (t - BASE * low);
|
|
76
|
+
|
|
77
|
+
if (low === 0 && high === 0) {
|
|
78
|
+
return sign + digits + result;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
pad = '';
|
|
82
|
+
l = 6 - digits.length;
|
|
83
|
+
|
|
84
|
+
for (i = 0; i < l; i++) {
|
|
85
|
+
pad += '0';
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
result = pad + digits + result;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
{
|
|
92
|
+
carry = high % BASE;
|
|
93
|
+
t = 0x100000000 * carry + low;
|
|
94
|
+
digits = '' + t % BASE;
|
|
95
|
+
|
|
96
|
+
return sign + digits + result;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
module.exports = readInt8;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pg-int8",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "64-bit big-endian signed integer-to-string conversion",
|
|
5
|
+
"bugs": "https://github.com/charmander/pg-int8/issues",
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"files": [
|
|
8
|
+
"index.js"
|
|
9
|
+
],
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/charmander/pg-int8"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"test": "tap test"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@charmander/eslint-config-base": "1.0.2",
|
|
19
|
+
"tap": "10.7.3"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=4.0.0"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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,5 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
Copyright (c) Ben Drucker <bvdrucker@gmail.com> (bendrucker.me)
|
|
3
4
|
|
|
4
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# postgres-date [](https://travis-ci.org/bendrucker/postgres-date) [](https://greenkeeper.io/)
|
|
2
|
+
|
|
3
|
+
> Postgres date output parser
|
|
4
|
+
|
|
5
|
+
This package parses [date/time outputs](https://www.postgresql.org/docs/current/datatype-datetime.html#DATATYPE-DATETIME-OUTPUT) from Postgres into Javascript `Date` objects. Its goal is to match Postgres behavior and preserve data accuracy.
|
|
6
|
+
|
|
7
|
+
If you find a case where a valid Postgres output results in incorrect parsing (including loss of precision), please [create a pull request](https://github.com/bendrucker/postgres-date/compare) and provide a failing test.
|
|
8
|
+
|
|
9
|
+
**Supported Postgres Versions:** `>= 9.6`
|
|
10
|
+
|
|
11
|
+
All prior versions of Postgres are likely compatible but not officially supported.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
$ npm install --save postgres-date
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
var parse = require('postgres-date')
|
|
24
|
+
parse('2011-01-23 22:15:51Z')
|
|
25
|
+
// => 2011-01-23T22:15:51.000Z
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## API
|
|
29
|
+
|
|
30
|
+
#### `parse(isoDate)` -> `date`
|
|
31
|
+
|
|
32
|
+
##### isoDate
|
|
33
|
+
|
|
34
|
+
*Required*
|
|
35
|
+
Type: `string`
|
|
36
|
+
|
|
37
|
+
A date string from Postgres.
|
|
38
|
+
|
|
39
|
+
## Releases
|
|
40
|
+
|
|
41
|
+
The following semantic versioning increments will be used for changes:
|
|
42
|
+
|
|
43
|
+
* **Major**: Removal of support for Node.js versions or Postgres versions (not expected)
|
|
44
|
+
* **Minor**: Unused, since Postgres returns dates in standard ISO 8601 format
|
|
45
|
+
* **Patch**: Any fix for parsing behavior
|
|
46
|
+
|
|
47
|
+
## License
|
|
48
|
+
|
|
49
|
+
MIT © [Ben Drucker](http://bendrucker.me)
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t,j as i}from"./index-BZOcmiWe.js";import{O as m}from"./select-model-CG6HX7bQ.js";import"./checkbox-CdfCoEXC.js";import"./Check-CHUfypwG.js";import"./input-CrpFSP0W.js";import"./dialog-5eNXtqKl.js";import"./X-Y4H2YxIf.js";import"./drawer-XB2DW5E_.js";import"./tooltip-CdOJqDy5.js";import"./select-DBYBPYY4.js";import"./ChevronDown-DGxIrQou.js";import"./ChevronUp-R3D-J8U2.js";import"./skeleton-CrRFtQk0.js";import"./Tool01-Ce_Me7cD.js";import"./RefreshCcw01-CGNxI6Ck.js";import"./SearchMd-Xtv0xaPE.js";import"./Settings02-CJ_7W7Nn.js";import"./use-ai-providers-CLe9OJ_9.js";import"./constants-DULkH_5i.js";import"./chat-context-v3shdBDS.js";import"./use-virtual-mcp-BoDRyRzA.js";import"./use-collections-JK0nrhOu.js";import"./use-decopilot-events-CeWCSdOD.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-CSnCGk4W.js";import"./use-organization-settings-VQvWdDuI.js";import"./ai-providers-logos-DD3qZ33J.js";import"./Zap-XI7LaIzu.js";import"./use-debounced-autosave-Batv9_51.js";import"./AlertCircle-D5P-n_4t.js";import"./CheckCircle-CAevZeBb.js";import"./Trash01-Q2vImoqI.js";import"./index-B5iHWh5E.js";import"./settings-section-B0-S604v.js";import"./card-CmdabgMS.js";import"./ArrowUpRight-Dp3G1ifa.js";import"./switch-Bwaq8U3c.js";import"./toggle-group-K9WiqSuu.js";import"./avatar-C5CAYMYh.js";import"./User01-CBFfH1NO.js";import"./alert-dialog-Cv_ZG6Li.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./unwrap-tool-result-BYXdCQMg.js";function V(){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{V 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-BZOcmiWe.js";import{S as j,a as b,b as S}from"./index-B5iHWh5E.js";import{u as _}from"./tooltip-CdOJqDy5.js";import{u as k,T as y,a as T,b as i,S as g}from"./index-DHf5lGYs.js";import{C as v}from"./chat-context-v3shdBDS.js";import"./X-Y4H2YxIf.js";import"./agent-icon-Tpw3Xml_.js";import"./AlertCircle-D5P-n_4t.js";import"./Tool01-Ce_Me7cD.js";import"./XClose-Dz62x8sU.js";import"./RefreshCcw01-CGNxI6Ck.js";import"./ArrowNarrowLeft-Cei5z2C8.js";import"./XCircle-ABCC_xEK.js";import"./ArrowUpRight-Dp3G1ifa.js";import"./ZapSquare-rh7PDy43.js";import"./Users03-FLHuEcPu.js";import"./CheckCircle-CAevZeBb.js";import"./Check-CHUfypwG.js";import"./ChevronDown-DGxIrQou.js";import"./ChevronRight-D0NO-NBa.js";import"./ChevronUp-R3D-J8U2.js";import"./DotsVertical-rqLS7JIj.js";import"./Container-BOvWwKV4.js";import"./Star01-BuYjjFhM.js";import"./Palette-DFI0YLk6.js";import"./SearchMd-Xtv0xaPE.js";import"./LinkExternal01-BAOljpRH.js";import"./Lock01-D8HWIvFW.js";import"./Sun-C-z27smq.js";import"./Play-CI6lv5t3.js";import"./Plus-DyrPdLFx.js";import"./Settings02-CJ_7W7Nn.js";import"./Shield01-C53xx91N.js";import"./Trash01-Q2vImoqI.js";import"./User01-CBFfH1NO.js";import"./Zap-XI7LaIzu.js";import"./shell-layout-DKPO37-r.js";import"./dialog-5eNXtqKl.js";import"./required-auth-layout-Af4UnFi9.js";import"./use-tasks-CSnCGk4W.js";import"./use-collections-JK0nrhOu.js";import"./constants-DULkH_5i.js";import"./use-organization-settings-VQvWdDuI.js";import"./use-org-sso-q2q8U5Lz.js";import"./pair-CAi6xFSC.js";import"./index-BssrisCo.js";import"./use-copy-EJp5-EOo.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./content-blocks-o63cs2vh.js";import"./types-C-mEWZM_.js";import"./integration-icon-CVmwF3_e.js";import"./use-virtual-mcp-BoDRyRzA.js";import"./skeleton-CrRFtQk0.js";import"./popover-LcCFPFES.js";import"./drawer-XB2DW5E_.js";import"./avatar-C5CAYMYh.js";import"./alert-dialog-Cv_ZG6Li.js";import"./form-D7WJCWvC.js";import"./label-B-_20bUy.js";import"./input-CrpFSP0W.js";import"./index-RPF-NZ4H.js";import"./use-mcp-tools-DVxd_j8t.js";import"./use-ai-providers-CLe9OJ_9.js";import"./index-7K7UIKVV.js";import"./switch-Bwaq8U3c.js";import"./use-connection-B5nKWk3Z.js";import"./lean-canvas-recruit-modal-BxpDu-kR.js";import"./use-navigate-to-agent-CmO0cf8k.js";import"./collection-search-CXt30faC.js";import"./checkbox-CdfCoEXC.js";import"./extract-connection-data-eaIPqvNo.js";import"./constants-CmR1uSOF.js";import"./collections-ECsba_DJ.js";import"./tabs-CFK-4Uvj.js";import"./dropdown-menu-B5GSfnIt.js";import"./select-DBYBPYY4.js";import"./toggle-group-K9WiqSuu.js";import"./select-model-CG6HX7bQ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./use-debounced-autosave-Batv9_51.js";import"./settings-section-B0-S604v.js";import"./card-CmdabgMS.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./unwrap-tool-result-BYXdCQMg.js";import"./index-C77tsMmw.js";import"./question-004-sINsf4GQ.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-D9YKYwnO.js";import"./use-registry-connections-D_xn2bCS.js";import"./useInfiniteQuery-BdN7n6zj.js";import"./infiniteQueryObserver-D2p5_zwx.js";import"./collection-tabs-C5ZYsU-l.js";import"./badge-DTOCxRAj.js";import"./textarea-D7eHvlow.js";import"./connection-form-helpers-DX9_FJ-7.js";import"./use-infinite-scroll-F6JWUz0y.js";import"./useSuspenseInfiniteQuery-DAeYCHoW.js";import"./collection-search-CtXh96Gm.js";import"./use-create-virtual-mcp-Q_F8SKCO.js";import"./empty-state-DFWupnXC.js";import"./use-decopilot-events-CeWCSdOD.js";import"./create-sse-subscription-CxkOgzKf.js";import"./task-status-BsG941tf.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 gr(){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{gr as default};
|