Skip to content

refactor: unify wiki storage to ~/.teamai/wiki/#9

Merged
jeff-r2026 merged 1 commit into
Tencent:mainfrom
hsuchifeng:sync/wiki-shared-location
May 14, 2026
Merged

refactor: unify wiki storage to ~/.teamai/wiki/#9
jeff-r2026 merged 1 commit into
Tencent:mainfrom
hsuchifeng:sync/wiki-shared-location

Conversation

@hsuchifeng
Copy link
Copy Markdown

@hsuchifeng hsuchifeng commented May 14, 2026

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

  • 939/939 unit tests pass on TGit CI
  • TypeScript type check passes
  • Verify GitHub Actions CI passes on this PR

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/` 读取
@jeff-r2026 jeff-r2026 merged commit ca3fd11 into Tencent:main May 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants