@ekanos/cli 0.33.2 → 0.34.0

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 (2406) hide show
  1. package/dist/agents-api.d.ts +0 -24
  2. package/dist/agents-api.js.map +1 -1
  3. package/dist/apps-api.d.ts +0 -14
  4. package/dist/apps-api.js.map +1 -1
  5. package/dist/auth/credential-store.d.ts +0 -60
  6. package/dist/auth/credential-store.js +2 -72
  7. package/dist/auth/credential-store.js.map +1 -1
  8. package/dist/auth/device-flow.d.ts +0 -35
  9. package/dist/auth/device-flow.js +0 -45
  10. package/dist/auth/device-flow.js.map +1 -1
  11. package/dist/auth/ekanos-api.d.ts +0 -54
  12. package/dist/auth/ekanos-api.js +2 -174
  13. package/dist/auth/ekanos-api.js.map +1 -1
  14. package/dist/auth/host-trust.d.ts +0 -35
  15. package/dist/auth/host-trust.js +2 -34
  16. package/dist/auth/host-trust.js.map +1 -1
  17. package/dist/auth/session.d.ts +0 -63
  18. package/dist/auth/session.js +0 -68
  19. package/dist/auth/session.js.map +1 -1
  20. package/dist/banner.d.ts +0 -22
  21. package/dist/banner.js +0 -25
  22. package/dist/banner.js.map +1 -1
  23. package/dist/bin.js +0 -15
  24. package/dist/bin.js.map +1 -1
  25. package/dist/catalog-api.d.ts +0 -23
  26. package/dist/catalog-api.js +0 -6
  27. package/dist/catalog-api.js.map +1 -1
  28. package/dist/claude-docs.d.ts +1 -23
  29. package/dist/claude-docs.js +0 -8
  30. package/dist/claude-docs.js.map +1 -1
  31. package/dist/commands/add.js +0 -1
  32. package/dist/commands/add.js.map +1 -1
  33. package/dist/commands/agents-edit.d.ts +1 -19
  34. package/dist/commands/agents-edit.js +2 -10
  35. package/dist/commands/agents-edit.js.map +1 -1
  36. package/dist/commands/agents-init.d.ts +0 -21
  37. package/dist/commands/agents-init.js +3 -16
  38. package/dist/commands/agents-init.js.map +1 -1
  39. package/dist/commands/agents.d.ts +0 -40
  40. package/dist/commands/agents.js +3 -50
  41. package/dist/commands/agents.js.map +1 -1
  42. package/dist/commands/apps.d.ts +0 -43
  43. package/dist/commands/apps.js +4 -59
  44. package/dist/commands/apps.js.map +1 -1
  45. package/dist/commands/audiences.d.ts +0 -21
  46. package/dist/commands/audiences.js +0 -21
  47. package/dist/commands/audiences.js.map +1 -1
  48. package/dist/commands/catalog.d.ts +0 -15
  49. package/dist/commands/catalog.js +0 -34
  50. package/dist/commands/catalog.js.map +1 -1
  51. package/dist/commands/contract.d.ts +0 -16
  52. package/dist/commands/contract.js +1 -9
  53. package/dist/commands/contract.js.map +1 -1
  54. package/dist/commands/dev.d.ts +0 -36
  55. package/dist/commands/dev.js +1 -95
  56. package/dist/commands/dev.js.map +1 -1
  57. package/dist/commands/doctor.d.ts +0 -18
  58. package/dist/commands/doctor.js +0 -20
  59. package/dist/commands/doctor.js.map +1 -1
  60. package/dist/commands/feedback.d.ts +0 -17
  61. package/dist/commands/feedback.js +0 -22
  62. package/dist/commands/feedback.js.map +1 -1
  63. package/dist/commands/index-experience.d.ts +2 -13
  64. package/dist/commands/index-experience.js +0 -4
  65. package/dist/commands/index-experience.js.map +1 -1
  66. package/dist/commands/init.d.ts +0 -85
  67. package/dist/commands/init.js +1 -124
  68. package/dist/commands/init.js.map +1 -1
  69. package/dist/commands/knowledge.d.ts +0 -37
  70. package/dist/commands/knowledge.js +4 -42
  71. package/dist/commands/knowledge.js.map +1 -1
  72. package/dist/commands/login.d.ts +0 -31
  73. package/dist/commands/login.js +1 -49
  74. package/dist/commands/login.js.map +1 -1
  75. package/dist/commands/logout.d.ts +0 -21
  76. package/dist/commands/logout.js +0 -40
  77. package/dist/commands/logout.js.map +1 -1
  78. package/dist/commands/names.d.ts +0 -8
  79. package/dist/commands/names.js +1 -7
  80. package/dist/commands/names.js.map +1 -1
  81. package/dist/commands/publish.d.ts +1 -130
  82. package/dist/commands/publish.js +2 -187
  83. package/dist/commands/publish.js.map +1 -1
  84. package/dist/commands/reviewers.d.ts +0 -10
  85. package/dist/commands/reviewers.js +1 -8
  86. package/dist/commands/reviewers.js.map +1 -1
  87. package/dist/commands/routes.d.ts +0 -12
  88. package/dist/commands/routes.js +1 -11
  89. package/dist/commands/routes.js.map +1 -1
  90. package/dist/commands/runs.d.ts +0 -30
  91. package/dist/commands/runs.js +2 -46
  92. package/dist/commands/runs.js.map +1 -1
  93. package/dist/commands/scope-notice.d.ts +0 -16
  94. package/dist/commands/scope-notice.js +0 -18
  95. package/dist/commands/scope-notice.js.map +1 -1
  96. package/dist/commands/skills.d.ts +0 -22
  97. package/dist/commands/skills.js +3 -28
  98. package/dist/commands/skills.js.map +1 -1
  99. package/dist/commands/sources-roles.js +0 -17
  100. package/dist/commands/sources-roles.js.map +1 -1
  101. package/dist/commands/sources.d.ts +0 -19
  102. package/dist/commands/sources.js +0 -38
  103. package/dist/commands/sources.js.map +1 -1
  104. package/dist/commands/status.d.ts +2 -102
  105. package/dist/commands/status.js +50 -171
  106. package/dist/commands/status.js.map +1 -1
  107. package/dist/commands/sync.js +0 -10
  108. package/dist/commands/sync.js.map +1 -1
  109. package/dist/commands/team-agent-access.d.ts +0 -26
  110. package/dist/commands/team-agent-access.js +1 -26
  111. package/dist/commands/team-agent-access.js.map +1 -1
  112. package/dist/commands/team-agent-readiness.d.ts +2 -38
  113. package/dist/commands/team-agent-readiness.js +0 -26
  114. package/dist/commands/team-agent-readiness.js.map +1 -1
  115. package/dist/commands/team-agents-agents.d.ts +0 -29
  116. package/dist/commands/team-agents-agents.js +3 -68
  117. package/dist/commands/team-agents-agents.js.map +1 -1
  118. package/dist/commands/team-agents-define.d.ts +0 -27
  119. package/dist/commands/team-agents-define.js +1 -29
  120. package/dist/commands/team-agents-define.js.map +1 -1
  121. package/dist/commands/team-agents-mcp.js +0 -26
  122. package/dist/commands/team-agents-mcp.js.map +1 -1
  123. package/dist/commands/team-agents-triggers.d.ts +0 -7
  124. package/dist/commands/team-agents-triggers.js +0 -45
  125. package/dist/commands/team-agents-triggers.js.map +1 -1
  126. package/dist/commands/team-agents.d.ts +0 -17
  127. package/dist/commands/team-agents.js +0 -16
  128. package/dist/commands/team-agents.js.map +1 -1
  129. package/dist/commands/team-llm-key.d.ts +0 -10
  130. package/dist/commands/team-llm-key.js +0 -12
  131. package/dist/commands/team-llm-key.js.map +1 -1
  132. package/dist/commands/teams-audience.d.ts +0 -17
  133. package/dist/commands/teams-audience.js +1 -22
  134. package/dist/commands/teams-audience.js.map +1 -1
  135. package/dist/commands/teams-channel-install.d.ts +0 -13
  136. package/dist/commands/teams-channel-install.js +0 -13
  137. package/dist/commands/teams-channel-install.js.map +1 -1
  138. package/dist/commands/teams-connect.d.ts +0 -60
  139. package/dist/commands/teams-connect.js +1 -86
  140. package/dist/commands/teams-connect.js.map +1 -1
  141. package/dist/commands/teams-events.d.ts +0 -7
  142. package/dist/commands/teams-events.js +0 -8
  143. package/dist/commands/teams-events.js.map +1 -1
  144. package/dist/commands/teams-lifecycle.d.ts +0 -25
  145. package/dist/commands/teams-lifecycle.js +1 -24
  146. package/dist/commands/teams-lifecycle.js.map +1 -1
  147. package/dist/commands/teams-onboard.d.ts +0 -10
  148. package/dist/commands/teams-onboard.js +0 -7
  149. package/dist/commands/teams-onboard.js.map +1 -1
  150. package/dist/commands/teams-overview.d.ts +0 -7
  151. package/dist/commands/teams-overview.js +0 -15
  152. package/dist/commands/teams-overview.js.map +1 -1
  153. package/dist/commands/teams-scope.d.ts +0 -6
  154. package/dist/commands/teams-scope.js +0 -6
  155. package/dist/commands/teams-scope.js.map +1 -1
  156. package/dist/commands/teams.d.ts +0 -49
  157. package/dist/commands/teams.js +3 -48
  158. package/dist/commands/teams.js.map +1 -1
  159. package/dist/commands/test.d.ts +0 -29
  160. package/dist/commands/test.js +1 -41
  161. package/dist/commands/test.js.map +1 -1
  162. package/dist/commands/upgrade.d.ts +0 -17
  163. package/dist/commands/upgrade.js +3 -142
  164. package/dist/commands/upgrade.js.map +1 -1
  165. package/dist/commands/use.d.ts +0 -12
  166. package/dist/commands/use.js +0 -12
  167. package/dist/commands/use.js.map +1 -1
  168. package/dist/commands/validate.d.ts +0 -15
  169. package/dist/commands/validate.js +0 -41
  170. package/dist/commands/validate.js.map +1 -1
  171. package/dist/commands/whoami.d.ts +0 -18
  172. package/dist/commands/whoami.js +0 -17
  173. package/dist/commands/whoami.js.map +1 -1
  174. package/dist/commands/workflows.d.ts +0 -11
  175. package/dist/commands/workflows.js +2 -14
  176. package/dist/commands/workflows.js.map +1 -1
  177. package/dist/compatibility.d.ts +0 -108
  178. package/dist/compatibility.js +0 -109
  179. package/dist/compatibility.js.map +1 -1
  180. package/dist/connect-fields.d.ts +0 -19
  181. package/dist/connect-fields.js +0 -21
  182. package/dist/connect-fields.js.map +1 -1
  183. package/dist/connections-api.d.ts +4 -7
  184. package/dist/connections-api.js +1 -14
  185. package/dist/connections-api.js.map +1 -1
  186. package/dist/context.d.ts +0 -80
  187. package/dist/context.js +0 -71
  188. package/dist/context.js.map +1 -1
  189. package/dist/contract-verification.d.ts +0 -10
  190. package/dist/contract-verification.js +0 -10
  191. package/dist/contract-verification.js.map +1 -1
  192. package/dist/contracts-api.d.ts +0 -16
  193. package/dist/contracts-api.js.map +1 -1
  194. package/dist/copy-tree.d.ts +0 -38
  195. package/dist/copy-tree.js +0 -17
  196. package/dist/copy-tree.js.map +1 -1
  197. package/dist/delegate.d.ts +0 -18
  198. package/dist/delegate.js +0 -59
  199. package/dist/delegate.js.map +1 -1
  200. package/dist/design-findings.d.ts +0 -20
  201. package/dist/design-findings.js +0 -20
  202. package/dist/design-findings.js.map +1 -1
  203. package/dist/dev-experience.d.ts +0 -36
  204. package/dist/dev-experience.js +1 -30
  205. package/dist/dev-experience.js.map +1 -1
  206. package/dist/did-you-mean.d.ts +0 -32
  207. package/dist/did-you-mean.js +1 -53
  208. package/dist/did-you-mean.js.map +1 -1
  209. package/dist/docs-links.d.ts +0 -15
  210. package/dist/docs-links.js +0 -15
  211. package/dist/docs-links.js.map +1 -1
  212. package/dist/doctor-api.d.ts +0 -22
  213. package/dist/doctor-api.js +0 -2
  214. package/dist/doctor-api.js.map +1 -1
  215. package/dist/errors.d.ts +0 -23
  216. package/dist/errors.js +0 -22
  217. package/dist/errors.js.map +1 -1
  218. package/dist/exit-codes.d.ts +0 -12
  219. package/dist/exit-codes.js +0 -12
  220. package/dist/exit-codes.js.map +1 -1
  221. package/dist/experience/boundary.d.ts +0 -9
  222. package/dist/experience/boundary.js +4 -15
  223. package/dist/experience/boundary.js.map +1 -1
  224. package/dist/experience/build.d.ts +0 -9
  225. package/dist/experience/build.js +5 -14
  226. package/dist/experience/build.js.map +1 -1
  227. package/dist/experience/checks.d.ts +0 -11
  228. package/dist/experience/checks.js +3 -9
  229. package/dist/experience/checks.js.map +1 -1
  230. package/dist/experience/clean-room.d.ts +5 -29
  231. package/dist/experience/clean-room.js +19 -45
  232. package/dist/experience/clean-room.js.map +1 -1
  233. package/dist/experience/contract-sources.d.ts +1 -23
  234. package/dist/experience/contract-sources.js +5 -15
  235. package/dist/experience/contract-sources.js.map +1 -1
  236. package/dist/experience/definition-checks.d.ts +0 -22
  237. package/dist/experience/definition-checks.js +2 -27
  238. package/dist/experience/definition-checks.js.map +1 -1
  239. package/dist/experience/definition-shape.d.ts +3 -11
  240. package/dist/experience/definition-shape.js.map +1 -1
  241. package/dist/experience/host-contract-source.d.ts +0 -17
  242. package/dist/experience/host-contract-source.js +0 -16
  243. package/dist/experience/host-contract-source.js.map +1 -1
  244. package/dist/experience/host-npm.d.ts +12 -0
  245. package/dist/experience/host-npm.js +40 -0
  246. package/dist/experience/host-npm.js.map +1 -0
  247. package/dist/experience/init.d.ts +0 -1
  248. package/dist/experience/init.js +0 -3
  249. package/dist/experience/init.js.map +1 -1
  250. package/dist/experience/integrations-codegen.d.ts +0 -8
  251. package/dist/experience/integrations-codegen.js +1 -7
  252. package/dist/experience/integrations-codegen.js.map +1 -1
  253. package/dist/experience/json-schema-to-ts.js.map +1 -1
  254. package/dist/experience/load-experience.d.ts +0 -11
  255. package/dist/experience/load-experience.js +0 -22
  256. package/dist/experience/load-experience.js.map +1 -1
  257. package/dist/experience/overrides.d.ts +0 -6
  258. package/dist/experience/overrides.js +0 -6
  259. package/dist/experience/overrides.js.map +1 -1
  260. package/dist/experience/pin-integration.d.ts +0 -2
  261. package/dist/experience/pin-integration.js +0 -3
  262. package/dist/experience/pin-integration.js.map +1 -1
  263. package/dist/experience/pin-ops.d.ts +1 -9
  264. package/dist/experience/pin-ops.js +0 -7
  265. package/dist/experience/pin-ops.js.map +1 -1
  266. package/dist/experience/pins.d.ts +0 -23
  267. package/dist/experience/pins.js +2 -18
  268. package/dist/experience/pins.js.map +1 -1
  269. package/dist/experience/project.d.ts +0 -30
  270. package/dist/experience/project.js +4 -33
  271. package/dist/experience/project.js.map +1 -1
  272. package/dist/experience/publish.d.ts +0 -47
  273. package/dist/experience/publish.js +20 -61
  274. package/dist/experience/publish.js.map +1 -1
  275. package/dist/experience/regenerate.d.ts +0 -3
  276. package/dist/experience/regenerate.js +1 -5
  277. package/dist/experience/regenerate.js.map +1 -1
  278. package/dist/experience/report.d.ts +0 -5
  279. package/dist/experience/report.js +0 -5
  280. package/dist/experience/report.js.map +1 -1
  281. package/dist/feedback-api.d.ts +0 -20
  282. package/dist/feedback-api.js +0 -5
  283. package/dist/feedback-api.js.map +1 -1
  284. package/dist/feedback-context.d.ts +0 -19
  285. package/dist/feedback-context.js +2 -37
  286. package/dist/feedback-context.js.map +1 -1
  287. package/dist/feedback-updates.d.ts +0 -4
  288. package/dist/feedback-updates.js +5 -34
  289. package/dist/feedback-updates.js.map +1 -1
  290. package/dist/findings-renderer.d.ts +0 -37
  291. package/dist/findings-renderer.js +0 -49
  292. package/dist/findings-renderer.js.map +1 -1
  293. package/dist/harness-scaffold.d.ts +3 -212
  294. package/dist/harness-scaffold.js +11 -230
  295. package/dist/harness-scaffold.js.map +1 -1
  296. package/dist/host-snapshots.d.ts +0 -36
  297. package/dist/host-snapshots.js +1 -41
  298. package/dist/host-snapshots.js.map +1 -1
  299. package/dist/http-trace.d.ts +0 -10
  300. package/dist/http-trace.js +0 -11
  301. package/dist/http-trace.js.map +1 -1
  302. package/dist/icon-findings.d.ts +0 -16
  303. package/dist/icon-findings.js +0 -28
  304. package/dist/icon-findings.js.map +1 -1
  305. package/dist/index.d.ts +0 -46
  306. package/dist/index.js +17 -146
  307. package/dist/index.js.map +1 -1
  308. package/dist/invocation.d.ts +0 -26
  309. package/dist/invocation.js +0 -27
  310. package/dist/invocation.js.map +1 -1
  311. package/dist/knowledge-api.d.ts +0 -29
  312. package/dist/knowledge-api.js +0 -30
  313. package/dist/knowledge-api.js.map +1 -1
  314. package/dist/last-error.d.ts +0 -3
  315. package/dist/last-error.js +1 -16
  316. package/dist/last-error.js.map +1 -1
  317. package/dist/load-definition.d.ts +0 -10
  318. package/dist/load-definition.js +0 -29
  319. package/dist/load-definition.js.map +1 -1
  320. package/dist/lockfile-instances.d.ts +6 -41
  321. package/dist/lockfile-instances.js +3 -32
  322. package/dist/lockfile-instances.js.map +1 -1
  323. package/dist/merge-manifest.d.ts +0 -27
  324. package/dist/merge-manifest.js +0 -47
  325. package/dist/merge-manifest.js.map +1 -1
  326. package/dist/names-api.d.ts +4 -30
  327. package/dist/names-api.js +3 -3
  328. package/dist/names-api.js.map +1 -1
  329. package/dist/open-url.d.ts +0 -12
  330. package/dist/open-url.js +1 -27
  331. package/dist/open-url.js.map +1 -1
  332. package/dist/pack-hygiene.d.ts +0 -6
  333. package/dist/pack-hygiene.js +0 -8
  334. package/dist/pack-hygiene.js.map +1 -1
  335. package/dist/pack.d.ts +0 -7
  336. package/dist/pack.js +6 -79
  337. package/dist/pack.js.map +1 -1
  338. package/dist/package-manager.d.ts +2 -50
  339. package/dist/package-manager.js +0 -48
  340. package/dist/package-manager.js.map +1 -1
  341. package/dist/parse-argv.d.ts +2 -21
  342. package/dist/parse-argv.js +0 -7
  343. package/dist/parse-argv.js.map +1 -1
  344. package/dist/pnpm-builds.d.ts +0 -32
  345. package/dist/pnpm-builds.js +0 -45
  346. package/dist/pnpm-builds.js.map +1 -1
  347. package/dist/product-kinds.d.ts +0 -7
  348. package/dist/product-kinds.js +0 -7
  349. package/dist/product-kinds.js.map +1 -1
  350. package/dist/product-slug.d.ts +0 -6
  351. package/dist/product-slug.js +0 -6
  352. package/dist/product-slug.js.map +1 -1
  353. package/dist/project-checks.d.ts +0 -80
  354. package/dist/project-checks.js +2 -104
  355. package/dist/project-checks.js.map +1 -1
  356. package/dist/project.d.ts +1 -46
  357. package/dist/project.js +1 -122
  358. package/dist/project.js.map +1 -1
  359. package/dist/publish-api.d.ts +2 -120
  360. package/dist/publish-api.js +1 -95
  361. package/dist/publish-api.js.map +1 -1
  362. package/dist/pull-write.d.ts +0 -15
  363. package/dist/pull-write.js +0 -5
  364. package/dist/pull-write.js.map +1 -1
  365. package/dist/repo/publish.d.ts +0 -34
  366. package/dist/repo/publish.js +1 -18
  367. package/dist/repo/publish.js.map +1 -1
  368. package/dist/repo/scaffold.d.ts +0 -9
  369. package/dist/repo/scaffold.js +2 -14
  370. package/dist/repo/scaffold.js.map +1 -1
  371. package/dist/reviewers-api.d.ts +0 -16
  372. package/dist/reviewers-api.js.map +1 -1
  373. package/dist/routes-api.d.ts +0 -10
  374. package/dist/routes-api.js +0 -24
  375. package/dist/routes-api.js.map +1 -1
  376. package/dist/runs-api.d.ts +0 -11
  377. package/dist/runs-api.js.map +1 -1
  378. package/dist/safe-fs.d.ts +0 -57
  379. package/dist/safe-fs.js +0 -61
  380. package/dist/safe-fs.js.map +1 -1
  381. package/dist/schema-skew.d.ts +0 -68
  382. package/dist/schema-skew.js +2 -75
  383. package/dist/schema-skew.js.map +1 -1
  384. package/dist/seats.d.ts +1 -11
  385. package/dist/seats.js.map +1 -1
  386. package/dist/secret-file.d.ts +0 -8
  387. package/dist/secret-file.js +1 -17
  388. package/dist/secret-file.js.map +1 -1
  389. package/dist/secret-form.d.ts +0 -43
  390. package/dist/secret-form.js +3 -9
  391. package/dist/secret-form.js.map +1 -1
  392. package/dist/secret-input.d.ts +0 -59
  393. package/dist/secret-input.js +0 -22
  394. package/dist/secret-input.js.map +1 -1
  395. package/dist/setup-api.d.ts +8 -0
  396. package/dist/setup-api.js +25 -0
  397. package/dist/setup-api.js.map +1 -0
  398. package/dist/skills-api.d.ts +0 -21
  399. package/dist/skills-api.js +0 -1
  400. package/dist/skills-api.js.map +1 -1
  401. package/dist/source-locator.d.ts +0 -50
  402. package/dist/source-locator.js +0 -77
  403. package/dist/source-locator.js.map +1 -1
  404. package/dist/source-products-api.d.ts +2 -1
  405. package/dist/source-products-api.js +1 -25
  406. package/dist/source-products-api.js.map +1 -1
  407. package/dist/source-target.d.ts +0 -6
  408. package/dist/source-target.js +0 -6
  409. package/dist/source-target.js.map +1 -1
  410. package/dist/sources-api.d.ts +1 -31
  411. package/dist/sources-api.js +0 -6
  412. package/dist/sources-api.js.map +1 -1
  413. package/dist/team-connect-api.d.ts +1 -20
  414. package/dist/team-connect-api.js +1 -32
  415. package/dist/team-connect-api.js.map +1 -1
  416. package/dist/team-lifecycle-api.d.ts +3 -4
  417. package/dist/team-lifecycle-api.js +3 -26
  418. package/dist/team-lifecycle-api.js.map +1 -1
  419. package/dist/teams-api.d.ts +0 -50
  420. package/dist/teams-api.js +0 -11
  421. package/dist/teams-api.js.map +1 -1
  422. package/dist/templates.d.ts +0 -18
  423. package/dist/templates.js +0 -18
  424. package/dist/templates.js.map +1 -1
  425. package/dist/test-report.d.ts +2 -18
  426. package/dist/test-report.js +1 -85
  427. package/dist/test-report.js.map +1 -1
  428. package/dist/toolchain-api.d.ts +4 -60
  429. package/dist/toolchain-api.js +5 -6
  430. package/dist/toolchain-api.js.map +1 -1
  431. package/dist/toolchain-resolve.d.ts +0 -3
  432. package/dist/toolchain-resolve.js +0 -27
  433. package/dist/toolchain-resolve.js.map +1 -1
  434. package/dist/toolchain-snapshot.d.ts +0 -16
  435. package/dist/toolchain-snapshot.js +0 -20
  436. package/dist/toolchain-snapshot.js.map +1 -1
  437. package/dist/toolchain.d.ts +0 -9
  438. package/dist/toolchain.js +0 -16
  439. package/dist/toolchain.js.map +1 -1
  440. package/dist/ui.d.ts +6 -62
  441. package/dist/ui.js +0 -23
  442. package/dist/ui.js.map +1 -1
  443. package/dist/unknown-command.d.ts +0 -13
  444. package/dist/unknown-command.js +0 -14
  445. package/dist/unknown-command.js.map +1 -1
  446. package/dist/update-notice.d.ts +0 -26
  447. package/dist/update-notice.js +1 -74
  448. package/dist/update-notice.js.map +1 -1
  449. package/dist/validate-findings.d.ts +0 -39
  450. package/dist/validate-findings.js +0 -56
  451. package/dist/validate-findings.js.map +1 -1
  452. package/dist/wizard.d.ts +2 -63
  453. package/dist/wizard.js +0 -38
  454. package/dist/wizard.js.map +1 -1
  455. package/dist/workflows-api.d.ts +1 -19
  456. package/dist/workflows-api.js.map +1 -1
  457. package/dist/workspace-root.d.ts +0 -15
  458. package/dist/workspace-root.js +1 -17
  459. package/dist/workspace-root.js.map +1 -1
  460. package/node_modules/@gar/promise-retry/LICENSE +20 -0
  461. package/node_modules/@gar/promise-retry/lib/index.js +62 -0
  462. package/node_modules/@gar/promise-retry/lib/retry.js +109 -0
  463. package/node_modules/@gar/promise-retry/package.json +45 -0
  464. package/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  465. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  466. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  467. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  468. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  469. package/node_modules/@isaacs/fs-minipass/package.json +72 -0
  470. package/node_modules/@isaacs/string-locale-compare/LICENSE +15 -0
  471. package/node_modules/@isaacs/string-locale-compare/index.js +42 -0
  472. package/node_modules/@isaacs/string-locale-compare/package.json +28 -0
  473. package/node_modules/@npmcli/agent/lib/agents.js +258 -0
  474. package/node_modules/@npmcli/agent/lib/dns.js +53 -0
  475. package/node_modules/@npmcli/agent/lib/errors.js +61 -0
  476. package/node_modules/@npmcli/agent/lib/index.js +56 -0
  477. package/node_modules/@npmcli/agent/lib/options.js +90 -0
  478. package/node_modules/@npmcli/agent/lib/proxy.js +88 -0
  479. package/node_modules/@npmcli/agent/package.json +62 -0
  480. package/node_modules/@npmcli/arborist/LICENSE.md +20 -0
  481. package/node_modules/@npmcli/arborist/README.md +315 -0
  482. package/node_modules/@npmcli/arborist/bin/actual.js +19 -0
  483. package/node_modules/@npmcli/arborist/bin/audit.js +51 -0
  484. package/node_modules/@npmcli/arborist/bin/funding.js +38 -0
  485. package/node_modules/@npmcli/arborist/bin/ideal.js +14 -0
  486. package/node_modules/@npmcli/arborist/bin/index.js +112 -0
  487. package/node_modules/@npmcli/arborist/bin/lib/logging.js +77 -0
  488. package/node_modules/@npmcli/arborist/bin/lib/options.js +123 -0
  489. package/node_modules/@npmcli/arborist/bin/lib/print-tree.js +4 -0
  490. package/node_modules/@npmcli/arborist/bin/lib/timers.js +33 -0
  491. package/node_modules/@npmcli/arborist/bin/license.js +48 -0
  492. package/node_modules/@npmcli/arborist/bin/prune.js +48 -0
  493. package/node_modules/@npmcli/arborist/bin/reify.js +48 -0
  494. package/node_modules/@npmcli/arborist/bin/shrinkwrap.js +7 -0
  495. package/node_modules/@npmcli/arborist/bin/virtual.js +14 -0
  496. package/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js +143 -0
  497. package/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js +1706 -0
  498. package/node_modules/@npmcli/arborist/lib/arborist/index.js +322 -0
  499. package/node_modules/@npmcli/arborist/lib/arborist/isolated-reifier.js +513 -0
  500. package/node_modules/@npmcli/arborist/lib/arborist/load-actual.js +491 -0
  501. package/node_modules/@npmcli/arborist/lib/arborist/load-virtual.js +311 -0
  502. package/node_modules/@npmcli/arborist/lib/arborist/rebuild.js +426 -0
  503. package/node_modules/@npmcli/arborist/lib/arborist/reify.js +2023 -0
  504. package/node_modules/@npmcli/arborist/lib/audit-report.js +389 -0
  505. package/node_modules/@npmcli/arborist/lib/calc-dep-flags.js +123 -0
  506. package/node_modules/@npmcli/arborist/lib/can-place-dep.js +449 -0
  507. package/node_modules/@npmcli/arborist/lib/case-insensitive-map.js +50 -0
  508. package/node_modules/@npmcli/arborist/lib/consistent-resolve.js +44 -0
  509. package/node_modules/@npmcli/arborist/lib/debug.js +32 -0
  510. package/node_modules/@npmcli/arborist/lib/deepest-nesting-target.js +18 -0
  511. package/node_modules/@npmcli/arborist/lib/dep-valid.js +179 -0
  512. package/node_modules/@npmcli/arborist/lib/diff.js +330 -0
  513. package/node_modules/@npmcli/arborist/lib/edge.js +364 -0
  514. package/node_modules/@npmcli/arborist/lib/from-path.js +30 -0
  515. package/node_modules/@npmcli/arborist/lib/gather-dep-set.js +43 -0
  516. package/node_modules/@npmcli/arborist/lib/index.js +6 -0
  517. package/node_modules/@npmcli/arborist/lib/install-scripts.js +114 -0
  518. package/node_modules/@npmcli/arborist/lib/inventory.js +137 -0
  519. package/node_modules/@npmcli/arborist/lib/isolated-classes.js +148 -0
  520. package/node_modules/@npmcli/arborist/lib/link.js +162 -0
  521. package/node_modules/@npmcli/arborist/lib/node.js +1632 -0
  522. package/node_modules/@npmcli/arborist/lib/optional-set.js +32 -0
  523. package/node_modules/@npmcli/arborist/lib/override-resolves.js +11 -0
  524. package/node_modules/@npmcli/arborist/lib/override-set.js +304 -0
  525. package/node_modules/@npmcli/arborist/lib/packument-cache.js +77 -0
  526. package/node_modules/@npmcli/arborist/lib/peer-entry-sets.js +77 -0
  527. package/node_modules/@npmcli/arborist/lib/place-dep.js +570 -0
  528. package/node_modules/@npmcli/arborist/lib/printable.js +198 -0
  529. package/node_modules/@npmcli/arborist/lib/query-selector-all.js +961 -0
  530. package/node_modules/@npmcli/arborist/lib/realpath.js +95 -0
  531. package/node_modules/@npmcli/arborist/lib/release-age-exclude.js +45 -0
  532. package/node_modules/@npmcli/arborist/lib/relpath.js +3 -0
  533. package/node_modules/@npmcli/arborist/lib/reset-dep-flags.js +11 -0
  534. package/node_modules/@npmcli/arborist/lib/retire-path.js +19 -0
  535. package/node_modules/@npmcli/arborist/lib/script-allowed.js +384 -0
  536. package/node_modules/@npmcli/arborist/lib/shrinkwrap.js +1231 -0
  537. package/node_modules/@npmcli/arborist/lib/signal-handling.js +74 -0
  538. package/node_modules/@npmcli/arborist/lib/signals.js +58 -0
  539. package/node_modules/@npmcli/arborist/lib/spec-from-lock.js +34 -0
  540. package/node_modules/@npmcli/arborist/lib/tracker.js +86 -0
  541. package/node_modules/@npmcli/arborist/lib/tree-check.js +155 -0
  542. package/node_modules/@npmcli/arborist/lib/unreviewed-scripts.js +101 -0
  543. package/node_modules/@npmcli/arborist/lib/version-from-tgz.js +47 -0
  544. package/node_modules/@npmcli/arborist/lib/vuln.js +218 -0
  545. package/node_modules/@npmcli/arborist/lib/yarn-lock.js +377 -0
  546. package/node_modules/@npmcli/arborist/package.json +99 -0
  547. package/node_modules/@npmcli/config/LICENSE +15 -0
  548. package/node_modules/@npmcli/config/README.md +226 -0
  549. package/node_modules/@npmcli/config/lib/definitions/definition.js +255 -0
  550. package/node_modules/@npmcli/config/lib/definitions/definitions.js +2711 -0
  551. package/node_modules/@npmcli/config/lib/definitions/index.js +88 -0
  552. package/node_modules/@npmcli/config/lib/env-replace.js +16 -0
  553. package/node_modules/@npmcli/config/lib/errors.js +23 -0
  554. package/node_modules/@npmcli/config/lib/index.js +1034 -0
  555. package/node_modules/@npmcli/config/lib/nerf-dart.js +18 -0
  556. package/node_modules/@npmcli/config/lib/parse-allow-scripts-list.js +23 -0
  557. package/node_modules/@npmcli/config/lib/parse-field.js +86 -0
  558. package/node_modules/@npmcli/config/lib/set-envs.js +113 -0
  559. package/node_modules/@npmcli/config/lib/type-defs.js +61 -0
  560. package/node_modules/@npmcli/config/lib/type-description.js +21 -0
  561. package/node_modules/@npmcli/config/lib/umask.js +35 -0
  562. package/node_modules/@npmcli/config/package.json +57 -0
  563. package/node_modules/@npmcli/fs/LICENSE.md +20 -0
  564. package/node_modules/@npmcli/fs/lib/common/get-options.js +20 -0
  565. package/node_modules/@npmcli/fs/lib/common/node.js +9 -0
  566. package/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -0
  567. package/node_modules/@npmcli/fs/lib/cp/errors.js +129 -0
  568. package/node_modules/@npmcli/fs/lib/cp/index.js +22 -0
  569. package/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -0
  570. package/node_modules/@npmcli/fs/lib/index.js +13 -0
  571. package/node_modules/@npmcli/fs/lib/move-file.js +78 -0
  572. package/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -0
  573. package/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -0
  574. package/node_modules/@npmcli/fs/package.json +54 -0
  575. package/node_modules/@npmcli/git/LICENSE +15 -0
  576. package/node_modules/@npmcli/git/lib/clone.js +172 -0
  577. package/node_modules/@npmcli/git/lib/errors.js +36 -0
  578. package/node_modules/@npmcli/git/lib/find.js +15 -0
  579. package/node_modules/@npmcli/git/lib/index.js +9 -0
  580. package/node_modules/@npmcli/git/lib/is-clean.js +6 -0
  581. package/node_modules/@npmcli/git/lib/is.js +4 -0
  582. package/node_modules/@npmcli/git/lib/lines-to-revs.js +147 -0
  583. package/node_modules/@npmcli/git/lib/make-error.js +33 -0
  584. package/node_modules/@npmcli/git/lib/opts.js +57 -0
  585. package/node_modules/@npmcli/git/lib/revs.js +22 -0
  586. package/node_modules/@npmcli/git/lib/spawn.js +44 -0
  587. package/node_modules/@npmcli/git/lib/utils.js +3 -0
  588. package/node_modules/@npmcli/git/lib/which.js +18 -0
  589. package/node_modules/@npmcli/git/package.json +58 -0
  590. package/node_modules/@npmcli/installed-package-contents/LICENSE +15 -0
  591. package/node_modules/@npmcli/installed-package-contents/README.md +109 -0
  592. package/node_modules/@npmcli/installed-package-contents/bin/index.js +44 -0
  593. package/node_modules/@npmcli/installed-package-contents/lib/index.js +181 -0
  594. package/node_modules/@npmcli/installed-package-contents/package.json +52 -0
  595. package/node_modules/@npmcli/map-workspaces/LICENSE.md +20 -0
  596. package/node_modules/@npmcli/map-workspaces/lib/index.js +226 -0
  597. package/node_modules/@npmcli/map-workspaces/package.json +61 -0
  598. package/node_modules/@npmcli/metavuln-calculator/LICENSE +15 -0
  599. package/node_modules/@npmcli/metavuln-calculator/lib/advisory.js +435 -0
  600. package/node_modules/@npmcli/metavuln-calculator/lib/get-dep-spec.js +15 -0
  601. package/node_modules/@npmcli/metavuln-calculator/lib/hash.js +5 -0
  602. package/node_modules/@npmcli/metavuln-calculator/lib/index.js +128 -0
  603. package/node_modules/@npmcli/metavuln-calculator/package.json +62 -0
  604. package/node_modules/@npmcli/name-from-folder/LICENSE +15 -0
  605. package/node_modules/@npmcli/name-from-folder/lib/index.js +7 -0
  606. package/node_modules/@npmcli/name-from-folder/package.json +45 -0
  607. package/node_modules/@npmcli/node-gyp/LICENSE +7 -0
  608. package/node_modules/@npmcli/node-gyp/lib/index.js +14 -0
  609. package/node_modules/@npmcli/node-gyp/package.json +50 -0
  610. package/node_modules/@npmcli/package-json/LICENSE +18 -0
  611. package/node_modules/@npmcli/package-json/lib/index.js +296 -0
  612. package/node_modules/@npmcli/package-json/lib/license.js +27 -0
  613. package/node_modules/@npmcli/package-json/lib/normalize-data.js +254 -0
  614. package/node_modules/@npmcli/package-json/lib/normalize.js +614 -0
  615. package/node_modules/@npmcli/package-json/lib/read-package.js +39 -0
  616. package/node_modules/@npmcli/package-json/lib/sort.js +101 -0
  617. package/node_modules/@npmcli/package-json/lib/update-dependencies.js +75 -0
  618. package/node_modules/@npmcli/package-json/lib/update-scripts.js +29 -0
  619. package/node_modules/@npmcli/package-json/lib/update-workspaces.js +26 -0
  620. package/node_modules/@npmcli/package-json/package.json +59 -0
  621. package/node_modules/@npmcli/promise-spawn/LICENSE +15 -0
  622. package/node_modules/@npmcli/promise-spawn/lib/escape.js +67 -0
  623. package/node_modules/@npmcli/promise-spawn/lib/index.js +218 -0
  624. package/node_modules/@npmcli/promise-spawn/package.json +51 -0
  625. package/node_modules/@npmcli/query/LICENSE +20 -0
  626. package/node_modules/@npmcli/query/lib/index.js +255 -0
  627. package/node_modules/@npmcli/query/package.json +64 -0
  628. package/node_modules/@npmcli/redact/LICENSE +21 -0
  629. package/node_modules/@npmcli/redact/lib/deep-map.js +71 -0
  630. package/node_modules/@npmcli/redact/lib/error.js +28 -0
  631. package/node_modules/@npmcli/redact/lib/index.js +44 -0
  632. package/node_modules/@npmcli/redact/lib/matchers.js +88 -0
  633. package/node_modules/@npmcli/redact/lib/server.js +59 -0
  634. package/node_modules/@npmcli/redact/lib/utils.js +202 -0
  635. package/node_modules/@npmcli/redact/package.json +52 -0
  636. package/node_modules/@npmcli/run-script/LICENSE +15 -0
  637. package/node_modules/@npmcli/run-script/lib/is-server-package.js +11 -0
  638. package/node_modules/@npmcli/run-script/lib/make-spawn-args.js +53 -0
  639. package/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp +2 -0
  640. package/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp.cmd +1 -0
  641. package/node_modules/@npmcli/run-script/lib/package-envs.js +29 -0
  642. package/node_modules/@npmcli/run-script/lib/run-script-pkg.js +114 -0
  643. package/node_modules/@npmcli/run-script/lib/run-script.js +15 -0
  644. package/node_modules/@npmcli/run-script/lib/set-path.js +53 -0
  645. package/node_modules/@npmcli/run-script/lib/signal-manager.js +50 -0
  646. package/node_modules/@npmcli/run-script/lib/validate-options.js +39 -0
  647. package/node_modules/@npmcli/run-script/package.json +53 -0
  648. package/node_modules/@sigstore/bundle/LICENSE +202 -0
  649. package/node_modules/@sigstore/bundle/dist/build.js +100 -0
  650. package/node_modules/@sigstore/bundle/dist/bundle.js +24 -0
  651. package/node_modules/@sigstore/bundle/dist/error.js +25 -0
  652. package/node_modules/@sigstore/bundle/dist/index.js +43 -0
  653. package/node_modules/@sigstore/bundle/dist/serialized.js +49 -0
  654. package/node_modules/@sigstore/bundle/dist/utility.js +2 -0
  655. package/node_modules/@sigstore/bundle/dist/validate.js +199 -0
  656. package/node_modules/@sigstore/bundle/package.json +35 -0
  657. package/node_modules/@sigstore/core/LICENSE +202 -0
  658. package/node_modules/@sigstore/core/dist/asn1/error.js +24 -0
  659. package/node_modules/@sigstore/core/dist/asn1/index.js +20 -0
  660. package/node_modules/@sigstore/core/dist/asn1/length.js +62 -0
  661. package/node_modules/@sigstore/core/dist/asn1/obj.js +155 -0
  662. package/node_modules/@sigstore/core/dist/asn1/parse.js +124 -0
  663. package/node_modules/@sigstore/core/dist/asn1/tag.js +89 -0
  664. package/node_modules/@sigstore/core/dist/crypto.js +69 -0
  665. package/node_modules/@sigstore/core/dist/dsse.js +29 -0
  666. package/node_modules/@sigstore/core/dist/encoding.js +27 -0
  667. package/node_modules/@sigstore/core/dist/index.js +66 -0
  668. package/node_modules/@sigstore/core/dist/json.js +60 -0
  669. package/node_modules/@sigstore/core/dist/oid.js +20 -0
  670. package/node_modules/@sigstore/core/dist/pem.js +43 -0
  671. package/node_modules/@sigstore/core/dist/rfc3161/error.js +21 -0
  672. package/node_modules/@sigstore/core/dist/rfc3161/index.js +20 -0
  673. package/node_modules/@sigstore/core/dist/rfc3161/timestamp.js +212 -0
  674. package/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js +72 -0
  675. package/node_modules/@sigstore/core/dist/stream.js +117 -0
  676. package/node_modules/@sigstore/core/dist/x509/cert.js +245 -0
  677. package/node_modules/@sigstore/core/dist/x509/ext.js +146 -0
  678. package/node_modules/@sigstore/core/dist/x509/index.js +23 -0
  679. package/node_modules/@sigstore/core/dist/x509/sct.js +158 -0
  680. package/node_modules/@sigstore/core/package.json +31 -0
  681. package/node_modules/@sigstore/protobuf-specs/LICENSE +202 -0
  682. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js +59 -0
  683. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js +174 -0
  684. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js +141 -0
  685. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js +35 -0
  686. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js +2179 -0
  687. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js +29 -0
  688. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js +55 -0
  689. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js +81 -0
  690. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js +56 -0
  691. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js +74 -0
  692. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js +103 -0
  693. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js +612 -0
  694. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js +137 -0
  695. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js +284 -0
  696. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js +281 -0
  697. package/node_modules/@sigstore/protobuf-specs/dist/index.js +37 -0
  698. package/node_modules/@sigstore/protobuf-specs/dist/rekor/v2/index.js +35 -0
  699. package/node_modules/@sigstore/protobuf-specs/package.json +35 -0
  700. package/node_modules/@sigstore/sign/LICENSE +202 -0
  701. package/node_modules/@sigstore/sign/dist/bundler/base.js +52 -0
  702. package/node_modules/@sigstore/sign/dist/bundler/bundle.js +81 -0
  703. package/node_modules/@sigstore/sign/dist/bundler/dsse.js +47 -0
  704. package/node_modules/@sigstore/sign/dist/bundler/index.js +7 -0
  705. package/node_modules/@sigstore/sign/dist/bundler/message.js +30 -0
  706. package/node_modules/@sigstore/sign/dist/config.js +143 -0
  707. package/node_modules/@sigstore/sign/dist/error.js +41 -0
  708. package/node_modules/@sigstore/sign/dist/external/error.js +28 -0
  709. package/node_modules/@sigstore/sign/dist/external/fetch.js +98 -0
  710. package/node_modules/@sigstore/sign/dist/external/fulcio.js +42 -0
  711. package/node_modules/@sigstore/sign/dist/external/rekor-v2.js +45 -0
  712. package/node_modules/@sigstore/sign/dist/external/rekor.js +81 -0
  713. package/node_modules/@sigstore/sign/dist/external/tsa.js +44 -0
  714. package/node_modules/@sigstore/sign/dist/identity/ci.js +74 -0
  715. package/node_modules/@sigstore/sign/dist/identity/index.js +20 -0
  716. package/node_modules/@sigstore/sign/dist/identity/provider.js +2 -0
  717. package/node_modules/@sigstore/sign/dist/index.js +19 -0
  718. package/node_modules/@sigstore/sign/dist/signer/fulcio/ca.js +60 -0
  719. package/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js +43 -0
  720. package/node_modules/@sigstore/sign/dist/signer/fulcio/index.js +90 -0
  721. package/node_modules/@sigstore/sign/dist/signer/index.js +22 -0
  722. package/node_modules/@sigstore/sign/dist/signer/signer.js +17 -0
  723. package/node_modules/@sigstore/sign/dist/types/fetch.js +2 -0
  724. package/node_modules/@sigstore/sign/dist/util/index.js +59 -0
  725. package/node_modules/@sigstore/sign/dist/util/oidc.js +35 -0
  726. package/node_modules/@sigstore/sign/dist/util/ua.js +32 -0
  727. package/node_modules/@sigstore/sign/dist/witness/index.js +24 -0
  728. package/node_modules/@sigstore/sign/dist/witness/tlog/client.js +92 -0
  729. package/node_modules/@sigstore/sign/dist/witness/tlog/entry.js +197 -0
  730. package/node_modules/@sigstore/sign/dist/witness/tlog/index.js +97 -0
  731. package/node_modules/@sigstore/sign/dist/witness/tsa/client.js +47 -0
  732. package/node_modules/@sigstore/sign/dist/witness/tsa/index.js +45 -0
  733. package/node_modules/@sigstore/sign/dist/witness/witness.js +2 -0
  734. package/node_modules/@sigstore/sign/package.json +45 -0
  735. package/node_modules/@sigstore/tuf/LICENSE +202 -0
  736. package/node_modules/@sigstore/tuf/dist/appdata.js +43 -0
  737. package/node_modules/@sigstore/tuf/dist/client.js +116 -0
  738. package/node_modules/@sigstore/tuf/dist/error.js +14 -0
  739. package/node_modules/@sigstore/tuf/dist/index.js +56 -0
  740. package/node_modules/@sigstore/tuf/dist/target.js +79 -0
  741. package/node_modules/@sigstore/tuf/package.json +41 -0
  742. package/node_modules/@sigstore/tuf/seeds.json +1 -0
  743. package/node_modules/@sigstore/verify/dist/bundle/dsse.js +44 -0
  744. package/node_modules/@sigstore/verify/dist/bundle/index.js +59 -0
  745. package/node_modules/@sigstore/verify/dist/bundle/message.js +54 -0
  746. package/node_modules/@sigstore/verify/dist/error.js +34 -0
  747. package/node_modules/@sigstore/verify/dist/index.js +28 -0
  748. package/node_modules/@sigstore/verify/dist/key/certificate.js +216 -0
  749. package/node_modules/@sigstore/verify/dist/key/index.js +75 -0
  750. package/node_modules/@sigstore/verify/dist/key/sct.js +78 -0
  751. package/node_modules/@sigstore/verify/dist/policy.js +50 -0
  752. package/node_modules/@sigstore/verify/dist/shared.types.js +2 -0
  753. package/node_modules/@sigstore/verify/dist/timestamp/index.js +24 -0
  754. package/node_modules/@sigstore/verify/dist/timestamp/tsa.js +63 -0
  755. package/node_modules/@sigstore/verify/dist/tlog/checkpoint.js +154 -0
  756. package/node_modules/@sigstore/verify/dist/tlog/dsse.js +106 -0
  757. package/node_modules/@sigstore/verify/dist/tlog/hashedrekord.js +94 -0
  758. package/node_modules/@sigstore/verify/dist/tlog/index.js +92 -0
  759. package/node_modules/@sigstore/verify/dist/tlog/intoto.js +62 -0
  760. package/node_modules/@sigstore/verify/dist/tlog/merkle.js +104 -0
  761. package/node_modules/@sigstore/verify/dist/tlog/set.js +60 -0
  762. package/node_modules/@sigstore/verify/dist/trust/filter.js +23 -0
  763. package/node_modules/@sigstore/verify/dist/trust/index.js +90 -0
  764. package/node_modules/@sigstore/verify/dist/trust/trust.types.js +2 -0
  765. package/node_modules/@sigstore/verify/dist/verifier.js +160 -0
  766. package/node_modules/@sigstore/verify/package.json +36 -0
  767. package/node_modules/@tufjs/canonical-json/LICENSE +21 -0
  768. package/node_modules/@tufjs/canonical-json/lib/index.js +64 -0
  769. package/node_modules/@tufjs/canonical-json/package.json +35 -0
  770. package/node_modules/@tufjs/models/LICENSE +21 -0
  771. package/node_modules/@tufjs/models/dist/base.js +96 -0
  772. package/node_modules/@tufjs/models/dist/delegations.js +119 -0
  773. package/node_modules/@tufjs/models/dist/error.js +27 -0
  774. package/node_modules/@tufjs/models/dist/file.js +191 -0
  775. package/node_modules/@tufjs/models/dist/index.js +24 -0
  776. package/node_modules/@tufjs/models/dist/key.js +90 -0
  777. package/node_modules/@tufjs/models/dist/metadata.js +165 -0
  778. package/node_modules/@tufjs/models/dist/role.js +310 -0
  779. package/node_modules/@tufjs/models/dist/root.js +119 -0
  780. package/node_modules/@tufjs/models/dist/signature.js +40 -0
  781. package/node_modules/@tufjs/models/dist/snapshot.js +72 -0
  782. package/node_modules/@tufjs/models/dist/targets.js +94 -0
  783. package/node_modules/@tufjs/models/dist/timestamp.js +59 -0
  784. package/node_modules/@tufjs/models/dist/utils/guard.js +32 -0
  785. package/node_modules/@tufjs/models/dist/utils/index.js +38 -0
  786. package/node_modules/@tufjs/models/dist/utils/key.js +142 -0
  787. package/node_modules/@tufjs/models/dist/utils/oid.js +26 -0
  788. package/node_modules/@tufjs/models/dist/utils/types.js +2 -0
  789. package/node_modules/@tufjs/models/dist/utils/verify.js +13 -0
  790. package/node_modules/@tufjs/models/package.json +37 -0
  791. package/node_modules/abbrev/LICENSE +46 -0
  792. package/node_modules/abbrev/lib/index.js +53 -0
  793. package/node_modules/abbrev/package.json +41 -0
  794. package/node_modules/agent-base/LICENSE +22 -0
  795. package/node_modules/agent-base/dist/helpers.js +66 -0
  796. package/node_modules/agent-base/dist/index.js +178 -0
  797. package/node_modules/agent-base/package.json +46 -0
  798. package/node_modules/aproba/LICENSE +14 -0
  799. package/node_modules/aproba/index.js +105 -0
  800. package/node_modules/aproba/package.json +35 -0
  801. package/node_modules/archy/LICENSE +18 -0
  802. package/node_modules/archy/examples/beep.js +24 -0
  803. package/node_modules/archy/examples/multi_line.js +25 -0
  804. package/node_modules/archy/index.js +35 -0
  805. package/node_modules/archy/package.json +40 -0
  806. package/node_modules/archy/test/beep.js +40 -0
  807. package/node_modules/archy/test/multi_line.js +45 -0
  808. package/node_modules/archy/test/non_unicode.js +40 -0
  809. package/node_modules/balanced-match/LICENSE.md +23 -0
  810. package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
  811. package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
  812. package/node_modules/balanced-match/dist/esm/index.js +54 -0
  813. package/node_modules/balanced-match/dist/esm/package.json +3 -0
  814. package/node_modules/balanced-match/package.json +68 -0
  815. package/node_modules/bin-links/LICENSE +15 -0
  816. package/node_modules/bin-links/lib/bin-target.js +9 -0
  817. package/node_modules/bin-links/lib/check-bin.js +78 -0
  818. package/node_modules/bin-links/lib/check-bins.js +18 -0
  819. package/node_modules/bin-links/lib/fix-bin.js +42 -0
  820. package/node_modules/bin-links/lib/get-node-modules.js +19 -0
  821. package/node_modules/bin-links/lib/get-paths.js +42 -0
  822. package/node_modules/bin-links/lib/get-prefix.js +3 -0
  823. package/node_modules/bin-links/lib/index.js +44 -0
  824. package/node_modules/bin-links/lib/is-windows.js +2 -0
  825. package/node_modules/bin-links/lib/link-bin.js +9 -0
  826. package/node_modules/bin-links/lib/link-bins.js +23 -0
  827. package/node_modules/bin-links/lib/link-gently.js +96 -0
  828. package/node_modules/bin-links/lib/link-mans.js +53 -0
  829. package/node_modules/bin-links/lib/man-target.js +6 -0
  830. package/node_modules/bin-links/lib/shim-bin.js +87 -0
  831. package/node_modules/bin-links/package.json +63 -0
  832. package/node_modules/binary-extensions/binary-extensions.json +264 -0
  833. package/node_modules/binary-extensions/index.js +3 -0
  834. package/node_modules/binary-extensions/license +10 -0
  835. package/node_modules/binary-extensions/package.json +45 -0
  836. package/node_modules/brace-expansion/LICENSE +23 -0
  837. package/node_modules/brace-expansion/dist/commonjs/index.js +289 -0
  838. package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
  839. package/node_modules/brace-expansion/dist/esm/index.js +285 -0
  840. package/node_modules/brace-expansion/dist/esm/package.json +3 -0
  841. package/node_modules/brace-expansion/package.json +64 -0
  842. package/node_modules/cacache/LICENSE.md +16 -0
  843. package/node_modules/cacache/lib/content/path.js +29 -0
  844. package/node_modules/cacache/lib/content/read.js +165 -0
  845. package/node_modules/cacache/lib/content/rm.js +18 -0
  846. package/node_modules/cacache/lib/content/write.js +206 -0
  847. package/node_modules/cacache/lib/entry-index.js +336 -0
  848. package/node_modules/cacache/lib/get.js +170 -0
  849. package/node_modules/cacache/lib/index.js +42 -0
  850. package/node_modules/cacache/lib/memoization.js +72 -0
  851. package/node_modules/cacache/lib/put.js +80 -0
  852. package/node_modules/cacache/lib/rm.js +31 -0
  853. package/node_modules/cacache/lib/util/glob.js +7 -0
  854. package/node_modules/cacache/lib/util/hash-to-segments.js +7 -0
  855. package/node_modules/cacache/lib/util/tmp.js +32 -0
  856. package/node_modules/cacache/lib/verify.js +258 -0
  857. package/node_modules/cacache/package.json +81 -0
  858. package/node_modules/chalk/license +9 -0
  859. package/node_modules/chalk/package.json +83 -0
  860. package/node_modules/chalk/source/index.js +225 -0
  861. package/node_modules/chalk/source/utilities.js +33 -0
  862. package/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  863. package/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  864. package/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
  865. package/node_modules/chownr/LICENSE.md +63 -0
  866. package/node_modules/chownr/dist/commonjs/index.js +93 -0
  867. package/node_modules/chownr/dist/commonjs/package.json +3 -0
  868. package/node_modules/chownr/dist/esm/index.js +85 -0
  869. package/node_modules/chownr/dist/esm/package.json +3 -0
  870. package/node_modules/chownr/package.json +69 -0
  871. package/node_modules/ci-info/LICENSE +21 -0
  872. package/node_modules/ci-info/index.js +104 -0
  873. package/node_modules/ci-info/package.json +54 -0
  874. package/node_modules/ci-info/vendors.json +363 -0
  875. package/node_modules/cidr-regex/LICENSE +22 -0
  876. package/node_modules/cidr-regex/dist/index.js +21 -0
  877. package/node_modules/cidr-regex/package.json +51 -0
  878. package/node_modules/cmd-shim/LICENSE +15 -0
  879. package/node_modules/cmd-shim/lib/index.js +247 -0
  880. package/node_modules/cmd-shim/lib/to-batch-syntax.js +49 -0
  881. package/node_modules/cmd-shim/package.json +48 -0
  882. package/node_modules/common-ancestor-path/LICENSE.md +55 -0
  883. package/node_modules/common-ancestor-path/dist/commonjs/index.js +20 -0
  884. package/node_modules/common-ancestor-path/dist/commonjs/package.json +3 -0
  885. package/node_modules/common-ancestor-path/dist/esm/index.js +16 -0
  886. package/node_modules/common-ancestor-path/dist/esm/package.json +3 -0
  887. package/node_modules/common-ancestor-path/package.json +60 -0
  888. package/node_modules/cssesc/LICENSE-MIT.txt +20 -0
  889. package/node_modules/cssesc/README.md +201 -0
  890. package/node_modules/cssesc/bin/cssesc +116 -0
  891. package/node_modules/cssesc/cssesc.js +110 -0
  892. package/node_modules/cssesc/man/cssesc.1 +70 -0
  893. package/node_modules/cssesc/package.json +51 -0
  894. package/node_modules/debug/LICENSE +20 -0
  895. package/node_modules/debug/package.json +64 -0
  896. package/node_modules/debug/src/browser.js +272 -0
  897. package/node_modules/debug/src/common.js +292 -0
  898. package/node_modules/debug/src/index.js +10 -0
  899. package/node_modules/debug/src/node.js +263 -0
  900. package/node_modules/diff/CONTRIBUTING.md +28 -0
  901. package/node_modules/diff/LICENSE +29 -0
  902. package/node_modules/diff/dist/diff.js +1782 -0
  903. package/node_modules/diff/dist/diff.min.js +1 -0
  904. package/node_modules/diff/eslint.config.mjs +182 -0
  905. package/node_modules/diff/libcjs/convert/dmp.js +24 -0
  906. package/node_modules/diff/libcjs/convert/xml.js +34 -0
  907. package/node_modules/diff/libcjs/diff/array.js +40 -0
  908. package/node_modules/diff/libcjs/diff/base.js +265 -0
  909. package/node_modules/diff/libcjs/diff/character.js +31 -0
  910. package/node_modules/diff/libcjs/diff/css.js +34 -0
  911. package/node_modules/diff/libcjs/diff/json.js +105 -0
  912. package/node_modules/diff/libcjs/diff/line.js +89 -0
  913. package/node_modules/diff/libcjs/diff/sentence.js +67 -0
  914. package/node_modules/diff/libcjs/diff/word.js +312 -0
  915. package/node_modules/diff/libcjs/index.js +64 -0
  916. package/node_modules/diff/libcjs/package.json +1 -0
  917. package/node_modules/diff/libcjs/patch/apply.js +267 -0
  918. package/node_modules/diff/libcjs/patch/create.js +251 -0
  919. package/node_modules/diff/libcjs/patch/line-endings.js +61 -0
  920. package/node_modules/diff/libcjs/patch/parse.js +150 -0
  921. package/node_modules/diff/libcjs/patch/reverse.js +37 -0
  922. package/node_modules/diff/libcjs/types.js +2 -0
  923. package/node_modules/diff/libcjs/util/array.js +21 -0
  924. package/node_modules/diff/libcjs/util/distance-iterator.js +40 -0
  925. package/node_modules/diff/libcjs/util/params.js +17 -0
  926. package/node_modules/diff/libcjs/util/string.js +200 -0
  927. package/node_modules/diff/libesm/convert/dmp.js +21 -0
  928. package/node_modules/diff/libesm/convert/xml.js +31 -0
  929. package/node_modules/diff/libesm/diff/array.js +16 -0
  930. package/node_modules/diff/libesm/diff/base.js +253 -0
  931. package/node_modules/diff/libesm/diff/character.js +7 -0
  932. package/node_modules/diff/libesm/diff/css.js +10 -0
  933. package/node_modules/diff/libesm/diff/json.js +78 -0
  934. package/node_modules/diff/libesm/diff/line.js +65 -0
  935. package/node_modules/diff/libesm/diff/sentence.js +43 -0
  936. package/node_modules/diff/libesm/diff/word.js +281 -0
  937. package/node_modules/diff/libesm/index.js +30 -0
  938. package/node_modules/diff/libesm/package.json +1 -0
  939. package/node_modules/diff/libesm/patch/apply.js +257 -0
  940. package/node_modules/diff/libesm/patch/create.js +228 -0
  941. package/node_modules/diff/libesm/patch/line-endings.js +44 -0
  942. package/node_modules/diff/libesm/patch/parse.js +147 -0
  943. package/node_modules/diff/libesm/patch/reverse.js +23 -0
  944. package/node_modules/diff/libesm/types.js +1 -0
  945. package/node_modules/diff/libesm/util/array.js +17 -0
  946. package/node_modules/diff/libesm/util/distance-iterator.js +37 -0
  947. package/node_modules/diff/libesm/util/params.js +14 -0
  948. package/node_modules/diff/libesm/util/string.js +184 -0
  949. package/node_modules/diff/package.json +130 -0
  950. package/node_modules/diff/release-notes.md +432 -0
  951. package/node_modules/env-paths/index.js +74 -0
  952. package/node_modules/env-paths/license +9 -0
  953. package/node_modules/env-paths/package.json +45 -0
  954. package/node_modules/exponential-backoff/LICENSE +202 -0
  955. package/node_modules/exponential-backoff/dist/backoff.js +124 -0
  956. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js +25 -0
  957. package/node_modules/exponential-backoff/dist/delay/delay.base.js +45 -0
  958. package/node_modules/exponential-backoff/dist/delay/delay.factory.js +17 -0
  959. package/node_modules/exponential-backoff/dist/delay/delay.interface.js +3 -0
  960. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +82 -0
  961. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +8 -0
  962. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +15 -0
  963. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +7 -0
  964. package/node_modules/exponential-backoff/dist/options.js +31 -0
  965. package/node_modules/exponential-backoff/package.json +62 -0
  966. package/node_modules/fastest-levenshtein/LICENSE.md +21 -0
  967. package/node_modules/fastest-levenshtein/bench.js +96 -0
  968. package/node_modules/fastest-levenshtein/esm/mod.js +138 -0
  969. package/node_modules/fastest-levenshtein/mod.js +142 -0
  970. package/node_modules/fastest-levenshtein/package.json +72 -0
  971. package/node_modules/fastest-levenshtein/test.js +55 -0
  972. package/node_modules/fdir/LICENSE +7 -0
  973. package/node_modules/fdir/dist/index.cjs +588 -0
  974. package/node_modules/fdir/dist/index.d.cts +155 -0
  975. package/node_modules/fdir/dist/index.d.mts +155 -0
  976. package/node_modules/fdir/dist/index.mjs +570 -0
  977. package/node_modules/fdir/package.json +103 -0
  978. package/node_modules/fs-minipass/LICENSE +15 -0
  979. package/node_modules/fs-minipass/lib/index.js +443 -0
  980. package/node_modules/fs-minipass/package.json +54 -0
  981. package/node_modules/glob/LICENSE.md +63 -0
  982. package/node_modules/glob/dist/commonjs/glob.js +248 -0
  983. package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  984. package/node_modules/glob/dist/commonjs/ignore.js +119 -0
  985. package/node_modules/glob/dist/commonjs/index.js +68 -0
  986. package/node_modules/glob/dist/commonjs/index.min.js +4 -0
  987. package/node_modules/glob/dist/commonjs/package.json +3 -0
  988. package/node_modules/glob/dist/commonjs/pattern.js +223 -0
  989. package/node_modules/glob/dist/commonjs/processor.js +301 -0
  990. package/node_modules/glob/dist/commonjs/walker.js +387 -0
  991. package/node_modules/glob/dist/esm/glob.js +244 -0
  992. package/node_modules/glob/dist/esm/has-magic.js +23 -0
  993. package/node_modules/glob/dist/esm/ignore.js +115 -0
  994. package/node_modules/glob/dist/esm/index.js +55 -0
  995. package/node_modules/glob/dist/esm/index.min.js +4 -0
  996. package/node_modules/glob/dist/esm/package.json +3 -0
  997. package/node_modules/glob/dist/esm/pattern.js +219 -0
  998. package/node_modules/glob/dist/esm/processor.js +294 -0
  999. package/node_modules/glob/dist/esm/walker.js +381 -0
  1000. package/node_modules/glob/package.json +98 -0
  1001. package/node_modules/graceful-fs/LICENSE +15 -0
  1002. package/node_modules/graceful-fs/clone.js +23 -0
  1003. package/node_modules/graceful-fs/graceful-fs.js +448 -0
  1004. package/node_modules/graceful-fs/legacy-streams.js +118 -0
  1005. package/node_modules/graceful-fs/package.json +53 -0
  1006. package/node_modules/graceful-fs/polyfills.js +355 -0
  1007. package/node_modules/hosted-git-info/LICENSE +13 -0
  1008. package/node_modules/hosted-git-info/lib/from-url.js +122 -0
  1009. package/node_modules/hosted-git-info/lib/hosts.js +229 -0
  1010. package/node_modules/hosted-git-info/lib/index.js +227 -0
  1011. package/node_modules/hosted-git-info/lib/parse-url.js +81 -0
  1012. package/node_modules/hosted-git-info/package.json +57 -0
  1013. package/node_modules/http-cache-semantics/LICENSE +9 -0
  1014. package/node_modules/http-cache-semantics/index.js +928 -0
  1015. package/node_modules/http-cache-semantics/package.json +22 -0
  1016. package/node_modules/http-proxy-agent/LICENSE +22 -0
  1017. package/node_modules/http-proxy-agent/dist/index.js +148 -0
  1018. package/node_modules/http-proxy-agent/package.json +47 -0
  1019. package/node_modules/https-proxy-agent/LICENSE +22 -0
  1020. package/node_modules/https-proxy-agent/dist/index.js +180 -0
  1021. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  1022. package/node_modules/https-proxy-agent/package.json +50 -0
  1023. package/node_modules/iconv-lite/LICENSE +21 -0
  1024. package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  1025. package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  1026. package/node_modules/iconv-lite/encodings/index.js +23 -0
  1027. package/node_modules/iconv-lite/encodings/internal.js +218 -0
  1028. package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  1029. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  1030. package/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  1031. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  1032. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  1033. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  1034. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  1035. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  1036. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  1037. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  1038. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  1039. package/node_modules/iconv-lite/encodings/utf16.js +187 -0
  1040. package/node_modules/iconv-lite/encodings/utf32.js +307 -0
  1041. package/node_modules/iconv-lite/encodings/utf7.js +283 -0
  1042. package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  1043. package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  1044. package/node_modules/iconv-lite/lib/index.js +182 -0
  1045. package/node_modules/iconv-lite/lib/streams.js +105 -0
  1046. package/node_modules/iconv-lite/package.json +70 -0
  1047. package/node_modules/ignore-walk/LICENSE +15 -0
  1048. package/node_modules/ignore-walk/lib/index.js +310 -0
  1049. package/node_modules/ignore-walk/package.json +64 -0
  1050. package/node_modules/ini/LICENSE +15 -0
  1051. package/node_modules/ini/lib/ini.js +280 -0
  1052. package/node_modules/ini/package.json +45 -0
  1053. package/node_modules/init-package-json/LICENSE.md +18 -0
  1054. package/node_modules/init-package-json/lib/default-input.js +286 -0
  1055. package/node_modules/init-package-json/lib/init-package-json.js +147 -0
  1056. package/node_modules/init-package-json/package.json +66 -0
  1057. package/node_modules/ip-address/LICENSE +19 -0
  1058. package/node_modules/ip-address/dist/address-error.js +12 -0
  1059. package/node_modules/ip-address/dist/common.js +106 -0
  1060. package/node_modules/ip-address/dist/ip-address.js +35 -0
  1061. package/node_modules/ip-address/dist/ipv4.js +505 -0
  1062. package/node_modules/ip-address/dist/ipv6.js +1353 -0
  1063. package/node_modules/ip-address/dist/v4/constants.js +12 -0
  1064. package/node_modules/ip-address/dist/v6/constants.js +82 -0
  1065. package/node_modules/ip-address/dist/v6/helpers.js +54 -0
  1066. package/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
  1067. package/node_modules/ip-address/package.json +90 -0
  1068. package/node_modules/is-cidr/LICENSE +22 -0
  1069. package/node_modules/is-cidr/dist/index.js +11 -0
  1070. package/node_modules/is-cidr/package.json +41 -0
  1071. package/node_modules/isexe/LICENSE.md +55 -0
  1072. package/node_modules/isexe/dist/commonjs/index.js +56 -0
  1073. package/node_modules/isexe/dist/commonjs/index.min.js +2 -0
  1074. package/node_modules/isexe/dist/commonjs/options.js +3 -0
  1075. package/node_modules/isexe/dist/commonjs/package.json +3 -0
  1076. package/node_modules/isexe/dist/commonjs/posix.js +67 -0
  1077. package/node_modules/isexe/dist/commonjs/win32.js +63 -0
  1078. package/node_modules/isexe/dist/esm/index.js +16 -0
  1079. package/node_modules/isexe/dist/esm/index.min.js +2 -0
  1080. package/node_modules/isexe/dist/esm/options.js +2 -0
  1081. package/node_modules/isexe/dist/esm/package.json +3 -0
  1082. package/node_modules/isexe/dist/esm/posix.js +62 -0
  1083. package/node_modules/isexe/dist/esm/win32.js +58 -0
  1084. package/node_modules/isexe/package.json +78 -0
  1085. package/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  1086. package/node_modules/json-parse-even-better-errors/lib/index.js +137 -0
  1087. package/node_modules/json-parse-even-better-errors/package.json +50 -0
  1088. package/node_modules/json-stringify-nice/LICENSE +15 -0
  1089. package/node_modules/json-stringify-nice/index.js +38 -0
  1090. package/node_modules/json-stringify-nice/package.json +40 -0
  1091. package/node_modules/jsonparse/LICENSE +24 -0
  1092. package/node_modules/jsonparse/bench.js +26 -0
  1093. package/node_modules/jsonparse/examples/twitterfeed.js +30 -0
  1094. package/node_modules/jsonparse/jsonparse.js +413 -0
  1095. package/node_modules/jsonparse/package.json +22 -0
  1096. package/node_modules/jsonparse/samplejson/basic.json +167 -0
  1097. package/node_modules/jsonparse/samplejson/basic2.json +180 -0
  1098. package/node_modules/jsonparse/test/big-token.js +24 -0
  1099. package/node_modules/jsonparse/test/boundary.js +110 -0
  1100. package/node_modules/jsonparse/test/offset.js +67 -0
  1101. package/node_modules/jsonparse/test/primitives.js +57 -0
  1102. package/node_modules/jsonparse/test/surrogate.js +26 -0
  1103. package/node_modules/jsonparse/test/unvalid.js +15 -0
  1104. package/node_modules/jsonparse/test/utf8.js +38 -0
  1105. package/node_modules/just-diff/LICENSE +21 -0
  1106. package/node_modules/just-diff/index.cjs +230 -0
  1107. package/node_modules/just-diff/index.mjs +227 -0
  1108. package/node_modules/just-diff/package.json +33 -0
  1109. package/node_modules/just-diff/rollup.config.js +3 -0
  1110. package/node_modules/just-diff-apply/LICENSE +21 -0
  1111. package/node_modules/just-diff-apply/index.cjs +161 -0
  1112. package/node_modules/just-diff-apply/index.mjs +158 -0
  1113. package/node_modules/just-diff-apply/package.json +34 -0
  1114. package/node_modules/just-diff-apply/rollup.config.js +3 -0
  1115. package/node_modules/libnpmaccess/LICENSE +13 -0
  1116. package/node_modules/libnpmaccess/README.md +93 -0
  1117. package/node_modules/libnpmaccess/lib/index.js +140 -0
  1118. package/node_modules/libnpmaccess/package.json +53 -0
  1119. package/node_modules/libnpmdiff/LICENSE +15 -0
  1120. package/node_modules/libnpmdiff/README.md +103 -0
  1121. package/node_modules/libnpmdiff/lib/format-diff.js +118 -0
  1122. package/node_modules/libnpmdiff/lib/index.js +65 -0
  1123. package/node_modules/libnpmdiff/lib/should-print-patch.js +22 -0
  1124. package/node_modules/libnpmdiff/lib/tarball.js +38 -0
  1125. package/node_modules/libnpmdiff/lib/untar.js +96 -0
  1126. package/node_modules/libnpmdiff/package.json +70 -0
  1127. package/node_modules/libnpmexec/LICENSE +15 -0
  1128. package/node_modules/libnpmexec/README.md +47 -0
  1129. package/node_modules/libnpmexec/lib/file-exists.js +33 -0
  1130. package/node_modules/libnpmexec/lib/get-bin-from-manifest.js +22 -0
  1131. package/node_modules/libnpmexec/lib/index.js +332 -0
  1132. package/node_modules/libnpmexec/lib/is-windows.js +1 -0
  1133. package/node_modules/libnpmexec/lib/no-tty.js +1 -0
  1134. package/node_modules/libnpmexec/lib/run-script.js +75 -0
  1135. package/node_modules/libnpmexec/lib/strict-allow-scripts-preflight.js +40 -0
  1136. package/node_modules/libnpmexec/lib/with-lock.js +177 -0
  1137. package/node_modules/libnpmexec/package.json +81 -0
  1138. package/node_modules/libnpmfund/LICENSE +15 -0
  1139. package/node_modules/libnpmfund/README.md +131 -0
  1140. package/node_modules/libnpmfund/lib/index.js +210 -0
  1141. package/node_modules/libnpmfund/package.json +65 -0
  1142. package/node_modules/libnpmorg/LICENSE +13 -0
  1143. package/node_modules/libnpmorg/README.md +148 -0
  1144. package/node_modules/libnpmorg/lib/index.js +64 -0
  1145. package/node_modules/libnpmorg/package.json +62 -0
  1146. package/node_modules/libnpmpack/LICENSE +13 -0
  1147. package/node_modules/libnpmpack/README.md +55 -0
  1148. package/node_modules/libnpmpack/lib/index.js +67 -0
  1149. package/node_modules/libnpmpack/package.json +59 -0
  1150. package/node_modules/libnpmpublish/LICENSE +13 -0
  1151. package/node_modules/libnpmpublish/README.md +127 -0
  1152. package/node_modules/libnpmpublish/lib/index.js +4 -0
  1153. package/node_modules/libnpmpublish/lib/provenance.js +245 -0
  1154. package/node_modules/libnpmpublish/lib/publish.js +231 -0
  1155. package/node_modules/libnpmpublish/lib/unpublish.js +119 -0
  1156. package/node_modules/libnpmpublish/package.json +64 -0
  1157. package/node_modules/libnpmsearch/LICENSE +13 -0
  1158. package/node_modules/libnpmsearch/README.md +173 -0
  1159. package/node_modules/libnpmsearch/lib/index.js +71 -0
  1160. package/node_modules/libnpmsearch/package.json +58 -0
  1161. package/node_modules/libnpmteam/LICENSE +13 -0
  1162. package/node_modules/libnpmteam/README.md +172 -0
  1163. package/node_modules/libnpmteam/lib/index.js +92 -0
  1164. package/node_modules/libnpmteam/package.json +52 -0
  1165. package/node_modules/libnpmversion/LICENSE +15 -0
  1166. package/node_modules/libnpmversion/README.md +166 -0
  1167. package/node_modules/libnpmversion/lib/commit.js +17 -0
  1168. package/node_modules/libnpmversion/lib/enforce-clean.js +32 -0
  1169. package/node_modules/libnpmversion/lib/index.js +38 -0
  1170. package/node_modules/libnpmversion/lib/read-json.js +6 -0
  1171. package/node_modules/libnpmversion/lib/retrieve-tag.js +13 -0
  1172. package/node_modules/libnpmversion/lib/tag.js +30 -0
  1173. package/node_modules/libnpmversion/lib/version.js +136 -0
  1174. package/node_modules/libnpmversion/lib/write-json.js +15 -0
  1175. package/node_modules/libnpmversion/package.json +55 -0
  1176. package/node_modules/lru-cache/LICENSE.md +55 -0
  1177. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
  1178. package/node_modules/lru-cache/dist/commonjs/browser/index.js +1726 -0
  1179. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
  1180. package/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
  1181. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
  1182. package/node_modules/lru-cache/dist/commonjs/index.js +1726 -0
  1183. package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  1184. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
  1185. package/node_modules/lru-cache/dist/commonjs/node/index.js +1726 -0
  1186. package/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
  1187. package/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
  1188. package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  1189. package/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
  1190. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
  1191. package/node_modules/lru-cache/dist/esm/browser/index.js +1722 -0
  1192. package/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
  1193. package/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
  1194. package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
  1195. package/node_modules/lru-cache/dist/esm/index.js +1722 -0
  1196. package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  1197. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
  1198. package/node_modules/lru-cache/dist/esm/node/index.js +1722 -0
  1199. package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
  1200. package/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
  1201. package/node_modules/lru-cache/dist/esm/package.json +3 -0
  1202. package/node_modules/lru-cache/dist/esm/perf.js +7 -0
  1203. package/node_modules/lru-cache/package.json +154 -0
  1204. package/node_modules/make-fetch-happen/LICENSE +16 -0
  1205. package/node_modules/make-fetch-happen/lib/cache/entry.js +471 -0
  1206. package/node_modules/make-fetch-happen/lib/cache/errors.js +11 -0
  1207. package/node_modules/make-fetch-happen/lib/cache/index.js +49 -0
  1208. package/node_modules/make-fetch-happen/lib/cache/key.js +17 -0
  1209. package/node_modules/make-fetch-happen/lib/cache/policy.js +161 -0
  1210. package/node_modules/make-fetch-happen/lib/fetch.js +118 -0
  1211. package/node_modules/make-fetch-happen/lib/index.js +41 -0
  1212. package/node_modules/make-fetch-happen/lib/options.js +59 -0
  1213. package/node_modules/make-fetch-happen/lib/pipeline.js +41 -0
  1214. package/node_modules/make-fetch-happen/lib/remote.js +134 -0
  1215. package/node_modules/make-fetch-happen/package.json +75 -0
  1216. package/node_modules/minimatch/LICENSE.md +55 -0
  1217. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  1218. package/node_modules/minimatch/dist/commonjs/ast.js +845 -0
  1219. package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
  1220. package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
  1221. package/node_modules/minimatch/dist/commonjs/index.js +1127 -0
  1222. package/node_modules/minimatch/dist/commonjs/package.json +3 -0
  1223. package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
  1224. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  1225. package/node_modules/minimatch/dist/esm/ast.js +841 -0
  1226. package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
  1227. package/node_modules/minimatch/dist/esm/escape.js +26 -0
  1228. package/node_modules/minimatch/dist/esm/index.js +1114 -0
  1229. package/node_modules/minimatch/dist/esm/package.json +3 -0
  1230. package/node_modules/minimatch/dist/esm/unescape.js +34 -0
  1231. package/node_modules/minimatch/package.json +73 -0
  1232. package/node_modules/minipass/LICENSE.md +55 -0
  1233. package/node_modules/minipass/dist/commonjs/index.js +1038 -0
  1234. package/node_modules/minipass/dist/commonjs/package.json +3 -0
  1235. package/node_modules/minipass/dist/esm/index.js +1020 -0
  1236. package/node_modules/minipass/dist/esm/package.json +3 -0
  1237. package/node_modules/minipass/package.json +77 -0
  1238. package/node_modules/minipass-collect/LICENSE +15 -0
  1239. package/node_modules/minipass-collect/index.js +71 -0
  1240. package/node_modules/minipass-collect/package.json +30 -0
  1241. package/node_modules/minipass-fetch/LICENSE +28 -0
  1242. package/node_modules/minipass-fetch/lib/abort-error.js +17 -0
  1243. package/node_modules/minipass-fetch/lib/blob.js +97 -0
  1244. package/node_modules/minipass-fetch/lib/body.js +360 -0
  1245. package/node_modules/minipass-fetch/lib/fetch-error.js +32 -0
  1246. package/node_modules/minipass-fetch/lib/headers.js +267 -0
  1247. package/node_modules/minipass-fetch/lib/index.js +376 -0
  1248. package/node_modules/minipass-fetch/lib/request.js +282 -0
  1249. package/node_modules/minipass-fetch/lib/response.js +90 -0
  1250. package/node_modules/minipass-fetch/package.json +70 -0
  1251. package/node_modules/minipass-flush/LICENSE.md +55 -0
  1252. package/node_modules/minipass-flush/index.js +39 -0
  1253. package/node_modules/minipass-flush/package.json +39 -0
  1254. package/node_modules/minipass-pipeline/LICENSE +15 -0
  1255. package/node_modules/minipass-pipeline/index.js +128 -0
  1256. package/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -0
  1257. package/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -0
  1258. package/node_modules/minipass-pipeline/node_modules/minipass/node_modules/yallist/LICENSE +15 -0
  1259. package/node_modules/minipass-pipeline/node_modules/minipass/node_modules/yallist/iterator.js +8 -0
  1260. package/node_modules/minipass-pipeline/node_modules/minipass/node_modules/yallist/package.json +29 -0
  1261. package/node_modules/minipass-pipeline/node_modules/minipass/node_modules/yallist/yallist.js +426 -0
  1262. package/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -0
  1263. package/node_modules/minipass-pipeline/package.json +29 -0
  1264. package/node_modules/minipass-sized/LICENSE +15 -0
  1265. package/node_modules/minipass-sized/dist/commonjs/index.js +69 -0
  1266. package/node_modules/minipass-sized/dist/commonjs/package.json +3 -0
  1267. package/node_modules/minipass-sized/dist/esm/index.js +64 -0
  1268. package/node_modules/minipass-sized/dist/esm/package.json +3 -0
  1269. package/node_modules/minipass-sized/package.json +69 -0
  1270. package/node_modules/minizlib/LICENSE +26 -0
  1271. package/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  1272. package/node_modules/minizlib/dist/commonjs/index.js +416 -0
  1273. package/node_modules/minizlib/dist/commonjs/package.json +3 -0
  1274. package/node_modules/minizlib/dist/esm/constants.js +117 -0
  1275. package/node_modules/minizlib/dist/esm/index.js +363 -0
  1276. package/node_modules/minizlib/dist/esm/package.json +3 -0
  1277. package/node_modules/minizlib/package.json +80 -0
  1278. package/node_modules/ms/index.js +162 -0
  1279. package/node_modules/ms/license.md +21 -0
  1280. package/node_modules/ms/package.json +38 -0
  1281. package/node_modules/mute-stream/LICENSE +15 -0
  1282. package/node_modules/mute-stream/lib/index.js +142 -0
  1283. package/node_modules/mute-stream/package.json +54 -0
  1284. package/node_modules/negotiator/HISTORY.md +114 -0
  1285. package/node_modules/negotiator/LICENSE +24 -0
  1286. package/node_modules/negotiator/index.js +83 -0
  1287. package/node_modules/negotiator/lib/charset.js +169 -0
  1288. package/node_modules/negotiator/lib/encoding.js +205 -0
  1289. package/node_modules/negotiator/lib/language.js +179 -0
  1290. package/node_modules/negotiator/lib/mediaType.js +294 -0
  1291. package/node_modules/negotiator/package.json +43 -0
  1292. package/node_modules/node-gyp/.release-please-manifest.json +3 -0
  1293. package/node_modules/node-gyp/CHANGELOG.md +1240 -0
  1294. package/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -0
  1295. package/node_modules/node-gyp/CONTRIBUTING.md +44 -0
  1296. package/node_modules/node-gyp/LICENSE +24 -0
  1297. package/node_modules/node-gyp/README.md +290 -0
  1298. package/node_modules/node-gyp/SECURITY.md +2 -0
  1299. package/node_modules/node-gyp/addon.gypi +204 -0
  1300. package/node_modules/node-gyp/bin/node-gyp.js +145 -0
  1301. package/node_modules/node-gyp/eslint.config.js +3 -0
  1302. package/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
  1303. package/node_modules/node-gyp/gyp/LICENSE +28 -0
  1304. package/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
  1305. package/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  1306. package/node_modules/node-gyp/gyp/docs/GypVsCMake.md +116 -0
  1307. package/node_modules/node-gyp/gyp/docs/Hacking.md +46 -0
  1308. package/node_modules/node-gyp/gyp/docs/InputFormatReference.md +1083 -0
  1309. package/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +430 -0
  1310. package/node_modules/node-gyp/gyp/docs/README.md +27 -0
  1311. package/node_modules/node-gyp/gyp/docs/Testing.md +450 -0
  1312. package/node_modules/node-gyp/gyp/docs/UserDocumentation.md +965 -0
  1313. package/node_modules/node-gyp/gyp/gyp +8 -0
  1314. package/node_modules/node-gyp/gyp/gyp.bat +5 -0
  1315. package/node_modules/node-gyp/gyp/gyp_main.py +45 -0
  1316. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
  1317. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
  1318. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1283 -0
  1319. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1545 -0
  1320. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
  1321. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
  1322. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
  1323. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +607 -0
  1324. package/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +706 -0
  1325. package/node_modules/node-gyp/gyp/pylib/gyp/common.py +725 -0
  1326. package/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +186 -0
  1327. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +170 -0
  1328. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
  1329. package/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
  1330. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1331. package/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
  1332. package/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1169 -0
  1333. package/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1316 -0
  1334. package/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
  1335. package/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
  1336. package/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +461 -0
  1337. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +88 -0
  1338. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +55 -0
  1339. package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2755 -0
  1340. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3970 -0
  1341. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
  1342. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2957 -0
  1343. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +77 -0
  1344. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1389 -0
  1345. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
  1346. package/node_modules/node-gyp/gyp/pylib/gyp/input.py +3097 -0
  1347. package/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
  1348. package/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +765 -0
  1349. package/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1255 -0
  1350. package/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
  1351. package/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
  1352. package/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +371 -0
  1353. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1936 -0
  1354. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
  1355. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +301 -0
  1356. package/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3180 -0
  1357. package/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +64 -0
  1358. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
  1359. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
  1360. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
  1361. package/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
  1362. package/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +107 -0
  1363. package/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
  1364. package/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
  1365. package/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
  1366. package/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
  1367. package/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
  1368. package/node_modules/node-gyp/gyp/pylib/packaging/markers.py +251 -0
  1369. package/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +807 -0
  1370. package/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1371. package/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
  1372. package/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
  1373. package/node_modules/node-gyp/gyp/pylib/packaging/tags.py +541 -0
  1374. package/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
  1375. package/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
  1376. package/node_modules/node-gyp/gyp/pyproject.toml +116 -0
  1377. package/node_modules/node-gyp/gyp/release-please-config.json +11 -0
  1378. package/node_modules/node-gyp/gyp/test_gyp.py +260 -0
  1379. package/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
  1380. package/node_modules/node-gyp/lib/build.js +230 -0
  1381. package/node_modules/node-gyp/lib/clean.js +15 -0
  1382. package/node_modules/node-gyp/lib/configure.js +328 -0
  1383. package/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
  1384. package/node_modules/node-gyp/lib/download.js +86 -0
  1385. package/node_modules/node-gyp/lib/find-node-directory.js +63 -0
  1386. package/node_modules/node-gyp/lib/find-python.js +304 -0
  1387. package/node_modules/node-gyp/lib/find-visualstudio.js +606 -0
  1388. package/node_modules/node-gyp/lib/install.js +411 -0
  1389. package/node_modules/node-gyp/lib/list.js +26 -0
  1390. package/node_modules/node-gyp/lib/log.js +168 -0
  1391. package/node_modules/node-gyp/lib/node-gyp.js +199 -0
  1392. package/node_modules/node-gyp/lib/process-release.js +144 -0
  1393. package/node_modules/node-gyp/lib/rebuild.js +12 -0
  1394. package/node_modules/node-gyp/lib/remove.js +43 -0
  1395. package/node_modules/node-gyp/lib/util.js +81 -0
  1396. package/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
  1397. package/node_modules/node-gyp/package.json +52 -0
  1398. package/node_modules/node-gyp/release-please-config.json +40 -0
  1399. package/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -0
  1400. package/node_modules/nopt/LICENSE +15 -0
  1401. package/node_modules/nopt/README.md +214 -0
  1402. package/node_modules/nopt/bin/nopt.js +29 -0
  1403. package/node_modules/nopt/lib/debug.js +5 -0
  1404. package/node_modules/nopt/lib/nopt-lib.js +514 -0
  1405. package/node_modules/nopt/lib/nopt.js +34 -0
  1406. package/node_modules/nopt/lib/type-defs.js +91 -0
  1407. package/node_modules/nopt/package.json +52 -0
  1408. package/node_modules/npm/LICENSE +235 -0
  1409. package/node_modules/npm/README.md +53 -0
  1410. package/node_modules/npm/bin/node-gyp-bin/node-gyp +6 -0
  1411. package/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +5 -0
  1412. package/node_modules/npm/bin/npm +65 -0
  1413. package/node_modules/npm/bin/npm-cli.js +2 -0
  1414. package/node_modules/npm/bin/npm-prefix.js +30 -0
  1415. package/node_modules/npm/bin/npm.cmd +20 -0
  1416. package/node_modules/npm/bin/npm.ps1 +50 -0
  1417. package/node_modules/npm/bin/npx +65 -0
  1418. package/node_modules/npm/bin/npx-cli.js +130 -0
  1419. package/node_modules/npm/bin/npx.cmd +20 -0
  1420. package/node_modules/npm/bin/npx.ps1 +50 -0
  1421. package/node_modules/npm/docs/content/commands/npm-access.md +95 -0
  1422. package/node_modules/npm/docs/content/commands/npm-adduser.md +87 -0
  1423. package/node_modules/npm/docs/content/commands/npm-approve-scripts.md +142 -0
  1424. package/node_modules/npm/docs/content/commands/npm-audit.md +449 -0
  1425. package/node_modules/npm/docs/content/commands/npm-bugs.md +106 -0
  1426. package/node_modules/npm/docs/content/commands/npm-cache.md +100 -0
  1427. package/node_modules/npm/docs/content/commands/npm-ci.md +446 -0
  1428. package/node_modules/npm/docs/content/commands/npm-completion.md +36 -0
  1429. package/node_modules/npm/docs/content/commands/npm-config.md +176 -0
  1430. package/node_modules/npm/docs/content/commands/npm-dedupe.md +389 -0
  1431. package/node_modules/npm/docs/content/commands/npm-deny-scripts.md +110 -0
  1432. package/node_modules/npm/docs/content/commands/npm-deprecate.md +85 -0
  1433. package/node_modules/npm/docs/content/commands/npm-diff.md +282 -0
  1434. package/node_modules/npm/docs/content/commands/npm-dist-tag.md +138 -0
  1435. package/node_modules/npm/docs/content/commands/npm-docs.md +106 -0
  1436. package/node_modules/npm/docs/content/commands/npm-doctor.md +98 -0
  1437. package/node_modules/npm/docs/content/commands/npm-edit.md +41 -0
  1438. package/node_modules/npm/docs/content/commands/npm-exec.md +368 -0
  1439. package/node_modules/npm/docs/content/commands/npm-explain.md +101 -0
  1440. package/node_modules/npm/docs/content/commands/npm-explore.md +46 -0
  1441. package/node_modules/npm/docs/content/commands/npm-find-dupes.md +253 -0
  1442. package/node_modules/npm/docs/content/commands/npm-fund.md +136 -0
  1443. package/node_modules/npm/docs/content/commands/npm-get.md +32 -0
  1444. package/node_modules/npm/docs/content/commands/npm-help-search.md +38 -0
  1445. package/node_modules/npm/docs/content/commands/npm-help.md +44 -0
  1446. package/node_modules/npm/docs/content/commands/npm-init.md +348 -0
  1447. package/node_modules/npm/docs/content/commands/npm-install-ci-test.md +400 -0
  1448. package/node_modules/npm/docs/content/commands/npm-install-scripts.md +166 -0
  1449. package/node_modules/npm/docs/content/commands/npm-install-test.md +593 -0
  1450. package/node_modules/npm/docs/content/commands/npm-install.md +976 -0
  1451. package/node_modules/npm/docs/content/commands/npm-link.md +456 -0
  1452. package/node_modules/npm/docs/content/commands/npm-ll.md +230 -0
  1453. package/node_modules/npm/docs/content/commands/npm-login.md +93 -0
  1454. package/node_modules/npm/docs/content/commands/npm-logout.md +72 -0
  1455. package/node_modules/npm/docs/content/commands/npm-ls.md +260 -0
  1456. package/node_modules/npm/docs/content/commands/npm-org.md +113 -0
  1457. package/node_modules/npm/docs/content/commands/npm-outdated.md +247 -0
  1458. package/node_modules/npm/docs/content/commands/npm-owner.md +104 -0
  1459. package/node_modules/npm/docs/content/commands/npm-pack.md +135 -0
  1460. package/node_modules/npm/docs/content/commands/npm-ping.md +46 -0
  1461. package/node_modules/npm/docs/content/commands/npm-pkg.md +244 -0
  1462. package/node_modules/npm/docs/content/commands/npm-prefix.md +58 -0
  1463. package/node_modules/npm/docs/content/commands/npm-profile.md +115 -0
  1464. package/node_modules/npm/docs/content/commands/npm-prune.md +191 -0
  1465. package/node_modules/npm/docs/content/commands/npm-publish.md +247 -0
  1466. package/node_modules/npm/docs/content/commands/npm-query.md +354 -0
  1467. package/node_modules/npm/docs/content/commands/npm-rebuild.md +224 -0
  1468. package/node_modules/npm/docs/content/commands/npm-repo.md +99 -0
  1469. package/node_modules/npm/docs/content/commands/npm-restart.md +68 -0
  1470. package/node_modules/npm/docs/content/commands/npm-root.md +51 -0
  1471. package/node_modules/npm/docs/content/commands/npm-run.md +231 -0
  1472. package/node_modules/npm/docs/content/commands/npm-sbom.md +317 -0
  1473. package/node_modules/npm/docs/content/commands/npm-search.md +154 -0
  1474. package/node_modules/npm/docs/content/commands/npm-set.md +58 -0
  1475. package/node_modules/npm/docs/content/commands/npm-shrinkwrap.md +29 -0
  1476. package/node_modules/npm/docs/content/commands/npm-stage.md +253 -0
  1477. package/node_modules/npm/docs/content/commands/npm-star.md +79 -0
  1478. package/node_modules/npm/docs/content/commands/npm-stars.md +38 -0
  1479. package/node_modules/npm/docs/content/commands/npm-start.md +76 -0
  1480. package/node_modules/npm/docs/content/commands/npm-stop.md +71 -0
  1481. package/node_modules/npm/docs/content/commands/npm-team.md +144 -0
  1482. package/node_modules/npm/docs/content/commands/npm-test.md +69 -0
  1483. package/node_modules/npm/docs/content/commands/npm-token.md +203 -0
  1484. package/node_modules/npm/docs/content/commands/npm-trust.md +176 -0
  1485. package/node_modules/npm/docs/content/commands/npm-undeprecate.md +61 -0
  1486. package/node_modules/npm/docs/content/commands/npm-uninstall.md +151 -0
  1487. package/node_modules/npm/docs/content/commands/npm-unpublish.md +126 -0
  1488. package/node_modules/npm/docs/content/commands/npm-unstar.md +73 -0
  1489. package/node_modules/npm/docs/content/commands/npm-update.md +576 -0
  1490. package/node_modules/npm/docs/content/commands/npm-version.md +256 -0
  1491. package/node_modules/npm/docs/content/commands/npm-view.md +258 -0
  1492. package/node_modules/npm/docs/content/commands/npm-whoami.md +38 -0
  1493. package/node_modules/npm/docs/content/commands/npm.md +148 -0
  1494. package/node_modules/npm/docs/content/commands/npx.md +139 -0
  1495. package/node_modules/npm/docs/content/configuring-npm/folders.md +172 -0
  1496. package/node_modules/npm/docs/content/configuring-npm/install.md +53 -0
  1497. package/node_modules/npm/docs/content/configuring-npm/npm-shrinkwrap-json.md +25 -0
  1498. package/node_modules/npm/docs/content/configuring-npm/npmrc.md +193 -0
  1499. package/node_modules/npm/docs/content/configuring-npm/package-json.md +1210 -0
  1500. package/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +182 -0
  1501. package/node_modules/npm/docs/content/using-npm/config.md +2411 -0
  1502. package/node_modules/npm/docs/content/using-npm/dependency-selectors.md +247 -0
  1503. package/node_modules/npm/docs/content/using-npm/developers.md +233 -0
  1504. package/node_modules/npm/docs/content/using-npm/logging.md +99 -0
  1505. package/node_modules/npm/docs/content/using-npm/orgs.md +98 -0
  1506. package/node_modules/npm/docs/content/using-npm/package-spec.md +92 -0
  1507. package/node_modules/npm/docs/content/using-npm/registry.md +61 -0
  1508. package/node_modules/npm/docs/content/using-npm/removal.md +55 -0
  1509. package/node_modules/npm/docs/content/using-npm/scope.md +123 -0
  1510. package/node_modules/npm/docs/content/using-npm/scripts.md +373 -0
  1511. package/node_modules/npm/docs/content/using-npm/workspaces.md +219 -0
  1512. package/node_modules/npm/docs/output/commands/npm-access.html +280 -0
  1513. package/node_modules/npm/docs/output/commands/npm-adduser.html +271 -0
  1514. package/node_modules/npm/docs/output/commands/npm-approve-scripts.html +319 -0
  1515. package/node_modules/npm/docs/output/commands/npm-audit.html +528 -0
  1516. package/node_modules/npm/docs/output/commands/npm-bugs.html +293 -0
  1517. package/node_modules/npm/docs/output/commands/npm-cache.html +300 -0
  1518. package/node_modules/npm/docs/output/commands/npm-ci.html +549 -0
  1519. package/node_modules/npm/docs/output/commands/npm-completion.html +234 -0
  1520. package/node_modules/npm/docs/output/commands/npm-config.html +331 -0
  1521. package/node_modules/npm/docs/output/commands/npm-dedupe.html +500 -0
  1522. package/node_modules/npm/docs/output/commands/npm-deny-scripts.html +291 -0
  1523. package/node_modules/npm/docs/output/commands/npm-deprecate.html +267 -0
  1524. package/node_modules/npm/docs/output/commands/npm-diff.html +415 -0
  1525. package/node_modules/npm/docs/output/commands/npm-dist-tag.html +318 -0
  1526. package/node_modules/npm/docs/output/commands/npm-docs.html +293 -0
  1527. package/node_modules/npm/docs/output/commands/npm-doctor.html +282 -0
  1528. package/node_modules/npm/docs/output/commands/npm-edit.html +238 -0
  1529. package/node_modules/npm/docs/output/commands/npm-exec.html +477 -0
  1530. package/node_modules/npm/docs/output/commands/npm-explain.html +291 -0
  1531. package/node_modules/npm/docs/output/commands/npm-explore.html +240 -0
  1532. package/node_modules/npm/docs/output/commands/npm-find-dupes.html +400 -0
  1533. package/node_modules/npm/docs/output/commands/npm-fund.html +311 -0
  1534. package/node_modules/npm/docs/output/commands/npm-get.html +231 -0
  1535. package/node_modules/npm/docs/output/commands/npm-help-search.html +235 -0
  1536. package/node_modules/npm/docs/output/commands/npm-help.html +241 -0
  1537. package/node_modules/npm/docs/output/commands/npm-init.html +467 -0
  1538. package/node_modules/npm/docs/output/commands/npm-install-ci-test.html +514 -0
  1539. package/node_modules/npm/docs/output/commands/npm-install-scripts.html +341 -0
  1540. package/node_modules/npm/docs/output/commands/npm-install-test.html +657 -0
  1541. package/node_modules/npm/docs/output/commands/npm-install.html +963 -0
  1542. package/node_modules/npm/docs/output/commands/npm-link.html +546 -0
  1543. package/node_modules/npm/docs/output/commands/npm-ll.html +382 -0
  1544. package/node_modules/npm/docs/output/commands/npm-login.html +274 -0
  1545. package/node_modules/npm/docs/output/commands/npm-logout.html +259 -0
  1546. package/node_modules/npm/docs/output/commands/npm-ls.html +404 -0
  1547. package/node_modules/npm/docs/output/commands/npm-org.html +283 -0
  1548. package/node_modules/npm/docs/output/commands/npm-outdated.html +407 -0
  1549. package/node_modules/npm/docs/output/commands/npm-owner.html +294 -0
  1550. package/node_modules/npm/docs/output/commands/npm-pack.html +314 -0
  1551. package/node_modules/npm/docs/output/commands/npm-ping.html +242 -0
  1552. package/node_modules/npm/docs/output/commands/npm-pkg.html +389 -0
  1553. package/node_modules/npm/docs/output/commands/npm-prefix.html +252 -0
  1554. package/node_modules/npm/docs/output/commands/npm-profile.html +309 -0
  1555. package/node_modules/npm/docs/output/commands/npm-prune.html +352 -0
  1556. package/node_modules/npm/docs/output/commands/npm-publish.html +397 -0
  1557. package/node_modules/npm/docs/output/commands/npm-query.html +500 -0
  1558. package/node_modules/npm/docs/output/commands/npm-rebuild.html +384 -0
  1559. package/node_modules/npm/docs/output/commands/npm-repo.html +286 -0
  1560. package/node_modules/npm/docs/output/commands/npm-restart.html +263 -0
  1561. package/node_modules/npm/docs/output/commands/npm-root.html +248 -0
  1562. package/node_modules/npm/docs/output/commands/npm-run.html +376 -0
  1563. package/node_modules/npm/docs/output/commands/npm-sbom.html +490 -0
  1564. package/node_modules/npm/docs/output/commands/npm-search.html +320 -0
  1565. package/node_modules/npm/docs/output/commands/npm-set.html +255 -0
  1566. package/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +232 -0
  1567. package/node_modules/npm/docs/output/commands/npm-stage.html +609 -0
  1568. package/node_modules/npm/docs/output/commands/npm-star.html +263 -0
  1569. package/node_modules/npm/docs/output/commands/npm-stars.html +236 -0
  1570. package/node_modules/npm/docs/output/commands/npm-start.html +263 -0
  1571. package/node_modules/npm/docs/output/commands/npm-stop.html +260 -0
  1572. package/node_modules/npm/docs/output/commands/npm-team.html +314 -0
  1573. package/node_modules/npm/docs/output/commands/npm-test.html +259 -0
  1574. package/node_modules/npm/docs/output/commands/npm-token.html +351 -0
  1575. package/node_modules/npm/docs/output/commands/npm-trust.html +552 -0
  1576. package/node_modules/npm/docs/output/commands/npm-undeprecate.html +252 -0
  1577. package/node_modules/npm/docs/output/commands/npm-uninstall.html +323 -0
  1578. package/node_modules/npm/docs/output/commands/npm-unpublish.html +310 -0
  1579. package/node_modules/npm/docs/output/commands/npm-unstar.html +258 -0
  1580. package/node_modules/npm/docs/output/commands/npm-update.html +635 -0
  1581. package/node_modules/npm/docs/output/commands/npm-version.html +404 -0
  1582. package/node_modules/npm/docs/output/commands/npm-view.html +383 -0
  1583. package/node_modules/npm/docs/output/commands/npm-whoami.html +235 -0
  1584. package/node_modules/npm/docs/output/commands/npm.html +323 -0
  1585. package/node_modules/npm/docs/output/commands/npx.html +308 -0
  1586. package/node_modules/npm/docs/output/configuring-npm/folders.html +331 -0
  1587. package/node_modules/npm/docs/output/configuring-npm/install.html +249 -0
  1588. package/node_modules/npm/docs/output/configuring-npm/npm-global.html +331 -0
  1589. package/node_modules/npm/docs/output/configuring-npm/npm-json.html +1097 -0
  1590. package/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +229 -0
  1591. package/node_modules/npm/docs/output/configuring-npm/npmrc.html +347 -0
  1592. package/node_modules/npm/docs/output/configuring-npm/package-json.html +1097 -0
  1593. package/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +391 -0
  1594. package/node_modules/npm/docs/output/using-npm/config.html +1956 -0
  1595. package/node_modules/npm/docs/output/using-npm/dependency-selectors.html +425 -0
  1596. package/node_modules/npm/docs/output/using-npm/developers.html +389 -0
  1597. package/node_modules/npm/docs/output/using-npm/logging.html +284 -0
  1598. package/node_modules/npm/docs/output/using-npm/orgs.html +294 -0
  1599. package/node_modules/npm/docs/output/using-npm/package-spec.html +295 -0
  1600. package/node_modules/npm/docs/output/using-npm/registry.html +255 -0
  1601. package/node_modules/npm/docs/output/using-npm/removal.html +245 -0
  1602. package/node_modules/npm/docs/output/using-npm/scope.html +290 -0
  1603. package/node_modules/npm/docs/output/using-npm/scripts.html +539 -0
  1604. package/node_modules/npm/docs/output/using-npm/workspaces.html +352 -0
  1605. package/node_modules/npm/index.js +5 -0
  1606. package/node_modules/npm/lib/arborist-cmd.js +49 -0
  1607. package/node_modules/npm/lib/base-cmd.js +437 -0
  1608. package/node_modules/npm/lib/cli/entry.js +72 -0
  1609. package/node_modules/npm/lib/cli/exit-handler.js +168 -0
  1610. package/node_modules/npm/lib/cli/update-notifier.js +115 -0
  1611. package/node_modules/npm/lib/cli/validate-engines.js +43 -0
  1612. package/node_modules/npm/lib/cli.js +12 -0
  1613. package/node_modules/npm/lib/commands/access.js +226 -0
  1614. package/node_modules/npm/lib/commands/adduser.js +50 -0
  1615. package/node_modules/npm/lib/commands/approve-scripts.js +10 -0
  1616. package/node_modules/npm/lib/commands/audit.js +138 -0
  1617. package/node_modules/npm/lib/commands/bugs.js +34 -0
  1618. package/node_modules/npm/lib/commands/cache.js +363 -0
  1619. package/node_modules/npm/lib/commands/ci.js +138 -0
  1620. package/node_modules/npm/lib/commands/completion.js +329 -0
  1621. package/node_modules/npm/lib/commands/config.js +414 -0
  1622. package/node_modules/npm/lib/commands/dedupe.js +57 -0
  1623. package/node_modules/npm/lib/commands/deny-scripts.js +10 -0
  1624. package/node_modules/npm/lib/commands/deprecate.js +86 -0
  1625. package/node_modules/npm/lib/commands/diff.js +280 -0
  1626. package/node_modules/npm/lib/commands/dist-tag.js +207 -0
  1627. package/node_modules/npm/lib/commands/docs.js +21 -0
  1628. package/node_modules/npm/lib/commands/doctor.js +343 -0
  1629. package/node_modules/npm/lib/commands/edit.js +64 -0
  1630. package/node_modules/npm/lib/commands/exec.js +119 -0
  1631. package/node_modules/npm/lib/commands/explain.js +128 -0
  1632. package/node_modules/npm/lib/commands/explore.js +70 -0
  1633. package/node_modules/npm/lib/commands/find-dupes.js +27 -0
  1634. package/node_modules/npm/lib/commands/fund.js +215 -0
  1635. package/node_modules/npm/lib/commands/get.js +21 -0
  1636. package/node_modules/npm/lib/commands/help-search.js +194 -0
  1637. package/node_modules/npm/lib/commands/help.js +113 -0
  1638. package/node_modules/npm/lib/commands/init.js +240 -0
  1639. package/node_modules/npm/lib/commands/install-ci-test.js +13 -0
  1640. package/node_modules/npm/lib/commands/install-scripts.js +53 -0
  1641. package/node_modules/npm/lib/commands/install-test.js +13 -0
  1642. package/node_modules/npm/lib/commands/install.js +184 -0
  1643. package/node_modules/npm/lib/commands/link.js +205 -0
  1644. package/node_modules/npm/lib/commands/ll.js +13 -0
  1645. package/node_modules/npm/lib/commands/login.js +50 -0
  1646. package/node_modules/npm/lib/commands/logout.js +50 -0
  1647. package/node_modules/npm/lib/commands/ls.js +572 -0
  1648. package/node_modules/npm/lib/commands/org.js +148 -0
  1649. package/node_modules/npm/lib/commands/outdated.js +294 -0
  1650. package/node_modules/npm/lib/commands/owner.js +244 -0
  1651. package/node_modules/npm/lib/commands/pack.js +98 -0
  1652. package/node_modules/npm/lib/commands/ping.js +30 -0
  1653. package/node_modules/npm/lib/commands/pkg.js +127 -0
  1654. package/node_modules/npm/lib/commands/prefix.js +14 -0
  1655. package/node_modules/npm/lib/commands/profile.js +366 -0
  1656. package/node_modules/npm/lib/commands/prune.js +36 -0
  1657. package/node_modules/npm/lib/commands/publish.js +314 -0
  1658. package/node_modules/npm/lib/commands/query.js +164 -0
  1659. package/node_modules/npm/lib/commands/rebuild.js +123 -0
  1660. package/node_modules/npm/lib/commands/repo.js +55 -0
  1661. package/node_modules/npm/lib/commands/restart.js +13 -0
  1662. package/node_modules/npm/lib/commands/root.js +14 -0
  1663. package/node_modules/npm/lib/commands/run.js +222 -0
  1664. package/node_modules/npm/lib/commands/sbom.js +130 -0
  1665. package/node_modules/npm/lib/commands/search.js +70 -0
  1666. package/node_modules/npm/lib/commands/set.js +24 -0
  1667. package/node_modules/npm/lib/commands/shrinkwrap.js +70 -0
  1668. package/node_modules/npm/lib/commands/stage/approve.js +35 -0
  1669. package/node_modules/npm/lib/commands/stage/download.js +70 -0
  1670. package/node_modules/npm/lib/commands/stage/index.js +25 -0
  1671. package/node_modules/npm/lib/commands/stage/list.js +72 -0
  1672. package/node_modules/npm/lib/commands/stage/publish.js +13 -0
  1673. package/node_modules/npm/lib/commands/stage/reject.js +37 -0
  1674. package/node_modules/npm/lib/commands/stage/view.js +34 -0
  1675. package/node_modules/npm/lib/commands/star.js +72 -0
  1676. package/node_modules/npm/lib/commands/stars.js +39 -0
  1677. package/node_modules/npm/lib/commands/start.js +13 -0
  1678. package/node_modules/npm/lib/commands/stop.js +13 -0
  1679. package/node_modules/npm/lib/commands/team.js +158 -0
  1680. package/node_modules/npm/lib/commands/test.js +13 -0
  1681. package/node_modules/npm/lib/commands/token.js +285 -0
  1682. package/node_modules/npm/lib/commands/trust/circleci.js +178 -0
  1683. package/node_modules/npm/lib/commands/trust/github.js +107 -0
  1684. package/node_modules/npm/lib/commands/trust/gitlab.js +108 -0
  1685. package/node_modules/npm/lib/commands/trust/index.js +25 -0
  1686. package/node_modules/npm/lib/commands/trust/list.js +50 -0
  1687. package/node_modules/npm/lib/commands/trust/revoke.js +52 -0
  1688. package/node_modules/npm/lib/commands/undeprecate.js +13 -0
  1689. package/node_modules/npm/lib/commands/uninstall.js +57 -0
  1690. package/node_modules/npm/lib/commands/unpublish.js +163 -0
  1691. package/node_modules/npm/lib/commands/unstar.js +8 -0
  1692. package/node_modules/npm/lib/commands/update.js +77 -0
  1693. package/node_modules/npm/lib/commands/version.js +152 -0
  1694. package/node_modules/npm/lib/commands/view.js +488 -0
  1695. package/node_modules/npm/lib/commands/whoami.js +20 -0
  1696. package/node_modules/npm/lib/lifecycle-cmd.js +20 -0
  1697. package/node_modules/npm/lib/npm.js +526 -0
  1698. package/node_modules/npm/lib/package-url-cmd.js +63 -0
  1699. package/node_modules/npm/lib/trust-cmd.js +345 -0
  1700. package/node_modules/npm/lib/utils/allow-scripts-cmd.js +403 -0
  1701. package/node_modules/npm/lib/utils/allow-scripts-prune.js +47 -0
  1702. package/node_modules/npm/lib/utils/allow-scripts-remediation.js +9 -0
  1703. package/node_modules/npm/lib/utils/allow-scripts-writer.js +362 -0
  1704. package/node_modules/npm/lib/utils/audit-error.js +40 -0
  1705. package/node_modules/npm/lib/utils/auth.js +108 -0
  1706. package/node_modules/npm/lib/utils/check-allow-scripts.js +27 -0
  1707. package/node_modules/npm/lib/utils/cmd-list.js +183 -0
  1708. package/node_modules/npm/lib/utils/completion.fish +40 -0
  1709. package/node_modules/npm/lib/utils/completion.sh +70 -0
  1710. package/node_modules/npm/lib/utils/did-you-mean.js +33 -0
  1711. package/node_modules/npm/lib/utils/display.js +558 -0
  1712. package/node_modules/npm/lib/utils/error-message.js +453 -0
  1713. package/node_modules/npm/lib/utils/explain-dep.js +116 -0
  1714. package/node_modules/npm/lib/utils/explain-eresolve.js +64 -0
  1715. package/node_modules/npm/lib/utils/format-bytes.js +29 -0
  1716. package/node_modules/npm/lib/utils/format-search-stream.js +175 -0
  1717. package/node_modules/npm/lib/utils/format.js +56 -0
  1718. package/node_modules/npm/lib/utils/get-identity.js +25 -0
  1719. package/node_modules/npm/lib/utils/get-workspaces.js +54 -0
  1720. package/node_modules/npm/lib/utils/installed-deep.js +45 -0
  1721. package/node_modules/npm/lib/utils/installed-shallow.js +19 -0
  1722. package/node_modules/npm/lib/utils/is-windows.js +4 -0
  1723. package/node_modules/npm/lib/utils/key-values.js +42 -0
  1724. package/node_modules/npm/lib/utils/log-file.js +247 -0
  1725. package/node_modules/npm/lib/utils/npm-usage.js +74 -0
  1726. package/node_modules/npm/lib/utils/oidc.js +177 -0
  1727. package/node_modules/npm/lib/utils/open-url.js +97 -0
  1728. package/node_modules/npm/lib/utils/output-error.js +30 -0
  1729. package/node_modules/npm/lib/utils/ping.js +6 -0
  1730. package/node_modules/npm/lib/utils/queryable.js +292 -0
  1731. package/node_modules/npm/lib/utils/read-user-info.js +69 -0
  1732. package/node_modules/npm/lib/utils/reify-finish.js +25 -0
  1733. package/node_modules/npm/lib/utils/reify-output.js +291 -0
  1734. package/node_modules/npm/lib/utils/resolve-allow-scripts.js +181 -0
  1735. package/node_modules/npm/lib/utils/sbom-cyclonedx.js +210 -0
  1736. package/node_modules/npm/lib/utils/sbom-spdx.js +211 -0
  1737. package/node_modules/npm/lib/utils/strict-allow-scripts-preflight.js +76 -0
  1738. package/node_modules/npm/lib/utils/tar.js +110 -0
  1739. package/node_modules/npm/lib/utils/timers.js +89 -0
  1740. package/node_modules/npm/lib/utils/update-workspaces.js +37 -0
  1741. package/node_modules/npm/lib/utils/validate-lockfile.js +29 -0
  1742. package/node_modules/npm/lib/utils/validate-uuid.js +10 -0
  1743. package/node_modules/npm/lib/utils/verify-signatures.js +397 -0
  1744. package/node_modules/npm/lib/utils/warn-workspace-allow-scripts.js +40 -0
  1745. package/node_modules/npm/man/man1/npm-access.1 +105 -0
  1746. package/node_modules/npm/man/man1/npm-adduser.1 +93 -0
  1747. package/node_modules/npm/man/man1/npm-approve-scripts.1 +117 -0
  1748. package/node_modules/npm/man/man1/npm-audit.1 +466 -0
  1749. package/node_modules/npm/man/man1/npm-bugs.1 +115 -0
  1750. package/node_modules/npm/man/man1/npm-cache.1 +95 -0
  1751. package/node_modules/npm/man/man1/npm-ci.1 +377 -0
  1752. package/node_modules/npm/man/man1/npm-completion.1 +35 -0
  1753. package/node_modules/npm/man/man1/npm-config.1 +186 -0
  1754. package/node_modules/npm/man/man1/npm-dedupe.1 +340 -0
  1755. package/node_modules/npm/man/man1/npm-deny-scripts.1 +99 -0
  1756. package/node_modules/npm/man/man1/npm-deprecate.1 +85 -0
  1757. package/node_modules/npm/man/man1/npm-diff.1 +310 -0
  1758. package/node_modules/npm/man/man1/npm-dist-tag.1 +144 -0
  1759. package/node_modules/npm/man/man1/npm-docs.1 +113 -0
  1760. package/node_modules/npm/man/man1/npm-doctor.1 +82 -0
  1761. package/node_modules/npm/man/man1/npm-edit.1 +43 -0
  1762. package/node_modules/npm/man/man1/npm-exec.1 +388 -0
  1763. package/node_modules/npm/man/man1/npm-explain.1 +118 -0
  1764. package/node_modules/npm/man/man1/npm-explore.1 +49 -0
  1765. package/node_modules/npm/man/man1/npm-find-dupes.1 +227 -0
  1766. package/node_modules/npm/man/man1/npm-fund.1 +142 -0
  1767. package/node_modules/npm/man/man1/npm-get.1 +31 -0
  1768. package/node_modules/npm/man/man1/npm-help-search.1 +37 -0
  1769. package/node_modules/npm/man/man1/npm-help.1 +47 -0
  1770. package/node_modules/npm/man/man1/npm-init.1 +393 -0
  1771. package/node_modules/npm/man/man1/npm-install-ci-test.1 +327 -0
  1772. package/node_modules/npm/man/man1/npm-install-scripts.1 +133 -0
  1773. package/node_modules/npm/man/man1/npm-install-test.1 +497 -0
  1774. package/node_modules/npm/man/man1/npm-install.1 +941 -0
  1775. package/node_modules/npm/man/man1/npm-link.1 +405 -0
  1776. package/node_modules/npm/man/man1/npm-ll.1 +231 -0
  1777. package/node_modules/npm/man/man1/npm-login.1 +97 -0
  1778. package/node_modules/npm/man/man1/npm-logout.1 +75 -0
  1779. package/node_modules/npm/man/man1/npm-ls.1 +271 -0
  1780. package/node_modules/npm/man/man1/npm-org.1 +125 -0
  1781. package/node_modules/npm/man/man1/npm-outdated.1 +247 -0
  1782. package/node_modules/npm/man/man1/npm-owner.1 +110 -0
  1783. package/node_modules/npm/man/man1/npm-pack.1 +142 -0
  1784. package/node_modules/npm/man/man1/npm-ping.1 +52 -0
  1785. package/node_modules/npm/man/man1/npm-pkg.1 +286 -0
  1786. package/node_modules/npm/man/man1/npm-prefix.1 +63 -0
  1787. package/node_modules/npm/man/man1/npm-profile.1 +126 -0
  1788. package/node_modules/npm/man/man1/npm-prune.1 +184 -0
  1789. package/node_modules/npm/man/man1/npm-publish.1 +263 -0
  1790. package/node_modules/npm/man/man1/npm-query.1 +344 -0
  1791. package/node_modules/npm/man/man1/npm-rebuild.1 +216 -0
  1792. package/node_modules/npm/man/man1/npm-repo.1 +103 -0
  1793. package/node_modules/npm/man/man1/npm-restart.1 +84 -0
  1794. package/node_modules/npm/man/man1/npm-root.1 +56 -0
  1795. package/node_modules/npm/man/man1/npm-run.1 +234 -0
  1796. package/node_modules/npm/man/man1/npm-sbom.1 +314 -0
  1797. package/node_modules/npm/man/man1/npm-search.1 +156 -0
  1798. package/node_modules/npm/man/man1/npm-set.1 +61 -0
  1799. package/node_modules/npm/man/man1/npm-shrinkwrap.1 +32 -0
  1800. package/node_modules/npm/man/man1/npm-stage.1 +178 -0
  1801. package/node_modules/npm/man/man1/npm-star.1 +76 -0
  1802. package/node_modules/npm/man/man1/npm-stars.1 +41 -0
  1803. package/node_modules/npm/man/man1/npm-start.1 +79 -0
  1804. package/node_modules/npm/man/man1/npm-stop.1 +75 -0
  1805. package/node_modules/npm/man/man1/npm-team.1 +148 -0
  1806. package/node_modules/npm/man/man1/npm-test.1 +73 -0
  1807. package/node_modules/npm/man/man1/npm-token.1 +200 -0
  1808. package/node_modules/npm/man/man1/npm-trust.1 +143 -0
  1809. package/node_modules/npm/man/man1/npm-undeprecate.1 +57 -0
  1810. package/node_modules/npm/man/man1/npm-uninstall.1 +159 -0
  1811. package/node_modules/npm/man/man1/npm-unpublish.1 +137 -0
  1812. package/node_modules/npm/man/man1/npm-unstar.1 +70 -0
  1813. package/node_modules/npm/man/man1/npm-update.1 +509 -0
  1814. package/node_modules/npm/man/man1/npm-version.1 +259 -0
  1815. package/node_modules/npm/man/man1/npm-view.1 +284 -0
  1816. package/node_modules/npm/man/man1/npm-whoami.1 +39 -0
  1817. package/node_modules/npm/man/man1/npm.1 +131 -0
  1818. package/node_modules/npm/man/man1/npx.1 +158 -0
  1819. package/node_modules/npm/man/man5/folders.5 +147 -0
  1820. package/node_modules/npm/man/man5/install.5 +54 -0
  1821. package/node_modules/npm/man/man5/npm-global.5 +147 -0
  1822. package/node_modules/npm/man/man5/npm-json.5 +1269 -0
  1823. package/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +23 -0
  1824. package/node_modules/npm/man/man5/npmrc.5 +195 -0
  1825. package/node_modules/npm/man/man5/package-json.5 +1269 -0
  1826. package/node_modules/npm/man/man5/package-lock-json.5 +166 -0
  1827. package/node_modules/npm/man/man7/config.7 +2379 -0
  1828. package/node_modules/npm/man/man7/dependency-selectors.7 +331 -0
  1829. package/node_modules/npm/man/man7/developers.7 +251 -0
  1830. package/node_modules/npm/man/man7/logging.7 +108 -0
  1831. package/node_modules/npm/man/man7/orgs.7 +145 -0
  1832. package/node_modules/npm/man/man7/package-spec.7 +126 -0
  1833. package/node_modules/npm/man/man7/registry.7 +49 -0
  1834. package/node_modules/npm/man/man7/removal.7 +54 -0
  1835. package/node_modules/npm/man/man7/scope.7 +113 -0
  1836. package/node_modules/npm/man/man7/scripts.7 +467 -0
  1837. package/node_modules/npm/man/man7/workspaces.7 +236 -0
  1838. package/node_modules/npm/package.json +259 -0
  1839. package/node_modules/npm-audit-report/LICENSE +16 -0
  1840. package/node_modules/npm-audit-report/lib/colors.js +22 -0
  1841. package/node_modules/npm-audit-report/lib/exit-code.js +14 -0
  1842. package/node_modules/npm-audit-report/lib/index.js +41 -0
  1843. package/node_modules/npm-audit-report/lib/reporters/detail.js +86 -0
  1844. package/node_modules/npm-audit-report/lib/reporters/install.js +75 -0
  1845. package/node_modules/npm-audit-report/lib/reporters/json.js +1 -0
  1846. package/node_modules/npm-audit-report/lib/reporters/quiet.js +1 -0
  1847. package/node_modules/npm-audit-report/package.json +62 -0
  1848. package/node_modules/npm-bundled/LICENSE +15 -0
  1849. package/node_modules/npm-bundled/lib/index.js +254 -0
  1850. package/node_modules/npm-bundled/package.json +49 -0
  1851. package/node_modules/npm-install-checks/LICENSE +27 -0
  1852. package/node_modules/npm-install-checks/lib/current-env.js +91 -0
  1853. package/node_modules/npm-install-checks/lib/dev-engines.js +145 -0
  1854. package/node_modules/npm-install-checks/lib/index.js +90 -0
  1855. package/node_modules/npm-install-checks/package.json +52 -0
  1856. package/node_modules/npm-normalize-package-bin/LICENSE +15 -0
  1857. package/node_modules/npm-normalize-package-bin/lib/index.js +64 -0
  1858. package/node_modules/npm-normalize-package-bin/package.json +45 -0
  1859. package/node_modules/npm-package-arg/LICENSE +15 -0
  1860. package/node_modules/npm-package-arg/lib/npa.js +479 -0
  1861. package/node_modules/npm-package-arg/package.json +60 -0
  1862. package/node_modules/npm-packlist/LICENSE +15 -0
  1863. package/node_modules/npm-packlist/lib/index.js +464 -0
  1864. package/node_modules/npm-packlist/package.json +62 -0
  1865. package/node_modules/npm-pick-manifest/LICENSE.md +16 -0
  1866. package/node_modules/npm-pick-manifest/lib/index.js +219 -0
  1867. package/node_modules/npm-pick-manifest/package.json +58 -0
  1868. package/node_modules/npm-profile/LICENSE.md +20 -0
  1869. package/node_modules/npm-profile/lib/index.js +305 -0
  1870. package/node_modules/npm-profile/package.json +52 -0
  1871. package/node_modules/npm-registry-fetch/LICENSE.md +20 -0
  1872. package/node_modules/npm-registry-fetch/lib/auth.js +181 -0
  1873. package/node_modules/npm-registry-fetch/lib/check-response.js +108 -0
  1874. package/node_modules/npm-registry-fetch/lib/default-opts.js +19 -0
  1875. package/node_modules/npm-registry-fetch/lib/errors.js +80 -0
  1876. package/node_modules/npm-registry-fetch/lib/index.js +248 -0
  1877. package/node_modules/npm-registry-fetch/lib/json-stream.js +223 -0
  1878. package/node_modules/npm-registry-fetch/package.json +68 -0
  1879. package/node_modules/npm-user-validate/LICENSE +27 -0
  1880. package/node_modules/npm-user-validate/lib/index.js +61 -0
  1881. package/node_modules/npm-user-validate/package.json +50 -0
  1882. package/node_modules/p-map/index.js +283 -0
  1883. package/node_modules/p-map/license +9 -0
  1884. package/node_modules/p-map/package.json +57 -0
  1885. package/node_modules/pacote/LICENSE +15 -0
  1886. package/node_modules/pacote/README.md +251 -0
  1887. package/node_modules/pacote/bin/index.js +158 -0
  1888. package/node_modules/pacote/lib/dir.js +105 -0
  1889. package/node_modules/pacote/lib/fetcher.js +519 -0
  1890. package/node_modules/pacote/lib/file.js +94 -0
  1891. package/node_modules/pacote/lib/git.js +329 -0
  1892. package/node_modules/pacote/lib/index.js +23 -0
  1893. package/node_modules/pacote/lib/registry.js +373 -0
  1894. package/node_modules/pacote/lib/remote.js +89 -0
  1895. package/node_modules/pacote/lib/util/add-git-sha.js +18 -0
  1896. package/node_modules/pacote/lib/util/cache-dir.js +15 -0
  1897. package/node_modules/pacote/lib/util/is-package-bin.js +25 -0
  1898. package/node_modules/pacote/lib/util/npm.js +14 -0
  1899. package/node_modules/pacote/lib/util/protected.js +5 -0
  1900. package/node_modules/pacote/lib/util/tar-create-options.js +31 -0
  1901. package/node_modules/pacote/lib/util/trailing-slashes.js +10 -0
  1902. package/node_modules/pacote/package.json +80 -0
  1903. package/node_modules/parse-conflict-json/LICENSE.md +20 -0
  1904. package/node_modules/parse-conflict-json/lib/index.js +104 -0
  1905. package/node_modules/parse-conflict-json/package.json +51 -0
  1906. package/node_modules/path-scurry/LICENSE.md +55 -0
  1907. package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
  1908. package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  1909. package/node_modules/path-scurry/dist/esm/index.js +1983 -0
  1910. package/node_modules/path-scurry/dist/esm/package.json +3 -0
  1911. package/node_modules/path-scurry/package.json +72 -0
  1912. package/node_modules/picomatch/LICENSE +21 -0
  1913. package/node_modules/picomatch/index.js +17 -0
  1914. package/node_modules/picomatch/lib/constants.js +184 -0
  1915. package/node_modules/picomatch/lib/parse.js +1386 -0
  1916. package/node_modules/picomatch/lib/picomatch.js +349 -0
  1917. package/node_modules/picomatch/lib/scan.js +391 -0
  1918. package/node_modules/picomatch/lib/utils.js +72 -0
  1919. package/node_modules/picomatch/package.json +82 -0
  1920. package/node_modules/picomatch/posix.js +3 -0
  1921. package/node_modules/postcss-selector-parser/API.md +874 -0
  1922. package/node_modules/postcss-selector-parser/LICENSE-MIT +22 -0
  1923. package/node_modules/postcss-selector-parser/dist/index.js +44 -0
  1924. package/node_modules/postcss-selector-parser/dist/parser.js +1105 -0
  1925. package/node_modules/postcss-selector-parser/dist/processor.js +153 -0
  1926. package/node_modules/postcss-selector-parser/dist/selectors/attribute.js +440 -0
  1927. package/node_modules/postcss-selector-parser/dist/selectors/className.js +59 -0
  1928. package/node_modules/postcss-selector-parser/dist/selectors/combinator.js +33 -0
  1929. package/node_modules/postcss-selector-parser/dist/selectors/comment.js +33 -0
  1930. package/node_modules/postcss-selector-parser/dist/selectors/constructors.js +43 -0
  1931. package/node_modules/postcss-selector-parser/dist/selectors/container.js +433 -0
  1932. package/node_modules/postcss-selector-parser/dist/selectors/guards.js +61 -0
  1933. package/node_modules/postcss-selector-parser/dist/selectors/id.js +36 -0
  1934. package/node_modules/postcss-selector-parser/dist/selectors/index.js +20 -0
  1935. package/node_modules/postcss-selector-parser/dist/selectors/namespace.js +96 -0
  1936. package/node_modules/postcss-selector-parser/dist/selectors/nesting.js +34 -0
  1937. package/node_modules/postcss-selector-parser/dist/selectors/node.js +195 -0
  1938. package/node_modules/postcss-selector-parser/dist/selectors/pseudo.js +45 -0
  1939. package/node_modules/postcss-selector-parser/dist/selectors/root.js +56 -0
  1940. package/node_modules/postcss-selector-parser/dist/selectors/selector.js +33 -0
  1941. package/node_modules/postcss-selector-parser/dist/selectors/string.js +33 -0
  1942. package/node_modules/postcss-selector-parser/dist/selectors/tag.js +33 -0
  1943. package/node_modules/postcss-selector-parser/dist/selectors/types.js +16 -0
  1944. package/node_modules/postcss-selector-parser/dist/selectors/universal.js +34 -0
  1945. package/node_modules/postcss-selector-parser/dist/sortAscending.js +7 -0
  1946. package/node_modules/postcss-selector-parser/dist/tokenTypes.js +37 -0
  1947. package/node_modules/postcss-selector-parser/dist/tokenize.js +301 -0
  1948. package/node_modules/postcss-selector-parser/dist/util/ensureObject.js +17 -0
  1949. package/node_modules/postcss-selector-parser/dist/util/getProp.js +18 -0
  1950. package/node_modules/postcss-selector-parser/dist/util/index.js +18 -0
  1951. package/node_modules/postcss-selector-parser/dist/util/maxNestingDepth.js +25 -0
  1952. package/node_modules/postcss-selector-parser/dist/util/stripComments.js +20 -0
  1953. package/node_modules/postcss-selector-parser/dist/util/unesc.js +72 -0
  1954. package/node_modules/postcss-selector-parser/package.json +63 -0
  1955. package/node_modules/proc-log/LICENSE +15 -0
  1956. package/node_modules/proc-log/lib/index.js +158 -0
  1957. package/node_modules/proc-log/package.json +46 -0
  1958. package/node_modules/proggy/LICENSE +15 -0
  1959. package/node_modules/proggy/lib/client.js +114 -0
  1960. package/node_modules/proggy/lib/index.js +15 -0
  1961. package/node_modules/proggy/lib/tracker.js +68 -0
  1962. package/node_modules/proggy/package.json +50 -0
  1963. package/node_modules/promise-all-reject-late/LICENSE +15 -0
  1964. package/node_modules/promise-all-reject-late/index.js +27 -0
  1965. package/node_modules/promise-all-reject-late/package.json +22 -0
  1966. package/node_modules/promise-all-reject-late/test/index.js +88 -0
  1967. package/node_modules/promise-call-limit/LICENSE +15 -0
  1968. package/node_modules/promise-call-limit/dist/commonjs/index.js +87 -0
  1969. package/node_modules/promise-call-limit/dist/commonjs/package.json +3 -0
  1970. package/node_modules/promise-call-limit/dist/esm/index.js +60 -0
  1971. package/node_modules/promise-call-limit/dist/esm/package.json +3 -0
  1972. package/node_modules/promise-call-limit/package.json +68 -0
  1973. package/node_modules/promzard/LICENSE +15 -0
  1974. package/node_modules/promzard/lib/index.js +176 -0
  1975. package/node_modules/promzard/package.json +50 -0
  1976. package/node_modules/qrcode-terminal/.travis.yml +3 -0
  1977. package/node_modules/qrcode-terminal/LICENSE +222 -0
  1978. package/node_modules/qrcode-terminal/README.md +82 -0
  1979. package/node_modules/qrcode-terminal/bin/qrcode-terminal.js +101 -0
  1980. package/node_modules/qrcode-terminal/example/basic.js +2 -0
  1981. package/node_modules/qrcode-terminal/example/basic.png +0 -0
  1982. package/node_modules/qrcode-terminal/example/callback.js +4 -0
  1983. package/node_modules/qrcode-terminal/example/small-qrcode.js +6 -0
  1984. package/node_modules/qrcode-terminal/lib/main.js +100 -0
  1985. package/node_modules/qrcode-terminal/package.json +37 -0
  1986. package/node_modules/qrcode-terminal/test/main.js +63 -0
  1987. package/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +22 -0
  1988. package/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +38 -0
  1989. package/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +7 -0
  1990. package/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +10 -0
  1991. package/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +44 -0
  1992. package/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +6 -0
  1993. package/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +66 -0
  1994. package/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +298 -0
  1995. package/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +272 -0
  1996. package/node_modules/qrcode-terminal/vendor/QRCode/index.js +462 -0
  1997. package/node_modules/read/LICENSE +15 -0
  1998. package/node_modules/read/dist/commonjs/package.json +3 -0
  1999. package/node_modules/read/dist/commonjs/read.js +94 -0
  2000. package/node_modules/read/dist/esm/package.json +3 -0
  2001. package/node_modules/read/dist/esm/read.js +88 -0
  2002. package/node_modules/read/package.json +88 -0
  2003. package/node_modules/read-cmd-shim/LICENSE +14 -0
  2004. package/node_modules/read-cmd-shim/lib/index.js +75 -0
  2005. package/node_modules/read-cmd-shim/package.json +48 -0
  2006. package/node_modules/safer-buffer/LICENSE +21 -0
  2007. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  2008. package/node_modules/safer-buffer/dangerous.js +58 -0
  2009. package/node_modules/safer-buffer/package.json +34 -0
  2010. package/node_modules/safer-buffer/safer.js +77 -0
  2011. package/node_modules/safer-buffer/tests.js +406 -0
  2012. package/node_modules/semver/LICENSE +15 -0
  2013. package/node_modules/semver/README.md +680 -0
  2014. package/node_modules/semver/bin/semver.js +195 -0
  2015. package/node_modules/semver/classes/comparator.js +143 -0
  2016. package/node_modules/semver/classes/index.js +7 -0
  2017. package/node_modules/semver/classes/range.js +577 -0
  2018. package/node_modules/semver/classes/semver.js +350 -0
  2019. package/node_modules/semver/functions/clean.js +8 -0
  2020. package/node_modules/semver/functions/cmp.js +54 -0
  2021. package/node_modules/semver/functions/coerce.js +62 -0
  2022. package/node_modules/semver/functions/compare-build.js +9 -0
  2023. package/node_modules/semver/functions/compare-loose.js +5 -0
  2024. package/node_modules/semver/functions/compare.js +7 -0
  2025. package/node_modules/semver/functions/diff.js +60 -0
  2026. package/node_modules/semver/functions/eq.js +5 -0
  2027. package/node_modules/semver/functions/gt.js +5 -0
  2028. package/node_modules/semver/functions/gte.js +5 -0
  2029. package/node_modules/semver/functions/inc.js +21 -0
  2030. package/node_modules/semver/functions/lt.js +5 -0
  2031. package/node_modules/semver/functions/lte.js +5 -0
  2032. package/node_modules/semver/functions/major.js +5 -0
  2033. package/node_modules/semver/functions/minor.js +5 -0
  2034. package/node_modules/semver/functions/neq.js +5 -0
  2035. package/node_modules/semver/functions/parse.js +18 -0
  2036. package/node_modules/semver/functions/patch.js +5 -0
  2037. package/node_modules/semver/functions/prerelease.js +8 -0
  2038. package/node_modules/semver/functions/rcompare.js +5 -0
  2039. package/node_modules/semver/functions/rsort.js +5 -0
  2040. package/node_modules/semver/functions/satisfies.js +12 -0
  2041. package/node_modules/semver/functions/sort.js +5 -0
  2042. package/node_modules/semver/functions/truncate.js +48 -0
  2043. package/node_modules/semver/functions/valid.js +8 -0
  2044. package/node_modules/semver/index.js +93 -0
  2045. package/node_modules/semver/internal/constants.js +37 -0
  2046. package/node_modules/semver/internal/debug.js +11 -0
  2047. package/node_modules/semver/internal/identifiers.js +29 -0
  2048. package/node_modules/semver/internal/lrucache.js +42 -0
  2049. package/node_modules/semver/internal/parse-options.js +17 -0
  2050. package/node_modules/semver/internal/re.js +223 -0
  2051. package/node_modules/semver/package.json +78 -0
  2052. package/node_modules/semver/preload.js +4 -0
  2053. package/node_modules/semver/range.bnf +17 -0
  2054. package/node_modules/semver/ranges/gtr.js +6 -0
  2055. package/node_modules/semver/ranges/intersects.js +9 -0
  2056. package/node_modules/semver/ranges/ltr.js +6 -0
  2057. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  2058. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  2059. package/node_modules/semver/ranges/min-version.js +63 -0
  2060. package/node_modules/semver/ranges/outside.js +82 -0
  2061. package/node_modules/semver/ranges/simplify.js +49 -0
  2062. package/node_modules/semver/ranges/subset.js +249 -0
  2063. package/node_modules/semver/ranges/to-comparators.js +10 -0
  2064. package/node_modules/semver/ranges/valid.js +13 -0
  2065. package/node_modules/signal-exit/LICENSE.txt +16 -0
  2066. package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  2067. package/node_modules/signal-exit/dist/cjs/index.js +279 -0
  2068. package/node_modules/signal-exit/dist/cjs/package.json +3 -0
  2069. package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  2070. package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  2071. package/node_modules/signal-exit/dist/mjs/index.js +275 -0
  2072. package/node_modules/signal-exit/dist/mjs/package.json +3 -0
  2073. package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  2074. package/node_modules/signal-exit/package.json +106 -0
  2075. package/node_modules/sigstore/LICENSE +202 -0
  2076. package/node_modules/sigstore/dist/config.js +126 -0
  2077. package/node_modules/sigstore/dist/index.js +34 -0
  2078. package/node_modules/sigstore/dist/sigstore.js +112 -0
  2079. package/node_modules/sigstore/package.json +47 -0
  2080. package/node_modules/smart-buffer/LICENSE +20 -0
  2081. package/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
  2082. package/node_modules/smart-buffer/build/utils.js +108 -0
  2083. package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  2084. package/node_modules/smart-buffer/package.json +79 -0
  2085. package/node_modules/socks/LICENSE +20 -0
  2086. package/node_modules/socks/build/client/socksclient.js +793 -0
  2087. package/node_modules/socks/build/common/constants.js +108 -0
  2088. package/node_modules/socks/build/common/helpers.js +167 -0
  2089. package/node_modules/socks/build/common/receivebuffer.js +43 -0
  2090. package/node_modules/socks/build/common/util.js +25 -0
  2091. package/node_modules/socks/build/index.js +18 -0
  2092. package/node_modules/socks/docs/examples/index.md +17 -0
  2093. package/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
  2094. package/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
  2095. package/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
  2096. package/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
  2097. package/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
  2098. package/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
  2099. package/node_modules/socks/docs/index.md +5 -0
  2100. package/node_modules/socks/docs/migratingFromV1.md +86 -0
  2101. package/node_modules/socks/package.json +58 -0
  2102. package/node_modules/socks-proxy-agent/LICENSE +22 -0
  2103. package/node_modules/socks-proxy-agent/dist/index.js +195 -0
  2104. package/node_modules/socks-proxy-agent/package.json +142 -0
  2105. package/node_modules/spdx-exceptions/deprecated.json +3 -0
  2106. package/node_modules/spdx-exceptions/index.json +68 -0
  2107. package/node_modules/spdx-exceptions/package.json +19 -0
  2108. package/node_modules/spdx-expression-parse/AUTHORS +4 -0
  2109. package/node_modules/spdx-expression-parse/LICENSE +22 -0
  2110. package/node_modules/spdx-expression-parse/index.js +8 -0
  2111. package/node_modules/spdx-expression-parse/package.json +39 -0
  2112. package/node_modules/spdx-expression-parse/parse.js +138 -0
  2113. package/node_modules/spdx-expression-parse/scan.js +131 -0
  2114. package/node_modules/spdx-license-ids/deprecated.json +28 -0
  2115. package/node_modules/spdx-license-ids/index.json +697 -0
  2116. package/node_modules/spdx-license-ids/package.json +29 -0
  2117. package/node_modules/ssri/LICENSE.md +16 -0
  2118. package/node_modules/ssri/lib/index.js +550 -0
  2119. package/node_modules/ssri/package.json +66 -0
  2120. package/node_modules/supports-color/browser.js +35 -0
  2121. package/node_modules/supports-color/index.js +202 -0
  2122. package/node_modules/supports-color/license +9 -0
  2123. package/node_modules/supports-color/package.json +64 -0
  2124. package/node_modules/tar/LICENSE.md +55 -0
  2125. package/node_modules/tar/dist/commonjs/create.js +82 -0
  2126. package/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  2127. package/node_modules/tar/dist/commonjs/extract.js +88 -0
  2128. package/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
  2129. package/node_modules/tar/dist/commonjs/header.js +348 -0
  2130. package/node_modules/tar/dist/commonjs/index.js +64 -0
  2131. package/node_modules/tar/dist/commonjs/index.min.js +4 -0
  2132. package/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  2133. package/node_modules/tar/dist/commonjs/list.js +153 -0
  2134. package/node_modules/tar/dist/commonjs/make-command.js +52 -0
  2135. package/node_modules/tar/dist/commonjs/mkdir.js +187 -0
  2136. package/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  2137. package/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
  2138. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  2139. package/node_modules/tar/dist/commonjs/options.js +66 -0
  2140. package/node_modules/tar/dist/commonjs/pack.js +544 -0
  2141. package/node_modules/tar/dist/commonjs/package.json +3 -0
  2142. package/node_modules/tar/dist/commonjs/parse.js +655 -0
  2143. package/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  2144. package/node_modules/tar/dist/commonjs/pax.js +182 -0
  2145. package/node_modules/tar/dist/commonjs/process-umask.js +7 -0
  2146. package/node_modules/tar/dist/commonjs/read-entry.js +136 -0
  2147. package/node_modules/tar/dist/commonjs/replace.js +227 -0
  2148. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  2149. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  2150. package/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  2151. package/node_modules/tar/dist/commonjs/types.js +70 -0
  2152. package/node_modules/tar/dist/commonjs/unpack.js +932 -0
  2153. package/node_modules/tar/dist/commonjs/update.js +33 -0
  2154. package/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  2155. package/node_modules/tar/dist/commonjs/winchars.js +14 -0
  2156. package/node_modules/tar/dist/commonjs/write-entry.js +698 -0
  2157. package/node_modules/tar/dist/esm/create.js +76 -0
  2158. package/node_modules/tar/dist/esm/cwd-error.js +14 -0
  2159. package/node_modules/tar/dist/esm/extract.js +49 -0
  2160. package/node_modules/tar/dist/esm/get-write-flag.js +26 -0
  2161. package/node_modules/tar/dist/esm/header.js +311 -0
  2162. package/node_modules/tar/dist/esm/index.js +20 -0
  2163. package/node_modules/tar/dist/esm/index.min.js +4 -0
  2164. package/node_modules/tar/dist/esm/large-numbers.js +94 -0
  2165. package/node_modules/tar/dist/esm/list.js +113 -0
  2166. package/node_modules/tar/dist/esm/make-command.js +48 -0
  2167. package/node_modules/tar/dist/esm/mkdir.js +179 -0
  2168. package/node_modules/tar/dist/esm/mode-fix.js +25 -0
  2169. package/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
  2170. package/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  2171. package/node_modules/tar/dist/esm/options.js +54 -0
  2172. package/node_modules/tar/dist/esm/pack.js +502 -0
  2173. package/node_modules/tar/dist/esm/package.json +3 -0
  2174. package/node_modules/tar/dist/esm/parse.js +651 -0
  2175. package/node_modules/tar/dist/esm/path-reservations.js +166 -0
  2176. package/node_modules/tar/dist/esm/pax.js +178 -0
  2177. package/node_modules/tar/dist/esm/process-umask.js +3 -0
  2178. package/node_modules/tar/dist/esm/read-entry.js +132 -0
  2179. package/node_modules/tar/dist/esm/replace.js +221 -0
  2180. package/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  2181. package/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  2182. package/node_modules/tar/dist/esm/symlink-error.js +15 -0
  2183. package/node_modules/tar/dist/esm/types.js +65 -0
  2184. package/node_modules/tar/dist/esm/unpack.js +891 -0
  2185. package/node_modules/tar/dist/esm/update.js +30 -0
  2186. package/node_modules/tar/dist/esm/warn-method.js +27 -0
  2187. package/node_modules/tar/dist/esm/winchars.js +9 -0
  2188. package/node_modules/tar/dist/esm/write-entry.js +656 -0
  2189. package/node_modules/tar/package.json +298 -0
  2190. package/node_modules/text-table/LICENSE +18 -0
  2191. package/node_modules/text-table/example/align.js +8 -0
  2192. package/node_modules/text-table/example/center.js +8 -0
  2193. package/node_modules/text-table/example/dotalign.js +9 -0
  2194. package/node_modules/text-table/example/doubledot.js +11 -0
  2195. package/node_modules/text-table/example/table.js +6 -0
  2196. package/node_modules/text-table/index.js +86 -0
  2197. package/node_modules/text-table/package.json +44 -0
  2198. package/node_modules/text-table/test/align.js +18 -0
  2199. package/node_modules/text-table/test/ansi-colors.js +32 -0
  2200. package/node_modules/text-table/test/center.js +18 -0
  2201. package/node_modules/text-table/test/dotalign.js +20 -0
  2202. package/node_modules/text-table/test/doubledot.js +24 -0
  2203. package/node_modules/text-table/test/table.js +14 -0
  2204. package/node_modules/tiny-relative-date/LICENSE.md +21 -0
  2205. package/node_modules/tiny-relative-date/lib/factory.js +100 -0
  2206. package/node_modules/tiny-relative-date/lib/index.js +18 -0
  2207. package/node_modules/tiny-relative-date/package.json +39 -0
  2208. package/node_modules/tiny-relative-date/src/factory.js +112 -0
  2209. package/node_modules/tiny-relative-date/src/index.js +4 -0
  2210. package/node_modules/tiny-relative-date/translations/da.js +31 -0
  2211. package/node_modules/tiny-relative-date/translations/de.js +31 -0
  2212. package/node_modules/tiny-relative-date/translations/en-short.js +31 -0
  2213. package/node_modules/tiny-relative-date/translations/en.js +31 -0
  2214. package/node_modules/tiny-relative-date/translations/es.js +31 -0
  2215. package/node_modules/tiny-relative-date/translations/fa.js +31 -0
  2216. package/node_modules/tiny-relative-date/translations/ne.js +31 -0
  2217. package/node_modules/tinyglobby/LICENSE +21 -0
  2218. package/node_modules/tinyglobby/dist/index.cjs +335 -0
  2219. package/node_modules/tinyglobby/dist/index.d.cts +148 -0
  2220. package/node_modules/tinyglobby/dist/index.d.mts +148 -0
  2221. package/node_modules/tinyglobby/dist/index.mjs +307 -0
  2222. package/node_modules/tinyglobby/package.json +70 -0
  2223. package/node_modules/treeverse/LICENSE +15 -0
  2224. package/node_modules/treeverse/lib/breadth.js +67 -0
  2225. package/node_modules/treeverse/lib/depth-descent.js +88 -0
  2226. package/node_modules/treeverse/lib/depth.js +76 -0
  2227. package/node_modules/treeverse/lib/index.js +4 -0
  2228. package/node_modules/treeverse/package.json +51 -0
  2229. package/node_modules/tuf-js/LICENSE +21 -0
  2230. package/node_modules/tuf-js/dist/config.js +16 -0
  2231. package/node_modules/tuf-js/dist/error.js +49 -0
  2232. package/node_modules/tuf-js/dist/fetcher.js +92 -0
  2233. package/node_modules/tuf-js/dist/index.js +9 -0
  2234. package/node_modules/tuf-js/dist/store.js +219 -0
  2235. package/node_modules/tuf-js/dist/updater.js +373 -0
  2236. package/node_modules/tuf-js/dist/utils/tmpfile.js +25 -0
  2237. package/node_modules/tuf-js/dist/utils/url.js +13 -0
  2238. package/node_modules/tuf-js/package.json +43 -0
  2239. package/node_modules/undici/LICENSE +21 -0
  2240. package/node_modules/undici/docs/docs/api/Agent.md +80 -0
  2241. package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
  2242. package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
  2243. package/node_modules/undici/docs/docs/api/Client.md +277 -0
  2244. package/node_modules/undici/docs/docs/api/Connector.md +115 -0
  2245. package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
  2246. package/node_modules/undici/docs/docs/api/Cookies.md +101 -0
  2247. package/node_modules/undici/docs/docs/api/Debug.md +62 -0
  2248. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +204 -0
  2249. package/node_modules/undici/docs/docs/api/DispatchInterceptor.md +60 -0
  2250. package/node_modules/undici/docs/docs/api/Dispatcher.md +1347 -0
  2251. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +162 -0
  2252. package/node_modules/undici/docs/docs/api/Errors.md +49 -0
  2253. package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
  2254. package/node_modules/undici/docs/docs/api/Fetch.md +52 -0
  2255. package/node_modules/undici/docs/docs/api/MockAgent.md +540 -0
  2256. package/node_modules/undici/docs/docs/api/MockClient.md +77 -0
  2257. package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
  2258. package/node_modules/undici/docs/docs/api/MockPool.md +547 -0
  2259. package/node_modules/undici/docs/docs/api/Pool.md +84 -0
  2260. package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
  2261. package/node_modules/undici/docs/docs/api/ProxyAgent.md +131 -0
  2262. package/node_modules/undici/docs/docs/api/RedirectHandler.md +96 -0
  2263. package/node_modules/undici/docs/docs/api/RetryAgent.md +45 -0
  2264. package/node_modules/undici/docs/docs/api/RetryHandler.md +117 -0
  2265. package/node_modules/undici/docs/docs/api/Util.md +25 -0
  2266. package/node_modules/undici/docs/docs/api/WebSocket.md +51 -0
  2267. package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
  2268. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
  2269. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +136 -0
  2270. package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
  2271. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +20 -0
  2272. package/node_modules/undici/index-fetch.js +35 -0
  2273. package/node_modules/undici/index.js +169 -0
  2274. package/node_modules/undici/lib/api/abort-signal.js +57 -0
  2275. package/node_modules/undici/lib/api/api-connect.js +108 -0
  2276. package/node_modules/undici/lib/api/api-pipeline.js +251 -0
  2277. package/node_modules/undici/lib/api/api-request.js +214 -0
  2278. package/node_modules/undici/lib/api/api-stream.js +220 -0
  2279. package/node_modules/undici/lib/api/api-upgrade.js +108 -0
  2280. package/node_modules/undici/lib/api/index.js +7 -0
  2281. package/node_modules/undici/lib/api/readable.js +385 -0
  2282. package/node_modules/undici/lib/api/util.js +93 -0
  2283. package/node_modules/undici/lib/core/connect.js +240 -0
  2284. package/node_modules/undici/lib/core/constants.js +118 -0
  2285. package/node_modules/undici/lib/core/diagnostics.js +202 -0
  2286. package/node_modules/undici/lib/core/errors.js +425 -0
  2287. package/node_modules/undici/lib/core/request.js +416 -0
  2288. package/node_modules/undici/lib/core/symbols.js +67 -0
  2289. package/node_modules/undici/lib/core/tree.js +152 -0
  2290. package/node_modules/undici/lib/core/util.js +719 -0
  2291. package/node_modules/undici/lib/dispatcher/agent.js +129 -0
  2292. package/node_modules/undici/lib/dispatcher/balanced-pool.js +209 -0
  2293. package/node_modules/undici/lib/dispatcher/client-h1.js +1496 -0
  2294. package/node_modules/undici/lib/dispatcher/client-h2.js +744 -0
  2295. package/node_modules/undici/lib/dispatcher/client.js +623 -0
  2296. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +199 -0
  2297. package/node_modules/undici/lib/dispatcher/dispatcher.js +65 -0
  2298. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +160 -0
  2299. package/node_modules/undici/lib/dispatcher/fixed-queue.js +117 -0
  2300. package/node_modules/undici/lib/dispatcher/pool-base.js +194 -0
  2301. package/node_modules/undici/lib/dispatcher/pool-stats.js +34 -0
  2302. package/node_modules/undici/lib/dispatcher/pool.js +107 -0
  2303. package/node_modules/undici/lib/dispatcher/proxy-agent.js +274 -0
  2304. package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  2305. package/node_modules/undici/lib/global.js +32 -0
  2306. package/node_modules/undici/lib/handler/decorator-handler.js +44 -0
  2307. package/node_modules/undici/lib/handler/redirect-handler.js +232 -0
  2308. package/node_modules/undici/lib/handler/retry-handler.js +408 -0
  2309. package/node_modules/undici/lib/interceptor/dns.js +375 -0
  2310. package/node_modules/undici/lib/interceptor/dump.js +123 -0
  2311. package/node_modules/undici/lib/interceptor/redirect-interceptor.js +21 -0
  2312. package/node_modules/undici/lib/interceptor/redirect.js +24 -0
  2313. package/node_modules/undici/lib/interceptor/response-error.js +86 -0
  2314. package/node_modules/undici/lib/interceptor/retry.js +19 -0
  2315. package/node_modules/undici/lib/llhttp/constants.js +278 -0
  2316. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +5 -0
  2317. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +5 -0
  2318. package/node_modules/undici/lib/llhttp/utils.js +15 -0
  2319. package/node_modules/undici/lib/mock/mock-agent.js +160 -0
  2320. package/node_modules/undici/lib/mock/mock-client.js +59 -0
  2321. package/node_modules/undici/lib/mock/mock-errors.js +28 -0
  2322. package/node_modules/undici/lib/mock/mock-interceptor.js +207 -0
  2323. package/node_modules/undici/lib/mock/mock-pool.js +59 -0
  2324. package/node_modules/undici/lib/mock/mock-symbols.js +23 -0
  2325. package/node_modules/undici/lib/mock/mock-utils.js +367 -0
  2326. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  2327. package/node_modules/undici/lib/mock/pluralizer.js +29 -0
  2328. package/node_modules/undici/lib/util/timers.js +423 -0
  2329. package/node_modules/undici/lib/web/cache/cache.js +859 -0
  2330. package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  2331. package/node_modules/undici/lib/web/cache/symbols.js +5 -0
  2332. package/node_modules/undici/lib/web/cache/util.js +45 -0
  2333. package/node_modules/undici/lib/web/cookies/constants.js +12 -0
  2334. package/node_modules/undici/lib/web/cookies/index.js +184 -0
  2335. package/node_modules/undici/lib/web/cookies/parse.js +310 -0
  2336. package/node_modules/undici/lib/web/cookies/util.js +352 -0
  2337. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +398 -0
  2338. package/node_modules/undici/lib/web/eventsource/eventsource.js +480 -0
  2339. package/node_modules/undici/lib/web/eventsource/util.js +37 -0
  2340. package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  2341. package/node_modules/undici/lib/web/fetch/body.js +529 -0
  2342. package/node_modules/undici/lib/web/fetch/constants.js +124 -0
  2343. package/node_modules/undici/lib/web/fetch/data-url.js +744 -0
  2344. package/node_modules/undici/lib/web/fetch/dispatcher-weakref.js +46 -0
  2345. package/node_modules/undici/lib/web/fetch/file.js +126 -0
  2346. package/node_modules/undici/lib/web/fetch/formdata-parser.js +474 -0
  2347. package/node_modules/undici/lib/web/fetch/formdata.js +252 -0
  2348. package/node_modules/undici/lib/web/fetch/global.js +40 -0
  2349. package/node_modules/undici/lib/web/fetch/headers.js +687 -0
  2350. package/node_modules/undici/lib/web/fetch/index.js +2272 -0
  2351. package/node_modules/undici/lib/web/fetch/request.js +1037 -0
  2352. package/node_modules/undici/lib/web/fetch/response.js +610 -0
  2353. package/node_modules/undici/lib/web/fetch/symbols.js +9 -0
  2354. package/node_modules/undici/lib/web/fetch/util.js +1632 -0
  2355. package/node_modules/undici/lib/web/fetch/webidl.js +695 -0
  2356. package/node_modules/undici/lib/web/fileapi/encoding.js +290 -0
  2357. package/node_modules/undici/lib/web/fileapi/filereader.js +344 -0
  2358. package/node_modules/undici/lib/web/fileapi/progressevent.js +78 -0
  2359. package/node_modules/undici/lib/web/fileapi/symbols.js +10 -0
  2360. package/node_modules/undici/lib/web/fileapi/util.js +391 -0
  2361. package/node_modules/undici/lib/web/websocket/connection.js +371 -0
  2362. package/node_modules/undici/lib/web/websocket/constants.js +66 -0
  2363. package/node_modules/undici/lib/web/websocket/events.js +329 -0
  2364. package/node_modules/undici/lib/web/websocket/frame.js +96 -0
  2365. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
  2366. package/node_modules/undici/lib/web/websocket/receiver.js +513 -0
  2367. package/node_modules/undici/lib/web/websocket/sender.js +104 -0
  2368. package/node_modules/undici/lib/web/websocket/symbols.js +12 -0
  2369. package/node_modules/undici/lib/web/websocket/util.js +322 -0
  2370. package/node_modules/undici/lib/web/websocket/websocket.js +595 -0
  2371. package/node_modules/undici/package.json +160 -0
  2372. package/node_modules/undici/scripts/strip-comments.js +8 -0
  2373. package/node_modules/util-deprecate/History.md +16 -0
  2374. package/node_modules/util-deprecate/LICENSE +24 -0
  2375. package/node_modules/util-deprecate/browser.js +67 -0
  2376. package/node_modules/util-deprecate/node.js +6 -0
  2377. package/node_modules/util-deprecate/package.json +27 -0
  2378. package/node_modules/validate-npm-package-name/LICENSE +6 -0
  2379. package/node_modules/validate-npm-package-name/lib/builtin-modules.json +1 -0
  2380. package/node_modules/validate-npm-package-name/lib/index.js +114 -0
  2381. package/node_modules/validate-npm-package-name/package.json +59 -0
  2382. package/node_modules/walk-up-path/LICENSE +15 -0
  2383. package/node_modules/walk-up-path/dist/commonjs/index.js +18 -0
  2384. package/node_modules/walk-up-path/dist/commonjs/package.json +3 -0
  2385. package/node_modules/walk-up-path/dist/esm/index.js +14 -0
  2386. package/node_modules/walk-up-path/dist/esm/package.json +3 -0
  2387. package/node_modules/walk-up-path/package.json +71 -0
  2388. package/node_modules/which/LICENSE +15 -0
  2389. package/node_modules/which/README.md +51 -0
  2390. package/node_modules/which/bin/which.js +52 -0
  2391. package/node_modules/which/lib/index.js +111 -0
  2392. package/node_modules/which/package.json +52 -0
  2393. package/node_modules/write-file-atomic/LICENSE.md +6 -0
  2394. package/node_modules/write-file-atomic/lib/index.js +269 -0
  2395. package/node_modules/write-file-atomic/package.json +57 -0
  2396. package/node_modules/yallist/LICENSE.md +63 -0
  2397. package/node_modules/yallist/dist/commonjs/index.js +384 -0
  2398. package/node_modules/yallist/dist/commonjs/package.json +3 -0
  2399. package/node_modules/yallist/dist/esm/index.js +379 -0
  2400. package/node_modules/yallist/dist/esm/package.json +3 -0
  2401. package/node_modules/yallist/package.json +68 -0
  2402. package/package.json +7 -3
  2403. package/templates/experience/package.json.tmpl +4 -4
  2404. package/templates/package.json.tmpl +4 -4
  2405. package/templates/skills/build-agent/SKILL.md +1 -1
  2406. package/templates/skills/ekanos-platform/SKILL.md +1 -1
