liangzimixin 0.3.76 → 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
@@ -18763,7 +18763,7 @@ function resetOutbound() {
18763
18763
  pluginConfigGetter = null;
18764
18764
  initReadyGate();
18765
18765
  }
18766
- var READY_TIMEOUT_MS = 15e3;
18766
+ var READY_TIMEOUT_MS = 12e4;
18767
18767
  async function waitForReady() {
18768
18768
  if (!_readyPromise) return true;
18769
18769
  log7.info("outbound: waiting for dependencies to initialize...");
@@ -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,
@@ -4834,7 +4834,7 @@ function resetOutbound() {
4834
4834
  pluginConfigGetter = null;
4835
4835
  initReadyGate();
4836
4836
  }
4837
- var READY_TIMEOUT_MS = 15e3;
4837
+ var READY_TIMEOUT_MS = 12e4;
4838
4838
  async function waitForReady() {
4839
4839
  if (!_readyPromise) return true;
4840
4840
  log7.info("outbound: waiting for dependencies to initialize...");
@@ -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.76",
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.76"
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.76"
9
+ SCRIPT_VERSION="0.3.79"
10
10
  NPM_PACKAGE="liangzimixin"
11
11
 
12
12
  # ── 颜色 ──────────────────────────────────────────────────────