@lansenger-pm/openclaw-lansenger-channel 3.1.0 → 3.1.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.
@@ -71,6 +71,15 @@
71
71
  "type": "object",
72
72
  "additionalProperties": false,
73
73
  "properties": {
74
+ "enabled": {
75
+ "type": "boolean",
76
+ "default": true,
77
+ "description": "Enable or disable this channel / 启用或禁用此频道"
78
+ },
79
+ "name": {
80
+ "type": "string",
81
+ "description": "Display name for this account / 此账号的显示名称"
82
+ },
74
83
  "appId": {
75
84
  "type": "string",
76
85
  "description": "Lansenger bot App ID / 蓝信机器人 App ID(格式:2285568-xxx)"
@@ -127,19 +136,28 @@
127
136
  "additionalProperties": {
128
137
  "type": "object",
129
138
  "properties": {
139
+ "enabled": { "type": "boolean", "description": "Whether this bot is enabled / 是否启用" },
140
+ "name": { "type": "string", "description": "Display name for this account / 此账号的显示名称" },
130
141
  "appId": { "type": "string", "description": "Bot App ID / 机器人 App ID" },
131
142
  "appSecret": { "type": "string", "description": "Bot App Secret / 机器人 App Secret" },
132
143
  "apiGatewayUrl": { "type": "string", "description": "API Gateway URL / API 网关地址" },
133
-
134
144
  "allowFrom": { "type": "array", "items": { "type": "string" }, "description": "Allowed user IDs / 允许的用户 ID 列表" },
135
- "dmSecurity": { "type": "string", "description": "DM security policy / 私聊安全策略" },
136
- "enabled": { "type": "boolean", "description": "Whether this bot is enabled / 是否启用" }
145
+ "dmSecurity": { "type": "string", "description": "DM security policy / 私聊安全策略" }
137
146
  }
138
147
  }
139
148
  }
140
149
  }
141
150
  },
142
151
  "uiHints": {
152
+ "enabled": {
153
+ "label": "Enabled / 启用",
154
+ "help": "Enable or disable the Lansenger channel / 启用或禁用蓝信频道"
155
+ },
156
+ "name": {
157
+ "label": "Display Name / 显示名称",
158
+ "placeholder": "e.g. QAX Bot / 奇安信机器人",
159
+ "help": "Optional display name for this channel account / 此频道账号的可选显示名称"
160
+ },
143
161
  "appId": {
144
162
  "label": "App ID / 蓝信 App ID",
145
163
  "placeholder": "e.g. 2285568-10117376",
@@ -202,7 +220,15 @@
202
220
  "accounts": {
203
221
  "label": "Multi-Bot Accounts / 多机器人账号",
204
222
  "sensitive": false,
205
- "help": "Configure multiple bots with independent App IDs. Route to different agents using top-level bindings config (see Multi-agent routing section). / 配置多个机器人,每个机器人有独立的 App ID。多 Agent 路由使用顶层 bindings 配置(参见多 Agent 路由章节)。"
223
+ "help": "Configure multiple bots with independent App IDs. Route to different agents using top-level bindings config. / 配置多个机器人,每个机器人有独立的 App ID。多 Agent 路由使用顶层 bindings 配置。"
224
+ },
225
+ "accounts.*.enabled": {
226
+ "label": "Enabled / 启用",
227
+ "help": "Enable/disable this bot account / 启用/禁用该机器人账号"
228
+ },
229
+ "accounts.*.name": {
230
+ "label": "Display Name / 显示名称",
231
+ "help": "Display name for this bot account / 此机器人账号的显示名称"
206
232
  },
207
233
  "accounts.*.appId": {
208
234
  "label": "App ID / 蓝信 App ID",
@@ -232,11 +258,6 @@
232
258
  "open": "Open to All / 对所有人开放"
233
259
  },
234
260
  "help": "DM security policy for this bot / 该机器人的私聊安全策略"
235
- },
236
- "accounts.*.enabled": {
237
- "label": "Enabled / 启用",
238
- "sensitive": false,
239
- "help": "Enable/disable this bot account / 启用/禁用该机器人账号"
240
261
  }
241
262
  }
242
263
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansenger-pm/openclaw-lansenger-channel",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "files": [