Expand description
Tauri command boundary and frontend-safe application state.
StructsΒ§
- Account
View - An account with its presence, as shown in the interface.
- AppState
Dto - Everything the interface needs to render, without secrets.
- Catalogue
Summary - A catalogue widget that isnβt installed.
- Runtime
- Shared state for commands, managed by Tauri.
- Settings
Dto - The settings the interface reads and edits.
- Update
Availability - Result of a manual update check.
- Widget
Host Session - A widget surface to load and the session ID its requests must carry.
- Widget
Summary - An installed widget, as shown in the interface.
EnumsΒ§
- Frontend
Presence π - Presence as the interface shows it.
ConstantsΒ§
- FIRST_
LAUNCH_ πDELAY - Gap between launches in a batch.
- LAUNCH_
RETRIES π - Ticket requests retried per account before the join fails.
- MAX_
LAUNCH_ πDELAY - Longest gap between launches after failures.
- MAX_
WIDGET_ πSTORE_ BYTES - Largest value a widget can keep in its own store.
- WIDGET_
ORIGIN π - Base URL for installed widget assets. Windows WebView2 serves custom schemes over HTTP.
FunctionsΒ§
- account_
views π - Adds presence to each account.
- backfill_
profiles π - Fills in names and avatars for accounts saved without an avatar, such as imported ones.
- begin_
roblox_ login - Opens the Roblox sign-in window and waits for it, then adds or updates the signed-in account. The previous session is restored if saving the account fails.
- catalogue_
entry π - Returns a widgetβs entry in the verified catalogue.
- check_
for_ updates - Runs the startup update check again. A required update installs and restarts the app.
- close_
widget_ session - Ends a widget session.
- command_
error π - Converts an error to the message returned to the interface.
- dispatch_
widget_ πrequest - Runs an authorized widget method.
- find_
installed_ πwidget - Returns an installed widget by ID.
- get_
app_ state - Returns the full interface state, loading the catalogue first if it hasnβt been tried.
- get_
widget_ store - Reads the free-form JSON value a widget keeps for itself.
- insert_
widget_ πsession - Registers a widget session with a random ID.
- install_
catalogue_ πwidget - Downloads and installs a widget from the verified catalogue.
- install_
widget - Installs a catalogue widget that isnβt installed yet.
- installed_
widgets π - Summarizes installed widgets, noting newer catalogue versions.
- join_
account_ πids - Joins each account at
place_idwhen given, otherwise at its own place or the default place. - join_
accounts - Joins each account, at
place_idwhen given, then minimizes the window if that setting is on. - name_
recent_ πplaces - Looks up names for recent places that donβt have one yet. Network failures leave the name unset so the next refresh tries again.
- next_
launch_ πdelay - Doubles the gap between launches after a failure, up to five seconds. The longer gap then applies to the rest of the batch.
- now_
seconds π - Current Unix time in seconds.
- open_
widget - Starts a session for a widget surface:
main,settings,dashboard, ormodule. - optional_
string_ πarray - Reads an optional array of strings, defaulting to empty.
- place_
exists - Reports whether Roblox knows the place. Network failures are errors, not a missing place.
- read_
response_ πlimited - Reads a response body, failing with
too_largeonce it exceedsmaximumbytes. - refresh_
catalogue_ πdata - Downloads and verifies the signed widget catalogue, recording any error for the interface. Debug builds without a catalogue URL use an empty catalogue.
- remove_
account - Removes an account and its stored session. The account is restored if the session canβt be deleted.
- reorder_
accounts - Saves a manual account order.
account_idsmust list every account once. - required_
string π - Reads a required non-empty string parameter.
- required_
u64 π - Reads a required non-negative integer parameter.
- required_
u64_ πarray - Reads a required non-empty array of account IDs.
- restart_
app - Restarts Toolblox, optionally without loading any widgets for the next session.
- retry_
catalogue - Loads the widget catalogue again.
- save_
settings - Validates and saves settings, applies always on top, and changes launch at login. The settings are restored if launch at login canβt be changed.
- set_
account_ place - Sets or clears the place a single account joins instead of the default place.
- set_
catalogue_ πerror - Records a catalogue error and returns it.
- set_
widget_ enabled - Turns an installed widget on or off, stopping its processes when turned off.
- set_
widget_ start_ on_ launch - Sets whether a widgetβs processes start with the app.
- set_
widget_ store - Replaces the free-form JSON value a widget keeps for itself.
- uninstall_
widget - Stops a widgetβs processes, removes it, and clears its settings.
- update_
account_ notes - Replaces an accountβs notes, up to 10,000 characters.
- update_
widget - Stops a widgetβs processes and installs its newer catalogue version.
- widget_
asset_ πurl - Returns the URL of a file in an installed widget.
- widget_
network_ πfetch - Fetches an HTTPS URL for a widget and returns the status and a text body of up to 1 MB.
- widget_
request - Authorizes a widget message against its session and runs it. Method failures are returned in the response rather than as a command error.
- widget_
summary π - Summarizes one installed widget.
Type AliasesΒ§
- Credential
Rollback π - The account and previous session to restore if saving a signed-in account fails.