Skip to Content
Spiti

Review plugin permissions

See what a plugin asks for before it installs, revoke or grant access later, and hide the places it shows up.

Review a plugin before it installs

When you install a plugin from Plugins or with spiti install, Spiti.app asks Install followed by the plugin's name. Under It asks to, each permission shows the plugin's own reason in quotes, its scope (hosts, programs or keys) and what it allows. Sensitive permissions come first, with a Sensitive badge.

A permission that relies on macOS access also shows where macOS stands, such as "macOS Accessibility: not asked yet". The same screen lists the plugin's Database, the plugins it Uses, and what it Adds to Spiti: its page, cards, menu bar items, floating windows, Island activities and shortcuts.

An integration that runs a program on your Mac, such as gh, lists what the program runs with: the variables it takes from your environment, the ones the package sets, and the folders it looks for the program in. When you update it, anything the new version adds is marked New.

Choose Allow and install to install it with every permission granted. Cancel installs nothing.

In an interactive terminal, spiti install prints the same list and asks Allow and install? [y/N]. Run from a script or an agent, it prints Waiting for you to answer in Spiti.app… and waits for you. A request nobody answers expires after 10 minutes.

What each permission allows

PermissionLets the pluginSensitiveRelies on macOS
Terminal accessOpen Spiti terminal sessions, which have full access to your MacYes
Run local programsRun the listed programs, such as gh or ffmpeg, with your rights, in its sandboxYes
Network accessReach the listed hosts, and no others
NotificationsNotify you, now or at a set time, on your Mac and in the InboxNotifications
Global shortcutsRegister key combinations that work from any app
Other apps' windowsRead and move the focused window of any appAccessibility
Type into other appsInsert text into the field you're typing in, right after you trigger itYesAccessibility
Held keysKnow when you press and release the listed keys, and no other keystrokesInput Monitoring
MicrophoneHear live audio during a session it startsYesMicrophone
ClipboardRead the text or image you copy, and copy text or images for youYes
Native programBuild a program from its own source at install and run it in its sandboxYes

A plugin's page, sidebar item, cards, commands, menu bar items, floating windows and Island activities need no permission. See Use native plugin features for held keys, the microphone, the clipboard and native programs, and Give Spiti macOS access for the macOS side.

Revoke or grant a permission

Open the plugin's section in Settings. The Permissions card shows each permission as Granted with when it was last used, or Not granted. Choose Revoke or Grant. Changes take effect at once. Granting a sensitive permission asks you to confirm with Grant access.

You can change permissions only in Spiti.app on the Mac that hosts Spiti. In a browser, the card shows them without buttons.

When a plugin is missing a permission, its page shows a banner such as Missing network access. Choose Review permissions to grant it again. The plugin keeps its data and settings while a permission is off.

Change permissions from the terminal

spiti permissions hello
spiti permissions revoke hello network
spiti permissions grant hello network

The first command lists each permission with its state, scope, reason and last use. Grant and revoke ask you to confirm. Granting needs an interactive terminal, so a script or agent can't grant a permission on your behalf.

Hide where a plugin shows up

The plugin's Surfaces card in Settings has a switch for each place it appears: Page and sidebar item, Settings section, Command palette entries, Cards, Global shortcuts, Menu bar items, Floating windows and Island activities. Only the ones the plugin has are listed. Turning one off hides it without revoking anything.

For plugin authors

Declare each permission under permissions in spiti.json with a reason, shown word for word at install. Scoped permissions list their scope: hosts for network, commands for exec, keys for native.modifierTriggers. The ids are network, exec, terminal, notifications, shortcuts, native.windows, native.insertText, native.modifierTriggers, native.microphone and native.clipboard. A native program is declared in its own sidecar field.

"permissions": {
  "network": { "hosts": ["api.github.com"], "reason": "Read your open pull requests" },
  "exec": { "commands": ["gh"], "reason": "Run gh with your GitHub login" }
}

spiti plugin check fails an unknown id or a missing reason. Gated calls run from server code only: ctx.fetch() and plain fetch reach granted hosts, and ctx.exec(command, args) runs a granted program. A call without its grant throws PermissionDeniedError.

On this page