@lansenger-pm/openclaw-lansenger-channel 3.1.7 → 3.1.9
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.fr.md +7 -20
- package/README.md +7 -7
- package/README.zhHans.md +7 -7
- package/README.zhHant.md +9 -9
- package/README.zhHantHK.md +8 -8
- package/package.json +1 -1
package/README.fr.md
CHANGED
|
@@ -59,15 +59,15 @@ openclaw plugins install @lansenger-pm/openclaw-lansenger-channel
|
|
|
59
59
|
openclaw config set plugins.entries.lansenger.enabled true
|
|
60
60
|
|
|
61
61
|
# 3. Configurer le canal (assistant interactif)
|
|
62
|
-
openclaw channels add
|
|
63
|
-
# OU
|
|
64
|
-
openclaw channels add --channel lansenger
|
|
62
|
+
openclaw channels add
|
|
63
|
+
# OU ajout rapide (crée une config vide, puis lancez l'assistant ci-dessus) :
|
|
64
|
+
# openclaw channels add --channel lansenger
|
|
65
65
|
|
|
66
66
|
# 4. Redémarrer la passerelle
|
|
67
67
|
openclaw gateway restart
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
Les métadonnées `openclaw.install` dans `package.json` (`npmSpec`, `localPath`, `defaultChoice`) permettent l'**installation à la demande** : si un utilisateur
|
|
70
|
+
Les métadonnées `openclaw.install` dans `package.json` (`npmSpec`, `localPath`, `defaultChoice`) permettent l'**installation à la demande** : si un utilisateur sélectionne Lansenger dans l'assistant `openclaw channels add` avant que le plugin soit installé, OpenClaw peut l'installer automatiquement.
|
|
71
71
|
|
|
72
72
|
> **Passerelle personnalisée** : pour les déploiements entreprise (ex. 奇安信), configurez `apiGatewayUrl` dans `openclaw.json` ou via les variables d'environnement après la configuration — voir [Configuration optionnelle](#configuration-optionnelle).
|
|
73
73
|
|
|
@@ -126,7 +126,7 @@ Les identifiants peuvent aussi être fournis via la configuration `openclaw.json
|
|
|
126
126
|
"homeChannel": "lansenger",
|
|
127
127
|
"enabled": true,
|
|
128
128
|
"allowFrom": ["your-appid"],
|
|
129
|
-
"
|
|
129
|
+
"dmPolicy": "pairing",
|
|
130
130
|
"accounts": {
|
|
131
131
|
"your-appid": {
|
|
132
132
|
"appId": "your-appid",
|
|
@@ -147,7 +147,7 @@ Les identifiants peuvent aussi être fournis via la configuration `openclaw.json
|
|
|
147
147
|
| `homeChannel` | Canal par défaut pour le routage de l'agent | `lansenger` |
|
|
148
148
|
| `enabled` | Activer/désactiver le canal | `true` |
|
|
149
149
|
| `allowFrom` | IDs d'utilisateurs autorisés en DM | `[]` |
|
|
150
|
-
| `
|
|
150
|
+
| `dmPolicy` | Politique DM : `pairing`, `allowlist`, `open`, `disabled` | `pairing` |
|
|
151
151
|
| `accounts` | Configuration multi-bot | — |
|
|
152
152
|
| `groupPolicy` | Politique de groupe : `open` (tous les groupes), `allowlist` (groupes autorisés uniquement), `disabled` (messages de groupe désactivés) | `allowlist` |
|
|
153
153
|
| `groupAllowFrom` | IDs de groupes autorisés à déclencher le bot | `[]` |
|
|
@@ -175,7 +175,7 @@ Structure de configuration résultante :
|
|
|
175
175
|
"lansenger": {
|
|
176
176
|
"appId": "your-appid-2",
|
|
177
177
|
"appSecret": "...",
|
|
178
|
-
"
|
|
178
|
+
"dmPolicy": "pairing",
|
|
179
179
|
"accounts": {
|
|
180
180
|
"your-appid-2": {
|
|
181
181
|
"appId": "your-appid-2",
|
|
@@ -384,19 +384,6 @@ Les mises à jour de statut d'approbation utilisent le format DynamicMsg appCard
|
|
|
384
384
|
- **v2.3** — Suppression envoi groupe/privé legacy ; routage via msgTarget
|
|
385
385
|
- **v2.2** — Ajout 9 outils agent
|
|
386
386
|
- **v2.0** — Version initiale
|
|
387
|
-
- **v2.10.0** — Conversion automatique px→pt pour appCard ; classification erreurs sendImageUrl ; journalisation info pour inscription outils
|
|
388
|
-
- **v2.9.12** — Suppression `defaultAccount` ; uiHints (labels chinois) ; nettoyage README (5 langues)
|
|
389
|
-
- **v2.9.11** — Adaptateur de statut ; repli sur variables d'environnement ; `channels status --probe` affiche « configured » et « works »
|
|
390
|
-
- **v2.8.1** — Correction README : flux d'installation 4 étapes ; SKILL.md frontmatter (spec AgentSkills) ; identifiant de canal en minuscules `lansenger`
|
|
391
|
-
- **v2.8.0** — Routage multi-agent OpenClaw `bindings[]` ; groupPolicy/groupAllowFrom/groups contrôle d'accès groupe
|
|
392
|
-
- **v2.7.0** — Enregistrement outils comme objets simples ; état runtime pour client/target
|
|
393
|
-
- **v2.6.0** — Enregistrement inconditionnel des outils ; suppression du ghost delete_message
|
|
394
|
-
- **v2.5.2** — formatText reminder ; AppArticles champ `summary` ; suppression delete_message
|
|
395
|
-
- **v2.5.1** — Retour sysMsg/deleteMessage (API non fonctionnel) ; revoke chatType bot/group uniquement
|
|
396
|
-
- **v2.4.0** — Correction assemblage message : wrap() exclut msgType ; corrections appArticles/linkCard
|
|
397
|
-
- **v2.3.0** — Suppression envoi groupe/privé legacy ; routage via msgTarget
|
|
398
|
-
- **v2.2.0** — Ajout 9 outils agent
|
|
399
|
-
- **v2.0.0** — Version initiale
|
|
400
387
|
|
|
401
388
|
## Licence
|
|
402
389
|
|
package/README.md
CHANGED
|
@@ -57,15 +57,15 @@ openclaw plugins install @lansenger-pm/openclaw-lansenger-channel
|
|
|
57
57
|
openclaw config set plugins.entries.lansenger.enabled true
|
|
58
58
|
|
|
59
59
|
# 3. Configure the channel (interactive wizard)
|
|
60
|
-
openclaw channels add
|
|
61
|
-
# OR
|
|
62
|
-
openclaw channels add --channel lansenger
|
|
60
|
+
openclaw channels add
|
|
61
|
+
# OR quick add (creates empty config, then run wizard above):
|
|
62
|
+
# openclaw channels add --channel lansenger
|
|
63
63
|
|
|
64
64
|
# 4. Restart the gateway
|
|
65
65
|
openclaw gateway restart
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
The `openclaw.install` metadata in `package.json` (`npmSpec`, `localPath`, `defaultChoice`) enables **install-on-demand**: if a user
|
|
68
|
+
The `openclaw.install` metadata in `package.json` (`npmSpec`, `localPath`, `defaultChoice`) enables **install-on-demand**: if a user selects Lansenger in the `openclaw channels add` wizard before the plugin is installed, OpenClaw can automatically install it using this metadata.
|
|
69
69
|
|
|
70
70
|
> **Custom gateway**: For enterprise deployments (e.g. 奇安信), set `apiGatewayUrl` in `openclaw.json` or environment after configuration — see [Optional Configuration](#optional-configuration).
|
|
71
71
|
|
|
@@ -118,7 +118,7 @@ Credentials can also be provided via `openclaw.json` config (see Optional Config
|
|
|
118
118
|
"homeChannel": "lansenger",
|
|
119
119
|
"enabled": true,
|
|
120
120
|
"allowFrom": ["your-appid"],
|
|
121
|
-
"
|
|
121
|
+
"dmPolicy": "pairing",
|
|
122
122
|
"accounts": {
|
|
123
123
|
"your-appid": {
|
|
124
124
|
"appId": "your-appid",
|
|
@@ -139,7 +139,7 @@ Credentials can also be provided via `openclaw.json` config (see Optional Config
|
|
|
139
139
|
| `homeChannel` | Default channel for agent routing | `lansenger` |
|
|
140
140
|
| `enabled` | Enable/disable the channel | `true` |
|
|
141
141
|
| `allowFrom` | User IDs allowed to DM the bot | `[]` |
|
|
142
|
-
| `
|
|
142
|
+
| `dmPolicy` | DM policy: `pairing`, `allowlist`, `open`, `disabled` | `pairing` |
|
|
143
143
|
| `accounts` | Multi-bot configuration | — |
|
|
144
144
|
| `groupPolicy` | Group policy: `open`, `allowlist`, `disabled` | `allowlist` |
|
|
145
145
|
| `groupAllowFrom` | Group IDs allowed to trigger the bot | `[]` |
|
|
@@ -167,7 +167,7 @@ The resulting config structure:
|
|
|
167
167
|
"lansenger": {
|
|
168
168
|
"appId": "your-appid-2",
|
|
169
169
|
"appSecret": "...",
|
|
170
|
-
"
|
|
170
|
+
"dmPolicy": "pairing",
|
|
171
171
|
"accounts": {
|
|
172
172
|
"your-appid-2": {
|
|
173
173
|
"appId": "your-appid-2",
|
package/README.zhHans.md
CHANGED
|
@@ -59,15 +59,15 @@ openclaw plugins install @lansenger-pm/openclaw-lansenger-channel
|
|
|
59
59
|
openclaw config set plugins.entries.lansenger.enabled true
|
|
60
60
|
|
|
61
61
|
# 3. 配置频道(交互式向导)
|
|
62
|
-
openclaw channels add
|
|
63
|
-
#
|
|
64
|
-
openclaw channels add --channel lansenger
|
|
62
|
+
openclaw channels add
|
|
63
|
+
# 或者快速添加(创建空配置,再运行上面的向导):
|
|
64
|
+
# openclaw channels add --channel lansenger
|
|
65
65
|
|
|
66
66
|
# 4. 重启网关
|
|
67
67
|
openclaw gateway restart
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
`package.json` 中的 `openclaw.install` 元数据(`npmSpec`、`localPath`、`defaultChoice
|
|
70
|
+
`package.json` 中的 `openclaw.install` 元数据(`npmSpec`、`localPath`、`defaultChoice`)支持**按需安装**:如果用户在 `openclaw channels add` 向导中选择 Lansenger 但插件未安装,OpenClaw 可自动安装该插件。
|
|
71
71
|
|
|
72
72
|
> **自定义网关**:企业私有化部署(如奇安信)需在配置后通过 `openclaw.json` 或环境变量设置 `apiGatewayUrl` — 见[可选配置](#可选配置)。
|
|
73
73
|
|
|
@@ -126,7 +126,7 @@ openclaw pairing approve lansenger <配对码>
|
|
|
126
126
|
"homeChannel": "lansenger",
|
|
127
127
|
"enabled": true,
|
|
128
128
|
"allowFrom": ["your-appid"],
|
|
129
|
-
"
|
|
129
|
+
"dmPolicy": "pairing",
|
|
130
130
|
"accounts": {
|
|
131
131
|
"your-appid": {
|
|
132
132
|
"appId": "your-appid",
|
|
@@ -147,7 +147,7 @@ openclaw pairing approve lansenger <配对码>
|
|
|
147
147
|
| `homeChannel` | 代理路由的默认频道 | `lansenger` |
|
|
148
148
|
| `enabled` | 启用/禁用频道 | `true` |
|
|
149
149
|
| `allowFrom` | 允许私聊的用户 ID | `[]` |
|
|
150
|
-
| `
|
|
150
|
+
| `dmPolicy` | 私聊策略:`pairing`、`allowlist`、`open`、`disabled` | `pairing` |
|
|
151
151
|
| `accounts` | 多机器人配置 | — |
|
|
152
152
|
| `groupPolicy` | 群聊策略:`open`(所有群)、`allowlist`(仅允许列表群)、`disabled`(禁止群消息) | `allowlist` |
|
|
153
153
|
| `groupAllowFrom` | 允许触发机器人的群 ID | `[]` |
|
|
@@ -175,7 +175,7 @@ openclaw gateway restart
|
|
|
175
175
|
"lansenger": {
|
|
176
176
|
"appId": "your-appid-2",
|
|
177
177
|
"appSecret": "...",
|
|
178
|
-
"
|
|
178
|
+
"dmPolicy": "pairing",
|
|
179
179
|
"accounts": {
|
|
180
180
|
"your-appid-2": {
|
|
181
181
|
"appId": "your-appid-2",
|
package/README.zhHant.md
CHANGED
|
@@ -58,16 +58,16 @@ openclaw plugins install @lansenger-pm/openclaw-lansenger-channel
|
|
|
58
58
|
# 2. 啟用插件(如未自動啟用)
|
|
59
59
|
openclaw config set plugins.entries.lansenger.enabled true
|
|
60
60
|
|
|
61
|
-
# 3.
|
|
62
|
-
openclaw channels add
|
|
63
|
-
#
|
|
64
|
-
openclaw channels add --channel lansenger
|
|
61
|
+
# 3. 配置頻道(互動式精靈)
|
|
62
|
+
openclaw channels add
|
|
63
|
+
# 或快速新增(建立空設定,再執行上面的精靈):
|
|
64
|
+
# openclaw channels add --channel lansenger
|
|
65
65
|
|
|
66
66
|
# 4. 重啟閘道
|
|
67
67
|
openclaw gateway restart
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
`package.json` 中的 `openclaw.install` 元資料(`npmSpec`、`localPath`、`defaultChoice
|
|
70
|
+
`package.json` 中的 `openclaw.install` 元資料(`npmSpec`、`localPath`、`defaultChoice`)支援**按需安裝**:如果使用者在 `openclaw channels add` 精靈中選擇 Lansenger 但插件未安裝,OpenClaw 可自動安裝該插件。
|
|
71
71
|
|
|
72
72
|
> **自訂閘道**:企業私有化部署(如奇安信)需在設定後透過 `openclaw.json` 或環境變數設定 `apiGatewayUrl` — 見[可選設定](#可選設定)。
|
|
73
73
|
|
|
@@ -126,7 +126,7 @@ openclaw pairing approve lansenger <配對碼>
|
|
|
126
126
|
"homeChannel": "lansenger",
|
|
127
127
|
"enabled": true,
|
|
128
128
|
"allowFrom": ["your-appid"],
|
|
129
|
-
"
|
|
129
|
+
"dmPolicy": "pairing",
|
|
130
130
|
"accounts": {
|
|
131
131
|
"your-appid": {
|
|
132
132
|
"appId": "your-appid",
|
|
@@ -147,7 +147,7 @@ openclaw pairing approve lansenger <配對碼>
|
|
|
147
147
|
| `homeChannel` | 代理路由的預設頻道 | `lansenger` |
|
|
148
148
|
| `enabled` | 啟用/禁用頻道 | `true` |
|
|
149
149
|
| `allowFrom` | 允許私聊的使用者 ID | `[]` |
|
|
150
|
-
| `
|
|
150
|
+
| `dmPolicy` | 私聊策略:`pairing`、`allowlist`、`open`、`disabled` | `pairing` |
|
|
151
151
|
| `accounts` | 多機器人設定 | — |
|
|
152
152
|
| `groupPolicy` | 群聊策略:`open`(所有群)、`allowlist`(僅允許列表群)、`disabled`(禁止群訊息) | `allowlist` |
|
|
153
153
|
| `groupAllowFrom` | 允許觸發機器人的群 ID | `[]` |
|
|
@@ -175,7 +175,7 @@ openclaw gateway restart
|
|
|
175
175
|
"lansenger": {
|
|
176
176
|
"appId": "your-appid-2",
|
|
177
177
|
"appSecret": "...",
|
|
178
|
-
"
|
|
178
|
+
"dmPolicy": "pairing",
|
|
179
179
|
"accounts": {
|
|
180
180
|
"your-appid-2": {
|
|
181
181
|
"appId": "your-appid-2",
|
|
@@ -383,7 +383,7 @@ Agent 路由由 OpenClaw 的 `bindings[]` 設定管理——見[多 Agent 路由
|
|
|
383
383
|
- **v2.4** — 修復訊息體組裝;appArticles/linkCard 欄位修復
|
|
384
384
|
- **v2.3** — 移除遺留群組/私聊傳送;全部透過 msgTarget 路由
|
|
385
385
|
- **v2.2** — 新增 9 個 agent 工具
|
|
386
|
-
- **v2.0
|
|
386
|
+
- **v2.0** — 初始發佈
|
|
387
387
|
|
|
388
388
|
## 授權條款
|
|
389
389
|
|
package/README.zhHantHK.md
CHANGED
|
@@ -58,16 +58,16 @@ openclaw plugins install @lansenger-pm/openclaw-lansenger-channel
|
|
|
58
58
|
# 2. 啟用插件(如未自動啟用)
|
|
59
59
|
openclaw config set plugins.entries.lansenger.enabled true
|
|
60
60
|
|
|
61
|
-
# 3.
|
|
62
|
-
openclaw channels add
|
|
63
|
-
#
|
|
64
|
-
openclaw channels add --channel lansenger
|
|
61
|
+
# 3. 配置頻道(互動式精靈)
|
|
62
|
+
openclaw channels add
|
|
63
|
+
# 或快速新增(建立空設定,再執行上面的精靈):
|
|
64
|
+
# openclaw channels add --channel lansenger
|
|
65
65
|
|
|
66
66
|
# 4. 重啟網關
|
|
67
67
|
openclaw gateway restart
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
`package.json` 中的 `openclaw.install` 元資料(`npmSpec`、`localPath`、`defaultChoice
|
|
70
|
+
`package.json` 中的 `openclaw.install` 元資料(`npmSpec`、`localPath`、`defaultChoice`)支援**按需安裝**:如果使用者在 `openclaw channels add` 精靈中選擇 Lansenger 但插件未安裝,OpenClaw 可自動安裝該插件。
|
|
71
71
|
|
|
72
72
|
> **自訂閘道**:企業私有化部署(如奇安信)需在設定後透過 `openclaw.json` 或環境變數設定 `apiGatewayUrl` — 見[可選設定](#可選設定)。
|
|
73
73
|
|
|
@@ -126,7 +126,7 @@ openclaw pairing approve lansenger <配對碼>
|
|
|
126
126
|
"homeChannel": "lansenger",
|
|
127
127
|
"enabled": true,
|
|
128
128
|
"allowFrom": ["your-appid"],
|
|
129
|
-
"
|
|
129
|
+
"dmPolicy": "pairing",
|
|
130
130
|
"accounts": {
|
|
131
131
|
"your-appid": {
|
|
132
132
|
"appId": "your-appid",
|
|
@@ -147,7 +147,7 @@ openclaw pairing approve lansenger <配對碼>
|
|
|
147
147
|
| `homeChannel` | 代理路由的預設頻道 | `lansenger` |
|
|
148
148
|
| `enabled` | 啟用/禁用頻道 | `true` |
|
|
149
149
|
| `allowFrom` | 允許私聊的使用者 ID | `[]` |
|
|
150
|
-
| `
|
|
150
|
+
| `dmPolicy` | 私聊策略:`pairing`、`allowlist`、`open`、`disabled` | `pairing` |
|
|
151
151
|
| `accounts` | 多機械人設定 | — |
|
|
152
152
|
| `groupPolicy` | 羣聊策略:`open`(所有羣)、`allowlist`(僅允許列表羣)、`disabled`(禁止羣訊息) | `allowlist` |
|
|
153
153
|
| `groupAllowFrom` | 允許觸發機械人的羣 ID | `[]` |
|
|
@@ -177,7 +177,7 @@ openclaw gateway restart
|
|
|
177
177
|
"lansenger": {
|
|
178
178
|
"appId": "your-appid-2",
|
|
179
179
|
"appSecret": "...",
|
|
180
|
-
"
|
|
180
|
+
"dmPolicy": "pairing",
|
|
181
181
|
"accounts": {
|
|
182
182
|
"your-appid-2": {
|
|
183
183
|
"appId": "your-appid-2",
|