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:TANGBINGBINGING/dsh-session-delete
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness (dsh) plugin for conversation lifecycle management: archive area and trash commands with stable list numbering, keyword filtering and temporary keyword scopes.
中文说明见 README.zh.md。
Vibe coding notice — this plugin was developed end-to-end through vibe coding: built iteratively via interaction between the author and deepseek-v4-flash running on DeepSeek Harness, and published by deepseek-v4-flash + Harness on behalf of the author.
/t-archive — manage the archive area (conversations hidden by the sidebar's archive action)/t-restore — manage the trash (files moved out by deletions)———— restored (slot empty)) instead of renumbering/t-archive --kw <number|keyword> operates within it (a non-distinctive keyword is rejected, no nested lists)--delete 1 3 5), full session-… ids, --purge/--clearagent.status === 'running'); all file paths come from official APIsFrom GitHub (requires the repo to be published first):
dsh plugin --profile web add github:TANGBINGBINGING/dsh-session-delete
From a local checkout:
dsh plugin --profile web add file:C:/path/to/dsh-session-delete
Restart dsh (npx @deepseek-ai/dsh web), then type /t-archive or /t-restore in the input box.
The plugin is a bundle (its
package.jsondeclaresdsh.bundle.patch), so it registers itself — do not add a manualinsertentry in the profile'scordis.patch.yml(duplicate loader entry ids crash dsh on startup).
/t-archive list archive area (grouped by workspace, refresh)
/t-archive <number...> restore (back to conversations)
/t-archive --delete <number...> delete into trash
/t-archive --delete --purge <number...> purge permanently
/t-archive <keyword> unique match → restore directly; multiple → temporary keyword list
/t-archive --delete <keyword> unique match → delete directly
/t-archive --kw <number|keyword> operate within the last temporary list (keyword must be unique)
/t-restore list trash (refresh)
/t-restore <number...> restore to original workspace
/t-restore --delete <number...> permanently delete one
/t-restore --clear permanently delete all
Input rules: pure digits = list number; session-… = id; anything else = keyword. [运行中] marks conversations with an active task (not deletable).
dsh plugin --profile web remove dsh-session-delete
node tools/dsh-session-delete/test.mjs # 35/35
Layout:
package.json bundle manifest (dsh.bundle.patch)
cordis.patch.yml loader insert for this bundle
index.js plugin source (zero runtime dependencies)
test.mjs unit tests
This plugin was originally written in Chinese (the default output language). An English adaptation is provided and selected by the DSH_LANG environment variable:
# English output (set before launching dsh)
set DSH_LANG=en
npx @deepseek-ai/dsh web
DSH_LANG): Chinese outputDSH_LANG=en: English output for commands, lists, success/error messages, and the /-menu command descriptionssession-… ids, keywords all work the same)Testing note: the English adaptation was verified automatically by AI agents — the unit test suite covers both locales (41/41 passing: 35 Chinese + 6 English). It has not been manually exercised by a human reviewer.
enqueueOperation → requireState → setState), which persists to workspace.json and broadcasts host/archived-sessions-changed so the UI updates live.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: conversation-management、vibe-coding。