refactor: unify wiki storage to ~/.teamai/wiki/#9
Merged
Conversation
Squash merge branch 'feature/wiki-shared-location' into 'master' ## Summary - Wiki 页面不再复制到各 AI 工具目录(~/.claude/wiki/、~/.cursor/wiki/ 等),改为统一存储在 `~/.teamai/wiki/`(user scope)或 `<projectRoot>/.teamai/wiki/`(project scope) - 移除了多工具目录遍历和 mtime 竞选逻辑,代码精简约 20 行 - pull/push/remove/tombstone 清理全部指向共享目录 ## Why Wiki 是团队共享知识库,不是工具配置,没必要每个 agent 目录都复制一份。放在 `~/.teamai/wiki/` 更合理。 ## Test plan - [x] 939/939 单元测试全部通过 - [x] TypeScript 类型检查通过 - [x] 手动验证 `teamai pull` wiki 同步到 `~/.teamai/wiki/` - [x] 手动验证 `teamai push` 从 `~/.teamai/wiki/` 读取
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
/.claude/wiki/、/.cursor/wiki/ 等),改为统一存储在~/.teamai/wiki/(user scope)或<projectRoot>/.teamai/wiki/(project scope)Why
Wiki 是团队共享知识库,不是工具配置,没必要每个 agent 目录都复制一份。放在
~/.teamai/wiki/更合理。Test plan