Muxy

Permissions

An extension lists what it needs in muxy.permissions. Calls without the matching permission fail, and unknown permission names stop the extension from loading. Ask for the minimum.

"permissions": ["tabs:read", "git:read", "notifications:write"]

Permissions

PermissionAllows
tabs:readtabs.list
tabs:writeOpen, switch, split, create, close, rename, color, pin, and move tabs; set a tab's title and icon; openTab commands
panes:readpanes.list, panes.readScreen
panes:writeEvery other panes.* call: typing, closing, focusing, splitting, zooming, detaching, restarting, floating, and moving panes
projects:readList projects, workspaces, and removed projects; the projects.changed event
projects:writeAdd, switch, rename, recolor, reorder, focus, sort, and restore projects; manage workspaces
projects:deleteprojects.delete
worktrees:readworktrees.list; the worktree.headChanged event
worktrees:writeworktrees.switchTo, worktrees.refresh
agents:readagents.list; the agent.status event
agents:writeagents.focus
files:readfiles.list, files.read, files.stat; the file.changed event
files:writefiles.write, mkdir, rename, move, delete
git:readStatus, diffs, log, branches, worktrees, pull request info
git:writeEvery other git.* call
gh:readgh.user
storage:read / storage:writeRead / change the extension's storage
notifications:writenotifications.notify, toast
panels:writePanels, popovers, modal web views, and setting bar items; panel, popover, and modal commands
commands:run-scriptrunScript commands
commands:execexec, execAsync
shortcuts:registershortcuts.register, shortcuts.unregister
browser:read / browser:writeRead / drive browser tabs with muxy.browser
ui:writeEvery ui.* call but ui.state: panels, layout, the command palette, Settings, history, floats, and the Quick Terminal
commands:read / commands:runcommands.list / commands.run
composer:writecomposer.*
layouts:read / layouts:writelayouts.list / layouts.apply
preferences:readpreferences.get, preferences.themes; the preferences.changed event
preferences:writepreferences.set
clipboard:read / clipboard:writeclipboard.readText / clipboard.writeText
system:openprojects.apps, projects.openIn, projects.reveal, app.openExternal
remote:serveAccepted; remote methods are not available in 2.x

http.fetch, dialogs, the picker, events, lifecycle, app.info, ui.state, and the extension's own settings need no permission.

Runtime prompts

Some calls also ask the user each time, even with the permission:

Asks beforeRemembered per
Running a program (exec, execAsync)Program, or shell command
Typing or pressing keys in a terminal, or sending the composerExtension
Reading terminal outputExtension
Opening a terminal tab that runs a command, or running a custom commandCommand
Opening another extension's tabExtension
Changing the repository (git:write calls)Operation
Changing files (files:write calls)Operation
A web request (http.fetch)Host
Deleting a projectProject
Reading the clipboardExtension

The user can Allow once, Allow & Remember, Cancel, Deny & Remember, or block that kind of action for the extension. An unanswered prompt is denied after 60 seconds, and at most five prompts can wait at once. The extension's log notes each call that waits for an answer and each one denied because nobody answered, and muxy extension status counts the prompts still waiting.

The red Always Allow This Extension… button trusts the extension with every action above, after a second warning confirms it. A trusted extension is never prompted, and its saved rules, including Deny and Block, don't apply until trust is removed. Cancelling the warning returns to the prompt.

Saved choices are listed under Permission rules on the extension's page in Settings → Extensions, with Reveal audit log for a history of decisions. Always Allow… there trusts the extension after the same warning, and Stop Always Allowing removes the trust. Clear all and uninstalling clear the rules and the trust.