{"record":{"id":"37d75f0876837e1f","repo":"Hmbown/CodeWhale","slug":"dsh-integration-is-disabled-run-cli-command-en","errorCode":null,"errorMessage":"DSH integration is disabled; run `{CLI_COMMAND} enable` to launch again","messagePattern":"DSH integration is disabled; run `(.+?) enable` to launch again","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/tui/src/integrations/dsh/mod.rs","lineNumber":626,"sourceCode":"        }\n        out\n    }\n}\n\npub(crate) fn launch_spec(\n    report: &DshStatusReport,\n    profile_override: Option<&str>,\n    extra_args: &[String],\n    workspace: &Path,\n) -> Result<LaunchSpec> {\n    let record = report.record.as_ref().ok_or_else(|| {\n        anyhow::anyhow!(\"DSH is not connected; run `{CLI_COMMAND} connect` first\")\n    })?;\n    if !report.state.launchable() {\n        match &report.state {\n            DshIntegrationState::Connected { .. } | DshIntegrationState::StaleVersion { .. } => {}\n            DshIntegrationState::Disabled { .. } => {\n                anyhow::bail!(\n                    \"DSH integration is disabled; run `{CLI_COMMAND} enable` to launch again\"\n                )\n            }\n            DshIntegrationState::StaleConfig { reason, .. } => {\n                anyhow::bail!(\n                    \"DSH overlay is stale ({reason}); run `{CLI_COMMAND} update` before launching\"\n                )\n            }\n            DshIntegrationState::Incompatible { reason, .. } => {\n                anyhow::bail!(\"installed dsh is incompatible: {reason}\")\n            }\n            DshIntegrationState::Offline { reason } => anyhow::bail!(\"dsh is offline: {reason}\"),\n            DshIntegrationState::NotInstalled => anyhow::bail!(\"dsh is not installed\"),\n            DshIntegrationState::Detected { .. } => {\n                anyhow::bail!(\"DSH is detected but not connected; run `{CLI_COMMAND} connect`\")\n            }\n        }\n    }","sourceCodeStart":608,"sourceCodeEnd":644,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/8880682c63083a91624de936797efa3ce9e498fd/crates/tui/src/integrations/dsh/mod.rs#L608-L644","documentation":"Error \"DSH integration is disabled; run `{CLI_COMMAND} enable` to launch again\" thrown in Hmbown/CodeWhale.","triggerScenarios":"Thrown at crates/tui/src/integrations/dsh/mod.rs:626 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8880682c63083a91624de936797efa3ce9e498fd","analyzedAt":"2026-08-16T11:31:27.956Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}