Skip to content

Releases

v1.3.1 — truthful background watches

Choose a tag to compare

@ironessi ironessi released this 04 Dec 08:20

What broke

A watch created by hand refused to see work that was already running: it silently assumed the process started in the last minute (plus two minutes of grace), so an experiment launched ten minutes earlier never matched and dsh_watch reported "no matching process". At the same time a quiet checkpoint — one that a long step has not touched for a few minutes — was rendered as "files still updating", i.e. as if the work were alive.

What this release changes

  • Manual watches are unbounded. dsh_watch {process:{pid}} now matches a process regardless of when it started; only watches auto-created from a Start-Process / nohup launch keep their launch-time bound. /v1/watches/:id exposes process_since so you can see which kind you have.
  • Three separate facts instead of one guess. process_state (matched / not_found / unavailable / not_configured), per-file progress + changed_since_last_check, and a top-level verdict (alive / active_but_unconfirmed / unconfirmed). The words "stalled" and "likely stopped" are gone; a quiet file says "a silent step or a finished run, not distinguishable from here". A failed process query is called out, not silently treated as "nothing running".
  • Checkpoint progress, not log progress. progress accepts {kind:"lines", skip} (count complete lines of a JSONL checkpoint, skipping metadata rows), {kind:"json_rows", key} (count array entries or a key), or {kind:"regex"}.
  • Encoding-robust tails. Log tails decode from their BOM and a NUL-byte sniff — UTF-16LE, UTF-16BE, UTF-8, GBK, latin1 — and a UTF-16 file with a plain-ASCII tail appended by a second writer (classic Out-File + Add-Content) decodes both halves.
  • PID identity. A pid match also checks the process creation time against the recorded launch (±120 s), so a recycled pid cannot fake liveness.

Upgrading

Re-run install.ps1 for the Codex side and reload the DSH Host plugin (plugin_manager disable→enable include:codex-bridge). No config changes.

Verified

  • npm test — 13/13 (7 MCP protocol + 6 watch semantics)
  • scripts\mcp-smoke.mjs — 13/13
  • scripts\e2e-jobs.mjs — 10/10
  • scripts\e2e-watch-truth.mjs — 7/7 (late manual attach, silent checkpoint, killed process, bogus pid, mixed encoding, cleaned checkpoint, result-file acceptance)

Full Changelog: v1.3.0...v1.3.1

v1.3.0 — background work stays visible

Choose a tag to compare

@ironessi ironessi released this 03 Dec 11:37

v1.3.0 — background work stays visible

A DSH session going idle never means its background work stopped. This release makes the
bridge read DSH's managed job ledger and the job/registered / job/settled session
events, so Codex can answer "is it still running" without watching the desktop app.

New MCP tools

Tool What it does
dsh_jobs managed jobs (live running/stopping, plus finished), per session
dsh_job one job: status, progress, detail, output tail
dsh_job_cancel stop a job
dsh_watch background watch over a file (progress_regex) and/or a process, for work DSH did not wrap in a job

HTTP

GET /v1/jobs, GET /v1/jobs/:id, POST /v1/jobs/:id/cancel, plus GET|POST /v1/watches
and GET|DELETE /v1/watches/:id. /v1/status and dsh_session report the ledger and warn
when a session is idle while its jobs still run.

Verification

  • npm test — 7/7 offline MCP protocol tests
  • scripts/e2e-jobs.mjs — 10/10: a real background job is registered, listed, read,
    cancelled and confirmed killed
  • scripts/mcp-smoke.mjs — 13/13 checks over stdio

v1.1.0 — see every DSH session

Choose a tag to compare

@ironessi ironessi released this 03 Dec 08:58

What changed

Codex could only see progress of tasks it had started itself. This release lets it observe every session inside the DSH host — bridge tasks and sessions you start directly in the DSH desktop app.

