decocms 2.285.1 → 2.286.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/dist/client/assets/{AlertCircle-Ljx3VIeb.js → AlertCircle-Bgzr6uRA.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-B8YVT66M.js → ArrowNarrowLeft-ByrdB8Dd.js} +1 -1
  3. package/dist/client/assets/{CheckCircle-BFRWTTWo.js → CheckCircle-88bls7UK.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-BqFspEzt.js → ChevronDown-Jd-cYHC-.js} +1 -1
  5. package/dist/client/assets/{ChevronRight-DCsBjQ-n.js → ChevronRight-71i8ke8L.js} +1 -1
  6. package/dist/client/assets/{ChevronUp-D7S3j_fa.js → ChevronUp-D_szSdLd.js} +1 -1
  7. package/dist/client/assets/{Container-SHbLkl7K.js → Container-DWaKXfYv.js} +1 -1
  8. package/dist/client/assets/DotsVertical-CjXyjLNU.js +1 -0
  9. package/dist/client/assets/{LinkExternal01-XmkIm96u.js → LinkExternal01-DB08YntP.js} +1 -1
  10. package/dist/client/assets/{Lock01-CXrm99F-.js → Lock01-dBhVogWg.js} +1 -1
  11. package/dist/client/assets/{Palette-B46VjX8F.js → Palette-DuWQiO51.js} +1 -1
  12. package/dist/client/assets/{Play-9pX5w5-3.js → Play-D7pqvkYq.js} +1 -1
  13. package/dist/client/assets/{Plus-Bmk1thjl.js → Plus-BzxOIhxj.js} +1 -1
  14. package/dist/client/assets/RefreshCcw01-BxULs6ec.js +1 -0
  15. package/dist/client/assets/SearchMd-D6tCV38D.js +1 -0
  16. package/dist/client/assets/{Settings02-C88OtRRq.js → Settings02-MyfUtBA4.js} +1 -1
  17. package/dist/client/assets/Shield01-CMw4M4Ml.js +1 -0
  18. package/dist/client/assets/{Star01-fuGmPeeu.js → Star01-DZHrISf9.js} +1 -1
  19. package/dist/client/assets/{Sun-ndN_CHuQ.js → Sun-C8X8gjZW.js} +1 -1
  20. package/dist/client/assets/{Tool01-DBxgF1Y_.js → Tool01-BscqkhhO.js} +1 -1
  21. package/dist/client/assets/{Trash01-BHBjIGXE.js → Trash01-DZpzvWVW.js} +1 -1
  22. package/dist/client/assets/{User01-DCiwOMBU.js → User01-VHn0SqBP.js} +1 -1
  23. package/dist/client/assets/{Users03-Bgfd1KM0.js → Users03-DwNyb_q2.js} +1 -1
  24. package/dist/client/assets/{X-BWV-b86T.js → X-BuUY-erD.js} +1 -1
  25. package/dist/client/assets/XCircle-BFZeumzD.js +1 -0
  26. package/dist/client/assets/XClose-ANREDbeo.js +1 -0
  27. package/dist/client/assets/{Zap-K9sQXDlC.js → Zap-BxJkZzJb.js} +1 -1
  28. package/dist/client/assets/{ZapSquare-CTcr_tRy.js → ZapSquare-Bz3HDhTc.js} +1 -1
  29. package/dist/client/assets/{accordion-COmeMo5z.js → accordion-DK_chPAh.js} +1 -1
  30. package/dist/client/assets/agent-icon-DKQKq---.js +1 -0
  31. package/dist/client/assets/agents-list-DBdCJGrz.js +1 -0
  32. package/dist/client/assets/ai-providers-BhNFwI7O.js +1 -0
  33. package/dist/client/assets/{alert-dialog-DaP8t8su.js → alert-dialog-CtGXaT-Y.js} +2 -2
  34. package/dist/client/assets/{auth-catchall-CerK6T4u.js → auth-catchall-B4ADnlpm.js} +1 -1
  35. package/dist/client/assets/automation-list-row-B_yW9vLo.js +1 -0
  36. package/dist/client/assets/automations-B3iEjSty.js +1 -0
  37. package/dist/client/assets/{avatar-gTIcZioB.js → avatar-DcLXZkYK.js} +1 -1
  38. package/dist/client/assets/{badge-DsWPcX1V.js → badge-BJBM0LXp.js} +1 -1
  39. package/dist/client/assets/brand-context-BahSISOs.js +1 -0
  40. package/dist/client/assets/{card-CPVRwbgl.js → card-DqrPrhd5.js} +1 -1
  41. package/dist/client/assets/{chat-context-CZAEwDWp.js → chat-context-DfEaB6Uj.js} +1 -1
  42. package/dist/client/assets/{checkbox-CPqdqI54.js → checkbox-Dplb_VaM.js} +1 -1
  43. package/dist/client/assets/collection-detail-KgUZfuij.js +1 -0
  44. package/dist/client/assets/collection-display-button-DecHBxzk.js +1 -0
  45. package/dist/client/assets/{collection-search-DgokupF2.js → collection-search-B_zW9IS4.js} +1 -1
  46. package/dist/client/assets/{collection-search-lfil19IA.js → collection-search-DF-hPm66.js} +1 -1
  47. package/dist/client/assets/collection-table-wrapper-DG-B8ykv.js +1 -0
  48. package/dist/client/assets/{collection-tabs-BRY4wHvH.js → collection-tabs-tHg8euhu.js} +1 -1
  49. package/dist/client/assets/{collections-lJhN2k9k.js → collections-KKlyNHih.js} +1 -1
  50. package/dist/client/assets/command-Cpu7RbMv.js +1 -0
  51. package/dist/client/assets/{connection-card-BrctpSfE.js → connection-card-CD0fnfut.js} +1 -1
  52. package/dist/client/assets/connection-detail-CFY9ol5g.js +1 -0
  53. package/dist/client/assets/{connection-form-helpers-C1FnnBdL.js → connection-form-helpers-DVewXDLo.js} +1 -1
  54. package/dist/client/assets/connections-B-Liq5Ll.js +1 -0
  55. package/dist/client/assets/{constants-D_Nupw5-.js → constants-D7DNenhk.js} +1 -1
  56. package/dist/client/assets/{constants-D8VkIs2c.js → constants-aD7HJ6sY.js} +1 -1
  57. package/dist/client/assets/{dialog-BOagZAx2.js → dialog-nGTWjCEa.js} +1 -1
  58. package/dist/client/assets/{drawer-BRUzFEdi.js → drawer-DyPUsgdj.js} +1 -1
  59. package/dist/client/assets/dropdown-menu-Cc_jn9Z7.js +1 -0
  60. package/dist/client/assets/{dynamic-plugin-layout-ltkevohS.js → dynamic-plugin-layout-Bun8S8Gm.js} +1 -1
  61. package/dist/client/assets/{empty-state-DCK4Z2GX.js → empty-state-CqQa90x5.js} +1 -1
  62. package/dist/client/assets/{empty-state-BokLRSGE.js → empty-state-DgThOXBB.js} +1 -1
  63. package/dist/client/assets/{extract-connection-data-V-eInhlP.js → extract-connection-data-Bx0uarS8.js} +1 -1
  64. package/dist/client/assets/{features-DIBFVG_b.js → features-ekquKatz.js} +1 -1
  65. package/dist/client/assets/{form-DHQjt1Tk.js → form-DB-TdsHz.js} +1 -1
  66. package/dist/client/assets/general-BrK_oI6y.js +1 -0
  67. package/dist/client/assets/{github-repo-picker-CIYxcUMn.js → github-repo-picker-CwCtQ7G3.js} +2 -2
  68. package/dist/client/assets/{index-DbNFtLRR.js → index-Amg25tew.js} +3 -3
  69. package/dist/client/assets/index-BCwsJqWc.css +1 -0
  70. package/dist/client/assets/{index-DvxSs9Po.js → index-BZopUfMN.js} +1 -1
  71. package/dist/client/assets/{index-gfedyrlZ.js → index-BfYZ2YG_.js} +16 -16
  72. package/dist/client/assets/{index-uSGXbgq4.js → index-CT9V-xpg.js} +1 -1
  73. package/dist/client/assets/{index-sYNl3b-7.js → index-CwstDhH7.js} +1 -1
  74. package/dist/client/assets/{index-CNolBSVE.js → index-DhJrYN5i.js} +22 -22
  75. package/dist/client/assets/{index-DWOvEgKr.js → index-DtMbbDUN.js} +1 -1
  76. package/dist/client/assets/{index-BWvVdWtP.js → index-DtdOoKdU.js} +1 -1
  77. package/dist/client/assets/{index-PT6VRyBL.js → index-DvgxnJsz.js} +1 -1
  78. package/dist/client/assets/{index-Di0ylaLI.js → index-pD6VF9-w.js} +3 -3
  79. package/dist/client/assets/{infiniteQueryObserver-B8q-YDXm.js → infiniteQueryObserver-B_9sKQsI.js} +1 -1
  80. package/dist/client/assets/{input-B8j75XZ_.js → input-COFLoOjb.js} +1 -1
  81. package/dist/client/assets/{integration-icon-De50Mm7k.js → integration-icon-DKrcAAs9.js} +1 -1
  82. package/dist/client/assets/{label-KH35YAYU.js → label-BZVcstmy.js} +1 -1
  83. package/dist/client/assets/{layout-E2py7rYQ.js → layout-Dp5y9gtR.js} +1 -1
  84. package/dist/client/assets/{login-agOBj-o2.js → login-ComGApTe.js} +1 -1
  85. package/dist/client/assets/members-CHnKVrrd.js +3 -0
  86. package/dist/client/assets/{monaco-editor-CzAT2DWn.js → monaco-editor-EL8K9shU.js} +1 -1
  87. package/dist/client/assets/{monitoring-stats-row-k0blCMgl.js → monitoring-stats-row-D9crys0K.js} +1 -1
  88. package/dist/client/assets/{oauth-callback-ViEW-3g2.js → oauth-callback-B0mEhNIK.js} +1 -1
  89. package/dist/client/assets/{oauth-callback-ai-provider-cSZy9hW7.js → oauth-callback-ai-provider-Dj0EctfO.js} +1 -1
  90. package/dist/client/assets/{onboarding-CquRdW5q.js → onboarding-czNV0UuI.js} +1 -1
  91. package/dist/client/assets/{org-layout-DY9vqUg9.js → org-layout-CGtnLM_Q.js} +1 -1
  92. package/dist/client/assets/{org-plugin-layout-HyePbhDN.js → org-plugin-layout-Ba2ZEzcE.js} +1 -1
  93. package/dist/client/assets/{plugin-empty-state-tSKwN8yW.js → plugin-empty-state-fmAUJ6xt.js} +1 -1
  94. package/dist/client/assets/{plugin-header-CgMEgROC.js → plugin-header-3c9kItnR.js} +1 -1
  95. package/dist/client/assets/{plugin-layout-B0f9qTk_.js → plugin-layout-CUFHRJeM.js} +1 -1
  96. package/dist/client/assets/{popover-BK6PL-XB.js → popover-Bo1-wNsY.js} +1 -1
  97. package/dist/client/assets/{profile-C_xBhvj7.js → profile-C4ZfFzUo.js} +1 -1
  98. package/dist/client/assets/project-app-view-DbITEuQv.js +1 -0
  99. package/dist/client/assets/registry-CrUw5Sj_.js +2 -0
  100. package/dist/client/assets/{registry-layout-7nSgT8Ua.js → registry-layout-q6bMBk9s.js} +3 -3
  101. package/dist/client/assets/{required-auth-layout-D-NWWr5P.js → required-auth-layout-CP-yDaO3.js} +1 -1
  102. package/dist/client/assets/{reset-password-C7m0cAdE.js → reset-password-CpFcPkI4.js} +1 -1
  103. package/dist/client/assets/roles-CSJcHSQ8.js +1 -0
  104. package/dist/client/assets/{scroll-area-Da2hNrch.js → scroll-area-CXUp8wR9.js} +1 -1
  105. package/dist/client/assets/{search-input-BZmdDW7A.js → search-input-ClG6niuo.js} +1 -1
  106. package/dist/client/assets/{select-JPYD20it.js → select-Cn3ZnqjJ.js} +1 -1
  107. package/dist/client/assets/{select-model-DMVU-2Gx.js → select-model-BwE-9vfJ.js} +2 -2
  108. package/dist/client/assets/settings-layout-dHGH4vpw.js +1 -0
  109. package/dist/client/assets/{shell-layout-DkN8Q_tp.js → shell-layout-BsqL_vND.js} +1 -1
  110. package/dist/client/assets/{skeleton-DPqifXUx.js → skeleton-DOcx8lZU.js} +1 -1
  111. package/dist/client/assets/{sso-BdiVJFM8.js → sso-37Vu3qt9.js} +1 -1
  112. package/dist/client/assets/{store-D9lb1Gph.js → store-D1kidhJ8.js} +1 -1
  113. package/dist/client/assets/store-registry-qx_8ffch.js +2 -0
  114. package/dist/client/assets/{switch-CVtXvreH.js → switch-ihM2hYRH.js} +1 -1
  115. package/dist/client/assets/{table-C-JSrHQJ.js → table-CAUXYO7-.js} +1 -1
  116. package/dist/client/assets/{tabs-DtgWLQ6i.js → tabs-DcOxSeRf.js} +1 -1
  117. package/dist/client/assets/{task-status-DTuLfGhm.js → task-status-CHfFeACA.js} +7 -7
  118. package/dist/client/assets/{textarea-p_oNKH-r.js → textarea-CsnX9Ktr.js} +1 -1
  119. package/dist/client/assets/{toggle-group-B6-etMEh.js → toggle-group-_HWF3GFc.js} +1 -1
  120. package/dist/client/assets/tools-list-A0gJUqTb.js +1 -0
  121. package/dist/client/assets/{types-BP7V6N8z.js → types-BGXCye_w.js} +1 -1
  122. package/dist/client/assets/{use-ai-providers-oN1cKhaJ.js → use-ai-providers-DSLKay0D.js} +1 -1
  123. package/dist/client/assets/{use-collections-BTXUmiDi.js → use-collections-DvPoAlor.js} +1 -1
  124. package/dist/client/assets/{use-connection-DIvNoxL5.js → use-connection-MU3rXx28.js} +1 -1
  125. package/dist/client/assets/{use-copy-D8L6lrfC.js → use-copy-tC0v6ypy.js} +1 -1
  126. package/dist/client/assets/{use-create-virtual-mcp-DUKkySGS.js → use-create-virtual-mcp-C-LLRhrB.js} +1 -1
  127. package/dist/client/assets/{use-decopilot-events-BRc3SX00.js → use-decopilot-events-fHBaJaln.js} +1 -1
  128. package/dist/client/assets/{use-delete-connection-IDpzSpRp.js → use-delete-connection-CowwQ4CA.js} +1 -1
  129. package/dist/client/assets/{use-infinite-scroll-WKRKMI2J.js → use-infinite-scroll-BUM8dH47.js} +1 -1
  130. package/dist/client/assets/{use-list-state-Dyh2zhb9.js → use-list-state-Ba4O0IuX.js} +1 -1
  131. package/dist/client/assets/{use-mcp-tools-tZ37UBLL.js → use-mcp-tools-B5zpuics.js} +1 -1
  132. package/dist/client/assets/{use-members-AvAHjkiq.js → use-members-Bhu2ZnQb.js} +1 -1
  133. package/dist/client/assets/{use-mobile-Ctb5URy7.js → use-mobile-C4Yo3nsX.js} +1 -1
  134. package/dist/client/assets/{use-navigate-to-agent-CLfSU3ru.js → use-navigate-to-agent-Bx0DB5DW.js} +1 -1
  135. package/dist/client/assets/{use-org-sso-CmuM4ieo.js → use-org-sso-BK-ft_ER.js} +1 -1
  136. package/dist/client/assets/use-organization-roles-uEcrMWhG.js +1 -0
  137. package/dist/client/assets/{use-organization-settings-dQpmtQzl.js → use-organization-settings-CMC2yyUM.js} +1 -1
  138. package/dist/client/assets/{use-registry-connections-CP0QI7iA.js → use-registry-connections-Biq_9qgb.js} +1 -1
  139. package/dist/client/assets/{use-status-sounds-CObwI0DY.js → use-status-sounds-DfhTS64d.js} +1 -1
  140. package/dist/client/assets/{use-tasks-7rX1bsHL.js → use-tasks-DofxyZR4.js} +1 -1
  141. package/dist/client/assets/{use-view-mode-BkbloGkm.js → use-view-mode-DSeYcON6.js} +1 -1
  142. package/dist/client/assets/{use-virtual-mcp-CDOk_IIy.js → use-virtual-mcp-WT1ZdgMM.js} +1 -1
  143. package/dist/client/assets/useInfiniteQuery-Gkc0b2zi.js +1 -0
  144. package/dist/client/assets/useSuspenseInfiniteQuery-YePUpUV3.js +1 -0
  145. package/dist/client/assets/{user-lj8QRtGG.js → user-5oBDTi_W.js} +1 -1
  146. package/dist/client/assets/{view-mode-toggle-BiPtlB_S.js → view-mode-toggle-BvyYLass.js} +1 -1
  147. package/dist/client/assets/workflow-DoVF6xyx.js +1 -0
  148. package/dist/client/assets/workflow-detail-XUi-wHY3.js +1 -0
  149. package/dist/client/index.html +2 -2
  150. package/dist/server/cli.js +2 -2
  151. package/dist/server/node_modules/figures/index.d.ts +279 -0
  152. package/dist/server/node_modules/figures/index.js +292 -0
  153. package/dist/server/node_modules/{is-fullwidth-code-point → figures}/package.json +16 -20
  154. package/dist/server/node_modules/figures/readme.md +337 -0
  155. package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
  156. package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
  157. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
  158. package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
  159. package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
  160. package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
  161. package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
  162. package/dist/server/node_modules/ink/build/ansi-tokenizer.d.ts +38 -0
  163. package/dist/server/node_modules/ink/build/ansi-tokenizer.js +316 -0
  164. package/dist/server/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
  165. package/dist/server/node_modules/ink/build/apply-styles.js +175 -0
  166. package/dist/server/node_modules/ink/build/build-layout.js +77 -0
  167. package/dist/server/node_modules/ink/build/calculate-wrapped-text.js +53 -0
  168. package/dist/server/node_modules/ink/build/colorize.d.ts +3 -0
  169. package/dist/server/node_modules/ink/build/colorize.js +48 -0
  170. package/dist/server/node_modules/ink/build/colorize.js.map +1 -0
  171. package/dist/server/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
  172. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js +5 -0
  173. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
  174. package/dist/server/node_modules/ink/build/components/App.d.ts +18 -0
  175. package/dist/server/node_modules/ink/build/components/App.js +351 -0
  176. package/dist/server/node_modules/ink/build/components/App.js.map +1 -0
  177. package/dist/server/node_modules/ink/build/components/AppContext.d.ts +15 -0
  178. package/dist/server/node_modules/ink/build/components/AppContext.js +11 -0
  179. package/dist/server/node_modules/ink/build/components/AppContext.js.map +1 -0
  180. package/dist/server/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
  181. package/dist/server/node_modules/ink/build/components/BackgroundContext.js +3 -0
  182. package/dist/server/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
  183. package/dist/server/node_modules/ink/build/components/Box.d.ts +117 -0
  184. package/dist/server/node_modules/ink/build/components/Box.js +34 -0
  185. package/dist/server/node_modules/ink/build/components/Box.js.map +1 -0
  186. package/dist/server/node_modules/ink/build/components/Color.js +62 -0
  187. package/dist/server/node_modules/ink/build/components/Cursor.d.ts +83 -0
  188. package/dist/server/node_modules/ink/build/components/Cursor.js +53 -0
  189. package/dist/server/node_modules/ink/build/components/Cursor.js.map +1 -0
  190. package/dist/server/node_modules/ink/build/components/CursorContext.d.ts +11 -0
  191. package/dist/server/node_modules/ink/build/components/CursorContext.js +8 -0
  192. package/dist/server/node_modules/ink/build/components/CursorContext.js.map +1 -0
  193. package/dist/server/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
  194. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js +23 -0
  195. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
  196. package/dist/server/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
  197. package/dist/server/node_modules/ink/build/components/ErrorOverview.js +84 -0
  198. package/dist/server/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
  199. package/dist/server/node_modules/ink/build/components/FocusContext.d.ts +16 -0
  200. package/dist/server/node_modules/ink/build/components/FocusContext.js +17 -0
  201. package/dist/server/node_modules/ink/build/components/FocusContext.js.map +1 -0
  202. package/dist/server/node_modules/ink/build/components/Newline.d.ts +13 -0
  203. package/dist/server/node_modules/ink/build/components/Newline.js +8 -0
  204. package/dist/server/node_modules/ink/build/components/Newline.js.map +1 -0
  205. package/dist/server/node_modules/ink/build/components/Spacer.d.ts +7 -0
  206. package/dist/server/node_modules/ink/build/components/Spacer.js +11 -0
  207. package/dist/server/node_modules/ink/build/components/Spacer.js.map +1 -0
  208. package/dist/server/node_modules/ink/build/components/Static.d.ts +24 -0
  209. package/dist/server/node_modules/ink/build/components/Static.js +28 -0
  210. package/dist/server/node_modules/ink/build/components/Static.js.map +1 -0
  211. package/dist/server/node_modules/ink/build/components/StderrContext.d.ts +15 -0
  212. package/dist/server/node_modules/ink/build/components/StderrContext.js +13 -0
  213. package/dist/server/node_modules/ink/build/components/StderrContext.js.map +1 -0
  214. package/dist/server/node_modules/ink/build/components/StdinContext.d.ts +22 -0
  215. package/dist/server/node_modules/ink/build/components/StdinContext.js +19 -0
  216. package/dist/server/node_modules/ink/build/components/StdinContext.js.map +1 -0
  217. package/dist/server/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
  218. package/dist/server/node_modules/ink/build/components/StdoutContext.js +13 -0
  219. package/dist/server/node_modules/ink/build/components/StdoutContext.js.map +1 -0
  220. package/dist/server/node_modules/ink/build/components/Text.d.ts +55 -0
  221. package/dist/server/node_modules/ink/build/components/Text.js +50 -0
  222. package/dist/server/node_modules/ink/build/components/Text.js.map +1 -0
  223. package/dist/server/node_modules/ink/build/components/Transform.d.ts +16 -0
  224. package/dist/server/node_modules/ink/build/components/Transform.js +15 -0
  225. package/dist/server/node_modules/ink/build/components/Transform.js.map +1 -0
  226. package/dist/server/node_modules/ink/build/cursor-helpers.d.ts +38 -0
  227. package/dist/server/node_modules/ink/build/cursor-helpers.js +56 -0
  228. package/dist/server/node_modules/ink/build/cursor-helpers.js.map +1 -0
  229. package/dist/server/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
  230. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js +65 -0
  231. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
  232. package/dist/server/node_modules/ink/build/devtools.d.ts +1 -0
  233. package/dist/server/node_modules/ink/build/devtools.js +11 -0
  234. package/dist/server/node_modules/ink/build/devtools.js.map +1 -0
  235. package/dist/server/node_modules/ink/build/dom.d.ts +56 -0
  236. package/dist/server/node_modules/ink/build/dom.js +124 -0
  237. package/dist/server/node_modules/ink/build/dom.js.map +1 -0
  238. package/dist/server/node_modules/ink/build/experimental/apply-style.js +140 -0
  239. package/dist/server/node_modules/ink/build/experimental/dom.js +123 -0
  240. package/dist/server/node_modules/ink/build/experimental/output.js +91 -0
  241. package/dist/server/node_modules/ink/build/experimental/reconciler.js +141 -0
  242. package/dist/server/node_modules/ink/build/experimental/renderer.js +81 -0
  243. package/dist/server/node_modules/ink/build/get-max-width.d.ts +3 -0
  244. package/dist/server/node_modules/ink/build/get-max-width.js +10 -0
  245. package/dist/server/node_modules/ink/build/get-max-width.js.map +1 -0
  246. package/dist/server/node_modules/ink/build/hooks/use-app.d.ts +5 -0
  247. package/dist/server/node_modules/ink/build/hooks/use-app.js +8 -0
  248. package/dist/server/node_modules/ink/build/hooks/use-app.js.map +1 -0
  249. package/dist/server/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
  250. package/dist/server/node_modules/ink/build/hooks/use-cursor.js +29 -0
  251. package/dist/server/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
  252. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.d.ts +28 -0
  253. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js +17 -0
  254. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
  255. package/dist/server/node_modules/ink/build/hooks/use-focus.d.ts +29 -0
  256. package/dist/server/node_modules/ink/build/hooks/use-focus.js +42 -0
  257. package/dist/server/node_modules/ink/build/hooks/use-focus.js.map +1 -0
  258. package/dist/server/node_modules/ink/build/hooks/use-input.d.ts +131 -0
  259. package/dist/server/node_modules/ink/build/hooks/use-input.js +124 -0
  260. package/dist/server/node_modules/ink/build/hooks/use-input.js.map +1 -0
  261. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +5 -0
  262. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +11 -0
  263. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
  264. package/dist/server/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
  265. package/dist/server/node_modules/ink/build/hooks/use-stderr.js +8 -0
  266. package/dist/server/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
  267. package/dist/server/node_modules/ink/build/hooks/use-stdin.d.ts +5 -0
  268. package/dist/server/node_modules/ink/build/hooks/use-stdin.js +8 -0
  269. package/dist/server/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
  270. package/dist/server/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
  271. package/dist/server/node_modules/ink/build/hooks/use-stdout.js +8 -0
  272. package/dist/server/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
  273. package/dist/server/node_modules/ink/build/hooks/useInput.js +38 -0
  274. package/dist/server/node_modules/ink/build/index.d.ts +34 -0
  275. package/dist/server/node_modules/ink/build/index.js +20 -0
  276. package/dist/server/node_modules/ink/build/index.js.map +1 -0
  277. package/dist/server/node_modules/ink/build/ink.d.ts +90 -0
  278. package/dist/server/node_modules/ink/build/ink.js +637 -0
  279. package/dist/server/node_modules/ink/build/ink.js.map +1 -0
  280. package/dist/server/node_modules/ink/build/input-parser.d.ts +7 -0
  281. package/dist/server/node_modules/ink/build/input-parser.js +154 -0
  282. package/dist/server/node_modules/ink/build/input-parser.js.map +1 -0
  283. package/dist/server/node_modules/ink/build/instance.js +205 -0
  284. package/dist/server/node_modules/ink/build/instances.d.ts +3 -0
  285. package/dist/server/node_modules/ink/build/instances.js +8 -0
  286. package/dist/server/node_modules/ink/build/instances.js.map +1 -0
  287. package/dist/server/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
  288. package/dist/server/node_modules/ink/build/kitty-keyboard.js +32 -0
  289. package/dist/server/node_modules/ink/build/kitty-keyboard.js.map +1 -0
  290. package/dist/server/node_modules/ink/build/layout.d.ts +7 -0
  291. package/dist/server/node_modules/ink/build/layout.js +33 -0
  292. package/dist/server/node_modules/ink/build/layout.js.map +1 -0
  293. package/dist/server/node_modules/ink/build/log-update.d.ts +19 -0
  294. package/dist/server/node_modules/ink/build/log-update.js +242 -0
  295. package/dist/server/node_modules/ink/build/log-update.js.map +1 -0
  296. package/dist/server/node_modules/ink/build/measure-element.d.ts +16 -0
  297. package/dist/server/node_modules/ink/build/measure-element.js +9 -0
  298. package/dist/server/node_modules/ink/build/measure-element.js.map +1 -0
  299. package/dist/server/node_modules/ink/build/measure-text.d.ts +6 -0
  300. package/dist/server/node_modules/ink/build/measure-text.js +21 -0
  301. package/dist/server/node_modules/ink/build/measure-text.js.map +1 -0
  302. package/dist/server/node_modules/ink/build/options.d.ts +52 -0
  303. package/dist/server/node_modules/ink/build/options.js +2 -0
  304. package/dist/server/node_modules/ink/build/options.js.map +1 -0
  305. package/dist/server/node_modules/ink/build/output.d.ts +35 -0
  306. package/dist/server/node_modules/ink/build/output.js +183 -0
  307. package/dist/server/node_modules/ink/build/output.js.map +1 -0
  308. package/dist/server/node_modules/ink/build/parse-keypress.d.ts +22 -0
  309. package/dist/server/node_modules/ink/build/parse-keypress.js +493 -0
  310. package/dist/server/node_modules/ink/build/parse-keypress.js.map +1 -0
  311. package/dist/server/node_modules/ink/build/reconciler.d.ts +4 -0
  312. package/dist/server/node_modules/ink/build/reconciler.js +274 -0
  313. package/dist/server/node_modules/ink/build/reconciler.js.map +1 -0
  314. package/dist/server/node_modules/ink/build/render-background.d.ts +4 -0
  315. package/dist/server/node_modules/ink/build/render-background.js +25 -0
  316. package/dist/server/node_modules/ink/build/render-background.js.map +1 -0
  317. package/dist/server/node_modules/ink/build/render-border.d.ts +4 -0
  318. package/dist/server/node_modules/ink/build/render-border.js +73 -0
  319. package/dist/server/node_modules/ink/build/render-border.js.map +1 -0
  320. package/dist/server/node_modules/ink/build/render-node-to-output.d.ts +14 -0
  321. package/dist/server/node_modules/ink/build/render-node-to-output.js +147 -0
  322. package/dist/server/node_modules/ink/build/render-node-to-output.js.map +1 -0
  323. package/dist/server/node_modules/ink/build/render-to-string.d.ts +38 -0
  324. package/dist/server/node_modules/ink/build/render-to-string.js +115 -0
  325. package/dist/server/node_modules/ink/build/render-to-string.js.map +1 -0
  326. package/dist/server/node_modules/ink/build/render.d.ts +121 -0
  327. package/dist/server/node_modules/ink/build/render.js +55 -0
  328. package/dist/server/node_modules/ink/build/render.js.map +1 -0
  329. package/dist/server/node_modules/ink/build/renderer.d.ts +8 -0
  330. package/dist/server/node_modules/ink/build/renderer.js +55 -0
  331. package/dist/server/node_modules/ink/build/renderer.js.map +1 -0
  332. package/dist/server/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
  333. package/dist/server/node_modules/ink/build/sanitize-ansi.js +27 -0
  334. package/dist/server/node_modules/ink/build/sanitize-ansi.js.map +1 -0
  335. package/dist/server/node_modules/ink/build/screen-reader-update.d.ts +13 -0
  336. package/dist/server/node_modules/ink/build/screen-reader-update.js +38 -0
  337. package/dist/server/node_modules/ink/build/screen-reader-update.js.map +1 -0
  338. package/dist/server/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
  339. package/dist/server/node_modules/ink/build/squash-text-nodes.js +36 -0
  340. package/dist/server/node_modules/ink/build/squash-text-nodes.js.map +1 -0
  341. package/dist/server/node_modules/ink/build/styles.d.ts +240 -0
  342. package/dist/server/node_modules/ink/build/styles.js +232 -0
  343. package/dist/server/node_modules/ink/build/styles.js.map +1 -0
  344. package/dist/server/node_modules/ink/build/utils.d.ts +2 -0
  345. package/dist/server/node_modules/ink/build/utils.js +4 -0
  346. package/dist/server/node_modules/ink/build/utils.js.map +1 -0
  347. package/dist/server/node_modules/ink/build/wrap-text.d.ts +3 -0
  348. package/dist/server/node_modules/ink/build/wrap-text.js +31 -0
  349. package/dist/server/node_modules/ink/build/wrap-text.js.map +1 -0
  350. package/dist/server/node_modules/ink/build/write-synchronized.d.ts +4 -0
  351. package/dist/server/node_modules/ink/build/write-synchronized.js +7 -0
  352. package/dist/server/node_modules/ink/build/write-synchronized.js.map +1 -0
  353. package/dist/server/node_modules/{is-unicode-supported → ink}/license +1 -0
  354. package/dist/server/node_modules/ink/package.json +201 -0
  355. package/dist/server/node_modules/ink/readme.md +2636 -0
  356. package/dist/server/node_modules/slice-ansi/index.d.ts +19 -0
  357. package/dist/server/node_modules/slice-ansi/index.js +260 -0
  358. package/dist/server/node_modules/{is-fullwidth-code-point → slice-ansi}/license +1 -0
  359. package/dist/server/node_modules/slice-ansi/package.json +59 -0
  360. package/dist/server/node_modules/slice-ansi/readme.md +54 -0
  361. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +752 -0
  362. package/dist/server/server.js +1 -1
  363. package/package.json +1 -1
  364. package/dist/client/assets/SearchMd-VdXbz8fL.js +0 -1
  365. package/dist/client/assets/XCircle-BiHPX6_R.js +0 -1
  366. package/dist/client/assets/agent-icon-DCE-D-qC.js +0 -1
  367. package/dist/client/assets/agents-list-8_yOp3iD.js +0 -1
  368. package/dist/client/assets/ai-providers-DxQNSEJT.js +0 -1
  369. package/dist/client/assets/automation-list-row-BWjwKsQ5.js +0 -1
  370. package/dist/client/assets/automations-D6LOd0hH.js +0 -1
  371. package/dist/client/assets/brand-context-CnnwTWNT.js +0 -1
  372. package/dist/client/assets/collection-detail-BTibo6D3.js +0 -1
  373. package/dist/client/assets/collection-display-button-CfjJ9SIP.js +0 -1
  374. package/dist/client/assets/collection-table-wrapper-B4l_6tOy.js +0 -1
  375. package/dist/client/assets/command-BPSv-8-5.js +0 -1
  376. package/dist/client/assets/connection-detail-DgKIsKao.js +0 -1
  377. package/dist/client/assets/connections-rM_I7gvv.js +0 -1
  378. package/dist/client/assets/dropdown-menu-DO26Q0bD.js +0 -1
  379. package/dist/client/assets/general-VnUbEBHT.js +0 -1
  380. package/dist/client/assets/index-DeSgX7LP.css +0 -1
  381. package/dist/client/assets/members-6PieW-Nu.js +0 -3
  382. package/dist/client/assets/project-app-view-EMrqjiux.js +0 -1
  383. package/dist/client/assets/registry-CYL2cMC0.js +0 -2
  384. package/dist/client/assets/settings-layout-hwviWS6Q.js +0 -1
  385. package/dist/client/assets/store-registry-DAeO63_G.js +0 -2
  386. package/dist/client/assets/tools-list-C0RCBhOc.js +0 -1
  387. package/dist/client/assets/useInfiniteQuery-Ci00Hw-m.js +0 -1
  388. package/dist/client/assets/workflow-BrBlpNSn.js +0 -1
  389. package/dist/client/assets/workflow-detail-NqGVn5hy.js +0 -1
  390. package/dist/server/node_modules/ansi-regex/index.d.ts +0 -33
  391. package/dist/server/node_modules/ansi-regex/index.js +0 -14
  392. package/dist/server/node_modules/ansi-regex/package.json +0 -61
  393. package/dist/server/node_modules/ansi-regex/readme.md +0 -66
  394. package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  395. package/dist/server/node_modules/emoji-regex/README.md +0 -107
  396. package/dist/server/node_modules/emoji-regex/index.d.ts +0 -3
  397. package/dist/server/node_modules/emoji-regex/index.js +0 -4
  398. package/dist/server/node_modules/emoji-regex/index.mjs +0 -4
  399. package/dist/server/node_modules/emoji-regex/package.json +0 -45
  400. package/dist/server/node_modules/environment/index.d.ts +0 -74
  401. package/dist/server/node_modules/environment/index.js +0 -47
  402. package/dist/server/node_modules/environment/package.json +0 -74
  403. package/dist/server/node_modules/environment/readme.md +0 -94
  404. package/dist/server/node_modules/escape-string-regexp/index.d.ts +0 -18
  405. package/dist/server/node_modules/escape-string-regexp/index.js +0 -11
  406. package/dist/server/node_modules/escape-string-regexp/license +0 -9
  407. package/dist/server/node_modules/escape-string-regexp/package.json +0 -43
  408. package/dist/server/node_modules/escape-string-regexp/readme.md +0 -29
  409. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  410. package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
  411. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
  412. package/dist/server/node_modules/is-unicode-supported/index.d.ts +0 -12
  413. package/dist/server/node_modules/is-unicode-supported/index.js +0 -21
  414. package/dist/server/node_modules/is-unicode-supported/package.json +0 -47
  415. package/dist/server/node_modules/is-unicode-supported/readme.md +0 -35
  416. package/dist/server/node_modules/restore-cursor/index.d.ts +0 -11
  417. package/dist/server/node_modules/restore-cursor/index.js +0 -11
  418. package/dist/server/node_modules/restore-cursor/license +0 -9
  419. package/dist/server/node_modules/restore-cursor/package.json +0 -55
  420. package/dist/server/node_modules/restore-cursor/readme.md +0 -31
  421. package/dist/server/node_modules/string-width/index.d.ts +0 -39
  422. package/dist/server/node_modules/string-width/index.js +0 -82
  423. package/dist/server/node_modules/string-width/license +0 -9
  424. package/dist/server/node_modules/string-width/package.json +0 -64
  425. package/dist/server/node_modules/string-width/readme.md +0 -66
  426. /package/dist/server/node_modules/{ansi-regex → figures}/license +0 -0
  427. /package/dist/server/node_modules/{environment → get-east-asian-width}/license +0 -0
