lossless-code
活跃·★ 13·MIT·更新于 2026-05-16
★ 时下流行★ 记忆与上下文★ 开发者工具
基于DAG的无损上下文管理工具,用于Claude Code。
lossless-code 是一个基于DAG的无损上下文管理工具,专为Claude Code设计。它永久保存每条消息,以有向无环图方式级联摘要,并支持跨会话的完整回忆。可与任何LLM配合使用,且无后台进程。
#Claude#Claude Code#Claude Code 插件#coding-agent#context-management#context-window#dag#开发者工具
01
功能特性
01基于DAG的无损上下文保存
02按需召回(无自动注入)
03零后台进程
04从摘要到原始消息的完整追踪
05跨会话回忆,支持全文和语义搜索
02
兼容性
Claude Code
完全支持
已通过文档验证
Copilot CLI
下一步(原生钩子)
已通过文档验证
Codex CLI
计划中(MCP可用)
已通过文档验证
Gemini CLI
计划中(需适配层)
已通过文档验证
OpenCode
研究中
已通过文档验证
03
快速开始
1
$ /plugin marketplace add GodsBoy/lossless-code
2
$ /plugin install lossless-code
04
使用场景
↳在多个Claude Code会话间保持完整上下文
↳通过从摘要追溯到原始消息来调试编码决策
↳仅在需要时召回上下文以降低Token成本
05
同类工具
相关搜索
评论
登录后发表评论
- Logan Lee2026年5月3日
DAG structure captures the actual conversation dependencies, not just sequence.
- BBlake Thompson2026年3月27日
DAG-based context management that preserves every message — no information loss.
- OOaklyn Wilson2026年3月23日
Good for complex AI coding sessions where message history matters for correctness.
- RRiver Brown2026年3月18日
Lossless preservation is the right default for high-stakes coding workflows.