gscrpt 3.0.10
dotnet tool install --global gscrpt --version 3.0.10
dotnet new tool-manifest
dotnet tool install --local gscrpt --version 3.0.10
#tool dotnet:?package=gscrpt&version=3.0.10
nuke :add-package gscrpt --version 3.0.10
Self-healing, cross-platform git-push + dev-ops ceremony tool. Content-shape preflight gates (trailing-null, file-size, structured-file parse, markdown shrinkage, leak-check), localmd PAT auth, stale-lock recovery, retry-on-collision, per-step CI watch, post-deploy probes. The C# successor to the gscript PowerShell module.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.10 | 134 | 8/15/2026 |
| 3.0.9 | 88 | 8/15/2026 |
| 3.0.7 | 91 | 8/14/2026 |
| 3.0.6 | 87 | 8/14/2026 |
| 3.0.5 | 92 | 8/14/2026 |
| 3.0.4 | 89 | 8/10/2026 |
| 3.0.2 | 84 | 8/10/2026 |
| 3.0.1 | 87 | 8/10/2026 |
| 3.0.0 | 94 | 8/9/2026 |
| 2.0.0-alpha.25 | 56 | 8/9/2026 |
| 2.0.0-alpha.24 | 52 | 8/9/2026 |
| 2.0.0-alpha.23 | 52 | 8/9/2026 |
| 2.0.0-alpha.22 | 51 | 8/9/2026 |
| 2.0.0-alpha.21 | 54 | 8/9/2026 |
| 2.0.0-alpha.20 | 55 | 8/9/2026 |
| 2.0.0-alpha.19 | 58 | 8/8/2026 |
| 2.0.0-alpha.18 | 63 | 8/2/2026 |
| 2.0.0-alpha.17 | 62 | 8/2/2026 |
| 2.0.0-alpha.14 | 60 | 8/2/2026 |
| 2.0.0-alpha.13 | 58 | 7/31/2026 |
2.0.0-alpha.8 — StructuredFileGate .ps1 gate fix: the pwsh -Command shell-out passed the target path as a trailing process argument, but string -Command does NOT populate $args (trailing args are consumed as command text per about_pwsh) — so ParseFile got $null and EVERY .ps1 failed with 'The file could not be read: Cannot process argument because the value of argument "path" is not valid', healthy or not. The path now travels via the GSCRIPT_PS1_LINT_PATH environment variable (quoting-proof, version-proof) and is rooted via Path.GetFullPath. Latent since alpha.1 (first .ps1 staged via the tool, 2026-07-01; alpha.7 was a same-hour rooted-path misdiagnosis, never published). 2.0.0-alpha.6 — concurrent multi-agent pushes + runner-shared-checkout safety. (1) AUTO-SYNC: when origin/main advanced while you were editing, gscript now auto-fast-forwards your tree IF the incoming commits are disjoint from --files — two agents editing different files integrate automatically instead of the old hard-refuse-then-pull-manually. It refuses only on a real --files overlap (content conflict) or true divergence (local commits ahead too); --no-sync opts out. (2) POST-PUSH TRACKING-REF REFRESH: a PAT-in-URL push doesn't update refs/remotes/origin/main, leaving the 'ahead by N' phantom + a divergence-trap for the next push; gscript now fetches main:refs/remotes/origin/main after a successful push so `git status` is honest (best-effort). (3) LOOSE-FILE GUARD: warns (--require-clean fails) about files modified/untracked OUTSIDE --files, which on a runner-shared checkout (dev clone == Actions runner deploy tree) can block the next deploy's `git pull --ff-only`. Also syncs the --version string (was stale at alpha.4). 2.0.0-alpha.5 — split-aware localmd + smarter size gate (from the 2026-06-22 ApiZone push lessons). PAT + leak-pattern resolution now tolerates the localmd single-file→localmd/-split migration: --localmd (or localmdPath/patFile) pointed at local.md, the private/ root, the localmd/ dir, OR githubPAT.md directly all resolve — the given path is honored first, then the localmd root is searched (localmd/githubPAT.md preferred) for the github_pat_ match; leak patterns are discovered the same way so the '## Leak patterns' section can live in a topic file without silently vacating public-repo leak-checks. File-size gate is now CRLF-normalized (reported working size matches the committed LF blob — no more '5565 vs committed 5454' confusion) and, on a large shrink, distinguishes LIKELY TRUNCATION (ends mid-content / trailing NULs) from a legitimate deletion (clean terminator, no NULs) in its message, with the exact --allow-shrink hint. 2.0.0-alpha.4 — gscript.json gains 'logFile' (+ '--log' flag): appends a markdown push-log entry per successful push (append-only via File.AppendAllText; shared cross-project journal via the repoName token; fires only on success, tags [deploy]/[nodeploy] + the CI verdict/run URL). Adds 'patFile' as an alias for the existing 'localmdPath' field (per-repo PAT/localmd path override for the operator's localmd/ topic-file split; resolution --localmd > localmdPath > patFile > default). Additive + backward-compatible. 2.0.0-alpha.3 — shrink gates gain a per-push escape hatch (--max-shrink-pct N global, --allow-shrink <path> per-file) for legitimate large refactors, and 'gscript push --help' now lists the flag surface. 2.0.0-alpha.2 — CI-watch skip-detect: when the watched workflow is skipped by paths-ignore (no run created), conclude 'skipped' and exit clean within ~90s instead of polling to the timeout. 2.0.0-alpha.1 — C# successor to the gscript PowerShell module: content-shape preflight gates (trailing-null, file-size, structured-file, markdown shrinkage, leak-check), localmd PAT auth, stale-lock recovery, retry-on-collision, per-step CI watch, post-deploy probes, and the comms task-bus command family (post/list/show/approve/reject/run).