decocms 2.290.0 → 2.290.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 (564) hide show
  1. package/dist/client/assets/{AlertCircle-Dy6WQ5ge.js → AlertCircle-BKpPv_ue.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-DyXfpAXl.js → ArrowNarrowLeft-DzI4-MMz.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-CnIoXxER.js → ArrowUpRight-CgoB9CSG.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-BZH7SpHU.js → CheckCircle-_hRmcUCr.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-BjTzGWO3.js → ChevronDown-DgrWziJW.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-CYmVBoc2.js → ChevronRight-DJnGkhn4.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-Cw4IUx4c.js → ChevronUp-CYzPfn3Y.js} +1 -1
  8. package/dist/client/assets/{Container-9mToJ-Hm.js → Container-CCq3u0Gk.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-CbfHiscK.js → DotsVertical-om3rzQE9.js} +1 -1
  10. package/dist/client/assets/{LinkExternal01-Kt8lGWbQ.js → LinkExternal01-DbNOYo2d.js} +1 -1
  11. package/dist/client/assets/{Lock01-BhhALBsJ.js → Lock01-BsLK0x7P.js} +1 -1
  12. package/dist/client/assets/{Palette-6WmqQOED.js → Palette-CN1aN7Xh.js} +1 -1
  13. package/dist/client/assets/{Play-B-Yf_e00.js → Play-CwsBegSF.js} +1 -1
  14. package/dist/client/assets/{Plus-C4wuRIjK.js → Plus-CnK1SC2T.js} +1 -1
  15. package/dist/client/assets/{RefreshCcw01-KsYBIYgq.js → RefreshCcw01-DESLbhAD.js} +1 -1
  16. package/dist/client/assets/{SearchMd-BhWG7TtE.js → SearchMd-DlfhE_5j.js} +1 -1
  17. package/dist/client/assets/{Settings02-C0B8JYoO.js → Settings02-LVlkEIxI.js} +1 -1
  18. package/dist/client/assets/{Shield01-vr0RTpPH.js → Shield01-DGTwcXqp.js} +1 -1
  19. package/dist/client/assets/{Star01-BRTO8Wcg.js → Star01-CWHB1ChF.js} +1 -1
  20. package/dist/client/assets/{Sun-DD9THIbp.js → Sun-1aZYqU86.js} +1 -1
  21. package/dist/client/assets/{Tool01-CzK8v2e2.js → Tool01-X8GEQ_TP.js} +1 -1
  22. package/dist/client/assets/{Trash01-Cqpb-tl4.js → Trash01-CIUqVsqV.js} +1 -1
  23. package/dist/client/assets/{User01-CHqQvVRk.js → User01-Dds7lT_Z.js} +1 -1
  24. package/dist/client/assets/{Users03-DQHeHtuJ.js → Users03-BD0tlSQu.js} +1 -1
  25. package/dist/client/assets/{X-Cz2VwWbK.js → X-BDxrsCdA.js} +1 -1
  26. package/dist/client/assets/{XCircle-D7CLzAA2.js → XCircle-BJ-0U-0t.js} +1 -1
  27. package/dist/client/assets/{XClose-xVgTKp3y.js → XClose-Bl-2e8QV.js} +1 -1
  28. package/dist/client/assets/{Zap-eM4vJ-Od.js → Zap-B3a3OZUG.js} +1 -1
  29. package/dist/client/assets/{ZapSquare-DAasimGP.js → ZapSquare-Ddm4Ccl_.js} +1 -1
  30. package/dist/client/assets/{accordion-BM20EgNo.js → accordion-eGw-yxkH.js} +1 -1
  31. package/dist/client/assets/{agent-icon-CPrrz1CF.js → agent-icon-Dhv8pT4N.js} +1 -1
  32. package/dist/client/assets/{agents-list-bLyTwxOp.js → agents-list-BoLhMS8b.js} +1 -1
  33. package/dist/client/assets/ai-providers-5Y8Lye7a.js +1 -0
  34. package/dist/client/assets/{alert-dialog-D6BTsTie.js → alert-dialog-C5H0at4x.js} +1 -1
  35. package/dist/client/assets/{auth-catchall-DrwBfvc7.js → auth-catchall-CDaNQLse.js} +1 -1
  36. package/dist/client/assets/{automation-list-row-BAkKDhdt.js → automation-list-row-i8Q9Zh9Z.js} +1 -1
  37. package/dist/client/assets/{automations-DsHMII0n.js → automations-ulYqPLWi.js} +1 -1
  38. package/dist/client/assets/{avatar-B5MfJTPB.js → avatar-BCAMjlDk.js} +1 -1
  39. package/dist/client/assets/{badge-C3ltiwQz.js → badge-arNIH4S4.js} +1 -1
  40. package/dist/client/assets/{brand-context-DdXBk5wZ.js → brand-context-doHsqzeN.js} +1 -1
  41. package/dist/client/assets/{card-DXc1-cjm.js → card-BcKfGMCs.js} +1 -1
  42. package/dist/client/assets/{chat-context-BM3OkNBp.js → chat-context-BgLXGROj.js} +14 -14
  43. package/dist/client/assets/{checkbox-CXSt-qCU.js → checkbox-eCIm2Y45.js} +1 -1
  44. package/dist/client/assets/{collection-detail-PiEvUvyY.js → collection-detail-BIdQmVBg.js} +1 -1
  45. package/dist/client/assets/{collection-display-button-CbF3FIKJ.js → collection-display-button-31iCSNaH.js} +1 -1
  46. package/dist/client/assets/{collection-search-BD7TaK50.js → collection-search-CWRKNmnq.js} +1 -1
  47. package/dist/client/assets/{collection-search-D9OTGkON.js → collection-search-CZEXNAkX.js} +1 -1
  48. package/dist/client/assets/{collection-table-wrapper-C_wGPjYd.js → collection-table-wrapper-iKnV9U-a.js} +1 -1
  49. package/dist/client/assets/{collection-tabs-B5kXhLnr.js → collection-tabs-BB_C6DLQ.js} +1 -1
  50. package/dist/client/assets/{collections-uRCOIhF1.js → collections-BmZbVrT4.js} +1 -1
  51. package/dist/client/assets/{command-_aeZDxv4.js → command-BXuf0gSd.js} +1 -1
  52. package/dist/client/assets/{connection-card-CG4RgzFA.js → connection-card-CaHQAi2l.js} +1 -1
  53. package/dist/client/assets/{connection-detail-CPj5tV8W.js → connection-detail-DtFDjt8X.js} +1 -1
  54. package/dist/client/assets/{connection-form-helpers-CF_hDkTW.js → connection-form-helpers-D-VsE2HN.js} +1 -1
  55. package/dist/client/assets/{connections-BFVESmsw.js → connections-B0CDxzS1.js} +1 -1
  56. package/dist/client/assets/{constants-BXPLSYK0.js → constants-CBodG1Pl.js} +1 -1
  57. package/dist/client/assets/{constants-fisX-szF.js → constants-fZUl7A6B.js} +1 -1
  58. package/dist/client/assets/{dialog-DgIfLmkz.js → dialog-CfIcbBij.js} +1 -1
  59. package/dist/client/assets/{domain-settings-Da9TCjdO.js → domain-settings-Bz-lXZFn.js} +1 -1
  60. package/dist/client/assets/{drawer-DcXb-dIX.js → drawer-D0hdbn63.js} +1 -1
  61. package/dist/client/assets/{dropdown-menu-CpKKd4KR.js → dropdown-menu-Cye9zjaV.js} +1 -1
  62. package/dist/client/assets/{dynamic-plugin-layout-5YDFJfrE.js → dynamic-plugin-layout-DyEJh8Ah.js} +1 -1
  63. package/dist/client/assets/{empty-state-7OQh5AG_.js → empty-state-Ce0UFiAd.js} +1 -1
  64. package/dist/client/assets/{empty-state-BNoYs1pG.js → empty-state-KsHmVPO4.js} +1 -1
  65. package/dist/client/assets/{extract-connection-data-C1fjt67g.js → extract-connection-data-C_Q81cim.js} +1 -1
  66. package/dist/client/assets/{features-DlbqWaud.js → features-UEpssbRc.js} +1 -1
  67. package/dist/client/assets/{form-B9N1Oecs.js → form-Bt1yLlZE.js} +1 -1
  68. package/dist/client/assets/{general-BRrfSAHw.js → general-CX6SxsSV.js} +1 -1
  69. package/dist/client/assets/{github-repo-picker-xqXMF4Z2.js → github-repo-picker-4y_CmSBW.js} +1 -1
  70. package/dist/client/assets/{index-CdcT6o1u.js → index-B5IXTINZ.js} +1 -1
  71. package/dist/client/assets/{index-nPLW8S1n.js → index-BdMwcoDn.js} +1 -1
  72. package/dist/client/assets/{index-B1ENCl_P.js → index-BqvsnDAu.js} +1 -1
  73. package/dist/client/assets/{index-BNDDAuFY.js → index-C1JqC4-z.js} +1 -1
  74. package/dist/client/assets/{index-PDe7t-Zh.js → index-Cf59DRJ6.js} +1 -1
  75. package/dist/client/assets/{index-Bjw9mABo.js → index-D7IIXROb.js} +2 -2
  76. package/dist/client/assets/{index-RUiHYhDy.js → index-DP75UHA3.js} +1 -1
  77. package/dist/client/assets/{index-D4HJx8LE.js → index-DTSAQq_o.js} +26 -26
  78. package/dist/client/assets/{index-DFbeaR6v.js → index-DU8sxbAO.js} +1 -1
  79. package/dist/client/assets/{index-Bdy-Zxd0.js → index-DtTftwEv.js} +1 -1
  80. package/dist/client/assets/{infiniteQueryObserver-D6FVOZDT.js → infiniteQueryObserver-CYDDJzdR.js} +1 -1
  81. package/dist/client/assets/{input-B0Th2JQ1.js → input-C-zd9-6X.js} +1 -1
  82. package/dist/client/assets/{integration-icon-BlpgeQ99.js → integration-icon-DoWhqWe3.js} +1 -1
  83. package/dist/client/assets/{label-DuAMprL4.js → label-B9VSuQAr.js} +1 -1
  84. package/dist/client/assets/{layout-RImR4U5w.js → layout-BJjatDlM.js} +1 -1
  85. package/dist/client/assets/{login-BfxCAW1K.js → login-DMa1Q2q-.js} +1 -1
  86. package/dist/client/assets/{members-DUXCSlLM.js → members-BOugcvjA.js} +1 -1
  87. package/dist/client/assets/{monaco-editor-LE71GrBO.js → monaco-editor-Bo3tZIb0.js} +1 -1
  88. package/dist/client/assets/{monitoring-stats-row-Bu8i_dr0.js → monitoring-stats-row-B1bACC1V.js} +1 -1
  89. package/dist/client/assets/{oauth-callback-CHnueJxo.js → oauth-callback-CIypIDM5.js} +1 -1
  90. package/dist/client/assets/{oauth-callback-ai-provider-BqIWE2za.js → oauth-callback-ai-provider-Cx6R_dTa.js} +1 -1
  91. package/dist/client/assets/{onboarding-Bvfd_deQ.js → onboarding-BqheUOWx.js} +1 -1
  92. package/dist/client/assets/{org-layout-D8HwQgZC.js → org-layout-CZ-JkZR2.js} +1 -1
  93. package/dist/client/assets/{org-plugin-layout-Dlrq-WhH.js → org-plugin-layout-BrcX-6Wg.js} +1 -1
  94. package/dist/client/assets/{plugin-empty-state-FtnIU00p.js → plugin-empty-state-DrfwC6PK.js} +1 -1
  95. package/dist/client/assets/{plugin-header-CFqdNjHj.js → plugin-header-Dv9_QG9M.js} +1 -1
  96. package/dist/client/assets/{plugin-layout-BAtMOLNI.js → plugin-layout-BYLLm93H.js} +1 -1
  97. package/dist/client/assets/{popover-E3qdo7hr.js → popover-BcJ5dkfy.js} +1 -1
  98. package/dist/client/assets/{profile-D53qb-aC.js → profile-BDIFKyuQ.js} +1 -1
  99. package/dist/client/assets/{project-app-view-CPYOBF6b.js → project-app-view-Dmfqsj8y.js} +1 -1
  100. package/dist/client/assets/registry-DWmg34NR.js +2 -0
  101. package/dist/client/assets/{registry-layout-DDDh6l1Z.js → registry-layout-CcQfrJPf.js} +1 -1
  102. package/dist/client/assets/{required-auth-layout-0ZrPtRX5.js → required-auth-layout-C8vP14ZM.js} +1 -1
  103. package/dist/client/assets/{reset-password-CF8xZipJ.js → reset-password-Cx8pIjDB.js} +1 -1
  104. package/dist/client/assets/{roles-2DmhU_lO.js → roles-V2PuVErH.js} +1 -1
  105. package/dist/client/assets/{scroll-area-CV58Sm3r.js → scroll-area-BJTd57Y3.js} +1 -1
  106. package/dist/client/assets/{search-input-CiJD1zmQ.js → search-input-o1N12hd4.js} +1 -1
  107. package/dist/client/assets/{select-model-CgAdbxOF.js → select-model-i86p2wLu.js} +1 -1
  108. package/dist/client/assets/{select-C0BTO_VN.js → select-wye91jBR.js} +1 -1
  109. package/dist/client/assets/{settings-layout-B5g5nOFG.js → settings-layout-Bre58uB_.js} +1 -1
  110. package/dist/client/assets/{settings-section-BEc6_hxC.js → settings-section-C9gADeUy.js} +1 -1
  111. package/dist/client/assets/{shell-layout-DhVFCecl.js → shell-layout-BkODIfEq.js} +1 -1
  112. package/dist/client/assets/{skeleton-CqLjEim6.js → skeleton-DRv0yCtF.js} +1 -1
  113. package/dist/client/assets/{sso-CLQ0WAZ4.js → sso-DZp-3maq.js} +1 -1
  114. package/dist/client/assets/{store-DXpPzjGX.js → store-CN0vQifq.js} +1 -1
  115. package/dist/client/assets/store-registry-BObCKoqP.js +2 -0
  116. package/dist/client/assets/{switch-r_J-E_R6.js → switch-PbUvXBwc.js} +1 -1
  117. package/dist/client/assets/{table-BLW1fb71.js → table-Vdrlqd3N.js} +1 -1
  118. package/dist/client/assets/{tabs-OaMhPT1S.js → tabs-CMVGP6Nm.js} +1 -1
  119. package/dist/client/assets/{task-status-BYU1JOas.js → task-status-Cc80uZAM.js} +1 -1
  120. package/dist/client/assets/{textarea-CB4EPwI8.js → textarea-CFCCYt2a.js} +1 -1
  121. package/dist/client/assets/{toggle-group-BK2Eyxb9.js → toggle-group-C7CndFhA.js} +1 -1
  122. package/dist/client/assets/{tools-list-D0-t6r7P.js → tools-list-Kw0AITzg.js} +1 -1
  123. package/dist/client/assets/{types-DV1fT4jg.js → types-CfADcGn6.js} +1 -1
  124. package/dist/client/assets/{use-ai-providers-DuAykeEv.js → use-ai-providers-BH0Y2Lij.js} +1 -1
  125. package/dist/client/assets/{use-collections-Cp0FTIw2.js → use-collections-BosUNiJP.js} +1 -1
  126. package/dist/client/assets/{use-connection-CwwdEwVq.js → use-connection-BHgGmTOA.js} +1 -1
  127. package/dist/client/assets/{use-copy-I5xIu5vL.js → use-copy-D6qOpdpT.js} +1 -1
  128. package/dist/client/assets/{use-create-virtual-mcp-D9eK4uEY.js → use-create-virtual-mcp-Cx6IqxLi.js} +1 -1
  129. package/dist/client/assets/{use-decopilot-events-BnOlrQOP.js → use-decopilot-events-Bw4kdPRS.js} +1 -1
  130. package/dist/client/assets/{use-delete-connection-DgzyKP3C.js → use-delete-connection-BNbEYahP.js} +1 -1
  131. package/dist/client/assets/{use-infinite-scroll-DVe1Fk7x.js → use-infinite-scroll-omTMTmB1.js} +1 -1
  132. package/dist/client/assets/{use-list-state-BK8f1wO4.js → use-list-state-BiBwgFiI.js} +1 -1
  133. package/dist/client/assets/{use-mcp-tools-B2JuhhY2.js → use-mcp-tools-jeaH_mio.js} +1 -1
  134. package/dist/client/assets/{use-members-BpPuDkhN.js → use-members-BR83cmtt.js} +1 -1
  135. package/dist/client/assets/{use-mobile-BY3ZRSKc.js → use-mobile-CrP2KZis.js} +1 -1
  136. package/dist/client/assets/{use-navigate-to-agent-CL1nPgsu.js → use-navigate-to-agent-C3zfnZck.js} +1 -1
  137. package/dist/client/assets/{use-org-sso-CNjY_Yrf.js → use-org-sso-Bp80Qjb5.js} +1 -1
  138. package/dist/client/assets/{use-organization-roles-DjWvKcNS.js → use-organization-roles-BV6xrqqH.js} +1 -1
  139. package/dist/client/assets/{use-organization-settings-DqQLKHYU.js → use-organization-settings-qZ1AM5bR.js} +1 -1
  140. package/dist/client/assets/{use-registry-connections-Du2J1Ki6.js → use-registry-connections-4TVYi7-o.js} +1 -1
  141. package/dist/client/assets/{use-status-sounds-9eY_nA5Y.js → use-status-sounds-DOhvVAtI.js} +1 -1
  142. package/dist/client/assets/{use-tasks-HeJD0lAu.js → use-tasks-Cd7MvMgt.js} +1 -1
  143. package/dist/client/assets/{use-view-mode-CimRH_Z1.js → use-view-mode-BtY__6eQ.js} +1 -1
  144. package/dist/client/assets/{use-virtual-mcp-Dyx_89bN.js → use-virtual-mcp-BUyveTe6.js} +1 -1
  145. package/dist/client/assets/useInfiniteQuery-c3E-w9DY.js +1 -0
  146. package/dist/client/assets/useSuspenseInfiniteQuery-D705BqvF.js +1 -0
  147. package/dist/client/assets/{user-DwSGRsb4.js → user-DgdWVRpj.js} +1 -1
  148. package/dist/client/assets/{view-mode-toggle-B7tN1U0U.js → view-mode-toggle-D2WG_Euq.js} +1 -1
  149. package/dist/client/assets/{workflow-BSnZsZNr.js → workflow-DRs0QH0L.js} +1 -1
  150. package/dist/client/assets/workflow-detail-B8_Px7_-.js +1 -0
  151. package/dist/client/index.html +1 -1
  152. package/dist/server/cli.js +1 -1
  153. package/dist/server/node_modules/ansi-escapes/base.d.ts +307 -0
  154. package/dist/server/node_modules/ansi-escapes/base.js +202 -0
  155. package/dist/server/node_modules/ansi-escapes/index.d.ts +2 -0
  156. package/dist/server/node_modules/ansi-escapes/index.js +2 -0
  157. package/dist/server/node_modules/ansi-escapes/package.json +70 -0
  158. package/dist/server/node_modules/ansi-escapes/readme.md +296 -0
  159. package/dist/server/node_modules/ansi-regex/index.d.ts +33 -0
  160. package/dist/server/node_modules/ansi-regex/index.js +14 -0
  161. package/dist/server/node_modules/ansi-regex/license +9 -0
  162. package/dist/server/node_modules/ansi-regex/package.json +61 -0
  163. package/dist/server/node_modules/ansi-regex/readme.md +66 -0
  164. package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
  165. package/dist/server/node_modules/ansi-styles/index.js +223 -0
  166. package/dist/server/node_modules/ansi-styles/license +9 -0
  167. package/dist/server/node_modules/ansi-styles/package.json +54 -0
  168. package/dist/server/node_modules/ansi-styles/readme.md +173 -0
  169. package/dist/server/node_modules/auto-bind/index.d.ts +50 -0
  170. package/dist/server/node_modules/auto-bind/index.js +41 -0
  171. package/dist/server/node_modules/auto-bind/license +9 -0
  172. package/dist/server/node_modules/auto-bind/package.json +51 -0
  173. package/dist/server/node_modules/auto-bind/react.d.ts +26 -0
  174. package/dist/server/node_modules/auto-bind/react.js +28 -0
  175. package/dist/server/node_modules/auto-bind/readme.md +92 -0
  176. package/dist/server/node_modules/chalk/license +9 -0
  177. package/dist/server/node_modules/chalk/package.json +83 -0
  178. package/dist/server/node_modules/chalk/readme.md +297 -0
  179. package/dist/server/node_modules/chalk/source/index.d.ts +325 -0
  180. package/dist/server/node_modules/chalk/source/index.js +225 -0
  181. package/dist/server/node_modules/chalk/source/utilities.js +33 -0
  182. package/dist/server/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  183. package/dist/server/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  184. package/dist/server/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  185. package/dist/server/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  186. package/dist/server/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  187. package/dist/server/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
  188. package/dist/server/node_modules/cli-cursor/index.d.ts +47 -0
  189. package/dist/server/node_modules/cli-cursor/index.js +39 -0
  190. package/dist/server/node_modules/cli-cursor/license +9 -0
  191. package/dist/server/node_modules/cli-cursor/package.json +49 -0
  192. package/dist/server/node_modules/cli-cursor/readme.md +51 -0
  193. package/dist/server/node_modules/cli-truncate/index.d.ts +118 -0
  194. package/dist/server/node_modules/cli-truncate/index.js +168 -0
  195. package/dist/server/node_modules/cli-truncate/license +9 -0
  196. package/dist/server/node_modules/cli-truncate/package.json +52 -0
  197. package/dist/server/node_modules/cli-truncate/readme.md +154 -0
  198. package/dist/server/node_modules/deepmerge/.editorconfig +7 -0
  199. package/dist/server/node_modules/deepmerge/.eslintcache +1 -0
  200. package/dist/server/node_modules/deepmerge/changelog.md +167 -0
  201. package/dist/server/node_modules/deepmerge/dist/cjs.js +133 -0
  202. package/dist/server/node_modules/deepmerge/dist/umd.js +139 -0
  203. package/dist/server/node_modules/deepmerge/index.d.ts +20 -0
  204. package/dist/server/node_modules/deepmerge/index.js +106 -0
  205. package/dist/server/node_modules/deepmerge/license.txt +21 -0
  206. package/dist/server/node_modules/deepmerge/package.json +42 -0
  207. package/dist/server/node_modules/deepmerge/readme.md +264 -0
  208. package/dist/server/node_modules/deepmerge/rollup.config.js +22 -0
  209. package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  210. package/dist/server/node_modules/emoji-regex/README.md +107 -0
  211. package/dist/server/node_modules/emoji-regex/index.d.ts +3 -0
  212. package/dist/server/node_modules/emoji-regex/index.js +4 -0
  213. package/dist/server/node_modules/emoji-regex/index.mjs +4 -0
  214. package/dist/server/node_modules/emoji-regex/package.json +45 -0
  215. package/dist/server/node_modules/environment/index.d.ts +74 -0
  216. package/dist/server/node_modules/environment/index.js +47 -0
  217. package/dist/server/node_modules/environment/license +9 -0
  218. package/dist/server/node_modules/environment/package.json +74 -0
  219. package/dist/server/node_modules/environment/readme.md +94 -0
  220. package/dist/server/node_modules/escape-string-regexp/index.d.ts +18 -0
  221. package/dist/server/node_modules/escape-string-regexp/index.js +11 -0
  222. package/dist/server/node_modules/escape-string-regexp/license +9 -0
  223. package/dist/server/node_modules/escape-string-regexp/package.json +43 -0
  224. package/dist/server/node_modules/escape-string-regexp/readme.md +29 -0
  225. package/dist/server/node_modules/indent-string/index.d.ts +38 -0
  226. package/dist/server/node_modules/indent-string/index.js +38 -0
  227. package/dist/server/node_modules/indent-string/license +9 -0
  228. package/dist/server/node_modules/indent-string/package.json +40 -0
  229. package/dist/server/node_modules/indent-string/readme.md +73 -0
  230. package/dist/server/node_modules/ink/build/ansi-tokenizer.d.ts +38 -0
  231. package/dist/server/node_modules/ink/build/ansi-tokenizer.js +316 -0
  232. package/dist/server/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
  233. package/dist/server/node_modules/ink/build/apply-styles.js +175 -0
  234. package/dist/server/node_modules/ink/build/build-layout.js +77 -0
  235. package/dist/server/node_modules/ink/build/calculate-wrapped-text.js +53 -0
  236. package/dist/server/node_modules/ink/build/colorize.d.ts +3 -0
  237. package/dist/server/node_modules/ink/build/colorize.js +48 -0
  238. package/dist/server/node_modules/ink/build/colorize.js.map +1 -0
  239. package/dist/server/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
  240. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js +5 -0
  241. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
  242. package/dist/server/node_modules/ink/build/components/App.d.ts +18 -0
  243. package/dist/server/node_modules/ink/build/components/App.js +351 -0
  244. package/dist/server/node_modules/ink/build/components/App.js.map +1 -0
  245. package/dist/server/node_modules/ink/build/components/AppContext.d.ts +15 -0
  246. package/dist/server/node_modules/ink/build/components/AppContext.js +11 -0
  247. package/dist/server/node_modules/ink/build/components/AppContext.js.map +1 -0
  248. package/dist/server/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
  249. package/dist/server/node_modules/ink/build/components/BackgroundContext.js +3 -0
  250. package/dist/server/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
  251. package/dist/server/node_modules/ink/build/components/Box.d.ts +117 -0
  252. package/dist/server/node_modules/ink/build/components/Box.js +34 -0
  253. package/dist/server/node_modules/ink/build/components/Box.js.map +1 -0
  254. package/dist/server/node_modules/ink/build/components/Color.js +62 -0
  255. package/dist/server/node_modules/ink/build/components/Cursor.d.ts +83 -0
  256. package/dist/server/node_modules/ink/build/components/Cursor.js +53 -0
  257. package/dist/server/node_modules/ink/build/components/Cursor.js.map +1 -0
  258. package/dist/server/node_modules/ink/build/components/CursorContext.d.ts +11 -0
  259. package/dist/server/node_modules/ink/build/components/CursorContext.js +8 -0
  260. package/dist/server/node_modules/ink/build/components/CursorContext.js.map +1 -0
  261. package/dist/server/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
  262. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js +23 -0
  263. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
  264. package/dist/server/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
  265. package/dist/server/node_modules/ink/build/components/ErrorOverview.js +84 -0
  266. package/dist/server/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
  267. package/dist/server/node_modules/ink/build/components/FocusContext.d.ts +16 -0
  268. package/dist/server/node_modules/ink/build/components/FocusContext.js +17 -0
  269. package/dist/server/node_modules/ink/build/components/FocusContext.js.map +1 -0
  270. package/dist/server/node_modules/ink/build/components/Newline.d.ts +13 -0
  271. package/dist/server/node_modules/ink/build/components/Newline.js +8 -0
  272. package/dist/server/node_modules/ink/build/components/Newline.js.map +1 -0
  273. package/dist/server/node_modules/ink/build/components/Spacer.d.ts +7 -0
  274. package/dist/server/node_modules/ink/build/components/Spacer.js +11 -0
  275. package/dist/server/node_modules/ink/build/components/Spacer.js.map +1 -0
  276. package/dist/server/node_modules/ink/build/components/Static.d.ts +24 -0
  277. package/dist/server/node_modules/ink/build/components/Static.js +28 -0
  278. package/dist/server/node_modules/ink/build/components/Static.js.map +1 -0
  279. package/dist/server/node_modules/ink/build/components/StderrContext.d.ts +15 -0
  280. package/dist/server/node_modules/ink/build/components/StderrContext.js +13 -0
  281. package/dist/server/node_modules/ink/build/components/StderrContext.js.map +1 -0
  282. package/dist/server/node_modules/ink/build/components/StdinContext.d.ts +22 -0
  283. package/dist/server/node_modules/ink/build/components/StdinContext.js +19 -0
  284. package/dist/server/node_modules/ink/build/components/StdinContext.js.map +1 -0
  285. package/dist/server/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
  286. package/dist/server/node_modules/ink/build/components/StdoutContext.js +13 -0
  287. package/dist/server/node_modules/ink/build/components/StdoutContext.js.map +1 -0
  288. package/dist/server/node_modules/ink/build/components/Text.d.ts +55 -0
  289. package/dist/server/node_modules/ink/build/components/Text.js +50 -0
  290. package/dist/server/node_modules/ink/build/components/Text.js.map +1 -0
  291. package/dist/server/node_modules/ink/build/components/Transform.d.ts +16 -0
  292. package/dist/server/node_modules/ink/build/components/Transform.js +15 -0
  293. package/dist/server/node_modules/ink/build/components/Transform.js.map +1 -0
  294. package/dist/server/node_modules/ink/build/cursor-helpers.d.ts +38 -0
  295. package/dist/server/node_modules/ink/build/cursor-helpers.js +56 -0
  296. package/dist/server/node_modules/ink/build/cursor-helpers.js.map +1 -0
  297. package/dist/server/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
  298. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js +65 -0
  299. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
  300. package/dist/server/node_modules/ink/build/devtools.d.ts +1 -0
  301. package/dist/server/node_modules/ink/build/devtools.js +11 -0
  302. package/dist/server/node_modules/ink/build/devtools.js.map +1 -0
  303. package/dist/server/node_modules/ink/build/dom.d.ts +56 -0
  304. package/dist/server/node_modules/ink/build/dom.js +124 -0
  305. package/dist/server/node_modules/ink/build/dom.js.map +1 -0
  306. package/dist/server/node_modules/ink/build/experimental/apply-style.js +140 -0
  307. package/dist/server/node_modules/ink/build/experimental/dom.js +123 -0
  308. package/dist/server/node_modules/ink/build/experimental/output.js +91 -0
  309. package/dist/server/node_modules/ink/build/experimental/reconciler.js +141 -0
  310. package/dist/server/node_modules/ink/build/experimental/renderer.js +81 -0
  311. package/dist/server/node_modules/ink/build/get-max-width.d.ts +3 -0
  312. package/dist/server/node_modules/ink/build/get-max-width.js +10 -0
  313. package/dist/server/node_modules/ink/build/get-max-width.js.map +1 -0
  314. package/dist/server/node_modules/ink/build/hooks/use-app.d.ts +5 -0
  315. package/dist/server/node_modules/ink/build/hooks/use-app.js +8 -0
  316. package/dist/server/node_modules/ink/build/hooks/use-app.js.map +1 -0
  317. package/dist/server/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
  318. package/dist/server/node_modules/ink/build/hooks/use-cursor.js +29 -0
  319. package/dist/server/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
  320. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.d.ts +28 -0
  321. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js +17 -0
  322. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
  323. package/dist/server/node_modules/ink/build/hooks/use-focus.d.ts +29 -0
  324. package/dist/server/node_modules/ink/build/hooks/use-focus.js +42 -0
  325. package/dist/server/node_modules/ink/build/hooks/use-focus.js.map +1 -0
  326. package/dist/server/node_modules/ink/build/hooks/use-input.d.ts +131 -0
  327. package/dist/server/node_modules/ink/build/hooks/use-input.js +124 -0
  328. package/dist/server/node_modules/ink/build/hooks/use-input.js.map +1 -0
  329. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +5 -0
  330. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +11 -0
  331. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
  332. package/dist/server/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
  333. package/dist/server/node_modules/ink/build/hooks/use-stderr.js +8 -0
  334. package/dist/server/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
  335. package/dist/server/node_modules/ink/build/hooks/use-stdin.d.ts +5 -0
  336. package/dist/server/node_modules/ink/build/hooks/use-stdin.js +8 -0
  337. package/dist/server/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
  338. package/dist/server/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
  339. package/dist/server/node_modules/ink/build/hooks/use-stdout.js +8 -0
  340. package/dist/server/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
  341. package/dist/server/node_modules/ink/build/hooks/useInput.js +38 -0
  342. package/dist/server/node_modules/ink/build/index.d.ts +34 -0
  343. package/dist/server/node_modules/ink/build/index.js +20 -0
  344. package/dist/server/node_modules/ink/build/index.js.map +1 -0
  345. package/dist/server/node_modules/ink/build/ink.d.ts +90 -0
  346. package/dist/server/node_modules/ink/build/ink.js +637 -0
  347. package/dist/server/node_modules/ink/build/ink.js.map +1 -0
  348. package/dist/server/node_modules/ink/build/input-parser.d.ts +7 -0
  349. package/dist/server/node_modules/ink/build/input-parser.js +154 -0
  350. package/dist/server/node_modules/ink/build/input-parser.js.map +1 -0
  351. package/dist/server/node_modules/ink/build/instance.js +205 -0
  352. package/dist/server/node_modules/ink/build/instances.d.ts +3 -0
  353. package/dist/server/node_modules/ink/build/instances.js +8 -0
  354. package/dist/server/node_modules/ink/build/instances.js.map +1 -0
  355. package/dist/server/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
  356. package/dist/server/node_modules/ink/build/kitty-keyboard.js +32 -0
  357. package/dist/server/node_modules/ink/build/kitty-keyboard.js.map +1 -0
  358. package/dist/server/node_modules/ink/build/layout.d.ts +7 -0
  359. package/dist/server/node_modules/ink/build/layout.js +33 -0
  360. package/dist/server/node_modules/ink/build/layout.js.map +1 -0
  361. package/dist/server/node_modules/ink/build/log-update.d.ts +19 -0
  362. package/dist/server/node_modules/ink/build/log-update.js +242 -0
  363. package/dist/server/node_modules/ink/build/log-update.js.map +1 -0
  364. package/dist/server/node_modules/ink/build/measure-element.d.ts +16 -0
  365. package/dist/server/node_modules/ink/build/measure-element.js +9 -0
  366. package/dist/server/node_modules/ink/build/measure-element.js.map +1 -0
  367. package/dist/server/node_modules/ink/build/measure-text.d.ts +6 -0
  368. package/dist/server/node_modules/ink/build/measure-text.js +21 -0
  369. package/dist/server/node_modules/ink/build/measure-text.js.map +1 -0
  370. package/dist/server/node_modules/ink/build/options.d.ts +52 -0
  371. package/dist/server/node_modules/ink/build/options.js +2 -0
  372. package/dist/server/node_modules/ink/build/options.js.map +1 -0
  373. package/dist/server/node_modules/ink/build/output.d.ts +35 -0
  374. package/dist/server/node_modules/ink/build/output.js +183 -0
  375. package/dist/server/node_modules/ink/build/output.js.map +1 -0
  376. package/dist/server/node_modules/ink/build/parse-keypress.d.ts +22 -0
  377. package/dist/server/node_modules/ink/build/parse-keypress.js +493 -0
  378. package/dist/server/node_modules/ink/build/parse-keypress.js.map +1 -0
  379. package/dist/server/node_modules/ink/build/reconciler.d.ts +4 -0
  380. package/dist/server/node_modules/ink/build/reconciler.js +274 -0
  381. package/dist/server/node_modules/ink/build/reconciler.js.map +1 -0
  382. package/dist/server/node_modules/ink/build/render-background.d.ts +4 -0
  383. package/dist/server/node_modules/ink/build/render-background.js +25 -0
  384. package/dist/server/node_modules/ink/build/render-background.js.map +1 -0
  385. package/dist/server/node_modules/ink/build/render-border.d.ts +4 -0
  386. package/dist/server/node_modules/ink/build/render-border.js +73 -0
  387. package/dist/server/node_modules/ink/build/render-border.js.map +1 -0
  388. package/dist/server/node_modules/ink/build/render-node-to-output.d.ts +14 -0
  389. package/dist/server/node_modules/ink/build/render-node-to-output.js +147 -0
  390. package/dist/server/node_modules/ink/build/render-node-to-output.js.map +1 -0
  391. package/dist/server/node_modules/ink/build/render-to-string.d.ts +38 -0
  392. package/dist/server/node_modules/ink/build/render-to-string.js +115 -0
  393. package/dist/server/node_modules/ink/build/render-to-string.js.map +1 -0
  394. package/dist/server/node_modules/ink/build/render.d.ts +121 -0
  395. package/dist/server/node_modules/ink/build/render.js +55 -0
  396. package/dist/server/node_modules/ink/build/render.js.map +1 -0
  397. package/dist/server/node_modules/ink/build/renderer.d.ts +8 -0
  398. package/dist/server/node_modules/ink/build/renderer.js +55 -0
  399. package/dist/server/node_modules/ink/build/renderer.js.map +1 -0
  400. package/dist/server/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
  401. package/dist/server/node_modules/ink/build/sanitize-ansi.js +27 -0
  402. package/dist/server/node_modules/ink/build/sanitize-ansi.js.map +1 -0
  403. package/dist/server/node_modules/ink/build/screen-reader-update.d.ts +13 -0
  404. package/dist/server/node_modules/ink/build/screen-reader-update.js +38 -0
  405. package/dist/server/node_modules/ink/build/screen-reader-update.js.map +1 -0
  406. package/dist/server/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
  407. package/dist/server/node_modules/ink/build/squash-text-nodes.js +36 -0
  408. package/dist/server/node_modules/ink/build/squash-text-nodes.js.map +1 -0
  409. package/dist/server/node_modules/ink/build/styles.d.ts +240 -0
  410. package/dist/server/node_modules/ink/build/styles.js +232 -0
  411. package/dist/server/node_modules/ink/build/styles.js.map +1 -0
  412. package/dist/server/node_modules/ink/build/utils.d.ts +2 -0
  413. package/dist/server/node_modules/ink/build/utils.js +4 -0
  414. package/dist/server/node_modules/ink/build/utils.js.map +1 -0
  415. package/dist/server/node_modules/ink/build/wrap-text.d.ts +3 -0
  416. package/dist/server/node_modules/ink/build/wrap-text.js +31 -0
  417. package/dist/server/node_modules/ink/build/wrap-text.js.map +1 -0
  418. package/dist/server/node_modules/ink/build/write-synchronized.d.ts +4 -0
  419. package/dist/server/node_modules/ink/build/write-synchronized.js +7 -0
  420. package/dist/server/node_modules/ink/build/write-synchronized.js.map +1 -0
  421. package/dist/server/node_modules/ink/license +10 -0
  422. package/dist/server/node_modules/ink/package.json +201 -0
  423. package/dist/server/node_modules/ink/readme.md +2636 -0
  424. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  425. package/dist/server/node_modules/is-fullwidth-code-point/index.js +12 -0
  426. package/dist/server/node_modules/is-fullwidth-code-point/license +9 -0
  427. package/dist/server/node_modules/is-fullwidth-code-point/package.json +53 -0
  428. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
  429. package/dist/server/node_modules/is-in-ci/cli.js +5 -0
  430. package/dist/server/node_modules/is-in-ci/index.d.ts +15 -0
  431. package/dist/server/node_modules/is-in-ci/index.js +7 -0
  432. package/dist/server/node_modules/is-in-ci/license +9 -0
  433. package/dist/server/node_modules/is-in-ci/package.json +49 -0
  434. package/dist/server/node_modules/is-in-ci/readme.md +44 -0
  435. package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
  436. package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
  437. package/dist/server/node_modules/is-unicode-supported/license +9 -0
  438. package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
  439. package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
  440. package/dist/server/node_modules/onetime/index.d.ts +64 -0
  441. package/dist/server/node_modules/onetime/index.js +44 -0
  442. package/dist/server/node_modules/onetime/license +9 -0
  443. package/dist/server/node_modules/onetime/package.json +43 -0
  444. package/dist/server/node_modules/onetime/readme.md +94 -0
  445. package/dist/server/node_modules/patch-console/dist/index.d.ts +4 -0
  446. package/dist/server/node_modules/patch-console/dist/index.js +45 -0
  447. package/dist/server/node_modules/patch-console/dist/index.js.map +1 -0
  448. package/dist/server/node_modules/patch-console/license +9 -0
  449. package/dist/server/node_modules/patch-console/package.json +53 -0
  450. package/dist/server/node_modules/patch-console/readme.md +62 -0
  451. package/dist/server/node_modules/{pg → react-reconciler}/LICENSE +1 -1
  452. package/dist/server/node_modules/react-reconciler/README.md +353 -0
  453. package/dist/server/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +19 -0
  454. package/dist/server/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js +18 -0
  455. package/dist/server/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +394 -0
  456. package/dist/server/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.js +382 -0
  457. package/dist/server/node_modules/react-reconciler/cjs/react-reconciler.development.js +19736 -0
  458. package/dist/server/node_modules/react-reconciler/cjs/react-reconciler.production.js +11594 -0
  459. package/dist/server/node_modules/react-reconciler/cjs/react-reconciler.profiling.js +13427 -0
  460. package/dist/server/node_modules/react-reconciler/constants.js +7 -0
  461. package/dist/server/node_modules/react-reconciler/index.js +7 -0
  462. package/dist/server/node_modules/react-reconciler/package.json +34 -0
  463. package/dist/server/node_modules/react-reconciler/reflection.js +7 -0
  464. package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
  465. package/dist/server/node_modules/restore-cursor/index.js +11 -0
  466. package/dist/server/node_modules/restore-cursor/license +9 -0
  467. package/dist/server/node_modules/restore-cursor/package.json +55 -0
  468. package/dist/server/node_modules/restore-cursor/readme.md +31 -0
  469. package/dist/server/node_modules/split2/LICENSE +13 -0
  470. package/dist/server/node_modules/split2/README.md +85 -0
  471. package/dist/server/node_modules/split2/bench.js +27 -0
  472. package/dist/server/node_modules/split2/index.js +141 -0
  473. package/dist/server/node_modules/split2/package.json +39 -0
  474. package/dist/server/node_modules/split2/test.js +409 -0
  475. package/dist/server/node_modules/string-width/index.d.ts +39 -0
  476. package/dist/server/node_modules/string-width/index.js +82 -0
  477. package/dist/server/node_modules/string-width/license +9 -0
  478. package/dist/server/node_modules/string-width/package.json +64 -0
  479. package/dist/server/node_modules/string-width/readme.md +66 -0
  480. package/dist/server/node_modules/terminal-size/index.d.ts +17 -0
  481. package/dist/server/node_modules/terminal-size/index.js +139 -0
  482. package/dist/server/node_modules/terminal-size/license +9 -0
  483. package/dist/server/node_modules/terminal-size/package.json +49 -0
  484. package/dist/server/node_modules/terminal-size/readme.md +32 -0
  485. package/dist/server/node_modules/widest-line/index.d.ts +12 -0
  486. package/dist/server/node_modules/widest-line/index.js +11 -0
  487. package/dist/server/node_modules/widest-line/license +9 -0
  488. package/dist/server/node_modules/widest-line/package.json +60 -0
  489. package/dist/server/node_modules/widest-line/readme.md +26 -0
  490. package/dist/server/node_modules/wrap-ansi/index.d.ts +41 -0
  491. package/dist/server/node_modules/wrap-ansi/index.js +222 -0
  492. package/dist/server/node_modules/wrap-ansi/license +9 -0
  493. package/dist/server/node_modules/wrap-ansi/package.json +69 -0
  494. package/dist/server/node_modules/wrap-ansi/readme.md +75 -0
  495. package/dist/server/node_modules/xtend/.jshintrc +30 -0
  496. package/dist/server/node_modules/xtend/LICENSE +20 -0
  497. package/dist/server/node_modules/xtend/README.md +32 -0
  498. package/dist/server/node_modules/xtend/immutable.js +19 -0
  499. package/dist/server/node_modules/xtend/mutable.js +17 -0
  500. package/dist/server/node_modules/xtend/package.json +55 -0
  501. package/dist/server/node_modules/xtend/test.js +103 -0
  502. package/dist/server/node_modules/yoga-layout/README.md +40 -0
  503. package/dist/server/node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js +75 -0
  504. package/dist/server/node_modules/yoga-layout/dist/src/generated/YGEnums.d.ts +189 -0
  505. package/dist/server/node_modules/yoga-layout/dist/src/generated/YGEnums.js +211 -0
  506. package/dist/server/node_modules/yoga-layout/dist/src/generated/YGEnums.js.map +1 -0
  507. package/dist/server/node_modules/yoga-layout/dist/src/index.d.ts +12 -0
  508. package/dist/server/node_modules/yoga-layout/dist/src/index.js +16 -0
  509. package/dist/server/node_modules/yoga-layout/dist/src/index.js.map +1 -0
  510. package/dist/server/node_modules/yoga-layout/dist/src/load.d.ts +11 -0
  511. package/dist/server/node_modules/yoga-layout/dist/src/load.js +17 -0
  512. package/dist/server/node_modules/yoga-layout/dist/src/load.js.map +1 -0
  513. package/dist/server/node_modules/yoga-layout/dist/src/wrapAssembly.d.ts +155 -0
  514. package/dist/server/node_modules/yoga-layout/dist/src/wrapAssembly.js +125 -0
  515. package/dist/server/node_modules/yoga-layout/dist/src/wrapAssembly.js.map +1 -0
  516. package/dist/server/node_modules/yoga-layout/package.json +53 -0
  517. package/dist/server/node_modules/yoga-layout/src/Config.cpp +54 -0
  518. package/dist/server/node_modules/yoga-layout/src/Config.h +44 -0
  519. package/dist/server/node_modules/yoga-layout/src/Layout.h +19 -0
  520. package/dist/server/node_modules/yoga-layout/src/Node.cpp +507 -0
  521. package/dist/server/node_modules/yoga-layout/src/Node.h +239 -0
  522. package/dist/server/node_modules/yoga-layout/src/Size.h +17 -0
  523. package/dist/server/node_modules/yoga-layout/src/Value.h +23 -0
  524. package/dist/server/node_modules/yoga-layout/src/embind.cpp +207 -0
  525. package/dist/server/node_modules/yoga-layout/src/generated/YGEnums.ts +210 -0
  526. package/dist/server/node_modules/yoga-layout/src/index.ts +23 -0
  527. package/dist/server/node_modules/yoga-layout/src/load.ts +25 -0
  528. package/dist/server/node_modules/yoga-layout/src/wrapAssembly.ts +336 -0
  529. package/package.json +1 -1
  530. package/dist/client/assets/ai-providers-D-IR9UZj.js +0 -1
  531. package/dist/client/assets/registry-RhRTyf-3.js +0 -2
  532. package/dist/client/assets/store-registry-Fp0RwcQv.js +0 -2
  533. package/dist/client/assets/useInfiniteQuery-ch_R3hWu.js +0 -1
  534. package/dist/client/assets/useSuspenseInfiniteQuery-BU66AZeq.js +0 -1
  535. package/dist/client/assets/workflow-detail-DR2tbuTB.js +0 -1
  536. package/dist/server/node_modules/get-east-asian-width/index.d.ts +0 -60
  537. package/dist/server/node_modules/get-east-asian-width/index.js +0 -30
  538. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +0 -18
  539. package/dist/server/node_modules/get-east-asian-width/lookup.js +0 -135
  540. package/dist/server/node_modules/get-east-asian-width/package.json +0 -71
  541. package/dist/server/node_modules/get-east-asian-width/readme.md +0 -65
  542. package/dist/server/node_modules/get-east-asian-width/utilities.js +0 -24
  543. package/dist/server/node_modules/pg/README.md +0 -95
  544. package/dist/server/node_modules/pg/esm/index.mjs +0 -20
  545. package/dist/server/node_modules/pg/lib/client.js +0 -743
  546. package/dist/server/node_modules/pg/lib/connection-parameters.js +0 -171
  547. package/dist/server/node_modules/pg/lib/connection.js +0 -221
  548. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
  549. package/dist/server/node_modules/pg/lib/crypto/sasl.js +0 -212
  550. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +0 -43
  551. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +0 -89
  552. package/dist/server/node_modules/pg/lib/crypto/utils.js +0 -9
  553. package/dist/server/node_modules/pg/lib/defaults.js +0 -91
  554. package/dist/server/node_modules/pg/lib/index.js +0 -73
  555. package/dist/server/node_modules/pg/lib/native/client.js +0 -323
  556. package/dist/server/node_modules/pg/lib/native/index.js +0 -2
  557. package/dist/server/node_modules/pg/lib/native/query.js +0 -165
  558. package/dist/server/node_modules/pg/lib/query.js +0 -252
  559. package/dist/server/node_modules/pg/lib/result.js +0 -109
  560. package/dist/server/node_modules/pg/lib/stream.js +0 -83
  561. package/dist/server/node_modules/pg/lib/type-overrides.js +0 -35
  562. package/dist/server/node_modules/pg/lib/utils.js +0 -217
  563. package/dist/server/node_modules/pg/package.json +0 -76
  564. /package/dist/server/node_modules/{get-east-asian-width → ansi-escapes}/license +0 -0
