# Workspace Backend local config template. # # `yoi workspace init` copies this packaged template to # `.yoi/workspace-backend.local.toml` without overwriting an existing file. # The `.local` file is intentionally git-ignored. # # Print the latest packaged template with: # yoi workspace config default # # Compare the local config with the latest packaged template with: # yoi workspace config diff # # Omit a key to use the built-in fallback. TOML has no `null`, so optional # settings are represented by leaving the key commented out. [server] # Backend HTTP/WebSocket listen address. listen = "127.0.0.1:8787" # Browser-facing frontend URL used by local tooling/display. frontend_url = "http://127.0.0.1:5173" # Static SPA build directory override. Leave commented for dev/API-only mode. # Relative paths are resolved from the workspace root. # static_assets_dir = "web/workspace/dist" [data] # Workspace-scoped runtime/data root override. Leave commented to use the user-data fallback: # /server/workspaces// # Relative paths are resolved from the workspace root. # root = ".yoi/workspace-backend.data" # Explicit control-plane SQLite DB path override. Normal `serve` uses the Yoi # server DB at `/server/server.db`; keep this commented unless a # local test needs a custom DB path. # workspace_database_path = ".yoi/workspace-backend.data/server.db" # Explicit embedded Runtime fs-store root override. # If omitted, this falls back to `/embedded-runtime`. # embedded_runtime_store_root = ".yoi/workspace-backend.data/embedded-runtime" [limits] max_records = 200 [auth] # WebAuthn / Passkey relying-party settings. For local development keep rp_id # aligned with the browser host in public_base_url/origin. rp_id = "localhost" origin = "http://localhost:8787" public_base_url = "http://localhost:8787" cookie_name = "yoi_workspace_session" # Repository registry. Browser/API repository projection reads only configured # entries and never falls back to the backend process cwd. Relative URI values # are resolved from this workspace config root. Git is the v0 supported provider. # # [[repositories]] # id = "main" # provider = "git" # uri = "." # display_name = "Main repository" # default_selector = "HEAD" # Runtime registrations live in `$XDG_CONFIG_HOME/yoi/runtimes.toml` # or `YOI_CONFIG_DIR/runtimes.toml`, not in workspace backend config.