Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(tauri): plugin permissions (#3895)
Peter Chinman3aada3004b88
diff --git a/js/app/tauri/callkit_plugin/build.rs b/js/app/tauri/callkit_plugin/build.rsindex 559f77089d..f832e6c25c 100644--- a/js/app/tauri/callkit_plugin/build.rs+++ b/js/app/tauri/callkit_plugin/build.rs@@ -4,6 +4,8 @@ use std::{};const COMMANDS: &[&str] = &[+ "register_listener",+ "remove_listener","get_voip_token","end_active_call","get_pending_answered_call",diff --git a/js/app/tauri/callkit_plugin/permissions/autogenerated/commands/register_listener.toml b/js/app/tauri/callkit_plugin/permissions/autogenerated/commands/register_listener.tomlnew file mode 100644index 0000000000..48363c0d5f--- /dev/null+++ b/js/app/tauri/callkit_plugin/permissions/autogenerated/commands/register_listener.toml@@ -0,0 +1,13 @@+# Automatically generated - DO NOT EDIT!++"$schema" = "../../schemas/schema.json"++[[permission]]+identifier = "allow-register-listener"+description = "Enables the register_listener command without any pre-configured scope."+commands.allow = ["register_listener"]++[[permission]]+identifier = "deny-register-listener"+description = "Denies the register_listener command without any pre-configured scope."+commands.deny = ["register_listener"]diff --git a/js/app/tauri/callkit_plugin/permissions/autogenerated/commands/remove_listener.toml b/js/app/tauri/callkit_plugin/permissions/autogenerated/commands/remove_listener.tomlnew file mode 100644index 0000000000..9f315e51e0--- /dev/null+++ b/js/app/tauri/callkit_plugin/permissions/autogenerated/commands/remove_listener.toml@@ -0,0 +1,13 @@+# Automatically generated - DO NOT EDIT!++"$schema" = "../../schemas/schema.json"++[[permission]]+identifier = "allow-remove-listener"+description = "Enables the remove_listener command without any pre-configured scope."+commands.allow = ["remove_listener"]++[[permission]]+identifier = "deny-remove-listener"+description = "Denies the remove_listener command without any pre-configured scope."+commands.deny = ["remove_listener"]diff --git a/js/app/tauri/callkit_plugin/permissions/autogenerated/reference.md b/js/app/tauri/callkit_plugin/permissions/autogenerated/reference.mdindex 3e7629bf8d..a2e765471c 100644--- a/js/app/tauri/callkit_plugin/permissions/autogenerated/reference.md+++ b/js/app/tauri/callkit_plugin/permissions/autogenerated/reference.md@@ -114,6 +114,58 @@ Denies the get_voip_token command without any pre-configured scope.<tr><td>+`call-kit:allow-register-listener`++</td>+<td>++Enables the register_listener command without any pre-configured scope.++</td>+</tr>++<tr>+<td>++`call-kit:deny-register-listener`++</td>+<td>++Denies the register_listener command without any pre-configured scope.++</td>+</tr>++<tr>+<td>++`call-kit:allow-remove-listener`++</td>+<td>++Enables the remove_listener command without any pre-configured scope.++</td>+</tr>++<tr>+<td>++`call-kit:deny-remove-listener`++</td>+<td>++Denies the remove_listener command without any pre-configured scope.++</td>+</tr>++<tr>+<td>+`call-kit:allow-set-call-drawer-channel-title`</td>diff --git a/js/app/tauri/callkit_plugin/permissions/schemas/schema.json b/js/app/tauri/callkit_plugin/permissions/schemas/schema.jsonindex 494b75fecf..9ece65d847 100644--- a/js/app/tauri/callkit_plugin/permissions/schemas/schema.json+++ b/js/app/tauri/callkit_plugin/permissions/schemas/schema.json@@ -342,6 +342,30 @@"const": "deny-get-voip-token","markdownDescription": "Denies the get_voip_token command without any pre-configured scope."},+ {+ "description": "Enables the register_listener command without any pre-configured scope.",+ "type": "string",+ "const": "allow-register-listener",+ "markdownDescription": "Enables the register_listener command without any pre-configured scope."+ },+ {+ "description": "Denies the register_listener command without any pre-configured scope.",+ "type": "string",+ "const": "deny-register-listener",+ "markdownDescription": "Denies the register_listener command without any pre-configured scope."+ },+ {+ "description": "Enables the remove_listener command without any pre-configured scope.",+ "type": "string",+ "const": "allow-remove-listener",+ "markdownDescription": "Enables the remove_listener command without any pre-configured scope."+ },+ {+ "description": "Denies the remove_listener command without any pre-configured scope.",+ "type": "string",+ "const": "deny-remove-listener",+ "markdownDescription": "Denies the remove_listener command without any pre-configured scope."+ },{"description": "Enables the set_call_drawer_channel_title command without any pre-configured scope.","type": "string",diff --git a/js/app/tauri/src-tauri/capabilities/mobile.json b/js/app/tauri/src-tauri/capabilities/mobile.jsonindex c6fa473fa6..0f2d363491 100644--- a/js/app/tauri/src-tauri/capabilities/mobile.json+++ b/js/app/tauri/src-tauri/capabilities/mobile.json@@ -15,6 +15,10 @@"log:default","auth:allow-authenticate","device-info:default",+ "pasteboard:allow-stage-pasteboard-image",+ "photo-library:allow-pick-photo-library-images",+ "call-kit:allow-register-listener",+ "call-kit:allow-remove-listener","call-kit:allow-get-voip-token","call-kit:allow-end-active-call","call-kit:allow-get-pending-answered-call",