decocms 2.316.0 → 2.316.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.
Files changed (282) hide show
  1. package/dist/client/assets/{AlertCircle-BhKIfxeV.js → AlertCircle-mmk9TBUN.js} +1 -1
  2. package/dist/client/assets/{Archive-Dz0wtILE.js → Archive-CbeO47D9.js} +1 -1
  3. package/dist/client/assets/{ArrowNarrowLeft-D2IzKz0U.js → ArrowNarrowLeft-BryccYHS.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-DQNhEvxd.js → ArrowUpRight-BqG0Qm11.js} +1 -1
  5. package/dist/client/assets/{Check-B3zx_U26.js → Check-ewVPSiX8.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-S5ffz95T.js → CheckCircle-DDQaFs5O.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-B2rzld2y.js → ChevronDown-E-aU4pxG.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-E3ry5bv1.js → ChevronRight-Cwk4iWe2.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-CR14Z0nx.js → ChevronUp-BA_jils7.js} +1 -1
  10. package/dist/client/assets/{Container-hpy3kvOB.js → Container-BY1nC9tk.js} +1 -1
  11. package/dist/client/assets/{DotsVertical-DlBHJ9PJ.js → DotsVertical-sTOzUu6j.js} +1 -1
  12. package/dist/client/assets/{LayoutLeft-O15r8yaV.js → LayoutLeft-DQwydLSJ.js} +1 -1
  13. package/dist/client/assets/{LinkExternal01-CqYIOZ9A.js → LinkExternal01-Cr0qtThD.js} +1 -1
  14. package/dist/client/assets/{Lock01-BWTd97_q.js → Lock01-CLcLLz3O.js} +1 -1
  15. package/dist/client/assets/{Palette-48b46GGh.js → Palette-CnDoOIi6.js} +1 -1
  16. package/dist/client/assets/{Play-CWd0g6Ov.js → Play-CDasMsQh.js} +1 -1
  17. package/dist/client/assets/{Plus-Dld8jPbl.js → Plus-CyxhvA7G.js} +1 -1
  18. package/dist/client/assets/{RefreshCcw01-DlZMdaR5.js → RefreshCcw01-uux2LSBY.js} +1 -1
  19. package/dist/client/assets/{SearchMd-BzVtNNV8.js → SearchMd-W7CZuMKL.js} +1 -1
  20. package/dist/client/assets/{Settings02-Yw9y8zcL.js → Settings02-BgZTkeWF.js} +1 -1
  21. package/dist/client/assets/{Shield01-Bryrtn4R.js → Shield01-3JbAW9yZ.js} +1 -1
  22. package/dist/client/assets/{Star01-D7-_AozX.js → Star01-4GtWoCVv.js} +1 -1
  23. package/dist/client/assets/{Sun-BRoJ4FPT.js → Sun-BuSg7vB0.js} +1 -1
  24. package/dist/client/assets/{Tool01-C_J_zDPh.js → Tool01-uxSt1rQ4.js} +1 -1
  25. package/dist/client/assets/{Trash01-CWiWK8tz.js → Trash01-CHtXX-iN.js} +1 -1
  26. package/dist/client/assets/{User01-Cuf_FrNk.js → User01-OkXl0M4T.js} +1 -1
  27. package/dist/client/assets/{Users03-BvEJiMrD.js → Users03-DKXrDiSP.js} +1 -1
  28. package/dist/client/assets/{X-DCaJ2DR_.js → X-CZwLR3Ia.js} +1 -1
  29. package/dist/client/assets/{XCircle-Xm8lpkAu.js → XCircle-yPzYwk9a.js} +1 -1
  30. package/dist/client/assets/{XClose-BpbAJCm9.js → XClose-BFUl_Anu.js} +1 -1
  31. package/dist/client/assets/{Zap-DkdmeY_3.js → Zap-Dvsf3jcd.js} +1 -1
  32. package/dist/client/assets/{ZapSquare-D31ZX-yT.js → ZapSquare-pj4yWTeD.js} +1 -1
  33. package/dist/client/assets/{accordion-D2I2JgOz.js → accordion-DfvJA1cd.js} +1 -1
  34. package/dist/client/assets/{agent-icon-DIgcdFeV.js → agent-icon-DJSRYPMl.js} +1 -1
  35. package/dist/client/assets/{agents-list-DJEDnQKa.js → agents-list-YGjQKIYW.js} +1 -1
  36. package/dist/client/assets/{ai-providers-BKQlREzu.js → ai-providers-CtyxBCWQ.js} +1 -1
  37. package/dist/client/assets/{alert-dialog-CoBaZf61.js → alert-dialog-CUeMRwoA.js} +1 -1
  38. package/dist/client/assets/{auth-catchall-C__PbIds.js → auth-catchall-DH9favjg.js} +1 -1
  39. package/dist/client/assets/{automation-list-row-BjJTW98i.js → automation-list-row-IYB6tchf.js} +1 -1
  40. package/dist/client/assets/{automations-sFtOtWq7.js → automations-FptdC6lY.js} +1 -1
  41. package/dist/client/assets/{avatar-C31fe2qO.js → avatar-BOerFAP-.js} +1 -1
  42. package/dist/client/assets/{badge-wVDQydbB.js → badge-CDjxHIeI.js} +1 -1
  43. package/dist/client/assets/{brand-context-CQ0dSgsx.js → brand-context-DL-pAdAY.js} +1 -1
  44. package/dist/client/assets/{card-BsjNx5Cg.js → card-CsndeCGv.js} +1 -1
  45. package/dist/client/assets/{chat-context-CXqWCM0D.js → chat-context-B5-0aNqU.js} +1 -1
  46. package/dist/client/assets/{checkbox-B5i71aX9.js → checkbox-Cej-idFo.js} +1 -1
  47. package/dist/client/assets/{collection-detail-w94sCgAJ.js → collection-detail-BYMtgQ_D.js} +1 -1
  48. package/dist/client/assets/{collection-display-button-Dy9WKszB.js → collection-display-button-DPC5DK6M.js} +1 -1
  49. package/dist/client/assets/{collection-search-DRd31o69.js → collection-search-CN1eEFRN.js} +1 -1
  50. package/dist/client/assets/{collection-search-CkG6QTlc.js → collection-search-DJqH7QE2.js} +1 -1
  51. package/dist/client/assets/{collection-table-wrapper-BIwFJIlS.js → collection-table-wrapper-NbHAzx4T.js} +1 -1
  52. package/dist/client/assets/{collection-tabs-DZIZ-iDz.js → collection-tabs-DBJHL_QQ.js} +1 -1
  53. package/dist/client/assets/{collections-BbDNQEWM.js → collections-BPPvQ0Ah.js} +1 -1
  54. package/dist/client/assets/{command-DGrDaXPR.js → command-C2MqfgQS.js} +1 -1
  55. package/dist/client/assets/{connection-card-CtNK-usI.js → connection-card-V-B9aVP9.js} +1 -1
  56. package/dist/client/assets/{connection-detail-Dy49P_Wb.js → connection-detail-0RgcSvYI.js} +1 -1
  57. package/dist/client/assets/{connection-form-helpers-Ck24jZcw.js → connection-form-helpers-Dfh5b6zA.js} +1 -1
  58. package/dist/client/assets/{connections-YpkySNNU.js → connections-D-W5_rsk.js} +1 -1
  59. package/dist/client/assets/{constants-ClujOLL0.js → constants-J9pa4R8f.js} +1 -1
  60. package/dist/client/assets/{constants-hHr1XnHs.js → constants-pobkndak.js} +1 -1
  61. package/dist/client/assets/{dialog-DlXEbbro.js → dialog-CHAMI0Qx.js} +1 -1
  62. package/dist/client/assets/{domain-settings-Bk8xfxCT.js → domain-settings-Md258DlJ.js} +1 -1
  63. package/dist/client/assets/{drawer-PL1KJG8h.js → drawer-CiUcTnf_.js} +1 -1
  64. package/dist/client/assets/{dropdown-menu-DX0TPN0k.js → dropdown-menu-CVxPc1Sl.js} +1 -1
  65. package/dist/client/assets/{dynamic-plugin-layout-BN4WTDcX.js → dynamic-plugin-layout-BSWTjv6G.js} +1 -1
  66. package/dist/client/assets/{empty-state-BDuWm3OO.js → empty-state-D3Cmc0Yc.js} +1 -1
  67. package/dist/client/assets/{empty-state-D8kZInFe.js → empty-state-DA4hm3vm.js} +1 -1
  68. package/dist/client/assets/{extract-connection-data-D2pRgNGp.js → extract-connection-data-DeXPkvP0.js} +1 -1
  69. package/dist/client/assets/{features-Cfl0ad_g.js → features-COIWfBYw.js} +1 -1
  70. package/dist/client/assets/{form-lvEVsZiS.js → form-BmkvYy7m.js} +1 -1
  71. package/dist/client/assets/{general-DTam8mrI.js → general-D9EBf0WL.js} +1 -1
  72. package/dist/client/assets/{index-BRQL1Qy9.js → index-5MC48nP7.js} +1 -1
  73. package/dist/client/assets/{index-xu72xd1g.js → index-B0s0fGaT.js} +1 -1
  74. package/dist/client/assets/{index-DF2eiQ1x.js → index-B8kNtJPZ.js} +1 -1
  75. package/dist/client/assets/{index-s_hf2jI7.js → index-BCf__ZAI.js} +1 -1
  76. package/dist/client/assets/{index-C0JHkPGv.js → index-CGGfCuOw.js} +1 -1
  77. package/dist/client/assets/{index-mhkzUFBK.js → index-CZxmJ5Bv.js} +1 -1
  78. package/dist/client/assets/{index-DaOIazOa.js → index-C_t7fnJw.js} +1 -1
  79. package/dist/client/assets/{index-n7gxPtHW.js → index-Ch7CXtoc.js} +1 -1
  80. package/dist/client/assets/{index-C-ZizHKt.js → index-Cv9RIxrZ.js} +1 -1
  81. package/dist/client/assets/{index-Ea3ltYi1.js → index-Cyqf_Iwp.js} +20 -20
  82. package/dist/client/assets/{index-Bq8MNgeV.js → index-DEzq-Nb1.js} +2 -2
  83. package/dist/client/assets/{index-DJVBUrUD.js → index-DXpmqov0.js} +1 -1
  84. package/dist/client/assets/{index-CuEDzA2l.js → index-Dvh8j4N6.js} +1 -1
  85. package/dist/client/assets/{index-Fz2lfOzM.js → index-nfongS2A.js} +1 -1
  86. package/dist/client/assets/{index-DhY6sTVx.js → index-sl1zt3Cn.js} +1 -1
  87. package/dist/client/assets/{index-5QFk1v1j.js → index-tDwFn1JI.js} +1 -1
  88. package/dist/client/assets/{infiniteQueryObserver-DKVQWAgx.js → infiniteQueryObserver-CqgjS-0t.js} +1 -1
  89. package/dist/client/assets/{input-DTt32vul.js → input-C_yS3xcH.js} +1 -1
  90. package/dist/client/assets/{integration-icon-C60b_d7I.js → integration-icon-Bo6pUZaI.js} +1 -1
  91. package/dist/client/assets/{label-BhsxXb5j.js → label-Db5-Ti17.js} +1 -1
  92. package/dist/client/assets/{layout-R2hI-PPe.js → layout-pm8MWjUM.js} +1 -1
  93. package/dist/client/assets/{lean-canvas-recruit-modal-cabC6cgI.js → lean-canvas-recruit-modal-CMe9dICf.js} +1 -1
  94. package/dist/client/assets/{login-Dva0Y2V_.js → login-DcADGw4l.js} +1 -1
  95. package/dist/client/assets/{members-Ou1keNAh.js → members-D0oNDXFg.js} +1 -1
  96. package/dist/client/assets/{monaco-editor-CMrJ86sf.js → monaco-editor-Ca7S2n96.js} +1 -1
  97. package/dist/client/assets/{monitoring-stats-row-tiSP7a3c.js → monitoring-stats-row-CEJjasED.js} +1 -1
  98. package/dist/client/assets/{oauth-callback-Cz2eV7A_.js → oauth-callback-DqHg_RJ-.js} +1 -1
  99. package/dist/client/assets/{oauth-callback-ai-provider-C9l8YAob.js → oauth-callback-ai-provider-B02IDnhY.js} +1 -1
  100. package/dist/client/assets/{onboarding-RgB912Pu.js → onboarding-Bry0-GLA.js} +1 -1
  101. package/dist/client/assets/{org-layout-B68eO6KC.js → org-layout-BlOHyHcD.js} +1 -1
  102. package/dist/client/assets/{org-plugin-layout-Dy7mAYsZ.js → org-plugin-layout-D4gcimpK.js} +1 -1
  103. package/dist/client/assets/{pair-mPsfY4Tl.js → pair-BUViJlsp.js} +52 -52
  104. package/dist/client/assets/{plugin-empty-state-DNUBfOpk.js → plugin-empty-state-fYJD-Q7V.js} +1 -1
  105. package/dist/client/assets/{plugin-header-D-036HBF.js → plugin-header-DU-HqRte.js} +1 -1
  106. package/dist/client/assets/{plugin-layout-MmU0m6ZW.js → plugin-layout-BSFJkkch.js} +1 -1
  107. package/dist/client/assets/{popover-BJlGGBoZ.js → popover-MU7vm-Ss.js} +1 -1
  108. package/dist/client/assets/{profile-CDeQH0Ne.js → profile-xqMUywaT.js} +1 -1
  109. package/dist/client/assets/{project-app-view-DhcSNy7a.js → project-app-view-BqpppcMR.js} +1 -1
  110. package/dist/client/assets/registry-dzIfzA3A.js +2 -0
  111. package/dist/client/assets/{registry-layout-DjRsP-ha.js → registry-layout-CmGJk9gL.js} +1 -1
  112. package/dist/client/assets/{required-auth-layout-CanoKJcr.js → required-auth-layout-CEvA-cMx.js} +1 -1
  113. package/dist/client/assets/{reset-password-CeQ244pS.js → reset-password-ztaQl_V6.js} +1 -1
  114. package/dist/client/assets/{roles-ClefMxwg.js → roles-CudAuOcm.js} +1 -1
  115. package/dist/client/assets/{scroll-area-Bg2pYWAU.js → scroll-area-CH7fmiP5.js} +1 -1
  116. package/dist/client/assets/{search-input-CtBB2Ogw.js → search-input-BSQBQqQo.js} +1 -1
  117. package/dist/client/assets/{select-Bmu7KX9g.js → select-D6JncnqD.js} +1 -1
  118. package/dist/client/assets/{select-model-A6plReXc.js → select-model-wpfAwZjr.js} +1 -1
  119. package/dist/client/assets/{settings-layout-arVQNb4q.js → settings-layout-D0-prTNg.js} +1 -1
  120. package/dist/client/assets/{settings-section-Bh35ipKE.js → settings-section-0jncgYYS.js} +1 -1
  121. package/dist/client/assets/{shell-layout-G1fWb3Wf.js → shell-layout-C82h9TAz.js} +1 -1
  122. package/dist/client/assets/{sidebar-CaCy2pvj.js → sidebar-CzaCFCIP.js} +1 -1
  123. package/dist/client/assets/{skeleton-B2ZrUZa6.js → skeleton-Cf_78ip3.js} +1 -1
  124. package/dist/client/assets/{spinner-M0_j9E66.js → spinner-C0PrLZkk.js} +1 -1
  125. package/dist/client/assets/{sso-BP3gjZB7.js → sso-BBIQ8E_Z.js} +1 -1
  126. package/dist/client/assets/{store-B88v1kcS.js → store-DrbKkTYN.js} +1 -1
  127. package/dist/client/assets/store-registry-Cpi17OhH.js +2 -0
  128. package/dist/client/assets/{switch-MKqFhI8u.js → switch-D1W9lQbl.js} +1 -1
  129. package/dist/client/assets/{table-Dpz7V2d2.js → table-CB0to7Mg.js} +1 -1
  130. package/dist/client/assets/{tabs-Jp4EeqTR.js → tabs-CL8GAts-.js} +1 -1
  131. package/dist/client/assets/{task-status-Ch-lJ70q.js → task-status-DJ-bgLjk.js} +1 -1
  132. package/dist/client/assets/{textarea-D4e6a8Nz.js → textarea-CAEWSHRI.js} +1 -1
  133. package/dist/client/assets/{toggle-group-BDnmrZSN.js → toggle-group-DqCa9HE1.js} +1 -1
  134. package/dist/client/assets/{tools-list-DuzUp3Cr.js → tools-list-_0r9UJKM.js} +1 -1
  135. package/dist/client/assets/{tooltip-Cop6BWIB.js → tooltip-BFNw8f3o.js} +1 -1
  136. package/dist/client/assets/{types-B1bS009C.js → types-BDE1Jm7w.js} +1 -1
  137. package/dist/client/assets/{use-ai-providers-BGcGBNhE.js → use-ai-providers-Dce-BGLz.js} +1 -1
  138. package/dist/client/assets/{use-collections-8VzaVe93.js → use-collections-CVe9qc-v.js} +1 -1
  139. package/dist/client/assets/{use-connection-Lr8heJ8D.js → use-connection-3ycjXI4a.js} +1 -1
  140. package/dist/client/assets/{use-copy-Cu8-dSUz.js → use-copy-Caj4t-yC.js} +1 -1
  141. package/dist/client/assets/{use-create-virtual-mcp-BobcuW0I.js → use-create-virtual-mcp-Do8GhqH4.js} +1 -1
  142. package/dist/client/assets/{use-debounced-autosave-CyEn9Ro2.js → use-debounced-autosave-CRf9ECE0.js} +1 -1
  143. package/dist/client/assets/{use-decopilot-events-CiJL_0vR.js → use-decopilot-events-Blsa-lmr.js} +1 -1
  144. package/dist/client/assets/{use-delete-connection-CiGpEvZr.js → use-delete-connection-CoEjrdvG.js} +1 -1
  145. package/dist/client/assets/{use-infinite-scroll-BkIExLyi.js → use-infinite-scroll-CAc3FuPh.js} +1 -1
  146. package/dist/client/assets/{use-list-state-DbpCBDBf.js → use-list-state-CxDzDzTf.js} +1 -1
  147. package/dist/client/assets/{use-mcp-tools-DQxTqUp3.js → use-mcp-tools-CE1nGLgO.js} +1 -1
  148. package/dist/client/assets/{use-members-B_II-0yJ.js → use-members-BetwC_Q7.js} +1 -1
  149. package/dist/client/assets/{use-navigate-to-agent-C4qiakGR.js → use-navigate-to-agent-Jr0qq607.js} +1 -1
  150. package/dist/client/assets/{use-org-auth-client-BACib0-t.js → use-org-auth-client-Bw4N0B6x.js} +1 -1
  151. package/dist/client/assets/{use-org-sso-Dam1kDCD.js → use-org-sso-B1_KGou1.js} +1 -1
  152. package/dist/client/assets/{use-organization-roles-STx8KC7J.js → use-organization-roles-DClQ8sao.js} +1 -1
  153. package/dist/client/assets/{use-organization-settings-4FSfpkha.js → use-organization-settings-Dyq_DMKR.js} +1 -1
  154. package/dist/client/assets/{use-registry-connections-Dr0EGoqa.js → use-registry-connections-BFHlvbMw.js} +1 -1
  155. package/dist/client/assets/{use-status-sounds-DTHvTmo7.js → use-status-sounds-C-UlBRtP.js} +1 -1
  156. package/dist/client/assets/{use-tasks-C2q1pKyD.js → use-tasks-br6-_mMm.js} +1 -1
  157. package/dist/client/assets/{use-view-mode-Bo1TFi-O.js → use-view-mode-BLIRToAP.js} +1 -1
  158. package/dist/client/assets/{use-virtual-mcp-CD_T-y85.js → use-virtual-mcp-9Agm63SE.js} +1 -1
  159. package/dist/client/assets/useInfiniteQuery-_Nzku7Nf.js +1 -0
  160. package/dist/client/assets/useSuspenseInfiniteQuery-D_bidDXo.js +1 -0
  161. package/dist/client/assets/{user-DOkjJZQI.js → user-BdIWPsTG.js} +1 -1
  162. package/dist/client/assets/{view-mode-toggle-Cf3Unpm2.js → view-mode-toggle-D0XsFAsO.js} +1 -1
  163. package/dist/client/assets/{workflow-CQNAZF1P.js → workflow-CmjKRIYJ.js} +1 -1
  164. package/dist/client/assets/workflow-detail-BlOhwTim.js +1 -0
  165. package/dist/client/index.html +1 -1
  166. package/dist/server/cli.js +52 -37
  167. package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
  168. package/dist/server/node_modules/ansi-styles/index.js +223 -0
  169. package/dist/server/node_modules/ansi-styles/package.json +54 -0
  170. package/dist/server/node_modules/ansi-styles/readme.md +173 -0
  171. package/dist/server/node_modules/environment/index.d.ts +74 -0
  172. package/dist/server/node_modules/environment/index.js +47 -0
  173. package/dist/server/node_modules/{slice-ansi → environment}/license +0 -1
  174. package/dist/server/node_modules/environment/package.json +74 -0
  175. package/dist/server/node_modules/environment/readme.md +94 -0
  176. package/dist/server/node_modules/escape-string-regexp/index.d.ts +18 -0
  177. package/dist/server/node_modules/escape-string-regexp/index.js +11 -0
  178. package/dist/server/node_modules/escape-string-regexp/license +9 -0
  179. package/dist/server/node_modules/escape-string-regexp/package.json +43 -0
  180. package/dist/server/node_modules/escape-string-regexp/readme.md +29 -0
  181. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  182. package/dist/server/node_modules/is-fullwidth-code-point/index.js +12 -0
  183. package/dist/server/node_modules/is-fullwidth-code-point/license +9 -0
  184. package/dist/server/node_modules/{figures → is-fullwidth-code-point}/package.json +20 -16
  185. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
  186. package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
  187. package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
  188. package/dist/server/node_modules/is-unicode-supported/license +9 -0
  189. package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
  190. package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
  191. package/dist/server/node_modules/pg-int8/LICENSE +13 -0
  192. package/dist/server/node_modules/pg-int8/README.md +16 -0
  193. package/dist/server/node_modules/pg-int8/index.js +100 -0
  194. package/dist/server/node_modules/pg-int8/package.json +24 -0
  195. package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
  196. package/dist/server/node_modules/postgres-array/index.js +97 -0
  197. package/dist/server/node_modules/{deepmerge/license.txt → postgres-array/license} +1 -1
  198. package/dist/server/node_modules/postgres-array/package.json +35 -0
  199. package/dist/server/node_modules/postgres-array/readme.md +43 -0
  200. package/dist/server/node_modules/postgres-bytea/index.js +33 -0
  201. package/dist/server/node_modules/postgres-bytea/license +21 -0
  202. package/dist/server/node_modules/postgres-bytea/package.json +34 -0
  203. package/dist/server/node_modules/postgres-bytea/readme.md +34 -0
  204. package/dist/server/node_modules/postgres-date/index.js +116 -0
  205. package/dist/server/node_modules/postgres-date/license +21 -0
  206. package/dist/server/node_modules/postgres-date/package.json +33 -0
  207. package/dist/server/node_modules/postgres-date/readme.md +49 -0
  208. package/dist/server/node_modules/postgres-interval/index.d.ts +20 -0
  209. package/dist/server/node_modules/postgres-interval/index.js +125 -0
  210. package/dist/server/node_modules/postgres-interval/license +21 -0
  211. package/dist/server/node_modules/postgres-interval/package.json +36 -0
  212. package/dist/server/node_modules/postgres-interval/readme.md +48 -0
  213. package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
  214. package/dist/server/node_modules/restore-cursor/index.js +11 -0
  215. package/dist/server/node_modules/restore-cursor/license +9 -0
  216. package/dist/server/node_modules/restore-cursor/package.json +55 -0
  217. package/dist/server/node_modules/restore-cursor/readme.md +31 -0
  218. package/dist/server/node_modules/split2/LICENSE +13 -0
  219. package/dist/server/node_modules/split2/README.md +85 -0
  220. package/dist/server/node_modules/split2/bench.js +27 -0
  221. package/dist/server/node_modules/split2/index.js +141 -0
  222. package/dist/server/node_modules/split2/package.json +39 -0
  223. package/dist/server/node_modules/split2/test.js +409 -0
  224. package/dist/server/node_modules/string-width/index.d.ts +39 -0
  225. package/dist/server/node_modules/string-width/index.js +82 -0
  226. package/dist/server/node_modules/string-width/license +9 -0
  227. package/dist/server/node_modules/string-width/package.json +64 -0
  228. package/dist/server/node_modules/string-width/readme.md +66 -0
  229. package/dist/server/node_modules/xtend/.jshintrc +30 -0
  230. package/dist/server/node_modules/{pg → xtend}/LICENSE +6 -7
  231. package/dist/server/node_modules/xtend/README.md +32 -0
  232. package/dist/server/node_modules/xtend/immutable.js +19 -0
  233. package/dist/server/node_modules/xtend/mutable.js +17 -0
  234. package/dist/server/node_modules/xtend/package.json +55 -0
  235. package/dist/server/node_modules/xtend/test.js +103 -0
  236. package/dist/server/server.js +51 -36
  237. package/package.json +1 -1
  238. package/dist/client/assets/registry-CXcvF-uz.js +0 -2
  239. package/dist/client/assets/store-registry-BebL2rFu.js +0 -2
  240. package/dist/client/assets/useInfiniteQuery-Dj_RSaBx.js +0 -1
  241. package/dist/client/assets/useSuspenseInfiniteQuery-DJb5VXkS.js +0 -1
  242. package/dist/client/assets/workflow-detail-E-UgwIFZ.js +0 -1
  243. package/dist/server/node_modules/deepmerge/.editorconfig +0 -7
  244. package/dist/server/node_modules/deepmerge/.eslintcache +0 -1
  245. package/dist/server/node_modules/deepmerge/changelog.md +0 -167
  246. package/dist/server/node_modules/deepmerge/dist/cjs.js +0 -133
  247. package/dist/server/node_modules/deepmerge/dist/umd.js +0 -139
  248. package/dist/server/node_modules/deepmerge/index.d.ts +0 -20
  249. package/dist/server/node_modules/deepmerge/index.js +0 -106
  250. package/dist/server/node_modules/deepmerge/package.json +0 -42
  251. package/dist/server/node_modules/deepmerge/readme.md +0 -264
  252. package/dist/server/node_modules/deepmerge/rollup.config.js +0 -22
  253. package/dist/server/node_modules/figures/index.d.ts +0 -279
  254. package/dist/server/node_modules/figures/index.js +0 -292
  255. package/dist/server/node_modules/figures/readme.md +0 -337
  256. package/dist/server/node_modules/pg/README.md +0 -95
  257. package/dist/server/node_modules/pg/esm/index.mjs +0 -20
  258. package/dist/server/node_modules/pg/lib/client.js +0 -743
  259. package/dist/server/node_modules/pg/lib/connection-parameters.js +0 -171
  260. package/dist/server/node_modules/pg/lib/connection.js +0 -221
  261. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
  262. package/dist/server/node_modules/pg/lib/crypto/sasl.js +0 -212
  263. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +0 -43
  264. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +0 -89
  265. package/dist/server/node_modules/pg/lib/crypto/utils.js +0 -9
  266. package/dist/server/node_modules/pg/lib/defaults.js +0 -91
  267. package/dist/server/node_modules/pg/lib/index.js +0 -73
  268. package/dist/server/node_modules/pg/lib/native/client.js +0 -323
  269. package/dist/server/node_modules/pg/lib/native/index.js +0 -2
  270. package/dist/server/node_modules/pg/lib/native/query.js +0 -165
  271. package/dist/server/node_modules/pg/lib/query.js +0 -252
  272. package/dist/server/node_modules/pg/lib/result.js +0 -109
  273. package/dist/server/node_modules/pg/lib/stream.js +0 -83
  274. package/dist/server/node_modules/pg/lib/type-overrides.js +0 -35
  275. package/dist/server/node_modules/pg/lib/utils.js +0 -217
  276. package/dist/server/node_modules/pg/package.json +0 -76
  277. package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
  278. package/dist/server/node_modules/slice-ansi/index.js +0 -260
  279. package/dist/server/node_modules/slice-ansi/package.json +0 -59
  280. package/dist/server/node_modules/slice-ansi/readme.md +0 -54
  281. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
  282. /package/dist/server/node_modules/{figures → ansi-styles}/license +0 -0
