@essentialai/cogent-bridge 3.19.0 → 3.19.2

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 CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.19.2 — 2026-08-13
4
+
5
+ ### Fixed — Codex plugin cold-starts instantly (zero-dependency `npx` package)
6
+ - **Follow-up to 3.19.1.** The npx fix in 3.19.1 worked once `npx` was warm, but a **cold** first
7
+ install lacked the cogent tools for ~10 s: `npx @essentialai/cogent-bridge` installs the full
8
+ package's runtime deps (nodemailer, imapflow, ws, MCP SDK…), which can exceed Codex's short
9
+ plugin-MCP startup window on a cold machine. Proven on Mac (`codex plugin add` → first cold session
10
+ `COGENT_TOOL_MISSING`; warm → `OK`).
11
+ - **Fix:** new **zero-dependency** npm package `@essentialai/cogent-bridge-bundled` whose `bin` **is**
12
+ the self-contained bundle (`cogent-bridge.mjs`, all deps inlined by esbuild). `codex-plugin/.mcp.json`
13
+ now runs `npx -y @essentialai/cogent-bridge-bundled@<version>`. With no dependencies to install,
14
+ cold `npx` just fetches one ~250 kB tarball and runs (~2–3 s) → fits Codex's window → cogent tools
15
+ present on the **first** turn, even cold. Kept in lockstep with the bridge by the build
16
+ (`scripts/build-bundle.mjs` copies the bundle into the package) + a release-skill assert.
17
+ - Functionally identical to `@essentialai/cogent-bridge` (same bridge, same version). Claude Code's
18
+ `plugin/.mcp.json` still uses the bundled `${CLAUDE_PLUGIN_ROOT}` form. Bridge `src/` unchanged.
19
+
20
+ ## 3.19.1 — 2026-08-13
21
+
22
+ ### Fixed — Codex plugin now launches the bridge via `npx` (the bundled path never worked on Codex)
23
+ - **The real "codex cogent pain" — `⚠ MCP client for cogent failed to start … connection closed:
24
+ initialize response` — is fixed.** The Codex plugin's `.mcp.json` ran
25
+ `node ${CLAUDE_PLUGIN_ROOT}/bridge/cogent-bridge.mjs`, but **Codex 0.147 does not implement the
26
+ Agent Plugins spec for a plugin-bundled stdio MCP server**: it does not substitute `${PLUGIN_ROOT}`
27
+ in `args`/`cwd`, does not inject `PLUGIN_ROOT`/`PLUGIN_DATA` into the MCP child's env, and does not
28
+ resolve a `./`-command against the plugin root. It passed `${CLAUDE_PLUGIN_ROOT}/…` **literally** as
29
+ a relative arg (joined to the user cwd) → `MODULE_NOT_FOUND` → the server never started. Proven on a
30
+ Mac and on Linux (isolated `CODEX_HOME` trace) — cross-confirmed independently by a Codex-side peer.
31
+ - **Fix:** `codex-plugin/.mcp.json` now uses a **bare command** — `npx -y @essentialai/cogent-bridge@3.19.1`
32
+ — which is spec-conformant and needs no `PLUGIN_ROOT`. Verified on Codex 0.147: warm start → bridge
33
+ ready ~2 s, native `cogent_*` tools available. (Claude Code's `plugin/.mcp.json` keeps the bundled
34
+ `${CLAUDE_PLUGIN_ROOT}` form, which Claude Code expands correctly.)
35
+ - **Bridge `src/` is byte-identical to 3.19.0** — the version bump keeps the plugin-pin lockstep and
36
+ cache-busts the Codex `npx` pull. No relay/wire change.
37
+
3
38
  ## 3.19.0 — 2026-08-13
4
39
 
5
40
  ### Security — a cloud-configured agent that has not joined a channel no longer touches host-global local state
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@essentialai/cogent-bridge",
3
- "version": "3.19.0",
3
+ "version": "3.19.2",
4
4
  "description": "MCP server for inter-Claude-Code session communication bridge",
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.19.0",
6
+ "version": "3.19.2",
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.19.0",
15
+ "version": "3.19.2",
16
16
  "runtimeHint": "npx",
17
17
  "transport": {
18
18
  "type": "stdio"