@essentialai/cogent-bridge 3.20.3 → 3.20.5
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 +48 -0
- package/README.md +14 -1
- package/dist/bin/cogent-codex.d.ts +11 -0
- package/dist/bin/cogent-codex.d.ts.map +1 -1
- package/dist/bin/cogent-codex.js +50 -1
- package/dist/bin/cogent-codex.js.map +1 -1
- package/package.json +2 -2
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.20.5 — 2026-08-28
|
|
4
|
+
|
|
5
|
+
### Fixed — a "meta non-answer" no longer counts as answering a human (COG-20)
|
|
6
|
+
A person asked an agent a question in Slack and received *"Already answered through the
|
|
7
|
+
automatic Slack relay. No duplicate sent."* instead of the answer — twice. Root cause was
|
|
8
|
+
in the `check-on-stop` Stop hook (Claude Code + Codex plugins):
|
|
9
|
+
|
|
10
|
+
- **A recorded FAILURE is never an answer.** When the real-time wake's reply capture fails,
|
|
11
|
+
the bridge records its own fail-loud notice (`success:false`, "Cogent could not capture a
|
|
12
|
+
reply…" / "📨 Queued for…") as a message *from* the agent. The old reply-pairing counted
|
|
13
|
+
that as the answer and went quiet — blinding the hook to exactly the busy-miss it exists
|
|
14
|
+
to catch.
|
|
15
|
+
- **A note *about* answering is not an answer.** New conservative `isMetaNonAnswer()`: a
|
|
16
|
+
short message matching "already answered / no duplicate sent / responded already" no
|
|
17
|
+
longer clears the pending question, so the agent stays prompted until it sends a real
|
|
18
|
+
answer. Deliberately narrow (short text only) — a long answer that merely mentions
|
|
19
|
+
"already answered" is never suppressed.
|
|
20
|
+
- **The prompt wording caused the bug and is rewritten.** It now states plainly that the
|
|
21
|
+
earlier answer was NOT delivered, that re-sending is correct and not a duplicate, and
|
|
22
|
+
demands the ANSWER ITSELF — and the line "Do not repeat work you already did this turn"
|
|
23
|
+
(which pushed the agent into sending the meta-message) is gone.
|
|
24
|
+
|
|
25
|
+
### Added — the Slack round-trip gate (`scripts/slack-roundtrip-test.mjs`)
|
|
26
|
+
COG-20 shipped because only Agent→Agent was gated. Releases now also prove **Agent→Slack**
|
|
27
|
+
and **Slack→Agent** against the live adapter: a real agent message must land in Slack with
|
|
28
|
+
attribution, a human-origin Slack message must produce a substantive, question-specific
|
|
29
|
+
answer (never a meta-message), and that answer must reach Slack. Verdicts are pure and
|
|
30
|
+
unit-tested, reusing the shipped `isMetaNonAnswer()`.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
- npm package description now names Codex and the `cogent-codex` launcher.
|
|
34
|
+
|
|
35
|
+
## 3.20.4 — 2026-08-23
|
|
36
|
+
|
|
37
|
+
### Added — `cogent-codex` now fully encapsulates `codex` (any command, any arguments)
|
|
38
|
+
- **Every codex command and flag works through `cogent-codex`**, e.g.
|
|
39
|
+
`cogent-codex resume <session-id> --dangerously-bypass-approvals-and-sandbox`,
|
|
40
|
+
`cogent-codex exec "…"`, `cogent-codex login`, `cogent-codex plugin add …`.
|
|
41
|
+
- The real-time wake rail is now applied **only to interactive sessions** (bare
|
|
42
|
+
`cogent-codex`, a prompt, or `resume …`). Headless/utility/server subcommands (`exec`,
|
|
43
|
+
`review`, `login`, `logout`, `mcp`, `plugin`, `mcp-server`, `app-server`, `remote-control`,
|
|
44
|
+
`doctor`, `update`, `completion`, `apply`, `sandbox`, `debug`, `agents`, and session admin)
|
|
45
|
+
are handed to codex **untouched** — previously `--remote`/`-C` were injected in front of
|
|
46
|
+
*every* subcommand, which is meaningless for a headless run and wrong for a server.
|
|
47
|
+
- **`cogent-codex --help` / `--version` no longer start an app-server daemon** — they print
|
|
48
|
+
and exit, as they should.
|
|
49
|
+
- Everything after a `--` separator is treated as your payload, never as a subcommand.
|
|
50
|
+
|
|
3
51
|
## 3.20.3 — 2026-08-20
|
|
4
52
|
|
|
5
53
|
### Fixed — `cogent-codex` ran codex in the WRONG directory (shared-daemon cwd leak)
|
package/README.md
CHANGED
|
@@ -71,7 +71,20 @@ curl -fsSL https://cogent.tools/install.sh | sh
|
|
|
71
71
|
|
|
72
72
|
Then start Codex with **`cogent-codex`** (instead of `codex`) and `/cogent:register`. `cogent-codex`
|
|
73
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).
|
|
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
|
|
75
88
|
[docs/codex-realtime-wake.md](docs/codex-realtime-wake.md) for the three rails (auto / app-server / headless).
|
|
76
89
|
|
|
77
90
|
> **Homebrew / nvm Node?** You can instead `npm install -g @essentialai/cogent-bridge` then
|
|
@@ -1,6 +1,17 @@
|
|
|
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;
|
|
4
15
|
/**
|
|
5
16
|
* Build the `codex --remote` argv, pinning the working root to THIS launch directory.
|
|
6
17
|
*
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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
|
@@ -98,6 +98,44 @@ function installManagedCodex() {
|
|
|
98
98
|
log(`managed-codex install did not complete (exit ${res.status ?? "?"}).`);
|
|
99
99
|
return false;
|
|
100
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
|
+
}
|
|
101
139
|
/**
|
|
102
140
|
* Build the `codex --remote` argv, pinning the working root to THIS launch directory.
|
|
103
141
|
*
|
|
@@ -110,8 +148,12 @@ function installManagedCodex() {
|
|
|
110
148
|
* caller's cwd. A user-supplied `-C`/`--cd` always wins (we don't add ours).
|
|
111
149
|
*/
|
|
112
150
|
export function buildRemoteArgs(sock, passthrough, cwd) {
|
|
113
|
-
|
|
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="));
|
|
114
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.
|
|
115
157
|
return ["--remote", `unix://${sock}`, ...cwdArgs, ...passthrough];
|
|
116
158
|
}
|
|
117
159
|
/** Spawn codex with the given args, inherit the terminal, propagate its exit code. */
|
|
@@ -160,6 +202,13 @@ async function main() {
|
|
|
160
202
|
loadConfig(process.env);
|
|
161
203
|
const codexBin = getConfig().COGENT_CODEX_PATH;
|
|
162
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
|
+
}
|
|
163
212
|
await warnOnServerCollision();
|
|
164
213
|
const sock = await resolveDaemonSock();
|
|
165
214
|
if (sock) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cogent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C/B,mFAAmF;QACnF,mBAAmB;QACnB,OAAO,CAAC,QAAQ,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@essentialai/cogent-bridge",
|
|
3
|
-
"version": "3.20.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.20.5",
|
|
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": [
|
|
7
7
|
"cogent",
|
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.5",
|
|
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.5",
|
|
16
16
|
"runtimeHint": "npx",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|