Skip to main content

Module endpoints

Module endpoints 

Source
Expand description

Centralized local-daemon endpoints and runtime capability detection.

Previously these 127.0.0.1 URLs were scattered as string literals through studio_canvas.rs. In the web demo there is no local daemon, so every one of those fetches failed and spammed the console. This module gives them one home and a single capability gate (is_native_host) so the network effects only fire where a daemon can actually exist.

Enums§

HostSurface

Constants§

MODULE_RPC_WS
Custom web-module sandbox RPC socket.
NATIVE_WS
Local native-LLM / handshake WebSocket.
SHOELACE_CDN_BASE
SHOELACE_VENDOR_BASE
Bundled Shoelace path (offline Tauri desktop). GH Pages demo uses CDN.

Functions§

all_host_surfaces
All host surfaces the studio can run in (picker + capability docs).
assets_catalog_url
Assets catalog URL.
assets_enqueue_url
Assets enqueue URL.
current_host_surface
Non-desktop fallback.
daemon_http
{DAEMON_HTTP}/manifest — workspace manifest GET/POST.
generate_pane_url
{DAEMON_HTTP}/generate_pane — keyword/domain pane layout planner.
host_surface_label
Human-readable label for the active host surface (studio status chips).
is_native_host
True when a local Webizen daemon could plausibly be reached (always, native).
job_url
Job URL.
logs_page_url
Logs page URL.
manifest_history_url
{DAEMON_HTTP}/manifest/history — Quin WAL deploy checkpoints.
manifest_replay_url
Manifest replay URL.
manifest_undo_chain_url
Manifest undo-chain URL.
manifest_undo_frame_url
Manifest undo-frame URL.
manifest_url
Manifest URL.
native_handshake_ws
Native LLM / handshake WebSocket endpoint (desktop daemon).
portal_design_studio_url
Live Qualia Portal design studio (T2 WASM stack).
probe_native_handshake_port
Probe whether the native LLM handshake port is reachable (TCP preflight).
shoelace_autoloader_src
Shoelace autoloader src.
shoelace_base
Shoelace base URL.
shoelace_stylesheet_href
Shoelace stylesheet href.
supports_browser_pane
true when the pane supports the browser.
telemetry_url
{DAEMON_HTTP}/telemetry — server-sent telemetry stream.