fix: align wiki path to ~/.teamai/wiki/ for push compatibility#14
Closed
jeff-r2026 wants to merge 8 commits into
Closed
fix: align wiki path to ~/.teamai/wiki/ for push compatibility#14jeff-r2026 wants to merge 8 commits into
jeff-r2026 wants to merge 8 commits into
Conversation
Rename README.md → README.zh-CN.md (Chinese) Rename README.en.md → README.md (English, now default) Update language switch links in both files.
Separate the two blockquote lines (usage guide / provider notes) with a blank line so they render as distinct blocks with proper spacing.
Squash merge branch 'fix/e2e-ci-stability' into 'master' ## Summary - Disable file-level parallelism in vitest E2E config (`fileParallelism: false`) to prevent intermittent "Cannot find module dist/index.js" race conditions on GitHub Actions - Add `--role common` to init project-scope test (required in non-interactive mode when roles manifest is present) - Add `GIT_AUTHOR_*`/`GIT_COMMITTER_*` env vars to init test (HOME override hides global .gitconfig) - Add diagnostic output to init assertion for future debugging ## Test plan - [x] GitHub Actions E2E passes with these changes - [x] Local `npx vitest run --config vitest.e2e.config.ts` still passes
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/` 读取
…rge request !187) Squash merge branch 'fix/push-exclude-git-tgit' into 'master' ## Summary - When a skill directory is itself a git repository (e.g. user cloned a repo into `.claude/skills/`), `copyDir` would copy the `.git` directory into the team repo - Git then treats the nested `.git` as a gitlink (mode 160000 / submodule reference), causing `git add` to record only a commit hash instead of actual file content - The resulting MR appears to contain only `Subproject commit <hash>` — no real files **Fix:** Add `.git` to the `IGNORED_NAMES` filter in `src/utils/fs.ts` ## Test plan - [x] Added unit test: `should NOT copy .git directory when skill source is a git repo` - [x] All 936 existing tests pass - [x] Type check passes (`tsc --noEmit`) Fixes #10
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
~/.teamai/wiki/instead of fallback chain (~/.claude-internal/wiki/,~/.claude/wiki/,./wiki/)teamai push'sWikiHandlerscan pathFixes #13
Test plan
/teamai-wiki initand verify wiki is created at~/.teamai/wiki/teamai push --dry-runand verify wiki pages appear in push list