teamai-cli 0.26.0 → 0.27.0-beta.1
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 +37 -2
- package/README.ja.md +10 -7
- package/README.ko.md +10 -7
- package/README.md +10 -7
- package/README.th.md +10 -7
- package/README.zh-CN.md +10 -7
- package/agents/teamai-recall.md +9 -7
- package/dist/index.js +38718 -28148
- package/package.json +2 -1
- package/skill-data/core/SKILL.md +113 -1
- package/skill-data/core/references/commands.md +21 -10
- package/skill-data/core/references/contribute-member.md +23 -3
- package/skill-data/core/references/troubleshooting.md +165 -18
- package/skill-data/setup/SKILL.md +10 -6
- package/skill-data/setup/references/join-member.md +23 -10
- package/skill-data/setup/references/manage-admin.md +78 -7
- package/skill-data/setup/references/setup-admin.md +18 -5
- package/skill-data/setup/references/uninstall.md +64 -1
package/agents/teamai-recall.md
CHANGED
|
@@ -25,7 +25,7 @@ upstream API"). Treat this as your query.
|
|
|
25
25
|
Before any classification or search, run a single lightweight precheck:
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
teamai recall --check "<3-6 keywords from the task>"
|
|
28
|
+
teamai recall --caller teamai-recall --check "<3-6 keywords from the task>"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
- If the output starts with `NOT_RELEVANT`: the team knowledge base has no
|
|
@@ -77,7 +77,7 @@ Suggested files: <sources from --check output>
|
|
|
77
77
|
**Stop here** — skip Steps 1–5 entirely.
|
|
78
78
|
|
|
79
79
|
**If LOW but `--check` output lacks `sources=`**: run
|
|
80
|
-
`teamai recall <keywords> --depth context`, take only the top-1 result's
|
|
80
|
+
`teamai recall --caller teamai-recall <keywords> --depth context`, take only the top-1 result's
|
|
81
81
|
title + Sources, return the same short format above, and skip Steps 1–5.
|
|
82
82
|
|
|
83
83
|
**If not LOW**: continue to Step 1 as normal.
|
|
@@ -193,10 +193,10 @@ Execute with the appropriate depth:
|
|
|
193
193
|
|
|
194
194
|
```bash
|
|
195
195
|
# Default: searches overview, modules, and docs (context layer)
|
|
196
|
-
teamai recall "<keyword1> <keyword2> ..."
|
|
196
|
+
teamai recall --caller teamai-recall "<keyword1> <keyword2> ..."
|
|
197
197
|
|
|
198
198
|
# For precise symbol/line-number lookups, use lookup depth:
|
|
199
|
-
teamai recall --depth lookup "<keyword1> <keyword2> ..."
|
|
199
|
+
teamai recall --caller teamai-recall --depth lookup "<keyword1> <keyword2> ..."
|
|
200
200
|
```
|
|
201
201
|
|
|
202
202
|
This searches all four knowledge categories (`skills`, `learnings`,
|
|
@@ -369,14 +369,16 @@ rather than dropping the reasoning.
|
|
|
369
369
|
query. This tells the main conversation to stop and ask the user rather
|
|
370
370
|
than hallucinating.
|
|
371
371
|
- The trailing HTML comment **must** list every doc_id you returned —
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
- **不要自己输出带内容的 `teamai:referenced-doc-ids` 标记** —— 那是主对话的职责。你只需在返回末尾另起一行提示主对话:`👉 主对话:完成任务后请在最终回复末尾声明实际引用的 doc-id(从上面 recalled-doc-ids 列表中挑出真正用到的),方括号内只填用到的、没用到就留空。` 这样主对话是"剪枝"而非"凭记忆重建",能显著提高声明率。
|
|
372
|
+
the opt-in upvote judge reads it from the conversation transcript at the
|
|
373
|
+
Stop hook.
|
|
375
374
|
|
|
376
375
|
## Hard rules
|
|
377
376
|
|
|
378
377
|
- **Do not** copy entire file contents into your response. Summarize.
|
|
379
378
|
- **Do not** call `teamai recall` more than 3 times in one invocation.
|
|
379
|
+
- Pass `--caller teamai-recall` on every `teamai recall` call, `--check`
|
|
380
|
+
included, exactly as the commands above show. It marks the run as yours, so
|
|
381
|
+
your own reads of the docs it returns don't count as the team using them.
|
|
380
382
|
- **Do not** invoke other subagents.
|
|
381
383
|
- If `teamai` CLI is not on PATH, return `teamai CLI not available` and stop.
|
|
382
384
|
- Output total ≤ ~2500 characters (≤ 1500 for bugfix and diagnose tasks). This
|