@codeledger/cli 0.10.10 → 0.10.11
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/README.md +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,6 +59,24 @@ codeledger help
|
|
|
59
59
|
All arguments, environment variables, stdin, and exit codes pass
|
|
60
60
|
straight through to the hardened binary.
|
|
61
61
|
|
|
62
|
+
## Version parity
|
|
63
|
+
|
|
64
|
+
When you run a globally installed `codeledger` inside a repo that has a
|
|
65
|
+
repo-local CodeLedger (`.codeledger/bin/`), the CLI detects whether the
|
|
66
|
+
running version differs from the repo-local version. If it does:
|
|
67
|
+
|
|
68
|
+
1. A warning is printed to stderr showing both versions.
|
|
69
|
+
2. The CLI automatically re-executes the command via the repo-local
|
|
70
|
+
binary so that command behavior matches what the repo expects.
|
|
71
|
+
|
|
72
|
+
This prevents a stale global install from silently producing different
|
|
73
|
+
results than the repo-local CLI. To avoid the delegation overhead,
|
|
74
|
+
invoke the repo-local wrapper directly:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
./.codeledger/bin/codeledger <command>
|
|
78
|
+
```
|
|
79
|
+
|
|
62
80
|
## Environment variables
|
|
63
81
|
|
|
64
82
|
| Variable | Purpose |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeledger/cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.11",
|
|
4
4
|
"mcpName": "io.github.codeledgerECF/codeledger",
|
|
5
5
|
"description": "Thin npm wrapper that installs the hardened CodeLedger binary from GitHub Releases. Zero engine code ships in this package.",
|
|
6
6
|
"type": "commonjs",
|