@visulima/vis 1.0.0-alpha.16 → 1.0.0-alpha.18
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 +50 -0
- package/README.md +66 -26
- package/dist/config/index.d.ts +125 -2
- package/dist/packem_chunks/bin.js +255 -251
- package/dist/packem_chunks/doctor-probe.js +2 -2
- package/dist/packem_chunks/handler10.js +1 -1
- package/dist/packem_chunks/handler20.js +2 -2
- package/dist/packem_chunks/handler22.js +1 -1
- package/dist/packem_chunks/handler37.js +1 -1
- package/dist/packem_chunks/handler38.js +3 -3
- package/dist/packem_chunks/handler39.js +6 -6
- package/dist/packem_chunks/handler40.js +1 -1
- package/dist/packem_chunks/handler42.js +6 -6
- package/dist/packem_chunks/handler44.js +2 -2
- package/dist/packem_chunks/handler46.js +1 -1
- package/dist/packem_chunks/handler47.js +44 -44
- package/dist/packem_chunks/handler48.js +22 -22
- package/dist/packem_chunks/index.js +1 -1
- package/dist/packem_shared/{docker-Dl0AoVTZ.js → docker-Cw5IT5Ow.js} +26 -26
- package/dist/packem_shared/flakiness-DUtrm-wS.js +1 -0
- package/dist/packem_shared/lifecycle-C7vfQmA3.js +2 -0
- package/index.js +729 -556
- package/package.json +12 -12
- package/schemas/vis-config.schema.json +85 -1
- package/dist/packem_shared/flakiness-Dzz-I3dB.js +0 -1
- package/dist/packem_shared/lifecycle-BC6Nst6i.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,53 @@
|
|
|
1
|
+
## @visulima/vis [1.0.0-alpha.18](https://github.com/visulima/visulima/compare/@visulima/vis@1.0.0-alpha.17...@visulima/vis@1.0.0-alpha.18) (2026-05-11)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **task-runner:** add resolveTurboEnvCompat helper ([a8e73ef](https://github.com/visulima/visulima/commit/a8e73ef324dd8d1bc1f1f471f59f9292f9f01745))
|
|
6
|
+
* **vis:** add vis-mcp post-command promotion nudge ([9244fad](https://github.com/visulima/visulima/commit/9244fad8a8f9164ce99b2ab3cb771d53f926e788))
|
|
7
|
+
* **vis:** expand secrets.config.presets to tag selectors ([77b8d2b](https://github.com/visulima/visulima/commit/77b8d2bbc951d5180753f37a45d2313c01fcf47f))
|
|
8
|
+
* **vis:** honour TURBO_API/TURBO_TOKEN/TURBO_TEAM env vars ([0d4fc8c](https://github.com/visulima/visulima/commit/0d4fc8c1ad617ba27c436e40e520ddcbb19ebeca))
|
|
9
|
+
* **vis:** show flakiness table on successful runs too ([085b219](https://github.com/visulima/visulima/commit/085b219a4472ceb0fd2f507c7bc3b3b1780a014a))
|
|
10
|
+
* **vis:** surface retried-but-passed tasks and add CI log grouping ([2bdceaa](https://github.com/visulima/visulima/commit/2bdceaacf3f69c99a08c9e1b3b6eda0ee3528cd2))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **vis:** raise timeout for exposed-files preset tests to 15s ([433db73](https://github.com/visulima/visulima/commit/433db7319ecf4720664bc199582d571ea6a3630b))
|
|
15
|
+
* **vis:** warm default ruleset for exposed-files preset tests ([9c76250](https://github.com/visulima/visulima/commit/9c76250d2ee6e8e2be878e5dcfb149d38126d60d))
|
|
16
|
+
|
|
17
|
+
### Documentation
|
|
18
|
+
|
|
19
|
+
* **vis:** mention TURBO_API fallback in help text and migrate hint ([f9bd7ac](https://github.com/visulima/visulima/commit/f9bd7acd7a53837e40376f9b0dcf54040bbc50a1))
|
|
20
|
+
|
|
21
|
+
### Miscellaneous Chores
|
|
22
|
+
|
|
23
|
+
* added fixtures to prettier ignore ([13bda29](https://github.com/visulima/visulima/commit/13bda2942d5d95fedeec7c07937fdfc37cf960c7))
|
|
24
|
+
* **vis:** apply eslint and formatter sweep ([d3a48c5](https://github.com/visulima/visulima/commit/d3a48c577a77864b1aae52e6061a8aad1554f273))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* **@visulima/secret-scanner:** upgraded to 1.0.0-alpha.2
|
|
30
|
+
* **@visulima/task-runner:** upgraded to 1.0.0-alpha.13
|
|
31
|
+
* **@visulima/tui:** upgraded to 1.0.0-alpha.13
|
|
32
|
+
* **@visulima/cerebro:** upgraded to 3.0.0-alpha.21
|
|
33
|
+
* **@visulima/fs:** upgraded to 5.0.0-alpha.20
|
|
34
|
+
* **@visulima/package:** upgraded to 5.0.0-alpha.19
|
|
35
|
+
|
|
36
|
+
## @visulima/vis [1.0.0-alpha.17](https://github.com/visulima/visulima/compare/@visulima/vis@1.0.0-alpha.16...@visulima/vis@1.0.0-alpha.17) (2026-05-10)
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* **vis:** expand typed plugin hook surface ([d0784df](https://github.com/visulima/visulima/commit/d0784df2b0c422002ec21c3c8da0002e0ff70dee))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Dependencies
|
|
44
|
+
|
|
45
|
+
* **@visulima/task-runner:** upgraded to 1.0.0-alpha.12
|
|
46
|
+
* **@visulima/tui:** upgraded to 1.0.0-alpha.12
|
|
47
|
+
* **@visulima/cerebro:** upgraded to 3.0.0-alpha.20
|
|
48
|
+
* **@visulima/fs:** upgraded to 5.0.0-alpha.19
|
|
49
|
+
* **@visulima/package:** upgraded to 5.0.0-alpha.18
|
|
50
|
+
|
|
1
51
|
## @visulima/vis [1.0.0-alpha.16](https://github.com/visulima/visulima/compare/@visulima/vis@1.0.0-alpha.15...@visulima/vis@1.0.0-alpha.16) (2026-05-10)
|
|
2
52
|
|
|
3
53
|
### Features
|
package/README.md
CHANGED
|
@@ -36,19 +36,59 @@
|
|
|
36
36
|
|
|
37
37
|
## Features
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
- **
|
|
42
|
-
-
|
|
43
|
-
- **
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
- **
|
|
48
|
-
-
|
|
49
|
-
- **
|
|
50
|
-
- **
|
|
51
|
-
- **
|
|
39
|
+
### Built for AI agents
|
|
40
|
+
|
|
41
|
+
- **MCP server** — `@visulima/vis-mcp` exposes 8 read-only introspection tools to Claude / Cursor / Copilot (project graph, target list, run logs, cache-why, template schema), plus a paired Claude Skill that documents optimal usage
|
|
42
|
+
- **`vis ai heal`** — reads failing tasks, asks the configured AI provider for a structured patch, validates by re-running, posts a markdown comment to the PR/MR. `/vis heal accept` from an allow-listed maintainer lands the fix as a signed commit (GitHub Actions, GitLab CI, Buildkite)
|
|
43
|
+
- **Worktree-aware shared cache** — N parallel agents in N sibling git worktrees automatically share one cache instead of rebuilding the same hash N times
|
|
44
|
+
|
|
45
|
+
### Production-grade caching
|
|
46
|
+
|
|
47
|
+
- **REAPI gRPC + HTTP backends** — drop-in support for [bazel-remote](https://github.com/buchgr/bazel-remote), BuildBuddy, BuildBarn, EngFlow alongside Turbo-compatible HTTP. `vis cache doctor` probes reachability, capabilities, and latency for CI gating
|
|
48
|
+
- **`vis cache why <task>`** — diff hash buckets (`command`, `nodes`, `runtime`, `implicitDeps`) against the previous run to pinpoint exactly what rotated the hash
|
|
49
|
+
- **HMAC-SHA256 signed artifacts** — `verifyOnDownload` locks production caches against tampering with constant-time comparison
|
|
50
|
+
- **Cache restoration fidelity** — preserves mtime + permission bits + colorized output; `vis cache verify <task>` flags drift between cached archive and live workspace
|
|
51
|
+
- **Retention controls** — `vis cache prune --keep-last/--max-age-days/--max-size`
|
|
52
|
+
|
|
53
|
+
### Cross-invocation devloop
|
|
54
|
+
|
|
55
|
+
- **`vis service start|stop|list`** — long-lived DB / mock / devserver lifecycle that survives across `vis run` calls within a shell session; auto-attached when targets declare `service:` in their config (no more "I keep restarting Postgres between every test run")
|
|
56
|
+
- **`vis run --watch`** — Vitest-style keybinds (`r/Enter/a/p/q/Ctrl+C/h/?`), Windows-clean SIGINT
|
|
57
|
+
- **`vis run --output-style=quiet`** — swallow stdout from successful and cached tasks, keep failures fully visible
|
|
58
|
+
|
|
59
|
+
### Workspace orchestration
|
|
60
|
+
|
|
61
|
+
- **Workspace-aware** — discovers projects from `pnpm-workspace.yaml`, `package.json` workspaces, and bun
|
|
62
|
+
- **Topological scheduling** with configurable parallelism and runner-tag filtering
|
|
63
|
+
- **Affected detection** — `vis affected <target>`, plus `${affected.files}` / `$AFFECTED_FILES` token forwarding to the underlying script
|
|
64
|
+
- **Conditional + finally tasks** — `when:` (os/env/branch/ci) and top-level `always: true`
|
|
65
|
+
- **Per-package overlay + extends chain** — root `vis-config.ts` + per-project `vis.task.ts`, with bare-specifier preset resolution
|
|
66
|
+
- **Inferred targets** (Project Crystal-style) — optional synthesis of `build`/`test`/`dev`/`lint`/`format` from 36 tools (Vite, Vitest, Next, Nuxt, packem, ESLint, Biome, Prisma, …). Opt in with `inferTargets: true`; explicit scripts and `project.json`/`vis.task.ts` overrides always win
|
|
67
|
+
- **URI-based input format** — `inputs` accepts `file://`, `glob://`, `env://`, `func://`, `dep://` strings as forward-compat sugar
|
|
68
|
+
- **Plugin / fingerprint hooks** — 14 typed hooks via `definePlugin` (lifecycle, streaming, retry, fingerprint, services), built on `hookable`
|
|
69
|
+
- **Strict env mode** — `--strict-env` extracts `${VAR}` references from each command and fails the task if any are unset
|
|
70
|
+
- **Lockfile preflight** — warns in TTY, hard-fails in CI when the lockfile is newer than the install marker
|
|
71
|
+
- **Project graph** — view dependencies in ASCII, DOT, JSON, or HTML
|
|
72
|
+
|
|
73
|
+
### Adjacent tooling that ships in-box
|
|
74
|
+
|
|
75
|
+
- **`vis catalog check / update`** — pnpm + bun workspace catalog management
|
|
76
|
+
- **`vis secrets`** — Rust-native secret scanning (gitleaks detection engine)
|
|
77
|
+
- **`vis audit`** — OSV.dev vulnerability scanning
|
|
78
|
+
- **`vis docker scaffold`** — lockfile pruning for pnpm / npm / yarn classic + berry / bun, matching turbo's killer Docker-cache feature
|
|
79
|
+
- **`vis hook install / migrate`** — git hooks (husky migration supported)
|
|
80
|
+
- **`vis staged`** — built-in `lint-staged` replacement, no peer dependency
|
|
81
|
+
- **`vis migrate gitleaks|secretlint`** — incremental migration paths
|
|
82
|
+
- **`vis replay <runId>`** — re-render any past run summary without re-execution
|
|
83
|
+
|
|
84
|
+
### Toolchain & runtime
|
|
85
|
+
|
|
86
|
+
- **Pluggable installer** — defaults to the lockfile-detected PM (pnpm/npm/yarn/bun); auto-uses [aube](https://github.com/endevco/aube) when on `PATH`, with a single switch (`install.backend` / `--installer` / `--no-aube`) to pin or bypass it
|
|
87
|
+
- **Cold-start one-liner** — `curl -fsSL https://visulima.com/install.sh | bash` (Linux/macOS/WSL) or PowerShell equivalent installs a version manager, Node LTS, and `vis`
|
|
88
|
+
- **`vis toolchain`** — delegates to proto / mise / fnm / volta
|
|
89
|
+
- **Built on Cerebro** — robust CLI with built-in help, version, and shell completion
|
|
90
|
+
|
|
91
|
+
> **New to vis?** See [Why vis vs. Vite Task / Turbo / Nx / moon](./docs/guides/why-vis.mdx) for the side-by-side capability matrix.
|
|
52
92
|
|
|
53
93
|
## Install
|
|
54
94
|
|
|
@@ -366,19 +406,19 @@ If you would like to help take a look at the [list of issues](https://github.com
|
|
|
366
406
|
|
|
367
407
|
`vis migrate` ports configuration, scripts, and hooks from the following projects. Huge thanks to their authors and maintainers for the prior art that shaped vis's surface area.
|
|
368
408
|
|
|
369
|
-
| Project
|
|
370
|
-
|
|
|
371
|
-
| [Husky](https://github.com/typicode/husky)
|
|
372
|
-
| [lint-staged](https://github.com/lint-staged/lint-staged)
|
|
373
|
-
| [nano-staged](https://github.com/usmanyunusov/nano-staged)
|
|
374
|
-
| [Turborepo](https://github.com/vercel/turborepo)
|
|
375
|
-
| [Nx](https://github.com/nrwl/nx)
|
|
376
|
-
| [Moon](https://github.com/moonrepo/moon)
|
|
377
|
-
| [Gitleaks](https://github.com/gitleaks/gitleaks)
|
|
378
|
-
| [Kingfisher](https://github.com/mongodb/kingfisher)
|
|
379
|
-
| [Secretlint](https://github.com/secretlint/secretlint)
|
|
380
|
-
| [Syncpack](https://github.com/JamieMason/syncpack)
|
|
381
|
-
| [Sherif](https://github.com/QuiiBz/sherif)
|
|
409
|
+
| Project | Migrates with | Replaces |
|
|
410
|
+
| ---------------------------------------------------------- | ------------------------- | --------------------------- |
|
|
411
|
+
| [Husky](https://github.com/typicode/husky) | `vis hook migrate` | Git hook manager |
|
|
412
|
+
| [lint-staged](https://github.com/lint-staged/lint-staged) | `vis migrate lint-staged` | Pre-commit task runner |
|
|
413
|
+
| [nano-staged](https://github.com/usmanyunusov/nano-staged) | `vis migrate nano-staged` | Pre-commit task runner |
|
|
414
|
+
| [Turborepo](https://github.com/vercel/turborepo) | `vis migrate turborepo` | Monorepo task runner |
|
|
415
|
+
| [Nx](https://github.com/nrwl/nx) | `vis migrate nx` | Monorepo task runner |
|
|
416
|
+
| [Moon](https://github.com/moonrepo/moon) | `vis migrate moon` | Monorepo task runner |
|
|
417
|
+
| [Gitleaks](https://github.com/gitleaks/gitleaks) | `vis migrate gitleaks` | Secret scanner |
|
|
418
|
+
| [Kingfisher](https://github.com/mongodb/kingfisher) | `vis migrate kingfisher` | Secret scanner (MongoDB) |
|
|
419
|
+
| [Secretlint](https://github.com/secretlint/secretlint) | `vis migrate secretlint` | Secret linter |
|
|
420
|
+
| [Syncpack](https://github.com/JamieMason/syncpack) | `vis migrate syncpack` | Workspace dependency policy |
|
|
421
|
+
| [Sherif](https://github.com/QuiiBz/sherif) | `vis migrate sherif` | Monorepo linter |
|
|
382
422
|
|
|
383
423
|
## Made with ❤️ at Anolilab
|
|
384
424
|
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { TargetConfiguration, TaskResult, Task, ConstraintsConfig, NamedInputs, TaskRunnerOptions } from '@visulima/task-runner';
|
|
1
|
+
import { TargetConfiguration, TaskResult, Task, FingerprintContributor, ConstraintsConfig, NamedInputs, TaskRunnerOptions } from '@visulima/task-runner';
|
|
2
|
+
export { type FingerprintContributor } from '@visulima/task-runner';
|
|
2
3
|
import { Hookable } from 'hookable';
|
|
3
4
|
/**
|
|
4
5
|
* One family of upstream-coupled packages.
|
|
@@ -109,6 +110,40 @@ interface ServiceConfig {
|
|
|
109
110
|
};
|
|
110
111
|
}
|
|
111
112
|
/**
|
|
113
|
+
* Persisted registry entry. One JSON file per running service in
|
|
114
|
+
* `~/.vis-services/<workspaceHash>/<slug>.json`.
|
|
115
|
+
*/
|
|
116
|
+
interface ServiceEntry {
|
|
117
|
+
/** Resolved command actually spawned. Used for stale-PID detection. */
|
|
118
|
+
command: string;
|
|
119
|
+
/** Service config captured at start time. */
|
|
120
|
+
config: ServiceConfig;
|
|
121
|
+
cwd: string;
|
|
122
|
+
/**
|
|
123
|
+
* Env vars to forward to dependents. Resolved at start time —
|
|
124
|
+
* defaults to `config.env`, but a future `--env-from` flag could
|
|
125
|
+
* extend this without touching the registry consumer.
|
|
126
|
+
*/
|
|
127
|
+
env: Record<string, string>;
|
|
128
|
+
/** Target id, e.g. `apps/api:db`. */
|
|
129
|
+
id: string;
|
|
130
|
+
/** Absolute path to the captured stdout/stderr log file. */
|
|
131
|
+
logFile: string;
|
|
132
|
+
pid: number;
|
|
133
|
+
/**
|
|
134
|
+
* Filesystem-safe slug of `id`. `apps/api:db` → `apps_api__db`.
|
|
135
|
+
* Used as the entry's filename so registry reads can map slug → entry.
|
|
136
|
+
*/
|
|
137
|
+
slug: string;
|
|
138
|
+
/** ISO 8601 timestamp of when the service was started. */
|
|
139
|
+
startedAt: string;
|
|
140
|
+
/**
|
|
141
|
+
* vis version that started this service. Auto-attach refuses entries
|
|
142
|
+
* from a mismatched version — protects against schema drift.
|
|
143
|
+
*/
|
|
144
|
+
visVersion: string;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
112
147
|
* Semantic classification for a target.
|
|
113
148
|
* - `build`: Generates one or more artifacts; cached by default.
|
|
114
149
|
* - `test`: Validation task (lint, typecheck, unit test). Default type.
|
|
@@ -381,6 +416,26 @@ interface VisHooks {
|
|
|
381
416
|
workspaceRoot: string;
|
|
382
417
|
}) => Promise<void> | void;
|
|
383
418
|
/**
|
|
419
|
+
* Fired after `vis run` auto-attaches to one or more registered
|
|
420
|
+
* services. `taskIds` lists the in-graph dependents that consumed
|
|
421
|
+
* the service's `env` block; an empty array means the service was
|
|
422
|
+
* registered but no kept task depended on it.
|
|
423
|
+
*/
|
|
424
|
+
"service:attach": (entry: ServiceEntry, taskIds: ReadonlyArray<string>) => Promise<void> | void;
|
|
425
|
+
/**
|
|
426
|
+
* Fired after a service is registered and its readiness probe
|
|
427
|
+
* succeeds. Sourced from both `vis service start` (and `restart`'s
|
|
428
|
+
* post-start phase) and any future programmatic call sites.
|
|
429
|
+
*/
|
|
430
|
+
"service:start": (entry: ServiceEntry) => Promise<void> | void;
|
|
431
|
+
/**
|
|
432
|
+
* Fired after a registered service is stopped (SIGTERM/SIGKILL
|
|
433
|
+
* acknowledged, registry entry deleted). Not fired when stop is
|
|
434
|
+
* called against an unknown id — only when there was an alive
|
|
435
|
+
* entry to terminate.
|
|
436
|
+
*/
|
|
437
|
+
"service:stop": (entry: ServiceEntry) => Promise<void> | void;
|
|
438
|
+
/**
|
|
384
439
|
* Fired after a task completes (success, failure, or cache hit).
|
|
385
440
|
* Receives the final {@link TaskResult}.
|
|
386
441
|
*/
|
|
@@ -400,6 +455,30 @@ interface VisHooks {
|
|
|
400
455
|
/** Fired when a task exits non-zero. */
|
|
401
456
|
"task:failure": (task: Task, result: TaskResult) => Promise<void> | void;
|
|
402
457
|
/**
|
|
458
|
+
* Fired during fingerprint construction, after built-in inputs are
|
|
459
|
+
* gathered and before the hash is sealed. Plugins call
|
|
460
|
+
* `contributor.contribute(key, value)` to mix arbitrary strings
|
|
461
|
+
* into the task hash — the hasher namespaces and sorts contributions
|
|
462
|
+
* deterministically so call order doesn't change the result.
|
|
463
|
+
*
|
|
464
|
+
* Throwing aborts hashing for the offending task and surfaces as a
|
|
465
|
+
* task failure before any cache lookup runs. Use this to guarantee
|
|
466
|
+
* a buggy plugin can't quietly poison cache state.
|
|
467
|
+
*/
|
|
468
|
+
"task:fingerprint": (task: Task, contributor: FingerprintContributor) => Promise<void> | void;
|
|
469
|
+
/**
|
|
470
|
+
* Fired right before a failed task is re-spawned by the retry
|
|
471
|
+
* controller. `attempt` is 1-indexed and counts the retry that's
|
|
472
|
+
* about to start (so the original failed run was attempt 0).
|
|
473
|
+
* `prevExitCode` is the failing exit status that triggered the
|
|
474
|
+
* retry (the full TaskResult isn't materialized at the retry
|
|
475
|
+
* boundary — only the per-attempt close event is available).
|
|
476
|
+
*
|
|
477
|
+
* Throwing aborts the retry; the previous failure becomes the final
|
|
478
|
+
* result.
|
|
479
|
+
*/
|
|
480
|
+
"task:retry": (task: Task, attempt: number, prevExitCode: number) => Promise<void> | void;
|
|
481
|
+
/**
|
|
403
482
|
* Fired with a stderr chunk as a running task emits it. Plugins
|
|
404
483
|
* that ship logs live (Slack, Datadog) should prefer this over
|
|
405
484
|
* `task:after` so they don't wait for the full buffer.
|
|
@@ -840,6 +919,27 @@ interface VisConfig {
|
|
|
840
919
|
corepack?: "auto" | boolean;
|
|
841
920
|
};
|
|
842
921
|
/**
|
|
922
|
+
* `vis-mcp` promotion notice shown after successful commands when an
|
|
923
|
+
* AI CLI (Claude Code, Cursor, Windsurf, Continue, Zed, Cline) is
|
|
924
|
+
* installed but `@visulima/vis-mcp` is not wired into its config.
|
|
925
|
+
*
|
|
926
|
+
* Shown at most once every 14 days; skipped in CI, non-TTY shells,
|
|
927
|
+
* during `--help`/`--version`/`ai`/`mcp` invocations, and when
|
|
928
|
+
* `VIS_NO_MCP_PROMOTE=1` is set. Set `enabled: false` to silence
|
|
929
|
+
* permanently for this workspace.
|
|
930
|
+
* @example
|
|
931
|
+
* ```
|
|
932
|
+
* mcpPromote: { enabled: false }
|
|
933
|
+
* ```
|
|
934
|
+
*/
|
|
935
|
+
mcpPromote?: {
|
|
936
|
+
/**
|
|
937
|
+
* Show the vis-mcp promotion notice on successful command completion.
|
|
938
|
+
* @default true
|
|
939
|
+
*/
|
|
940
|
+
enabled?: boolean;
|
|
941
|
+
};
|
|
942
|
+
/**
|
|
843
943
|
* Named input patterns inherited by every project target. Equivalent
|
|
844
944
|
* to task-runner's `namedInputs` but configurable from the vis config.
|
|
845
945
|
*/
|
|
@@ -1155,10 +1255,33 @@ interface VisConfig {
|
|
|
1155
1255
|
};
|
|
1156
1256
|
/**
|
|
1157
1257
|
* Behavior of `vis run` when invoked tasks declare service dependencies
|
|
1158
|
-
* that aren't running in the workspace registry. CLI `--services
|
|
1258
|
+
* that aren't running in the workspace registry. CLI `--services=<mode>`
|
|
1159
1259
|
* overrides this block.
|
|
1160
1260
|
*/
|
|
1161
1261
|
run?: {
|
|
1262
|
+
/**
|
|
1263
|
+
* Wrap each task's CI log block in collapsible groups so users
|
|
1264
|
+
* can fold/unfold per-task output in the host CI's web UI.
|
|
1265
|
+
* Failed tasks always render expanded so the failure is visible
|
|
1266
|
+
* without an extra click.
|
|
1267
|
+
*
|
|
1268
|
+
* - `auto` (default): pick the format from the detected runner —
|
|
1269
|
+
* `GITHUB_ACTIONS=true` → `github` (`::group::`),
|
|
1270
|
+
* `GITLAB_CI=true` → `gitlab` (`section_start:` ANSI sequences),
|
|
1271
|
+
* `BUILDKITE=true` → `buildkite` (`---` collapsed headers),
|
|
1272
|
+
* `TF_BUILD=True` → `azure` (`##[group]`),
|
|
1273
|
+
* no grouping otherwise.
|
|
1274
|
+
* - `off`: never group (raw separators only — useful when
|
|
1275
|
+
* piping through tools that mangle the directives).
|
|
1276
|
+
* - `azure` / `buildkite` / `github` / `gitlab`: force the format
|
|
1277
|
+
* regardless of detected environment (useful for self-hosted
|
|
1278
|
+
* runners that don't set the standard env vars).
|
|
1279
|
+
*
|
|
1280
|
+
* CircleCI is intentionally not auto-detected: its 2.0+ format
|
|
1281
|
+
* has no inline grouping directive — steps auto-group in the
|
|
1282
|
+
* web UI without any markup from the runner.
|
|
1283
|
+
*/
|
|
1284
|
+
ciGrouping?: "auto" | "azure" | "buildkite" | "github" | "gitlab" | "off";
|
|
1162
1285
|
/**
|
|
1163
1286
|
* One knob controlling auto-start of missing service deps.
|
|
1164
1287
|
* - `auto` (default in TTY): pick by task — `dev` → ephemeral,
|