@kjanat/dreamcli 3.0.0-rc.2 → 3.0.0-rc.20

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 (531) hide show
  1. package/CHANGELOG.md +374 -1
  2. package/README.md +3 -3
  3. package/dist/core/cli/dispatch.d.mts +6 -5
  4. package/dist/core/cli/dispatch.mjs +7 -16
  5. package/dist/core/cli/help-links.d.mts +0 -1
  6. package/dist/core/cli/index.d.mts +213 -16
  7. package/dist/core/cli/index.mjs +174 -43
  8. package/dist/core/cli/planner.d.mts +5 -1
  9. package/dist/core/cli/planner.mjs +19 -13
  10. package/dist/core/cli/plugin.d.mts +1 -1
  11. package/dist/core/cli/propagate.d.mts +1 -1
  12. package/dist/core/cli/root-help.d.mts +2 -1
  13. package/dist/core/cli/root-help.mjs +45 -22
  14. package/dist/core/cli/root-surface.d.mts +12 -1
  15. package/dist/core/cli/root-surface.mjs +2 -1
  16. package/dist/core/cli/runtime-preflight.d.mts +18 -2
  17. package/dist/core/cli/runtime-preflight.mjs +10 -7
  18. package/dist/core/completion/index.d.mts +0 -1
  19. package/dist/core/completion/index.mjs +1 -1
  20. package/dist/core/completion/shells/bash.d.mts +0 -1
  21. package/dist/core/completion/shells/bash.mjs +8 -4
  22. package/dist/core/completion/shells/fish.d.mts +0 -1
  23. package/dist/core/completion/shells/fish.mjs +6 -3
  24. package/dist/core/completion/shells/powershell.d.mts +0 -1
  25. package/dist/core/completion/shells/powershell.mjs +10 -5
  26. package/dist/core/completion/shells/shared.d.mts +13 -2
  27. package/dist/core/completion/shells/shared.mjs +25 -2
  28. package/dist/core/completion/shells/zsh.d.mts +0 -1
  29. package/dist/core/completion/shells/zsh.mjs +11 -4
  30. package/dist/core/config/index.d.mts +44 -14
  31. package/dist/core/config/index.mjs +57 -18
  32. package/dist/core/config/package-json.d.mts +28 -4
  33. package/dist/core/config/package-json.mjs +20 -19
  34. package/dist/core/errors/index.d.mts +3 -3
  35. package/dist/core/execution/index.d.mts +0 -1
  36. package/dist/core/execution/index.mjs +20 -4
  37. package/dist/core/help/ansi.d.mts +11 -5
  38. package/dist/core/help/ansi.mjs +15 -16
  39. package/dist/core/help/index.d.mts +44 -3
  40. package/dist/core/help/index.mjs +130 -68
  41. package/dist/core/help/theme.d.mts +68 -0
  42. package/dist/core/help/theme.mjs +46 -0
  43. package/dist/core/json-schema/index.d.mts +21 -9
  44. package/dist/core/json-schema/index.mjs +316 -87
  45. package/dist/core/json-schema/meta-descriptions.generated.d.mts +55 -38
  46. package/dist/core/json-schema/meta-descriptions.generated.mjs +14 -5
  47. package/dist/core/output/activity.d.mts +0 -1
  48. package/dist/core/output/contracts.d.mts +5 -6
  49. package/dist/core/output/contracts.mjs +2 -2
  50. package/dist/core/output/index.d.mts +38 -2
  51. package/dist/core/output/index.mjs +37 -2
  52. package/dist/core/output/renderers.d.mts +0 -1
  53. package/dist/core/parse/index.d.mts +40 -7
  54. package/dist/core/parse/index.mjs +212 -40
  55. package/dist/core/prompt/index.d.mts +1 -0
  56. package/dist/core/resolve/args.d.mts +1 -1
  57. package/dist/core/resolve/coerce.d.mts +1 -1
  58. package/dist/core/resolve/coerce.mjs +71 -14
  59. package/dist/core/resolve/contracts.d.mts +14 -4
  60. package/dist/core/resolve/errors.d.mts +0 -1
  61. package/dist/core/resolve/flags.d.mts +9 -2
  62. package/dist/core/resolve/flags.mjs +78 -6
  63. package/dist/core/resolve/index.d.mts +2 -2
  64. package/dist/core/resolve/index.mjs +6 -1
  65. package/dist/core/resolve/property.d.mts +4 -1
  66. package/dist/core/resolve/property.mjs +11 -3
  67. package/dist/core/resolve/standard.d.mts +24 -0
  68. package/dist/core/resolve/standard.mjs +114 -0
  69. package/dist/core/schema/activity.d.mts +31 -11
  70. package/dist/core/schema/arg.d.mts +38 -4
  71. package/dist/core/schema/arg.mjs +5 -2
  72. package/dist/core/schema/command.d.mts +57 -13
  73. package/dist/core/schema/command.mjs +41 -17
  74. package/dist/core/schema/flag.d.mts +553 -19
  75. package/dist/core/schema/flag.mjs +261 -5
  76. package/dist/core/schema/index.d.mts +6 -3
  77. package/dist/core/schema/middleware.d.mts +4 -3
  78. package/dist/core/schema/prompt.d.mts +6 -3
  79. package/dist/core/schema/run.d.mts +27 -1
  80. package/dist/core/schema/standard.d.mts +100 -0
  81. package/dist/core/schema/standard.mjs +15 -0
  82. package/dist/core/schema/string-constraints.d.mts +97 -0
  83. package/dist/core/schema/string-constraints.mjs +69 -0
  84. package/dist/core/schema/value-parsers.d.mts +78 -0
  85. package/dist/core/schema/value-parsers.mjs +142 -0
  86. package/dist/core/testkit/index.d.mts +0 -31
  87. package/dist/core/testkit/index.mjs +1 -1
  88. package/dist/index.d.mts +12 -7
  89. package/dist/index.mjs +9 -9
  90. package/dist/runtime/adapter.d.mts +71 -2
  91. package/dist/runtime/adapter.mjs +11 -1
  92. package/dist/runtime/auto.d.mts +2 -3
  93. package/dist/runtime/auto.mjs +4 -5
  94. package/dist/runtime/deno.d.mts +28 -5
  95. package/dist/runtime/deno.mjs +49 -1
  96. package/dist/runtime/index.d.mts +3 -4
  97. package/dist/runtime/node.d.mts +8 -2
  98. package/dist/runtime/node.mjs +60 -1
  99. package/dist/runtime.d.mts +4 -4
  100. package/dist/runtime.mjs +2 -3
  101. package/dist/testkit.d.mts +1 -0
  102. package/dist/version.d.mts +7 -3
  103. package/dist/version.mjs +2 -2
  104. package/dreamcli.schema.json +118 -7
  105. package/examples/gh/node_modules/typescript/LICENSE +55 -0
  106. package/examples/gh/node_modules/typescript/NOTICE.txt +436 -0
  107. package/examples/gh/node_modules/typescript/README.md +49 -0
  108. package/examples/gh/node_modules/typescript/bin/tsc +2 -0
  109. package/examples/gh/node_modules/typescript/dist/api/async/api.d.ts +529 -0
  110. package/examples/gh/node_modules/typescript/dist/api/async/api.d.ts.map +1 -0
  111. package/examples/gh/node_modules/typescript/dist/api/async/api.js +1657 -0
  112. package/examples/gh/node_modules/typescript/dist/api/async/api.js.map +1 -0
  113. package/examples/gh/node_modules/typescript/dist/api/async/client.d.ts +39 -0
  114. package/examples/gh/node_modules/typescript/dist/api/async/client.d.ts.map +1 -0
  115. package/examples/gh/node_modules/typescript/dist/api/async/client.js +211 -0
  116. package/examples/gh/node_modules/typescript/dist/api/async/client.js.map +1 -0
  117. package/examples/gh/node_modules/typescript/dist/api/async/types.d.ts +310 -0
  118. package/examples/gh/node_modules/typescript/dist/api/async/types.d.ts.map +1 -0
  119. package/examples/gh/node_modules/typescript/dist/api/async/types.js +2 -0
  120. package/examples/gh/node_modules/typescript/dist/api/async/types.js.map +1 -0
  121. package/examples/gh/node_modules/typescript/dist/api/compilerOptions.d.ts +109 -0
  122. package/examples/gh/node_modules/typescript/dist/api/compilerOptions.d.ts.map +1 -0
  123. package/examples/gh/node_modules/typescript/dist/api/compilerOptions.js +2 -0
  124. package/examples/gh/node_modules/typescript/dist/api/compilerOptions.js.map +1 -0
  125. package/examples/gh/node_modules/typescript/dist/api/fs.d.ts +23 -0
  126. package/examples/gh/node_modules/typescript/dist/api/fs.d.ts.map +1 -0
  127. package/examples/gh/node_modules/typescript/dist/api/fs.js +109 -0
  128. package/examples/gh/node_modules/typescript/dist/api/fs.js.map +1 -0
  129. package/examples/gh/node_modules/typescript/dist/api/node/encoder.d.ts +15 -0
  130. package/examples/gh/node_modules/typescript/dist/api/node/encoder.d.ts.map +1 -0
  131. package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.d.ts +5 -0
  132. package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +1 -0
  133. package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.js +74 -0
  134. package/examples/gh/node_modules/typescript/dist/api/node/encoder.generated.js.map +1 -0
  135. package/examples/gh/node_modules/typescript/dist/api/node/encoder.js +287 -0
  136. package/examples/gh/node_modules/typescript/dist/api/node/encoder.js.map +1 -0
  137. package/examples/gh/node_modules/typescript/dist/api/node/msgpack.d.ts +32 -0
  138. package/examples/gh/node_modules/typescript/dist/api/node/msgpack.d.ts.map +1 -0
  139. package/examples/gh/node_modules/typescript/dist/api/node/msgpack.js +213 -0
  140. package/examples/gh/node_modules/typescript/dist/api/node/msgpack.js.map +1 -0
  141. package/examples/gh/node_modules/typescript/dist/api/node/node.d.ts +76 -0
  142. package/examples/gh/node_modules/typescript/dist/api/node/node.d.ts.map +1 -0
  143. package/examples/gh/node_modules/typescript/dist/api/node/node.generated.d.ts +182 -0
  144. package/examples/gh/node_modules/typescript/dist/api/node/node.generated.d.ts.map +1 -0
  145. package/examples/gh/node_modules/typescript/dist/api/node/node.generated.js +835 -0
  146. package/examples/gh/node_modules/typescript/dist/api/node/node.generated.js.map +1 -0
  147. package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +62 -0
  148. package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +1 -0
  149. package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.js +122 -0
  150. package/examples/gh/node_modules/typescript/dist/api/node/node.infrastructure.js.map +1 -0
  151. package/examples/gh/node_modules/typescript/dist/api/node/node.js +298 -0
  152. package/examples/gh/node_modules/typescript/dist/api/node/node.js.map +1 -0
  153. package/examples/gh/node_modules/typescript/dist/api/node/protocol.d.ts +29 -0
  154. package/examples/gh/node_modules/typescript/dist/api/node/protocol.d.ts.map +1 -0
  155. package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.d.ts +4 -0
  156. package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +1 -0
  157. package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.js +241 -0
  158. package/examples/gh/node_modules/typescript/dist/api/node/protocol.generated.js.map +1 -0
  159. package/examples/gh/node_modules/typescript/dist/api/node/protocol.js +30 -0
  160. package/examples/gh/node_modules/typescript/dist/api/node/protocol.js.map +1 -0
  161. package/examples/gh/node_modules/typescript/dist/api/node/wtf8.d.ts +6 -0
  162. package/examples/gh/node_modules/typescript/dist/api/node/wtf8.d.ts.map +1 -0
  163. package/examples/gh/node_modules/typescript/dist/api/node/wtf8.js +61 -0
  164. package/examples/gh/node_modules/typescript/dist/api/node/wtf8.js.map +1 -0
  165. package/examples/gh/node_modules/typescript/dist/api/options.d.ts +32 -0
  166. package/examples/gh/node_modules/typescript/dist/api/options.d.ts.map +1 -0
  167. package/examples/gh/node_modules/typescript/dist/api/options.js +11 -0
  168. package/examples/gh/node_modules/typescript/dist/api/options.js.map +1 -0
  169. package/examples/gh/node_modules/typescript/dist/api/path.d.ts +110 -0
  170. package/examples/gh/node_modules/typescript/dist/api/path.d.ts.map +1 -0
  171. package/examples/gh/node_modules/typescript/dist/api/path.js +508 -0
  172. package/examples/gh/node_modules/typescript/dist/api/path.js.map +1 -0
  173. package/examples/gh/node_modules/typescript/dist/api/proto.d.ts +239 -0
  174. package/examples/gh/node_modules/typescript/dist/api/proto.d.ts.map +1 -0
  175. package/examples/gh/node_modules/typescript/dist/api/proto.js +37 -0
  176. package/examples/gh/node_modules/typescript/dist/api/proto.js.map +1 -0
  177. package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.d.ts +79 -0
  178. package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +1 -0
  179. package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.js +169 -0
  180. package/examples/gh/node_modules/typescript/dist/api/sourceFileCache.js.map +1 -0
  181. package/examples/gh/node_modules/typescript/dist/api/sync/api.d.ts +529 -0
  182. package/examples/gh/node_modules/typescript/dist/api/sync/api.d.ts.map +1 -0
  183. package/examples/gh/node_modules/typescript/dist/api/sync/api.js +1665 -0
  184. package/examples/gh/node_modules/typescript/dist/api/sync/api.js.map +1 -0
  185. package/examples/gh/node_modules/typescript/dist/api/sync/client.d.ts +30 -0
  186. package/examples/gh/node_modules/typescript/dist/api/sync/client.d.ts.map +1 -0
  187. package/examples/gh/node_modules/typescript/dist/api/sync/client.js +124 -0
  188. package/examples/gh/node_modules/typescript/dist/api/sync/client.js.map +1 -0
  189. package/examples/gh/node_modules/typescript/dist/api/sync/types.d.ts +310 -0
  190. package/examples/gh/node_modules/typescript/dist/api/sync/types.d.ts.map +1 -0
  191. package/examples/gh/node_modules/typescript/dist/api/sync/types.js +2 -0
  192. package/examples/gh/node_modules/typescript/dist/api/sync/types.js.map +1 -0
  193. package/examples/gh/node_modules/typescript/dist/api/syncChannel.d.ts +114 -0
  194. package/examples/gh/node_modules/typescript/dist/api/syncChannel.d.ts.map +1 -0
  195. package/examples/gh/node_modules/typescript/dist/api/syncChannel.js +508 -0
  196. package/examples/gh/node_modules/typescript/dist/api/syncChannel.js.map +1 -0
  197. package/examples/gh/node_modules/typescript/dist/api/timing.d.ts +175 -0
  198. package/examples/gh/node_modules/typescript/dist/api/timing.d.ts.map +1 -0
  199. package/examples/gh/node_modules/typescript/dist/api/timing.js +149 -0
  200. package/examples/gh/node_modules/typescript/dist/api/timing.js.map +1 -0
  201. package/examples/gh/node_modules/typescript/dist/ast/ast.d.ts +100 -0
  202. package/examples/gh/node_modules/typescript/dist/ast/ast.d.ts.map +1 -0
  203. package/examples/gh/node_modules/typescript/dist/ast/ast.generated.d.ts +1161 -0
  204. package/examples/gh/node_modules/typescript/dist/ast/ast.generated.d.ts.map +1 -0
  205. package/examples/gh/node_modules/typescript/dist/ast/ast.generated.js +4 -0
  206. package/examples/gh/node_modules/typescript/dist/ast/ast.generated.js.map +1 -0
  207. package/examples/gh/node_modules/typescript/dist/ast/ast.js +7 -0
  208. package/examples/gh/node_modules/typescript/dist/ast/ast.js.map +1 -0
  209. package/examples/gh/node_modules/typescript/dist/ast/astnav.d.ts +19 -0
  210. package/examples/gh/node_modules/typescript/dist/ast/astnav.d.ts.map +1 -0
  211. package/examples/gh/node_modules/typescript/dist/ast/astnav.js +596 -0
  212. package/examples/gh/node_modules/typescript/dist/ast/astnav.js.map +1 -0
  213. package/examples/gh/node_modules/typescript/dist/ast/clone.d.ts +16 -0
  214. package/examples/gh/node_modules/typescript/dist/ast/clone.d.ts.map +1 -0
  215. package/examples/gh/node_modules/typescript/dist/ast/clone.js +104 -0
  216. package/examples/gh/node_modules/typescript/dist/ast/clone.js.map +1 -0
  217. package/examples/gh/node_modules/typescript/dist/ast/factory.generated.d.ts +520 -0
  218. package/examples/gh/node_modules/typescript/dist/ast/factory.generated.d.ts.map +1 -0
  219. package/examples/gh/node_modules/typescript/dist/ast/factory.generated.js +3057 -0
  220. package/examples/gh/node_modules/typescript/dist/ast/factory.generated.js.map +1 -0
  221. package/examples/gh/node_modules/typescript/dist/ast/index.d.ts +20 -0
  222. package/examples/gh/node_modules/typescript/dist/ast/index.d.ts.map +1 -0
  223. package/examples/gh/node_modules/typescript/dist/ast/index.js +20 -0
  224. package/examples/gh/node_modules/typescript/dist/ast/index.js.map +1 -0
  225. package/examples/gh/node_modules/typescript/dist/ast/is.d.ts +35 -0
  226. package/examples/gh/node_modules/typescript/dist/ast/is.d.ts.map +1 -0
  227. package/examples/gh/node_modules/typescript/dist/ast/is.generated.d.ts +329 -0
  228. package/examples/gh/node_modules/typescript/dist/ast/is.generated.d.ts.map +1 -0
  229. package/examples/gh/node_modules/typescript/dist/ast/is.generated.js +1103 -0
  230. package/examples/gh/node_modules/typescript/dist/ast/is.generated.js.map +1 -0
  231. package/examples/gh/node_modules/typescript/dist/ast/is.js +233 -0
  232. package/examples/gh/node_modules/typescript/dist/ast/is.js.map +1 -0
  233. package/examples/gh/node_modules/typescript/dist/ast/jsdoc.d.ts +11 -0
  234. package/examples/gh/node_modules/typescript/dist/ast/jsdoc.d.ts.map +1 -0
  235. package/examples/gh/node_modules/typescript/dist/ast/jsdoc.js +202 -0
  236. package/examples/gh/node_modules/typescript/dist/ast/jsdoc.js.map +1 -0
  237. package/examples/gh/node_modules/typescript/dist/ast/scanner.d.ts +97 -0
  238. package/examples/gh/node_modules/typescript/dist/ast/scanner.d.ts.map +1 -0
  239. package/examples/gh/node_modules/typescript/dist/ast/scanner.js +2230 -0
  240. package/examples/gh/node_modules/typescript/dist/ast/scanner.js.map +1 -0
  241. package/examples/gh/node_modules/typescript/dist/ast/utils.d.ts +17 -0
  242. package/examples/gh/node_modules/typescript/dist/ast/utils.d.ts.map +1 -0
  243. package/examples/gh/node_modules/typescript/dist/ast/utils.js +67 -0
  244. package/examples/gh/node_modules/typescript/dist/ast/utils.js.map +1 -0
  245. package/examples/gh/node_modules/typescript/dist/ast/visitor.d.ts +14 -0
  246. package/examples/gh/node_modules/typescript/dist/ast/visitor.d.ts.map +1 -0
  247. package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.d.ts +50 -0
  248. package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +1 -0
  249. package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.js +978 -0
  250. package/examples/gh/node_modules/typescript/dist/ast/visitor.generated.js.map +1 -0
  251. package/examples/gh/node_modules/typescript/dist/ast/visitor.js +47 -0
  252. package/examples/gh/node_modules/typescript/dist/ast/visitor.js.map +1 -0
  253. package/examples/gh/node_modules/typescript/dist/enums/characterCodes.d.ts +2 -0
  254. package/examples/gh/node_modules/typescript/dist/enums/characterCodes.d.ts.map +1 -0
  255. package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +129 -0
  256. package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +1 -0
  257. package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.js +132 -0
  258. package/examples/gh/node_modules/typescript/dist/enums/characterCodes.enum.js.map +1 -0
  259. package/examples/gh/node_modules/typescript/dist/enums/characterCodes.js +130 -0
  260. package/examples/gh/node_modules/typescript/dist/enums/characterCodes.js.map +1 -0
  261. package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +2 -0
  262. package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +1 -0
  263. package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +5 -0
  264. package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +1 -0
  265. package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +6 -0
  266. package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +1 -0
  267. package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.js +6 -0
  268. package/examples/gh/node_modules/typescript/dist/enums/commentDirectiveType.js.map +1 -0
  269. package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.d.ts +2 -0
  270. package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +1 -0
  271. package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +28 -0
  272. package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +1 -0
  273. package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.js +30 -0
  274. package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +1 -0
  275. package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.js +30 -0
  276. package/examples/gh/node_modules/typescript/dist/enums/completionItemKind.js.map +1 -0
  277. package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +2 -0
  278. package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +1 -0
  279. package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +7 -0
  280. package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +1 -0
  281. package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +9 -0
  282. package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +1 -0
  283. package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.js +9 -0
  284. package/examples/gh/node_modules/typescript/dist/enums/diagnosticCategory.js.map +1 -0
  285. package/examples/gh/node_modules/typescript/dist/enums/elementFlags.d.ts +2 -0
  286. package/examples/gh/node_modules/typescript/dist/enums/elementFlags.d.ts.map +1 -0
  287. package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +12 -0
  288. package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +1 -0
  289. package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.js +14 -0
  290. package/examples/gh/node_modules/typescript/dist/enums/elementFlags.enum.js.map +1 -0
  291. package/examples/gh/node_modules/typescript/dist/enums/elementFlags.js +14 -0
  292. package/examples/gh/node_modules/typescript/dist/enums/elementFlags.js.map +1 -0
  293. package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.d.ts +2 -0
  294. package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +1 -0
  295. package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +23 -0
  296. package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +1 -0
  297. package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.js +25 -0
  298. package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +1 -0
  299. package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.js +25 -0
  300. package/examples/gh/node_modules/typescript/dist/enums/internalSymbolName.js.map +1 -0
  301. package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.d.ts +2 -0
  302. package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +1 -0
  303. package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +9 -0
  304. package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +1 -0
  305. package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.js +11 -0
  306. package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +1 -0
  307. package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.js +11 -0
  308. package/examples/gh/node_modules/typescript/dist/enums/jsxEmit.js.map +1 -0
  309. package/examples/gh/node_modules/typescript/dist/enums/languageVariant.d.ts +2 -0
  310. package/examples/gh/node_modules/typescript/dist/enums/languageVariant.d.ts.map +1 -0
  311. package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +5 -0
  312. package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +1 -0
  313. package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.js +6 -0
  314. package/examples/gh/node_modules/typescript/dist/enums/languageVariant.enum.js.map +1 -0
  315. package/examples/gh/node_modules/typescript/dist/enums/languageVariant.js +6 -0
  316. package/examples/gh/node_modules/typescript/dist/enums/languageVariant.js.map +1 -0
  317. package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.d.ts +2 -0
  318. package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +1 -0
  319. package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +42 -0
  320. package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +1 -0
  321. package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.js +44 -0
  322. package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +1 -0
  323. package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.js +44 -0
  324. package/examples/gh/node_modules/typescript/dist/enums/modifierFlags.js.map +1 -0
  325. package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +2 -0
  326. package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +1 -0
  327. package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +7 -0
  328. package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +1 -0
  329. package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +9 -0
  330. package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +1 -0
  331. package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.js +9 -0
  332. package/examples/gh/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +1 -0
  333. package/examples/gh/node_modules/typescript/dist/enums/moduleKind.d.ts +2 -0
  334. package/examples/gh/node_modules/typescript/dist/enums/moduleKind.d.ts.map +1 -0
  335. package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +17 -0
  336. package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +1 -0
  337. package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.js +19 -0
  338. package/examples/gh/node_modules/typescript/dist/enums/moduleKind.enum.js.map +1 -0
  339. package/examples/gh/node_modules/typescript/dist/enums/moduleKind.js +19 -0
  340. package/examples/gh/node_modules/typescript/dist/enums/moduleKind.js.map +1 -0
  341. package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +2 -0
  342. package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +1 -0
  343. package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +9 -0
  344. package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +1 -0
  345. package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +11 -0
  346. package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +1 -0
  347. package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.js +11 -0
  348. package/examples/gh/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +1 -0
  349. package/examples/gh/node_modules/typescript/dist/enums/newLineKind.d.ts +2 -0
  350. package/examples/gh/node_modules/typescript/dist/enums/newLineKind.d.ts.map +1 -0
  351. package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +6 -0
  352. package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +1 -0
  353. package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.js +8 -0
  354. package/examples/gh/node_modules/typescript/dist/enums/newLineKind.enum.js.map +1 -0
  355. package/examples/gh/node_modules/typescript/dist/enums/newLineKind.js +8 -0
  356. package/examples/gh/node_modules/typescript/dist/enums/newLineKind.js.map +1 -0
  357. package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +2 -0
  358. package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +1 -0
  359. package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +36 -0
  360. package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +1 -0
  361. package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +38 -0
  362. package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +1 -0
  363. package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.js +38 -0
  364. package/examples/gh/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +1 -0
  365. package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.d.ts +2 -0
  366. package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +1 -0
  367. package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +44 -0
  368. package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +1 -0
  369. package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.js +46 -0
  370. package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +1 -0
  371. package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.js +46 -0
  372. package/examples/gh/node_modules/typescript/dist/enums/nodeFlags.js.map +1 -0
  373. package/examples/gh/node_modules/typescript/dist/enums/objectFlags.d.ts +2 -0
  374. package/examples/gh/node_modules/typescript/dist/enums/objectFlags.d.ts.map +1 -0
  375. package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +50 -0
  376. package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +1 -0
  377. package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.js +52 -0
  378. package/examples/gh/node_modules/typescript/dist/enums/objectFlags.enum.js.map +1 -0
  379. package/examples/gh/node_modules/typescript/dist/enums/objectFlags.js +52 -0
  380. package/examples/gh/node_modules/typescript/dist/enums/objectFlags.js.map +1 -0
  381. package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +2 -0
  382. package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +1 -0
  383. package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +16 -0
  384. package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +1 -0
  385. package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +18 -0
  386. package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +1 -0
  387. package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.js +18 -0
  388. package/examples/gh/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +1 -0
  389. package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +2 -0
  390. package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +1 -0
  391. package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +13 -0
  392. package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +1 -0
  393. package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +14 -0
  394. package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +1 -0
  395. package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.js +14 -0
  396. package/examples/gh/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +1 -0
  397. package/examples/gh/node_modules/typescript/dist/enums/scriptKind.d.ts +2 -0
  398. package/examples/gh/node_modules/typescript/dist/enums/scriptKind.d.ts.map +1 -0
  399. package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +11 -0
  400. package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +1 -0
  401. package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.js +12 -0
  402. package/examples/gh/node_modules/typescript/dist/enums/scriptKind.enum.js.map +1 -0
  403. package/examples/gh/node_modules/typescript/dist/enums/scriptKind.js +12 -0
  404. package/examples/gh/node_modules/typescript/dist/enums/scriptKind.js.map +1 -0
  405. package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.d.ts +2 -0
  406. package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +1 -0
  407. package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +17 -0
  408. package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +1 -0
  409. package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.js +18 -0
  410. package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +1 -0
  411. package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.js +18 -0
  412. package/examples/gh/node_modules/typescript/dist/enums/scriptTarget.js.map +1 -0
  413. package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.d.ts +2 -0
  414. package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +1 -0
  415. package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +15 -0
  416. package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +1 -0
  417. package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.js +17 -0
  418. package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +1 -0
  419. package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.js +17 -0
  420. package/examples/gh/node_modules/typescript/dist/enums/signatureFlags.js.map +1 -0
  421. package/examples/gh/node_modules/typescript/dist/enums/signatureKind.d.ts +2 -0
  422. package/examples/gh/node_modules/typescript/dist/enums/signatureKind.d.ts.map +1 -0
  423. package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +5 -0
  424. package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +1 -0
  425. package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.js +7 -0
  426. package/examples/gh/node_modules/typescript/dist/enums/signatureKind.enum.js.map +1 -0
  427. package/examples/gh/node_modules/typescript/dist/enums/signatureKind.js +7 -0
  428. package/examples/gh/node_modules/typescript/dist/enums/signatureKind.js.map +1 -0
  429. package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.d.ts +2 -0
  430. package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +1 -0
  431. package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +71 -0
  432. package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +1 -0
  433. package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.js +73 -0
  434. package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +1 -0
  435. package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.js +73 -0
  436. package/examples/gh/node_modules/typescript/dist/enums/symbolFlags.js.map +1 -0
  437. package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.d.ts +2 -0
  438. package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +1 -0
  439. package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +389 -0
  440. package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +1 -0
  441. package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.js +391 -0
  442. package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +1 -0
  443. package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.js +391 -0
  444. package/examples/gh/node_modules/typescript/dist/enums/syntaxKind.js.map +1 -0
  445. package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.d.ts +2 -0
  446. package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +1 -0
  447. package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +30 -0
  448. package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +1 -0
  449. package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.js +32 -0
  450. package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +1 -0
  451. package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.js +32 -0
  452. package/examples/gh/node_modules/typescript/dist/enums/tokenFlags.js.map +1 -0
  453. package/examples/gh/node_modules/typescript/dist/enums/typeFlags.d.ts +2 -0
  454. package/examples/gh/node_modules/typescript/dist/enums/typeFlags.d.ts.map +1 -0
  455. package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +76 -0
  456. package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +1 -0
  457. package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.js +78 -0
  458. package/examples/gh/node_modules/typescript/dist/enums/typeFlags.enum.js.map +1 -0
  459. package/examples/gh/node_modules/typescript/dist/enums/typeFlags.js +78 -0
  460. package/examples/gh/node_modules/typescript/dist/enums/typeFlags.js.map +1 -0
  461. package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.d.ts +2 -0
  462. package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +1 -0
  463. package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +7 -0
  464. package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +1 -0
  465. package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.js +9 -0
  466. package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +1 -0
  467. package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.js +9 -0
  468. package/examples/gh/node_modules/typescript/dist/enums/typePredicateKind.js.map +1 -0
  469. package/examples/gh/node_modules/typescript/dist/internal/utils.d.ts +23 -0
  470. package/examples/gh/node_modules/typescript/dist/internal/utils.d.ts.map +1 -0
  471. package/examples/gh/node_modules/typescript/dist/internal/utils.js +25 -0
  472. package/examples/gh/node_modules/typescript/dist/internal/utils.js.map +1 -0
  473. package/examples/gh/node_modules/typescript/lib/getExePath.d.ts +2 -0
  474. package/examples/gh/node_modules/typescript/lib/getExePath.js +70 -0
  475. package/examples/gh/node_modules/typescript/lib/tsc.js +28 -0
  476. package/examples/gh/node_modules/typescript/lib/version.cjs +3 -0
  477. package/examples/gh/node_modules/typescript/lib/version.d.cts +2 -0
  478. package/examples/gh/node_modules/typescript/package.json +87 -0
  479. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +11 -0
  480. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/README.md +54 -0
  481. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
  482. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +83 -0
  483. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +22 -0
  484. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +210 -0
  485. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +14 -0
  486. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +87 -0
  487. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
  488. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +132 -0
  489. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +367 -0
  490. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +1271 -0
  491. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
  492. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +16 -0
  493. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
  494. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +70 -0
  495. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +39 -0
  496. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +135 -0
  497. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +7 -0
  498. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +34 -0
  499. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +55 -0
  500. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +412 -0
  501. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
  502. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +155 -0
  503. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
  504. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +246 -0
  505. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
  506. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +157 -0
  507. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
  508. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +436 -0
  509. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
  510. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +23 -0
  511. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
  512. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +74 -0
  513. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
  514. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +77 -0
  515. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +58 -0
  516. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +289 -0
  517. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +12 -0
  518. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +163 -0
  519. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/package.json +54 -0
  520. package/examples/gh/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +5 -0
  521. package/examples/gh/package.json +11 -5
  522. package/examples/gh/src/main.ts +10 -4
  523. package/examples/pwsh-demo/package.json +1 -1
  524. package/examples/pwsh-demo/src/main.ts +1 -1
  525. package/package.json +45 -41
  526. package/dist/core/schema-dsl/runtime.d.mts +0 -144
  527. package/dist/core/schema-dsl/runtime.mjs +0 -271
  528. package/dist/core/schema-dsl/to-json-schema.d.mts +0 -30
  529. package/dist/core/schema-dsl/to-json-schema.mjs +0 -74
  530. package/dist/runtime/bun.d.mts +0 -28
  531. package/dist/runtime/bun.mjs +0 -28
