# Workspace Configuration Fragment
# Used by all services: orchestrator, control-center, mcp-server, installer

[[elements]]
help = "Name of the workspace this service will serve"
name = "workspace_name"
nickel_path = ["workspace", "name"]
placeholder = "default"
prompt = "Workspace Name"
required = true
type = "text"

[[elements]]
help = "Absolute path to the workspace directory"
name = "workspace_path"
nickel_path = ["workspace", "path"]
placeholder = "/var/lib/provisioning/{service}"
prompt = "Workspace Path"
required = true
type = "text"

[[elements]]
default = true
help = "Enable or disable this service for the workspace"
name = "workspace_enabled"
nickel_path = ["workspace", "enabled"]
prompt = "Enable Service"
type = "confirm"

[[elements]]
default = false
help = "Allow this service instance to serve multiple workspaces"
name = "multi_workspace_mode"
nickel_path = ["workspace", "multi_workspace"]
prompt = "Multi-Workspace Mode"
type = "confirm"
