deepseek-reaxcode

by lrxzl

1 工具与能力github收录于 08-23

deepseek-harness 的 reaxcode 集成

deepseek-harness reaxcode

安装

dsh plugin --profile web add github:lrxzl/deepseek-reaxcode

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

A lightweight AI programming agent, using the WebUI and CodeAct approach, produces excellent results.

Install

npm install -g reaxcode

Usage

Start HTTP server

reaxcode

Or directly with Node.js:

node server.js

The server will:

  • Serve static files from the dist directory (or web directory as fallback) in the current working directory
  • Provide an API endpoint /api/callNative for file operations and shell commands

SCREEN_SHOOTS

img.png

200w tokens < ¥0.5

img_1.png

API

POST /api/callNative with JSON body:

{
  "methodName": "readLines",
  "args": ["./test.txt", 1, 10],
  "sessionId": "optional-session-id"
}

Available methods: exec, sleep, listFiles, readLines, replaceLines, insertLines, insertAfter, createFile, appendLines, undoEdit.

NodeTools Library

Require the library directly:

const { NodeTools } = require('nexcode/nodeTools');
const tools = new NodeTools();
const result = await tools.readLines('./file.txt', 1, 100);

License

MIT

原始 README: https://github.com/lrxzl/deepseek-reaxcode/blob/main/README.md ↗