decocms 2.307.0 → 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-DbSc8_5o.js → AlertCircle-CMCkCBRI.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-BzM32upt.js → ArrowNarrowLeft-BOEo-CBC.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-CVt-dZIr.js → ArrowUpRight-WdPk_kpa.js} +1 -1
- package/dist/client/assets/{Check-DrgiOcvX.js → Check-CAMqJWCl.js} +1 -1
- package/dist/client/assets/{CheckCircle-BQeGxZq_.js → CheckCircle-DZo2q-YR.js} +1 -1
- package/dist/client/assets/{ChevronDown-C7syIVEM.js → ChevronDown-Cx6Pbu_K.js} +1 -1
- package/dist/client/assets/{ChevronRight-BVkmPfkJ.js → ChevronRight-B4kHNMva.js} +1 -1
- package/dist/client/assets/{ChevronUp-DgBvNG-s.js → ChevronUp-DE9NYg_0.js} +1 -1
- package/dist/client/assets/{Container-BFBDXadT.js → Container-Ci-j0vPm.js} +1 -1
- package/dist/client/assets/{DotsVertical-DullXRlj.js → DotsVertical-D128coNp.js} +1 -1
- package/dist/client/assets/{LinkExternal01-eYI9rzDs.js → LinkExternal01-Ch_n4-pR.js} +1 -1
- package/dist/client/assets/{Lock01-CHD9ynDw.js → Lock01-B6OWF8qs.js} +1 -1
- package/dist/client/assets/{Palette-D8RZYE5o.js → Palette-DpT03Fqa.js} +1 -1
- package/dist/client/assets/{Play-DRFVE1h5.js → Play-C8kJ2Esj.js} +1 -1
- package/dist/client/assets/{Plus-B6kqhltR.js → Plus-C4z2sygw.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-C_zk4Try.js → RefreshCcw01-ljF052Et.js} +1 -1
- package/dist/client/assets/{SearchMd-CEcDQ6LC.js → SearchMd-CqEX_8tR.js} +1 -1
- package/dist/client/assets/{Settings02-Kj5D6IOr.js → Settings02-ByJHULD_.js} +1 -1
- package/dist/client/assets/{Shield01-3u2o5WX2.js → Shield01-DNagRkrI.js} +1 -1
- package/dist/client/assets/{Star01-CcI10YS1.js → Star01-BthGo7Cr.js} +1 -1
- package/dist/client/assets/{Sun-D2L-I4uV.js → Sun-DIAjvzoS.js} +1 -1
- package/dist/client/assets/{Tool01-CcxU2xyo.js → Tool01-DaKtGMUM.js} +1 -1
- package/dist/client/assets/{Trash01-oWeyeakM.js → Trash01-CslzP03u.js} +1 -1
- package/dist/client/assets/{User01-axhJYAi5.js → User01-BIVBcamj.js} +1 -1
- package/dist/client/assets/{Users03-D0nK5Csa.js → Users03-C4VkXkge.js} +1 -1
- package/dist/client/assets/{X-Cv85QSif.js → X-DwGqF9nr.js} +1 -1
- package/dist/client/assets/{XCircle-DJCAtDKC.js → XCircle-DZ8qXuj0.js} +1 -1
- package/dist/client/assets/{XClose-CxIHxCiH.js → XClose-CtlDoPHz.js} +1 -1
- package/dist/client/assets/{Zap-C4uL-K8p.js → Zap-BiGMObSD.js} +1 -1
- package/dist/client/assets/{ZapSquare-DtiK8wdw.js → ZapSquare-CQqweAlr.js} +1 -1
- package/dist/client/assets/{accordion-UGg6usF2.js → accordion-BJ1n_ugI.js} +1 -1
- package/dist/client/assets/{agent-icon-BzMmOj78.js → agent-icon-DEN9w1Xd.js} +1 -1
- package/dist/client/assets/{agents-list-C6qiO6vJ.js → agents-list-Y2O9Vsq3.js} +1 -1
- package/dist/client/assets/ai-providers-CMrgygQq.js +1 -0
- package/dist/client/assets/{alert-dialog-QZrmovBV.js → alert-dialog-4oindKfE.js} +1 -1
- package/dist/client/assets/{auth-catchall-CR6Sgyap.js → auth-catchall-BboupSOD.js} +1 -1
- package/dist/client/assets/{automation-list-row-DH-SDcWO.js → automation-list-row-DZtgkt6i.js} +1 -1
- package/dist/client/assets/{automations-C6e5kYWF.js → automations-ChNNn4md.js} +1 -1
- package/dist/client/assets/{avatar-B0e9QGvS.js → avatar-B_3UpRA5.js} +1 -1
- package/dist/client/assets/{badge-DBLkzzm7.js → badge-Chay17Vz.js} +1 -1
- package/dist/client/assets/{brand-context-BLmts49n.js → brand-context-CtihgiQK.js} +1 -1
- package/dist/client/assets/{card-Cc_5Nm4i.js → card-CskiuoWn.js} +1 -1
- package/dist/client/assets/{chat-context-CAvcaW8y.js → chat-context-bXL3-eRr.js} +1 -1
- package/dist/client/assets/{checkbox-Ccin5Uy8.js → checkbox-t7fuWMLj.js} +1 -1
- package/dist/client/assets/{collection-detail-De1N_tX0.js → collection-detail-DzqJPltw.js} +1 -1
- package/dist/client/assets/{collection-display-button-JK5ktJZY.js → collection-display-button-81MgYnbQ.js} +1 -1
- package/dist/client/assets/{collection-search-xvNZDMEo.js → collection-search-BcB09Avg.js} +1 -1
- package/dist/client/assets/{collection-search-CemMAr-C.js → collection-search-DzEyUHPw.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DeobLSs8.js → collection-table-wrapper-B7PvqWRA.js} +1 -1
- package/dist/client/assets/{collection-tabs-CBcoU2EE.js → collection-tabs-CqOncbDL.js} +1 -1
- package/dist/client/assets/{collections-DIe-ggVS.js → collections-D9BTFOqK.js} +1 -1
- package/dist/client/assets/{command-BmteDSsy.js → command-BoJ1ciHh.js} +1 -1
- package/dist/client/assets/{connection-card-BfjHOVwg.js → connection-card-jO4vXtn1.js} +1 -1
- package/dist/client/assets/{connection-detail-_GH74iyG.js → connection-detail-D6Vn_GzM.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DjBgihPg.js → connection-form-helpers-BYYfT8Z2.js} +1 -1
- package/dist/client/assets/{connections-Ct9F6eIL.js → connections-DDgYP8Zf.js} +1 -1
- package/dist/client/assets/{constants-DuZel1ZR.js → constants-EDUNpUuM.js} +1 -1
- package/dist/client/assets/{constants-d6_CHL4E.js → constants-tprixB5_.js} +1 -1
- package/dist/client/assets/{dialog-BFCo_CYj.js → dialog-DlX5SAb0.js} +1 -1
- package/dist/client/assets/{domain-settings-Ci3-H3BP.js → domain-settings-DH1ljuOi.js} +1 -1
- package/dist/client/assets/{drawer-BnPN5suY.js → drawer-CI3Y5KcZ.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BExiIBkw.js → dropdown-menu-D50uKv4Z.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-Cjh43AHC.js → dynamic-plugin-layout-Bw3XgtbQ.js} +1 -1
- package/dist/client/assets/{empty-state-DXHvr6ap.js → empty-state-C07mnXqN.js} +1 -1
- package/dist/client/assets/{empty-state-CDyVpLPt.js → empty-state-CQNTMuNZ.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C6jEVYD5.js → extract-connection-data-DypK3ZOO.js} +1 -1
- package/dist/client/assets/{features-Buq79_ha.js → features-ed1Z33Jr.js} +1 -1
- package/dist/client/assets/{form-CH5xE-n6.js → form-Ab2TEl_6.js} +1 -1
- package/dist/client/assets/{general-ppM0bYV1.js → general-DYxQ3pFy.js} +1 -1
- package/dist/client/assets/{index-C7gD7Yqs.js → index-6FiJ8WLC.js} +1 -1
- package/dist/client/assets/{index-nyfPDVDX.js → index-B4757iid.js} +1 -1
- package/dist/client/assets/{index-DdkMHB52.js → index-B5NFytyy.js} +1 -1
- package/dist/client/assets/{index-CuZfM_Nx.js → index-B8wYFose.js} +2 -2
- package/dist/client/assets/{index-EBcdaBr8.js → index-BOF6ofTq.js} +1 -1
- package/dist/client/assets/{index-9UWU9No6.js → index-BSJbFbDh.js} +1 -1
- package/dist/client/assets/{index-Dii-GCmL.js → index-Bcn8Bkwx.js} +1 -1
- package/dist/client/assets/{index-D24cyaH0.js → index-C49BJ7nT.js} +1 -1
- package/dist/client/assets/{index-BGeVy9GY.js → index-C5S4fHHJ.js} +1 -1
- package/dist/client/assets/{index-Did0bIgZ.js → index-CM5-k2EG.js} +1 -1
- package/dist/client/assets/{index-Ddp3rt_s.js → index-CPa_Ly3S.js} +1 -1
- package/dist/client/assets/{index-41AfW-JA.js → index-D-Yyr1Of.js} +3 -3
- package/dist/client/assets/index-DJWAjcuG.js +1 -0
- package/dist/client/assets/{index-Bk6ofpKs.js → index-Dh5b6FKZ.js} +1 -1
- package/dist/client/assets/{index-BSiW3nl8.js → index-EtUE8o2i.js} +1 -1
- package/dist/client/assets/{index-BQ5t2bfi.js → index-N8VfJ_WS.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-C1pZcrRh.js → infiniteQueryObserver-B3yUqEed.js} +1 -1
- package/dist/client/assets/{input-C_nPAOp-.js → input-jyF6PW8g.js} +1 -1
- package/dist/client/assets/{integration-icon-DFF86wgE.js → integration-icon-BNLQkBSh.js} +1 -1
- package/dist/client/assets/{label-0qGP76Je.js → label-RBqBCNRl.js} +1 -1
- package/dist/client/assets/{layout-Cg-JJAW2.js → layout-C_xEd7nj.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-DJIrnHAv.js → lean-canvas-recruit-modal-DUsywhP3.js} +1 -1
- package/dist/client/assets/{login-QRn6NNta.js → login-C3PZzKVS.js} +1 -1
- package/dist/client/assets/{members-CrOCVa1S.js → members-DxP_61CO.js} +1 -1
- package/dist/client/assets/{monaco-editor-CUPj5vIp.js → monaco-editor-CMoZIi5v.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-XQB01weB.js → monitoring-stats-row-B4N7Cr9X.js} +1 -1
- package/dist/client/assets/{oauth-callback-DAM5kjkH.js → oauth-callback-Y6ElVo-T.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-CgCOlJOy.js → oauth-callback-ai-provider-thCkYTMA.js} +1 -1
- package/dist/client/assets/{onboarding-Bnm_Mvex.js → onboarding-Bpx2v7g7.js} +1 -1
- package/dist/client/assets/{org-layout-BiIo7gdP.js → org-layout-WkhCwbOe.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-DVNl6fGB.js → org-plugin-layout-Bvake79q.js} +1 -1
- package/dist/client/assets/{pair-p9PlaPJZ.js → pair-B6BbDOpB.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-BHGFWrS6.js → plugin-empty-state-QUTzmu71.js} +1 -1
- package/dist/client/assets/{plugin-header-C88P-tJ2.js → plugin-header-BVUkGlDu.js} +1 -1
- package/dist/client/assets/{plugin-layout-CPcZP-wA.js → plugin-layout-DD14rMXC.js} +1 -1
- package/dist/client/assets/{popover-hf7ez2k5.js → popover-qWmYLRmA.js} +1 -1
- package/dist/client/assets/{profile-uzdVVreG.js → profile-CuR6lu-V.js} +1 -1
- package/dist/client/assets/{project-app-view-B4nmS6jh.js → project-app-view-C0X2xA3N.js} +1 -1
- package/dist/client/assets/registry-BPCmPkI0.js +2 -0
- package/dist/client/assets/{registry-layout-B5xsewRT.js → registry-layout-CNhn_-ss.js} +1 -1
- package/dist/client/assets/{required-auth-layout-RFd7feEO.js → required-auth-layout-rSID11cv.js} +1 -1
- package/dist/client/assets/{reset-password-CbMcBO3_.js → reset-password-CPGH6Po2.js} +1 -1
- package/dist/client/assets/{roles-CgmOYqeB.js → roles-CVG_GsDj.js} +1 -1
- package/dist/client/assets/{scroll-area-CrjN_Hq8.js → scroll-area-BO2c1evq.js} +1 -1
- package/dist/client/assets/{search-input-BZfc8yTM.js → search-input-CyuqOS29.js} +1 -1
- package/dist/client/assets/{select-CA9lAVeD.js → select-DyrffkPY.js} +1 -1
- package/dist/client/assets/{select-model-BiPcTGeY.js → select-model-MtHn5YCh.js} +1 -1
- package/dist/client/assets/{settings-layout-CsjaaAqj.js → settings-layout-BeQugeMG.js} +1 -1
- package/dist/client/assets/{settings-section-DcVCikhP.js → settings-section-Bv1B_Iyu.js} +1 -1
- package/dist/client/assets/{shell-layout-D41q7TUN.js → shell-layout-BMFORwGZ.js} +1 -1
- package/dist/client/assets/{skeleton-Bxpym_Gl.js → skeleton-Bb_UHLlD.js} +1 -1
- package/dist/client/assets/{sso-DSPKPWpY.js → sso-CnH39dzt.js} +1 -1
- package/dist/client/assets/{store-DgqqCI-B.js → store-B4Sd_o9F.js} +1 -1
- package/dist/client/assets/store-registry-Dgj_ZLqa.js +2 -0
- package/dist/client/assets/{switch-ImKL-UKs.js → switch-CjEJxiT5.js} +1 -1
- package/dist/client/assets/{table-CFZfbeur.js → table-BSe6la9q.js} +1 -1
- package/dist/client/assets/{tabs-Bddmkcqy.js → tabs-CItgwp2q.js} +1 -1
- package/dist/client/assets/{task-status-1Al2XVQW.js → task-status-gNlQ8E3J.js} +1 -1
- package/dist/client/assets/{textarea-CEA097ZL.js → textarea-CkHpujob.js} +1 -1
- package/dist/client/assets/{toggle-group-21elv4kU.js → toggle-group-BVZV_S5a.js} +1 -1
- package/dist/client/assets/{tools-list-Db3JaZBE.js → tools-list-DTAPbDxP.js} +1 -1
- package/dist/client/assets/{tooltip-fcHRVDrd.js → tooltip-Br8vvjUC.js} +1 -1
- package/dist/client/assets/{types-B9VkwcjF.js → types-CdDmClXu.js} +1 -1
- package/dist/client/assets/{use-ai-providers-8HO1qKzj.js → use-ai-providers-BhO8IOvl.js} +1 -1
- package/dist/client/assets/{use-collections-CmgBwDnE.js → use-collections-C8-XPfet.js} +1 -1
- package/dist/client/assets/{use-connection-8YOBtIES.js → use-connection-D4awwlNm.js} +1 -1
- package/dist/client/assets/{use-copy-DVbfqYMO.js → use-copy-BqN03NIx.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Ca9QljzN.js → use-create-virtual-mcp-NAr-kct_.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-cQTtzsd7.js → use-debounced-autosave-BkTbpR8X.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-26nqmOvd.js → use-decopilot-events-Cy5EvIFc.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DEcCmCjL.js → use-delete-connection-BMqrlfjF.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CFQcQKUz.js → use-infinite-scroll-D-cTYkh7.js} +1 -1
- package/dist/client/assets/{use-list-state-BPQXkEh5.js → use-list-state-KRujZXrp.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BZuO59Lt.js → use-mcp-tools-clbdK_dO.js} +1 -1
- package/dist/client/assets/{use-members-Do2-W9GA.js → use-members-B5Kck8c2.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DlRLMfOu.js → use-navigate-to-agent-0IK3_Y6S.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-BMdZmMRF.js → use-org-auth-client-YO3EIm35.js} +1 -1
- package/dist/client/assets/{use-org-sso-DUJrkZrg.js → use-org-sso-BpLPs06v.js} +1 -1
- package/dist/client/assets/{use-organization-roles-BmET_l7M.js → use-organization-roles-DlPZ2ynD.js} +1 -1
- package/dist/client/assets/{use-organization-settings-B0QeyHfe.js → use-organization-settings-szqcLcms.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BJWiXnMJ.js → use-registry-connections-Bg83zLVA.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BXM6Nr3u.js → use-status-sounds-Bpl9kxdd.js} +1 -1
- package/dist/client/assets/{use-tasks-13l0Myf2.js → use-tasks-CNBdTEaU.js} +1 -1
- package/dist/client/assets/{use-view-mode-37XWNqWL.js → use-view-mode-Bdt8Bgm2.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DDtoeNWN.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-Cs3QR2-O.js → user-DNC84t6V.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-OExNqfwD.js → view-mode-toggle-D60CVsHW.js} +1 -1
- package/dist/client/assets/{workflow-BGNjbF_Q.js → workflow-DgdhY2yy.js} +1 -1
- package/dist/client/assets/workflow-detail-CGa1IVbR.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- 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-array/index.d.ts +4 -0
- package/dist/server/node_modules/postgres-array/index.js +97 -0
- package/dist/server/node_modules/{xtend/LICENSE → postgres-array/license} +2 -1
- package/dist/server/node_modules/postgres-array/package.json +35 -0
- package/dist/server/node_modules/postgres-array/readme.md +43 -0
- package/dist/server/node_modules/postgres-bytea/index.js +33 -0
- package/dist/server/node_modules/postgres-bytea/license +21 -0
- package/dist/server/node_modules/postgres-bytea/package.json +34 -0
- package/dist/server/node_modules/postgres-bytea/readme.md +34 -0
- package/dist/server/node_modules/postgres-date/index.js +116 -0
- package/dist/server/node_modules/postgres-date/license +21 -0
- package/dist/server/node_modules/postgres-date/package.json +33 -0
- package/dist/server/node_modules/postgres-date/readme.md +49 -0
- package/dist/server/node_modules/postgres-interval/index.d.ts +20 -0
- package/dist/server/node_modules/postgres-interval/index.js +125 -0
- package/dist/server/node_modules/postgres-interval/license +21 -0
- package/dist/server/node_modules/postgres-interval/package.json +36 -0
- package/dist/server/node_modules/postgres-interval/readme.md +48 -0
- package/dist/server/node_modules/split2/LICENSE +13 -0
- package/dist/server/node_modules/split2/README.md +85 -0
- package/dist/server/node_modules/split2/bench.js +27 -0
- package/dist/server/node_modules/split2/index.js +141 -0
- package/dist/server/node_modules/split2/package.json +39 -0
- package/dist/server/node_modules/split2/test.js +409 -0
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-CFoSyAC9.js +0 -1
- package/dist/client/assets/index-Bkthve1H.js +0 -1
- package/dist/client/assets/registry-I671gV-G.js +0 -2
- package/dist/client/assets/store-registry-hbLzXl0Q.js +0 -2
- package/dist/client/assets/useInfiniteQuery-BcXAPLQ9.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-rSWjylTj.js +0 -1
- package/dist/client/assets/workflow-detail-Bu26I_xz.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,409 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const test = require('tape')
|
|
4
|
+
const split = require('./')
|
|
5
|
+
const callback = require('callback-stream')
|
|
6
|
+
const strcb = callback.bind(null, { decodeStrings: false })
|
|
7
|
+
const objcb = callback.bind(null, { objectMode: true })
|
|
8
|
+
|
|
9
|
+
test('split two lines on end', function (t) {
|
|
10
|
+
t.plan(2)
|
|
11
|
+
|
|
12
|
+
const input = split()
|
|
13
|
+
|
|
14
|
+
input.pipe(strcb(function (err, list) {
|
|
15
|
+
t.error(err)
|
|
16
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
17
|
+
}))
|
|
18
|
+
|
|
19
|
+
input.end('hello\nworld')
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
test('split two lines on two writes', function (t) {
|
|
23
|
+
t.plan(2)
|
|
24
|
+
|
|
25
|
+
const input = split()
|
|
26
|
+
|
|
27
|
+
input.pipe(strcb(function (err, list) {
|
|
28
|
+
t.error(err)
|
|
29
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
30
|
+
}))
|
|
31
|
+
|
|
32
|
+
input.write('hello')
|
|
33
|
+
input.write('\nworld')
|
|
34
|
+
input.end()
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
test('split four lines on three writes', function (t) {
|
|
38
|
+
t.plan(2)
|
|
39
|
+
|
|
40
|
+
const input = split()
|
|
41
|
+
|
|
42
|
+
input.pipe(strcb(function (err, list) {
|
|
43
|
+
t.error(err)
|
|
44
|
+
t.deepEqual(list, ['hello', 'world', 'bye', 'world'])
|
|
45
|
+
}))
|
|
46
|
+
|
|
47
|
+
input.write('hello\nwor')
|
|
48
|
+
input.write('ld\nbye\nwo')
|
|
49
|
+
input.write('rld')
|
|
50
|
+
input.end()
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
test('accumulate multiple writes', function (t) {
|
|
54
|
+
t.plan(2)
|
|
55
|
+
|
|
56
|
+
const input = split()
|
|
57
|
+
|
|
58
|
+
input.pipe(strcb(function (err, list) {
|
|
59
|
+
t.error(err)
|
|
60
|
+
t.deepEqual(list, ['helloworld'])
|
|
61
|
+
}))
|
|
62
|
+
|
|
63
|
+
input.write('hello')
|
|
64
|
+
input.write('world')
|
|
65
|
+
input.end()
|
|
66
|
+
})
|
|
67
|
+
|
|
68
|
+
test('split using a custom string matcher', function (t) {
|
|
69
|
+
t.plan(2)
|
|
70
|
+
|
|
71
|
+
const input = split('~')
|
|
72
|
+
|
|
73
|
+
input.pipe(strcb(function (err, list) {
|
|
74
|
+
t.error(err)
|
|
75
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
76
|
+
}))
|
|
77
|
+
|
|
78
|
+
input.end('hello~world')
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
test('split using a custom regexp matcher', function (t) {
|
|
82
|
+
t.plan(2)
|
|
83
|
+
|
|
84
|
+
const input = split(/~/)
|
|
85
|
+
|
|
86
|
+
input.pipe(strcb(function (err, list) {
|
|
87
|
+
t.error(err)
|
|
88
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
89
|
+
}))
|
|
90
|
+
|
|
91
|
+
input.end('hello~world')
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
test('support an option argument', function (t) {
|
|
95
|
+
t.plan(2)
|
|
96
|
+
|
|
97
|
+
const input = split({ highWaterMark: 2 })
|
|
98
|
+
|
|
99
|
+
input.pipe(strcb(function (err, list) {
|
|
100
|
+
t.error(err)
|
|
101
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
102
|
+
}))
|
|
103
|
+
|
|
104
|
+
input.end('hello\nworld')
|
|
105
|
+
})
|
|
106
|
+
|
|
107
|
+
test('support a mapper function', function (t) {
|
|
108
|
+
t.plan(2)
|
|
109
|
+
|
|
110
|
+
const a = { a: '42' }
|
|
111
|
+
const b = { b: '24' }
|
|
112
|
+
|
|
113
|
+
const input = split(JSON.parse)
|
|
114
|
+
|
|
115
|
+
input.pipe(objcb(function (err, list) {
|
|
116
|
+
t.error(err)
|
|
117
|
+
t.deepEqual(list, [a, b])
|
|
118
|
+
}))
|
|
119
|
+
|
|
120
|
+
input.write(JSON.stringify(a))
|
|
121
|
+
input.write('\n')
|
|
122
|
+
input.end(JSON.stringify(b))
|
|
123
|
+
})
|
|
124
|
+
|
|
125
|
+
test('split lines windows-style', function (t) {
|
|
126
|
+
t.plan(2)
|
|
127
|
+
|
|
128
|
+
const input = split()
|
|
129
|
+
|
|
130
|
+
input.pipe(strcb(function (err, list) {
|
|
131
|
+
t.error(err)
|
|
132
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
133
|
+
}))
|
|
134
|
+
|
|
135
|
+
input.end('hello\r\nworld')
|
|
136
|
+
})
|
|
137
|
+
|
|
138
|
+
test('splits a buffer', function (t) {
|
|
139
|
+
t.plan(2)
|
|
140
|
+
|
|
141
|
+
const input = split()
|
|
142
|
+
|
|
143
|
+
input.pipe(strcb(function (err, list) {
|
|
144
|
+
t.error(err)
|
|
145
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
146
|
+
}))
|
|
147
|
+
|
|
148
|
+
input.end(Buffer.from('hello\nworld'))
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
test('do not end on undefined', function (t) {
|
|
152
|
+
t.plan(2)
|
|
153
|
+
|
|
154
|
+
const input = split(function (line) { })
|
|
155
|
+
|
|
156
|
+
input.pipe(strcb(function (err, list) {
|
|
157
|
+
t.error(err)
|
|
158
|
+
t.deepEqual(list, [])
|
|
159
|
+
}))
|
|
160
|
+
|
|
161
|
+
input.end(Buffer.from('hello\nworld'))
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
test('has destroy method', function (t) {
|
|
165
|
+
t.plan(1)
|
|
166
|
+
|
|
167
|
+
const input = split(function (line) { })
|
|
168
|
+
|
|
169
|
+
input.on('close', function () {
|
|
170
|
+
t.ok(true, 'close emitted')
|
|
171
|
+
t.end()
|
|
172
|
+
})
|
|
173
|
+
|
|
174
|
+
input.destroy()
|
|
175
|
+
})
|
|
176
|
+
|
|
177
|
+
test('support custom matcher and mapper', function (t) {
|
|
178
|
+
t.plan(4)
|
|
179
|
+
|
|
180
|
+
const a = { a: '42' }
|
|
181
|
+
const b = { b: '24' }
|
|
182
|
+
const input = split('~', JSON.parse)
|
|
183
|
+
|
|
184
|
+
t.equal(input.matcher, '~')
|
|
185
|
+
t.equal(typeof input.mapper, 'function')
|
|
186
|
+
|
|
187
|
+
input.pipe(objcb(function (err, list) {
|
|
188
|
+
t.notOk(err, 'no errors')
|
|
189
|
+
t.deepEqual(list, [a, b])
|
|
190
|
+
}))
|
|
191
|
+
|
|
192
|
+
input.write(JSON.stringify(a))
|
|
193
|
+
input.write('~')
|
|
194
|
+
input.end(JSON.stringify(b))
|
|
195
|
+
})
|
|
196
|
+
|
|
197
|
+
test('support custom matcher and options', function (t) {
|
|
198
|
+
t.plan(6)
|
|
199
|
+
|
|
200
|
+
const input = split('~', { highWaterMark: 1024 })
|
|
201
|
+
|
|
202
|
+
t.equal(input.matcher, '~')
|
|
203
|
+
t.equal(typeof input.mapper, 'function')
|
|
204
|
+
t.equal(input._readableState.highWaterMark, 1024)
|
|
205
|
+
t.equal(input._writableState.highWaterMark, 1024)
|
|
206
|
+
|
|
207
|
+
input.pipe(strcb(function (err, list) {
|
|
208
|
+
t.error(err)
|
|
209
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
210
|
+
}))
|
|
211
|
+
|
|
212
|
+
input.end('hello~world')
|
|
213
|
+
})
|
|
214
|
+
|
|
215
|
+
test('support mapper and options', function (t) {
|
|
216
|
+
t.plan(6)
|
|
217
|
+
|
|
218
|
+
const a = { a: '42' }
|
|
219
|
+
const b = { b: '24' }
|
|
220
|
+
const input = split(JSON.parse, { highWaterMark: 1024 })
|
|
221
|
+
|
|
222
|
+
t.ok(input.matcher instanceof RegExp, 'matcher is RegExp')
|
|
223
|
+
t.equal(typeof input.mapper, 'function')
|
|
224
|
+
t.equal(input._readableState.highWaterMark, 1024)
|
|
225
|
+
t.equal(input._writableState.highWaterMark, 1024)
|
|
226
|
+
|
|
227
|
+
input.pipe(objcb(function (err, list) {
|
|
228
|
+
t.error(err)
|
|
229
|
+
t.deepEqual(list, [a, b])
|
|
230
|
+
}))
|
|
231
|
+
|
|
232
|
+
input.write(JSON.stringify(a))
|
|
233
|
+
input.write('\n')
|
|
234
|
+
input.end(JSON.stringify(b))
|
|
235
|
+
})
|
|
236
|
+
|
|
237
|
+
test('split utf8 chars', function (t) {
|
|
238
|
+
t.plan(2)
|
|
239
|
+
|
|
240
|
+
const input = split()
|
|
241
|
+
|
|
242
|
+
input.pipe(strcb(function (err, list) {
|
|
243
|
+
t.error(err)
|
|
244
|
+
t.deepEqual(list, ['烫烫烫', '锟斤拷'])
|
|
245
|
+
}))
|
|
246
|
+
|
|
247
|
+
const buf = Buffer.from('烫烫烫\r\n锟斤拷', 'utf8')
|
|
248
|
+
for (let i = 0; i < buf.length; ++i) {
|
|
249
|
+
input.write(buf.slice(i, i + 1))
|
|
250
|
+
}
|
|
251
|
+
input.end()
|
|
252
|
+
})
|
|
253
|
+
|
|
254
|
+
test('split utf8 chars 2by2', function (t) {
|
|
255
|
+
t.plan(2)
|
|
256
|
+
|
|
257
|
+
const input = split()
|
|
258
|
+
|
|
259
|
+
input.pipe(strcb(function (err, list) {
|
|
260
|
+
t.error(err)
|
|
261
|
+
t.deepEqual(list, ['烫烫烫', '烫烫烫'])
|
|
262
|
+
}))
|
|
263
|
+
|
|
264
|
+
const str = '烫烫烫\r\n烫烫烫'
|
|
265
|
+
const buf = Buffer.from(str, 'utf8')
|
|
266
|
+
for (let i = 0; i < buf.length; i += 2) {
|
|
267
|
+
input.write(buf.slice(i, i + 2))
|
|
268
|
+
}
|
|
269
|
+
input.end()
|
|
270
|
+
})
|
|
271
|
+
|
|
272
|
+
test('split lines when the \n comes at the end of a chunk', function (t) {
|
|
273
|
+
t.plan(2)
|
|
274
|
+
|
|
275
|
+
const input = split()
|
|
276
|
+
|
|
277
|
+
input.pipe(strcb(function (err, list) {
|
|
278
|
+
t.error(err)
|
|
279
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
280
|
+
}))
|
|
281
|
+
|
|
282
|
+
input.write('hello\n')
|
|
283
|
+
input.end('world')
|
|
284
|
+
})
|
|
285
|
+
|
|
286
|
+
test('truncated utf-8 char', function (t) {
|
|
287
|
+
t.plan(2)
|
|
288
|
+
|
|
289
|
+
const input = split()
|
|
290
|
+
|
|
291
|
+
input.pipe(strcb(function (err, list) {
|
|
292
|
+
t.error(err)
|
|
293
|
+
t.deepEqual(list, ['烫' + Buffer.from('e7', 'hex').toString()])
|
|
294
|
+
}))
|
|
295
|
+
|
|
296
|
+
const str = '烫烫'
|
|
297
|
+
const buf = Buffer.from(str, 'utf8')
|
|
298
|
+
|
|
299
|
+
input.write(buf.slice(0, 3))
|
|
300
|
+
input.end(buf.slice(3, 4))
|
|
301
|
+
})
|
|
302
|
+
|
|
303
|
+
test('maximum buffer limit', function (t) {
|
|
304
|
+
t.plan(1)
|
|
305
|
+
|
|
306
|
+
const input = split({ maxLength: 2 })
|
|
307
|
+
input.on('error', function (err) {
|
|
308
|
+
t.ok(err)
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
input.resume()
|
|
312
|
+
|
|
313
|
+
input.write('hey')
|
|
314
|
+
})
|
|
315
|
+
|
|
316
|
+
test('readable highWaterMark', function (t) {
|
|
317
|
+
const input = split()
|
|
318
|
+
t.equal(input._readableState.highWaterMark, 16)
|
|
319
|
+
t.end()
|
|
320
|
+
})
|
|
321
|
+
|
|
322
|
+
test('maxLength < chunk size', function (t) {
|
|
323
|
+
t.plan(2)
|
|
324
|
+
|
|
325
|
+
const input = split({ maxLength: 2 })
|
|
326
|
+
|
|
327
|
+
input.pipe(strcb(function (err, list) {
|
|
328
|
+
t.error(err)
|
|
329
|
+
t.deepEqual(list, ['a', 'b'])
|
|
330
|
+
}))
|
|
331
|
+
|
|
332
|
+
input.end('a\nb')
|
|
333
|
+
})
|
|
334
|
+
|
|
335
|
+
test('maximum buffer limit w/skip', function (t) {
|
|
336
|
+
t.plan(2)
|
|
337
|
+
|
|
338
|
+
const input = split({ maxLength: 2, skipOverflow: true })
|
|
339
|
+
|
|
340
|
+
input.pipe(strcb(function (err, list) {
|
|
341
|
+
t.error(err)
|
|
342
|
+
t.deepEqual(list, ['a', 'b', 'c'])
|
|
343
|
+
}))
|
|
344
|
+
|
|
345
|
+
input.write('a\n123')
|
|
346
|
+
input.write('456')
|
|
347
|
+
input.write('789\nb\nc')
|
|
348
|
+
input.end()
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
test("don't modify the options object", function (t) {
|
|
352
|
+
t.plan(2)
|
|
353
|
+
|
|
354
|
+
const options = {}
|
|
355
|
+
const input = split(options)
|
|
356
|
+
|
|
357
|
+
input.pipe(strcb(function (err, list) {
|
|
358
|
+
t.error(err)
|
|
359
|
+
t.same(options, {})
|
|
360
|
+
}))
|
|
361
|
+
|
|
362
|
+
input.end()
|
|
363
|
+
})
|
|
364
|
+
|
|
365
|
+
test('mapper throws flush', function (t) {
|
|
366
|
+
t.plan(1)
|
|
367
|
+
const error = new Error()
|
|
368
|
+
const input = split(function () {
|
|
369
|
+
throw error
|
|
370
|
+
})
|
|
371
|
+
|
|
372
|
+
input.on('error', (err, list) => {
|
|
373
|
+
t.same(err, error)
|
|
374
|
+
})
|
|
375
|
+
input.end('hello')
|
|
376
|
+
})
|
|
377
|
+
|
|
378
|
+
test('mapper throws on transform', function (t) {
|
|
379
|
+
t.plan(1)
|
|
380
|
+
|
|
381
|
+
const error = new Error()
|
|
382
|
+
const input = split(function (l) {
|
|
383
|
+
throw error
|
|
384
|
+
})
|
|
385
|
+
|
|
386
|
+
input.on('error', (err) => {
|
|
387
|
+
t.same(err, error)
|
|
388
|
+
})
|
|
389
|
+
input.write('a')
|
|
390
|
+
input.write('\n')
|
|
391
|
+
input.end('b')
|
|
392
|
+
})
|
|
393
|
+
|
|
394
|
+
test('supports Symbol.split', function (t) {
|
|
395
|
+
t.plan(2)
|
|
396
|
+
|
|
397
|
+
const input = split({
|
|
398
|
+
[Symbol.split] (str) {
|
|
399
|
+
return str.split('~')
|
|
400
|
+
}
|
|
401
|
+
})
|
|
402
|
+
|
|
403
|
+
input.pipe(strcb(function (err, list) {
|
|
404
|
+
t.error(err)
|
|
405
|
+
t.deepEqual(list, ['hello', 'world'])
|
|
406
|
+
}))
|
|
407
|
+
|
|
408
|
+
input.end('hello~world')
|
|
409
|
+
})
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t,j as i}from"./index-CuZfM_Nx.js";import{O as m}from"./select-model-BiPcTGeY.js";import"./checkbox-Ccin5Uy8.js";import"./Check-DrgiOcvX.js";import"./input-C_nPAOp-.js";import"./dialog-BFCo_CYj.js";import"./X-Cv85QSif.js";import"./drawer-BnPN5suY.js";import"./tooltip-fcHRVDrd.js";import"./select-CA9lAVeD.js";import"./ChevronDown-C7syIVEM.js";import"./ChevronUp-DgBvNG-s.js";import"./skeleton-Bxpym_Gl.js";import"./Tool01-CcxU2xyo.js";import"./RefreshCcw01-C_zk4Try.js";import"./SearchMd-CEcDQ6LC.js";import"./Settings02-Kj5D6IOr.js";import"./use-ai-providers-8HO1qKzj.js";import"./constants-d6_CHL4E.js";import"./chat-context-CAvcaW8y.js";import"./use-virtual-mcp-DDtoeNWN.js";import"./use-collections-CmgBwDnE.js";import"./use-decopilot-events-26nqmOvd.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-13l0Myf2.js";import"./use-organization-settings-B0QeyHfe.js";import"./ai-providers-logos-DD3qZ33J.js";import"./Zap-C4uL-K8p.js";import"./use-debounced-autosave-cQTtzsd7.js";import"./AlertCircle-DbSc8_5o.js";import"./CheckCircle-BQeGxZq_.js";import"./Trash01-oWeyeakM.js";import"./index-BQ5t2bfi.js";import"./settings-section-DcVCikhP.js";import"./card-Cc_5Nm4i.js";import"./ArrowUpRight-CVt-dZIr.js";import"./switch-ImKL-UKs.js";import"./toggle-group-21elv4kU.js";import"./avatar-B0e9QGvS.js";import"./User01-axhJYAi5.js";import"./alert-dialog-QZrmovBV.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-CuZfM_Nx.js";import{S as j,a as b,b as S}from"./index-BQ5t2bfi.js";import{u as _}from"./tooltip-fcHRVDrd.js";import{u as k,T as y,a as T,b as i,S as g}from"./index-Did0bIgZ.js";import{C as v}from"./chat-context-CAvcaW8y.js";import"./X-Cv85QSif.js";import"./agent-icon-BzMmOj78.js";import"./AlertCircle-DbSc8_5o.js";import"./Tool01-CcxU2xyo.js";import"./XClose-CxIHxCiH.js";import"./RefreshCcw01-C_zk4Try.js";import"./ArrowNarrowLeft-BzM32upt.js";import"./XCircle-DJCAtDKC.js";import"./ArrowUpRight-CVt-dZIr.js";import"./ZapSquare-DtiK8wdw.js";import"./Users03-D0nK5Csa.js";import"./CheckCircle-BQeGxZq_.js";import"./Check-DrgiOcvX.js";import"./ChevronDown-C7syIVEM.js";import"./ChevronRight-BVkmPfkJ.js";import"./ChevronUp-DgBvNG-s.js";import"./DotsVertical-DullXRlj.js";import"./Container-BFBDXadT.js";import"./Star01-CcI10YS1.js";import"./Palette-D8RZYE5o.js";import"./SearchMd-CEcDQ6LC.js";import"./LinkExternal01-eYI9rzDs.js";import"./Lock01-CHD9ynDw.js";import"./Sun-D2L-I4uV.js";import"./Play-DRFVE1h5.js";import"./Plus-B6kqhltR.js";import"./Settings02-Kj5D6IOr.js";import"./Shield01-3u2o5WX2.js";import"./Trash01-oWeyeakM.js";import"./User01-axhJYAi5.js";import"./Zap-C4uL-K8p.js";import"./shell-layout-D41q7TUN.js";import"./dialog-BFCo_CYj.js";import"./required-auth-layout-RFd7feEO.js";import"./use-tasks-13l0Myf2.js";import"./use-collections-CmgBwDnE.js";import"./constants-d6_CHL4E.js";import"./use-organization-settings-B0QeyHfe.js";import"./use-org-sso-DUJrkZrg.js";import"./pair-p9PlaPJZ.js";import"./index-BSiW3nl8.js";import"./use-copy-DVbfqYMO.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./content-blocks-o63cs2vh.js";import"./types-B9VkwcjF.js";import"./integration-icon-DFF86wgE.js";import"./use-virtual-mcp-DDtoeNWN.js";import"./skeleton-Bxpym_Gl.js";import"./popover-hf7ez2k5.js";import"./drawer-BnPN5suY.js";import"./avatar-B0e9QGvS.js";import"./alert-dialog-QZrmovBV.js";import"./form-CH5xE-n6.js";import"./label-0qGP76Je.js";import"./input-C_nPAOp-.js";import"./index-D24cyaH0.js";import"./use-mcp-tools-BZuO59Lt.js";import"./use-ai-providers-8HO1qKzj.js";import"./index-9UWU9No6.js";import"./switch-ImKL-UKs.js";import"./use-connection-8YOBtIES.js";import"./lean-canvas-recruit-modal-DJIrnHAv.js";import"./use-navigate-to-agent-DlRLMfOu.js";import"./collection-search-CemMAr-C.js";import"./checkbox-Ccin5Uy8.js";import"./extract-connection-data-C6jEVYD5.js";import"./constants-DuZel1ZR.js";import"./collections-DIe-ggVS.js";import"./tabs-Bddmkcqy.js";import"./dropdown-menu-BExiIBkw.js";import"./select-CA9lAVeD.js";import"./toggle-group-21elv4kU.js";import"./select-model-BiPcTGeY.js";import"./ai-providers-logos-DD3qZ33J.js";import"./use-debounced-autosave-cQTtzsd7.js";import"./settings-section-DcVCikhP.js";import"./card-Cc_5Nm4i.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./unwrap-tool-result-BYXdCQMg.js";import"./index-Dii-GCmL.js";import"./question-004-sINsf4GQ.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-BfjHOVwg.js";import"./use-registry-connections-BJWiXnMJ.js";import"./useInfiniteQuery-BcXAPLQ9.js";import"./infiniteQueryObserver-C1pZcrRh.js";import"./collection-tabs-CBcoU2EE.js";import"./badge-DBLkzzm7.js";import"./textarea-CEA097ZL.js";import"./connection-form-helpers-DjBgihPg.js";import"./use-infinite-scroll-CFQcQKUz.js";import"./useSuspenseInfiniteQuery-rSWjylTj.js";import"./collection-search-xvNZDMEo.js";import"./use-create-virtual-mcp-Ca9QljzN.js";import"./empty-state-CDyVpLPt.js";import"./use-decopilot-events-26nqmOvd.js";import"./create-sse-subscription-CxkOgzKf.js";import"./task-status-1Al2XVQW.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};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-B5xsewRT.js","assets/index-CuZfM_Nx.js","assets/index-CpHJcJk3.css","assets/ArrowNarrowLeft-BzM32upt.js","assets/CheckCircle-BQeGxZq_.js","assets/Container-BFBDXadT.js","assets/Settings02-Kj5D6IOr.js","assets/XCircle-DJCAtDKC.js","assets/constants-d6_CHL4E.js","assets/useInfiniteQuery-BcXAPLQ9.js","assets/infiniteQueryObserver-C1pZcrRh.js","assets/badge-DBLkzzm7.js","assets/input-C_nPAOp-.js","assets/dropdown-menu-BExiIBkw.js","assets/Check-DrgiOcvX.js","assets/ChevronRight-BVkmPfkJ.js","assets/DotsVertical-DullXRlj.js","assets/table-CFZfbeur.js","assets/toggle-group-21elv4kU.js","assets/use-view-mode-37XWNqWL.js","assets/tooltip-fcHRVDrd.js","assets/SearchMd-CEcDQ6LC.js","assets/dialog-BFCo_CYj.js","assets/X-Cv85QSif.js","assets/AlertCircle-DbSc8_5o.js","assets/alert-dialog-QZrmovBV.js","assets/card-Cc_5Nm4i.js","assets/Trash01-oWeyeakM.js","assets/label-0qGP76Je.js","assets/select-CA9lAVeD.js","assets/ChevronDown-C7syIVEM.js","assets/ChevronUp-DgBvNG-s.js","assets/switch-ImKL-UKs.js","assets/textarea-CEA097ZL.js","assets/RefreshCcw01-C_zk4Try.js","assets/checkbox-Ccin5Uy8.js","assets/LinkExternal01-eYI9rzDs.js","assets/use-copy-DVbfqYMO.js","assets/Plus-B6kqhltR.js","assets/Play-DRFVE1h5.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as a,j as t,r,l as i,_ as o}from"./index-CuZfM_Nx.js";const n=r.lazy(()=>o(()=>import("./registry-layout-B5xsewRT.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,39])));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-B5xsewRT.js","assets/index-CuZfM_Nx.js","assets/index-CpHJcJk3.css","assets/ArrowNarrowLeft-BzM32upt.js","assets/CheckCircle-BQeGxZq_.js","assets/Container-BFBDXadT.js","assets/Settings02-Kj5D6IOr.js","assets/XCircle-DJCAtDKC.js","assets/constants-d6_CHL4E.js","assets/useInfiniteQuery-BcXAPLQ9.js","assets/infiniteQueryObserver-C1pZcrRh.js","assets/badge-DBLkzzm7.js","assets/input-C_nPAOp-.js","assets/dropdown-menu-BExiIBkw.js","assets/Check-DrgiOcvX.js","assets/ChevronRight-BVkmPfkJ.js","assets/DotsVertical-DullXRlj.js","assets/table-CFZfbeur.js","assets/toggle-group-21elv4kU.js","assets/use-view-mode-37XWNqWL.js","assets/tooltip-fcHRVDrd.js","assets/SearchMd-CEcDQ6LC.js","assets/dialog-BFCo_CYj.js","assets/X-Cv85QSif.js","assets/AlertCircle-DbSc8_5o.js","assets/alert-dialog-QZrmovBV.js","assets/card-Cc_5Nm4i.js","assets/Trash01-oWeyeakM.js","assets/label-0qGP76Je.js","assets/select-CA9lAVeD.js","assets/ChevronDown-C7syIVEM.js","assets/ChevronUp-DgBvNG-s.js","assets/switch-ImKL-UKs.js","assets/textarea-CEA097ZL.js","assets/RefreshCcw01-C_zk4Try.js","assets/checkbox-Ccin5Uy8.js","assets/LinkExternal01-eYI9rzDs.js","assets/use-copy-DVbfqYMO.js","assets/Plus-B6kqhltR.js","assets/Play-DRFVE1h5.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-CuZfM_Nx.js";const _=l.lazy(()=>u(()=>import("./registry-layout-B5xsewRT.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,39])));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-C1pZcrRh.js";import{c2 as i}from"./index-CuZfM_Nx.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./infiniteQueryObserver-C1pZcrRh.js";import{c2 as u,c3 as n}from"./index-CuZfM_Nx.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-CuZfM_Nx.js";import{a as f}from"./index-Bk6ofpKs.js";import"./index-EBcdaBr8.js";import"./constants-d6_CHL4E.js";import"./collections-DIe-ggVS.js";import"./index-DdkMHB52.js";import"./use-virtual-mcp-DDtoeNWN.js";import"./use-collections-CmgBwDnE.js";import"./monaco-editor-CUPj5vIp.js";import"./index-BSiW3nl8.js";import"./accordion-UGg6usF2.js";import"./agent-icon-BzMmOj78.js";import"./AlertCircle-DbSc8_5o.js";import"./Tool01-CcxU2xyo.js";import"./XClose-CxIHxCiH.js";import"./RefreshCcw01-C_zk4Try.js";import"./ArrowNarrowLeft-BzM32upt.js";import"./XCircle-DJCAtDKC.js";import"./ArrowUpRight-CVt-dZIr.js";import"./ZapSquare-DtiK8wdw.js";import"./Users03-D0nK5Csa.js";import"./CheckCircle-BQeGxZq_.js";import"./Check-DrgiOcvX.js";import"./ChevronDown-C7syIVEM.js";import"./ChevronRight-BVkmPfkJ.js";import"./ChevronUp-DgBvNG-s.js";import"./DotsVertical-DullXRlj.js";import"./Container-BFBDXadT.js";import"./Star01-CcI10YS1.js";import"./Palette-D8RZYE5o.js";import"./SearchMd-CEcDQ6LC.js";import"./index-BQ5t2bfi.js";import"./tooltip-fcHRVDrd.js";import"./X-Cv85QSif.js";import"./LinkExternal01-eYI9rzDs.js";import"./Lock01-CHD9ynDw.js";import"./Sun-D2L-I4uV.js";import"./Play-DRFVE1h5.js";import"./Plus-B6kqhltR.js";import"./Settings02-Kj5D6IOr.js";import"./Shield01-3u2o5WX2.js";import"./Trash01-oWeyeakM.js";import"./User01-axhJYAi5.js";import"./Zap-C4uL-K8p.js";import"./badge-DBLkzzm7.js";import"./select-CA9lAVeD.js";import"./view-mode-toggle-OExNqfwD.js";import"./layout-Cg-JJAW2.js";import"./use-connection-8YOBtIES.js";import"./use-mcp-tools-BZuO59Lt.js";import"./dialog-BFCo_CYj.js";import"./index-Dii-GCmL.js";import"./dropdown-menu-BExiIBkw.js";import"./integration-icon-DFF86wgE.js";import"./scroll-area-CrjN_Hq8.js";import"./index-D24cyaH0.js";import"./empty-state-DXHvr6ap.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-C_nPAOp-.js";function gt(){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{gt as default};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"maxdepth": 4,
|
|
3
|
-
"maxstatements": 200,
|
|
4
|
-
"maxcomplexity": 12,
|
|
5
|
-
"maxlen": 80,
|
|
6
|
-
"maxparams": 5,
|
|
7
|
-
|
|
8
|
-
"curly": true,
|
|
9
|
-
"eqeqeq": true,
|
|
10
|
-
"immed": true,
|
|
11
|
-
"latedef": false,
|
|
12
|
-
"noarg": true,
|
|
13
|
-
"noempty": true,
|
|
14
|
-
"nonew": true,
|
|
15
|
-
"undef": true,
|
|
16
|
-
"unused": "vars",
|
|
17
|
-
"trailing": true,
|
|
18
|
-
|
|
19
|
-
"quotmark": true,
|
|
20
|
-
"expr": true,
|
|
21
|
-
"asi": true,
|
|
22
|
-
|
|
23
|
-
"browser": false,
|
|
24
|
-
"esnext": true,
|
|
25
|
-
"devel": false,
|
|
26
|
-
"node": false,
|
|
27
|
-
"nonstandard": false,
|
|
28
|
-
|
|
29
|
-
"predef": ["require", "module", "__dirname", "__filename"]
|
|
30
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# xtend
|
|
2
|
-
|
|
3
|
-
[![browser support][3]][4]
|
|
4
|
-
|
|
5
|
-
[](http://github.com/badges/stability-badges)
|
|
6
|
-
|
|
7
|
-
Extend like a boss
|
|
8
|
-
|
|
9
|
-
xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.
|
|
10
|
-
|
|
11
|
-
## Examples
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
var extend = require("xtend")
|
|
15
|
-
|
|
16
|
-
// extend returns a new object. Does not mutate arguments
|
|
17
|
-
var combination = extend({
|
|
18
|
-
a: "a",
|
|
19
|
-
b: "c"
|
|
20
|
-
}, {
|
|
21
|
-
b: "b"
|
|
22
|
-
})
|
|
23
|
-
// { a: "a", b: "b" }
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Stability status: Locked
|
|
27
|
-
|
|
28
|
-
## MIT Licensed
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
[3]: http://ci.testling.com/Raynos/xtend.png
|
|
32
|
-
[4]: http://ci.testling.com/Raynos/xtend
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
module.exports = extend
|
|
2
|
-
|
|
3
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4
|
-
|
|
5
|
-
function extend() {
|
|
6
|
-
var target = {}
|
|
7
|
-
|
|
8
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
9
|
-
var source = arguments[i]
|
|
10
|
-
|
|
11
|
-
for (var key in source) {
|
|
12
|
-
if (hasOwnProperty.call(source, key)) {
|
|
13
|
-
target[key] = source[key]
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
return target
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports = extend
|
|
2
|
-
|
|
3
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4
|
-
|
|
5
|
-
function extend(target) {
|
|
6
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
7
|
-
var source = arguments[i]
|
|
8
|
-
|
|
9
|
-
for (var key in source) {
|
|
10
|
-
if (hasOwnProperty.call(source, key)) {
|
|
11
|
-
target[key] = source[key]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return target
|
|
17
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "xtend",
|
|
3
|
-
"version": "4.0.2",
|
|
4
|
-
"description": "extend like a boss",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"extend",
|
|
7
|
-
"merge",
|
|
8
|
-
"options",
|
|
9
|
-
"opts",
|
|
10
|
-
"object",
|
|
11
|
-
"array"
|
|
12
|
-
],
|
|
13
|
-
"author": "Raynos <raynos2@gmail.com>",
|
|
14
|
-
"repository": "git://github.com/Raynos/xtend.git",
|
|
15
|
-
"main": "immutable",
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "node test"
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {},
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"tape": "~1.1.0"
|
|
22
|
-
},
|
|
23
|
-
"homepage": "https://github.com/Raynos/xtend",
|
|
24
|
-
"contributors": [
|
|
25
|
-
{
|
|
26
|
-
"name": "Jake Verbaten"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "Matt Esch"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"bugs": {
|
|
33
|
-
"url": "https://github.com/Raynos/xtend/issues",
|
|
34
|
-
"email": "raynos2@gmail.com"
|
|
35
|
-
},
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"testling": {
|
|
38
|
-
"files": "test.js",
|
|
39
|
-
"browsers": [
|
|
40
|
-
"ie/7..latest",
|
|
41
|
-
"firefox/16..latest",
|
|
42
|
-
"firefox/nightly",
|
|
43
|
-
"chrome/22..latest",
|
|
44
|
-
"chrome/canary",
|
|
45
|
-
"opera/12..latest",
|
|
46
|
-
"opera/next",
|
|
47
|
-
"safari/5.1..latest",
|
|
48
|
-
"ipad/6.0..latest",
|
|
49
|
-
"iphone/6.0..latest"
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"engines": {
|
|
53
|
-
"node": ">=0.4"
|
|
54
|
-
}
|
|
55
|
-
}
|