@@ -0,0 +1,139 @@
1
+ import process from 'node:process';
2
+ import {execFileSync} from 'node:child_process';
3
+ import fs from 'node:fs';
4
+ import tty from 'node:tty';
5
+
6
+ const defaultColumns = 80;
7
+ const defaultRows = 24;
8
+
9
+ const exec = (command, arguments_, {shell, env} = {}) =>
10
+ execFileSync(command, arguments_, {
11
+ encoding: 'utf8',
12
+ stdio: ['ignore', 'pipe', 'ignore'],
13
+ timeout: 500,
14
+ shell,
15
+ env,
16
+ }).trim();
17
+
18
+ const create = (columns, rows) => ({
19
+ columns: Number.parseInt(columns, 10),
20
+ rows: Number.parseInt(rows, 10),
21
+ });
22
+
23
+ const createIfNotDefault = (maybeColumns, maybeRows) => {
24
+ const {columns, rows} = create(maybeColumns, maybeRows);
25
+
26
+ if (Number.isNaN(columns) || Number.isNaN(rows)) {
27
+ return;
28
+ }
29
+
30
+ if (columns === defaultColumns && rows === defaultRows) {
31
+ return;
32
+ }
33
+
34
+ return {columns, rows};
35
+ };
36
+
37
+ const isForegroundProcess = () => {
38
+ if (process.platform !== 'linux') {
39
+ return true;
40
+ }
41
+
42
+ try {
43
+ const statContents = fs.readFileSync('/proc/self/stat', 'utf8');
44
+ const closingParenthesisIndex = statContents.lastIndexOf(') ');
45
+
46
+ if (closingParenthesisIndex === -1) {
47
+ return false;
48
+ }
49
+
50
+ const statFields = statContents.slice(closingParenthesisIndex + 2).trim().split(/\s+/);
51
+ const processGroupId = Number.parseInt(statFields[2], 10);
52
+ const foregroundProcessGroupId = Number.parseInt(statFields[5], 10);
53
+
54
+ if (Number.isNaN(processGroupId) || Number.isNaN(foregroundProcessGroupId)) {
55
+ return false;
56
+ }
57
+
58
+ if (foregroundProcessGroupId <= 0) {
59
+ return false;
60
+ }
61
+
62
+ return processGroupId === foregroundProcessGroupId;
63
+ } catch {
64
+ return false;
65
+ }
66
+ };
67
+
68
+ export default function terminalSize() {
69
+ const {env, stdout, stderr} = process;
70
+
71
+ if (stdout?.columns && stdout?.rows) {
72
+ return create(stdout.columns, stdout.rows);
73
+ }
74
+
75
+ if (stderr?.columns && stderr?.rows) {
76
+ return create(stderr.columns, stderr.rows);
77
+ }
78
+
79
+ // These values are static, so not the first choice.
80
+ if (env.COLUMNS && env.LINES) {
81
+ return create(env.COLUMNS, env.LINES);
82
+ }
83
+
84
+ const fallback = {
85
+ columns: defaultColumns,
86
+ rows: defaultRows,
87
+ };
88
+
89
+ if (process.platform === 'win32') {
90
+ // We include `tput` for Windows users using Git Bash.
91
+ return tput() ?? fallback;
92
+ }
93
+
94
+ if (process.platform === 'darwin') {
95
+ return devTty() ?? tput() ?? fallback;
96
+ }
97
+
98
+ return devTty() ?? tput() ?? resize() ?? fallback;
99
+ }
100
+
101
+ const devTty = () => {
102
+ try {
103
+ // eslint-disable-next-line no-bitwise
104
+ const flags = process.platform === 'darwin' ? fs.constants.O_EVTONLY | fs.constants.O_NONBLOCK : fs.constants.O_NONBLOCK;
105
+ // eslint-disable-next-line new-cap
106
+ const {columns, rows} = tty.WriteStream(fs.openSync('/dev/tty', flags));
107
+ return {columns, rows};
108
+ } catch {}
109
+ };
110
+
111
+ // On macOS, this only returns correct values when stdout is not redirected.
112
+ const tput = () => {
113
+ try {
114
+ // `tput` requires the `TERM` environment variable to be set.
115
+ const columns = exec('tput', ['cols'], {env: {TERM: 'dumb', ...process.env}});
116
+ const rows = exec('tput', ['lines'], {env: {TERM: 'dumb', ...process.env}});
117
+
118
+ if (columns && rows) {
119
+ return createIfNotDefault(columns, rows);
120
+ }
121
+ } catch {}
122
+ };
123
+
124
+ // Only exists on Linux.
125
+ const resize = () => {
126
+ // `resize` is preferred as it works even when all file descriptors are redirected
127
+ // https://linux.die.net/man/1/resize
128
+ try {
129
+ if (!isForegroundProcess()) {
130
+ return;
131
+ }
132
+
133
+ const size = exec('resize', ['-u']).match(/\d+/g);
134
+
135
+ if (size.length === 2) {
136
+ return createIfNotDefault(size[0], size[1]);
137
+ }
138
+ } catch {}
139
+ };
@@ -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,49 @@
1
+ {
2
+ "name": "terminal-size",
3
+ "version": "4.0.1",
4
+ "description": "Reliably get the terminal window size (columns & rows)",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/terminal-size",
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
+ "vendor"
29
+ ],
30
+ "keywords": [
31
+ "terminal",
32
+ "size",
33
+ "console",
34
+ "window",
35
+ "width",
36
+ "height",
37
+ "columns",
38
+ "rows",
39
+ "lines",
40
+ "tty",
41
+ "redirected"
42
+ ],
43
+ "devDependencies": {
44
+ "ava": "^5.3.1",
45
+ "execa": "^8.0.1",
46
+ "tsd": "^0.29.0",
47
+ "xo": "^0.56.0"
48
+ }
49
+ }
@@ -0,0 +1,32 @@
1
+ # terminal-size
2
+
3
+ > Reliably get the terminal window size
4
+
5
+ Because [`process.stdout.columns`](https://nodejs.org/api/tty.html#tty_writestream_columns) doesn't exist when run [non-interactively](http://www.tldp.org/LDP/abs/html/intandnonint.html), for example, in a child process or when piped. This module even works when all the TTY file descriptors are redirected!
6
+
7
+ Confirmed working on macOS, Linux, and Windows.
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ npm install terminal-size
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ import terminalSize from 'terminal-size';
19
+
20
+ terminalSize();
21
+ //=> {columns: 143, rows: 24}
22
+ ```
23
+
24
+ ## API
25
+
26
+ ### terminalSize()
27
+
28
+ Returns an `object` with `columns` and `rows` properties.
29
+
30
+ ## Related
31
+
32
+ - [terminal-size-cli](https://github.com/sindresorhus/terminal-size-cli) - CLI for this module
@@ -0,0 +1,12 @@
1
+ /**
2
+ Get the visual width of the widest line in a string - the number of columns required to display it.
3
+
4
+ @example
5
+ ```
6
+ import widestLine from 'widest-line';
7
+
8
+ widestLine('古\n\u001B[1m@\u001B[22m');
9
+ //=> 2
10
+ ```
11
+ */
12
+ export default function widestLine(string: string): number;
@@ -0,0 +1,11 @@
1
+ import stringWidth from 'string-width';
2
+
3
+ export default function widestLine(string) {
4
+ let lineWidth = 0;
5
+
6
+ for (const line of string.split('\n')) {
7
+ lineWidth = Math.max(lineWidth, stringWidth(line));
8
+ }
9
+
10
+ return lineWidth;
11
+ }
@@ -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,60 @@
1
+ {
2
+ "name": "widest-line",
3
+ "version": "6.0.0",
4
+ "description": "Get the visual width of the widest line in a string - the number of columns required to display it",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/widest-line",
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": ">=20"
21
+ },
22
+ "scripts": {
23
+ "test": "xo && ava"
24
+ },
25
+ "files": [
26
+ "index.js",
27
+ "index.d.ts"
28
+ ],
29
+ "keywords": [
30
+ "string",
31
+ "character",
32
+ "unicode",
33
+ "width",
34
+ "visual",
35
+ "column",
36
+ "columns",
37
+ "fullwidth",
38
+ "full-width",
39
+ "full",
40
+ "ansi",
41
+ "escape",
42
+ "codes",
43
+ "cli",
44
+ "command-line",
45
+ "terminal",
46
+ "console",
47
+ "cjk",
48
+ "chinese",
49
+ "japanese",
50
+ "korean",
51
+ "fixed-width"
52
+ ],
53
+ "dependencies": {
54
+ "string-width": "^8.1.0"
55
+ },
56
+ "devDependencies": {
57
+ "ava": "^6.4.1",
58
+ "xo": "^1.2.3"
59
+ }
60
+ }
@@ -0,0 +1,26 @@
1
+ # widest-line
2
+
3
+ > Get the visual width of the widest line in a string - the number of columns required to display it
4
+
5
+ Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
6
+
7
+ Useful to be able to know the maximum width a string will take up in the terminal.
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ npm install widest-line
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ import widestLine from 'widest-line';
19
+
20
+ widestLine('古\n\u001B[1m@\u001B[22m');
21
+ //=> 2
22
+ ```
23
+
24
+ ## Related
25
+
26
+ - [string-width](https://github.com/sindresorhus/string-width) - Get the visual width of a string
@@ -0,0 +1,41 @@
1
+ export type Options = {
2
+ /**
3
+ By default the wrap is soft, meaning long words may extend past the column width. Setting this to `true` will make it hard wrap at the column width.
4
+
5
+ @default false
6
+ */
7
+ readonly hard?: boolean;
8
+
9
+ /**
10
+ By default, an attempt is made to split words at spaces, ensuring that they don't extend past the configured columns. If wordWrap is `false`, each column will instead be completely filled splitting words as necessary.
11
+
12
+ @default true
13
+ */
14
+ readonly wordWrap?: boolean;
15
+
16
+ /**
17
+ Whitespace on all lines is removed by default. Set this option to `false` if you don't want to trim.
18
+
19
+ @default true
20
+ */
21
+ readonly trim?: boolean;
22
+ };
23
+
24
+ /**
25
+ Wrap words to the specified column width.
26
+
27
+ @param string - A string with ANSI escape codes, like one styled by [`chalk`](https://github.com/chalk/chalk). Newline characters will be normalized to `\n`.
28
+ @param columns - The number of columns to wrap the text to.
29
+
30
+ @example
31
+ ```
32
+ import chalk from 'chalk';
33
+ import wrapAnsi from 'wrap-ansi';
34
+
35
+ const input = 'The quick brown ' + chalk.red('fox jumped over ') +
36
+ 'the lazy ' + chalk.green('dog and then ran away with the unicorn.');
37
+
38
+ console.log(wrapAnsi(input, 20));
39
+ ```
40
+ */
41
+ export default function wrapAnsi(string: string, columns: number, options?: Options): string;
@@ -0,0 +1,222 @@
1
+ import stringWidth from 'string-width';
2
+ import stripAnsi from 'strip-ansi';
3
+ import ansiStyles from 'ansi-styles';
4
+
5
+ const ESCAPES = new Set([
6
+ '\u001B',
7
+ '\u009B',
8
+ ]);
9
+
10
+ const END_CODE = 39;
11
+ const ANSI_ESCAPE_BELL = '\u0007';
12
+ const ANSI_CSI = '[';
13
+ const ANSI_OSC = ']';
14
+ const ANSI_SGR_TERMINATOR = 'm';
15
+ const ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
16
+
17
+ const wrapAnsiCode = code => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
18
+ const wrapAnsiHyperlink = url => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
19
+
20
+ // Calculate the length of words split on ' ', ignoring
21
+ // the extra characters added by ansi escape codes
22
+ const wordLengths = string => string.split(' ').map(character => stringWidth(character));
23
+
24
+ // Wrap a long word across multiple rows
25
+ // Ansi escape codes do not count towards length
26
+ const wrapWord = (rows, word, columns) => {
27
+ const characters = [...word];
28
+
29
+ let isInsideEscape = false;
30
+ let isInsideLinkEscape = false;
31
+ let visible = stringWidth(stripAnsi(rows.at(-1)));
32
+
33
+ for (const [index, character] of characters.entries()) {
34
+ const characterLength = stringWidth(character);
35
+
36
+ if (visible + characterLength <= columns) {
37
+ rows[rows.length - 1] += character;
38
+ } else {
39
+ rows.push(character);
40
+ visible = 0;
41
+ }
42
+
43
+ if (ESCAPES.has(character)) {
44
+ isInsideEscape = true;
45
+
46
+ const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join('');
47
+ isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
48
+ }
49
+
50
+ if (isInsideEscape) {
51
+ if (isInsideLinkEscape) {
52
+ if (character === ANSI_ESCAPE_BELL) {
53
+ isInsideEscape = false;
54
+ isInsideLinkEscape = false;
55
+ }
56
+ } else if (character === ANSI_SGR_TERMINATOR) {
57
+ isInsideEscape = false;
58
+ }
59
+
60
+ continue;
61
+ }
62
+
63
+ visible += characterLength;
64
+
65
+ if (visible === columns && index < characters.length - 1) {
66
+ rows.push('');
67
+ visible = 0;
68
+ }
69
+ }
70
+
71
+ // It's possible that the last row we copy over is only
72
+ // ansi escape characters, handle this edge-case
73
+ if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
74
+ rows[rows.length - 2] += rows.pop();
75
+ }
76
+ };
77
+
78
+ // Trims spaces from a string ignoring invisible sequences
79
+ const stringVisibleTrimSpacesRight = string => {
80
+ const words = string.split(' ');
81
+ let last = words.length;
82
+
83
+ while (last > 0) {
84
+ if (stringWidth(words[last - 1]) > 0) {
85
+ break;
86
+ }
87
+
88
+ last--;
89
+ }
90
+
91
+ if (last === words.length) {
92
+ return string;
93
+ }
94
+
95
+ return words.slice(0, last).join(' ') + words.slice(last).join('');
96
+ };
97
+
98
+ // The wrap-ansi module can be invoked in either 'hard' or 'soft' wrap mode.
99
+ //
100
+ // 'hard' will never allow a string to take up more than columns characters.
101
+ //
102
+ // 'soft' allows long words to expand past the column length.
103
+ const exec = (string, columns, options = {}) => {
104
+ if (options.trim !== false && string.trim() === '') {
105
+ return '';
106
+ }
107
+
108
+ let returnValue = '';
109
+ let escapeCode;
110
+ let escapeUrl;
111
+
112
+ const lengths = wordLengths(string);
113
+ let rows = [''];
114
+
115
+ for (const [index, word] of string.split(' ').entries()) {
116
+ if (options.trim !== false) {
117
+ rows[rows.length - 1] = rows.at(-1).trimStart();
118
+ }
119
+
120
+ let rowLength = stringWidth(rows.at(-1));
121
+
122
+ if (index !== 0) {
123
+ if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
124
+ // If we start with a new word but the current row length equals the length of the columns, add a new row
125
+ rows.push('');
126
+ rowLength = 0;
127
+ }
128
+
129
+ if (rowLength > 0 || options.trim === false) {
130
+ rows[rows.length - 1] += ' ';
131
+ rowLength++;
132
+ }
133
+ }
134
+
135
+ // In 'hard' wrap mode, the length of a line is never allowed to extend past 'columns'
136
+ if (options.hard && lengths[index] > columns) {
137
+ const remainingColumns = (columns - rowLength);
138
+ const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
139
+ const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
140
+ if (breaksStartingNextLine < breaksStartingThisLine) {
141
+ rows.push('');
142
+ }
143
+
144
+ wrapWord(rows, word, columns);
145
+ continue;
146
+ }
147
+
148
+ if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
149
+ if (options.wordWrap === false && rowLength < columns) {
150
+ wrapWord(rows, word, columns);
151
+ continue;
152
+ }
153
+
154
+ rows.push('');
155
+ }
156
+
157
+ if (rowLength + lengths[index] > columns && options.wordWrap === false) {
158
+ wrapWord(rows, word, columns);
159
+ continue;
160
+ }
161
+
162
+ rows[rows.length - 1] += word;
163
+ }
164
+
165
+ if (options.trim !== false) {
166
+ rows = rows.map(row => stringVisibleTrimSpacesRight(row));
167
+ }
168
+
169
+ const preString = rows.join('\n');
170
+ const pre = [...preString];
171
+
172
+ // We need to keep a separate index as `String#slice()` works on Unicode code units, while `pre` is an array of codepoints.
173
+ let preStringIndex = 0;
174
+
175
+ for (const [index, character] of pre.entries()) {
176
+ returnValue += character;
177
+
178
+ if (ESCAPES.has(character)) {
179
+ const {groups} = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || {groups: {}};
180
+ if (groups.code !== undefined) {
181
+ const code = Number.parseFloat(groups.code);
182
+ escapeCode = code === END_CODE ? undefined : code;
183
+ } else if (groups.uri !== undefined) {
184
+ escapeUrl = groups.uri.length === 0 ? undefined : groups.uri;
185
+ }
186
+ }
187
+
188
+ const code = ansiStyles.codes.get(Number(escapeCode));
189
+
190
+ if (pre[index + 1] === '\n') {
191
+ if (escapeUrl) {
192
+ returnValue += wrapAnsiHyperlink('');
193
+ }
194
+
195
+ if (escapeCode && code) {
196
+ returnValue += wrapAnsiCode(code);
197
+ }
198
+ } else if (character === '\n') {
199
+ if (escapeCode && code) {
200
+ returnValue += wrapAnsiCode(escapeCode);
201
+ }
202
+
203
+ if (escapeUrl) {
204
+ returnValue += wrapAnsiHyperlink(escapeUrl);
205
+ }
206
+ }
207
+
208
+ preStringIndex += character.length;
209
+ }
210
+
211
+ return returnValue;
212
+ };
213
+
214
+ // For each newline, invoke the method separately
215
+ export default function wrapAnsi(string, columns, options) {
216
+ return String(string)
217
+ .normalize()
218
+ .replaceAll('\r\n', '\n')
219
+ .split('\n')
220
+ .map(line => exec(line, columns, options))
221
+ .join('\n');
222
+ }
@@ -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.