App settings
Pixling is preparing for Mac App Store release. Join the waitlist on pixling.app to hear when it launches.
settings.get reads the app-wide settings shown on Studio’s Settings page and the All residents side of the speech paper. settings.set writes them the same way a person does there. Every key in a settings.set call is validated first, so one call is one atomic save and a refusal saves nothing.
settings.get
Section titled “settings.get”Returns three top-level objects: settings for writable values, readOnly for observable values, and options for the valid vocabulary accepted by settings.set.
{ "settings": { "menuBarIcon": true, "motionEnabled": true, "longPressToMove": false, "refoldAfterAnswer": true, "motionPlayback": "smooth", "notify": true, "textScale": 100, "appearance": "system", "avoid": true, "speechWindow": null, "loginItem": "enabled" }, "readOnly": { "cli": true, "mcp": true, "mcpProtected": false, "notificationPermission": "allowed" }, "options": {}}Writable settings keys
Section titled “Writable settings keys”| Category | Key | Values and notes |
|---|---|---|
| General | menuBarIcon |
Show menu bar icon (default true). |
| Interaction & playback | motionEnabled |
Animate residents across the desk (default true). |
| Interaction & playback | longPressToMove |
Boolean toggle. |
| Interaction & playback | refoldAfterAnswer |
Fold again after answering (default true). |
| Interaction & playback | motionPlayback |
smooth or economy. |
| Notifications & sound | notify, notifyQuestion, notifyMessage |
Master and per-kind notification switches. |
| Notifications & sound | sound, soundQuestion, soundMessage |
Master and per-kind arrival sound switches. |
| Appearance | textScale |
Whole percent, 100–130. |
| Appearance | appearance |
system, light, or dark. |
| Speech paper defaults | speech |
All-residents look; own lists axes changed from factory. |
| Speech paper defaults | avoid |
Speech paper No overlap row (keeps nearby windows clear). |
| Speech paper defaults | speechWindow |
Starting frame for new residents’ windows, or null for automatic. |
| Login item | loginItem |
Show residents at login: enabled, requiresApproval, notRegistered, or notFound. |
speech uses the shape of resident.describe’s settings.speech. avoid places nearby residents’ speech windows clear of each other and their bodies. loginItem reflects the status macOS reports.
Observable readOnly keys
Section titled “Observable readOnly keys”| Key | Meaning |
|---|---|
cli, mcp, mcpProtected |
Connection and bearer-token switches. |
mcpTools |
Each MCP tool group a person can turn off. |
wallet |
Wallet row balance {state, usdMicrounits?, seenAt?}. |
notificationPermission |
macOS permission: allowed, denied, or notDetermined. |
walletprivacy:stateiscurrent,lastSeen,unknown, orstopped. The bearer token, wallet owner, and purchase history are never returned, and reading never contacts the server for a balance.- Notification permission: Turning
notifyon does not grant permission; only the person can allow notifications in Studio or System Settings.
settings.set
Section titled “settings.set”Omitted keys stay unchanged; null resets a key to its default. Unknown keys fail with invalidArguments naming the field. On success, returns {settings} reflecting the updated values.
{ "notifyMessage": false, "speech": { "kit": "timber-plaque", "size": 16 }}Switches, appearance, and speech defaults
Section titled “Switches, appearance, and speech defaults”- Switches and display rows: The boolean switches plus
motionPlayback,textScale, andappearancewrite the same values as Studio’s Settings page. speech: Accepts the same axes asresident.set’sspeechand writes the All residents side of the speech paper. Passnullfor one axis to restore its factory value, orspeech: nullto reset the entire paper. A kit the desk does not offer is refused withpath: "speech.kit", and nothing in the call is saved.avoid:true,false, ornull(default).speechWindow:{corner, dx, dy, width, height}, matchingresident.set. Sets where new residents’ speech windows start (like placing a window by hand), while existing desk residents keep theirs. New residents take the pinned width and height as they are. Passnullto restore automatic placement.
Login item (loginItem)
Section titled “Login item (loginItem)”Pass true, false, or null (off) to toggle Show residents at login through Pixling Studio. Returns the status macOS reports, including requiresApproval (the person approves it in System Settings). Calls that omit loginItem never contact Studio and omit loginItem from the result.
- Execution order: Other keys validate first, Studio updates the login item, then the remaining keys save against current settings. A validation refusal leaves everything untouched. If saving fails after Studio changed the login item,
reasonreports the login item’s current status.
Refusal (rejected) |
Cause |
|---|---|
studioNotRunning |
Studio is closed; nothing was saved. |
studioNotAnswering |
No reply within 5 seconds or Studio closed. Read settings.get before retrying, as the change may have happened. |
loginItemFailed |
macOS refused the change; reason gives its status. |
loginItemUnavailable |
This build has no login switch. |
MCP groups and app.quit
Section titled “MCP groups and app.quit”In MCP, pixling_settings_get belongs to the View group, while pixling_settings_set lives in its own App settings group that a person can turn off; the CLI keeps both.
The App settings group also includes pixling_app_quit (app.quit, CLI pixling app quit), which quits Pixling and Studio like Quit Pixling in the resident menu. It replies {quitting: true} first and Pixling exits a moment later.
pixling settings getpixling settings set --notify false --appearance darkpixling settings set --input '{"notifyMessage":false,"speech":{"kit":"timber-plaque","size":16}}'pixling call settings.set '{"speechWindow":{"corner":"bottomLeft","dx":40,"dy":30,"width":320,"height":240}}'Everyday shorthand flags on settings set:
| Flags | Values |
|---|---|
--menu-bar-icon, --motion-enabled, --login-item, --notify, --sound |
true, false, or default |
--appearance |
system, light, dark, or default |
Pass --input <json|@file|-> (exclusive with shorthand flags) or use pixling call settings.set for any other key, including speech, avoid, speechWindow, textScale, longPressToMove, motionPlayback, refoldAfterAnswer, and per-kind notification/sound switches.