Repository navigation
Conversation
- 删除后端内置中英文预设内容、marker 常量与 apply_memory_preset / get_memory_preset_content 命令,重新生成 bindings - 移除 MemoryPresetPanel、memory-preset-utils 及记忆页、编辑器中的 创建、追加与原仓库入口,清理相关类型、ipc 包装与 i18n 文案 - 已导入的 CLAUDE.md 内容与 marker 原样保留,补充前后端回归测试 - 同步 README、用户手册、官网与 memory-and-skills 规则 Closes #63 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 删除 hook-presets.ts 中的预设定义、识别与合并逻辑 - HooksEditor 移除「添加乱码检查预设」按钮、内置预设标记及仅服务 预设合并的错误状态,清理对应中英文 i18n 文案 - 已有的乱码检查 hook 按普通自定义 hook 显示,可照常编辑与删除, 改写相关测试并补充历史配置回归用例 - 同步中英文用户手册 Closes #62 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
下线两个已不再需要的内置预设,并移除它们各自的前后端框架,按 Issue 要求不保留兼容层。Closes #63,Closes #62。
记忆页(#63):
配置编辑器 Hooks 分区(#62):
历史数据不迁移、不清理:已导入的 Karpathy marker 文本留在 claude 记忆里,当普通文本显示;已写入配置的乱码检查 hook 按普通自定义 hook 显示,可以编辑和删除。
Evidence
Before: 记忆页无主记忆时显示 Karpathy 预设面板;Hooks 分区底部显示「添加乱码检查预设」,对应命令带「乱码检测」标记。
After: 新增回归测试通过:
本地门禁:
make lint-frontend、make build-frontend(含tsc)、make test-frontend(111 files / 943 tests)、make fmt-rust-check、make check、make lint-rust、make test-rust(504 tests)、make bindings-check、make docs-check全部通过。Merge Danger
Door: two-way
只删代码,不改写用户的
CLAUDE.md、memories.json或settings.json;回滚后两个预设入口即可恢复。Blast Radius: 小
IPC 契约删掉了
apply_memory_preset/get_memory_preset_content两个命令。前端是唯一调用方,已同步移除。其余影响只是记忆页、Hooks 分区少了入口。🤖 Generated with Claude Code