teamai-cli 0.24.0-beta.9 → 0.25.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +7 -4
- package/README.zh-CN.md +7 -4
- package/dist/index.js +2396 -1729
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,11 +6,17 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
6
6
|
|
|
7
7
|
### ✨ Features
|
|
8
8
|
|
|
9
|
+
- MCP servers in `mcp/mcp.yaml` and hooks in `hooks/hooks.yaml` accept an optional `roles:` list and ship only to members holding one of those roles; a role change removes the previous role's entries on the next pull, and `teamai mcp list` / `teamai hooks list` show the restriction (for [#563](https://github.com/Tencent/teamai-cli/issues/563)).
|
|
10
|
+
- First-class Kiro support: skills, steering rules, JSON subagents with CLI `agentSpawn` session-start hooks, and MCP sync to `.kiro/` (for [#500](https://github.com/Tencent/teamai-cli/issues/500)).
|
|
9
11
|
- Multi-project management: `role` and `project` together resolve resource namespaces, and project-private learnings are isolated ([#426](https://github.com/Tencent/teamai-cli/pull/426), for [#375](https://github.com/Tencent/teamai-cli/issues/375)).
|
|
10
12
|
- Data partitions auto-migrate a legacy `.teamai`, resume interrupted migrations, smoke-check the clone, and keep a git-ignored backup ([#439](https://github.com/Tencent/teamai-cli/pull/439), for [#374](https://github.com/Tencent/teamai-cli/issues/374)).
|
|
13
|
+
- Teams add their own course-correction words via `sharing.intervention.correctionKeywords` in `teamai.yaml`. The built-in list still covers only Chinese, English and Japanese, so corrections typed in other languages count only once the team configures them. The `UserPromptSubmit` hook now stores a `correction` flag on each dashboard prompt event (for [#564](https://github.com/Tencent/teamai-cli/issues/564)).
|
|
11
14
|
|
|
12
15
|
### 🐛 Bug Fixes
|
|
13
16
|
|
|
17
|
+
- Course-correction matching normalizes prompts and keywords to Unicode NFC, so composed and decomposed accents match. Stored prompt summaries and the 60-second correction window are unchanged. Fixes [#573](https://github.com/Tencent/teamai-cli/issues/573).
|
|
18
|
+
- Course-correction detection matches keywords in space-separated scripts as whole words, so Spanish "segundo" no longer counts as `undo` (for [#564](https://github.com/Tencent/teamai-cli/issues/564)).
|
|
19
|
+
- MCP `requires` is resolved from `PATH` (including Windows `PATHEXT`), so `teamai mcp inject` no longer skips servers such as `uvx` on Windows ([#540](https://github.com/Tencent/teamai-cli/pull/540), for [#539](https://github.com/Tencent/teamai-cli/issues/539)).
|
|
14
20
|
- The GitHub and CNB providers resolve their CLI to a launchable absolute path and start it through cross-spawn, so on Windows they no longer answer "installed" while every call fails silently ([#520](https://github.com/Tencent/teamai-cli/pull/520)).
|
|
15
21
|
- `enabledAgents` now also gates CLI builtin deploy, CLAUDE.md-class injects, and last-pull skip-sync targets, so an already-installed tool outside the whitelist is not written to ([#510](https://github.com/Tencent/teamai-cli/issues/510)).
|
|
16
22
|
- `teamai status` counts rule files in subdirectories recursively ([#437](https://github.com/Tencent/teamai-cli/pull/437)).
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# TeamAI — Make Every Team AI Native
|
|
6
6
|
|
|
7
|
-
> [English](README.md) | [
|
|
7
|
+
> [English](README.md) | [中文](README.zh-CN.md)
|
|
8
8
|
|
|
9
9
|
[](https://github.com/Tencent/teamai-cli/actions/workflows/ci.yml)
|
|
10
10
|
[](https://www.npmjs.com/package/teamai-cli)
|
|
@@ -17,6 +17,8 @@ TeamAI manages your team's skills, rules, MCP, and knowledge across Claude Code,
|
|
|
17
17
|
|
|
18
18
|
Thanks to everyone who has contributed to TeamAI!
|
|
19
19
|
|
|
20
|
+
<a href="https://trendshift.io/repositories/123184?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-123184" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/123184" alt="Tencent%2Fteamai-cli | Trendshift" width="250" height="55"/></a>
|
|
21
|
+
|
|
20
22
|
<a href="https://github.com/Tencent/teamai-cli/graphs/contributors">
|
|
21
23
|
<img src="https://contrib.rocks/image?repo=Tencent/teamai-cli" alt="Contributors" />
|
|
22
24
|
</a>
|
|
@@ -35,7 +37,7 @@ npm install -g teamai-cli
|
|
|
35
37
|
|
|
36
38
|
Create a shared-experience repo on your git host (GitHub, GitLab, GitCode, CNB, TGit, or a private Git service), **grant write access to team members**, then run `teamai init https://github.com/yourorg/yourrepo`.
|
|
37
39
|
|
|
38
|
-
> **No team repo yet?** Start from a template pre-loaded with production-ready skills, rules, and review agents. Browse the [teamai-hub](https://github.com/teamai-hub) org, click **
|
|
40
|
+
> **No team repo yet?** Start from a template pre-loaded with production-ready skills, rules, and review agents. Browse the [teamai-hub](https://github.com/teamai-hub) org, click **Fork**, then `teamai init` against your new repo.
|
|
39
41
|
|
|
40
42
|
### Team members
|
|
41
43
|
|
|
@@ -91,6 +93,7 @@ Once initialized, every AI session automatically pulls the latest skills / rules
|
|
|
91
93
|
<tr><td>Hermes</td><td align="center">✓</td><td align="center">—</td><td align="center">✓</td><td align="center">✓</td><td align="center">—</td><td align="center">—</td><td align="center">—</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">—</td><td align="center">—</td><td align="center">—</td></tr>
|
|
92
94
|
<tr><td>DeepSeek Harness</td><td align="center">✓</td><td align="center">—</td><td align="center">✓</td><td align="center">—</td><td align="center">—</td><td align="center">—</td><td align="center">—</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">—</td><td align="center">—</td><td align="center">—</td></tr>
|
|
93
95
|
<tr><td>Qoder</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr>
|
|
96
|
+
<tr><td>Kiro</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr>
|
|
94
97
|
<tr><td>ZCode</td><td align="center">✓</td><td align="center">—</td><td align="center">✓</td><td align="center">—</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr>
|
|
95
98
|
</tbody>
|
|
96
99
|
</table>
|
|
@@ -137,8 +140,8 @@ Each resource is delivered to every agent:
|
|
|
137
140
|
| **Culture** | `culture.md` | Team mission, values, and working principles — injected into each agent's CLAUDE.md / AGENTS.md so every session inherits them |
|
|
138
141
|
| **CLAUDE.md** | `claudemd/*.md` | |
|
|
139
142
|
| **Env** | `env/` | Shared team-level environment variables and switches; do not put secrets here |
|
|
140
|
-
| **Hooks** | `hooks/hooks.yaml` | |
|
|
141
|
-
| **MCP** | `mcp/mcp.yaml` | |
|
|
143
|
+
| **Hooks** | `hooks/hooks.yaml` | Each hook may carry `roles:` to reach only members holding one of those roles |
|
|
144
|
+
| **MCP** | `mcp/mcp.yaml` | Each server may carry `roles:` to reach only members holding one of those roles |
|
|
142
145
|
| **Packages** | `teamai.yaml` | Currently npm packages and Claude Code plugins only |
|
|
143
146
|
| **Models** | — | Not implemented for every provider yet |
|
|
144
147
|
|
package/README.zh-CN.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# TeamAI — Make Every Team AI Native
|
|
6
6
|
|
|
7
|
-
> [English](README.md) | [
|
|
7
|
+
> [English](README.md) | [中文](README.zh-CN.md)
|
|
8
8
|
|
|
9
9
|
[](https://github.com/Tencent/teamai-cli/actions/workflows/ci.yml)
|
|
10
10
|
[](https://www.npmjs.com/package/teamai-cli)
|
|
@@ -17,6 +17,8 @@ TeamAI 统一管理团队的 Skills、Rules、MCP 和知识,驾驭 Claude Code
|
|
|
17
17
|
|
|
18
18
|
感谢每一位为 TeamAI 贡献代码的伙伴!
|
|
19
19
|
|
|
20
|
+
<a href="https://trendshift.io/repositories/123184?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-123184" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/123184" alt="Tencent%2Fteamai-cli | Trendshift" width="250" height="55"/></a>
|
|
21
|
+
|
|
20
22
|
<a href="https://github.com/Tencent/teamai-cli/graphs/contributors">
|
|
21
23
|
<img src="https://contrib.rocks/image?repo=Tencent/teamai-cli" alt="Contributors" />
|
|
22
24
|
</a>
|
|
@@ -35,7 +37,7 @@ npm install -g teamai-cli
|
|
|
35
37
|
|
|
36
38
|
在 Git 托管平台(GitHub、GitLab、GitCode、CNB、TGit,或私有 Git 服务)创建共享经验仓库,**授予团队成员写权限**,然后运行 `teamai init https://github.com/yourorg/yourrepo`。
|
|
37
39
|
|
|
38
|
-
> **还没有团队仓库?** 可以从内置了成套 skills、rules、review agents 的模板起步。浏览 [teamai-hub](https://github.com/teamai-hub) org,点 **
|
|
40
|
+
> **还没有团队仓库?** 可以从内置了成套 skills、rules、review agents 的模板起步。浏览 [teamai-hub](https://github.com/teamai-hub) org,点 **Fork** 生成自己的仓库,再对它执行 `teamai init`。
|
|
39
41
|
|
|
40
42
|
### 团队成员
|
|
41
43
|
|
|
@@ -91,6 +93,7 @@ teamai init https://github.com/yourorg/yourrepo --scope user
|
|
|
91
93
|
<tr><td>Hermes</td><td align="center">✓</td><td align="center">—</td><td align="center">✓</td><td align="center">✓</td><td align="center">—</td><td align="center">—</td><td align="center">—</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">—</td><td align="center">—</td><td align="center">—</td></tr>
|
|
92
94
|
<tr><td>DeepSeek Harness</td><td align="center">✓</td><td align="center">—</td><td align="center">✓</td><td align="center">—</td><td align="center">—</td><td align="center">—</td><td align="center">—</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">—</td><td align="center">—</td><td align="center">—</td></tr>
|
|
93
95
|
<tr><td>Qoder</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr>
|
|
96
|
+
<tr><td>Kiro</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr>
|
|
94
97
|
<tr><td>ZCode</td><td align="center">✓</td><td align="center">—</td><td align="center">✓</td><td align="center">—</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr>
|
|
95
98
|
</tbody>
|
|
96
99
|
</table>
|
|
@@ -137,8 +140,8 @@ teamai push → 创建分支 + MR → reviewer 审批合并
|
|
|
137
140
|
| **Culture** | `culture.md` | 团队使命、价值观与协作准则——注入各 Agent 的 CLAUDE.md / AGENTS.md,成为每次会话的行事底色 |
|
|
138
141
|
| **CLAUDE.md** | `claudemd/*.md` | |
|
|
139
142
|
| **Env** | `env/` | 通用环境变量、团队级开关;不建议直接放密钥 |
|
|
140
|
-
| **Hooks** | `hooks/hooks.yaml` | |
|
|
141
|
-
| **MCP** | `mcp/mcp.yaml` | |
|
|
143
|
+
| **Hooks** | `hooks/hooks.yaml` | 每条 hook 可加 `roles:`,只分发给持有这些角色的成员 |
|
|
144
|
+
| **MCP** | `mcp/mcp.yaml` | 每个 server 可加 `roles:`,只分发给持有这些角色的成员 |
|
|
142
145
|
| **Packages** | `teamai.yaml` | 目前只支持 npm 包和 Claude 插件 |
|
|
143
146
|
| **Models** | — | 暂时没有对全部 provider 实现 |
|
|
144
147
|
|