Skip to main content

Module app_commands

Module app_commands 

Source
Expand description

Tauri command boundary and frontend-safe application state.

StructsΒ§

AccountView
An account with its presence, as shown in the interface.
AppStateDto
Everything the interface needs to render, without secrets.
CatalogueSummary
A catalogue widget that isn’t installed.
Runtime
Shared state for commands, managed by Tauri.
SettingsDto
The settings the interface reads and edits.
UpdateAvailability
Result of a manual update check.
WidgetHostSession
A widget surface to load and the session ID its requests must carry.
WidgetSummary
An installed widget, as shown in the interface.

EnumsΒ§

FrontendPresence πŸ”’
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_id when given, otherwise at its own place or the default place.
join_accounts
Joins each account, at place_id when 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, or module.
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_large once it exceeds maximum bytes.
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_ids must 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Β§

CredentialRollback πŸ”’
The account and previous session to restore if saving a signed-in account fails.