decocms 2.302.4 → 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 (422) hide show
  1. package/dist/client/assets/{AlertCircle-DSZVvcru.js → AlertCircle-DYsBkqgk.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-wBASxb0P.js → ArrowNarrowLeft-f4NsG2u2.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-BJxEOPu7.js → ArrowUpRight-0SvsPZ4w.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-DSvfPMkA.js → CheckCircle-CXidvOnE.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-B_jGx88V.js → ChevronDown-T3J_FVZJ.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-09l0V0oC.js → ChevronRight-CAh53MYi.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-Xo8mQp9m.js → ChevronUp-BB9elRBQ.js} +1 -1
  8. package/dist/client/assets/{Container-DQvWHFPX.js → Container-CzTl4K2T.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-nZJzgZx0.js → DotsVertical-BzVzv-oX.js} +1 -1
  10. package/dist/client/assets/{LinkExternal01-BcaOFSiB.js → LinkExternal01-w4yRWGwt.js} +1 -1
  11. package/dist/client/assets/{Lock01-DbjvwJgn.js → Lock01-y59fY-pi.js} +1 -1
  12. package/dist/client/assets/{Palette-TeQrEtkV.js → Palette-DHavAHjq.js} +1 -1
  13. package/dist/client/assets/{Play-Cz6iqYd_.js → Play-iXdmlyAm.js} +1 -1
  14. package/dist/client/assets/{Plus-0-k0Hxon.js → Plus-CxFWwhW1.js} +1 -1
  15. package/dist/client/assets/{RefreshCcw01-Vt7bKU5A.js → RefreshCcw01-D9tZoyTd.js} +1 -1
  16. package/dist/client/assets/{SearchMd-DG7BRBsB.js → SearchMd-DESZBiw-.js} +1 -1
  17. package/dist/client/assets/{Settings02-CZTMhu7x.js → Settings02-Hf6ZIRqV.js} +1 -1
  18. package/dist/client/assets/{Shield01-CPJPF_Ay.js → Shield01-BoHQvnPl.js} +1 -1
  19. package/dist/client/assets/{Star01-BZD48_CN.js → Star01-DXGNUfAS.js} +1 -1
  20. package/dist/client/assets/{Sun-lT2K9iFv.js → Sun-27B3YKPV.js} +1 -1
  21. package/dist/client/assets/{Tool01-DsyAZlOV.js → Tool01-_70cqt2t.js} +1 -1
  22. package/dist/client/assets/{Trash01-DIdMBm6d.js → Trash01-BFWH9msw.js} +1 -1
  23. package/dist/client/assets/{User01-DaLU_pXs.js → User01-Cn3EgXS1.js} +1 -1
  24. package/dist/client/assets/{Users03-Cbyo-F1N.js → Users03-DQJCKjsg.js} +1 -1
  25. package/dist/client/assets/{X-A3ULnTw9.js → X-D7XtWfgE.js} +1 -1
  26. package/dist/client/assets/{XCircle-CuwuLpDW.js → XCircle-C4cR7ffS.js} +1 -1
  27. package/dist/client/assets/{XClose-OklkH08P.js → XClose-BIyC5w2n.js} +1 -1
  28. package/dist/client/assets/{Zap-CW7j_KaA.js → Zap-5CNC0Ept.js} +1 -1
  29. package/dist/client/assets/{ZapSquare-CdMzJWXO.js → ZapSquare-C5LgmBxA.js} +1 -1
  30. package/dist/client/assets/{accordion-DAcUC4jB.js → accordion-Cd97pZzi.js} +1 -1
  31. package/dist/client/assets/{agent-icon-CK-hSz5q.js → agent-icon-B9_saWOv.js} +1 -1
  32. package/dist/client/assets/{agents-list-DEQZ8M-w.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-D4Jvme0e.js → alert-dialog-OujxhZeA.js} +1 -1
  35. package/dist/client/assets/{auth-catchall-DuAZGZax.js → auth-catchall-DjKppIi6.js} +1 -1
  36. package/dist/client/assets/{automation-list-row-8dom_e1K.js → automation-list-row-DGv6wybK.js} +1 -1
  37. package/dist/client/assets/{automations-mgGmd5TI.js → automations-BwhFPhC-.js} +1 -1
  38. package/dist/client/assets/{avatar-BUBvvhIv.js → avatar-C_UGze8T.js} +1 -1
  39. package/dist/client/assets/badge-DpwrE1zH.js +1 -0
  40. package/dist/client/assets/{brand-context-6VCqCZSQ.js → brand-context-D4_qXiHY.js} +1 -1
  41. package/dist/client/assets/{card-DZs0RAqk.js → card-B2FlHiSa.js} +1 -1
  42. package/dist/client/assets/{chat-context-CG5zBnYY.js → chat-context-BehWdIE_.js} +1 -1
  43. package/dist/client/assets/{checkbox-B55iEWyJ.js → checkbox-ByEBQCLB.js} +1 -1
  44. package/dist/client/assets/{collection-detail-DoZcGn2N.js → collection-detail-BO6A-6D3.js} +1 -1
  45. package/dist/client/assets/{collection-display-button-CICwHIX8.js → collection-display-button-Duh_PqWr.js} +1 -1
  46. package/dist/client/assets/{collection-search-BADJfP_J.js → collection-search-B9TJgiJz.js} +1 -1
  47. package/dist/client/assets/{collection-search-fx6Spuba.js → collection-search-Buik536F.js} +1 -1
  48. package/dist/client/assets/{collection-table-wrapper-DDLpL1jQ.js → collection-table-wrapper-E2fNxYM9.js} +1 -1
  49. package/dist/client/assets/{collection-tabs-B8djx9Os.js → collection-tabs-BPN7Casr.js} +1 -1
  50. package/dist/client/assets/{collections-CeGK4D-B.js → collections-nZFIaO7A.js} +1 -1
  51. package/dist/client/assets/{command-BEXz4Lt5.js → command-8r7A67dg.js} +1 -1
  52. package/dist/client/assets/connection-card-B84kBAnY.js +1 -0
  53. package/dist/client/assets/{connection-detail-DuNMfEDw.js → connection-detail-T4cI2Rar.js} +1 -1
  54. package/dist/client/assets/{connection-form-helpers-D2dSK2gm.js → connection-form-helpers-DXAccRFx.js} +1 -1
  55. package/dist/client/assets/{connections-mIOfz5MO.js → connections-DdrV40z5.js} +1 -1
  56. package/dist/client/assets/{constants-CvP2J0Da.js → constants-DFyn79Ih.js} +1 -1
  57. package/dist/client/assets/{constants-Rylzc13S.js → constants-DYjDD2hw.js} +1 -1
  58. package/dist/client/assets/{dialog-DcC4qK4p.js → dialog-CmncC-6K.js} +1 -1
  59. package/dist/client/assets/{domain-settings-Bme96_yK.js → domain-settings-CtzaIQej.js} +1 -1
  60. package/dist/client/assets/{drawer-DheXDt7Y.js → drawer-DGcXLXQn.js} +1 -1
  61. package/dist/client/assets/{dropdown-menu-5YhjKraV.js → dropdown-menu-CDsPRIxB.js} +1 -1
  62. package/dist/client/assets/{dynamic-plugin-layout-B66dsxIy.js → dynamic-plugin-layout-hLPoR_s6.js} +1 -1
  63. package/dist/client/assets/{empty-state-BQjpyTXG.js → empty-state-BoNuHRpQ.js} +1 -1
  64. package/dist/client/assets/{empty-state-B14XOtus.js → empty-state-Dy2IUdp3.js} +1 -1
  65. package/dist/client/assets/{extract-connection-data-B0WCs7Jq.js → extract-connection-data-VJ13de98.js} +1 -1
  66. package/dist/client/assets/{features-FCLXcMws.js → features-C9HfymjH.js} +1 -1
  67. package/dist/client/assets/{form-CYioe919.js → form-D2IsM6ud.js} +1 -1
  68. package/dist/client/assets/{general-DkKeU3zi.js → general-DF9nKrr6.js} +1 -1
  69. package/dist/client/assets/{index-Bq7njAR3.js → index-BDWHZF4c.js} +2 -2
  70. package/dist/client/assets/{index-o3NndZ7_.js → index-BVSR2SFo.js} +1 -1
  71. package/dist/client/assets/{index-C9eHGGCk.js → index-BXLSydrA.js} +1 -1
  72. package/dist/client/assets/{index-B6SyqeP3.js → index-BlJhA7rZ.js} +1 -1
  73. package/dist/client/assets/{index-H3n8wMaA.js → index-C9vZi4B1.js} +1 -1
  74. package/dist/client/assets/{index-DJENJFf2.js → index-CETKIyXW.js} +1 -1
  75. package/dist/client/assets/{index-BhGZvj_W.js → index-CT7XdYTs.js} +1 -1
  76. package/dist/client/assets/{index-BLC3SCf1.js → index-CWU3080-.js} +1 -1
  77. package/dist/client/assets/{index-DUTcr7uJ.js → index-CkKhKJfC.js} +1 -1
  78. package/dist/client/assets/index-D4C2QwcG.js +1 -0
  79. package/dist/client/assets/{index-BDJ4CpRL.js → index-DEwSM5UO.js} +3 -3
  80. package/dist/client/assets/{index-cRj7F9hc.js → index-DJ4-TGQU.js} +1 -1
  81. package/dist/client/assets/{index-BVW_--B-.js → index-DN6IuHkz.js} +1 -1
  82. package/dist/client/assets/{index-DWaeWHhi.js → index-DPbaB7jD.js} +1 -1
  83. package/dist/client/assets/{index-Bo7ASdxG.js → index-FR3V6lrD.js} +1 -1
  84. package/dist/client/assets/index-KELtbXYG.js +547 -0
  85. package/dist/client/assets/{infiniteQueryObserver-BuhXJbqQ.js → infiniteQueryObserver-DMzx8Ajh.js} +1 -1
  86. package/dist/client/assets/{input-BkWsAq4v.js → input-Bdzlyvmj.js} +1 -1
  87. package/dist/client/assets/{integration-icon-CmLA0-j7.js → integration-icon-Cy5BK0qE.js} +1 -1
  88. package/dist/client/assets/{label-cw8oC-NC.js → label-Bw2PIYCj.js} +1 -1
  89. package/dist/client/assets/{layout-C33hnjGM.js → layout-CYPmG5mO.js} +1 -1
  90. package/dist/client/assets/{lean-canvas-recruit-modal-CVrGAzhI.js → lean-canvas-recruit-modal-BT4juGyz.js} +1 -1
  91. package/dist/client/assets/{login-Drkd5MAZ.js → login-B28e1Wyf.js} +1 -1
  92. package/dist/client/assets/{members-BMHMEL8M.js → members-MaYKbIl8.js} +1 -1
  93. package/dist/client/assets/{monaco-editor-S4Yr9AYv.js → monaco-editor-B0DWqYLF.js} +1 -1
  94. package/dist/client/assets/{monitoring-stats-row-CYI_lOC2.js → monitoring-stats-row-DH201TcG.js} +1 -1
  95. package/dist/client/assets/{oauth-callback-ai-provider-B-62OUqZ.js → oauth-callback-ai-provider-DNZYP_aS.js} +1 -1
  96. package/dist/client/assets/{oauth-callback-Dy0zmJ7-.js → oauth-callback-sJETWziT.js} +1 -1
  97. package/dist/client/assets/{onboarding-ZV0W1iC3.js → onboarding-CarvRKmy.js} +1 -1
  98. package/dist/client/assets/{org-layout-D1yIafts.js → org-layout-DHW0VeFP.js} +1 -1
  99. package/dist/client/assets/{org-plugin-layout-CEMSbUvq.js → org-plugin-layout-CXpJSkkf.js} +1 -1
  100. package/dist/client/assets/{pair-BUNffFJU.js → pair-OadcxUG9.js} +1 -1
  101. package/dist/client/assets/{plugin-empty-state-DrlGnvya.js → plugin-empty-state-DesCuNpH.js} +1 -1
  102. package/dist/client/assets/{plugin-header-BW1pO1C8.js → plugin-header--6VZlO2H.js} +1 -1
  103. package/dist/client/assets/{plugin-layout-BVHruk13.js → plugin-layout-C9GSESK4.js} +1 -1
  104. package/dist/client/assets/{popover-2ISvfsE_.js → popover-BY5xAQmF.js} +1 -1
  105. package/dist/client/assets/{profile-CY5sK6mR.js → profile-BoZLpLkD.js} +1 -1
  106. package/dist/client/assets/{project-app-view-CYNow9wd.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-bFrphQI4.js → registry-layout-CdwMJvbZ.js} +1 -1
  109. package/dist/client/assets/{required-auth-layout-C5zM-TSa.js → required-auth-layout-BDnZ49oa.js} +1 -1
  110. package/dist/client/assets/{reset-password-Ckt278kq.js → reset-password-DUYGrA7L.js} +1 -1
  111. package/dist/client/assets/{roles-CTcYLqYx.js → roles-Y85thY7n.js} +1 -1
  112. package/dist/client/assets/{scroll-area-D4wMmkUg.js → scroll-area-qCxE2hon.js} +1 -1
  113. package/dist/client/assets/{search-input-BUVesVPS.js → search-input-B5lcLg8G.js} +1 -1
  114. package/dist/client/assets/{select-DYqvh3_c.js → select-CPOZtPOm.js} +1 -1
  115. package/dist/client/assets/{select-model-BGBPSevv.js → select-model-BtIjEXHL.js} +1 -1
  116. package/dist/client/assets/{settings-layout-CyDZGzMS.js → settings-layout-DLuUhrGj.js} +1 -1
  117. package/dist/client/assets/{settings-section-7hbZS_yJ.js → settings-section-CjgR1v3b.js} +1 -1
  118. package/dist/client/assets/{shell-layout-CV4tpkGi.js → shell-layout-DSlnYQwS.js} +1 -1
  119. package/dist/client/assets/{skeleton-9MYCgaQ4.js → skeleton-CIdd6LnB.js} +1 -1
  120. package/dist/client/assets/{sso-BCyLES5c.js → sso-7YErCYvk.js} +1 -1
  121. package/dist/client/assets/{store-DakLos2q.js → store-3uf30l0N.js} +1 -1
  122. package/dist/client/assets/store-registry-ClZqe9d2.js +2 -0
  123. package/dist/client/assets/{switch-CGr49I35.js → switch-BKqARx2z.js} +1 -1
  124. package/dist/client/assets/{table-DiwglyaB.js → table-DSnKB3WU.js} +1 -1
  125. package/dist/client/assets/{tabs-CK4nnUqp.js → tabs-BqvlcXR7.js} +1 -1
  126. package/dist/client/assets/{task-status-CHFlhuh2.js → task-status-CEH-hhyq.js} +1 -1
  127. package/dist/client/assets/{textarea-822XUY9e.js → textarea-BDXFkTIX.js} +1 -1
  128. package/dist/client/assets/{toggle-group-BE9FnkNQ.js → toggle-group-BNTZzdFS.js} +1 -1
  129. package/dist/client/assets/{tools-list-rU4QiWsU.js → tools-list-Dw6JwtIs.js} +1 -1
  130. package/dist/client/assets/{tooltip-B7nNUfEo.js → tooltip-_WWA2f_Q.js} +1 -1
  131. package/dist/client/assets/{types-JgiT8Bse.js → types-3fOwpBiV.js} +1 -1
  132. package/dist/client/assets/{use-ai-providers-Brv8buwj.js → use-ai-providers-CeAjYVgE.js} +1 -1
  133. package/dist/client/assets/{use-collections-DnqE67dD.js → use-collections-CsI9zuvk.js} +1 -1
  134. package/dist/client/assets/{use-connection-Bt8euDxJ.js → use-connection-c2fdn_Q4.js} +1 -1
  135. package/dist/client/assets/{use-copy-DZtO8qAn.js → use-copy-CkKvvrYW.js} +1 -1
  136. package/dist/client/assets/{use-create-virtual-mcp-Bkj-wV7o.js → use-create-virtual-mcp-DG6IAqew.js} +1 -1
  137. package/dist/client/assets/{use-decopilot-events-DM6z0Ifz.js → use-decopilot-events-BJCOOgAS.js} +1 -1
  138. package/dist/client/assets/{use-delete-connection-CXzN1WRx.js → use-delete-connection-BjJoFZAR.js} +1 -1
  139. package/dist/client/assets/{use-infinite-scroll-BLdqgFii.js → use-infinite-scroll-C1mLbaq7.js} +1 -1
  140. package/dist/client/assets/{use-list-state-CPe9u7jX.js → use-list-state-BIGugSjM.js} +1 -1
  141. package/dist/client/assets/{use-mcp-tools-DRn5dFY0.js → use-mcp-tools-CLk_EUg4.js} +1 -1
  142. package/dist/client/assets/{use-members-8qM3iZmd.js → use-members-C52huH1h.js} +1 -1
  143. package/dist/client/assets/{use-navigate-to-agent-CNAJSj47.js → use-navigate-to-agent-DY3jsv9_.js} +1 -1
  144. package/dist/client/assets/{use-org-auth-client-B0Gbq_9m.js → use-org-auth-client-Brlzufmt.js} +1 -1
  145. package/dist/client/assets/{use-org-sso-Cu63Lnrr.js → use-org-sso-D0sdE_Rr.js} +1 -1
  146. package/dist/client/assets/{use-organization-roles-DWPth5GG.js → use-organization-roles-CxDdUjnY.js} +1 -1
  147. package/dist/client/assets/{use-organization-settings-noixypnE.js → use-organization-settings-qeGEmxxb.js} +1 -1
  148. package/dist/client/assets/{use-registry-connections-CJrGOgDq.js → use-registry-connections-B3dA54zD.js} +1 -1
  149. package/dist/client/assets/{use-status-sounds-CDDHN7Kx.js → use-status-sounds-DyfabNoq.js} +1 -1
  150. package/dist/client/assets/{use-tasks-uqKteXuB.js → use-tasks-CalaAWsj.js} +1 -1
  151. package/dist/client/assets/{use-view-mode-DznwpBrl.js → use-view-mode-J-pl-NFS.js} +1 -1
  152. package/dist/client/assets/{use-virtual-mcp-DpzvUiG8.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-sP6NNtk7.js → user-BduM2bsi.js} +1 -1
  156. package/dist/client/assets/{view-mode-toggle-eoGLdH4L.js → view-mode-toggle-CAxEHNjr.js} +1 -1
  157. package/dist/client/assets/{workflow-BW932QMe.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/{ansi-regex → ansi-styles}/package.json +13 -20
  164. package/dist/server/node_modules/ansi-styles/readme.md +173 -0
  165. package/dist/server/node_modules/environment/index.d.ts +74 -0
  166. package/dist/server/node_modules/environment/index.js +47 -0
  167. package/dist/server/node_modules/{ink → environment}/license +0 -1
  168. package/dist/server/node_modules/environment/package.json +74 -0
  169. package/dist/server/node_modules/environment/readme.md +94 -0
  170. package/dist/server/node_modules/escape-string-regexp/index.d.ts +18 -0
  171. package/dist/server/node_modules/escape-string-regexp/index.js +11 -0
  172. package/dist/server/node_modules/escape-string-regexp/license +9 -0
  173. package/dist/server/node_modules/escape-string-regexp/package.json +43 -0
  174. package/dist/server/node_modules/escape-string-regexp/readme.md +29 -0
  175. package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
  176. package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
  177. package/dist/server/node_modules/get-east-asian-width/license +9 -0
  178. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
  179. package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
  180. package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
  181. package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
  182. package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
  183. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  184. package/dist/server/node_modules/is-fullwidth-code-point/index.js +12 -0
  185. package/dist/server/node_modules/is-fullwidth-code-point/license +9 -0
  186. package/dist/server/node_modules/is-fullwidth-code-point/package.json +53 -0
  187. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
  188. package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
  189. package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
  190. package/dist/server/node_modules/is-unicode-supported/license +9 -0
  191. package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
  192. package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
  193. package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
  194. package/dist/server/node_modules/postgres-array/index.js +97 -0
  195. package/dist/server/node_modules/postgres-array/license +21 -0
  196. package/dist/server/node_modules/postgres-array/package.json +35 -0
  197. package/dist/server/node_modules/postgres-array/readme.md +43 -0
  198. package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
  199. package/dist/server/node_modules/restore-cursor/index.js +11 -0
  200. package/dist/server/node_modules/restore-cursor/license +9 -0
  201. package/dist/server/node_modules/restore-cursor/package.json +55 -0
  202. package/dist/server/node_modules/restore-cursor/readme.md +31 -0
  203. package/dist/server/node_modules/string-width/index.d.ts +39 -0
  204. package/dist/server/node_modules/string-width/index.js +82 -0
  205. package/dist/server/node_modules/string-width/license +9 -0
  206. package/dist/server/node_modules/string-width/package.json +64 -0
  207. package/dist/server/node_modules/string-width/readme.md +66 -0
  208. package/dist/server/server.js +2 -2
  209. package/package.json +1 -1
  210. package/dist/client/assets/ai-providers-eSe6EudA.js +0 -1
  211. package/dist/client/assets/badge-CXl7STJk.js +0 -1
  212. package/dist/client/assets/connection-card-BvXL_NIo.js +0 -1
  213. package/dist/client/assets/index-C4Q3dCeS.js +0 -1
  214. package/dist/client/assets/index-D0Ti9-Ih.js +0 -547
  215. package/dist/client/assets/registry-DtqCQOIM.js +0 -2
  216. package/dist/client/assets/store-registry-D4mMbvuq.js +0 -2
  217. package/dist/client/assets/useInfiniteQuery-6G1Nxi-e.js +0 -1
  218. package/dist/client/assets/useSuspenseInfiniteQuery-Da9T4bxn.js +0 -1
  219. package/dist/client/assets/workflow-detail-DH5Ldknq.js +0 -1
  220. package/dist/server/node_modules/ansi-regex/index.d.ts +0 -33
  221. package/dist/server/node_modules/ansi-regex/index.js +0 -14
  222. package/dist/server/node_modules/ansi-regex/readme.md +0 -66
  223. package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  224. package/dist/server/node_modules/emoji-regex/README.md +0 -107
  225. package/dist/server/node_modules/emoji-regex/index.d.ts +0 -3
  226. package/dist/server/node_modules/emoji-regex/index.js +0 -4
  227. package/dist/server/node_modules/emoji-regex/index.mjs +0 -4
  228. package/dist/server/node_modules/emoji-regex/package.json +0 -45
  229. package/dist/server/node_modules/ink/build/ansi-tokenizer.d.ts +0 -38
  230. package/dist/server/node_modules/ink/build/ansi-tokenizer.js +0 -316
  231. package/dist/server/node_modules/ink/build/ansi-tokenizer.js.map +0 -1
  232. package/dist/server/node_modules/ink/build/apply-styles.js +0 -175
  233. package/dist/server/node_modules/ink/build/build-layout.js +0 -77
  234. package/dist/server/node_modules/ink/build/calculate-wrapped-text.js +0 -53
  235. package/dist/server/node_modules/ink/build/colorize.d.ts +0 -3
  236. package/dist/server/node_modules/ink/build/colorize.js +0 -48
  237. package/dist/server/node_modules/ink/build/colorize.js.map +0 -1
  238. package/dist/server/node_modules/ink/build/components/AccessibilityContext.d.ts +0 -3
  239. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js +0 -5
  240. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js.map +0 -1
  241. package/dist/server/node_modules/ink/build/components/App.d.ts +0 -18
  242. package/dist/server/node_modules/ink/build/components/App.js +0 -351
  243. package/dist/server/node_modules/ink/build/components/App.js.map +0 -1
  244. package/dist/server/node_modules/ink/build/components/AppContext.d.ts +0 -15
  245. package/dist/server/node_modules/ink/build/components/AppContext.js +0 -11
  246. package/dist/server/node_modules/ink/build/components/AppContext.js.map +0 -1
  247. package/dist/server/node_modules/ink/build/components/BackgroundContext.d.ts +0 -4
  248. package/dist/server/node_modules/ink/build/components/BackgroundContext.js +0 -3
  249. package/dist/server/node_modules/ink/build/components/BackgroundContext.js.map +0 -1
  250. package/dist/server/node_modules/ink/build/components/Box.d.ts +0 -117
  251. package/dist/server/node_modules/ink/build/components/Box.js +0 -34
  252. package/dist/server/node_modules/ink/build/components/Box.js.map +0 -1
  253. package/dist/server/node_modules/ink/build/components/Color.js +0 -62
  254. package/dist/server/node_modules/ink/build/components/Cursor.d.ts +0 -83
  255. package/dist/server/node_modules/ink/build/components/Cursor.js +0 -53
  256. package/dist/server/node_modules/ink/build/components/Cursor.js.map +0 -1
  257. package/dist/server/node_modules/ink/build/components/CursorContext.d.ts +0 -11
  258. package/dist/server/node_modules/ink/build/components/CursorContext.js +0 -8
  259. package/dist/server/node_modules/ink/build/components/CursorContext.js.map +0 -1
  260. package/dist/server/node_modules/ink/build/components/ErrorBoundary.d.ts +0 -18
  261. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js +0 -23
  262. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js.map +0 -1
  263. package/dist/server/node_modules/ink/build/components/ErrorOverview.d.ts +0 -6
  264. package/dist/server/node_modules/ink/build/components/ErrorOverview.js +0 -84
  265. package/dist/server/node_modules/ink/build/components/ErrorOverview.js.map +0 -1
  266. package/dist/server/node_modules/ink/build/components/FocusContext.d.ts +0 -16
  267. package/dist/server/node_modules/ink/build/components/FocusContext.js +0 -17
  268. package/dist/server/node_modules/ink/build/components/FocusContext.js.map +0 -1
  269. package/dist/server/node_modules/ink/build/components/Newline.d.ts +0 -13
  270. package/dist/server/node_modules/ink/build/components/Newline.js +0 -8
  271. package/dist/server/node_modules/ink/build/components/Newline.js.map +0 -1
  272. package/dist/server/node_modules/ink/build/components/Spacer.d.ts +0 -7
  273. package/dist/server/node_modules/ink/build/components/Spacer.js +0 -11
  274. package/dist/server/node_modules/ink/build/components/Spacer.js.map +0 -1
  275. package/dist/server/node_modules/ink/build/components/Static.d.ts +0 -24
  276. package/dist/server/node_modules/ink/build/components/Static.js +0 -28
  277. package/dist/server/node_modules/ink/build/components/Static.js.map +0 -1
  278. package/dist/server/node_modules/ink/build/components/StderrContext.d.ts +0 -15
  279. package/dist/server/node_modules/ink/build/components/StderrContext.js +0 -13
  280. package/dist/server/node_modules/ink/build/components/StderrContext.js.map +0 -1
  281. package/dist/server/node_modules/ink/build/components/StdinContext.d.ts +0 -22
  282. package/dist/server/node_modules/ink/build/components/StdinContext.js +0 -19
  283. package/dist/server/node_modules/ink/build/components/StdinContext.js.map +0 -1
  284. package/dist/server/node_modules/ink/build/components/StdoutContext.d.ts +0 -15
  285. package/dist/server/node_modules/ink/build/components/StdoutContext.js +0 -13
  286. package/dist/server/node_modules/ink/build/components/StdoutContext.js.map +0 -1
  287. package/dist/server/node_modules/ink/build/components/Text.d.ts +0 -55
  288. package/dist/server/node_modules/ink/build/components/Text.js +0 -50
  289. package/dist/server/node_modules/ink/build/components/Text.js.map +0 -1
  290. package/dist/server/node_modules/ink/build/components/Transform.d.ts +0 -16
  291. package/dist/server/node_modules/ink/build/components/Transform.js +0 -15
  292. package/dist/server/node_modules/ink/build/components/Transform.js.map +0 -1
  293. package/dist/server/node_modules/ink/build/cursor-helpers.d.ts +0 -38
  294. package/dist/server/node_modules/ink/build/cursor-helpers.js +0 -56
  295. package/dist/server/node_modules/ink/build/cursor-helpers.js.map +0 -1
  296. package/dist/server/node_modules/ink/build/devtools-window-polyfill.d.ts +0 -1
  297. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js +0 -65
  298. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js.map +0 -1
  299. package/dist/server/node_modules/ink/build/devtools.d.ts +0 -1
  300. package/dist/server/node_modules/ink/build/devtools.js +0 -11
  301. package/dist/server/node_modules/ink/build/devtools.js.map +0 -1
  302. package/dist/server/node_modules/ink/build/dom.d.ts +0 -56
  303. package/dist/server/node_modules/ink/build/dom.js +0 -124
  304. package/dist/server/node_modules/ink/build/dom.js.map +0 -1
  305. package/dist/server/node_modules/ink/build/experimental/apply-style.js +0 -140
  306. package/dist/server/node_modules/ink/build/experimental/dom.js +0 -123
  307. package/dist/server/node_modules/ink/build/experimental/output.js +0 -91
  308. package/dist/server/node_modules/ink/build/experimental/reconciler.js +0 -141
  309. package/dist/server/node_modules/ink/build/experimental/renderer.js +0 -81
  310. package/dist/server/node_modules/ink/build/get-max-width.d.ts +0 -3
  311. package/dist/server/node_modules/ink/build/get-max-width.js +0 -10
  312. package/dist/server/node_modules/ink/build/get-max-width.js.map +0 -1
  313. package/dist/server/node_modules/ink/build/hooks/use-app.d.ts +0 -5
  314. package/dist/server/node_modules/ink/build/hooks/use-app.js +0 -8
  315. package/dist/server/node_modules/ink/build/hooks/use-app.js.map +0 -1
  316. package/dist/server/node_modules/ink/build/hooks/use-cursor.d.ts +0 -12
  317. package/dist/server/node_modules/ink/build/hooks/use-cursor.js +0 -29
  318. package/dist/server/node_modules/ink/build/hooks/use-cursor.js.map +0 -1
  319. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.d.ts +0 -28
  320. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js +0 -17
  321. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js.map +0 -1
  322. package/dist/server/node_modules/ink/build/hooks/use-focus.d.ts +0 -29
  323. package/dist/server/node_modules/ink/build/hooks/use-focus.js +0 -42
  324. package/dist/server/node_modules/ink/build/hooks/use-focus.js.map +0 -1
  325. package/dist/server/node_modules/ink/build/hooks/use-input.d.ts +0 -131
  326. package/dist/server/node_modules/ink/build/hooks/use-input.js +0 -124
  327. package/dist/server/node_modules/ink/build/hooks/use-input.js.map +0 -1
  328. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +0 -5
  329. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +0 -11
  330. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +0 -1
  331. package/dist/server/node_modules/ink/build/hooks/use-stderr.d.ts +0 -5
  332. package/dist/server/node_modules/ink/build/hooks/use-stderr.js +0 -8
  333. package/dist/server/node_modules/ink/build/hooks/use-stderr.js.map +0 -1
  334. package/dist/server/node_modules/ink/build/hooks/use-stdin.d.ts +0 -5
  335. package/dist/server/node_modules/ink/build/hooks/use-stdin.js +0 -8
  336. package/dist/server/node_modules/ink/build/hooks/use-stdin.js.map +0 -1
  337. package/dist/server/node_modules/ink/build/hooks/use-stdout.d.ts +0 -5
  338. package/dist/server/node_modules/ink/build/hooks/use-stdout.js +0 -8
  339. package/dist/server/node_modules/ink/build/hooks/use-stdout.js.map +0 -1
  340. package/dist/server/node_modules/ink/build/hooks/useInput.js +0 -38
  341. package/dist/server/node_modules/ink/build/index.d.ts +0 -34
  342. package/dist/server/node_modules/ink/build/index.js +0 -20
  343. package/dist/server/node_modules/ink/build/index.js.map +0 -1
  344. package/dist/server/node_modules/ink/build/ink.d.ts +0 -90
  345. package/dist/server/node_modules/ink/build/ink.js +0 -637
  346. package/dist/server/node_modules/ink/build/ink.js.map +0 -1
  347. package/dist/server/node_modules/ink/build/input-parser.d.ts +0 -7
  348. package/dist/server/node_modules/ink/build/input-parser.js +0 -154
  349. package/dist/server/node_modules/ink/build/input-parser.js.map +0 -1
  350. package/dist/server/node_modules/ink/build/instance.js +0 -205
  351. package/dist/server/node_modules/ink/build/instances.d.ts +0 -3
  352. package/dist/server/node_modules/ink/build/instances.js +0 -8
  353. package/dist/server/node_modules/ink/build/instances.js.map +0 -1
  354. package/dist/server/node_modules/ink/build/kitty-keyboard.d.ts +0 -23
  355. package/dist/server/node_modules/ink/build/kitty-keyboard.js +0 -32
  356. package/dist/server/node_modules/ink/build/kitty-keyboard.js.map +0 -1
  357. package/dist/server/node_modules/ink/build/layout.d.ts +0 -7
  358. package/dist/server/node_modules/ink/build/layout.js +0 -33
  359. package/dist/server/node_modules/ink/build/layout.js.map +0 -1
  360. package/dist/server/node_modules/ink/build/log-update.d.ts +0 -19
  361. package/dist/server/node_modules/ink/build/log-update.js +0 -242
  362. package/dist/server/node_modules/ink/build/log-update.js.map +0 -1
  363. package/dist/server/node_modules/ink/build/measure-element.d.ts +0 -16
  364. package/dist/server/node_modules/ink/build/measure-element.js +0 -9
  365. package/dist/server/node_modules/ink/build/measure-element.js.map +0 -1
  366. package/dist/server/node_modules/ink/build/measure-text.d.ts +0 -6
  367. package/dist/server/node_modules/ink/build/measure-text.js +0 -21
  368. package/dist/server/node_modules/ink/build/measure-text.js.map +0 -1
  369. package/dist/server/node_modules/ink/build/options.d.ts +0 -52
  370. package/dist/server/node_modules/ink/build/options.js +0 -2
  371. package/dist/server/node_modules/ink/build/options.js.map +0 -1
  372. package/dist/server/node_modules/ink/build/output.d.ts +0 -35
  373. package/dist/server/node_modules/ink/build/output.js +0 -183
  374. package/dist/server/node_modules/ink/build/output.js.map +0 -1
  375. package/dist/server/node_modules/ink/build/parse-keypress.d.ts +0 -22
  376. package/dist/server/node_modules/ink/build/parse-keypress.js +0 -493
  377. package/dist/server/node_modules/ink/build/parse-keypress.js.map +0 -1
  378. package/dist/server/node_modules/ink/build/reconciler.d.ts +0 -4
  379. package/dist/server/node_modules/ink/build/reconciler.js +0 -274
  380. package/dist/server/node_modules/ink/build/reconciler.js.map +0 -1
  381. package/dist/server/node_modules/ink/build/render-background.d.ts +0 -4
  382. package/dist/server/node_modules/ink/build/render-background.js +0 -25
  383. package/dist/server/node_modules/ink/build/render-background.js.map +0 -1
  384. package/dist/server/node_modules/ink/build/render-border.d.ts +0 -4
  385. package/dist/server/node_modules/ink/build/render-border.js +0 -73
  386. package/dist/server/node_modules/ink/build/render-border.js.map +0 -1
  387. package/dist/server/node_modules/ink/build/render-node-to-output.d.ts +0 -14
  388. package/dist/server/node_modules/ink/build/render-node-to-output.js +0 -147
  389. package/dist/server/node_modules/ink/build/render-node-to-output.js.map +0 -1
  390. package/dist/server/node_modules/ink/build/render-to-string.d.ts +0 -38
  391. package/dist/server/node_modules/ink/build/render-to-string.js +0 -115
  392. package/dist/server/node_modules/ink/build/render-to-string.js.map +0 -1
  393. package/dist/server/node_modules/ink/build/render.d.ts +0 -121
  394. package/dist/server/node_modules/ink/build/render.js +0 -55
  395. package/dist/server/node_modules/ink/build/render.js.map +0 -1
  396. package/dist/server/node_modules/ink/build/renderer.d.ts +0 -8
  397. package/dist/server/node_modules/ink/build/renderer.js +0 -55
  398. package/dist/server/node_modules/ink/build/renderer.js.map +0 -1
  399. package/dist/server/node_modules/ink/build/sanitize-ansi.d.ts +0 -2
  400. package/dist/server/node_modules/ink/build/sanitize-ansi.js +0 -27
  401. package/dist/server/node_modules/ink/build/sanitize-ansi.js.map +0 -1
  402. package/dist/server/node_modules/ink/build/screen-reader-update.d.ts +0 -13
  403. package/dist/server/node_modules/ink/build/screen-reader-update.js +0 -38
  404. package/dist/server/node_modules/ink/build/screen-reader-update.js.map +0 -1
  405. package/dist/server/node_modules/ink/build/squash-text-nodes.d.ts +0 -3
  406. package/dist/server/node_modules/ink/build/squash-text-nodes.js +0 -36
  407. package/dist/server/node_modules/ink/build/squash-text-nodes.js.map +0 -1
  408. package/dist/server/node_modules/ink/build/styles.d.ts +0 -240
  409. package/dist/server/node_modules/ink/build/styles.js +0 -232
  410. package/dist/server/node_modules/ink/build/styles.js.map +0 -1
  411. package/dist/server/node_modules/ink/build/utils.d.ts +0 -2
  412. package/dist/server/node_modules/ink/build/utils.js +0 -4
  413. package/dist/server/node_modules/ink/build/utils.js.map +0 -1
  414. package/dist/server/node_modules/ink/build/wrap-text.d.ts +0 -3
  415. package/dist/server/node_modules/ink/build/wrap-text.js +0 -31
  416. package/dist/server/node_modules/ink/build/wrap-text.js.map +0 -1
  417. package/dist/server/node_modules/ink/build/write-synchronized.d.ts +0 -4
  418. package/dist/server/node_modules/ink/build/write-synchronized.js +0 -7
  419. package/dist/server/node_modules/ink/build/write-synchronized.js.map +0 -1
  420. package/dist/server/node_modules/ink/package.json +0 -201
  421. package/dist/server/node_modules/ink/readme.md +0 -2636
  422. /package/dist/server/node_modules/{ansi-regex → ansi-styles}/license +0 -0
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "get-east-asian-width",
3
+ "version": "1.5.0",
4
+ "description": "Determine the East Asian Width of a Unicode character",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/get-east-asian-width",
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 && tsc index.d.ts",
24
+ "build": "node scripts/build.js",
25
+ "prepublish": "npm run build"
26
+ },
27
+ "files": [
28
+ "index.js",
29
+ "index.d.ts",
30
+ "lookup.js",
31
+ "lookup-data.js",
32
+ "utilities.js"
33
+ ],
34
+ "keywords": [
35
+ "unicode",
36
+ "east-asian-width",
37
+ "eastasianwidth",
38
+ "character",
39
+ "string",
40
+ "width",
41
+ "text",
42
+ "layout",
43
+ "alignment",
44
+ "fullwidth",
45
+ "halfwidth",
46
+ "ambiguous",
47
+ "narrow",
48
+ "wide",
49
+ "neutral",
50
+ "typography",
51
+ "japanese",
52
+ "chinese",
53
+ "korean",
54
+ "codepoint",
55
+ "text-processing",
56
+ "i18n",
57
+ "l10n"
58
+ ],
59
+ "devDependencies": {
60
+ "ava": "^5.3.1",
61
+ "outdent": "^0.8.0",
62
+ "simplify-ranges": "^0.1.0",
63
+ "typescript": "^5.2.2",
64
+ "xo": "^0.56.0"
65
+ },
66
+ "xo": {
67
+ "ignores": [
68
+ "lookup-data.js"
69
+ ]
70
+ }
71
+ }
@@ -0,0 +1,65 @@
1
+ # get-east-asian-width
2
+
3
+ > Determine the [East Asian Width](https://unicode.org/reports/tr11/) of a Unicode character
4
+
5
+ > East Asian Width categorizes Unicode characters based on their occupied space in East Asian typography, which helps in text layout and alignment, particularly in languages like Japanese, Chinese, and Korean.
6
+
7
+ Unlike other similar packages, this package uses the latest Unicode data (which changes each year).
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ npm install get-east-asian-width
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ import {eastAsianWidth, eastAsianWidthType} from 'get-east-asian-width';
19
+
20
+ const codePoint = '字'.codePointAt(0);
21
+
22
+ console.log(eastAsianWidth(codePoint));
23
+ //=> 2
24
+
25
+ console.log(eastAsianWidthType(codePoint));
26
+ //=> 'wide'
27
+ ```
28
+
29
+ ## `eastAsianWidth(codePoint: number, options?: object): 1 | 2`
30
+
31
+ Returns the width as a number for the given code point.
32
+
33
+ ### options
34
+
35
+ Type: `object`
36
+
37
+ #### ambiguousAsWide
38
+
39
+ Type: `boolean`\
40
+ Default: `false`
41
+
42
+ Whether to treat an `'ambiguous'` character as wide.
43
+
44
+ ```js
45
+ import {eastAsianWidth} from 'get-east-asian-width';
46
+
47
+ const codePoint = '⛣'.codePointAt(0);
48
+
49
+ console.log(eastAsianWidth(codePoint));
50
+ //=> 1
51
+
52
+ console.log(eastAsianWidth(codePoint, {ambiguousAsWide: true}));
53
+ //=> 2
54
+ ```
55
+
56
+ > 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.**
57
+ > - http://www.unicode.org/reports/tr11/
58
+
59
+ ## `eastAsianWidthType(codePoint: number): 'fullwidth' | 'halfwidth' | 'wide' | 'narrow' | 'neutral' | 'ambiguous'`
60
+
61
+ Returns the type of “East Asian Width” for the given code point.
62
+
63
+ ## Related
64
+
65
+ - [string-width](https://github.com/sindresorhus/string-width) - Get the visual width of a string
@@ -0,0 +1,24 @@
1
+ /**
2
+ Binary search on a sorted flat array of [start, end] pairs.
3
+
4
+ @param {number[]} ranges - Flat array of inclusive [start, end] range pairs, e.g. [0, 5, 10, 20].
5
+ @param {number} codePoint - The value to search for.
6
+ @returns {boolean} Whether the value falls within any of the ranges.
7
+ */
8
+ export const isInRange = (ranges, codePoint) => {
9
+ let low = 0;
10
+ let high = Math.floor(ranges.length / 2) - 1;
11
+ while (low <= high) {
12
+ const mid = Math.floor((low + high) / 2);
13
+ const i = mid * 2;
14
+ if (codePoint < ranges[i]) {
15
+ high = mid - 1;
16
+ } else if (codePoint > ranges[i + 1]) {
17
+ low = mid + 1;
18
+ } else {
19
+ return true;
20
+ }
21
+ }
22
+
23
+ return false;
24
+ };
@@ -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.
@@ -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.