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§
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 truewhen the pane supports the browser.- telemetry_
url {DAEMON_HTTP}/telemetry— server-sent telemetry stream.