# 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] # Backend data root override. Leave commented to use the user-data fallback: # /workspace-server// # Relative paths are resolved from the workspace root. # root = ".yoi/workspace-backend.data" # Explicit control-plane SQLite DB path override. # If omitted, this falls back to `/workspace.db`. # workspace_database_path = ".yoi/workspace-backend.data/workspace.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 = "127.0.0.1" origin = "http://127.0.0.1:8787" public_base_url = "http://127.0.0.1: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" # Remote Runtime sources. Token values must not be written here. # Use token_ref only after secret-ref resolution is implemented for this config. # # [[runtimes.remote]] # id = "example" # endpoint = "http://127.0.0.1:38800" # display_name = "Example Runtime" # token_ref = "local:example-runtime-token"