@@ -6,22 +6,22 @@
6
6
  */
7
7
  declare const definitionMetaSchemaDescriptions: {
8
8
  readonly root: {
9
- readonly description: 'Runtime descriptor for the CLI program.\n\nStores the program name, version, description, and registered commands.\\\nBuilt incrementally by CLIBuilder.';
9
+ readonly description: "Runtime descriptor for the CLI program.\n\nStores the program name, version, description, and registered commands.\\\nBuilt incrementally by CLIBuilder.";
10
10
  readonly properties: {
11
11
  readonly name: {
12
- readonly description: 'Program name (used in help text, usage lines, and completion scripts).';
12
+ readonly description: "Program name (used in help text, usage lines, and completion scripts).";
13
13
  };
14
14
  readonly version: {
15
- readonly description: 'Program version (shown by `--version`).';
15
+ readonly description: "Program version (shown by `--version`).";
16
16
  };
17
17
  readonly description: {
18
- readonly description: 'Program description (shown in root help).';
18
+ readonly description: "Program description (shown in root help).";
19
19
  };
20
20
  readonly defaultCommand: {
21
- readonly description: 'Default command dispatched when no subcommand matches.\n\nWhen set, the CLI root behaves like a hybrid command group: subcommands\ndispatch by name as usual, but empty argv or flags-only argv falls\nthrough to this command instead of showing root help.\n\nSet via the .default() builder method.';
21
+ readonly description: "Default command dispatched when no subcommand matches.\n\nWhen set, the CLI root behaves like a hybrid command group: subcommands\ndispatch by name as usual, but empty argv or flags-only argv falls\nthrough to this command instead of showing root help.\n\nSet via the .default() builder method.";
22
22
  };
23
23
  readonly commands: {
24
- readonly description: 'Registered commands (type-erased for heterogeneous storage).';
24
+ readonly description: "Registered commands (type-erased for heterogeneous storage).";
25
25
  };
26
26
  };
27
27
  };
@@ -33,25 +33,25 @@ declare const definitionMetaSchemaDescriptions: {
33
33
  readonly description: "The command name (used for dispatch, e.g. `'deploy'`).";
34
34
  };
35
35
  readonly description: {
36
- readonly description: 'Human-readable description for help text.';
36
+ readonly description: "Human-readable description for help text.";
37
37
  };
38
38
  readonly aliases: {
39
- readonly description: 'Alternative names for this command.';
39
+ readonly description: "Alternative names for this command.";
40
40
  };
41
41
  readonly hidden: {
42
- readonly description: 'Whether this command is hidden from help listings.';
42
+ readonly description: "Whether this command is hidden from help listings.";
43
43
  };
44
44
  readonly examples: {
45
- readonly description: 'Usage examples for help text.';
45
+ readonly description: "Usage examples for help text.";
46
46
  };
47
47
  readonly flags: {
48
- readonly description: 'Named flag schemas, keyed by flag name.';
48
+ readonly description: "Named flag schemas, keyed by flag name.";
49
49
  };
50
50
  readonly args: {
51
- readonly description: 'Ordered positional arg entries (name + schema).';
51
+ readonly description: "Ordered positional arg entries (name + schema).";
52
52
  };
53
53
  readonly commands: {
54
- readonly description: 'Nested subcommand schemas (for help rendering and completion).\n\nPure data — no execution closures. Populated by `.command()` on\n`CommandBuilder`. Empty for leaf commands.';
54
+ readonly description: "Nested subcommand schemas (for help rendering and completion).\n\nPure data — no execution closures. Populated by `.command()` on\n`CommandBuilder`. Empty for leaf commands.";
55
55
  };
56
56
  };
