@essentialai/cogent-bridge 3.20.2 → 3.20.4
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 +29 -0
- package/README.md +36 -13
- package/dist/bin/cogent-codex.d.ts +23 -0
- package/dist/bin/cogent-codex.d.ts.map +1 -1
- package/dist/bin/cogent-codex.js +71 -2
- package/dist/bin/cogent-codex.js.map +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.20.4 — 2026-08-23
|
|
4
|
+
|
|
5
|
+
### Added — `cogent-codex` now fully encapsulates `codex` (any command, any arguments)
|
|
6
|
+
- **Every codex command and flag works through `cogent-codex`**, e.g.
|
|
7
|
+
`cogent-codex resume <session-id> --dangerously-bypass-approvals-and-sandbox`,
|
|
8
|
+
`cogent-codex exec "…"`, `cogent-codex login`, `cogent-codex plugin add …`.
|
|
9
|
+
- The real-time wake rail is now applied **only to interactive sessions** (bare
|
|
10
|
+
`cogent-codex`, a prompt, or `resume …`). Headless/utility/server subcommands (`exec`,
|
|
11
|
+
`review`, `login`, `logout`, `mcp`, `plugin`, `mcp-server`, `app-server`, `remote-control`,
|
|
12
|
+
`doctor`, `update`, `completion`, `apply`, `sandbox`, `debug`, `agents`, and session admin)
|
|
13
|
+
are handed to codex **untouched** — previously `--remote`/`-C` were injected in front of
|
|
14
|
+
*every* subcommand, which is meaningless for a headless run and wrong for a server.
|
|
15
|
+
- **`cogent-codex --help` / `--version` no longer start an app-server daemon** — they print
|
|
16
|
+
and exit, as they should.
|
|
17
|
+
- Everything after a `--` separator is treated as your payload, never as a subcommand.
|
|
18
|
+
|
|
19
|
+
## 3.20.3 — 2026-08-20
|
|
20
|
+
|
|
21
|
+
### Fixed — `cogent-codex` ran codex in the WRONG directory (shared-daemon cwd leak)
|
|
22
|
+
- The app-server daemon is a **machine-wide singleton** rooted at whatever directory it
|
|
23
|
+
first started in. A plain `codex --remote` attaches to that daemon and inherits the
|
|
24
|
+
**daemon's** cwd — so launching `cogent-codex` from project B while the daemon started in
|
|
25
|
+
project A ran codex against **project A's files** (wrong, and unsafe).
|
|
26
|
+
- Fix: `cogent-codex` now passes codex's `-C, --cd <DIR>` set to **the directory you launched
|
|
27
|
+
from**, pinning each session's working root correctly regardless of the daemon's cwd. A
|
|
28
|
+
`-C`/`--cd` you supply yourself still wins. Verified end-to-end (launch from `/tmp` → codex
|
|
29
|
+
rooted at `/tmp`, not the daemon's dir).
|
|
30
|
+
- Workaround on older versions: `cogent-codex -C "$(pwd)"`.
|
|
31
|
+
|
|
3
32
|
## 3.20.2 — 2026-08-17
|
|
4
33
|
|
|
5
34
|
### Fixed — Codex real-time wake now works with zero config (auto-detect the app-server rail)
|
package/README.md
CHANGED
|
@@ -28,8 +28,8 @@ codex mcp add cogent \
|
|
|
28
28
|
|
|
29
29
|
> **New Mac?** Install Node from [nodejs.org](https://nodejs.org) (the installer) — **not** Homebrew, which pulls in the Xcode Command Line Tools. The recommended command above needs no git at all.
|
|
30
30
|
|
|
31
|
-
>
|
|
32
|
-
> `
|
|
31
|
+
> **On OpenAI Codex?** See [OpenAI Codex](#openai-codex) below — one command
|
|
32
|
+
> (`curl -fsSL https://cogent.tools/install.sh | sh`) installs everything, including real-time wake.
|
|
33
33
|
|
|
34
34
|
Restart Claude Code. Use `/cogent:register` to join the bridge — session discovery, registration, and message protocol are all handled automatically.
|
|
35
35
|
|
|
@@ -61,6 +61,39 @@ Restart Claude Code in both repos. The bridge tools are now available.
|
|
|
61
61
|
|
|
62
62
|
### OpenAI Codex
|
|
63
63
|
|
|
64
|
+
**Recommended — real-time wake.** A codex agent open in an interactive TUI can't be resumed in real
|
|
65
|
+
time by default (it holds an exclusive thread writer since 0.145), so peer messages queue to its next
|
|
66
|
+
turn. **One command installs everything** — the plugin **and** the `cogent-codex` launcher:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
curl -fsSL https://cogent.tools/install.sh | sh
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Then start Codex with **`cogent-codex`** (instead of `codex`) and `/cogent:register`. `cogent-codex`
|
|
73
|
+
runs Codex under a shared app-server daemon so a peer's message reaches you **mid-session** — the
|
|
74
|
+
bridge auto-detects the rail, **no env var or config needed** (since 3.20.2).
|
|
75
|
+
|
|
76
|
+
**It's a drop-in wrapper — anywhere you'd type `codex`, type `cogent-codex`.** Every command and
|
|
77
|
+
flag is passed through:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
cogent-codex resume <session-id> --dangerously-bypass-approvals-and-sandbox
|
|
81
|
+
cogent-codex --model gpt-5.6 "review this diff"
|
|
82
|
+
cogent-codex exec "run the tests" # headless commands run exactly as plain codex
|
|
83
|
+
cogent-codex login # utility commands too
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Interactive sessions (bare, a prompt, or `resume`) get the real-time wake rail; headless and
|
|
87
|
+
utility subcommands (`exec`, `login`, `plugin`, `mcp`, …) are handed to codex untouched. See
|
|
88
|
+
[docs/codex-realtime-wake.md](docs/codex-realtime-wake.md) for the three rails (auto / app-server / headless).
|
|
89
|
+
|
|
90
|
+
> **Homebrew / nvm Node?** You can instead `npm install -g @essentialai/cogent-bridge` then
|
|
91
|
+
> `cogent-codex`. On **system Node** whose npm global prefix is root-owned (`/usr`), `npm install -g`
|
|
92
|
+
> fails with `EACCES` — use the installer above (it installs into your HOME, no sudo).
|
|
93
|
+
|
|
94
|
+
**Tools only (no real-time launcher).** If you just want the `cogent_*` tools (peers answered at your
|
|
95
|
+
next turn, not in real time), register the MCP server directly — works on all Codex CLI versions:
|
|
96
|
+
|
|
64
97
|
```bash
|
|
65
98
|
codex mcp add cogent \
|
|
66
99
|
--env COGENT_ENDPOINT=https://cogent.tools \
|
|
@@ -68,17 +101,7 @@ codex mcp add cogent \
|
|
|
68
101
|
-- npx -y @essentialai/cogent-bridge
|
|
69
102
|
```
|
|
70
103
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
> If your Codex CLI supports plugins (0.133.0+), you can also use:
|
|
74
|
-
> `codex plugin marketplace add eaisdevelopment/cogent && codex plugin add cogent@cogent`
|
|
75
|
-
|
|
76
|
-
> **Codex real-time replies (0.145+):** a codex agent open in an interactive TUI
|
|
77
|
-
> can't be resumed in real time by default (it holds an exclusive thread writer).
|
|
78
|
-
> To have it answer peers in real time, launch it with `cogent-codex` instead of
|
|
79
|
-
> `codex` and set `COGENT_CODEX_WAKE=app-server`. See
|
|
80
|
-
> [docs/codex-realtime-wake.md](docs/codex-realtime-wake.md) for the three rails
|
|
81
|
-
> (default / app-server / headless).
|
|
104
|
+
…or, on Codex CLI 0.133.0+, the plugin: `codex plugin marketplace add eaisdevelopment/cogent && codex plugin add cogent@cogent`. Then use `cogent_register_peer` (or `/cogent:register`).
|
|
82
105
|
|
|
83
106
|
## Local vs Cloud mode
|
|
84
107
|
|
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/** Whether an ensureDaemon() error is the "managed codex build missing" case. */
|
|
3
3
|
export declare function isManagedCodexMissing(err: unknown): boolean;
|
|
4
|
+
/**
|
|
5
|
+
* Should this invocation get the app-server (real-time wake) rail?
|
|
6
|
+
*
|
|
7
|
+
* `cogent-codex` is a full encapsulation of `codex`: ANY codex command works through it.
|
|
8
|
+
* Only an interactive TUI session benefits from the daemon, so:
|
|
9
|
+
* - `cogent-codex` / `cogent-codex "prompt"` / `cogent-codex resume <id> …` → rail ON
|
|
10
|
+
* - `cogent-codex exec …` / `login` / `plugin add …` / `--help` → passed through as-is,
|
|
11
|
+
* and we do NOT even start the daemon.
|
|
12
|
+
* Everything after a `--` separator is the user's payload, never a subcommand.
|
|
13
|
+
*/
|
|
14
|
+
export declare function wantsDaemonRail(passthrough: string[]): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Build the `codex --remote` argv, pinning the working root to THIS launch directory.
|
|
17
|
+
*
|
|
18
|
+
* WHY (critical): the app-server daemon is a shared, machine-wide singleton rooted at
|
|
19
|
+
* whatever directory it FIRST started in. A plain `codex --remote` TUI inherits the
|
|
20
|
+
* DAEMON's cwd — so launching cogent-codex from project B, while the daemon started in
|
|
21
|
+
* project A, would run codex against project A's files (wrong, and unsafe). codex's
|
|
22
|
+
* global `-C, --cd <DIR>` sets the working root per-session (verified: `--remote -C /x`
|
|
23
|
+
* roots the conversation at /x regardless of the daemon's cwd), so we pin it to the
|
|
24
|
+
* caller's cwd. A user-supplied `-C`/`--cd` always wins (we don't add ours).
|
|
25
|
+
*/
|
|
26
|
+
export declare function buildRemoteArgs(sock: string, passthrough: string[], cwd: string): string[];
|
|
4
27
|
//# sourceMappingURL=cogent-codex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cogent-codex.d.ts","sourceRoot":"","sources":["../../src/bin/cogent-codex.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"cogent-codex.d.ts","sourceRoot":"","sources":["../../src/bin/cogent-codex.ts"],"names":[],"mappings":";AAqEA,iFAAiF;AACjF,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAE3D;AAoDD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,OAAO,CAO9D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAQ1F"}
|
package/dist/bin/cogent-codex.js
CHANGED
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* 1. ensures codex's managed build (the daemon needs it) — installing it on first
|
|
15
15
|
* run with a single Y/n confirmation if it is missing;
|
|
16
16
|
* 2. ensures the app-server daemon (idempotent);
|
|
17
|
-
* 3. execs `codex --remote unix://<sock>` with
|
|
17
|
+
* 3. execs `codex --remote unix://<sock> -C <this dir>` with your args passed through
|
|
18
|
+
* (the `-C` pins the working root to where you launched — the shared daemon's own
|
|
19
|
+
* cwd must never leak in; see buildRemoteArgs).
|
|
18
20
|
* The bridge then AUTO-DETECTS the app-server rail from its process ancestry (in
|
|
19
21
|
* `--remote` mode the daemon, not the codex TUI, spawns the plugin MCP) — so
|
|
20
22
|
* real-time wake needs NO env flag or config. If any of the above can't happen
|
|
@@ -96,6 +98,64 @@ function installManagedCodex() {
|
|
|
96
98
|
log(`managed-codex install did not complete (exit ${res.status ?? "?"}).`);
|
|
97
99
|
return false;
|
|
98
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* codex subcommands that are NOT an interactive TUI session. The app-server rail
|
|
103
|
+
* (`--remote`) exists to make a HUMAN's interactive session answer peers in real time, so
|
|
104
|
+
* these must be handed to codex **untouched**: they are headless (`exec`, `review`),
|
|
105
|
+
* local config/utility (`login`, `mcp`, `plugin`, `doctor`, `update`, `completion`,
|
|
106
|
+
* `apply`, `sandbox`, `debug`, session admin), or a server in their own right
|
|
107
|
+
* (`mcp-server`, `app-server`, `remote-control`) — attaching them to the daemon is at best
|
|
108
|
+
* pointless and at worst wrong. `agents` already talks to the daemon itself.
|
|
109
|
+
* (`resume` is deliberately ABSENT: it opens an interactive TUI, so it SHOULD get the rail.)
|
|
110
|
+
*/
|
|
111
|
+
const NON_TUI_SUBCOMMANDS = new Set([
|
|
112
|
+
"exec", "e", "review", "login", "logout", "mcp", "plugin", "mcp-server", "app-server",
|
|
113
|
+
"remote-control", "completion", "update", "doctor", "sandbox", "debug", "apply", "a",
|
|
114
|
+
"queue", "archive", "delete", "unarchive", "migrate-rollouts", "agents",
|
|
115
|
+
]);
|
|
116
|
+
/** Top-level flags that just print and exit — never worth starting a daemon for. */
|
|
117
|
+
const PRINT_AND_EXIT_FLAGS = new Set(["--help", "-h", "--version", "-V"]);
|
|
118
|
+
/**
|
|
119
|
+
* Should this invocation get the app-server (real-time wake) rail?
|
|
120
|
+
*
|
|
121
|
+
* `cogent-codex` is a full encapsulation of `codex`: ANY codex command works through it.
|
|
122
|
+
* Only an interactive TUI session benefits from the daemon, so:
|
|
123
|
+
* - `cogent-codex` / `cogent-codex "prompt"` / `cogent-codex resume <id> …` → rail ON
|
|
124
|
+
* - `cogent-codex exec …` / `login` / `plugin add …` / `--help` → passed through as-is,
|
|
125
|
+
* and we do NOT even start the daemon.
|
|
126
|
+
* Everything after a `--` separator is the user's payload, never a subcommand.
|
|
127
|
+
*/
|
|
128
|
+
export function wantsDaemonRail(passthrough) {
|
|
129
|
+
for (const a of passthrough) {
|
|
130
|
+
if (a === "--")
|
|
131
|
+
break;
|
|
132
|
+
if (PRINT_AND_EXIT_FLAGS.has(a))
|
|
133
|
+
return false;
|
|
134
|
+
if (!a.startsWith("-") && NON_TUI_SUBCOMMANDS.has(a))
|
|
135
|
+
return false;
|
|
136
|
+
}
|
|
137
|
+
return true;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Build the `codex --remote` argv, pinning the working root to THIS launch directory.
|
|
141
|
+
*
|
|
142
|
+
* WHY (critical): the app-server daemon is a shared, machine-wide singleton rooted at
|
|
143
|
+
* whatever directory it FIRST started in. A plain `codex --remote` TUI inherits the
|
|
144
|
+
* DAEMON's cwd — so launching cogent-codex from project B, while the daemon started in
|
|
145
|
+
* project A, would run codex against project A's files (wrong, and unsafe). codex's
|
|
146
|
+
* global `-C, --cd <DIR>` sets the working root per-session (verified: `--remote -C /x`
|
|
147
|
+
* roots the conversation at /x regardless of the daemon's cwd), so we pin it to the
|
|
148
|
+
* caller's cwd. A user-supplied `-C`/`--cd` always wins (we don't add ours).
|
|
149
|
+
*/
|
|
150
|
+
export function buildRemoteArgs(sock, passthrough, cwd) {
|
|
151
|
+
// Only args BEFORE a `--` are flags; after it they are the user's payload.
|
|
152
|
+
const flags = passthrough.slice(0, passthrough.indexOf("--") === -1 ? undefined : passthrough.indexOf("--"));
|
|
153
|
+
const userSetCwd = flags.some((a) => a === "-C" || a.startsWith("-C") || a === "--cd" || a.startsWith("--cd="));
|
|
154
|
+
const cwdArgs = userSetCwd ? [] : ["-C", cwd];
|
|
155
|
+
// `--remote` + `-C` are global flags and must precede any subcommand (e.g. `resume`),
|
|
156
|
+
// which is why they are prepended rather than appended.
|
|
157
|
+
return ["--remote", `unix://${sock}`, ...cwdArgs, ...passthrough];
|
|
158
|
+
}
|
|
99
159
|
/** Spawn codex with the given args, inherit the terminal, propagate its exit code. */
|
|
100
160
|
function handOff(codexBin, args) {
|
|
101
161
|
const child = spawn(codexBin, args, { stdio: "inherit" });
|
|
@@ -142,11 +202,20 @@ async function main() {
|
|
|
142
202
|
loadConfig(process.env);
|
|
143
203
|
const codexBin = getConfig().COGENT_CODEX_PATH;
|
|
144
204
|
const passthrough = process.argv.slice(2);
|
|
205
|
+
// FULL ENCAPSULATION: any codex command runs through cogent-codex. Non-interactive ones
|
|
206
|
+
// (exec/login/plugin/mcp/--help/…) go straight to codex untouched — no injected flags and
|
|
207
|
+
// no daemon started (starting one just to print --help would be absurd).
|
|
208
|
+
if (!wantsDaemonRail(passthrough)) {
|
|
209
|
+
handOff(codexBin, passthrough);
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
145
212
|
await warnOnServerCollision();
|
|
146
213
|
const sock = await resolveDaemonSock();
|
|
147
214
|
if (sock) {
|
|
148
215
|
log("real-time peer wake ON.");
|
|
149
|
-
|
|
216
|
+
// Pin the working root to THIS dir — the shared daemon's cwd must NOT leak in. See
|
|
217
|
+
// buildRemoteArgs.
|
|
218
|
+
handOff(codexBin, buildRemoteArgs(sock, passthrough, process.cwd()));
|
|
150
219
|
}
|
|
151
220
|
else {
|
|
152
221
|
handOff(codexBin, passthrough);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cogent-codex.js","sourceRoot":"","sources":["../../src/bin/cogent-codex.ts"],"names":[],"mappings":";AACA
|
|
1
|
+
{"version":3,"file":"cogent-codex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AC,CAAC,CAAC;IACvE,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;IACjC,CAAC;AACH,CAAC;AAED,wFAAwF;AACxF,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAC/E,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;QACnB,GAAG,CAAC,UAAU,GAAG,EAAE,OAAO,IAAI,GAAG,EAAE,CAAC,CAAC;QACrC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
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.20.
|
|
6
|
+
"version": "3.20.4",
|
|
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.20.
|
|
15
|
+
"version": "3.20.4",
|
|
16
16
|
"runtimeHint": "npx",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|