DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Powercontext Dsh — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

powercontext-dsh

Powercontext Dsh

通过 HTTP 连接到 PowerContext Server,以支持召回、记忆、交接、经验和技能的 DeepSeek Harness 插件。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:knqiufan/powercontext-dsh#36301aa0963cc471e204443df7aa604a0993b8b3
README兼容性版本

兼容性与来源证明

Powercontext Dsh 以 powercontext-dsh 发布,当前版本为 0.0.5。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/8/26

版本

0.0.5stable
2026/8/26
0.0.4stable
2026/8/26

相关插件

正在加载相关插件…

最新版
0.0.5
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
Apache-2.0
发布源
github
GitHub
★ 11
周下载
0
最近提交
2026/8/26
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Reme@agentscope-ai/reme面向 TypeScript 代理的 ReMe 客户端和记忆集成

README

PowerContext for DeepSeek Harness

English | 中文

DeepSeek Harness plugin that connects to a running PowerContext Server over HTTP for recall, memory, handoff, experience, and skills. It does not embed storage, start the Server, or import the Python package.

The same plugin is also integrated into official PowerContext at integrations/dsh/plugins/powercontext. This standalone repository and the in-tree plugin stay in sync: fixes and improvements land in both places.

dsh plugin --profile web add <path-or-tarball>

Features

The plugin calls the Server’s /v1/... OpenAPI surface over HTTP. It does not use MCP.

Before each model step it automatically:

  1. Recalls bounded context with POST /v1/context/prepare and injects it as untrusted historical evidence.
  2. Captures the current user input as a Content Source with POST /v1/sources/content.

Named pc_* tools expose the agent-safe Memory, handoff, experience, skill, and read-only review operations. DSH requests one-time user approval before named mutations run. Review mutations remain explicit human /pc review commands; destructive and administrative OpenAPI operations are not model tools. Skill project-context documents the same workflow for the model. If the Server is unreachable, recall is skipped and the turn continues.

AreaToolsHTTP
Memorypc_search pc_remember pc_memory_list pc_memory_get pc_memory_revise pc_memory_retire/v1/memory/*
Contextpc_prepare_context pc_capture_source/v1/context/prepare, /v1/sources/content
Handoffpc_handoff_activate pc_handoff_prepare pc_handoff_finalize pc_handoff_commit pc_handoff_continue/v1/handoff/*
Experience / Skillpc_experience_generate pc_experience_get pc_skill_generate pc_skill_get/v1/experience/*, /v1/skill/*
Reviewpc_review_list pc_review_get/v1/artifact-candidates/*

See openapi/powercontext.yaml for the full contract.

Quick start

PowerContext Server and DeepSeek Harness are two processes. Both are required. Use the same Git ref for the Server and the plugin.

Install the Server

uv tool install "powercontext[cli,server] @ git+https://github.com/oceanbase/powercontext.git@master"
powercontext --version

From a PowerContext checkout you can use uv run powercontext server run instead.

Install the plugin

Install DeepSeek Harness first and make sure the web profile exists (run dsh web once). From a PowerContext checkout the plugin lives at integrations/dsh/plugins/powercontext. Prefer the CLI so the ref stays aligned:

powercontext setup dsh --source oceanbase/powercontext --ref master

A local checkout works the same way:

powercontext setup dsh --source /path/to/powercontext

setup dsh calls dsh plugin --profile web add on that plugin directory. If the CLI is not available yet, add the directory yourself:

dsh plugin --profile web add /path/to/powercontext/integrations/dsh/plugins/powercontext

This standalone repository remains a release channel. A GitHub Release tarball still works:

dsh plugin --profile web add ./powercontext-dsh-0.0.5.tgz

If the plugin is already installed from a source checkout, remove it first. On Windows, replacing a link: install with a tarball fails because pnpm tries to recreate nested node_modules symlinks.

Rebuild after TypeScript changes: pnpm install, pnpm test, pnpm build, then restart dsh web.

Optional check:

powercontext doctor
powercontext doctor dsh
dsh --profile web --dump-config

doctor checks the Server. doctor dsh checks that the dsh CLI is on PATH and the plugin id is powercontext-dsh.

Remove the plugin:

dsh plugin --profile web remove powercontext-dsh

Start the Server

powercontext server run

Defaults: http://127.0.0.1:8000, no authentication, SQLite under the user data directory (POWERCONTEXT_HOME overrides it).

curl http://127.0.0.1:8000/health/live
curl http://127.0.0.1:8000/health/ready

live must succeed. ready may be degraded when inference is not configured. Explicit Memory writes do not need a model.

Use it

Keep the Server running, then:

dsh web

Open a project and chat as you normally would. The plugin recalls context and stores user input in the background. When the model needs to read or write memory, hand off work, or generate experience / skills, it calls the corresponding pc_* tools.

You can type /pc doctor in the chat to check that the Server is reachable.

Configuration

Environment variables override patch config. Do not put secrets in files that --dump-config can print.

FieldEnvironment variableDefaultMeaning
baseUrlPOWERCONTEXT_DSH_BASE_URLhttp://127.0.0.1:8000Server root URL, no trailing slash
authorizationPOWERCONTEXT_DSH_AUTHORIZATIONemptyFull Bearer <token>
scopeIdPOWERCONTEXT_DSH_SCOPE_IDemptyOverrides automatic project scope
timeoutMs—4000Shared recall + capture budget
requestTimeoutMs—1000Single HTTP timeout
maxBytes—8000prepare_context budget
capturePromptsPOWERCONTEXT_DSH_CAPTURE_PROMPTStruePersist user input as a Source
flushOnCapturePOWERCONTEXT_DSH_FLUSH_ON_CAPTUREfalseFlush immediately after capture

For durable non-secret defaults, edit ~/.dsh/profiles/web/cordis.patch.yml. Harness replaces the whole config object for that row, so restate every key you still need:

- id: powercontext-dsh
  config:
    baseUrl: https://pc.example.com
    timeoutMs: 4000
    requestTimeoutMs: 1000
    maxBytes: 8000
    capturePrompts: true
    flushOnCapture: false

Remote Server

The plugin runs inside the Harness process. The browser never calls PowerContext. The default Server bind is 127.0.0.1. A remote Server must listen more widely and enable auth. Put TLS in front before exposing it on a network.

export POWERCONTEXT_SERVER_HTTP_HOST=0.0.0.0
export POWERCONTEXT_SERVER_HTTP_PORT=8000
export POWERCONTEXT_SERVER_AUTH_ENABLED=true
export POWERCONTEXT_SERVER_AUTH_TOKEN=<long-random-secret>
powercontext server run

Publish the API root users actually use, for example https://pc.example.com. No trailing slash, and no /mcp.

export POWERCONTEXT_DSH_BASE_URL=https://pc.example.com
export POWERCONTEXT_DSH_AUTHORIZATION="Bearer <long-random-secret>"
dsh web

POWERCONTEXT_DSH_AUTHORIZATION must be the full Bearer <token> and must match POWERCONTEXT_SERVER_AUTH_TOKEN. Keep the token in the environment variable, not in the patch file.

Common Server variables:

VariableMeaning
POWERCONTEXT_SERVER_HTTP_HOST / _PORTListen address
POWERCONTEXT_SERVER_AUTH_ENABLED / _TOKENStatic Bearer
POWERCONTEXT_HOMEData directory
POWERCONTEXT_SERVER_RUNTIME_SCHEDULE_SECONDSExtraction interval; unset disables the job
POWERCONTEXT_SERVER_INFERENCE_GENERATION_MODELGeneration model used for extraction

Development

HTTP operations are generated from PowerContext's openapi/powercontext.yaml. Point POWERCONTEXT_ROOT or POWERCONTEXT_OPENAPI at a checkout, then run pnpm gen. pnpm gen:check fails when src/operations.generated.ts has drifted.

pnpm install
pnpm gen:check
pnpm test
pnpm test:e2e
pnpm build

pnpm test:e2e starts a local Server from POWERCONTEXT_ROOT and calls liveness, readiness, remember, search, prepare, and capture. It does not start DeepSeek Harness and does not need a model.

  • Push to main / master: run pnpm test and pnpm build, and check that lib/ plus the generated table are committed.
  • Pull requests: pnpm test and pnpm gen:check.
  • GitHub Release is manual: Actions → Release → Run workflow → version such as 0.1.0. The asset is powercontext-dsh-X.Y.Z.tgz.

License

Apache License 2.0