57
57
  };
@@ -59,25 +59,25 @@ declare const definitionMetaSchemaDescriptions: {
59
59
  readonly description: "The runtime descriptor stored inside every FlagBuilder. Consumers (parser,\nhelp generator, resolution chain) read this to understand the flag's shape\nwithout touching generics.";
60
60
  readonly properties: {
61
61
  readonly kind: {
62
- readonly description: 'What kind of value this flag accepts.';
62
+ readonly description: "What kind of value this flag accepts.";
63
63
  };
64
64
  readonly presence: {
65
65
  readonly description: "Presence describes whether a flag value is guaranteed to exist when the\naction handler runs:\n\n- `'optional'` — not required; unresolved value follows the kind-specific\n optional fallback (`undefined` for most flags, `[]` for arrays)\n- `'required'` — must be supplied; error if missing\n- `'defaulted'` — always present (falls back to default value)";
66
66
  };
67
67
  readonly defaultValue: {
68
- readonly description: 'Runtime default value (if any).';
68
+ readonly description: "Runtime default value (if any).";
69
69
  };
70
70
  readonly aliases: {
71
71
  readonly description: "Short/long aliases (e.g. `[{ name: 'f', hidden: false }]` for `--force`).";
72
72
  };
73
73
  readonly envVar: {
74
- readonly description: 'Environment variable name for v0.2+ resolution.';
74
+ readonly description: "Environment variable name for v0.2+ resolution.";
75
75
  };
76
76
  readonly configPath: {
77
77
  readonly description: "Dotted config path for v0.2+ resolution (e.g. `'deploy.region'`).";
78
78
  };
79
79
  readonly description: {
80
- readonly description: 'Human-readable description for help text.';
80
+ readonly description: "Human-readable description for help text.";
81
81
  };
82
82
  readonly enumValues: {
83
83
  readonly description: "Allowed literal values when `kind === 'enum'`.";
@@ -86,13 +86,30 @@ declare const definitionMetaSchemaDescriptions: {
86
86
  readonly description: "Element schema when `kind === 'array'`.";
87
87
  };
88
88
  readonly prompt: {
89
- readonly description: 'Interactive prompt configuration for v0.3+ resolution.';
89
+ readonly description: "Interactive prompt configuration for v0.3+ resolution.";
90
90
  };
91
91
  readonly deprecated: {
92
- readonly description: 'Deprecation marker.\n\n- `undefined` — not deprecated (default)\n- `true` — deprecated with no migration message\n- `string` — deprecated with a reason/migration message\n\nWhen a deprecated flag is used, a warning is emitted to stderr.\nHelp text shows `[deprecated]` or `[deprecated: <reason>]`.';
92
+ readonly description: "Deprecation marker.\n\n- `undefined` — not deprecated (default)\n- `true` — deprecated with no migration message\n- `string` — deprecated with a reason/migration message\n\nWhen a deprecated flag is used, a warning is emitted to stderr.\nHelp text shows `[deprecated]` or `[deprecated: <reason>]`.";
93
93
  };
94
94
  readonly propagate: {
95
- readonly description: 'Whether this flag propagates to subcommands in nested command trees.\n\nWhen `true`, the flag is automatically available to all descendant\ncommands. A child command that defines a flag with the same name\nshadows the propagated parent flag.';
95
+ readonly description: "Whether this flag propagates to subcommands in nested command trees.\n\nWhen `true`, the flag is automatically available to all descendant\ncommands. A child command that defines a flag with the same name\nshadows the propagated parent flag.\n\nDefault: `false`";
96
+ };
97
+ readonly negation: {
98
+ readonly description: "Negation settings when `kind === 'boolean'` and `.negatable()` was\ncalled (`undefined` otherwise). See FlagNegation.";
99
+ };
100
+ readonly duplicates: {
101
+ readonly description: "How repeated CLI occurrences of a singleton flag combine.\n\n- `'last'` — last occurrence wins (matches historic behavior)\n- `'first'` — first occurrence wins; later ones parse but are ignored\n- `'error'` — a second occurrence is a `ParseError` (`DUPLICATE_FLAG`)\n\nApplies to CLI token occurrences only — env/config/prompt/default\nresolution keeps its precedence semantics and never raises duplicates.\nOccurrences are counted per *logical* flag: aliases and the negated\nspelling all count toward the same flag.\n\nDefault: `'last'`";
102
+ };
103
+ };
104
+ };
105
+ readonly negation: {
106
+ readonly description: "Negation settings for a boolean flag (set by `.negatable()`).\n\nThe negated spelling and the positive form are two spellings of ONE\nlogical flag: they share duplicate policy, and the last CLI occurrence\nwins across both. The negated spelling is presence-only — `--no-foo=x`\nis rejected.";
107
+ readonly properties: {
108
+ readonly alias: {
109
+ readonly description: "Explicit negated spelling without the `--` prefix (e.g. `'no-sandbox'`).\n`undefined` synthesizes `no-<flagName>` wherever the flag name is known.";
110
+ };
111
+ readonly hidden: {
112
+ readonly description: "Hide the negated spelling from help, completions, and suggestions.";
96
113
  };
97
114
  };
98
115
  };
@@ -100,25 +117,25 @@ declare const definitionMetaSchemaDescriptions: {
100
117
  readonly description: "The runtime descriptor stored inside every ArgBuilder. Consumers (parser,\nhelp generator) read this to understand the arg's shape without touching\ngenerics.";
101
118
  readonly properties: {
102
119
  readonly name: {
103
- readonly description: 'A named positional argument entry in the command schema.\n\nPairs a user-facing arg name with its ArgSchema descriptor.\nThe array ordering in CommandSchema.args determines CLI position.';
120
+ readonly description: "A named positional argument entry in the command schema.\n\nPairs a user-facing arg name with its ArgSchema descriptor.\nThe array ordering in CommandSchema.args determines CLI position.";
104
121
  };
105
122
  readonly kind: {
106
- readonly description: 'What kind of value this arg accepts.';
123
+ readonly description: "What kind of value this arg accepts.";
107
124
  };
108
125
  readonly presence: {
109
126
  readonly description: "Presence describes whether a positional arg is guaranteed to exist when the\naction handler runs:\n\n- `'required'` — must be supplied; error if missing (default)\n- `'optional'` — may be `undefined` if not supplied\n- `'defaulted'` — always present (falls back to default value)";
110
127
  };
111
128
  readonly variadic: {
112
- readonly description: 'Whether this arg consumes all remaining positionals.';
129
+ readonly description: "Whether this arg consumes all remaining positionals.";
113
130
  };
114
131
  readonly stdinMode: {
115
- readonly description: 'Whether this arg may read from stdin during resolution.';
132
+ readonly description: "Whether this arg may read from stdin during resolution.\n\nDefault: `false`";
116
133
  };
117
134
  readonly defaultValue: {
118
- readonly description: 'Runtime default value (if any).';
135
+ readonly description: "Runtime default value (if any).";
119
136
  };
120
137
  readonly description: {
121
- readonly description: 'Human-readable description for help text.';
138
+ readonly description: "Human-readable description for help text.";
122
139
  };
123
140
  readonly envVar: {
124
141
  readonly description: "Environment variable name for env resolution.\n\nWhen set and the CLI value is absent, the resolver reads this env var\nand coerces the string to the arg's declared kind.";
@@ -127,7 +144,7 @@ declare const definitionMetaSchemaDescriptions: {
127
144
  readonly description: "Allowed literal values when `kind === 'enum'`.";
128
145
  };
129
146
  readonly deprecated: {
130
- readonly description: 'Deprecation marker.\n\n- `undefined` — not deprecated (default)\n- `true` — deprecated with no migration message\n- `string` — deprecated with a reason/migration message\n\nWhen a deprecated arg is used, a warning is emitted to stderr.\nHelp text shows `[deprecated]` or `[deprecated: <reason>]`.';
147
+ readonly description: "Deprecation marker.\n\n- `undefined` — not deprecated (default)\n- `true` — deprecated with no migration message\n- `string` — deprecated with a reason/migration message\n\nWhen a deprecated arg is used, a warning is emitted to stderr.\nHelp text shows `[deprecated]` or `[deprecated: <reason>]`.";
131
148
  };
132
149
  };
133
150
  };
@@ -138,44 +155,44 @@ declare const definitionMetaSchemaDescriptions: {
138
155
  readonly description: "The kind of interactive prompt to present.\n\n- `'confirm'` — yes/no boolean question\n- `'input'` — free-text string input\n- `'select'` — single selection from a list\n- `'multiselect'` — multiple selections from a list";
139
156
  };
140
157
  readonly message: {
141
- readonly description: 'The question displayed to the user.';
158
+ readonly description: "The question displayed to the user.";
142
159
  };
143
160
  readonly placeholder: {
144
- readonly description: 'Placeholder text shown before user types (informational only).';
161
+ readonly description: "Placeholder text shown before user types (informational only).";
145
162
  };
146
163
  readonly choices: {
147
- readonly description: 'Available choices. When omitted for `enum` flags, the enum values\nfrom the flag schema are used automatically.';
164
+ readonly description: "Available choices. When omitted for `enum` flags, the enum values\nfrom the flag schema are used automatically.";
148
165
  };
149
166
  readonly min: {
150
- readonly description: 'Minimum number of selections required.';
167
+ readonly description: "Minimum number of selections required.\n\nDefault: `0`";
151
168
  };
152
169
  readonly max: {
153
- readonly description: 'Maximum number of selections allowed.';
170
+ readonly description: "Maximum number of selections allowed.\n\nDefault: `Infinity`";
154
171
  };
155
172
  };
156
173
  };
157
174
  readonly choice: {
158
- readonly description: 'A selectable option for SelectPromptConfig and MultiselectPromptConfig prompts.';
175
+ readonly description: "A selectable option for SelectPromptConfig and MultiselectPromptConfig prompts.";
159
176
  readonly properties: {
160
177
  readonly value: {
161
- readonly description: 'The value returned when this choice is selected.';
178
+ readonly description: "The value returned when this choice is selected.";
162
179
  };
163
180
  readonly label: {
164
- readonly description: 'Display label shown to the user.';
181
+ readonly description: "Display label shown to the user.\n\nDefault: value";
165
182
  };
166
183
  readonly description: {
167
- readonly description: 'Optional description shown alongside the choice.';
184
+ readonly description: "Optional description shown alongside the choice.";
168
185
  };
169
186
  };
170
187
  };
171
188
  readonly example: {
172
- readonly description: 'A single usage example shown in help text.';
189
+ readonly description: "A single usage example shown in help text.";
173
190
  readonly properties: {
174
191
  readonly command: {
175
192
  readonly description: "The command invocation (e.g. `'deploy production --force'`).";
176
193
  };
177
194
  readonly description: {
178
- readonly description: 'Optional description of what this example does.';
195
+ readonly description: "Optional description of what this example does.";
179
196
  };
180
197
  };
181
198
  };
