Credentials. Config files for these clients can contain API keys, so do not paste the file contents into shared chats or tickets.
Who it is forA user of ZCode, DSH (DeepSeek Harness) or WorkBuddy who wants to set up the client from its own config file and revert safely if something breaks.
The problemHand-editing a client config risks overwriting changes made elsewhere or breaking the file with no easy way back.
The outcomeThe client config is updated after validation and backup, and the user knows to restart the client.
What you need first
- A desktop computer running Windows, Linux or macOS
- An API address and API Key from your provider
- Codex or Claude Code installed on the same machine
- For building from source: Node.js 20 or newer, Rust 1.89 or newer, and the platform build tools listed in the README
Steps
- Open Uni Switch and select ZCode, DSH or WorkBuddy.
- Use the one-click setup to write the native config, or open the config file to edit it manually.
- Edit the file in the app and save. The app validates the file and makes a backup first.
- If the file was changed outside the app, review the conflict warning before you confirm an overwrite.
- Restart the client as the app prompts, then check the new settings.
Prompt for your agent
Using the uni-switch project at github.com/dieqiyun/uni-switch, show the current config path for the client <client-name> and the backup location created before any edit. Expected output: the config path and a backup file name. Verify that the backup exists before saving any change.
Caveat. Automatic client restart is available only on Windows, so on macOS and Linux you must restart the client yourself after saving.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for dieqiyun/uni-switch and "Edit ZCode, DSH or WorkBuddy config files with backups"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer