Skip to content

Settings

All Mosayic settings live under the mosayic.* namespace. Open Settings (Cmd/Ctrl + ,) and search for “mosayic” to see them all.

Which Mosayic backend to talk to.

ValueBackend
prod (default)Production Cloud Run service
devhttp://127.0.0.1:8090 — a backend you run locally
customThe URL in mosayic.apiUrl

Most users should leave this as prod. The other options are for Mosayic contributors developing the backend.

The URL to use when mosayic.environment is custom. Ignored otherwise. Must be a valid http:// or https:// URL — the extension refuses plaintext HTTP for non-localhost URLs (see Security).

Default: https://mosayic-api-service-336793731775.us-east1.run.app.

When the extension should prompt for your confirmation before running a command sent by the backend.

ValueBehaviour
allowlisted (default)Auto-approve commands using known CLIs (gh, gcloud, expo, eas, npm, npx, node, nvm, docker, git, supabase, mkdir, unzip, sed, jq, ssh-keygen, rm, mv, cd, printf, uv, test, [, hostname, lsof, .). Prompt for anything else.
alwaysPrompt for every command.
neverNever prompt. Use with care — see Security.

When prompted, you can choose:

  • Allow — run this one command
  • Allow All — auto-approve all subsequent non-allowlisted commands for this VS Code session
  • Deny — refuse this command (the dashboard will see an error)

If you ever choose “Allow All” and want to undo it, run Mosayic: Reset Command Prompts.

Show developer-only commands (currently just Mosayic: Switch Backend…) in the Command Palette.

Default: false. Set to true only if you’re developing Mosayic itself.

(Windows only — ignored on macOS and Linux.)

Which shell the extension uses to run commands.

ValueShell
auto (default)cmd.exe. Recommended for most users.
cmdcmd.exe explicitly.
gitbashGit Bash, looked up at standard install paths.
pwshPowerShell 7 if installed, else Windows PowerShell.

auto exists because the default Windows shell varies (some installations have WSL Bash on the path, which causes confusing failures). cmd.exe is the safest baseline.

If you have a specific shell preference (e.g. you do everything in Git Bash and want shell scripts to work the same in Mosayic), pick it explicitly.

If you’d rather edit JSON than use the GUI, the keys are:

{
"mosayic.environment": "prod",
"mosayic.confirmCommands": "allowlisted",
"mosayic.showDevCommands": false,
"mosayic.windowsShell": "auto"
}

Place this in your User settings.json (open with Preferences: Open User Settings (JSON)).