decocms 2.276.1 → 2.276.2
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-DzLXavEa.js → AlertCircle-BBqU1qWS.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-CyEr_HFQ.js → ArrowNarrowLeft-CNekOP3n.js} +1 -1
- package/dist/client/assets/{CheckCircle-CMotQv5X.js → CheckCircle-D1VIcB1v.js} +1 -1
- package/dist/client/assets/{ChevronDown-L-DKp152.js → ChevronDown-D3j8fwsA.js} +1 -1
- package/dist/client/assets/{ChevronRight-BU1ygmWa.js → ChevronRight-iahU_m85.js} +1 -1
- package/dist/client/assets/{ChevronUp-7uxSSWGB.js → ChevronUp-gcRxFSBd.js} +1 -1
- package/dist/client/assets/{Container-DXt1Y9Wv.js → Container-ClismqwZ.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DzF5OZ-B.js → LinkExternal01-Cr5TrBdV.js} +1 -1
- package/dist/client/assets/{Lock01-KkAI4eIi.js → Lock01-BaFHhauP.js} +1 -1
- package/dist/client/assets/{Palette-DjlDo0fl.js → Palette-B56V8p0g.js} +1 -1
- package/dist/client/assets/{Play-mrdTPMT2.js → Play-CJl6p68m.js} +1 -1
- package/dist/client/assets/{Plus-BnKCd83q.js → Plus-uRTzng7P.js} +1 -1
- package/dist/client/assets/{SearchMd-tnuXyfyF.js → SearchMd-w0SZQ38I.js} +1 -1
- package/dist/client/assets/{Settings02-CN6Z9eZa.js → Settings02-JhLe5T4h.js} +1 -1
- package/dist/client/assets/{Star01-DeLN6-0b.js → Star01-izvvU391.js} +1 -1
- package/dist/client/assets/{Sun-LtQGOgdh.js → Sun-B88VGXex.js} +1 -1
- package/dist/client/assets/{Tool01-lLv0JLVY.js → Tool01-DTFWc1H6.js} +1 -1
- package/dist/client/assets/{Trash01-DoOAWIQI.js → Trash01-DpAt8su9.js} +1 -1
- package/dist/client/assets/{Upload01-7P4qiqOJ.js → Upload01-xcbOBsW3.js} +1 -1
- package/dist/client/assets/{User01-C8Udq3pX.js → User01-B4t4xc7U.js} +1 -1
- package/dist/client/assets/{Users03-DbtRtQOU.js → Users03-DlknPznL.js} +1 -1
- package/dist/client/assets/{X-BFlss5X6.js → X-g-dkGEmI.js} +1 -1
- package/dist/client/assets/{XCircle-dq7U4Ag4.js → XCircle-poys0PpN.js} +1 -1
- package/dist/client/assets/{Zap-BAW2hqs8.js → Zap-DKHqYmya.js} +1 -1
- package/dist/client/assets/{ZapSquare-47s5RaJz.js → ZapSquare-CZVrqALN.js} +1 -1
- package/dist/client/assets/{accordion-CJFetHYg.js → accordion-DWL2RSp4.js} +1 -1
- package/dist/client/assets/{agent-icon-BlE73Zsp.js → agent-icon-UJwlsHQH.js} +1 -1
- package/dist/client/assets/{agents-list-8pSgveYv.js → agents-list-BLMcQORq.js} +1 -1
- package/dist/client/assets/ai-providers-lpqEGWpz.js +1 -0
- package/dist/client/assets/{alert-dialog-eE56pYmR.js → alert-dialog-FDHWZ_uw.js} +1 -1
- package/dist/client/assets/{auth-catchall-BwK0uWKA.js → auth-catchall-B0v3A89U.js} +1 -1
- package/dist/client/assets/{automation-list-row-BPrk3J0B.js → automation-list-row-C6mcsBHm.js} +1 -1
- package/dist/client/assets/{automations-DdUI9sAB.js → automations-z7BI_mS7.js} +1 -1
- package/dist/client/assets/{avatar-CtYV06kc.js → avatar-USIFL3XA.js} +1 -1
- package/dist/client/assets/{badge-tpgHtQ7V.js → badge-Dw59WStE.js} +1 -1
- package/dist/client/assets/{brand-context-lj0GAPtO.js → brand-context-BXlYB8LR.js} +1 -1
- package/dist/client/assets/{card-DLDrg93a.js → card-DlmO8yFT.js} +1 -1
- package/dist/client/assets/{chat-context-D07By542.js → chat-context-BzUFrztp.js} +1 -1
- package/dist/client/assets/{checkbox-d841RB1L.js → checkbox-DWN5XcT5.js} +1 -1
- package/dist/client/assets/{collection-detail--VmlTh4t.js → collection-detail-Di2yAOsh.js} +1 -1
- package/dist/client/assets/{collection-display-button-DI9Fama5.js → collection-display-button-B_BTdRYF.js} +1 -1
- package/dist/client/assets/{collection-search-D-I9_t8m.js → collection-search-ClPQOcN2.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-itdO5bAr.js → collection-table-wrapper-BeRe_RwV.js} +1 -1
- package/dist/client/assets/{collection-tabs-pP86sgyd.js → collection-tabs-8zopfSWv.js} +1 -1
- package/dist/client/assets/{collections-BPUbighK.js → collections-Bzlz5pov.js} +1 -1
- package/dist/client/assets/{command-D8O3Gl1-.js → command-DKdp37Eh.js} +1 -1
- package/dist/client/assets/{connection-card-BGPp7cgG.js → connection-card-2gDnhNHg.js} +1 -1
- package/dist/client/assets/{connection-detail-DAn-_duM.js → connection-detail-ItRBP4TJ.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Dlhs2WWB.js → connection-form-helpers-8n1o0jn6.js} +1 -1
- package/dist/client/assets/{connections-BRZqo7jJ.js → connections-Eb9MEf-Q.js} +1 -1
- package/dist/client/assets/{constants-DyN4OIf-.js → constants-45iVR-Pa.js} +1 -1
- package/dist/client/assets/{constants-BZ8fIY1P.js → constants-B6Y_WQ-J.js} +1 -1
- package/dist/client/assets/{dialog-DLubr7v0.js → dialog-Cqz8DxyP.js} +1 -1
- package/dist/client/assets/{drawer-CVqexqUr.js → drawer-D1waomcL.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BXJH7fBR.js → dropdown-menu-CqFvWQQD.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-AXXFjwEt.js → dynamic-plugin-layout-CC7bPba5.js} +1 -1
- package/dist/client/assets/{empty-state-hH1NKVzr.js → empty-state-A7wIyI5K.js} +1 -1
- package/dist/client/assets/{empty-state-BL3PU4_L.js → empty-state-VbPFzdDp.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DL9tWRm2.js → extract-connection-data-B9Ysw6Jg.js} +1 -1
- package/dist/client/assets/{features-DJXnzWer.js → features-CbgyfbY9.js} +1 -1
- package/dist/client/assets/{form-BDmSvtuk.js → form-CGj888dU.js} +1 -1
- package/dist/client/assets/{general-BVT3P06A.js → general-B2hBrPb3.js} +1 -1
- package/dist/client/assets/{index-CUWSLjT5.js → index-46g4uSud.js} +1 -1
- package/dist/client/assets/{index-npGPP9fY.js → index-6j1-PJ1E.js} +1 -1
- package/dist/client/assets/{index-C0c2Yov8.js → index-BBSrDR2H.js} +1 -1
- package/dist/client/assets/{index-e1fvgisD.js → index-BH4kwjXY.js} +4 -4
- package/dist/client/assets/{index-C0PreFo1.js → index-BX-c_NH6.js} +1 -1
- package/dist/client/assets/{index-BpYvJ4OX.js → index-BhyPvUQF.js} +1 -1
- package/dist/client/assets/{index-C2OWmxK2.js → index-BoqnJI2v.js} +1 -1
- package/dist/client/assets/{index-WFhI_y7d.js → index-ChD4d8Fy.js} +1 -1
- package/dist/client/assets/{index-D1NUtWck.js → index-DN06f7L5.js} +2 -2
- package/dist/client/assets/{index-BkXWz19f.js → index-Do97zrKf.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-DGAc9onj.js → infiniteQueryObserver-DYIxP7Ht.js} +1 -1
- package/dist/client/assets/{input-CEXK-6_7.js → input-BoegRSKK.js} +1 -1
- package/dist/client/assets/{integration-icon-C8gBnSmM.js → integration-icon-TghpaT83.js} +1 -1
- package/dist/client/assets/{label-T5gX1YRQ.js → label-Dx2DK5Dz.js} +1 -1
- package/dist/client/assets/{layout-BzOmqcKp.js → layout-BzY3AXeK.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-C2DCGFQ1.js → lean-canvas-recruit-modal-C13TMEgP.js} +1 -1
- package/dist/client/assets/{login-B6wwzBSU.js → login-1lxLZ3Kr.js} +1 -1
- package/dist/client/assets/{members-Dr1JTJgA.js → members-KfmXClfA.js} +1 -1
- package/dist/client/assets/{monaco-editor-8HO4_Ur2.js → monaco-editor-Bfj-f9tF.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CrqaEYtA.js → monitoring-stats-row-CSTJIouh.js} +1 -1
- package/dist/client/assets/{oauth-callback-CvzMLH2Y.js → oauth-callback-Dx7lhm8n.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DOqxOVP-.js → oauth-callback-ai-provider-DwImkwo0.js} +1 -1
- package/dist/client/assets/{onboarding-BBoB61YC.js → onboarding-DpKoGqp_.js} +1 -1
- package/dist/client/assets/{org-layout-dSdEDy3w.js → org-layout-B07ttmYa.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-B69PHyTA.js → org-plugin-layout-CN8r2uUV.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-B8LUxp43.js → plugin-empty-state-21KJ1EZ0.js} +1 -1
- package/dist/client/assets/{plugin-header-D4iyZL7p.js → plugin-header-CFKYrYBT.js} +1 -1
- package/dist/client/assets/{plugin-layout-6dzgt8Nf.js → plugin-layout-DQ0HFj99.js} +1 -1
- package/dist/client/assets/{popover-4Tx1bf1c.js → popover-BJYX_eUP.js} +1 -1
- package/dist/client/assets/{profile-rlJtNFFu.js → profile-B6iGmBgK.js} +1 -1
- package/dist/client/assets/{project-app-view-DOiFaagj.js → project-app-view-DveHsLbW.js} +1 -1
- package/dist/client/assets/registry-DKg4oxXI.js +2 -0
- package/dist/client/assets/{registry-layout-A3CSCPwV.js → registry-layout-BZ3jOtRw.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CUSrNfcX.js → required-auth-layout-6vnmXRJt.js} +1 -1
- package/dist/client/assets/{reset-password-BTZ0YHYT.js → reset-password-C6Q7kFiS.js} +1 -1
- package/dist/client/assets/{scroll-area-Byxq0szm.js → scroll-area-C7RniLKT.js} +1 -1
- package/dist/client/assets/{search-input-DfsQvBcu.js → search-input-CspVzFsE.js} +1 -1
- package/dist/client/assets/{select-Hz5eqHFW.js → select-CeLGcRm_.js} +1 -1
- package/dist/client/assets/{select-model-CaIQoO4S.js → select-model-CTvOd2v6.js} +2 -2
- package/dist/client/assets/{settings-layout-Gl-7FoEv.js → settings-layout-B5NmiwtZ.js} +1 -1
- package/dist/client/assets/{shell-layout-DzdppxnK.js → shell-layout-D-glHQwJ.js} +1 -1
- package/dist/client/assets/{skeleton-BDzML6PF.js → skeleton-DL22VZPi.js} +1 -1
- package/dist/client/assets/{sso-BkIleXYV.js → sso-Or0eg9-K.js} +1 -1
- package/dist/client/assets/{store-CjYuUqaI.js → store-9Z2sns3t.js} +1 -1
- package/dist/client/assets/store-registry-D53q05D2.js +2 -0
- package/dist/client/assets/{switch-B6g8A-mV.js → switch-Dgj2Qk7i.js} +1 -1
- package/dist/client/assets/{table-DQ3t1bXu.js → table-DD05ZO6T.js} +1 -1
- package/dist/client/assets/{tabs-DOhjGqW5.js → tabs-BX4b83RA.js} +1 -1
- package/dist/client/assets/{task-status-DKL9nwsD.js → task-status-g2-NV9sQ.js} +1 -1
- package/dist/client/assets/{textarea-CVQkfOJk.js → textarea-BhcVKoF_.js} +1 -1
- package/dist/client/assets/{toggle-group-Cfen_q_R.js → toggle-group-Cmi6TIOk.js} +1 -1
- package/dist/client/assets/{tools-list-C4GBCzQF.js → tools-list-CsG9Mnwi.js} +1 -1
- package/dist/client/assets/{types-DRPjvsJK.js → types-CHdbkHyV.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CAFjrKsE.js → use-ai-providers-Sx7HvH7l.js} +1 -1
- package/dist/client/assets/{use-collections-QllonpeS.js → use-collections-jpFK-1KA.js} +1 -1
- package/dist/client/assets/{use-connection-c_kVH9Ba.js → use-connection-DJhKa9wi.js} +1 -1
- package/dist/client/assets/{use-copy-BnJAUU38.js → use-copy-XHJJc9Ag.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CSKx5CUZ.js → use-create-virtual-mcp-C17uvNYd.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-PnZv-Hxt.js → use-decopilot-events-D2SrJLT6.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CZOJYy5I.js → use-delete-connection-Vpt8BqAw.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-FOngU937.js → use-infinite-scroll-bSbQel-x.js} +1 -1
- package/dist/client/assets/{use-list-state-C5ucIHNM.js → use-list-state-CCp8M8Xv.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DXfa1vn-.js → use-mcp-tools-BOQ7XAnx.js} +1 -1
- package/dist/client/assets/{use-members-BaFj-cNr.js → use-members-fPhtXrk4.js} +1 -1
- package/dist/client/assets/{use-mobile-fJpaHrzf.js → use-mobile-DiyZoirm.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-ChDeCHV2.js → use-navigate-to-agent-CNUExhtk.js} +1 -1
- package/dist/client/assets/{use-org-sso-CpH4bty0.js → use-org-sso-B3dpLK1-.js} +1 -1
- package/dist/client/assets/{use-organization-settings-Dw8RIB4J.js → use-organization-settings-PJvdW7d7.js} +1 -1
- package/dist/client/assets/{use-public-config-C1IrfsO5.js → use-public-config-BnjdnqEK.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BQbpOdXR.js → use-registry-connections-DwO9HoC-.js} +1 -1
- package/dist/client/assets/{use-status-sounds-N7o4x9JG.js → use-status-sounds-DEQHOZ-w.js} +1 -1
- package/dist/client/assets/{use-tasks-DExM7Bgy.js → use-tasks-CTpvHrCM.js} +1 -1
- package/dist/client/assets/{use-view-mode-LxYzzwlc.js → use-view-mode-DQzsTtxY.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CF_Xz2vS.js → use-virtual-mcp-DQie-k1B.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-D4FFCIqQ.js +1 -0
- package/dist/client/assets/{user-CxWIE8Wy.js → user-CZGUOwnk.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-BRUUFACT.js → view-mode-toggle-BueEh3Rt.js} +1 -1
- package/dist/client/assets/{workflow-9q-Zd6nw.js → workflow-CLN31xo6.js} +1 -1
- package/dist/client/assets/workflow-detail-CWECDm-G.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/node_modules/convert-to-spaces/dist/index.d.ts +2 -0
- package/dist/server/node_modules/convert-to-spaces/dist/index.js +4 -0
- package/dist/server/node_modules/convert-to-spaces/license +21 -0
- package/dist/server/node_modules/convert-to-spaces/package.json +40 -0
- package/dist/server/node_modules/convert-to-spaces/readme.md +39 -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/package.json +53 -0
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
- package/dist/server/node_modules/onetime/index.d.ts +64 -0
- package/dist/server/node_modules/onetime/index.js +44 -0
- package/dist/server/node_modules/onetime/package.json +43 -0
- package/dist/server/node_modules/onetime/readme.md +94 -0
- package/dist/server/node_modules/pg-cloudflare/README.md +112 -0
- package/dist/server/node_modules/pg-cloudflare/dist/empty.d.ts +2 -0
- package/dist/server/node_modules/pg-cloudflare/dist/empty.js +6 -0
- package/dist/server/node_modules/pg-cloudflare/dist/empty.js.map +1 -0
- package/dist/server/node_modules/pg-cloudflare/dist/index.d.ts +31 -0
- package/dist/server/node_modules/pg-cloudflare/dist/index.js +152 -0
- package/dist/server/node_modules/pg-cloudflare/dist/index.js.map +1 -0
- package/dist/server/node_modules/pg-cloudflare/esm/index.mjs +3 -0
- package/dist/server/node_modules/pg-cloudflare/package.json +39 -0
- package/dist/server/node_modules/pg-cloudflare/src/empty.ts +3 -0
- package/dist/server/node_modules/pg-cloudflare/src/index.ts +166 -0
- package/dist/server/node_modules/pg-cloudflare/src/types.d.ts +25 -0
- package/dist/server/node_modules/pg-connection-string/LICENSE +21 -0
- package/dist/server/node_modules/pg-connection-string/README.md +105 -0
- package/dist/server/node_modules/pg-connection-string/esm/index.mjs +8 -0
- package/dist/server/node_modules/pg-connection-string/index.d.ts +36 -0
- package/dist/server/node_modules/pg-connection-string/index.js +231 -0
- package/dist/server/node_modules/pg-connection-string/package.json +52 -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/{scheduler → pg-pool}/LICENSE +1 -1
- 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/pg-protocol/LICENSE +21 -0
- package/dist/server/node_modules/pg-protocol/README.md +3 -0
- package/dist/server/node_modules/pg-protocol/dist/b.d.ts +1 -0
- package/dist/server/node_modules/pg-protocol/dist/b.js +23 -0
- package/dist/server/node_modules/pg-protocol/dist/b.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.d.ts +15 -0
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.js +55 -0
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.d.ts +16 -0
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.js +81 -0
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.d.ts +1 -0
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.js +530 -0
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/dist/index.d.ts +6 -0
- package/dist/server/node_modules/pg-protocol/dist/index.js +15 -0
- package/dist/server/node_modules/pg-protocol/dist/index.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/dist/messages.d.ts +162 -0
- package/dist/server/node_modules/pg-protocol/dist/messages.js +160 -0
- package/dist/server/node_modules/pg-protocol/dist/messages.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.d.ts +1 -0
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.js +252 -0
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/dist/parser.d.ts +24 -0
- package/dist/server/node_modules/pg-protocol/dist/parser.js +324 -0
- package/dist/server/node_modules/pg-protocol/dist/parser.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/dist/serializer.d.ts +42 -0
- package/dist/server/node_modules/pg-protocol/dist/serializer.js +189 -0
- package/dist/server/node_modules/pg-protocol/dist/serializer.js.map +1 -0
- package/dist/server/node_modules/pg-protocol/esm/index.js +11 -0
- package/dist/server/node_modules/pg-protocol/package.json +45 -0
- package/dist/server/node_modules/pg-protocol/src/b.ts +25 -0
- package/dist/server/node_modules/pg-protocol/src/buffer-reader.ts +58 -0
- package/dist/server/node_modules/pg-protocol/src/buffer-writer.ts +85 -0
- package/dist/server/node_modules/pg-protocol/src/inbound-parser.test.ts +575 -0
- package/dist/server/node_modules/pg-protocol/src/index.ts +11 -0
- package/dist/server/node_modules/pg-protocol/src/messages.ts +262 -0
- package/dist/server/node_modules/pg-protocol/src/outbound-serializer.test.ts +276 -0
- package/dist/server/node_modules/pg-protocol/src/parser.ts +413 -0
- package/dist/server/node_modules/pg-protocol/src/serializer.ts +274 -0
- package/dist/server/node_modules/pg-protocol/src/testing/buffer-list.ts +67 -0
- package/dist/server/node_modules/pg-protocol/src/testing/test-buffers.ts +166 -0
- package/dist/server/node_modules/pg-protocol/src/types/chunky.d.ts +1 -0
- package/dist/server/node_modules/pg-types/.travis.yml +7 -0
- package/dist/server/node_modules/pg-types/Makefile +14 -0
- package/dist/server/node_modules/pg-types/README.md +75 -0
- package/dist/server/node_modules/pg-types/index.d.ts +137 -0
- package/dist/server/node_modules/pg-types/index.js +47 -0
- package/dist/server/node_modules/pg-types/index.test-d.ts +21 -0
- package/dist/server/node_modules/pg-types/lib/arrayParser.js +11 -0
- package/dist/server/node_modules/pg-types/lib/binaryParsers.js +257 -0
- package/dist/server/node_modules/pg-types/lib/builtins.js +73 -0
- package/dist/server/node_modules/pg-types/lib/textParsers.js +215 -0
- package/dist/server/node_modules/pg-types/package.json +42 -0
- package/dist/server/node_modules/pg-types/test/index.js +24 -0
- package/dist/server/node_modules/pg-types/test/types.js +597 -0
- package/dist/server/node_modules/pgpass/README.md +74 -0
- package/dist/server/node_modules/pgpass/lib/helper.js +233 -0
- package/dist/server/node_modules/pgpass/lib/index.js +23 -0
- package/dist/server/node_modules/pgpass/package.json +41 -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/postgres-array/license +21 -0
- 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-CnO63wjr.js +0 -1
- package/dist/client/assets/registry-BTomiBS2.js +0 -2
- package/dist/client/assets/store-registry-_EZSKcWm.js +0 -2
- package/dist/client/assets/useInfiniteQuery-DquktRvH.js +0 -1
- package/dist/client/assets/workflow-detail-DWLk3cWV.js +0 -1
- package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
- package/dist/server/node_modules/ansi-styles/index.js +0 -223
- package/dist/server/node_modules/ansi-styles/package.json +0 -54
- package/dist/server/node_modules/ansi-styles/readme.md +0 -173
- package/dist/server/node_modules/get-east-asian-width/index.d.ts +0 -60
- package/dist/server/node_modules/get-east-asian-width/index.js +0 -30
- package/dist/server/node_modules/get-east-asian-width/lookup-data.js +0 -18
- package/dist/server/node_modules/get-east-asian-width/lookup.js +0 -135
- package/dist/server/node_modules/get-east-asian-width/package.json +0 -71
- package/dist/server/node_modules/get-east-asian-width/readme.md +0 -65
- package/dist/server/node_modules/get-east-asian-width/utilities.js +0 -24
- package/dist/server/node_modules/pg/README.md +0 -95
- package/dist/server/node_modules/pg/esm/index.mjs +0 -20
- package/dist/server/node_modules/pg/lib/client.js +0 -743
- package/dist/server/node_modules/pg/lib/connection-parameters.js +0 -171
- package/dist/server/node_modules/pg/lib/connection.js +0 -221
- package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
- package/dist/server/node_modules/pg/lib/crypto/sasl.js +0 -212
- package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +0 -43
- package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +0 -89
- package/dist/server/node_modules/pg/lib/crypto/utils.js +0 -9
- package/dist/server/node_modules/pg/lib/defaults.js +0 -91
- package/dist/server/node_modules/pg/lib/index.js +0 -73
- package/dist/server/node_modules/pg/lib/native/client.js +0 -323
- package/dist/server/node_modules/pg/lib/native/index.js +0 -2
- package/dist/server/node_modules/pg/lib/native/query.js +0 -165
- package/dist/server/node_modules/pg/lib/query.js +0 -252
- package/dist/server/node_modules/pg/lib/result.js +0 -109
- package/dist/server/node_modules/pg/lib/stream.js +0 -83
- package/dist/server/node_modules/pg/lib/type-overrides.js +0 -35
- package/dist/server/node_modules/pg/lib/utils.js +0 -217
- package/dist/server/node_modules/pg/package.json +0 -76
- package/dist/server/node_modules/scheduler/README.md +0 -9
- package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -414
- package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_mock.production.js +0 -406
- package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -150
- package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.js +0 -140
- package/dist/server/node_modules/scheduler/cjs/scheduler.development.js +0 -364
- package/dist/server/node_modules/scheduler/cjs/scheduler.native.development.js +0 -350
- package/dist/server/node_modules/scheduler/cjs/scheduler.native.production.js +0 -330
- package/dist/server/node_modules/scheduler/cjs/scheduler.production.js +0 -340
- package/dist/server/node_modules/scheduler/index.js +0 -7
- package/dist/server/node_modules/scheduler/index.native.js +0 -7
- package/dist/server/node_modules/scheduler/package.json +0 -27
- package/dist/server/node_modules/scheduler/unstable_mock.js +0 -7
- package/dist/server/node_modules/scheduler/unstable_post_task.js +0 -7
- 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/license +0 -10
- 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/strip-ansi/index.d.ts +0 -15
- package/dist/server/node_modules/strip-ansi/index.js +0 -19
- package/dist/server/node_modules/strip-ansi/license +0 -9
- package/dist/server/node_modules/strip-ansi/package.json +0 -59
- package/dist/server/node_modules/strip-ansi/readme.md +0 -37
- /package/dist/server/node_modules/{ansi-styles → is-fullwidth-code-point}/license +0 -0
- /package/dist/server/node_modules/{get-east-asian-width → onetime}/license +0 -0
- /package/dist/server/node_modules/{pg → pg-cloudflare}/LICENSE +0 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c) 2014-2021, Matteo Collina <hello@matteocollina.com>
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
6
|
+
copyright notice and this permission notice appear in all copies.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
9
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
10
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
11
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
12
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
13
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
14
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
'use strict'
|
|
18
|
+
|
|
19
|
+
const { Transform } = require('stream')
|
|
20
|
+
const { StringDecoder } = require('string_decoder')
|
|
21
|
+
const kLast = Symbol('last')
|
|
22
|
+
const kDecoder = Symbol('decoder')
|
|
23
|
+
|
|
24
|
+
function transform (chunk, enc, cb) {
|
|
25
|
+
let list
|
|
26
|
+
if (this.overflow) { // Line buffer is full. Skip to start of next line.
|
|
27
|
+
const buf = this[kDecoder].write(chunk)
|
|
28
|
+
list = buf.split(this.matcher)
|
|
29
|
+
|
|
30
|
+
if (list.length === 1) return cb() // Line ending not found. Discard entire chunk.
|
|
31
|
+
|
|
32
|
+
// Line ending found. Discard trailing fragment of previous line and reset overflow state.
|
|
33
|
+
list.shift()
|
|
34
|
+
this.overflow = false
|
|
35
|
+
} else {
|
|
36
|
+
this[kLast] += this[kDecoder].write(chunk)
|
|
37
|
+
list = this[kLast].split(this.matcher)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
this[kLast] = list.pop()
|
|
41
|
+
|
|
42
|
+
for (let i = 0; i < list.length; i++) {
|
|
43
|
+
try {
|
|
44
|
+
push(this, this.mapper(list[i]))
|
|
45
|
+
} catch (error) {
|
|
46
|
+
return cb(error)
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
this.overflow = this[kLast].length > this.maxLength
|
|
51
|
+
if (this.overflow && !this.skipOverflow) {
|
|
52
|
+
cb(new Error('maximum buffer reached'))
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
cb()
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function flush (cb) {
|
|
60
|
+
// forward any gibberish left in there
|
|
61
|
+
this[kLast] += this[kDecoder].end()
|
|
62
|
+
|
|
63
|
+
if (this[kLast]) {
|
|
64
|
+
try {
|
|
65
|
+
push(this, this.mapper(this[kLast]))
|
|
66
|
+
} catch (error) {
|
|
67
|
+
return cb(error)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
cb()
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function push (self, val) {
|
|
75
|
+
if (val !== undefined) {
|
|
76
|
+
self.push(val)
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function noop (incoming) {
|
|
81
|
+
return incoming
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function split (matcher, mapper, options) {
|
|
85
|
+
// Set defaults for any arguments not supplied.
|
|
86
|
+
matcher = matcher || /\r?\n/
|
|
87
|
+
mapper = mapper || noop
|
|
88
|
+
options = options || {}
|
|
89
|
+
|
|
90
|
+
// Test arguments explicitly.
|
|
91
|
+
switch (arguments.length) {
|
|
92
|
+
case 1:
|
|
93
|
+
// If mapper is only argument.
|
|
94
|
+
if (typeof matcher === 'function') {
|
|
95
|
+
mapper = matcher
|
|
96
|
+
matcher = /\r?\n/
|
|
97
|
+
// If options is only argument.
|
|
98
|
+
} else if (typeof matcher === 'object' && !(matcher instanceof RegExp) && !matcher[Symbol.split]) {
|
|
99
|
+
options = matcher
|
|
100
|
+
matcher = /\r?\n/
|
|
101
|
+
}
|
|
102
|
+
break
|
|
103
|
+
|
|
104
|
+
case 2:
|
|
105
|
+
// If mapper and options are arguments.
|
|
106
|
+
if (typeof matcher === 'function') {
|
|
107
|
+
options = mapper
|
|
108
|
+
mapper = matcher
|
|
109
|
+
matcher = /\r?\n/
|
|
110
|
+
// If matcher and options are arguments.
|
|
111
|
+
} else if (typeof mapper === 'object') {
|
|
112
|
+
options = mapper
|
|
113
|
+
mapper = noop
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
options = Object.assign({}, options)
|
|
118
|
+
options.autoDestroy = true
|
|
119
|
+
options.transform = transform
|
|
120
|
+
options.flush = flush
|
|
121
|
+
options.readableObjectMode = true
|
|
122
|
+
|
|
123
|
+
const stream = new Transform(options)
|
|
124
|
+
|
|
125
|
+
stream[kLast] = ''
|
|
126
|
+
stream[kDecoder] = new StringDecoder('utf8')
|
|
127
|
+
stream.matcher = matcher
|
|
128
|
+
stream.mapper = mapper
|
|
129
|
+
stream.maxLength = options.maxLength
|
|
130
|
+
stream.skipOverflow = options.skipOverflow || false
|
|
131
|
+
stream.overflow = false
|
|
132
|
+
stream._destroy = function (err, cb) {
|
|
133
|
+
// Weird Node v12 bug that we need to work around
|
|
134
|
+
this._writableState.errorEmitted = false
|
|
135
|
+
cb(err)
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
return stream
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
module.exports = split
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "split2",
|
|
3
|
+
"version": "4.2.0",
|
|
4
|
+
"description": "split a Text Stream into a Line Stream, using Stream 3",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"lint": "standard --verbose",
|
|
8
|
+
"unit": "nyc --lines 100 --branches 100 --functions 100 --check-coverage --reporter=text tape test.js",
|
|
9
|
+
"coverage": "nyc --reporter=html --reporter=cobertura --reporter=text tape test/test.js",
|
|
10
|
+
"test:report": "npm run lint && npm run unit:report",
|
|
11
|
+
"test": "npm run lint && npm run unit",
|
|
12
|
+
"legacy": "tape test.js"
|
|
13
|
+
},
|
|
14
|
+
"pre-commit": [
|
|
15
|
+
"test"
|
|
16
|
+
],
|
|
17
|
+
"website": "https://github.com/mcollina/split2",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/mcollina/split2.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "http://github.com/mcollina/split2/issues"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">= 10.x"
|
|
27
|
+
},
|
|
28
|
+
"author": "Matteo Collina <hello@matteocollina.com>",
|
|
29
|
+
"license": "ISC",
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"binary-split": "^1.0.3",
|
|
32
|
+
"callback-stream": "^1.1.0",
|
|
33
|
+
"fastbench": "^1.0.0",
|
|
34
|
+
"nyc": "^15.0.1",
|
|
35
|
+
"pre-commit": "^1.1.2",
|
|
36
|
+
"standard": "^17.0.0",
|
|
37
|
+
"tape": "^5.0.0"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -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-D1NUtWck.js";import{O as m}from"./select-model-CaIQoO4S.js";import"./checkbox-d841RB1L.js";import"./ChevronDown-L-DKp152.js";import"./input-CEXK-6_7.js";import"./dialog-DLubr7v0.js";import"./X-BFlss5X6.js";import"./drawer-CVqexqUr.js";import"./use-mobile-fJpaHrzf.js";import"./select-Hz5eqHFW.js";import"./ChevronUp-7uxSSWGB.js";import"./skeleton-BDzML6PF.js";import"./Tool01-lLv0JLVY.js";import"./SearchMd-tnuXyfyF.js";import"./Settings02-CN6Z9eZa.js";import"./use-ai-providers-CAFjrKsE.js";import"./constants-BZ8fIY1P.js";import"./chat-context-D07By542.js";import"./use-virtual-mcp-CF_Xz2vS.js";import"./use-collections-QllonpeS.js";import"./use-decopilot-events-PnZv-Hxt.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-DExM7Bgy.js";import"./use-organization-settings-Dw8RIB4J.js";import"./ai-providers-logos-CS4PCiqI.js";import"./Zap-BAW2hqs8.js";import"./AlertCircle-DzLXavEa.js";import"./CheckCircle-CMotQv5X.js";import"./Trash01-DoOAWIQI.js";import"./index-npGPP9fY.js";import"./card-DLDrg93a.js";import"./switch-B6g8A-mV.js";import"./toggle-group-Cfen_q_R.js";import"./avatar-CtYV06kc.js";import"./User01-C8Udq3pX.js";import"./alert-dialog-eE56pYmR.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./unwrap-tool-result-BYXdCQMg.js";function M(){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{M as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-A3CSCPwV.js","assets/index-D1NUtWck.js","assets/index-B2LlXg0m.css","assets/ArrowNarrowLeft-CyEr_HFQ.js","assets/CheckCircle-CMotQv5X.js","assets/Container-DXt1Y9Wv.js","assets/Settings02-CN6Z9eZa.js","assets/XCircle-dq7U4Ag4.js","assets/constants-BZ8fIY1P.js","assets/useInfiniteQuery-DquktRvH.js","assets/infiniteQueryObserver-DGAc9onj.js","assets/badge-tpgHtQ7V.js","assets/input-CEXK-6_7.js","assets/dropdown-menu-BXJH7fBR.js","assets/ChevronDown-L-DKp152.js","assets/ChevronRight-BU1ygmWa.js","assets/table-DQ3t1bXu.js","assets/toggle-group-Cfen_q_R.js","assets/use-view-mode-LxYzzwlc.js","assets/use-mobile-fJpaHrzf.js","assets/SearchMd-tnuXyfyF.js","assets/dialog-DLubr7v0.js","assets/X-BFlss5X6.js","assets/AlertCircle-DzLXavEa.js","assets/Upload01-7P4qiqOJ.js","assets/alert-dialog-eE56pYmR.js","assets/card-DLDrg93a.js","assets/Trash01-DoOAWIQI.js","assets/label-T5gX1YRQ.js","assets/select-Hz5eqHFW.js","assets/ChevronUp-7uxSSWGB.js","assets/switch-B6g8A-mV.js","assets/textarea-CVQkfOJk.js","assets/checkbox-d841RB1L.js","assets/LinkExternal01-DzF5OZ-B.js","assets/use-copy-BnJAUU38.js","assets/Plus-BnKCd83q.js","assets/Play-mrdTPMT2.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as a,j as t,r,l as i,aD as o}from"./index-D1NUtWck.js";const n=r.lazy(()=>o(()=>import("./registry-layout-A3CSCPwV.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])));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-A3CSCPwV.js","assets/index-D1NUtWck.js","assets/index-B2LlXg0m.css","assets/ArrowNarrowLeft-CyEr_HFQ.js","assets/CheckCircle-CMotQv5X.js","assets/Container-DXt1Y9Wv.js","assets/Settings02-CN6Z9eZa.js","assets/XCircle-dq7U4Ag4.js","assets/constants-BZ8fIY1P.js","assets/useInfiniteQuery-DquktRvH.js","assets/infiniteQueryObserver-DGAc9onj.js","assets/badge-tpgHtQ7V.js","assets/input-CEXK-6_7.js","assets/dropdown-menu-BXJH7fBR.js","assets/ChevronDown-L-DKp152.js","assets/ChevronRight-BU1ygmWa.js","assets/table-DQ3t1bXu.js","assets/toggle-group-Cfen_q_R.js","assets/use-view-mode-LxYzzwlc.js","assets/use-mobile-fJpaHrzf.js","assets/SearchMd-tnuXyfyF.js","assets/dialog-DLubr7v0.js","assets/X-BFlss5X6.js","assets/AlertCircle-DzLXavEa.js","assets/Upload01-7P4qiqOJ.js","assets/alert-dialog-eE56pYmR.js","assets/card-DLDrg93a.js","assets/Trash01-DoOAWIQI.js","assets/label-T5gX1YRQ.js","assets/select-Hz5eqHFW.js","assets/ChevronUp-7uxSSWGB.js","assets/switch-B6g8A-mV.js","assets/textarea-CVQkfOJk.js","assets/checkbox-d841RB1L.js","assets/LinkExternal01-DzF5OZ-B.js","assets/use-copy-BnJAUU38.js","assets/Plus-BnKCd83q.js","assets/Play-mrdTPMT2.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,aD as u}from"./index-D1NUtWck.js";const g=l.lazy(()=>u(()=>import("./registry-layout-A3CSCPwV.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])));function _(){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(g,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-DGAc9onj.js";import{bW as i}from"./index-D1NUtWck.js";function t(e,r){return i(e,u,r)}export{t 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-D1NUtWck.js";import{a as f}from"./index-C0c2Yov8.js";import"./index-BpYvJ4OX.js";import"./constants-BZ8fIY1P.js";import"./collections-BPUbighK.js";import"./index-C2OWmxK2.js";import"./use-virtual-mcp-CF_Xz2vS.js";import"./use-collections-QllonpeS.js";import"./monaco-editor-8HO4_Ur2.js";import"./scroll-area-Byxq0szm.js";import"./select-Hz5eqHFW.js";import"./use-mobile-fJpaHrzf.js";import"./ChevronDown-L-DKp152.js";import"./ChevronUp-7uxSSWGB.js";import"./accordion-CJFetHYg.js";import"./agent-icon-BlE73Zsp.js";import"./AlertCircle-DzLXavEa.js";import"./Tool01-lLv0JLVY.js";import"./SearchMd-tnuXyfyF.js";import"./ArrowNarrowLeft-CyEr_HFQ.js";import"./XCircle-dq7U4Ag4.js";import"./ZapSquare-47s5RaJz.js";import"./Users03-DbtRtQOU.js";import"./CheckCircle-CMotQv5X.js";import"./ChevronRight-BU1ygmWa.js";import"./Container-DXt1Y9Wv.js";import"./Star01-DeLN6-0b.js";import"./Palette-DjlDo0fl.js";import"./index-npGPP9fY.js";import"./X-BFlss5X6.js";import"./LinkExternal01-DzF5OZ-B.js";import"./Lock01-KkAI4eIi.js";import"./Sun-LtQGOgdh.js";import"./Play-mrdTPMT2.js";import"./Plus-BnKCd83q.js";import"./Settings02-CN6Z9eZa.js";import"./Trash01-DoOAWIQI.js";import"./Upload01-7P4qiqOJ.js";import"./User01-C8Udq3pX.js";import"./Zap-BAW2hqs8.js";import"./badge-tpgHtQ7V.js";import"./view-mode-toggle-BRUUFACT.js";import"./layout-BzOmqcKp.js";import"./use-connection-c_kVH9Ba.js";import"./use-mcp-tools-DXfa1vn-.js";import"./dialog-DLubr7v0.js";import"./dropdown-menu-BXJH7fBR.js";import"./integration-icon-C8gBnSmM.js";import"./index-CUWSLjT5.js";import"./empty-state-BL3PU4_L.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-CEXK-6_7.js";function ct(){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{ct as default};
|