@@ -0,0 +1,337 @@
1
+ # figures
2
+
3
+ > Unicode symbols with fallbacks for older terminals
4
+
5
+ [![](screenshot.png)](index.js)
6
+
7
+ [*and more...*](index.js)
8
+
9
+ Terminals such as Windows Console Host (and CMD) only support a [limited character set](http://en.wikipedia.org/wiki/Code_page_437).
10
+
11
+ ## Install
12
+
13
+ ```sh
14
+ npm install figures
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```js
20
+ import figures, {mainSymbols, fallbackSymbols, replaceSymbols} from 'figures';
21
+
22
+ console.log(figures.tick);
23
+ // On terminals with Unicode symbols: ✔
24
+ // On other terminals: √
25
+
26
+ console.log(mainSymbols.tick);
27
+ // On all terminals: ✔
28
+
29
+ console.log(fallbackSymbols.tick);
30
+ // On all terminals: √
31
+
32
+ console.log(replaceSymbols('✔ check'));
33
+ // On terminals with Unicode symbols: ✔ check
34
+ // On other terminals: √ check
35
+ ```
36
+
37
+ ## API
38
+
39
+ ### figures (default export)
40
+
41
+ Type: `object`
42
+
43
+ Symbols to use on any terminal.
44
+
45
+ ### mainSymbols
46
+
47
+ Symbols to use when the terminal supports Unicode symbols.
48
+
49
+ ### fallbackSymbols
50
+
51
+ Symbols to use when the terminal does not support Unicode symbols.
52
+
53
+ ### replaceSymbols(string, options?)
54
+
55
+ Returns the input with replaced fallback symbols if the terminal has poor Unicode support.
56
+
57
+ All the below [figures](#figures) are attached to the default export as shown in the example above.
58
+
59
+ #### string
60
+
61
+ Type: `string`
62
+
63
+ String where the Unicode symbols will be replaced with fallback symbols depending on the terminal.
64
+
65
+ #### options
66
+
67
+ Type: `object`
68
+
69
+ ##### useFallback
70
+
71
+ Type: `boolean`\
72
+ Default: `true` if the terminal has poor Unicode support
73
+
74
+ Whether to replace symbols with fallbacks.
75
+
76
+ This can be set to `true` to always use fallback symbols, whether the terminal has poor Unicode support or not.
77
+
78
+ ```js
79
+ import {replaceSymbols} from 'figures';
80
+
81
+ console.log(replaceSymbols('✔ check', {useFallback: true}));
82
+ // On terminals with Unicode symbols: √ check
83
+ // On other terminals: √ check
84
+ ```
85
+
86
+ ## Figures
87
+
88
+ `Fallback` characters are only shown when they differ from the `Main` ones.
89
+
90
+ | Name | Main | Fallback |
91
+ | ------------------------------------------- | :--: | :------: |
92
+ | tick | `✔` | `√` |
93
+ | info | `ℹ` | `i` |
94
+ | warning | `⚠` | `‼` |
95
+ | cross | `✘` | `×` |
96
+ | square | `█` | |
97
+ | squareSmall | `◻` | `□` |
98
+ | squareSmallFilled | `◼` | `■` |
99
+ | squareDarkShade | `▓` | |
100
+ | squareMediumShade | `▒` | |
101
+ | squareLightShade | `░` | |
102
+ | squareTop | `▀` | |
103
+ | squareBottom | `▄` | |
104
+ | squareLeft | `▌` | |
105
+ | squareRight | `▐` | |
106
+ | squareCenter | `■` | |
107
+ | circle | `◯` | `( )` |
108
+ | circleFilled | `◉` | `(*)` |
109
+ | circleDotted | `◌` | `( )` |
110
+ | circleDouble | `◎` | `( )` |
111
+ | circleCircle | `ⓞ` | `(○)` |
112
+ | circleCross | `ⓧ` | `(×)` |
113
+ | circlePipe | `Ⓘ` | `(│)` |
114
+ | circleQuestionMark | `?⃝ ` | `(?)` |
115
+ | radioOn | `◉` | `(*)` |
116
+ | radioOff | `◯` | `( )` |
117
+ | checkboxOn | `☒` | `[×]` |
118
+ | checkboxOff | `☐` | `[ ]` |
119
+ | checkboxCircleOn | `ⓧ` | `(×)` |
120
+ | checkboxCircleOff | `Ⓘ` | `( )` |
121
+ | questionMarkPrefix | `?⃝ ` | `?` |
122
+ | bullet | `●` | |
123
+ | dot | `․` | |
124
+ | ellipsis | `…` | |
125
+ | pointer | `❯` | `>` |
126
+ | pointerSmall | `›` | `›` |
127
+ | triangleUp | `▲` | |
128
+ | triangleUpSmall | `▴` | |
129
+ | triangleUpOutline | `△` | `∆` |
130
+ | triangleDown | `▼` | |
131
+ | triangleDownSmall | `▾` | |
132
+ | triangleLeft | `◀` | `◄` |
133
+ | triangleLeftSmall | `◂` | |
134
+ | triangleRight | `▶` | `►` |
135
+ | triangleRightSmall | `▸` | |
136
+ | lozenge | `◆` | `♦` |
137
+ | lozengeOutline | `◇` | `◊` |
138
+ | home | `⌂` | |
139
+ | hamburger | `☰` | `≡` |
140
+ | smiley | `㋡` | `☺` |
141
+ | mustache | `෴` | `┌─┐` |
142
+ | heart | `♥` | |
143
+ | star | `★` | `✶` |
144
+ | play | `▶` | `►` |
145
+ | musicNote | `♪` | |
146
+ | musicNoteBeamed | `♫` | |
147
+ | nodejs | `⬢` | `♦` |
148
+ | arrowUp | `↑` | |
149
+ | arrowDown | `↓` | |
150
+ | arrowLeft | `←` | |
151
+ | arrowRight | `→` | |
152
+ | arrowLeftRight | `↔` | |
153
+ | arrowUpDown | `↕` | |
154
+ | almostEqual | `≈` | |
155
+ | notEqual | `≠` | |
156
+ | lessOrEqual | `≤` | |
157
+ | greaterOrEqual | `≥` | |
158
+ | identical | `≡` | |
159
+ | infinity | `∞` | |
160
+ | subscriptZero | `₀` | |
161
+ | subscriptOne | `₁` | |
162
+ | subscriptTwo | `₂` | |
163
+ | subscriptThree | `₃` | |
164
+ | subscriptFour | `₄` | |
165
+ | subscriptFive | `₅` | |
166
+ | subscriptSix | `₆` | |
167
+ | subscriptSeven | `₇` | |
168
+ | subscriptEight | `₈` | |
169
+ | subscriptNine | `₉` | |
170
+ | oneHalf | `½` | |
171
+ | oneThird | `⅓` | |
172
+ | oneQuarter | `¼` | |
173
+ | oneFifth | `⅕` | |
174
+ | oneSixth | `⅙` | |
175
+ | oneSeventh | `⅐` | `1/7` |
176
+ | oneEighth | `⅛` | |
177
+ | oneNinth | `⅑` | `1/9` |
178
+ | oneTenth | `⅒` | `1/10` |
179
+ | twoThirds | `⅔` | |
180
+ | twoFifths | `⅖` | |
181
+ | threeQuarters | `¾` | |
182
+ | threeFifths | `⅗` | |
183
+ | threeEighths | `⅜` | |
184
+ | fourFifths | `⅘` | |
185
+ | fiveSixths | `⅚` | |
186
+ | fiveEighths | `⅝` | |
187
+ | sevenEighths | `⅞` | |
188
+ | line | `─` | |
189
+ | lineBold | `━` | |
190
+ | lineDouble | `═` | |
191
+ | lineDashed0 | `┄` | |
192
+ | lineDashed1 | `┅` | |
193
+ | lineDashed2 | `┈` | |
194
+ | lineDashed3 | `┉` | |
195
+ | lineDashed4 | `╌` | |
196
+ | lineDashed5 | `╍` | |
197
+ | lineDashed6 | `╴` | |
198
+ | lineDashed7 | `╶` | |
199
+ | lineDashed8 | `╸` | |
200
+ | lineDashed9 | `╺` | |
201
+ | lineDashed10 | `╼` | |
202
+ | lineDashed11 | `╾` | |
203
+ | lineDashed12 | `−` | |
204
+ | lineDashed13 | `–` | |
205
+ | lineDashed14 | `‐` | |
206
+ | lineDashed15 | `⁃` | |
207
+ | lineVertical | `│` | |
208
+ | lineVerticalBold | `┃` | |
209
+ | lineVerticalDouble | `║` | |
210
+ | lineVerticalDashed0 | `┆` | |
211
+ | lineVerticalDashed1 | `┇` | |
212
+ | lineVerticalDashed2 | `┊` | |
213
+ | lineVerticalDashed3 | `┋` | |
214
+ | lineVerticalDashed4 | `╎` | |
215
+ | lineVerticalDashed5 | `╏` | |
216
+ | lineVerticalDashed6 | `╵` | |
217
+ | lineVerticalDashed7 | `╷` | |
218
+ | lineVerticalDashed8 | `╹` | |
219
+ | lineVerticalDashed9 | `╻` | |
220
+ | lineVerticalDashed10 | `╽` | |
221
+ | lineVerticalDashed11 | `╿` | |
222
+ | lineDownLeft | `┐` | |
223
+ | lineDownLeftArc | `╮` | |
224
+ | lineDownBoldLeftBold | `┓` | |
225
+ | lineDownBoldLeft | `┒` | |
226
+ | lineDownLeftBold | `┑` | |
227
+ | lineDownDoubleLeftDouble | `╗` | |
228
+ | lineDownDoubleLeft | `╖` | |
229
+ | lineDownLeftDouble | `╕` | |
230
+ | lineDownRight | `┌` | |
231
+ | lineDownRightArc | `╭` | |
232
+ | lineDownBoldRightBold | `┏` | |
233
+ | lineDownBoldRight | `┎` | |
234
+ | lineDownRightBold | `┍` | |
235
+ | lineDownDoubleRightDouble | `╔` | |
236
+ | lineDownDoubleRight | `╓` | |
237
+ | lineDownRightDouble | `╒` | |
238
+ | lineUpLeft | `┘` | |
239
+ | lineUpLeftArc | `╯` | |
240
+ | lineUpBoldLeftBold | `┛` | |
241
+ | lineUpBoldLeft | `┚` | |
242
+ | lineUpLeftBold | `┙` | |
243
+ | lineUpDoubleLeftDouble | `╝` | |
244
+ | lineUpDoubleLeft | `╜` | |
245
+ | lineUpLeftDouble | `╛` | |
246
+ | lineUpRight | `└` | |
247
+ | lineUpRightArc | `╰` | |
248
+ | lineUpBoldRightBold | `┗` | |
249
+ | lineUpBoldRight | `┖` | |
250
+ | lineUpRightBold | `┕` | |
251
+ | lineUpDoubleRightDouble | `╚` | |
252
+ | lineUpDoubleRight | `╙` | |
253
+ | lineUpRightDouble | `╘` | |
254
+ | lineUpDownLeft | `┤` | |
255
+ | lineUpBoldDownBoldLeftBold | `┫` | |
256
+ | lineUpBoldDownBoldLeft | `┨` | |
257
+ | lineUpDownLeftBold | `┥` | |
258
+ | lineUpBoldDownLeftBold | `┩` | |
259
+ | lineUpDownBoldLeftBold | `┪` | |
260
+ | lineUpDownBoldLeft | `┧` | |
261
+ | lineUpBoldDownLeft | `┦` | |
262
+ | lineUpDoubleDownDoubleLeftDouble | `╣` | |
263
+ | lineUpDoubleDownDoubleLeft | `╢` | |
264
+ | lineUpDownLeftDouble | `╡` | |
265
+ | lineUpDownRight | `├` | |
266
+ | lineUpBoldDownBoldRightBold | `┣` | |
267
+ | lineUpBoldDownBoldRight | `┠` | |
268
+ | lineUpDownRightBold | `┝` | |
269
+ | lineUpBoldDownRightBold | `┡` | |
270
+ | lineUpDownBoldRightBold | `┢` | |
271
+ | lineUpDownBoldRight | `┟` | |
272
+ | lineUpBoldDownRight | `┞` | |
273
+ | lineUpDoubleDownDoubleRightDouble | `╠` | |
274
+ | lineUpDoubleDownDoubleRight | `╟` | |
275
+ | lineUpDownRightDouble | `╞` | |
276
+ | lineDownLeftRight | `┬` | |
277
+ | lineDownBoldLeftBoldRightBold | `┳` | |
278
+ | lineDownLeftBoldRightBold | `┯` | |
279
+ | lineDownBoldLeftRight | `┰` | |
280
+ | lineDownBoldLeftBoldRight | `┱` | |
281
+ | lineDownBoldLeftRightBold | `┲` | |
282
+ | lineDownLeftRightBold | `┮` | |
283
+ | lineDownLeftBoldRight | `┭` | |
284
+ | lineDownDoubleLeftDoubleRightDouble | `╦` | |
285
+ | lineDownDoubleLeftRight | `╥` | |
286
+ | lineDownLeftDoubleRightDouble | `╤` | |
287
+ | lineUpLeftRight | `┴` | |
288
+ | lineUpBoldLeftBoldRightBold | `┻` | |
289
+ | lineUpLeftBoldRightBold | `┷` | |
290
+ | lineUpBoldLeftRight | `┸` | |
291
+ | lineUpBoldLeftBoldRight | `┹` | |
292
+ | lineUpBoldLeftRightBold | `┺` | |
293
+ | lineUpLeftRightBold | `┶` | |
294
+ | lineUpLeftBoldRight | `┵` | |
295
+ | lineUpDoubleLeftDoubleRightDouble | `╩` | |
296
+ | lineUpDoubleLeftRight | `╨` | |
297
+ | lineUpLeftDoubleRightDouble | `╧` | |
298
+ | lineUpDownLeftRight | `┼` | |
299
+ | lineUpBoldDownBoldLeftBoldRightBold | `╋` | |
300
+ | lineUpDownBoldLeftBoldRightBold | `╈` | |
301
+ | lineUpBoldDownLeftBoldRightBold | `╇` | |
302
+ | lineUpBoldDownBoldLeftRightBold | `╊` | |
303
+ | lineUpBoldDownBoldLeftBoldRight | `╉` | |
304
+ | lineUpBoldDownLeftRight | `╀` | |
305
+ | lineUpDownBoldLeftRight | `╁` | |
306
+ | lineUpDownLeftBoldRight | `┽` | |
307
+ | lineUpDownLeftRightBold | `┾` | |
308
+ | lineUpBoldDownBoldLeftRight | `╂` | |
309
+ | lineUpDownLeftBoldRightBold | `┿` | |
310
+ | lineUpBoldDownLeftBoldRight | `╃` | |
311
+ | lineUpBoldDownLeftRightBold | `╄` | |
312
+ | lineUpDownBoldLeftBoldRight | `╅` | |
313
+ | lineUpDownBoldLeftRightBold | `╆` | |
314
+ | lineUpDoubleDownDoubleLeftDoubleRightDouble | `╬` | |
315
+ | lineUpDoubleDownDoubleLeftRight | `╫` | |
316
+ | lineUpDownLeftDoubleRightDouble | `╪` | |
317
+ | lineCross | `╳` | |
318
+ | lineBackslash | `╲` | |
319
+ | lineSlash | `╱` | |
320
+
321
+ ## Other characters
322
+
323
+ If you cannot find the character you're looking for in the table above, please look at this full list of [cross-platform terminal characters](https://github.com/ehmicky/cross-platform-terminal-characters).
324
+
325
+ ## Unsupported terminals
326
+
327
+ The following terminals are not officially supported:
328
+
329
+ - xterm
330
+ - Linux Terminal (kernel)
331
+ - cmder
332
+
333
+ They can display most but not all of the symbols listed above.
334
+
335
+ ## Related
336
+
337
+ - [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels
@@ -0,0 +1,60 @@
1
+ export type WidthType = 'fullwidth' | 'halfwidth' | 'wide' | 'narrow' | 'neutral' | 'ambiguous';
2
+
3
+ export type Options = {
4
+ /**
5
+ Whether to treat an `'ambiguous'` character as wide.
6
+
7
+ @default true
8
+
9
+ @example
10
+ ```
11
+ import {eastAsianWidth} from 'get-east-asian-width';
12
+
13
+ const codePoint = '⛣'.codePointAt(0);
14
+
15
+ console.log(eastAsianWidth(codePoint));
16
+ //=> 1
17
+
18
+ console.log(eastAsianWidth(codePoint, {ambiguousAsWide: true}));
19
+ //=> 2
20
+ ```
21
+
22
+ > 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.__
23
+ > - http://www.unicode.org/reports/tr11/
24
+ */
25
+ readonly ambiguousAsWide?: boolean;
26
+ };
27
+
28
+ /**
29
+ Returns the width as a number for the given code point.
30
+
31
+ @param codePoint - A Unicode code point.
32
+
33
+ @example
34
+ ```
35
+ import {eastAsianWidth} from 'get-east-asian-width';
36
+
37
+ const codePoint = '字'.codePointAt(0);
38
+
39
+ console.log(eastAsianWidth(codePoint));
40
+ //=> 2
41
+ ```
42
+ */
43
+ export function eastAsianWidth(codePoint: number, options?: Options): 1 | 2;
44
+
45
+ /**
46
+ Returns the type of “East Asian Width” for the given code point.
47
+
48
+ @param codePoint - A Unicode code point.
49
+
50
+ @example
51
+ ```
52
+ import {eastAsianWidthType} from 'get-east-asian-width';
53
+
54
+ const codePoint = '字'.codePointAt(0);
55
+
56
+ console.log(eastAsianWidthType(codePoint));
57
+ //=> 'wide'
58
+ ```
59
+ */
60
+ export function eastAsianWidthType(codePoint: number): WidthType;
@@ -0,0 +1,30 @@
1
+ import {getCategory, isAmbiguous, isFullWidth, isWide} from './lookup.js';
2
+
3
+ function validate(codePoint) {
4
+ if (!Number.isSafeInteger(codePoint)) {
5
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
6
+ }
7
+ }
8
+
9
+ export function eastAsianWidthType(codePoint) {
10
+ validate(codePoint);
11
+
12
+ return getCategory(codePoint);
13
+ }
14
+
15
+ export function eastAsianWidth(codePoint, {ambiguousAsWide = false} = {}) {
16
+ validate(codePoint);
17
+
18
+ if (
19
+ isFullWidth(codePoint)
20
+ || isWide(codePoint)
21
+ || (ambiguousAsWide && isAmbiguous(codePoint))
22
+ ) {
23
+ return 2;
24
+ }
25
+
26
+ return 1;
27
+ }
28
+
29
+ // Private exports for https://github.com/sindresorhus/is-fullwidth-code-point
30
+ export {isFullWidth as _isFullWidth, isWide as _isWide} from './lookup.js';
@@ -0,0 +1,18 @@
1
+ // Generated by scripts/build.js
2
+
3
+ // prettier-ignore
4
+ const ambiguousRanges = [161, 161, 164, 164, 167, 168, 170, 170, 173, 174, 176, 180, 182, 186, 188, 191, 198, 198, 208, 208, 215, 216, 222, 225, 230, 230, 232, 234, 236, 237, 240, 240, 242, 243, 247, 250, 252, 252, 254, 254, 257, 257, 273, 273, 275, 275, 283, 283, 294, 295, 299, 299, 305, 307, 312, 312, 319, 322, 324, 324, 328, 331, 333, 333, 338, 339, 358, 359, 363, 363, 462, 462, 464, 464, 466, 466, 468, 468, 470, 470, 472, 472, 474, 474, 476, 476, 593, 593, 609, 609, 708, 708, 711, 711, 713, 715, 717, 717, 720, 720, 728, 731, 733, 733, 735, 735, 768, 879, 913, 929, 931, 937, 945, 961, 963, 969, 1025, 1025, 1040, 1103, 1105, 1105, 8208, 8208, 8211, 8214, 8216, 8217, 8220, 8221, 8224, 8226, 8228, 8231, 8240, 8240, 8242, 8243, 8245, 8245, 8251, 8251, 8254, 8254, 8308, 8308, 8319, 8319, 8321, 8324, 8364, 8364, 8451, 8451, 8453, 8453, 8457, 8457, 8467, 8467, 8470, 8470, 8481, 8482, 8486, 8486, 8491, 8491, 8531, 8532, 8539, 8542, 8544, 8555, 8560, 8569, 8585, 8585, 8592, 8601, 8632, 8633, 8658, 8658, 8660, 8660, 8679, 8679, 8704, 8704, 8706, 8707, 8711, 8712, 8715, 8715, 8719, 8719, 8721, 8721, 8725, 8725, 8730, 8730, 8733, 8736, 8739, 8739, 8741, 8741, 8743, 8748, 8750, 8750, 8756, 8759, 8764, 8765, 8776, 8776, 8780, 8780, 8786, 8786, 8800, 8801, 8804, 8807, 8810, 8811, 8814, 8815, 8834, 8835, 8838, 8839, 8853, 8853, 8857, 8857, 8869, 8869, 8895, 8895, 8978, 8978, 9312, 9449, 9451, 9547, 9552, 9587, 9600, 9615, 9618, 9621, 9632, 9633, 9635, 9641, 9650, 9651, 9654, 9655, 9660, 9661, 9664, 9665, 9670, 9672, 9675, 9675, 9678, 9681, 9698, 9701, 9711, 9711, 9733, 9734, 9737, 9737, 9742, 9743, 9756, 9756, 9758, 9758, 9792, 9792, 9794, 9794, 9824, 9825, 9827, 9829, 9831, 9834, 9836, 9837, 9839, 9839, 9886, 9887, 9919, 9919, 9926, 9933, 9935, 9939, 9941, 9953, 9955, 9955, 9960, 9961, 9963, 9969, 9972, 9972, 9974, 9977, 9979, 9980, 9982, 9983, 10045, 10045, 10102, 10111, 11094, 11097, 12872, 12879, 57344, 63743, 65024, 65039, 65533, 65533, 127232, 127242, 127248, 127277, 127280, 127337, 127344, 127373, 127375, 127376, 127387, 127404, 917760, 917999, 983040, 1048573, 1048576, 1114109];
5
+
6
+ // prettier-ignore
7
+ const fullwidthRanges = [12288, 12288, 65281, 65376, 65504, 65510];
8
+
9
+ // prettier-ignore
10
+ const halfwidthRanges = [8361, 8361, 65377, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65512, 65518];
11
+
12
+ // prettier-ignore
13
+ const narrowRanges = [32, 126, 162, 163, 165, 166, 172, 172, 175, 175, 10214, 10221, 10629, 10630];
14
+
15
+ // prettier-ignore
16
+ const wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208, 101589, 101631, 101662, 101760, 101874, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 119552, 119638, 119648, 119670, 126980, 126980, 127183, 127183, 127374, 127374, 127377, 127386, 127488, 127490, 127504, 127547, 127552, 127560, 127568, 127569, 127584, 127589, 127744, 127776, 127789, 127797, 127799, 127868, 127870, 127891, 127904, 127946, 127951, 127955, 127968, 127984, 127988, 127988, 127992, 128062, 128064, 128064, 128066, 128252, 128255, 128317, 128331, 128334, 128336, 128359, 128378, 128378, 128405, 128406, 128420, 128420, 128507, 128591, 128640, 128709, 128716, 128716, 128720, 128722, 128725, 128728, 128732, 128735, 128747, 128748, 128756, 128764, 128992, 129003, 129008, 129008, 129292, 129338, 129340, 129349, 129351, 129535, 129648, 129660, 129664, 129674, 129678, 129734, 129736, 129736, 129741, 129756, 129759, 129770, 129775, 129784, 131072, 196605, 196608, 262141];
17
+
18
+ export {ambiguousRanges, fullwidthRanges, halfwidthRanges, narrowRanges, wideRanges};
@@ -0,0 +1,135 @@
1
+ import {
2
+ ambiguousRanges,
3
+ fullwidthRanges,
4
+ halfwidthRanges,
5
+ narrowRanges,
6
+ wideRanges,
7
+ } from './lookup-data.js';
8
+ import {isInRange} from './utilities.js';
9
+
10
+ const minimumAmbiguousCodePoint = ambiguousRanges[0];
11
+ const maximumAmbiguousCodePoint = ambiguousRanges.at(-1);
12
+ const minimumFullWidthCodePoint = fullwidthRanges[0];
13
+ const maximumFullWidthCodePoint = fullwidthRanges.at(-1);
14
+ const minimumHalfWidthCodePoint = halfwidthRanges[0];
15
+ const maximumHalfWidthCodePoint = halfwidthRanges.at(-1);
16
+ const minimumNarrowCodePoint = narrowRanges[0];
17
+ const maximumNarrowCodePoint = narrowRanges.at(-1);
18
+ const minimumWideCodePoint = wideRanges[0];
19
+ const maximumWideCodePoint = wideRanges.at(-1);
20
+
21
+ const commonCjkCodePoint = 0x4E_00;
22
+ const [wideFastPathStart, wideFastPathEnd] = findWideFastPathRange(wideRanges);
23
+
24
+ // Use a hot-path range so common `isWide` calls can skip binary search.
25
+ // The range containing U+4E00 covers common CJK ideographs;
26
+ // fallback to the largest range for resilience to Unicode table changes.
27
+ function findWideFastPathRange(ranges) {
28
+ let fastPathStart = ranges[0];
29
+ let fastPathEnd = ranges[1];
30
+
31
+ for (let index = 0; index < ranges.length; index += 2) {
32
+ const start = ranges[index];
33
+ const end = ranges[index + 1];
34
+
35
+ if (
36
+ commonCjkCodePoint >= start
37
+ && commonCjkCodePoint <= end
38
+ ) {
39
+ return [start, end];
40
+ }
41
+
42
+ if ((end - start) > (fastPathEnd - fastPathStart)) {
43
+ fastPathStart = start;
44
+ fastPathEnd = end;
45
+ }
46
+ }
47
+
48
+ return [fastPathStart, fastPathEnd];
49
+ }
50
+
51
+ export const isAmbiguous = codePoint => {
52
+ if (
53
+ codePoint < minimumAmbiguousCodePoint
54
+ || codePoint > maximumAmbiguousCodePoint
55
+ ) {
56
+ return false;
57
+ }
58
+
59
+ return isInRange(ambiguousRanges, codePoint);
60
+ };
61
+
62
+ export const isFullWidth = codePoint => {
63
+ if (
64
+ codePoint < minimumFullWidthCodePoint
65
+ || codePoint > maximumFullWidthCodePoint
66
+ ) {
67
+ return false;
68
+ }
69
+
70
+ return isInRange(fullwidthRanges, codePoint);
71
+ };
72
+
73
+ const isHalfWidth = codePoint => {
74
+ if (
75
+ codePoint < minimumHalfWidthCodePoint
76
+ || codePoint > maximumHalfWidthCodePoint
77
+ ) {
78
+ return false;
79
+ }
80
+
81
+ return isInRange(halfwidthRanges, codePoint);
82
+ };
83
+
84
+ const isNarrow = codePoint => {
85
+ if (
86
+ codePoint < minimumNarrowCodePoint
87
+ || codePoint > maximumNarrowCodePoint
88
+ ) {
89
+ return false;
90
+ }
91
+
92
+ return isInRange(narrowRanges, codePoint);
93
+ };
94
+
95
+ export const isWide = codePoint => {
96
+ if (
97
+ codePoint >= wideFastPathStart
98
+ && codePoint <= wideFastPathEnd
99
+ ) {
100
+ return true;
101
+ }
102
+
103
+ if (
104
+ codePoint < minimumWideCodePoint
105
+ || codePoint > maximumWideCodePoint
106
+ ) {
107
+ return false;
108
+ }
109
+
110
+ return isInRange(wideRanges, codePoint);
111
+ };
112
+
113
+ export function getCategory(codePoint) {
114
+ if (isAmbiguous(codePoint)) {
115
+ return 'ambiguous';
116
+ }
117
+
118
+ if (isFullWidth(codePoint)) {
119
+ return 'fullwidth';
120
+ }
121
+
122
+ if (isHalfWidth(codePoint)) {
123
+ return 'halfwidth';
124
+ }
125
+
126
+ if (isNarrow(codePoint)) {
127
+ return 'narrow';
128
+ }
129
+
130
+ if (isWide(codePoint)) {
131
+ return 'wide';
132
+ }
133
+
134
+ return 'neutral';
135
+ }
@@ -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
+ }