@quantiya/codevibe-codex-plugin 2.0.4 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1092) hide show
  1. package/node_modules/@quantiya/codevibe-core/dist/index.js +198 -196
  2. package/node_modules/@quantiya/codevibe-core/dist/local-model/manager.d.ts +18 -6
  3. package/node_modules/@quantiya/codevibe-core/dist/local-model/ollama.d.ts +38 -1
  4. package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-types.d.ts +9 -4
  5. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/mobile-user-prompt-return.test.d.ts +1 -0
  6. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/runOrchestrationShell-session-retire.test.d.ts +1 -0
  7. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.d.ts +10 -0
  8. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +1155 -824
  9. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/components/InputBar.d.ts +67 -0
  10. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/emit-shell-event.d.ts +1 -1
  11. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +119 -2
  12. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/ink-runtime.d.ts +11 -1
  13. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/mode-selection.d.ts +5 -9
  14. package/node_modules/@quantiya/codevibe-core/dist/types/session.d.ts +2 -1
  15. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/LICENSE +21 -0
  16. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/README.md +278 -0
  17. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.d.ts +7 -0
  18. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js +57 -0
  19. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js.map +1 -0
  20. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/consts.d.ts +17 -0
  21. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/consts.js +28 -0
  22. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/consts.js.map +1 -0
  23. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/diff.js +26 -0
  24. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/diff.js.map +1 -0
  25. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/reduce.js +37 -0
  26. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/reduce.js.map +1 -0
  27. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/tokenize.d.ts +16 -0
  28. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js +194 -0
  29. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js.map +1 -0
  30. package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/package.json +55 -0
  31. package/node_modules/@quantiya/codevibe-core/node_modules/cli-boxes/index.d.ts +122 -0
  32. package/node_modules/@quantiya/codevibe-core/node_modules/cli-boxes/index.js +3 -0
  33. package/node_modules/@quantiya/codevibe-core/node_modules/cli-boxes/package.json +49 -0
  34. package/node_modules/@quantiya/codevibe-core/node_modules/cli-boxes/readme.md +103 -0
  35. package/node_modules/@quantiya/codevibe-core/node_modules/cli-truncate/index.d.ts +118 -0
  36. package/node_modules/@quantiya/codevibe-core/node_modules/cli-truncate/index.js +194 -0
  37. package/node_modules/@quantiya/codevibe-core/node_modules/cli-truncate/package.json +52 -0
  38. package/node_modules/@quantiya/codevibe-core/node_modules/cli-truncate/readme.md +153 -0
  39. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ansi-tokenizer.d.ts +38 -0
  40. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ansi-tokenizer.js +316 -0
  41. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
  42. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
  43. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AccessibilityContext.js +5 -0
  44. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
  45. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AnimationContext.d.ts +9 -0
  46. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AnimationContext.js +13 -0
  47. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AnimationContext.js.map +1 -0
  48. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/App.d.ts +24 -0
  49. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/App.js +554 -0
  50. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/App.js.map +1 -0
  51. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AppContext.d.ts +80 -0
  52. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AppContext.js +25 -0
  53. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AppContext.js.map +1 -0
  54. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
  55. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/BackgroundContext.js +3 -0
  56. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
  57. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Box.d.ts +130 -0
  58. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Box.js +34 -0
  59. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Box.js.map +1 -0
  60. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/CursorContext.d.ts +11 -0
  61. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/CursorContext.js +8 -0
  62. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/CursorContext.js.map +1 -0
  63. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
  64. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorBoundary.js +23 -0
  65. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
  66. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorOverview.js +90 -0
  67. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
  68. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Newline.d.ts +13 -0
  69. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Newline.js +8 -0
  70. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Newline.js.map +1 -0
  71. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Spacer.d.ts +7 -0
  72. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Spacer.js +11 -0
  73. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Spacer.js.map +1 -0
  74. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Static.d.ts +24 -0
  75. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Static.js +28 -0
  76. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Static.js.map +1 -0
  77. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StderrContext.d.ts +15 -0
  78. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StderrContext.js +13 -0
  79. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StderrContext.js.map +1 -0
  80. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdinContext.d.ts +28 -0
  81. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdinContext.js +20 -0
  82. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdinContext.js.map +1 -0
  83. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
  84. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdoutContext.js +13 -0
  85. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdoutContext.js.map +1 -0
  86. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Text.d.ts +55 -0
  87. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Text.js +50 -0
  88. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Text.js.map +1 -0
  89. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Transform.d.ts +16 -0
  90. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Transform.js +15 -0
  91. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Transform.js.map +1 -0
  92. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/cursor-helpers.d.ts +38 -0
  93. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/cursor-helpers.js +56 -0
  94. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/cursor-helpers.js.map +1 -0
  95. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
  96. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools-window-polyfill.js +68 -0
  97. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
  98. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools.js +36 -0
  99. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools.js.map +1 -0
  100. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/dom.d.ts +62 -0
  101. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/dom.js +143 -0
  102. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/dom.js.map +1 -0
  103. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-animation.d.ts +49 -0
  104. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-animation.js +87 -0
  105. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-animation.js.map +1 -0
  106. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-app.d.ts +5 -0
  107. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-app.js +8 -0
  108. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-app.js.map +1 -0
  109. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-box-metrics.d.ts +59 -0
  110. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-box-metrics.js +81 -0
  111. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-box-metrics.js.map +1 -0
  112. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
  113. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-cursor.js +29 -0
  114. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
  115. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus-manager.d.ts +43 -0
  116. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus-manager.js +18 -0
  117. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
  118. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus.d.ts +30 -0
  119. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus.js +43 -0
  120. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus.js.map +1 -0
  121. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-input.d.ts +132 -0
  122. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-input.js +126 -0
  123. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-input.js.map +1 -0
  124. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +6 -0
  125. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +12 -0
  126. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
  127. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-paste.d.ts +35 -0
  128. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-paste.js +62 -0
  129. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-paste.js.map +1 -0
  130. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
  131. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stderr.js +8 -0
  132. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
  133. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdin.d.ts +7 -0
  134. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdin.js +9 -0
  135. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
  136. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
  137. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdout.js +8 -0
  138. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
  139. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-window-size.d.ts +18 -0
  140. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-window-size.js +22 -0
  141. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-window-size.js.map +1 -0
  142. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/index.d.ts +42 -0
  143. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/index.js +24 -0
  144. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/index.js.map +1 -0
  145. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ink.d.ts +146 -0
  146. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ink.js +950 -0
  147. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ink.js.map +1 -0
  148. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/input-parser.d.ts +10 -0
  149. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/input-parser.js +194 -0
  150. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/input-parser.js.map +1 -0
  151. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
  152. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/kitty-keyboard.js +32 -0
  153. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/kitty-keyboard.js.map +1 -0
  154. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/log-update.d.ts +20 -0
  155. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/log-update.js +254 -0
  156. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/log-update.js.map +1 -0
  157. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-element.d.ts +20 -0
  158. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-element.js +13 -0
  159. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-element.js.map +1 -0
  160. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-text.js +21 -0
  161. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-text.js.map +1 -0
  162. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/output.d.ts +35 -0
  163. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/output.js +208 -0
  164. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/output.js.map +1 -0
  165. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/parse-keypress.d.ts +20 -0
  166. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/parse-keypress.js +495 -0
  167. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/parse-keypress.js.map +1 -0
  168. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/reconciler.d.ts +4 -0
  169. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/reconciler.js +306 -0
  170. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/reconciler.js.map +1 -0
  171. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-background.d.ts +4 -0
  172. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-background.js +25 -0
  173. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-background.js.map +1 -0
  174. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-border.js +84 -0
  175. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-border.js.map +1 -0
  176. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-node-to-output.d.ts +14 -0
  177. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-node-to-output.js +147 -0
  178. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-node-to-output.js.map +1 -0
  179. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-to-string.d.ts +38 -0
  180. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-to-string.js +116 -0
  181. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-to-string.js.map +1 -0
  182. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render.d.ts +176 -0
  183. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render.js +62 -0
  184. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render.js.map +1 -0
  185. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/renderer.d.ts +8 -0
  186. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/renderer.js +55 -0
  187. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/renderer.js.map +1 -0
  188. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
  189. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/sanitize-ansi.js +27 -0
  190. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/sanitize-ansi.js.map +1 -0
  191. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/squash-text-nodes.js +36 -0
  192. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/squash-text-nodes.js.map +1 -0
  193. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/styles.d.ts +302 -0
  194. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/styles.js +303 -0
  195. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/styles.js.map +1 -0
  196. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/utils.d.ts +9 -0
  197. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/utils.js +19 -0
  198. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/utils.js.map +1 -0
  199. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/wrap-text.js +38 -0
  200. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/wrap-text.js.map +1 -0
  201. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/write-synchronized.d.ts +4 -0
  202. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/write-synchronized.js +9 -0
  203. package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/write-synchronized.js.map +1 -0
  204. package/node_modules/@quantiya/codevibe-core/node_modules/ink/license +10 -0
  205. package/node_modules/@quantiya/codevibe-core/node_modules/ink/package.json +137 -0
  206. package/node_modules/@quantiya/codevibe-core/node_modules/ink/readme.md +3192 -0
  207. package/node_modules/@quantiya/codevibe-core/node_modules/is-in-ci/index.js +7 -0
  208. package/node_modules/@quantiya/codevibe-core/node_modules/is-in-ci/package.json +49 -0
  209. package/node_modules/@quantiya/codevibe-core/node_modules/is-in-ci/readme.md +44 -0
  210. package/node_modules/@quantiya/codevibe-core/node_modules/react/LICENSE +21 -0
  211. package/node_modules/@quantiya/codevibe-core/node_modules/react/README.md +37 -0
  212. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-compiler-runtime.development.js +24 -0
  213. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
  214. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-compiler-runtime.profiling.js +16 -0
  215. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.development.js +338 -0
  216. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
  217. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
  218. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js +370 -0
  219. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
  220. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.development.js +352 -0
  221. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
  222. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.profiling.js +34 -0
  223. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.react-server.development.js +370 -0
  224. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
  225. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react.development.js +1284 -0
  226. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react.production.js +542 -0
  227. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react.react-server.development.js +848 -0
  228. package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react.react-server.production.js +423 -0
  229. package/node_modules/@quantiya/codevibe-core/node_modules/react/compiler-runtime.js +14 -0
  230. package/node_modules/@quantiya/codevibe-core/node_modules/react/index.js +7 -0
  231. package/node_modules/@quantiya/codevibe-core/node_modules/react/jsx-dev-runtime.js +7 -0
  232. package/node_modules/@quantiya/codevibe-core/node_modules/react/jsx-dev-runtime.react-server.js +7 -0
  233. package/node_modules/@quantiya/codevibe-core/node_modules/react/jsx-runtime.js +7 -0
  234. package/node_modules/@quantiya/codevibe-core/node_modules/react/jsx-runtime.react-server.js +7 -0
  235. package/node_modules/@quantiya/codevibe-core/node_modules/react/package.json +51 -0
  236. package/node_modules/@quantiya/codevibe-core/node_modules/react/react.react-server.js +7 -0
  237. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/README.md +152 -0
  238. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/backend.js +1 -0
  239. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/backend.js +18302 -0
  240. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/backend.js.map +1 -0
  241. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/importFile.worker.worker.js +2 -0
  242. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/importFile.worker.worker.js.map +1 -0
  243. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/parseHookNames.chunk.js +2 -0
  244. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/parseHookNames.chunk.js.map +1 -0
  245. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/parseSourceAndMetadata.worker.worker.js +2 -0
  246. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/parseSourceAndMetadata.worker.worker.js.map +1 -0
  247. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/standalone.js +3 -0
  248. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/standalone.js.LICENSE.txt +41 -0
  249. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/standalone.js.map +1 -0
  250. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/LICENSE +21 -0
  251. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/README.md +495 -0
  252. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/browser.js +8 -0
  253. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/index.js +10 -0
  254. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/buffer-util.js +129 -0
  255. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/constants.js +10 -0
  256. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/event-target.js +184 -0
  257. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/extension.js +223 -0
  258. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/limiter.js +55 -0
  259. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/permessage-deflate.js +518 -0
  260. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/receiver.js +664 -0
  261. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/sender.js +409 -0
  262. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/stream.js +180 -0
  263. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/validation.js +104 -0
  264. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/websocket-server.js +461 -0
  265. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/websocket.js +1215 -0
  266. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/package.json +56 -0
  267. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/package.json +38 -0
  268. package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/standalone.js +1 -0
  269. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/LICENSE +21 -0
  270. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/README.md +353 -0
  271. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +19 -0
  272. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js +18 -0
  273. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +394 -0
  274. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.js +382 -0
  275. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler.development.js +19736 -0
  276. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler.production.js +11594 -0
  277. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler.profiling.js +13427 -0
  278. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/constants.js +7 -0
  279. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/index.js +7 -0
  280. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/package.json +34 -0
  281. package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/reflection.js +7 -0
  282. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/LICENSE +21 -0
  283. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +414 -0
  284. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler-unstable_mock.production.js +406 -0
  285. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +150 -0
  286. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.js +140 -0
  287. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler.development.js +364 -0
  288. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler.native.development.js +350 -0
  289. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler.native.production.js +330 -0
  290. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler.production.js +340 -0
  291. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/index.js +7 -0
  292. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/index.native.js +7 -0
  293. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/package.json +27 -0
  294. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/unstable_mock.js +7 -0
  295. package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/unstable_post_task.js +7 -0
  296. package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/index.d.ts +19 -0
  297. package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/index.js +317 -0
  298. package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/package.json +59 -0
  299. package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/readme.md +55 -0
  300. package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/tokenize-ansi.js +752 -0
  301. package/node_modules/@quantiya/codevibe-core/node_modules/string-width/index.js +203 -0
  302. package/node_modules/@quantiya/codevibe-core/node_modules/string-width/package.json +65 -0
  303. package/node_modules/@quantiya/codevibe-core/node_modules/string-width/readme.md +66 -0
  304. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/index.d.ts +227 -0
  305. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/package.json +75 -0
  306. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/readme.md +1085 -0
  307. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/absolute.d.ts +52 -0
  308. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/all-extend.d.ts +121 -0
  309. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/all-union-fields.d.ts +91 -0
  310. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/and-all.d.ts +76 -0
  311. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/and.d.ts +82 -0
  312. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-element.d.ts +46 -0
  313. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-indices.d.ts +25 -0
  314. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-length.d.ts +36 -0
  315. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-reverse.d.ts +85 -0
  316. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-slice.d.ts +132 -0
  317. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-splice.d.ts +104 -0
  318. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-tail.d.ts +70 -0
  319. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-values.d.ts +24 -0
  320. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/arrayable.d.ts +31 -0
  321. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/async-return-type.d.ts +28 -0
  322. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/asyncify.d.ts +25 -0
  323. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/basic.d.ts +38 -0
  324. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/camel-case.d.ts +125 -0
  325. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +106 -0
  326. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/camel-cased-properties.d.ts +49 -0
  327. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/characters.d.ts +67 -0
  328. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-except.d.ts +47 -0
  329. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-keys.d.ts +63 -0
  330. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-pick-deep.d.ts +122 -0
  331. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-pick.d.ts +48 -0
  332. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-simplify-deep.d.ts +73 -0
  333. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-simplify.d.ts +50 -0
  334. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/delimiter-case.d.ts +79 -0
  335. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +115 -0
  336. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/delimiter-cased-properties.d.ts +52 -0
  337. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/distributed-omit.d.ts +96 -0
  338. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/distributed-pick.d.ts +92 -0
  339. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/empty-object.d.ts +51 -0
  340. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/entries.d.ts +64 -0
  341. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/entry.d.ts +67 -0
  342. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exact.d.ts +73 -0
  343. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/except.d.ts +112 -0
  344. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exclude-exactly.d.ts +57 -0
  345. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exclude-rest-element.d.ts +40 -0
  346. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exclude-strict.d.ts +51 -0
  347. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exclusify-union.d.ts +147 -0
  348. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/extends-strict.d.ts +151 -0
  349. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/extract-exactly.d.ts +56 -0
  350. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/extract-rest-element.d.ts +30 -0
  351. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/extract-strict.d.ts +51 -0
  352. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/find-global-type.d.ts +68 -0
  353. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/fixed-length-array.d.ts +97 -0
  354. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/get.d.ts +227 -0
  355. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/global-this.d.ts +24 -0
  356. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/globals/index.d.ts +3 -0
  357. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/globals/observable-like.d.ts +78 -0
  358. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/greater-than-or-equal.d.ts +63 -0
  359. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/greater-than.d.ts +92 -0
  360. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/has-optional-keys.d.ts +23 -0
  361. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/has-readonly-keys.d.ts +23 -0
  362. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/has-required-keys.d.ts +61 -0
  363. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/has-writable-keys.d.ts +23 -0
  364. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-any.d.ts +28 -0
  365. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-empty-object.d.ts +30 -0
  366. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-never.d.ts +28 -0
  367. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-null.d.ts +28 -0
  368. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-unknown.d.ts +28 -0
  369. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if.d.ts +102 -0
  370. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/includes.d.ts +24 -0
  371. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/int-closed-range.d.ts +45 -0
  372. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/int-range.d.ts +67 -0
  373. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/array.d.ts +144 -0
  374. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/characters.d.ts +65 -0
  375. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/enforce-optional.d.ts +49 -0
  376. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/index.d.ts +11 -0
  377. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/keys.d.ts +100 -0
  378. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/numeric.d.ts +143 -0
  379. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/object.d.ts +301 -0
  380. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/string.d.ts +127 -0
  381. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/tuple.d.ts +79 -0
  382. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/type.d.ts +171 -0
  383. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/invariant-of.d.ts +85 -0
  384. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-any.d.ts +31 -0
  385. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-equal.d.ts +41 -0
  386. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-float.d.ts +43 -0
  387. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-integer.d.ts +60 -0
  388. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-literal.d.ts +317 -0
  389. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-lowercase.d.ts +38 -0
  390. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-never.d.ts +56 -0
  391. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-null.d.ts +22 -0
  392. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-nullable.d.ts +30 -0
  393. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-optional-key-of.d.ts +51 -0
  394. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-optional.d.ts +28 -0
  395. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-readonly-key-of.d.ts +55 -0
  396. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-required-key-of.d.ts +51 -0
  397. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-tuple.d.ts +92 -0
  398. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-undefined.d.ts +22 -0
  399. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-union.d.ts +40 -0
  400. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-unknown.d.ts +43 -0
  401. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-uppercase.d.ts +38 -0
  402. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-writable-key-of.d.ts +51 -0
  403. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/iterable-element.d.ts +66 -0
  404. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/join.d.ts +79 -0
  405. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/json-value.d.ts +33 -0
  406. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
  407. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/jsonify.d.ts +127 -0
  408. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/kebab-case.d.ts +47 -0
  409. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +72 -0
  410. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/kebab-cased-properties.d.ts +46 -0
  411. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/key-as-string.d.ts +27 -0
  412. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/keys-of-union.d.ts +44 -0
  413. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/last-array-element.d.ts +89 -0
  414. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/less-than-or-equal.d.ts +60 -0
  415. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/less-than.d.ts +60 -0
  416. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +71 -0
  417. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/literal-to-primitive.d.ts +38 -0
  418. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/literal-union.d.ts +39 -0
  419. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/merge-deep.d.ts +495 -0
  420. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/merge-exclusive.d.ts +45 -0
  421. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/merge.d.ts +87 -0
  422. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/multidimensional-array.d.ts +38 -0
  423. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +38 -0
  424. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/non-empty-object.d.ts +38 -0
  425. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/non-empty-string.d.ts +32 -0
  426. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/non-empty-tuple.d.ts +24 -0
  427. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/non-nullable-deep.d.ts +102 -0
  428. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/numeric.d.ts +226 -0
  429. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/object-merge.d.ts +199 -0
  430. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/omit-deep.d.ts +153 -0
  431. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/omit-index-signature.d.ts +98 -0
  432. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/opaque.d.ts +3 -0
  433. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/optional-keys-of.d.ts +46 -0
  434. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/optional.d.ts +31 -0
  435. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/or-all.d.ts +73 -0
  436. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/or.d.ts +82 -0
  437. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/override-properties.d.ts +43 -0
  438. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/package-json.d.ts +710 -0
  439. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/partial-deep.d.ts +157 -0
  440. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +81 -0
  441. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pascal-case.d.ts +52 -0
  442. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +79 -0
  443. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pascal-cased-properties.d.ts +46 -0
  444. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/paths.d.ts +241 -0
  445. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pick-deep.d.ts +139 -0
  446. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pick-index-signature.d.ts +52 -0
  447. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/primitive.d.ts +15 -0
  448. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/promisable.d.ts +27 -0
  449. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/readonly-deep.d.ts +118 -0
  450. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/readonly-keys-of.d.ts +38 -0
  451. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/readonly-tuple.d.ts +34 -0
  452. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/remove-prefix.d.ts +114 -0
  453. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/remove-suffix.d.ts +114 -0
  454. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/replace.d.ts +87 -0
  455. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/require-all-or-none.d.ts +54 -0
  456. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/require-at-least-one.d.ts +48 -0
  457. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/require-exactly-one.d.ts +48 -0
  458. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/require-one-or-none.d.ts +49 -0
  459. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/required-deep.d.ts +78 -0
  460. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/required-keys-of.d.ts +38 -0
  461. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/schema.d.ts +127 -0
  462. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/screaming-snake-case.d.ts +31 -0
  463. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-field-type.d.ts +67 -0
  464. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-non-nullable-deep.d.ts +89 -0
  465. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-non-nullable.d.ts +34 -0
  466. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-optional.d.ts +42 -0
  467. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-parameter-type.d.ts +125 -0
  468. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-readonly.d.ts +40 -0
  469. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-required-deep.d.ts +65 -0
  470. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-required.d.ts +75 -0
  471. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-return-type.d.ts +31 -0
  472. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/shared-union-fields-deep.d.ts +180 -0
  473. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/shared-union-fields.d.ts +79 -0
  474. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/simplify-deep.d.ts +117 -0
  475. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/simplify.d.ts +61 -0
  476. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/single-key-object.d.ts +28 -0
  477. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/snake-case.d.ts +48 -0
  478. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +72 -0
  479. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/snake-cased-properties.d.ts +46 -0
  480. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/some-extend.d.ts +115 -0
  481. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/split-on-rest-element.d.ts +108 -0
  482. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/split.d.ts +90 -0
  483. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/spread.d.ts +78 -0
  484. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-length.d.ts +38 -0
  485. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-repeat.d.ts +76 -0
  486. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-slice.d.ts +39 -0
  487. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-to-array.d.ts +97 -0
  488. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-to-number.d.ts +67 -0
  489. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/stringified.d.ts +25 -0
  490. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/structured-cloneable.d.ts +89 -0
  491. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/subtract.d.ts +87 -0
  492. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/sum.d.ts +82 -0
  493. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tagged-union.d.ts +53 -0
  494. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tagged.d.ts +261 -0
  495. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/trim.d.ts +29 -0
  496. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tsconfig-json.d.ts +1356 -0
  497. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tuple-of.d.ts +114 -0
  498. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tuple-to-object.d.ts +47 -0
  499. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tuple-to-union.d.ts +54 -0
  500. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/typed-array.d.ts +19 -0
  501. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +83 -0
  502. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/union-length.d.ts +27 -0
  503. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/union-member.d.ts +65 -0
  504. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/union-to-intersection.d.ts +35 -0
  505. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/union-to-tuple.d.ts +49 -0
  506. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unknown-array.d.ts +27 -0
  507. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unknown-map.d.ts +26 -0
  508. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unknown-record.d.ts +33 -0
  509. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unknown-set.d.ts +26 -0
  510. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unwrap-partial.d.ts +33 -0
  511. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unwrap-required.d.ts +37 -0
  512. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/value-of.d.ts +24 -0
  513. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/words.d.ts +148 -0
  514. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/writable-deep.d.ts +84 -0
  515. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/writable-keys-of.d.ts +34 -0
  516. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/writable.d.ts +68 -0
  517. package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/xor.d.ts +83 -0
  518. package/node_modules/@quantiya/codevibe-core/node_modules/widest-line/package.json +60 -0
  519. package/node_modules/@quantiya/codevibe-core/node_modules/wrap-ansi/index.d.ts +41 -0
  520. package/node_modules/@quantiya/codevibe-core/node_modules/wrap-ansi/index.js +468 -0
  521. package/node_modules/@quantiya/codevibe-core/node_modules/wrap-ansi/package.json +69 -0
  522. package/node_modules/@quantiya/codevibe-core/node_modules/wrap-ansi/readme.md +77 -0
  523. package/node_modules/@quantiya/codevibe-core/node_modules/ws/LICENSE +20 -0
  524. package/node_modules/@quantiya/codevibe-core/node_modules/ws/README.md +548 -0
  525. package/node_modules/@quantiya/codevibe-core/node_modules/ws/browser.js +8 -0
  526. package/node_modules/@quantiya/codevibe-core/node_modules/ws/index.js +22 -0
  527. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/buffer-util.js +131 -0
  528. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/constants.js +19 -0
  529. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/event-target.js +292 -0
  530. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/extension.js +203 -0
  531. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/limiter.js +55 -0
  532. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/permessage-deflate.js +528 -0
  533. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/receiver.js +760 -0
  534. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/sender.js +607 -0
  535. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/stream.js +161 -0
  536. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/subprotocol.js +62 -0
  537. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/validation.js +152 -0
  538. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/websocket-server.js +562 -0
  539. package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/websocket.js +1407 -0
  540. package/node_modules/@quantiya/codevibe-core/node_modules/ws/package.json +70 -0
  541. package/node_modules/@quantiya/codevibe-core/node_modules/ws/wrapper.mjs +21 -0
  542. package/node_modules/@quantiya/codevibe-core/package.json +6 -5
  543. package/node_modules/shell-quote/.github/FUNDING.yml +12 -0
  544. package/node_modules/shell-quote/.nycrc +14 -0
  545. package/node_modules/shell-quote/LICENSE +24 -0
  546. package/node_modules/shell-quote/README.md +168 -0
  547. package/node_modules/shell-quote/eslint.config.mjs +29 -0
  548. package/node_modules/shell-quote/index.d.ts +28 -0
  549. package/node_modules/shell-quote/index.js +4 -0
  550. package/node_modules/shell-quote/package.json +76 -0
  551. package/node_modules/shell-quote/parse.d.ts +46 -0
  552. package/node_modules/shell-quote/parse.js +261 -0
  553. package/node_modules/shell-quote/quote.d.ts +15 -0
  554. package/node_modules/shell-quote/quote.js +65 -0
  555. package/node_modules/shell-quote/security.md +11 -0
  556. package/node_modules/shell-quote/test/comment.js +16 -0
  557. package/node_modules/shell-quote/test/env.js +52 -0
  558. package/node_modules/shell-quote/test/env_fn.js +21 -0
  559. package/node_modules/shell-quote/test/op.js +102 -0
  560. package/node_modules/shell-quote/test/parse.js +67 -0
  561. package/node_modules/shell-quote/test/quote.js +128 -0
  562. package/node_modules/shell-quote/test/set.js +31 -0
  563. package/node_modules/shell-quote/tsconfig.json +10 -0
  564. package/node_modules/tagged-tag/index.d.ts +3 -0
  565. package/node_modules/tagged-tag/package.json +36 -0
  566. package/node_modules/tagged-tag/readme.md +5 -0
  567. package/node_modules/terminal-size/index.d.ts +17 -0
  568. package/node_modules/terminal-size/index.js +139 -0
  569. package/node_modules/terminal-size/package.json +49 -0
  570. package/node_modules/terminal-size/readme.md +32 -0
  571. package/package.json +14 -4
  572. package/node_modules/@alcalzone/ansi-tokenize/README.md +0 -248
  573. package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.d.ts +0 -11
  574. package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js +0 -41
  575. package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js.map +0 -1
  576. package/node_modules/@alcalzone/ansi-tokenize/build/diff.js +0 -17
  577. package/node_modules/@alcalzone/ansi-tokenize/build/diff.js.map +0 -1
  578. package/node_modules/@alcalzone/ansi-tokenize/build/reduce.js +0 -27
  579. package/node_modules/@alcalzone/ansi-tokenize/build/reduce.js.map +0 -1
  580. package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.d.ts +0 -12
  581. package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js +0 -70
  582. package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js.map +0 -1
  583. package/node_modules/@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point/index.js +0 -40
  584. package/node_modules/@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point/package.json +0 -45
  585. package/node_modules/@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point/readme.md +0 -43
  586. package/node_modules/@alcalzone/ansi-tokenize/package.json +0 -63
  587. package/node_modules/cli-boxes/index.d.ts +0 -127
  588. package/node_modules/cli-boxes/index.js +0 -6
  589. package/node_modules/cli-boxes/package.json +0 -42
  590. package/node_modules/cli-boxes/readme.md +0 -115
  591. package/node_modules/cli-truncate/index.d.ts +0 -116
  592. package/node_modules/cli-truncate/index.js +0 -99
  593. package/node_modules/cli-truncate/node_modules/ansi-styles/index.d.ts +0 -236
  594. package/node_modules/cli-truncate/node_modules/ansi-styles/package.json +0 -54
  595. package/node_modules/cli-truncate/node_modules/ansi-styles/readme.md +0 -173
  596. package/node_modules/cli-truncate/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  597. package/node_modules/cli-truncate/node_modules/emoji-regex/README.md +0 -107
  598. package/node_modules/cli-truncate/node_modules/emoji-regex/index.d.ts +0 -3
  599. package/node_modules/cli-truncate/node_modules/emoji-regex/index.js +0 -4
  600. package/node_modules/cli-truncate/node_modules/emoji-regex/index.mjs +0 -4
  601. package/node_modules/cli-truncate/node_modules/emoji-regex/package.json +0 -45
  602. package/node_modules/cli-truncate/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  603. package/node_modules/cli-truncate/node_modules/is-fullwidth-code-point/index.js +0 -40
  604. package/node_modules/cli-truncate/node_modules/is-fullwidth-code-point/package.json +0 -45
  605. package/node_modules/cli-truncate/node_modules/is-fullwidth-code-point/readme.md +0 -43
  606. package/node_modules/cli-truncate/node_modules/slice-ansi/index.js +0 -105
  607. package/node_modules/cli-truncate/node_modules/slice-ansi/package.json +0 -53
  608. package/node_modules/cli-truncate/node_modules/slice-ansi/readme.md +0 -66
  609. package/node_modules/cli-truncate/node_modules/string-width/index.js +0 -82
  610. package/node_modules/cli-truncate/node_modules/string-width/package.json +0 -64
  611. package/node_modules/cli-truncate/node_modules/string-width/readme.md +0 -66
  612. package/node_modules/cli-truncate/package.json +0 -51
  613. package/node_modules/cli-truncate/readme.md +0 -150
  614. package/node_modules/ink/build/apply-styles.js +0 -175
  615. package/node_modules/ink/build/build-layout.js +0 -77
  616. package/node_modules/ink/build/calculate-wrapped-text.js +0 -53
  617. package/node_modules/ink/build/components/App.d.ts +0 -59
  618. package/node_modules/ink/build/components/App.js +0 -286
  619. package/node_modules/ink/build/components/App.js.map +0 -1
  620. package/node_modules/ink/build/components/AppContext.d.ts +0 -11
  621. package/node_modules/ink/build/components/AppContext.js +0 -11
  622. package/node_modules/ink/build/components/AppContext.js.map +0 -1
  623. package/node_modules/ink/build/components/Box.d.ts +0 -62
  624. package/node_modules/ink/build/components/Box.js +0 -20
  625. package/node_modules/ink/build/components/Box.js.map +0 -1
  626. package/node_modules/ink/build/components/Color.js +0 -62
  627. package/node_modules/ink/build/components/ErrorOverview.js +0 -79
  628. package/node_modules/ink/build/components/ErrorOverview.js.map +0 -1
  629. package/node_modules/ink/build/components/Newline.d.ts +0 -13
  630. package/node_modules/ink/build/components/Newline.js +0 -8
  631. package/node_modules/ink/build/components/Newline.js.map +0 -1
  632. package/node_modules/ink/build/components/Spacer.d.ts +0 -6
  633. package/node_modules/ink/build/components/Spacer.js +0 -10
  634. package/node_modules/ink/build/components/Spacer.js.map +0 -1
  635. package/node_modules/ink/build/components/Static.d.ts +0 -31
  636. package/node_modules/ink/build/components/Static.js +0 -33
  637. package/node_modules/ink/build/components/Static.js.map +0 -1
  638. package/node_modules/ink/build/components/StderrContext.d.ts +0 -17
  639. package/node_modules/ink/build/components/StderrContext.js +0 -13
  640. package/node_modules/ink/build/components/StderrContext.js.map +0 -1
  641. package/node_modules/ink/build/components/StdinContext.d.ts +0 -23
  642. package/node_modules/ink/build/components/StdinContext.js +0 -19
  643. package/node_modules/ink/build/components/StdinContext.js.map +0 -1
  644. package/node_modules/ink/build/components/StdoutContext.d.ts +0 -17
  645. package/node_modules/ink/build/components/StdoutContext.js +0 -13
  646. package/node_modules/ink/build/components/StdoutContext.js.map +0 -1
  647. package/node_modules/ink/build/components/Text.d.ts +0 -49
  648. package/node_modules/ink/build/components/Text.js +0 -40
  649. package/node_modules/ink/build/components/Text.js.map +0 -1
  650. package/node_modules/ink/build/components/Transform.d.ts +0 -15
  651. package/node_modules/ink/build/components/Transform.js +0 -14
  652. package/node_modules/ink/build/components/Transform.js.map +0 -1
  653. package/node_modules/ink/build/devtools-window-polyfill.js +0 -64
  654. package/node_modules/ink/build/devtools-window-polyfill.js.map +0 -1
  655. package/node_modules/ink/build/devtools.js +0 -9
  656. package/node_modules/ink/build/devtools.js.map +0 -1
  657. package/node_modules/ink/build/dom.d.ts +0 -42
  658. package/node_modules/ink/build/dom.js +0 -117
  659. package/node_modules/ink/build/dom.js.map +0 -1
  660. package/node_modules/ink/build/experimental/apply-style.js +0 -140
  661. package/node_modules/ink/build/experimental/dom.js +0 -123
  662. package/node_modules/ink/build/experimental/output.js +0 -91
  663. package/node_modules/ink/build/experimental/reconciler.js +0 -141
  664. package/node_modules/ink/build/experimental/renderer.js +0 -81
  665. package/node_modules/ink/build/hooks/use-app.d.ts +0 -5
  666. package/node_modules/ink/build/hooks/use-app.js +0 -8
  667. package/node_modules/ink/build/hooks/use-app.js.map +0 -1
  668. package/node_modules/ink/build/hooks/use-focus-manager.d.ts +0 -34
  669. package/node_modules/ink/build/hooks/use-focus-manager.js +0 -18
  670. package/node_modules/ink/build/hooks/use-focus-manager.js.map +0 -1
  671. package/node_modules/ink/build/hooks/use-focus.d.ts +0 -34
  672. package/node_modules/ink/build/hooks/use-focus.js +0 -47
  673. package/node_modules/ink/build/hooks/use-focus.js.map +0 -1
  674. package/node_modules/ink/build/hooks/use-input.d.ts +0 -97
  675. package/node_modules/ink/build/hooks/use-input.js +0 -96
  676. package/node_modules/ink/build/hooks/use-input.js.map +0 -1
  677. package/node_modules/ink/build/hooks/use-stderr.d.ts +0 -5
  678. package/node_modules/ink/build/hooks/use-stderr.js +0 -8
  679. package/node_modules/ink/build/hooks/use-stderr.js.map +0 -1
  680. package/node_modules/ink/build/hooks/use-stdin.d.ts +0 -5
  681. package/node_modules/ink/build/hooks/use-stdin.js +0 -8
  682. package/node_modules/ink/build/hooks/use-stdin.js.map +0 -1
  683. package/node_modules/ink/build/hooks/use-stdout.d.ts +0 -5
  684. package/node_modules/ink/build/hooks/use-stdout.js +0 -8
  685. package/node_modules/ink/build/hooks/use-stdout.js.map +0 -1
  686. package/node_modules/ink/build/hooks/useInput.js +0 -38
  687. package/node_modules/ink/build/index.d.ts +0 -27
  688. package/node_modules/ink/build/index.js +0 -16
  689. package/node_modules/ink/build/index.js.map +0 -1
  690. package/node_modules/ink/build/ink.d.ts +0 -37
  691. package/node_modules/ink/build/ink.js +0 -235
  692. package/node_modules/ink/build/ink.js.map +0 -1
  693. package/node_modules/ink/build/instance.js +0 -205
  694. package/node_modules/ink/build/log-update.d.ts +0 -12
  695. package/node_modules/ink/build/log-update.js +0 -37
  696. package/node_modules/ink/build/log-update.js.map +0 -1
  697. package/node_modules/ink/build/measure-element.d.ts +0 -16
  698. package/node_modules/ink/build/measure-element.js +0 -9
  699. package/node_modules/ink/build/measure-element.js.map +0 -1
  700. package/node_modules/ink/build/measure-text.js +0 -20
  701. package/node_modules/ink/build/measure-text.js.map +0 -1
  702. package/node_modules/ink/build/output.d.ts +0 -35
  703. package/node_modules/ink/build/output.js +0 -148
  704. package/node_modules/ink/build/output.js.map +0 -1
  705. package/node_modules/ink/build/parse-keypress.d.ts +0 -14
  706. package/node_modules/ink/build/parse-keypress.js +0 -225
  707. package/node_modules/ink/build/parse-keypress.js.map +0 -1
  708. package/node_modules/ink/build/reconciler.d.ts +0 -4
  709. package/node_modules/ink/build/reconciler.js +0 -219
  710. package/node_modules/ink/build/reconciler.js.map +0 -1
  711. package/node_modules/ink/build/render-border.js +0 -73
  712. package/node_modules/ink/build/render-border.js.map +0 -1
  713. package/node_modules/ink/build/render-node-to-output.d.ts +0 -10
  714. package/node_modules/ink/build/render-node-to-output.js +0 -99
  715. package/node_modules/ink/build/render-node-to-output.js.map +0 -1
  716. package/node_modules/ink/build/render.d.ts +0 -63
  717. package/node_modules/ink/build/render.js +0 -48
  718. package/node_modules/ink/build/render.js.map +0 -1
  719. package/node_modules/ink/build/renderer.d.ts +0 -8
  720. package/node_modules/ink/build/renderer.js +0 -36
  721. package/node_modules/ink/build/renderer.js.map +0 -1
  722. package/node_modules/ink/build/squash-text-nodes.js +0 -35
  723. package/node_modules/ink/build/squash-text-nodes.js.map +0 -1
  724. package/node_modules/ink/build/styles.d.ts +0 -243
  725. package/node_modules/ink/build/styles.js +0 -232
  726. package/node_modules/ink/build/styles.js.map +0 -1
  727. package/node_modules/ink/build/wrap-text.js +0 -31
  728. package/node_modules/ink/build/wrap-text.js.map +0 -1
  729. package/node_modules/ink/license +0 -9
  730. package/node_modules/ink/node_modules/ansi-styles/index.d.ts +0 -236
  731. package/node_modules/ink/node_modules/ansi-styles/index.js +0 -223
  732. package/node_modules/ink/node_modules/ansi-styles/package.json +0 -54
  733. package/node_modules/ink/node_modules/ansi-styles/readme.md +0 -173
  734. package/node_modules/ink/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  735. package/node_modules/ink/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  736. package/node_modules/ink/node_modules/emoji-regex/README.md +0 -107
  737. package/node_modules/ink/node_modules/emoji-regex/index.d.ts +0 -3
  738. package/node_modules/ink/node_modules/emoji-regex/index.js +0 -4
  739. package/node_modules/ink/node_modules/emoji-regex/index.mjs +0 -4
  740. package/node_modules/ink/node_modules/emoji-regex/package.json +0 -45
  741. package/node_modules/ink/node_modules/string-width/index.d.ts +0 -39
  742. package/node_modules/ink/node_modules/string-width/index.js +0 -82
  743. package/node_modules/ink/node_modules/string-width/package.json +0 -64
  744. package/node_modules/ink/node_modules/string-width/readme.md +0 -66
  745. package/node_modules/ink/node_modules/type-fest/index.d.ts +0 -178
  746. package/node_modules/ink/node_modules/type-fest/package.json +0 -91
  747. package/node_modules/ink/node_modules/type-fest/readme.md +0 -1060
  748. package/node_modules/ink/node_modules/type-fest/source/all-union-fields.d.ts +0 -88
  749. package/node_modules/ink/node_modules/type-fest/source/and.d.ts +0 -25
  750. package/node_modules/ink/node_modules/type-fest/source/array-indices.d.ts +0 -23
  751. package/node_modules/ink/node_modules/type-fest/source/array-slice.d.ts +0 -109
  752. package/node_modules/ink/node_modules/type-fest/source/array-splice.d.ts +0 -99
  753. package/node_modules/ink/node_modules/type-fest/source/array-tail.d.ts +0 -76
  754. package/node_modules/ink/node_modules/type-fest/source/array-values.d.ts +0 -22
  755. package/node_modules/ink/node_modules/type-fest/source/arrayable.d.ts +0 -29
  756. package/node_modules/ink/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  757. package/node_modules/ink/node_modules/type-fest/source/asyncify.d.ts +0 -32
  758. package/node_modules/ink/node_modules/type-fest/source/basic.d.ts +0 -68
  759. package/node_modules/ink/node_modules/type-fest/source/camel-case.d.ts +0 -89
  760. package/node_modules/ink/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -97
  761. package/node_modules/ink/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -43
  762. package/node_modules/ink/node_modules/type-fest/source/conditional-except.d.ts +0 -45
  763. package/node_modules/ink/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
  764. package/node_modules/ink/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -118
  765. package/node_modules/ink/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
  766. package/node_modules/ink/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
  767. package/node_modules/ink/node_modules/type-fest/source/delimiter-case.d.ts +0 -78
  768. package/node_modules/ink/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -106
  769. package/node_modules/ink/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -46
  770. package/node_modules/ink/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
  771. package/node_modules/ink/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
  772. package/node_modules/ink/node_modules/type-fest/source/empty-object.d.ts +0 -46
  773. package/node_modules/ink/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
  774. package/node_modules/ink/node_modules/type-fest/source/entries.d.ts +0 -62
  775. package/node_modules/ink/node_modules/type-fest/source/entry.d.ts +0 -65
  776. package/node_modules/ink/node_modules/type-fest/source/exact.d.ts +0 -68
  777. package/node_modules/ink/node_modules/type-fest/source/except.d.ts +0 -108
  778. package/node_modules/ink/node_modules/type-fest/source/find-global-type.d.ts +0 -64
  779. package/node_modules/ink/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
  780. package/node_modules/ink/node_modules/type-fest/source/get.d.ts +0 -219
  781. package/node_modules/ink/node_modules/type-fest/source/global-this.d.ts +0 -21
  782. package/node_modules/ink/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
  783. package/node_modules/ink/node_modules/type-fest/source/greater-than.d.ts +0 -56
  784. package/node_modules/ink/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
  785. package/node_modules/ink/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
  786. package/node_modules/ink/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
  787. package/node_modules/ink/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
  788. package/node_modules/ink/node_modules/type-fest/source/if-any.d.ts +0 -24
  789. package/node_modules/ink/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
  790. package/node_modules/ink/node_modules/type-fest/source/if-never.d.ts +0 -24
  791. package/node_modules/ink/node_modules/type-fest/source/if-null.d.ts +0 -24
  792. package/node_modules/ink/node_modules/type-fest/source/if-unknown.d.ts +0 -24
  793. package/node_modules/ink/node_modules/type-fest/source/includes.d.ts +0 -22
  794. package/node_modules/ink/node_modules/type-fest/source/int-closed-range.d.ts +0 -35
  795. package/node_modules/ink/node_modules/type-fest/source/int-range.d.ts +0 -55
  796. package/node_modules/ink/node_modules/type-fest/source/internal/array.d.ts +0 -126
  797. package/node_modules/ink/node_modules/type-fest/source/internal/characters.d.ts +0 -67
  798. package/node_modules/ink/node_modules/type-fest/source/internal/index.d.ts +0 -8
  799. package/node_modules/ink/node_modules/type-fest/source/internal/keys.d.ts +0 -97
  800. package/node_modules/ink/node_modules/type-fest/source/internal/numeric.d.ts +0 -118
  801. package/node_modules/ink/node_modules/type-fest/source/internal/object.d.ts +0 -236
  802. package/node_modules/ink/node_modules/type-fest/source/internal/string.d.ts +0 -210
  803. package/node_modules/ink/node_modules/type-fest/source/internal/tuple.d.ts +0 -90
  804. package/node_modules/ink/node_modules/type-fest/source/internal/type.d.ts +0 -139
  805. package/node_modules/ink/node_modules/type-fest/source/invariant-of.d.ts +0 -76
  806. package/node_modules/ink/node_modules/type-fest/source/is-any.d.ts +0 -33
  807. package/node_modules/ink/node_modules/type-fest/source/is-equal.d.ts +0 -31
  808. package/node_modules/ink/node_modules/type-fest/source/is-float.d.ts +0 -41
  809. package/node_modules/ink/node_modules/type-fest/source/is-integer.d.ts +0 -58
  810. package/node_modules/ink/node_modules/type-fest/source/is-literal.d.ts +0 -296
  811. package/node_modules/ink/node_modules/type-fest/source/is-never.d.ts +0 -42
  812. package/node_modules/ink/node_modules/type-fest/source/is-null.d.ts +0 -20
  813. package/node_modules/ink/node_modules/type-fest/source/is-tuple.d.ts +0 -89
  814. package/node_modules/ink/node_modules/type-fest/source/is-unknown.d.ts +0 -52
  815. package/node_modules/ink/node_modules/type-fest/source/iterable-element.d.ts +0 -64
  816. package/node_modules/ink/node_modules/type-fest/source/join.d.ts +0 -68
  817. package/node_modules/ink/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  818. package/node_modules/ink/node_modules/type-fest/source/jsonify.d.ts +0 -122
  819. package/node_modules/ink/node_modules/type-fest/source/kebab-case.d.ts +0 -44
  820. package/node_modules/ink/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -63
  821. package/node_modules/ink/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -40
  822. package/node_modules/ink/node_modules/type-fest/source/keys-of-union.d.ts +0 -42
  823. package/node_modules/ink/node_modules/type-fest/source/last-array-element.d.ts +0 -38
  824. package/node_modules/ink/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
  825. package/node_modules/ink/node_modules/type-fest/source/less-than.d.ts +0 -26
  826. package/node_modules/ink/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
  827. package/node_modules/ink/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
  828. package/node_modules/ink/node_modules/type-fest/source/literal-union.d.ts +0 -37
  829. package/node_modules/ink/node_modules/type-fest/source/merge-deep.d.ts +0 -486
  830. package/node_modules/ink/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
  831. package/node_modules/ink/node_modules/type-fest/source/merge.d.ts +0 -48
  832. package/node_modules/ink/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
  833. package/node_modules/ink/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
  834. package/node_modules/ink/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
  835. package/node_modules/ink/node_modules/type-fest/source/non-empty-string.d.ts +0 -28
  836. package/node_modules/ink/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
  837. package/node_modules/ink/node_modules/type-fest/source/numeric.d.ts +0 -222
  838. package/node_modules/ink/node_modules/type-fest/source/observable-like.d.ts +0 -63
  839. package/node_modules/ink/node_modules/type-fest/source/omit-deep.d.ts +0 -167
  840. package/node_modules/ink/node_modules/type-fest/source/omit-index-signature.d.ts +0 -95
  841. package/node_modules/ink/node_modules/type-fest/source/opaque.d.ts +0 -1
  842. package/node_modules/ink/node_modules/type-fest/source/optional-keys-of.d.ts +0 -39
  843. package/node_modules/ink/node_modules/type-fest/source/or.d.ts +0 -25
  844. package/node_modules/ink/node_modules/type-fest/source/override-properties.d.ts +0 -36
  845. package/node_modules/ink/node_modules/type-fest/source/package-json.d.ts +0 -676
  846. package/node_modules/ink/node_modules/type-fest/source/partial-deep.d.ts +0 -151
  847. package/node_modules/ink/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -78
  848. package/node_modules/ink/node_modules/type-fest/source/pascal-case.d.ts +0 -42
  849. package/node_modules/ink/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -62
  850. package/node_modules/ink/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -36
  851. package/node_modules/ink/node_modules/type-fest/source/paths.d.ts +0 -262
  852. package/node_modules/ink/node_modules/type-fest/source/pick-deep.d.ts +0 -149
  853. package/node_modules/ink/node_modules/type-fest/source/pick-index-signature.d.ts +0 -50
  854. package/node_modules/ink/node_modules/type-fest/source/primitive.d.ts +0 -13
  855. package/node_modules/ink/node_modules/type-fest/source/promisable.d.ts +0 -25
  856. package/node_modules/ink/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
  857. package/node_modules/ink/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -30
  858. package/node_modules/ink/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
  859. package/node_modules/ink/node_modules/type-fest/source/replace.d.ts +0 -85
  860. package/node_modules/ink/node_modules/type-fest/source/require-all-or-none.d.ts +0 -51
  861. package/node_modules/ink/node_modules/type-fest/source/require-at-least-one.d.ts +0 -47
  862. package/node_modules/ink/node_modules/type-fest/source/require-exactly-one.d.ts +0 -45
  863. package/node_modules/ink/node_modules/type-fest/source/require-one-or-none.d.ts +0 -46
  864. package/node_modules/ink/node_modules/type-fest/source/required-deep.d.ts +0 -78
  865. package/node_modules/ink/node_modules/type-fest/source/required-keys-of.d.ts +0 -30
  866. package/node_modules/ink/node_modules/type-fest/source/schema.d.ts +0 -114
  867. package/node_modules/ink/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -28
  868. package/node_modules/ink/node_modules/type-fest/source/set-field-type.d.ts +0 -65
  869. package/node_modules/ink/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -83
  870. package/node_modules/ink/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
  871. package/node_modules/ink/node_modules/type-fest/source/set-optional.d.ts +0 -38
  872. package/node_modules/ink/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
  873. package/node_modules/ink/node_modules/type-fest/source/set-readonly.d.ts +0 -39
  874. package/node_modules/ink/node_modules/type-fest/source/set-required-deep.d.ts +0 -68
  875. package/node_modules/ink/node_modules/type-fest/source/set-required.d.ts +0 -70
  876. package/node_modules/ink/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  877. package/node_modules/ink/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -178
  878. package/node_modules/ink/node_modules/type-fest/source/shared-union-fields.d.ts +0 -76
  879. package/node_modules/ink/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
  880. package/node_modules/ink/node_modules/type-fest/source/simplify.d.ts +0 -58
  881. package/node_modules/ink/node_modules/type-fest/source/single-key-object.d.ts +0 -29
  882. package/node_modules/ink/node_modules/type-fest/source/snake-case.d.ts +0 -45
  883. package/node_modules/ink/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -63
  884. package/node_modules/ink/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -40
  885. package/node_modules/ink/node_modules/type-fest/source/split.d.ts +0 -88
  886. package/node_modules/ink/node_modules/type-fest/source/spread.d.ts +0 -84
  887. package/node_modules/ink/node_modules/type-fest/source/string-key-of.d.ts +0 -25
  888. package/node_modules/ink/node_modules/type-fest/source/string-repeat.d.ts +0 -47
  889. package/node_modules/ink/node_modules/type-fest/source/string-slice.d.ts +0 -37
  890. package/node_modules/ink/node_modules/type-fest/source/stringified.d.ts +0 -23
  891. package/node_modules/ink/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
  892. package/node_modules/ink/node_modules/type-fest/source/subtract.d.ts +0 -83
  893. package/node_modules/ink/node_modules/type-fest/source/sum.d.ts +0 -78
  894. package/node_modules/ink/node_modules/type-fest/source/tagged-union.d.ts +0 -51
  895. package/node_modules/ink/node_modules/type-fest/source/tagged.d.ts +0 -256
  896. package/node_modules/ink/node_modules/type-fest/source/trim.d.ts +0 -27
  897. package/node_modules/ink/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1294
  898. package/node_modules/ink/node_modules/type-fest/source/tuple-to-object.d.ts +0 -42
  899. package/node_modules/ink/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
  900. package/node_modules/ink/node_modules/type-fest/source/typed-array.d.ts +0 -17
  901. package/node_modules/ink/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
  902. package/node_modules/ink/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
  903. package/node_modules/ink/node_modules/type-fest/source/union-to-tuple.d.ts +0 -56
  904. package/node_modules/ink/node_modules/type-fest/source/unknown-array.d.ts +0 -25
  905. package/node_modules/ink/node_modules/type-fest/source/unknown-map.d.ts +0 -24
  906. package/node_modules/ink/node_modules/type-fest/source/unknown-record.d.ts +0 -31
  907. package/node_modules/ink/node_modules/type-fest/source/unknown-set.d.ts +0 -24
  908. package/node_modules/ink/node_modules/type-fest/source/value-of.d.ts +0 -42
  909. package/node_modules/ink/node_modules/type-fest/source/words.d.ts +0 -118
  910. package/node_modules/ink/node_modules/type-fest/source/writable-deep.d.ts +0 -83
  911. package/node_modules/ink/node_modules/type-fest/source/writable-keys-of.d.ts +0 -33
  912. package/node_modules/ink/node_modules/type-fest/source/writable.d.ts +0 -68
  913. package/node_modules/ink/node_modules/wrap-ansi/index.d.ts +0 -41
  914. package/node_modules/ink/node_modules/wrap-ansi/index.js +0 -222
  915. package/node_modules/ink/node_modules/wrap-ansi/package.json +0 -69
  916. package/node_modules/ink/node_modules/wrap-ansi/readme.md +0 -75
  917. package/node_modules/ink/package.json +0 -196
  918. package/node_modules/ink/readme.md +0 -2162
  919. package/node_modules/is-in-ci/index.js +0 -11
  920. package/node_modules/is-in-ci/license +0 -9
  921. package/node_modules/is-in-ci/package.json +0 -49
  922. package/node_modules/is-in-ci/readme.md +0 -44
  923. package/node_modules/js-tokens/CHANGELOG.md +0 -151
  924. package/node_modules/js-tokens/LICENSE +0 -21
  925. package/node_modules/js-tokens/README.md +0 -240
  926. package/node_modules/js-tokens/index.js +0 -23
  927. package/node_modules/js-tokens/package.json +0 -30
  928. package/node_modules/loose-envify/LICENSE +0 -21
  929. package/node_modules/loose-envify/README.md +0 -45
  930. package/node_modules/loose-envify/cli.js +0 -16
  931. package/node_modules/loose-envify/custom.js +0 -4
  932. package/node_modules/loose-envify/index.js +0 -3
  933. package/node_modules/loose-envify/loose-envify.js +0 -36
  934. package/node_modules/loose-envify/package.json +0 -36
  935. package/node_modules/loose-envify/replace.js +0 -65
  936. package/node_modules/react/LICENSE +0 -21
  937. package/node_modules/react/README.md +0 -37
  938. package/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1315
  939. package/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -10
  940. package/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -10
  941. package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1333
  942. package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -11
  943. package/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -11
  944. package/node_modules/react/cjs/react.development.js +0 -2740
  945. package/node_modules/react/cjs/react.production.min.js +0 -26
  946. package/node_modules/react/cjs/react.shared-subset.development.js +0 -20
  947. package/node_modules/react/cjs/react.shared-subset.production.min.js +0 -10
  948. package/node_modules/react/index.js +0 -7
  949. package/node_modules/react/jsx-dev-runtime.js +0 -7
  950. package/node_modules/react/jsx-runtime.js +0 -7
  951. package/node_modules/react/package.json +0 -47
  952. package/node_modules/react/react.shared-subset.js +0 -7
  953. package/node_modules/react/umd/react.development.js +0 -3343
  954. package/node_modules/react/umd/react.production.min.js +0 -31
  955. package/node_modules/react/umd/react.profiling.min.js +0 -31
  956. package/node_modules/react-reconciler/LICENSE +0 -21
  957. package/node_modules/react-reconciler/README.md +0 -337
  958. package/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -45
  959. package/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +0 -10
  960. package/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +0 -660
  961. package/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.min.js +0 -15
  962. package/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -21531
  963. package/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +0 -234
  964. package/node_modules/react-reconciler/cjs/react-reconciler.profiling.min.js +0 -255
  965. package/node_modules/react-reconciler/constants.js +0 -7
  966. package/node_modules/react-reconciler/index.js +0 -7
  967. package/node_modules/react-reconciler/package.json +0 -40
  968. package/node_modules/react-reconciler/reflection.js +0 -7
  969. package/node_modules/scheduler/LICENSE +0 -21
  970. package/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -700
  971. package/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -20
  972. package/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -207
  973. package/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -14
  974. package/node_modules/scheduler/cjs/scheduler.development.js +0 -634
  975. package/node_modules/scheduler/cjs/scheduler.production.min.js +0 -19
  976. package/node_modules/scheduler/index.js +0 -7
  977. package/node_modules/scheduler/package.json +0 -36
  978. package/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -699
  979. package/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -19
  980. package/node_modules/scheduler/umd/scheduler.development.js +0 -152
  981. package/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
  982. package/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
  983. package/node_modules/scheduler/unstable_mock.js +0 -7
  984. package/node_modules/scheduler/unstable_post_task.js +0 -7
  985. package/node_modules/slice-ansi/index.d.ts +0 -19
  986. package/node_modules/slice-ansi/index.js +0 -169
  987. package/node_modules/slice-ansi/license +0 -10
  988. package/node_modules/slice-ansi/node_modules/ansi-styles/index.d.ts +0 -236
  989. package/node_modules/slice-ansi/node_modules/ansi-styles/index.js +0 -223
  990. package/node_modules/slice-ansi/node_modules/ansi-styles/license +0 -9
  991. package/node_modules/slice-ansi/node_modules/ansi-styles/package.json +0 -54
  992. package/node_modules/slice-ansi/node_modules/ansi-styles/readme.md +0 -173
  993. package/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  994. package/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/license +0 -9
  995. package/node_modules/slice-ansi/package.json +0 -58
  996. package/node_modules/slice-ansi/readme.md +0 -54
  997. package/node_modules/widest-line/license +0 -9
  998. package/node_modules/widest-line/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  999. package/node_modules/widest-line/node_modules/emoji-regex/README.md +0 -107
  1000. package/node_modules/widest-line/node_modules/emoji-regex/index.d.ts +0 -3
  1001. package/node_modules/widest-line/node_modules/emoji-regex/index.js +0 -4
  1002. package/node_modules/widest-line/node_modules/emoji-regex/index.mjs +0 -4
  1003. package/node_modules/widest-line/node_modules/emoji-regex/package.json +0 -45
  1004. package/node_modules/widest-line/node_modules/string-width/index.d.ts +0 -39
  1005. package/node_modules/widest-line/node_modules/string-width/index.js +0 -82
  1006. package/node_modules/widest-line/node_modules/string-width/license +0 -9
  1007. package/node_modules/widest-line/node_modules/string-width/package.json +0 -64
  1008. package/node_modules/widest-line/node_modules/string-width/readme.md +0 -66
  1009. package/node_modules/widest-line/package.json +0 -60
  1010. /package/node_modules/{ink/build/devtools-window-polyfill.d.ts → @quantiya/codevibe-core/dist/orchestration-shell/__tests__/companion-turn-mirror.test.d.ts} +0 -0
  1011. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/diff.d.ts +0 -0
  1012. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/index.d.ts +0 -0
  1013. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/index.js +0 -0
  1014. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/index.js.map +0 -0
  1015. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/reduce.d.ts +0 -0
  1016. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/styledChars.d.ts +0 -0
  1017. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/styledChars.js +0 -0
  1018. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/styledChars.js.map +0 -0
  1019. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/undo.d.ts +0 -0
  1020. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/undo.js +0 -0
  1021. /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/undo.js.map +0 -0
  1022. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/base.d.ts +0 -0
  1023. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/base.js +0 -0
  1024. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/index.d.ts +0 -0
  1025. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/index.js +0 -0
  1026. /package/node_modules/{@alcalzone/ansi-tokenize/node_modules/ansi-styles → @quantiya/codevibe-core/node_modules/ansi-escapes}/license +0 -0
  1027. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/package.json +0 -0
  1028. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/readme.md +0 -0
  1029. /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/ansi-styles/index.d.ts +0 -0
  1030. /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/ansi-styles/index.js +0 -0
  1031. /package/node_modules/{@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point → @quantiya/codevibe-core/node_modules/ansi-styles}/license +0 -0
  1032. /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/ansi-styles/package.json +0 -0
  1033. /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/ansi-styles/readme.md +0 -0
  1034. /package/node_modules/{cli-boxes → @quantiya/codevibe-core/node_modules/chalk}/license +0 -0
  1035. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/package.json +0 -0
  1036. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/readme.md +0 -0
  1037. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/index.d.ts +0 -0
  1038. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/index.js +0 -0
  1039. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/utilities.js +0 -0
  1040. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -0
  1041. /package/node_modules/{cli-truncate/node_modules → @quantiya/codevibe-core/node_modules/chalk/source/vendor}/ansi-styles/index.js +0 -0
  1042. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -0
  1043. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/supports-color/browser.js +0 -0
  1044. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -0
  1045. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/supports-color/index.js +0 -0
  1046. /package/node_modules/{cli-boxes → @quantiya/codevibe-core/node_modules/cli-boxes}/boxes.json +0 -0
  1047. /package/node_modules/{cli-truncate → @quantiya/codevibe-core/node_modules/cli-boxes}/license +0 -0
  1048. /package/node_modules/{cli-truncate/node_modules/ansi-styles → @quantiya/codevibe-core/node_modules/cli-truncate}/license +0 -0
  1049. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/colorize.d.ts +0 -0
  1050. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/colorize.js +0 -0
  1051. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/colorize.js.map +0 -0
  1052. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/components/ErrorOverview.d.ts +0 -0
  1053. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/components/FocusContext.d.ts +0 -0
  1054. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/components/FocusContext.js +0 -0
  1055. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/components/FocusContext.js.map +0 -0
  1056. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/devtools.d.ts +0 -0
  1057. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/get-max-width.d.ts +0 -0
  1058. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/get-max-width.js +0 -0
  1059. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/get-max-width.js.map +0 -0
  1060. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/instances.d.ts +0 -0
  1061. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/instances.js +0 -0
  1062. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/instances.js.map +0 -0
  1063. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/measure-text.d.ts +0 -0
  1064. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/render-border.d.ts +0 -0
  1065. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/squash-text-nodes.d.ts +0 -0
  1066. /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/wrap-text.d.ts +0 -0
  1067. /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/index.d.ts +0 -0
  1068. /package/node_modules/{slice-ansi → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/index.js +0 -0
  1069. /package/node_modules/{cli-truncate → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/license +0 -0
  1070. /package/node_modules/{slice-ansi → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/package.json +0 -0
  1071. /package/node_modules/{slice-ansi → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/readme.md +0 -0
  1072. /package/node_modules/{is-in-ci → @quantiya/codevibe-core/node_modules/is-in-ci}/cli.js +0 -0
  1073. /package/node_modules/{is-in-ci → @quantiya/codevibe-core/node_modules/is-in-ci}/index.d.ts +0 -0
  1074. /package/node_modules/{cli-truncate/node_modules/string-width → @quantiya/codevibe-core/node_modules/is-in-ci}/license +0 -0
  1075. /package/node_modules/{scheduler → @quantiya/codevibe-core/node_modules/scheduler}/README.md +0 -0
  1076. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/LICENSE.txt +0 -0
  1077. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/README.md +0 -0
  1078. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/index.js +0 -0
  1079. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/package.json +0 -0
  1080. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/signals.js +0 -0
  1081. /package/node_modules/{cli-truncate → @quantiya/codevibe-core}/node_modules/slice-ansi/license +0 -0
  1082. /package/node_modules/{cli-truncate → @quantiya/codevibe-core}/node_modules/string-width/index.d.ts +0 -0
  1083. /package/node_modules/{ink/node_modules/ansi-escapes → @quantiya/codevibe-core/node_modules/string-width}/license +0 -0
  1084. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/type-fest/license-cc0 +0 -0
  1085. /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/type-fest/license-mit +0 -0
  1086. /package/node_modules/{widest-line → @quantiya/codevibe-core/node_modules/widest-line}/index.d.ts +0 -0
  1087. /package/node_modules/{widest-line → @quantiya/codevibe-core/node_modules/widest-line}/index.js +0 -0
  1088. /package/node_modules/{ink/node_modules/ansi-styles → @quantiya/codevibe-core/node_modules/widest-line}/license +0 -0
  1089. /package/node_modules/{widest-line → @quantiya/codevibe-core/node_modules/widest-line}/readme.md +0 -0
  1090. /package/node_modules/{ink/node_modules/chalk → @quantiya/codevibe-core/node_modules/wrap-ansi}/license +0 -0
  1091. /package/node_modules/{ink/node_modules/string-width → tagged-tag}/license +0 -0
  1092. /package/node_modules/{ink/node_modules/wrap-ansi → terminal-size}/license +0 -0
@@ -1,2162 +0,0 @@
1
- [![](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)
2
-
3
- ---
4
-
5
- <div align="center">
6
- <br>
7
- <br>
8
- <img width="240" alt="Ink" src="media/logo.png">
9
- <br>
10
- <br>
11
- <br>
12
- </div>
13
-
14
- > React for CLIs. Build and test your CLI output using components.
15
-
16
- [![Build Status](https://github.com/vadimdemedes/ink/workflows/test/badge.svg)](https://github.com/vadimdemedes/ink/actions)
17
- [![npm](https://img.shields.io/npm/dm/ink?logo=npm)](https://npmjs.com/package/ink)
18
-
19
- Ink provides the same component-based UI building experience that React offers in the browser, but for command-line apps.
20
- It uses [Yoga](https://github.com/facebook/yoga) to build Flexbox layouts in the terminal, so most CSS-like props are available in Ink as well.
21
- If you are already familiar with React, you already know Ink.
22
-
23
- Since Ink is a React renderer, it means that all features of React are supported.
24
- Head over to [React](https://reactjs.org) website for documentation on how to use it.
25
- Only Ink's methods will be documented in this readme.
26
-
27
- **Note:** This is documentation for Ink 4 and 5. If you're looking for docs on Ink 3, check out [this release](https://github.com/vadimdemedes/ink/tree/v3.2.0).
28
-
29
- ---
30
-
31
- <div align="center">
32
- <p>
33
- <p>
34
- <sup>
35
- <a href="https://opencollective.com/vadimdemedes">My open source work is supported by the community ❤️</a>
36
- </sup>
37
- </p>
38
- </p>
39
- </div>
40
-
41
- ## Install
42
-
43
- ```sh
44
- npm install ink react
45
- ```
46
-
47
- ## Usage
48
-
49
- ```jsx
50
- import React, {useState, useEffect} from 'react';
51
- import {render, Text} from 'ink';
52
-
53
- const Counter = () => {
54
- const [counter, setCounter] = useState(0);
55
-
56
- useEffect(() => {
57
- const timer = setInterval(() => {
58
- setCounter(previousCounter => previousCounter + 1);
59
- }, 100);
60
-
61
- return () => {
62
- clearInterval(timer);
63
- };
64
- }, []);
65
-
66
- return <Text color="green">{counter} tests passed</Text>;
67
- };
68
-
69
- render(<Counter />);
70
- ```
71
-
72
- <img src="media/demo.svg" width="600">
73
-
74
- You can also check it out live on [repl.it sandbox](https://ink-counter-demo.vadimdemedes.repl.run/).
75
- Feel free to play around with the code and fork this repl at [https://repl.it/@vadimdemedes/ink-counter-demo](https://repl.it/@vadimdemedes/ink-counter-demo).
76
-
77
- ## Who's Using Ink?
78
-
79
- - [Codex](https://github.com/openai/codex) - An open-source coding agent that runs in the terminal, made by OpenAI.
80
- - [Claude Code](https://github.com/anthropics/claude-code) - An agentic coding tool made by Anthropic.
81
- - [GitHub Copilot for CLI](https://githubnext.com/projects/copilot-cli) - Just say what you want the shell to do.
82
- - [Cloudflare's Wrangler](https://github.com/cloudflare/wrangler2) - The CLI for Cloudflare Workers.
83
- - [Linear](https://linear.app) - Linear built an internal CLI for managing deployments, configs and other housekeeping tasks.
84
- - [Gatsby](https://www.gatsbyjs.org) - Gatsby is a modern web framework for blazing fast websites.
85
- - [tap](https://node-tap.org) - A Test-Anything-Protocol library for JavaScript.
86
- - [Terraform CDK](https://github.com/hashicorp/terraform-cdk) - CDK (Cloud Development Kit) for HashiCorp Terraform.
87
- - [Specify CLI](https://specifyapp.com) - Automate the distribution of your design tokens.
88
- - [Twilio's SIGNAL](https://github.com/twilio-labs/plugin-signal2020) - CLI for Twilio's SIGNAL conference. [Blog post](https://www.twilio.com/blog/building-conference-cli-in-react).
89
- - [Typewriter](https://github.com/segmentio/typewriter) - Generates strongly-typed [Segment](https://segment.com) analytics clients from arbitrary JSON Schema.
90
- - [Prisma](https://www.prisma.io) - The unified data layer for modern applications.
91
- - [Blitz](https://blitzjs.com) - The Fullstack React Framework.
92
- - [New York Times](https://github.com/nytimes/kyt) - NYT uses Ink `kyt` - a toolkit that encapsulates and manages the configuration for web apps.
93
- - [tink](https://github.com/npm/tink) - Next-generation runtime and package manager.
94
- - [Inkle](https://github.com/jrr/inkle) - Wordle game.
95
- - [loki](https://github.com/oblador/loki) - Visual regression testing for Storybook.
96
- - [Bit](https://github.com/teambit/bit) - Build, distribute and collaborate on components.
97
- - [Remirror](https://github.com/remirror/remirror) - Your friendly, world-class editor toolkit.
98
- - [Prime](https://github.com/birkir/prime) - Open source GraphQL CMS.
99
- - [emoj](https://github.com/sindresorhus/emoj) - Find relevant emojis.
100
- - [emma](https://github.com/maticzav/emma-cli) - Find and install npm packages.
101
- - [npm-check-extras](https://github.com/akgondber/npm-check-extras) - Check for outdated and unused dependencies, and run update/delete action over selected ones.
102
- - [swiff](https://github.com/simple-integrated-marketing/swiff) - Multi-environment command line tools for time-saving web developers.
103
- - [share](https://github.com/marionebl/share-cli) - Quickly share files.
104
- - [Kubelive](https://github.com/ameerthehacker/kubelive) - CLI for Kubernetes to provide live data about the cluster and its resources.
105
- - [changelog-view](https://github.com/jdeniau/changelog-view) - View changelogs.
106
- - [cfpush](https://github.com/mamachanko/cfpush) - An interactive Cloud Foundry tutorial.
107
- - [startd](https://github.com/mgrip/startd) - Turn your React component into a web app.
108
- - [wiki-cli](https://github.com/hexrcs/wiki-cli) - Search Wikipedia and read summaries.
109
- - [garson](https://github.com/goliney/garson) - Build interactive config-based command-line interfaces.
110
- - [git-contrib-calendar](https://github.com/giannisp/git-contrib-calendar) - Display a contributions calendar for any git repository.
111
- - [gitgud](https://github.com/GitGud-org/GitGud) - An interactive command-line GUI for Git.
112
- - [Autarky](https://github.com/pranshuchittora/autarky) - Find and delete old `node_modules` directories in order to free up disk space.
113
- - [fast-cli](https://github.com/sindresorhus/fast-cli) - Test your download and upload speed.
114
- - [tasuku](https://github.com/privatenumber/tasuku) - Minimal task runner.
115
- - [mnswpr](https://github.com/mordv/mnswpr) - Minesweeper game.
116
- - [lrn](https://github.com/krychu/lrn) - Learning by repetition.
117
- - [turdle](https://github.com/mynameisankit/turdle) - Wordle game.
118
- - [Shopify CLI](https://github.com/Shopify/cli) - Build apps, themes, and storefronts for Shopify.
119
- - [ToDesktop CLI](https://www.todesktop.com/electron) - An all-in-one platform for building Electron apps.
120
- - [Walle](https://github.com/Pobepto/walle) - Full-featured crypto wallet for EVM networks.
121
- - [Sudoku](https://github.com/mrozio13pl/sudoku-in-terminal) - Sudoku game.
122
- - [Sea Trader](https://github.com/zyishai/sea-trader) - Taipan! inspired trading simulator game.
123
- - [srtd](https://github.com/t1mmen/srtd) - Live-reloading SQL templates for Supabase projects.
124
-
125
- ## Contents
126
-
127
- - [Getting Started](#getting-started)
128
- - [Components](#components)
129
- - [`<Text>`](#text)
130
- - [`<Box>`](#box)
131
- - [`<Newline>`](#newline)
132
- - [`<Spacer>`](#spacer)
133
- - [`<Static>`](#static)
134
- - [`<Transform>`](#transform)
135
- - [Hooks](#hooks)
136
- - [`useInput`](#useinputinputhandler-options)
137
- - [`useApp`](#useapp)
138
- - [`useStdin`](#usestdin)
139
- - [`useStdout`](#usestdout)
140
- - [`useStderr`](#usestderr)
141
- - [`useFocus`](#usefocusoptions)
142
- - [`useFocusManager`](#usefocusmanager)
143
- - [API](#api)
144
- - [Testing](#testing)
145
- - [Using React Devtools](#using-react-devtools)
146
- - [Useful Components](#useful-components)
147
- - [Useful Hooks](#useful-hooks)
148
- - [Examples](#examples)
149
-
150
- ## Getting Started
151
-
152
- Use [create-ink-app](https://github.com/vadimdemedes/create-ink-app) to quickly scaffold a new Ink-based CLI.
153
-
154
- ```sh
155
- npx create-ink-app my-ink-cli
156
- ```
157
-
158
- Alternatively, create a TypeScript project:
159
-
160
- ```sh
161
- npx create-ink-app --typescript my-ink-cli
162
- ```
163
-
164
- <details><summary>Manual JavaScript setup</summary>
165
- <p>
166
- Ink requires the same Babel setup as you would do for regular React-based apps in the browser.
167
-
168
- Set up Babel with a React preset to ensure all examples in this readme work as expected.
169
- After [installing Babel](https://babeljs.io/docs/en/usage), install `@babel/preset-react` and insert the following configuration in `babel.config.json`:
170
-
171
- ```sh
172
- npm install --save-dev @babel/preset-react
173
- ```
174
-
175
- ```json
176
- {
177
- "presets": ["@babel/preset-react"]
178
- }
179
- ```
180
-
181
- Next, create a file `source.js`, where you'll type code that uses Ink:
182
-
183
- ```jsx
184
- import React from 'react';
185
- import {render, Text} from 'ink';
186
-
187
- const Demo = () => <Text>Hello World</Text>;
188
-
189
- render(<Demo />);
190
- ```
191
-
192
- Then, transpile this file with Babel:
193
-
194
- ```sh
195
- npx babel source.js -o cli.js
196
- ```
197
-
198
- Now you can run `cli.js` with Node.js:
199
-
200
- ```sh
201
- node cli
202
- ```
203
-
204
- If you don't like transpiling files during development, you can use [import-jsx](https://github.com/vadimdemedes/import-jsx) or [@esbuild-kit/esm-loader](https://github.com/esbuild-kit/esm-loader) to `import` a JSX file and transpile it on the fly.
205
-
206
- </p>
207
- </details>
208
-
209
- Ink uses [Yoga](https://github.com/facebook/yoga) - a Flexbox layout engine to build great user interfaces for your CLIs using familiar CSS-like props you've used when building apps for the browser.
210
- It's important to remember that each element is a Flexbox container.
211
- Think of it as if each `<div>` in the browser had `display: flex`.
212
- See [`<Box>`](#box) built-in component below for documentation on how to use Flexbox layouts in Ink.
213
- Note that all text must be wrapped in a [`<Text>`](#text) component.
214
-
215
- ## Components
216
-
217
- ### `<Text>`
218
-
219
- This component can display text, and change its style to make it bold, underline, italic or strikethrough.
220
-
221
- ```jsx
222
- import {render, Text} from 'ink';
223
-
224
- const Example = () => (
225
- <>
226
- <Text color="green">I am green</Text>
227
- <Text color="black" backgroundColor="white">
228
- I am black on white
229
- </Text>
230
- <Text color="#ffffff">I am white</Text>
231
- <Text bold>I am bold</Text>
232
- <Text italic>I am italic</Text>
233
- <Text underline>I am underline</Text>
234
- <Text strikethrough>I am strikethrough</Text>
235
- <Text inverse>I am inversed</Text>
236
- </>
237
- );
238
-
239
- render(<Example />);
240
- ```
241
-
242
- **Note:** `<Text>` allows only text nodes and nested `<Text>` components inside of it. For example, `<Box>` component can't be used inside `<Text>`.
243
-
244
- #### color
245
-
246
- Type: `string`
247
-
248
- Change text color.
249
- Ink uses [chalk](https://github.com/chalk/chalk) under the hood, so all its functionality is supported.
250
-
251
- ```jsx
252
- <Text color="green">Green</Text>
253
- <Text color="#005cc5">Blue</Text>
254
- <Text color="rgb(232, 131, 136)">Red</Text>
255
- ```
256
-
257
- <img src="media/text-color.jpg" width="247">
258
-
259
- #### backgroundColor
260
-
261
- Type: `string`
262
-
263
- Same as `color` above, but for background.
264
-
265
- ```jsx
266
- <Text backgroundColor="green" color="white">Green</Text>
267
- <Text backgroundColor="#005cc5" color="white">Blue</Text>
268
- <Text backgroundColor="rgb(232, 131, 136)" color="white">Red</Text>
269
- ```
270
-
271
- <img src="media/text-backgroundColor.jpg" width="226">
272
-
273
- #### dimColor
274
-
275
- Type: `boolean`\
276
- Default: `false`
277
-
278
- Dim the color (emit a small amount of light).
279
-
280
- ```jsx
281
- <Text color="red" dimColor>
282
- Dimmed Red
283
- </Text>
284
- ```
285
-
286
- <img src="media/text-dimColor.jpg" width="138">
287
-
288
- #### bold
289
-
290
- Type: `boolean`\
291
- Default: `false`
292
-
293
- Make the text bold.
294
-
295
- #### italic
296
-
297
- Type: `boolean`\
298
- Default: `false`
299
-
300
- Make the text italic.
301
-
302
- #### underline
303
-
304
- Type: `boolean`\
305
- Default: `false`
306
-
307
- Make the text underlined.
308
-
309
- #### strikethrough
310
-
311
- Type: `boolean`\
312
- Default: `false`
313
-
314
- Make the text crossed with a line.
315
-
316
- #### inverse
317
-
318
- Type: `boolean`\
319
- Default: `false`
320
-
321
- Inverse background and foreground colors.
322
-
323
- ```jsx
324
- <Text inverse color="yellow">
325
- Inversed Yellow
326
- </Text>
327
- ```
328
-
329
- <img src="media/text-inverse.jpg" width="138">
330
-
331
- #### wrap
332
-
333
- Type: `string`\
334
- Allowed values: `wrap` `truncate` `truncate-start` `truncate-middle` `truncate-end`\
335
- Default: `wrap`
336
-
337
- This property tells Ink to wrap or truncate text if its width is larger than container.
338
- If `wrap` is passed (by default), Ink will wrap text and split it into multiple lines.
339
- If `truncate-*` is passed, Ink will truncate text instead, which will result in one line of text with the rest cut off.
340
-
341
- ```jsx
342
- <Box width={7}>
343
- <Text>Hello World</Text>
344
- </Box>
345
- //=> 'Hello\nWorld'
346
-
347
- // `truncate` is an alias to `truncate-end`
348
- <Box width={7}>
349
- <Text wrap="truncate">Hello World</Text>
350
- </Box>
351
- //=> 'Hello…'
352
-
353
- <Box width={7}>
354
- <Text wrap="truncate-middle">Hello World</Text>
355
- </Box>
356
- //=> 'He…ld'
357
-
358
- <Box width={7}>
359
- <Text wrap="truncate-start">Hello World</Text>
360
- </Box>
361
- //=> '…World'
362
- ```
363
-
364
- ### `<Box>`
365
-
366
- `<Box>` is an essential Ink component to build your layout.
367
- It's like `<div style="display: flex">` in the browser.
368
-
369
- ```jsx
370
- import {render, Box, Text} from 'ink';
371
-
372
- const Example = () => (
373
- <Box margin={2}>
374
- <Text>This is a box with margin</Text>
375
- </Box>
376
- );
377
-
378
- render(<Example />);
379
- ```
380
-
381
- #### Dimensions
382
-
383
- ##### width
384
-
385
- Type: `number` `string`
386
-
387
- Width of the element in spaces.
388
- You can also set it in percent, which will calculate the width based on the width of parent element.
389
-
390
- ```jsx
391
- <Box width={4}>
392
- <Text>X</Text>
393
- </Box>
394
- //=> 'X '
395
- ```
396
-
397
- ```jsx
398
- <Box width={10}>
399
- <Box width="50%">
400
- <Text>X</Text>
401
- </Box>
402
- <Text>Y</Text>
403
- </Box>
404
- //=> 'X Y'
405
- ```
406
-
407
- ##### height
408
-
409
- Type: `number` `string`
410
-
411
- Height of the element in lines (rows).
412
- You can also set it in percent, which will calculate the height based on the height of parent element.
413
-
414
- ```jsx
415
- <Box height={4}>
416
- <Text>X</Text>
417
- </Box>
418
- //=> 'X\n\n\n'
419
- ```
420
-
421
- ```jsx
422
- <Box height={6} flexDirection="column">
423
- <Box height="50%">
424
- <Text>X</Text>
425
- </Box>
426
- <Text>Y</Text>
427
- </Box>
428
- //=> 'X\n\n\nY\n\n'
429
- ```
430
-
431
- ##### minWidth
432
-
433
- Type: `number`
434
-
435
- Sets a minimum width of the element.
436
- Percentages aren't supported yet, see https://github.com/facebook/yoga/issues/872.
437
-
438
- ##### minHeight
439
-
440
- Type: `number`
441
-
442
- Sets a minimum height of the element.
443
- Percentages aren't supported yet, see https://github.com/facebook/yoga/issues/872.
444
-
445
- #### Padding
446
-
447
- ##### paddingTop
448
-
449
- Type: `number`\
450
- Default: `0`
451
-
452
- Top padding.
453
-
454
- ##### paddingBottom
455
-
456
- Type: `number`\
457
- Default: `0`
458
-
459
- Bottom padding.
460
-
461
- ##### paddingLeft
462
-
463
- Type: `number`\
464
- Default: `0`
465
-
466
- Left padding.
467
-
468
- ##### paddingRight
469
-
470
- Type: `number`\
471
- Default: `0`
472
-
473
- Right padding.
474
-
475
- ##### paddingX
476
-
477
- Type: `number`\
478
- Default: `0`
479
-
480
- Horizontal padding. Equivalent to setting `paddingLeft` and `paddingRight`.
481
-
482
- ##### paddingY
483
-
484
- Type: `number`\
485
- Default: `0`
486
-
487
- Vertical padding. Equivalent to setting `paddingTop` and `paddingBottom`.
488
-
489
- ##### padding
490
-
491
- Type: `number`\
492
- Default: `0`
493
-
494
- Padding on all sides. Equivalent to setting `paddingTop`, `paddingBottom`, `paddingLeft` and `paddingRight`.
495
-
496
- ```jsx
497
- <Box paddingTop={2}>Top</Box>
498
- <Box paddingBottom={2}>Bottom</Box>
499
- <Box paddingLeft={2}>Left</Box>
500
- <Box paddingRight={2}>Right</Box>
501
- <Box paddingX={2}>Left and right</Box>
502
- <Box paddingY={2}>Top and bottom</Box>
503
- <Box padding={2}>Top, bottom, left and right</Box>
504
- ```
505
-
506
- #### Margin
507
-
508
- ##### marginTop
509
-
510
- Type: `number`\
511
- Default: `0`
512
-
513
- Top margin.
514
-
515
- ##### marginBottom
516
-
517
- Type: `number`\
518
- Default: `0`
519
-
520
- Bottom margin.
521
-
522
- ##### marginLeft
523
-
524
- Type: `number`\
525
- Default: `0`
526
-
527
- Left margin.
528
-
529
- ##### marginRight
530
-
531
- Type: `number`\
532
- Default: `0`
533
-
534
- Right margin.
535
-
536
- ##### marginX
537
-
538
- Type: `number`\
539
- Default: `0`
540
-
541
- Horizontal margin. Equivalent to setting `marginLeft` and `marginRight`.
542
-
543
- ##### marginY
544
-
545
- Type: `number`\
546
- Default: `0`
547
-
548
- Vertical margin. Equivalent to setting `marginTop` and `marginBottom`.
549
-
550
- ##### margin
551
-
552
- Type: `number`\
553
- Default: `0`
554
-
555
- Margin on all sides. Equivalent to setting `marginTop`, `marginBottom`, `marginLeft` and `marginRight`.
556
-
557
- ```jsx
558
- <Box marginTop={2}>Top</Box>
559
- <Box marginBottom={2}>Bottom</Box>
560
- <Box marginLeft={2}>Left</Box>
561
- <Box marginRight={2}>Right</Box>
562
- <Box marginX={2}>Left and right</Box>
563
- <Box marginY={2}>Top and bottom</Box>
564
- <Box margin={2}>Top, bottom, left and right</Box>
565
- ```
566
-
567
- #### Gap
568
-
569
- #### gap
570
-
571
- Type: `number`\
572
- Default: `0`
573
-
574
- Size of the gap between an element's columns and rows. Shorthand for `columnGap` and `rowGap`.
575
-
576
- ```jsx
577
- <Box gap={1} width={3} flexWrap="wrap">
578
- <Text>A</Text>
579
- <Text>B</Text>
580
- <Text>C</Text>
581
- </Box>
582
- // A B
583
- //
584
- // C
585
- ```
586
-
587
- #### columnGap
588
-
589
- Type: `number`\
590
- Default: `0`
591
-
592
- Size of the gap between an element's columns.
593
-
594
- ```jsx
595
- <Box columnGap={1}>
596
- <Text>A</Text>
597
- <Text>B</Text>
598
- </Box>
599
- // A B
600
- ```
601
-
602
- #### rowGap
603
-
604
- Type: `number`\
605
- Default: `0`
606
-
607
- Size of the gap between element's rows.
608
-
609
- ```jsx
610
- <Box flexDirection="column" rowGap={1}>
611
- <Text>A</Text>
612
- <Text>B</Text>
613
- </Box>
614
- // A
615
- //
616
- // B
617
- ```
618
-
619
- #### Flex
620
-
621
- ##### flexGrow
622
-
623
- Type: `number`\
624
- Default: `0`
625
-
626
- See [flex-grow](https://css-tricks.com/almanac/properties/f/flex-grow/).
627
-
628
- ```jsx
629
- <Box>
630
- <Text>Label:</Text>
631
- <Box flexGrow={1}>
632
- <Text>Fills all remaining space</Text>
633
- </Box>
634
- </Box>
635
- ```
636
-
637
- ##### flexShrink
638
-
639
- Type: `number`\
640
- Default: `1`
641
-
642
- See [flex-shrink](https://css-tricks.com/almanac/properties/f/flex-shrink/).
643
-
644
- ```jsx
645
- <Box width={20}>
646
- <Box flexShrink={2} width={10}>
647
- <Text>Will be 1/4</Text>
648
- </Box>
649
- <Box width={10}>
650
- <Text>Will be 3/4</Text>
651
- </Box>
652
- </Box>
653
- ```
654
-
655
- ##### flexBasis
656
-
657
- Type: `number` `string`
658
-
659
- See [flex-basis](https://css-tricks.com/almanac/properties/f/flex-basis/).
660
-
661
- ```jsx
662
- <Box width={6}>
663
- <Box flexBasis={3}>
664
- <Text>X</Text>
665
- </Box>
666
- <Text>Y</Text>
667
- </Box>
668
- //=> 'X Y'
669
- ```
670
-
671
- ```jsx
672
- <Box width={6}>
673
- <Box flexBasis="50%">
674
- <Text>X</Text>
675
- </Box>
676
- <Text>Y</Text>
677
- </Box>
678
- //=> 'X Y'
679
- ```
680
-
681
- ##### flexDirection
682
-
683
- Type: `string`\
684
- Allowed values: `row` `row-reverse` `column` `column-reverse`
685
-
686
- See [flex-direction](https://css-tricks.com/almanac/properties/f/flex-direction/).
687
-
688
- ```jsx
689
- <Box>
690
- <Box marginRight={1}>
691
- <Text>X</Text>
692
- </Box>
693
- <Text>Y</Text>
694
- </Box>
695
- // X Y
696
-
697
- <Box flexDirection="row-reverse">
698
- <Text>X</Text>
699
- <Box marginRight={1}>
700
- <Text>Y</Text>
701
- </Box>
702
- </Box>
703
- // Y X
704
-
705
- <Box flexDirection="column">
706
- <Text>X</Text>
707
- <Text>Y</Text>
708
- </Box>
709
- // X
710
- // Y
711
-
712
- <Box flexDirection="column-reverse">
713
- <Text>X</Text>
714
- <Text>Y</Text>
715
- </Box>
716
- // Y
717
- // X
718
- ```
719
-
720
- ##### flexWrap
721
-
722
- Type: `string`\
723
- Allowed values: `nowrap` `wrap` `wrap-reverse`
724
-
725
- See [flex-wrap](https://css-tricks.com/almanac/properties/f/flex-wrap/).
726
-
727
- ```jsx
728
- <Box width={2} flexWrap="wrap">
729
- <Text>A</Text>
730
- <Text>BC</Text>
731
- </Box>
732
- // A
733
- // B C
734
- ```
735
-
736
- ```jsx
737
- <Box flexDirection="column" height={2} flexWrap="wrap">
738
- <Text>A</Text>
739
- <Text>B</Text>
740
- <Text>C</Text>
741
- </Box>
742
- // A C
743
- // B
744
- ```
745
-
746
- ##### alignItems
747
-
748
- Type: `string`\
749
- Allowed values: `flex-start` `center` `flex-end`
750
-
751
- See [align-items](https://css-tricks.com/almanac/properties/a/align-items/).
752
-
753
- ```jsx
754
- <Box alignItems="flex-start">
755
- <Box marginRight={1}>
756
- <Text>X</Text>
757
- </Box>
758
- <Text>
759
- A
760
- <Newline/>
761
- B
762
- <Newline/>
763
- C
764
- </Text>
765
- </Box>
766
- // X A
767
- // B
768
- // C
769
-
770
- <Box alignItems="center">
771
- <Box marginRight={1}>
772
- <Text>X</Text>
773
- </Box>
774
- <Text>
775
- A
776
- <Newline/>
777
- B
778
- <Newline/>
779
- C
780
- </Text>
781
- </Box>
782
- // A
783
- // X B
784
- // C
785
-
786
- <Box alignItems="flex-end">
787
- <Box marginRight={1}>
788
- <Text>X</Text>
789
- </Box>
790
- <Text>
791
- A
792
- <Newline/>
793
- B
794
- <Newline/>
795
- C
796
- </Text>
797
- </Box>
798
- // A
799
- // B
800
- // X C
801
- ```
802
-
803
- ##### alignSelf
804
-
805
- Type: `string`\
806
- Default: `auto`\
807
- Allowed values: `auto` `flex-start` `center` `flex-end`
808
-
809
- See [align-self](https://css-tricks.com/almanac/properties/a/align-self/).
810
-
811
- ```jsx
812
- <Box height={3}>
813
- <Box alignSelf="flex-start">
814
- <Text>X</Text>
815
- </Box>
816
- </Box>
817
- // X
818
- //
819
- //
820
-
821
- <Box height={3}>
822
- <Box alignSelf="center">
823
- <Text>X</Text>
824
- </Box>
825
- </Box>
826
- //
827
- // X
828
- //
829
-
830
- <Box height={3}>
831
- <Box alignSelf="flex-end">
832
- <Text>X</Text>
833
- </Box>
834
- </Box>
835
- //
836
- //
837
- // X
838
- ```
839
-
840
- ##### justifyContent
841
-
842
- Type: `string`\
843
- Allowed values: `flex-start` `center` `flex-end` `space-between` `space-around` `space-evenly`
844
-
845
- See [justify-content](https://css-tricks.com/almanac/properties/j/justify-content/).
846
-
847
- ```jsx
848
- <Box justifyContent="flex-start">
849
- <Text>X</Text>
850
- </Box>
851
- // [X ]
852
-
853
- <Box justifyContent="center">
854
- <Text>X</Text>
855
- </Box>
856
- // [ X ]
857
-
858
- <Box justifyContent="flex-end">
859
- <Text>X</Text>
860
- </Box>
861
- // [ X]
862
-
863
- <Box justifyContent="space-between">
864
- <Text>X</Text>
865
- <Text>Y</Text>
866
- </Box>
867
- // [X Y]
868
-
869
- <Box justifyContent="space-around">
870
- <Text>X</Text>
871
- <Text>Y</Text>
872
- </Box>
873
- // [ X Y ]
874
-
875
- <Box justifyContent="space-evenly">
876
- <Text>X</Text>
877
- <Text>Y</Text>
878
- </Box>
879
- // [ X Y ]
880
- ```
881
-
882
- #### Visibility
883
-
884
- ##### display
885
-
886
- Type: `string`\
887
- Allowed values: `flex` `none`\
888
- Default: `flex`
889
-
890
- Set this property to `none` to hide the element.
891
-
892
- ##### overflowX
893
-
894
- Type: `string`\
895
- Allowed values: `visible` `hidden`\
896
- Default: `visible`
897
-
898
- Behavior for an element's overflow in horizontal direction.
899
-
900
- ##### overflowY
901
-
902
- Type: `string`\
903
- Allowed values: `visible` `hidden`\
904
- Default: `visible`
905
-
906
- Behavior for an element's overflow in vertical direction.
907
-
908
- ##### overflow
909
-
910
- Type: `string`\
911
- Allowed values: `visible` `hidden`\
912
- Default: `visible`
913
-
914
- Shortcut for setting `overflowX` and `overflowY` at the same time.
915
-
916
- #### Borders
917
-
918
- ##### borderStyle
919
-
920
- Type: `string`\
921
- Allowed values: `single` `double` `round` `bold` `singleDouble` `doubleSingle` `classic` | `BoxStyle`
922
-
923
- Add a border with a specified style.
924
- If `borderStyle` is `undefined` (which it is by default), no border will be added.
925
- Ink uses border styles from [`cli-boxes`](https://github.com/sindresorhus/cli-boxes) module.
926
-
927
- ```jsx
928
- <Box flexDirection="column">
929
- <Box>
930
- <Box borderStyle="single" marginRight={2}>
931
- <Text>single</Text>
932
- </Box>
933
-
934
- <Box borderStyle="double" marginRight={2}>
935
- <Text>double</Text>
936
- </Box>
937
-
938
- <Box borderStyle="round" marginRight={2}>
939
- <Text>round</Text>
940
- </Box>
941
-
942
- <Box borderStyle="bold">
943
- <Text>bold</Text>
944
- </Box>
945
- </Box>
946
-
947
- <Box marginTop={1}>
948
- <Box borderStyle="singleDouble" marginRight={2}>
949
- <Text>singleDouble</Text>
950
- </Box>
951
-
952
- <Box borderStyle="doubleSingle" marginRight={2}>
953
- <Text>doubleSingle</Text>
954
- </Box>
955
-
956
- <Box borderStyle="classic">
957
- <Text>classic</Text>
958
- </Box>
959
- </Box>
960
- </Box>
961
- ```
962
-
963
- <img src="media/box-borderStyle.jpg" width="521">
964
-
965
- Alternatively, pass a custom border style like so:
966
-
967
- ```jsx
968
- <Box
969
- borderStyle={{
970
- topLeft: '↘',
971
- top: '↓',
972
- topRight: '↙',
973
- left: '→',
974
- bottomLeft: '↗',
975
- bottom: '↑',
976
- bottomRight: '↖',
977
- right: '←'
978
- }}
979
- >
980
- <Text>Custom</Text>
981
- </Box>
982
- ```
983
-
984
- See example in [examples/borders](examples/borders/borders.tsx).
985
-
986
- ##### borderColor
987
-
988
- Type: `string`
989
-
990
- Change border color.
991
- Shorthand for setting `borderTopColor`, `borderRightColor`, `borderBottomColor` and `borderLeftColor`.
992
-
993
- ```jsx
994
- <Box borderStyle="round" borderColor="green">
995
- <Text>Green Rounded Box</Text>
996
- </Box>
997
- ```
998
-
999
- <img src="media/box-borderColor.jpg" width="228">
1000
-
1001
- ##### borderTopColor
1002
-
1003
- Type: `string`
1004
-
1005
- Change top border color.
1006
- Accepts the same values as [`color`](#color) in `<Text>` component.
1007
-
1008
- ```jsx
1009
- <Box borderStyle="round" borderTopColor="green">
1010
- <Text>Hello world</Text>
1011
- </Box>
1012
- ```
1013
-
1014
- ##### borderRightColor
1015
-
1016
- Type: `string`
1017
-
1018
- Change right border color.
1019
- Accepts the same values as [`color`](#color) in `<Text>` component.
1020
-
1021
- ```jsx
1022
- <Box borderStyle="round" borderRightColor="green">
1023
- <Text>Hello world</Text>
1024
- </Box>
1025
- ```
1026
-
1027
- ##### borderRightColor
1028
-
1029
- Type: `string`
1030
-
1031
- Change right border color.
1032
- Accepts the same values as [`color`](#color) in `<Text>` component.
1033
-
1034
- ```jsx
1035
- <Box borderStyle="round" borderRightColor="green">
1036
- <Text>Hello world</Text>
1037
- </Box>
1038
- ```
1039
-
1040
- ##### borderBottomColor
1041
-
1042
- Type: `string`
1043
-
1044
- Change bottom border color.
1045
- Accepts the same values as [`color`](#color) in `<Text>` component.
1046
-
1047
- ```jsx
1048
- <Box borderStyle="round" borderBottomColor="green">
1049
- <Text>Hello world</Text>
1050
- </Box>
1051
- ```
1052
-
1053
- ##### borderLeftColor
1054
-
1055
- Type: `string`
1056
-
1057
- Change left border color.
1058
- Accepts the same values as [`color`](#color) in `<Text>` component.
1059
-
1060
- ```jsx
1061
- <Box borderStyle="round" borderLeftColor="green">
1062
- <Text>Hello world</Text>
1063
- </Box>
1064
- ```
1065
-
1066
- ##### borderDimColor
1067
-
1068
- Type: `boolean`\
1069
- Default: `false`
1070
-
1071
- Dim the border color.
1072
- Shorthand for setting `borderTopDimColor`, `borderBottomDimColor`, `borderLeftDimColor` and `borderRightDimColor`.
1073
-
1074
- ```jsx
1075
- <Box borderStyle="round" borderDimColor>
1076
- <Text>Hello world</Text>
1077
- </Box>
1078
- ```
1079
-
1080
- ##### borderTopDimColor
1081
-
1082
- Type: `boolean`\
1083
- Default: `false`
1084
-
1085
- Dim the top border color.
1086
-
1087
- ```jsx
1088
- <Box borderStyle="round" borderTopDimColor>
1089
- <Text>Hello world</Text>
1090
- </Box>
1091
- ```
1092
-
1093
- ##### borderBottomDimColor
1094
-
1095
- Type: `boolean`\
1096
- Default: `false`
1097
-
1098
- Dim the bottom border color.
1099
-
1100
- ```jsx
1101
- <Box borderStyle="round" borderBottomDimColor>
1102
- <Text>Hello world</Text>
1103
- </Box>
1104
- ```
1105
-
1106
- ##### borderLeftDimColor
1107
-
1108
- Type: `boolean`\
1109
- Default: `false`
1110
-
1111
- Dim the left border color.
1112
-
1113
- ```jsx
1114
- <Box borderStyle="round" borderLeftDimColor>
1115
- <Text>Hello world</Text>
1116
- </Box>
1117
- ```
1118
-
1119
- ##### borderRightDimColor
1120
-
1121
- Type: `boolean`\
1122
- Default: `false`
1123
-
1124
- Dim the right border color.
1125
-
1126
- ```jsx
1127
- <Box borderStyle="round" borderRightDimColor>
1128
- <Text>Hello world</Text>
1129
- </Box>
1130
- ```
1131
-
1132
- ##### borderTop
1133
-
1134
- Type: `boolean`\
1135
- Default: `true`
1136
-
1137
- Determines whether top border is visible.
1138
-
1139
- ##### borderRight
1140
-
1141
- Type: `boolean`\
1142
- Default: `true`
1143
-
1144
- Determines whether right border is visible.
1145
-
1146
- ##### borderBottom
1147
-
1148
- Type: `boolean`\
1149
- Default: `true`
1150
-
1151
- Determines whether bottom border is visible.
1152
-
1153
- ##### borderLeft
1154
-
1155
- Type: `boolean`\
1156
- Default: `true`
1157
-
1158
- Determines whether left border is visible.
1159
-
1160
- ### `<Newline>`
1161
-
1162
- Adds one or more newline (`\n`) characters.
1163
- Must be used within `<Text>` components.
1164
-
1165
- #### count
1166
-
1167
- Type: `number`\
1168
- Default: `1`
1169
-
1170
- Number of newlines to insert.
1171
-
1172
- ```jsx
1173
- import {render, Text, Newline} from 'ink';
1174
-
1175
- const Example = () => (
1176
- <Text>
1177
- <Text color="green">Hello</Text>
1178
- <Newline />
1179
- <Text color="red">World</Text>
1180
- </Text>
1181
- );
1182
-
1183
- render(<Example />);
1184
- ```
1185
-
1186
- Output:
1187
-
1188
- ```
1189
- Hello
1190
- World
1191
- ```
1192
-
1193
- ### `<Spacer>`
1194
-
1195
- A flexible space that expands along the major axis of its containing layout.
1196
- It's useful as a shortcut for filling all the available spaces between elements.
1197
-
1198
- For example, using `<Spacer>` in a `<Box>` with default flex direction (`row`) will position "Left" on the left side and will push "Right" to the right side.
1199
-
1200
- ```jsx
1201
- import {render, Box, Text, Spacer} from 'ink';
1202
-
1203
- const Example = () => (
1204
- <Box>
1205
- <Text>Left</Text>
1206
- <Spacer />
1207
- <Text>Right</Text>
1208
- </Box>
1209
- );
1210
-
1211
- render(<Example />);
1212
- ```
1213
-
1214
- In a vertical flex direction (`column`), it will position "Top" to the top of the container and push "Bottom" to the bottom of it.
1215
- Note, that container needs to be tall to enough to see this in effect.
1216
-
1217
- ```jsx
1218
- import {render, Box, Text, Spacer} from 'ink';
1219
-
1220
- const Example = () => (
1221
- <Box flexDirection="column" height={10}>
1222
- <Text>Top</Text>
1223
- <Spacer />
1224
- <Text>Bottom</Text>
1225
- </Box>
1226
- );
1227
-
1228
- render(<Example />);
1229
- ```
1230
-
1231
- ### `<Static>`
1232
-
1233
- `<Static>` component permanently renders its output above everything else.
1234
- It's useful for displaying activity like completed tasks or logs - things that
1235
- are not changing after they're rendered (hence the name "Static").
1236
-
1237
- It's preferred to use `<Static>` for use cases like these, when you can't know
1238
- or control the amount of items that need to be rendered.
1239
-
1240
- For example, [Tap](https://github.com/tapjs/node-tap) uses `<Static>` to display
1241
- a list of completed tests. [Gatsby](https://github.com/gatsbyjs/gatsby) uses it
1242
- to display a list of generated pages, while still displaying a live progress bar.
1243
-
1244
- ```jsx
1245
- import React, {useState, useEffect} from 'react';
1246
- import {render, Static, Box, Text} from 'ink';
1247
-
1248
- const Example = () => {
1249
- const [tests, setTests] = useState([]);
1250
-
1251
- useEffect(() => {
1252
- let completedTests = 0;
1253
- let timer;
1254
-
1255
- const run = () => {
1256
- // Fake 10 completed tests
1257
- if (completedTests++ < 10) {
1258
- setTests(previousTests => [
1259
- ...previousTests,
1260
- {
1261
- id: previousTests.length,
1262
- title: `Test #${previousTests.length + 1}`
1263
- }
1264
- ]);
1265
-
1266
- timer = setTimeout(run, 100);
1267
- }
1268
- };
1269
-
1270
- run();
1271
-
1272
- return () => {
1273
- clearTimeout(timer);
1274
- };
1275
- }, []);
1276
-
1277
- return (
1278
- <>
1279
- {/* This part will be rendered once to the terminal */}
1280
- <Static items={tests}>
1281
- {test => (
1282
- <Box key={test.id}>
1283
- <Text color="green">✔ {test.title}</Text>
1284
- </Box>
1285
- )}
1286
- </Static>
1287
-
1288
- {/* This part keeps updating as state changes */}
1289
- <Box marginTop={1}>
1290
- <Text dimColor>Completed tests: {tests.length}</Text>
1291
- </Box>
1292
- </>
1293
- );
1294
- };
1295
-
1296
- render(<Example />);
1297
- ```
1298
-
1299
- **Note:** `<Static>` only renders new items in `items` prop and ignores items
1300
- that were previously rendered. This means that when you add new items to `items`
1301
- array, changes you make to previous items will not trigger a rerender.
1302
-
1303
- See [examples/static](examples/static/static.tsx) for an example usage of `<Static>` component.
1304
-
1305
- #### items
1306
-
1307
- Type: `Array`
1308
-
1309
- Array of items of any type to render using a function you pass as a component child.
1310
-
1311
- #### style
1312
-
1313
- Type: `object`
1314
-
1315
- Styles to apply to a container of child elements.
1316
- See [`<Box>`](#box) for supported properties.
1317
-
1318
- ```jsx
1319
- <Static items={...} style={{padding: 1}}>
1320
- {...}
1321
- </Static>
1322
- ```
1323
-
1324
- #### children(item)
1325
-
1326
- Type: `Function`
1327
-
1328
- Function that is called to render every item in `items` array.
1329
- First argument is an item itself and second argument is index of that item in
1330
- `items` array.
1331
-
1332
- Note that `key` must be assigned to the root component.
1333
-
1334
- ```jsx
1335
- <Static items={['a', 'b', 'c']}>
1336
- {(item, index) => {
1337
- // This function is called for every item in ['a', 'b', 'c']
1338
- // `item` is 'a', 'b', 'c'
1339
- // `index` is 0, 1, 2
1340
- return (
1341
- <Box key={index}>
1342
- <Text>Item: {item}</Text>
1343
- </Box>
1344
- );
1345
- }}
1346
- </Static>
1347
- ```
1348
-
1349
- ### `<Transform>`
1350
-
1351
- Transform a string representation of React components before they are written to output.
1352
- For example, you might want to apply a [gradient to text](https://github.com/sindresorhus/ink-gradient), [add a clickable link](https://github.com/sindresorhus/ink-link) or [create some text effects](https://github.com/sindresorhus/ink-big-text).
1353
- These use cases can't accept React nodes as input, they are expecting a string.
1354
- That's what `<Transform>` component does, it gives you an output string of its child components and lets you transform it in any way.
1355
-
1356
- **Note:** `<Transform>` must be applied only to `<Text>` children components and shouldn't change the dimensions of the output, otherwise layout will be incorrect.
1357
-
1358
- ```jsx
1359
- import {render, Transform} from 'ink';
1360
-
1361
- const Example = () => (
1362
- <Transform transform={output => output.toUpperCase()}>
1363
- <Text>Hello World</Text>
1364
- </Transform>
1365
- );
1366
-
1367
- render(<Example />);
1368
- ```
1369
-
1370
- Since `transform` function converts all characters to upper case, final output that's rendered to the terminal will be "HELLO WORLD", not "Hello World".
1371
-
1372
- When the output wraps to multiple lines, it can be helpful to know which line is being processed.
1373
-
1374
- For example, to implement a hanging indent component, you can indent all the lines except for the first.
1375
-
1376
- ```jsx
1377
- import {render, Transform} from 'ink';
1378
-
1379
- const HangingIndent = ({content, indent = 4, children, ...props}) => (
1380
- <Transform
1381
- transform={(line, index) =>
1382
- index === 0 ? line : ' '.repeat(indent) + line
1383
- }
1384
- {...props}
1385
- >
1386
- {children}
1387
- </Transform>
1388
- );
1389
-
1390
- const text =
1391
- 'WHEN I WROTE the following pages, or rather the bulk of them, ' +
1392
- 'I lived alone, in the woods, a mile from any neighbor, in a ' +
1393
- 'house which I had built myself, on the shore of Walden Pond, ' +
1394
- 'in Concord, Massachusetts, and earned my living by the labor ' +
1395
- 'of my hands only. I lived there two years and two months. At ' +
1396
- 'present I am a sojourner in civilized life again.';
1397
-
1398
- // Other text properties are allowed as well
1399
- render(
1400
- <HangingIndent bold dimColor indent={4}>
1401
- {text}
1402
- </HangingIndent>
1403
- );
1404
- ```
1405
-
1406
- #### transform(outputLine, index)
1407
-
1408
- Type: `Function`
1409
-
1410
- Function which transforms children output.
1411
- It accepts children and must return transformed children too.
1412
-
1413
- ##### children
1414
-
1415
- Type: `string`
1416
-
1417
- Output of child components.
1418
-
1419
- ##### index
1420
-
1421
- Type: `number`
1422
-
1423
- The zero-indexed line number of the line currently being transformed.
1424
-
1425
- ## Hooks
1426
-
1427
- ### useInput(inputHandler, options?)
1428
-
1429
- This hook is used for handling user input.
1430
- It's a more convenient alternative to using `useStdin` and listening to `data` events.
1431
- The callback you pass to `useInput` is called for each character when user enters any input.
1432
- However, if user pastes text and it's more than one character, the callback will be called only once and the whole string will be passed as `input`.
1433
- You can find a full example of using `useInput` at [examples/use-input](examples/use-input/use-input.tsx).
1434
-
1435
- ```jsx
1436
- import {useInput} from 'ink';
1437
-
1438
- const UserInput = () => {
1439
- useInput((input, key) => {
1440
- if (input === 'q') {
1441
- // Exit program
1442
- }
1443
-
1444
- if (key.leftArrow) {
1445
- // Left arrow key pressed
1446
- }
1447
- });
1448
-
1449
- return …
1450
- };
1451
- ```
1452
-
1453
- #### inputHandler(input, key)
1454
-
1455
- Type: `Function`
1456
-
1457
- The handler function that you pass to `useInput` receives two arguments:
1458
-
1459
- ##### input
1460
-
1461
- Type: `string`
1462
-
1463
- The input that the program received.
1464
-
1465
- ##### key
1466
-
1467
- Type: `object`
1468
-
1469
- Handy information about a key that was pressed.
1470
-
1471
- ###### key.leftArrow
1472
-
1473
- ###### key.rightArrow
1474
-
1475
- ###### key.upArrow
1476
-
1477
- ###### key.downArrow
1478
-
1479
- Type: `boolean`\
1480
- Default: `false`
1481
-
1482
- If an arrow key was pressed, the corresponding property will be `true`.
1483
- For example, if user presses left arrow key, `key.leftArrow` equals `true`.
1484
-
1485
- ###### key.return
1486
-
1487
- Type: `boolean`\
1488
- Default: `false`
1489
-
1490
- Return (Enter) key was pressed.
1491
-
1492
- ###### key.escape
1493
-
1494
- Type: `boolean`\
1495
- Default: `false`
1496
-
1497
- Escape key was pressed.
1498
-
1499
- ###### key.ctrl
1500
-
1501
- Type: `boolean`\
1502
- Default: `false`
1503
-
1504
- Ctrl key was pressed.
1505
-
1506
- ###### key.shift
1507
-
1508
- Type: `boolean`\
1509
- Default: `false`
1510
-
1511
- Shift key was pressed.
1512
-
1513
- ###### key.tab
1514
-
1515
- Type: `boolean`\
1516
- Default: `false`
1517
-
1518
- Tab key was pressed.
1519
-
1520
- ###### key.backspace
1521
-
1522
- Type: `boolean`\
1523
- Default: `false`
1524
-
1525
- Backspace key was pressed.
1526
-
1527
- ###### key.delete
1528
-
1529
- Type: `boolean`\
1530
- Default: `false`
1531
-
1532
- Delete key was pressed.
1533
-
1534
- ###### key.pageDown
1535
-
1536
- ###### key.pageUp
1537
-
1538
- Type: `boolean`\
1539
- Default: `false`
1540
-
1541
- If Page Up or Page Down key was pressed, the corresponding property will be `true`.
1542
- For example, if user presses Page Down, `key.pageDown` equals `true`.
1543
-
1544
- ###### key.meta
1545
-
1546
- Type: `boolean`\
1547
- Default: `false`
1548
-
1549
- [Meta key](https://en.wikipedia.org/wiki/Meta_key) was pressed.
1550
-
1551
- #### options
1552
-
1553
- Type: `object`
1554
-
1555
- ##### isActive
1556
-
1557
- Type: `boolean`\
1558
- Default: `true`
1559
-
1560
- Enable or disable capturing of user input.
1561
- Useful when there are multiple `useInput` hooks used at once to avoid handling the same input several times.
1562
-
1563
- ### useApp()
1564
-
1565
- `useApp` is a React hook, which exposes a method to manually exit the app (unmount).
1566
-
1567
- #### exit(error?)
1568
-
1569
- Type: `Function`
1570
-
1571
- Exit (unmount) the whole Ink app.
1572
-
1573
- ##### error
1574
-
1575
- Type: `Error`
1576
-
1577
- Optional error. If passed, [`waitUntilExit`](waituntilexit) will reject with that error.
1578
-
1579
- ```js
1580
- import {useApp} from 'ink';
1581
-
1582
- const Example = () => {
1583
- const {exit} = useApp();
1584
-
1585
- // Exit the app after 5 seconds
1586
- useEffect(() => {
1587
- setTimeout(() => {
1588
- exit();
1589
- }, 5000);
1590
- }, []);
1591
-
1592
- return …
1593
- };
1594
- ```
1595
-
1596
- ### useStdin()
1597
-
1598
- `useStdin` is a React hook, which exposes stdin stream.
1599
-
1600
- #### stdin
1601
-
1602
- Type: `stream.Readable`\
1603
- Default: `process.stdin`
1604
-
1605
- Stdin stream passed to `render()` in `options.stdin` or `process.stdin` by default.
1606
- Useful if your app needs to handle user input.
1607
-
1608
- ```js
1609
- import {useStdin} from 'ink';
1610
-
1611
- const Example = () => {
1612
- const {stdin} = useStdin();
1613
-
1614
- return …
1615
- };
1616
- ```
1617
-
1618
- #### isRawModeSupported
1619
-
1620
- Type: `boolean`
1621
-
1622
- A boolean flag determining if the current `stdin` supports `setRawMode`.
1623
- A component using `setRawMode` might want to use `isRawModeSupported` to nicely fall back in environments where raw mode is not supported.
1624
-
1625
- ```jsx
1626
- import {useStdin} from 'ink';
1627
-
1628
- const Example = () => {
1629
- const {isRawModeSupported} = useStdin();
1630
-
1631
- return isRawModeSupported ? (
1632
- <MyInputComponent />
1633
- ) : (
1634
- <MyComponentThatDoesntUseInput />
1635
- );
1636
- };
1637
- ```
1638
-
1639
- #### setRawMode(isRawModeEnabled)
1640
-
1641
- Type: `function`
1642
-
1643
- ##### isRawModeEnabled
1644
-
1645
- Type: `boolean`
1646
-
1647
- See [`setRawMode`](https://nodejs.org/api/tty.html#tty_readstream_setrawmode_mode).
1648
- Ink exposes this function to be able to handle <kbd>Ctrl</kbd>+<kbd>C</kbd>, that's why you should use Ink's `setRawMode` instead of `process.stdin.setRawMode`.
1649
-
1650
- **Warning:** This function will throw unless the current `stdin` supports `setRawMode`. Use [`isRawModeSupported`](#israwmodesupported) to detect `setRawMode` support.
1651
-
1652
- ```js
1653
- import {useStdin} from 'ink';
1654
-
1655
- const Example = () => {
1656
- const {setRawMode} = useStdin();
1657
-
1658
- useEffect(() => {
1659
- setRawMode(true);
1660
-
1661
- return () => {
1662
- setRawMode(false);
1663
- };
1664
- });
1665
-
1666
- return …
1667
- };
1668
- ```
1669
-
1670
- ### useStdout()
1671
-
1672
- `useStdout` is a React hook, which exposes stdout stream, where Ink renders your app.
1673
-
1674
- #### stdout
1675
-
1676
- Type: `stream.Writable`\
1677
- Default: `process.stdout`
1678
-
1679
- ```js
1680
- import {useStdout} from 'ink';
1681
-
1682
- const Example = () => {
1683
- const {stdout} = useStdout();
1684
-
1685
- return …
1686
- };
1687
- ```
1688
-
1689
- #### write(data)
1690
-
1691
- Write any string to stdout, while preserving Ink's output.
1692
- It's useful when you want to display some external information outside of Ink's rendering and ensure there's no conflict between the two.
1693
- It's similar to `<Static>`, except it can't accept components, it only works with strings.
1694
-
1695
- ##### data
1696
-
1697
- Type: `string`
1698
-
1699
- Data to write to stdout.
1700
-
1701
- ```js
1702
- import {useStdout} from 'ink';
1703
-
1704
- const Example = () => {
1705
- const {write} = useStdout();
1706
-
1707
- useEffect(() => {
1708
- // Write a single message to stdout, above Ink's output
1709
- write('Hello from Ink to stdout\n');
1710
- }, []);
1711
-
1712
- return …
1713
- };
1714
- ```
1715
-
1716
- See additional usage example in [examples/use-stdout](examples/use-stdout/use-stdout.tsx).
1717
-
1718
- ### useStderr()
1719
-
1720
- `useStderr` is a React hook, which exposes stderr stream.
1721
-
1722
- #### stderr
1723
-
1724
- Type: `stream.Writable`\
1725
- Default: `process.stderr`
1726
-
1727
- Stderr stream.
1728
-
1729
- ```js
1730
- import {useStderr} from 'ink';
1731
-
1732
- const Example = () => {
1733
- const {stderr} = useStderr();
1734
-
1735
- return …
1736
- };
1737
- ```
1738
-
1739
- #### write(data)
1740
-
1741
- Write any string to stderr, while preserving Ink's output.
1742
-
1743
- It's useful when you want to display some external information outside of Ink's rendering and ensure there's no conflict between the two.
1744
- It's similar to `<Static>`, except it can't accept components, it only works with strings.
1745
-
1746
- ##### data
1747
-
1748
- Type: `string`
1749
-
1750
- Data to write to stderr.
1751
-
1752
- ```js
1753
- import {useStderr} from 'ink';
1754
-
1755
- const Example = () => {
1756
- const {write} = useStderr();
1757
-
1758
- useEffect(() => {
1759
- // Write a single message to stderr, above Ink's output
1760
- write('Hello from Ink to stderr\n');
1761
- }, []);
1762
-
1763
- return …
1764
- };
1765
- ```
1766
-
1767
- ### useFocus(options?)
1768
-
1769
- Component that uses `useFocus` hook becomes "focusable" to Ink, so when user presses <kbd>Tab</kbd>, Ink will switch focus to this component.
1770
- If there are multiple components that execute `useFocus` hook, focus will be given to them in the order that these components are rendered in.
1771
- This hook returns an object with `isFocused` boolean property, which determines if this component is focused or not.
1772
-
1773
- #### options
1774
-
1775
- ##### autoFocus
1776
-
1777
- Type: `boolean`\
1778
- Default: `false`
1779
-
1780
- Auto focus this component, if there's no active (focused) component right now.
1781
-
1782
- ##### isActive
1783
-
1784
- Type: `boolean`\
1785
- Default: `true`
1786
-
1787
- Enable or disable this component's focus, while still maintaining its position in the list of focusable components.
1788
- This is useful for inputs that are temporarily disabled.
1789
-
1790
- ##### id
1791
-
1792
- Type: `string`\
1793
- Required: `false`
1794
-
1795
- Set a component's focus ID, which can be used to programmatically focus the component. This is useful for large interfaces with many focusable elements, to avoid having to cycle through all of them.
1796
-
1797
- ```jsx
1798
- import {render, useFocus, Text} from 'ink';
1799
-
1800
- const Example = () => {
1801
- const {isFocused} = useFocus();
1802
-
1803
- return <Text>{isFocused ? 'I am focused' : 'I am not focused'}</Text>;
1804
- };
1805
-
1806
- render(<Example />);
1807
- ```
1808
-
1809
- See example in [examples/use-focus](examples/use-focus/use-focus.tsx) and [examples/use-focus-with-id](examples/use-focus-with-id/use-focus-with-id.tsx).
1810
-
1811
- ### useFocusManager()
1812
-
1813
- This hook exposes methods to enable or disable focus management for all components or manually switch focus to next or previous components.
1814
-
1815
- #### enableFocus()
1816
-
1817
- Enable focus management for all components.
1818
-
1819
- **Note:** You don't need to call this method manually, unless you've disabled focus management. Focus management is enabled by default.
1820
-
1821
- ```js
1822
- import {useFocusManager} from 'ink';
1823
-
1824
- const Example = () => {
1825
- const {enableFocus} = useFocusManager();
1826
-
1827
- useEffect(() => {
1828
- enableFocus();
1829
- }, []);
1830
-
1831
- return …
1832
- };
1833
- ```
1834
-
1835
- #### disableFocus()
1836
-
1837
- Disable focus management for all components.
1838
- Currently active component (if there's one) will lose its focus.
1839
-
1840
- ```js
1841
- import {useFocusManager} from 'ink';
1842
-
1843
- const Example = () => {
1844
- const {disableFocus} = useFocusManager();
1845
-
1846
- useEffect(() => {
1847
- disableFocus();
1848
- }, []);
1849
-
1850
- return …
1851
- };
1852
- ```
1853
-
1854
- #### focusNext()
1855
-
1856
- Switch focus to the next focusable component.
1857
- If there's no active component right now, focus will be given to the first focusable component.
1858
- If active component is the last in the list of focusable components, focus will be switched to the first active component.
1859
-
1860
- **Note:** Ink calls this method when user presses <kbd>Tab</kbd>.
1861
-
1862
- ```js
1863
- import {useFocusManager} from 'ink';
1864
-
1865
- const Example = () => {
1866
- const {focusNext} = useFocusManager();
1867
-
1868
- useEffect(() => {
1869
- focusNext();
1870
- }, []);
1871
-
1872
- return …
1873
- };
1874
- ```
1875
-
1876
- #### focusPrevious()
1877
-
1878
- Switch focus to the previous focusable component.
1879
- If there's no active component right now, focus will be given to the first focusable component.
1880
- If active component is the first in the list of focusable components, focus will be switched to the last component.
1881
-
1882
- **Note:** Ink calls this method when user presses <kbd>Shift</kbd>+<kbd>Tab</kbd>.
1883
-
1884
- ```js
1885
- import {useFocusManager} from 'ink';
1886
-
1887
- const Example = () => {
1888
- const {focusPrevious} = useFocusManager();
1889
-
1890
- useEffect(() => {
1891
- focusPrevious();
1892
- }, []);
1893
-
1894
- return …
1895
- };
1896
- ```
1897
-
1898
- #### focus(id)
1899
-
1900
- ##### id
1901
-
1902
- Type: `string`
1903
-
1904
- Switch focus to the component with the given [`id`](#id).
1905
- If there's no component with that ID, focus will be given to the next focusable component.
1906
-
1907
- ```js
1908
- import {useFocusManager, useInput} from 'ink';
1909
-
1910
- const Example = () => {
1911
- const {focus} = useFocusManager();
1912
-
1913
- useInput(input => {
1914
- if (input === 's') {
1915
- // Focus the component with focus ID 'someId'
1916
- focus('someId');
1917
- }
1918
- });
1919
-
1920
- return …
1921
- };
1922
- ```
1923
-
1924
- ## API
1925
-
1926
- #### render(tree, options?)
1927
-
1928
- Returns: [`Instance`](#instance)
1929
-
1930
- Mount a component and render the output.
1931
-
1932
- ##### tree
1933
-
1934
- Type: `ReactElement`
1935
-
1936
- ##### options
1937
-
1938
- Type: `object`
1939
-
1940
- ###### stdout
1941
-
1942
- Type: `stream.Writable`\
1943
- Default: `process.stdout`
1944
-
1945
- Output stream where app will be rendered.
1946
-
1947
- ###### stdin
1948
-
1949
- Type: `stream.Readable`\
1950
- Default: `process.stdin`
1951
-
1952
- Input stream where app will listen for input.
1953
-
1954
- ###### exitOnCtrlC
1955
-
1956
- Type: `boolean`\
1957
- Default: `true`
1958
-
1959
- Configure whether Ink should listen to Ctrl+C keyboard input and exit the app.
1960
- This is needed in case `process.stdin` is in [raw mode](https://nodejs.org/api/tty.html#tty_readstream_setrawmode_mode), because then Ctrl+C is ignored by default and process is expected to handle it manually.
1961
-
1962
- ###### patchConsole
1963
-
1964
- Type: `boolean`\
1965
- Default: `true`
1966
-
1967
- Patch console methods to ensure console output doesn't mix with Ink output.
1968
- When any of `console.*` methods are called (like `console.log()`), Ink intercepts their output, clears main output, renders output from the console method and then rerenders main output again.
1969
- That way both are visible and are not overlapping each other.
1970
-
1971
- This functionality is powered by [patch-console](https://github.com/vadimdemedes/patch-console), so if you need to disable Ink's interception of output but want to build something custom, you can use it.
1972
-
1973
- ###### debug
1974
-
1975
- Type: `boolean`\
1976
- Default: `false`
1977
-
1978
- If `true`, each update will be rendered as a separate output, without replacing the previous one.
1979
-
1980
- #### Instance
1981
-
1982
- This is the object that `render()` returns.
1983
-
1984
- ##### rerender(tree)
1985
-
1986
- Replace previous root node with a new one or update props of the current root node.
1987
-
1988
- ###### tree
1989
-
1990
- Type: `ReactElement`
1991
-
1992
- ```jsx
1993
- // Update props of the root node
1994
- const {rerender} = render(<Counter count={1} />);
1995
- rerender(<Counter count={2} />);
1996
-
1997
- // Replace root node
1998
- const {rerender} = render(<OldCounter />);
1999
- rerender(<NewCounter />);
2000
- ```
2001
-
2002
- ##### unmount()
2003
-
2004
- Manually unmount the whole Ink app.
2005
-
2006
- ```jsx
2007
- const {unmount} = render(<MyApp />);
2008
- unmount();
2009
- ```
2010
-
2011
- ##### waitUntilExit()
2012
-
2013
- Returns a promise, which resolves when app is unmounted.
2014
-
2015
- ```jsx
2016
- const {unmount, waitUntilExit} = render(<MyApp />);
2017
-
2018
- setTimeout(unmount, 1000);
2019
-
2020
- await waitUntilExit(); // resolves after `unmount()` is called
2021
- ```
2022
-
2023
- ##### clear()
2024
-
2025
- Clear output.
2026
-
2027
- ```jsx
2028
- const {clear} = render(<MyApp />);
2029
- clear();
2030
- ```
2031
-
2032
- #### measureElement(ref)
2033
-
2034
- Measure the dimensions of a particular `<Box>` element.
2035
- It returns an object with `width` and `height` properties.
2036
- This function is useful when your component needs to know the amount of available space it has. You could use it when you need to change the layout based on the length of its content.
2037
-
2038
- **Note:** `measureElement()` returns correct results only after the initial render, when layout has been calculated. Until then, `width` and `height` equal to zero. It's recommended to call `measureElement()` in a `useEffect` hook, which fires after the component has rendered.
2039
-
2040
- ##### ref
2041
-
2042
- Type: `MutableRef`
2043
-
2044
- A reference to a `<Box>` element captured with a `ref` property.
2045
- See [Refs](https://reactjs.org/docs/refs-and-the-dom.html) for more information on how to capture references.
2046
-
2047
- ```jsx
2048
- import {render, measureElement, Box, Text} from 'ink';
2049
-
2050
- const Example = () => {
2051
- const ref = useRef();
2052
-
2053
- useEffect(() => {
2054
- const {width, height} = measureElement(ref.current);
2055
- // width = 100, height = 1
2056
- }, []);
2057
-
2058
- return (
2059
- <Box width={100}>
2060
- <Box ref={ref}>
2061
- <Text>This box will stretch to 100 width</Text>
2062
- </Box>
2063
- </Box>
2064
- );
2065
- };
2066
-
2067
- render(<Example />);
2068
- ```
2069
-
2070
- ## Testing
2071
-
2072
- Ink components are simple to test with [ink-testing-library](https://github.com/vadimdemedes/ink-testing-library).
2073
- Here's a simple example that checks how component is rendered:
2074
-
2075
- ```jsx
2076
- import React from 'react';
2077
- import {Text} from 'ink';
2078
- import {render} from 'ink-testing-library';
2079
-
2080
- const Test = () => <Text>Hello World</Text>;
2081
- const {lastFrame} = render(<Test />);
2082
-
2083
- lastFrame() === 'Hello World'; //=> true
2084
- ```
2085
-
2086
- Check out [ink-testing-library](https://github.com/vadimdemedes/ink-testing-library) for more examples and full documentation.
2087
-
2088
- ## Using React Devtools
2089
-
2090
- ![](media/devtools.jpg)
2091
-
2092
- Ink supports [React Devtools](https://github.com/facebook/react/tree/master/packages/react-devtools) out-of-the-box. To enable integration with React Devtools in your Ink-based CLI, first ensure you have installed the optional `react-devtools-core` dependency, and then run your app with `DEV=true` environment variable:
2093
-
2094
- ```sh
2095
- DEV=true my-cli
2096
- ```
2097
-
2098
- Then, start React Devtools itself:
2099
-
2100
- ```sh
2101
- npx react-devtools
2102
- ```
2103
-
2104
- After it starts up, you should see the component tree of your CLI.
2105
- You can even inspect and change the props of components, and see the results immediatelly in the CLI, without restarting it.
2106
-
2107
- **Note**: You must manually quit your CLI via <kbd>Ctrl</kbd>+<kbd>C</kbd> after you're done testing.
2108
-
2109
- ## Useful Components
2110
-
2111
- - [ink-text-input](https://github.com/vadimdemedes/ink-text-input) - Text input.
2112
- - [ink-spinner](https://github.com/vadimdemedes/ink-spinner) - Spinner.
2113
- - [ink-select-input](https://github.com/vadimdemedes/ink-select-input) - Select (dropdown) input.
2114
- - [ink-link](https://github.com/sindresorhus/ink-link) - Link.
2115
- - [ink-gradient](https://github.com/sindresorhus/ink-gradient) - Gradient color.
2116
- - [ink-big-text](https://github.com/sindresorhus/ink-big-text) - Awesome text.
2117
- - [ink-image](https://github.com/kevva/ink-image) - Display images inside the terminal.
2118
- - [ink-tab](https://github.com/jdeniau/ink-tab) - Tab.
2119
- - [ink-color-pipe](https://github.com/LitoMore/ink-color-pipe) - Create color text with simpler style strings.
2120
- - [ink-multi-select](https://github.com/karaggeorge/ink-multi-select) - Select one or more values from a list
2121
- - [ink-divider](https://github.com/JureSotosek/ink-divider) - A divider.
2122
- - [ink-progress-bar](https://github.com/brigand/ink-progress-bar) - Progress bar.
2123
- - [ink-table](https://github.com/maticzav/ink-table) - Table.
2124
- - [ink-ascii](https://github.com/hexrcs/ink-ascii) - Awesome text component with more font choices, based on Figlet.
2125
- - [ink-markdown](https://github.com/cameronhunter/ink-markdown) - Render syntax highlighted Markdown.
2126
- - [ink-quicksearch-input](https://github.com/Eximchain/ink-quicksearch-input) - Select component with fast quicksearch-like navigation.
2127
- - [ink-confirm-input](https://github.com/kevva/ink-confirm-input) - Yes/No confirmation input.
2128
- - [ink-syntax-highlight](https://github.com/vsashyn/ink-syntax-highlight) - Code syntax highlighting.
2129
- - [ink-form](https://github.com/lukasbach/ink-form) - Form.
2130
- - [ink-task-list](https://github.com/privatenumber/ink-task-list) - Task list.
2131
- - [ink-spawn](https://github.com/kraenhansen/ink-spawn) - Spawn child processes.
2132
-
2133
- ## Useful Hooks
2134
-
2135
- - [ink-use-stdout-dimensions](https://github.com/cameronhunter/ink-monorepo/tree/master/packages/ink-use-stdout-dimensions) - Subscribe to stdout dimensions.
2136
-
2137
- ## Examples
2138
-
2139
- The [`examples`](/examples) directory contains a set of real examples. You can run them with:
2140
-
2141
- ```bash
2142
- npm run example examples/[example name]
2143
- # e.g. npm run example examples/borders
2144
- ```
2145
-
2146
- - [Jest](examples/jest/jest.tsx) - Implementation of basic Jest UI [(live demo)](https://ink-jest-demo.vadimdemedes.repl.run/).
2147
- - [Counter](examples/counter/counter.tsx) - Simple counter that increments every 100ms [(live demo)](https://ink-counter-demo.vadimdemedes.repl.run/).
2148
- - [Form with validation](https://github.com/final-form/rff-cli-example) - Manage form state using [Final Form](https://github.com/final-form/final-form#-final-form).
2149
- - [Borders](examples/borders/borders.tsx) - Add borders to `<Box>` component.
2150
- - [Suspense](examples/suspense/suspense.tsx) - Use React Suspense.
2151
- - [Table](examples/table/table.tsx) - Render a table with multiple columns and rows.
2152
- - [Focus management](examples/use-focus/use-focus.tsx) - Use `useFocus` hook to manage focus between components.
2153
- - [User input](examples/use-input/use-input.tsx) - Listen to user input.
2154
- - [Write to stdout](examples/use-stdout/use-stdout.tsx) - Write to stdout bypassing main Ink output.
2155
- - [Write to stderr](examples/use-stderr/use-stderr.tsx) - Write to stderr bypassing main Ink output.
2156
- - [Static](examples/static/static.tsx) - Use `<Static>` to render permanent output.
2157
- - [Child process](examples/subprocess-output) - Render output from a child process.
2158
-
2159
- ## Maintainers
2160
-
2161
- - [Vadim Demedes](https://github.com/vadimdemedes)
2162
- - [Sindre Sorhus](https://github.com/sindresorhus)