Sign In

@codeledger/cli

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codeledger/cli - npm Package Compare versions

Comparing version
0.10.10
to
0.10.11
+1
-1
package.json
{
"name": "@codeledger/cli",
"version": "0.10.10",
"version": "0.10.11",
"mcpName": "io.github.codeledgerECF/codeledger",

@@ -5,0 +5,0 @@ "description": "Thin npm wrapper that installs the hardened CodeLedger binary from GitHub Releases. Zero engine code ships in this package.",

@@ -62,2 +62,20 @@ # @codeledger/cli — CodeLedger by ContextECF

## Version parity
When you run a globally installed `codeledger` inside a repo that has a
repo-local CodeLedger (`.codeledger/bin/`), the CLI detects whether the
running version differs from the repo-local version. If it does:
1. A warning is printed to stderr showing both versions.
2. The CLI automatically re-executes the command via the repo-local
binary so that command behavior matches what the repo expects.
This prevents a stale global install from silently producing different
results than the repo-local CLI. To avoid the delegation overhead,
invoke the repo-local wrapper directly:
```bash
./.codeledger/bin/codeledger <command>
```
## Environment variables

@@ -64,0 +82,0 @@