@@ -43,7 +43,16 @@ const definitionMetaSchemaDescriptions = {
43
43
  elementSchema: { description: "Element schema when `kind === 'array'`." },
44
44
  prompt: { description: "Interactive prompt configuration for v0.3+ resolution." },
45
45
  deprecated: { description: "Deprecation marker.\n\n- `undefined` — not deprecated (default)\n- `true` — deprecated with no migration message\n- `string` — deprecated with a reason/migration message\n\nWhen a deprecated flag is used, a warning is emitted to stderr.\nHelp text shows `[deprecated]` or `[deprecated: <reason>]`." },
46
- propagate: { description: "Whether this flag propagates to subcommands in nested command trees.\n\nWhen `true`, the flag is automatically available to all descendant\ncommands. A child command that defines a flag with the same name\nshadows the propagated parent flag." }
46
+ propagate: { description: "Whether this flag propagates to subcommands in nested command trees.\n\nWhen `true`, the flag is automatically available to all descendant\ncommands. A child command that defines a flag with the same name\nshadows the propagated parent flag.\n\nDefault: `false`" },
47
+ negation: { description: "Negation settings when `kind === 'boolean'` and `.negatable()` was\ncalled (`undefined` otherwise). See FlagNegation." },
48
+ duplicates: { description: "How repeated CLI occurrences of a singleton flag combine.\n\n- `'last'` — last occurrence wins (matches historic behavior)\n- `'first'` — first occurrence wins; later ones parse but are ignored\n- `'error'` — a second occurrence is a `ParseError` (`DUPLICATE_FLAG`)\n\nApplies to CLI token occurrences only — env/config/prompt/default\nresolution keeps its precedence semantics and never raises duplicates.\nOccurrences are counted per *logical* flag: aliases and the negated\nspelling all count toward the same flag.\n\nDefault: `'last'`" }
49
+ }
50
+ },
51
+ negation: {
52
+ description: "Negation settings for a boolean flag (set by `.negatable()`).\n\nThe negated spelling and the positive form are two spellings of ONE\nlogical flag: they share duplicate policy, and the last CLI occurrence\nwins across both. The negated spelling is presence-only — `--no-foo=x`\nis rejected.",
53
+ properties: {
54
+ alias: { description: "Explicit negated spelling without the `--` prefix (e.g. `'no-sandbox'`).\n`undefined` synthesizes `no-<flagName>` wherever the flag name is known." },
55
+ hidden: { description: "Hide the negated spelling from help, completions, and suggestions." }
47
56
  }
48
57
  },
