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,190 @@
1
+ import process from 'node:process';
2
+ import os from 'node:os';
3
+ import tty from 'node:tty';
4
+
5
+ // From: https://github.com/sindresorhus/has-flag/blob/main/index.js
6
+ /// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) {
7
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) {
8
+ const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
9
+ const position = argv.indexOf(prefix + flag);
10
+ const terminatorPosition = argv.indexOf('--');
11
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
12
+ }
13
+
14
+ const {env} = process;
15
+
16
+ let flagForceColor;
17
+ if (
18
+ hasFlag('no-color')
19
+ || hasFlag('no-colors')
20
+ || hasFlag('color=false')
21
+ || hasFlag('color=never')
22
+ ) {
23
+ flagForceColor = 0;
24
+ } else if (
25
+ hasFlag('color')
26
+ || hasFlag('colors')
27
+ || hasFlag('color=true')
28
+ || hasFlag('color=always')
29
+ ) {
30
+ flagForceColor = 1;
31
+ }
32
+
33
+ function envForceColor() {
34
+ if ('FORCE_COLOR' in env) {
35
+ if (env.FORCE_COLOR === 'true') {
36
+ return 1;
37
+ }
38
+
39
+ if (env.FORCE_COLOR === 'false') {
40
+ return 0;
41
+ }
42
+
43
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
44
+ }
45
+ }
46
+
47
+ function translateLevel(level) {
48
+ if (level === 0) {
49
+ return false;
50
+ }
51
+
52
+ return {
53
+ level,
54
+ hasBasic: true,
55
+ has256: level >= 2,
56
+ has16m: level >= 3,
57
+ };
58
+ }
59
+
60
+ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
61
+ const noFlagForceColor = envForceColor();
62
+ if (noFlagForceColor !== undefined) {
63
+ flagForceColor = noFlagForceColor;
64
+ }
65
+
66
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
67
+
68
+ if (forceColor === 0) {
69
+ return 0;
70
+ }
71
+
72
+ if (sniffFlags) {
73
+ if (hasFlag('color=16m')
74
+ || hasFlag('color=full')
75
+ || hasFlag('color=truecolor')) {
76
+ return 3;
77
+ }
78
+
79
+ if (hasFlag('color=256')) {
80
+ return 2;
81
+ }
82
+ }
83
+
84
+ // Check for Azure DevOps pipelines.
85
+ // Has to be above the `!streamIsTTY` check.
86
+ if ('TF_BUILD' in env && 'AGENT_NAME' in env) {
87
+ return 1;
88
+ }
89
+
90
+ if (haveStream && !streamIsTTY && forceColor === undefined) {
91
+ return 0;
92
+ }
93
+
94
+ const min = forceColor || 0;
95
+
96
+ if (env.TERM === 'dumb') {
97
+ return min;
98
+ }
99
+
100
+ if (process.platform === 'win32') {
101
+ // Windows 10 build 10586 is the first Windows release that supports 256 colors.
102
+ // Windows 10 build 14931 is the first release that supports 16m/TrueColor.
103
+ const osRelease = os.release().split('.');
104
+ if (
105
+ Number(osRelease[0]) >= 10
106
+ && Number(osRelease[2]) >= 10_586
107
+ ) {
108
+ return Number(osRelease[2]) >= 14_931 ? 3 : 2;
109
+ }
110
+
111
+ return 1;
112
+ }
113
+
114
+ if ('CI' in env) {
115
+ if (['GITHUB_ACTIONS', 'GITEA_ACTIONS', 'CIRCLECI'].some(key => key in env)) {
116
+ return 3;
117
+ }
118
+
119
+ if (['TRAVIS', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
120
+ return 1;
121
+ }
122
+
123
+ return min;
124
+ }
125
+
126
+ if ('TEAMCITY_VERSION' in env) {
127
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
128
+ }
129
+
130
+ if (env.COLORTERM === 'truecolor') {
131
+ return 3;
132
+ }
133
+
134
+ if (env.TERM === 'xterm-kitty') {
135
+ return 3;
136
+ }
137
+
138
+ if (env.TERM === 'xterm-ghostty') {
139
+ return 3;
140
+ }
141
+
142
+ if (env.TERM === 'wezterm') {
143
+ return 3;
144
+ }
145
+
146
+ if ('TERM_PROGRAM' in env) {
147
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
148
+
149
+ switch (env.TERM_PROGRAM) {
150
+ case 'iTerm.app': {
151
+ return version >= 3 ? 3 : 2;
152
+ }
153
+
154
+ case 'Apple_Terminal': {
155
+ return 2;
156
+ }
157
+ // No default
158
+ }
159
+ }
160
+
161
+ if (/-256(color)?$/i.test(env.TERM)) {
162
+ return 2;
163
+ }
164
+
165
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
166
+ return 1;
167
+ }
168
+
169
+ if ('COLORTERM' in env) {
170
+ return 1;
171
+ }
172
+
173
+ return min;
174
+ }
175
+
176
+ export function createSupportsColor(stream, options = {}) {
177
+ const level = _supportsColor(stream, {
178
+ streamIsTTY: stream && stream.isTTY,
179
+ ...options,
180
+ });
181
+
182
+ return translateLevel(level);
183
+ }
184
+
185
+ const supportsColor = {
186
+ stdout: createSupportsColor({isTTY: tty.isatty(1)}),
187
+ stderr: createSupportsColor({isTTY: tty.isatty(2)}),
188
+ };
189
+
190
+ export default supportsColor;
@@ -0,0 +1,47 @@
1
+ declare const cliCursor: {
2
+ /**
3
+ Show cursor.
4
+
5
+ @param stream - Default: `process.stderr`.
6
+
7
+ @example
8
+ ```
9
+ import cliCursor from 'cli-cursor';
10
+
11
+ cliCursor.show();
12
+ ```
13
+ */
14
+ show(stream?: NodeJS.WritableStream): void;
15
+
16
+ /**
17
+ Hide cursor.
18
+
19
+ @param stream - Default: `process.stderr`.
20
+
21
+ @example
22
+ ```
23
+ import cliCursor from 'cli-cursor';
24
+
25
+ cliCursor.hide();
26
+ ```
27
+ */
28
+ hide(stream?: NodeJS.WritableStream): void;
29
+
30
+ /**
31
+ Toggle cursor visibility.
32
+
33
+ @param force - Is useful to show or hide the cursor based on a boolean.
34
+ @param stream - Default: `process.stderr`.
35
+
36
+ @example
37
+ ```
38
+ import cliCursor from 'cli-cursor';
39
+
40
+ const unicornsAreAwesome = true;
41
+ cliCursor.toggle(unicornsAreAwesome);
42
+ ```
43
+ */
44
+ toggle(force?: boolean, stream?: NodeJS.WritableStream): void;
45
+ };
46
+
47
+ export default cliCursor;
@@ -0,0 +1,39 @@
1
+ import process from 'node:process';
2
+ import restoreCursor from 'restore-cursor';
3
+
4
+ let isHidden = false;
5
+
6
+ const cliCursor = {};
7
+
8
+ cliCursor.show = (writableStream = process.stderr) => {
9
+ if (!writableStream.isTTY) {
10
+ return;
11
+ }
12
+
13
+ isHidden = false;
14
+ writableStream.write('\u001B[?25h');
15
+ };
16
+
17
+ cliCursor.hide = (writableStream = process.stderr) => {
18
+ if (!writableStream.isTTY) {
19
+ return;
20
+ }
21
+
22
+ restoreCursor();
23
+ isHidden = true;
24
+ writableStream.write('\u001B[?25l');
25
+ };
26
+
27
+ cliCursor.toggle = (force, writableStream) => {
28
+ if (force !== undefined) {
29
+ isHidden = force;
30
+ }
31
+
32
+ if (isHidden) {
33
+ cliCursor.show(writableStream);
34
+ } else {
35
+ cliCursor.hide(writableStream);
36
+ }
37
+ };
38
+
39
+ export default cliCursor;
@@ -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": "cli-cursor",
3
+ "version": "4.0.0",
4
+ "description": "Toggle the CLI cursor",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/cli-cursor",
7
+ "funding": "https://github.com/sponsors/sindresorhus",
8
+ "author": {
9
+ "name": "Sindre Sorhus",
10
+ "email": "sindresorhus@gmail.com",
11
+ "url": "https://sindresorhus.com"
12
+ },
13
+ "type": "module",
14
+ "exports": "./index.js",
15
+ "engines": {
16
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
17
+ },
18
+ "scripts": {
19
+ "test": "xo && ava && tsd"
20
+ },
21
+ "files": [
22
+ "index.js",
23
+ "index.d.ts"
24
+ ],
25
+ "keywords": [
26
+ "cli",
27
+ "cursor",
28
+ "ansi",
29
+ "toggle",
30
+ "display",
31
+ "show",
32
+ "hide",
33
+ "term",
34
+ "terminal",
35
+ "console",
36
+ "tty",
37
+ "shell",
38
+ "command-line"
39
+ ],
40
+ "dependencies": {
41
+ "restore-cursor": "^4.0.0"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^16.7.1",
45
+ "ava": "^3.15.0",
46
+ "tsd": "^0.17.0",
47
+ "xo": "^0.44.0"
48
+ }
49
+ }
@@ -0,0 +1,51 @@
1
+ # cli-cursor
2
+
3
+ > Toggle the CLI cursor
4
+
5
+ The cursor is [gracefully restored](https://github.com/sindresorhus/restore-cursor) if the process exits.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ $ npm install cli-cursor
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ import cliCursor from 'cli-cursor';
17
+
18
+ cliCursor.hide();
19
+
20
+ const unicornsAreAwesome = true;
21
+ cliCursor.toggle(unicornsAreAwesome);
22
+ ```
23
+
24
+ ## API
25
+
26
+ ### .show(stream?)
27
+
28
+ ### .hide(stream?)
29
+
30
+ ### .toggle(force?, stream?)
31
+
32
+ #### force
33
+
34
+ Useful for showing or hiding the cursor based on a boolean.
35
+
36
+ #### stream
37
+
38
+ Type: `stream.Writable`\
39
+ Default: `process.stderr`
40
+
41
+ ---
42
+
43
+ <div align="center">
44
+ <b>
45
+ <a href="https://tidelift.com/subscription/pkg/npm-cli-cursor?utm_source=npm-cli-cursor&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
46
+ </b>
47
+ <br>
48
+ <sub>
49
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
50
+ </sub>
51
+ </div>
@@ -0,0 +1,118 @@
1
+ export type Options = {
2
+ /**
3
+ The position to truncate the string.
4
+
5
+ @default 'end'
6
+ */
7
+ readonly position?: 'start' | 'middle' | 'end';
8
+
9
+ /**
10
+ Add a space between the text and the ellipsis.
11
+
12
+ @default false
13
+
14
+ @example
15
+ ```
16
+ import cliTruncate from 'cli-truncate';
17
+
18
+ cliTruncate('unicorns', 5, {position: 'end', space: true});
19
+ //=> 'uni …'
20
+
21
+ cliTruncate('unicorns', 5, {position: 'end', space: false});
22
+ //=> 'unic…'
23
+
24
+ cliTruncate('unicorns', 6, {position: 'start', space: true});
25
+ //=> '… orns'
26
+
27
+ cliTruncate('unicorns', 7, {position: 'middle', space: true});
28
+ //=> 'uni … s'
29
+ ```
30
+ */
31
+ readonly space?: boolean;
32
+
33
+ /**
34
+ Truncate the string from a whitespace if it is within 3 characters from the actual breaking point.
35
+
36
+ @default false
37
+
38
+ @example
39
+ ```
40
+ import cliTruncate from 'cli-truncate';
41
+
42
+ cliTruncate('unicorns rainbow dragons', 20, {position: 'start', preferTruncationOnSpace: true});
43
+ //=> '…rainbow dragons'
44
+
45
+ cliTruncate('unicorns rainbow dragons', 20, {position: 'middle', preferTruncationOnSpace: true});
46
+ //=> 'unicorns…dragons'
47
+
48
+ cliTruncate('unicorns rainbow dragons', 6, {position: 'end', preferTruncationOnSpace: true});
49
+ //=> 'unico…'
50
+ ````
51
+ */
52
+ readonly preferTruncationOnSpace?: boolean;
53
+
54
+ /**
55
+ The character to use at the breaking point.
56
+
57
+ @default '…'
58
+
59
+ @example
60
+ ```
61
+ import cliTruncate from 'cli-truncate';
62
+
63
+ cliTruncate('unicorns', 5, {position: 'end'});
64
+ //=> 'unic…'
65
+
66
+ cliTruncate('unicorns', 5, {position: 'end', truncationCharacter: '.'});
67
+ //=> 'unic.'
68
+
69
+ cliTruncate('unicorns', 5, {position: 'end', truncationCharacter: ''});
70
+ //=> 'unico'
71
+ */
72
+ readonly truncationCharacter?: string;
73
+ };
74
+
75
+ /**
76
+ Truncate a string to a specific width in the terminal.
77
+
78
+ @param text - The text to truncate.
79
+ @param columns - The number of columns to occupy in the terminal.
80
+
81
+ @example
82
+ ```
83
+ import cliTruncate from 'cli-truncate';
84
+
85
+ cliTruncate('unicorn', 4);
86
+ //=> 'uni…'
87
+
88
+ // Truncate at different positions
89
+ cliTruncate('unicorn', 4, {position: 'start'});
90
+ //=> '…orn'
91
+
92
+ cliTruncate('unicorn', 4, {position: 'middle'});
93
+ //=> 'un…n'
94
+
95
+ cliTruncate('\u001B[31municorn\u001B[39m', 4);
96
+ //=> '\u001B[31muni…\u001B[39m'
97
+
98
+ // Note: When truncating styled text (ANSI escapes), the truncation character inherits the style at the breaking point for `position: 'start'` and `position: 'end'`. This does not apply to `position: 'middle'`.
99
+
100
+ // Truncate Unicode surrogate pairs
101
+ cliTruncate('uni\uD83C\uDE00corn', 5);
102
+ //=> 'uni\uD83C\uDE00…'
103
+
104
+ // Truncate fullwidth characters
105
+ cliTruncate('안녕하세요', 3);
106
+ //=> '안…'
107
+
108
+ // Truncate the paragraph to the terminal width
109
+ const paragraph = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.';
110
+ cliTruncate(paragraph, process.stdout.columns);
111
+ //=> 'Lorem ipsum dolor sit amet, consectetuer adipiscing…'
112
+ ```
113
+ */
114
+ export default function cliTruncate(
115
+ text: string,
116
+ columns: number,
117
+ options?: Options
118
+ ): string;
@@ -0,0 +1,168 @@
1
+ import sliceAnsi from 'slice-ansi';
2
+ import stringWidth from 'string-width';
3
+
4
+ function getIndexOfNearestSpace(string, wantedIndex, shouldSearchRight) {
5
+ if (string.charAt(wantedIndex) === ' ') {
6
+ return wantedIndex;
7
+ }
8
+
9
+ const direction = shouldSearchRight ? 1 : -1;
10
+
11
+ for (let index = 0; index <= 3; index++) {
12
+ const finalIndex = wantedIndex + (index * direction);
13
+ if (string.charAt(finalIndex) === ' ') {
14
+ return finalIndex;
15
+ }
16
+ }
17
+
18
+ return wantedIndex;
19
+ }
20
+
21
+ export default function cliTruncate(text, columns, options = {}) {
22
+ const {
23
+ position = 'end',
24
+ space = false,
25
+ preferTruncationOnSpace = false,
26
+ } = options;
27
+
28
+ let {truncationCharacter = '…'} = options;
29
+
30
+ if (typeof text !== 'string') {
31
+ throw new TypeError(`Expected \`input\` to be a string, got ${typeof text}`);
32
+ }
33
+
34
+ if (typeof columns !== 'number') {
35
+ throw new TypeError(`Expected \`columns\` to be a number, got ${typeof columns}`);
36
+ }
37
+
38
+ if (columns < 1) {
39
+ return '';
40
+ }
41
+
42
+ const length = stringWidth(text);
43
+
44
+ if (length <= columns) {
45
+ return text;
46
+ }
47
+
48
+ if (columns === 1) {
49
+ return truncationCharacter;
50
+ }
51
+
52
+ // ANSI escape sequence constants
53
+ const ANSI = {
54
+ ESC: 27,
55
+ LEFT_BRACKET: 91,
56
+ LETTER_M: 109,
57
+ };
58
+
59
+ const isSgrParameter = code => (code >= 48 && code <= 57) || code === 59; // 0-9 or ;
60
+
61
+ function leadingSgrSpanEndIndex(string) {
62
+ let index = 0;
63
+ while (index + 2 < string.length && string.codePointAt(index) === ANSI.ESC && string.codePointAt(index + 1) === ANSI.LEFT_BRACKET) {
64
+ let j = index + 2;
65
+ while (j < string.length && isSgrParameter(string.codePointAt(j))) {
66
+ j++;
67
+ }
68
+
69
+ if (j < string.length && string.codePointAt(j) === ANSI.LETTER_M) {
70
+ index = j + 1;
71
+ continue;
72
+ }
73
+
74
+ break;
75
+ }
76
+
77
+ return index;
78
+ }
79
+
80
+ function trailingSgrSpanStartIndex(string) {
81
+ let start = string.length;
82
+ while (start > 1 && string.codePointAt(start - 1) === ANSI.LETTER_M) {
83
+ let j = start - 2;
84
+ while (j >= 0 && isSgrParameter(string.codePointAt(j))) {
85
+ j--;
86
+ }
87
+
88
+ if (j >= 1 && string.codePointAt(j - 1) === ANSI.ESC && string.codePointAt(j) === ANSI.LEFT_BRACKET) {
89
+ start = j - 1;
90
+ continue;
91
+ }
92
+
93
+ break;
94
+ }
95
+
96
+ return start;
97
+ }
98
+
99
+ function appendWithInheritedStyleFromEnd(visible, suffix) {
100
+ const start = trailingSgrSpanStartIndex(visible);
101
+ if (start === visible.length) {
102
+ return visible + suffix;
103
+ }
104
+
105
+ return visible.slice(0, start) + suffix + visible.slice(start);
106
+ }
107
+
108
+ function prependWithInheritedStyleFromStart(prefix, visible) {
109
+ const end = leadingSgrSpanEndIndex(visible);
110
+ if (end === 0) {
111
+ return prefix + visible;
112
+ }
113
+
114
+ return visible.slice(0, end) + prefix + visible.slice(end);
115
+ }
116
+
117
+ if (position === 'start') {
118
+ if (preferTruncationOnSpace) {
119
+ const nearestSpace = getIndexOfNearestSpace(text, length - columns + 1, true);
120
+ const right = sliceAnsi(text, nearestSpace, length).trim();
121
+ return prependWithInheritedStyleFromStart(truncationCharacter, right);
122
+ }
123
+
124
+ if (space) {
125
+ truncationCharacter += ' ';
126
+ }
127
+
128
+ const right = sliceAnsi(text, length - columns + stringWidth(truncationCharacter), length);
129
+ return prependWithInheritedStyleFromStart(truncationCharacter, right);
130
+ }
131
+
132
+ if (position === 'middle') {
133
+ if (space) {
134
+ truncationCharacter = ` ${truncationCharacter} `;
135
+ }
136
+
137
+ const half = Math.floor(columns / 2);
138
+
139
+ if (preferTruncationOnSpace) {
140
+ const spaceNearFirstBreakPoint = getIndexOfNearestSpace(text, half);
141
+ const spaceNearSecondBreakPoint = getIndexOfNearestSpace(text, length - (columns - half) + 1, true);
142
+ return sliceAnsi(text, 0, spaceNearFirstBreakPoint) + truncationCharacter + sliceAnsi(text, spaceNearSecondBreakPoint, length).trim();
143
+ }
144
+
145
+ return (
146
+ sliceAnsi(text, 0, half)
147
+ + truncationCharacter
148
+ + sliceAnsi(text, length - (columns - half) + stringWidth(truncationCharacter), length)
149
+ );
150
+ }
151
+
152
+ if (position === 'end') {
153
+ if (preferTruncationOnSpace) {
154
+ const nearestSpace = getIndexOfNearestSpace(text, columns - 1);
155
+ const left = sliceAnsi(text, 0, nearestSpace);
156
+ return appendWithInheritedStyleFromEnd(left, truncationCharacter);
157
+ }
158
+
159
+ if (space) {
160
+ truncationCharacter = ` ${truncationCharacter}`;
161
+ }
162
+
163
+ const left = sliceAnsi(text, 0, columns - stringWidth(truncationCharacter));
164
+ return appendWithInheritedStyleFromEnd(left, truncationCharacter);
165
+ }
166
+
167
+ throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${position}`);
168
+ }
@@ -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.