app
adom-vscode
Public Made by Adomby adom
Drive VS Code from your AI — a CLI + extension that lets Claude Code, Codex, and any other process open files, switch modes, paste screenshots, view live AI session stats, and run any VS Code command via a local HTTP API. Pre-installed in every Adom container.
#!/usr/bin/env bash
# adom-wiki pkg uninstall script for adom-vscode.
set -euo pipefail
USER_BIN="${HOME}/.local/bin/adom-vscode"
LEGACY_BIN="/usr/local/bin/adom-vscode"
if [ -f "$USER_BIN" ]; then
rm -f "$USER_BIN"
echo "Removed $USER_BIN"
fi
if [ -f "$LEGACY_BIN" ]; then
# The pre-needs_sudo:false versions of adom-vscode installed into
# /usr/local/bin. Clean that up too (best-effort; sudo may not be
# available in daemon contexts — that's fine, the user-local copy
# is gone so the daemon won't manage it anymore).
if command -v sudo >/dev/null 2>&1; then
sudo rm -f "$LEGACY_BIN" 2>/dev/null || true
fi
fi
COMP="${HOME}/.local/share/bash-completion/completions/adom-vscode"
[ -f "$COMP" ] && rm -f "$COMP"