49
58
  arg: {
@@ -53,7 +62,7 @@ const definitionMetaSchemaDescriptions = {
53
62
  kind: { description: "What kind of value this arg accepts." },
54
63
  presence: { description: "Presence describes whether a positional arg is guaranteed to exist when the\naction handler runs:\n\n- `'required'` — must be supplied; error if missing (default)\n- `'optional'` — may be `undefined` if not supplied\n- `'defaulted'` — always present (falls back to default value)" },
55
64
  variadic: { description: "Whether this arg consumes all remaining positionals." },
56
- stdinMode: { description: "Whether this arg may read from stdin during resolution." },
65
+ stdinMode: { description: "Whether this arg may read from stdin during resolution.\n\nDefault: `false`" },
57
66
  defaultValue: { description: "Runtime default value (if any)." },
58
67
  description: { description: "Human-readable description for help text." },
59
68
  envVar: { description: "Environment variable name for env resolution.\n\nWhen set and the CLI value is absent, the resolver reads this env var\nand coerces the string to the arg's declared kind." },
@@ -68,15 +77,15 @@ const definitionMetaSchemaDescriptions = {
68
77
  message: { description: "The question displayed to the user." },
69
78
  placeholder: { description: "Placeholder text shown before user types (informational only)." },
70
79
  choices: { description: "Available choices. When omitted for `enum` flags, the enum values\nfrom the flag schema are used automatically." },
71
- min: { description: "Minimum number of selections required." },
72
- max: { description: "Maximum number of selections allowed." }
80
+ min: { description: "Minimum number of selections required.\n\nDefault: `0`" },
81
+ max: { description: "Maximum number of selections allowed.\n\nDefault: `Infinity`" }
73
82
  }
74
83
  },
75
84
  choice: {
76
85
  description: "A selectable option for SelectPromptConfig and MultiselectPromptConfig prompts.",
77
86
  properties: {
78
87
  value: { description: "The value returned when this choice is selected." },
79
- label: { description: "Display label shown to the user." },
88
+ label: { description: "Display label shown to the user.\n\nDefault: value" },
80
89
  description: { description: "Optional description shown alongside the choice." }
81
90
  }
82
91
  },
@@ -1,6 +1,5 @@
1
1
  import { ActivityEvent, ProgressHandle, ProgressOptions, SpinnerHandle } from "../schema/activity.mjs";
2
2
  import { WriteFn } from "./writer.mjs";
3
-
4
3
  //#region src/core/output/activity.d.ts
5
4
  /**
6
5
  * Noop spinner handle singleton.
@@ -1,14 +1,13 @@
1
1
  import { Fallback, TableOptions } from "../schema/activity.mjs";
2
-
3
2
  //#region src/core/output/contracts.d.ts
4
3
  /** Ordered output verbosity levels owned by the output policy layer. */
5
- declare const OUTPUT_VERBOSITY_LEVELS: readonly ['normal', 'quiet'];
4
+ declare const OUTPUT_VERBOSITY_LEVELS: readonly ["normal", "quiet"];
6
5
  /** Stable output text streams. */
7
- declare const OUTPUT_STREAMS: readonly ['stdout', 'stderr'];
6
+ declare const OUTPUT_STREAMS: readonly ["stdout", "stderr"];
8
7
  /** Stable activity rendering modes. */
9
- declare const ACTIVITY_RENDER_MODES: readonly ['noop', 'static', 'tty', 'capture'];
8
+ declare const ACTIVITY_RENDER_MODES: readonly ["noop", "static", "tty", "capture"];
10
9
  /** Stable activity cleanup actions. */
11
- declare const ACTIVITY_CLEANUP_KINDS: readonly ['none', 'stop', 'done'];
10
+ declare const ACTIVITY_CLEANUP_KINDS: readonly ["none", "stop", "done"];
12
11
  /** Stable text verbosity labels. */
13
12
  type Verbosity = (typeof OUTPUT_VERBOSITY_LEVELS)[number];
14
13
  /** Stable output stream labels. */
@@ -72,7 +71,7 @@ declare const outputContract: {
72
71
  declare function resolveOutputPolicy(options: ResolveOutputPolicyOptions): OutputPolicy;
73
72
  /** Resolve the default text stream for non-JSON structured output. */
74
73
  declare function resolveTextStream(policy: OutputPolicy): OutputStream;
75
- /** Whether `info()` messages should be emitted under the current policy. */
74
+ /** Whether `info()`/`status()` messages should be emitted under the current policy. */
76
75
  declare function shouldEmitInfo(policy: OutputPolicy): boolean;
77
76
  /** Resolve the concrete table format under the current policy. */
78
77
  declare function resolveTableFormat(policy: OutputPolicy, options?: TableOptions): 'text' | 'json';
@@ -11,7 +11,7 @@ function resolveOutputPolicy(options) {
11
11
  function resolveTextStream(policy) {
12
12
  return policy.jsonMode ? "stderr" : "stdout";
13
13
  }
14
- /** Whether `info()` messages should be emitted under the current policy. */
14
+ /** Whether `info()`/`status()` messages should be emitted under the current policy. */
15
15
  function shouldEmitInfo(policy) {
16
16
  return policy.verbosity !== "quiet";
17
17
  }
@@ -54,4 +54,4 @@ function resolveProgressPolicy(policy, fallback) {
54
54
  };
55
55
  }
56
56
  //#endregion
57
- export { resolveOutputPolicy, resolveProgressPolicy, resolveSpinnerPolicy, resolveTableFormat, resolveTableTextStream, resolveTextStream, shouldEmitInfo };
57
+ export { resolveActivityRenderMode, resolveOutputPolicy, resolveProgressPolicy, resolveSpinnerPolicy, resolveTableFormat, resolveTableTextStream, resolveTextStream, shouldEmitInfo };
@@ -4,7 +4,6 @@ import { CaptureProgressHandle, CaptureSpinnerHandle, StaticProgressHandle, Stat
4
4
  import { OutputPolicy, Verbosity } from "./contracts.mjs";
5
5
  import { Out } from "../schema/command.mjs";
6
6
  import { Colors } from "ansispeck";
7
-
8
7
  //#region src/core/output/index.d.ts
9
8
  /**
10
9
  * Configuration for creating an output channel.
@@ -58,6 +57,17 @@ interface OutputOptions {
58
57
  * `FORCE_COLOR`, `--no-color`, `--color`, `CI` are respected).
59
58
  */
60
59
  readonly color?: boolean;
60
+ /**
61
+ * Resolved OSC 8 hyperlink support for `out.isHyperlinkSupported`.
62
+ *
63
+ * When set, this wins over the `isTTY` fallback. Callers pass the
64
+ * `NO_HYPERLINKS`/`FORCE_HYPERLINKS` (and `--no-hyperlinks`/`--hyperlinks`)
65
+ * decision here via {@linkcode resolveHyperlinkOverride}, keeping `process`
66
+ * access out of the output layer.
67
+ *
68
+ * @defaultValue `isTTY`
69
+ */
70
+ readonly hyperlinks?: boolean;
61
71
  }
62
72
  /** Fully resolved output options with no optional fields. */
63
73
  interface ResolvedOutputOptions {
@@ -67,10 +77,24 @@ interface ResolvedOutputOptions {
67
77
  readonly verbosity: Verbosity;
68
78
  readonly jsonMode: boolean;
69
79
  readonly color: boolean;
80
+ readonly isHyperlinkSupported: boolean;
70
81
  }
82
+ /** Store the exit code requested through an output channel. @internal */
71
83
  declare function setRequestedExitCode(out: Out, code: number): void;
84
+ /** Read the exit code requested through an output channel. @internal */
72
85
  declare function getRequestedExitCode(out: Out): number | undefined;
86
+ /** Clear a previously requested exit code from an output channel. @internal */
73
87
  declare function clearRequestedExitCode(out: Out): void;
88
+ /**
89
+ * Forced hyperlink decision from `NO_HYPERLINKS`/`FORCE_HYPERLINKS` and the
90
+ * `--no-hyperlinks`/`--hyperlinks` argv flags; `undefined` when unset.
91
+ *
92
+ * Pure over its inputs — callers pass the adapter's `env`/`argv` so the
93
+ * output layer never touches `process` directly.
94
+ *
95
+ * @see https://no-hyperlinks.org/
96
+ */
97
+ declare function resolveHyperlinkOverride(env: Readonly<Record<string, string | undefined>>, argv: readonly string[]): boolean | undefined;
74
98
  /**
75
99
  * Concrete implementation of the {@linkcode Out} interface.
76
100
  *
@@ -105,6 +129,13 @@ declare class OutputChannel implements Out {
105
129
  * colors are off, so handlers can style unconditionally.
106
130
  */
107
131
  readonly color: Colors;
132
+ /**
133
+ * Whether OSC 8 hyperlinks should be emitted for this channel.
134
+ *
135
+ * Honors `NO_HYPERLINKS`/`FORCE_HYPERLINKS` and the
136
+ * `--no-hyperlinks`/`--hyperlinks` argv flags, falling back to `isTTY`.
137
+ */
138
+ readonly isHyperlinkSupported: boolean;
108
139
  constructor(options: ResolvedOutputOptions);
109
140
  /**
110
141
  * Write to stdout (normal output). Always emitted.
@@ -120,6 +151,11 @@ declare class OutputChannel implements Out {
120
151
  * In JSON mode, redirected to stderr.
121
152
  */
122
153
  info(message: string): void;
154
+ /**
155
+ * Status line to stderr (stdout stays clean for piping).
156
+ * Suppressed when verbosity is `'quiet'`.
157
+ */
158
+ status(message: string): void;
123
159
  /** Warning to stderr. Always emitted. */
124
160
  warn(message: string): void;
125
161
  /** Error to stderr. Always emitted. */
@@ -303,4 +339,4 @@ interface CapturedOutput {
303
339
  */
304
340
  declare function createCaptureOutput(options?: Omit<OutputOptions, 'stdout' | 'stderr'>): [out: Out, captured: CapturedOutput];
305
341
  //#endregion
306
- export { CaptureOutputChannel, CaptureProgressHandle, CaptureSpinnerHandle, type CapturedOutput, OutputChannel, type OutputOptions, StaticProgressHandle, StaticSpinnerHandle, TTYProgressHandle, TTYSpinnerHandle, type Verbosity, type WriteFn, clearRequestedExitCode, createCaptureOutput, createOutput, getRequestedExitCode, noopProgressHandle, noopSpinnerHandle, setRequestedExitCode, writeLine };
342
+ export { CaptureOutputChannel, CaptureProgressHandle, CaptureSpinnerHandle, type CapturedOutput, OutputChannel, type OutputOptions, StaticProgressHandle, StaticSpinnerHandle, TTYProgressHandle, TTYSpinnerHandle, type Verbosity, type WriteFn, clearRequestedExitCode, createCaptureOutput, createOutput, getRequestedExitCode, noopProgressHandle, noopSpinnerHandle, resolveHyperlinkOverride, setRequestedExitCode, writeLine };
@@ -28,15 +28,33 @@ function validateExitCode(code) {
28
28
  if (!Number.isInteger(code) || code < 0 || code > 255) throw new RangeError("Exit code must be an integer from 0 to 255");
29
29
  return code;
30
30
  }
31
+ /** Store the exit code requested through an output channel. @internal */
31
32
  function setRequestedExitCode(out, code) {
32
33
  requestedExitCodes.set(out, validateExitCode(code));
33
34
  }
35
+ /** Read the exit code requested through an output channel. @internal */
34
36
  function getRequestedExitCode(out) {
35
37
  return requestedExitCodes.get(out);
36
38
  }
39
+ /** Clear a previously requested exit code from an output channel. @internal */
37
40
  function clearRequestedExitCode(out) {
38
41
  requestedExitCodes.delete(out);
39
42
  }
43
+ /**
44
+ * Forced hyperlink decision from `NO_HYPERLINKS`/`FORCE_HYPERLINKS` and the
45
+ * `--no-hyperlinks`/`--hyperlinks` argv flags; `undefined` when unset.
46
+ *
47
+ * Pure over its inputs — callers pass the adapter's `env`/`argv` so the
48
+ * output layer never touches `process` directly.
49
+ *
50
+ * @see https://no-hyperlinks.org/
51
+ */
52
+ function resolveHyperlinkOverride(env, argv) {
53
+ const separator = argv.indexOf("--");
54
+ const flags = separator === -1 ? argv : argv.slice(0, separator);
55
+ if (env.NO_HYPERLINKS || flags.includes("--no-hyperlinks")) return false;
56
+ if (env.FORCE_HYPERLINKS || flags.includes("--hyperlinks")) return true;
57
+ }
40
58
  /** Merge user-supplied options with defaults. */
41
59
  function resolveOptions(options) {
42
60
  const isTTY = options?.isTTY ?? false;
@@ -47,7 +65,8 @@ function resolveOptions(options) {
47
65
  isTTY,
48
66
  verbosity: options?.verbosity ?? "normal",
49
67
  jsonMode,
50
- color: options?.color ?? (isTTY && !jsonMode && isColorSupported)
68
+ color: options?.color ?? (isTTY && !jsonMode && isColorSupported),
69
+ isHyperlinkSupported: options?.hyperlinks ?? isTTY
51
70
  };
52
71
  }
53
72
  /**
@@ -84,12 +103,20 @@ var OutputChannel = class {
84
103
  * colors are off, so handlers can style unconditionally.
85
104
  */
86
105
  color;
106
+ /**
107
+ * Whether OSC 8 hyperlinks should be emitted for this channel.
108
+ *
109
+ * Honors `NO_HYPERLINKS`/`FORCE_HYPERLINKS` and the
110
+ * `--no-hyperlinks`/`--hyperlinks` argv flags, falling back to `isTTY`.
111
+ */
112
+ isHyperlinkSupported;
87
113
  constructor(options) {
88
114
  this.options = options;
89
115
  this.policy = resolveOutputPolicy(options);
90
116
  this.jsonMode = options.jsonMode;
91
117
  this.isTTY = options.isTTY;
92
118
  this.color = createColors(options.color);
119
+ this.isHyperlinkSupported = options.isHyperlinkSupported;
93
120
  bindMethods(this);
94
121
  }
95
122
  /**
@@ -111,6 +138,14 @@ var OutputChannel = class {
111
138
  if (!shouldEmitInfo(this.policy)) return;
112
139
  writeLine(resolveWriterForStream(this.options, resolveTextStream(this.policy)), message);
113
140
  }
141
+ /**
142
+ * Status line to stderr (stdout stays clean for piping).
143
+ * Suppressed when verbosity is `'quiet'`.
144
+ */
145
+ status(message) {
146
+ if (!shouldEmitInfo(this.policy)) return;
147
+ writeLine(this.options.stderr, message);
148
+ }
114
149
  /** Warning to stderr. Always emitted. */
115
150
  warn(message) {
116
151
  writeLine(this.options.stderr, message);
@@ -439,4 +474,4 @@ function createCaptureOutput(options) {
439
474
  }), captured.activity), captured];
440
475
  }
441
476
  //#endregion
442
- export { clearRequestedExitCode, createCaptureOutput, createOutput, getRequestedExitCode };
477
+ export { CaptureOutputChannel, CaptureProgressHandle, CaptureSpinnerHandle, OutputChannel, clearRequestedExitCode, createCaptureOutput, createOutput, getRequestedExitCode, resolveHyperlinkOverride, setRequestedExitCode, writeLine };
@@ -1,7 +1,6 @@
1
1
  import { ProgressHandle, ProgressOptions, SpinnerHandle } from "../schema/activity.mjs";
2
2
  import { WriteFn } from "./writer.mjs";
3
3
  import { ActivityPolicy, OutputStream } from "./contracts.mjs";
4
-
5
4
  //#region src/core/output/renderers.d.ts
6
5
  /**
7
6
  * Paired write functions for the two standard output streams.
@@ -1,6 +1,6 @@
1
1
  import { FlagSchema } from "../schema/flag.mjs";
2
2
  import { CommandSchema } from "../schema/command.mjs";
3
-
3
+ import "../schema/index.mjs";
4
4
  //#region src/core/parse/index.d.ts
5
5
  /**
6
6
  * Token discriminated union.
@@ -84,15 +84,47 @@ interface ParseResult {
84
84
  /** Positional arg values keyed by arg name. */
85
85
  readonly args: Readonly<Record<string, unknown>>;
86
86
  }
