deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English | 中文
Paste or drop a local file into the DeepSeek Harness composer. The plugin inserts a path the agent can open with existing tools. It does not upload file bytes to the model.
| File location | Draft text |
|---|---|
| Inside the current workspace | @docs/spec.pdf |
| Outside the workspace | /Users/you/Downloads/spec.pdf |
| Path hidden by the browser | @.dsh-inbox/spec.pdf (a copy under the workspace) |
| PNG / JPEG / WebP / GIF | First-party image rail, unchanged |
Before a step, the host confirms each @relative path still exists and injects:
<workspace-reference path="docs/spec.pdf" kind="file" />
Absolute paths stay as typed. The plugin does not open the file or send its bytes. The agent reads the path with the session's usual tools and access mode.
Without this plugin, the composer accepts only PNG, JPEG, WebP, and GIF. Other files are rejected as an unsupported image format.
dsh-file-ref adds a path-reference path for those files:
@ that path.@relative mentions before the model step so the agent can open the file with read, the shell, or other tools already in the session.There is no new upload API and no extra model-facing file tool.
Requires the dsh CLI and the web profile.
dsh plugin --profile web add https://github.com/auroralab-art/dsh-file-ref/releases/download/v0.1.0/dsh-file-ref-0.1.0.tgz
Use the same command to update an existing installation. Restart dsh web and hard-refresh the browser so the host and the client both load 0.1.0.
dsh plugin --profile web remove dsh-file-ref
Optional keys go in ~/.dsh/profiles/web/cordis.patch.yml. A later layer replaces the whole config object, so restate every key you set.
- id: dsh-file-ref
config:
inboxDir: .dsh-inbox
maxStageBytes: 20971520
inboxDir — workspace-relative directory for copies when the browser hides the original path. Default .dsh-inbox.maxStageBytes — maximum size of one staged copy. Default 20971520 (20 MiB).@relative. A path outside the workspace is inserted as absolute text.inboxDir and the draft @s that relative path.@relative tokens that still exist inside the workspace.maxStageBytes.read opens UTF-8 text. Other formats use the session's shell or other tools.This plugin is published by Aurora Lab. We are building a set of DeepSeek Harness plugins that extend what DSH can do.
You may download and install this software for personal, non-commercial use. Contact the owner through auroralab-art before any modification or derivative work. Commercial use requires the owner's written consent.
pnpm install
pnpm test
pnpm run build
dsh plugin --profile web add "$PWD"
add "$PWD" links this checkout into the profile. Keep the directory. That is the development path, not the install command for other machines.
The build expects a deepseek-harness checkout at ../../deepseek-harness, or DSH_CHECKOUT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。