@essentialai/cogent-bridge 3.21.2 → 3.21.3
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 +33 -0
- package/package.json +1 -1
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.21.3 — 2026-09-01
|
|
4
|
+
|
|
5
|
+
### Fixed — `add_to_path` silently persisted nothing, stranding `cogent-codex` after a "successful" install
|
|
6
|
+
|
|
7
|
+
A second, independent cause of the same `zsh: command not found: cogent-codex` report. The helper
|
|
8
|
+
looped `.zshrc`/`.bashrc`/`.profile` and returned at the FIRST that existed:
|
|
9
|
+
|
|
10
|
+
1. **Fresh macOS account: none of them exist** (macOS ships no default rc; zsh reads `/etc/zshrc`).
|
|
11
|
+
Every test failed, the loop ended, and the function returned 0 having written **nothing**. The
|
|
12
|
+
in-process `export PATH` still made `command -v cogent-codex` succeed *inside* the installer, so
|
|
13
|
+
it printed "Codex: start with cogent-codex" and "Done." — and the user's next terminal said
|
|
14
|
+
`command not found`. Completely silent.
|
|
15
|
+
2. **First-match-wins ignored `$SHELL`:** a zsh user with a `~/.bashrc` (nvm, conda, pyenv and
|
|
16
|
+
rustup all create one) got the line written where zsh never reads it — plus a confident message
|
|
17
|
+
naming the wrong file, which is worse than no message.
|
|
18
|
+
3. **The append was unguarded under `set -e`:** a read-only `~/.zshrc` (nix home-manager, chezmoi,
|
|
19
|
+
stow, or a root-owned dotfile) aborted the ENTIRE installer at step 1, before either agent
|
|
20
|
+
branch ran — strictly worse than the 3.21.2 bug.
|
|
21
|
+
|
|
22
|
+
Now: the line goes to every rc that exists **and unconditionally to the login shell's rc** (created
|
|
23
|
+
if absent), each write is guarded and idempotent, an unwritable file is a warning rather than a
|
|
24
|
+
death, and if nothing could be persisted the installer says so and prints the exact line to add by
|
|
25
|
+
hand. Both call sites are `|| true` so PATH persistence can never take down a good install.
|
|
26
|
+
|
|
27
|
+
### Added — PATH-persistence cases in the install-matrix gate
|
|
28
|
+
|
|
29
|
+
`scripts/install-matrix-test.mjs` now exercises the rendered `add_to_path` directly against fake
|
|
30
|
+
homes: **no-rc-files**, **bashrc-only-zsh-user**, **readonly-zshrc**, **rerun-idempotent**.
|
|
31
|
+
Mutation-proven: 3 of 4 RED against the 3.21.2 script, all GREEN after the fix. The gate also
|
|
32
|
+
caught an incomplete first attempt at this very fix before it shipped.
|
|
33
|
+
|
|
34
|
+
Found by an adversarial audit of the installer rather than by another user report.
|
|
35
|
+
|
|
3
36
|
## 3.21.2 — 2026-09-01
|
|
4
37
|
|
|
5
38
|
### Fixed — `curl https://cogent.tools/install.sh | sh` died on its FIRST step for many users
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@essentialai/cogent-bridge",
|
|
3
|
-
"version": "3.21.
|
|
3
|
+
"version": "3.21.3",
|
|
4
4
|
"description": "Cogent Bridge — cross-agent comms for Claude Code, OpenAI Codex and Slack. Codex users: install with `curl -fsSL https://cogent.tools/install.sh | sh`, then start with `cogent-codex` for real-time peer wake.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"workspaces": [
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.eaisdevelopment/cogent",
|
|
4
4
|
"title": "Cogent Bridge from Essential AI Solutions (essentialai.uk)",
|
|
5
5
|
"description": "MCP bridge for inter-session communication between Claude Code instances",
|
|
6
|
-
"version": "3.21.
|
|
6
|
+
"version": "3.21.3",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/eaisdevelopment/cogent",
|
|
9
9
|
"source": "github"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "@essentialai/cogent-bridge",
|
|
15
|
-
"version": "3.21.
|
|
15
|
+
"version": "3.21.3",
|
|
16
16
|
"runtimeHint": "npx",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|