87
+ /** Options accepted by {@link parse} and {@link buildFlagLookup}. */
88
+ interface ParseOptions {
89
+ /**
90
+ * Accept the kebab↔camel counterpart spelling of each flag name/alias
91
+ * (`--doThis` for a flag named `do-this`, and vice versa). Automatically
92
+ * disabled per spelling pair when a command explicitly defines both.
93
+ *
94
+ * @defaultValue `true`
95
+ */
96
+ readonly caseParity?: boolean;
97
+ }
98
+ /** `do-this` → `doThis`. Returns the input unchanged when nothing converts. */
99
+ declare function kebabToCamel(name: string): string;
100
+ /** `doThis` → `do-this`. Returns the input unchanged when nothing converts. */
101
+ declare function camelToKebab(name: string): string;
102
+ /** One resolvable spelling in the flag lookup map. */
103
+ interface FlagLookupEntry {
104
+ /** Canonical flag name (the key in the command's flag record). */
105
+ readonly name: string;
106
+ /** The flag's schema. */
107
+ readonly schema: FlagSchema;
108
+ /** This spelling is the flag's negated form (`--no-foo`) — parses to `false`. */
109
+ readonly negated: boolean;
110
+ /** This spelling is a case-parity counterpart, not a declared spelling. */
111
+ readonly parity: boolean;
112
+ }
87
113
  /**
88
- * Build a map from flag name/alias → [canonicalName, {@link FlagSchema}].
114
+ * Build a map from flag spelling → {@link FlagLookupEntry}.
89
115
  *
90
- * Supports both long names and single-char aliases for short flag expansion.
116
+ * Covers canonical names, aliases (long + single-char), negated spellings of
117
+ * `.negatable()` booleans, and — unless `caseParity` is `false` — the
118
+ * kebab↔camel counterpart of every declared spelling. Counterparts never
119
+ * override declared spellings: when a command defines both `do-this` and
120
+ * `doThis` explicitly, each spelling exact-matches its own flag and no
121
+ * parity entries are added for the pair.
91
122
  *
92
123
  * @param flags - Flag schemas keyed by canonical name
93
- * @returns Lookup map covering all names and aliases
124
+ * @param options - Parity toggle (see {@link ParseOptions})
125
+ * @returns Lookup map covering all resolvable spellings
94
126
  */
