Ephemeral-AI-Lab/dsh-plugins 预览 preview

Ephemeral-AI-Lab/dsh-plugins

Published plugins install directly into a DSH profile with one command. The examples below target the web profile; replace web with the profile you use.

catalog 简介 / catalog descriptioncatalog description:Make Deepseek Harness Great

项目介绍Project Overview

DSH 插件集合,为 DeepSeek Harness 提供小型化、聚焦的扩展能力,涵盖 Codex 终端、Loop 周期任务、Sessions 会话管理、Mock 确定性测试及 Coding Plan 复用。核心能力是通过 dsh plugin --profile <name> add 一键安装或经 npm 直接引入,扩展示 exec_command、write_stdin、会话闹钟与模型回放等工具。适用于希望增强 DSH 工作流可编程性、复用现有订阅登录或进行本地自动化测试的场景。注意 dsh-mock 仍为不稳定版本,命令、API 与界面在正式发布前可能变动;安装后需重启 DSH 并新建会话以加载插件。

A monorepo of focused DSH plugins that extend DeepSeek Harness with Codex-style terminal execution, session-scoped recurring loops, session inspection tools, deterministic mock model turns, and reusable Codex/Grok coding-plan logins. The core capability is one-command profile installation via dsh plugin --profile <name> add <pkg>, or direct npm install for project-local use, adding exec_command, write_stdin, /loop, /sessions, and /mock commands. Use it to enhance DSH workflows, reuse existing subscriptions, or automate tests. Caveat: dsh-mock is unstable and may change before a stable release, and DSH must be restarted with a fresh session after installation.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add dsh-codex-terminal@0.1.3

Ephemeral-AI-Lab/dsh-plugins 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

🧩 DSH Harness Plugins

Whale Boy icon

Small, focused plugins that make DeepSeek Harness more capable, expressive, and pleasant to use.

MIT License dsh-codex-terminal on npm dsh-loop on npm dsh-mock on npm

Quick start · Packages · Development · Documentation

🧠 Give your DSH sessions better tools, durable workflows, and a cleaner path from idea to execution.

⚡ Quick start

Published plugins install directly into a DSH profile with one command. The examples below target the web profile; replace web with the profile you use.

🐚 Codex Terminal

# With the DSH CLI:
dsh plugin --profile web add dsh-codex-terminal@0.1.3

# Without the `dsh` CLI:
npm install dsh-codex-terminal@0.1.3

🔐 Codex Coding Plan

Reuse an existing file-backed codex login from the DSH Models page:

dsh plugin --profile web add ./coding-plan/codex

# Grok Coding Plan models from the existing `grok login`
dsh plugin --profile web add ./coding-plan/grok

⏰ Loop

# With the DSH CLI:
dsh plugin --profile web add dsh-loop@0.1.3

# Without the `dsh` CLI:
npm install dsh-loop@0.1.3

🧪 Mock — unstable

dsh-mock is published for early testing. Its commands, API, and UI may change before a stable release.

# With the DSH CLI:
dsh plugin --profile web add dsh-mock@0.1.0

# Without the `dsh` CLI:
npm install dsh-mock@0.1.0

🧭 Sessions

Inspect, create, read, and message DSH sessions with the current session tools:

# With the DSH CLI:
dsh plugin --profile web add dsh-sessions@0.1.1

# Without the `dsh` CLI:
npm install dsh-sessions@0.1.1

Restart DSH and create a new session after installing a plugin. If dsh is not on your PATH, run the same command from a DeepSeek Harness source checkout with pnpm dsh instead.

Direct npm installation downloads the package for use by your project. DSH profile installation is still required when you want DSH to load the plugin as part of a profile.

📦 Packages

Package Status What it adds Docs
dsh-codex-coding-plan 🧪 Local · 0.1.0 Reuses a file-backed Codex ChatGPT login through the existing openai-codex pi-ai provider. README
dsh-grok-coding-plan 🧪 Local · 0.1.0 Reuses a file-backed Grok subscription login through the existing xai pi-ai provider. README
dsh-codex-terminal ✅ Published · 0.1.3 Codex-compatible exec_command and write_stdin tools with persistent command sessions. README · npm
dsh-loop ✅ Published · 0.1.3 Session-scoped recurring alarms, loop tools, slash commands, and a web UI. README · npm
dsh-mock ⚠️ Unstable · ✅ Published · 0.1.0 Deterministic mock model turns and replay commands routed through the real DSH AgentLoop and ToolRuntime. README · SPEC · npm
dsh-sessions ✅ Published · 0.1.1 Session discovery, bounded reads, creation, and delivery through session tools and /sessions. README · SPEC · npm

🐚 dsh-codex-terminal

Run shell commands like a Codex-style agent: start long-running processes, poll for output, and send input to persistent sessions. PTY transport is used by default with a configured pipe fallback when PTY allocation is unavailable.

dsh-loop

Create durable, session-local recurring prompts that can be managed through agent tools, /loop commands, and the web UI. Loops resume with the session and keep each alarm independent from the others.

🧪 dsh-mock

Exercise deterministic mock model turns through /mock run and /mock replay while preserving the real DSH AgentLoop, ToolRuntime, policy, and event flow.

⚠️ Unstable: published as dsh-mock@0.1.0 for early testing. The command, API, and UI surface may change before a stable release.

Install it into the DSH web profile with one command:

dsh plugin --profile web add dsh-mock@0.1.0

🛠️ Development

Each plugin is independently installable and testable. For example:

cd loop
pnpm install
pnpm test
pnpm build

The source tree intentionally stays outside the DeepSeek Harness repository; DSH composes plugins through profile-scoped installation and patch layers.

📚 Documentation

Harness architecture and how-to guides

🤝 Contributing

Issues, ideas, and pull requests are welcome. Keep plugins focused, document their runtime contracts, and include tests for changes to tools, persistence, or UI behavior.

📄 License

Released under the MIT License.

上一个 Prev dsh-suite 下一个 Next dsh-codex-connect