Added

  • dsh_sessions — all sessions with title, cwd, live state, turns, tool counts, approvals, last activity (running: true filter, optional event tail).
  • dsh_session — read any session by id, blocking while it runs.
  • dsh_session_events — cheap event tail for progress polling.
  • dsh_cancel_session — cancel the live turn of any session by id.
  • HTTP: GET /v1/sessions, GET /v1/sessions/:id?wait=1, POST /v1/sessions/:id/cancel; /v1/tasks/:id also accepts session-… ids.
  • Finished sessions are hydrated from the DSH session log, so their title and last answer are available after the fact.

Changed

  • dsh_sessions returns all sessions with live state instead of only resumable ids.
  • /v1/status reports observed/running session counts.
  • Cancelling a bridge task by session id now settles it as cancelled.

Upgrade

  1. Reinstall the DSH host plugin (Plugins → update/add dsh-codex-bridge from this repo's dsh-host-plugin).
  2. Re-run install.ps1 to refresh the Codex-side copy to 1.1.0.
  3. Restart Codex Desktop.

v1.0.2

Choose a tag to compare

@ironessi ironessi released this 02 Dec 16:34

Fixed

  • Installer: re-running install.ps1 appended a second copy of the dsh-local,
    codex-dsh-bridge and dsh tables instead of replacing them, leaving Codex with a
    duplicate key / unclosed table error on startup. On Windows PowerShell 5.1 an
    array-building expression collapsed four patterns into one array-valued string, so the
    dedupe filter never matched. The lookup now lives in lib/codex-config.ps1
    (Update-CodexBridgeConfig / Remove-CodexBridgeConfig / Get-CodexBridgeDropPatterns),
    shared by both installers, and tests/install-config.test.ps1 locks the behaviour in.

Added

  • lib/codex-config.ps1 — shared, dependency-free config.toml editor; install/uninstall
    are now idempotent.
  • tests/install-config.test.ps1 — PowerShell 5.1 regression test (dedupe, stale-block
    removal, unrelated settings preserved, no BOM), wired into CI.

Upgrade

Re-run install.ps1 (it is idempotent), then restart Codex Desktop.

v1.0.1

Choose a tag to compare

@ironessi ironessi released this 02 Dec 16:34

Fixed

  • DSH host plugin: a brand-new session id could be mistaken for an existing one
    (sessionPersistence.stat() resolves without a value instead of throwing), which made
    the bridge call ctx.agents.resume() and fail with SessionPersistenceNotFoundError.
    The bridge now falls back to ctx.agents.create().
  • Install scripts: Windows PowerShell 5.1 wrote UTF-8 BOMs and read config.toml
    through the ANSI code page, corrupting non-ASCII paths such as [projects.'C:\Users\…'].
    Both scripts now read/write strict UTF-8 without BOM and keep timestamped backups.

v1.0.0

Choose a tag to compare

@ironessi ironessi released this 02 Dec 16:34

First public release.

What is this?

Two halves that make OpenAI Codex and DeepSeek Harness (DSH) cooperate:

  • dsh-codex-bridge (DSH Host plugin) — a loopback-only HTTP control surface
    (127.0.0.1, bearer token, discovery file %USERPROFILE%\.dsh\codex-bridge.json)
    that creates and resumes real DSH sessions through ctx.agents, tracks turns, tool
    calls and approvals, and exposes /v1/tasks, /v1/tasks/:id/continue,
    /v1/tasks/:id/cancel, /v1/sessions, /v1/status.
  • codex-dsh-bridge (Codex plugin) — portable plugin.json, .codex-plugin/plugin.json
    overlay, mcp.json / .mcp.json, a dsh-tasks skill and a zero-dependency Node stdio
    MCP server exposing dsh_run_task, dsh_send_task, dsh_task, dsh_task_list,
    dsh_continue_task, dsh_cancel_task, dsh_sessions, dsh_status, dsh_health.

Install

  1. DSH: install dsh-host-plugin/ through Plugins → Add plugin (or DSH plugin manager), then restart DSH.
  2. Codex: powershell -ExecutionPolicy Bypass -File .\install.ps1, then restart Codex Desktop.
  3. In Codex: "check the DSH bridge with dsh_status".

Works on Windows out of the box; the bridge is plain Node and runs anywhere DSH runs.