@ozaiya/openclaw-channel 0.10.18 → 0.10.19
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 +3 -0
- package/dist/src/channel.js +3 -2
- package/dist/src/channel.js.map +1 -1
- package/dist/src/configSchema.d.ts +3 -0
- package/dist/src/configSchema.js +3 -0
- package/dist/src/configSchema.js.map +1 -1
- package/dist/src/gateway.js +126 -20
- package/dist/src/gateway.js.map +1 -1
- package/dist/src/sandboxScreenRtc.d.ts +35 -0
- package/dist/src/sandboxScreenRtc.js +147 -0
- package/dist/src/sandboxScreenRtc.js.map +1 -0
- package/dist/src/types.d.ts +1 -0
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
package/dist/src/channel.js
CHANGED
|
@@ -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
|
-
|
|
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()) {
|