decocms 2.302.5 → 2.302.6

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 (412) hide show
  1. package/dist/client/assets/{AlertCircle-C3v8uxQV.js → AlertCircle-DYsBkqgk.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-DqjvSsdH.js → ArrowNarrowLeft-f4NsG2u2.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-B0mRU26a.js → ArrowUpRight-0SvsPZ4w.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-R_thqCxv.js → CheckCircle-CXidvOnE.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-BIaDZcDn.js → ChevronDown-T3J_FVZJ.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-Dd4hxp1D.js → ChevronRight-CAh53MYi.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-CkYQx1Bj.js → ChevronUp-BB9elRBQ.js} +1 -1
  8. package/dist/client/assets/{Container-C9PcQlkh.js → Container-CzTl4K2T.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-XchXO7Ol.js → DotsVertical-BzVzv-oX.js} +1 -1
  10. package/dist/client/assets/{LinkExternal01-CeSFqmDM.js → LinkExternal01-w4yRWGwt.js} +1 -1
  11. package/dist/client/assets/{Lock01-Ct2davzl.js → Lock01-y59fY-pi.js} +1 -1
  12. package/dist/client/assets/{Palette-C-Uvqmxu.js → Palette-DHavAHjq.js} +1 -1
  13. package/dist/client/assets/{Play-BhfmXnEc.js → Play-iXdmlyAm.js} +1 -1
  14. package/dist/client/assets/{Plus-Cp0KPDXV.js → Plus-CxFWwhW1.js} +1 -1
  15. package/dist/client/assets/{RefreshCcw01-DpQ0bWEr.js → RefreshCcw01-D9tZoyTd.js} +1 -1
  16. package/dist/client/assets/{SearchMd-CRDaIIAo.js → SearchMd-DESZBiw-.js} +1 -1
  17. package/dist/client/assets/{Settings02-o1SCp48r.js → Settings02-Hf6ZIRqV.js} +1 -1
  18. package/dist/client/assets/{Shield01-CIRxPwUL.js → Shield01-BoHQvnPl.js} +1 -1
  19. package/dist/client/assets/{Star01-CFSBtznF.js → Star01-DXGNUfAS.js} +1 -1
  20. package/dist/client/assets/{Sun-DRVshJ4h.js → Sun-27B3YKPV.js} +1 -1
  21. package/dist/client/assets/{Tool01-70GpeWbj.js → Tool01-_70cqt2t.js} +1 -1
  22. package/dist/client/assets/{Trash01-x0uVmxtV.js → Trash01-BFWH9msw.js} +1 -1
  23. package/dist/client/assets/{User01-CDjsPNWR.js → User01-Cn3EgXS1.js} +1 -1
  24. package/dist/client/assets/{Users03-D7_xGfRK.js → Users03-DQJCKjsg.js} +1 -1
  25. package/dist/client/assets/{X-Y9O2r61Y.js → X-D7XtWfgE.js} +1 -1
  26. package/dist/client/assets/{XCircle-Boh1wV2D.js → XCircle-C4cR7ffS.js} +1 -1
  27. package/dist/client/assets/{XClose-DrATv0fK.js → XClose-BIyC5w2n.js} +1 -1
  28. package/dist/client/assets/{Zap-DXZlejxD.js → Zap-5CNC0Ept.js} +1 -1
  29. package/dist/client/assets/{ZapSquare-TQyLEhYQ.js → ZapSquare-C5LgmBxA.js} +1 -1
  30. package/dist/client/assets/{accordion-kXMFpzvY.js → accordion-Cd97pZzi.js} +1 -1
  31. package/dist/client/assets/{agent-icon-BkXaC4dn.js → agent-icon-B9_saWOv.js} +1 -1
  32. package/dist/client/assets/{agents-list-BZs3KGTP.js → agents-list-BgyjjVf_.js} +1 -1
  33. package/dist/client/assets/ai-providers-DK0_8BYC.js +1 -0
  34. package/dist/client/assets/{alert-dialog-DE4JF7gT.js → alert-dialog-OujxhZeA.js} +1 -1
  35. package/dist/client/assets/{auth-catchall-BKOk33zi.js → auth-catchall-DjKppIi6.js} +1 -1
  36. package/dist/client/assets/{automation-list-row-C3Ff1asd.js → automation-list-row-DGv6wybK.js} +1 -1
  37. package/dist/client/assets/{automations-CSFxuEov.js → automations-BwhFPhC-.js} +1 -1
  38. package/dist/client/assets/{avatar-Cbdobq83.js → avatar-C_UGze8T.js} +1 -1
  39. package/dist/client/assets/{badge-DnIGvusX.js → badge-DpwrE1zH.js} +1 -1
  40. package/dist/client/assets/{brand-context-CK47iya3.js → brand-context-D4_qXiHY.js} +1 -1
  41. package/dist/client/assets/{card-BlDciy6y.js → card-B2FlHiSa.js} +1 -1
  42. package/dist/client/assets/{chat-context-BR7AKiVj.js → chat-context-BehWdIE_.js} +1 -1
  43. package/dist/client/assets/{checkbox-CbKyITB3.js → checkbox-ByEBQCLB.js} +1 -1
  44. package/dist/client/assets/{collection-detail-BE243KKe.js → collection-detail-BO6A-6D3.js} +1 -1
  45. package/dist/client/assets/{collection-display-button-Bs_toiw3.js → collection-display-button-Duh_PqWr.js} +1 -1
  46. package/dist/client/assets/{collection-search-Bok8ho3j.js → collection-search-B9TJgiJz.js} +1 -1
  47. package/dist/client/assets/{collection-search-CiijcwRe.js → collection-search-Buik536F.js} +1 -1
  48. package/dist/client/assets/{collection-table-wrapper-C0i-hx-e.js → collection-table-wrapper-E2fNxYM9.js} +1 -1
  49. package/dist/client/assets/{collection-tabs-DWkZe3wt.js → collection-tabs-BPN7Casr.js} +1 -1
  50. package/dist/client/assets/{collections-C5FoML4p.js → collections-nZFIaO7A.js} +1 -1
  51. package/dist/client/assets/{command-C2FQlATW.js → command-8r7A67dg.js} +1 -1
  52. package/dist/client/assets/{connection-card-DR63waj2.js → connection-card-B84kBAnY.js} +1 -1
  53. package/dist/client/assets/{connection-detail-C14Memac.js → connection-detail-T4cI2Rar.js} +1 -1
  54. package/dist/client/assets/{connection-form-helpers-DUpdgqN2.js → connection-form-helpers-DXAccRFx.js} +1 -1
  55. package/dist/client/assets/{connections-v2-xkf44.js → connections-DdrV40z5.js} +1 -1
  56. package/dist/client/assets/{constants-b-g-bhUD.js → constants-DFyn79Ih.js} +1 -1
  57. package/dist/client/assets/{constants-Co3yHY4g.js → constants-DYjDD2hw.js} +1 -1
  58. package/dist/client/assets/{dialog-BShWtPYB.js → dialog-CmncC-6K.js} +1 -1
  59. package/dist/client/assets/{domain-settings-BaWkNlMc.js → domain-settings-CtzaIQej.js} +1 -1
  60. package/dist/client/assets/{drawer-BJU9NNnI.js → drawer-DGcXLXQn.js} +1 -1
  61. package/dist/client/assets/{dropdown-menu-DyF3EUCW.js → dropdown-menu-CDsPRIxB.js} +1 -1
  62. package/dist/client/assets/{dynamic-plugin-layout-Be4w7kRD.js → dynamic-plugin-layout-hLPoR_s6.js} +1 -1
  63. package/dist/client/assets/{empty-state-o2OLy2PY.js → empty-state-BoNuHRpQ.js} +1 -1
  64. package/dist/client/assets/{empty-state-C8lkMmnr.js → empty-state-Dy2IUdp3.js} +1 -1
  65. package/dist/client/assets/{extract-connection-data-BCJ9z3jK.js → extract-connection-data-VJ13de98.js} +1 -1
  66. package/dist/client/assets/{features-DmpNxI8D.js → features-C9HfymjH.js} +1 -1
  67. package/dist/client/assets/{form-CU1xnDC1.js → form-D2IsM6ud.js} +1 -1
  68. package/dist/client/assets/{general-DtZ69dQj.js → general-DF9nKrr6.js} +1 -1
  69. package/dist/client/assets/{index-Dmp30UfO.js → index-BDWHZF4c.js} +2 -2
  70. package/dist/client/assets/{index-DdqDY9sX.js → index-BVSR2SFo.js} +1 -1
  71. package/dist/client/assets/{index-93vCrQRs.js → index-BXLSydrA.js} +1 -1
  72. package/dist/client/assets/{index-BD0s5h1x.js → index-BlJhA7rZ.js} +1 -1
  73. package/dist/client/assets/{index-BAqW6-1-.js → index-C9vZi4B1.js} +1 -1
  74. package/dist/client/assets/{index-Bbhlg2OG.js → index-CETKIyXW.js} +1 -1
  75. package/dist/client/assets/{index-D9VqK4wg.js → index-CT7XdYTs.js} +1 -1
  76. package/dist/client/assets/{index-BJDXTR0N.js → index-CWU3080-.js} +1 -1
  77. package/dist/client/assets/{index-BvvlryQB.js → index-CkKhKJfC.js} +1 -1
  78. package/dist/client/assets/index-D4C2QwcG.js +1 -0
  79. package/dist/client/assets/{index-YXlEtKoF.js → index-DEwSM5UO.js} +3 -3
  80. package/dist/client/assets/{index-CShtHeIs.js → index-DJ4-TGQU.js} +1 -1
  81. package/dist/client/assets/{index-DJzKiogP.js → index-DN6IuHkz.js} +1 -1
  82. package/dist/client/assets/{index-DYdxc4zk.js → index-DPbaB7jD.js} +1 -1
  83. package/dist/client/assets/{index-BkZrdPDM.js → index-FR3V6lrD.js} +1 -1
  84. package/dist/client/assets/{index-Dq0WJfNG.js → index-KELtbXYG.js} +1 -1
  85. package/dist/client/assets/{infiniteQueryObserver-Bgu8I4E_.js → infiniteQueryObserver-DMzx8Ajh.js} +1 -1
  86. package/dist/client/assets/{input-DE5dVvtt.js → input-Bdzlyvmj.js} +1 -1
  87. package/dist/client/assets/{integration-icon-BSWYobpu.js → integration-icon-Cy5BK0qE.js} +1 -1
  88. package/dist/client/assets/{label-MyRBse_4.js → label-Bw2PIYCj.js} +1 -1
  89. package/dist/client/assets/{layout-Chu0ZeeD.js → layout-CYPmG5mO.js} +1 -1
  90. package/dist/client/assets/{lean-canvas-recruit-modal-CnPQVk8j.js → lean-canvas-recruit-modal-BT4juGyz.js} +1 -1
  91. package/dist/client/assets/{login-DgG8VVG-.js → login-B28e1Wyf.js} +1 -1
  92. package/dist/client/assets/{members-JZ8_eiTP.js → members-MaYKbIl8.js} +1 -1
  93. package/dist/client/assets/{monaco-editor-jevI2jI9.js → monaco-editor-B0DWqYLF.js} +1 -1
  94. package/dist/client/assets/{monitoring-stats-row-8Ez2tQeb.js → monitoring-stats-row-DH201TcG.js} +1 -1
  95. package/dist/client/assets/{oauth-callback-ai-provider-okDQrh8X.js → oauth-callback-ai-provider-DNZYP_aS.js} +1 -1
  96. package/dist/client/assets/{oauth-callback-BO14tjoC.js → oauth-callback-sJETWziT.js} +1 -1
  97. package/dist/client/assets/{onboarding-B9YWKytA.js → onboarding-CarvRKmy.js} +1 -1
  98. package/dist/client/assets/{org-layout-CaA0XUBd.js → org-layout-DHW0VeFP.js} +1 -1
  99. package/dist/client/assets/{org-plugin-layout-DgNjRY8f.js → org-plugin-layout-CXpJSkkf.js} +1 -1
  100. package/dist/client/assets/{pair-BuupCCmO.js → pair-OadcxUG9.js} +1 -1
  101. package/dist/client/assets/{plugin-empty-state-Bgr-X4yK.js → plugin-empty-state-DesCuNpH.js} +1 -1
  102. package/dist/client/assets/{plugin-header-B7jqrzr6.js → plugin-header--6VZlO2H.js} +1 -1
  103. package/dist/client/assets/{plugin-layout-CgWUHRf6.js → plugin-layout-C9GSESK4.js} +1 -1
  104. package/dist/client/assets/{popover-zG7HhkCX.js → popover-BY5xAQmF.js} +1 -1
  105. package/dist/client/assets/{profile-gUcdx9gL.js → profile-BoZLpLkD.js} +1 -1
  106. package/dist/client/assets/{project-app-view-CTLBsma1.js → project-app-view-DzdWARcC.js} +1 -1
  107. package/dist/client/assets/registry-CR-1KhXP.js +2 -0
  108. package/dist/client/assets/{registry-layout-J29xLmfl.js → registry-layout-CdwMJvbZ.js} +1 -1
  109. package/dist/client/assets/{required-auth-layout-C8_RljYS.js → required-auth-layout-BDnZ49oa.js} +1 -1
  110. package/dist/client/assets/{reset-password-UcXKDRuV.js → reset-password-DUYGrA7L.js} +1 -1
  111. package/dist/client/assets/{roles-Dp_NwNIB.js → roles-Y85thY7n.js} +1 -1
  112. package/dist/client/assets/{scroll-area-CidaZG9N.js → scroll-area-qCxE2hon.js} +1 -1
  113. package/dist/client/assets/{search-input-DZHvtDyy.js → search-input-B5lcLg8G.js} +1 -1
  114. package/dist/client/assets/{select-DClDmbpQ.js → select-CPOZtPOm.js} +1 -1
  115. package/dist/client/assets/{select-model-BeD5k8y2.js → select-model-BtIjEXHL.js} +1 -1
  116. package/dist/client/assets/{settings-layout-DU93HHod.js → settings-layout-DLuUhrGj.js} +1 -1
  117. package/dist/client/assets/{settings-section-BTtNKAuG.js → settings-section-CjgR1v3b.js} +1 -1
  118. package/dist/client/assets/{shell-layout-BKNqqCpH.js → shell-layout-DSlnYQwS.js} +1 -1
  119. package/dist/client/assets/{skeleton-7XdQnZLr.js → skeleton-CIdd6LnB.js} +1 -1
  120. package/dist/client/assets/{sso-C2TaBJ_X.js → sso-7YErCYvk.js} +1 -1
  121. package/dist/client/assets/{store-CJBzqIhb.js → store-3uf30l0N.js} +1 -1
  122. package/dist/client/assets/store-registry-ClZqe9d2.js +2 -0
  123. package/dist/client/assets/{switch-BorShhPS.js → switch-BKqARx2z.js} +1 -1
  124. package/dist/client/assets/{table-CHej9oM7.js → table-DSnKB3WU.js} +1 -1
  125. package/dist/client/assets/{tabs-Dz2iGebN.js → tabs-BqvlcXR7.js} +1 -1
  126. package/dist/client/assets/{task-status-B0ESb4uD.js → task-status-CEH-hhyq.js} +1 -1
  127. package/dist/client/assets/{textarea-DyhzZ3a0.js → textarea-BDXFkTIX.js} +1 -1
  128. package/dist/client/assets/{toggle-group-BgXNE5eK.js → toggle-group-BNTZzdFS.js} +1 -1
  129. package/dist/client/assets/{tools-list-D_f871AE.js → tools-list-Dw6JwtIs.js} +1 -1
  130. package/dist/client/assets/{tooltip-CPTWAn4e.js → tooltip-_WWA2f_Q.js} +1 -1
  131. package/dist/client/assets/{types-DznggzE7.js → types-3fOwpBiV.js} +1 -1
  132. package/dist/client/assets/{use-ai-providers-CF-WEnpG.js → use-ai-providers-CeAjYVgE.js} +1 -1
  133. package/dist/client/assets/{use-collections-CgnneowC.js → use-collections-CsI9zuvk.js} +1 -1
  134. package/dist/client/assets/{use-connection-CXfm8X-F.js → use-connection-c2fdn_Q4.js} +1 -1
  135. package/dist/client/assets/{use-copy-CBLDGR3I.js → use-copy-CkKvvrYW.js} +1 -1
  136. package/dist/client/assets/{use-create-virtual-mcp-LChuERqV.js → use-create-virtual-mcp-DG6IAqew.js} +1 -1
  137. package/dist/client/assets/{use-decopilot-events-BJdfGMiz.js → use-decopilot-events-BJCOOgAS.js} +1 -1
  138. package/dist/client/assets/{use-delete-connection-CjzA3_5D.js → use-delete-connection-BjJoFZAR.js} +1 -1
  139. package/dist/client/assets/{use-infinite-scroll-DiAb3Px5.js → use-infinite-scroll-C1mLbaq7.js} +1 -1
  140. package/dist/client/assets/{use-list-state-DjI0vjHj.js → use-list-state-BIGugSjM.js} +1 -1
  141. package/dist/client/assets/{use-mcp-tools-DFoWakZ9.js → use-mcp-tools-CLk_EUg4.js} +1 -1
  142. package/dist/client/assets/{use-members-BRHKFgBf.js → use-members-C52huH1h.js} +1 -1
  143. package/dist/client/assets/{use-navigate-to-agent-XCi2yYhB.js → use-navigate-to-agent-DY3jsv9_.js} +1 -1
  144. package/dist/client/assets/{use-org-auth-client-3kBAJUD3.js → use-org-auth-client-Brlzufmt.js} +1 -1
  145. package/dist/client/assets/{use-org-sso-CcympP7K.js → use-org-sso-D0sdE_Rr.js} +1 -1
  146. package/dist/client/assets/{use-organization-roles-BVvoY3A5.js → use-organization-roles-CxDdUjnY.js} +1 -1
  147. package/dist/client/assets/{use-organization-settings-fzhI1sm5.js → use-organization-settings-qeGEmxxb.js} +1 -1
  148. package/dist/client/assets/{use-registry-connections-A44r5oEv.js → use-registry-connections-B3dA54zD.js} +1 -1
  149. package/dist/client/assets/{use-status-sounds-O9ew_8Ll.js → use-status-sounds-DyfabNoq.js} +1 -1
  150. package/dist/client/assets/{use-tasks-u-3hCZTJ.js → use-tasks-CalaAWsj.js} +1 -1
  151. package/dist/client/assets/{use-view-mode-DlaGUb5K.js → use-view-mode-J-pl-NFS.js} +1 -1
  152. package/dist/client/assets/{use-virtual-mcp-DCBMUq-0.js → use-virtual-mcp-Ci2IQchC.js} +1 -1
  153. package/dist/client/assets/useInfiniteQuery-_4aHbhXJ.js +1 -0
  154. package/dist/client/assets/useSuspenseInfiniteQuery-DEL5b49j.js +1 -0
  155. package/dist/client/assets/{user-CcjBPChW.js → user-BduM2bsi.js} +1 -1
  156. package/dist/client/assets/{view-mode-toggle-DQvv5M2y.js → view-mode-toggle-CAxEHNjr.js} +1 -1
  157. package/dist/client/assets/{workflow-BCEkisit.js → workflow-B-q1l-SU.js} +1 -1
  158. package/dist/client/assets/workflow-detail-Jmd9Dc5X.js +1 -0
  159. package/dist/client/index.html +1 -1
  160. package/dist/server/cli.js +3 -3
  161. package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
  162. package/dist/server/node_modules/ansi-styles/index.js +223 -0
  163. package/dist/server/node_modules/{slice-ansi → ansi-styles}/license +0 -1
  164. package/dist/server/node_modules/ansi-styles/package.json +54 -0
  165. package/dist/server/node_modules/ansi-styles/readme.md +173 -0
  166. package/dist/server/node_modules/cli-cursor/index.d.ts +47 -0
  167. package/dist/server/node_modules/cli-cursor/index.js +39 -0
  168. package/dist/server/node_modules/{ink → cli-cursor}/license +0 -1
  169. package/dist/server/node_modules/cli-cursor/package.json +49 -0
  170. package/dist/server/node_modules/cli-cursor/readme.md +51 -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/environment/license +9 -0
  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/is-fullwidth-code-point/package.json +53 -0
  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/postgres-array/index.d.ts +4 -0
  192. package/dist/server/node_modules/postgres-array/index.js +97 -0
  193. package/dist/server/node_modules/postgres-array/license +21 -0
  194. package/dist/server/node_modules/postgres-array/package.json +35 -0
  195. package/dist/server/node_modules/postgres-array/readme.md +43 -0
  196. package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
  197. package/dist/server/node_modules/restore-cursor/index.js +11 -0
  198. package/dist/server/node_modules/restore-cursor/license +9 -0
  199. package/dist/server/node_modules/restore-cursor/package.json +55 -0
  200. package/dist/server/node_modules/restore-cursor/readme.md +31 -0
  201. package/dist/server/node_modules/string-width/index.d.ts +39 -0
  202. package/dist/server/node_modules/string-width/index.js +82 -0
  203. package/dist/server/node_modules/string-width/license +9 -0
  204. package/dist/server/node_modules/string-width/package.json +64 -0
  205. package/dist/server/node_modules/string-width/readme.md +66 -0
  206. package/dist/server/server.js +2 -2
  207. package/package.json +1 -1
  208. package/dist/client/assets/ai-providers-BQ-gkNg2.js +0 -1
  209. package/dist/client/assets/index-GRM2kqyY.js +0 -1
  210. package/dist/client/assets/registry-B-92BzsA.js +0 -2
  211. package/dist/client/assets/store-registry-CumcxK5h.js +0 -2
  212. package/dist/client/assets/useInfiniteQuery-BIyHVMaV.js +0 -1
  213. package/dist/client/assets/useSuspenseInfiniteQuery-CxgNWHmG.js +0 -1
  214. package/dist/client/assets/workflow-detail-BBy3s-Vk.js +0 -1
  215. package/dist/server/node_modules/ink/build/ansi-tokenizer.d.ts +0 -38
  216. package/dist/server/node_modules/ink/build/ansi-tokenizer.js +0 -316
  217. package/dist/server/node_modules/ink/build/ansi-tokenizer.js.map +0 -1
  218. package/dist/server/node_modules/ink/build/apply-styles.js +0 -175
  219. package/dist/server/node_modules/ink/build/build-layout.js +0 -77
  220. package/dist/server/node_modules/ink/build/calculate-wrapped-text.js +0 -53
  221. package/dist/server/node_modules/ink/build/colorize.d.ts +0 -3
  222. package/dist/server/node_modules/ink/build/colorize.js +0 -48
  223. package/dist/server/node_modules/ink/build/colorize.js.map +0 -1
  224. package/dist/server/node_modules/ink/build/components/AccessibilityContext.d.ts +0 -3
  225. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js +0 -5
  226. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js.map +0 -1
  227. package/dist/server/node_modules/ink/build/components/App.d.ts +0 -18
  228. package/dist/server/node_modules/ink/build/components/App.js +0 -351
  229. package/dist/server/node_modules/ink/build/components/App.js.map +0 -1
  230. package/dist/server/node_modules/ink/build/components/AppContext.d.ts +0 -15
  231. package/dist/server/node_modules/ink/build/components/AppContext.js +0 -11
  232. package/dist/server/node_modules/ink/build/components/AppContext.js.map +0 -1
  233. package/dist/server/node_modules/ink/build/components/BackgroundContext.d.ts +0 -4
  234. package/dist/server/node_modules/ink/build/components/BackgroundContext.js +0 -3
  235. package/dist/server/node_modules/ink/build/components/BackgroundContext.js.map +0 -1
  236. package/dist/server/node_modules/ink/build/components/Box.d.ts +0 -117
  237. package/dist/server/node_modules/ink/build/components/Box.js +0 -34
  238. package/dist/server/node_modules/ink/build/components/Box.js.map +0 -1
  239. package/dist/server/node_modules/ink/build/components/Color.js +0 -62
  240. package/dist/server/node_modules/ink/build/components/Cursor.d.ts +0 -83
  241. package/dist/server/node_modules/ink/build/components/Cursor.js +0 -53
  242. package/dist/server/node_modules/ink/build/components/Cursor.js.map +0 -1
  243. package/dist/server/node_modules/ink/build/components/CursorContext.d.ts +0 -11
  244. package/dist/server/node_modules/ink/build/components/CursorContext.js +0 -8
  245. package/dist/server/node_modules/ink/build/components/CursorContext.js.map +0 -1
  246. package/dist/server/node_modules/ink/build/components/ErrorBoundary.d.ts +0 -18
  247. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js +0 -23
  248. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js.map +0 -1
  249. package/dist/server/node_modules/ink/build/components/ErrorOverview.d.ts +0 -6
  250. package/dist/server/node_modules/ink/build/components/ErrorOverview.js +0 -84
  251. package/dist/server/node_modules/ink/build/components/ErrorOverview.js.map +0 -1
  252. package/dist/server/node_modules/ink/build/components/FocusContext.d.ts +0 -16
  253. package/dist/server/node_modules/ink/build/components/FocusContext.js +0 -17
  254. package/dist/server/node_modules/ink/build/components/FocusContext.js.map +0 -1
  255. package/dist/server/node_modules/ink/build/components/Newline.d.ts +0 -13
  256. package/dist/server/node_modules/ink/build/components/Newline.js +0 -8
  257. package/dist/server/node_modules/ink/build/components/Newline.js.map +0 -1
  258. package/dist/server/node_modules/ink/build/components/Spacer.d.ts +0 -7
  259. package/dist/server/node_modules/ink/build/components/Spacer.js +0 -11
  260. package/dist/server/node_modules/ink/build/components/Spacer.js.map +0 -1
  261. package/dist/server/node_modules/ink/build/components/Static.d.ts +0 -24
  262. package/dist/server/node_modules/ink/build/components/Static.js +0 -28
  263. package/dist/server/node_modules/ink/build/components/Static.js.map +0 -1
  264. package/dist/server/node_modules/ink/build/components/StderrContext.d.ts +0 -15
  265. package/dist/server/node_modules/ink/build/components/StderrContext.js +0 -13
  266. package/dist/server/node_modules/ink/build/components/StderrContext.js.map +0 -1
  267. package/dist/server/node_modules/ink/build/components/StdinContext.d.ts +0 -22
  268. package/dist/server/node_modules/ink/build/components/StdinContext.js +0 -19
  269. package/dist/server/node_modules/ink/build/components/StdinContext.js.map +0 -1
  270. package/dist/server/node_modules/ink/build/components/StdoutContext.d.ts +0 -15
  271. package/dist/server/node_modules/ink/build/components/StdoutContext.js +0 -13
  272. package/dist/server/node_modules/ink/build/components/StdoutContext.js.map +0 -1
  273. package/dist/server/node_modules/ink/build/components/Text.d.ts +0 -55
  274. package/dist/server/node_modules/ink/build/components/Text.js +0 -50
  275. package/dist/server/node_modules/ink/build/components/Text.js.map +0 -1
  276. package/dist/server/node_modules/ink/build/components/Transform.d.ts +0 -16
  277. package/dist/server/node_modules/ink/build/components/Transform.js +0 -15
  278. package/dist/server/node_modules/ink/build/components/Transform.js.map +0 -1
  279. package/dist/server/node_modules/ink/build/cursor-helpers.d.ts +0 -38
  280. package/dist/server/node_modules/ink/build/cursor-helpers.js +0 -56
  281. package/dist/server/node_modules/ink/build/cursor-helpers.js.map +0 -1
  282. package/dist/server/node_modules/ink/build/devtools-window-polyfill.d.ts +0 -1
  283. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js +0 -65
  284. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js.map +0 -1
  285. package/dist/server/node_modules/ink/build/devtools.d.ts +0 -1
  286. package/dist/server/node_modules/ink/build/devtools.js +0 -11
  287. package/dist/server/node_modules/ink/build/devtools.js.map +0 -1
  288. package/dist/server/node_modules/ink/build/dom.d.ts +0 -56
  289. package/dist/server/node_modules/ink/build/dom.js +0 -124
  290. package/dist/server/node_modules/ink/build/dom.js.map +0 -1
  291. package/dist/server/node_modules/ink/build/experimental/apply-style.js +0 -140
  292. package/dist/server/node_modules/ink/build/experimental/dom.js +0 -123
  293. package/dist/server/node_modules/ink/build/experimental/output.js +0 -91
  294. package/dist/server/node_modules/ink/build/experimental/reconciler.js +0 -141
  295. package/dist/server/node_modules/ink/build/experimental/renderer.js +0 -81
  296. package/dist/server/node_modules/ink/build/get-max-width.d.ts +0 -3
  297. package/dist/server/node_modules/ink/build/get-max-width.js +0 -10
  298. package/dist/server/node_modules/ink/build/get-max-width.js.map +0 -1
  299. package/dist/server/node_modules/ink/build/hooks/use-app.d.ts +0 -5
  300. package/dist/server/node_modules/ink/build/hooks/use-app.js +0 -8
  301. package/dist/server/node_modules/ink/build/hooks/use-app.js.map +0 -1
  302. package/dist/server/node_modules/ink/build/hooks/use-cursor.d.ts +0 -12
  303. package/dist/server/node_modules/ink/build/hooks/use-cursor.js +0 -29
  304. package/dist/server/node_modules/ink/build/hooks/use-cursor.js.map +0 -1
  305. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.d.ts +0 -28
  306. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js +0 -17
  307. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js.map +0 -1
  308. package/dist/server/node_modules/ink/build/hooks/use-focus.d.ts +0 -29
  309. package/dist/server/node_modules/ink/build/hooks/use-focus.js +0 -42
  310. package/dist/server/node_modules/ink/build/hooks/use-focus.js.map +0 -1
  311. package/dist/server/node_modules/ink/build/hooks/use-input.d.ts +0 -131
  312. package/dist/server/node_modules/ink/build/hooks/use-input.js +0 -124
  313. package/dist/server/node_modules/ink/build/hooks/use-input.js.map +0 -1
  314. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +0 -5
  315. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +0 -11
  316. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +0 -1
  317. package/dist/server/node_modules/ink/build/hooks/use-stderr.d.ts +0 -5
  318. package/dist/server/node_modules/ink/build/hooks/use-stderr.js +0 -8
  319. package/dist/server/node_modules/ink/build/hooks/use-stderr.js.map +0 -1
  320. package/dist/server/node_modules/ink/build/hooks/use-stdin.d.ts +0 -5
  321. package/dist/server/node_modules/ink/build/hooks/use-stdin.js +0 -8
  322. package/dist/server/node_modules/ink/build/hooks/use-stdin.js.map +0 -1
  323. package/dist/server/node_modules/ink/build/hooks/use-stdout.d.ts +0 -5
  324. package/dist/server/node_modules/ink/build/hooks/use-stdout.js +0 -8
  325. package/dist/server/node_modules/ink/build/hooks/use-stdout.js.map +0 -1
  326. package/dist/server/node_modules/ink/build/hooks/useInput.js +0 -38
  327. package/dist/server/node_modules/ink/build/index.d.ts +0 -34
  328. package/dist/server/node_modules/ink/build/index.js +0 -20
  329. package/dist/server/node_modules/ink/build/index.js.map +0 -1
  330. package/dist/server/node_modules/ink/build/ink.d.ts +0 -90
  331. package/dist/server/node_modules/ink/build/ink.js +0 -637
  332. package/dist/server/node_modules/ink/build/ink.js.map +0 -1
  333. package/dist/server/node_modules/ink/build/input-parser.d.ts +0 -7
  334. package/dist/server/node_modules/ink/build/input-parser.js +0 -154
  335. package/dist/server/node_modules/ink/build/input-parser.js.map +0 -1
  336. package/dist/server/node_modules/ink/build/instance.js +0 -205
  337. package/dist/server/node_modules/ink/build/instances.d.ts +0 -3
  338. package/dist/server/node_modules/ink/build/instances.js +0 -8
  339. package/dist/server/node_modules/ink/build/instances.js.map +0 -1
  340. package/dist/server/node_modules/ink/build/kitty-keyboard.d.ts +0 -23
  341. package/dist/server/node_modules/ink/build/kitty-keyboard.js +0 -32
  342. package/dist/server/node_modules/ink/build/kitty-keyboard.js.map +0 -1
  343. package/dist/server/node_modules/ink/build/layout.d.ts +0 -7
  344. package/dist/server/node_modules/ink/build/layout.js +0 -33
  345. package/dist/server/node_modules/ink/build/layout.js.map +0 -1
  346. package/dist/server/node_modules/ink/build/log-update.d.ts +0 -19
  347. package/dist/server/node_modules/ink/build/log-update.js +0 -242
  348. package/dist/server/node_modules/ink/build/log-update.js.map +0 -1
  349. package/dist/server/node_modules/ink/build/measure-element.d.ts +0 -16
  350. package/dist/server/node_modules/ink/build/measure-element.js +0 -9
  351. package/dist/server/node_modules/ink/build/measure-element.js.map +0 -1
  352. package/dist/server/node_modules/ink/build/measure-text.d.ts +0 -6
  353. package/dist/server/node_modules/ink/build/measure-text.js +0 -21
  354. package/dist/server/node_modules/ink/build/measure-text.js.map +0 -1
  355. package/dist/server/node_modules/ink/build/options.d.ts +0 -52
  356. package/dist/server/node_modules/ink/build/options.js +0 -2
  357. package/dist/server/node_modules/ink/build/options.js.map +0 -1
  358. package/dist/server/node_modules/ink/build/output.d.ts +0 -35
  359. package/dist/server/node_modules/ink/build/output.js +0 -183
  360. package/dist/server/node_modules/ink/build/output.js.map +0 -1
  361. package/dist/server/node_modules/ink/build/parse-keypress.d.ts +0 -22
  362. package/dist/server/node_modules/ink/build/parse-keypress.js +0 -493
  363. package/dist/server/node_modules/ink/build/parse-keypress.js.map +0 -1
  364. package/dist/server/node_modules/ink/build/reconciler.d.ts +0 -4
  365. package/dist/server/node_modules/ink/build/reconciler.js +0 -274
  366. package/dist/server/node_modules/ink/build/reconciler.js.map +0 -1
  367. package/dist/server/node_modules/ink/build/render-background.d.ts +0 -4
  368. package/dist/server/node_modules/ink/build/render-background.js +0 -25
  369. package/dist/server/node_modules/ink/build/render-background.js.map +0 -1
  370. package/dist/server/node_modules/ink/build/render-border.d.ts +0 -4
  371. package/dist/server/node_modules/ink/build/render-border.js +0 -73
  372. package/dist/server/node_modules/ink/build/render-border.js.map +0 -1
  373. package/dist/server/node_modules/ink/build/render-node-to-output.d.ts +0 -14
  374. package/dist/server/node_modules/ink/build/render-node-to-output.js +0 -147
  375. package/dist/server/node_modules/ink/build/render-node-to-output.js.map +0 -1
  376. package/dist/server/node_modules/ink/build/render-to-string.d.ts +0 -38
  377. package/dist/server/node_modules/ink/build/render-to-string.js +0 -115
  378. package/dist/server/node_modules/ink/build/render-to-string.js.map +0 -1
  379. package/dist/server/node_modules/ink/build/render.d.ts +0 -121
  380. package/dist/server/node_modules/ink/build/render.js +0 -55
  381. package/dist/server/node_modules/ink/build/render.js.map +0 -1
  382. package/dist/server/node_modules/ink/build/renderer.d.ts +0 -8
  383. package/dist/server/node_modules/ink/build/renderer.js +0 -55
  384. package/dist/server/node_modules/ink/build/renderer.js.map +0 -1
  385. package/dist/server/node_modules/ink/build/sanitize-ansi.d.ts +0 -2
  386. package/dist/server/node_modules/ink/build/sanitize-ansi.js +0 -27
  387. package/dist/server/node_modules/ink/build/sanitize-ansi.js.map +0 -1
  388. package/dist/server/node_modules/ink/build/screen-reader-update.d.ts +0 -13
  389. package/dist/server/node_modules/ink/build/screen-reader-update.js +0 -38
  390. package/dist/server/node_modules/ink/build/screen-reader-update.js.map +0 -1
  391. package/dist/server/node_modules/ink/build/squash-text-nodes.d.ts +0 -3
  392. package/dist/server/node_modules/ink/build/squash-text-nodes.js +0 -36
  393. package/dist/server/node_modules/ink/build/squash-text-nodes.js.map +0 -1
  394. package/dist/server/node_modules/ink/build/styles.d.ts +0 -240
  395. package/dist/server/node_modules/ink/build/styles.js +0 -232
  396. package/dist/server/node_modules/ink/build/styles.js.map +0 -1
  397. package/dist/server/node_modules/ink/build/utils.d.ts +0 -2
  398. package/dist/server/node_modules/ink/build/utils.js +0 -4
  399. package/dist/server/node_modules/ink/build/utils.js.map +0 -1
  400. package/dist/server/node_modules/ink/build/wrap-text.d.ts +0 -3
  401. package/dist/server/node_modules/ink/build/wrap-text.js +0 -31
  402. package/dist/server/node_modules/ink/build/wrap-text.js.map +0 -1
  403. package/dist/server/node_modules/ink/build/write-synchronized.d.ts +0 -4
  404. package/dist/server/node_modules/ink/build/write-synchronized.js +0 -7
  405. package/dist/server/node_modules/ink/build/write-synchronized.js.map +0 -1
  406. package/dist/server/node_modules/ink/package.json +0 -201
  407. package/dist/server/node_modules/ink/readme.md +0 -2636
  408. package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
  409. package/dist/server/node_modules/slice-ansi/index.js +0 -260
  410. package/dist/server/node_modules/slice-ansi/package.json +0 -59
  411. package/dist/server/node_modules/slice-ansi/readme.md +0 -54
  412. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
