@aroman22/codegraph-vba-darwin-arm64 1.3.3

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 (800) hide show
  1. package/bin/codegraph +14 -0
  2. package/lib/dist/bin/codegraph.d.ts +26 -0
  3. package/lib/dist/bin/codegraph.d.ts.map +1 -0
  4. package/lib/dist/bin/codegraph.js +2018 -0
  5. package/lib/dist/bin/codegraph.js.map +1 -0
  6. package/lib/dist/bin/command-supervision.d.ts +12 -0
  7. package/lib/dist/bin/command-supervision.d.ts.map +1 -0
  8. package/lib/dist/bin/command-supervision.js +76 -0
  9. package/lib/dist/bin/command-supervision.js.map +1 -0
  10. package/lib/dist/bin/fatal-handler.d.ts +20 -0
  11. package/lib/dist/bin/fatal-handler.d.ts.map +1 -0
  12. package/lib/dist/bin/fatal-handler.js +118 -0
  13. package/lib/dist/bin/fatal-handler.js.map +1 -0
  14. package/lib/dist/bin/node-version-check.d.ts +37 -0
  15. package/lib/dist/bin/node-version-check.d.ts.map +1 -0
  16. package/lib/dist/bin/node-version-check.js +79 -0
  17. package/lib/dist/bin/node-version-check.js.map +1 -0
  18. package/lib/dist/bin/uninstall.d.ts +14 -0
  19. package/lib/dist/bin/uninstall.d.ts.map +1 -0
  20. package/lib/dist/bin/uninstall.js +36 -0
  21. package/lib/dist/bin/uninstall.js.map +1 -0
  22. package/lib/dist/context/formatter.d.ts +30 -0
  23. package/lib/dist/context/formatter.d.ts.map +1 -0
  24. package/lib/dist/context/formatter.js +263 -0
  25. package/lib/dist/context/formatter.js.map +1 -0
  26. package/lib/dist/context/index.d.ts +119 -0
  27. package/lib/dist/context/index.d.ts.map +1 -0
  28. package/lib/dist/context/index.js +1296 -0
  29. package/lib/dist/context/index.js.map +1 -0
  30. package/lib/dist/context/markers.d.ts +19 -0
  31. package/lib/dist/context/markers.d.ts.map +1 -0
  32. package/lib/dist/context/markers.js +22 -0
  33. package/lib/dist/context/markers.js.map +1 -0
  34. package/lib/dist/db/index.d.ts +122 -0
  35. package/lib/dist/db/index.d.ts.map +1 -0
  36. package/lib/dist/db/index.js +296 -0
  37. package/lib/dist/db/index.js.map +1 -0
  38. package/lib/dist/db/migrations.d.ts +44 -0
  39. package/lib/dist/db/migrations.d.ts.map +1 -0
  40. package/lib/dist/db/migrations.js +140 -0
  41. package/lib/dist/db/migrations.js.map +1 -0
  42. package/lib/dist/db/queries.d.ts +402 -0
  43. package/lib/dist/db/queries.d.ts.map +1 -0
  44. package/lib/dist/db/queries.js +1626 -0
  45. package/lib/dist/db/queries.js.map +1 -0
  46. package/lib/dist/db/schema.sql +152 -0
  47. package/lib/dist/db/sqlite-adapter.d.ts +53 -0
  48. package/lib/dist/db/sqlite-adapter.d.ts.map +1 -0
  49. package/lib/dist/db/sqlite-adapter.js +117 -0
  50. package/lib/dist/db/sqlite-adapter.js.map +1 -0
  51. package/lib/dist/directory.d.ts +179 -0
  52. package/lib/dist/directory.d.ts.map +1 -0
  53. package/lib/dist/directory.js +625 -0
  54. package/lib/dist/directory.js.map +1 -0
  55. package/lib/dist/errors.d.ts +136 -0
  56. package/lib/dist/errors.d.ts.map +1 -0
  57. package/lib/dist/errors.js +219 -0
  58. package/lib/dist/errors.js.map +1 -0
  59. package/lib/dist/extraction/astro-extractor.d.ts +79 -0
  60. package/lib/dist/extraction/astro-extractor.d.ts.map +1 -0
  61. package/lib/dist/extraction/astro-extractor.js +320 -0
  62. package/lib/dist/extraction/astro-extractor.js.map +1 -0
  63. package/lib/dist/extraction/dfm-extractor.d.ts +31 -0
  64. package/lib/dist/extraction/dfm-extractor.d.ts.map +1 -0
  65. package/lib/dist/extraction/dfm-extractor.js +151 -0
  66. package/lib/dist/extraction/dfm-extractor.js.map +1 -0
  67. package/lib/dist/extraction/extraction-version.d.ts +25 -0
  68. package/lib/dist/extraction/extraction-version.d.ts.map +1 -0
  69. package/lib/dist/extraction/extraction-version.js +28 -0
  70. package/lib/dist/extraction/extraction-version.js.map +1 -0
  71. package/lib/dist/extraction/function-ref.d.ts +118 -0
  72. package/lib/dist/extraction/function-ref.d.ts.map +1 -0
  73. package/lib/dist/extraction/function-ref.js +727 -0
  74. package/lib/dist/extraction/function-ref.js.map +1 -0
  75. package/lib/dist/extraction/generated-detection.d.ts +30 -0
  76. package/lib/dist/extraction/generated-detection.d.ts.map +1 -0
  77. package/lib/dist/extraction/generated-detection.js +83 -0
  78. package/lib/dist/extraction/generated-detection.js.map +1 -0
  79. package/lib/dist/extraction/grammars.d.ts +128 -0
  80. package/lib/dist/extraction/grammars.d.ts.map +1 -0
  81. package/lib/dist/extraction/grammars.js +537 -0
  82. package/lib/dist/extraction/grammars.js.map +1 -0
  83. package/lib/dist/extraction/index.d.ts +187 -0
  84. package/lib/dist/extraction/index.d.ts.map +1 -0
  85. package/lib/dist/extraction/index.js +1951 -0
  86. package/lib/dist/extraction/index.js.map +1 -0
  87. package/lib/dist/extraction/languages/c-cpp.d.ts +12 -0
  88. package/lib/dist/extraction/languages/c-cpp.d.ts.map +1 -0
  89. package/lib/dist/extraction/languages/c-cpp.js +275 -0
  90. package/lib/dist/extraction/languages/c-cpp.js.map +1 -0
  91. package/lib/dist/extraction/languages/csharp.d.ts +25 -0
  92. package/lib/dist/extraction/languages/csharp.d.ts.map +1 -0
  93. package/lib/dist/extraction/languages/csharp.js +175 -0
  94. package/lib/dist/extraction/languages/csharp.js.map +1 -0
  95. package/lib/dist/extraction/languages/dart.d.ts +3 -0
  96. package/lib/dist/extraction/languages/dart.d.ts.map +1 -0
  97. package/lib/dist/extraction/languages/dart.js +374 -0
  98. package/lib/dist/extraction/languages/dart.js.map +1 -0
  99. package/lib/dist/extraction/languages/go.d.ts +3 -0
  100. package/lib/dist/extraction/languages/go.d.ts.map +1 -0
  101. package/lib/dist/extraction/languages/go.js +111 -0
  102. package/lib/dist/extraction/languages/go.js.map +1 -0
  103. package/lib/dist/extraction/languages/index.d.ts +10 -0
  104. package/lib/dist/extraction/languages/index.d.ts.map +1 -0
  105. package/lib/dist/extraction/languages/index.js +53 -0
  106. package/lib/dist/extraction/languages/index.js.map +1 -0
  107. package/lib/dist/extraction/languages/java.d.ts +3 -0
  108. package/lib/dist/extraction/languages/java.d.ts.map +1 -0
  109. package/lib/dist/extraction/languages/java.js +315 -0
  110. package/lib/dist/extraction/languages/java.js.map +1 -0
  111. package/lib/dist/extraction/languages/javascript.d.ts +3 -0
  112. package/lib/dist/extraction/languages/javascript.d.ts.map +1 -0
  113. package/lib/dist/extraction/languages/javascript.js +106 -0
  114. package/lib/dist/extraction/languages/javascript.js.map +1 -0
  115. package/lib/dist/extraction/languages/kotlin.d.ts +3 -0
  116. package/lib/dist/extraction/languages/kotlin.d.ts.map +1 -0
  117. package/lib/dist/extraction/languages/kotlin.js +379 -0
  118. package/lib/dist/extraction/languages/kotlin.js.map +1 -0
  119. package/lib/dist/extraction/languages/lua.d.ts +3 -0
  120. package/lib/dist/extraction/languages/lua.d.ts.map +1 -0
  121. package/lib/dist/extraction/languages/lua.js +150 -0
  122. package/lib/dist/extraction/languages/lua.js.map +1 -0
  123. package/lib/dist/extraction/languages/luau.d.ts +3 -0
  124. package/lib/dist/extraction/languages/luau.d.ts.map +1 -0
  125. package/lib/dist/extraction/languages/luau.js +37 -0
  126. package/lib/dist/extraction/languages/luau.js.map +1 -0
  127. package/lib/dist/extraction/languages/objc.d.ts +3 -0
  128. package/lib/dist/extraction/languages/objc.d.ts.map +1 -0
  129. package/lib/dist/extraction/languages/objc.js +175 -0
  130. package/lib/dist/extraction/languages/objc.js.map +1 -0
  131. package/lib/dist/extraction/languages/pascal.d.ts +3 -0
  132. package/lib/dist/extraction/languages/pascal.d.ts.map +1 -0
  133. package/lib/dist/extraction/languages/pascal.js +77 -0
  134. package/lib/dist/extraction/languages/pascal.js.map +1 -0
  135. package/lib/dist/extraction/languages/php.d.ts +3 -0
  136. package/lib/dist/extraction/languages/php.d.ts.map +1 -0
  137. package/lib/dist/extraction/languages/php.js +196 -0
  138. package/lib/dist/extraction/languages/php.js.map +1 -0
  139. package/lib/dist/extraction/languages/python.d.ts +3 -0
  140. package/lib/dist/extraction/languages/python.d.ts.map +1 -0
  141. package/lib/dist/extraction/languages/python.js +56 -0
  142. package/lib/dist/extraction/languages/python.js.map +1 -0
  143. package/lib/dist/extraction/languages/r.d.ts +3 -0
  144. package/lib/dist/extraction/languages/r.d.ts.map +1 -0
  145. package/lib/dist/extraction/languages/r.js +314 -0
  146. package/lib/dist/extraction/languages/r.js.map +1 -0
  147. package/lib/dist/extraction/languages/ruby.d.ts +3 -0
  148. package/lib/dist/extraction/languages/ruby.d.ts.map +1 -0
  149. package/lib/dist/extraction/languages/ruby.js +149 -0
  150. package/lib/dist/extraction/languages/ruby.js.map +1 -0
  151. package/lib/dist/extraction/languages/rust.d.ts +3 -0
  152. package/lib/dist/extraction/languages/rust.d.ts.map +1 -0
  153. package/lib/dist/extraction/languages/rust.js +142 -0
  154. package/lib/dist/extraction/languages/rust.js.map +1 -0
  155. package/lib/dist/extraction/languages/scala.d.ts +3 -0
  156. package/lib/dist/extraction/languages/scala.d.ts.map +1 -0
  157. package/lib/dist/extraction/languages/scala.js +209 -0
  158. package/lib/dist/extraction/languages/scala.js.map +1 -0
  159. package/lib/dist/extraction/languages/swift.d.ts +3 -0
  160. package/lib/dist/extraction/languages/swift.d.ts.map +1 -0
  161. package/lib/dist/extraction/languages/swift.js +152 -0
  162. package/lib/dist/extraction/languages/swift.js.map +1 -0
  163. package/lib/dist/extraction/languages/typescript.d.ts +16 -0
  164. package/lib/dist/extraction/languages/typescript.d.ts.map +1 -0
  165. package/lib/dist/extraction/languages/typescript.js +167 -0
  166. package/lib/dist/extraction/languages/typescript.js.map +1 -0
  167. package/lib/dist/extraction/liquid-extractor.d.ts +59 -0
  168. package/lib/dist/extraction/liquid-extractor.d.ts.map +1 -0
  169. package/lib/dist/extraction/liquid-extractor.js +357 -0
  170. package/lib/dist/extraction/liquid-extractor.js.map +1 -0
  171. package/lib/dist/extraction/mybatis-extractor.d.ts +48 -0
  172. package/lib/dist/extraction/mybatis-extractor.d.ts.map +1 -0
  173. package/lib/dist/extraction/mybatis-extractor.js +198 -0
  174. package/lib/dist/extraction/mybatis-extractor.js.map +1 -0
  175. package/lib/dist/extraction/parse-pool.d.ts +126 -0
  176. package/lib/dist/extraction/parse-pool.d.ts.map +1 -0
  177. package/lib/dist/extraction/parse-pool.js +319 -0
  178. package/lib/dist/extraction/parse-pool.js.map +1 -0
  179. package/lib/dist/extraction/parse-worker.d.ts +8 -0
  180. package/lib/dist/extraction/parse-worker.d.ts.map +1 -0
  181. package/lib/dist/extraction/parse-worker.js +97 -0
  182. package/lib/dist/extraction/parse-worker.js.map +1 -0
  183. package/lib/dist/extraction/razor-extractor.d.ts +42 -0
  184. package/lib/dist/extraction/razor-extractor.d.ts.map +1 -0
  185. package/lib/dist/extraction/razor-extractor.js +285 -0
  186. package/lib/dist/extraction/razor-extractor.js.map +1 -0
  187. package/lib/dist/extraction/sql-query-extractor.d.ts +25 -0
  188. package/lib/dist/extraction/sql-query-extractor.d.ts.map +1 -0
  189. package/lib/dist/extraction/sql-query-extractor.js +177 -0
  190. package/lib/dist/extraction/sql-query-extractor.js.map +1 -0
  191. package/lib/dist/extraction/svelte-extractor.d.ts +56 -0
  192. package/lib/dist/extraction/svelte-extractor.d.ts.map +1 -0
  193. package/lib/dist/extraction/svelte-extractor.js +275 -0
  194. package/lib/dist/extraction/svelte-extractor.js.map +1 -0
  195. package/lib/dist/extraction/tree-sitter-helpers.d.ts +28 -0
  196. package/lib/dist/extraction/tree-sitter-helpers.d.ts.map +1 -0
  197. package/lib/dist/extraction/tree-sitter-helpers.js +152 -0
  198. package/lib/dist/extraction/tree-sitter-helpers.js.map +1 -0
  199. package/lib/dist/extraction/tree-sitter-types.d.ts +239 -0
  200. package/lib/dist/extraction/tree-sitter-types.d.ts.map +1 -0
  201. package/lib/dist/extraction/tree-sitter-types.js +10 -0
  202. package/lib/dist/extraction/tree-sitter-types.js.map +1 -0
  203. package/lib/dist/extraction/tree-sitter.d.ts +647 -0
  204. package/lib/dist/extraction/tree-sitter.d.ts.map +1 -0
  205. package/lib/dist/extraction/tree-sitter.js +5647 -0
  206. package/lib/dist/extraction/tree-sitter.js.map +1 -0
  207. package/lib/dist/extraction/vba-extractor.d.ts +394 -0
  208. package/lib/dist/extraction/vba-extractor.d.ts.map +1 -0
  209. package/lib/dist/extraction/vba-extractor.js +1716 -0
  210. package/lib/dist/extraction/vba-extractor.js.map +1 -0
  211. package/lib/dist/extraction/vba-form-extractor.d.ts +89 -0
  212. package/lib/dist/extraction/vba-form-extractor.d.ts.map +1 -0
  213. package/lib/dist/extraction/vba-form-extractor.js +367 -0
  214. package/lib/dist/extraction/vba-form-extractor.js.map +1 -0
  215. package/lib/dist/extraction/vba-preprocess.d.ts +81 -0
  216. package/lib/dist/extraction/vba-preprocess.d.ts.map +1 -0
  217. package/lib/dist/extraction/vba-preprocess.js +287 -0
  218. package/lib/dist/extraction/vba-preprocess.js.map +1 -0
  219. package/lib/dist/extraction/vue-extractor.d.ts +51 -0
  220. package/lib/dist/extraction/vue-extractor.d.ts.map +1 -0
  221. package/lib/dist/extraction/vue-extractor.js +254 -0
  222. package/lib/dist/extraction/vue-extractor.js.map +1 -0
  223. package/lib/dist/extraction/wasm/tree-sitter-c_sharp.wasm +0 -0
  224. package/lib/dist/extraction/wasm/tree-sitter-lua.wasm +0 -0
  225. package/lib/dist/extraction/wasm/tree-sitter-luau.wasm +0 -0
  226. package/lib/dist/extraction/wasm/tree-sitter-pascal.wasm +0 -0
  227. package/lib/dist/extraction/wasm/tree-sitter-r.wasm +0 -0
  228. package/lib/dist/extraction/wasm/tree-sitter-scala.wasm +0 -0
  229. package/lib/dist/extraction/wasm-runtime-flags.d.ts +38 -0
  230. package/lib/dist/extraction/wasm-runtime-flags.d.ts.map +1 -0
  231. package/lib/dist/extraction/wasm-runtime-flags.js +106 -0
  232. package/lib/dist/extraction/wasm-runtime-flags.js.map +1 -0
  233. package/lib/dist/graph/index.d.ts +8 -0
  234. package/lib/dist/graph/index.d.ts.map +1 -0
  235. package/lib/dist/graph/index.js +13 -0
  236. package/lib/dist/graph/index.js.map +1 -0
  237. package/lib/dist/graph/queries.d.ts +106 -0
  238. package/lib/dist/graph/queries.d.ts.map +1 -0
  239. package/lib/dist/graph/queries.js +339 -0
  240. package/lib/dist/graph/queries.js.map +1 -0
  241. package/lib/dist/graph/traversal.d.ts +127 -0
  242. package/lib/dist/graph/traversal.d.ts.map +1 -0
  243. package/lib/dist/graph/traversal.js +540 -0
  244. package/lib/dist/graph/traversal.js.map +1 -0
  245. package/lib/dist/index.d.ts +563 -0
  246. package/lib/dist/index.d.ts.map +1 -0
  247. package/lib/dist/index.js +1041 -0
  248. package/lib/dist/index.js.map +1 -0
  249. package/lib/dist/installer/config-writer.d.ts +28 -0
  250. package/lib/dist/installer/config-writer.d.ts.map +1 -0
  251. package/lib/dist/installer/config-writer.js +91 -0
  252. package/lib/dist/installer/config-writer.js.map +1 -0
  253. package/lib/dist/installer/index.d.ts +100 -0
  254. package/lib/dist/installer/index.d.ts.map +1 -0
  255. package/lib/dist/installer/index.js +524 -0
  256. package/lib/dist/installer/index.js.map +1 -0
  257. package/lib/dist/installer/instructions-template.d.ts +41 -0
  258. package/lib/dist/installer/instructions-template.d.ts.map +1 -0
  259. package/lib/dist/installer/instructions-template.js +53 -0
  260. package/lib/dist/installer/instructions-template.js.map +1 -0
  261. package/lib/dist/installer/targets/antigravity.d.ts +57 -0
  262. package/lib/dist/installer/targets/antigravity.d.ts.map +1 -0
  263. package/lib/dist/installer/targets/antigravity.js +308 -0
  264. package/lib/dist/installer/targets/antigravity.js.map +1 -0
  265. package/lib/dist/installer/targets/claude.d.ts +62 -0
  266. package/lib/dist/installer/targets/claude.d.ts.map +1 -0
  267. package/lib/dist/installer/targets/claude.js +454 -0
  268. package/lib/dist/installer/targets/claude.js.map +1 -0
  269. package/lib/dist/installer/targets/codex.d.ts +18 -0
  270. package/lib/dist/installer/targets/codex.d.ts.map +1 -0
  271. package/lib/dist/installer/targets/codex.js +185 -0
  272. package/lib/dist/installer/targets/codex.js.map +1 -0
  273. package/lib/dist/installer/targets/cursor.d.ts +35 -0
  274. package/lib/dist/installer/targets/cursor.d.ts.map +1 -0
  275. package/lib/dist/installer/targets/cursor.js +254 -0
  276. package/lib/dist/installer/targets/cursor.js.map +1 -0
  277. package/lib/dist/installer/targets/gemini.d.ts +26 -0
  278. package/lib/dist/installer/targets/gemini.d.ts.map +1 -0
  279. package/lib/dist/installer/targets/gemini.js +165 -0
  280. package/lib/dist/installer/targets/gemini.js.map +1 -0
  281. package/lib/dist/installer/targets/hermes.d.ts +18 -0
  282. package/lib/dist/installer/targets/hermes.d.ts.map +1 -0
  283. package/lib/dist/installer/targets/hermes.js +359 -0
  284. package/lib/dist/installer/targets/hermes.js.map +1 -0
  285. package/lib/dist/installer/targets/kiro.d.ts +27 -0
  286. package/lib/dist/installer/targets/kiro.d.ts.map +1 -0
  287. package/lib/dist/installer/targets/kiro.js +178 -0
  288. package/lib/dist/installer/targets/kiro.js.map +1 -0
  289. package/lib/dist/installer/targets/opencode.d.ts +38 -0
  290. package/lib/dist/installer/targets/opencode.d.ts.map +1 -0
  291. package/lib/dist/installer/targets/opencode.js +307 -0
  292. package/lib/dist/installer/targets/opencode.js.map +1 -0
  293. package/lib/dist/installer/targets/registry.d.ts +35 -0
  294. package/lib/dist/installer/targets/registry.d.ts.map +1 -0
  295. package/lib/dist/installer/targets/registry.js +91 -0
  296. package/lib/dist/installer/targets/registry.js.map +1 -0
  297. package/lib/dist/installer/targets/shared.d.ts +101 -0
  298. package/lib/dist/installer/targets/shared.d.ts.map +1 -0
  299. package/lib/dist/installer/targets/shared.js +264 -0
  300. package/lib/dist/installer/targets/shared.js.map +1 -0
  301. package/lib/dist/installer/targets/toml.d.ts +52 -0
  302. package/lib/dist/installer/targets/toml.d.ts.map +1 -0
  303. package/lib/dist/installer/targets/toml.js +147 -0
  304. package/lib/dist/installer/targets/toml.js.map +1 -0
  305. package/lib/dist/installer/targets/types.d.ts +108 -0
  306. package/lib/dist/installer/targets/types.d.ts.map +1 -0
  307. package/lib/dist/installer/targets/types.js +16 -0
  308. package/lib/dist/installer/targets/types.js.map +1 -0
  309. package/lib/dist/mcp/daemon-manager.d.ts +42 -0
  310. package/lib/dist/mcp/daemon-manager.d.ts.map +1 -0
  311. package/lib/dist/mcp/daemon-manager.js +129 -0
  312. package/lib/dist/mcp/daemon-manager.js.map +1 -0
  313. package/lib/dist/mcp/daemon-paths.d.ts +73 -0
  314. package/lib/dist/mcp/daemon-paths.d.ts.map +1 -0
  315. package/lib/dist/mcp/daemon-paths.js +165 -0
  316. package/lib/dist/mcp/daemon-paths.js.map +1 -0
  317. package/lib/dist/mcp/daemon-registry.d.ts +47 -0
  318. package/lib/dist/mcp/daemon-registry.d.ts.map +1 -0
  319. package/lib/dist/mcp/daemon-registry.js +233 -0
  320. package/lib/dist/mcp/daemon-registry.js.map +1 -0
  321. package/lib/dist/mcp/daemon.d.ts +258 -0
  322. package/lib/dist/mcp/daemon.d.ts.map +1 -0
  323. package/lib/dist/mcp/daemon.js +770 -0
  324. package/lib/dist/mcp/daemon.js.map +1 -0
  325. package/lib/dist/mcp/dynamic-boundaries.d.ts +41 -0
  326. package/lib/dist/mcp/dynamic-boundaries.d.ts.map +1 -0
  327. package/lib/dist/mcp/dynamic-boundaries.js +359 -0
  328. package/lib/dist/mcp/dynamic-boundaries.js.map +1 -0
  329. package/lib/dist/mcp/engine.d.ts +122 -0
  330. package/lib/dist/mcp/engine.d.ts.map +1 -0
  331. package/lib/dist/mcp/engine.js +350 -0
  332. package/lib/dist/mcp/engine.js.map +1 -0
  333. package/lib/dist/mcp/index.d.ts +113 -0
  334. package/lib/dist/mcp/index.d.ts.map +1 -0
  335. package/lib/dist/mcp/index.js +481 -0
  336. package/lib/dist/mcp/index.js.map +1 -0
  337. package/lib/dist/mcp/liveness-watchdog.d.ts +18 -0
  338. package/lib/dist/mcp/liveness-watchdog.d.ts.map +1 -0
  339. package/lib/dist/mcp/liveness-watchdog.js +207 -0
  340. package/lib/dist/mcp/liveness-watchdog.js.map +1 -0
  341. package/lib/dist/mcp/ppid-watchdog.d.ts +62 -0
  342. package/lib/dist/mcp/ppid-watchdog.d.ts.map +1 -0
  343. package/lib/dist/mcp/ppid-watchdog.js +64 -0
  344. package/lib/dist/mcp/ppid-watchdog.js.map +1 -0
  345. package/lib/dist/mcp/proxy.d.ts +87 -0
  346. package/lib/dist/mcp/proxy.d.ts.map +1 -0
  347. package/lib/dist/mcp/proxy.js +641 -0
  348. package/lib/dist/mcp/proxy.js.map +1 -0
  349. package/lib/dist/mcp/query-pool.d.ts +94 -0
  350. package/lib/dist/mcp/query-pool.d.ts.map +1 -0
  351. package/lib/dist/mcp/query-pool.js +297 -0
  352. package/lib/dist/mcp/query-pool.js.map +1 -0
  353. package/lib/dist/mcp/query-worker.d.ts +24 -0
  354. package/lib/dist/mcp/query-worker.d.ts.map +1 -0
  355. package/lib/dist/mcp/query-worker.js +87 -0
  356. package/lib/dist/mcp/query-worker.js.map +1 -0
  357. package/lib/dist/mcp/server-instructions.d.ts +34 -0
  358. package/lib/dist/mcp/server-instructions.d.ts.map +1 -0
  359. package/lib/dist/mcp/server-instructions.js +126 -0
  360. package/lib/dist/mcp/server-instructions.js.map +1 -0
  361. package/lib/dist/mcp/session.d.ts +79 -0
  362. package/lib/dist/mcp/session.d.ts.map +1 -0
  363. package/lib/dist/mcp/session.js +330 -0
  364. package/lib/dist/mcp/session.js.map +1 -0
  365. package/lib/dist/mcp/stdin-teardown.d.ts +27 -0
  366. package/lib/dist/mcp/stdin-teardown.d.ts.map +1 -0
  367. package/lib/dist/mcp/stdin-teardown.js +49 -0
  368. package/lib/dist/mcp/stdin-teardown.js.map +1 -0
  369. package/lib/dist/mcp/tools.d.ts +591 -0
  370. package/lib/dist/mcp/tools.d.ts.map +1 -0
  371. package/lib/dist/mcp/tools.js +4211 -0
  372. package/lib/dist/mcp/tools.js.map +1 -0
  373. package/lib/dist/mcp/transport.d.ts +188 -0
  374. package/lib/dist/mcp/transport.d.ts.map +1 -0
  375. package/lib/dist/mcp/transport.js +359 -0
  376. package/lib/dist/mcp/transport.js.map +1 -0
  377. package/lib/dist/mcp/version.d.ts +19 -0
  378. package/lib/dist/mcp/version.d.ts.map +1 -0
  379. package/lib/dist/mcp/version.js +71 -0
  380. package/lib/dist/mcp/version.js.map +1 -0
  381. package/lib/dist/project-config.d.ts +56 -0
  382. package/lib/dist/project-config.d.ts.map +1 -0
  383. package/lib/dist/project-config.js +297 -0
  384. package/lib/dist/project-config.js.map +1 -0
  385. package/lib/dist/reasoning/config.d.ts +45 -0
  386. package/lib/dist/reasoning/config.d.ts.map +1 -0
  387. package/lib/dist/reasoning/config.js +171 -0
  388. package/lib/dist/reasoning/config.js.map +1 -0
  389. package/lib/dist/reasoning/credentials.d.ts +5 -0
  390. package/lib/dist/reasoning/credentials.d.ts.map +1 -0
  391. package/lib/dist/reasoning/credentials.js +83 -0
  392. package/lib/dist/reasoning/credentials.js.map +1 -0
  393. package/lib/dist/reasoning/login.d.ts +21 -0
  394. package/lib/dist/reasoning/login.d.ts.map +1 -0
  395. package/lib/dist/reasoning/login.js +85 -0
  396. package/lib/dist/reasoning/login.js.map +1 -0
  397. package/lib/dist/reasoning/reasoner.d.ts +43 -0
  398. package/lib/dist/reasoning/reasoner.d.ts.map +1 -0
  399. package/lib/dist/reasoning/reasoner.js +308 -0
  400. package/lib/dist/reasoning/reasoner.js.map +1 -0
  401. package/lib/dist/resolution/c-fnptr-synthesizer.d.ts +5 -0
  402. package/lib/dist/resolution/c-fnptr-synthesizer.d.ts.map +1 -0
  403. package/lib/dist/resolution/c-fnptr-synthesizer.js +1038 -0
  404. package/lib/dist/resolution/c-fnptr-synthesizer.js.map +1 -0
  405. package/lib/dist/resolution/callback-synthesizer.d.ts +15 -0
  406. package/lib/dist/resolution/callback-synthesizer.d.ts.map +1 -0
  407. package/lib/dist/resolution/callback-synthesizer.js +2926 -0
  408. package/lib/dist/resolution/callback-synthesizer.js.map +1 -0
  409. package/lib/dist/resolution/frameworks/astro.d.ts +9 -0
  410. package/lib/dist/resolution/frameworks/astro.d.ts.map +1 -0
  411. package/lib/dist/resolution/frameworks/astro.js +169 -0
  412. package/lib/dist/resolution/frameworks/astro.js.map +1 -0
  413. package/lib/dist/resolution/frameworks/cargo-workspace.d.ts +18 -0
  414. package/lib/dist/resolution/frameworks/cargo-workspace.d.ts.map +1 -0
  415. package/lib/dist/resolution/frameworks/cargo-workspace.js +225 -0
  416. package/lib/dist/resolution/frameworks/cargo-workspace.js.map +1 -0
  417. package/lib/dist/resolution/frameworks/csharp.d.ts +8 -0
  418. package/lib/dist/resolution/frameworks/csharp.d.ts.map +1 -0
  419. package/lib/dist/resolution/frameworks/csharp.js +241 -0
  420. package/lib/dist/resolution/frameworks/csharp.js.map +1 -0
  421. package/lib/dist/resolution/frameworks/drupal.d.ts +51 -0
  422. package/lib/dist/resolution/frameworks/drupal.d.ts.map +1 -0
  423. package/lib/dist/resolution/frameworks/drupal.js +367 -0
  424. package/lib/dist/resolution/frameworks/drupal.js.map +1 -0
  425. package/lib/dist/resolution/frameworks/expo-modules.d.ts +3 -0
  426. package/lib/dist/resolution/frameworks/expo-modules.d.ts.map +1 -0
  427. package/lib/dist/resolution/frameworks/expo-modules.js +148 -0
  428. package/lib/dist/resolution/frameworks/expo-modules.js.map +1 -0
  429. package/lib/dist/resolution/frameworks/express.d.ts +8 -0
  430. package/lib/dist/resolution/frameworks/express.d.ts.map +1 -0
  431. package/lib/dist/resolution/frameworks/express.js +308 -0
  432. package/lib/dist/resolution/frameworks/express.js.map +1 -0
  433. package/lib/dist/resolution/frameworks/fabric.d.ts +3 -0
  434. package/lib/dist/resolution/frameworks/fabric.d.ts.map +1 -0
  435. package/lib/dist/resolution/frameworks/fabric.js +354 -0
  436. package/lib/dist/resolution/frameworks/fabric.js.map +1 -0
  437. package/lib/dist/resolution/frameworks/go.d.ts +8 -0
  438. package/lib/dist/resolution/frameworks/go.d.ts.map +1 -0
  439. package/lib/dist/resolution/frameworks/go.js +161 -0
  440. package/lib/dist/resolution/frameworks/go.js.map +1 -0
  441. package/lib/dist/resolution/frameworks/goframe.d.ts +41 -0
  442. package/lib/dist/resolution/frameworks/goframe.d.ts.map +1 -0
  443. package/lib/dist/resolution/frameworks/goframe.js +112 -0
  444. package/lib/dist/resolution/frameworks/goframe.js.map +1 -0
  445. package/lib/dist/resolution/frameworks/index.d.ts +50 -0
  446. package/lib/dist/resolution/frameworks/index.d.ts.map +1 -0
  447. package/lib/dist/resolution/frameworks/index.js +169 -0
  448. package/lib/dist/resolution/frameworks/index.js.map +1 -0
  449. package/lib/dist/resolution/frameworks/java.d.ts +8 -0
  450. package/lib/dist/resolution/frameworks/java.d.ts.map +1 -0
  451. package/lib/dist/resolution/frameworks/java.js +509 -0
  452. package/lib/dist/resolution/frameworks/java.js.map +1 -0
  453. package/lib/dist/resolution/frameworks/laravel.d.ts +13 -0
  454. package/lib/dist/resolution/frameworks/laravel.d.ts.map +1 -0
  455. package/lib/dist/resolution/frameworks/laravel.js +257 -0
  456. package/lib/dist/resolution/frameworks/laravel.js.map +1 -0
  457. package/lib/dist/resolution/frameworks/nestjs.d.ts +26 -0
  458. package/lib/dist/resolution/frameworks/nestjs.d.ts.map +1 -0
  459. package/lib/dist/resolution/frameworks/nestjs.js +698 -0
  460. package/lib/dist/resolution/frameworks/nestjs.js.map +1 -0
  461. package/lib/dist/resolution/frameworks/play.d.ts +19 -0
  462. package/lib/dist/resolution/frameworks/play.d.ts.map +1 -0
  463. package/lib/dist/resolution/frameworks/play.js +111 -0
  464. package/lib/dist/resolution/frameworks/play.js.map +1 -0
  465. package/lib/dist/resolution/frameworks/python.d.ts +10 -0
  466. package/lib/dist/resolution/frameworks/python.d.ts.map +1 -0
  467. package/lib/dist/resolution/frameworks/python.js +400 -0
  468. package/lib/dist/resolution/frameworks/python.js.map +1 -0
  469. package/lib/dist/resolution/frameworks/react-native.d.ts +3 -0
  470. package/lib/dist/resolution/frameworks/react-native.d.ts.map +1 -0
  471. package/lib/dist/resolution/frameworks/react-native.js +410 -0
  472. package/lib/dist/resolution/frameworks/react-native.js.map +1 -0
  473. package/lib/dist/resolution/frameworks/react.d.ts +8 -0
  474. package/lib/dist/resolution/frameworks/react.d.ts.map +1 -0
  475. package/lib/dist/resolution/frameworks/react.js +334 -0
  476. package/lib/dist/resolution/frameworks/react.js.map +1 -0
  477. package/lib/dist/resolution/frameworks/ruby.d.ts +8 -0
  478. package/lib/dist/resolution/frameworks/ruby.d.ts.map +1 -0
  479. package/lib/dist/resolution/frameworks/ruby.js +302 -0
  480. package/lib/dist/resolution/frameworks/ruby.js.map +1 -0
  481. package/lib/dist/resolution/frameworks/rust.d.ts +8 -0
  482. package/lib/dist/resolution/frameworks/rust.d.ts.map +1 -0
  483. package/lib/dist/resolution/frameworks/rust.js +304 -0
  484. package/lib/dist/resolution/frameworks/rust.js.map +1 -0
  485. package/lib/dist/resolution/frameworks/svelte.d.ts +9 -0
  486. package/lib/dist/resolution/frameworks/svelte.d.ts.map +1 -0
  487. package/lib/dist/resolution/frameworks/svelte.js +253 -0
  488. package/lib/dist/resolution/frameworks/svelte.js.map +1 -0
  489. package/lib/dist/resolution/frameworks/swift-objc.d.ts +37 -0
  490. package/lib/dist/resolution/frameworks/swift-objc.d.ts.map +1 -0
  491. package/lib/dist/resolution/frameworks/swift-objc.js +252 -0
  492. package/lib/dist/resolution/frameworks/swift-objc.js.map +1 -0
  493. package/lib/dist/resolution/frameworks/swift.d.ts +10 -0
  494. package/lib/dist/resolution/frameworks/swift.d.ts.map +1 -0
  495. package/lib/dist/resolution/frameworks/swift.js +400 -0
  496. package/lib/dist/resolution/frameworks/swift.js.map +1 -0
  497. package/lib/dist/resolution/frameworks/vue.d.ts +9 -0
  498. package/lib/dist/resolution/frameworks/vue.d.ts.map +1 -0
  499. package/lib/dist/resolution/frameworks/vue.js +303 -0
  500. package/lib/dist/resolution/frameworks/vue.js.map +1 -0
  501. package/lib/dist/resolution/go-module.d.ts +26 -0
  502. package/lib/dist/resolution/go-module.d.ts.map +1 -0
  503. package/lib/dist/resolution/go-module.js +78 -0
  504. package/lib/dist/resolution/go-module.js.map +1 -0
  505. package/lib/dist/resolution/goframe-synthesizer.d.ts +28 -0
  506. package/lib/dist/resolution/goframe-synthesizer.d.ts.map +1 -0
  507. package/lib/dist/resolution/goframe-synthesizer.js +158 -0
  508. package/lib/dist/resolution/goframe-synthesizer.js.map +1 -0
  509. package/lib/dist/resolution/import-resolver.d.ts +78 -0
  510. package/lib/dist/resolution/import-resolver.d.ts.map +1 -0
  511. package/lib/dist/resolution/import-resolver.js +1849 -0
  512. package/lib/dist/resolution/import-resolver.js.map +1 -0
  513. package/lib/dist/resolution/index.d.ts +196 -0
  514. package/lib/dist/resolution/index.d.ts.map +1 -0
  515. package/lib/dist/resolution/index.js +1328 -0
  516. package/lib/dist/resolution/index.js.map +1 -0
  517. package/lib/dist/resolution/lru-cache.d.ts +24 -0
  518. package/lib/dist/resolution/lru-cache.d.ts.map +1 -0
  519. package/lib/dist/resolution/lru-cache.js +62 -0
  520. package/lib/dist/resolution/lru-cache.js.map +1 -0
  521. package/lib/dist/resolution/name-matcher.d.ts +93 -0
  522. package/lib/dist/resolution/name-matcher.d.ts.map +1 -0
  523. package/lib/dist/resolution/name-matcher.js +1256 -0
  524. package/lib/dist/resolution/name-matcher.js.map +1 -0
  525. package/lib/dist/resolution/path-aliases.d.ts +68 -0
  526. package/lib/dist/resolution/path-aliases.d.ts.map +1 -0
  527. package/lib/dist/resolution/path-aliases.js +238 -0
  528. package/lib/dist/resolution/path-aliases.js.map +1 -0
  529. package/lib/dist/resolution/strip-comments.d.ts +27 -0
  530. package/lib/dist/resolution/strip-comments.d.ts.map +1 -0
  531. package/lib/dist/resolution/strip-comments.js +443 -0
  532. package/lib/dist/resolution/strip-comments.js.map +1 -0
  533. package/lib/dist/resolution/swift-objc-bridge.d.ts +134 -0
  534. package/lib/dist/resolution/swift-objc-bridge.d.ts.map +1 -0
  535. package/lib/dist/resolution/swift-objc-bridge.js +256 -0
  536. package/lib/dist/resolution/swift-objc-bridge.js.map +1 -0
  537. package/lib/dist/resolution/types.d.ts +233 -0
  538. package/lib/dist/resolution/types.d.ts.map +1 -0
  539. package/lib/dist/resolution/types.js +8 -0
  540. package/lib/dist/resolution/types.js.map +1 -0
  541. package/lib/dist/resolution/workspace-packages.d.ts +48 -0
  542. package/lib/dist/resolution/workspace-packages.d.ts.map +1 -0
  543. package/lib/dist/resolution/workspace-packages.js +208 -0
  544. package/lib/dist/resolution/workspace-packages.js.map +1 -0
  545. package/lib/dist/search/query-parser.d.ts +57 -0
  546. package/lib/dist/search/query-parser.d.ts.map +1 -0
  547. package/lib/dist/search/query-parser.js +177 -0
  548. package/lib/dist/search/query-parser.js.map +1 -0
  549. package/lib/dist/search/query-utils.d.ts +87 -0
  550. package/lib/dist/search/query-utils.d.ts.map +1 -0
  551. package/lib/dist/search/query-utils.js +449 -0
  552. package/lib/dist/search/query-utils.js.map +1 -0
  553. package/lib/dist/sync/git-hooks.d.ts +45 -0
  554. package/lib/dist/sync/git-hooks.d.ts.map +1 -0
  555. package/lib/dist/sync/git-hooks.js +225 -0
  556. package/lib/dist/sync/git-hooks.js.map +1 -0
  557. package/lib/dist/sync/index.d.ts +19 -0
  558. package/lib/dist/sync/index.d.ts.map +1 -0
  559. package/lib/dist/sync/index.js +35 -0
  560. package/lib/dist/sync/index.js.map +1 -0
  561. package/lib/dist/sync/watch-policy.d.ts +48 -0
  562. package/lib/dist/sync/watch-policy.d.ts.map +1 -0
  563. package/lib/dist/sync/watch-policy.js +124 -0
  564. package/lib/dist/sync/watch-policy.js.map +1 -0
  565. package/lib/dist/sync/watcher.d.ts +358 -0
  566. package/lib/dist/sync/watcher.d.ts.map +1 -0
  567. package/lib/dist/sync/watcher.js +829 -0
  568. package/lib/dist/sync/watcher.js.map +1 -0
  569. package/lib/dist/sync/worktree.d.ts +54 -0
  570. package/lib/dist/sync/worktree.d.ts.map +1 -0
  571. package/lib/dist/sync/worktree.js +145 -0
  572. package/lib/dist/sync/worktree.js.map +1 -0
  573. package/lib/dist/telemetry/index.d.ts +143 -0
  574. package/lib/dist/telemetry/index.d.ts.map +1 -0
  575. package/lib/dist/telemetry/index.js +541 -0
  576. package/lib/dist/telemetry/index.js.map +1 -0
  577. package/lib/dist/types.d.ts +409 -0
  578. package/lib/dist/types.d.ts.map +1 -0
  579. package/lib/dist/types.js +101 -0
  580. package/lib/dist/types.js.map +1 -0
  581. package/lib/dist/ui/glyphs.d.ts +42 -0
  582. package/lib/dist/ui/glyphs.d.ts.map +1 -0
  583. package/lib/dist/ui/glyphs.js +78 -0
  584. package/lib/dist/ui/glyphs.js.map +1 -0
  585. package/lib/dist/ui/shimmer-progress.d.ts +11 -0
  586. package/lib/dist/ui/shimmer-progress.d.ts.map +1 -0
  587. package/lib/dist/ui/shimmer-progress.js +90 -0
  588. package/lib/dist/ui/shimmer-progress.js.map +1 -0
  589. package/lib/dist/ui/shimmer-worker.d.ts +2 -0
  590. package/lib/dist/ui/shimmer-worker.d.ts.map +1 -0
  591. package/lib/dist/ui/shimmer-worker.js +118 -0
  592. package/lib/dist/ui/shimmer-worker.js.map +1 -0
  593. package/lib/dist/ui/types.d.ts +17 -0
  594. package/lib/dist/ui/types.d.ts.map +1 -0
  595. package/lib/dist/ui/types.js +3 -0
  596. package/lib/dist/ui/types.js.map +1 -0
  597. package/lib/dist/upgrade/index.d.ts +132 -0
  598. package/lib/dist/upgrade/index.d.ts.map +1 -0
  599. package/lib/dist/upgrade/index.js +576 -0
  600. package/lib/dist/upgrade/index.js.map +1 -0
  601. package/lib/dist/utils.d.ts +224 -0
  602. package/lib/dist/utils.d.ts.map +1 -0
  603. package/lib/dist/utils.js +583 -0
  604. package/lib/dist/utils.js.map +1 -0
  605. package/lib/node_modules/.modules.yaml +45 -0
  606. package/lib/node_modules/.pnpm/lock.yaml +126 -0
  607. package/lib/node_modules/.pnpm-workspace-state-v1.json +25 -0
  608. package/lib/node_modules/@clack/core/CHANGELOG.md +397 -0
  609. package/lib/node_modules/@clack/core/LICENSE +9 -0
  610. package/lib/node_modules/@clack/core/README.md +22 -0
  611. package/lib/node_modules/@clack/core/dist/index.d.mts +469 -0
  612. package/lib/node_modules/@clack/core/dist/index.mjs +981 -0
  613. package/lib/node_modules/@clack/core/package.json +64 -0
  614. package/lib/node_modules/@clack/prompts/CHANGELOG.md +672 -0
  615. package/lib/node_modules/@clack/prompts/LICENSE +9 -0
  616. package/lib/node_modules/@clack/prompts/README.md +396 -0
  617. package/lib/node_modules/@clack/prompts/dist/index.d.mts +928 -0
  618. package/lib/node_modules/@clack/prompts/dist/index.mjs +1398 -0
  619. package/lib/node_modules/@clack/prompts/package.json +68 -0
  620. package/lib/node_modules/commander/LICENSE +22 -0
  621. package/lib/node_modules/commander/Readme.md +1176 -0
  622. package/lib/node_modules/commander/esm.mjs +16 -0
  623. package/lib/node_modules/commander/index.js +24 -0
  624. package/lib/node_modules/commander/lib/argument.js +150 -0
  625. package/lib/node_modules/commander/lib/command.js +2777 -0
  626. package/lib/node_modules/commander/lib/error.js +39 -0
  627. package/lib/node_modules/commander/lib/help.js +747 -0
  628. package/lib/node_modules/commander/lib/option.js +380 -0
  629. package/lib/node_modules/commander/lib/suggestSimilar.js +101 -0
  630. package/lib/node_modules/commander/package-support.json +19 -0
  631. package/lib/node_modules/commander/package.json +82 -0
  632. package/lib/node_modules/commander/typings/esm.d.mts +3 -0
  633. package/lib/node_modules/commander/typings/index.d.ts +1113 -0
  634. package/lib/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
  635. package/lib/node_modules/fast-string-truncated-width/dist/index.js +111 -0
  636. package/lib/node_modules/fast-string-truncated-width/dist/types.d.ts +19 -0
  637. package/lib/node_modules/fast-string-truncated-width/dist/types.js +2 -0
  638. package/lib/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
  639. package/lib/node_modules/fast-string-truncated-width/dist/utils.js +20 -0
  640. package/lib/node_modules/fast-string-truncated-width/license +21 -0
  641. package/lib/node_modules/fast-string-truncated-width/package.json +35 -0
  642. package/lib/node_modules/fast-string-truncated-width/readme.md +59 -0
  643. package/lib/node_modules/fast-string-width/dist/index.d.ts +4 -0
  644. package/lib/node_modules/fast-string-width/dist/index.js +14 -0
  645. package/lib/node_modules/fast-string-width/license +21 -0
  646. package/lib/node_modules/fast-string-width/package.json +34 -0
  647. package/lib/node_modules/fast-string-width/readme.md +42 -0
  648. package/lib/node_modules/fast-wrap-ansi/LICENSE +23 -0
  649. package/lib/node_modules/fast-wrap-ansi/README.md +26 -0
  650. package/lib/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
  651. package/lib/node_modules/fast-wrap-ansi/lib/main.js +218 -0
  652. package/lib/node_modules/fast-wrap-ansi/package.json +51 -0
  653. package/lib/node_modules/ignore/LICENSE-MIT +21 -0
  654. package/lib/node_modules/ignore/README.md +452 -0
  655. package/lib/node_modules/ignore/index.d.ts +81 -0
  656. package/lib/node_modules/ignore/index.js +784 -0
  657. package/lib/node_modules/ignore/legacy.js +681 -0
  658. package/lib/node_modules/ignore/package.json +87 -0
  659. package/lib/node_modules/jsonc-parser/CHANGELOG.md +76 -0
  660. package/lib/node_modules/jsonc-parser/LICENSE.md +21 -0
  661. package/lib/node_modules/jsonc-parser/README.md +364 -0
  662. package/lib/node_modules/jsonc-parser/SECURITY.md +41 -0
  663. package/lib/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
  664. package/lib/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
  665. package/lib/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
  666. package/lib/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
  667. package/lib/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
  668. package/lib/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
  669. package/lib/node_modules/jsonc-parser/lib/esm/main.js +178 -0
  670. package/lib/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
  671. package/lib/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
  672. package/lib/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
  673. package/lib/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
  674. package/lib/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
  675. package/lib/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
  676. package/lib/node_modules/jsonc-parser/lib/umd/main.js +194 -0
  677. package/lib/node_modules/jsonc-parser/package.json +37 -0
  678. package/lib/node_modules/picomatch/LICENSE +21 -0
  679. package/lib/node_modules/picomatch/README.md +749 -0
  680. package/lib/node_modules/picomatch/index.js +17 -0
  681. package/lib/node_modules/picomatch/lib/constants.js +184 -0
  682. package/lib/node_modules/picomatch/lib/parse.js +1386 -0
  683. package/lib/node_modules/picomatch/lib/picomatch.js +349 -0
  684. package/lib/node_modules/picomatch/lib/scan.js +391 -0
  685. package/lib/node_modules/picomatch/lib/utils.js +72 -0
  686. package/lib/node_modules/picomatch/package.json +82 -0
  687. package/lib/node_modules/picomatch/posix.js +3 -0
  688. package/lib/node_modules/sisteransi/license +21 -0
  689. package/lib/node_modules/sisteransi/package.json +34 -0
  690. package/lib/node_modules/sisteransi/readme.md +113 -0
  691. package/lib/node_modules/sisteransi/src/index.js +58 -0
  692. package/lib/node_modules/sisteransi/src/sisteransi.d.ts +35 -0
  693. package/lib/node_modules/tree-sitter-wasms/LICENSE +24 -0
  694. package/lib/node_modules/tree-sitter-wasms/README.md +23 -0
  695. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-bash.wasm +0 -0
  696. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-c.wasm +0 -0
  697. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-c_sharp.wasm +0 -0
  698. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-cpp.wasm +0 -0
  699. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-css.wasm +0 -0
  700. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-dart.wasm +0 -0
  701. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-elisp.wasm +0 -0
  702. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-elixir.wasm +0 -0
  703. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-elm.wasm +0 -0
  704. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-embedded_template.wasm +0 -0
  705. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-go.wasm +0 -0
  706. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-html.wasm +0 -0
  707. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-java.wasm +0 -0
  708. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-javascript.wasm +0 -0
  709. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-json.wasm +0 -0
  710. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-kotlin.wasm +0 -0
  711. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-lua.wasm +0 -0
  712. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-objc.wasm +0 -0
  713. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-ocaml.wasm +0 -0
  714. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-php.wasm +0 -0
  715. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-python.wasm +0 -0
  716. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-ql.wasm +0 -0
  717. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-rescript.wasm +0 -0
  718. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-ruby.wasm +0 -0
  719. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-rust.wasm +0 -0
  720. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-scala.wasm +0 -0
  721. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-solidity.wasm +0 -0
  722. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-swift.wasm +0 -0
  723. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-systemrdl.wasm +0 -0
  724. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-tlaplus.wasm +0 -0
  725. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-toml.wasm +0 -0
  726. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-tsx.wasm +0 -0
  727. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-typescript.wasm +0 -0
  728. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-vue.wasm +0 -0
  729. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-yaml.wasm +0 -0
  730. package/lib/node_modules/tree-sitter-wasms/out/tree-sitter-zig.wasm +0 -0
  731. package/lib/node_modules/tree-sitter-wasms/package.json +64 -0
  732. package/lib/node_modules/web-tree-sitter/LICENSE +21 -0
  733. package/lib/node_modules/web-tree-sitter/README.md +269 -0
  734. package/lib/node_modules/web-tree-sitter/debug/tree-sitter.cjs +4558 -0
  735. package/lib/node_modules/web-tree-sitter/debug/tree-sitter.cjs.map +7 -0
  736. package/lib/node_modules/web-tree-sitter/debug/tree-sitter.js +4516 -0
  737. package/lib/node_modules/web-tree-sitter/debug/tree-sitter.js.map +7 -0
  738. package/lib/node_modules/web-tree-sitter/debug/tree-sitter.wasm +0 -0
  739. package/lib/node_modules/web-tree-sitter/debug/tree-sitter.wasm.map +31 -0
  740. package/lib/node_modules/web-tree-sitter/lib/alloc.c +48 -0
  741. package/lib/node_modules/web-tree-sitter/lib/alloc.h +41 -0
  742. package/lib/node_modules/web-tree-sitter/lib/array.h +291 -0
  743. package/lib/node_modules/web-tree-sitter/lib/atomic.h +68 -0
  744. package/lib/node_modules/web-tree-sitter/lib/clock.h +146 -0
  745. package/lib/node_modules/web-tree-sitter/lib/error_costs.h +11 -0
  746. package/lib/node_modules/web-tree-sitter/lib/get_changed_ranges.c +523 -0
  747. package/lib/node_modules/web-tree-sitter/lib/get_changed_ranges.h +36 -0
  748. package/lib/node_modules/web-tree-sitter/lib/host.h +21 -0
  749. package/lib/node_modules/web-tree-sitter/lib/language.c +293 -0
  750. package/lib/node_modules/web-tree-sitter/lib/language.h +293 -0
  751. package/lib/node_modules/web-tree-sitter/lib/length.h +52 -0
  752. package/lib/node_modules/web-tree-sitter/lib/lexer.c +483 -0
  753. package/lib/node_modules/web-tree-sitter/lib/lexer.h +54 -0
  754. package/lib/node_modules/web-tree-sitter/lib/lib.c +12 -0
  755. package/lib/node_modules/web-tree-sitter/lib/node.c +875 -0
  756. package/lib/node_modules/web-tree-sitter/lib/parser.c +2297 -0
  757. package/lib/node_modules/web-tree-sitter/lib/parser.h +286 -0
  758. package/lib/node_modules/web-tree-sitter/lib/point.h +48 -0
  759. package/lib/node_modules/web-tree-sitter/lib/query.c +4347 -0
  760. package/lib/node_modules/web-tree-sitter/lib/reduce_action.h +34 -0
  761. package/lib/node_modules/web-tree-sitter/lib/reusable_node.h +95 -0
  762. package/lib/node_modules/web-tree-sitter/lib/stack.c +912 -0
  763. package/lib/node_modules/web-tree-sitter/lib/stack.h +133 -0
  764. package/lib/node_modules/web-tree-sitter/lib/subtree.c +1034 -0
  765. package/lib/node_modules/web-tree-sitter/lib/subtree.h +399 -0
  766. package/lib/node_modules/web-tree-sitter/lib/tree-sitter.c +987 -0
  767. package/lib/node_modules/web-tree-sitter/lib/tree-sitter.cjs +2988 -0
  768. package/lib/node_modules/web-tree-sitter/lib/tree-sitter.wasm +0 -0
  769. package/lib/node_modules/web-tree-sitter/lib/tree-sitter.wasm.map +1 -0
  770. package/lib/node_modules/web-tree-sitter/lib/tree.c +170 -0
  771. package/lib/node_modules/web-tree-sitter/lib/tree.h +31 -0
  772. package/lib/node_modules/web-tree-sitter/lib/tree_cursor.c +716 -0
  773. package/lib/node_modules/web-tree-sitter/lib/tree_cursor.h +48 -0
  774. package/lib/node_modules/web-tree-sitter/lib/ts_assert.h +11 -0
  775. package/lib/node_modules/web-tree-sitter/lib/unicode.h +75 -0
  776. package/lib/node_modules/web-tree-sitter/lib/wasm_store.c +1937 -0
  777. package/lib/node_modules/web-tree-sitter/lib/wasm_store.h +31 -0
  778. package/lib/node_modules/web-tree-sitter/package.json +98 -0
  779. package/lib/node_modules/web-tree-sitter/src/bindings.ts +26 -0
  780. package/lib/node_modules/web-tree-sitter/src/constants.ts +133 -0
  781. package/lib/node_modules/web-tree-sitter/src/index.ts +31 -0
  782. package/lib/node_modules/web-tree-sitter/src/language.ts +291 -0
  783. package/lib/node_modules/web-tree-sitter/src/lookahead_iterator.ts +75 -0
  784. package/lib/node_modules/web-tree-sitter/src/marshal.ts +176 -0
  785. package/lib/node_modules/web-tree-sitter/src/node.ts +646 -0
  786. package/lib/node_modules/web-tree-sitter/src/parser.ts +325 -0
  787. package/lib/node_modules/web-tree-sitter/src/query.ts +973 -0
  788. package/lib/node_modules/web-tree-sitter/src/tree.ts +145 -0
  789. package/lib/node_modules/web-tree-sitter/src/tree_cursor.ts +318 -0
  790. package/lib/node_modules/web-tree-sitter/tree-sitter.cjs +4031 -0
  791. package/lib/node_modules/web-tree-sitter/tree-sitter.cjs.map +7 -0
  792. package/lib/node_modules/web-tree-sitter/tree-sitter.js +3980 -0
  793. package/lib/node_modules/web-tree-sitter/tree-sitter.js.map +7 -0
  794. package/lib/node_modules/web-tree-sitter/tree-sitter.wasm +0 -0
  795. package/lib/node_modules/web-tree-sitter/tree-sitter.wasm.map +30 -0
  796. package/lib/node_modules/web-tree-sitter/web-tree-sitter.d.ts +1030 -0
  797. package/lib/node_modules/web-tree-sitter/web-tree-sitter.d.ts.map +56 -0
  798. package/lib/package.json +57 -0
  799. package/node +0 -0
  800. package/package.json +17 -0
