Skip to content

Capability index

PocketArk’s capabilities are split into modules that plugins reference but never edit. The table below is the source of truth; the home page matrix lets you search and filter it by frontend / Rust.

CapabilityFrontend entryRustPurpose
IPC@/core/ipcgenerate_handler (generated)ipc<T>(cmd, args), command names constrained by commands.gen.ts; never call invoke directly
Event bus@/core/eventsevents.rsTyped emitEvent / onEvent with a shared prefix
Logging@/core/loggerlogUnified logging, console intercepted
Errors@/core/errorserror.rsAppError{code,message} normalization + global toasts
Database@/core/dbdb.rsDrizzle (kdb) + generic CRUD + scoped migrations
HTTP@/core/httphttp.rsreqwest, no CORS; download() streaming + progress
Theme@/core/themeset_window_appearanceLight / dark / system + accent + font scale
Plugin registry@/core/pluginsplugins/mod.rsBuild-time auto-registration, both ends
Auto-update@/core/updaterupdater.rstauri-plugin-updater + static manifest
Notifications@/core/notifytauri-plugin-notificationPermission request + settings toggle
Autostart@/core/autostarttauri-plugin-autostartThe OS is the source of truth
TransactionsrunInTransaction on @/core/dbdb.rsBatch in one transaction; roll back on failure
Backup / restore / resetsettings → “Data”db.rsAuto-restart after restore or reset
Settings import / export@/core/settings-transferfiles.rsExport JSON; import applies after restart
Diagnostics@/core/diagnosticsdiagnostics.rsEnvironment info + recent logs
Single instancetauri-plugin-single-instanceSecond launch focuses the window and forwards args
In-app shortcuts@/core/shortcutsregisterShortcut('mod+k', fn)
Global shortcuts@/core/global-shortcuttauri-plugin-global-shortcutSettings-driven; focus the main window
Search / command palette@/core/searchCmd/Ctrl+K aggregates nav and tools
Taskbar progress / badge@/core/taskbarTauri Window APIProgress 0–100 / Dock badge
Background tasks@/core/taskstasks.rsCancel tokens + task:// progress events
Open content@/core/open-withopen.rsUnified CLI / deep-link / drop dispatch (onOpenFiles)
Multi-window@/core/windowscapabilities/windows.jsonopenAppWindow(), label win-*
Native app menu@/core/events (app://menu)menu.rsmacOS menubar / Windows window menu
Platform detection@/core/platform.tsisMac (styling and modifier-key differences)