@qqvu/openclaw-channel 1.0.29 → 1.0.30

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.
@@ -6,69 +6,61 @@
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
9
- "$defs": {
10
- "botConfig": {
11
- "type": "object",
12
- "additionalProperties": false,
13
- "properties": {
14
- "accountId": {
15
- "type": "string",
16
- "description": "账号ID(在 OpenClaw 中区分多个机器人实例)"
17
- },
18
- "enabled": {
19
- "type": "boolean",
20
- "description": "是否启用该机器人"
21
- },
22
- "apiUrl": {
23
- "type": "string",
24
- "description": "Pufferfish API 地址,例如 http://127.0.0.1:5020"
25
- },
26
- "botUid": {
27
- "type": "string",
28
- "description": "机器人唯一标识;留空时默认使用当前 key"
29
- },
30
- "privateKey": {
31
- "type": "string",
32
- "description": "Ed25519 私钥 PEM(用于 connect challenge 签名认证)"
33
- }
34
- },
35
- "required": ["accountId", "apiUrl", "privateKey"]
36
- },
37
- "botProfile": {
38
- "type": "object",
39
- "additionalProperties": false,
40
- "properties": {
41
- "botUid": {
42
- "type": "string",
43
- "description": "机器人唯一标识(需与 botsList 中 botUid 一致)"
44
- },
45
- "systemPrompt": {
46
- "type": "string",
47
- "description": "机器人系统提示词"
48
- },
49
- "skills": {
50
- "type": "array",
51
- "items": {
52
- "type": "string"
53
- },
54
- "description": "启用技能列表(字符串数组)"
55
- }
56
- }
57
- },
58
- "required": ["botUid"]
59
- },
60
9
  "properties": {
61
10
  "botsList": {
62
11
  "type": "array",
63
12
  "items": {
64
- "$ref": "#/$defs/botConfig"
13
+ "type": "object",
14
+ "additionalProperties": false,
15
+ "properties": {
16
+ "accountId": {
17
+ "type": "string",
18
+ "description": "账号ID(在 OpenClaw 中区分多个机器人实例)"
19
+ },
20
+ "enabled": {
21
+ "type": "boolean",
22
+ "description": "是否启用该机器人"
23
+ },
24
+ "apiUrl": {
25
+ "type": "string",
26
+ "description": "Pufferfish API 地址,例如 http://127.0.0.1:5020"
27
+ },
28
+ "botUid": {
29
+ "type": "string",
30
+ "description": "机器人唯一标识;留空时默认使用当前 accountId"
31
+ },
32
+ "privateKey": {
33
+ "type": "string",
34
+ "description": "Ed25519 私钥 PEM(用于 connect challenge 签名认证)"
35
+ }
36
+ },
37
+ "required": ["accountId", "apiUrl", "privateKey"]
65
38
  },
66
39
  "description": "机器人配置列表(每项包含 accountId/apiUrl/privateKey,可选 enabled/botUid)"
67
40
  },
68
41
  "profilesList": {
69
42
  "type": "array",
70
43
  "items": {
71
- "$ref": "#/$defs/botProfile"
44
+ "type": "object",
45
+ "additionalProperties": false,
46
+ "properties": {
47
+ "botUid": {
48
+ "type": "string",
49
+ "description": "机器人唯一标识(需与 botsList 中 botUid 一致)"
50
+ },
51
+ "systemPrompt": {
52
+ "type": "string",
53
+ "description": "机器人系统提示词"
54
+ },
55
+ "skills": {
56
+ "type": "array",
57
+ "items": {
58
+ "type": "string"
59
+ },
60
+ "description": "启用技能列表(字符串数组)"
61
+ }
62
+ },
63
+ "required": ["botUid"]
72
64
  },
73
65
  "description": "机器人 profile 列表(每项包含 botUid/systemPrompt/skills)"
74
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qqvu/openclaw-channel",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "OpenClaw channel plugin for QQvu platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",