jermaine123123/agent-context-editor
agent-context-editor
Cross-agent conversation management plugin: search, filter, hide, restore, and preserve the original Session.
Install
npx @deepseek-ai/dsh plugin --profile <profile> add ./context-editor-deepseek-harness-0.1.4.tgzRestart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/agent-context-editor)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from jermaine123123/agent-context-editor, cleaned of badges and images.
Agent Context Editor
A cross-agent conversation management plugin for Coding Agent sessions— searchable, filterable, hideable, reversible, and built to preserve the original Session.
Long-running Agent sessions accumulate user instructions, model reasoning, older answers, and tool output. Agent Context Editor builds an independent, structured management view over the existing Session so you can search the whole conversation, filter User, AI, and Tool messages, select individual or multiple items, and hide, restore, or undo view changes. Hidden state is stored separately; the original Session is never deleted or rewritten.
The long-term goal is to provide the same conversation-editing workflow across Agent hosts: keep long sessions focused, quickly return to the information you chose to retain, control what participates in future model context, and ask AI to condense a selected range or the entire session.
Developer Preview
The first phase is available today for Pi and DeepSeek Harness. It provides an independent Context Editor view with:
- dialogue-scoped text search by default (User messages and AI final answers), optional full-session search, occurrence counts, and previous/next navigation;
- User, AI, and Tool type filters, including combined filters;
- single, contiguous, and batch selection;
- reversible visual hiding, restore, reset, and undo;
- sidecar persistence without deleting or rewriting the original Session;
- independent reasoning and final-answer units in DeepSeek Harness.
In Pi TUI, Enter only expands or collapses the selected unit; h and r
persist hiding and restoring. Search activates the first text occurrence,
centers and highlights it, and n/N moves through occurrences without
revealing hidden text unless the user enables it.
Visual hiding currently changes only the Context Editor view. It does not edit the host's main chat timeline, remove messages from future model input, or reduce token usage. Pi TUI acceptance testing is still in progress.
The repository currently ships two adapter packages and one desktop fork:
| Adapter | Package / app | Current scope |
|---|---|---|
| Pi extension | [email protected] | /ctx in Pi TUI and Pi Desktop; shared unit editor with visual-only state |
| DeepSeek Harness | [email protected] | Context Editor tab with sticky controls, hierarchical AI filters, and centered search navigation |
| Pi Context Desktop | jermaine123123/pi-app context-editor-v0.1.4 | Windows x64 community desktop build |
中文说明:README.zh-CN.md
How it works today
The DeepSeek Harness adapter reads the durable Session event log and projects
user, AI and tool records into a separate Context Editor view. Reasoning and
answer blocks in one AI turn are independent view units: you can search, filter
by type, select individually or in batches, hide, restore and undo either unit
without hiding the other. Hide, restore, reset and undo events are stored in a
context_editor sidecar.
…


