Find and resume Codex CLI and Claude Code sessions. Try task handoff between Codex sessions.
中文文档 · CLI guide · Desktop observer · MIT license
Use the CLI to find a past session by project, title, or tag and pick up where you left off. The experimental Session Mesh lets Codex sessions hand off a task with selected context and acceptance criteria, then review the result. It does not merge full chat histories.
How shared context works, implementation boundaries, and development timeline · Local collaboration artifacts date to September 2026; the public source release followed in November.
Download the DDK CLI for macOS or Linux. No Go toolchain is needed for these archives. Extract the archive and run ./ddk --help. The download is CLI-only; Session Mesh setup is separate.
To manage real sessions, install the codex or claude CLI you want to use. To build DDK from source, use Go 1.23.7 or newer.
git clone https://github.com/qdxiao/ddk.git
cd ddk
go build -o ddk .
./ddk --helpInstall the published CLI:
go install github.com/qdxiao/ddk@latest
ddk sync
ddk list
ddk lastsync imports session metadata from your installed tools. list searches and selects sessions; last resumes recent work. See the full command guide for favorites, workflow status, project grouping, archive, and metadata export/import.
The bundled Codex plugin lets sessions in the same partition publish expertise profiles, delegate bounded tasks, submit results, and request review. Codex App sidebar sections define partition membership; sessions outside a custom section remain private. Capability checks and partition checks guard discovery and task operations.
ddk install codexddk install codex currently supports macOS only. It installs the local plugin and registers a background LaunchAgent. Linux CLI downloads support session management, but this command does not install Session Mesh on Linux. Review the plugin hooks in Codex before use. See installation and lifecycle details.
For a concrete example, one Codex session can hand a transaction-design review to another session in the same partition. The reviewer gets the objective and the context the sender chooses to provide. The sender can ask for verification evidence before accepting the result.
To exercise the handoff, revision, and acceptance against the local MCP implementation, run this from a source checkout. It uses temporary data and does not install hooks or start Codex App:
go test ./internal/mcp -run '^TestDelegateSubmitReviewAndAcceptThroughMCP$' -vThe optional Wails desktop app observes task topology and events. It is not a task coordinator. Desktop builds need Node.js, npm, Wails v2, and platform build prerequisites; see its README.
Basic session management stores local metadata, rather than model login credentials or complete chat transcripts. Mesh task records can include the task input and result supplied by participating sessions. Treat your ddk data directory as private.
Codex App integration depends on evolving CLI/App interfaces. Session Mesh is experimental; report your tool versions and a minimal reproducer when filing an issue.
go test ./...
go vet ./...The desktop frontend and desktop Go module have separate build/test requirements. Root module tests do not validate desktop packaging.