@ozaiya/openclaw-channel 0.10.18 → 0.10.20

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.d.ts CHANGED
@@ -44,6 +44,9 @@ declare const plugin: {
44
44
  readonly userToken: {
45
45
  readonly type: "string";
46
46
  };
47
+ readonly provisionSecret: {
48
+ readonly type: "string";
49
+ };
47
50
  readonly gatewayName: {
48
51
  readonly type: "string";
49
52
  };
@@ -239,8 +239,9 @@ function listAccountIds(cfg) {
239
239
  if (!ozaiya)
240
240
  return [];
241
241
  const ids = [];
242
- // Gateway mode — returns a special sentinel that runs the gateway orchestrator
243
- if (ozaiya.userToken?.trim()) {
242
+ // Gateway mode — returns a special sentinel that runs the gateway orchestrator.
243
+ // Triggered by a user token (user-owned gateway) OR a provision secret (fleet/system node).
244
+ if (ozaiya.userToken?.trim() || ozaiya.provisionSecret?.trim()) {
244
245
  ids.push(GATEWAY_ACCOUNT_ID);
245
246
  // Also expose any already-loaded gateway bot accounts
246
247
  for (const id of gatewayBotAccounts.keys()) {