agent-context-editor
Cross-agent model-context exclusion and manual User/Answer editing with search, filtering, hide/restore, and original Session preservation
一句话定位
Cross-agent model-context exclusion and manual User/Answer editing with search, filtering, hide/restore, and original Session preservation
安装方式
在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。
$ dsh plugin --profile web add 'git+https://github.com/jermaine123123/agent-context-editor.git#759646d8d73c504d7480b9def3e7a0af56c667af'
兼容的 DSH 版本
未声明
作者与热度
jermaine123123 · ★ 63 · 更新于 2026-10-01
关于这个插件
Agent Context Editor
Agent Context Editor is a cross-agent plugin for manually excluding, editing, and selectively compressing AI conversation context. It also supports searching, filtering, selecting, hiding, restoring, and undoing conversation changes while preserving the original Session.
It provides a consistent, reversible, and user-controlled context-management option across supported Agent hosts, complementing prompt steering and automatic context compaction rather than replacing them.
中文说明: README.zh-CN.md Usage guidance
Long-running Agent sessions can suffer from context rot: as the context grows—especially when failed attempts, stale conclusions, and irrelevant Tool output accumulate—the model may become less reliable at finding and correctly applying important information even before the context window is full.
For most tasks, prompt steering and automatic context compaction are usually sufficient. Manual context exclusion and editing are optional controls for cases where the automatic result is not what you want, rather than something users need to manage continuously. They can be useful when compaction drops details worth preserving or when failed attempts and irrelevant history occupy too much of the context. Prompt-cache impact: Excluding or editing context changes the model-input prefix. Cached prompt content after the earliest changed position may no longer be reusable, so changes near the end of a Session usually affect less cached context than changes near the beginning. Exact behavior depends on the Agent host, model, and provider. The original Session remains preserved. Features Manually exclude selected context and restore it later Edit User messages and AI Answers with restore and undo AI-condense selected context into an editable, reversible summary(selectively compressing) Search conversations and navigate between matches Filter User, AI, Reasoning, Answer, and Tool content Select individual items, continuous ranges, or multiple items Hide, restore, reset, and undo visual ch
The separate Pi Context Desktop community build provides visual conversation management for Windows x64. Install Pi extension
Download pi-context-editor-0.6.1.tgz from the release assets. Pi 0.84.2 installs a local package directory rather than a .tgz file. Extract the archive so that package.json is at the package directory root, then run:
When working directly from this repository:
For Pi Desktop registration, run adapters/pi-extension/scripts/install-desktop.ps1 with PowerShell. The script accepts -PiPath and -DesktopExePath for non-standard installations. Fully restart Pi Desktop after installation. DeepSeek Harness
Download context-editor-deepseek-harness-0.4.10.tgz from the release assets and install it with the official Harness CLI:
相似插件
dsh-purge
让 AI 更专注地辅助学习与动手实验:DSH 附加组件,提供状态自检、提示词与规则管理、本机备份与回滚。
dsh-unrestricted
Toggleable unrestricted mode for DeepSeek Harness: fuses execution rules into the active standard, ptc, cordis, minimal,…
dsh-univer-office
DSH × Univer integration with a bundled collaboration Gateway and Viewer: inline previews, live floating Worktree window…