@visulima/vis 1.0.0-alpha.8 → 1.0.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 (471) hide show
  1. package/CHANGELOG.md +1915 -41
  2. package/LICENSE.md +13554 -6
  3. package/README.md +264 -32
  4. package/bin/resolve-binary.mjs +85 -0
  5. package/bin/vis.mjs +76 -0
  6. package/dashboard/dist/index.html +152 -0
  7. package/dist/bin.d.ts +1 -1
  8. package/dist/bin.js +1 -1004
  9. package/dist/binx.js +3 -0
  10. package/dist/config/index.d.ts +3276 -0
  11. package/dist/config/index.js +1 -0
  12. package/dist/generate/index.d.ts +155 -30
  13. package/dist/generate/index.js +1 -1
  14. package/dist/packem_chunks/CONFIG_FILES.js +8 -0
  15. package/dist/packem_chunks/DEFAULT_CLEAN_KEEP.js +1 -0
  16. package/dist/packem_chunks/agent-instructions.js +11 -0
  17. package/dist/packem_chunks/bloom-status.js +2 -0
  18. package/dist/packem_chunks/bloom-sync.js +2 -0
  19. package/dist/packem_chunks/cache-attestation.js +1 -0
  20. package/dist/packem_chunks/catalog-detector.js +1 -0
  21. package/dist/packem_chunks/catalog.js +114 -0
  22. package/dist/packem_chunks/cli-exec.js +1 -0
  23. package/dist/packem_chunks/cli-main.js +268 -0
  24. package/dist/packem_chunks/defineReleasePlugin.js +3 -0
  25. package/dist/packem_chunks/detect.js +3 -0
  26. package/dist/packem_chunks/detect2.js +8 -0
  27. package/dist/packem_chunks/devtools.js +4 -0
  28. package/dist/packem_chunks/discord.js +4 -0
  29. package/dist/packem_chunks/dispatch.js +4 -0
  30. package/dist/packem_chunks/doctor-probe.js +2 -0
  31. package/dist/packem_chunks/dynamic-import.js +1 -0
  32. package/dist/packem_chunks/extra-files.js +3 -0
  33. package/dist/packem_chunks/fix.js +11 -0
  34. package/dist/packem_chunks/git.js +3 -0
  35. package/dist/packem_chunks/group-tags.js +1 -0
  36. package/dist/packem_chunks/handler.js +1 -0
  37. package/dist/packem_chunks/handler10.js +5 -0
  38. package/dist/packem_chunks/handler11.js +1 -0
  39. package/dist/packem_chunks/handler12.js +27 -0
  40. package/dist/packem_chunks/handler13.js +5 -0
  41. package/dist/packem_chunks/handler14.js +1 -0
  42. package/dist/packem_chunks/handler15.js +1 -0
  43. package/dist/packem_chunks/handler16.js +1 -0
  44. package/dist/packem_chunks/handler17.js +1 -0
  45. package/dist/packem_chunks/handler18.js +1 -0
  46. package/dist/packem_chunks/handler19.js +5 -0
  47. package/dist/packem_chunks/handler2.js +1 -0
  48. package/dist/packem_chunks/handler20.js +2 -0
  49. package/dist/packem_chunks/handler21.js +2 -0
  50. package/dist/packem_chunks/handler22.js +14 -0
  51. package/dist/packem_chunks/handler23.js +1 -0
  52. package/dist/packem_chunks/handler24.js +1 -0
  53. package/dist/packem_chunks/handler25.js +1 -0
  54. package/dist/packem_chunks/handler26.js +5 -0
  55. package/dist/packem_chunks/handler27.js +1 -0
  56. package/dist/packem_chunks/handler28.js +3 -0
  57. package/dist/packem_chunks/handler29.js +1 -0
  58. package/dist/packem_chunks/handler3.js +4 -0
  59. package/dist/packem_chunks/handler30.js +1 -0
  60. package/dist/packem_chunks/handler31.js +2 -0
  61. package/dist/packem_chunks/handler32.js +2 -0
  62. package/dist/packem_chunks/handler33.js +2 -0
  63. package/dist/packem_chunks/handler34.js +3 -0
  64. package/dist/packem_chunks/handler35.js +6 -0
  65. package/dist/packem_chunks/handler36.js +1 -0
  66. package/dist/packem_chunks/handler37.js +42 -0
  67. package/dist/packem_chunks/handler38.js +8 -0
  68. package/dist/packem_chunks/handler39.js +9 -0
  69. package/dist/packem_chunks/handler4.js +4 -0
  70. package/dist/packem_chunks/handler40.js +75 -0
  71. package/dist/packem_chunks/handler41.js +5 -0
  72. package/dist/packem_chunks/handler42.js +4 -0
  73. package/dist/packem_chunks/handler43.js +3 -0
  74. package/dist/packem_chunks/handler44.js +2 -0
  75. package/dist/packem_chunks/handler45.js +1 -0
  76. package/dist/packem_chunks/handler46.js +1 -0
  77. package/dist/packem_chunks/handler47.js +1 -0
  78. package/dist/packem_chunks/handler48.js +3 -0
  79. package/dist/packem_chunks/handler49.js +1 -0
  80. package/dist/packem_chunks/handler5.js +6 -0
  81. package/dist/packem_chunks/handler50.js +7 -0
  82. package/dist/packem_chunks/handler51.js +33 -0
  83. package/dist/packem_chunks/handler52.js +3 -0
  84. package/dist/packem_chunks/handler53.js +8 -0
  85. package/dist/packem_chunks/handler54.js +4 -0
  86. package/dist/packem_chunks/handler55.js +1 -0
  87. package/dist/packem_chunks/handler56.js +12 -0
  88. package/dist/packem_chunks/handler57.js +11 -0
  89. package/dist/packem_chunks/handler58.js +5 -0
  90. package/dist/packem_chunks/handler59.js +11 -0
  91. package/dist/packem_chunks/handler6.js +8 -0
  92. package/dist/packem_chunks/handler60.js +3 -0
  93. package/dist/packem_chunks/handler61.js +22 -0
  94. package/dist/packem_chunks/handler62.js +61 -0
  95. package/dist/packem_chunks/handler63.js +3 -0
  96. package/dist/packem_chunks/handler64.js +6 -0
  97. package/dist/packem_chunks/handler65.js +9 -0
  98. package/dist/packem_chunks/handler66.js +2 -0
  99. package/dist/packem_chunks/handler67.js +24 -0
  100. package/dist/packem_chunks/handler68.js +25 -0
  101. package/dist/packem_chunks/handler69.js +153 -0
  102. package/dist/packem_chunks/handler7.js +1 -0
  103. package/dist/packem_chunks/handler70.js +10 -0
  104. package/dist/packem_chunks/handler71.js +23 -0
  105. package/dist/packem_chunks/handler72.js +322 -0
  106. package/dist/packem_chunks/handler73.js +708 -0
  107. package/dist/packem_chunks/handler74.js +48 -0
  108. package/dist/packem_chunks/handler75.js +27 -0
  109. package/dist/packem_chunks/handler76.js +3 -0
  110. package/dist/packem_chunks/handler77.js +190 -0
  111. package/dist/packem_chunks/handler78.js +38 -0
  112. package/dist/packem_chunks/handler8.js +1 -0
  113. package/dist/packem_chunks/handler9.js +1 -0
  114. package/dist/packem_chunks/heal-accept.js +10 -0
  115. package/dist/packem_chunks/heal.js +14 -0
  116. package/dist/packem_chunks/help-command.js +31 -0
  117. package/dist/packem_chunks/index.js +1 -7
  118. package/dist/packem_chunks/index2.js +802 -0
  119. package/dist/packem_chunks/index3.js +7 -0
  120. package/dist/packem_chunks/index4.js +135 -0
  121. package/dist/packem_chunks/index5.js +74 -0
  122. package/dist/packem_chunks/interface.js +2 -0
  123. package/dist/packem_chunks/keys-refresh.js +4 -0
  124. package/dist/packem_chunks/lean.js +4 -0
  125. package/dist/packem_chunks/list.js +3 -0
  126. package/dist/packem_chunks/loader.js +4 -1
  127. package/dist/packem_chunks/loader2.js +1 -0
  128. package/dist/packem_chunks/orchestrator.js +42 -0
  129. package/dist/packem_chunks/pre-mode.js +2 -0
  130. package/dist/packem_chunks/print-config.js +2 -0
  131. package/dist/packem_chunks/prompts.js +7 -0
  132. package/dist/packem_chunks/prune.js +3 -0
  133. package/dist/packem_chunks/publish-guards.js +1 -0
  134. package/dist/packem_chunks/registry.js +48 -0
  135. package/dist/packem_chunks/resolveFormatter.js +9 -0
  136. package/dist/packem_chunks/run.js +1 -0
  137. package/dist/packem_chunks/security.js +1 -0
  138. package/dist/packem_chunks/shell-runner.js +1 -0
  139. package/dist/packem_chunks/slack.js +2 -0
  140. package/dist/packem_chunks/snapshot.js +2 -0
  141. package/dist/packem_chunks/stage-publisher.js +1 -0
  142. package/dist/packem_chunks/staged-registry.js +2 -0
  143. package/dist/packem_chunks/state.js +3 -0
  144. package/dist/packem_chunks/status.js +2 -0
  145. package/dist/packem_chunks/success-walk.js +8 -0
  146. package/dist/packem_chunks/sync.js +2 -0
  147. package/dist/packem_chunks/sync2.js +2 -0
  148. package/dist/packem_chunks/tar.js +3 -0
  149. package/dist/packem_chunks/tripwire.js +2 -0
  150. package/dist/packem_chunks/ts-loader.js +22 -0
  151. package/dist/packem_chunks/verify-lockfile.js +2 -0
  152. package/dist/packem_chunks/version-resolver.js +2 -0
  153. package/dist/packem_chunks/webhook.js +1 -0
  154. package/dist/packem_chunks/workflow-templates.js +167 -0
  155. package/dist/packem_chunks/workspace.js +2 -0
  156. package/dist/packem_shared/AfterAllProjectsVersioned-CAKI2nWf.js +1 -0
  157. package/dist/packem_shared/MultiSpinner-B9U0-aE3-B-gIXhFk.js +3 -0
  158. package/dist/packem_shared/ReleaseClient-BY4OZNCK.js +1 -0
  159. package/dist/packem_shared/Table-CcVkyULl-DLWu6XHL.js +34 -0
  160. package/dist/packem_shared/VisReleaseError-DMGRBTNO.js +1 -0
  161. package/dist/packem_shared/_commonjsHelpers-B5Y90VFO.js +1 -0
  162. package/dist/packem_shared/advisories-B76fBVL-.js +1 -0
  163. package/dist/packem_shared/affected-shas-CCxG4tvm.js +1 -0
  164. package/dist/packem_shared/ai-analysis-BpVdn20h.js +68 -0
  165. package/dist/packem_shared/ai-fix-CeGzAT9m.js +43 -0
  166. package/dist/packem_shared/anolilab-text-CAM_E6uK.js +13 -0
  167. package/dist/packem_shared/api.d-BPftyU9r.d.ts +27 -0
  168. package/dist/packem_shared/augment-DaSS2Lgs.js +4 -0
  169. package/dist/packem_shared/bin-BlGVEhl8.js +1 -0
  170. package/dist/packem_shared/build-scripts-q__dKE2y.js +1 -0
  171. package/dist/packem_shared/command-runtime-3FTGuUsK.js +1 -0
  172. package/dist/packem_shared/compile-cache-B_Vf_WxT.js +3 -0
  173. package/dist/packem_shared/createAdapter-bU4DIP3F.js +1 -0
  174. package/dist/packem_shared/createVersionActions-BK43SNDH.js +1 -0
  175. package/dist/packem_shared/cyclonedx-CmrYQ0vx.js +4 -0
  176. package/dist/packem_shared/defineFormatter-D5dCp6Kv.js +1 -0
  177. package/dist/packem_shared/definePlugin-DoUcoYSy.js +1 -0
  178. package/dist/packem_shared/dependency-scan-DpOFiZuI.js +1 -0
  179. package/dist/packem_shared/docker-BYqiD711.js +59 -0
  180. package/dist/packem_shared/env-DdQRnEIy.js +27 -0
  181. package/dist/packem_shared/failure-log-CKMhqLWr.js +2 -0
  182. package/dist/packem_shared/giget-DVTFJlbR.js +2 -0
  183. package/dist/packem_shared/glob-fqg4KepW-1S3z30c8.js +1 -0
  184. package/dist/packem_shared/index-B0EsgdzO.js +1 -0
  185. package/dist/packem_shared/index-CE6MsgcV.js +22 -0
  186. package/dist/packem_shared/index-Cg0IHaFI.js +1 -0
  187. package/dist/packem_shared/index-Cg71MisW.js +1 -0
  188. package/dist/packem_shared/index-DjTWo3sH.js +1 -0
  189. package/dist/packem_shared/index-jJNulo5i.js +28 -0
  190. package/dist/packem_shared/index.server-J83sowC4.js +2 -0
  191. package/dist/packem_shared/interface.d-B7VK2rcH.d.ts +148 -0
  192. package/dist/packem_shared/interface.d-Cezzifoh.d.ts +106 -0
  193. package/dist/packem_shared/license-t5KnNX6v.js +1 -0
  194. package/dist/packem_shared/lifecycle-aDTZ8dW1.js +2 -0
  195. package/dist/packem_shared/lockfile-C1qCKGH6.js +1 -0
  196. package/dist/packem_shared/main-B3juSU5z.js +1 -0
  197. package/dist/packem_shared/manifests-DSBr3-dw.js +1 -0
  198. package/dist/packem_shared/min-release-age-C71MO72F.js +34 -0
  199. package/dist/packem_shared/missing-package-json-CTF71tE5.js +1 -0
  200. package/dist/packem_shared/native-config-sync-D-z2Uwqu.js +21 -0
  201. package/dist/packem_shared/osv-bloom-DMhXP184.js +2 -0
  202. package/dist/packem_shared/otelPlugin-DmKDBaPo.js +1 -0
  203. package/dist/packem_shared/packument-aGzYwXKn.js +1 -0
  204. package/dist/packem_shared/peer-warnings-BXAzXqY3.js +1 -0
  205. package/dist/packem_shared/plugins.d-ND23R9I3.d.ts +4 -0
  206. package/dist/packem_shared/pm-runner-CQcraCcu.js +1 -0
  207. package/dist/packem_shared/prompt-DjXHVgYU.js +1 -0
  208. package/dist/packem_shared/provenance-S7y0BRAt.js +1 -0
  209. package/dist/packem_shared/public-api-WqUCiyIe.js +131 -0
  210. package/dist/packem_shared/readJsonSync-DuMMeB3s-ihoybKvs.js +1 -0
  211. package/dist/packem_shared/registry-keys-CRnXATt2.js +1 -0
  212. package/dist/packem_shared/resolve-explicit-CJGazevw.js +5 -0
  213. package/dist/packem_shared/resolve-runtime-QRaQucfL.js +1 -0
  214. package/dist/packem_shared/run-file-DD7Ne23Z.js +1 -0
  215. package/dist/packem_shared/runtime-check-qnrPTlma.js +1 -0
  216. package/dist/packem_shared/runtime-process-Dmz0vCJy-DUwTvH1J.js +1 -0
  217. package/dist/packem_shared/s1ngularity-BLj4Jy8z.js +1 -0
  218. package/dist/packem_shared/scan-progress-BDcl7Kty.js +2 -0
  219. package/dist/packem_shared/selectors-D4iCvITE.js +3 -0
  220. package/dist/packem_shared/signatures-DoNG2hEr.js +2 -0
  221. package/dist/packem_shared/slug-DoueYuLo.js +1 -0
  222. package/dist/packem_shared/spinner-DuJJvFTl.js +1 -0
  223. package/dist/packem_shared/sticky-comment-D6_7-w8T.js +1 -0
  224. package/dist/packem_shared/subtree-C7bZuiSQ.js +2 -0
  225. package/dist/packem_shared/symbols-DPTlrJ3B.js +1 -0
  226. package/dist/packem_shared/tabs-CgxCvjCY.js +1 -0
  227. package/dist/packem_shared/target-merge-Dg25Izl5.js +11 -0
  228. package/dist/packem_shared/target-options-CR0OuYJr.js +1 -0
  229. package/dist/packem_shared/toolchain-Zb3VzZb4.js +5 -0
  230. package/dist/packem_shared/typosquats-C12CP_2G.js +1 -0
  231. package/dist/packem_shared/use-measured-height-CjS7Tks7.js +1 -0
  232. package/dist/packem_shared/utils-CRueU43T.js +1 -0
  233. package/dist/packem_shared/verify-DStfg3nb.js +1 -0
  234. package/dist/packem_shared/vis-update-app-BlocL713.js +1 -0
  235. package/dist/packem_shared/watch-BXNI7dC6.js +1 -0
  236. package/dist/packem_shared/watch-loop-BZudYfcl.js +11 -0
  237. package/dist/release/core/changelog/index.d.ts +5 -0
  238. package/dist/release/core/changelog/index.js +1 -0
  239. package/dist/release/core/package-managers/index.d.ts +6 -0
  240. package/dist/release/core/package-managers/index.js +1 -0
  241. package/dist/release/core/version-actions/index.d.ts +14 -0
  242. package/dist/release/core/version-actions/index.js +1 -0
  243. package/dist/release/index.d.ts +233 -0
  244. package/dist/release/index.js +1 -0
  245. package/dist/release/plugin-sdk.d.ts +128 -0
  246. package/dist/release/plugin-sdk.js +1 -0
  247. package/dist/release/presets.d.ts +225 -0
  248. package/dist/release/presets.js +1 -0
  249. package/dist/release/types.d.ts +1493 -0
  250. package/dist/release/types.js +1 -0
  251. package/dist/runtime/preload.d.ts +1 -0
  252. package/dist/runtime/preload.js +1 -0
  253. package/index.d.ts +450 -0
  254. package/index.js +579 -728
  255. package/package.json +103 -52
  256. package/schemas/project.schema.json +873 -226
  257. package/schemas/vis-config.schema.json +6332 -241
  258. package/schemas/vis-release-config.schema.json +1423 -0
  259. package/skills/vis/SKILL.md +96 -0
  260. package/templates/buildkite-ci/.buildkite/pipeline.yml.tera +85 -0
  261. package/templates/buildkite-ci/template.yml +20 -0
  262. package/dist/ai-analysis.d.ts +0 -26
  263. package/dist/ai-cache.d.ts +0 -21
  264. package/dist/ai-types.d.ts +0 -16
  265. package/dist/audit-config.d.ts +0 -24
  266. package/dist/cache-directory.d.ts +0 -73
  267. package/dist/catalog.d.ts +0 -136
  268. package/dist/codeowners.d.ts +0 -30
  269. package/dist/commands/action-graph.d.ts +0 -8
  270. package/dist/commands/add.d.ts +0 -3
  271. package/dist/commands/affected.d.ts +0 -3
  272. package/dist/commands/ai.d.ts +0 -3
  273. package/dist/commands/analyze.d.ts +0 -3
  274. package/dist/commands/approve-builds.d.ts +0 -3
  275. package/dist/commands/audit.d.ts +0 -23
  276. package/dist/commands/cache.d.ts +0 -86
  277. package/dist/commands/check.d.ts +0 -3
  278. package/dist/commands/ci.d.ts +0 -19
  279. package/dist/commands/clean.d.ts +0 -3
  280. package/dist/commands/create/discovery.d.ts +0 -42
  281. package/dist/commands/create/index.d.ts +0 -13
  282. package/dist/commands/create/prompts.d.ts +0 -31
  283. package/dist/commands/create/random-name.d.ts +0 -15
  284. package/dist/commands/create/templates/builtin.d.ts +0 -15
  285. package/dist/commands/create/templates/generator.d.ts +0 -14
  286. package/dist/commands/create/templates/index.d.ts +0 -13
  287. package/dist/commands/create/templates/monorepo.d.ts +0 -16
  288. package/dist/commands/create/templates/remote.d.ts +0 -41
  289. package/dist/commands/create/templates/types.d.ts +0 -46
  290. package/dist/commands/create/utils.d.ts +0 -42
  291. package/dist/commands/dedupe.d.ts +0 -3
  292. package/dist/commands/devcontainer.d.ts +0 -3
  293. package/dist/commands/dlx.d.ts +0 -3
  294. package/dist/commands/docker.d.ts +0 -22
  295. package/dist/commands/doctor.d.ts +0 -15
  296. package/dist/commands/exec.d.ts +0 -3
  297. package/dist/commands/generate.d.ts +0 -10
  298. package/dist/commands/graph.d.ts +0 -3
  299. package/dist/commands/hook/constants.d.ts +0 -13
  300. package/dist/commands/hook/index.d.ts +0 -3
  301. package/dist/commands/hook/install.d.ts +0 -7
  302. package/dist/commands/hook/list.d.ts +0 -28
  303. package/dist/commands/hook/migrate.d.ts +0 -30
  304. package/dist/commands/hook/prek-builtins.d.ts +0 -8
  305. package/dist/commands/hook/prek.d.ts +0 -129
  306. package/dist/commands/hook/run.d.ts +0 -21
  307. package/dist/commands/hook/uninstall.d.ts +0 -3
  308. package/dist/commands/hook/validate.d.ts +0 -17
  309. package/dist/commands/ignore-helpers.d.ts +0 -157
  310. package/dist/commands/ignore.d.ts +0 -17
  311. package/dist/commands/implode.d.ts +0 -3
  312. package/dist/commands/info.d.ts +0 -3
  313. package/dist/commands/init.d.ts +0 -14
  314. package/dist/commands/install.d.ts +0 -3
  315. package/dist/commands/link.d.ts +0 -3
  316. package/dist/commands/list.d.ts +0 -3
  317. package/dist/commands/migrate/backup.d.ts +0 -8
  318. package/dist/commands/migrate/constants.d.ts +0 -16
  319. package/dist/commands/migrate/deps.d.ts +0 -32
  320. package/dist/commands/migrate/gitleaks.d.ts +0 -29
  321. package/dist/commands/migrate/index.d.ts +0 -3
  322. package/dist/commands/migrate/json.d.ts +0 -22
  323. package/dist/commands/migrate/kingfisher.d.ts +0 -14
  324. package/dist/commands/migrate/lint-staged.d.ts +0 -62
  325. package/dist/commands/migrate/moon.d.ts +0 -5
  326. package/dist/commands/migrate/nano-staged.d.ts +0 -30
  327. package/dist/commands/migrate/nx.d.ts +0 -12
  328. package/dist/commands/migrate/prompt.d.ts +0 -2
  329. package/dist/commands/migrate/secretlint.d.ts +0 -14
  330. package/dist/commands/migrate/shared.d.ts +0 -29
  331. package/dist/commands/migrate/turborepo.d.ts +0 -11
  332. package/dist/commands/migrate/types.d.ts +0 -27
  333. package/dist/commands/migrate/verify.d.ts +0 -12
  334. package/dist/commands/optimize.d.ts +0 -38
  335. package/dist/commands/pm.d.ts +0 -3
  336. package/dist/commands/remove.d.ts +0 -3
  337. package/dist/commands/run.d.ts +0 -16
  338. package/dist/commands/sbom.d.ts +0 -10
  339. package/dist/commands/secrets.d.ts +0 -3
  340. package/dist/commands/sort-package-json.d.ts +0 -3
  341. package/dist/commands/staged.d.ts +0 -10
  342. package/dist/commands/status.d.ts +0 -3
  343. package/dist/commands/sync.d.ts +0 -16
  344. package/dist/commands/task-why.d.ts +0 -3
  345. package/dist/commands/unlink.d.ts +0 -3
  346. package/dist/commands/update.d.ts +0 -3
  347. package/dist/commands/upgrade.d.ts +0 -3
  348. package/dist/commands/why.d.ts +0 -3
  349. package/dist/config.d.ts +0 -82
  350. package/dist/config.js +0 -1
  351. package/dist/docker.d.ts +0 -73
  352. package/dist/flakiness.d.ts +0 -40
  353. package/dist/generate/discover.d.ts +0 -29
  354. package/dist/generate/loader.d.ts +0 -15
  355. package/dist/generate/moon-adapter/filename-interp.d.ts +0 -42
  356. package/dist/generate/moon-adapter/filters.d.ts +0 -22
  357. package/dist/generate/moon-adapter/frontmatter.d.ts +0 -39
  358. package/dist/generate/moon-adapter/index.d.ts +0 -19
  359. package/dist/generate/moon-adapter/tera-subset.d.ts +0 -85
  360. package/dist/generate/moon-adapter/util.d.ts +0 -14
  361. package/dist/generate/prompts.d.ts +0 -25
  362. package/dist/generate/remote.d.ts +0 -43
  363. package/dist/generate/runner.d.ts +0 -37
  364. package/dist/generate/types.d.ts +0 -152
  365. package/dist/hooks.d.ts +0 -118
  366. package/dist/native-binding.d.ts +0 -158
  367. package/dist/output.d.ts +0 -40
  368. package/dist/overrides.d.ts +0 -82
  369. package/dist/package-manager.d.ts +0 -23
  370. package/dist/packem_shared/otelPlugin-CJLkguJ8.js +0 -1
  371. package/dist/plugins/config-loader.d.ts +0 -3
  372. package/dist/plugins/otel.d.ts +0 -63
  373. package/dist/plugins/post-command.d.ts +0 -3
  374. package/dist/plugins/security-enforcement.d.ts +0 -3
  375. package/dist/pm-runner.d.ts +0 -44
  376. package/dist/run-report.d.ts +0 -40
  377. package/dist/runtime-check.d.ts +0 -27
  378. package/dist/sbom/cyclonedx.d.ts +0 -39
  379. package/dist/sbom/installed-package.d.ts +0 -49
  380. package/dist/sbom/license.d.ts +0 -31
  381. package/dist/sbom/lockfile.d.ts +0 -34
  382. package/dist/sbom/purl.d.ts +0 -25
  383. package/dist/sbom/resolve-specifier.d.ts +0 -24
  384. package/dist/sbom/types.d.ts +0 -196
  385. package/dist/secrets/baseline.d.ts +0 -20
  386. package/dist/secrets/format.d.ts +0 -14
  387. package/dist/secrets/git.d.ts +0 -6
  388. package/dist/secrets/spinner.d.ts +0 -9
  389. package/dist/security.d.ts +0 -64
  390. package/dist/selectors.d.ts +0 -81
  391. package/dist/shell-history.d.ts +0 -16
  392. package/dist/socket-security.d.ts +0 -129
  393. package/dist/staged/cli-parse.d.ts +0 -18
  394. package/dist/staged/config.d.ts +0 -14
  395. package/dist/staged/errors/apply-empty-commit-error.d.ts +0 -4
  396. package/dist/staged/errors/config-error.d.ts +0 -4
  397. package/dist/staged/errors/get-backup-stash-error.d.ts +0 -4
  398. package/dist/staged/errors/git-error.d.ts +0 -6
  399. package/dist/staged/errors/index.d.ts +0 -12
  400. package/dist/staged/errors/restore-original-state-error.d.ts +0 -4
  401. package/dist/staged/errors/staged-error.d.ts +0 -8
  402. package/dist/staged/errors/task-error.d.ts +0 -6
  403. package/dist/staged/git/diff.d.ts +0 -76
  404. package/dist/staged/git/exec.d.ts +0 -43
  405. package/dist/staged/git/index.d.ts +0 -77
  406. package/dist/staged/git/stash.d.ts +0 -37
  407. package/dist/staged/index.d.ts +0 -13
  408. package/dist/staged/match.d.ts +0 -12
  409. package/dist/staged/renderer/index.d.ts +0 -9
  410. package/dist/staged/renderer/ink/index.d.ts +0 -4
  411. package/dist/staged/renderer/plain.d.ts +0 -12
  412. package/dist/staged/tasks/build.d.ts +0 -13
  413. package/dist/staged/tasks/exec.d.ts +0 -56
  414. package/dist/staged/tasks/run.d.ts +0 -26
  415. package/dist/staged/types.d.ts +0 -173
  416. package/dist/target-discovery.d.ts +0 -59
  417. package/dist/target-options.d.ts +0 -261
  418. package/dist/tips.d.ts +0 -41
  419. package/dist/tui/components/CheckProgressApp.d.ts +0 -6
  420. package/dist/tui/components/CommandSummary.d.ts +0 -17
  421. package/dist/tui/components/Header.d.ts +0 -13
  422. package/dist/tui/components/OutputPanel.d.ts +0 -17
  423. package/dist/tui/components/QuitDialog.d.ts +0 -15
  424. package/dist/tui/components/TaskListPanel.d.ts +0 -19
  425. package/dist/tui/components/TaskRow.d.ts +0 -12
  426. package/dist/tui/components/TaskStore.d.ts +0 -80
  427. package/dist/tui/components/VisTaskRunnerApp.d.ts +0 -17
  428. package/dist/tui/components/devcontainer/DevcontainerStore.d.ts +0 -66
  429. package/dist/tui/components/devcontainer/VisDevcontainerApp.d.ts +0 -9
  430. package/dist/tui/components/devcontainer/catalogs/extensions.d.ts +0 -8
  431. package/dist/tui/components/devcontainer/catalogs/features.d.ts +0 -8
  432. package/dist/tui/components/devcontainer/catalogs/filters.d.ts +0 -4
  433. package/dist/tui/components/devcontainer/catalogs/mount-suggestions.d.ts +0 -19
  434. package/dist/tui/components/devcontainer/catalogs/templates.d.ts +0 -8
  435. package/dist/tui/components/devcontainer/devcontainer-io.d.ts +0 -14
  436. package/dist/tui/components/devcontainer/sections/DockerComposeSection.d.ts +0 -11
  437. package/dist/tui/components/devcontainer/sections/EnvironmentSection.d.ts +0 -16
  438. package/dist/tui/components/devcontainer/sections/ExtensionsSection.d.ts +0 -11
  439. package/dist/tui/components/devcontainer/sections/FeaturesSection.d.ts +0 -11
  440. package/dist/tui/components/devcontainer/sections/GeneralSection.d.ts +0 -12
  441. package/dist/tui/components/devcontainer/sections/LifecycleSection.d.ts +0 -13
  442. package/dist/tui/components/devcontainer/sections/MountsSection.d.ts +0 -16
  443. package/dist/tui/components/devcontainer/sections/PortsSection.d.ts +0 -10
  444. package/dist/tui/components/devcontainer/sections/PreviewPanel.d.ts +0 -11
  445. package/dist/tui/components/devcontainer/types.d.ts +0 -53
  446. package/dist/tui/components/devcontainer/validate.d.ts +0 -16
  447. package/dist/tui/components/graph/GraphStore.d.ts +0 -42
  448. package/dist/tui/components/graph/ProjectDetailPanel.d.ts +0 -10
  449. package/dist/tui/components/graph/ProjectListPanel.d.ts +0 -20
  450. package/dist/tui/components/graph/VisGraphApp.d.ts +0 -8
  451. package/dist/tui/components/optimize/OptimizeDetailPanel.d.ts +0 -9
  452. package/dist/tui/components/optimize/OptimizeListPanel.d.ts +0 -16
  453. package/dist/tui/components/optimize/OptimizeStore.d.ts +0 -50
  454. package/dist/tui/components/optimize/VisOptimizeApp.d.ts +0 -8
  455. package/dist/tui/components/optimize/constants.d.ts +0 -7
  456. package/dist/tui/components/update/PackageDetailPanel.d.ts +0 -12
  457. package/dist/tui/components/update/PackageListPanel.d.ts +0 -21
  458. package/dist/tui/components/update/UpdateStore.d.ts +0 -62
  459. package/dist/tui/components/update/VisUpdateApp.d.ts +0 -18
  460. package/dist/tui/dynamic-life-cycle.d.ts +0 -22
  461. package/dist/tui/formatting-utils.d.ts +0 -17
  462. package/dist/tui/pretty-time.d.ts +0 -8
  463. package/dist/tui/static-life-cycle.d.ts +0 -28
  464. package/dist/tui/status-utils.d.ts +0 -20
  465. package/dist/tui/symbols.d.ts +0 -7
  466. package/dist/tui/types.d.ts +0 -11
  467. package/dist/typosquats.d.ts +0 -70
  468. package/dist/upgrade-check.d.ts +0 -30
  469. package/dist/utils.d.ts +0 -22
  470. package/dist/watch.d.ts +0 -65
  471. package/dist/workspace.d.ts +0 -675