@@ -18,49 +18,17 @@ import { shortHost } from '../ui.js';
18
18
  import { announceUpdate, checkForUpdate } from '../update-notice.js';
19
19
  import { collectAllFindings } from '../validate-findings.js';
20
20
  import { DEFAULT_WAIT_MINUTES, failWatchTimeout, waitForGate, watchOutcomeData, } from './status.js';
21
- /**
22
- * Checks that are WARN in plain `ekanos validate` but must refuse a
23
- * `publish` outright: a project that will fail the gate is not allowed to
24
- * upload and find that out from the gate instead of from itself.
25
- * `project.host-compiler-rules` (see `project-checks.ts`) is WARN-severity
26
- * everywhere else on purpose — it reads a partner's local tsconfig, not the
27
- * gate's own verdict, so it must not block plain validate on a false
28
- * positive — but at the publish gate, "this WILL fail the gate" is exactly
29
- * the thing a submission preflight exists to refuse. A list, not a second
30
- * check, so the underlying rule and its message/hint stay defined in exactly
31
- * one place.
32
- */
33
21
  const PUBLISH_ERROR_ESCALATIONS = [
34
22
  'project.host-compiler-rules',
35
23
  ];
36
- /**
37
- * Escalate the checks in `PUBLISH_ERROR_ESCALATIONS` from `warn` to `error`
38
- * for THIS publish run only — `validate`'s own output (and the underlying
39
- * finding objects elsewhere) is never touched.
40
- */
41
24
  export function escalateForPublish(findings) {
42
25
  return findings.map((finding) => finding.severity === 'warn' &&
43
26
  PUBLISH_ERROR_ESCALATIONS.includes(finding.check)
44
27
  ? Object.assign(Object.assign({}, finding), { severity: 'error' }) : finding);
45
28
  }
46
- /**
47
- * `publish` — pack the project and submit it to an Ekanos deployment.
48
- *
49
- * The submission gate is the SAME findings pass `validate` runs (one
50
- * implementation, `validate-findings.ts`): any error-severity finding refuses
51
- * the publish with GATE_FAILED (exit 10) and the findings in `data`, so an
52
- * agent can branch on the code and fix-then-retry without re-running validate.
53
- *
54
- * Authorization is server-side — the dev seat on the target source — and the
55
- * stored session is refreshed once on a 401, mirroring `whoami`. On the first
56
- * successful publish the chosen source slug is persisted into `ekanos.json`
57
- * so later publishes need no `--source`.
58
- */
59
29
  export async function runPublish(ctx, args) {
60
30
  var _a;
61
31
  var _b, _c, _d, _e, _f;
62
- // Inside a repo, `publish` plans the packages: a same-repo integration is
63
- // ordered first rather than refused as an override.
64
32
  const repoRoot = findRepoRoot(path.resolve(args.dir));
65
33
  if (repoRoot) {
66
34
  return runRepoPublish(ctx, {
@@ -74,8 +42,6 @@ export async function runPublish(ctx, args) {
74
42
  if (((_c = (_a = args.packages) === null || _a === void 0 ? void 0 : _a.length) !== null && _c !== void 0 ? _c : 0) > 0 || args.all) {
75
43
  throw usageError('Package names and --all are for a repo.', 'Run this from a repo (see "ekanos init --kind repo"), or drop the names to publish this project.');
76
44
  }
77
- // An experience is published (dry-run only, for now) by its own pipeline,
78
- // before any login: overrides and the gate refuse it first.
79
45
  if (readProjectKind(path.resolve(args.dir)) === 'experience') {
80
46
  return runExperiencePublish(ctx, {
81
47
  dir: args.dir,
@@ -118,21 +84,11 @@ export async function runPublish(ctx, args) {
118
84
  }
119
85
  return ctx.succeed(Object.assign(Object.assign({}, submitted.data), { state: waited.version.state, gate: gateData }), `${submitted.human}\n${ctx.ui.ok(`${ctx.ui.glyphs.ok} gate verdict: ${waited.version.state}`)}`);
120
86
  }
121
- /**
122
- * The local gate every publish shares: the full findings pass, refusing with
123
- * GATE_FAILED when any finding is an error. Returns the exit code when it
124
- * refused, `null` when the project may go on.
125
- */
126
87
  async function refuseOnFindings(ctx, loaded, slug, version) {
127
88
  ctx.log(`Validating ${slug} before publishing…`);
128
89
  const findings = escalateForPublish(await collectAllFindings(loaded));
129
90
  const errorCount = findings.filter((f) => f.severity === 'error').length;
130
91
  if (errorCount > 0) {
131
- // Same rule as `validate`: render the shared findings block to stderr
132
- // BEFORE the envelope settles, human mode only. JSON mode carries the
133
- // identical findings in `data.findings` and must stay byte-identical.
134
- // Closing order is findings block -> short summary (via `ctx.fail`'s
135
- // `findingsSummary` option) -> next action.
136
92
  if (!ctx.jsonMode) {
137
93
  ctx.log(ctx.ui.err(`${ctx.ui.glyphs.err} Refusing to publish: ${errorCount} finding` +
138
94
  `${errorCount === 1 ? '' : 's'}.`));
@@ -152,18 +108,12 @@ async function refuseOnFindings(ctx, loaded, slug, version) {
152
108
  if (!ctx.jsonMode) {
153
109
  ctx.log(ctx.ui.ok(`${ctx.ui.glyphs.ok} validated ${slug} — no error-severity findings.`));
154
110
  }
155
- // What is about to be packed is the one thing a version cannot take back.
156
111
  const packWarnings = findings.filter((f) => f.check.startsWith('pack.'));
157
112
  if (packWarnings.length > 0 && !ctx.jsonMode) {
158
113
  renderFindings(ctx, packWarnings, { cwd: loaded.projectDir });
159
114
  }
160
115
  return { exitCode: null, packWarnings };
161
116
  }
162
- /**
163
- * `publish --dry-run` for one integration: the same findings gate and the same
164
- * pack a real publish runs, with nothing sent. It needs no login and no
165
- * source, so it is what a CI job or a first look runs before the real one.
166
- */
167
117
  async function runIntegrationDryRun(ctx, args) {
168
118
  const loaded = loadProject(args.dir);
169
119
  const skew = assertSchemaNotSkewed(ctx, loaded.projectDir);
@@ -196,20 +146,10 @@ async function runIntegrationDryRun(ctx, args) {
196
146
  ],
197
147
  }));
198
148
  }
199
- /**
200
- * Confirm the target, pack and submit one gated integration. The caller has
201
- * already passed the gate; this is the only part of `publish` that talks to
202
- * the host.
203
- */
204
149
  export async function submitPrepared(ctx, args, prepared) {
205
150
  var _a;
206
151
  var _b, _c, _d, _e, _f, _g;
207
152
  const { loaded, skew, notice, env, version, slug, resolution } = prepared;
208
- // The 100%-certainty mechanism: confirm the resolved source is one the
209
- // caller actually holds a seat on — and, when it was resolved IMPLICITLY
210
- // from ekanos.json with more than one seat in play, that a human (or an
211
- // explicit --yes) actually intends this target — BEFORE anything is packed
212
- // or sent over the wire.
213
153
  const verified = await verifyPublishTarget(ctx, env, resolution.session, {
214
154
  source: resolution.source,
215
155
  explicit: resolution.explicit,
@@ -221,8 +161,6 @@ export async function submitPrepared(ctx, args, prepared) {
221
161
  });
222
162
  const source = verified.sourceSeat.slug;
223
163
  const availability = (_a = loaded.project.availability) === null || _a === void 0 ? void 0 : _a.mode;
224
- // Say the full name the host will use, and refuse an unapproved global
225
- // name, before anything is packed.
226
164
  const lookup = await preflightName(ctx, env, verified.session, source, slug, availability);
227
165
  ctx.log(`Packing ${slug}@${version}…`);
228
166
  const packed = packProject(loaded.projectDir);
@@ -285,13 +223,6 @@ export async function submitPrepared(ctx, args, prepared) {
285
223
  }),
286
224
  };
287
225
  }
288
- /**
289
- * Ask the host what it will call this slug for the Source, before packing.
290
- * An unapproved global name stops the publish here. Any other answer - an
291
- * older host without the route, a server error, a shape this CLI does not
292
- * read - is not a reason to stop: the submission itself is authoritative, and
293
- * the bare slug stands in for the name.
294
- */
295
226
  async function preflightName(ctx, env, session, source, slug, availability) {
296
227
  let lookup = null;
297
228
  try {
@@ -316,21 +247,12 @@ async function preflightName(ctx, env, session, source, slug, availability) {
316
247
  }
317
248
  return lookup;
318
249
  }
319
- /**
320
- * Everything `publish` does before it gates a project: sign-in, load, schema
321
- * skew, toolchain check, source resolution. Shared by the single-project verb
322
- * and the repo verb (which gates every package before submitting any).
323
- */
324
250
  export async function prepareIntegrationSubmission(ctx, args) {
325
251
  const env = resolveAuthEnvironment(ctx, args.host, args.env, {
326
252
  projectDir: args.dir,
327
253
  });
328
254
  const session = requireSession(env);
329
255
  const loaded = loadProject(args.dir);
330
- // Fail fast, before anything else: a project whose schema is newer than
331
- // this CLI bundles cannot be trusted to validate correctly, so publishing
332
- // it — the one verb whose findings gate is meant to be authoritative —
333
- // must refuse before packing or submitting anything. See `schema-skew.ts`.
334
256
  const skew = assertSchemaNotSkewed(ctx, loaded.projectDir);
335
257
  const notice = await checkForUpdate({
336
258
  env: args.env,
@@ -338,10 +260,6 @@ export async function prepareIntegrationSubmission(ctx, args) {
338
260
  session,
339
261
  });
340
262
  announceUpdate(ctx, notice, { env: args.env });
341
- // The host would reject a build from a CLI it has declared unsupported
342
- // anyway (see the wire contract in `toolchain-api.ts`) — refuse here with a
343
- // hint naming the fix, rather than let the submission round-trip fail with
344
- // whatever generic error the host happens to answer with.
345
263
  if ((notice === null || notice === void 0 ? void 0 : notice.status) === 'unsupported') {
346
264
  throw preconditionError(`@ekanos/cli ${notice.current.cli} is below ${env.host}'s minimum ` +
347
265
  `supported version (needs at least ${notice.target.cli}).`, 'Run "ekanos upgrade" before publishing — the host will refuse this ' +
@@ -352,26 +270,6 @@ export async function prepareIntegrationSubmission(ctx, args) {
352
270
  const slug = loaded.primary.slug;
353
271
  return { env, session, loaded, skew, notice, resolution, version, slug };
354
272
  }
355
- /**
356
- * The publish-target verification gate.
357
- *
358
- * FORBIDDEN (exit 5) whenever the resolved source is not among the caller's
359
- * seats — regardless of whether it came from `--source` or ekanos.json.
360
- * Beyond that, the confirmation rules branch on how the source was resolved:
361
- *
362
- * - `--source` THIS invocation: explicit is consent. Proceed.
363
- * - ekanos.json, exactly one seat held (which must be the match, or the
364
- * FORBIDDEN check above would have already fired): proceed, but say so —
365
- * there is nothing to disambiguate, but the target should never be silent.
366
- * - ekanos.json, multiple seats held: the ambiguous case this mechanism
367
- * exists for. Only when BOTH human (non-JSON) mode AND stdin is a real
368
- * TTY does it print the target and require an explicit y/N confirm
369
- * (`--yes` skips it) — see `canPrompt` below for why stdin matters, not
370
- * just stdout. Every other combination (JSON mode, or human mode with a
371
- * closed/non-interactive stdin) NEVER prompts — it proceeds only with
372
- * `--yes`, otherwise VALIDATION (exit 3) with the seat list, naming
373
- * `--source`, `--yes` and `ekanos use`.
374
- */
375
273
  export async function verifyPublishTarget(ctx, env, session, args) {
376
274
  var _a, _b;
377
275
  const result = await fetchSeatsWithOneRefresh(env, session);
@@ -390,17 +288,6 @@ export async function verifyPublishTarget(ctx, env, session, args) {
390
288
  `developer seat.`);
391
289
  return { sourceSeat: seat, session: result.session };
392
290
  }
393
- // Implicit source, multiple seats: the ambiguous case.
394
- //
395
- // `ctx.jsonMode` alone is NOT enough to decide whether an interactive
396
- // confirm is safe: `--no-json` forces human mode even when stdout is
397
- // piped, and neither `--no-json` nor a bare human run says anything about
398
- // stdin. Prompting `readline`'s `.question()` against a closed/non-TTY
399
- // stdin (a cron job, a wrapper script piping stdout but not attached to a
400
- // terminal) never resolves — the process hangs instead of exiting with a
401
- // clean code. So an actual prompt requires BOTH: human mode AND a real
402
- // stdin TTY. Anything else — JSON mode, or human mode with non-interactive
403
- // stdin — falls through to the same non-prompting `--yes`-or-refuse rule.
404
291
  const canPrompt = !ctx.jsonMode && args.stdinIsTTY;
405
292
  if (canPrompt) {
406
293
  ctx.log(`Publishing ${args.slug}@${args.version} to SOURCE ${(_b = seat.name) !== null && _b !== void 0 ? _b : seat.slug} ` +
@@ -439,18 +326,6 @@ function multiSeatHint(sources) {
439
326
  function describeSeats(sources) {
440
327
  return sources.map((s) => `${s.slug} (${s.roles.join(', ')})`).join(', ');
441
328
  }
442
- /**
443
- * The real, non-test y/N prompt. Reads a line from stdin and writes the
444
- * question to stderr, so it never touches stdout — the one stream the JSON
445
- * envelope invariant depends on. Only reachable when `verifyPublishTarget`'s
446
- * `canPrompt` is true — human mode AND a real stdin TTY — so this never
447
- * blocks on a closed or non-interactive stdin.
448
- */
449
- /**
450
- * Exported so `upgrade` can reuse the exact same y/N prompt rather than
451
- * writing a second one — see `canPrompt` above for the stdin-TTY gating this
452
- * is only ever invoked behind.
453
- */
454
329
  export async function promptYesNo(question) {
455
330
  const readline = await import('node:readline/promises');
456
331
  const rl = readline.createInterface({
@@ -469,25 +344,13 @@ export async function submitWithOneRefresh(env, session, payload) {
469
344
  const first = await submitArchive(env.host, session.accessToken, payload);
470
345
  if (first.status === 'ok')
471
346
  return first.receipt;
472
- // The access token no longer authenticates — an ordinary event, not an
473
- // error. One refresh, one retry; a second 401 is authoritative.
474
347
  const refreshed = await refreshStoredSession(env, session);
475
348
  const second = await submitArchive(env.host, refreshed.accessToken, payload);
476
349
  if (second.status === 'ok')
477
350
  return second.receipt;
478
351
  return stillUnauthorized(env);
479
352
  }
480
- /**
481
- * Resolve the source slug (flag → ekanos.json) and whether it was given
482
- * EXPLICITLY this invocation — the fact `verifyPublishTarget` uses to decide
483
- * whether a confirmation is even in play. `flag !== undefined` (rather than
484
- * "non-empty after trim") is deliberate: an explicit `--source` that is
485
- * effectively empty is still a caller who typed the flag, not one who
486
- * fell through to ekanos.json.
487
- */
488
- export async function resolveSourceSlug(env, session, flag,
489
- /** Anything that carries the project's saved `source`: an integration project or an experience's ekanos.json. */
490
- loaded) {
353
+ export async function resolveSourceSlug(env, session, flag, loaded) {
491
354
  const explicit = flag !== undefined;
492
355
  const raw = flag !== null && flag !== void 0 ? flag : loaded.project.source;
493
356
  if (!raw || raw.trim().length === 0) {
@@ -495,13 +358,6 @@ loaded) {
495
358
  }
496
359
  return { source: raw.trim(), explicit, session };
497
360
  }
498
- /**
499
- * The no-source validation error, enriched with the caller's seat list when
500
- * it can be fetched — best-effort, since a session is guaranteed to exist
501
- * here (publish already called `requireSession`) but the fetch itself can
502
- * still fail (network, MFA, a down deployment). A failure to enrich must
503
- * never mask or replace the primary "no source given" error.
504
- */
505
361
  async function noSourceError(env, session) {
506
362
  let seatsNote = '';
507
363
  try {
@@ -513,33 +369,11 @@ async function noSourceError(env, session) {
513
369
  : ' You hold no seats on any source on this host yet.';
514
370
  }
515
371
  }
516
- catch (_a) {
517
- // Best-effort — the primary error below stands on its own.
518
- }
372
+ catch (_a) { }
519
373
  throw validationError('No Ekanos source given for the submission.', 'Pass "--source <slug>" (your operator names the source), or set ' +
520
374
  '"source": "<slug>" in ekanos.json. A successful publish saves it ' +
521
375
  `there for you.${seatsNote}`);
522
376
  }
523
- /**
524
- * Persist the chosen source AND host into ekanos.json after a SUCCESSFUL
525
- * publish, so the next publish — and every other host-taking verb — needs no
526
- * flag. Returns what was written. A write failure is reported but never fails
527
- * the command — the submission already landed.
528
- *
529
- * `publish` is the only verb that writes ekanos.json: it is the one verb that
530
- * proves the (host, source) pair actually works, and it always runs inside a
531
- * project. `login` deliberately never writes — it is routinely run outside
532
- * one, and the credential store's sole-host fallback covers it.
533
- *
534
- * `host` persists on FIRST WRITE ONLY. It decides where every future verb
535
- * sends the bearer token and the source archive, so a one-off `--host`
536
- * override (a staging test, say) must not silently become the project's
537
- * sticky default; when the override differs from the stored host, the stored
538
- * value is kept and the difference is called out in the result instead.
539
- * Changing it is an explicit edit of ekanos.json. `source` keeps the simpler
540
- * always-update semantics — it is scoped BY the host, and updating it is the
541
- * documented way to repoint a project.
542
- */
543
377
  export function persistProjectFields(loaded, source, host) {
544
378
  const wants = {
545
379
  source: loaded.project.source !== source,
@@ -556,25 +390,10 @@ export function persistProjectFields(loaded, source, host) {
556
390
  return Object.assign(Object.assign({}, wants), { hostOverride });
557
391
  }
558
392
  catch (_a) {
559
- // Diagnostics-only: the publish succeeded; a read-only ekanos.json just
560
- // means the next publish needs the flags again.
561
393
  return { source: false, host: false, hostOverride };
562
394
  }
563
395
  }
564
- /**
565
- * How many packed paths the manifest embeds before switching to a truncated
566
- * list plus a `filesTruncated` total. The manifest is metadata — the archive
567
- * itself is the payload — and the server caps it at MAX_MANIFEST_BYTES, so a
568
- * many-small-files project must not be able to blow the cap with its file
569
- * list alone.
570
- */
571
396
  const MANIFEST_FILE_LIST_CAP = 200;
572
- /**
573
- * The submission manifest: the parsed ekanos.json, the integration entries,
574
- * and (a bounded prefix of) the packed file list. Refuses to build one over
575
- * the server's byte cap — a clear VALIDATION error here beats the server's
576
- * generic 400 after a 4 MiB upload.
577
- */
578
397
  export function buildManifest(loaded, files) {
579
398
  const manifest = JSON.stringify(Object.assign({ project: loaded.project, integrations: loaded.integrations.map((i) => ({
580
399
  slug: i.slug,
@@ -591,10 +410,6 @@ export function buildManifest(loaded, files) {
591
410
  return manifest;
592
411
  }
593
412
  const SEMVER_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/;
594
- /**
595
- * The submitted version is the project's own `package.json#version` — one
596
- * source of truth, the same field npm would publish.
597
- */
598
413
  export function readProjectVersion(projectDir) {
599
414
  const manifestPath = path.join(projectDir, 'package.json');
600
415
  let parsed;
@@ -1 +1 @@
1
- {"version":3,"file":"publish.js","sourceRoot":"","sources":["../../src/commands/publish.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAGlC,OAAO,EAEL,oBAAoB,EACpB,cAAc,EACd,sBAAsB,GACvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,QAAQ,EACR,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,eAAe,GAChB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAmB,UAAU,EAAE,MA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ClB,gGAAgG,CAAC;AAEnG;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,UAAkB;IACnD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IAE3D,IAAI,MAAe,CAAC;IACpB,IAAI,CAAC;QACH,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,iBAAiB,CACrB,kBAAkB,YAAY,KAC5B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACvD,EAAE,EACF,uEAAuE;YACrE,sBAAsB,CACzB,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GACX,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI;QAC3C,CAAC,CAAE,MAAgC,CAAC,OAAO;QAC3C,CAAC,CAAC,SAAS,CAAC;IAEhB,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;QACjE,MAAM,eAAe,CACnB,6BACE,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC,SACjD,kCAAkC,EAClC,oBAAoB,YAAY,oCAAoC;YAClE,+BAA+B,CAClC,CAAC;IACJ,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import type { Finding } from '@ekanos/integration-schema';\nimport { findRepoRoot } from '@ekanos/integration-schema/repo';\nimport * as fs from 'node:fs';\nimport * as path from 'node:path';\n\nimport type { StoredSession } from '../auth/credential-store';\nimport {\n type AuthEnvironment,\n refreshStoredSession,\n requireSession,\n resolveAuthEnvironment,\n} from '../auth/session';\nimport type { CliContext } from '../context';\nimport {\n CliError,\n forbiddenError,\n gateFailedError,\n preconditionError,\n usageError,\n validationError,\n} from '../errors';\nimport type { ExitCode } from '../exit-codes';\nimport { readProjectKind } from '../experience/project';\nimport { runExperiencePublish } from '../experience/publish';\nimport { renderFindings } from '../findings-renderer';\nimport { type SlugLookup, lookupSlug } from '../names-api';\nimport { packProject } from '../pack';\nimport { type LoadedProject, loadProject, serializeProject } from '../project';\nimport {\n MAX_MANIFEST_BYTES,\n globalNameUnapprovedError,\n stillUnauthorized,\n submitArchive,\n} from '../publish-api';\nimport { runRepoPublish } from '../repo/publish';\nimport { assertSchemaNotSkewed } from '../schema-skew';\nimport { fetchSeatsWithOneRefresh } from '../seats';\nimport { type SourceSeat, stillUnauthorizedSourceSeats } from '../sources-api';\nimport { shortHost } from '../ui';\nimport { announceUpdate, checkForUpdate } from '../update-notice';\nimport { collectAllFindings } from '../validate-findings';\nimport {\n DEFAULT_WAIT_MINUTES,\n failWatchTimeout,\n waitForGate,\n watchOutcomeData,\n} from './status';\n\n/**\n * Checks that are WARN in plain `ekanos validate` but must refuse a\n * `publish` outright: a project that will fail the gate is not allowed to\n * upload and find that out from the gate instead of from itself.\n * `project.host-compiler-rules` (see `project-checks.ts`) is WARN-severity\n * everywhere else on purpose — it reads a partner's local tsconfig, not the\n * gate's own verdict, so it must not block plain validate on a false\n * positive — but at the publish gate, \"this WILL fail the gate\" is exactly\n * the thing a submission preflight exists to refuse. A list, not a second\n * check, so the underlying rule and its message/hint stay defined in exactly\n * one place.\n */\nconst PUBLISH_ERROR_ESCALATIONS: readonly string[] = [\n 'project.host-compiler-rules',\n];\n\n/**\n * Escalate the checks in `PUBLISH_ERROR_ESCALATIONS` from `warn` to `error`\n * for THIS publish run only — `validate`'s own output (and the underlying\n * finding objects elsewhere) is never touched.\n */\nexport function escalateForPublish(findings: Finding[]): Finding[] {\n return findings.map((finding) =>\n finding.severity === 'warn' &&\n PUBLISH_ERROR_ESCALATIONS.includes(finding.check)\n ? { ...finding, severity: 'error' }\n : finding,\n );\n}\n\nexport interface PublishArgs {\n host?: string;\n /** Ekanos source slug. Falls back to ekanos.json's \"source\" field. */\n source?: string;\n /** Project directory (contains ekanos.json). Defaults to cwd. */\n dir: string;\n /**\n * Skips the interactive confirm when the source resolved IMPLICITLY (from\n * ekanos.json) and the caller holds more than one developer seat. Has no\n * effect when `--source` was passed this invocation (explicit is already\n * consent) or when the caller holds exactly one seat (nothing to\n * disambiguate).\n */\n yes: boolean;\n env: Record<string, string | undefined>;\n /**\n * Whether stdin is a real interactive terminal — the SECOND condition (with\n * human/non-JSON mode) required before publish will ever prompt. Defaults\n * to `process.stdin.isTTY === true`. Injectable so tests can exercise the\n * confirm branch without a real TTY.\n */\n stdinIsTTY?: boolean;\n /**\n * Injectable y/N prompt, for tests. Defaults to a real readline prompt over\n * stdin/stderr. Never invoked unless BOTH human mode and a real stdin TTY\n * are in play — see `canPrompt` in `verifyPublishTarget`.\n */\n confirm?: (question: string) => Promise<boolean>;\n /** Experiences only: build and pack, publish nothing. In a repo: every package. */\n dryRun?: boolean;\n /** Repo only: the packages to publish, by name. */\n packages?: readonly string[];\n /** Repo only: publish every package. */\n all?: boolean;\n /** Integration only: after submitting, wait for the gate verdict. */\n wait?: boolean;\n /** `--wait`: minutes to wait for the verdict (default 30). */\n timeoutMinutes?: number;\n /** Injectable for tests: the wait between polls. */\n sleep?: (ms: number) => Promise<void>;\n}\n\n/** Where the resolved source slug came from — governs the confirmation rules below. */\nexport interface SourceResolution {\n source: string;\n /** True iff `--source` was passed THIS invocation. */\n explicit: boolean;\n}\n\n/**\n * `publish` — pack the project and submit it to an Ekanos deployment.\n *\n * The submission gate is the SAME findings pass `validate` runs (one\n * implementation, `validate-findings.ts`): any error-severity finding refuses\n * the publish with GATE_FAILED (exit 10) and the findings in `data`, so an\n * agent can branch on the code and fix-then-retry without re-running validate.\n *\n * Authorization is server-side — the dev seat on the target source — and the\n * stored session is refreshed once on a 401, mirroring `whoami`. On the first\n * successful publish the chosen source slug is persisted into `ekanos.json`\n * so later publishes need no `--source`.\n */\nexport async function runPublish(\n ctx: CliContext,\n args: PublishArgs,\n): Promise<ExitCode> {\n // Inside a repo, `publish` plans the packages: a same-repo integration is\n // ordered first rather than refused as an override.\n const repoRoot = findRepoRoot(path.resolve(args.dir));\n if (repoRoot) {\n return runRepoPublish(ctx, {\n repoRoot,\n cwd: path.resolve(args.dir),\n names: args.packages ?? [],\n all: args.all === true,\n publish: args,\n });\n }\n if ((args.packages?.length ?? 0) > 0 || args.all) {\n throw usageError(\n 'Package names and --all are for a repo.',\n 'Run this from a repo (see \"ekanos init --kind repo\"), or drop the names to publish this project.',\n );\n }\n\n // An experience is published (dry-run only, for now) by its own pipeline,\n // before any login: overrides and the gate refuse it first.\n if (readProjectKind(path.resolve(args.dir)) === 'experience') {\n return runExperiencePublish(ctx, {\n dir: args.dir,\n dryRun: args.dryRun === true,\n env: args.env,\n host: args.host,\n source: args.source,\n yes: args.yes,\n stdinIsTTY: args.stdinIsTTY,\n confirm: args.confirm,\n });\n }\n\n if (args.dryRun) return runIntegrationDryRun(ctx, args);\n\n const prepared = await prepareIntegrationSubmission(ctx, args);\n const { loaded, version, slug } = prepared;\n\n const gate = await refuseOnFindings(ctx, loaded, slug, version);\n if (gate.exitCode !== null) return gate.exitCode;\n\n const submitted = await submitPrepared(ctx, args, prepared);\n\n if (!args.wait) return ctx.succeed(submitted.data, submitted.human);\n\n const submittedSource = (submitted.data.source as { slug: string }).slug;\n const waited = await waitForGate(ctx, prepared.env, {\n slug,\n source: submittedSource,\n version,\n timeoutMinutes: args.timeoutMinutes ?? DEFAULT_WAIT_MINUTES,\n sleep:\n args.sleep ??\n ((ms) =>\n new Promise((resolve) => {\n setTimeout(resolve, ms);\n })),\n });\n if (waited.timedOut) return failWatchTimeout(ctx, slug, version, waited);\n\n const gateData = watchOutcomeData(slug, waited.version);\n if (waited.version.state === 'rejected') {\n return ctx.fail(\n gateFailedError(\n `${slug}@${version} was submitted but rejected by the gate ` +\n `(${gateData.errorCount ?? 0} error${gateData.errorCount === 1 ? '' : 's'}).`,\n 'Resolve the error-severity findings in data.gate.findings, bump the ' +\n 'version (a submitted version cannot be changed), and re-run \"ekanos publish\".',\n ),\n { ...submitted.data, gate: gateData },\n );\n }\n\n return ctx.succeed(\n { ...submitted.data, state: waited.version.state, gate: gateData },\n `${submitted.human}\\n${ctx.ui.ok(`${ctx.ui.glyphs.ok} gate verdict: ${waited.version.state}`)}`,\n );\n}\n\n/**\n * The local gate every publish shares: the full findings pass, refusing with\n * GATE_FAILED when any finding is an error. Returns the exit code when it\n * refused, `null` when the project may go on.\n */\nasync function refuseOnFindings(\n ctx: CliContext,\n loaded: LoadedProject,\n slug: string,\n version: string,\n): Promise<{ exitCode: ExitCode | null; packWarnings: Finding[] }> {\n ctx.log(`Validating ${slug} before publishing…`);\n\n const findings = escalateForPublish(await collectAllFindings(loaded));\n const errorCount = findings.filter((f) => f.severity === 'error').length;\n\n if (errorCount > 0) {\n // Same rule as `validate`: render the shared findings block to stderr\n // BEFORE the envelope settles, human mode only. JSON mode carries the\n // identical findings in `data.findings` and must stay byte-identical.\n // Closing order is findings block -> short summary (via `ctx.fail`'s\n // `findingsSummary` option) -> next action.\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.err(\n `${ctx.ui.glyphs.err} Refusing to publish: ${errorCount} finding` +\n `${errorCount === 1 ? '' : 's'}.`,\n ),\n );\n renderFindings(ctx, findings, { cwd: loaded.projectDir });\n }\n\n const exitCode = ctx.fail(\n gateFailedError(\n `Refusing to publish: ${errorCount} validation finding` +\n `${errorCount === 1 ? '' : 's'}.`,\n 'Resolve the error-severity findings in data.findings (they are ' +\n 'exactly what \"ekanos validate\" reports), then re-run ' +\n '\"ekanos publish\".',\n ),\n { slug, version, findings },\n !ctx.jsonMode\n ? { findingsSummary: { command: 'ekanos publish', errorCount } }\n : undefined,\n );\n\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.nextAction(\n 'ekanos validate',\n 'fix the error-severity findings above, then re-run \"ekanos publish\"',\n ),\n );\n }\n\n return { exitCode, packWarnings: [] };\n }\n\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.ok(\n `${ctx.ui.glyphs.ok} validated ${slug} — no error-severity findings.`,\n ),\n );\n }\n\n // What is about to be packed is the one thing a version cannot take back.\n const packWarnings = findings.filter((f) => f.check.startsWith('pack.'));\n if (packWarnings.length > 0 && !ctx.jsonMode) {\n renderFindings(ctx, packWarnings, { cwd: loaded.projectDir });\n }\n\n return { exitCode: null, packWarnings };\n}\n\n/**\n * `publish --dry-run` for one integration: the same findings gate and the same\n * pack a real publish runs, with nothing sent. It needs no login and no\n * source, so it is what a CI job or a first look runs before the real one.\n */\nasync function runIntegrationDryRun(\n ctx: CliContext,\n args: PublishArgs,\n): Promise<ExitCode> {\n const loaded = loadProject(args.dir);\n const skew = assertSchemaNotSkewed(ctx, loaded.projectDir);\n const version = readProjectVersion(loaded.projectDir);\n const slug = loaded.primary.slug;\n\n const gate = await refuseOnFindings(ctx, loaded, slug, version);\n if (gate.exitCode !== null) return gate.exitCode;\n\n ctx.log(`Packing ${slug}@${version}…`);\n const packed = packProject(loaded.projectDir);\n buildManifest(loaded, packed.files);\n\n return ctx.succeed(\n {\n dryRun: true,\n slug,\n version,\n files: packed.files,\n archiveBytes: packed.archive.length,\n warnings: gate.packWarnings,\n ...(skew.status === 'project-older'\n ? {\n schemaSkew: {\n status: skew.status,\n cliSchemaVersion: skew.cliSchemaVersion,\n projectSchemaVersion: skew.projectSchemaVersion,\n },\n }\n : {}),\n },\n ctx.ui.result({\n title: 'Dry run: nothing submitted',\n rows: [\n ['Integration', `${slug}@${version}`],\n ['Files', String(packed.files.length)],\n ['Archive', `${packed.archive.length} bytes`],\n ],\n notes: [\n 'A submitted version is immutable: a mistake means a version bump. Run \"ekanos publish\" to submit.',\n ],\n }),\n );\n}\n\nexport interface SubmittedIntegration {\n data: Record<string, unknown>;\n human: string;\n}\n\n/**\n * Confirm the target, pack and submit one gated integration. The caller has\n * already passed the gate; this is the only part of `publish` that talks to\n * the host.\n */\nexport async function submitPrepared(\n ctx: CliContext,\n args: PublishArgs,\n prepared: PreparedSubmission,\n): Promise<SubmittedIntegration> {\n const { loaded, skew, notice, env, version, slug, resolution } = prepared;\n\n // The 100%-certainty mechanism: confirm the resolved source is one the\n // caller actually holds a seat on — and, when it was resolved IMPLICITLY\n // from ekanos.json with more than one seat in play, that a human (or an\n // explicit --yes) actually intends this target — BEFORE anything is packed\n // or sent over the wire.\n const verified = await verifyPublishTarget(ctx, env, resolution.session, {\n source: resolution.source,\n explicit: resolution.explicit,\n slug,\n version,\n yes: args.yes,\n stdinIsTTY: args.stdinIsTTY ?? process.stdin.isTTY === true,\n confirm: args.confirm ?? promptYesNo,\n });\n\n const source = verified.sourceSeat.slug;\n const availability = loaded.project.availability?.mode;\n\n // Say the full name the host will use, and refuse an unapproved global\n // name, before anything is packed.\n const lookup = await preflightName(\n ctx,\n env,\n verified.session,\n source,\n slug,\n availability,\n );\n\n ctx.log(`Packing ${slug}@${version}…`);\n\n const packed = packProject(loaded.projectDir);\n const manifest = buildManifest(loaded, packed.files);\n\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.ok(\n `${ctx.ui.glyphs.ok} packed ${slug}@${version} (${packed.files.length} files).`,\n ),\n );\n }\n\n ctx.log(`Submitting to ${env.host} (source \"${source}\")…`);\n\n const receipt = await submitWithOneRefresh(env, verified.session, {\n source,\n slug,\n version,\n manifest,\n archive: packed.archive,\n ...(availability ? { availability } : {}),\n });\n\n const displayName =\n receipt.displayName ?? lookup?.displayName ?? receipt.slug;\n\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.ok(\n `${ctx.ui.glyphs.ok} submitted ${displayName}@${receipt.version} ` +\n `(state \"${receipt.state}\").`,\n ),\n );\n }\n\n const persisted = persistProjectFields(loaded, source, env.host);\n\n const persistedNote = [\n ...(persisted.source ? [`\"source\": \"${source}\"`] : []),\n ...(persisted.host ? [`\"host\": \"${env.host}\"`] : []),\n ];\n\n return {\n data: {\n host: env.host,\n source: {\n id: verified.sourceSeat.id,\n slug: verified.sourceSeat.slug,\n name: verified.sourceSeat.name,\n },\n slug: receipt.slug,\n namespace: receipt.namespace ?? lookup?.namespace ?? null,\n displayName,\n version: receipt.version,\n submissionId: receipt.submissionId,\n state: receipt.state,\n archiveSha256: receipt.archiveSha256,\n files: packed.files,\n sourcePersisted: persisted.source,\n hostPersisted: persisted.host,\n hostOverride: persisted.hostOverride,\n ...(skew.status === 'project-older'\n ? {\n schemaSkew: {\n status: skew.status,\n cliSchemaVersion: skew.cliSchemaVersion,\n projectSchemaVersion: skew.projectSchemaVersion,\n },\n }\n : {}),\n ...(notice ? { toolchain: notice } : {}),\n },\n human: ctx.ui.result({\n title: 'Submitted',\n rows: [\n ['Integration', `${displayName}@${receipt.version}`],\n ['State', receipt.state],\n ['Source', source],\n ['Host', shortHost(env.host)],\n ...(persistedNote.length > 0\n ? [\n [\n 'Saved',\n `${persistedNote.join(' and ')} to ekanos.json`,\n ] as const,\n ]\n : []),\n ],\n notes: persisted.hostOverride\n ? [\n `This publish went to ${env.host}, but ekanos.json keeps \"host\": ` +\n `\"${persisted.hostOverride}\" — a one-off override never replaces ` +\n 'the saved host; edit ekanos.json to change it.',\n ]\n : [],\n }),\n };\n}\n\n/**\n * Ask the host what it will call this slug for the Source, before packing.\n * An unapproved global name stops the publish here. Any other answer - an\n * older host without the route, a server error, a shape this CLI does not\n * read - is not a reason to stop: the submission itself is authoritative, and\n * the bare slug stands in for the name.\n */\nasync function preflightName(\n ctx: CliContext,\n env: AuthEnvironment,\n session: StoredSession,\n source: string,\n slug: string,\n availability: 'global' | 'restricted' | undefined,\n): Promise<SlugLookup | null> {\n let lookup: SlugLookup | null = null;\n\n try {\n let result = await lookupSlug(\n env.host,\n session.accessToken,\n source,\n slug,\n availability,\n );\n if (result.status === 'unauthorized') {\n const refreshed = await refreshStoredSession(env, session);\n result = await lookupSlug(\n env.host,\n refreshed.accessToken,\n source,\n slug,\n availability,\n );\n }\n if (result.status === 'ok') lookup = result.lookup;\n } catch (error) {\n if (!(error instanceof CliError)) throw error;\n ctx.log(\n `Could not pre-check the name of ${slug} (${error.message}); continuing.`,\n );\n }\n\n if (lookup?.status === 'global_unapproved') {\n throw globalNameUnapprovedError(slug);\n }\n\n if (lookup?.displayName && !ctx.jsonMode) {\n ctx.log(`Publishing as ${lookup.displayName}.`);\n }\n\n return lookup;\n}\n\nexport interface PreparedSubmission {\n env: AuthEnvironment;\n session: StoredSession;\n loaded: LoadedProject;\n skew: ReturnType<typeof assertSchemaNotSkewed>;\n notice: Awaited<ReturnType<typeof checkForUpdate>>;\n resolution: SourceResolution & { session: StoredSession };\n version: string;\n slug: string;\n}\n\n/**\n * Everything `publish` does before it gates a project: sign-in, load, schema\n * skew, toolchain check, source resolution. Shared by the single-project verb\n * and the repo verb (which gates every package before submitting any).\n */\nexport async function prepareIntegrationSubmission(\n ctx: CliContext,\n args: PublishArgs,\n): Promise<PreparedSubmission> {\n const env = resolveAuthEnvironment(ctx, args.host, args.env, {\n projectDir: args.dir,\n });\n const session = requireSession(env);\n\n const loaded = loadProject(args.dir);\n\n // Fail fast, before anything else: a project whose schema is newer than\n // this CLI bundles cannot be trusted to validate correctly, so publishing\n // it — the one verb whose findings gate is meant to be authoritative —\n // must refuse before packing or submitting anything. See `schema-skew.ts`.\n const skew = assertSchemaNotSkewed(ctx, loaded.projectDir);\n\n const notice = await checkForUpdate({\n env: args.env,\n host: env.host,\n session,\n });\n announceUpdate(ctx, notice, { env: args.env });\n\n // The host would reject a build from a CLI it has declared unsupported\n // anyway (see the wire contract in `toolchain-api.ts`) — refuse here with a\n // hint naming the fix, rather than let the submission round-trip fail with\n // whatever generic error the host happens to answer with.\n if (notice?.status === 'unsupported') {\n throw preconditionError(\n `@ekanos/cli ${notice.current.cli} is below ${env.host}'s minimum ` +\n `supported version (needs at least ${notice.target.cli}).`,\n 'Run \"ekanos upgrade\" before publishing — the host will refuse this ' +\n 'submission from an unsupported CLI regardless.',\n );\n }\n\n const resolution = await resolveSourceSlug(env, session, args.source, loaded);\n const version = readProjectVersion(loaded.projectDir);\n const slug = loaded.primary.slug;\n\n return { env, session, loaded, skew, notice, resolution, version, slug };\n}\n\n/**\n * The publish-target verification gate.\n *\n * FORBIDDEN (exit 5) whenever the resolved source is not among the caller's\n * seats — regardless of whether it came from `--source` or ekanos.json.\n * Beyond that, the confirmation rules branch on how the source was resolved:\n *\n * - `--source` THIS invocation: explicit is consent. Proceed.\n * - ekanos.json, exactly one seat held (which must be the match, or the\n * FORBIDDEN check above would have already fired): proceed, but say so —\n * there is nothing to disambiguate, but the target should never be silent.\n * - ekanos.json, multiple seats held: the ambiguous case this mechanism\n * exists for. Only when BOTH human (non-JSON) mode AND stdin is a real\n * TTY does it print the target and require an explicit y/N confirm\n * (`--yes` skips it) — see `canPrompt` below for why stdin matters, not\n * just stdout. Every other combination (JSON mode, or human mode with a\n * closed/non-interactive stdin) NEVER prompts — it proceeds only with\n * `--yes`, otherwise VALIDATION (exit 3) with the seat list, naming\n * `--source`, `--yes` and `ekanos use`.\n */\nexport async function verifyPublishTarget(\n ctx: CliContext,\n env: AuthEnvironment,\n session: StoredSession,\n args: SourceResolution & {\n slug: string;\n version: string;\n yes: boolean;\n /** Real interactivity signal for stdin — see `canPrompt` below. */\n stdinIsTTY: boolean;\n confirm: (question: string) => Promise<boolean>;\n },\n): Promise<{ sourceSeat: SourceSeat; session: StoredSession }> {\n const result = await fetchSeatsWithOneRefresh(env, session);\n\n if (result.status === 'unauthorized') {\n stillUnauthorizedSourceSeats(env);\n }\n\n const seat = result.sources.find((s) => s.slug === args.source);\n\n if (!seat) {\n throw forbiddenError(\n `This account does not hold a seat on source \"${args.source}\" on ${env.host}.`,\n seatsHint(result.sources, env.host),\n );\n }\n\n if (args.explicit) {\n return { sourceSeat: seat, session: result.session };\n }\n\n if (result.sources.length === 1) {\n ctx.log(\n `Publishing to ${seat.name ?? seat.slug} (${seat.slug}) — your only ` +\n `developer seat.`,\n );\n return { sourceSeat: seat, session: result.session };\n }\n\n // Implicit source, multiple seats: the ambiguous case.\n //\n // `ctx.jsonMode` alone is NOT enough to decide whether an interactive\n // confirm is safe: `--no-json` forces human mode even when stdout is\n // piped, and neither `--no-json` nor a bare human run says anything about\n // stdin. Prompting `readline`'s `.question()` against a closed/non-TTY\n // stdin (a cron job, a wrapper script piping stdout but not attached to a\n // terminal) never resolves — the process hangs instead of exiting with a\n // clean code. So an actual prompt requires BOTH: human mode AND a real\n // stdin TTY. Anything else — JSON mode, or human mode with non-interactive\n // stdin — falls through to the same non-prompting `--yes`-or-refuse rule.\n const canPrompt = !ctx.jsonMode && args.stdinIsTTY;\n\n if (canPrompt) {\n ctx.log(\n `Publishing ${args.slug}@${args.version} to SOURCE ${seat.name ?? seat.slug} ` +\n `(${seat.slug}) on ${env.host}`,\n );\n\n if (!args.yes) {\n const confirmed = await args.confirm('Proceed? [y/N]');\n\n if (!confirmed) {\n throw validationError(\n `Publish to \"${seat.slug}\" was not confirmed.`,\n multiSeatHint(result.sources),\n );\n }\n }\n\n return { sourceSeat: seat, session: result.session };\n }\n\n if (args.yes) {\n return { sourceSeat: seat, session: result.session };\n }\n\n throw validationError(\n `Ambiguous publish target: this account holds ${result.sources.length} ` +\n `developer seats and the source was resolved from ekanos.json, not ` +\n `an explicit flag.`,\n multiSeatHint(result.sources),\n );\n}\n\nfunction seatsHint(sources: SourceSeat[], host: string): string {\n if (sources.length === 0) {\n return (\n `You hold no seats on any source on ${host}. Only Ekanos grants ` +\n `seats: ask a super admin for the developer seat on the intended ` +\n `source, with the email you log in with (\"ekanos whoami\" shows it).`\n );\n }\n\n return (\n `You hold a seat on: ${describeSeats(sources)}. Pass \"--source <slug>\" ` +\n `naming one of these, or run \"ekanos use <slug>\" to set the project's ` +\n `default.`\n );\n}\n\nfunction multiSeatHint(sources: SourceSeat[]): string {\n return (\n `You hold seats on: ${describeSeats(sources)}. Pass \"--source <slug>\" ` +\n `to name the target explicitly, add \"--yes\" to confirm the target ` +\n `already in ekanos.json non-interactively, or run \"ekanos use <slug>\" ` +\n `to change the project's default.`\n );\n}\n\nfunction describeSeats(sources: SourceSeat[]): string {\n return sources.map((s) => `${s.slug} (${s.roles.join(', ')})`).join(', ');\n}\n\n/**\n * The real, non-test y/N prompt. Reads a line from stdin and writes the\n * question to stderr, so it never touches stdout — the one stream the JSON\n * envelope invariant depends on. Only reachable when `verifyPublishTarget`'s\n * `canPrompt` is true — human mode AND a real stdin TTY — so this never\n * blocks on a closed or non-interactive stdin.\n */\n/**\n * Exported so `upgrade` can reuse the exact same y/N prompt rather than\n * writing a second one — see `canPrompt` above for the stdin-TTY gating this\n * is only ever invoked behind.\n */\nexport async function promptYesNo(question: string): Promise<boolean> {\n const readline = await import('node:readline/promises');\n const rl = readline.createInterface({\n input: process.stdin,\n output: process.stderr,\n });\n\n try {\n const answer = await rl.question(`${question} `);\n return /^y(es)?$/i.test(answer.trim());\n } finally {\n rl.close();\n }\n}\n\nexport async function submitWithOneRefresh(\n env: ReturnType<typeof resolveAuthEnvironment>,\n session: StoredSession,\n payload: Parameters<typeof submitArchive>[2],\n) {\n const first = await submitArchive(env.host, session.accessToken, payload);\n\n if (first.status === 'ok') return first.receipt;\n\n // The access token no longer authenticates — an ordinary event, not an\n // error. One refresh, one retry; a second 401 is authoritative.\n const refreshed = await refreshStoredSession(env, session);\n const second = await submitArchive(env.host, refreshed.accessToken, payload);\n\n if (second.status === 'ok') return second.receipt;\n\n return stillUnauthorized(env);\n}\n\n/**\n * Resolve the source slug (flag → ekanos.json) and whether it was given\n * EXPLICITLY this invocation — the fact `verifyPublishTarget` uses to decide\n * whether a confirmation is even in play. `flag !== undefined` (rather than\n * \"non-empty after trim\") is deliberate: an explicit `--source` that is\n * effectively empty is still a caller who typed the flag, not one who\n * fell through to ekanos.json.\n */\nexport async function resolveSourceSlug(\n env: AuthEnvironment,\n session: StoredSession,\n flag: string | undefined,\n /** Anything that carries the project's saved `source`: an integration project or an experience's ekanos.json. */\n loaded: { project: { source?: string } },\n): Promise<SourceResolution & { session: StoredSession }> {\n const explicit = flag !== undefined;\n const raw = flag ?? loaded.project.source;\n\n if (!raw || raw.trim().length === 0) {\n return noSourceError(env, session);\n }\n\n return { source: raw.trim(), explicit, session };\n}\n\n/**\n * The no-source validation error, enriched with the caller's seat list when\n * it can be fetched — best-effort, since a session is guaranteed to exist\n * here (publish already called `requireSession`) but the fetch itself can\n * still fail (network, MFA, a down deployment). A failure to enrich must\n * never mask or replace the primary \"no source given\" error.\n */\nasync function noSourceError(\n env: AuthEnvironment,\n session: StoredSession,\n): Promise<never> {\n let seatsNote = '';\n\n try {\n const result = await fetchSeatsWithOneRefresh(env, session);\n\n if (result.status === 'ok') {\n seatsNote =\n result.sources.length > 0\n ? ` You hold a seat on: ${describeSeats(result.sources)}.`\n : ' You hold no seats on any source on this host yet.';\n }\n } catch {\n // Best-effort — the primary error below stands on its own.\n }\n\n throw validationError(\n 'No Ekanos source given for the submission.',\n 'Pass \"--source <slug>\" (your operator names the source), or set ' +\n '\"source\": \"<slug>\" in ekanos.json. A successful publish saves it ' +\n `there for you.${seatsNote}`,\n );\n}\n\n/**\n * Persist the chosen source AND host into ekanos.json after a SUCCESSFUL\n * publish, so the next publish — and every other host-taking verb — needs no\n * flag. Returns what was written. A write failure is reported but never fails\n * the command — the submission already landed.\n *\n * `publish` is the only verb that writes ekanos.json: it is the one verb that\n * proves the (host, source) pair actually works, and it always runs inside a\n * project. `login` deliberately never writes — it is routinely run outside\n * one, and the credential store's sole-host fallback covers it.\n *\n * `host` persists on FIRST WRITE ONLY. It decides where every future verb\n * sends the bearer token and the source archive, so a one-off `--host`\n * override (a staging test, say) must not silently become the project's\n * sticky default; when the override differs from the stored host, the stored\n * value is kept and the difference is called out in the result instead.\n * Changing it is an explicit edit of ekanos.json. `source` keeps the simpler\n * always-update semantics — it is scoped BY the host, and updating it is the\n * documented way to repoint a project.\n */\nexport function persistProjectFields(\n loaded: LoadedProject,\n source: string,\n host: string,\n): { source: boolean; host: boolean; hostOverride: string | null } {\n const wants = {\n source: loaded.project.source !== source,\n host: loaded.project.host === undefined,\n };\n\n const hostOverride =\n loaded.project.host !== undefined && loaded.project.host !== host\n ? loaded.project.host\n : null;\n\n if (!wants.source && !wants.host) {\n return { source: false, host: false, hostOverride };\n }\n\n try {\n fs.writeFileSync(\n loaded.configPath,\n serializeProject({\n ...loaded.project,\n source,\n host: wants.host ? host : loaded.project.host,\n }),\n );\n\n return { ...wants, hostOverride };\n } catch {\n // Diagnostics-only: the publish succeeded; a read-only ekanos.json just\n // means the next publish needs the flags again.\n return { source: false, host: false, hostOverride };\n }\n}\n\n/**\n * How many packed paths the manifest embeds before switching to a truncated\n * list plus a `filesTruncated` total. The manifest is metadata — the archive\n * itself is the payload — and the server caps it at MAX_MANIFEST_BYTES, so a\n * many-small-files project must not be able to blow the cap with its file\n * list alone.\n */\nconst MANIFEST_FILE_LIST_CAP = 200;\n\n/**\n * The submission manifest: the parsed ekanos.json, the integration entries,\n * and (a bounded prefix of) the packed file list. Refuses to build one over\n * the server's byte cap — a clear VALIDATION error here beats the server's\n * generic 400 after a 4 MiB upload.\n */\nexport function buildManifest(loaded: LoadedProject, files: string[]): string {\n const manifest = JSON.stringify({\n project: loaded.project,\n integrations: loaded.integrations.map((i) => ({\n slug: i.slug,\n entry: i.entry,\n })),\n files: files.slice(0, MANIFEST_FILE_LIST_CAP),\n ...(files.length > MANIFEST_FILE_LIST_CAP\n ? { filesTruncated: files.length }\n : {}),\n });\n\n const bytes = Buffer.byteLength(manifest, 'utf8');\n\n if (bytes > MAX_MANIFEST_BYTES) {\n throw validationError(\n `The submission manifest is ${bytes} bytes, over the ` +\n `${MAX_MANIFEST_BYTES}-byte server cap.`,\n 'The manifest embeds your ekanos.json — trim oversized fields there ' +\n '(sourceGlobs is the usual culprit), then re-run \"ekanos publish\".',\n );\n }\n\n return manifest;\n}\n\nconst SEMVER_PATTERN =\n /^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$/;\n\n/**\n * The submitted version is the project's own `package.json#version` — one\n * source of truth, the same field npm would publish.\n */\nexport function readProjectVersion(projectDir: string): string {\n const manifestPath = path.join(projectDir, 'package.json');\n\n let parsed: unknown;\n try {\n parsed = JSON.parse(fs.readFileSync(manifestPath, 'utf8'));\n } catch (error) {\n throw preconditionError(\n `Could not read ${manifestPath}: ${\n error instanceof Error ? error.message : String(error)\n }`,\n `Ensure the project has a valid package.json — its \"version\" field is ` +\n `what gets submitted.`,\n );\n }\n\n const version =\n typeof parsed === 'object' && parsed !== null\n ? (parsed as { version?: unknown }).version\n : undefined;\n\n if (typeof version !== 'string' || !SEMVER_PATTERN.test(version)) {\n throw validationError(\n `package.json \"version\" is ${\n typeof version === 'string' ? `\"${version}\"` : 'missing'\n }, which is not a semver version.`,\n `Set \"version\" in ${manifestPath} to a semver string like \"0.1.0\", ` +\n `then re-run \"ekanos publish\".`,\n );\n }\n\n return version;\n}\n"]}
1
+ {"version":3,"file":"publish.js","sourceRoot":"","sources":["../../src/commands/publish.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAGlC,OAAO,EAEL,oBAAoB,EACpB,cAAc,EACd,sBAAsB,GACvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,QAAQ,EACR,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,eAAe,GAChB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MA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AAC,SACjD,kCAAkC,EAClC,oBAAoB,YAAY,oCAAoC;YAClE,+BAA+B,CAClC,CAAC;IACJ,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import type { Finding } from '@ekanos/integration-schema';\nimport { findRepoRoot } from '@ekanos/integration-schema/repo';\nimport * as fs from 'node:fs';\nimport * as path from 'node:path';\n\nimport type { StoredSession } from '../auth/credential-store';\nimport {\n type AuthEnvironment,\n refreshStoredSession,\n requireSession,\n resolveAuthEnvironment,\n} from '../auth/session';\nimport type { CliContext } from '../context';\nimport {\n CliError,\n forbiddenError,\n gateFailedError,\n preconditionError,\n usageError,\n validationError,\n} from '../errors';\nimport type { ExitCode } from '../exit-codes';\nimport { readProjectKind } from '../experience/project';\nimport { runExperiencePublish } from '../experience/publish';\nimport { renderFindings } from '../findings-renderer';\nimport { type SlugLookup, lookupSlug } from '../names-api';\nimport { packProject } from '../pack';\nimport { type LoadedProject, loadProject, serializeProject } from '../project';\nimport {\n MAX_MANIFEST_BYTES,\n globalNameUnapprovedError,\n stillUnauthorized,\n submitArchive,\n} from '../publish-api';\nimport { runRepoPublish } from '../repo/publish';\nimport { assertSchemaNotSkewed } from '../schema-skew';\nimport { fetchSeatsWithOneRefresh } from '../seats';\nimport { type SourceSeat, stillUnauthorizedSourceSeats } from '../sources-api';\nimport { shortHost } from '../ui';\nimport { announceUpdate, checkForUpdate } from '../update-notice';\nimport { collectAllFindings } from '../validate-findings';\nimport {\n DEFAULT_WAIT_MINUTES,\n failWatchTimeout,\n waitForGate,\n watchOutcomeData,\n} from './status';\n\nconst PUBLISH_ERROR_ESCALATIONS: readonly string[] = [\n 'project.host-compiler-rules',\n];\n\nexport function escalateForPublish(findings: Finding[]): Finding[] {\n return findings.map((finding) =>\n finding.severity === 'warn' &&\n PUBLISH_ERROR_ESCALATIONS.includes(finding.check)\n ? { ...finding, severity: 'error' }\n : finding,\n );\n}\n\nexport interface PublishArgs {\n host?: string;\n source?: string;\n dir: string;\n yes: boolean;\n env: Record<string, string | undefined>;\n stdinIsTTY?: boolean;\n confirm?: (question: string) => Promise<boolean>;\n dryRun?: boolean;\n packages?: readonly string[];\n all?: boolean;\n wait?: boolean;\n timeoutMinutes?: number;\n sleep?: (ms: number) => Promise<void>;\n}\n\nexport interface SourceResolution {\n source: string;\n explicit: boolean;\n}\n\nexport async function runPublish(\n ctx: CliContext,\n args: PublishArgs,\n): Promise<ExitCode> {\n const repoRoot = findRepoRoot(path.resolve(args.dir));\n if (repoRoot) {\n return runRepoPublish(ctx, {\n repoRoot,\n cwd: path.resolve(args.dir),\n names: args.packages ?? [],\n all: args.all === true,\n publish: args,\n });\n }\n if ((args.packages?.length ?? 0) > 0 || args.all) {\n throw usageError(\n 'Package names and --all are for a repo.',\n 'Run this from a repo (see \"ekanos init --kind repo\"), or drop the names to publish this project.',\n );\n }\n\n if (readProjectKind(path.resolve(args.dir)) === 'experience') {\n return runExperiencePublish(ctx, {\n dir: args.dir,\n dryRun: args.dryRun === true,\n env: args.env,\n host: args.host,\n source: args.source,\n yes: args.yes,\n stdinIsTTY: args.stdinIsTTY,\n confirm: args.confirm,\n });\n }\n\n if (args.dryRun) return runIntegrationDryRun(ctx, args);\n\n const prepared = await prepareIntegrationSubmission(ctx, args);\n const { loaded, version, slug } = prepared;\n\n const gate = await refuseOnFindings(ctx, loaded, slug, version);\n if (gate.exitCode !== null) return gate.exitCode;\n\n const submitted = await submitPrepared(ctx, args, prepared);\n\n if (!args.wait) return ctx.succeed(submitted.data, submitted.human);\n\n const submittedSource = (submitted.data.source as { slug: string }).slug;\n const waited = await waitForGate(ctx, prepared.env, {\n slug,\n source: submittedSource,\n version,\n timeoutMinutes: args.timeoutMinutes ?? DEFAULT_WAIT_MINUTES,\n sleep:\n args.sleep ??\n ((ms) =>\n new Promise((resolve) => {\n setTimeout(resolve, ms);\n })),\n });\n if (waited.timedOut) return failWatchTimeout(ctx, slug, version, waited);\n\n const gateData = watchOutcomeData(slug, waited.version);\n if (waited.version.state === 'rejected') {\n return ctx.fail(\n gateFailedError(\n `${slug}@${version} was submitted but rejected by the gate ` +\n `(${gateData.errorCount ?? 0} error${gateData.errorCount === 1 ? '' : 's'}).`,\n 'Resolve the error-severity findings in data.gate.findings, bump the ' +\n 'version (a submitted version cannot be changed), and re-run \"ekanos publish\".',\n ),\n { ...submitted.data, gate: gateData },\n );\n }\n\n return ctx.succeed(\n { ...submitted.data, state: waited.version.state, gate: gateData },\n `${submitted.human}\\n${ctx.ui.ok(`${ctx.ui.glyphs.ok} gate verdict: ${waited.version.state}`)}`,\n );\n}\n\nasync function refuseOnFindings(\n ctx: CliContext,\n loaded: LoadedProject,\n slug: string,\n version: string,\n): Promise<{ exitCode: ExitCode | null; packWarnings: Finding[] }> {\n ctx.log(`Validating ${slug} before publishing…`);\n\n const findings = escalateForPublish(await collectAllFindings(loaded));\n const errorCount = findings.filter((f) => f.severity === 'error').length;\n\n if (errorCount > 0) {\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.err(\n `${ctx.ui.glyphs.err} Refusing to publish: ${errorCount} finding` +\n `${errorCount === 1 ? '' : 's'}.`,\n ),\n );\n renderFindings(ctx, findings, { cwd: loaded.projectDir });\n }\n\n const exitCode = ctx.fail(\n gateFailedError(\n `Refusing to publish: ${errorCount} validation finding` +\n `${errorCount === 1 ? '' : 's'}.`,\n 'Resolve the error-severity findings in data.findings (they are ' +\n 'exactly what \"ekanos validate\" reports), then re-run ' +\n '\"ekanos publish\".',\n ),\n { slug, version, findings },\n !ctx.jsonMode\n ? { findingsSummary: { command: 'ekanos publish', errorCount } }\n : undefined,\n );\n\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.nextAction(\n 'ekanos validate',\n 'fix the error-severity findings above, then re-run \"ekanos publish\"',\n ),\n );\n }\n\n return { exitCode, packWarnings: [] };\n }\n\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.ok(\n `${ctx.ui.glyphs.ok} validated ${slug} — no error-severity findings.`,\n ),\n );\n }\n\n const packWarnings = findings.filter((f) => f.check.startsWith('pack.'));\n if (packWarnings.length > 0 && !ctx.jsonMode) {\n renderFindings(ctx, packWarnings, { cwd: loaded.projectDir });\n }\n\n return { exitCode: null, packWarnings };\n}\n\nasync function runIntegrationDryRun(\n ctx: CliContext,\n args: PublishArgs,\n): Promise<ExitCode> {\n const loaded = loadProject(args.dir);\n const skew = assertSchemaNotSkewed(ctx, loaded.projectDir);\n const version = readProjectVersion(loaded.projectDir);\n const slug = loaded.primary.slug;\n\n const gate = await refuseOnFindings(ctx, loaded, slug, version);\n if (gate.exitCode !== null) return gate.exitCode;\n\n ctx.log(`Packing ${slug}@${version}…`);\n const packed = packProject(loaded.projectDir);\n buildManifest(loaded, packed.files);\n\n return ctx.succeed(\n {\n dryRun: true,\n slug,\n version,\n files: packed.files,\n archiveBytes: packed.archive.length,\n warnings: gate.packWarnings,\n ...(skew.status === 'project-older'\n ? {\n schemaSkew: {\n status: skew.status,\n cliSchemaVersion: skew.cliSchemaVersion,\n projectSchemaVersion: skew.projectSchemaVersion,\n },\n }\n : {}),\n },\n ctx.ui.result({\n title: 'Dry run: nothing submitted',\n rows: [\n ['Integration', `${slug}@${version}`],\n ['Files', String(packed.files.length)],\n ['Archive', `${packed.archive.length} bytes`],\n ],\n notes: [\n 'A submitted version is immutable: a mistake means a version bump. Run \"ekanos publish\" to submit.',\n ],\n }),\n );\n}\n\nexport interface SubmittedIntegration {\n data: Record<string, unknown>;\n human: string;\n}\n\nexport async function submitPrepared(\n ctx: CliContext,\n args: PublishArgs,\n prepared: PreparedSubmission,\n): Promise<SubmittedIntegration> {\n const { loaded, skew, notice, env, version, slug, resolution } = prepared;\n\n const verified = await verifyPublishTarget(ctx, env, resolution.session, {\n source: resolution.source,\n explicit: resolution.explicit,\n slug,\n version,\n yes: args.yes,\n stdinIsTTY: args.stdinIsTTY ?? process.stdin.isTTY === true,\n confirm: args.confirm ?? promptYesNo,\n });\n\n const source = verified.sourceSeat.slug;\n const availability = loaded.project.availability?.mode;\n\n const lookup = await preflightName(\n ctx,\n env,\n verified.session,\n source,\n slug,\n availability,\n );\n\n ctx.log(`Packing ${slug}@${version}…`);\n\n const packed = packProject(loaded.projectDir);\n const manifest = buildManifest(loaded, packed.files);\n\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.ok(\n `${ctx.ui.glyphs.ok} packed ${slug}@${version} (${packed.files.length} files).`,\n ),\n );\n }\n\n ctx.log(`Submitting to ${env.host} (source \"${source}\")…`);\n\n const receipt = await submitWithOneRefresh(env, verified.session, {\n source,\n slug,\n version,\n manifest,\n archive: packed.archive,\n ...(availability ? { availability } : {}),\n });\n\n const displayName =\n receipt.displayName ?? lookup?.displayName ?? receipt.slug;\n\n if (!ctx.jsonMode) {\n ctx.log(\n ctx.ui.ok(\n `${ctx.ui.glyphs.ok} submitted ${displayName}@${receipt.version} ` +\n `(state \"${receipt.state}\").`,\n ),\n );\n }\n\n const persisted = persistProjectFields(loaded, source, env.host);\n\n const persistedNote = [\n ...(persisted.source ? [`\"source\": \"${source}\"`] : []),\n ...(persisted.host ? [`\"host\": \"${env.host}\"`] : []),\n ];\n\n return {\n data: {\n host: env.host,\n source: {\n id: verified.sourceSeat.id,\n slug: verified.sourceSeat.slug,\n name: verified.sourceSeat.name,\n },\n slug: receipt.slug,\n namespace: receipt.namespace ?? lookup?.namespace ?? null,\n displayName,\n version: receipt.version,\n submissionId: receipt.submissionId,\n state: receipt.state,\n archiveSha256: receipt.archiveSha256,\n files: packed.files,\n sourcePersisted: persisted.source,\n hostPersisted: persisted.host,\n hostOverride: persisted.hostOverride,\n ...(skew.status === 'project-older'\n ? {\n schemaSkew: {\n status: skew.status,\n cliSchemaVersion: skew.cliSchemaVersion,\n projectSchemaVersion: skew.projectSchemaVersion,\n },\n }\n : {}),\n ...(notice ? { toolchain: notice } : {}),\n },\n human: ctx.ui.result({\n title: 'Submitted',\n rows: [\n ['Integration', `${displayName}@${receipt.version}`],\n ['State', receipt.state],\n ['Source', source],\n ['Host', shortHost(env.host)],\n ...(persistedNote.length > 0\n ? [\n [\n 'Saved',\n `${persistedNote.join(' and ')} to ekanos.json`,\n ] as const,\n ]\n : []),\n ],\n notes: persisted.hostOverride\n ? [\n `This publish went to ${env.host}, but ekanos.json keeps \"host\": ` +\n `\"${persisted.hostOverride}\" — a one-off override never replaces ` +\n 'the saved host; edit ekanos.json to change it.',\n ]\n : [],\n }),\n };\n}\n\nasync function preflightName(\n ctx: CliContext,\n env: AuthEnvironment,\n session: StoredSession,\n source: string,\n slug: string,\n availability: 'global' | 'restricted' | undefined,\n): Promise<SlugLookup | null> {\n let lookup: SlugLookup | null = null;\n\n try {\n let result = await lookupSlug(\n env.host,\n session.accessToken,\n source,\n slug,\n availability,\n );\n if (result.status === 'unauthorized') {\n const refreshed = await refreshStoredSession(env, session);\n result = await lookupSlug(\n env.host,\n refreshed.accessToken,\n source,\n slug,\n availability,\n );\n }\n if (result.status === 'ok') lookup = result.lookup;\n } catch (error) {\n if (!(error instanceof CliError)) throw error;\n ctx.log(\n `Could not pre-check the name of ${slug} (${error.message}); continuing.`,\n );\n }\n\n if (lookup?.status === 'global_unapproved') {\n throw globalNameUnapprovedError(slug);\n }\n\n if (lookup?.displayName && !ctx.jsonMode) {\n ctx.log(`Publishing as ${lookup.displayName}.`);\n }\n\n return lookup;\n}\n\nexport interface PreparedSubmission {\n env: AuthEnvironment;\n session: StoredSession;\n loaded: LoadedProject;\n skew: ReturnType<typeof assertSchemaNotSkewed>;\n notice: Awaited<ReturnType<typeof checkForUpdate>>;\n resolution: SourceResolution & { session: StoredSession };\n version: string;\n slug: string;\n}\n\nexport async function prepareIntegrationSubmission(\n ctx: CliContext,\n args: PublishArgs,\n): Promise<PreparedSubmission> {\n const env = resolveAuthEnvironment(ctx, args.host, args.env, {\n projectDir: args.dir,\n });\n const session = requireSession(env);\n\n const loaded = loadProject(args.dir);\n\n const skew = assertSchemaNotSkewed(ctx, loaded.projectDir);\n\n const notice = await checkForUpdate({\n env: args.env,\n host: env.host,\n session,\n });\n announceUpdate(ctx, notice, { env: args.env });\n\n if (notice?.status === 'unsupported') {\n throw preconditionError(\n `@ekanos/cli ${notice.current.cli} is below ${env.host}'s minimum ` +\n `supported version (needs at least ${notice.target.cli}).`,\n 'Run \"ekanos upgrade\" before publishing — the host will refuse this ' +\n 'submission from an unsupported CLI regardless.',\n );\n }\n\n const resolution = await resolveSourceSlug(env, session, args.source, loaded);\n const version = readProjectVersion(loaded.projectDir);\n const slug = loaded.primary.slug;\n\n return { env, session, loaded, skew, notice, resolution, version, slug };\n}\n\nexport async function verifyPublishTarget(\n ctx: CliContext,\n env: AuthEnvironment,\n session: StoredSession,\n args: SourceResolution & {\n slug: string;\n version: string;\n yes: boolean;\n stdinIsTTY: boolean;\n confirm: (question: string) => Promise<boolean>;\n },\n): Promise<{ sourceSeat: SourceSeat; session: StoredSession }> {\n const result = await fetchSeatsWithOneRefresh(env, session);\n\n if (result.status === 'unauthorized') {\n stillUnauthorizedSourceSeats(env);\n }\n\n const seat = result.sources.find((s) => s.slug === args.source);\n\n if (!seat) {\n throw forbiddenError(\n `This account does not hold a seat on source \"${args.source}\" on ${env.host}.`,\n seatsHint(result.sources, env.host),\n );\n }\n\n if (args.explicit) {\n return { sourceSeat: seat, session: result.session };\n }\n\n if (result.sources.length === 1) {\n ctx.log(\n `Publishing to ${seat.name ?? seat.slug} (${seat.slug}) — your only ` +\n `developer seat.`,\n );\n return { sourceSeat: seat, session: result.session };\n }\n\n const canPrompt = !ctx.jsonMode && args.stdinIsTTY;\n\n if (canPrompt) {\n ctx.log(\n `Publishing ${args.slug}@${args.version} to SOURCE ${seat.name ?? seat.slug} ` +\n `(${seat.slug}) on ${env.host}`,\n );\n\n if (!args.yes) {\n const confirmed = await args.confirm('Proceed? [y/N]');\n\n if (!confirmed) {\n throw validationError(\n `Publish to \"${seat.slug}\" was not confirmed.`,\n multiSeatHint(result.sources),\n );\n }\n }\n\n return { sourceSeat: seat, session: result.session };\n }\n\n if (args.yes) {\n return { sourceSeat: seat, session: result.session };\n }\n\n throw validationError(\n `Ambiguous publish target: this account holds ${result.sources.length} ` +\n `developer seats and the source was resolved from ekanos.json, not ` +\n `an explicit flag.`,\n multiSeatHint(result.sources),\n );\n}\n\nfunction seatsHint(sources: SourceSeat[], host: string): string {\n if (sources.length === 0) {\n return (\n `You hold no seats on any source on ${host}. Only Ekanos grants ` +\n `seats: ask a super admin for the developer seat on the intended ` +\n `source, with the email you log in with (\"ekanos whoami\" shows it).`\n );\n }\n\n return (\n `You hold a seat on: ${describeSeats(sources)}. Pass \"--source <slug>\" ` +\n `naming one of these, or run \"ekanos use <slug>\" to set the project's ` +\n `default.`\n );\n}\n\nfunction multiSeatHint(sources: SourceSeat[]): string {\n return (\n `You hold seats on: ${describeSeats(sources)}. Pass \"--source <slug>\" ` +\n `to name the target explicitly, add \"--yes\" to confirm the target ` +\n `already in ekanos.json non-interactively, or run \"ekanos use <slug>\" ` +\n `to change the project's default.`\n );\n}\n\nfunction describeSeats(sources: SourceSeat[]): string {\n return sources.map((s) => `${s.slug} (${s.roles.join(', ')})`).join(', ');\n}\n\nexport async function promptYesNo(question: string): Promise<boolean> {\n const readline = await import('node:readline/promises');\n const rl = readline.createInterface({\n input: process.stdin,\n output: process.stderr,\n });\n\n try {\n const answer = await rl.question(`${question} `);\n return /^y(es)?$/i.test(answer.trim());\n } finally {\n rl.close();\n }\n}\n\nexport async function submitWithOneRefresh(\n env: ReturnType<typeof resolveAuthEnvironment>,\n session: StoredSession,\n payload: Parameters<typeof submitArchive>[2],\n) {\n const first = await submitArchive(env.host, session.accessToken, payload);\n\n if (first.status === 'ok') return first.receipt;\n\n const refreshed = await refreshStoredSession(env, session);\n const second = await submitArchive(env.host, refreshed.accessToken, payload);\n\n if (second.status === 'ok') return second.receipt;\n\n return stillUnauthorized(env);\n}\n\nexport async function resolveSourceSlug(\n env: AuthEnvironment,\n session: StoredSession,\n flag: string | undefined,\n loaded: { project: { source?: string } },\n): Promise<SourceResolution & { session: StoredSession }> {\n const explicit = flag !== undefined;\n const raw = flag ?? loaded.project.source;\n\n if (!raw || raw.trim().length === 0) {\n return noSourceError(env, session);\n }\n\n return { source: raw.trim(), explicit, session };\n}\n\nasync function noSourceError(\n env: AuthEnvironment,\n session: StoredSession,\n): Promise<never> {\n let seatsNote = '';\n\n try {\n const result = await fetchSeatsWithOneRefresh(env, session);\n\n if (result.status === 'ok') {\n seatsNote =\n result.sources.length > 0\n ? ` You hold a seat on: ${describeSeats(result.sources)}.`\n : ' You hold no seats on any source on this host yet.';\n }\n } catch {}\n\n throw validationError(\n 'No Ekanos source given for the submission.',\n 'Pass \"--source <slug>\" (your operator names the source), or set ' +\n '\"source\": \"<slug>\" in ekanos.json. A successful publish saves it ' +\n `there for you.${seatsNote}`,\n );\n}\n\nexport function persistProjectFields(\n loaded: LoadedProject,\n source: string,\n host: string,\n): { source: boolean; host: boolean; hostOverride: string | null } {\n const wants = {\n source: loaded.project.source !== source,\n host: loaded.project.host === undefined,\n };\n\n const hostOverride =\n loaded.project.host !== undefined && loaded.project.host !== host\n ? loaded.project.host\n : null;\n\n if (!wants.source && !wants.host) {\n return { source: false, host: false, hostOverride };\n }\n\n try {\n fs.writeFileSync(\n loaded.configPath,\n serializeProject({\n ...loaded.project,\n source,\n host: wants.host ? host : loaded.project.host,\n }),\n );\n\n return { ...wants, hostOverride };\n } catch {\n return { source: false, host: false, hostOverride };\n }\n}\n\nconst MANIFEST_FILE_LIST_CAP = 200;\n\nexport function buildManifest(loaded: LoadedProject, files: string[]): string {\n const manifest = JSON.stringify({\n project: loaded.project,\n integrations: loaded.integrations.map((i) => ({\n slug: i.slug,\n entry: i.entry,\n })),\n files: files.slice(0, MANIFEST_FILE_LIST_CAP),\n ...(files.length > MANIFEST_FILE_LIST_CAP\n ? { filesTruncated: files.length }\n : {}),\n });\n\n const bytes = Buffer.byteLength(manifest, 'utf8');\n\n if (bytes > MAX_MANIFEST_BYTES) {\n throw validationError(\n `The submission manifest is ${bytes} bytes, over the ` +\n `${MAX_MANIFEST_BYTES}-byte server cap.`,\n 'The manifest embeds your ekanos.json — trim oversized fields there ' +\n '(sourceGlobs is the usual culprit), then re-run \"ekanos publish\".',\n );\n }\n\n return manifest;\n}\n\nconst SEMVER_PATTERN =\n /^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$/;\n\nexport function readProjectVersion(projectDir: string): string {\n const manifestPath = path.join(projectDir, 'package.json');\n\n let parsed: unknown;\n try {\n parsed = JSON.parse(fs.readFileSync(manifestPath, 'utf8'));\n } catch (error) {\n throw preconditionError(\n `Could not read ${manifestPath}: ${\n error instanceof Error ? error.message : String(error)\n }`,\n `Ensure the project has a valid package.json — its \"version\" field is ` +\n `what gets submitted.`,\n );\n }\n\n const version =\n typeof parsed === 'object' && parsed !== null\n ? (parsed as { version?: unknown }).version\n : undefined;\n\n if (typeof version !== 'string' || !SEMVER_PATTERN.test(version)) {\n throw validationError(\n `package.json \"version\" is ${\n typeof version === 'string' ? `\"${version}\"` : 'missing'\n }, which is not a semver version.`,\n `Set \"version\" in ${manifestPath} to a semver string like \"0.1.0\", ` +\n `then re-run \"ekanos publish\".`,\n );\n }\n\n return version;\n}\n"]}
@@ -1,23 +1,13 @@
1
1
  import type { CliContext } from '../context.js';
2
2
  import type { ExitCode } from '../exit-codes.js';
3
- export declare const REVIEWERS_SUBCOMMANDS: readonly ['list', 'add', 'remove'];
4
3
  export interface ReviewersArgs {
5
4
  host?: string;
6
5
  source?: string;
7
- /** `list`, `add <email>`, `remove <email>`. */
8
6
  positionals: readonly string[];
9
7
  reach?: string;
10
8
  team?: string;
11
- /** `remove --yes`: confirm taking the reviewer off. */
12
9
  yes?: boolean;
13
10
  dir: string;
14
11
  env: Record<string, string | undefined>;
15
12
  }
16
- /**
17
- * `reviewers` — a Source admin names who decides its agents' reply drafts
18
- * held under an `approve` policy. A reviewer is one of the Source's own
19
- * users, at a reach: `source` (drafts from every team's provided agents) or
20
- * `team` (one named team's). `list` shows them; `add` names one; `remove`
21
- * takes one off — every reach, or only the named team's with `--team`.
22
- */
23
13
  export declare function runReviewers(ctx: CliContext, args: ReviewersArgs): Promise<ExitCode>;
@@ -3,15 +3,8 @@ import { refreshStoredSession, requireSession, resolveAuthEnvironment, } from '.
3
3
  import { authRequiredError, invalidStateError, usageError } from '../errors.js';
4
4
  import { addReviewer, listReviewers, removeReviewer, } from '../reviewers-api.js';
5
5
  import { resolveSourceTarget } from '../source-target.js';
6
- export const REVIEWERS_SUBCOMMANDS = ['list', 'add', 'remove'];
6
+ const REVIEWERS_SUBCOMMANDS = ['list', 'add', 'remove'];
7
7
  const REACHES = ['source', 'team'];
8
- /**
9
- * `reviewers` — a Source admin names who decides its agents' reply drafts
10
- * held under an `approve` policy. A reviewer is one of the Source's own
11
- * users, at a reach: `source` (drafts from every team's provided agents) or
12
- * `team` (one named team's). `list` shows them; `add` names one; `remove`
13
- * takes one off — every reach, or only the named team's with `--team`.
14
- */
15
8
  export async function runReviewers(ctx, args) {
16
9
  var _a;
17
10
  var _b;