@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.
- package/CHANGELOG.md +1915 -41
- package/LICENSE.md +13554 -6
- package/README.md +264 -32
- package/bin/resolve-binary.mjs +85 -0
- package/bin/vis.mjs +76 -0
- package/dashboard/dist/index.html +152 -0
- package/dist/bin.d.ts +1 -1
- package/dist/bin.js +1 -1004
- package/dist/binx.js +3 -0
- package/dist/config/index.d.ts +3276 -0
- package/dist/config/index.js +1 -0
- package/dist/generate/index.d.ts +155 -30
- package/dist/generate/index.js +1 -1
- package/dist/packem_chunks/CONFIG_FILES.js +8 -0
- package/dist/packem_chunks/DEFAULT_CLEAN_KEEP.js +1 -0
- package/dist/packem_chunks/agent-instructions.js +11 -0
- package/dist/packem_chunks/bloom-status.js +2 -0
- package/dist/packem_chunks/bloom-sync.js +2 -0
- package/dist/packem_chunks/cache-attestation.js +1 -0
- package/dist/packem_chunks/catalog-detector.js +1 -0
- package/dist/packem_chunks/catalog.js +114 -0
- package/dist/packem_chunks/cli-exec.js +1 -0
- package/dist/packem_chunks/cli-main.js +268 -0
- package/dist/packem_chunks/defineReleasePlugin.js +3 -0
- package/dist/packem_chunks/detect.js +3 -0
- package/dist/packem_chunks/detect2.js +8 -0
- package/dist/packem_chunks/devtools.js +4 -0
- package/dist/packem_chunks/discord.js +4 -0
- package/dist/packem_chunks/dispatch.js +4 -0
- package/dist/packem_chunks/doctor-probe.js +2 -0
- package/dist/packem_chunks/dynamic-import.js +1 -0
- package/dist/packem_chunks/extra-files.js +3 -0
- package/dist/packem_chunks/fix.js +11 -0
- package/dist/packem_chunks/git.js +3 -0
- package/dist/packem_chunks/group-tags.js +1 -0
- package/dist/packem_chunks/handler.js +1 -0
- package/dist/packem_chunks/handler10.js +5 -0
- package/dist/packem_chunks/handler11.js +1 -0
- package/dist/packem_chunks/handler12.js +27 -0
- package/dist/packem_chunks/handler13.js +5 -0
- package/dist/packem_chunks/handler14.js +1 -0
- package/dist/packem_chunks/handler15.js +1 -0
- package/dist/packem_chunks/handler16.js +1 -0
- package/dist/packem_chunks/handler17.js +1 -0
- package/dist/packem_chunks/handler18.js +1 -0
- package/dist/packem_chunks/handler19.js +5 -0
- package/dist/packem_chunks/handler2.js +1 -0
- package/dist/packem_chunks/handler20.js +2 -0
- package/dist/packem_chunks/handler21.js +2 -0
- package/dist/packem_chunks/handler22.js +14 -0
- package/dist/packem_chunks/handler23.js +1 -0
- package/dist/packem_chunks/handler24.js +1 -0
- package/dist/packem_chunks/handler25.js +1 -0
- package/dist/packem_chunks/handler26.js +5 -0
- package/dist/packem_chunks/handler27.js +1 -0
- package/dist/packem_chunks/handler28.js +3 -0
- package/dist/packem_chunks/handler29.js +1 -0
- package/dist/packem_chunks/handler3.js +4 -0
- package/dist/packem_chunks/handler30.js +1 -0
- package/dist/packem_chunks/handler31.js +2 -0
- package/dist/packem_chunks/handler32.js +2 -0
- package/dist/packem_chunks/handler33.js +2 -0
- package/dist/packem_chunks/handler34.js +3 -0
- package/dist/packem_chunks/handler35.js +6 -0
- package/dist/packem_chunks/handler36.js +1 -0
- package/dist/packem_chunks/handler37.js +42 -0
- package/dist/packem_chunks/handler38.js +8 -0
- package/dist/packem_chunks/handler39.js +9 -0
- package/dist/packem_chunks/handler4.js +4 -0
- package/dist/packem_chunks/handler40.js +75 -0
- package/dist/packem_chunks/handler41.js +5 -0
- package/dist/packem_chunks/handler42.js +4 -0
- package/dist/packem_chunks/handler43.js +3 -0
- package/dist/packem_chunks/handler44.js +2 -0
- package/dist/packem_chunks/handler45.js +1 -0
- package/dist/packem_chunks/handler46.js +1 -0
- package/dist/packem_chunks/handler47.js +1 -0
- package/dist/packem_chunks/handler48.js +3 -0
- package/dist/packem_chunks/handler49.js +1 -0
- package/dist/packem_chunks/handler5.js +6 -0
- package/dist/packem_chunks/handler50.js +7 -0
- package/dist/packem_chunks/handler51.js +33 -0
- package/dist/packem_chunks/handler52.js +3 -0
- package/dist/packem_chunks/handler53.js +8 -0
- package/dist/packem_chunks/handler54.js +4 -0
- package/dist/packem_chunks/handler55.js +1 -0
- package/dist/packem_chunks/handler56.js +12 -0
- package/dist/packem_chunks/handler57.js +11 -0
- package/dist/packem_chunks/handler58.js +5 -0
- package/dist/packem_chunks/handler59.js +11 -0
- package/dist/packem_chunks/handler6.js +8 -0
- package/dist/packem_chunks/handler60.js +3 -0
- package/dist/packem_chunks/handler61.js +22 -0
- package/dist/packem_chunks/handler62.js +61 -0
- package/dist/packem_chunks/handler63.js +3 -0
- package/dist/packem_chunks/handler64.js +6 -0
- package/dist/packem_chunks/handler65.js +9 -0
- package/dist/packem_chunks/handler66.js +2 -0
- package/dist/packem_chunks/handler67.js +24 -0
- package/dist/packem_chunks/handler68.js +25 -0
- package/dist/packem_chunks/handler69.js +153 -0
- package/dist/packem_chunks/handler7.js +1 -0
- package/dist/packem_chunks/handler70.js +10 -0
- package/dist/packem_chunks/handler71.js +23 -0
- package/dist/packem_chunks/handler72.js +322 -0
- package/dist/packem_chunks/handler73.js +708 -0
- package/dist/packem_chunks/handler74.js +48 -0
- package/dist/packem_chunks/handler75.js +27 -0
- package/dist/packem_chunks/handler76.js +3 -0
- package/dist/packem_chunks/handler77.js +190 -0
- package/dist/packem_chunks/handler78.js +38 -0
- package/dist/packem_chunks/handler8.js +1 -0
- package/dist/packem_chunks/handler9.js +1 -0
- package/dist/packem_chunks/heal-accept.js +10 -0
- package/dist/packem_chunks/heal.js +14 -0
- package/dist/packem_chunks/help-command.js +31 -0
- package/dist/packem_chunks/index.js +1 -7
- package/dist/packem_chunks/index2.js +802 -0
- package/dist/packem_chunks/index3.js +7 -0
- package/dist/packem_chunks/index4.js +135 -0
- package/dist/packem_chunks/index5.js +74 -0
- package/dist/packem_chunks/interface.js +2 -0
- package/dist/packem_chunks/keys-refresh.js +4 -0
- package/dist/packem_chunks/lean.js +4 -0
- package/dist/packem_chunks/list.js +3 -0
- package/dist/packem_chunks/loader.js +4 -1
- package/dist/packem_chunks/loader2.js +1 -0
- package/dist/packem_chunks/orchestrator.js +42 -0
- package/dist/packem_chunks/pre-mode.js +2 -0
- package/dist/packem_chunks/print-config.js +2 -0
- package/dist/packem_chunks/prompts.js +7 -0
- package/dist/packem_chunks/prune.js +3 -0
- package/dist/packem_chunks/publish-guards.js +1 -0
- package/dist/packem_chunks/registry.js +48 -0
- package/dist/packem_chunks/resolveFormatter.js +9 -0
- package/dist/packem_chunks/run.js +1 -0
- package/dist/packem_chunks/security.js +1 -0
- package/dist/packem_chunks/shell-runner.js +1 -0
- package/dist/packem_chunks/slack.js +2 -0
- package/dist/packem_chunks/snapshot.js +2 -0
- package/dist/packem_chunks/stage-publisher.js +1 -0
- package/dist/packem_chunks/staged-registry.js +2 -0
- package/dist/packem_chunks/state.js +3 -0
- package/dist/packem_chunks/status.js +2 -0
- package/dist/packem_chunks/success-walk.js +8 -0
- package/dist/packem_chunks/sync.js +2 -0
- package/dist/packem_chunks/sync2.js +2 -0
- package/dist/packem_chunks/tar.js +3 -0
- package/dist/packem_chunks/tripwire.js +2 -0
- package/dist/packem_chunks/ts-loader.js +22 -0
- package/dist/packem_chunks/verify-lockfile.js +2 -0
- package/dist/packem_chunks/version-resolver.js +2 -0
- package/dist/packem_chunks/webhook.js +1 -0
- package/dist/packem_chunks/workflow-templates.js +167 -0
- package/dist/packem_chunks/workspace.js +2 -0
- package/dist/packem_shared/AfterAllProjectsVersioned-CAKI2nWf.js +1 -0
- package/dist/packem_shared/MultiSpinner-B9U0-aE3-B-gIXhFk.js +3 -0
- package/dist/packem_shared/ReleaseClient-BY4OZNCK.js +1 -0
- package/dist/packem_shared/Table-CcVkyULl-DLWu6XHL.js +34 -0
- package/dist/packem_shared/VisReleaseError-DMGRBTNO.js +1 -0
- package/dist/packem_shared/_commonjsHelpers-B5Y90VFO.js +1 -0
- package/dist/packem_shared/advisories-B76fBVL-.js +1 -0
- package/dist/packem_shared/affected-shas-CCxG4tvm.js +1 -0
- package/dist/packem_shared/ai-analysis-BpVdn20h.js +68 -0
- package/dist/packem_shared/ai-fix-CeGzAT9m.js +43 -0
- package/dist/packem_shared/anolilab-text-CAM_E6uK.js +13 -0
- package/dist/packem_shared/api.d-BPftyU9r.d.ts +27 -0
- package/dist/packem_shared/augment-DaSS2Lgs.js +4 -0
- package/dist/packem_shared/bin-BlGVEhl8.js +1 -0
- package/dist/packem_shared/build-scripts-q__dKE2y.js +1 -0
- package/dist/packem_shared/command-runtime-3FTGuUsK.js +1 -0
- package/dist/packem_shared/compile-cache-B_Vf_WxT.js +3 -0
- package/dist/packem_shared/createAdapter-bU4DIP3F.js +1 -0
- package/dist/packem_shared/createVersionActions-BK43SNDH.js +1 -0
- package/dist/packem_shared/cyclonedx-CmrYQ0vx.js +4 -0
- package/dist/packem_shared/defineFormatter-D5dCp6Kv.js +1 -0
- package/dist/packem_shared/definePlugin-DoUcoYSy.js +1 -0
- package/dist/packem_shared/dependency-scan-DpOFiZuI.js +1 -0
- package/dist/packem_shared/docker-BYqiD711.js +59 -0
- package/dist/packem_shared/env-DdQRnEIy.js +27 -0
- package/dist/packem_shared/failure-log-CKMhqLWr.js +2 -0
- package/dist/packem_shared/giget-DVTFJlbR.js +2 -0
- package/dist/packem_shared/glob-fqg4KepW-1S3z30c8.js +1 -0
- package/dist/packem_shared/index-B0EsgdzO.js +1 -0
- package/dist/packem_shared/index-CE6MsgcV.js +22 -0
- package/dist/packem_shared/index-Cg0IHaFI.js +1 -0
- package/dist/packem_shared/index-Cg71MisW.js +1 -0
- package/dist/packem_shared/index-DjTWo3sH.js +1 -0
- package/dist/packem_shared/index-jJNulo5i.js +28 -0
- package/dist/packem_shared/index.server-J83sowC4.js +2 -0
- package/dist/packem_shared/interface.d-B7VK2rcH.d.ts +148 -0
- package/dist/packem_shared/interface.d-Cezzifoh.d.ts +106 -0
- package/dist/packem_shared/license-t5KnNX6v.js +1 -0
- package/dist/packem_shared/lifecycle-aDTZ8dW1.js +2 -0
- package/dist/packem_shared/lockfile-C1qCKGH6.js +1 -0
- package/dist/packem_shared/main-B3juSU5z.js +1 -0
- package/dist/packem_shared/manifests-DSBr3-dw.js +1 -0
- package/dist/packem_shared/min-release-age-C71MO72F.js +34 -0
- package/dist/packem_shared/missing-package-json-CTF71tE5.js +1 -0
- package/dist/packem_shared/native-config-sync-D-z2Uwqu.js +21 -0
- package/dist/packem_shared/osv-bloom-DMhXP184.js +2 -0
- package/dist/packem_shared/otelPlugin-DmKDBaPo.js +1 -0
- package/dist/packem_shared/packument-aGzYwXKn.js +1 -0
- package/dist/packem_shared/peer-warnings-BXAzXqY3.js +1 -0
- package/dist/packem_shared/plugins.d-ND23R9I3.d.ts +4 -0
- package/dist/packem_shared/pm-runner-CQcraCcu.js +1 -0
- package/dist/packem_shared/prompt-DjXHVgYU.js +1 -0
- package/dist/packem_shared/provenance-S7y0BRAt.js +1 -0
- package/dist/packem_shared/public-api-WqUCiyIe.js +131 -0
- package/dist/packem_shared/readJsonSync-DuMMeB3s-ihoybKvs.js +1 -0
- package/dist/packem_shared/registry-keys-CRnXATt2.js +1 -0
- package/dist/packem_shared/resolve-explicit-CJGazevw.js +5 -0
- package/dist/packem_shared/resolve-runtime-QRaQucfL.js +1 -0
- package/dist/packem_shared/run-file-DD7Ne23Z.js +1 -0
- package/dist/packem_shared/runtime-check-qnrPTlma.js +1 -0
- package/dist/packem_shared/runtime-process-Dmz0vCJy-DUwTvH1J.js +1 -0
- package/dist/packem_shared/s1ngularity-BLj4Jy8z.js +1 -0
- package/dist/packem_shared/scan-progress-BDcl7Kty.js +2 -0
- package/dist/packem_shared/selectors-D4iCvITE.js +3 -0
- package/dist/packem_shared/signatures-DoNG2hEr.js +2 -0
- package/dist/packem_shared/slug-DoueYuLo.js +1 -0
- package/dist/packem_shared/spinner-DuJJvFTl.js +1 -0
- package/dist/packem_shared/sticky-comment-D6_7-w8T.js +1 -0
- package/dist/packem_shared/subtree-C7bZuiSQ.js +2 -0
- package/dist/packem_shared/symbols-DPTlrJ3B.js +1 -0
- package/dist/packem_shared/tabs-CgxCvjCY.js +1 -0
- package/dist/packem_shared/target-merge-Dg25Izl5.js +11 -0
- package/dist/packem_shared/target-options-CR0OuYJr.js +1 -0
- package/dist/packem_shared/toolchain-Zb3VzZb4.js +5 -0
- package/dist/packem_shared/typosquats-C12CP_2G.js +1 -0
- package/dist/packem_shared/use-measured-height-CjS7Tks7.js +1 -0
- package/dist/packem_shared/utils-CRueU43T.js +1 -0
- package/dist/packem_shared/verify-DStfg3nb.js +1 -0
- package/dist/packem_shared/vis-update-app-BlocL713.js +1 -0
- package/dist/packem_shared/watch-BXNI7dC6.js +1 -0
- package/dist/packem_shared/watch-loop-BZudYfcl.js +11 -0
- package/dist/release/core/changelog/index.d.ts +5 -0
- package/dist/release/core/changelog/index.js +1 -0
- package/dist/release/core/package-managers/index.d.ts +6 -0
- package/dist/release/core/package-managers/index.js +1 -0
- package/dist/release/core/version-actions/index.d.ts +14 -0
- package/dist/release/core/version-actions/index.js +1 -0
- package/dist/release/index.d.ts +233 -0
- package/dist/release/index.js +1 -0
- package/dist/release/plugin-sdk.d.ts +128 -0
- package/dist/release/plugin-sdk.js +1 -0
- package/dist/release/presets.d.ts +225 -0
- package/dist/release/presets.js +1 -0
- package/dist/release/types.d.ts +1493 -0
- package/dist/release/types.js +1 -0
- package/dist/runtime/preload.d.ts +1 -0
- package/dist/runtime/preload.js +1 -0
- package/index.d.ts +450 -0
- package/index.js +579 -728
- package/package.json +103 -52
- package/schemas/project.schema.json +873 -226
- package/schemas/vis-config.schema.json +6332 -241
- package/schemas/vis-release-config.schema.json +1423 -0
- package/skills/vis/SKILL.md +96 -0
- package/templates/buildkite-ci/.buildkite/pipeline.yml.tera +85 -0
- package/templates/buildkite-ci/template.yml +20 -0
- package/dist/ai-analysis.d.ts +0 -26
- package/dist/ai-cache.d.ts +0 -21
- package/dist/ai-types.d.ts +0 -16
- package/dist/audit-config.d.ts +0 -24
- package/dist/cache-directory.d.ts +0 -73
- package/dist/catalog.d.ts +0 -136
- package/dist/codeowners.d.ts +0 -30
- package/dist/commands/action-graph.d.ts +0 -8
- package/dist/commands/add.d.ts +0 -3
- package/dist/commands/affected.d.ts +0 -3
- package/dist/commands/ai.d.ts +0 -3
- package/dist/commands/analyze.d.ts +0 -3
- package/dist/commands/approve-builds.d.ts +0 -3
- package/dist/commands/audit.d.ts +0 -23
- package/dist/commands/cache.d.ts +0 -86
- package/dist/commands/check.d.ts +0 -3
- package/dist/commands/ci.d.ts +0 -19
- package/dist/commands/clean.d.ts +0 -3
- package/dist/commands/create/discovery.d.ts +0 -42
- package/dist/commands/create/index.d.ts +0 -13
- package/dist/commands/create/prompts.d.ts +0 -31
- package/dist/commands/create/random-name.d.ts +0 -15
- package/dist/commands/create/templates/builtin.d.ts +0 -15
- package/dist/commands/create/templates/generator.d.ts +0 -14
- package/dist/commands/create/templates/index.d.ts +0 -13
- package/dist/commands/create/templates/monorepo.d.ts +0 -16
- package/dist/commands/create/templates/remote.d.ts +0 -41
- package/dist/commands/create/templates/types.d.ts +0 -46
- package/dist/commands/create/utils.d.ts +0 -42
- package/dist/commands/dedupe.d.ts +0 -3
- package/dist/commands/devcontainer.d.ts +0 -3
- package/dist/commands/dlx.d.ts +0 -3
- package/dist/commands/docker.d.ts +0 -22
- package/dist/commands/doctor.d.ts +0 -15
- package/dist/commands/exec.d.ts +0 -3
- package/dist/commands/generate.d.ts +0 -10
- package/dist/commands/graph.d.ts +0 -3
- package/dist/commands/hook/constants.d.ts +0 -13
- package/dist/commands/hook/index.d.ts +0 -3
- package/dist/commands/hook/install.d.ts +0 -7
- package/dist/commands/hook/list.d.ts +0 -28
- package/dist/commands/hook/migrate.d.ts +0 -30
- package/dist/commands/hook/prek-builtins.d.ts +0 -8
- package/dist/commands/hook/prek.d.ts +0 -129
- package/dist/commands/hook/run.d.ts +0 -21
- package/dist/commands/hook/uninstall.d.ts +0 -3
- package/dist/commands/hook/validate.d.ts +0 -17
- package/dist/commands/ignore-helpers.d.ts +0 -157
- package/dist/commands/ignore.d.ts +0 -17
- package/dist/commands/implode.d.ts +0 -3
- package/dist/commands/info.d.ts +0 -3
- package/dist/commands/init.d.ts +0 -14
- package/dist/commands/install.d.ts +0 -3
- package/dist/commands/link.d.ts +0 -3
- package/dist/commands/list.d.ts +0 -3
- package/dist/commands/migrate/backup.d.ts +0 -8
- package/dist/commands/migrate/constants.d.ts +0 -16
- package/dist/commands/migrate/deps.d.ts +0 -32
- package/dist/commands/migrate/gitleaks.d.ts +0 -29
- package/dist/commands/migrate/index.d.ts +0 -3
- package/dist/commands/migrate/json.d.ts +0 -22
- package/dist/commands/migrate/kingfisher.d.ts +0 -14
- package/dist/commands/migrate/lint-staged.d.ts +0 -62
- package/dist/commands/migrate/moon.d.ts +0 -5
- package/dist/commands/migrate/nano-staged.d.ts +0 -30
- package/dist/commands/migrate/nx.d.ts +0 -12
- package/dist/commands/migrate/prompt.d.ts +0 -2
- package/dist/commands/migrate/secretlint.d.ts +0 -14
- package/dist/commands/migrate/shared.d.ts +0 -29
- package/dist/commands/migrate/turborepo.d.ts +0 -11
- package/dist/commands/migrate/types.d.ts +0 -27
- package/dist/commands/migrate/verify.d.ts +0 -12
- package/dist/commands/optimize.d.ts +0 -38
- package/dist/commands/pm.d.ts +0 -3
- package/dist/commands/remove.d.ts +0 -3
- package/dist/commands/run.d.ts +0 -16
- package/dist/commands/sbom.d.ts +0 -10
- package/dist/commands/secrets.d.ts +0 -3
- package/dist/commands/sort-package-json.d.ts +0 -3
- package/dist/commands/staged.d.ts +0 -10
- package/dist/commands/status.d.ts +0 -3
- package/dist/commands/sync.d.ts +0 -16
- package/dist/commands/task-why.d.ts +0 -3
- package/dist/commands/unlink.d.ts +0 -3
- package/dist/commands/update.d.ts +0 -3
- package/dist/commands/upgrade.d.ts +0 -3
- package/dist/commands/why.d.ts +0 -3
- package/dist/config.d.ts +0 -82
- package/dist/config.js +0 -1
- package/dist/docker.d.ts +0 -73
- package/dist/flakiness.d.ts +0 -40
- package/dist/generate/discover.d.ts +0 -29
- package/dist/generate/loader.d.ts +0 -15
- package/dist/generate/moon-adapter/filename-interp.d.ts +0 -42
- package/dist/generate/moon-adapter/filters.d.ts +0 -22
- package/dist/generate/moon-adapter/frontmatter.d.ts +0 -39
- package/dist/generate/moon-adapter/index.d.ts +0 -19
- package/dist/generate/moon-adapter/tera-subset.d.ts +0 -85
- package/dist/generate/moon-adapter/util.d.ts +0 -14
- package/dist/generate/prompts.d.ts +0 -25
- package/dist/generate/remote.d.ts +0 -43
- package/dist/generate/runner.d.ts +0 -37
- package/dist/generate/types.d.ts +0 -152
- package/dist/hooks.d.ts +0 -118
- package/dist/native-binding.d.ts +0 -158
- package/dist/output.d.ts +0 -40
- package/dist/overrides.d.ts +0 -82
- package/dist/package-manager.d.ts +0 -23
- package/dist/packem_shared/otelPlugin-CJLkguJ8.js +0 -1
- package/dist/plugins/config-loader.d.ts +0 -3
- package/dist/plugins/otel.d.ts +0 -63
- package/dist/plugins/post-command.d.ts +0 -3
- package/dist/plugins/security-enforcement.d.ts +0 -3
- package/dist/pm-runner.d.ts +0 -44
- package/dist/run-report.d.ts +0 -40
- package/dist/runtime-check.d.ts +0 -27
- package/dist/sbom/cyclonedx.d.ts +0 -39
- package/dist/sbom/installed-package.d.ts +0 -49
- package/dist/sbom/license.d.ts +0 -31
- package/dist/sbom/lockfile.d.ts +0 -34
- package/dist/sbom/purl.d.ts +0 -25
- package/dist/sbom/resolve-specifier.d.ts +0 -24
- package/dist/sbom/types.d.ts +0 -196
- package/dist/secrets/baseline.d.ts +0 -20
- package/dist/secrets/format.d.ts +0 -14
- package/dist/secrets/git.d.ts +0 -6
- package/dist/secrets/spinner.d.ts +0 -9
- package/dist/security.d.ts +0 -64
- package/dist/selectors.d.ts +0 -81
- package/dist/shell-history.d.ts +0 -16
- package/dist/socket-security.d.ts +0 -129
- package/dist/staged/cli-parse.d.ts +0 -18
- package/dist/staged/config.d.ts +0 -14
- package/dist/staged/errors/apply-empty-commit-error.d.ts +0 -4
- package/dist/staged/errors/config-error.d.ts +0 -4
- package/dist/staged/errors/get-backup-stash-error.d.ts +0 -4
- package/dist/staged/errors/git-error.d.ts +0 -6
- package/dist/staged/errors/index.d.ts +0 -12
- package/dist/staged/errors/restore-original-state-error.d.ts +0 -4
- package/dist/staged/errors/staged-error.d.ts +0 -8
- package/dist/staged/errors/task-error.d.ts +0 -6
- package/dist/staged/git/diff.d.ts +0 -76
- package/dist/staged/git/exec.d.ts +0 -43
- package/dist/staged/git/index.d.ts +0 -77
- package/dist/staged/git/stash.d.ts +0 -37
- package/dist/staged/index.d.ts +0 -13
- package/dist/staged/match.d.ts +0 -12
- package/dist/staged/renderer/index.d.ts +0 -9
- package/dist/staged/renderer/ink/index.d.ts +0 -4
- package/dist/staged/renderer/plain.d.ts +0 -12
- package/dist/staged/tasks/build.d.ts +0 -13
- package/dist/staged/tasks/exec.d.ts +0 -56
- package/dist/staged/tasks/run.d.ts +0 -26
- package/dist/staged/types.d.ts +0 -173
- package/dist/target-discovery.d.ts +0 -59
- package/dist/target-options.d.ts +0 -261
- package/dist/tips.d.ts +0 -41
- package/dist/tui/components/CheckProgressApp.d.ts +0 -6
- package/dist/tui/components/CommandSummary.d.ts +0 -17
- package/dist/tui/components/Header.d.ts +0 -13
- package/dist/tui/components/OutputPanel.d.ts +0 -17
- package/dist/tui/components/QuitDialog.d.ts +0 -15
- package/dist/tui/components/TaskListPanel.d.ts +0 -19
- package/dist/tui/components/TaskRow.d.ts +0 -12
- package/dist/tui/components/TaskStore.d.ts +0 -80
- package/dist/tui/components/VisTaskRunnerApp.d.ts +0 -17
- package/dist/tui/components/devcontainer/DevcontainerStore.d.ts +0 -66
- package/dist/tui/components/devcontainer/VisDevcontainerApp.d.ts +0 -9
- package/dist/tui/components/devcontainer/catalogs/extensions.d.ts +0 -8
- package/dist/tui/components/devcontainer/catalogs/features.d.ts +0 -8
- package/dist/tui/components/devcontainer/catalogs/filters.d.ts +0 -4
- package/dist/tui/components/devcontainer/catalogs/mount-suggestions.d.ts +0 -19
- package/dist/tui/components/devcontainer/catalogs/templates.d.ts +0 -8
- package/dist/tui/components/devcontainer/devcontainer-io.d.ts +0 -14
- package/dist/tui/components/devcontainer/sections/DockerComposeSection.d.ts +0 -11
- package/dist/tui/components/devcontainer/sections/EnvironmentSection.d.ts +0 -16
- package/dist/tui/components/devcontainer/sections/ExtensionsSection.d.ts +0 -11
- package/dist/tui/components/devcontainer/sections/FeaturesSection.d.ts +0 -11
- package/dist/tui/components/devcontainer/sections/GeneralSection.d.ts +0 -12
- package/dist/tui/components/devcontainer/sections/LifecycleSection.d.ts +0 -13
- package/dist/tui/components/devcontainer/sections/MountsSection.d.ts +0 -16
- package/dist/tui/components/devcontainer/sections/PortsSection.d.ts +0 -10
- package/dist/tui/components/devcontainer/sections/PreviewPanel.d.ts +0 -11
- package/dist/tui/components/devcontainer/types.d.ts +0 -53
- package/dist/tui/components/devcontainer/validate.d.ts +0 -16
- package/dist/tui/components/graph/GraphStore.d.ts +0 -42
- package/dist/tui/components/graph/ProjectDetailPanel.d.ts +0 -10
- package/dist/tui/components/graph/ProjectListPanel.d.ts +0 -20
- package/dist/tui/components/graph/VisGraphApp.d.ts +0 -8
- package/dist/tui/components/optimize/OptimizeDetailPanel.d.ts +0 -9
- package/dist/tui/components/optimize/OptimizeListPanel.d.ts +0 -16
- package/dist/tui/components/optimize/OptimizeStore.d.ts +0 -50
- package/dist/tui/components/optimize/VisOptimizeApp.d.ts +0 -8
- package/dist/tui/components/optimize/constants.d.ts +0 -7
- package/dist/tui/components/update/PackageDetailPanel.d.ts +0 -12
- package/dist/tui/components/update/PackageListPanel.d.ts +0 -21
- package/dist/tui/components/update/UpdateStore.d.ts +0 -62
- package/dist/tui/components/update/VisUpdateApp.d.ts +0 -18
- package/dist/tui/dynamic-life-cycle.d.ts +0 -22
- package/dist/tui/formatting-utils.d.ts +0 -17
- package/dist/tui/pretty-time.d.ts +0 -8
- package/dist/tui/static-life-cycle.d.ts +0 -28
- package/dist/tui/status-utils.d.ts +0 -20
- package/dist/tui/symbols.d.ts +0 -7
- package/dist/tui/types.d.ts +0 -11
- package/dist/typosquats.d.ts +0 -70
- package/dist/upgrade-check.d.ts +0 -30
- package/dist/utils.d.ts +0 -22
- package/dist/watch.d.ts +0 -65
- package/dist/workspace.d.ts +0 -675
package/dist/target-options.d.ts
DELETED
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import type { TargetConfiguration } from "@visulima/task-runner";
|
|
2
|
-
/**
|
|
3
|
-
* Semantic classification for a target.
|
|
4
|
-
* - `build`: Generates one or more artifacts; cached by default.
|
|
5
|
-
* - `test`: Validation task (lint, typecheck, unit test). Default type.
|
|
6
|
-
* - `run`: One-off or long-running process. Not cached by default.
|
|
7
|
-
*/
|
|
8
|
-
export type TargetType = "build" | "run" | "test";
|
|
9
|
-
/**
|
|
10
|
-
* Preset bundles of target options.
|
|
11
|
-
* - `server`: Long-running local dev server — caching off, not in CI,
|
|
12
|
-
* interactive, persistent.
|
|
13
|
-
* - `utility`: Short-lived helper — caching off, not in CI.
|
|
14
|
-
*/
|
|
15
|
-
export type TargetPreset = "server" | "utility";
|
|
16
|
-
/**
|
|
17
|
-
* Controls whether a target runs in CI.
|
|
18
|
-
* - `true` (default): Always run.
|
|
19
|
-
* - `false`: Never run in CI (local-only).
|
|
20
|
-
* - `"affected"`: Only when the project is affected by the current change set.
|
|
21
|
-
* - `"always"`: Always run, even if unaffected.
|
|
22
|
-
*/
|
|
23
|
-
export type RunInCI = "affected" | "always" | boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Controls how affected files are forwarded to a task.
|
|
26
|
-
* - `false` (default): Do not forward.
|
|
27
|
-
* - `"args"`: Append affected paths as additional command arguments.
|
|
28
|
-
* - `"env"`: Expose them via `VIS_AFFECTED_FILES` environment variable.
|
|
29
|
-
* - `"both"`: Both of the above.
|
|
30
|
-
*/
|
|
31
|
-
export type AffectedFilesMode = "args" | "both" | "env" | false;
|
|
32
|
-
/** Supported OS filters for target execution. */
|
|
33
|
-
export type TargetOsType = "linux" | "macos" | "windows";
|
|
34
|
-
/**
|
|
35
|
-
* Vis-specific target options that extend the task-runner's
|
|
36
|
-
* base `TargetConfiguration`. These live under `target.options` and are
|
|
37
|
-
* interpreted by vis before handing the task off to task-runner.
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Object form of the `when` gate. Matches against process.env or
|
|
41
|
-
* process.platform — deliberately small surface area so conditions
|
|
42
|
-
* stay auditable and declarative.
|
|
43
|
-
*/
|
|
44
|
-
export interface TargetConditionObject {
|
|
45
|
-
/** Env var name to compare against `equals` or `in`. */
|
|
46
|
-
env?: string;
|
|
47
|
-
/** Value that `env` must match exactly. */
|
|
48
|
-
equals?: string;
|
|
49
|
-
/** Any value in this list matches. Ignored when `equals` is set. */
|
|
50
|
-
in?: string[];
|
|
51
|
-
/** Run only on this platform (or one of these). */
|
|
52
|
-
platform?: NodeJS.Platform | NodeJS.Platform[];
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Evaluates a `when` condition against the current process state.
|
|
56
|
-
* Returns `true` when the task should run, `false` when it should be
|
|
57
|
-
* skipped. Unknown shapes default to `true` — we'd rather over-run
|
|
58
|
-
* than silently hide tasks on malformed config.
|
|
59
|
-
*/
|
|
60
|
-
export declare const evaluateWhen: (when: TargetConditionObject | string | undefined, environment?: Record<string, string | undefined>, platform?: NodeJS.Platform) => boolean;
|
|
61
|
-
export interface VisTargetOptions {
|
|
62
|
-
/**
|
|
63
|
-
* How to forward affected files to the task process.
|
|
64
|
-
* Only used when invoked via `vis affected <target>`.
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
|
-
affectedFiles?: AffectedFilesMode;
|
|
68
|
-
/**
|
|
69
|
-
* Load environment variables from dotenv file(s) before running.
|
|
70
|
-
* - `string`: a single file path (relative to project root).
|
|
71
|
-
* - `string[]`: multiple files — later entries override earlier ones,
|
|
72
|
-
* so put more-specific files last (e.g. `[".env", ".env.local"]`).
|
|
73
|
-
* - `true`: auto-cascade in the Next/Vite order:
|
|
74
|
-
* `.env` → `.env.{NODE_ENV}` → `.env.local` → `.env.{NODE_ENV}.local`.
|
|
75
|
-
* Skips `.env.local` when NODE_ENV is `test`, matching Next.js.
|
|
76
|
-
*/
|
|
77
|
-
envFile?: boolean | string | string[];
|
|
78
|
-
/**
|
|
79
|
-
* When true, the task is serialized with respect to parallel execution
|
|
80
|
-
* and must be run on the main process (claims stdin). Used for commands
|
|
81
|
-
* that read from the terminal.
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
interactive?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* When true, the task is hidden from CLI listings and can only be invoked
|
|
87
|
-
* as a dependency of another task.
|
|
88
|
-
* @default false
|
|
89
|
-
*/
|
|
90
|
-
internal?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Serializes all tasks that share the same mutex name. Useful for tasks
|
|
93
|
-
* that contend on a shared resource (e.g., a database migration).
|
|
94
|
-
*/
|
|
95
|
-
mutex?: string;
|
|
96
|
-
/**
|
|
97
|
-
* Restricts execution to specific operating systems. Tasks run on
|
|
98
|
-
* unmatched platforms are skipped with a warning.
|
|
99
|
-
*/
|
|
100
|
-
osType?: TargetOsType | TargetOsType[];
|
|
101
|
-
/**
|
|
102
|
-
* When true, the task is a long-running / never-ending process.
|
|
103
|
-
* Persistent tasks are scheduled last, execute after all cacheable
|
|
104
|
-
* tasks complete, and are never cached.
|
|
105
|
-
* @default false
|
|
106
|
-
*/
|
|
107
|
-
persistent?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* A preset that pre-fills a common bundle of options.
|
|
110
|
-
* User-provided fields always take precedence over the preset.
|
|
111
|
-
*/
|
|
112
|
-
preset?: TargetPreset;
|
|
113
|
-
/**
|
|
114
|
-
* Run the task through a pseudo-terminal so color-aware tools
|
|
115
|
-
* (vitest, eslint, biome, …) render as if attached to a real TTY
|
|
116
|
-
* instead of a pipe. Output is captured via task-runner's
|
|
117
|
-
* `TerminalBuffer` so ANSI escapes are normalized into the final
|
|
118
|
-
* rendered state before reaching the reporter.
|
|
119
|
-
*
|
|
120
|
-
* Forces cache to off — PTY output can include timing-dependent
|
|
121
|
-
* frames (spinners) that aren't safe to replay from a cache.
|
|
122
|
-
* @default false
|
|
123
|
-
*/
|
|
124
|
-
pty?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Number of times to retry the task on failure. Uses an exponential
|
|
127
|
-
* backoff by default (1s, 2s, 4s, ...).
|
|
128
|
-
* @default 0
|
|
129
|
-
*/
|
|
130
|
-
retryCount?: number;
|
|
131
|
-
/**
|
|
132
|
-
* Delay between retry attempts in milliseconds, or `"exponential"`
|
|
133
|
-
* for 2^attempt * 1000 ms.
|
|
134
|
-
* @default "exponential"
|
|
135
|
-
*/
|
|
136
|
-
retryDelay?: number | "exponential";
|
|
137
|
-
/**
|
|
138
|
-
* When true, the command executes with the workspace root as CWD
|
|
139
|
-
* instead of the project root.
|
|
140
|
-
* @default false
|
|
141
|
-
*/
|
|
142
|
-
runFromWorkspaceRoot?: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* Controls whether the task runs in CI environments.
|
|
145
|
-
* @default true
|
|
146
|
-
*/
|
|
147
|
-
runInCI?: RunInCI;
|
|
148
|
-
/**
|
|
149
|
-
* Per-target shell override. When set, the command runs through this
|
|
150
|
-
* shell instead of the platform default.
|
|
151
|
-
*/
|
|
152
|
-
shell?: string;
|
|
153
|
-
/**
|
|
154
|
-
* Maximum wall-clock milliseconds a single task run is allowed to
|
|
155
|
-
* take before being killed. `0` / `undefined` means no timeout.
|
|
156
|
-
*
|
|
157
|
-
* When the timeout fires the task is sent SIGTERM then SIGKILL
|
|
158
|
-
* (via the concurrent runner's `killSignal`/`killTimeout`
|
|
159
|
-
* semantics) and the task exits with a failure status carrying the
|
|
160
|
-
* `[timeout]` marker in `terminalOutput`. Retries count against
|
|
161
|
-
* this per-attempt, not cumulatively.
|
|
162
|
-
*
|
|
163
|
-
* Use this to prevent runaway tasks from eating CI wall-clock time
|
|
164
|
-
* up to the job-level cutoff.
|
|
165
|
-
*/
|
|
166
|
-
timeout?: number;
|
|
167
|
-
/**
|
|
168
|
-
* Per-target unix shell override, used on Linux and macOS.
|
|
169
|
-
* Takes precedence over `shell` on unix-like systems.
|
|
170
|
-
*/
|
|
171
|
-
unixShell?: string;
|
|
172
|
-
/**
|
|
173
|
-
* Conditional gate: the task is scheduled only when `when` evaluates
|
|
174
|
-
* truthy. Shapes:
|
|
175
|
-
* - `"$VAR"` — run only if the env var is non-empty
|
|
176
|
-
* - `"!VAR"` — run only if the env var is empty/unset
|
|
177
|
-
* - `{ env: "NAME", equals: "value" }` — run only if env equals
|
|
178
|
-
* - `{ env: "NAME", in: ["a", "b"] }` — run only if env is in set
|
|
179
|
-
* - `{ platform: "darwin" | "linux" | "win32" }` — OS gate
|
|
180
|
-
*
|
|
181
|
-
* Kept declarative on purpose — no dynamic code execution. For
|
|
182
|
-
* richer logic, use osType/runInCI or a pre-hook script.
|
|
183
|
-
*/
|
|
184
|
-
when?: TargetConditionObject | string;
|
|
185
|
-
/**
|
|
186
|
-
* Per-target windows shell override, used on Windows.
|
|
187
|
-
* Takes precedence over `shell` on Windows.
|
|
188
|
-
*/
|
|
189
|
-
windowsShell?: string;
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* An extended target configuration that adds the vis-specific options
|
|
193
|
-
* on top of task-runner's `TargetConfiguration`.
|
|
194
|
-
*/
|
|
195
|
-
export interface VisTargetConfiguration extends Omit<TargetConfiguration, "options"> {
|
|
196
|
-
/**
|
|
197
|
-
* Alternate names that resolve to this target on the CLI. Useful
|
|
198
|
-
* for shortening long canonical names (`test` ↔ `t`) or for
|
|
199
|
-
* offering migration-friendly aliases when renaming targets.
|
|
200
|
-
* Aliases must be globally unique within the workspace.
|
|
201
|
-
*/
|
|
202
|
-
aliases?: string[];
|
|
203
|
-
/**
|
|
204
|
-
* One-line description surfaced by `vis list` and (in future)
|
|
205
|
-
* per-task `--help`. Kept short — longer docs belong in project
|
|
206
|
-
* READMEs or vis.config.ts comments.
|
|
207
|
-
*/
|
|
208
|
-
description?: string;
|
|
209
|
-
/** Vis-specific target options. */
|
|
210
|
-
options?: VisTargetOptions;
|
|
211
|
-
/** Preset applied before user-specified options. */
|
|
212
|
-
preset?: TargetPreset;
|
|
213
|
-
/**
|
|
214
|
-
* Semantic task type. Affects caching defaults and CI filtering.
|
|
215
|
-
* @default "test"
|
|
216
|
-
*/
|
|
217
|
-
type?: TargetType;
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Apply preset defaults to a target configuration. Returns a new
|
|
221
|
-
* object — never mutates its input.
|
|
222
|
-
*/
|
|
223
|
-
export declare const applyPreset: (target: VisTargetConfiguration) => VisTargetConfiguration;
|
|
224
|
-
/** Detects the current operating system as a {@link TargetOsType}. */
|
|
225
|
-
export declare const detectCurrentOs: () => TargetOsType;
|
|
226
|
-
/**
|
|
227
|
-
* Returns `true` if the given OS matches the target's `osType` filter.
|
|
228
|
-
* Tasks without an `osType` option always match.
|
|
229
|
-
*/
|
|
230
|
-
export declare const matchesOs: (options: VisTargetOptions | undefined, currentOs?: TargetOsType) => boolean;
|
|
231
|
-
/**
|
|
232
|
-
* Returns `true` if the task should run in the current environment based
|
|
233
|
-
* on its `runInCI` option. `affectedInCi` should indicate whether the
|
|
234
|
-
* project is in the current affected set (only relevant for `"affected"`).
|
|
235
|
-
*/
|
|
236
|
-
export declare const shouldRunInCI: (options: VisTargetOptions | undefined, isCi: boolean, affectedInCi?: boolean) => boolean;
|
|
237
|
-
/**
|
|
238
|
-
* Resolves the `envFile` target option into a merged env map.
|
|
239
|
-
*
|
|
240
|
-
* - `string` → load that single file
|
|
241
|
-
* - `string[]` → load each in order; later entries win on key collision
|
|
242
|
-
* - `true` → load the Next/Vite cascade:
|
|
243
|
-
* `.env` → `.env.{NODE_ENV}` → `.env.local` → `.env.{NODE_ENV}.local`
|
|
244
|
-
* (`.env.local` skipped for NODE_ENV=test, matching Next.js)
|
|
245
|
-
*
|
|
246
|
-
* Silently skips files that don't exist. Returns `{}` when no file in
|
|
247
|
-
* the cascade is present — safe to merge directly into the child env.
|
|
248
|
-
*/
|
|
249
|
-
export declare const loadEnvFile: (projectRoot: string, envFile: boolean | string | string[]) => Record<string, string>;
|
|
250
|
-
/**
|
|
251
|
-
* Pick the effective shell for a target on the current platform.
|
|
252
|
-
* Returns `undefined` if no per-target shell is configured.
|
|
253
|
-
*/
|
|
254
|
-
export declare const resolveTargetShell: (options: VisTargetOptions | undefined, currentOs?: TargetOsType) => string | undefined;
|
|
255
|
-
/**
|
|
256
|
-
* Returns the default `cache` value implied by the target type.
|
|
257
|
-
* - `build`: cached by default.
|
|
258
|
-
* - `run`: never cached.
|
|
259
|
-
* - `test`: cached by default.
|
|
260
|
-
*/
|
|
261
|
-
export declare const defaultCacheForType: (type: TargetType | undefined) => boolean | undefined;
|
package/dist/tips.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI tips system - displays contextual hints after command execution.
|
|
3
|
-
*
|
|
4
|
-
* Features (per vite-plus RFC):
|
|
5
|
-
* - Probabilistic frequency control with per-tip cooldowns
|
|
6
|
-
* - Contextual matching based on command, args, and success state
|
|
7
|
-
* - Rate-limited globally (max 1 tip per 5 minutes)
|
|
8
|
-
* - Per-tip cooldown tracking (each tip has its own cooldown)
|
|
9
|
-
* - Suppressed in CI/test environments
|
|
10
|
-
* - Dimmed styling to avoid being intrusive
|
|
11
|
-
*/
|
|
12
|
-
interface TipContext {
|
|
13
|
-
args: string[];
|
|
14
|
-
command: string;
|
|
15
|
-
hasVisConfig?: boolean;
|
|
16
|
-
success: boolean;
|
|
17
|
-
}
|
|
18
|
-
interface Tip {
|
|
19
|
-
/** Per-tip cooldown in milliseconds. Default: GLOBAL_COOLDOWN_MS */
|
|
20
|
-
cooldownMs?: number;
|
|
21
|
-
/** Unique identifier for per-tip cooldown tracking */
|
|
22
|
-
id: string;
|
|
23
|
-
matches: (context: TipContext) => boolean;
|
|
24
|
-
message: (context: TipContext) => string;
|
|
25
|
-
/** Probability of showing when matched (0.0 - 1.0). Default: 1.0 */
|
|
26
|
-
probability?: number;
|
|
27
|
-
}
|
|
28
|
-
declare const tips: Tip[];
|
|
29
|
-
/**
|
|
30
|
-
* Show a contextual tip if rate-limits allow and a tip matches.
|
|
31
|
-
*
|
|
32
|
-
* Flow:
|
|
33
|
-
* 1. Check environment (skip in CI/test)
|
|
34
|
-
* 2. Check global cooldown (max 1 tip per 5 minutes)
|
|
35
|
-
* 3. Find matching tips, filter by per-tip cooldowns
|
|
36
|
-
* 4. Apply probability filter
|
|
37
|
-
* 5. Show the first surviving tip, update state
|
|
38
|
-
*/
|
|
39
|
-
declare const showTip: (context: TipContext) => void;
|
|
40
|
-
export type { Tip, TipContext };
|
|
41
|
-
export { showTip, tips };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Task } from "@visulima/task-runner";
|
|
2
|
-
interface CommandSummaryProps {
|
|
3
|
-
cached: number;
|
|
4
|
-
failed: number;
|
|
5
|
-
failedIds: string[];
|
|
6
|
-
projectNames: string[];
|
|
7
|
-
skippedIds?: string[];
|
|
8
|
-
succeeded: number;
|
|
9
|
-
targets: string[];
|
|
10
|
-
tasks: Task[];
|
|
11
|
-
took: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Final summary block rendered after all tasks complete.
|
|
15
|
-
*/
|
|
16
|
-
declare const CommandSummary: ({ cached, failed, failedIds, projectNames, skippedIds, succeeded, targets, tasks, took }: CommandSummaryProps) => React.JSX.Element;
|
|
17
|
-
export default CommandSummary;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
interface HeaderProps {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
title: string;
|
|
5
|
-
variant: "error" | "info" | "success";
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Renders the VIS badge + status dot + title header line.
|
|
9
|
-
*
|
|
10
|
-
* ` VIS ` ● Running targets build for 3 projects
|
|
11
|
-
*/
|
|
12
|
-
declare const Header: ({ children, title, variant }: HeaderProps) => React.JSX.Element;
|
|
13
|
-
export default Header;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ScrollViewRef } from "@visulima/tui";
|
|
2
|
-
import type { TaskRowData } from "./TaskRow.d.ts";
|
|
3
|
-
interface OutputPanelProps {
|
|
4
|
-
/** Duration in ms (for top-right border display). */
|
|
5
|
-
duration?: number;
|
|
6
|
-
focused: boolean;
|
|
7
|
-
/** Whether interactive input mode is active (keystrokes forwarded to PTY). */
|
|
8
|
-
interactiveMode?: boolean;
|
|
9
|
-
output: string;
|
|
10
|
-
scrollRef?: React.RefObject<ScrollViewRef | null>;
|
|
11
|
-
/** Whether to show "<enter> full screen" hint in bottom border. */
|
|
12
|
-
showFullscreenHint?: boolean;
|
|
13
|
-
status: TaskRowData["status"] | undefined;
|
|
14
|
-
taskId: string | null;
|
|
15
|
-
}
|
|
16
|
-
declare const OutputPanel: ({ duration, focused, interactiveMode, output, scrollRef, showFullscreenHint, status, taskId }: OutputPanelProps) => React.JSX.Element;
|
|
17
|
-
export default OutputPanel;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface QuitDialogProps {
|
|
2
|
-
/** Countdown seconds. 0 = no auto-exit. */
|
|
3
|
-
readonly autoExitSeconds: number;
|
|
4
|
-
/** Called when the user cancels (any key except q). */
|
|
5
|
-
readonly onCancel: () => void;
|
|
6
|
-
/** Whether the dialog is visible. */
|
|
7
|
-
readonly visible: boolean;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Reusable quit confirmation dialog with countdown timer.
|
|
11
|
-
* Shows a countdown, then auto-exits. Any key cancels the countdown.
|
|
12
|
-
* Press q to exit immediately.
|
|
13
|
-
*/
|
|
14
|
-
declare const QuitDialog: ({ autoExitSeconds, onCancel, visible }: QuitDialogProps) => React.JSX.Element | null;
|
|
15
|
-
export default QuitDialog;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { ScrollViewRef } from "@visulima/tui";
|
|
2
|
-
import type { TaskRowData } from "./TaskRow.d.ts";
|
|
3
|
-
interface TaskListPanelProps {
|
|
4
|
-
/** Hide Cache + Duration columns (used in split view where output panel shows them). */
|
|
5
|
-
compact?: boolean;
|
|
6
|
-
filterActive: boolean;
|
|
7
|
-
filterText: string;
|
|
8
|
-
focused: boolean;
|
|
9
|
-
headerStatus: "error" | "running" | "success";
|
|
10
|
-
/** Number of parallel task slots to display at the bottom. */
|
|
11
|
-
parallelSlots?: number;
|
|
12
|
-
pinnedTaskIds: [string | null, string | null];
|
|
13
|
-
rows: TaskRowData[];
|
|
14
|
-
scrollRef: React.RefObject<ScrollViewRef | null>;
|
|
15
|
-
selectedIndex: number;
|
|
16
|
-
title: string;
|
|
17
|
-
}
|
|
18
|
-
declare const TaskListPanel: ({ compact, filterActive, filterText, focused, headerStatus, parallelSlots, pinnedTaskIds, rows, scrollRef, selectedIndex, title, }: TaskListPanelProps) => React.JSX.Element;
|
|
19
|
-
export default TaskListPanel;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { TaskStatus } from "@visulima/task-runner";
|
|
2
|
-
export interface TaskRowData {
|
|
3
|
-
duration?: number;
|
|
4
|
-
elapsed?: number;
|
|
5
|
-
status: "pending" | "running" | TaskStatus;
|
|
6
|
-
taskId: string;
|
|
7
|
-
}
|
|
8
|
-
interface TaskRowProps {
|
|
9
|
-
row: TaskRowData;
|
|
10
|
-
}
|
|
11
|
-
declare const TaskRow: ({ row }: TaskRowProps) => React.JSX.Element;
|
|
12
|
-
export default TaskRow;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { Task, TaskResult } from "@visulima/task-runner";
|
|
2
|
-
import type { TaskRowData } from "./TaskRow.d.ts";
|
|
3
|
-
export interface TaskState {
|
|
4
|
-
/** Auto-exit countdown in seconds. null = not counting. */
|
|
5
|
-
autoExitCountdown: number | null;
|
|
6
|
-
/** Number of tasks completed from cache. */
|
|
7
|
-
cached: number;
|
|
8
|
-
/** Total completed tasks. */
|
|
9
|
-
completed: number;
|
|
10
|
-
/** All tasks finished — triggers summary/countdown. */
|
|
11
|
-
done: boolean;
|
|
12
|
-
/** Timestamp when all tasks completed (Date.now). null while running. */
|
|
13
|
-
endTime: number | null;
|
|
14
|
-
/** Number of failed tasks. */
|
|
15
|
-
failed: number;
|
|
16
|
-
/** Whether the filter input bar is active. */
|
|
17
|
-
filterActive: boolean;
|
|
18
|
-
/** Current filter text (empty = no filter). */
|
|
19
|
-
filterText: string;
|
|
20
|
-
/** Which panel currently has keyboard focus. */
|
|
21
|
-
focusedPanel: "output" | "tasks";
|
|
22
|
-
/** Whether interactive input mode is active for the current task. */
|
|
23
|
-
interactiveMode: boolean;
|
|
24
|
-
/** Accumulated terminal output per task. */
|
|
25
|
-
outputs: Map<string, string>;
|
|
26
|
-
/** Up to 2 pinned task IDs for output panes. */
|
|
27
|
-
pinnedTaskIds: [string | null, string | null];
|
|
28
|
-
/** Whether a rerun has been requested by the user. */
|
|
29
|
-
rerunRequested: boolean;
|
|
30
|
-
/** Task ID requested for single-task retry (null = none). */
|
|
31
|
-
retryTaskId: string | null;
|
|
32
|
-
/** All task rows with current status. */
|
|
33
|
-
rows: TaskRowData[];
|
|
34
|
-
/** Currently highlighted task index in the list. */
|
|
35
|
-
selectedIndex: number;
|
|
36
|
-
/** Command start timestamp (Date.now). */
|
|
37
|
-
startTime: number;
|
|
38
|
-
/** Status filter for task list: "all", "failed", "running", "passed". */
|
|
39
|
-
statusFilter: "all" | "failed" | "passed" | "running";
|
|
40
|
-
/** Number of successfully completed tasks. */
|
|
41
|
-
succeeded: number;
|
|
42
|
-
/** Current view mode: list (full width), split (list + output), fullscreen (output only). */
|
|
43
|
-
viewMode: "fullscreen" | "list" | "split";
|
|
44
|
-
}
|
|
45
|
-
type Listener = () => void;
|
|
46
|
-
export declare class TaskStore {
|
|
47
|
-
#private;
|
|
48
|
-
constructor(tasks: Task[]);
|
|
49
|
-
getSnapshot: () => TaskState;
|
|
50
|
-
subscribe: (listener: Listener) => (() => void);
|
|
51
|
-
startTasks(started: Task[]): void;
|
|
52
|
-
endTasks(results: TaskResult[]): void;
|
|
53
|
-
addOutput(taskId: string, output: string): void;
|
|
54
|
-
/** Replace the full output for a task (used by PTY mode where ANSI sequences update in place). */
|
|
55
|
-
setOutput(taskId: string, content: string): void;
|
|
56
|
-
markDone(): void;
|
|
57
|
-
/** Update elapsed times for running tasks. Called every 100ms. */
|
|
58
|
-
tick(): void;
|
|
59
|
-
setSelectedIndex(index: number): void;
|
|
60
|
-
setFocusedPanel(panel: "output" | "tasks"): void;
|
|
61
|
-
setFilter(text: string): void;
|
|
62
|
-
setFilterActive(active: boolean): void;
|
|
63
|
-
pinTask(slot: 0 | 1, taskId: string | null): void;
|
|
64
|
-
clearPins(): void;
|
|
65
|
-
/** Request retry of a single failed task. */
|
|
66
|
-
requestRetry(taskId: string): void;
|
|
67
|
-
/** Acknowledge the retry request (called by lifecycle after re-launching). */
|
|
68
|
-
acknowledgeRetry(): string | null;
|
|
69
|
-
/** Toggle interactive input mode for the current task. */
|
|
70
|
-
setInteractiveMode(active: boolean): void;
|
|
71
|
-
/** Set the current view mode. */
|
|
72
|
-
setViewMode(mode: "fullscreen" | "list" | "split"): void;
|
|
73
|
-
/** Set status filter for the task list. */
|
|
74
|
-
setStatusFilter(filter: "all" | "failed" | "passed" | "running"): void;
|
|
75
|
-
/** Request a rerun — resets all task state back to pending. */
|
|
76
|
-
requestRerun(): void;
|
|
77
|
-
/** Acknowledge the rerun request (called by lifecycle after re-launching tasks). */
|
|
78
|
-
acknowledgeRerun(): void;
|
|
79
|
-
}
|
|
80
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Task } from "@visulima/task-runner";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import type { StdinEntry } from "../types.d.ts";
|
|
4
|
-
import type { TaskStore } from "./TaskStore.d.ts";
|
|
5
|
-
interface VisTaskRunnerAppProps {
|
|
6
|
-
/** 0 = no auto-exit (default), >0 = countdown seconds */
|
|
7
|
-
autoExitSeconds: number;
|
|
8
|
-
parallelSlots: number;
|
|
9
|
-
projectNames: string[];
|
|
10
|
-
/** Registry of stdin entries keyed by task ID, for interactive input. */
|
|
11
|
-
stdinRegistry: Map<string, StdinEntry>;
|
|
12
|
-
store: TaskStore;
|
|
13
|
-
targets: string[];
|
|
14
|
-
tasks: Task[];
|
|
15
|
-
}
|
|
16
|
-
declare const VisTaskRunnerApp: ({ autoExitSeconds, parallelSlots, projectNames, stdinRegistry, store, targets, tasks }: VisTaskRunnerAppProps) => React.JSX.Element;
|
|
17
|
-
export default VisTaskRunnerApp;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { PackageManager } from "./catalogs/mount-suggestions.d.ts";
|
|
2
|
-
import type { DevcontainerConfig, MountEntry, SectionId } from "./types.d.ts";
|
|
3
|
-
export interface DevcontainerState {
|
|
4
|
-
/** The configuration being edited. */
|
|
5
|
-
config: DevcontainerConfig;
|
|
6
|
-
/** Detected package manager from the workspace. */
|
|
7
|
-
detectedPm: PackageManager | null;
|
|
8
|
-
/** Search text for extensions section. */
|
|
9
|
-
extensionSearch: string;
|
|
10
|
-
/** Search text for features section. */
|
|
11
|
-
featureSearch: string;
|
|
12
|
-
/** Whether any field is being actively edited via TextInput. */
|
|
13
|
-
fieldEditing: boolean;
|
|
14
|
-
/** Which field is focused within the current section. */
|
|
15
|
-
fieldIndex: number;
|
|
16
|
-
/** Whether the original file contained JSONC comments (warning on save). */
|
|
17
|
-
hadComments: boolean;
|
|
18
|
-
/** Whether config has been changed since load/save. */
|
|
19
|
-
isDirty: boolean;
|
|
20
|
-
/** Create or edit mode. */
|
|
21
|
-
mode: "create" | "edit";
|
|
22
|
-
/** Original config for diffing (null in create mode). */
|
|
23
|
-
originalConfig: DevcontainerConfig | null;
|
|
24
|
-
/** Currently active tab/section. */
|
|
25
|
-
section: SectionId;
|
|
26
|
-
/** Whether to show the template selector dialog. */
|
|
27
|
-
showTemplateSelector: boolean;
|
|
28
|
-
/** Suggested mounts based on PM and features. */
|
|
29
|
-
suggestedMounts: MountEntry[];
|
|
30
|
-
/** Selected template index in the selector. */
|
|
31
|
-
templateIndex: number;
|
|
32
|
-
}
|
|
33
|
-
type Listener = () => void;
|
|
34
|
-
export declare class DevcontainerStore {
|
|
35
|
-
#private;
|
|
36
|
-
constructor(config: DevcontainerConfig | null, hadComments: boolean, detectedPm?: PackageManager | null);
|
|
37
|
-
getSnapshot: () => DevcontainerState;
|
|
38
|
-
subscribe: (listener: Listener) => (() => void);
|
|
39
|
-
setSection(section: SectionId): void;
|
|
40
|
-
nextSection(): void;
|
|
41
|
-
previousSection(): void;
|
|
42
|
-
setFieldIndex(index: number): void;
|
|
43
|
-
setFieldEditing(editing: boolean): void;
|
|
44
|
-
setTemplateIndex(index: number): void;
|
|
45
|
-
applyTemplate(templateId: string): void;
|
|
46
|
-
dismissTemplateSelector(): void;
|
|
47
|
-
updateConfig(partial: Partial<DevcontainerConfig>): void;
|
|
48
|
-
toggleFeature(featureId: string): void;
|
|
49
|
-
setFeatureSearch(search: string): void;
|
|
50
|
-
addPort(port: number | string): void;
|
|
51
|
-
removePort(index: number): void;
|
|
52
|
-
toggleExtension(extensionId: string): void;
|
|
53
|
-
setExtensionSearch(search: string): void;
|
|
54
|
-
addEnvVar(target: "container" | "remote", key: string, value: string): void;
|
|
55
|
-
removeEnvVar(target: "container" | "remote", key: string): void;
|
|
56
|
-
addMount(mount: MountEntry): void;
|
|
57
|
-
removeMount(index: number): void;
|
|
58
|
-
/** Add all currently suggested mounts to the config. */
|
|
59
|
-
applySuggestedMounts(): void;
|
|
60
|
-
setLifecycleCommand(hook: "onCreateCommand" | "postAttachCommand" | "postCreateCommand" | "postStartCommand", command: string): void;
|
|
61
|
-
markClean(): void;
|
|
62
|
-
getJsonPreview(): string;
|
|
63
|
-
/** Return a cleaned config with empty/undefined fields stripped. */
|
|
64
|
-
cleanConfig(): DevcontainerConfig;
|
|
65
|
-
}
|
|
66
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { DevcontainerStore } from "./DevcontainerStore.d.ts";
|
|
3
|
-
import type { DevcontainerConfig } from "./types.d.ts";
|
|
4
|
-
interface VisDevcontainerAppProps {
|
|
5
|
-
readonly onSave: (config: DevcontainerConfig) => void;
|
|
6
|
-
readonly store: DevcontainerStore;
|
|
7
|
-
}
|
|
8
|
-
declare const VisDevcontainerApp: ({ onSave, store }: VisDevcontainerAppProps) => React.JSX.Element;
|
|
9
|
-
export default VisDevcontainerApp;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type ExtensionCategory = "debugging" | "formatting" | "git" | "language" | "linting" | "other" | "testing";
|
|
2
|
-
export interface ExtensionCatalogEntry {
|
|
3
|
-
category: ExtensionCategory;
|
|
4
|
-
description: string;
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const EXTENSION_CATALOG: ExtensionCatalogEntry[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type FeatureCategory = "cloud" | "database" | "language" | "other" | "tool";
|
|
2
|
-
export interface FeatureCatalogEntry {
|
|
3
|
-
category: FeatureCategory;
|
|
4
|
-
description: string;
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const FEATURE_CATALOG: FeatureCatalogEntry[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { ExtensionCatalogEntry } from "./extensions.d.ts";
|
|
2
|
-
import type { FeatureCatalogEntry } from "./features.d.ts";
|
|
3
|
-
export declare const filterFeatures: (searchText: string) => FeatureCatalogEntry[];
|
|
4
|
-
export declare const filterExtensions: (searchText: string) => ExtensionCatalogEntry[];
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { MountEntry } from "../types.d.ts";
|
|
2
|
-
export type PackageManager = "bun" | "npm" | "pnpm" | "yarn";
|
|
3
|
-
/**
|
|
4
|
-
* Suggested mounts based on detected package manager.
|
|
5
|
-
*/
|
|
6
|
-
export declare const PM_MOUNTS: Record<PackageManager, MountEntry[]>;
|
|
7
|
-
/**
|
|
8
|
-
* Feature-specific mount suggestions.
|
|
9
|
-
* Key is a substring of the feature ID to match.
|
|
10
|
-
*/
|
|
11
|
-
export declare const FEATURE_MOUNTS: {
|
|
12
|
-
featureMatch: string;
|
|
13
|
-
mounts: MountEntry[];
|
|
14
|
-
}[];
|
|
15
|
-
/**
|
|
16
|
-
* Get suggested mounts based on the package manager and enabled features.
|
|
17
|
-
* Returns only mounts that are not already in the current config.
|
|
18
|
-
*/
|
|
19
|
-
export declare const getSuggestedMounts: (pm: PackageManager | null, enabledFeatures: Record<string, Record<string, unknown> | string>, currentMounts: (MountEntry | string)[]) => MountEntry[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { DevcontainerConfig } from "./types.d.ts";
|
|
2
|
-
export interface ReadResult {
|
|
3
|
-
config: DevcontainerConfig;
|
|
4
|
-
hadComments: boolean;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Read and parse .devcontainer/devcontainer.json with JSONC support.
|
|
8
|
-
* Returns null if the file doesn't exist.
|
|
9
|
-
*/
|
|
10
|
-
export declare const readDevcontainerJson: (workspaceRoot: string) => ReadResult | null;
|
|
11
|
-
/**
|
|
12
|
-
* Write devcontainer.json to disk, creating the directory if needed.
|
|
13
|
-
*/
|
|
14
|
-
export declare const writeDevcontainerJson: (workspaceRoot: string, config: DevcontainerConfig, outputPath?: string) => void;
|