Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(tauri): allow recursive home directory access for drag-and-drop image loading (#3472)

Ansh Groverbb8295dc8eab
diff --git a/apps/screenpipe-app-tauri/src-tauri/capabilities/main.json b/apps/screenpipe-app-tauri/src-tauri/capabilities/main.json
index 8b1bbd0de..a6c2d274c 100644
--- a/apps/screenpipe-app-tauri/src-tauri/capabilities/main.json
+++ b/apps/screenpipe-app-tauri/src-tauri/capabilities/main.json
@@ -1,477 +1,481 @@
-{
- "identifier": "migrated",
- "description": "permissions that were migrated from v1",
- "local": true,
- "windows": [
- "*"
- ],
- "remote": {
- "urls": [
- "http://localhost:*",
- "https://api.openai.com/*",
- "https://*.openai.com/*",
- "https://api.screenpi.pe/*",
- "https://*.anthropic.com/*",
- "https://*.ollama.ai/*",
- "https://*"
- ]
- },
- "permissions": [
- "core:event:allow-listen",
- "core:event:default",
- "core:app:allow-version",
- "process:allow-restart",
- "process:allow-exit",
- "notification:default",
- "core:resources:default",
- "core:menu:default",
- "core:tray:default",
- "shell:default",
- {
- "identifier": "shell:allow-open",
- "allow": [
- { "url": "^https?://.*" },
- { "url": "^mailto:.*" },
- { "url": "^tel:.*" },
- { "url": "^x-apple-reminderkit://.*" }
- ]
- },
- "store:default",
- "fs:allow-watch",
- "fs:allow-open",
- "fs:default",
- "fs:allow-read-file",
- "fs:allow-read-dir",
- "fs:allow-read",
- "fs:allow-write-file",
- "fs:read-dirs",
- "fs:allow-copy-file",
- "fs:allow-exists",
- "fs:allow-read-text-file",
- "fs:allow-create",
- "fs:allow-mkdir",
- "fs:allow-remove",
- "fs:allow-rename",
- "global-shortcut:allow-is-registered",
- "global-shortcut:allow-register",
- "global-shortcut:allow-unregister",
- "global-shortcut:allow-unregister-all",
- "global-shortcut:default",
- "sentry:default",
- {
- "identifier": "opener:allow-open-url",
- "allow": [
- { "url": "^https?://.*" },
- { "url": "^mailto:.*" },
- { "url": "^tel:.*" },
- { "url": "^x-apple-reminderkit://.*" },
- { "url": "^obsidian://.*" }
- ]
- },
- "core:window:default",
- "core:window:allow-get-all-windows",
- "core:window:allow-close",
- "core:window:allow-destroy",
- "core:window:allow-start-dragging",
- {
- "identifier": "fs:scope",
- "allow": [
- {
- "path": "$XDG_DATA_HOME",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$XDG_DATA_HOME/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$LOCALAPPDATA/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$LOCALAPPDATA/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPLOCALDATA/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPLOCALDATA/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPDATA/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPDATA/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPCONFIG/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$RESOURCE/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$RESOURCE/.screenpipe/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$DOWNLOAD",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$DOWNLOAD/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.screenpipe/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APP/*",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.screenpipe/data/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.screenpipe/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$RESOURCE/.screenpipe/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.cursor",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.cursor/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.codex",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.codex/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/Library/Application Support/Claude",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/Library/Application Support/Claude/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPDATA/Claude",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPDATA/Claude/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/AppData/Roaming/Claude",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/AppData/Roaming/Claude/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPDATA/Obsidian",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$APPDATA/Obsidian/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/AppData/Roaming/Obsidian",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/AppData/Roaming/Obsidian/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/Library/Application Support/obsidian",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/Library/Application Support/obsidian/**",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.config/obsidian",
- "requireLiteralLeadingDot": false
- },
- {
- "path": "$HOME/.config/obsidian/**",
- "requireLiteralLeadingDot": false
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "exec-sh",
- "cmd": "sh",
- "args": [
- "-c",
- {
- "validator": "\\S+"
- }
- ],
- "sidecar": false
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "screenpipe",
- "cmd": "screenpipe",
- "args": true,
- "sidecar": true
- }
- ]
- },
- "cli:default",
- "shell:allow-spawn",
- "dialog:default",
- "updater:default",
- "os:default",
- "os:allow-arch",
- "os:allow-hostname",
- "os:allow-os-type",
- "core:path:default",
- "process:default",
- "core:webview:allow-internal-toggle-devtools",
- "core:webview:allow-create-webview-window",
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "screenpipe-pipe-list",
- "cmd": "screenpipe",
- "args": [
- "pipe",
- "list",
- "--output",
- "json"
- ],
- "sidecar": true
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "screenpipe-pipe-download",
- "cmd": "screenpipe",
- "args": [
- "pipe",
- "download",
- {
- "validator": "\\S+"
- },
- "--output",
- "json"
- ],
- "sidecar": true
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "screenpipe-pipe-enable",
- "cmd": "screenpipe",
- "args": [
- "pipe",
- "enable",
- {
- "validator": "\\S+"
- }
- ],
- "sidecar": true
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "screenpipe-pipe-disable",
- "cmd": "screenpipe",
- "args": [
- "pipe",
- "disable",
- {
- "validator": "\\S+"
- }
- ],
- "sidecar": true
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "screenpipe-pipe-update",
- "cmd": "screenpipe",
- "args": [
- "pipe",
- "update",
- {
- "validator": "\\S+"
- },
- {
- "validator": "\\{.*\\}"
- }
- ],
- "sidecar": true
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "screenpipe-pipe-delete",
- "cmd": "screenpipe",
- "args": [
- "pipe",
- "delete",
- {
- "validator": "\\S+"
- },
- "--yes"
- ],
- "sidecar": true
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "screenpipe-pipe-info",
- "cmd": "screenpipe",
- "args": [
- "pipe",
- "info",
- {
- "validator": "\\S+"
- },
- "--output",
- "json"
- ],
- "sidecar": true
- }
- ]
- },
- {
- "identifier": "http:default",
- "allow": [
- {
- "url": "http://**/*",
- "methods": [
- "GET",
- "POST",
- "PUT",
- "DELETE",
- "PATCH",
- "HEAD",
- "OPTIONS"
- ]
- },
- {
- "url": "https://**/*",
- "methods": [
- "GET",
- "POST",
- "PUT",
- "DELETE",
- "PATCH",
- "HEAD",
- "OPTIONS"
- ]
- }
- ]
- },
- "deep-link:default",
- "fs:allow-write-text-file",
- {
- "identifier": "fs:scope",
- "allow": [
- {
- "path": "$APPLOCALDATA"
- },
- {
- "path": "$APPLOCALDATA/**"
- },
- {
- "path": "$TEMP"
- },
- {
- "path": "$TEMP/*"
- },
- {
- "path": "$TEMP/**"
- }
- ]
- },
- "opener:default",
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "open",
- "cmd": "open",
- "args": true,
- "sidecar": false
- }
- ]
- },
- {
- "identifier": "shell:allow-execute",
- "allow": [
- {
- "name": "cmd",
- "cmd": "cmd",
- "args": true,
- "sidecar": false
- }
- ]
- }
- ]
-}
+{
+ "identifier": "migrated",
+ "description": "permissions that were migrated from v1",
+ "local": true,
+ "windows": [
+ "*"
+ ],
+ "remote": {
+ "urls": [
+ "http://localhost:*",
+ "https://api.openai.com/*",
+ "https://*.openai.com/*",
+ "https://api.screenpi.pe/*",
+ "https://*.anthropic.com/*",
+ "https://*.ollama.ai/*",
+ "https://*"
+ ]
+ },
+ "permissions": [
+ "core:event:allow-listen",
+ "core:event:default",
+ "core:app:allow-version",
+ "process:allow-restart",
+ "process:allow-exit",
+ "notification:default",
+ "core:resources:default",
+ "core:menu:default",
+ "core:tray:default",
+ "shell:default",
+ {
+ "identifier": "shell:allow-open",
+ "allow": [
+ { "url": "^https?://.*" },
+ { "url": "^mailto:.*" },
+ { "url": "^tel:.*" },
+ { "url": "^x-apple-reminderkit://.*" }
+ ]
+ },
+ "store:default",
+ "fs:allow-watch",
+ "fs:allow-open",
+ "fs:default",
+ "fs:allow-read-file",
+ "fs:allow-read-dir",
+ "fs:allow-read",
+ "fs:allow-write-file",
+ "fs:read-dirs",
+ "fs:allow-copy-file",
+ "fs:allow-exists",
+ "fs:allow-read-text-file",
+ "fs:allow-create",
+ "fs:allow-mkdir",
+ "fs:allow-remove",
+ "fs:allow-rename",
+ "global-shortcut:allow-is-registered",
+ "global-shortcut:allow-register",
+ "global-shortcut:allow-unregister",
+ "global-shortcut:allow-unregister-all",
+ "global-shortcut:default",
+ "sentry:default",
+ {
+ "identifier": "opener:allow-open-url",
+ "allow": [
+ { "url": "^https?://.*" },
+ { "url": "^mailto:.*" },
+ { "url": "^tel:.*" },
+ { "url": "^x-apple-reminderkit://.*" },
+ { "url": "^obsidian://.*" }
+ ]
+ },
+ "core:window:default",
+ "core:window:allow-get-all-windows",
+ "core:window:allow-close",
+ "core:window:allow-destroy",
+ "core:window:allow-start-dragging",
+ {
+ "identifier": "fs:scope",
+ "allow": [
+ {
+ "path": "$XDG_DATA_HOME",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$XDG_DATA_HOME/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$LOCALAPPDATA/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$LOCALAPPDATA/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPLOCALDATA/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPLOCALDATA/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPDATA/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPDATA/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPCONFIG/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$RESOURCE/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$RESOURCE/.screenpipe/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$DOWNLOAD",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$DOWNLOAD/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.screenpipe/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APP/*",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.screenpipe/data/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.screenpipe/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$RESOURCE/.screenpipe/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.cursor",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.cursor/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.codex",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.codex/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/Library/Application Support/Claude",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/Library/Application Support/Claude/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPDATA/Claude",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPDATA/Claude/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/AppData/Roaming/Claude",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/AppData/Roaming/Claude/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPDATA/Obsidian",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$APPDATA/Obsidian/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/AppData/Roaming/Obsidian",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/AppData/Roaming/Obsidian/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/Library/Application Support/obsidian",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/Library/Application Support/obsidian/**",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.config/obsidian",
+ "requireLiteralLeadingDot": false
+ },
+ {
+ "path": "$HOME/.config/obsidian/**",
+ "requireLiteralLeadingDot": false
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "exec-sh",
+ "cmd": "sh",
+ "args": [
+ "-c",
+ {
+ "validator": "\\S+"
+ }
+ ],
+ "sidecar": false
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe",
+ "cmd": "screenpipe",
+ "args": true,
+ "sidecar": true
+ }
+ ]
+ },
+ "cli:default",
+ "shell:allow-spawn",
+ "dialog:default",
+ "updater:default",
+ "os:default",
+ "os:allow-arch",
+ "os:allow-hostname",
+ "os:allow-os-type",
+ "core:path:default",
+ "process:default",
+ "core:webview:allow-internal-toggle-devtools",
+ "core:webview:allow-create-webview-window",
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-list",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "list",
+ "--output",
+ "json"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-download",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "download",
+ {
+ "validator": "\\S+"
+ },
+ "--output",
+ "json"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-enable",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "enable",
+ {
+ "validator": "\\S+"
+ }
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-disable",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "disable",
+ {
+ "validator": "\\S+"
+ }
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-update",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "update",
+ {
+ "validator": "\\S+"
+ },
+ {
+ "validator": "\\{.*\\}"
+ }
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-delete",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "delete",
+ {
+ "validator": "\\S+"
+ },
+ "--yes"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "screenpipe-pipe-info",
+ "cmd": "screenpipe",
+ "args": [
+ "pipe",
+ "info",
+ {
+ "validator": "\\S+"
+ },
+ "--output",
+ "json"
+ ],
+ "sidecar": true
+ }
+ ]
+ },
+ {
+ "identifier": "http:default",
+ "allow": [
+ {
+ "url": "http://**/*",
+ "methods": [
+ "GET",
+ "POST",
+ "PUT",
+ "DELETE",
+ "PATCH",
+ "HEAD",
+ "OPTIONS"
+ ]
+ },
+ {
+ "url": "https://**/*",
+ "methods": [
+ "GET",
+ "POST",
+ "PUT",
+ "DELETE",
+ "PATCH",
+ "HEAD",
+ "OPTIONS"
+ ]
+ }
+ ]
+ },
+ "deep-link:default",
+ "fs:allow-write-text-file",
+ {
+ "identifier": "fs:scope",
+ "allow": [
+ {
+ "path": "$APPLOCALDATA"
+ },
+ {
+ "path": "$APPLOCALDATA/**"
+ },
+ {
+ "path": "$TEMP"
+ },
+ {
+ "path": "$TEMP/*"
+ },
+ {
+ "path": "$TEMP/**"
+ }
+ ]
+ },
+ "opener:default",
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "open",
+ "cmd": "open",
+ "args": true,
+ "sidecar": false
+ }
+ ]
+ },
+ {
+ "identifier": "shell:allow-execute",
+ "allow": [
+ {
+ "name": "cmd",
+ "cmd": "cmd",
+ "args": true,
+ "sidecar": false
+ }
+ ]
+ }
+ ]
+}
diff --git a/apps/screenpipe-app-tauri/src-tauri/gen/schemas/capabilities.json b/apps/screenpipe-app-tauri/src-tauri/gen/schemas/capabilities.json
index c78acb556..dba880652 100644
--- a/apps/screenpipe-app-tauri/src-tauri/gen/schemas/capabilities.json
+++ b/apps/screenpipe-app-tauri/src-tauri/gen/schemas/capabilities.json
@@ -1 +1 @@
-{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","remote":{"urls":["http://localhost:*","https://api.openai.com/*","https://*.openai.com/*","https://api.screenpi.pe/*","https://*.anthropic.com/*","https://*.ollama.ai/*","https://*"]},"local":true,"windows":["*"],"permissions":["core:event:allow-listen","core:event:default","core:app:allow-version","process:allow-restart","process:allow-exit","notification:default","core:resources:default","core:menu:default","core:tray:default","shell:default",{"identifier":"shell:allow-open","allow":[{"url":"^https?://.*"},{"url":"^mailto:.*"},{"url":"^tel:.*"},{"url":"^x-apple-reminderkit://.*"}]},"store:default","fs:allow-watch","fs:allow-open","fs:default","fs:allow-read-file","fs:allow-read-dir","fs:allow-read","fs:allow-write-file","fs:read-dirs","fs:allow-copy-file","fs:allow-exists","fs:allow-read-text-file","fs:allow-create","fs:allow-mkdir","fs:allow-remove","fs:allow-rename","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","global-shortcut:allow-unregister-all","global-shortcut:default","sentry:default",{"identifier":"opener:allow-open-url","allow":[{"url":"^https?://.*"},{"url":"^mailto:.*"},{"url":"^tel:.*"},{"url":"^x-apple-reminderkit://.*"},{"url":"^obsidian://.*"}]},"core:window:default","core:window:allow-get-all-windows","core:window:allow-close","core:window:allow-destroy","core:window:allow-start-dragging",{"identifier":"fs:scope","allow":[{"path":"$XDG_DATA_HOME","requireLiteralLeadingDot":false},{"path":"$XDG_DATA_HOME/**","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/*","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/*","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/*","requireLiteralLeadingDot":false},{"path":"$APPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPCONFIG/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$HOME/*","requireLiteralLeadingDot":false},{"path":"$DOWNLOAD","requireLiteralLeadingDot":false},{"path":"$DOWNLOAD/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$APP/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/data/**","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/**","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/**","requireLiteralLeadingDot":false},{"path":"$HOME/.cursor","requireLiteralLeadingDot":false},{"path":"$HOME/.cursor/**","requireLiteralLeadingDot":false},{"path":"$HOME/.codex","requireLiteralLeadingDot":false},{"path":"$HOME/.codex/**","requireLiteralLeadingDot":false},{"path":"$HOME/Library/Application Support/Claude","requireLiteralLeadingDot":false},{"path":"$HOME/Library/Application Support/Claude/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/Claude","requireLiteralLeadingDot":false},{"path":"$APPDATA/Claude/**","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Roaming/Claude","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Roaming/Claude/**","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/Obsidian","requireLiteralLeadingDot":false},{"path":"$APPDATA/Obsidian/**","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Roaming/Obsidian","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Roaming/Obsidian/**","requireLiteralLeadingDot":false},{"path":"$HOME/Library/Application Support/obsidian","requireLiteralLeadingDot":false},{"path":"$HOME/Library/Application Support/obsidian/**","requireLiteralLeadingDot":false},{"path":"$HOME/.config/obsidian","requireLiteralLeadingDot":false},{"path":"$HOME/.config/obsidian/**","requireLiteralLeadingDot":false}]},{"identifier":"shell:allow-execute","allow":[{"args":["-c",{"validator":"\\S+"}],"cmd":"sh","name":"exec-sh","sidecar":false}]},{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},"cli:default","shell:allow-spawn","dialog:default","updater:default","os:default","os:allow-arch","os:allow-hostname","os:allow-os-type","core:path:default","process:default","core:webview:allow-internal-toggle-devtools","core:webview:allow-create-webview-window",{"identifier":"shell:allow-execute","allow":[{"args":["pipe","list","--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-list","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","download",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-download","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","enable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-enable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","disable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-disable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","update",{"validator":"\\S+"},{"validator":"\\{.*\\}"}],"cmd":"screenpipe","name":"screenpipe-pipe-update","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","delete",{"validator":"\\S+"},"--yes"],"cmd":"screenpipe","name":"screenpipe-pipe-delete","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","info",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-info","sidecar":true}]},{"identifier":"http:default","allow":[{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"http://**/*"},{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"https://**/*"}]},"deep-link:default","fs:allow-write-text-file",{"identifier":"fs:scope","allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"},{"path":"$TEMP"},{"path":"$TEMP/*"},{"path":"$TEMP/**"}]},"opener:default",{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"open","name":"open","sidecar":false}]},{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"cmd","name":"cmd","sidecar":false}]}]}}
\ No newline at end of file
+{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","remote":{"urls":["http://localhost:*","https://api.openai.com/*","https://*.openai.com/*","https://api.screenpi.pe/*","https://*.anthropic.com/*","https://*.ollama.ai/*","https://*"]},"local":true,"windows":["*"],"permissions":["core:event:allow-listen","core:event:default","core:app:allow-version","process:allow-restart","process:allow-exit","notification:default","core:resources:default","core:menu:default","core:tray:default","shell:default",{"identifier":"shell:allow-open","allow":[{"url":"^https?://.*"},{"url":"^mailto:.*"},{"url":"^tel:.*"},{"url":"^x-apple-reminderkit://.*"}]},"store:default","fs:allow-watch","fs:allow-open","fs:default","fs:allow-read-file","fs:allow-read-dir","fs:allow-read","fs:allow-write-file","fs:read-dirs","fs:allow-copy-file","fs:allow-exists","fs:allow-read-text-file","fs:allow-create","fs:allow-mkdir","fs:allow-remove","fs:allow-rename","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","global-shortcut:allow-unregister-all","global-shortcut:default","sentry:default",{"identifier":"opener:allow-open-url","allow":[{"url":"^https?://.*"},{"url":"^mailto:.*"},{"url":"^tel:.*"},{"url":"^x-apple-reminderkit://.*"},{"url":"^obsidian://.*"}]},"core:window:default","core:window:allow-get-all-windows","core:window:allow-close","core:window:allow-destroy","core:window:allow-start-dragging",{"identifier":"fs:scope","allow":[{"path":"$XDG_DATA_HOME","requireLiteralLeadingDot":false},{"path":"$XDG_DATA_HOME/**","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/*","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/*","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/*","requireLiteralLeadingDot":false},{"path":"$APPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPCONFIG/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$HOME/*","requireLiteralLeadingDot":false},{"path":"$HOME/**","requireLiteralLeadingDot":false},{"path":"$DOWNLOAD","requireLiteralLeadingDot":false},{"path":"$DOWNLOAD/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$APP/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/data/**","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/**","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/**","requireLiteralLeadingDot":false},{"path":"$HOME/.cursor","requireLiteralLeadingDot":false},{"path":"$HOME/.cursor/**","requireLiteralLeadingDot":false},{"path":"$HOME/.codex","requireLiteralLeadingDot":false},{"path":"$HOME/.codex/**","requireLiteralLeadingDot":false},{"path":"$HOME/Library/Application Support/Claude","requireLiteralLeadingDot":false},{"path":"$HOME/Library/Application Support/Claude/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/Claude","requireLiteralLeadingDot":false},{"path":"$APPDATA/Claude/**","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Roaming/Claude","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Roaming/Claude/**","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Local/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Roaming/Claude/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/Obsidian","requireLiteralLeadingDot":false},{"path":"$APPDATA/Obsidian/**","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Roaming/Obsidian","requireLiteralLeadingDot":false},{"path":"$HOME/AppData/Roaming/Obsidian/**","requireLiteralLeadingDot":false},{"path":"$HOME/Library/Application Support/obsidian","requireLiteralLeadingDot":false},{"path":"$HOME/Library/Application Support/obsidian/**","requireLiteralLeadingDot":false},{"path":"$HOME/.config/obsidian","requireLiteralLeadingDot":false},{"path":"$HOME/.config/obsidian/**","requireLiteralLeadingDot":false}]},{"identifier":"shell:allow-execute","allow":[{"args":["-c",{"validator":"\\S+"}],"cmd":"sh","name":"exec-sh","sidecar":false}]},{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},"cli:default","shell:allow-spawn","dialog:default","updater:default","os:default","os:allow-arch","os:allow-hostname","os:allow-os-type","core:path:default","process:default","core:webview:allow-internal-toggle-devtools","core:webview:allow-create-webview-window",{"identifier":"shell:allow-execute","allow":[{"args":["pipe","list","--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-list","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","download",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-download","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","enable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-enable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","disable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-disable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","update",{"validator":"\\S+"},{"validator":"\\{.*\\}"}],"cmd":"screenpipe","name":"screenpipe-pipe-update","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","delete",{"validator":"\\S+"},"--yes"],"cmd":"screenpipe","name":"screenpipe-pipe-delete","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","info",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-info","sidecar":true}]},{"identifier":"http:default","allow":[{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"http://**/*"},{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"https://**/*"}]},"deep-link:default","fs:allow-write-text-file",{"identifier":"fs:scope","allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"},{"path":"$TEMP"},{"path":"$TEMP/*"},{"path":"$TEMP/**"}]},"opener:default",{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"open","name":"open","sidecar":false}]},{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"cmd","name":"cmd","sidecar":false}]}]}}
\ No newline at end of file