OpenHarn is a new interface that integrates the OpenCode engine with the DeepSeek Harness (DSH) web UI. The project uses the @deepseek-ai/dsh package, which relies on the Cordis plugin architecture. The developer created a bridge module that maps OpenCode events to the DSH session log without modifying the original OpenCode source code.
The bridge handles session management by maintaining a JSON file that links DSH session IDs to OpenCode session IDs. It also includes a normalization layer to support different versions of the OpenCode engine. The module is written in 400 lines of code with zero dependencies, communicating via raw HTTP and SSE.
To create a standalone executable, the developer replaced electron-packager with a custom script using robocopy. The application requires a specific Electron version (44.11.5) due to native module runtime restrictions. The final installer was built using Inno Setup 7, which compressed the 1.78 GB distribution to 361 MB.
OpenHarn manages data in the ~/.openharn directory to prevent conflicts with other OpenCode installations. It provides access to a pool of over 55 free models and allows users to add custom providers. The project is available on GitHub, with future plans to implement manual confirmation for tool calls and multi-agent support.




