OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Cooberped/dsh-evidence
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Attach files in DeepSeek Harness and let the model actually read them.
Upload files or a whole folder from the Web composer. Parsing and indexing stay on your machine. The model searches for compact evidence and expands only the exact page, slide, line range or spreadsheet range it needs — instead of pasting whole documents into the prompt or shelling out to Python. Raster images stay on Harness' native vision path.
[!IMPORTANT] Public npm beta. Install
@baseland/dsh-evidence@beta. The published build is0.6.0-beta.4. Prefer@betafor this pre-release.lateststill names the first published version,0.6.0-beta.1, because this prerelease does not move it. That is not a stable release.The GitHub repository stays at Cooberped/dsh-evidence. The npm package is
@baseland/dsh-evidencebecause the npm organization@cooberpedcould not be claimed.
That way, a file becomes evidence you can locate and read back on demand, instead of pasting the whole document into the prompt.
You need the DeepSeek Harness CLI with the web profile and Node.js >=22.13.0. A source install also needs pnpm on PATH. Everyday use is still checked against npm @deepseek-ai/dsh@0.1.7-rc.2. The package also declares engines.dsh as >=0.1.7-rc.2 <0.3.0, so a 0.2.x host below 0.3.0 can install it as well.
Harness 0.1.7-rc.2 is the floor. The upload control still uses the …Regular icon names. Those names are exported by @deepseek-ai/dsh-client-ui-primitives@0.2.1-rc.2, and the composer slots conversation.input.left and conversation.input.dock are still present in the 0.2.0-rc.2 and 0.2.1-rc.2 conversation client. On 0.1.6 and earlier the icons do not match. This repository has no release tag for those older versions; if you still need ≤ 0.1.6, use the code from before the icon change, or upstream taxueseek/dsh-files.
dsh plugin --profile web add @baseland/dsh-evidence@beta
dsh --profile web --dump-config # confirm the bundle layer is present
dsh web # restart
Prefer @beta. It names this pre-release, 0.6.0-beta.4. A bare @baseland/dsh-evidence follows latest, which still names 0.6.0-beta.1. That was the first version on npm. The registry keeps a latest tag, and publishing this beta with the beta tag does not move it. When a stable version is published, latest should move to it. @beta keeps tracking the pre-release.
Release notes: v0.6.0-beta.4. That is the build @beta installs. It updates the runtime dependencies: read-excel-file 9.3.10 → 9.3.12, which fixes a crash on spreadsheets whose <sheetData/> element comes late in the sheet XML; pdfjs-dist 6.3.289 → 6.4.299; and the optional @napi-rs/canvas that pdfjs-dist pulls in, 1.0.8 → 1.0.10. It still includes the upload fixes that were not in 0.6.0-beta.1: chips for the second and later files in a batch land in the right place, a long Chinese text file is still recognized when the first slice ends in the middle of a character, and a confirmed text card shows its own short extension (.md as MD) instead of TXT. The devDependency @types/node also moved from 26.6.3 to 26.6.5 in the lockfile.
dsh plugin add forwards the rest of the command to pnpm inside the profile, which is the install path in the Harness bundle publishing guide. If your npm client uses a China mirror (for example npmmirror) and the package is missing, point this one command at the public registry:
dsh plugin --profile web add @baseland/dsh-evidence@beta --registry https://registry.npmjs.org/
Remove it with dsh plugin --profile web remove @baseland/dsh-evidence.
Profile and plugin setup follows the official Harness plugin reference and the same publishing guide.
git clone https://github.com/Cooberped/dsh-evidence.git
cd dsh-evidence
pnpm install --frozen-lockfile
pnpm build
dsh plugin --profile web add . # link this checkout into the web profile
dsh --profile web --dump-config # confirm the bundle layer is present
dsh web # restart
The install is a link to this checkout: after pulling updates, re-run pnpm install --frozen-lockfile && pnpm build and restart. Remove it with dsh plugin --profile web remove @baseland/dsh-evidence.
AI-readable.Prompts that work well:
Index these three files first. Do not summarize them yet.
Across these files, find the definition and formula for the Q3 retention metric.
Give the source file and exact page, slide, line range, or Sheet!Range for every claim.
Compare the meeting decision with the workbook target.
If the documents do not contain enough evidence, say what is missing instead of guessing.
search_documents |
read_document |
|
|---|---|---|
| Use it to | find where the answer is | read what is at a place |
| Key inputs | file_paths, optional short query |
file_path + coordinate/version, or offset/limit, or sheet/cell_range/list_sheets |
No query |
indexes changed content and returns a compact inventory — good for "read these first" | — |
| Returns | ranked evidence blocks, each with path, format, text, coordinate and version |
a paged window of the document, or one coordinate expanded exactly |
Two rules hold the loop together:
coordinate makes version mandatory, and it is checked before any content is returned. Edit the file and the old coordinate fails loudly instead of quietly reading the wrong lines.| Input | Text extracted locally | Stable coordinate | Current boundary |
|---|---|---|---|
| Text | UTF-8, UTF-16 BOM, high-confidence BOM-less UTF-16, GB18030 | line:S-E, optional chars:S-E |
Other encodings and binary files are rejected |
| Text-layer extraction, page-preserving | page:N, optional local line/character range |
No OCR for scanned or image-only pages | |
| DOCX | Body, paragraphs, tables, headers, footers, footnotes, endnotes | line:S-E, optional chars:S-E |
No image OCR; not a pixel-faithful Word renderer |
| XLSX | Sheet inventory, cell values, ranges, row/column coordinates | quoted Sheet!A1:F40 |
No formula calculation, chart/shape interpretation, or macro execution |
| PPTX | Slide-order DrawingML text and speaker notes | slide:N, optional local line/character range |
No slide-image OCR, chart data, SmartArt, animation, or embedded objects |
| JPEG/PNG/WebP/GIF | Native Harness image attachment | Harness attachment identity | Needs a vision-capable model; not parsed by read_document |
The format is decided from the bytes, never the extension — an executable renamed to .pdf is rejected. Long output is paged and character-bounded, and every truncation is visible.
Composer and upload
DataTransfer.items and DataTransfer.files, so a mixed batch is not silently reduced to the first recognized file.4); one failure does not cancel the batch.uploading / AI-readable / failed states.@ candidates cover uploaded and workspace files, and are shown as workspace-relative paths rather than host absolute paths.Local retrieval
流程绩效 does not match a block containing only 绩效流程. Single characters use a bounded substring fallback; ASCII tokens such as Q3 stay whole.Exact document reads
Native vision handoff
image_url path.The bundle ships conservative defaults in cordis.patch.yml. Harness applies user profile overlays after bundle layers, so inspect the composed result before boot:
dsh --profile web --dump-config
| Setting | Default | Meaning |
|---|---|---|
maxFileBytes |
24 MiB | Maximum bytes for one document read |
uploadMaxBytes |
24 MiB | Maximum bytes for one upload body |
maxUploadBytesPerSession |
512 MiB | Session upload quota; 0 explicitly disables it |
readLimit |
2,000 in the bundled patch; schema fallback 800 | Maximum lines returned by one read_document call |
maxOutputChars |
24,000 | Base character window; narrative formats get smaller format-specific windows |
maxConcurrentUploads |
4 | Admitted upload bodies |
uploadTtlMs |
7 days | Uploaded-file retention |
retrievalEnabled |
true |
Enables search_documents; read_document remains available when false |
retrievalMaxFiles / retrievalMaxResults |
12 / 12 | Files per search call / evidence blocks returned |
retrievalQueryLogEnabled |
false |
Persist normalized model queries for local tuning |
trustedHosts |
[] |
Additional reverse-proxy authorities; empty means loopback only |
Less common settings and their authoritative defaults live in src/index.ts. An explicit retrievalIndexDir must be an absolute private path; ~ is not expanded.
Runtime backend. The package requires Node.js >=22.13.0 (what pdfjs-dist requires), and Node 20 reached end of life on 2026-04-30. A persistent retrieval index also needs the runtime to provide node:sqlite with FTS5 compiled in. When the startup probe finds either missing, the complete but process-local JS backend takes over. The fallback is supported and reported in tool output.
ctx.fs; when a session cwd exists, the target must stay inside the active session workspace.trustedHosts exists only for a deployment-controlled reverse proxy.
trustedHostsis not authentication. The current Harness WebServer plugin conventions cannot prove that a supplied session ID belongs to the caller. Do not expose this plugin as an unauthenticated public multi-tenant upload service. Use loopback-only self-hosting, or an authenticated proxy that also constrains session access.
| Store | Default | Contains | Lifecycle |
|---|---|---|---|
| Uploads | <session-workspace>/.dsh-filess/<storageKey>/ |
Uploaded file bytes | Per-session quota, SHA-256 dedup, default 7-day TTL sweep |
| Retrieval index | $DSH_HOME/dsh-files/index |
Index contents for search, coordinates, versions; queries only when explicitly enabled | Private permissions, document/query TTL, JS memory fallback when persistence is unavailable |
| Project | Public source beta, independently maintained by Cooberped |
| Currently tested against | npm @deepseek-ai/dsh@0.1.7-rc.2 with the web profile |
| Minimum version | 0.1.7-rc.2 or higher, below 0.3.0. On 0.1.6 and earlier, the upload icons do not match. To run an older Harness, use the code from before that change, or upstream taxueseek/dsh-files. There is no release tag for those older versions |
| Tested with | OpenCode Go — DeepSeek V4 Flash |
| npm | Public beta @baseland/dsh-evidence@0.6.0-beta.4 (GitHub pre-release v0.6.0-beta.4). Install with @beta. latest stays on 0.6.0-beta.1, the first version npm published; this prerelease does not move it, and that is not a stable release. GitHub remains Cooberped. The npm scope is baseland because the organization @cooberped could not be claimed |
| Compatibility | engines.dsh is >=0.1.7-rc.2 <0.3.0. The @deepseek-ai/dsh-* peers use that same range, except @deepseek-ai/dsh-client-runtime, which is >=0.1.1-rc.2 <0.3.0 because npm never published a newer copy. Harness 0.2.1 reads engines.dsh and ignores those peers. 0.1.7-rc.2 and 0.2.0-rc.2 still judge the peers. That is an install declaration; a full 0.2 session has not been re-checked here |
This is not an official DeepSeek plugin and is not affiliated with or endorsed by DeepSeek.
This repository retains the MIT-licensed git history of taxueseek/dsh-files, including attribution and the MIT notice, and is maintained independently (it has left the GitHub fork network). It is not a clean-room rewrite.
Do not install dsh-files and @baseland/dsh-evidence in the same profile. Both register the cordis row id files-toolkit.
Beyond upstream upload and read_document, this repository adds local private retrieval (search_documents), version-checked coordinates, stronger upload/path/OOXML bounds, PPTX text and speaker notes, CJK-aware retrieval, and community release and governance.
pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm benchmark:retrieval
pnpm license:check
pnpm package:check
pnpm release:check # everything above, for a final candidate
release:check covers type checking, both bundles, focused regression tests, dual-backend retrieval correctness, license policy, and the package publish requirements. The benchmark uses deterministic synthetic PDF/DOCX/XLSX/PPTX fixtures — real business documents, answer sets and model outputs stay outside the repository (see benchmark/README.md).
Issues and pull requests are welcome. Contributions are reviewed and merged by maintainers after required checks; GitHub does not merge community code automatically.
Fixes for Harness UI, peer, or upstream API breakage are especially welcome — the 0.1.7 icon rename to …Regular names is one example. See CONTRIBUTING.md.
Before opening a PR: read CONTRIBUTING.md and sign off commits for DCO; add focused tests for behavior changes; run the smallest relevant checks locally; keep real documents, credentials, private paths and model outputs out of Git; and record every new visual asset in assets/README.md.
Security reports follow SECURITY.md. Release ownership and provenance checks are described in RELEASING.md.
Project code and the original SVG documentation graphics are licensed under the MIT License. Upstream history and copyright notices are retained. Dependency and bundled-data notices are in THIRD_PARTY_NOTICES.md.
DeepSeek, DeepSeek Harness, OpenCode Go and other third-party names or marks belong to their respective owners and are used only to identify compatibility or a test target. Asset provenance is recorded in assets/README.md.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: rag。