@@ -0,0 +1,94 @@
1
+ # environment
2
+
3
+ > Check which JavaScript environment your code is running in at runtime
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ npm install environment
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```js
14
+ import {isBrowser, isNode} from 'environment';
15
+
16
+ if (isBrowser) {
17
+ console.log('Running in a browser!');
18
+ }
19
+
20
+ if (isNode) {
21
+ console.log('Running in Node.js!');
22
+ }
23
+ ```
24
+
25
+ > [!NOTE]
26
+ > Runtime checks should be used sparingly. Prefer [conditional package exports](https://nodejs.org/api/packages.html#conditional-exports) and [imports](https://nodejs.org/api/packages.html#subpath-imports) whenever possible.
27
+
28
+ ## API
29
+
30
+ ### `isBrowser`
31
+
32
+ Check if the code is running in a web browser environment.
33
+
34
+ ### `isNode`
35
+
36
+ Check if the code is running in a [Node.js](https://nodejs.org) environment.
37
+
38
+ ### `isBun`
39
+
40
+ Check if the code is running in a [Bun](https://bun.sh) environment.
41
+
42
+ ### `isDeno`
43
+
44
+ Check if the code is running in a [Deno](https://deno.com) environment.
45
+
46
+ ### `isElectron`
47
+
48
+ Check if the code is running in an [Electron](https://www.electronjs.org) environment.
49
+
50
+ ### `isJsDom`
51
+
52
+ Check if the code is running in a [jsdom](https://github.com/jsdom/jsdom) environment.
53
+
54
+ ### `isWebWorker`
55
+
56
+ Check if the code is running in a [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API#worker_global_contexts_and_functions) environment, which could be either a dedicated worker, shared worker, or service worker.
57
+
58
+ ### `isDedicatedWorker`
59
+
60
+ Check if the code is running in a [Dedicated Worker](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope) environment.
61
+
62
+ ### `isSharedWorker`
63
+
64
+ Check if the code is running in a [Shared Worker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope) environment.
65
+
66
+ ### `isServiceWorker`
67
+
68
+ Check if the code is running in a [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope) environment.
69
+
70
+ ### `isMacOs`
71
+
72
+ Check if the code is running on macOS.
73
+
74
+ ### `isWindows`
75
+
76
+ Check if the code is running on Windows.
77
+
78
+ ### `isLinux`
79
+
80
+ Check if the code is running on Linux.
81
+
82
+ ### `isIos`
83
+
84
+ Check if the code is running on iOS.
85
+
86
+ ### `isAndroid`
87
+
88
+ Check if the code is running on Android.
89
+
90
+ ## Related
91
+
92
+ - [is-in-ci](https://github.com/sindresorhus/is-in-ci) - Check if the process is running in a CI environment
93
+ - [is64bit](https://github.com/sindresorhus/is64bit) - Check if the operating system CPU architecture is 64-bit or 32-bit
94
+ - [is](https://github.com/sindresorhus/is) - Type check values
@@ -0,0 +1,18 @@
1
+ /**
2
+ Escape RegExp special characters.
3
+
4
+ You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.
5
+
6
+ @example
7
+ ```
8
+ import escapeStringRegexp = require('escape-string-regexp');
9
+
10
+ const escapedString = escapeStringRegexp('How much $ for a 🦄?');
11
+ //=> 'How much \\$ for a 🦄\\?'
12
+
13
+ new RegExp(escapedString);
14
+ ```
15
+ */
16
+ declare const escapeStringRegexp: (string: string) => string;
17
+
18
+ export = escapeStringRegexp;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ const matchOperatorsRegex = /[|\\{}()[\]^$+*?.-]/g;
4
+
5
+ module.exports = string => {
6
+ if (typeof string !== 'string') {
7
+ throw new TypeError('Expected a string');
8
+ }
9
+
10
+ return string.replace(matchOperatorsRegex, '\\$&');
11
+ };
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "escape-string-regexp",
3
+ "version": "2.0.0",
4
+ "description": "Escape RegExp special characters",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/escape-string-regexp",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "maintainers": [
13
+ "Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
14
+ "Joshua Boy Nicolai Appelman <joshua@jbna.nl> (jbna.nl)"
15
+ ],
16
+ "engines": {
17
+ "node": ">=8"
18
+ },
19
+ "scripts": {
20
+ "test": "xo && ava && tsd"
21
+ },
22
+ "files": [
23
+ "index.js",
24
+ "index.d.ts"
25
+ ],
26
+ "keywords": [
27
+ "escape",
28
+ "regex",
29
+ "regexp",
30
+ "re",
31
+ "regular",
32
+ "expression",
33
+ "string",
34
+ "str",
35
+ "special",
36
+ "characters"
37
+ ],
38
+ "devDependencies": {
39
+ "ava": "^1.4.1",
40
+ "tsd": "^0.7.2",
41
+ "xo": "^0.24.0"
42
+ }
43
+ }
@@ -0,0 +1,29 @@
1
+ # escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp)
2
+
3
+ > Escape RegExp special characters
4
+
5
+
6
+ ## Install
7
+
8
+ ```
9
+ $ npm install escape-string-regexp
10
+ ```
11
+
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ const escapeStringRegexp = require('escape-string-regexp');
17
+
18
+ const escapedString = escapeStringRegexp('How much $ for a 🦄?');
19
+ //=> 'How much \\$ for a 🦄\\?'
20
+
21
+ new RegExp(escapedString);
22
+ ```
23
+
24
+ You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.
25
+
26
+
27
+ ## License
28
+
29
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,17 @@
1
+ /**
2
+ Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms).
3
+
4
+ @param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
5
+
6
+ @example
7
+ ```
8
+ import isFullwidthCodePoint from 'is-fullwidth-code-point';
9
+
10
+ isFullwidthCodePoint('谢'.codePointAt(0));
11
+ //=> true
12
+
13
+ isFullwidthCodePoint('a'.codePointAt(0));
14
+ //=> false
15
+ ```
16
+ */
17
+ export default function isFullwidthCodePoint(codePoint: number): boolean;
@@ -0,0 +1,12 @@
1
+ import {
2
+ _isFullWidth as isFullWidth,
3
+ _isWide as isWide,
4
+ } from 'get-east-asian-width';
5
+
6
+ export default function isFullwidthCodePoint(codePoint) {
7
+ if (!Number.isInteger(codePoint)) {
8
+ return false;
9
+ }
10
+
11
+ return isFullWidth(codePoint) || isWide(codePoint);
12
+ }
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,9 +1,9 @@
1
1
  {
2
- "name": "figures",
3
- "version": "6.1.0",
4
- "description": "Unicode symbols with fallbacks for older terminals",
2
+ "name": "is-fullwidth-code-point",
3
+ "version": "5.1.0",
4
+ "description": "Check if the character represented by a given Unicode code point is fullwidth",
5
5
  "license": "MIT",
6
- "repository": "sindresorhus/figures",
6
+ "repository": "sindresorhus/is-fullwidth-code-point",
7
7
  "funding": "https://github.com/sponsors/sindresorhus",
8
8
  "author": {
9
9
  "name": "Sindre Sorhus",
@@ -27,23 +27,27 @@
27
27
  "index.d.ts"
28
28
  ],
29
29
  "keywords": [
30
+ "fullwidth",
31
+ "full-width",
32
+ "full",
33
+ "width",
30
34
  "unicode",
31
- "cli",
32
- "cmd",
33
- "command-line",
34
- "characters",
35
- "symbol",
36
- "symbols",
37
- "figure",
38
- "figures",
39
- "fallback"
35
+ "character",
36
+ "string",
37
+ "codepoint",
38
+ "code",
39
+ "point",
40
+ "is",
41
+ "detect",
42
+ "check",
43
+ "east-asian-width"
40
44
  ],
41
- "dependencies": {
42
- "is-unicode-supported": "^2.0.0"
43
- },
44
45
  "devDependencies": {
45
46
  "ava": "^5.3.1",
46
47
  "tsd": "^0.29.0",
47
48
  "xo": "^0.56.0"
49
+ },
50
+ "dependencies": {
51
+ "get-east-asian-width": "^1.3.1"
48
52
  }
49
53
  }
@@ -0,0 +1,31 @@
1
+ # is-fullwidth-code-point
2
+
3
+ > Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ npm install is-fullwidth-code-point
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```js
14
+ import isFullwidthCodePoint from 'is-fullwidth-code-point';
15
+
16
+ isFullwidthCodePoint('谢'.codePointAt(0));
17
+ //=> true
18
+
19
+ isFullwidthCodePoint('a'.codePointAt(0));
20
+ //=> false
21
+ ```
22
+
23
+ ## API
24
+
25
+ ### isFullwidthCodePoint(codePoint)
26
+
27
+ #### codePoint
28
+
29
+ Type: `number`
30
+
31
+ The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
@@ -0,0 +1,12 @@
1
+ /**
2
+ Detect whether the terminal supports Unicode.
3
+
4
+ @example
5
+ ```
6
+ import isUnicodeSupported from 'is-unicode-supported';
7
+
8
+ isUnicodeSupported();
9
+ //=> true
10
+ ```
11
+ */
12
+ export default function isUnicodeSupported(): boolean;
@@ -0,0 +1,21 @@
1
+ import process from 'node:process';
2
+
3
+ export default function isUnicodeSupported() {
4
+ const {env} = process;
5
+ const {TERM, TERM_PROGRAM} = env;
6
+
7
+ if (process.platform !== 'win32') {
8
+ return TERM !== 'linux'; // Linux console (kernel)
9
+ }
10
+
11
+ return Boolean(env.WT_SESSION) // Windows Terminal
12
+ || Boolean(env.TERMINUS_SUBLIME) // Terminus (<0.2.27)
13
+ || env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder
14
+ || TERM_PROGRAM === 'Terminus-Sublime'
15
+ || TERM_PROGRAM === 'vscode'
16
+ || TERM === 'xterm-256color'
17
+ || TERM === 'alacritty'
18
+ || TERM === 'rxvt-unicode'
19
+ || TERM === 'rxvt-unicode-256color'
20
+ || env.TERMINAL_EMULATOR === 'JetBrains-JediTerm';
21
+ }
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "is-unicode-supported",
3
+ "version": "2.1.0",
4
+ "description": "Detect whether the terminal supports Unicode",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/is-unicode-supported",
7
+ "funding": "https://github.com/sponsors/sindresorhus",
8
+ "author": {
9
+ "name": "Sindre Sorhus",
10
+ "email": "sindresorhus@gmail.com",
11
+ "url": "https://sindresorhus.com"
12
+ },
13
+ "type": "module",
14
+ "exports": {
15
+ "types": "./index.d.ts",
16
+ "default": "./index.js"
17
+ },
18
+ "sideEffects": false,
19
+ "engines": {
20
+ "node": ">=18"
21
+ },
22
+ "scripts": {
23
+ "test": "xo && ava && tsd"
24
+ },
25
+ "files": [
26
+ "index.js",
27
+ "index.d.ts"
28
+ ],
29
+ "keywords": [
30
+ "terminal",
31
+ "unicode",
32
+ "detect",
33
+ "utf8",
34
+ "console",
35
+ "shell",
36
+ "support",
37
+ "supports",
38
+ "supported",
39
+ "check",
40
+ "detection"
41
+ ],
42
+ "devDependencies": {
43
+ "ava": "^6.1.3",
44
+ "tsd": "^0.31.2",
45
+ "xo": "^0.59.3"
46
+ }
47
+ }
@@ -0,0 +1,35 @@
1
+ # is-unicode-supported
2
+
3
+ > Detect whether the terminal supports Unicode
4
+
5
+ This can be useful to decide whether to use Unicode characters or fallback ASCII characters in command-line output.
6
+
7
+ Note that the check is quite naive. It just assumes all non-Windows terminals support Unicode and hard-codes which Windows terminals that do support Unicode. However, I have been using this logic in some popular packages for years without problems.
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ npm install is-unicode-supported
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ import isUnicodeSupported from 'is-unicode-supported';
19
+
20
+ isUnicodeSupported();
21
+ //=> true
22
+ ```
23
+
24
+ ## API
25
+
26
+ ### isUnicodeSupported()
27
+
28
+ Returns a `boolean` for whether the terminal supports Unicode.
29
+
30
+ ## Related
31
+
32
+ - [is-interactive](https://github.com/sindresorhus/is-interactive) - Check if stdout or stderr is interactive
33
+ - [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
34
+ - [figures](https://github.com/sindresorhus/figures) - Unicode symbols with Windows fallbacks
35
+ - [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels
@@ -0,0 +1,13 @@
1
+ Copyright © 2017, Charmander <~@charmander.me>
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any
4
+ purpose with or without fee is hereby granted, provided that the above
5
+ copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
9
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,16 @@
1
+ [![Build status][ci image]][ci]
2
+
3
+ 64-bit big-endian signed integer-to-string conversion designed for [pg][].
4
+
5
+ ```js
6
+ const readInt8 = require('pg-int8');
7
+
8
+ readInt8(Buffer.from([0, 1, 2, 3, 4, 5, 6, 7]))
9
+ // '283686952306183'
10
+ ```
11
+
12
+
13
+ [pg]: https://github.com/brianc/node-postgres
14
+
15
+ [ci]: https://travis-ci.org/charmander/pg-int8
16
+ [ci image]: https://api.travis-ci.org/charmander/pg-int8.svg
@@ -0,0 +1,100 @@
1
+ 'use strict';
2
+
3
+ // selected so (BASE - 1) * 0x100000000 + 0xffffffff is a safe integer
4
+ var BASE = 1000000;
5
+
6
+ function readInt8(buffer) {
7
+ var high = buffer.readInt32BE(0);
8
+ var low = buffer.readUInt32BE(4);
9
+ var sign = '';
10
+
11
+ if (high < 0) {
12
+ high = ~high + (low === 0);
13
+ low = (~low + 1) >>> 0;
14
+ sign = '-';
15
+ }
16
+
17
+ var result = '';
18
+ var carry;
19
+ var t;
20
+ var digits;
21
+ var pad;
22
+ var l;
23
+ var i;
24
+
25
+ {
26
+ carry = high % BASE;
27
+ high = high / BASE >>> 0;
28
+
29
+ t = 0x100000000 * carry + low;
30
+ low = t / BASE >>> 0;
31
+ digits = '' + (t - BASE * low);
32
+
33
+ if (low === 0 && high === 0) {
34
+ return sign + digits + result;
35
+ }
36
+
37
+ pad = '';
38
+ l = 6 - digits.length;
39
+
40
+ for (i = 0; i < l; i++) {
41
+ pad += '0';
42
+ }
43
+
44
+ result = pad + digits + result;
45
+ }
46
+
47
+ {
48
+ carry = high % BASE;
49
+ high = high / BASE >>> 0;
50
+
51
+ t = 0x100000000 * carry + low;
52
+ low = t / BASE >>> 0;
53
+ digits = '' + (t - BASE * low);
54
+
55
+ if (low === 0 && high === 0) {
56
+ return sign + digits + result;
57
+ }
58
+
59
+ pad = '';
60
+ l = 6 - digits.length;
61
+
62
+ for (i = 0; i < l; i++) {
63
+ pad += '0';
64
+ }
65
+
66
+ result = pad + digits + result;
67
+ }
68
+
69
+ {
70
+ carry = high % BASE;
71
+ high = high / BASE >>> 0;
72
+
73
+ t = 0x100000000 * carry + low;
74
+ low = t / BASE >>> 0;
75
+ digits = '' + (t - BASE * low);
76
+
77
+ if (low === 0 && high === 0) {
78
+ return sign + digits + result;
79
+ }
80
+
81
+ pad = '';
82
+ l = 6 - digits.length;
83
+
84
+ for (i = 0; i < l; i++) {
85
+ pad += '0';
86
+ }
87
+
88
+ result = pad + digits + result;
89
+ }
90
+
91
+ {
92
+ carry = high % BASE;
93
+ t = 0x100000000 * carry + low;
94
+ digits = '' + t % BASE;
95
+
96
+ return sign + digits + result;
97
+ }
98
+ }
99
+
100
+ module.exports = readInt8;
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "pg-int8",
3
+ "version": "1.0.1",
4
+ "description": "64-bit big-endian signed integer-to-string conversion",
5
+ "bugs": "https://github.com/charmander/pg-int8/issues",
6
+ "license": "ISC",
7
+ "files": [
8
+ "index.js"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/charmander/pg-int8"
13
+ },
14
+ "scripts": {
15
+ "test": "tap test"
16
+ },
17
+ "devDependencies": {
18
+ "@charmander/eslint-config-base": "1.0.2",
19
+ "tap": "10.7.3"
20
+ },
21
+ "engines": {
22
+ "node": ">=4.0.0"
23
+ }
24
+ }
@@ -0,0 +1,4 @@
1
+
2
+ export function parse(source: string): string[];
3
+ export function parse<T>(source: string, transform: (value: string) => T): T[];
4
+