dsh-openai-live: Integrating GPT-Live-1 Full-Duplex Voice into DeepSeek Harness

Preface

DeepSeek Harness (DSH) breaks capabilities into composable plugins, but the official distribution does not include a complete full-duplex voice subsystem. Most existing ecosystem plugins point to the soon-to-be-retired gpt-realtime series, whose endpoints and event vocabulary differ from GPT-Live-1. To achieve real-time voice with “speaking while listening, without interrupting the conversation” inside Harness — and to correctly handle task delegations initiated by the model to the host agent mid-conversation — you need an integration path aligned with gpt-live-1. Below we introduce the positioning and usage of the community plugin dsh-openai-live (maintainer: Travizm, category: model inference).

What Is This

dsh-openai-live is a bundle plugin for DeepSeek Harness: it provides a realtime capability seam, a GPT-Live-1 adapter layer, and a keyless replay backend. The repository README states it is currently in pre-release status — validated against the live API, but not yet published to npm; package.json version is 0.6.11, license MIT.

In one sentence: it connects DSH to GPT-Live-1 — the only full-duplex voice model in the ecosystem still actively maintained — and strictly enforces the protocol boundary of “delegating a task to the host during the conversation, waiting for the answer, then continuing,” refusing to auto-approve delegations that cannot be resolved or that error out.

Architecture: A Seam, Not a Monolith

The project is split into three npm packages, mirroring DSH’s layered approach to ctx.llm; the root package dsh-openai-live mounts the above capabilities via cordis.patch.yml and depends on all three.

Package Role
dsh-realtime Registers the realtime service; manages provider, routing, and session lifecycle. Does not take over turn-taking, endpoint detection, or auto-respond to delegations.
dsh-realtime-openai GPT-Live-1 adaptation: four separated layers — wire types, transport, translation, and session; the translation layer supports pure-function testing against recorded frames.
dsh-realtime-replay Keyless backend: replays recorded sessions using the real adapter and session, enabling consistency validation in CI without credentials, network, or billing.

The README emphasizes: the difficulty lies not only in audio, but in the fact that the model can delegate mid-conversation — throwing a task to the host agent and waiting for an answer without the conversation needing to stop. The envelope format and fail-closed behavior are the core domain of this project.

Core Capabilities and Design Constraints

The following capabilities are listed in the README and backed by tests and documentation (e.g. docs/protocol.md, docs/design.md, etc.).

  1. Fail-closed delegation: delegations that cannot be resolved or that error out are not automatically approved.
  2. Turn boundaries are held by the provider: the seam refuses hand-written VAD; the API has no session.input_audio.commit (server-side vocabulary has been verified).
  3. Credentials as a tested invariant: a missing key reports MISSING_CREDENTIAL; the error message only names the configuration item, never the key value; the Harness can still start when unconfigured, and only fails when opening a session.
  4. Keyless replay: the full session path can be exercised without an API key.
  5. Drift canary: periodically checks for provider schema changes, preferring to surface them as red CI builds rather than on the user side.
  6. Append resolves after provider acknowledgment, correlated by the echoed client_event_id; undocumented echoes fall back to FIFO to avoid promise hangs.
  7. Usage is a cumulative value: consumers should replace, not accumulate; the same value may appear in both session.usage.updated and session.closed.
  8. Disposable registry is provable: child fiber contributions should be observed as removed after the fiber is destroyed.

The repository notes include 168 tests, a 100% per-file coverage gate, and a smoke test of the built artifacts under plain node.

Installation and Activation

Since the plugin has not yet been published to npm, the README gives the post-publication installation method:

dsh plugin --profile <name> add dsh-openai-live      # once published
dsh --profile <name> --dump-config                   # composes?
dsh --profile <name> web

Credentials are provided only via environment variables, as validated configuration fields; the code does not read key files:

export OPENAI_LIVE_API_KEY=…

The profile can be composed without a key: routing is registered, and the failure occurs only when actually opening a session, returning MISSING_CREDENTIAL. This is deliberate — unconfigured machines should be able to start first and then clearly indicate what is missing, rather than crashing during Harness startup.

Runtime (package.json): Node ^22.19.0 || >=24.0.0.

Typical Usage and Documentation

After installing and exporting OPENAI_LIVE_API_KEY, launch entry points such as the Web UI via DSH profiles, and you can use realtime capabilities inside Harness to connect to GPT-Live-1. Protocol details, delegation envelopes, audio formats, and known pitfalls are governed by the repository’s docs/: docs/protocol.md documents the complete client/server vocabulary of GPT-Live-1 over WebSocket; docs/w1-delegation-envelope.md records the empirical results of both delegation modes.

If you need to participate in development or validate the gates locally:

pnpm install
pnpm gate      # build → typecheck → coverage gate → built-artifact smoke
pnpm canary    # live drift check; self-skips when OPENAI_LIVE_API_KEY is absent

Use Cases and Cautions

For whom: those already using or planning to use DSH as an agent host, who need GPT-Live-1 full-duplex voice, and who want to correctly handle delegations from the model to the host during conversations (e.g. tool calls, tasks requiring host adjudication), rather than falling back to the old gpt-realtime stack.

Important notes:

  • The plugin runs with the current DSH process’s permissions; before installing, read the source code and the MIT LICENSE to confirm it meets your security and compliance requirements.
  • Status is pre-release; the install command depends on the npm-published package name dsh-openai-live; do not use installation methods not listed in the README without verifying the source.
  • The community plugin directory entry on SkillHub is an independent site and has no official affiliation with DeepSeek / High-Flyer.
  • The repository does not store any credentials; .gitignore was in place before the first commit, and CI performs secret scanning across the entire history.

Closing

dsh-openai-live fills the gap in DSH for GPT-Live-1 full-duplex voice and the delegation protocol: seam + adaptation + keyless replay, making testable, fail-closed real-time voice integration inside Harness possible.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye