powercontext-dsh v0.0.1
First public release of the DeepSeek Harness plugin for PowerContext.
This plugin talks to a running PowerContext Server over HTTP. It does not embed storage, start the Server, or import the Python package. The transport is OpenAPI (/v1/...), not MCP.
Highlights
- Automatic recall and capture on every model step
- Named
pc_* tools for memory, context, handoff, experience, skills, and review
pc_call reaches every OpenAPI operationId
- Skill
project-context documents the same workflow for the model
/pc slash commands for status, search, review, and diagnostics
- Fail-open: an unreachable Server skips recall and does not fail the user turn
Automatic hooks
Before each model step the plugin:
- Recalls bounded context with
POST /v1/context/prepare and injects it as untrusted historical evidence
- Captures the current user input as a Content Source with
POST /v1/sources/content
Named tools
| Area |
Tools |
HTTP |
| Memory |
pc_search pc_remember pc_memory_list pc_memory_get pc_memory_revise pc_memory_retire |
/v1/memory/* |
| Context |
pc_prepare_context pc_capture_source |
/v1/context/prepare, /v1/sources/content |
| Handoff |
pc_handoff_activate pc_handoff_prepare pc_handoff_finalize pc_handoff_commit pc_handoff_continue |
/v1/handoff/* |
| Experience / Skill |
pc_experience_generate pc_experience_get pc_skill_generate pc_skill_get |
/v1/experience/*, /v1/skill/* |
| Review |
pc_review_list pc_review_get |
/v1/artifact-candidates/* |
| Escape hatch |
pc_call |
any OpenAPI operationId |
HTTP API coverage
All operations below are generated from openapi/powercontext.yaml and are callable through pc_call. Common paths also have named tools.
Health
| Method |
Path |
operationId |
GET |
/health/live |
get_liveness |
GET |
/health/ready |
get_readiness |
GET |
/v1/capabilities |
get_capabilities |
GET |
/v1/stats |
get_stats |
Context and sources
| Method |
Path |
operationId |
POST |
/v1/sources/content |
capture_content_source |
POST |
/v1/context/prepare |
prepare_context |
Memory
| Method |
Path |
operationId |
POST |
/v1/memory/flush |
flush_memory |
POST |
/v1/memory/remember |
remember_memory |
POST |
/v1/memory/search |
search_memory |
POST |
/v1/memory/entries/list |
list_memory_entries |
POST |
/v1/memory/entries/get |
get_memory_entry |
POST |
/v1/memory/entries/revise |
revise_memory_entry |
POST |
/v1/memory/entries/retire |
retire_memory_entry |
POST |
/v1/memory/changes |
list_memory_changes |
Handoff
| Method |
Path |
operationId |
POST |
/v1/handoff/activate |
activate_handoff |
POST |
/v1/handoff/prepare |
prepare_handoff |
POST |
/v1/handoff/finalize |
finalize_handoff |
POST |
/v1/handoff/commit |
commit_handoff |
POST |
/v1/handoff/continue |
continue_handoff |
Experience and skills
| Method |
Path |
operationId |
POST |
/v1/experience/propose |
propose_experience |
POST |
/v1/experience/generate |
generate_experience |
POST |
/v1/experience/get |
get_experience |
POST |
/v1/skill/propose |
propose_skill |
POST |
/v1/skill/generate |
generate_skill |
POST |
/v1/skill/get |
get_skill |
External skills
| Method |
Path |
operationId |
POST |
/v1/external-skills/scan |
scan_external_skills |
POST |
/v1/external-skills/list |
list_external_skills |
POST |
/v1/external-skills/resolve |
resolve_external_skill |
POST |
/v1/external-skills/import |
import_external_skill |
Artifact review
| Method |
Path |
operationId |
POST |
/v1/artifact-candidates/list |
list_artifact_candidates |
POST |
/v1/artifact-candidates/get |
get_artifact_candidate |
POST |
/v1/artifact-candidates/approve |
approve_artifact_candidate |
POST |
/v1/artifact-candidates/reject |
reject_artifact_candidate |
POST |
/v1/artifact-candidates/revise |
revise_artifact_candidate |
Handoff reports
| Method |
Path |
operationId |
POST |
/v1/handoff-reports/projects/create |
create_handoff_report_project |
POST |
/v1/handoff-reports/projects/list |
list_handoff_report_projects |
POST |
/v1/handoff-reports/projects/get |
get_handoff_report_project |
POST |
/v1/handoff-reports/projects/update |
update_handoff_report_project |
POST |
/v1/handoff-reports/workstreams/register |
register_handoff_report_workstream |
POST |
/v1/handoff-reports/workstreams/list |
list_handoff_report_workstreams |
POST |
/v1/handoff-reports/workstreams/update |
update_handoff_report_workstream |
POST |
/v1/handoff-reports/get |
get_handoff_report |
POST |
/v1/handoff-reports/activities/record |
record_handoff_report_activity |
POST |
/v1/handoff-reports/activities/list |
list_handoff_report_activities |
POST |
/v1/handoff-reports/activities/purge |
purge_handoff_report_activities |
POST |
/v1/handoff-reports/workspace-bindings/get |
get_handoff_report_workspace |
POST |
/v1/handoff-reports/workspace-bindings/attach |
attach_handoff_report_workspace |
POST |
/v1/handoff-reports/workspace-bindings/detach |
detach_handoff_report_workspace |
Slash commands
| Command |
Purpose |
/pc |
Show current scope and baseUrl |
/pc doctor |
Server liveness and readiness |
/pc search … |
Search memory without the model |
/pc remember … |
Write memory without the model |
/pc flush |
Flush pending source-to-memory activation |
/pc review |
List pending artifact candidates |
/pc review approve / reject |
Approve or reject a candidate |
/pc skills scan |
Scan host-local external skills |
/pc stats |
Scope stats |
/pc capabilities |
Server capabilities |
Install
Download powercontext-dsh-0.0.1.tgz from this release, then:
dsh plugin --profile web add ./powercontext-dsh-0.0.1.tgz
Requires a running PowerContext Server (default http://127.0.0.1:8000) and DeepSeek Harness. See the README for configuration.