@tencent-weixin/openclaw-weixin-cli 2.1.3 → 2.1.4

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.
Files changed (2) hide show
  1. package/cli.mjs +7 -8
  2. package/package.json +1 -1
package/cli.mjs CHANGED
@@ -17,15 +17,14 @@ const CHANNEL_ID = "openclaw-weixin";
17
17
  const SYMLINK_OPENCLAW_MIN = "2026.3.22";
18
18
  const SYMLINK_OPENCLAW_MAX = "2026.3.23";
19
19
  /**
20
- * OpenClaw 2026.5.2 之前的 5.x 版本里,channel-catalog-registry 调
20
+ * OpenClaw 2026.5.2 2026.5.12 之前的版本里,channel-catalog-registry 调
21
21
  * discoverOpenClawPlugins 时漏传 installRecords,导致 npm 装的第三方插件
22
22
  * 不被 CLI catalog 收录(`channels add/login` 报 Unsupported channel)。
23
23
  * 我们通过把 plugin 同时软链到 ~/.openclaw/extensions/<id> 让它走 global
24
- * 发现路径,绕开 ledger。host 修复发布后需要把上界 EXT_SYMLINK_OPENCLAW_MAX
25
- * 收紧到具体的修复版本号。
24
+ * 发现路径,绕开 ledger。OpenClaw 2026.5.12 已修复 channel 识别问题。
26
25
  */
27
26
  const EXT_SYMLINK_OPENCLAW_MIN = "2026.5.2";
28
- const EXT_SYMLINK_OPENCLAW_MAX = "2026.5.99";
27
+ const EXT_SYMLINK_OPENCLAW_MAX = "2026.5.12";
29
28
 
30
29
  const LEGACY_TAG_ALIASES = {
31
30
  legacy: "compat-host-gte2026.3.0-lt2026.3.22",
@@ -186,12 +185,12 @@ function ensureOpenclawSymlink(hostVersion) {
186
185
  function hostVersionNeedsExtSymlink(hostVersion) {
187
186
  if (!hostVersion) return false;
188
187
  const geMin = compareVersions(hostVersion, EXT_SYMLINK_OPENCLAW_MIN);
189
- const leMax = compareVersions(hostVersion, EXT_SYMLINK_OPENCLAW_MAX);
188
+ const ltMax = compareVersions(hostVersion, EXT_SYMLINK_OPENCLAW_MAX);
190
189
  return (
191
190
  !Number.isNaN(geMin) &&
192
- !Number.isNaN(leMax) &&
191
+ !Number.isNaN(ltMax) &&
193
192
  geMin >= 0 &&
194
- leMax <= 0
193
+ ltMax < 0
195
194
  );
196
195
  }
197
196
 
@@ -354,7 +353,7 @@ function install() {
354
353
  ensureOpenclawSymlink(hostVersion);
355
354
 
356
355
  // 5b. Symlink npm-installed plugin into ~/.openclaw/extensions/<id>
357
- // (2026.5.2 only) so the CLI catalog can discover this channel despite
356
+ // (>=2026.5.2 <2026.5.12) so the CLI catalog can discover this channel despite
358
357
  // the channel-catalog-registry installRecords bug.
359
358
  ensurePluginExtSymlink(hostVersion);
360
359
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-weixin/openclaw-weixin-cli",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "Lightweight installer for the OpenClaw Weixin channel plugin",
5
5
  "license": "MIT",
6
6
  "author": "Tencent",