95
- declare function buildFlagLookup(flags: Readonly<Record<string, FlagSchema>>): ReadonlyMap<string, readonly [name: string, schema: FlagSchema]>;
127
+ declare function buildFlagLookup(flags: Readonly<Record<string, FlagSchema>>, options?: ParseOptions): ReadonlyMap<string, FlagLookupEntry>;
96
128
  /**
97
129
  * Whether a flag kind expects a value argument (vs. being a bare boolean).
98
130
  *
@@ -109,6 +141,7 @@ declare function flagExpectsValue(schema: FlagSchema): boolean;
109
141
  *
110
142
  * @param schema - The command schema to parse against
111
143
  * @param argv - Raw argv strings (NOT including the command name itself)
144
+ * @param options - Parser behavior toggles (see {@link ParseOptions})
112
145
  * @returns Parsed flag and arg values
113
146
  * @throws ParseError for unknown flags, missing values, type mismatches
114
147
  *
@@ -118,6 +151,6 @@ declare function flagExpectsValue(schema: FlagSchema): boolean;
118
151
  * // => { args: { target: 'production' }, flags: { force: true } }
119
152
  * ```
120
153
  */
121
- declare function parse(schema: CommandSchema, argv: readonly string[]): ParseResult;
154
+ declare function parse(schema: CommandSchema, argv: readonly string[], options?: ParseOptions): ParseResult;
122
155
  //#endregion
123
- export { type ParseResult, type Token, buildFlagLookup, flagExpectsValue, includesBeforeSeparator, parse, stripBeforeSeparator, tokenize };
156
+ export { type FlagLookupEntry, type ParseOptions, type ParseResult, type Token, buildFlagLookup, camelToKebab, flagExpectsValue, includesBeforeSeparator, kebabToCamel, parse, stripBeforeSeparator, tokenize };