Hmbown/CodeWhale · error · anyhow::Error
DSH is not connected; nothing to remove
Error message
DSH is not connected; nothing to remove
What it means
Error "DSH is not connected; nothing to remove" thrown in Hmbown/CodeWhale.
Source
Thrown at crates/tui/src/integrations/dsh/mod.rs:814
"bundle_dir": paths.bundle_dir.display().to_string(),
"patch_sha256": bundle_record.patch_sha256,
"app_bundle": app.package_name(),
}),
);
Ok(bundle_record)
}
/// `dsh plugin --profile codewhale remove codewhale-dsh-bundle`, then delete
/// only the Codewhale-owned bundle files. The DSH profile directory (and the
/// app bundle link dsh recorded there) is DSH-owned and is left in place.
pub(crate) fn remove_bundle(
paths: &DshPaths,
detection: &DshDetection,
runner: &dyn DshRunner,
) -> Result<Vec<PathBuf>> {
let mut doc = DshReceiptDocument::load(&paths.receipt)?;
let Some(mut record) = doc.current.take() else {
anyhow::bail!("DSH is not connected; nothing to remove");
};
let Some(bundle_record) = record.bundle.take() else {
anyhow::bail!("no bundle is installed");
};
let outcome = bundle::remove_from_profile(runner, detection)?;
let removed = bundle::remove_bundle_files(&paths.bundle_dir)?;
let now = now_rfc3339();
record.updated_at = now.clone();
doc.push(DshReceiptEntry {
event: DshReceiptEvent::RemoveBundle,
at: now,
codewhale_version: codewhale_version(),
dsh_version: detection.version.clone(),
dsh_home: detection.dsh_home.clone(),
overlay_sha256: Some(record.overlay_sha256.clone()),
skin_sha256: record.skin_sha256.clone(),
identity_summary: Some(identity_summary(&record.identity)),
permission_mode: Some(record.identity.permission_mode.as_str().to_string()),View on GitHub (pinned to 8880682c63)
When it happens
Trigger: Thrown at crates/tui/src/integrations/dsh/mod.rs:814 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Hmbown/CodeWhale@8880682c63 (2026-08-16).
Data as JSON: /api/errors/35f0e4e0c88b083e.
Report an issue: GitHub.