@2en/clawly-plugins 1.24.7-beta.2 → 1.24.7-beta.3
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/config-setup.ts +11 -0
- package/package.json +1 -1
package/config-setup.ts
CHANGED
|
@@ -177,6 +177,17 @@ export function patchBrowser(config: Record<string, unknown>): boolean {
|
|
|
177
177
|
dirty = true
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
// owner: grant mobile app owner permissions (required for cron tool etc.)
|
|
181
|
+
const ownerAllowFrom = Array.isArray(commands.ownerAllowFrom)
|
|
182
|
+
? (commands.ownerAllowFrom as string[])
|
|
183
|
+
: []
|
|
184
|
+
if (!ownerAllowFrom.includes('openclaw-ios')) {
|
|
185
|
+
ownerAllowFrom.push('openclaw-ios')
|
|
186
|
+
commands.ownerAllowFrom = ownerAllowFrom
|
|
187
|
+
config.commands = commands
|
|
188
|
+
dirty = true
|
|
189
|
+
}
|
|
190
|
+
|
|
180
191
|
return dirty
|
|
181
192
|
}
|
|
182
193
|
|