liangzimixin 0.3.77 → 0.3.79

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/dist/index.cjs CHANGED
@@ -19819,6 +19819,14 @@ var quantumImPlugin = {
19819
19819
  if (!raw) return void 0;
19820
19820
  const normalized = parseChannelAddress(raw).trim();
19821
19821
  return normalized || void 0;
19822
+ },
19823
+ targetResolver: {
19824
+ looksLikeId: (raw, normalized) => {
19825
+ if (raw.startsWith(`${CHANNEL_ID}:`)) return true;
19826
+ if (normalized && /^[a-zA-Z0-9_\-]+$/.test(normalized)) return true;
19827
+ return false;
19828
+ },
19829
+ hint: "Use the conversation ID or user ID (e.g. 6917612749001351378)."
19822
19830
  }
19823
19831
  },
19824
19832
  outbound: quantumImOutbound,
@@ -22197,6 +22197,14 @@ var quantumImPlugin = {
22197
22197
  if (!raw) return void 0;
22198
22198
  const normalized = parseChannelAddress(raw).trim();
22199
22199
  return normalized || void 0;
22200
+ },
22201
+ targetResolver: {
22202
+ looksLikeId: (raw, normalized) => {
22203
+ if (raw.startsWith(`${CHANNEL_ID}:`)) return true;
22204
+ if (normalized && /^[a-zA-Z0-9_\-]+$/.test(normalized)) return true;
22205
+ return false;
22206
+ },
22207
+ hint: "Use the conversation ID or user ID (e.g. 6917612749001351378)."
22200
22208
  }
22201
22209
  },
22202
22210
  outbound: quantumImOutbound,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "liangzimixin",
3
- "version": "0.3.77",
3
+ "version": "0.3.79",
4
4
  "description": "Quantum-encrypted IM channel plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -7,7 +7,7 @@ REM liangzimixin install script (Windows)
7
7
  REM Usage: liangzimixin_install.bat <appId> <appSecret> [quantumAccount]
8
8
  REM ============================================================
9
9
 
10
- set "SCRIPT_VERSION=0.3.77"
10
+ set "SCRIPT_VERSION=0.3.79"
11
11
  set "NPM_PACKAGE=liangzimixin"
12
12
 
13
13
  set "SKIP_SELF_UPDATE=0"
@@ -6,7 +6,7 @@ set -euo pipefail
6
6
  # 用法: ./liangzimixin_install.sh <appId> <appSecret> [quantumAccount]
7
7
  # ============================================================
8
8
 
9
- SCRIPT_VERSION="0.3.77"
9
+ SCRIPT_VERSION="0.3.79"
10
10
  NPM_PACKAGE="liangzimixin"
11
11
 
12
12
  # ── 颜色 ──────────────────────────────────────────────────────