DeepSeek Harness 插件

dsh-irmia-devkit

Curated Irmia DevKit tools ported to the DeepSeek Harness: safe_edit / safe_rollback / multi_edit / http_get / http_post / code_index / code_explore / code_diff_impact / db_query.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
irmia2026/dsh-irmia-devkit
最近更新
2026年8月18日
分类
插件开发工具
GitHub stars
1
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/irmia2026/dsh-irmia-devkit
插件名:dsh-irmia-devkit
作者:irmia2026

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-irmia-devkit

![npm version](https://www.npmjs.com/package/dsh-irmia-devkit) ![License: AGPL-3.0](LICENSE) ![dsh-plugin](https://github.com/topics/dsh-plugin)

Curated Irmia DevKit tools for DeepSeek Harness (DSH). Nine battle-tested tools ported as-is from Irmia DevKit v2.6.4, covering the gaps the Harness runtime does not ship natively.

Features

GroupToolsWhat they do
Safe editingsafe_edit · safe_rollback · multi_editBackup → edit → syntax gate → auto-rollback on failure. safe_rollback(list=true) lists backups; multi_edit does atomic cross-file batch edits
Networkinghttp_get · http_postSSRF-guarded HTTP (private-network blocking + per-hop redirect re-check)
Code understandingcode_index · code_explore · code_diff_impactSymbol indexing (AST + SQLite + FTS5) with BFS call-graph queries; code_index(status=true) checks index health
Read-only DBdb_querySELECT/PRAGMA whitelist + engine-level mode=ro read-only

Zero third-party Python dependencies — pure standard library (chardet / tree-sitter are optional enhancements with graceful fallback).

Install

Requires Node.js ≥ 18 and python3 (≥ 3.9) on PATH. This package ships as a DSH bundle (dsh.bundle), installed into a profile via dsh plugin:

# From npm (recommended)
npx @deepseek-ai/dsh plugin --profile web add dsh-irmia-devkit

# From GitHub (pin a version)
npx @deepseek-ai/dsh plugin --profile web add github:irmia2026/dsh-irmia-devkit#v0.1.0

Verify the layer landed before launching:

npx @deepseek-ai/dsh --profile web --dump-config   # look for a "# == dsh-irmia-devkit" layer
npx @deepseek-ai/dsh web

Configuration

FieldDefaultDescription
pythonPathpython3Executable used to run the bundled Python tools

How it works

Model → Cordis tool (index.js / src/tools.js)
        │  execFile("python3", python/runner.py <tool> '<json-args>')
        ▼
python/runner.py → python/tools/*.py (DevKit modules, unchanged)
        ▼
JSON result back to the model
  • The JS layer only defines tool schemas and bridges to subprocesses.
  • The Python core comes from irmia_devkit_open v2.6.4, unmodified.
  • Per-tool behavior (arguments, guards, return protocol) is preserved exactly.

Development

node test/smoke.mjs   # requires node_modules with @deepseek-ai/dsh-tools

Repo-internal design docs: docs/COMPARISON.md (DevKit ↔ Harness tool comparison) and docs/PORTING.md (port blueprint).

License

AGPL-3.0. Python tool core © 2026 伊尔弥亚 / irmia2026, from Irmia DevKit, AGPL-3.0. This repository is a derivative work distributed under AGPL-3.0.