@@ -1,70 +0,0 @@
1
- /**
2
- * Typosquat detection for package names.
3
- *
4
- * Uses a curated blocklist of known typosquats (data/typosquats.json) and
5
- * runtime heuristics (character substitution, transposition, omission) to
6
- * warn users before they install a potentially malicious package.
7
- */
8
- export type Blocklist = Record<string, string[]>;
9
- export interface TyposquatMatch {
10
- /** The package name that was checked. */
11
- input: string;
12
- /** The legitimate package this appears to be a typosquat of. */
13
- legitimate: string;
14
- /** How the match was detected: "blocklist" (exact match in JSON) or "heuristic" (generated variant). */
15
- method: "blocklist" | "heuristic";
16
- }
17
- export interface TyposquatCheckResult {
18
- /** Whether the operation should proceed. */
19
- ok: boolean;
20
- /**
21
- * The (possibly corrected) package names to use.
22
- * When the user chooses "use suggested name", the typosquat names are
23
- * replaced with their legitimate counterparts.
24
- */
25
- packages: string[];
26
- }
27
- /**
28
- * Generates typosquat variants of a package name using common attack patterns:
29
- * - Character omission (dropping one character)
30
- * - Adjacent character transposition (swapping neighbors)
31
- * - Character duplication (repeating one character)
32
- * - Homoglyph / keyboard substitution
33
- * - Separator manipulation (dash/dot/underscore swaps)
34
- * - Common suffixes (-js, -node)
35
- *
36
- * Separators (`-`, `.`, `_`) are preserved during omission and duplication passes.
37
- * Transposition is skipped when either character is a separator.
38
- * Names shorter than 3 characters return an empty set.
39
- * @param name The package name to generate variants for.
40
- * @returns A set of unique variant strings (never includes the original name).
41
- */
42
- export declare const generateVariants: (name: string) => Set<string>;
43
- /**
44
- * Check a single package name against the typosquat blocklist.
45
- * Returns a match if the name is a known typosquat, or `undefined` if safe.
46
- */
47
- export declare const checkTyposquat: (packageName: string) => TyposquatMatch | undefined;
48
- /** Check multiple package names. Returns only the matches (empty if all safe). */
49
- export declare const checkTyposquats: (packageNames: string[], allowlist?: string[]) => TyposquatMatch[];
50
- /**
51
- * Display typosquat warnings and prompt the user.
52
- *
53
- * Choices:
54
- * - **S** (suggested): replace the typosquat names with the correct packages and continue
55
- * - **y** (yes): continue with the original (potentially dangerous) names
56
- * - **N** (no, default): abort the operation
57
- *
58
- * Non-interactive mode always aborts.
59
- */
60
- export declare const runTyposquatCheck: (packageNames: string[], allowlist?: string[]) => Promise<TyposquatCheckResult>;
61
- /**
62
- * Scan package.json dependencies for potential typosquats.
63
- *
64
- * Unlike `runTyposquatCheck` (used by `add`), this cannot replace names because
65
- * they live in package.json. It warns the user and asks whether to proceed.
66
- *
67
- * In non-interactive mode, always aborts.
68
- * @returns `true` to proceed, `false` to abort.
69
- */
70
- export declare const scanDepsForTyposquats: (cwd: string, allowlist?: string[]) => Promise<boolean>;
@@ -1,30 +0,0 @@
1
- /**
2
- * Background upgrade check - non-intrusive update notification.
3
- *
4
- * Per vite-plus upgrade-check RFC:
5
- * - Spawns async registry check while command runs (no latency impact)
6
- * - Shows single-line notice at most once per 24 hours
7
- * - Cached at ~/.vis/.upgrade-check.json
8
- * - Skipped in CI, test, quiet, non-TTY, and excluded commands
9
- * - 500ms timeout prevents network from delaying exit
10
- */
11
- /** Commands that should NOT trigger upgrade checks. */
12
- declare const EXCLUDED_COMMANDS: Set<string>;
13
- /**
14
- * Compares two semver version strings.
15
- * Returns true if `latest` is newer than `current`.
16
- */
17
- declare const isNewerVersion: (current: string, latest: string) => boolean;
18
- /**
19
- * Determines if the upgrade check should run for this invocation.
20
- */
21
- declare const shouldCheck: (command: string) => boolean;
22
- /**
23
- * Runs the background upgrade check. Non-blocking.
24
- *
25
- * 1. Check if we need to query the registry (24h cooldown)
26
- * 2. If yes, fetch latest version asynchronously
27
- * 3. Return a promise that resolves with the check function to call after command
28
- */
29
- declare const startUpgradeCheck: (currentVersion: string, command: string) => (() => void) | undefined;
30
- export { EXCLUDED_COMMANDS, isNewerVersion, shouldCheck, startUpgradeCheck };
package/dist/utils.d.ts DELETED
@@ -1,22 +0,0 @@
1
- /**
2
- * Shared utility for option parsing across command handlers.
3
- */
4
- /**
5
- * Converts a CLI option value (which may be undefined, a single string,
6
- * or an array of strings) into a normalized string array.
7
- */
8
- declare const toStringArray: (value: unknown) => string[];
9
- /**
10
- * Safely extracts an error message from an unknown caught value.
11
- * Handles Error instances, strings, and other types.
12
- */
13
- declare const errorMessage: (error: unknown) => string;
14
- /**
15
- * Extracts the package name and optional version specifier from a CLI argument
16
- * like "react", "react@19", "@scope/pkg@^2".
17
- */
18
- declare const parsePackageArgument: (argument: string) => {
19
- name: string;
20
- versionSpec: string | undefined;
21
- };
22
- export { errorMessage, parsePackageArgument, toStringArray };
package/dist/watch.d.ts DELETED
@@ -1,65 +0,0 @@
1
- import type { TaskResults } from "@visulima/task-runner";
2
- /**
3
- * Debounced multi-directory file watcher. Watches one or more project
4
- * roots recursively and invokes `onChange` at most once per debounce
5
- * window. Ignores edits inside `node_modules` and `.git`.
6
- *
7
- * `node:fs.watch({ recursive: true })` is supported on Linux, macOS,
8
- * and Windows since Node 20+, so no additional dependency is needed.
9
- */
10
- export interface WatchHandle {
11
- close: () => void;
12
- }
13
- export interface WatchOptions {
14
- /** Debounce window in milliseconds. Defaults to 150 ms. */
15
- debounceMs?: number;
16
- /**
17
- * Optional predicate invoked against every raw file event
18
- * (relative path as provided by `node:fs.watch`). Used by
19
- * tracked-access watch mode to drop changes to files the last
20
- * run didn't actually read. Return `false` to discard the event.
21
- */
22
- filter?: (path: string) => boolean;
23
- /** Fired when a watched file changes (after debounce). */
24
- onChange: (changedPaths: string[]) => void | Promise<void>;
25
- /** Project roots to watch, resolved to absolute paths. */
26
- paths: string[];
27
- }
28
- /**
29
- * The set of workspace-relative paths that a run actually read, plus
30
- * the minimal set of directories that contain them. Used by
31
- * tracked-access watch mode to only re-trigger runs when a file the
32
- * previous run actually consumed changes — drops noise from unrelated
33
- * edits under the project roots.
34
- *
35
- * `files` stays workspace-relative because `node:fs.watch` emits
36
- * paths relative to the watched root.
37
- */
38
- export interface TrackedWatchTargets {
39
- directories: string[];
40
- files: Set<string>;
41
- }
42
- /**
43
- * Extracts the set of files every task in `results` reported as an
44
- * input. Returns empty sets when no task carries hash details — the
45
- * caller falls back to watching project roots in that case.
46
- *
47
- * Directories are deduplicated and pruned so a parent dir shadows its
48
- * descendants — watching both would double-fire events.
49
- */
50
- export declare const collectTrackedWatchTargets: (results: TaskResults, workspaceRoot: string) => TrackedWatchTargets;
51
- /**
52
- * Translates a set of workspace-relative tracked paths into a filter
53
- * suitable for {@link startWatcher}. The watcher emits paths relative
54
- * to its watched root — which, after pruning, may be any ancestor
55
- * directory — so we match on the **suffix** of the tracked path
56
- * instead of an exact comparison.
57
- */
58
- export declare const createTrackedFileFilter: (trackedFiles: Set<string>, workspaceRoot: string, watchedDirectories: string[]) => ((path: string) => boolean);
59
- /**
60
- * Starts recursive file watchers on the given paths and invokes
61
- * {@link WatchOptions.onChange} after a debounce window.
62
- * @param options Watcher configuration.
63
- * @returns A handle to close all watchers.
64
- */
65
- export declare const startWatcher: (options: WatchOptions) => WatchHandle;