create-openclaw-bot 5.2.2 → 5.3.0

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.
@@ -251,7 +251,7 @@ checks.push(() => expect(
251
251
 
252
252
  checks.push(() => expectMatch(
253
253
  cli,
254
- /channelKey === 'zalo-personal'\) \{\s*botConfig\.channels\['zalouser'\] = \{\s*enabled: true,\s*dmPolicy: 'open',\s*autoReply: true/s,
254
+ /hasZaloPersonal\(channelKey\)\) \{[\s\S]*botConfig\.channels\['zalouser'\] = \{\s*enabled: true,\s*dmPolicy: 'open',\s*allowFrom: \['\*'\]/s,
255
255
  'CLI must configure Zalo Personal under channels.zalouser'
256
256
  ));
257
257
 
@@ -299,7 +299,7 @@ checks.push(() => expectMatch(
299
299
 
300
300
  checks.push(() => expectMatch(
301
301
  cli,
302
- /if \(channelKey === 'zalo-personal'\) \{\s*await runNativeZaloPersonalLoginFlow\(\{ isVi, projectDir \}\);\s*\}[\s\S]*const child = spawn\('openclaw', \['gateway', 'run'\], \{/s,
302
+ /if \(hasZaloPersonal\(channelKey\)\) \{\s*await runNativeZaloPersonalLoginFlow\(\{ isVi, projectDir \}\);\s*\}[\s\S]*const child = spawn\('openclaw', \['gateway', 'run'\], \{/s,
303
303
  'Native desktop flows must finish the Zalo login flow before starting openclaw in foreground'
304
304
  ));
305
305