{"record":{"id":"49747cc2683cd8fa","repo":"zeroclaw-labs/zeroclaw","slug":"cli-quickstart-needs-tty","errorCode":"cli-quickstart-needs-tty","errorMessage":"Quickstart is interactive and needs a terminal on stdin and stderr. Run it from an interactive shell, or use `zeroclaw config set <path> <value>` for headless configuration.","messagePattern":"Quickstart is interactive and needs a terminal on stdin and stderr\\. Run it from an interactive shell, or use `zeroclaw config set <path> <value>` for headless configuration\\.","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/main.rs","lineNumber":1286,"sourceCode":"    model_provider: Option<String>,\n    model: Option<String>,\n    api_key: Option<String>,\n    agent: Option<String>,\n) -> anyhow::Result<()> {\n    use dialoguer::{Confirm, Editor, FuzzySelect, Input};\n    use zeroclaw_config::presets::{\n        AgentIdentity, BuilderSubmission, ChannelQuickStart, MemoryChoice, ModelProviderChoice,\n        RISK_PRESETS, SelectorChoice,\n    };\n    use zeroclaw_runtime::quickstart::{\n        FieldSection, QuickstartTypeOption, Surface, apply_with_surface, field_shape,\n        snapshot_state,\n    };\n\n    if !std::io::IsTerminal::is_terminal(&std::io::stdin())\n        || !std::io::IsTerminal::is_terminal(&std::io::stderr())\n    {\n        anyhow::bail!(\n            \"{}\",\n            t(\n                \"cli-quickstart-needs-tty\",\n                \"Quickstart is interactive and needs a terminal on stdin and stderr. \\\n                 Run it from an interactive shell, or use \\\n                 `zeroclaw config set <path> <value>` for headless configuration.\"\n            )\n        );\n    }\n\n    #[derive(Default)]\n    struct Form {\n        provider: Option<ProviderChoice>,\n        risk: Option<PresetChoice>,\n        memory: Option<MemoryChoice>,\n        channels: Vec<ChannelChoice>,\n        // Tracks whether the user explicitly visited Channels and\n        // confirmed \"no channels\". An empty `channels` Vec with","sourceCodeStart":1268,"sourceCodeEnd":1304,"githubUrl":"https://github.com/zeroclaw-labs/zeroclaw/blob/88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc/src/main.rs#L1268-L1304","documentation":"Error \"Quickstart is interactive and needs a terminal on stdin and stderr. Run it from an interactive shell, or use `zeroclaw config set <path> <value>` for headless configuration.\" thrown in zeroclaw-labs/zeroclaw.","triggerScenarios":"Thrown at src/main.rs:1286 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Run `zeroclaw quickstart` from an interactive terminal with stdin/stderr attached.","For headless setups, configure values directly with `zeroclaw config set <path> <value>`."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc","analyzedAt":"2026-08-23T01:07:41.857Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}