@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.
Files changed (2) hide show
  1. package/config-setup.ts +11 -0
  2. 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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2en/clawly-plugins",
3
- "version": "1.24.7-beta.2",
3
+ "version": "1.24.7-beta.3",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "repository": {