DSH Plugins Marketplace

DSH Plugins

Plugins

/

Memory & Context

/

dsh-powercontext

d

dsh-powercontext

Manifest valid

PowerContext for DeepSeek Harness: WorkBuddy-style project memory and inspectable handoff workflows - bounded context recall before each model step, 19 pc_* tools for memory, handoff, experience and s

hasBundlePatch

powercontext-dsh · PowerContext for DeepSeek Harness

PowerContext 的 DeepSeek Harness 常驻插件(官方 integrations/dsh 集成的独立发行副本)。

一键把会话工作移交与项目记忆接入 dsh:模型每步前自动召回有界上下文(预置注入),19 个 pc_* 工具覆盖记忆/交接/经验/技能/审阅,/pc doctor 检查连通性。Server 不可用时 fail-open,绝不阻塞正常工作。

English: a thin DeepSeek Harness plugin that connects to a running PowerContext Server over HTTP — bounded context recall before each model step, pc_* tools for memory/handoff/experience/skills, and /pc doctor for liveness. Fail-open by design.

安装 / Install

dsh plugin --profile web add dsh-powercontext

或从本仓库目录:dsh plugin --profile web add <本目录>

前置条件(一次性):

# 1) PowerContext Server(Python/uv)
uv tool install --force "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@master"
powercontext server run   # 默认 http://127.0.0.1:8000(SQLite 本地存储)

# 2)(推荐)Server 常驻看门狗:登录自启 + 每分钟巡检自动拉起
#    见 scripts/server-watchdog.ps1(本仓库附带),注册为计划任务:
$wd = "<repo>\scripts\server-watchdog.ps1"
$action = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument "-NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -File `"$wd`""
$tLogon  = New-ScheduledTaskTrigger -AtLogOn -User "$env:USERDOMAIN\$env:USERNAME"
$tRepeat = New-ScheduledTaskTrigger -Once -At (Get-Date).AddMinutes(1) -RepetitionInterval (New-TimeSpan -Minutes 1) -RepetitionDuration (New-TimeSpan -Days 3650)
Register-ScheduledTask -TaskName 'PowerContext-Server-Watchdog' -Action $action -Trigger $tLogon,$tRepeat -Force

能力 / What you get

  • 自动召回:agent/pre-step 每模型步前 POST /v1/context/prepare 注入有界上下文;当前输入自动捕获为 Source 证据(POWERCONTEXT_DSH_CAPTURE_PROMPTS=false 可关)
  • 19 个 pc_* 工具:memory(remember/list/get/revise/retire)、handoff(activate/prepare/finalize/commit/continue)、experience/skill(generate/get)、search、review(list/get)
  • /pc 命令:/pc doctor 连通性与就绪检查
  • 安全边界:审阅类变更为显式人工 /pc review 命令;破坏性与管理类 OpenAPI 操作不暴露为模型工具
  • fail-open:Server 不可用时不阻塞 DSH 正常工作

配置

patch config(cordis.patch.yml):baseUrl / timeoutMs / requestTimeoutMs / maxBytes / capturePrompts / flushOnCapture;环境变量前缀 POWERCONTEXT_DSH_(BASE_URL / AUTHORIZATION / SCOPE_ID / CAPTURE_PROMPTS / FLUSH_ON_CAPTURE)。召回返回的上下文按不可信历史标注——当前用户、仓库与系统指令始终优先。

Windows 常驻适配说明

本副本附带 scripts/server-watchdog.ps1(PowerContext Server 计划任务看门狗:登录自启 + 每分钟健康巡检 + 崩溃自动拉起),并在插件内以 node_modules junction 指向宿主 dsh 部署的 @deepseek-ai/* 官方包实例(不向 profile node_modules 复制官方包)。其余与上游一致,跟随上游更新。

上游与许可

Compatibility

DSH 0.1.7-rc.1: failedDSH 0.1.7-rc.2: failedDSH 0.2.0-rc.1: failed

Versions

Latest versionPublishedSize
0.0.3——

Comments

Loading…

Similar plugins

tmcra-plugin-deepseek-harness

Cross-app project memory for DeepSeek Harness with role-separated writeback, a visual knowledge workspace, confirmed corrections, session controls, local Writer and organizer settings, and an account-

Memory & ContextManifest valid

★ 0

dsh plugin --profile web add dsh-tmcra-memory

by guntur-d

Persistent cross-session memory plugin for DeepSeek Harness: workspace-scoped durable facts with memory_write/list/search/forget tools and bounded prompt injection

Manifest valid

★ 0

TypeScript

Aug 14, 2026

dsh plugin --profile web add @guntur-d/dsh-memory

by knqiufan

DeepSeek Harness plugin that connects to a PowerContext Server over HTTP for recall, memory, handoff, experience, and skills.

Memory & ContextManifest valid

★ 9

Apache-2.0

TypeScript

Aug 26, 2026

dsh plugin --profile agent add powercontext-dsh

by luyy9apples

Approval-gated workspace instructions and shared project memory for DeepSeek Harness

Manifest valid

★ 0

MIT

TypeScript

Sep 2, 2026

dsh plugin --profile web add dsh-workspace-memory

Layered file memory for DeepSeek Harness with workspace-scoped USER/MEMORY notes, background consolidation, and hybrid session recall.

Terminal & ClientsMemory & ContextManifest valid

★ 0

↓ 55/wk

dsh plugin --profile web add dsh-file-memory

by aujurd22

Long-term memory for DeepSeek Harness: 15 FlyMemory MCP tools, automatic recall and capture hooks, and a supervised local engine.

Tools & CapabilitiesMemory & ContextSessions & MessagesManifest valid

★ 2

MIT

Python

Oct 27, 2026

dsh plugin --profile web add dsh-flymemory