trimprompt 1.0.3 → 1.0.5

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 (1024) hide show
  1. package/cli.js +2 -0
  2. package/dashboard.js +1 -0
  3. package/executor.js +1 -0
  4. package/filters/devops.js +1 -0
  5. package/filters/generic.js +1 -0
  6. package/filters/git.js +1 -0
  7. package/filters/go.js +1 -0
  8. package/filters/index.js +1 -0
  9. package/filters/js.js +1 -0
  10. package/filters/python.js +1 -0
  11. package/filters/rust.js +1 -0
  12. package/filters/shell.js +1 -0
  13. package/mcp.js +1 -0
  14. package/package.json +21 -29
  15. package/redactor.js +1 -0
  16. package/seed.js +1 -0
  17. package/shims.js +1 -0
  18. package/simulate.js +1 -0
  19. package/sync.js +1 -0
  20. package/tracker.js +1 -0
  21. package/.claude/settings.local.json +0 -7
  22. package/aicg-spec/README.md +0 -55
  23. package/aicg-spec/architecture.md +0 -263
  24. package/aicg-spec/dsl-spec.md +0 -109
  25. package/aicg-spec/insights/cargo.md +0 -46
  26. package/aicg-spec/insights/cloud_cli.md +0 -38
  27. package/aicg-spec/insights/docker_k8s.md +0 -45
  28. package/aicg-spec/insights/generic.md +0 -62
  29. package/aicg-spec/insights/git.md +0 -85
  30. package/aicg-spec/insights/js.md +0 -74
  31. package/aicg-spec/insights/python.md +0 -86
  32. package/aicg-spec/integrations/claude.md +0 -57
  33. package/aicg-spec/integrations/copilot.md +0 -69
  34. package/aicg-spec/integrations/cursor.md +0 -59
  35. package/aicg-spec/rules.yaml +0 -555
  36. package/aicg-spec/schema.md +0 -93
  37. package/aicg-spec/ui-spec.md +0 -135
  38. package/client/dist/cli.js +0 -256
  39. package/client/dist/dashboard.js +0 -102
  40. package/client/dist/executor.js +0 -80
  41. package/client/dist/filters/generic.js +0 -58
  42. package/client/dist/filters/git.js +0 -157
  43. package/client/dist/filters/index.js +0 -83
  44. package/client/dist/filters/js.js +0 -78
  45. package/client/dist/filters/python.js +0 -130
  46. package/client/dist/mcp.js +0 -90
  47. package/client/dist/redactor.js +0 -42
  48. package/client/dist/seed.js +0 -11
  49. package/client/dist/shims.js +0 -169
  50. package/client/dist/simulate.js +0 -76
  51. package/client/dist/sync.js +0 -237
  52. package/client/dist/tracker.js +0 -247
  53. package/client/node_modules/.bin/is-docker +0 -16
  54. package/client/node_modules/.bin/is-docker.cmd +0 -17
  55. package/client/node_modules/.bin/is-docker.ps1 +0 -28
  56. package/client/node_modules/.bin/mime +0 -16
  57. package/client/node_modules/.bin/mime.cmd +0 -17
  58. package/client/node_modules/.bin/mime.ps1 +0 -28
  59. package/client/node_modules/.bin/tsc +0 -16
  60. package/client/node_modules/.bin/tsc.cmd +0 -17
  61. package/client/node_modules/.bin/tsc.ps1 +0 -28
  62. package/client/node_modules/.bin/tsserver +0 -16
  63. package/client/node_modules/.bin/tsserver.cmd +0 -17
  64. package/client/node_modules/.bin/tsserver.ps1 +0 -28
  65. package/client/node_modules/.package-lock.json +0 -934
  66. package/client/node_modules/@types/body-parser/LICENSE +0 -21
  67. package/client/node_modules/@types/body-parser/README.md +0 -15
  68. package/client/node_modules/@types/body-parser/index.d.ts +0 -95
  69. package/client/node_modules/@types/body-parser/package.json +0 -64
  70. package/client/node_modules/@types/connect/LICENSE +0 -21
  71. package/client/node_modules/@types/connect/README.md +0 -15
  72. package/client/node_modules/@types/connect/index.d.ts +0 -91
  73. package/client/node_modules/@types/connect/package.json +0 -32
  74. package/client/node_modules/@types/express/LICENSE +0 -21
  75. package/client/node_modules/@types/express/README.md +0 -15
  76. package/client/node_modules/@types/express/index.d.ts +0 -128
  77. package/client/node_modules/@types/express/package.json +0 -46
  78. package/client/node_modules/@types/express-serve-static-core/LICENSE +0 -21
  79. package/client/node_modules/@types/express-serve-static-core/README.md +0 -15
  80. package/client/node_modules/@types/express-serve-static-core/index.d.ts +0 -1281
  81. package/client/node_modules/@types/express-serve-static-core/package.json +0 -51
  82. package/client/node_modules/@types/http-errors/LICENSE +0 -21
  83. package/client/node_modules/@types/http-errors/README.md +0 -15
  84. package/client/node_modules/@types/http-errors/index.d.ts +0 -77
  85. package/client/node_modules/@types/http-errors/package.json +0 -36
  86. package/client/node_modules/@types/mime/LICENSE +0 -21
  87. package/client/node_modules/@types/mime/Mime.d.ts +0 -10
  88. package/client/node_modules/@types/mime/README.md +0 -15
  89. package/client/node_modules/@types/mime/index.d.ts +0 -31
  90. package/client/node_modules/@types/mime/lite.d.ts +0 -7
  91. package/client/node_modules/@types/mime/package.json +0 -30
  92. package/client/node_modules/@types/node/LICENSE +0 -21
  93. package/client/node_modules/@types/node/README.md +0 -15
  94. package/client/node_modules/@types/node/assert/strict.d.ts +0 -8
  95. package/client/node_modules/@types/node/assert.d.ts +0 -1062
  96. package/client/node_modules/@types/node/async_hooks.d.ts +0 -605
  97. package/client/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  98. package/client/node_modules/@types/node/buffer.d.ts +0 -1936
  99. package/client/node_modules/@types/node/child_process.d.ts +0 -1475
  100. package/client/node_modules/@types/node/cluster.d.ts +0 -577
  101. package/client/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  102. package/client/node_modules/@types/node/compatibility/index.d.ts +0 -9
  103. package/client/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  104. package/client/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  105. package/client/node_modules/@types/node/console.d.ts +0 -452
  106. package/client/node_modules/@types/node/constants.d.ts +0 -21
  107. package/client/node_modules/@types/node/crypto.d.ts +0 -4590
  108. package/client/node_modules/@types/node/dgram.d.ts +0 -597
  109. package/client/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  110. package/client/node_modules/@types/node/dns/promises.d.ts +0 -479
  111. package/client/node_modules/@types/node/dns.d.ts +0 -871
  112. package/client/node_modules/@types/node/domain.d.ts +0 -170
  113. package/client/node_modules/@types/node/events.d.ts +0 -977
  114. package/client/node_modules/@types/node/fs/promises.d.ts +0 -1270
  115. package/client/node_modules/@types/node/fs.d.ts +0 -4375
  116. package/client/node_modules/@types/node/globals.d.ts +0 -172
  117. package/client/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  118. package/client/node_modules/@types/node/http.d.ts +0 -2049
  119. package/client/node_modules/@types/node/http2.d.ts +0 -2712
  120. package/client/node_modules/@types/node/https.d.ts +0 -578
  121. package/client/node_modules/@types/node/index.d.ts +0 -93
  122. package/client/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  123. package/client/node_modules/@types/node/module.d.ts +0 -539
  124. package/client/node_modules/@types/node/net.d.ts +0 -1031
  125. package/client/node_modules/@types/node/os.d.ts +0 -506
  126. package/client/node_modules/@types/node/package.json +0 -140
  127. package/client/node_modules/@types/node/path.d.ts +0 -200
  128. package/client/node_modules/@types/node/perf_hooks.d.ts +0 -961
  129. package/client/node_modules/@types/node/process.d.ts +0 -1961
  130. package/client/node_modules/@types/node/punycode.d.ts +0 -117
  131. package/client/node_modules/@types/node/querystring.d.ts +0 -152
  132. package/client/node_modules/@types/node/readline/promises.d.ts +0 -162
  133. package/client/node_modules/@types/node/readline.d.ts +0 -589
  134. package/client/node_modules/@types/node/repl.d.ts +0 -430
  135. package/client/node_modules/@types/node/sea.d.ts +0 -153
  136. package/client/node_modules/@types/node/stream/consumers.d.ts +0 -38
  137. package/client/node_modules/@types/node/stream/promises.d.ts +0 -90
  138. package/client/node_modules/@types/node/stream/web.d.ts +0 -533
  139. package/client/node_modules/@types/node/stream.d.ts +0 -1698
  140. package/client/node_modules/@types/node/string_decoder.d.ts +0 -67
  141. package/client/node_modules/@types/node/test.d.ts +0 -1787
  142. package/client/node_modules/@types/node/timers/promises.d.ts +0 -108
  143. package/client/node_modules/@types/node/timers.d.ts +0 -286
  144. package/client/node_modules/@types/node/tls.d.ts +0 -1259
  145. package/client/node_modules/@types/node/trace_events.d.ts +0 -197
  146. package/client/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  147. package/client/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  148. package/client/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  149. package/client/node_modules/@types/node/tty.d.ts +0 -208
  150. package/client/node_modules/@types/node/url.d.ts +0 -964
  151. package/client/node_modules/@types/node/util.d.ts +0 -2331
  152. package/client/node_modules/@types/node/v8.d.ts +0 -809
  153. package/client/node_modules/@types/node/vm.d.ts +0 -1001
  154. package/client/node_modules/@types/node/wasi.d.ts +0 -181
  155. package/client/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  156. package/client/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  157. package/client/node_modules/@types/node/web-globals/events.d.ts +0 -97
  158. package/client/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  159. package/client/node_modules/@types/node/worker_threads.d.ts +0 -715
  160. package/client/node_modules/@types/node/zlib.d.ts +0 -598
  161. package/client/node_modules/@types/qs/LICENSE +0 -21
  162. package/client/node_modules/@types/qs/README.md +0 -15
  163. package/client/node_modules/@types/qs/index.d.ts +0 -83
  164. package/client/node_modules/@types/qs/package.json +0 -66
  165. package/client/node_modules/@types/range-parser/LICENSE +0 -21
  166. package/client/node_modules/@types/range-parser/README.md +0 -53
  167. package/client/node_modules/@types/range-parser/index.d.ts +0 -34
  168. package/client/node_modules/@types/range-parser/package.json +0 -25
  169. package/client/node_modules/@types/send/LICENSE +0 -21
  170. package/client/node_modules/@types/send/README.md +0 -15
  171. package/client/node_modules/@types/send/index.d.ts +0 -187
  172. package/client/node_modules/@types/send/package.json +0 -38
  173. package/client/node_modules/@types/serve-static/LICENSE +0 -21
  174. package/client/node_modules/@types/serve-static/README.md +0 -15
  175. package/client/node_modules/@types/serve-static/index.d.ts +0 -107
  176. package/client/node_modules/@types/serve-static/node_modules/@types/send/LICENSE +0 -21
  177. package/client/node_modules/@types/serve-static/node_modules/@types/send/README.md +0 -15
  178. package/client/node_modules/@types/serve-static/node_modules/@types/send/index.d.ts +0 -225
  179. package/client/node_modules/@types/serve-static/node_modules/@types/send/package.json +0 -39
  180. package/client/node_modules/@types/serve-static/package.json +0 -45
  181. package/client/node_modules/accepts/HISTORY.md +0 -243
  182. package/client/node_modules/accepts/LICENSE +0 -23
  183. package/client/node_modules/accepts/README.md +0 -140
  184. package/client/node_modules/accepts/index.js +0 -238
  185. package/client/node_modules/accepts/package.json +0 -47
  186. package/client/node_modules/array-flatten/LICENSE +0 -21
  187. package/client/node_modules/array-flatten/README.md +0 -43
  188. package/client/node_modules/array-flatten/array-flatten.js +0 -64
  189. package/client/node_modules/array-flatten/package.json +0 -39
  190. package/client/node_modules/body-parser/HISTORY.md +0 -686
  191. package/client/node_modules/body-parser/LICENSE +0 -23
  192. package/client/node_modules/body-parser/README.md +0 -476
  193. package/client/node_modules/body-parser/index.js +0 -156
  194. package/client/node_modules/body-parser/lib/read.js +0 -205
  195. package/client/node_modules/body-parser/lib/types/json.js +0 -243
  196. package/client/node_modules/body-parser/lib/types/raw.js +0 -101
  197. package/client/node_modules/body-parser/lib/types/text.js +0 -121
  198. package/client/node_modules/body-parser/lib/types/urlencoded.js +0 -299
  199. package/client/node_modules/body-parser/package.json +0 -55
  200. package/client/node_modules/bytes/History.md +0 -97
  201. package/client/node_modules/bytes/LICENSE +0 -23
  202. package/client/node_modules/bytes/Readme.md +0 -152
  203. package/client/node_modules/bytes/index.js +0 -170
  204. package/client/node_modules/bytes/package.json +0 -42
  205. package/client/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  206. package/client/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  207. package/client/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  208. package/client/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  209. package/client/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  210. package/client/node_modules/call-bind-apply-helpers/README.md +0 -62
  211. package/client/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  212. package/client/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  213. package/client/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  214. package/client/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  215. package/client/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  216. package/client/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  217. package/client/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  218. package/client/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  219. package/client/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  220. package/client/node_modules/call-bind-apply-helpers/index.js +0 -15
  221. package/client/node_modules/call-bind-apply-helpers/package.json +0 -85
  222. package/client/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  223. package/client/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  224. package/client/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  225. package/client/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  226. package/client/node_modules/call-bound/.eslintrc +0 -13
  227. package/client/node_modules/call-bound/.github/FUNDING.yml +0 -12
  228. package/client/node_modules/call-bound/.nycrc +0 -9
  229. package/client/node_modules/call-bound/CHANGELOG.md +0 -42
  230. package/client/node_modules/call-bound/LICENSE +0 -21
  231. package/client/node_modules/call-bound/README.md +0 -53
  232. package/client/node_modules/call-bound/index.d.ts +0 -94
  233. package/client/node_modules/call-bound/index.js +0 -19
  234. package/client/node_modules/call-bound/package.json +0 -99
  235. package/client/node_modules/call-bound/test/index.js +0 -61
  236. package/client/node_modules/call-bound/tsconfig.json +0 -10
  237. package/client/node_modules/commander/LICENSE +0 -22
  238. package/client/node_modules/commander/Readme.md +0 -1148
  239. package/client/node_modules/commander/esm.mjs +0 -16
  240. package/client/node_modules/commander/index.js +0 -26
  241. package/client/node_modules/commander/lib/argument.js +0 -145
  242. package/client/node_modules/commander/lib/command.js +0 -2179
  243. package/client/node_modules/commander/lib/error.js +0 -43
  244. package/client/node_modules/commander/lib/help.js +0 -462
  245. package/client/node_modules/commander/lib/option.js +0 -329
  246. package/client/node_modules/commander/lib/suggestSimilar.js +0 -100
  247. package/client/node_modules/commander/package-support.json +0 -16
  248. package/client/node_modules/commander/package.json +0 -80
  249. package/client/node_modules/commander/typings/esm.d.mts +0 -3
  250. package/client/node_modules/commander/typings/index.d.ts +0 -884
  251. package/client/node_modules/content-disposition/HISTORY.md +0 -60
  252. package/client/node_modules/content-disposition/LICENSE +0 -22
  253. package/client/node_modules/content-disposition/README.md +0 -142
  254. package/client/node_modules/content-disposition/index.js +0 -458
  255. package/client/node_modules/content-disposition/package.json +0 -44
  256. package/client/node_modules/content-type/HISTORY.md +0 -29
  257. package/client/node_modules/content-type/LICENSE +0 -22
  258. package/client/node_modules/content-type/README.md +0 -94
  259. package/client/node_modules/content-type/index.js +0 -225
  260. package/client/node_modules/content-type/package.json +0 -42
  261. package/client/node_modules/cookie/LICENSE +0 -24
  262. package/client/node_modules/cookie/README.md +0 -317
  263. package/client/node_modules/cookie/SECURITY.md +0 -25
  264. package/client/node_modules/cookie/index.js +0 -335
  265. package/client/node_modules/cookie/package.json +0 -44
  266. package/client/node_modules/cookie-signature/History.md +0 -42
  267. package/client/node_modules/cookie-signature/Readme.md +0 -42
  268. package/client/node_modules/cookie-signature/index.js +0 -51
  269. package/client/node_modules/cookie-signature/package.json +0 -18
  270. package/client/node_modules/debug/.coveralls.yml +0 -1
  271. package/client/node_modules/debug/.eslintrc +0 -11
  272. package/client/node_modules/debug/.travis.yml +0 -14
  273. package/client/node_modules/debug/CHANGELOG.md +0 -362
  274. package/client/node_modules/debug/LICENSE +0 -19
  275. package/client/node_modules/debug/Makefile +0 -50
  276. package/client/node_modules/debug/README.md +0 -312
  277. package/client/node_modules/debug/component.json +0 -19
  278. package/client/node_modules/debug/karma.conf.js +0 -70
  279. package/client/node_modules/debug/node.js +0 -1
  280. package/client/node_modules/debug/package.json +0 -49
  281. package/client/node_modules/debug/src/browser.js +0 -185
  282. package/client/node_modules/debug/src/debug.js +0 -202
  283. package/client/node_modules/debug/src/index.js +0 -10
  284. package/client/node_modules/debug/src/inspector-log.js +0 -15
  285. package/client/node_modules/debug/src/node.js +0 -248
  286. package/client/node_modules/define-lazy-prop/index.d.ts +0 -33
  287. package/client/node_modules/define-lazy-prop/index.js +0 -19
  288. package/client/node_modules/define-lazy-prop/license +0 -9
  289. package/client/node_modules/define-lazy-prop/package.json +0 -48
  290. package/client/node_modules/define-lazy-prop/readme.md +0 -64
  291. package/client/node_modules/depd/History.md +0 -103
  292. package/client/node_modules/depd/LICENSE +0 -22
  293. package/client/node_modules/depd/Readme.md +0 -280
  294. package/client/node_modules/depd/index.js +0 -538
  295. package/client/node_modules/depd/lib/browser/index.js +0 -77
  296. package/client/node_modules/depd/package.json +0 -45
  297. package/client/node_modules/destroy/LICENSE +0 -23
  298. package/client/node_modules/destroy/README.md +0 -63
  299. package/client/node_modules/destroy/index.js +0 -209
  300. package/client/node_modules/destroy/package.json +0 -48
  301. package/client/node_modules/dunder-proto/.eslintrc +0 -5
  302. package/client/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  303. package/client/node_modules/dunder-proto/.nycrc +0 -13
  304. package/client/node_modules/dunder-proto/CHANGELOG.md +0 -24
  305. package/client/node_modules/dunder-proto/LICENSE +0 -21
  306. package/client/node_modules/dunder-proto/README.md +0 -54
  307. package/client/node_modules/dunder-proto/get.d.ts +0 -5
  308. package/client/node_modules/dunder-proto/get.js +0 -30
  309. package/client/node_modules/dunder-proto/package.json +0 -76
  310. package/client/node_modules/dunder-proto/set.d.ts +0 -5
  311. package/client/node_modules/dunder-proto/set.js +0 -35
  312. package/client/node_modules/dunder-proto/test/get.js +0 -34
  313. package/client/node_modules/dunder-proto/test/index.js +0 -4
  314. package/client/node_modules/dunder-proto/test/set.js +0 -50
  315. package/client/node_modules/dunder-proto/tsconfig.json +0 -9
  316. package/client/node_modules/ee-first/LICENSE +0 -22
  317. package/client/node_modules/ee-first/README.md +0 -80
  318. package/client/node_modules/ee-first/index.js +0 -95
  319. package/client/node_modules/ee-first/package.json +0 -29
  320. package/client/node_modules/encodeurl/LICENSE +0 -22
  321. package/client/node_modules/encodeurl/README.md +0 -109
  322. package/client/node_modules/encodeurl/index.js +0 -60
  323. package/client/node_modules/encodeurl/package.json +0 -40
  324. package/client/node_modules/es-define-property/.eslintrc +0 -13
  325. package/client/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  326. package/client/node_modules/es-define-property/.nycrc +0 -9
  327. package/client/node_modules/es-define-property/CHANGELOG.md +0 -29
  328. package/client/node_modules/es-define-property/LICENSE +0 -21
  329. package/client/node_modules/es-define-property/README.md +0 -49
  330. package/client/node_modules/es-define-property/index.d.ts +0 -3
  331. package/client/node_modules/es-define-property/index.js +0 -14
  332. package/client/node_modules/es-define-property/package.json +0 -81
  333. package/client/node_modules/es-define-property/test/index.js +0 -56
  334. package/client/node_modules/es-define-property/tsconfig.json +0 -10
  335. package/client/node_modules/es-errors/.eslintrc +0 -5
  336. package/client/node_modules/es-errors/.github/FUNDING.yml +0 -12
  337. package/client/node_modules/es-errors/CHANGELOG.md +0 -40
  338. package/client/node_modules/es-errors/LICENSE +0 -21
  339. package/client/node_modules/es-errors/README.md +0 -55
  340. package/client/node_modules/es-errors/eval.d.ts +0 -3
  341. package/client/node_modules/es-errors/eval.js +0 -4
  342. package/client/node_modules/es-errors/index.d.ts +0 -3
  343. package/client/node_modules/es-errors/index.js +0 -4
  344. package/client/node_modules/es-errors/package.json +0 -80
  345. package/client/node_modules/es-errors/range.d.ts +0 -3
  346. package/client/node_modules/es-errors/range.js +0 -4
  347. package/client/node_modules/es-errors/ref.d.ts +0 -3
  348. package/client/node_modules/es-errors/ref.js +0 -4
  349. package/client/node_modules/es-errors/syntax.d.ts +0 -3
  350. package/client/node_modules/es-errors/syntax.js +0 -4
  351. package/client/node_modules/es-errors/test/index.js +0 -19
  352. package/client/node_modules/es-errors/tsconfig.json +0 -49
  353. package/client/node_modules/es-errors/type.d.ts +0 -3
  354. package/client/node_modules/es-errors/type.js +0 -4
  355. package/client/node_modules/es-errors/uri.d.ts +0 -3
  356. package/client/node_modules/es-errors/uri.js +0 -4
  357. package/client/node_modules/es-object-atoms/.eslintrc +0 -16
  358. package/client/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  359. package/client/node_modules/es-object-atoms/CHANGELOG.md +0 -44
  360. package/client/node_modules/es-object-atoms/LICENSE +0 -21
  361. package/client/node_modules/es-object-atoms/README.md +0 -63
  362. package/client/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  363. package/client/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  364. package/client/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  365. package/client/node_modules/es-object-atoms/ToObject.js +0 -10
  366. package/client/node_modules/es-object-atoms/index.d.ts +0 -3
  367. package/client/node_modules/es-object-atoms/index.js +0 -4
  368. package/client/node_modules/es-object-atoms/isObject.d.ts +0 -3
  369. package/client/node_modules/es-object-atoms/isObject.js +0 -6
  370. package/client/node_modules/es-object-atoms/package.json +0 -79
  371. package/client/node_modules/es-object-atoms/test/index.js +0 -38
  372. package/client/node_modules/es-object-atoms/tsconfig.json +0 -7
  373. package/client/node_modules/escape-html/LICENSE +0 -24
  374. package/client/node_modules/escape-html/Readme.md +0 -43
  375. package/client/node_modules/escape-html/index.js +0 -78
  376. package/client/node_modules/escape-html/package.json +0 -24
  377. package/client/node_modules/etag/HISTORY.md +0 -83
  378. package/client/node_modules/etag/LICENSE +0 -22
  379. package/client/node_modules/etag/README.md +0 -159
  380. package/client/node_modules/etag/index.js +0 -131
  381. package/client/node_modules/etag/package.json +0 -47
  382. package/client/node_modules/express/History.md +0 -3676
  383. package/client/node_modules/express/LICENSE +0 -24
  384. package/client/node_modules/express/Readme.md +0 -260
  385. package/client/node_modules/express/index.js +0 -11
  386. package/client/node_modules/express/lib/application.js +0 -661
  387. package/client/node_modules/express/lib/express.js +0 -116
  388. package/client/node_modules/express/lib/middleware/init.js +0 -43
  389. package/client/node_modules/express/lib/middleware/query.js +0 -47
  390. package/client/node_modules/express/lib/request.js +0 -525
  391. package/client/node_modules/express/lib/response.js +0 -1179
  392. package/client/node_modules/express/lib/router/index.js +0 -673
  393. package/client/node_modules/express/lib/router/layer.js +0 -181
  394. package/client/node_modules/express/lib/router/route.js +0 -230
  395. package/client/node_modules/express/lib/utils.js +0 -304
  396. package/client/node_modules/express/lib/view.js +0 -182
  397. package/client/node_modules/express/package.json +0 -102
  398. package/client/node_modules/finalhandler/HISTORY.md +0 -216
  399. package/client/node_modules/finalhandler/LICENSE +0 -22
  400. package/client/node_modules/finalhandler/README.md +0 -147
  401. package/client/node_modules/finalhandler/SECURITY.md +0 -25
  402. package/client/node_modules/finalhandler/index.js +0 -341
  403. package/client/node_modules/finalhandler/package.json +0 -47
  404. package/client/node_modules/forwarded/HISTORY.md +0 -21
  405. package/client/node_modules/forwarded/LICENSE +0 -22
  406. package/client/node_modules/forwarded/README.md +0 -57
  407. package/client/node_modules/forwarded/index.js +0 -90
  408. package/client/node_modules/forwarded/package.json +0 -45
  409. package/client/node_modules/fresh/HISTORY.md +0 -70
  410. package/client/node_modules/fresh/LICENSE +0 -23
  411. package/client/node_modules/fresh/README.md +0 -119
  412. package/client/node_modules/fresh/index.js +0 -137
  413. package/client/node_modules/fresh/package.json +0 -46
  414. package/client/node_modules/function-bind/.eslintrc +0 -21
  415. package/client/node_modules/function-bind/.github/FUNDING.yml +0 -12
  416. package/client/node_modules/function-bind/.github/SECURITY.md +0 -3
  417. package/client/node_modules/function-bind/.nycrc +0 -13
  418. package/client/node_modules/function-bind/CHANGELOG.md +0 -136
  419. package/client/node_modules/function-bind/LICENSE +0 -20
  420. package/client/node_modules/function-bind/README.md +0 -46
  421. package/client/node_modules/function-bind/implementation.js +0 -84
  422. package/client/node_modules/function-bind/index.js +0 -5
  423. package/client/node_modules/function-bind/package.json +0 -87
  424. package/client/node_modules/function-bind/test/.eslintrc +0 -9
  425. package/client/node_modules/function-bind/test/index.js +0 -252
  426. package/client/node_modules/get-intrinsic/.eslintrc +0 -42
  427. package/client/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  428. package/client/node_modules/get-intrinsic/.nycrc +0 -9
  429. package/client/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  430. package/client/node_modules/get-intrinsic/LICENSE +0 -21
  431. package/client/node_modules/get-intrinsic/README.md +0 -71
  432. package/client/node_modules/get-intrinsic/index.js +0 -378
  433. package/client/node_modules/get-intrinsic/package.json +0 -97
  434. package/client/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  435. package/client/node_modules/get-proto/.eslintrc +0 -10
  436. package/client/node_modules/get-proto/.github/FUNDING.yml +0 -12
  437. package/client/node_modules/get-proto/.nycrc +0 -9
  438. package/client/node_modules/get-proto/CHANGELOG.md +0 -21
  439. package/client/node_modules/get-proto/LICENSE +0 -21
  440. package/client/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  441. package/client/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  442. package/client/node_modules/get-proto/README.md +0 -50
  443. package/client/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  444. package/client/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  445. package/client/node_modules/get-proto/index.d.ts +0 -5
  446. package/client/node_modules/get-proto/index.js +0 -27
  447. package/client/node_modules/get-proto/package.json +0 -81
  448. package/client/node_modules/get-proto/test/index.js +0 -68
  449. package/client/node_modules/get-proto/tsconfig.json +0 -9
  450. package/client/node_modules/gopd/.eslintrc +0 -16
  451. package/client/node_modules/gopd/.github/FUNDING.yml +0 -12
  452. package/client/node_modules/gopd/CHANGELOG.md +0 -45
  453. package/client/node_modules/gopd/LICENSE +0 -21
  454. package/client/node_modules/gopd/README.md +0 -40
  455. package/client/node_modules/gopd/gOPD.d.ts +0 -1
  456. package/client/node_modules/gopd/gOPD.js +0 -4
  457. package/client/node_modules/gopd/index.d.ts +0 -5
  458. package/client/node_modules/gopd/index.js +0 -15
  459. package/client/node_modules/gopd/package.json +0 -77
  460. package/client/node_modules/gopd/test/index.js +0 -36
  461. package/client/node_modules/gopd/tsconfig.json +0 -9
  462. package/client/node_modules/has-symbols/.eslintrc +0 -11
  463. package/client/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  464. package/client/node_modules/has-symbols/.nycrc +0 -9
  465. package/client/node_modules/has-symbols/CHANGELOG.md +0 -91
  466. package/client/node_modules/has-symbols/LICENSE +0 -21
  467. package/client/node_modules/has-symbols/README.md +0 -46
  468. package/client/node_modules/has-symbols/index.d.ts +0 -3
  469. package/client/node_modules/has-symbols/index.js +0 -14
  470. package/client/node_modules/has-symbols/package.json +0 -111
  471. package/client/node_modules/has-symbols/shams.d.ts +0 -3
  472. package/client/node_modules/has-symbols/shams.js +0 -45
  473. package/client/node_modules/has-symbols/test/index.js +0 -22
  474. package/client/node_modules/has-symbols/test/shams/core-js.js +0 -29
  475. package/client/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  476. package/client/node_modules/has-symbols/test/tests.js +0 -58
  477. package/client/node_modules/has-symbols/tsconfig.json +0 -10
  478. package/client/node_modules/hasown/.github/FUNDING.yml +0 -12
  479. package/client/node_modules/hasown/.nycrc +0 -13
  480. package/client/node_modules/hasown/CHANGELOG.md +0 -58
  481. package/client/node_modules/hasown/LICENSE +0 -21
  482. package/client/node_modules/hasown/README.md +0 -40
  483. package/client/node_modules/hasown/eslint.config.mjs +0 -6
  484. package/client/node_modules/hasown/index.d.ts +0 -3
  485. package/client/node_modules/hasown/index.js +0 -8
  486. package/client/node_modules/hasown/package.json +0 -91
  487. package/client/node_modules/hasown/tsconfig.json +0 -6
  488. package/client/node_modules/http-errors/HISTORY.md +0 -186
  489. package/client/node_modules/http-errors/LICENSE +0 -23
  490. package/client/node_modules/http-errors/README.md +0 -169
  491. package/client/node_modules/http-errors/index.js +0 -290
  492. package/client/node_modules/http-errors/package.json +0 -54
  493. package/client/node_modules/iconv-lite/Changelog.md +0 -162
  494. package/client/node_modules/iconv-lite/LICENSE +0 -21
  495. package/client/node_modules/iconv-lite/README.md +0 -156
  496. package/client/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  497. package/client/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  498. package/client/node_modules/iconv-lite/encodings/index.js +0 -22
  499. package/client/node_modules/iconv-lite/encodings/internal.js +0 -188
  500. package/client/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  501. package/client/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  502. package/client/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  503. package/client/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  504. package/client/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  505. package/client/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  506. package/client/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  507. package/client/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  508. package/client/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  509. package/client/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  510. package/client/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  511. package/client/node_modules/iconv-lite/encodings/utf16.js +0 -177
  512. package/client/node_modules/iconv-lite/encodings/utf7.js +0 -290
  513. package/client/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  514. package/client/node_modules/iconv-lite/lib/extend-node.js +0 -217
  515. package/client/node_modules/iconv-lite/lib/index.d.ts +0 -24
  516. package/client/node_modules/iconv-lite/lib/index.js +0 -153
  517. package/client/node_modules/iconv-lite/lib/streams.js +0 -121
  518. package/client/node_modules/iconv-lite/package.json +0 -46
  519. package/client/node_modules/inherits/LICENSE +0 -16
  520. package/client/node_modules/inherits/README.md +0 -42
  521. package/client/node_modules/inherits/inherits.js +0 -9
  522. package/client/node_modules/inherits/inherits_browser.js +0 -27
  523. package/client/node_modules/inherits/package.json +0 -29
  524. package/client/node_modules/ipaddr.js/LICENSE +0 -19
  525. package/client/node_modules/ipaddr.js/README.md +0 -233
  526. package/client/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  527. package/client/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  528. package/client/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  529. package/client/node_modules/ipaddr.js/package.json +0 -35
  530. package/client/node_modules/is-docker/cli.js +0 -5
  531. package/client/node_modules/is-docker/index.d.ts +0 -15
  532. package/client/node_modules/is-docker/index.js +0 -29
  533. package/client/node_modules/is-docker/license +0 -9
  534. package/client/node_modules/is-docker/package.json +0 -42
  535. package/client/node_modules/is-docker/readme.md +0 -27
  536. package/client/node_modules/is-wsl/index.d.ts +0 -15
  537. package/client/node_modules/is-wsl/index.js +0 -31
  538. package/client/node_modules/is-wsl/license +0 -9
  539. package/client/node_modules/is-wsl/package.json +0 -45
  540. package/client/node_modules/is-wsl/readme.md +0 -36
  541. package/client/node_modules/math-intrinsics/.eslintrc +0 -16
  542. package/client/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  543. package/client/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  544. package/client/node_modules/math-intrinsics/LICENSE +0 -21
  545. package/client/node_modules/math-intrinsics/README.md +0 -50
  546. package/client/node_modules/math-intrinsics/abs.d.ts +0 -1
  547. package/client/node_modules/math-intrinsics/abs.js +0 -4
  548. package/client/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  549. package/client/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  550. package/client/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  551. package/client/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  552. package/client/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  553. package/client/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  554. package/client/node_modules/math-intrinsics/floor.d.ts +0 -1
  555. package/client/node_modules/math-intrinsics/floor.js +0 -4
  556. package/client/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  557. package/client/node_modules/math-intrinsics/isFinite.js +0 -12
  558. package/client/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  559. package/client/node_modules/math-intrinsics/isInteger.js +0 -16
  560. package/client/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  561. package/client/node_modules/math-intrinsics/isNaN.js +0 -6
  562. package/client/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  563. package/client/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  564. package/client/node_modules/math-intrinsics/max.d.ts +0 -1
  565. package/client/node_modules/math-intrinsics/max.js +0 -4
  566. package/client/node_modules/math-intrinsics/min.d.ts +0 -1
  567. package/client/node_modules/math-intrinsics/min.js +0 -4
  568. package/client/node_modules/math-intrinsics/mod.d.ts +0 -3
  569. package/client/node_modules/math-intrinsics/mod.js +0 -9
  570. package/client/node_modules/math-intrinsics/package.json +0 -86
  571. package/client/node_modules/math-intrinsics/pow.d.ts +0 -1
  572. package/client/node_modules/math-intrinsics/pow.js +0 -4
  573. package/client/node_modules/math-intrinsics/round.d.ts +0 -1
  574. package/client/node_modules/math-intrinsics/round.js +0 -4
  575. package/client/node_modules/math-intrinsics/sign.d.ts +0 -3
  576. package/client/node_modules/math-intrinsics/sign.js +0 -11
  577. package/client/node_modules/math-intrinsics/test/index.js +0 -192
  578. package/client/node_modules/math-intrinsics/tsconfig.json +0 -3
  579. package/client/node_modules/media-typer/HISTORY.md +0 -22
  580. package/client/node_modules/media-typer/LICENSE +0 -22
  581. package/client/node_modules/media-typer/README.md +0 -81
  582. package/client/node_modules/media-typer/index.js +0 -270
  583. package/client/node_modules/media-typer/package.json +0 -26
  584. package/client/node_modules/merge-descriptors/HISTORY.md +0 -21
  585. package/client/node_modules/merge-descriptors/LICENSE +0 -23
  586. package/client/node_modules/merge-descriptors/README.md +0 -49
  587. package/client/node_modules/merge-descriptors/index.js +0 -60
  588. package/client/node_modules/merge-descriptors/package.json +0 -39
  589. package/client/node_modules/methods/HISTORY.md +0 -29
  590. package/client/node_modules/methods/LICENSE +0 -24
  591. package/client/node_modules/methods/README.md +0 -51
  592. package/client/node_modules/methods/index.js +0 -69
  593. package/client/node_modules/methods/package.json +0 -36
  594. package/client/node_modules/mime/CHANGELOG.md +0 -164
  595. package/client/node_modules/mime/LICENSE +0 -21
  596. package/client/node_modules/mime/README.md +0 -90
  597. package/client/node_modules/mime/cli.js +0 -8
  598. package/client/node_modules/mime/mime.js +0 -108
  599. package/client/node_modules/mime/package.json +0 -44
  600. package/client/node_modules/mime/src/build.js +0 -53
  601. package/client/node_modules/mime/src/test.js +0 -60
  602. package/client/node_modules/mime/types.json +0 -1
  603. package/client/node_modules/mime-db/HISTORY.md +0 -507
  604. package/client/node_modules/mime-db/LICENSE +0 -23
  605. package/client/node_modules/mime-db/README.md +0 -100
  606. package/client/node_modules/mime-db/db.json +0 -8519
  607. package/client/node_modules/mime-db/index.js +0 -12
  608. package/client/node_modules/mime-db/package.json +0 -60
  609. package/client/node_modules/mime-types/HISTORY.md +0 -397
  610. package/client/node_modules/mime-types/LICENSE +0 -23
  611. package/client/node_modules/mime-types/README.md +0 -113
  612. package/client/node_modules/mime-types/index.js +0 -188
  613. package/client/node_modules/mime-types/package.json +0 -44
  614. package/client/node_modules/ms/index.js +0 -152
  615. package/client/node_modules/ms/license.md +0 -21
  616. package/client/node_modules/ms/package.json +0 -37
  617. package/client/node_modules/ms/readme.md +0 -51
  618. package/client/node_modules/negotiator/HISTORY.md +0 -108
  619. package/client/node_modules/negotiator/LICENSE +0 -24
  620. package/client/node_modules/negotiator/README.md +0 -203
  621. package/client/node_modules/negotiator/index.js +0 -82
  622. package/client/node_modules/negotiator/lib/charset.js +0 -169
  623. package/client/node_modules/negotiator/lib/encoding.js +0 -184
  624. package/client/node_modules/negotiator/lib/language.js +0 -179
  625. package/client/node_modules/negotiator/lib/mediaType.js +0 -294
  626. package/client/node_modules/negotiator/package.json +0 -42
  627. package/client/node_modules/object-inspect/.eslintrc +0 -53
  628. package/client/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  629. package/client/node_modules/object-inspect/.nycrc +0 -13
  630. package/client/node_modules/object-inspect/CHANGELOG.md +0 -424
  631. package/client/node_modules/object-inspect/LICENSE +0 -21
  632. package/client/node_modules/object-inspect/example/all.js +0 -23
  633. package/client/node_modules/object-inspect/example/circular.js +0 -6
  634. package/client/node_modules/object-inspect/example/fn.js +0 -5
  635. package/client/node_modules/object-inspect/example/inspect.js +0 -10
  636. package/client/node_modules/object-inspect/index.js +0 -544
  637. package/client/node_modules/object-inspect/package-support.json +0 -20
  638. package/client/node_modules/object-inspect/package.json +0 -105
  639. package/client/node_modules/object-inspect/readme.markdown +0 -84
  640. package/client/node_modules/object-inspect/test/bigint.js +0 -58
  641. package/client/node_modules/object-inspect/test/browser/dom.js +0 -15
  642. package/client/node_modules/object-inspect/test/circular.js +0 -16
  643. package/client/node_modules/object-inspect/test/deep.js +0 -12
  644. package/client/node_modules/object-inspect/test/element.js +0 -53
  645. package/client/node_modules/object-inspect/test/err.js +0 -48
  646. package/client/node_modules/object-inspect/test/fakes.js +0 -29
  647. package/client/node_modules/object-inspect/test/fn.js +0 -76
  648. package/client/node_modules/object-inspect/test/global.js +0 -17
  649. package/client/node_modules/object-inspect/test/has.js +0 -15
  650. package/client/node_modules/object-inspect/test/holes.js +0 -15
  651. package/client/node_modules/object-inspect/test/indent-option.js +0 -271
  652. package/client/node_modules/object-inspect/test/inspect.js +0 -139
  653. package/client/node_modules/object-inspect/test/lowbyte.js +0 -12
  654. package/client/node_modules/object-inspect/test/number.js +0 -58
  655. package/client/node_modules/object-inspect/test/quoteStyle.js +0 -26
  656. package/client/node_modules/object-inspect/test/toStringTag.js +0 -40
  657. package/client/node_modules/object-inspect/test/undef.js +0 -12
  658. package/client/node_modules/object-inspect/test/values.js +0 -261
  659. package/client/node_modules/object-inspect/test-core-js.js +0 -26
  660. package/client/node_modules/object-inspect/util.inspect.js +0 -1
  661. package/client/node_modules/on-finished/HISTORY.md +0 -98
  662. package/client/node_modules/on-finished/LICENSE +0 -23
  663. package/client/node_modules/on-finished/README.md +0 -162
  664. package/client/node_modules/on-finished/index.js +0 -234
  665. package/client/node_modules/on-finished/package.json +0 -39
  666. package/client/node_modules/open/index.d.ts +0 -153
  667. package/client/node_modules/open/index.js +0 -334
  668. package/client/node_modules/open/license +0 -9
  669. package/client/node_modules/open/package.json +0 -61
  670. package/client/node_modules/open/readme.md +0 -171
  671. package/client/node_modules/open/xdg-open +0 -1066
  672. package/client/node_modules/parseurl/HISTORY.md +0 -58
  673. package/client/node_modules/parseurl/LICENSE +0 -24
  674. package/client/node_modules/parseurl/README.md +0 -133
  675. package/client/node_modules/parseurl/index.js +0 -158
  676. package/client/node_modules/parseurl/package.json +0 -40
  677. package/client/node_modules/path-to-regexp/LICENSE +0 -21
  678. package/client/node_modules/path-to-regexp/Readme.md +0 -35
  679. package/client/node_modules/path-to-regexp/index.js +0 -158
  680. package/client/node_modules/path-to-regexp/package.json +0 -30
  681. package/client/node_modules/proxy-addr/HISTORY.md +0 -161
  682. package/client/node_modules/proxy-addr/LICENSE +0 -22
  683. package/client/node_modules/proxy-addr/README.md +0 -139
  684. package/client/node_modules/proxy-addr/index.js +0 -327
  685. package/client/node_modules/proxy-addr/package.json +0 -47
  686. package/client/node_modules/qs/.editorconfig +0 -46
  687. package/client/node_modules/qs/.github/FUNDING.yml +0 -12
  688. package/client/node_modules/qs/.github/SECURITY.md +0 -11
  689. package/client/node_modules/qs/.github/THREAT_MODEL.md +0 -78
  690. package/client/node_modules/qs/.nycrc +0 -13
  691. package/client/node_modules/qs/CHANGELOG.md +0 -822
  692. package/client/node_modules/qs/LICENSE.md +0 -29
  693. package/client/node_modules/qs/README.md +0 -758
  694. package/client/node_modules/qs/dist/qs.js +0 -141
  695. package/client/node_modules/qs/eslint.config.mjs +0 -57
  696. package/client/node_modules/qs/lib/formats.js +0 -23
  697. package/client/node_modules/qs/lib/index.js +0 -11
  698. package/client/node_modules/qs/lib/parse.js +0 -403
  699. package/client/node_modules/qs/lib/stringify.js +0 -363
  700. package/client/node_modules/qs/lib/utils.js +0 -342
  701. package/client/node_modules/qs/package.json +0 -94
  702. package/client/node_modules/qs/test/empty-keys-cases.js +0 -267
  703. package/client/node_modules/qs/test/parse.js +0 -1703
  704. package/client/node_modules/qs/test/stringify.js +0 -1448
  705. package/client/node_modules/qs/test/utils.js +0 -432
  706. package/client/node_modules/range-parser/HISTORY.md +0 -56
  707. package/client/node_modules/range-parser/LICENSE +0 -23
  708. package/client/node_modules/range-parser/README.md +0 -84
  709. package/client/node_modules/range-parser/index.js +0 -162
  710. package/client/node_modules/range-parser/package.json +0 -44
  711. package/client/node_modules/raw-body/LICENSE +0 -22
  712. package/client/node_modules/raw-body/README.md +0 -223
  713. package/client/node_modules/raw-body/index.d.ts +0 -87
  714. package/client/node_modules/raw-body/index.js +0 -336
  715. package/client/node_modules/raw-body/package.json +0 -47
  716. package/client/node_modules/safe-buffer/LICENSE +0 -21
  717. package/client/node_modules/safe-buffer/README.md +0 -584
  718. package/client/node_modules/safe-buffer/index.d.ts +0 -187
  719. package/client/node_modules/safe-buffer/index.js +0 -65
  720. package/client/node_modules/safe-buffer/package.json +0 -51
  721. package/client/node_modules/safer-buffer/LICENSE +0 -21
  722. package/client/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  723. package/client/node_modules/safer-buffer/Readme.md +0 -156
  724. package/client/node_modules/safer-buffer/dangerous.js +0 -58
  725. package/client/node_modules/safer-buffer/package.json +0 -34
  726. package/client/node_modules/safer-buffer/safer.js +0 -77
  727. package/client/node_modules/safer-buffer/tests.js +0 -406
  728. package/client/node_modules/send/HISTORY.md +0 -538
  729. package/client/node_modules/send/LICENSE +0 -23
  730. package/client/node_modules/send/README.md +0 -327
  731. package/client/node_modules/send/SECURITY.md +0 -24
  732. package/client/node_modules/send/index.js +0 -1142
  733. package/client/node_modules/send/node_modules/ms/index.js +0 -162
  734. package/client/node_modules/send/node_modules/ms/license.md +0 -21
  735. package/client/node_modules/send/node_modules/ms/package.json +0 -38
  736. package/client/node_modules/send/node_modules/ms/readme.md +0 -59
  737. package/client/node_modules/send/package.json +0 -62
  738. package/client/node_modules/serve-static/HISTORY.md +0 -493
  739. package/client/node_modules/serve-static/LICENSE +0 -25
  740. package/client/node_modules/serve-static/README.md +0 -257
  741. package/client/node_modules/serve-static/index.js +0 -209
  742. package/client/node_modules/serve-static/package.json +0 -42
  743. package/client/node_modules/setprototypeof/LICENSE +0 -13
  744. package/client/node_modules/setprototypeof/README.md +0 -31
  745. package/client/node_modules/setprototypeof/index.d.ts +0 -2
  746. package/client/node_modules/setprototypeof/index.js +0 -17
  747. package/client/node_modules/setprototypeof/package.json +0 -38
  748. package/client/node_modules/setprototypeof/test/index.js +0 -24
  749. package/client/node_modules/side-channel/.editorconfig +0 -9
  750. package/client/node_modules/side-channel/.eslintrc +0 -12
  751. package/client/node_modules/side-channel/.github/FUNDING.yml +0 -12
  752. package/client/node_modules/side-channel/.nycrc +0 -13
  753. package/client/node_modules/side-channel/CHANGELOG.md +0 -120
  754. package/client/node_modules/side-channel/LICENSE +0 -21
  755. package/client/node_modules/side-channel/README.md +0 -61
  756. package/client/node_modules/side-channel/index.d.ts +0 -14
  757. package/client/node_modules/side-channel/index.js +0 -46
  758. package/client/node_modules/side-channel/package.json +0 -85
  759. package/client/node_modules/side-channel/test/index.js +0 -120
  760. package/client/node_modules/side-channel/tsconfig.json +0 -9
  761. package/client/node_modules/side-channel-list/.editorconfig +0 -9
  762. package/client/node_modules/side-channel-list/.eslintrc +0 -11
  763. package/client/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  764. package/client/node_modules/side-channel-list/.nycrc +0 -13
  765. package/client/node_modules/side-channel-list/CHANGELOG.md +0 -36
  766. package/client/node_modules/side-channel-list/LICENSE +0 -21
  767. package/client/node_modules/side-channel-list/README.md +0 -62
  768. package/client/node_modules/side-channel-list/index.d.ts +0 -13
  769. package/client/node_modules/side-channel-list/index.js +0 -111
  770. package/client/node_modules/side-channel-list/list.d.ts +0 -14
  771. package/client/node_modules/side-channel-list/package.json +0 -77
  772. package/client/node_modules/side-channel-list/test/index.js +0 -154
  773. package/client/node_modules/side-channel-list/tsconfig.json +0 -9
  774. package/client/node_modules/side-channel-map/.editorconfig +0 -9
  775. package/client/node_modules/side-channel-map/.eslintrc +0 -11
  776. package/client/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  777. package/client/node_modules/side-channel-map/.nycrc +0 -13
  778. package/client/node_modules/side-channel-map/CHANGELOG.md +0 -22
  779. package/client/node_modules/side-channel-map/LICENSE +0 -21
  780. package/client/node_modules/side-channel-map/README.md +0 -62
  781. package/client/node_modules/side-channel-map/index.d.ts +0 -15
  782. package/client/node_modules/side-channel-map/index.js +0 -68
  783. package/client/node_modules/side-channel-map/package.json +0 -80
  784. package/client/node_modules/side-channel-map/test/index.js +0 -114
  785. package/client/node_modules/side-channel-map/tsconfig.json +0 -9
  786. package/client/node_modules/side-channel-weakmap/.editorconfig +0 -9
  787. package/client/node_modules/side-channel-weakmap/.eslintrc +0 -12
  788. package/client/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  789. package/client/node_modules/side-channel-weakmap/.nycrc +0 -13
  790. package/client/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  791. package/client/node_modules/side-channel-weakmap/LICENSE +0 -21
  792. package/client/node_modules/side-channel-weakmap/README.md +0 -62
  793. package/client/node_modules/side-channel-weakmap/index.d.ts +0 -15
  794. package/client/node_modules/side-channel-weakmap/index.js +0 -84
  795. package/client/node_modules/side-channel-weakmap/package.json +0 -87
  796. package/client/node_modules/side-channel-weakmap/test/index.js +0 -114
  797. package/client/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  798. package/client/node_modules/statuses/HISTORY.md +0 -87
  799. package/client/node_modules/statuses/LICENSE +0 -23
  800. package/client/node_modules/statuses/README.md +0 -139
  801. package/client/node_modules/statuses/codes.json +0 -65
  802. package/client/node_modules/statuses/index.js +0 -146
  803. package/client/node_modules/statuses/package.json +0 -49
  804. package/client/node_modules/toidentifier/HISTORY.md +0 -9
  805. package/client/node_modules/toidentifier/LICENSE +0 -21
  806. package/client/node_modules/toidentifier/README.md +0 -61
  807. package/client/node_modules/toidentifier/index.js +0 -32
  808. package/client/node_modules/toidentifier/package.json +0 -38
  809. package/client/node_modules/type-is/HISTORY.md +0 -259
  810. package/client/node_modules/type-is/LICENSE +0 -23
  811. package/client/node_modules/type-is/README.md +0 -170
  812. package/client/node_modules/type-is/index.js +0 -266
  813. package/client/node_modules/type-is/package.json +0 -45
  814. package/client/node_modules/typescript/LICENSE.txt +0 -55
  815. package/client/node_modules/typescript/README.md +0 -50
  816. package/client/node_modules/typescript/SECURITY.md +0 -41
  817. package/client/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  818. package/client/node_modules/typescript/bin/tsc +0 -2
  819. package/client/node_modules/typescript/bin/tsserver +0 -2
  820. package/client/node_modules/typescript/lib/_tsc.js +0 -133818
  821. package/client/node_modules/typescript/lib/_tsserver.js +0 -659
  822. package/client/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  823. package/client/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  824. package/client/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  825. package/client/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  826. package/client/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  827. package/client/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  828. package/client/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  829. package/client/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  830. package/client/node_modules/typescript/lib/lib.d.ts +0 -22
  831. package/client/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  832. package/client/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  833. package/client/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  834. package/client/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  835. package/client/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  836. package/client/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  837. package/client/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  838. package/client/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  839. package/client/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  840. package/client/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  841. package/client/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  842. package/client/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  843. package/client/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  844. package/client/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  845. package/client/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  846. package/client/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  847. package/client/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  848. package/client/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  849. package/client/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  850. package/client/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  851. package/client/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  852. package/client/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  853. package/client/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  854. package/client/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  855. package/client/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  856. package/client/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  857. package/client/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  858. package/client/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  859. package/client/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  860. package/client/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  861. package/client/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  862. package/client/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  863. package/client/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  864. package/client/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  865. package/client/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  866. package/client/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  867. package/client/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  868. package/client/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  869. package/client/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  870. package/client/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  871. package/client/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  872. package/client/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  873. package/client/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  874. package/client/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  875. package/client/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  876. package/client/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  877. package/client/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  878. package/client/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  879. package/client/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  880. package/client/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  881. package/client/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  882. package/client/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  883. package/client/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  884. package/client/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  885. package/client/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  886. package/client/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  887. package/client/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  888. package/client/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  889. package/client/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  890. package/client/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  891. package/client/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  892. package/client/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  893. package/client/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  894. package/client/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  895. package/client/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  896. package/client/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  897. package/client/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  898. package/client/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  899. package/client/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  900. package/client/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  901. package/client/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  902. package/client/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  903. package/client/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  904. package/client/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  905. package/client/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  906. package/client/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  907. package/client/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  908. package/client/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  909. package/client/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  910. package/client/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  911. package/client/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  912. package/client/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  913. package/client/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  914. package/client/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  915. package/client/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  916. package/client/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  917. package/client/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  918. package/client/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  919. package/client/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  920. package/client/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  921. package/client/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  922. package/client/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  923. package/client/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  924. package/client/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  925. package/client/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  926. package/client/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  927. package/client/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  928. package/client/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  929. package/client/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  930. package/client/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  931. package/client/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  932. package/client/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  933. package/client/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  934. package/client/node_modules/typescript/lib/tsc.js +0 -8
  935. package/client/node_modules/typescript/lib/tsserver.js +0 -8
  936. package/client/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  937. package/client/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  938. package/client/node_modules/typescript/lib/typesMap.json +0 -497
  939. package/client/node_modules/typescript/lib/typescript.d.ts +0 -11437
  940. package/client/node_modules/typescript/lib/typescript.js +0 -200276
  941. package/client/node_modules/typescript/lib/typingsInstaller.js +0 -8
  942. package/client/node_modules/typescript/lib/watchGuard.js +0 -53
  943. package/client/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  944. package/client/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  945. package/client/node_modules/typescript/package.json +0 -120
  946. package/client/node_modules/undici-types/LICENSE +0 -21
  947. package/client/node_modules/undici-types/README.md +0 -6
  948. package/client/node_modules/undici-types/agent.d.ts +0 -31
  949. package/client/node_modules/undici-types/api.d.ts +0 -43
  950. package/client/node_modules/undici-types/balanced-pool.d.ts +0 -29
  951. package/client/node_modules/undici-types/cache.d.ts +0 -36
  952. package/client/node_modules/undici-types/client.d.ts +0 -108
  953. package/client/node_modules/undici-types/connector.d.ts +0 -34
  954. package/client/node_modules/undici-types/content-type.d.ts +0 -21
  955. package/client/node_modules/undici-types/cookies.d.ts +0 -28
  956. package/client/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  957. package/client/node_modules/undici-types/dispatcher.d.ts +0 -256
  958. package/client/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  959. package/client/node_modules/undici-types/errors.d.ts +0 -149
  960. package/client/node_modules/undici-types/eventsource.d.ts +0 -61
  961. package/client/node_modules/undici-types/fetch.d.ts +0 -209
  962. package/client/node_modules/undici-types/file.d.ts +0 -39
  963. package/client/node_modules/undici-types/filereader.d.ts +0 -54
  964. package/client/node_modules/undici-types/formdata.d.ts +0 -108
  965. package/client/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  966. package/client/node_modules/undici-types/global-origin.d.ts +0 -7
  967. package/client/node_modules/undici-types/handlers.d.ts +0 -15
  968. package/client/node_modules/undici-types/header.d.ts +0 -4
  969. package/client/node_modules/undici-types/index.d.ts +0 -71
  970. package/client/node_modules/undici-types/interceptors.d.ts +0 -17
  971. package/client/node_modules/undici-types/mock-agent.d.ts +0 -50
  972. package/client/node_modules/undici-types/mock-client.d.ts +0 -25
  973. package/client/node_modules/undici-types/mock-errors.d.ts +0 -12
  974. package/client/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  975. package/client/node_modules/undici-types/mock-pool.d.ts +0 -25
  976. package/client/node_modules/undici-types/package.json +0 -55
  977. package/client/node_modules/undici-types/patch.d.ts +0 -33
  978. package/client/node_modules/undici-types/pool-stats.d.ts +0 -19
  979. package/client/node_modules/undici-types/pool.d.ts +0 -39
  980. package/client/node_modules/undici-types/proxy-agent.d.ts +0 -28
  981. package/client/node_modules/undici-types/readable.d.ts +0 -65
  982. package/client/node_modules/undici-types/retry-agent.d.ts +0 -8
  983. package/client/node_modules/undici-types/retry-handler.d.ts +0 -116
  984. package/client/node_modules/undici-types/util.d.ts +0 -18
  985. package/client/node_modules/undici-types/webidl.d.ts +0 -228
  986. package/client/node_modules/undici-types/websocket.d.ts +0 -150
  987. package/client/node_modules/unpipe/HISTORY.md +0 -4
  988. package/client/node_modules/unpipe/LICENSE +0 -22
  989. package/client/node_modules/unpipe/README.md +0 -43
  990. package/client/node_modules/unpipe/index.js +0 -69
  991. package/client/node_modules/unpipe/package.json +0 -27
  992. package/client/node_modules/utils-merge/LICENSE +0 -20
  993. package/client/node_modules/utils-merge/README.md +0 -34
  994. package/client/node_modules/utils-merge/index.js +0 -23
  995. package/client/node_modules/utils-merge/package.json +0 -40
  996. package/client/node_modules/vary/HISTORY.md +0 -39
  997. package/client/node_modules/vary/LICENSE +0 -22
  998. package/client/node_modules/vary/README.md +0 -101
  999. package/client/node_modules/vary/index.js +0 -149
  1000. package/client/node_modules/vary/package.json +0 -43
  1001. package/client/obfuscate.js +0 -132
  1002. package/client/package-lock.json +0 -956
  1003. package/client/package.json +0 -32
  1004. package/client/src/cli.ts +0 -273
  1005. package/client/src/dashboard.ts +0 -85
  1006. package/client/src/executor.ts +0 -65
  1007. package/client/src/filters/generic.ts +0 -60
  1008. package/client/src/filters/git.ts +0 -150
  1009. package/client/src/filters/index.ts +0 -113
  1010. package/client/src/filters/js.ts +0 -102
  1011. package/client/src/filters/python.ts +0 -152
  1012. package/client/src/index.html +0 -779
  1013. package/client/src/mcp.ts +0 -88
  1014. package/client/src/redactor.ts +0 -54
  1015. package/client/src/seed.ts +0 -35
  1016. package/client/src/shims.ts +0 -142
  1017. package/client/src/simulate.ts +0 -98
  1018. package/client/src/sync.ts +0 -252
  1019. package/client/src/tracker.ts +0 -269
  1020. package/client/tsconfig.json +0 -14
  1021. package/install.bat +0 -48
  1022. package/test_e2e.js +0 -156
  1023. package/tsconfig.json +0 -15
  1024. /package/{client/dist/index.html → index.html} +0 -0
