@commonlyai/cli 0.1.101 → 0.1.102
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/package.json +1 -1
- package/src/lib/sandbox/seatbelt.js +10 -1
package/package.json
CHANGED
|
@@ -264,7 +264,16 @@ const PLATFORM_BASELINE = String.raw`
|
|
|
264
264
|
(global-name "com.apple.trustd.agent")
|
|
265
265
|
(global-name "com.apple.xpc.activity.unmanaged")
|
|
266
266
|
(local-name "com.apple.cfprefsd.agent"))
|
|
267
|
-
|
|
267
|
+
; cfprefsd serves a sandboxed client a preference domain only when this
|
|
268
|
+
; profile admits user-preference-read for that domain (or file-read-data on
|
|
269
|
+
; its plist, which HOME never gets). An unfiltered rule hands a confined agent
|
|
270
|
+
; every app's domain in ~/Library/Preferences. Admit only the global domain
|
|
271
|
+
; (.GlobalPreferences: locale, languages, units). It is the one domain a
|
|
272
|
+
; sandboxed tool was measured requesting: /usr/bin/security, which Claude
|
|
273
|
+
; runs to read its Keychain credential. Node, OpenCode and Qwen request none.
|
|
274
|
+
; Apple's App Sandbox grants every app this same domain.
|
|
275
|
+
(allow user-preference-read
|
|
276
|
+
(preference-domain "kCFPreferencesAnyApplication"))
|
|
268
277
|
|
|
269
278
|
; The selected provider and declared MCP transports need outbound network. The model's
|
|
270
279
|
; WebSearch/WebFetch/Bash tools are denied independently in the adapter argv.
|