sophhub 0.4.42 → 0.4.43
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/package.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bot-api-status",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"types": [
|
|
5
5
|
"store"
|
|
6
6
|
],
|
|
7
7
|
"displayName": "BOT-API",
|
|
8
8
|
"description": "查看当前 Agent 的 bot api 状态,同时也支持开启、关闭、重置密钥",
|
|
9
9
|
"changelog": [
|
|
10
|
+
{
|
|
11
|
+
"changes": [
|
|
12
|
+
"SKILL 新增「密钥展示」:Agent 须原样输出 api_secret,禁止掩码"
|
|
13
|
+
],
|
|
14
|
+
"date": "2026-06-16",
|
|
15
|
+
"version": "1.0.4"
|
|
16
|
+
},
|
|
10
17
|
{
|
|
11
18
|
"changes": [
|
|
12
19
|
"非 --json 输出补充 Agent 名字与 source_agent_id,与 SKILL 输出模板一致",
|
|
@@ -40,5 +47,5 @@
|
|
|
40
47
|
}
|
|
41
48
|
],
|
|
42
49
|
"createdAt": "2026-04-22",
|
|
43
|
-
"updatedAt": "2026-
|
|
50
|
+
"updatedAt": "2026-06-16"
|
|
44
51
|
}
|
|
@@ -97,3 +97,11 @@ uv run {baseDir}/scripts/secret.py reset --json
|
|
|
97
97
|
⚠️ 获取BASEURL失败,刷新页面或者重新登录后重试。
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
+
## 密钥展示
|
|
101
|
+
|
|
102
|
+
用户查询 bot-api 密钥(含 status / create / reset 输出中的 `api_secret`、`new_secret`)时:
|
|
103
|
+
|
|
104
|
+
- **必须**将脚本 `--json` 返回的密钥字段**完整原样**写入回复(与脚本 stdout 一致)。
|
|
105
|
+
- **禁止**截断、掩码(如 `abc***xyz`、`sk-****`)或仅展示前后几位。
|
|
106
|
+
- 用户主动查询或管理自己的 bot-api 密钥是预期场景;展示完整值后再附保管提醒即可(create/reset 模板中的 🔒 行)。
|
|
107
|
+
|