@@ -1,1148 +0,0 @@
1
- # Commander.js
2
-
3
- [![Build Status](https://github.com/tj/commander.js/workflows/build/badge.svg)](https://github.com/tj/commander.js/actions?query=workflow%3A%22build%22)
4
- [![NPM Version](http://img.shields.io/npm/v/commander.svg?style=flat)](https://www.npmjs.org/package/commander)
5
- [![NPM Downloads](https://img.shields.io/npm/dm/commander.svg?style=flat)](https://npmcharts.com/compare/commander?minimal=true)
6
- [![Install Size](https://packagephobia.now.sh/badge?p=commander)](https://packagephobia.now.sh/result?p=commander)
7
-
8
- The complete solution for [node.js](http://nodejs.org) command-line interfaces.
9
-
10
- Read this in other languages: English | [简体中文](./Readme_zh-CN.md)
11
-
12
- - [Commander.js](#commanderjs)
13
- - [Installation](#installation)
14
- - [Quick Start](#quick-start)
15
- - [Declaring _program_ variable](#declaring-program-variable)
16
- - [Options](#options)
17
- - [Common option types, boolean and value](#common-option-types-boolean-and-value)
18
- - [Default option value](#default-option-value)
19
- - [Other option types, negatable boolean and boolean|value](#other-option-types-negatable-boolean-and-booleanvalue)
20
- - [Required option](#required-option)
21
- - [Variadic option](#variadic-option)
22
- - [Version option](#version-option)
23
- - [More configuration](#more-configuration)
24
- - [Custom option processing](#custom-option-processing)
25
- - [Commands](#commands)
26
- - [Command-arguments](#command-arguments)
27
- - [More configuration](#more-configuration-1)
28
- - [Custom argument processing](#custom-argument-processing)
29
- - [Action handler](#action-handler)
30
- - [Stand-alone executable (sub)commands](#stand-alone-executable-subcommands)
31
- - [Life cycle hooks](#life-cycle-hooks)
32
- - [Automated help](#automated-help)
33
- - [Custom help](#custom-help)
34
- - [Display help after errors](#display-help-after-errors)
35
- - [Display help from code](#display-help-from-code)
36
- - [.name](#name)
37
- - [.usage](#usage)
38
- - [.description and .summary](#description-and-summary)
39
- - [.helpOption(flags, description)](#helpoptionflags-description)
40
- - [.addHelpCommand()](#addhelpcommand)
41
- - [More configuration](#more-configuration-2)
42
- - [Custom event listeners](#custom-event-listeners)
43
- - [Bits and pieces](#bits-and-pieces)
44
- - [.parse() and .parseAsync()](#parse-and-parseasync)
45
- - [Parsing Configuration](#parsing-configuration)
46
- - [Legacy options as properties](#legacy-options-as-properties)
47
- - [TypeScript](#typescript)
48
- - [createCommand()](#createcommand)
49
- - [Node options such as `--harmony`](#node-options-such-as---harmony)
50
- - [Debugging stand-alone executable subcommands](#debugging-stand-alone-executable-subcommands)
51
- - [npm run-script](#npm-run-script)
52
- - [Display error](#display-error)
53
- - [Override exit and output handling](#override-exit-and-output-handling)
54
- - [Additional documentation](#additional-documentation)
55
- - [Support](#support)
56
- - [Commander for enterprise](#commander-for-enterprise)
57
-
58
- For information about terms used in this document see: [terminology](./docs/terminology.md)
59
-
60
- ## Installation
61
-
62
- ```sh
63
- npm install commander
64
- ```
65
-
66
- ## Quick Start
67
-
68
- You write code to describe your command line interface.
69
- Commander looks after parsing the arguments into options and command-arguments,
70
- displays usage errors for problems, and implements a help system.
71
-
72
- Commander is strict and displays an error for unrecognised options.
73
- The two most used option types are a boolean option, and an option which takes its value from the following argument.
74
-
75
- Example file: [split.js](./examples/split.js)
76
-
77
- ```js
78
- const { program } = require('commander');
79
-
80
- program
81
- .option('--first')
82
- .option('-s, --separator <char>');
83
-
84
- program.parse();
85
-
86
- const options = program.opts();
87
- const limit = options.first ? 1 : undefined;
88
- console.log(program.args[0].split(options.separator, limit));
89
- ```
90
-
91
- ```console
92
- $ node split.js -s / --fits a/b/c
93
- error: unknown option '--fits'
94
- (Did you mean --first?)
95
- $ node split.js -s / --first a/b/c
96
- [ 'a' ]
97
- ```
98
-
99
- Here is a more complete program using a subcommand and with descriptions for the help. In a multi-command program, you have an action handler for each command (or stand-alone executables for the commands).
100
-
101
- Example file: [string-util.js](./examples/string-util.js)
102
-
103
- ```js
104
- const { Command } = require('commander');
105
- const program = new Command();
106
-
107
- program
108
- .name('string-util')
109
- .description('CLI to some JavaScript string utilities')
110
- .version('0.8.0');
111
-
112
- program.command('split')
113
- .description('Split a string into substrings and display as an array')
114
- .argument('<string>', 'string to split')
115
- .option('--first', 'display just the first substring')
116
- .option('-s, --separator <char>', 'separator character', ',')
117
- .action((str, options) => {
118
- const limit = options.first ? 1 : undefined;
119
- console.log(str.split(options.separator, limit));
120
- });
121
-
122
- program.parse();
123
- ```
124
-
125
- ```console
126
- $ node string-util.js help split
127
- Usage: string-util split [options] <string>
128
-
129
- Split a string into substrings and display as an array.
130
-
131
- Arguments:
132
- string string to split
133
-
134
- Options:
135
- --first display just the first substring
136
- -s, --separator <char> separator character (default: ",")
137
- -h, --help display help for command
138
-
139
- $ node string-util.js split --separator=/ a/b/c
140
- [ 'a', 'b', 'c' ]
141
- ```
142
-
143
- More samples can be found in the [examples](https://github.com/tj/commander.js/tree/master/examples) directory.
144
-
145
- ## Declaring _program_ variable
146
-
147
- Commander exports a global object which is convenient for quick programs.
148
- This is used in the examples in this README for brevity.
149
-
150
- ```js
151
- // CommonJS (.cjs)
152
- const { program } = require('commander');
153
- ```
154
-
155
- For larger programs which may use commander in multiple ways, including unit testing, it is better to create a local Command object to use.
156
-
157
- ```js
158
- // CommonJS (.cjs)
159
- const { Command } = require('commander');
160
- const program = new Command();
161
- ```
162
-
163
- ```js
164
- // ECMAScript (.mjs)
165
- import { Command } from 'commander';
166
- const program = new Command();
167
- ```
168
-
169
- ```ts
170
- // TypeScript (.ts)
171
- import { Command } from 'commander';
172
- const program = new Command();
173
- ```
174
-
175
- ## Options
176
-
177
- Options are defined with the `.option()` method, also serving as documentation for the options. Each option can have a short flag (single character) and a long name, separated by a comma or space or vertical bar ('|').
178
-
179
- The parsed options can be accessed by calling `.opts()` on a `Command` object, and are passed to the action handler.
180
-
181
- Multi-word options such as "--template-engine" are camel-cased, becoming `program.opts().templateEngine` etc.
182
-
183
- An option and its option-argument can be separated by a space, or combined into the same argument. The option-argument can follow the short option directly or follow an `=` for a long option.
184
-
185
- ```sh
186
- serve -p 80
187
- serve -p80
188
- serve --port 80
189
- serve --port=80
190
- ```
191
-
192
- You can use `--` to indicate the end of the options, and any remaining arguments will be used without being interpreted.
193
-
194
- By default, options on the command line are not positional, and can be specified before or after other arguments.
195
-
196
- There are additional related routines for when `.opts()` is not enough:
197
-
198
- - `.optsWithGlobals()` returns merged local and global option values
199
- - `.getOptionValue()` and `.setOptionValue()` work with a single option value
200
- - `.getOptionValueSource()` and `.setOptionValueWithSource()` include where the option value came from
201
-
202
- ### Common option types, boolean and value
203
-
204
- The two most used option types are a boolean option, and an option which takes its value
205
- from the following argument (declared with angle brackets like `--expect <value>`). Both are `undefined` unless specified on command line.
206
-
207
- Example file: [options-common.js](./examples/options-common.js)
208
-
209
- ```js
210
- program
211
- .option('-d, --debug', 'output extra debugging')
212
- .option('-s, --small', 'small pizza size')
213
- .option('-p, --pizza-type <type>', 'flavour of pizza');
214
-
215
- program.parse(process.argv);
216
-
217
- const options = program.opts();
218
- if (options.debug) console.log(options);
219
- console.log('pizza details:');
220
- if (options.small) console.log('- small pizza size');
221
- if (options.pizzaType) console.log(`- ${options.pizzaType}`);
222
- ```
223
-
224
- ```console
225
- $ pizza-options -p
226
- error: option '-p, --pizza-type <type>' argument missing
227
- $ pizza-options -d -s -p vegetarian
228
- { debug: true, small: true, pizzaType: 'vegetarian' }
229
- pizza details:
230
- - small pizza size
231
- - vegetarian
232
- $ pizza-options --pizza-type=cheese
233
- pizza details:
234
- - cheese
235
- ```
236
-
237
- Multiple boolean short options may be combined following the dash, and may be followed by a single short option taking a value.
238
- For example `-d -s -p cheese` may be written as `-ds -p cheese` or even `-dsp cheese`.
239
-
240
- Options with an expected option-argument are greedy and will consume the following argument whatever the value.
241
- So `--id -xyz` reads `-xyz` as the option-argument.
242
-
243
- `program.parse(arguments)` processes the arguments, leaving any args not consumed by the program options in the `program.args` array. The parameter is optional and defaults to `process.argv`.
244
-
245
- ### Default option value
246
-
247
- You can specify a default value for an option.
248
-
249
- Example file: [options-defaults.js](./examples/options-defaults.js)
250
-
251
- ```js
252
- program
253
- .option('-c, --cheese <type>', 'add the specified type of cheese', 'blue');
254
-
255
- program.parse();
256
-
257
- console.log(`cheese: ${program.opts().cheese}`);
258
- ```
259
-
260
- ```console
261
- $ pizza-options
262
- cheese: blue
263
- $ pizza-options --cheese stilton
264
- cheese: stilton
265
- ```
266
-
267
- ### Other option types, negatable boolean and boolean|value
268
-
269
- You can define a boolean option long name with a leading `no-` to set the option value to false when used.
270
- Defined alone this also makes the option true by default.
271
-
272
- If you define `--foo` first, adding `--no-foo` does not change the default value from what it would
273
- otherwise be.
274
-
275
- Example file: [options-negatable.js](./examples/options-negatable.js)
276
-
277
- ```js
278
- program
279
- .option('--no-sauce', 'Remove sauce')
280
- .option('--cheese <flavour>', 'cheese flavour', 'mozzarella')
281
- .option('--no-cheese', 'plain with no cheese')
282
- .parse();
283
-
284
- const options = program.opts();
285
- const sauceStr = options.sauce ? 'sauce' : 'no sauce';
286
- const cheeseStr = (options.cheese === false) ? 'no cheese' : `${options.cheese} cheese`;
287
- console.log(`You ordered a pizza with ${sauceStr} and ${cheeseStr}`);
288
- ```
289
-
290
- ```console
291
- $ pizza-options
292
- You ordered a pizza with sauce and mozzarella cheese
293
- $ pizza-options --sauce
294
- error: unknown option '--sauce'
295
- $ pizza-options --cheese=blue
296
- You ordered a pizza with sauce and blue cheese
297
- $ pizza-options --no-sauce --no-cheese
298
- You ordered a pizza with no sauce and no cheese
299
- ```
300
-
301
- You can specify an option which may be used as a boolean option but may optionally take an option-argument
302
- (declared with square brackets like `--optional [value]`).
303
-
304
- Example file: [options-boolean-or-value.js](./examples/options-boolean-or-value.js)
305
-
306
- ```js
307
- program
308
- .option('-c, --cheese [type]', 'Add cheese with optional type');
309
-
310
- program.parse(process.argv);
311
-
312
- const options = program.opts();
313
- if (options.cheese === undefined) console.log('no cheese');
314
- else if (options.cheese === true) console.log('add cheese');
315
- else console.log(`add cheese type ${options.cheese}`);
316
- ```
317
-
318
- ```console
319
- $ pizza-options
320
- no cheese
321
- $ pizza-options --cheese
322
- add cheese
323
- $ pizza-options --cheese mozzarella
324
- add cheese type mozzarella
325
- ```
326
-
327
- Options with an optional option-argument are not greedy and will ignore arguments starting with a dash.
328
- So `id` behaves as a boolean option for `--id -5`, but you can use a combined form if needed like `--id=-5`.
329
-
330
- For information about possible ambiguous cases, see [options taking varying arguments](./docs/options-in-depth.md).
331
-
332
- ### Required option
333
-
334
- You may specify a required (mandatory) option using `.requiredOption()`. The option must have a value after parsing, usually specified on the command line, or perhaps from a default value (say from environment). The method is otherwise the same as `.option()` in format, taking flags and description, and optional default value or custom processing.
335
-
336
- Example file: [options-required.js](./examples/options-required.js)
337
-
338
- ```js
339
- program
340
- .requiredOption('-c, --cheese <type>', 'pizza must have cheese');
341
-
342
- program.parse();
343
- ```
344
-
345
- ```console
346
- $ pizza
347
- error: required option '-c, --cheese <type>' not specified
348
- ```
349
-
350
- ### Variadic option
351
-
352
- You may make an option variadic by appending `...` to the value placeholder when declaring the option. On the command line you
353
- can then specify multiple option-arguments, and the parsed option value will be an array. The extra arguments
354
- are read until the first argument starting with a dash. The special argument `--` stops option processing entirely. If a value
355
- is specified in the same argument as the option then no further values are read.
356
-
357
- Example file: [options-variadic.js](./examples/options-variadic.js)
358
-
359
- ```js
360
- program
361
- .option('-n, --number <numbers...>', 'specify numbers')
362
- .option('-l, --letter [letters...]', 'specify letters');
363
-
364
- program.parse();
365
-
366
- console.log('Options: ', program.opts());
367
- console.log('Remaining arguments: ', program.args);
368
- ```
369
-
370
- ```console
371
- $ collect -n 1 2 3 --letter a b c
372
- Options: { number: [ '1', '2', '3' ], letter: [ 'a', 'b', 'c' ] }
373
- Remaining arguments: []
374
- $ collect --letter=A -n80 operand
375
- Options: { number: [ '80' ], letter: [ 'A' ] }
376
- Remaining arguments: [ 'operand' ]
377
- $ collect --letter -n 1 -n 2 3 -- operand
378
- Options: { number: [ '1', '2', '3' ], letter: true }
379
- Remaining arguments: [ 'operand' ]
380
- ```
381
-
382
- For information about possible ambiguous cases, see [options taking varying arguments](./docs/options-in-depth.md).
383
-
384
- ### Version option
385
-
386
- The optional `version` method adds handling for displaying the command version. The default option flags are `-V` and `--version`, and when present the command prints the version number and exits.
387
-
388
- ```js
389
- program.version('0.0.1');
390
- ```
391
-
392
- ```console
393
- $ ./examples/pizza -V
394
- 0.0.1
395
- ```
396
-
397
- You may change the flags and description by passing additional parameters to the `version` method, using
398
- the same syntax for flags as the `option` method.
399
-
400
- ```js
401
- program.version('0.0.1', '-v, --vers', 'output the current version');
402
- ```
403
-
404
- ### More configuration
405
-
406
- You can add most options using the `.option()` method, but there are some additional features available
407
- by constructing an `Option` explicitly for less common cases.
408
-
409
- Example files: [options-extra.js](./examples/options-extra.js), [options-env.js](./examples/options-env.js), [options-conflicts.js](./examples/options-conflicts.js), [options-implies.js](./examples/options-implies.js)
410
-
411
- ```js
412
- program
413
- .addOption(new Option('-s, --secret').hideHelp())
414
- .addOption(new Option('-t, --timeout <delay>', 'timeout in seconds').default(60, 'one minute'))
415
- .addOption(new Option('-d, --drink <size>', 'drink size').choices(['small', 'medium', 'large']))
416
- .addOption(new Option('-p, --port <number>', 'port number').env('PORT'))
417
- .addOption(new Option('--donate [amount]', 'optional donation in dollars').preset('20').argParser(parseFloat))
418
- .addOption(new Option('--disable-server', 'disables the server').conflicts('port'))
419
- .addOption(new Option('--free-drink', 'small drink included free ').implies({ drink: 'small' }));
420
- ```
421
-
422
- ```console
423
- $ extra --help
424
- Usage: help [options]
425
-
426
- Options:
427
- -t, --timeout <delay> timeout in seconds (default: one minute)
428
- -d, --drink <size> drink cup size (choices: "small", "medium", "large")
429
- -p, --port <number> port number (env: PORT)
430
- --donate [amount] optional donation in dollars (preset: "20")
431
- --disable-server disables the server
432
- --free-drink small drink included free
433
- -h, --help display help for command
434
-
435
- $ extra --drink huge
436
- error: option '-d, --drink <size>' argument 'huge' is invalid. Allowed choices are small, medium, large.
437
-
438
- $ PORT=80 extra --donate --free-drink
439
- Options: { timeout: 60, donate: 20, port: '80', freeDrink: true, drink: 'small' }
440
-
441
- $ extra --disable-server --port 8000
442
- error: option '--disable-server' cannot be used with option '-p, --port <number>'
443
- ```
444
-
445
- Specify a required (mandatory) option using the `Option` method `.makeOptionMandatory()`. This matches the `Command` method [.requiredOption()](#required-option).
446
-
447
- ### Custom option processing
448
-
449
- You may specify a function to do custom processing of option-arguments. The callback function receives two parameters,
450
- the user specified option-argument and the previous value for the option. It returns the new value for the option.
451
-
452
- This allows you to coerce the option-argument to the desired type, or accumulate values, or do entirely custom processing.
453
-
454
- You can optionally specify the default/starting value for the option after the function parameter.
455
-
456
- Example file: [options-custom-processing.js](./examples/options-custom-processing.js)
457
-
458
- ```js
459
- function myParseInt(value, dummyPrevious) {
460
- // parseInt takes a string and a radix
461
- const parsedValue = parseInt(value, 10);
462
- if (isNaN(parsedValue)) {
463
- throw new commander.InvalidArgumentError('Not a number.');
464
- }
465
- return parsedValue;
466
- }
467
-
468
- function increaseVerbosity(dummyValue, previous) {
469
- return previous + 1;
470
- }
471
-
472
- function collect(value, previous) {
473
- return previous.concat([value]);
474
- }
475
-
476
- function commaSeparatedList(value, dummyPrevious) {
477
- return value.split(',');
478
- }
479
-
480
- program
481
- .option('-f, --float <number>', 'float argument', parseFloat)
482
- .option('-i, --integer <number>', 'integer argument', myParseInt)
483
- .option('-v, --verbose', 'verbosity that can be increased', increaseVerbosity, 0)
484
- .option('-c, --collect <value>', 'repeatable value', collect, [])
485
- .option('-l, --list <items>', 'comma separated list', commaSeparatedList)
486
- ;
487
-
488
- program.parse();
489
-
490
- const options = program.opts();
491
- if (options.float !== undefined) console.log(`float: ${options.float}`);
492
- if (options.integer !== undefined) console.log(`integer: ${options.integer}`);
493
- if (options.verbose > 0) console.log(`verbosity: ${options.verbose}`);
494
- if (options.collect.length > 0) console.log(options.collect);
495
- if (options.list !== undefined) console.log(options.list);
496
- ```
497
-
498
- ```console
499
- $ custom -f 1e2
500
- float: 100
501
- $ custom --integer 2
502
- integer: 2
503
- $ custom -v -v -v
504
- verbose: 3
505
- $ custom -c a -c b -c c
506
- [ 'a', 'b', 'c' ]
507
- $ custom --list x,y,z
508
- [ 'x', 'y', 'z' ]
509
- ```
510
-
511
- ## Commands
512
-
513
- You can specify (sub)commands using `.command()` or `.addCommand()`. There are two ways these can be implemented: using an action handler attached to the command, or as a stand-alone executable file (described in more detail later). The subcommands may be nested ([example](./examples/nestedCommands.js)).
514
-
515
- In the first parameter to `.command()` you specify the command name. You may append the command-arguments after the command name, or specify them separately using `.argument()`. The arguments may be `<required>` or `[optional]`, and the last argument may also be `variadic...`.
516
-
517
- You can use `.addCommand()` to add an already configured subcommand to the program.
518
-
519
- For example:
520
-
521
- ```js
522
- // Command implemented using action handler (description is supplied separately to `.command`)
523
- // Returns new command for configuring.
524
- program
525
- .command('clone <source> [destination]')
526
- .description('clone a repository into a newly created directory')
527
- .action((source, destination) => {
528
- console.log('clone command called');
529
- });
530
-
531
- // Command implemented using stand-alone executable file, indicated by adding description as second parameter to `.command`.
532
- // Returns `this` for adding more commands.
533
- program
534
- .command('start <service>', 'start named service')
535
- .command('stop [service]', 'stop named service, or all if no name supplied');
536
-
537
- // Command prepared separately.
538
- // Returns `this` for adding more commands.
539
- program
540
- .addCommand(build.makeBuildCommand());
541
- ```
542
-
543
- Configuration options can be passed with the call to `.command()` and `.addCommand()`. Specifying `hidden: true` will
544
- remove the command from the generated help output. Specifying `isDefault: true` will run the subcommand if no other
545
- subcommand is specified ([example](./examples/defaultCommand.js)).
546
-
547
- You can add alternative names for a command with `.alias()`. ([example](./examples/alias.js))
548
-
549
- `.command()` automatically copies the inherited settings from the parent command to the newly created subcommand. This is only done during creation, any later setting changes to the parent are not inherited.
550
-
551
- For safety, `.addCommand()` does not automatically copy the inherited settings from the parent command. There is a helper routine `.copyInheritedSettings()` for copying the settings when they are wanted.
552
-
553
- ### Command-arguments
554
-
555
- For subcommands, you can specify the argument syntax in the call to `.command()` (as shown above). This
556
- is the only method usable for subcommands implemented using a stand-alone executable, but for other subcommands
557
- you can instead use the following method.
558
-
559
- To configure a command, you can use `.argument()` to specify each expected command-argument.
560
- You supply the argument name and an optional description. The argument may be `<required>` or `[optional]`.
561
- You can specify a default value for an optional command-argument.
562
-
563
- Example file: [argument.js](./examples/argument.js)
564
-
565
- ```js
566
- program
567
- .version('0.1.0')
568
- .argument('<username>', 'user to login')
569
- .argument('[password]', 'password for user, if required', 'no password given')
570
- .action((username, password) => {
571
- console.log('username:', username);
572
- console.log('password:', password);
573
- });
574
- ```
575
-
576
- The last argument of a command can be variadic, and only the last argument. To make an argument variadic you
577
- append `...` to the argument name. A variadic argument is passed to the action handler as an array. For example:
578
-
579
- ```js
580
- program
581
- .version('0.1.0')
582
- .command('rmdir')
583
- .argument('<dirs...>')
584
- .action(function (dirs) {
585
- dirs.forEach((dir) => {
586
- console.log('rmdir %s', dir);
587
- });
588
- });
589
- ```
590
-
591
- There is a convenience method to add multiple arguments at once, but without descriptions:
592
-
593
- ```js
594
- program
595
- .arguments('<username> <password>');
596
- ```
597
-
598
- #### More configuration
599
-
600
- There are some additional features available by constructing an `Argument` explicitly for less common cases.
601
-
602
- Example file: [arguments-extra.js](./examples/arguments-extra.js)
603
-
604
- ```js
605
- program
606
- .addArgument(new commander.Argument('<drink-size>', 'drink cup size').choices(['small', 'medium', 'large']))
607
- .addArgument(new commander.Argument('[timeout]', 'timeout in seconds').default(60, 'one minute'))
608
- ```
609
-
610
- #### Custom argument processing
611
-
612
- You may specify a function to do custom processing of command-arguments (like for option-arguments).
613
- The callback function receives two parameters, the user specified command-argument and the previous value for the argument.
614
- It returns the new value for the argument.
615
-
616
- The processed argument values are passed to the action handler, and saved as `.processedArgs`.
617
-
618
- You can optionally specify the default/starting value for the argument after the function parameter.
619
-
620
- Example file: [arguments-custom-processing.js](./examples/arguments-custom-processing.js)
621
-
622
- ```js
623
- program
624
- .command('add')
625
- .argument('<first>', 'integer argument', myParseInt)
626
- .argument('[second]', 'integer argument', myParseInt, 1000)
627
- .action((first, second) => {
628
- console.log(`${first} + ${second} = ${first + second}`);
629
- })
630
- ;
631
- ```
632
-
633
- ### Action handler
634
-
635
- The action handler gets passed a parameter for each command-argument you declared, and two additional parameters
636
- which are the parsed options and the command object itself.
637
-
638
- Example file: [thank.js](./examples/thank.js)
639
-
640
- ```js
641
- program
642
- .argument('<name>')
643
- .option('-t, --title <honorific>', 'title to use before name')
644
- .option('-d, --debug', 'display some debugging')
645
- .action((name, options, command) => {
646
- if (options.debug) {
647
- console.error('Called %s with options %o', command.name(), options);
648
- }
649
- const title = options.title ? `${options.title} ` : '';
650
- console.log(`Thank-you ${title}${name}`);
651
- });
652
- ```
653
-
654
- If you prefer, you can work with the command directly and skip declaring the parameters for the action handler. The `this` keyword is set to the running command and can be used from a function expression (but not from an arrow function).
655
-
656
- Example file: [action-this.js](./examples/action-this.js)
657
-
658
- ```js
659
- program
660
- .command('serve')
661
- .argument('<script>')
662
- .option('-p, --port <number>', 'port number', 80)
663
- .action(function() {
664
- console.error('Run script %s on port %s', this.args[0], this.opts().port);
665
- });
666
- ```
667
-
668
- You may supply an `async` action handler, in which case you call `.parseAsync` rather than `.parse`.
669
-
670
- ```js
671
- async function run() { /* code goes here */ }
672
-
673
- async function main() {
674
- program
675
- .command('run')
676
- .action(run);
677
- await program.parseAsync(process.argv);
678
- }
679
- ```
680
-
681
- A command's options and arguments on the command line are validated when the command is used. Any unknown options or missing arguments will be reported as an error. You can suppress the unknown option checks with `.allowUnknownOption()`. By default, it is not an error to
682
- pass more arguments than declared, but you can make this an error with `.allowExcessArguments(false)`.
683
-
684
- ### Stand-alone executable (sub)commands
685
-
686
- When `.command()` is invoked with a description argument, this tells Commander that you're going to use stand-alone executables for subcommands.
687
- Commander will search the files in the directory of the entry script for a file with the name combination `command-subcommand`, like `pm-install` or `pm-search` in the example below. The search includes trying common file extensions, like `.js`.
688
- You may specify a custom name (and path) with the `executableFile` configuration option.
689
- You may specify a custom search directory for subcommands with `.executableDir()`.
690
-
691
- You handle the options for an executable (sub)command in the executable, and don't declare them at the top-level.
692
-
693
- Example file: [pm](./examples/pm)
694
-
695
- ```js
696
- program
697
- .name('pm')
698
- .version('0.1.0')
699
- .command('install [name]', 'install one or more packages')
700
- .command('search [query]', 'search with optional query')
701
- .command('update', 'update installed packages', { executableFile: 'myUpdateSubCommand' })
702
- .command('list', 'list packages installed', { isDefault: true });
703
-
704
- program.parse(process.argv);
705
- ```
706
-
707
- If the program is designed to be installed globally, make sure the executables have proper modes, like `755`.
708
-
709
- ### Life cycle hooks
710
-
711
- You can add callback hooks to a command for life cycle events.
712
-
713
- Example file: [hook.js](./examples/hook.js)
714
-
715
- ```js
716
- program
717
- .option('-t, --trace', 'display trace statements for commands')
718
- .hook('preAction', (thisCommand, actionCommand) => {
719
- if (thisCommand.opts().trace) {
720
- console.log(`About to call action handler for subcommand: ${actionCommand.name()}`);
721
- console.log('arguments: %O', actionCommand.args);
722
- console.log('options: %o', actionCommand.opts());
723
- }
724
- });
725
- ```
726
-
727
- The callback hook can be `async`, in which case you call `.parseAsync` rather than `.parse`. You can add multiple hooks per event.
728
-
729
- The supported events are:
730
-
731
- | event name | when hook called | callback parameters |
732
- | :-- | :-- | :-- |
733
- | `preAction`, `postAction` | before/after action handler for this command and its nested subcommands | `(thisCommand, actionCommand)` |
734
- | `preSubcommand` | before parsing direct subcommand | `(thisCommand, subcommand)` |
735
-
736
- For an overview of the life cycle events see [parsing life cycle and hooks](./docs/parsing-and-hooks.md).
737
-
738
- ## Automated help
739
-
740
- The help information is auto-generated based on the information commander already knows about your program. The default
741
- help option is `-h,--help`.
742
-
743
- Example file: [pizza](./examples/pizza)
744
-
745
- ```console
746
- $ node ./examples/pizza --help
747
- Usage: pizza [options]
748
-
749
- An application for pizza ordering
750
-
751
- Options:
752
- -p, --peppers Add peppers
753
- -c, --cheese <type> Add the specified type of cheese (default: "marble")
754
- -C, --no-cheese You do not want any cheese
755
- -h, --help display help for command
756
- ```
757
-
758
- A `help` command is added by default if your command has subcommands. It can be used alone, or with a subcommand name to show
759
- further help for the subcommand. These are effectively the same if the `shell` program has implicit help:
760
-
761
- ```sh
762
- shell help
763
- shell --help
764
-
765
- shell help spawn
766
- shell spawn --help
767
- ```
768
-
769
- Long descriptions are wrapped to fit the available width. (However, a description that includes a line-break followed by whitespace is assumed to be pre-formatted and not wrapped.)
770
-
771
- ### Custom help
772
-
773
- You can add extra text to be displayed along with the built-in help.
774
-
775
- Example file: [custom-help](./examples/custom-help)
776
-
777
- ```js
778
- program
779
- .option('-f, --foo', 'enable some foo');
780
-
781
- program.addHelpText('after', `
782
-
783
- Example call:
784
- $ custom-help --help`);
785
- ```
786
-
787
- Yields the following help output:
788
-
789
- ```Text
790
- Usage: custom-help [options]
791
-
792
- Options:
793
- -f, --foo enable some foo
794
- -h, --help display help for command
795
-
796
- Example call:
797
- $ custom-help --help
798
- ```
799
-
800
- The positions in order displayed are:
801
-
802
- - `beforeAll`: add to the program for a global banner or header
803
- - `before`: display extra information before built-in help
804
- - `after`: display extra information after built-in help
805
- - `afterAll`: add to the program for a global footer (epilog)
806
-
807
- The positions "beforeAll" and "afterAll" apply to the command and all its subcommands.
808
-
809
- The second parameter can be a string, or a function returning a string. The function is passed a context object for your convenience. The properties are:
810
-
811
- - error: a boolean for whether the help is being displayed due to a usage error
812
- - command: the Command which is displaying the help
813
-
814
- ### Display help after errors
815
-
816
- The default behaviour for usage errors is to just display a short error message.
817
- You can change the behaviour to show the full help or a custom help message after an error.
818
-
819
- ```js
820
- program.showHelpAfterError();
821
- // or
822
- program.showHelpAfterError('(add --help for additional information)');
823
- ```
824
-
825
- ```console
826
- $ pizza --unknown
827
- error: unknown option '--unknown'
828
- (add --help for additional information)
829
- ```
830
-
831
- The default behaviour is to suggest correct spelling after an error for an unknown command or option. You
832
- can disable this.
833
-
834
- ```js
835
- program.showSuggestionAfterError(false);
836
- ```
837
-
838
- ```console
839
- $ pizza --hepl
840
- error: unknown option '--hepl'
841
- (Did you mean --help?)
842
- ```
843
-
844
- ### Display help from code
845
-
846
- `.help()`: display help information and exit immediately. You can optionally pass `{ error: true }` to display on stderr and exit with an error status.
847
-
848
- `.outputHelp()`: output help information without exiting. You can optionally pass `{ error: true }` to display on stderr.
849
-
850
- `.helpInformation()`: get the built-in command help information as a string for processing or displaying yourself.
851
-
852
- ### .name
853
-
854
- The command name appears in the help, and is also used for locating stand-alone executable subcommands.
855
-
856
- You may specify the program name using `.name()` or in the Command constructor. For the program, Commander will
857
- fall back to using the script name from the full arguments passed into `.parse()`. However, the script name varies
858
- depending on how your program is launched, so you may wish to specify it explicitly.
859
-
860
- ```js
861
- program.name('pizza');
862
- const pm = new Command('pm');
863
- ```
864
-
865
- Subcommands get a name when specified using `.command()`. If you create the subcommand yourself to use with `.addCommand()`,
866
- then set the name using `.name()` or in the Command constructor.
867
-
868
- ### .usage
869
-
870
- This allows you to customise the usage description in the first line of the help. Given:
871
-
872
- ```js
873
- program
874
- .name("my-command")
875
- .usage("[global options] command")
876
- ```
877
-
878
- The help will start with:
879
-
880
- ```Text
881
- Usage: my-command [global options] command
882
- ```
883
-
884
- ### .description and .summary
885
-
886
- The description appears in the help for the command. You can optionally supply a shorter
887
- summary to use when listed as a subcommand of the program.
888
-
889
- ```js
890
- program
891
- .command("duplicate")
892
- .summary("make a copy")
893
- .description(`Make a copy of the current project.
894
- This may require additional disk space.
895
- `);
896
- ```
897
-
898
- ### .helpOption(flags, description)
899
-
900
- By default, every command has a help option. You may change the default help flags and description. Pass false to disable the built-in help option.
901
-
902
- ```js
903
- program
904
- .helpOption('-e, --HELP', 'read more information');
905
- ```
906
-
907
- ### .addHelpCommand()
908
-
909
- A help command is added by default if your command has subcommands. You can explicitly turn on or off the implicit help command with `.addHelpCommand()` and `.addHelpCommand(false)`.
910
-
911
- You can both turn on and customise the help command by supplying the name and description:
912
-
913
- ```js
914
- program.addHelpCommand('assist [command]', 'show assistance');
915
- ```
916
-
917
- ### More configuration
918
-
919
- The built-in help is formatted using the Help class.
920
- You can configure the Help behaviour by modifying data properties and methods using `.configureHelp()`, or by subclassing using `.createHelp()` if you prefer.
921
-
922
- The data properties are:
923
-
924
- - `helpWidth`: specify the wrap width, useful for unit tests
925
- - `sortSubcommands`: sort the subcommands alphabetically
926
- - `sortOptions`: sort the options alphabetically
927
- - `showGlobalOptions`: show a section with the global options from the parent command(s)
928
-
929
- You can override any method on the [Help](./lib/help.js) class. There are methods getting the visible lists of arguments, options, and subcommands. There are methods for formatting the items in the lists, with each item having a _term_ and _description_. Take a look at `.formatHelp()` to see how they are used.
930
-
931
- Example file: [configure-help.js](./examples/configure-help.js)
932
-
933
- ```js
934
- program.configureHelp({
935
- sortSubcommands: true,
936
- subcommandTerm: (cmd) => cmd.name() // Just show the name, instead of short usage.
937
- });
938
- ```
939
-
940
- ## Custom event listeners
941
-
942
- You can execute custom actions by listening to command and option events.
943
-
944
- ```js
945
- program.on('option:verbose', function () {
946
- process.env.VERBOSE = this.opts().verbose;
947
- });
948
- ```
949
-
950
- ## Bits and pieces
951
-
952
- ### .parse() and .parseAsync()
953
-
954
- The first argument to `.parse` is the array of strings to parse. You may omit the parameter to implicitly use `process.argv`.
955
-
956
- If the arguments follow different conventions than node you can pass a `from` option in the second parameter:
957
-
958
- - 'node': default, `argv[0]` is the application and `argv[1]` is the script being run, with user parameters after that
959
- - 'electron': `argv[1]` varies depending on whether the electron application is packaged
960
- - 'user': all of the arguments from the user
961
-
962
- For example:
963
-
964
- ```js
965
- program.parse(process.argv); // Explicit, node conventions
966
- program.parse(); // Implicit, and auto-detect electron
967
- program.parse(['-f', 'filename'], { from: 'user' });
968
- ```
969
-
970
- ### Parsing Configuration
971
-
972
- If the default parsing does not suit your needs, there are some behaviours to support other usage patterns.
973
-
974
- By default, program options are recognised before and after subcommands. To only look for program options before subcommands, use `.enablePositionalOptions()`. This lets you use
975
- an option for a different purpose in subcommands.
976
-
977
- Example file: [positional-options.js](./examples/positional-options.js)
978
-
979
- With positional options, the `-b` is a program option in the first line and a subcommand option in the second line:
980
-
981
- ```sh
982
- program -b subcommand
983
- program subcommand -b
984
- ```
985
-
986
- By default, options are recognised before and after command-arguments. To only process options that come
987
- before the command-arguments, use `.passThroughOptions()`. This lets you pass the arguments and following options through to another program
988
- without needing to use `--` to end the option processing.
989
- To use pass through options in a subcommand, the program needs to enable positional options.
990
-
991
- Example file: [pass-through-options.js](./examples/pass-through-options.js)
992
-
993
- With pass through options, the `--port=80` is a program option in the first line and passed through as a command-argument in the second line:
994
-
995
- ```sh
996
- program --port=80 arg
997
- program arg --port=80
998
- ```
999
-
1000
- By default, the option processing shows an error for an unknown option. To have an unknown option treated as an ordinary command-argument and continue looking for options, use `.allowUnknownOption()`. This lets you mix known and unknown options.
1001
-
1002
- By default, the argument processing does not display an error for more command-arguments than expected.
1003
- To display an error for excess arguments, use`.allowExcessArguments(false)`.
1004
-
1005
- ### Legacy options as properties
1006
-
1007
- Before Commander 7, the option values were stored as properties on the command.
1008
- This was convenient to code, but the downside was possible clashes with
1009
- existing properties of `Command`. You can revert to the old behaviour to run unmodified legacy code by using `.storeOptionsAsProperties()`.
1010
-
1011
- ```js
1012
- program
1013
- .storeOptionsAsProperties()
1014
- .option('-d, --debug')
1015
- .action((commandAndOptions) => {
1016
- if (commandAndOptions.debug) {
1017
- console.error(`Called ${commandAndOptions.name()}`);
1018
- }
1019
- });
1020
- ```
1021
-
1022
- ### TypeScript
1023
-
1024
- extra-typings: There is an optional project to infer extra type information from the option and argument definitions.
1025
- This adds strong typing to the options returned by `.opts()` and the parameters to `.action()`.
1026
- See [commander-js/extra-typings](https://github.com/commander-js/extra-typings) for more.
1027
-
1028
- ```
1029
- import { Command } from '@commander-js/extra-typings';
1030
- ```
1031
-
1032
- ts-node: If you use `ts-node` and stand-alone executable subcommands written as `.ts` files, you need to call your program through node to get the subcommands called correctly. e.g.
1033
-
1034
- ```sh
1035
- node -r ts-node/register pm.ts
1036
- ```
1037
-
1038
- ### createCommand()
1039
-
1040
- This factory function creates a new command. It is exported and may be used instead of using `new`, like:
1041
-
1042
- ```js
1043
- const { createCommand } = require('commander');
1044
- const program = createCommand();
1045
- ```
1046
-
1047
- `createCommand` is also a method of the Command object, and creates a new command rather than a subcommand. This gets used internally
1048
- when creating subcommands using `.command()`, and you may override it to
1049
- customise the new subcommand (example file [custom-command-class.js](./examples/custom-command-class.js)).
1050
-
1051
- ### Node options such as `--harmony`
1052
-
1053
- You can enable `--harmony` option in two ways:
1054
-
1055
- - Use `#! /usr/bin/env node --harmony` in the subcommands scripts. (Note Windows does not support this pattern.)
1056
- - Use the `--harmony` option when call the command, like `node --harmony examples/pm publish`. The `--harmony` option will be preserved when spawning subcommand process.
1057
-
1058
- ### Debugging stand-alone executable subcommands
1059
-
1060
- An executable subcommand is launched as a separate child process.
1061
-
1062
- If you are using the node inspector for [debugging](https://nodejs.org/en/docs/guides/debugging-getting-started/) executable subcommands using `node --inspect` et al.,
1063
- the inspector port is incremented by 1 for the spawned subcommand.
1064
-
1065
- If you are using VSCode to debug executable subcommands you need to set the `"autoAttachChildProcesses": true` flag in your launch.json configuration.
1066
-
1067
- ### npm run-script
1068
-
1069
- By default, when you call your program using run-script, `npm` will parse any options on the command-line and they will not reach your program. Use
1070
- `--` to stop the npm option parsing and pass through all the arguments.
1071
-
1072
- The synopsis for [npm run-script](https://docs.npmjs.com/cli/v9/commands/npm-run-script) explicitly shows the `--` for this reason:
1073
-
1074
- ```console
1075
- npm run-script <command> [-- <args>]
1076
- ```
1077
-
1078
- ### Display error
1079
-
1080
- This routine is available to invoke the Commander error handling for your own error conditions. (See also the next section about exit handling.)
1081
-
1082
- As well as the error message, you can optionally specify the `exitCode` (used with `process.exit`)
1083
- and `code` (used with `CommanderError`).
1084
-
1085
- ```js
1086
- program.error('Password must be longer than four characters');
1087
- program.error('Custom processing has failed', { exitCode: 2, code: 'my.custom.error' });
1088
- ```
1089
-
1090
- ### Override exit and output handling
1091
-
1092
- By default, Commander calls `process.exit` when it detects errors, or after displaying the help or version. You can override
1093
- this behaviour and optionally supply a callback. The default override throws a `CommanderError`.
1094
-
1095
- The override callback is passed a `CommanderError` with properties `exitCode` number, `code` string, and `message`. The default override behaviour is to throw the error, except for async handling of executable subcommand completion which carries on. The normal display of error messages or version or help
1096
- is not affected by the override which is called after the display.
1097
-
1098
- ```js
1099
- program.exitOverride();
1100
-
1101
- try {
1102
- program.parse(process.argv);
1103
- } catch (err) {
1104
- // custom processing...
1105
- }
1106
- ```
1107
-
1108
- By default, Commander is configured for a command-line application and writes to stdout and stderr.
1109
- You can modify this behaviour for custom applications. In addition, you can modify the display of error messages.
1110
-
1111
- Example file: [configure-output.js](./examples/configure-output.js)
1112
-
1113
- ```js
1114
- function errorColor(str) {
1115
- // Add ANSI escape codes to display text in red.
1116
- return `\x1b[31m${str}\x1b[0m`;
1117
- }
1118
-
1119
- program
1120
- .configureOutput({
1121
- // Visibly override write routines as example!
1122
- writeOut: (str) => process.stdout.write(`[OUT] ${str}`),
1123
- writeErr: (str) => process.stdout.write(`[ERR] ${str}`),
1124
- // Highlight errors in color.
1125
- outputError: (str, write) => write(errorColor(str))
1126
- });
1127
- ```
1128
-
1129
- ### Additional documentation
1130
-
1131
- There is more information available about:
1132
-
1133
- - [deprecated](./docs/deprecated.md) features still supported for backwards compatibility
1134
- - [options taking varying arguments](./docs/options-in-depth.md)
1135
- - [parsing life cycle and hooks](./docs/parsing-and-hooks.md)
1136
-
1137
- ## Support
1138
-
1139
- The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v16.
1140
- (For older versions of Node.js, use an older version of Commander.)
1141
-
1142
- The main forum for free and community support is the project [Issues](https://github.com/tj/commander.js/issues) on GitHub.
1143
-
1144
- ### Commander for enterprise
1145
-
1146
- Available as part of the Tidelift Subscription
1147
-
1148
- The maintainers of Commander and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-commander?utm_source=npm-commander&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)