@zleap-ai/sag-cli 0.3.0 → 0.4.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/README.en.md +5 -5
- package/README.md +5 -6
- package/dist/cli.js +235 -192
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/skill/SKILL.md +10 -0
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -18,6 +18,16 @@ sag <command> [options]
|
|
|
18
18
|
|
|
19
19
|
详细参数与返回格式见 [references/cli-reference.md](references/cli-reference.md)。
|
|
20
20
|
|
|
21
|
+
## 认证前置条件
|
|
22
|
+
|
|
23
|
+
首次调用知识库命令时,如果 CLI 返回 `AUTH_REQUIRED`,请让用户在终端执行:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
sag auth login --name "用户的名字"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
不要要求用户去 SAG Web 复制 Token,也不要替用户猜测或填写名字。
|
|
30
|
+
|
|
21
31
|
## 探索漏斗
|
|
22
32
|
|
|
23
33
|
每次知识检索按漏斗从宽到窄推进:
|