Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Add --skip-config flag to install.sh (#145)
Martin Vogel0c35f152a060
diff --git a/install.sh b/install.shindex 12073db9e..e5f010a47 100755--- a/install.sh+++ b/install.sh@@ -14,18 +14,21 @@ set -euo pipefailREPO="DeusData/codebase-memory-mcp"INSTALL_DIR="$HOME/.local/bin"VARIANT="standard"+SKIP_CONFIG=falseCBM_DOWNLOAD_URL="${CBM_DOWNLOAD_URL:-https://github.com/${REPO}/releases/latest/download}"for arg in "$@"; docase "$arg" in- --ui) VARIANT="ui" ;;- --standard) VARIANT="standard" ;;- --dir=*) INSTALL_DIR="${arg#--dir=}" ;;+ --ui) VARIANT="ui" ;;+ --standard) VARIANT="standard" ;;+ --dir=*) INSTALL_DIR="${arg#--dir=}" ;;+ --skip-config) SKIP_CONFIG=true ;;--help|-h)- echo "Usage: install.sh [--ui] [--dir=<path>]"- echo " --ui Install the UI variant (with graph visualization)"- echo " --standard Install the standard variant (default)"- echo " --dir PATH Install directory (default: ~/.local/bin)"+ echo "Usage: install.sh [--ui] [--dir=<path>] [--skip-config]"+ echo " --ui Install the UI variant (with graph visualization)"+ echo " --standard Install the standard variant (default)"+ echo " --dir PATH Install directory (default: ~/.local/bin)"+ echo " --skip-config Skip automatic agent configuration"exit 0;;esac@@ -169,13 +172,18 @@ VERSION=$("$DEST" --version 2>&1) || {echo "Installed: $VERSION"# Configure agents-echo ""-echo "Configuring coding agents..."-"$DEST" install -y 2>&1 || {+if [ "$SKIP_CONFIG" = true ]; thenecho ""- echo "Agent configuration failed (non-fatal)."- echo "Run manually: codebase-memory-mcp install"-}+ echo "Skipping agent configuration (--skip-config)"+else+ echo ""+ echo "Configuring coding agents..."+ "$DEST" install -y 2>&1 || {+ echo ""+ echo "Agent configuration failed (non-fatal)."+ echo "Run manually: codebase-memory-mcp install"+ }+fi# PATH checkif ! echo "$PATH" | tr ':' '\n' | grep -qx "$INSTALL_DIR"; then