@@ -0,0 +1,53 @@
1
+ {
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
+ "license": "MIT",
6
+ "repository": "sindresorhus/is-fullwidth-code-point",
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
+ "fullwidth",
31
+ "full-width",
32
+ "full",
33
+ "width",
34
+ "unicode",
35
+ "character",
36
+ "string",
37
+ "codepoint",
38
+ "code",
39
+ "point",
40
+ "is",
41
+ "detect",
42
+ "check",
43
+ "east-asian-width"
44
+ ],
45
+ "devDependencies": {
46
+ "ava": "^5.3.1",
47
+ "tsd": "^0.29.0",
48
+ "xo": "^0.56.0"
49
+ },
50
+ "dependencies": {
51
+ "get-east-asian-width": "^1.3.1"
52
+ }
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,4 @@
1
+
2
+ export function parse(source: string): string[];
3
+ export function parse<T>(source: string, transform: (value: string) => T): T[];
4
+
@@ -0,0 +1,97 @@
1
+ 'use strict'
2
+
3
+ exports.parse = function (source, transform) {
4
+ return new ArrayParser(source, transform).parse()
5
+ }
6
+
7
+ class ArrayParser {
8
+ constructor (source, transform) {
9
+ this.source = source
10
+ this.transform = transform || identity
11
+ this.position = 0
12
+ this.entries = []
13
+ this.recorded = []
14
+ this.dimension = 0
15
+ }
16
+
17
+ isEof () {
18
+ return this.position >= this.source.length
19
+ }
20
+
21
+ nextCharacter () {
22
+ var character = this.source[this.position++]
23
+ if (character === '\\') {
24
+ return {
25
+ value: this.source[this.position++],
26
+ escaped: true
27
+ }
28
+ }
29
+ return {
30
+ value: character,
31
+ escaped: false
32
+ }
33
+ }
34
+
35
+ record (character) {
36
+ this.recorded.push(character)
37
+ }
38
+
39
+ newEntry (includeEmpty) {
40
+ var entry
41
+ if (this.recorded.length > 0 || includeEmpty) {
42
+ entry = this.recorded.join('')
43
+ if (entry === 'NULL' && !includeEmpty) {
44
+ entry = null
45
+ }
46
+ if (entry !== null) entry = this.transform(entry)
47
+ this.entries.push(entry)
48
+ this.recorded = []
49
+ }
50
+ }
51
+
52
+ consumeDimensions () {
53
+ if (this.source[0] === '[') {
54
+ while (!this.isEof()) {
55
+ var char = this.nextCharacter()
56
+ if (char.value === '=') break
57
+ }
58
+ }
59
+ }
60
+
61
+ parse (nested) {
62
+ var character, parser, quote
63
+ this.consumeDimensions()
64
+ while (!this.isEof()) {
65
+ character = this.nextCharacter()
66
+ if (character.value === '{' && !quote) {
67
+ this.dimension++
68
+ if (this.dimension > 1) {
69
+ parser = new ArrayParser(this.source.substr(this.position - 1), this.transform)
70
+ this.entries.push(parser.parse(true))
71
+ this.position += parser.position - 2
72
+ }
73
+ } else if (character.value === '}' && !quote) {
74
+ this.dimension--
75
+ if (!this.dimension) {
76
+ this.newEntry()
77
+ if (nested) return this.entries
78
+ }
79
+ } else if (character.value === '"' && !character.escaped) {
80
+ if (quote) this.newEntry(true)
81
+ quote = !quote
82
+ } else if (character.value === ',' && !quote) {
83
+ this.newEntry()
84
+ } else {
85
+ this.record(character.value)
86
+ }
87
+ }
88
+ if (this.dimension !== 0) {
89
+ throw new Error('array dimension not balanced')
90
+ }
91
+ return this.entries
92
+ }
93
+ }
94
+
95
+ function identity (value) {
96
+ return value
97
+ }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Ben Drucker <bvdrucker@gmail.com> (bendrucker.me)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "postgres-array",
3
+ "main": "index.js",
4
+ "version": "2.0.0",
5
+ "description": "Parse postgres array columns",
6
+ "license": "MIT",
7
+ "repository": "bendrucker/postgres-array",
8
+ "author": {
9
+ "name": "Ben Drucker",
10
+ "email": "bvdrucker@gmail.com",
11
+ "url": "bendrucker.me"
12
+ },
13
+ "engines": {
14
+ "node": ">=4"
15
+ },
16
+ "scripts": {
17
+ "test": "standard && tape test.js"
18
+ },
19
+ "types": "index.d.ts",
20
+ "keywords": [
21
+ "postgres",
22
+ "array",
23
+ "parser"
24
+ ],
25
+ "dependencies": {},
26
+ "devDependencies": {
27
+ "standard": "^12.0.1",
28
+ "tape": "^4.0.0"
29
+ },
30
+ "files": [
31
+ "index.js",
32
+ "index.d.ts",
33
+ "readme.md"
34
+ ]
35
+ }
@@ -0,0 +1,43 @@
1
+ # postgres-array [![Build Status](https://travis-ci.org/bendrucker/postgres-array.svg?branch=master)](https://travis-ci.org/bendrucker/postgres-array)
2
+
3
+ > Parse postgres array columns
4
+
5
+
6
+ ## Install
7
+
8
+ ```
9
+ $ npm install --save postgres-array
10
+ ```
11
+
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ var postgresArray = require('postgres-array')
17
+
18
+ postgresArray.parse('{1,2,3}', (value) => parseInt(value, 10))
19
+ //=> [1, 2, 3]
20
+ ```
21
+
22
+ ## API
23
+
24
+ #### `parse(input, [transform])` -> `array`
25
+
26
+ ##### input
27
+
28
+ *Required*
29
+ Type: `string`
30
+
31
+ A Postgres array string.
32
+
33
+ ##### transform
34
+
35
+ Type: `function`
36
+ Default: `identity`
37
+
38
+ A function that transforms non-null values inserted into the array.
39
+
40
+
41
+ ## License
42
+
43
+ MIT © [Ben Drucker](http://bendrucker.me)
@@ -0,0 +1,11 @@
1
+ /**
2
+ Gracefully restore the CLI cursor on exit.
3
+
4
+ @example
5
+ ```
6
+ import restoreCursor from 'restore-cursor';
7
+
8
+ restoreCursor();
9
+ ```
10
+ */
11
+ export default function restoreCursor(): void;
@@ -0,0 +1,11 @@
1
+ import process from 'node:process';
2
+ import onetime from 'onetime';
3
+ import signalExit from 'signal-exit';
4
+
5
+ const restoreCursor = onetime(() => {
6
+ signalExit(() => {
7
+ process.stderr.write('\u001B[?25h');
8
+ }, {alwaysLast: true});
9
+ });
10
+
11
+ export default restoreCursor;
@@ -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,55 @@
1
+ {
2
+ "name": "restore-cursor",
3
+ "version": "4.0.0",
4
+ "description": "Gracefully restore the CLI cursor on exit",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/restore-cursor",
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": "./index.js",
15
+ "engines": {
16
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
17
+ },
18
+ "scripts": {
19
+ "test": "xo && tsd"
20
+ },
21
+ "files": [
22
+ "index.js",
23
+ "index.d.ts"
24
+ ],
25
+ "keywords": [
26
+ "exit",
27
+ "quit",
28
+ "process",
29
+ "graceful",
30
+ "shutdown",
31
+ "sigterm",
32
+ "sigint",
33
+ "terminate",
34
+ "kill",
35
+ "stop",
36
+ "cli",
37
+ "cursor",
38
+ "ansi",
39
+ "show",
40
+ "term",
41
+ "terminal",
42
+ "console",
43
+ "tty",
44
+ "shell",
45
+ "command-line"
46
+ ],
47
+ "dependencies": {
48
+ "onetime": "^5.1.0",
49
+ "signal-exit": "^3.0.2"
50
+ },
51
+ "devDependencies": {
52
+ "tsd": "^0.7.2",
53
+ "xo": "^0.24.0"
54
+ }
55
+ }
@@ -0,0 +1,31 @@
1
+ # restore-cursor
2
+
3
+ > Gracefully restore the CLI cursor on exit
4
+
5
+ Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ $ npm install restore-cursor
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ import restoreCursor from 'restore-cursor';
17
+
18
+ restoreCursor();
19
+ ```
20
+
21
+ ---
22
+
23
+ <div align="center">
24
+ <b>
25
+ <a href="https://tidelift.com/subscription/pkg/npm-restore-cursor?utm_source=npm-restore-cursor&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
26
+ </b>
27
+ <br>
28
+ <sub>
29
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
30
+ </sub>
31
+ </div>
@@ -0,0 +1,39 @@
1
+ export type Options = {
2
+ /**
3
+ Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).
4
+
5
+ @default true
6
+
7
+ > Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). __If the context cannot be established reliably, they should be treated as narrow characters by default.__
8
+ > - http://www.unicode.org/reports/tr11/
9
+ */
10
+ readonly ambiguousIsNarrow?: boolean;
11
+
12
+ /**
13
+ Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted.
14
+
15
+ @default false
16
+ */
17
+ readonly countAnsiEscapeCodes?: boolean;
18
+ };
19
+
20
+ /**
21
+ Get the visual width of a string - the number of columns required to display it.
22
+
23
+ Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
24
+
25
+ @example
26
+ ```
27
+ import stringWidth from 'string-width';
28
+
29
+ stringWidth('a');
30
+ //=> 1
31
+
32
+ stringWidth('古');
33
+ //=> 2
34
+
35
+ stringWidth('\u001B[1m古\u001B[22m');
36
+ //=> 2
37
+ ```
38
+ */
39
+ export default function stringWidth(string: string, options?: Options): number;
@@ -0,0 +1,82 @@
1
+ import stripAnsi from 'strip-ansi';
2
+ import {eastAsianWidth} from 'get-east-asian-width';
3
+ import emojiRegex from 'emoji-regex';
4
+
5
+ const segmenter = new Intl.Segmenter();
6
+
7
+ const defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
8
+
9
+ export default function stringWidth(string, options = {}) {
10
+ if (typeof string !== 'string' || string.length === 0) {
11
+ return 0;
12
+ }
13
+
14
+ const {
15
+ ambiguousIsNarrow = true,
16
+ countAnsiEscapeCodes = false,
17
+ } = options;
18
+
19
+ if (!countAnsiEscapeCodes) {
20
+ string = stripAnsi(string);
21
+ }
22
+
23
+ if (string.length === 0) {
24
+ return 0;
25
+ }
26
+
27
+ let width = 0;
28
+ const eastAsianWidthOptions = {ambiguousAsWide: !ambiguousIsNarrow};
29
+
30
+ for (const {segment: character} of segmenter.segment(string)) {
31
+ const codePoint = character.codePointAt(0);
32
+
33
+ // Ignore control characters
34
+ if (codePoint <= 0x1F || (codePoint >= 0x7F && codePoint <= 0x9F)) {
35
+ continue;
36
+ }
37
+
38
+ // Ignore zero-width characters
39
+ if (
40
+ (codePoint >= 0x20_0B && codePoint <= 0x20_0F) // Zero-width space, non-joiner, joiner, left-to-right mark, right-to-left mark
41
+ || codePoint === 0xFE_FF // Zero-width no-break space
42
+ ) {
43
+ continue;
44
+ }
45
+
46
+ // Ignore combining characters
47
+ if (
48
+ (codePoint >= 0x3_00 && codePoint <= 0x3_6F) // Combining diacritical marks
49
+ || (codePoint >= 0x1A_B0 && codePoint <= 0x1A_FF) // Combining diacritical marks extended
50
+ || (codePoint >= 0x1D_C0 && codePoint <= 0x1D_FF) // Combining diacritical marks supplement
51
+ || (codePoint >= 0x20_D0 && codePoint <= 0x20_FF) // Combining diacritical marks for symbols
52
+ || (codePoint >= 0xFE_20 && codePoint <= 0xFE_2F) // Combining half marks
53
+ ) {
54
+ continue;
55
+ }
56
+
57
+ // Ignore surrogate pairs
58
+ if (codePoint >= 0xD8_00 && codePoint <= 0xDF_FF) {
59
+ continue;
60
+ }
61
+
62
+ // Ignore variation selectors
63
+ if (codePoint >= 0xFE_00 && codePoint <= 0xFE_0F) {
64
+ continue;
65
+ }
66
+
67
+ // This covers some of the above cases, but we still keep them for performance reasons.
68
+ if (defaultIgnorableCodePointRegex.test(character)) {
69
+ continue;
70
+ }
71
+
72
+ // TODO: Use `/\p{RGI_Emoji}/v` when targeting Node.js 20.
73
+ if (emojiRegex().test(character)) {
74
+ width += 2;
75
+ continue;
76
+ }
77
+
78
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
79
+ }
80
+
81
+ return width;
82
+ }
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.