@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
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { DevcontainerConfig } from "../types.d.ts";
|
|
3
|
-
interface DockerComposeSectionProps {
|
|
4
|
-
readonly config: DevcontainerConfig;
|
|
5
|
-
readonly fieldEditing: boolean;
|
|
6
|
-
readonly fieldIndex: number;
|
|
7
|
-
readonly onUpdate: (partial: Partial<DevcontainerConfig>) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const DockerComposeSection: ({ config, fieldEditing, fieldIndex, onUpdate }: DockerComposeSectionProps) => React.JSX.Element;
|
|
10
|
-
export declare const COMPOSE_FIELD_COUNT: number;
|
|
11
|
-
export default DockerComposeSection;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { DevcontainerConfig } from "../types.d.ts";
|
|
3
|
-
interface EnvironmentSectionProps {
|
|
4
|
-
readonly config: DevcontainerConfig;
|
|
5
|
-
readonly fieldIndex: number;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Layout:
|
|
9
|
-
* fieldIndex 0..containerCount-1 → containerEnv entries
|
|
10
|
-
* fieldIndex containerCount → "+ Add container env..." row
|
|
11
|
-
* fieldIndex containerCount+1.. → remoteEnv entries
|
|
12
|
-
* fieldIndex last → "+ Add remote env..." row
|
|
13
|
-
*/
|
|
14
|
-
declare const EnvironmentSection: ({ config, fieldIndex }: EnvironmentSectionProps) => React.JSX.Element;
|
|
15
|
-
export declare const getEnvFieldCount: (config: DevcontainerConfig) => number;
|
|
16
|
-
export default EnvironmentSection;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { DevcontainerConfig } from "../types.d.ts";
|
|
3
|
-
interface ExtensionsSectionProps {
|
|
4
|
-
readonly config: DevcontainerConfig;
|
|
5
|
-
readonly fieldIndex: number;
|
|
6
|
-
readonly scrollOffset: number;
|
|
7
|
-
readonly searchText: string;
|
|
8
|
-
readonly viewportHeight: number;
|
|
9
|
-
}
|
|
10
|
-
declare const ExtensionsSection: ({ config, fieldIndex, scrollOffset, searchText, viewportHeight }: ExtensionsSectionProps) => React.JSX.Element;
|
|
11
|
-
export default ExtensionsSection;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { DevcontainerConfig } from "../types.d.ts";
|
|
3
|
-
interface FeaturesSectionProps {
|
|
4
|
-
readonly config: DevcontainerConfig;
|
|
5
|
-
readonly fieldIndex: number;
|
|
6
|
-
readonly scrollOffset: number;
|
|
7
|
-
readonly searchText: string;
|
|
8
|
-
readonly viewportHeight: number;
|
|
9
|
-
}
|
|
10
|
-
declare const FeaturesSection: ({ config, fieldIndex, scrollOffset, searchText, viewportHeight }: FeaturesSectionProps) => React.JSX.Element;
|
|
11
|
-
export default FeaturesSection;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { DevcontainerConfig } from "../types.d.ts";
|
|
3
|
-
interface GeneralSectionProps {
|
|
4
|
-
readonly config: DevcontainerConfig;
|
|
5
|
-
readonly fieldEditing: boolean;
|
|
6
|
-
readonly fieldIndex: number;
|
|
7
|
-
readonly onUpdate: (partial: Partial<DevcontainerConfig>) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const GeneralSection: ({ config, fieldEditing, fieldIndex, onUpdate }: GeneralSectionProps) => React.JSX.Element;
|
|
10
|
-
export declare const GENERAL_FIELD_COUNT: number;
|
|
11
|
-
export declare const GENERAL_BOOLEAN_FIELDS: ReadonlyArray<"privileged" | "overrideCommand">;
|
|
12
|
-
export default GeneralSection;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { DevcontainerConfig } from "../types.d.ts";
|
|
3
|
-
declare const HOOKS: readonly ["postCreateCommand", "postStartCommand", "postAttachCommand", "onCreateCommand"];
|
|
4
|
-
type LifecycleHook = (typeof HOOKS)[number];
|
|
5
|
-
interface LifecycleSectionProps {
|
|
6
|
-
readonly config: DevcontainerConfig;
|
|
7
|
-
readonly fieldEditing: boolean;
|
|
8
|
-
readonly fieldIndex: number;
|
|
9
|
-
readonly onSetCommand: (hook: LifecycleHook, command: string) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const LifecycleSection: ({ config, fieldEditing, fieldIndex, onSetCommand }: LifecycleSectionProps) => React.JSX.Element;
|
|
12
|
-
export declare const LIFECYCLE_FIELD_COUNT: number;
|
|
13
|
-
export default LifecycleSection;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { PackageManager } from "../catalogs/mount-suggestions.d.ts";
|
|
3
|
-
import type { DevcontainerConfig, MountEntry } from "../types.d.ts";
|
|
4
|
-
interface MountsSectionProps {
|
|
5
|
-
readonly addingMount: boolean;
|
|
6
|
-
readonly config: DevcontainerConfig;
|
|
7
|
-
readonly detectedPm: PackageManager | null;
|
|
8
|
-
readonly fieldIndex: number;
|
|
9
|
-
readonly mountPhase: "source" | "target" | "type";
|
|
10
|
-
readonly mountSource: string;
|
|
11
|
-
readonly mountTarget: string;
|
|
12
|
-
readonly mountType: "bind" | "tmpfs" | "volume";
|
|
13
|
-
readonly suggestedMounts: MountEntry[];
|
|
14
|
-
}
|
|
15
|
-
declare const MountsSection: ({ addingMount, config, detectedPm, fieldIndex, mountPhase, mountSource, mountTarget, mountType, suggestedMounts, }: MountsSectionProps) => React.JSX.Element;
|
|
16
|
-
export default MountsSection;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { DevcontainerConfig } from "../types.d.ts";
|
|
3
|
-
interface PortsSectionProps {
|
|
4
|
-
readonly addingPort: boolean;
|
|
5
|
-
readonly addPortValue: string;
|
|
6
|
-
readonly config: DevcontainerConfig;
|
|
7
|
-
readonly fieldIndex: number;
|
|
8
|
-
}
|
|
9
|
-
declare const PortsSection: ({ addingPort, addPortValue, config, fieldIndex }: PortsSectionProps) => React.JSX.Element;
|
|
10
|
-
export default PortsSection;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ScrollViewRef } from "@visulima/tui";
|
|
2
|
-
import React from "react";
|
|
3
|
-
interface PreviewPanelProps {
|
|
4
|
-
readonly focused: boolean;
|
|
5
|
-
readonly hadComments: boolean;
|
|
6
|
-
readonly jsonPreview: string;
|
|
7
|
-
readonly mode: "create" | "edit";
|
|
8
|
-
readonly scrollRef: React.RefObject<ScrollViewRef | null>;
|
|
9
|
-
}
|
|
10
|
-
declare const PreviewPanel: ({ focused, hadComments, jsonPreview, mode, scrollRef }: PreviewPanelProps) => React.JSX.Element;
|
|
11
|
-
export default PreviewPanel;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export interface DevcontainerBuild {
|
|
2
|
-
args?: Record<string, string>;
|
|
3
|
-
context?: string;
|
|
4
|
-
dockerfile?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface PortAttributes {
|
|
7
|
-
label?: string;
|
|
8
|
-
onAutoForward?: "ignore" | "notify" | "openBrowser" | "openPreview" | "silent";
|
|
9
|
-
protocol?: "http" | "https";
|
|
10
|
-
}
|
|
11
|
-
export interface MountEntry {
|
|
12
|
-
source: string;
|
|
13
|
-
target: string;
|
|
14
|
-
type: "bind" | "tmpfs" | "volume";
|
|
15
|
-
}
|
|
16
|
-
export interface DevcontainerConfig {
|
|
17
|
-
build?: DevcontainerBuild;
|
|
18
|
-
capAdd?: string[];
|
|
19
|
-
containerEnv?: Record<string, string>;
|
|
20
|
-
containerUser?: string;
|
|
21
|
-
customizations?: {
|
|
22
|
-
jetbrains?: {
|
|
23
|
-
plugins?: string[];
|
|
24
|
-
};
|
|
25
|
-
vscode?: {
|
|
26
|
-
extensions?: string[];
|
|
27
|
-
settings?: Record<string, unknown>;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
dockerComposeFile?: string | string[];
|
|
31
|
-
features?: Record<string, Record<string, unknown> | string>;
|
|
32
|
-
forwardPorts?: (number | string)[];
|
|
33
|
-
image?: string;
|
|
34
|
-
mounts?: (MountEntry | string)[];
|
|
35
|
-
name?: string;
|
|
36
|
-
onCreateCommand?: string | string[];
|
|
37
|
-
overrideCommand?: boolean;
|
|
38
|
-
portsAttributes?: Record<string, PortAttributes>;
|
|
39
|
-
postAttachCommand?: string | string[];
|
|
40
|
-
postCreateCommand?: string | string[];
|
|
41
|
-
postStartCommand?: string | string[];
|
|
42
|
-
privileged?: boolean;
|
|
43
|
-
remoteEnv?: Record<string, string>;
|
|
44
|
-
remoteUser?: string;
|
|
45
|
-
runServices?: string[];
|
|
46
|
-
securityOpt?: string[];
|
|
47
|
-
service?: string;
|
|
48
|
-
shutdownAction?: string;
|
|
49
|
-
workspaceFolder?: string;
|
|
50
|
-
workspaceMount?: string;
|
|
51
|
-
}
|
|
52
|
-
export type SectionId = "compose" | "environment" | "extensions" | "features" | "general" | "lifecycle" | "mounts" | "ports";
|
|
53
|
-
export declare const SECTION_ORDER: ReadonlyArray<SectionId>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { DevcontainerConfig } from "./types.d.ts";
|
|
2
|
-
export interface ValidationIssue {
|
|
3
|
-
field: string;
|
|
4
|
-
message: string;
|
|
5
|
-
}
|
|
6
|
-
export interface ValidationResult {
|
|
7
|
-
errors: ValidationIssue[];
|
|
8
|
-
suggestions: ValidationIssue[];
|
|
9
|
-
valid: boolean;
|
|
10
|
-
warnings: ValidationIssue[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Validate a devcontainer.json configuration.
|
|
14
|
-
* Returns errors (invalid config), warnings (deprecated/suspicious), and suggestions.
|
|
15
|
-
*/
|
|
16
|
-
export declare const validateConfig: (config: DevcontainerConfig) => ValidationResult;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { ProjectGraph, ProjectGraphDependency } from "@visulima/task-runner";
|
|
2
|
-
export type GraphFilterType = "all" | "app" | "lib";
|
|
3
|
-
export interface GraphNode {
|
|
4
|
-
deps: ProjectGraphDependency[];
|
|
5
|
-
name: string;
|
|
6
|
-
reverseDeps: string[];
|
|
7
|
-
type: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GraphState {
|
|
10
|
-
/** All nodes. */
|
|
11
|
-
allNodes: GraphNode[];
|
|
12
|
-
/** Whether the text filter input is active. */
|
|
13
|
-
filterActive: boolean;
|
|
14
|
-
/** Current filter text. */
|
|
15
|
-
filterText: string;
|
|
16
|
-
/** Filter by project type. */
|
|
17
|
-
filterType: GraphFilterType;
|
|
18
|
-
/** Which panel has keyboard focus. */
|
|
19
|
-
focusedPanel: "detail" | "list";
|
|
20
|
-
/** Currently highlighted entry index in the filtered list. */
|
|
21
|
-
selectedIndex: number;
|
|
22
|
-
}
|
|
23
|
-
type Listener = () => void;
|
|
24
|
-
export declare class GraphStore {
|
|
25
|
-
#private;
|
|
26
|
-
constructor(projectGraph: ProjectGraph);
|
|
27
|
-
getSnapshot: () => GraphState;
|
|
28
|
-
subscribe: (listener: Listener) => (() => void);
|
|
29
|
-
getFilteredNodes(): GraphNode[];
|
|
30
|
-
getStats(): {
|
|
31
|
-
apps: number;
|
|
32
|
-
deps: number;
|
|
33
|
-
libs: number;
|
|
34
|
-
total: number;
|
|
35
|
-
};
|
|
36
|
-
setSelectedIndex(index: number): void;
|
|
37
|
-
setFocusedPanel(panel: "detail" | "list"): void;
|
|
38
|
-
setFilterType(type: GraphFilterType): void;
|
|
39
|
-
setFilter(text: string): void;
|
|
40
|
-
setFilterActive(active: boolean): void;
|
|
41
|
-
}
|
|
42
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ScrollViewRef } from "@visulima/tui";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import type { GraphNode } from "./GraphStore.d.ts";
|
|
4
|
-
interface ProjectDetailPanelProps {
|
|
5
|
-
focused: boolean;
|
|
6
|
-
node: GraphNode | null;
|
|
7
|
-
scrollRef?: React.RefObject<ScrollViewRef | null>;
|
|
8
|
-
}
|
|
9
|
-
declare const ProjectDetailPanel: ({ focused, node, scrollRef }: ProjectDetailPanelProps) => React.JSX.Element;
|
|
10
|
-
export default ProjectDetailPanel;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { GraphFilterType, GraphNode } from "./GraphStore.d.ts";
|
|
3
|
-
interface ProjectListPanelProps {
|
|
4
|
-
filterActive: boolean;
|
|
5
|
-
filterText: string;
|
|
6
|
-
filterType: GraphFilterType;
|
|
7
|
-
focused: boolean;
|
|
8
|
-
nodes: GraphNode[];
|
|
9
|
-
scrollOffset: number;
|
|
10
|
-
selectedIndex: number;
|
|
11
|
-
stats: {
|
|
12
|
-
apps: number;
|
|
13
|
-
deps: number;
|
|
14
|
-
libs: number;
|
|
15
|
-
total: number;
|
|
16
|
-
};
|
|
17
|
-
viewportHeight: number;
|
|
18
|
-
}
|
|
19
|
-
declare const ProjectListPanel: ({ filterActive, filterText, filterType, focused, nodes, scrollOffset, selectedIndex, stats, viewportHeight, }: ProjectListPanelProps) => React.JSX.Element;
|
|
20
|
-
export default ProjectListPanel;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { GraphStore } from "./GraphStore.d.ts";
|
|
3
|
-
interface VisGraphAppProps {
|
|
4
|
-
autoExitSeconds?: number;
|
|
5
|
-
store: GraphStore;
|
|
6
|
-
}
|
|
7
|
-
declare const VisGraphApp: ({ autoExitSeconds, store }: VisGraphAppProps) => React.JSX.Element;
|
|
8
|
-
export default VisGraphApp;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ScrollViewRef } from "@visulima/tui";
|
|
2
|
-
import type { OptimizeEntry } from "./OptimizeStore.d.ts";
|
|
3
|
-
interface OptimizeDetailPanelProps {
|
|
4
|
-
entry: OptimizeEntry | null;
|
|
5
|
-
focused: boolean;
|
|
6
|
-
scrollRef?: React.RefObject<ScrollViewRef | null>;
|
|
7
|
-
}
|
|
8
|
-
declare const OptimizeDetailPanel: ({ entry, focused, scrollRef }: OptimizeDetailPanelProps) => React.JSX.Element;
|
|
9
|
-
export default OptimizeDetailPanel;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { FilterType, OptimizeEntry } from "./OptimizeStore.d.ts";
|
|
2
|
-
interface OptimizeListPanelProps {
|
|
3
|
-
checkedEntries: Set<string>;
|
|
4
|
-
entries: OptimizeEntry[];
|
|
5
|
-
filterActive: boolean;
|
|
6
|
-
filterText: string;
|
|
7
|
-
filterType: FilterType;
|
|
8
|
-
focused: boolean;
|
|
9
|
-
isDryRun: boolean;
|
|
10
|
-
scrollOffset: number;
|
|
11
|
-
selectedIndex: number;
|
|
12
|
-
totalEntries: number;
|
|
13
|
-
viewportHeight: number;
|
|
14
|
-
}
|
|
15
|
-
declare const OptimizeListPanel: ({ checkedEntries, entries, filterActive, filterText, filterType, focused, isDryRun, scrollOffset, selectedIndex, totalEntries, viewportHeight, }: OptimizeListPanelProps) => React.JSX.Element;
|
|
16
|
-
export default OptimizeListPanel;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/** An optimization entry that can be either an e18e module replacement or a Socket.dev override. */
|
|
2
|
-
interface OptimizeEntry {
|
|
3
|
-
/** Category for filtering and display. */
|
|
4
|
-
category: "micro-utility" | "native" | "preferred" | "socket";
|
|
5
|
-
/** Whether a codemod is available for this entry (e18e only). */
|
|
6
|
-
hasCodemod: boolean;
|
|
7
|
-
/** The override spec for socket entries (e.g., "npm:@socketregistry/is-regex@^1"). */
|
|
8
|
-
overrideSpec?: string;
|
|
9
|
-
/** The original package name. */
|
|
10
|
-
packageName: string;
|
|
11
|
-
/** Human-readable replacement target description. */
|
|
12
|
-
replacement: string;
|
|
13
|
-
}
|
|
14
|
-
type FilterType = "all" | "micro-utility" | "native" | "preferred" | "socket";
|
|
15
|
-
interface OptimizeState {
|
|
16
|
-
applyProgress: {
|
|
17
|
-
current: number;
|
|
18
|
-
total: number;
|
|
19
|
-
} | null;
|
|
20
|
-
checkedEntries: Set<string>;
|
|
21
|
-
entries: OptimizeEntry[];
|
|
22
|
-
error: string | null;
|
|
23
|
-
filterActive: boolean;
|
|
24
|
-
filterText: string;
|
|
25
|
-
filterType: FilterType;
|
|
26
|
-
focusedPanel: "detail" | "list";
|
|
27
|
-
phase: "applying" | "browsing" | "done" | "error";
|
|
28
|
-
selectedIndex: number;
|
|
29
|
-
}
|
|
30
|
-
type Listener = () => void;
|
|
31
|
-
declare class OptimizeStore {
|
|
32
|
-
#private;
|
|
33
|
-
constructor(entries: OptimizeEntry[]);
|
|
34
|
-
getSnapshot: () => OptimizeState;
|
|
35
|
-
subscribe: (listener: Listener) => (() => void);
|
|
36
|
-
getFilteredEntries: () => OptimizeEntry[];
|
|
37
|
-
select(index: number): void;
|
|
38
|
-
toggleCheck(packageName: string): void;
|
|
39
|
-
toggleAll(): void;
|
|
40
|
-
setFilter(type: FilterType): void;
|
|
41
|
-
setFilterText(text: string): void;
|
|
42
|
-
setFilterActive(active: boolean): void;
|
|
43
|
-
setFocusedPanel(panel: "detail" | "list"): void;
|
|
44
|
-
setPhase(phase: OptimizeState["phase"]): void;
|
|
45
|
-
setProgress(current: number, total: number): void;
|
|
46
|
-
setError(error: string): void;
|
|
47
|
-
getCheckedEntries(): OptimizeEntry[];
|
|
48
|
-
}
|
|
49
|
-
export type { FilterType, OptimizeEntry, OptimizeState };
|
|
50
|
-
export { OptimizeStore };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { OptimizeStore } from "./OptimizeStore.d.ts";
|
|
3
|
-
interface VisOptimizeAppProps {
|
|
4
|
-
isDryRun: boolean;
|
|
5
|
-
store: OptimizeStore;
|
|
6
|
-
}
|
|
7
|
-
declare const VisOptimizeApp: ({ isDryRun, store }: VisOptimizeAppProps) => React.JSX.Element;
|
|
8
|
-
export default VisOptimizeApp;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/** Category colors for the optimize TUI — shared between list and detail panels. */
|
|
2
|
-
declare const CATEGORY_COLORS: Record<string, string>;
|
|
3
|
-
/** Short labels for category badges in the list panel. */
|
|
4
|
-
declare const CATEGORY_LABELS: Record<string, string>;
|
|
5
|
-
/** Human-readable descriptions for each optimization category. */
|
|
6
|
-
declare const CATEGORY_DESCRIPTIONS: Record<string, string>;
|
|
7
|
-
export { CATEGORY_COLORS, CATEGORY_DESCRIPTIONS, CATEGORY_LABELS };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ScrollViewRef } from "@visulima/tui";
|
|
2
|
-
import type { AiRecommendation } from "../../../ai-analysis.d.ts";
|
|
3
|
-
import type { OutdatedEntry } from "../../../catalog.d.ts";
|
|
4
|
-
interface PackageDetailPanelProps {
|
|
5
|
-
changelogUrl?: string;
|
|
6
|
-
entry: OutdatedEntry | null;
|
|
7
|
-
focused: boolean;
|
|
8
|
-
recommendation?: AiRecommendation;
|
|
9
|
-
scrollRef?: React.RefObject<ScrollViewRef | null>;
|
|
10
|
-
}
|
|
11
|
-
declare const PackageDetailPanel: ({ changelogUrl, entry, focused, recommendation, scrollRef }: PackageDetailPanelProps) => React.JSX.Element;
|
|
12
|
-
export default PackageDetailPanel;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { OutdatedEntry } from "../../../catalog.d.ts";
|
|
2
|
-
import type { FilterType } from "./UpdateStore.d.ts";
|
|
3
|
-
interface PackageListPanelProps {
|
|
4
|
-
checkedEntries: Set<string>;
|
|
5
|
-
entries: OutdatedEntry[];
|
|
6
|
-
filterActive: boolean;
|
|
7
|
-
filteredOutCount: number;
|
|
8
|
-
filterText: string;
|
|
9
|
-
filterType: FilterType;
|
|
10
|
-
focused: boolean;
|
|
11
|
-
groupedByCatalog: Map<string, OutdatedEntry[]>;
|
|
12
|
-
isDryRun: boolean;
|
|
13
|
-
scrollOffset: number;
|
|
14
|
-
selectedIndex: number;
|
|
15
|
-
totalCatalogEntries: number;
|
|
16
|
-
totalChecked: number;
|
|
17
|
-
totalEntries: number;
|
|
18
|
-
viewportHeight: number;
|
|
19
|
-
}
|
|
20
|
-
declare const PackageListPanel: ({ checkedEntries, entries, filterActive, filteredOutCount, filterText, filterType, focused, groupedByCatalog, isDryRun, scrollOffset, selectedIndex, totalCatalogEntries, totalChecked, totalEntries, viewportHeight, }: PackageListPanelProps) => React.JSX.Element;
|
|
21
|
-
export default PackageListPanel;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { AiAnalysisResult, AiRecommendation } from "../../../ai-analysis.d.ts";
|
|
2
|
-
import type { OutdatedEntry } from "../../../catalog.d.ts";
|
|
3
|
-
export type FilterType = "all" | "major" | "minor" | "patch" | "security";
|
|
4
|
-
export type UpdatePhase = "applying" | "browsing" | "done" | "error";
|
|
5
|
-
export interface UpdateState {
|
|
6
|
-
/** AI analysis result (null if not requested). */
|
|
7
|
-
aiResult: AiAnalysisResult | null;
|
|
8
|
-
/** Whether all visible entries are checked. */
|
|
9
|
-
allChecked: boolean;
|
|
10
|
-
/** Progress during apply phase. */
|
|
11
|
-
applyProgress: {
|
|
12
|
-
current: number;
|
|
13
|
-
total: number;
|
|
14
|
-
} | null;
|
|
15
|
-
/** Set of checked package names for selective apply. */
|
|
16
|
-
checkedEntries: Set<string>;
|
|
17
|
-
/** All outdated entries. */
|
|
18
|
-
entries: OutdatedEntry[];
|
|
19
|
-
/** Error message if apply failed. */
|
|
20
|
-
error: string | null;
|
|
21
|
-
/** Whether the text filter input is active. */
|
|
22
|
-
filterActive: boolean;
|
|
23
|
-
/** Current filter text (empty = no filter). */
|
|
24
|
-
filterText: string;
|
|
25
|
-
/** Filter by update type. */
|
|
26
|
-
filterType: FilterType;
|
|
27
|
-
/** Which panel has keyboard focus. */
|
|
28
|
-
focusedPanel: "detail" | "list";
|
|
29
|
-
/** Entries grouped by catalog name. */
|
|
30
|
-
groupedByCatalog: Map<string, OutdatedEntry[]>;
|
|
31
|
-
/** Current lifecycle phase. */
|
|
32
|
-
phase: UpdatePhase;
|
|
33
|
-
/** Currently highlighted entry index in the filtered list. */
|
|
34
|
-
selectedIndex: number;
|
|
35
|
-
}
|
|
36
|
-
type Listener = () => void;
|
|
37
|
-
export declare class UpdateStore {
|
|
38
|
-
#private;
|
|
39
|
-
constructor(entries: OutdatedEntry[], aiResult?: AiAnalysisResult | null);
|
|
40
|
-
getSnapshot: () => UpdateState;
|
|
41
|
-
subscribe: (listener: Listener) => (() => void);
|
|
42
|
-
/** Get the currently filtered + visible entries. */
|
|
43
|
-
getFilteredEntries(): OutdatedEntry[];
|
|
44
|
-
/** Get AI recommendation for a specific package. */
|
|
45
|
-
getRecommendation(packageName: string): AiRecommendation | undefined;
|
|
46
|
-
/** Get the list of checked entries (for apply). */
|
|
47
|
-
getCheckedEntries(): OutdatedEntry[];
|
|
48
|
-
setSelectedIndex(index: number): void;
|
|
49
|
-
setFocusedPanel(panel: "detail" | "list"): void;
|
|
50
|
-
setFilterType(type: FilterType): void;
|
|
51
|
-
setFilter(text: string): void;
|
|
52
|
-
setFilterActive(active: boolean): void;
|
|
53
|
-
toggleCheck(packageName: string): void;
|
|
54
|
-
checkAll(): void;
|
|
55
|
-
uncheckAll(): void;
|
|
56
|
-
toggleAll(): void;
|
|
57
|
-
startApply(): void;
|
|
58
|
-
updateApplyProgress(current: number): void;
|
|
59
|
-
markDone(): void;
|
|
60
|
-
setError(error: string): void;
|
|
61
|
-
}
|
|
62
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { OutdatedEntry } from "../../../catalog.d.ts";
|
|
3
|
-
import type { UpdateStore } from "./UpdateStore.d.ts";
|
|
4
|
-
interface VisUpdateAppProps {
|
|
5
|
-
/** 0 = no auto-exit (default), >0 = countdown seconds */
|
|
6
|
-
autoExitSeconds?: number;
|
|
7
|
-
changelogUrls?: Map<string, string>;
|
|
8
|
-
/** Total unique packages checked by the registry. */
|
|
9
|
-
checkedCount?: number;
|
|
10
|
-
/** Packages that have newer versions but were filtered out by the target constraint. */
|
|
11
|
-
filteredOutEntries?: OutdatedEntry[];
|
|
12
|
-
isDryRun: boolean;
|
|
13
|
-
store: UpdateStore;
|
|
14
|
-
/** Total catalog entries (before deduplication). */
|
|
15
|
-
totalCatalogEntries?: number;
|
|
16
|
-
}
|
|
17
|
-
declare const VisUpdateApp: ({ autoExitSeconds, changelogUrls, checkedCount, filteredOutEntries, isDryRun, store, totalCatalogEntries, }: VisUpdateAppProps) => React.JSX.Element;
|
|
18
|
-
export default VisUpdateApp;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { LifeCycleInterface, Task } from "@visulima/task-runner";
|
|
2
|
-
import { TaskStore } from "./components/TaskStore.d.ts";
|
|
3
|
-
import type { StdinEntry } from "./types.d.ts";
|
|
4
|
-
interface DynamicOutputOptions {
|
|
5
|
-
args: {
|
|
6
|
-
parallel?: boolean | number;
|
|
7
|
-
targets: string[];
|
|
8
|
-
};
|
|
9
|
-
/** Auto-exit config: false = stay open, true = 3s countdown, number = custom seconds */
|
|
10
|
-
autoExit?: boolean | number;
|
|
11
|
-
projectNames: string[];
|
|
12
|
-
/** Registry of writable stdin entries keyed by task ID, for interactive input. */
|
|
13
|
-
stdinRegistry?: Map<string, StdinEntry>;
|
|
14
|
-
tasks: Task[];
|
|
15
|
-
}
|
|
16
|
-
interface DynamicOutputResult {
|
|
17
|
-
lifeCycle: LifeCycleInterface;
|
|
18
|
-
renderIsDone: Promise<void>;
|
|
19
|
-
store: TaskStore;
|
|
20
|
-
}
|
|
21
|
-
export declare const createDynamicOutputRenderer: (options: DynamicOutputOptions) => DynamicOutputResult;
|
|
22
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Task } from "@visulima/task-runner";
|
|
2
|
-
/**
|
|
3
|
-
* Formats a CLI flag for display output.
|
|
4
|
-
* @param leftPad Padding string
|
|
5
|
-
* @param flag The flag name
|
|
6
|
-
* @param value The flag value
|
|
7
|
-
*/
|
|
8
|
-
export declare const formatFlags: (leftPad: string, flag: string, value: unknown) => string;
|
|
9
|
-
/**
|
|
10
|
-
* Generates a human-readable description of the targets and projects being executed.
|
|
11
|
-
*
|
|
12
|
-
* Examples:
|
|
13
|
-
* - "target build for project my-app"
|
|
14
|
-
* - "targets build, test for 5 projects"
|
|
15
|
-
* - "target build for 3 projects and 2 tasks they depend on"
|
|
16
|
-
*/
|
|
17
|
-
export declare const formatTargetsAndProjects: (projectNames: string[], targets: string[], tasks: Task[]) => string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Formats a process.hrtime() tuple into a compact string like "1s 234ms".
|
|
3
|
-
*/
|
|
4
|
-
export declare const formatHrtime: (hrtime: [number, number]) => string;
|
|
5
|
-
/**
|
|
6
|
-
* Formats milliseconds into a compact string like "1s 300ms", "340ms", "1m 5s".
|
|
7
|
-
*/
|
|
8
|
-
export declare const formatMs: (ms: number) => string;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { LifeCycleInterface, LogReporter, Task, TaskResult, TaskStatus } from "@visulima/task-runner";
|
|
2
|
-
interface StaticOutputOptions {
|
|
3
|
-
args: {
|
|
4
|
-
targets: string[];
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Optional {@link LogReporter} that takes over `printTaskTerminalOutput`
|
|
8
|
-
* when the user picks a `--log` mode. Absent, the CI-style
|
|
9
|
-
* separator+status formatting is kept (vis's default).
|
|
10
|
-
*/
|
|
11
|
-
logReporter?: LogReporter;
|
|
12
|
-
projectNames: string[];
|
|
13
|
-
tasks: Task[];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* A lifecycle handler for CI environments that produces static, append-only output.
|
|
17
|
-
* No cursor manipulation — just linear log lines.
|
|
18
|
-
*/
|
|
19
|
-
export declare class StaticOutputLifeCycle implements LifeCycleInterface {
|
|
20
|
-
#private;
|
|
21
|
-
constructor(options: StaticOutputOptions);
|
|
22
|
-
startCommand(): void;
|
|
23
|
-
startTasks(tasks: Task[]): void;
|
|
24
|
-
endTasks(taskResults: TaskResult[]): void;
|
|
25
|
-
printTaskTerminalOutput(task: Task, status: TaskStatus, terminalOutput: string): void;
|
|
26
|
-
endCommand(): void;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { TaskStatus } from "@visulima/task-runner";
|
|
2
|
-
export declare const isCacheStatus: (status: string) => boolean;
|
|
3
|
-
export interface StatusInfo {
|
|
4
|
-
color: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const getStatusInfo: (status: TaskStatus) => StatusInfo;
|
|
8
|
-
/**
|
|
9
|
-
* Returns the colored status icon as an ANSI string (for raw stdout writes).
|
|
10
|
-
*/
|
|
11
|
-
export declare const getStatusIcon: (status: TaskStatus) => string;
|
|
12
|
-
/**
|
|
13
|
-
* Returns a colored prefix string for a status (for raw stdout writes).
|
|
14
|
-
*/
|
|
15
|
-
export declare const getStatusPrefix: (status: TaskStatus) => string;
|
|
16
|
-
/**
|
|
17
|
-
* Logs task terminal output with formatting.
|
|
18
|
-
* Uses GitHub Actions grouping when available.
|
|
19
|
-
*/
|
|
20
|
-
export declare const logCommandOutputCI: (taskId: string, status: TaskStatus, output: string) => void;
|
package/dist/tui/symbols.d.ts
DELETED
package/dist/tui/types.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a writable stdin entry for interactive PTY input.
|
|
3
|
-
*/
|
|
4
|
-
export interface StdinEntry {
|
|
5
|
-
/** Kill the child process/PTY. */
|
|
6
|
-
kill?: (signal?: string) => void;
|
|
7
|
-
/** Resize the child's PTY (only available for PTY-backed processes). */
|
|
8
|
-
resize?: (cols: number, rows: number) => void;
|
|
9
|
-
/** Write data to the child's stdin or PTY. */
|
|
10
|
-
write: (data: string) => void;
|
|
11
|
-
}
|