@@ -0,0 +1,928 @@
1
+ import { State, AutocompletePrompt, Validate, DateFormat } from '@clack/core';
2
+ export { ClackSettings, DateFormat, isCancel, settings, updateSettings } from '@clack/core';
3
+ import { Readable, Writable } from 'node:stream';
4
+
5
+ declare const unicode: boolean;
6
+ declare const isCI: () => boolean;
7
+ declare const isTTY: (output: Writable) => boolean;
8
+ declare const unicodeOr: (c: string, fallback: string) => string;
9
+ declare const S_STEP_ACTIVE: string;
10
+ declare const S_STEP_CANCEL: string;
11
+ declare const S_STEP_ERROR: string;
12
+ declare const S_STEP_SUBMIT: string;
13
+ declare const S_BAR_START: string;
14
+ declare const S_BAR: string;
15
+ declare const S_BAR_END: string;
16
+ declare const S_BAR_START_RIGHT: string;
17
+ declare const S_BAR_END_RIGHT: string;
18
+ declare const S_RADIO_ACTIVE: string;
19
+ declare const S_RADIO_INACTIVE: string;
20
+ declare const S_CHECKBOX_ACTIVE: string;
21
+ declare const S_CHECKBOX_SELECTED: string;
22
+ declare const S_CHECKBOX_INACTIVE: string;
23
+ declare const S_PASSWORD_MASK: string;
24
+ declare const S_BAR_H: string;
25
+ declare const S_CORNER_TOP_RIGHT: string;
26
+ declare const S_CONNECT_LEFT: string;
27
+ declare const S_CORNER_BOTTOM_RIGHT: string;
28
+ declare const S_CORNER_BOTTOM_LEFT: string;
29
+ declare const S_CORNER_TOP_LEFT: string;
30
+ declare const S_INFO: string;
31
+ declare const S_SUCCESS: string;
32
+ declare const S_WARN: string;
33
+ declare const S_ERROR: string;
34
+ declare const symbol: (state: State) => string;
35
+ declare const symbolBar: (state: State) => string;
36
+ interface CommonOptions {
37
+ input?: Readable;
38
+ output?: Writable;
39
+ signal?: AbortSignal;
40
+ withGuide?: boolean;
41
+ }
42
+ declare function formatInstructionFooter(instructions: string[], hasGuide: boolean): string[];
43
+
44
+ declare const SELECT_INSTRUCTIONS: string[];
45
+ type Primitive = Readonly<string | boolean | number>;
46
+ type Option<Value> = Value extends Primitive ? {
47
+ /**
48
+ * Internal data for this option.
49
+ */
50
+ value: Value;
51
+ /**
52
+ * The optional, user-facing text for this option.
53
+ *
54
+ * By default, the `value` is converted to a string.
55
+ */
56
+ label?: string;
57
+ /**
58
+ * An optional hint to display to the user when
59
+ * this option might be selected.
60
+ *
61
+ * By default, no `hint` is displayed.
62
+ */
63
+ hint?: string;
64
+ /**
65
+ * Whether this option is disabled.
66
+ * Disabled options are visible but cannot be selected.
67
+ *
68
+ * By default, options are not disabled.
69
+ */
70
+ disabled?: boolean;
71
+ } : {
72
+ /**
73
+ * Internal data for this option.
74
+ */
75
+ value: Value;
76
+ /**
77
+ * Required. The user-facing text for this option.
78
+ */
79
+ label: string;
80
+ /**
81
+ * An optional hint to display to the user when
82
+ * this option might be selected.
83
+ *
84
+ * By default, no `hint` is displayed.
85
+ */
86
+ hint?: string;
87
+ /**
88
+ * Whether this option is disabled.
89
+ * Disabled options are visible but cannot be selected.
90
+ *
91
+ * By default, options are not disabled.
92
+ */
93
+ disabled?: boolean;
94
+ };
95
+ interface SelectOptions<Value> extends CommonOptions {
96
+ message: string;
97
+ options: Option<Value>[];
98
+ initialValue?: Value;
99
+ maxItems?: number;
100
+ }
101
+ declare const select: <Value>(opts: SelectOptions<Value>) => Promise<Value | symbol>;
102
+
103
+ /**
104
+ * Options for the {@link autocomplete} prompt.
105
+ */
106
+ interface AutocompleteSharedOptions<Value> extends CommonOptions {
107
+ /**
108
+ * The message or question shown to the user above the input.
109
+ */
110
+ message: string;
111
+ /**
112
+ * The options to present, or a function that returns the options to present
113
+ * allowing for custom search/filtering.
114
+ *
115
+ * @see https://bomb.sh/docs/clack/packages/prompts/#dynamic-options-getter
116
+ */
117
+ options: Option<Value>[] | ((this: AutocompletePrompt<Option<Value>>) => Option<Value>[]);
118
+ /**
119
+ * The maximum number of items/options to display in the autocomplete list at once.
120
+ */
121
+ maxItems?: number;
122
+ /**
123
+ * Placeholder text displayed when the search field is empty. When set, pressing
124
+ * tab copies the placeholder into the input.
125
+ */
126
+ placeholder?: string;
127
+ /**
128
+ * A function or a [Standard Schema](https://github.com/standard-schema/standard-schema)
129
+ * that validates user input. If a custom function is given, you should return a `string` or `Error`
130
+ * to show as a validation error, or `undefined` to accept the result.
131
+ */
132
+ validate?: Validate<Value | Value[]>;
133
+ /**
134
+ * Custom filter function to match options against the search input.
135
+ */
136
+ filter?: (search: string, option: Option<Value>) => boolean;
137
+ }
138
+ interface AutocompleteOptions<Value> extends AutocompleteSharedOptions<Value> {
139
+ /**
140
+ * The initially selected option from the list.
141
+ */
142
+ initialValue?: Value;
143
+ /**
144
+ * The starting value shown in the users input box.
145
+ */
146
+ initialUserInput?: string;
147
+ }
148
+ /**
149
+ * The `autocomplete` prompt combines a text input with a searchable list of options.
150
+ * It's perfect for when you have a large list of options and want to help users
151
+ * find what they're looking for quickly.
152
+ *
153
+ * @see https://bomb.sh/docs/clack/packages/prompts/#autocomplete
154
+ *
155
+ * @example
156
+ * ```ts
157
+ * import { autocomplete } from '@clack/prompts';
158
+ *
159
+ * const framework = await autocomplete({
160
+ * message: 'Search for a framework',
161
+ * options: [
162
+ * { value: 'next', label: 'Next.js', hint: 'React framework' },
163
+ * { value: 'astro', label: 'Astro', hint: 'Content-focused' },
164
+ * { value: 'svelte', label: 'SvelteKit', hint: 'Compile-time framework' },
165
+ * { value: 'remix', label: 'Remix', hint: 'Full stack framework' },
166
+ * { value: 'nuxt', label: 'Nuxt', hint: 'Vue framework' },
167
+ * ],
168
+ * placeholder: 'Type to search...',
169
+ * maxItems: 5,
170
+ * });
171
+ * ```
172
+ */
173
+ declare const autocomplete: <Value>(opts: AutocompleteOptions<Value>) => Promise<Value | symbol>;
174
+ /**
175
+ * Options for the {@link autocompleteMultiselect} prompt
176
+ */
177
+ interface AutocompleteMultiSelectOptions<Value> extends AutocompleteSharedOptions<Value> {
178
+ /**
179
+ * The initially selected option(s) from the list.
180
+ */
181
+ initialValues?: Value[];
182
+ /**
183
+ * When `true` at least one option must be selected.
184
+ * @default false
185
+ */
186
+ required?: boolean;
187
+ }
188
+ /**
189
+ * The `autocompleteMultiselect` prompt combines the search functionality of autocomplete
190
+ * with the ability to select multiple options.
191
+ *
192
+ * @see https://bomb.sh/docs/clack/packages/prompts/#autocomplete-multiselect
193
+ *
194
+ * @example
195
+ * ```ts
196
+ * import { autocompleteMultiselect } from '@clack/prompts';
197
+ *
198
+ * const frameworks = await autocompleteMultiselect({
199
+ * message: 'Select frameworks',
200
+ * options: [
201
+ * { value: 'next', label: 'Next.js', hint: 'React framework' },
202
+ * { value: 'astro', label: 'Astro', hint: 'Content-focused' },
203
+ * { value: 'svelte', label: 'SvelteKit', hint: 'Compile-time framework' },
204
+ * { value: 'remix', label: 'Remix', hint: 'Full stack framework' },
205
+ * { value: 'nuxt', label: 'Nuxt', hint: 'Vue framework' },
206
+ * ],
207
+ * placeholder: 'Type to search...',
208
+ * maxItems: 5,
209
+ * });
210
+ * ```
211
+ */
212
+ declare const autocompleteMultiselect: <Value>(opts: AutocompleteMultiSelectOptions<Value>) => Promise<Value[] | symbol>;
213
+
214
+ /**
215
+ * Alignment for content or titles within the box.
216
+ */
217
+ type BoxAlignment = 'left' | 'center' | 'right';
218
+ /**
219
+ * Options for the {@link box} prompt.
220
+ */
221
+ interface BoxOptions extends CommonOptions {
222
+ /**
223
+ * Alignment of the content (`'left'`, `'center'`, or `'right'`).
224
+ * @default 'left'
225
+ */
226
+ contentAlign?: BoxAlignment;
227
+ /**
228
+ * Alignment of the title (`'left'`, `'center'`, or `'right'`).
229
+ * @default 'left'
230
+ */
231
+ titleAlign?: BoxAlignment;
232
+ /**
233
+ * The width of the box, either `'auto'` to fit the content or a number for a fixed width.
234
+ * @default 'auto'
235
+ */
236
+ width?: number | 'auto';
237
+ /**
238
+ * Padding around the title.
239
+ * @default 1
240
+ */
241
+ titlePadding?: number;
242
+ /**
243
+ * Padding around the content.
244
+ * @default 2
245
+ */
246
+ contentPadding?: number;
247
+ /**
248
+ * Use rounded corners when `true`, square corners when `false`.
249
+ * @default true
250
+ */
251
+ rounded?: boolean;
252
+ /**
253
+ * Custom function to style the border characters.
254
+ */
255
+ formatBorder?: (text: string) => string;
256
+ }
257
+ /**
258
+ * Renders a customizable box around text content. It's similar to {@link note} but offers
259
+ * more styling options.
260
+ *
261
+ * @see https://bomb.sh/docs/clack/packages/prompts/#box
262
+ *
263
+ * @param message - The content to display inside the box.
264
+ * @param title - The title to display in the top border of the box.
265
+ * @param opts - Optional configuration for the box styling and behavior.
266
+ *
267
+ * @example
268
+ * ```ts
269
+ * import { box } from '@clack/prompts';
270
+ *
271
+ * box('This is the content of the box', 'Box Title', {
272
+ * contentAlign: 'center',
273
+ * titleAlign: 'center',
274
+ * width: 'auto',
275
+ * rounded: true,
276
+ * });
277
+ * ```
278
+ */
279
+ declare const box: (message?: string, title?: string, opts?: BoxOptions) => void;
280
+
281
+ /**
282
+ * Options for the {@link confirm} prompt.
283
+ */
284
+ interface ConfirmOptions extends CommonOptions {
285
+ /**
286
+ * The message or question shown to the user above the input.
287
+ */
288
+ message: string;
289
+ /**
290
+ * The label to use for the active (true) option.
291
+ * @default 'Yes'
292
+ */
293
+ active?: string;
294
+ /**
295
+ * The label to use for the inactive (false) option.
296
+ * @default 'No'
297
+ */
298
+ inactive?: string;
299
+ /**
300
+ * The initial selected value (true or false).
301
+ * @default true
302
+ */
303
+ initialValue?: boolean;
304
+ /**
305
+ * Whether to render the options vertically instead of horizontally.
306
+ * @default false
307
+ */
308
+ vertical?: boolean;
309
+ }
310
+ /**
311
+ * The `confirm` prompt accepts a yes or no choice, returning a boolean value
312
+ * corresponding to the user's selection.
313
+ *
314
+ * @see https://bomb.sh/docs/clack/packages/prompts/#confirmation
315
+ *
316
+ * @example
317
+ * ```ts
318
+ * import { confirm } from '@clack/prompts';
319
+ *
320
+ * const shouldProceed = await confirm({
321
+ * message: 'Do you want to continue?',
322
+ * });
323
+ * ```
324
+ */
325
+ declare const confirm: (opts: ConfirmOptions) => Promise<boolean | symbol>;
326
+
327
+ /**
328
+ * Options for the {@link date} prompt.
329
+ */
330
+ interface DateOptions extends CommonOptions {
331
+ /**
332
+ * The message or question shown to the user above the input.
333
+ */
334
+ message: string;
335
+ /**
336
+ * The date format for the input segments.
337
+ * @deafult based on locale
338
+ */
339
+ format?: DateFormat;
340
+ /**
341
+ * The BCP 47 language tag to use for formatting
342
+ * @see https://developer.mozilla.org/en-US/docs/Glossary/BCP_47_language_tag
343
+ * @example "en-GB"
344
+ */
345
+ locale?: string;
346
+ /**
347
+ * The default value returned when the user doesn't select a date.
348
+ */
349
+ defaultValue?: Date;
350
+ /**
351
+ * The starting date shown when the prompt first renders.
352
+ * Users can edit this value before submitting.
353
+ */
354
+ initialValue?: Date;
355
+ /**
356
+ * The minimum allowed date for validation.
357
+ */
358
+ minDate?: Date;
359
+ /**
360
+ * The maximum allowed date for validation.
361
+ */
362
+ maxDate?: Date;
363
+ /**
364
+ * A function or a [Standard Schema](https://github.com/standard-schema/standard-schema)
365
+ * that validates user input. If a custom function is given, you should return a `string` or `Error`
366
+ * to show as a validation error, or `undefined` to accept the result.
367
+ */
368
+ validate?: Validate<Date>;
369
+ }
370
+ /**
371
+ * The `date` prompt provides an interactive date picker, allowing users
372
+ * to navigate between year, month, and day segments and
373
+ * increment/decrement values using keyboard controls.
374
+ *
375
+ * @see https://bomb.sh/docs/clack/packages/prompts/#date-input
376
+ *
377
+ * @example
378
+ * ```ts
379
+ * import { date } from '@clack/prompts';
380
+ *
381
+ * const birthday = await date({
382
+ * message: 'Pick your birthday',
383
+ * minDate: new Date('1900-01-01'),
384
+ * initialValue: new Date(),
385
+ * maxDate: new Date(),
386
+ * });
387
+ * ```
388
+ */
389
+ declare const date: (opts: DateOptions) => Promise<Date | symbol>;
390
+
391
+ type Prettify<T> = {
392
+ [P in keyof T]: T[P];
393
+ } & {};
394
+ /**
395
+ * The return type of a {@link PromptGroup}.
396
+ * Resolves all prompt results, excluding the cancel symbol.
397
+ */
398
+ type PromptGroupAwaitedReturn<T> = {
399
+ [P in keyof T]: Exclude<Awaited<T[P]>, symbol>;
400
+ };
401
+ /**
402
+ * Options for the {@link group} utility.
403
+ */
404
+ interface PromptGroupOptions<T> {
405
+ /**
406
+ * Called when any one of the prompts is canceled.
407
+ */
408
+ onCancel?: (opts: {
409
+ results: Prettify<Partial<PromptGroupAwaitedReturn<T>>>;
410
+ }) => void;
411
+ }
412
+ /**
413
+ * A group of prompts to be displayed sequentially, with each prompt receiving
414
+ * the results of all previous prompts in the group.
415
+ */
416
+ type PromptGroup<T> = {
417
+ [P in keyof T]: (opts: {
418
+ results: Prettify<Partial<PromptGroupAwaitedReturn<Omit<T, P>>>>;
419
+ }) => undefined | Promise<T[P] | undefined>;
420
+ };
421
+ /**
422
+ * The `group` utility provides a consistent way to combine a series of prompts,
423
+ * combining each answer into one object. Each prompt receives the results of
424
+ * all previously completed prompts, and are displayed sequentially.
425
+ *
426
+ * @see https://bomb.sh/docs/clack/packages/prompts/#group
427
+ *
428
+ * @example
429
+ * ```ts
430
+ * import { group, text, password } from '@clack/prompts';
431
+ *
432
+ * const account = await group({
433
+ * email: () => text({
434
+ * message: 'What is your email address?',
435
+ * }),
436
+ * username: ({ results }) => text({
437
+ * message: 'What is your username?',
438
+ * placeholder: results.email?.replace(/@.+$/, '').toLowerCase() ?? '',
439
+ * }),
440
+ * password: () => password({
441
+ * message: 'Define your password',
442
+ * }),
443
+ * });
444
+ * ```
445
+ */
446
+ declare const group: <T>(prompts: PromptGroup<T>, opts?: PromptGroupOptions<T>) => Promise<Prettify<PromptGroupAwaitedReturn<T>>>;
447
+
448
+ /**
449
+ * Options for the {@link groupMultiselect} prompt.
450
+ */
451
+ interface GroupMultiSelectOptions<Value> extends CommonOptions {
452
+ /**
453
+ * The message or question shown to the user above the input.
454
+ */
455
+ message: string;
456
+ /**
457
+ * Grouped options to display. Each key is a group label, and each value is an array of options.
458
+ */
459
+ options: Record<string, Option<Value>[]>;
460
+ /**
461
+ * The initially selected option(s).
462
+ */
463
+ initialValues?: Value[];
464
+ /**
465
+ * The maximum number of items/options to display at once.
466
+ */
467
+ maxItems?: number;
468
+ /**
469
+ * When `true` at least one option must be selected.
470
+ * @default true
471
+ */
472
+ required?: boolean;
473
+ /**
474
+ * The value the cursor should be positioned at initially.
475
+ */
476
+ cursorAt?: Value;
477
+ /**
478
+ * Whether entire groups can be selected at once.
479
+ * @default true
480
+ */
481
+ selectableGroups?: boolean;
482
+ /**
483
+ * Number of blank lines between groups.
484
+ * @default 0
485
+ */
486
+ groupSpacing?: number;
487
+ }
488
+ /**
489
+ * The `groupMultiselect` prompt extends the {@link multiselect} prompt to allow
490
+ * arranging distinct Multi-Selects, whilst keeping all of them interactive.
491
+ *
492
+ * @see https://bomb.sh/docs/clack/packages/prompts/#group-multiselect
493
+ *
494
+ * @example
495
+ * ```ts
496
+ * import { groupMultiselect } from '@clack/prompts';
497
+ *
498
+ * const result = await groupMultiselect({
499
+ * message: 'Define your project',
500
+ * options: {
501
+ * 'Testing': [
502
+ * { value: 'Jest', hint: 'JavaScript testing framework' },
503
+ * { value: 'Playwright', hint: 'End-to-end testing' },
504
+ * ],
505
+ * 'Language': [
506
+ * { value: 'js', label: 'JavaScript', hint: 'Dynamic typing' },
507
+ * { value: 'ts', label: 'TypeScript', hint: 'Static typing' },
508
+ * ],
509
+ * },
510
+ * });
511
+ * ```
512
+ *
513
+ * @param opts The options for the group multiselect prompt
514
+ */
515
+ declare const groupMultiselect: <Value>(opts: GroupMultiSelectOptions<Value>) => Promise<Value[] | symbol>;
516
+
517
+ /**
518
+ * Options for the {@link limitOptions} function.
519
+ */
520
+ interface LimitOptionsParams<TOption> extends CommonOptions {
521
+ /**
522
+ * The list of options to display.
523
+ */
524
+ options: TOption[];
525
+ /**
526
+ * The index of the currently active/selected option.
527
+ */
528
+ cursor: number;
529
+ /**
530
+ * A function that styles the given option string.
531
+ *
532
+ * @param option - The option string to style.
533
+ * @param active - Whether the option is currently selected.
534
+ */
535
+ style: (option: TOption, active: boolean) => string;
536
+ /**
537
+ * Maximum number of options to display at once.
538
+ * @default Infinity
539
+ */
540
+ maxItems?: number;
541
+ /**
542
+ * Number of columns to reserve for padding.
543
+ * @default 0
544
+ */
545
+ columnPadding?: number;
546
+ /**
547
+ * Number of rows to reserve for padding.
548
+ * @default 4
549
+ */
550
+ rowPadding?: number;
551
+ }
552
+ /**
553
+ * Trims an option list to what fits the terminal, while keeping the active
554
+ * option (cursor) visible using a Clack style sliding window.
555
+ *
556
+ * @returns The lines to render.
557
+ *
558
+ * @see https://bomb.sh/docs/clack/packages/prompts/#limitoptions
559
+ *
560
+ * @example
561
+ * ```ts
562
+ * import { limitOptions } from '@clack/prompts';
563
+ * import { styleText } from 'node:util';
564
+ *
565
+ * const options = ['apple', 'banana', 'cherry', 'date'];
566
+ * const lines = limitOptions({
567
+ * options,
568
+ * cursor: 2,
569
+ * maxItems: 8,
570
+ * style: (opt, active) =>
571
+ * active ? styleText('cyan', opt) : styleText('dim', opt),
572
+ * });
573
+ * ```
574
+ */
575
+ declare const limitOptions: <TOption>({ cursor, options, style, output, maxItems, columnPadding, rowPadding, }: LimitOptionsParams<TOption>) => string[];
576
+
577
+ interface LogMessageOptions extends CommonOptions {
578
+ symbol?: string;
579
+ spacing?: number;
580
+ secondarySymbol?: string;
581
+ }
582
+ declare const log: {
583
+ message: (message?: string | string[], { symbol, secondarySymbol, output, spacing, withGuide, }?: LogMessageOptions) => void;
584
+ info: (message: string, opts?: LogMessageOptions) => void;
585
+ success: (message: string, opts?: LogMessageOptions) => void;
586
+ step: (message: string, opts?: LogMessageOptions) => void;
587
+ warn: (message: string, opts?: LogMessageOptions) => void;
588
+ /** alias for `log.warn()`. */
589
+ warning: (message: string, opts?: LogMessageOptions) => void;
590
+ error: (message: string, opts?: LogMessageOptions) => void;
591
+ };
592
+
593
+ /**
594
+ * The `cancel` function defines an interruption of an interaction
595
+ * and therefore its end.
596
+ *
597
+ * @param title Optional closing message to be displayed.
598
+ * @param opts Additional configuration options.
599
+ *
600
+ * @see https://bomb.sh/docs/clack/packages/prompts/#cancel
601
+ *
602
+ * @example
603
+ * ```ts
604
+ * import { cancel } from '@clack/prompts';
605
+ * import process from 'node:process';
606
+ *
607
+ * cancel('Installation canceled');
608
+ * process.exit(1);
609
+ * ```
610
+ */
611
+ declare const cancel: (message?: string, opts?: CommonOptions) => void;
612
+ /**
613
+ * The `intro` function defines the beginning of an interaction.
614
+ *
615
+ * @param title Optional title to be displayed.
616
+ * @param opts Additional configuration options.
617
+ *
618
+ * @see https://bomb.sh/docs/clack/packages/prompts/#intro
619
+ *
620
+ * @example
621
+ * ```ts
622
+ * import { intro } from '@clack/prompts';
623
+ *
624
+ * intro('Welcome to clack');
625
+ * ```
626
+ */
627
+ declare const intro: (title?: string, opts?: CommonOptions) => void;
628
+ /**
629
+ * The `outro` function defines the end of an interaction.
630
+ *
631
+ * @param title Optional closing message to be displayed.
632
+ * @param opts Additional configuration options.
633
+ *
634
+ * @see https://bomb.sh/docs/clack/packages/prompts/#outro
635
+ *
636
+ * @example
637
+ * ```ts
638
+ * import { outro } from '@clack/prompts';
639
+ *
640
+ * outro('All operations are finished');
641
+ * ```
642
+ */
643
+ declare const outro: (message?: string, opts?: CommonOptions) => void;
644
+
645
+ /**
646
+ * Options for the {@link text} prompt
647
+ */
648
+ interface TextOptions extends CommonOptions {
649
+ /**
650
+ * The prompt message or question shown to the user above the input.
651
+ */
652
+ message: string;
653
+ /**
654
+ * A visual hint shown when the field has no content.
655
+ */
656
+ placeholder?: string;
657
+ /**
658
+ * A fallback value returned when the user provides nothing (empty input).
659
+ */
660
+ defaultValue?: string;
661
+ /**
662
+ * The starting value shown when the prompt first renders.
663
+ * Users can edit this value before submitting.
664
+ */
665
+ initialValue?: string;
666
+ /**
667
+ * A function or a [Standard Schema](https://github.com/standard-schema/standard-schema)
668
+ * that validates user input. If a custom function is given, you should return a `string` or `Error`
669
+ * to show as a validation error, or `undefined` to accept the result.
670
+ */
671
+ validate?: Validate<string>;
672
+ }
673
+ /**
674
+ * The text prompt accepts a single line of text.
675
+ *
676
+ * @see https://bomb.sh/docs/clack/packages/prompts/#text-input
677
+ *
678
+ * @example
679
+ * ```ts
680
+ * import { text } from '@clack/prompts';
681
+ *
682
+ * const name = await text({
683
+ * message: 'What is your name?',
684
+ * placeholder: 'John Doe',
685
+ * validate: (value) => {
686
+ * if (!value || value.length < 2) return 'Name must be at least 2 characters';
687
+ * return undefined;
688
+ * },
689
+ * });
690
+ * ```
691
+ */
692
+ declare const text: (opts: TextOptions) => Promise<string | symbol>;
693
+
694
+ /**
695
+ * Options for the {@link multiline} prompt
696
+ */
697
+ interface MultiLineOptions extends TextOptions {
698
+ /**
699
+ * When enabled it shows a `[ submit ]` button that can be focused with tab.
700
+ * By default, pressing `Enter` twice submits the input
701
+ *
702
+ * @default false
703
+ */
704
+ showSubmit?: boolean;
705
+ }
706
+ /**
707
+ * The multi-line prompt accepts multiple lines of text input.
708
+ * By default, pressing `Enter` twice submits the input.
709
+ *
710
+ * @see https://bomb.sh/docs/clack/packages/prompts/#multi-line-text
711
+ *
712
+ * @example
713
+ * ```ts
714
+ * import { multiline } from '@clack/prompts';
715
+ *
716
+ * const bio = await multiline({
717
+ * message: 'Enter your bio',
718
+ * placeholder: 'Tell us about yourself...',
719
+ * showSubmit: true,
720
+ * });
721
+ * ```
722
+ */
723
+ declare const multiline: (opts: MultiLineOptions) => Promise<string | symbol>;
724
+
725
+ declare const MULTISELECT_INSTRUCTIONS: string[];
726
+ interface MultiSelectOptions<Value> extends CommonOptions {
727
+ message: string;
728
+ options: Option<Value>[];
729
+ initialValues?: Value[];
730
+ maxItems?: number;
731
+ required?: boolean;
732
+ cursorAt?: Value;
733
+ }
734
+ declare const multiselect: <Value>(opts: MultiSelectOptions<Value>) => Promise<Value[] | symbol>;
735
+
736
+ type FormatFn = (line: string) => string;
737
+ interface NoteOptions extends CommonOptions {
738
+ format?: FormatFn;
739
+ }
740
+ declare const note: (message?: string, title?: string, opts?: NoteOptions) => void;
741
+
742
+ /**
743
+ * Options for the {@link password} prompt
744
+ */
745
+ interface PasswordOptions extends CommonOptions {
746
+ /**
747
+ * The prompt message or question shown to the user above the input.
748
+ */
749
+ message: string;
750
+ /**
751
+ * Character to use for masking input.
752
+ * @default ▪/•
753
+ */
754
+ mask?: string;
755
+ /**
756
+ * A function or a [Standard Schema](https://github.com/standard-schema/standard-schema)
757
+ * that validates user input. If a custom function is given, you should return a `string` or `Error`
758
+ * to show as a validation error, or `undefined` to accept the result.
759
+ */
760
+ validate?: Validate<string>;
761
+ /**
762
+ * When enabled it causes the input to be cleared if/when validation fails.
763
+ * @default false
764
+ */
765
+ clearOnError?: boolean;
766
+ }
767
+ /**
768
+ * The password prompt behaves like the {@link text} prompt, but the input is masked.
769
+ *
770
+ * @see https://bomb.sh/docs/clack/packages/prompts/#password-input
771
+ *
772
+ * @example
773
+ * ```ts
774
+ * import { password } from '@clack/prompts';
775
+ *
776
+ * const result = await password({
777
+ * message: 'Enter your password',
778
+ * });
779
+ * ```
780
+ */
781
+ declare const password: (opts: PasswordOptions) => Promise<string | symbol>;
782
+
783
+ /**
784
+ * Options for the {@link path} prompt.
785
+ */
786
+ interface PathOptions extends CommonOptions {
787
+ /**
788
+ * The message or question shown to the user above the input.
789
+ */
790
+ message: string;
791
+ /**
792
+ * The starting directory for path suggestions (defaults to current working directory).
793
+ */
794
+ root?: string;
795
+ /**
796
+ * When `true` only **directories** appear in suggestions while you navigate.
797
+ */
798
+ directory?: boolean;
799
+ /**
800
+ * The starting path shown when the prompt first renders, which users can edit
801
+ * before submitting. If not provided it will fall back to the given `root`,
802
+ * or the current working directory.
803
+ *
804
+ * In `directory` mode, if the initial value points to a directory that exists,
805
+ * pressing enter will submit the input instead of jumping to the first child.
806
+ */
807
+ initialValue?: string;
808
+ /**
809
+ * A function or a [Standard Schema](https://github.com/standard-schema/standard-schema)
810
+ * that validates user input. If a custom function is given, you should return a `string` or `Error`
811
+ * to show as a validation error, or `undefined` to accept the result.
812
+ */
813
+ validate?: Validate<string>;
814
+ }
815
+ /**
816
+ * The `path` prompt extends `autocomplete` to provide file and directory suggestions.
817
+ *
818
+ * @see https://bomb.sh/docs/clack/packages/prompts/#path-selection
819
+ *
820
+ * @example
821
+ * ```ts
822
+ * import { path } from '@clack/prompts';
823
+ *
824
+ * const result = await path({
825
+ * message: 'Select a file:',
826
+ * root: process.cwd(),
827
+ * directory: false,
828
+ * });
829
+ * ```
830
+ */
831
+ declare const path: (opts: PathOptions) => Promise<string | symbol>;
832
+
833
+ interface SpinnerOptions extends CommonOptions {
834
+ indicator?: 'dots' | 'timer';
835
+ onCancel?: () => void;
836
+ cancelMessage?: string;
837
+ errorMessage?: string;
838
+ frames?: string[];
839
+ delay?: number;
840
+ styleFrame?: (frame: string) => string;
841
+ }
842
+ interface SpinnerResult {
843
+ start(msg?: string): void;
844
+ stop(msg?: string): void;
845
+ cancel(msg?: string): void;
846
+ error(msg?: string): void;
847
+ message(msg?: string): void;
848
+ clear(): void;
849
+ readonly isCancelled: boolean;
850
+ }
851
+ declare const spinner: ({ indicator, onCancel, output, cancelMessage, errorMessage, frames, delay, signal, ...opts }?: SpinnerOptions) => SpinnerResult;
852
+
853
+ interface ProgressOptions extends SpinnerOptions {
854
+ style?: 'light' | 'heavy' | 'block';
855
+ max?: number;
856
+ size?: number;
857
+ }
858
+ interface ProgressResult extends SpinnerResult {
859
+ advance(step?: number, msg?: string): void;
860
+ }
861
+ declare function progress({ style, max: userMax, size: userSize, ...spinnerOptions }?: ProgressOptions): ProgressResult;
862
+
863
+ interface SelectKeyOptions<Value extends string> extends CommonOptions {
864
+ message: string;
865
+ options: Option<Value>[];
866
+ initialValue?: Value;
867
+ caseSensitive?: boolean;
868
+ }
869
+ declare const selectKey: <Value extends string>(opts: SelectKeyOptions<Value>) => Promise<Value | symbol>;
870
+
871
+ declare const stream: {
872
+ message: (iterable: Iterable<string> | AsyncIterable<string>, { symbol }?: LogMessageOptions) => Promise<void>;
873
+ info: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
874
+ success: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
875
+ step: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
876
+ warn: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
877
+ /** alias for `log.warn()`. */
878
+ warning: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
879
+ error: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
880
+ };
881
+
882
+ type Task = {
883
+ /**
884
+ * Task title
885
+ */
886
+ title: string;
887
+ /**
888
+ * Task function
889
+ */
890
+ task: (message: (string: string) => void) => string | Promise<string> | void | Promise<void>;
891
+ /**
892
+ * If enabled === false the task will be skipped
893
+ */
894
+ enabled?: boolean;
895
+ };
896
+ /**
897
+ * Define a group of tasks to be executed
898
+ */
899
+ declare const tasks: (tasks: Task[], opts?: CommonOptions) => Promise<void>;
900
+
901
+ interface TaskLogOptions extends CommonOptions {
902
+ title: string;
903
+ limit?: number;
904
+ spacing?: number;
905
+ retainLog?: boolean;
906
+ }
907
+ interface TaskLogMessageOptions {
908
+ raw?: boolean;
909
+ }
910
+ interface TaskLogCompletionOptions {
911
+ showLog?: boolean;
912
+ }
913
+ /**
914
+ * Renders a log which clears on success and remains on failure
915
+ */
916
+ declare const taskLog: (opts: TaskLogOptions) => {
917
+ message(msg: string, mopts?: TaskLogMessageOptions): void;
918
+ group(name: string): {
919
+ message(msg: string, mopts?: TaskLogMessageOptions): void;
920
+ error(message: string): void;
921
+ success(message: string): void;
922
+ };
923
+ error(message: string, opts?: TaskLogCompletionOptions): void;
924
+ success(message: string, opts?: TaskLogCompletionOptions): void;
925
+ };
926
+
927
+ export { MULTISELECT_INSTRUCTIONS, SELECT_INSTRUCTIONS, S_BAR, S_BAR_END, S_BAR_END_RIGHT, S_BAR_H, S_BAR_START, S_BAR_START_RIGHT, S_CHECKBOX_ACTIVE, S_CHECKBOX_INACTIVE, S_CHECKBOX_SELECTED, S_CONNECT_LEFT, S_CORNER_BOTTOM_LEFT, S_CORNER_BOTTOM_RIGHT, S_CORNER_TOP_LEFT, S_CORNER_TOP_RIGHT, S_ERROR, S_INFO, S_PASSWORD_MASK, S_RADIO_ACTIVE, S_RADIO_INACTIVE, S_STEP_ACTIVE, S_STEP_CANCEL, S_STEP_ERROR, S_STEP_SUBMIT, S_SUCCESS, S_WARN, autocomplete, autocompleteMultiselect, box, cancel, confirm, date, formatInstructionFooter, group, groupMultiselect, intro, isCI, isTTY, limitOptions, log, multiline, multiselect, note, outro, password, path, progress, select, selectKey, spinner, stream, symbol, symbolBar, taskLog, tasks, text, unicode, unicodeOr };
928
+ export type { AutocompleteMultiSelectOptions, AutocompleteOptions, BoxAlignment, BoxOptions, CommonOptions, ConfirmOptions, DateOptions, GroupMultiSelectOptions, LimitOptionsParams, LogMessageOptions, MultiLineOptions, MultiSelectOptions, NoteOptions, Option, PasswordOptions, PathOptions, ProgressOptions, ProgressResult, PromptGroup, PromptGroupAwaitedReturn, PromptGroupOptions, SelectKeyOptions, SelectOptions, SpinnerOptions, SpinnerResult, Task, TaskLogCompletionOptions, TaskLogMessageOptions, TaskLogOptions, TextOptions };