@minhpnq1807/contextos 0.5.14 → 0.5.15
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 +5 -0
- package/README.md +2 -0
- package/bin/ctx.js +14 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.15
|
|
4
|
+
|
|
5
|
+
- Replaces the misleading `ctx install --agent codex|claude|agy` usage text with separate commands.
|
|
6
|
+
- Adds a clear CLI error when an install agent value contains shell-choice separators such as `|` or `/`.
|
|
7
|
+
|
|
3
8
|
## 0.5.14
|
|
4
9
|
|
|
5
10
|
- Adds an actual rendered terminal demo GIF generated from `ctx debug` plus a real `codex exec` hook run.
|
package/README.md
CHANGED
|
@@ -440,6 +440,8 @@ This warning comes from a transitive dependency in the local embedding/WASM stac
|
|
|
440
440
|
| `ctx skillshare -- <args>` | Forwards args to the installed `skillshare` CLI. | You need native skillshare commands such as `status`, `target list`, `doctor`, `push`, or `pull`. | Preserves skillshare stdout/stderr and exit status. |
|
|
441
441
|
| `ctx --version` | Prints the installed ContextOS CLI version. | You want to confirm which npm version is being executed. | Prints the version from package metadata. |
|
|
442
442
|
|
|
443
|
+
Do not run `ctx install --agent codex|claude|agy` in a shell. The `|` character is a pipe, so the shell will run `ctx install --agent codex`, pipe its output into `claude`, then pipe that into `agy`. Pick one command per agent instead.
|
|
444
|
+
|
|
443
445
|
## Runtime Files
|
|
444
446
|
|
|
445
447
|
ContextOS writes shared caches to:
|
package/bin/ctx.js
CHANGED
|
@@ -42,7 +42,9 @@ Usage:
|
|
|
42
42
|
ctx install codex
|
|
43
43
|
ctx install claude
|
|
44
44
|
ctx install agy
|
|
45
|
-
ctx install --agent codex
|
|
45
|
+
ctx install --agent codex
|
|
46
|
+
ctx install --agent claude
|
|
47
|
+
ctx install --agent agy
|
|
46
48
|
ctx install --quiet
|
|
47
49
|
ctx install --inject
|
|
48
50
|
ctx install --copy
|
|
@@ -77,6 +79,17 @@ Usage:
|
|
|
77
79
|
|
|
78
80
|
function normalizeInstallAgent(agent) {
|
|
79
81
|
const normalized = String(agent || "").trim().toLowerCase();
|
|
82
|
+
if (/[|/]/.test(normalized)) {
|
|
83
|
+
throw new Error([
|
|
84
|
+
`Invalid agent '${agent}'.`,
|
|
85
|
+
"Install one agent per command:",
|
|
86
|
+
" ctx install --agent codex",
|
|
87
|
+
" ctx install --agent claude",
|
|
88
|
+
" ctx install --agent agy",
|
|
89
|
+
"",
|
|
90
|
+
"Do not run `ctx install --agent codex|claude|agy`: `|` is a shell pipe."
|
|
91
|
+
].join("\n"));
|
|
92
|
+
}
|
|
80
93
|
if (normalized === "antigravity") return "agy";
|
|
81
94
|
return normalized;
|
|
82
95
|
}
|
package/package.json
CHANGED