Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

chore: remove Claude plugin artifacts and MCP integration (#80)

Tanner Kocher3024f314df4c
diff --git a/.claude/hooks/post-edit-ingest.sh b/.claude/hooks/post-edit-ingest.sh
deleted file mode 100755
index f2683acb..00000000
--- a/.claude/hooks/post-edit-ingest.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env bash
-# Optionally auto-ingest files after edits.
-# Currently a stub — enable by adding: ix ingest "$CLAUDE_TOOL_INPUT_FILE_PATH" 2>/dev/null || true
-exit 0
diff --git a/.claude/hooks/pre-tool-ix-check.sh b/.claude/hooks/pre-tool-ix-check.sh
deleted file mode 100755
index 63777d97..00000000
--- a/.claude/hooks/pre-tool-ix-check.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env bash
-# Optionally intercept Grep/Glob calls to suggest ix commands instead.
-# Currently a stub — non-blocking.
-exit 0
diff --git a/.claude/hooks/session-start.sh b/.claude/hooks/session-start.sh
deleted file mode 100755
index c1a9d042..00000000
--- a/.claude/hooks/session-start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env bash
-# Run at session start to orient Claude to the current project state.
-# Exit 0 always — non-blocking.
-exit 0
diff --git a/.claude/hooks/stop-decision-reminder.sh b/.claude/hooks/stop-decision-reminder.sh
deleted file mode 100755
index d317a02e..00000000
--- a/.claude/hooks/stop-decision-reminder.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-# After each turn, if code was changed, remind Claude to record design decisions.
-# Only fires when there are uncommitted changes — silent otherwise.
-
-if git diff --quiet HEAD 2>/dev/null && git diff --cached --quiet 2>/dev/null; then
- exit 0 # no changes, no reminder needed
-fi
-
-echo "Code was modified. If a design decision was made, record it:"
-echo " ix decide \"<title>\" --rationale \"<why>\""
-exit 0
diff --git a/.claude/settings.json b/.claude/settings.json
deleted file mode 100644
index d5f8a0a8..00000000
--- a/.claude/settings.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "mcpServers": {
- "ix-memory": {
- "command": "npx",
- "args": [
- "tsx",
- "/home/ianhock/ix/IX-Memory/ix-cli/src/mcp/server.ts"
- ],
- "env": {
- "IX_ENDPOINT": "http://localhost:8090"
- }
- }
- },
- "permissions": {
- "allow": ["Bash(*)", "Read(*)", "Edit(*)", "Write(*)"]
- },
- "hooks": {
- "SessionStart": [
- {
- "matcher": "startup|resume|compact",
- "hooks": [
- {
- "type": "command",
- "command": "bash .claude/hooks/session-start.sh",
- "timeout": 10
- }
- ]
- }
- ],
- "PostToolUse": [
- {
- "matcher": "Edit|Write",
- "hooks": [
- {
- "type": "command",
- "command": "bash .claude/hooks/post-edit-ingest.sh",
- "timeout": 30
- }
- ]
- }
- ],
- "PreToolUse": [
- {
- "matcher": "Grep|Glob",
- "hooks": [
- {
- "type": "command",
- "command": "bash .claude/hooks/pre-tool-ix-check.sh",
- "timeout": 5
- }
- ]
- }
- ],
- "Stop": [
- {
- "hooks": [
- {
- "type": "command",
- "command": "bash .claude/hooks/stop-decision-reminder.sh",
- "timeout": 5
- }
- ]
- }
- ]
- }
-}
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 768d242a..00000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# Changelog
-
-## [0.5.0](https://github.com/ix-infrastructure/Ix/compare/v0.4.0...v0.5.0) (2026-03-28)
-
-
-### Features
-
-* add backend-backed symbol graph projection for visualizer ([ebf6830](https://github.com/ix-infrastructure/Ix/commit/ebf68306f52d969469e7825b98af14c9adec5610))
-* add Windows bash installer support ([34a9a95](https://github.com/ix-infrastructure/Ix/commit/34a9a95cc0350c2efc6de28bbedc90ac99aa2c57))
-* add Windows bash installer support ([#54](https://github.com/ix-infrastructure/Ix/issues/54)) ([4396648](https://github.com/ix-infrastructure/Ix/commit/43966484140dbb19da68e21f10b7f726eb038a18))
-* **cli:** add `ix view` command with bundled System Compass visualizer ([51ac48a](https://github.com/ix-infrastructure/Ix/commit/51ac48abbeb4813d00c5a0d74023d0ed01e8aa15))
-* large repo ingest perf, map improvements, and Claude plugin v2 ([4d4dfa6](https://github.com/ix-infrastructure/Ix/commit/4d4dfa6d58db474ce2753e6fbed025fd07aeaca6))
-* multi-lang parse, Rust tokio fixes, and ingest progress bar ([f09ff60](https://github.com/ix-infrastructure/Ix/commit/f09ff608758d9f130c7c8ec437f5f8095d9ec057))
-* multi-language parsing and CLI improvements ([b2d9e2d](https://github.com/ix-infrastructure/Ix/commit/b2d9e2dd85229750380d29109c52516286738431))
-* refine TypeScript parser, improve ingest performance, and adjust map output ([7258e0d](https://github.com/ix-infrastructure/Ix/commit/7258e0d9cd2c2baf81bb9ff2fa7387be972cbf70))
-* restore parsing speed improvements ([3e3fb8c](https://github.com/ix-infrastructure/Ix/commit/3e3fb8cecf727699f69fafbebb97e27310a26465))
-* restore parsing speed improvements from patch branch ([08d883c](https://github.com/ix-infrastructure/Ix/commit/08d883c9ff2d3cdf0b94f976e607d22c41ca05d2))
-* speed up of ix map increasing speed for larger repos and allowed mapping for larger repos ([e7a95ea](https://github.com/ix-infrastructure/Ix/commit/e7a95ea1202f48ee41b70e3d4b04baa614483186))
-
-
-### Bug Fixes
-
-* add 5-minute timeout to commitPatchBulk and commitPatch ([8454640](https://github.com/ix-infrastructure/Ix/commit/8454640adfbd18361336d97b4d058781820b0477))
-* add missing edges param to ArchitectureMap in test ([e669af1](https://github.com/ix-infrastructure/Ix/commit/e669af186b4d41fb4a0a8a56ec6b1eaa3b336324))
-* build multi-platform Docker image (amd64 + arm64) ([a176d59](https://github.com/ix-infrastructure/Ix/commit/a176d590e8ab4101f2e1a753146779607c1923af))
-* correct version display and add upgrade to help text ([#47](https://github.com/ix-infrastructure/Ix/issues/47)) ([61399a5](https://github.com/ix-infrastructure/Ix/commit/61399a53c33f95725b7bb525597b1560538d2548))
-* **docker:** remove internal:true and add --pull always ([a44ed3c](https://github.com/ix-infrastructure/Ix/commit/a44ed3c5ba0a03c204001de2be214fe811493e3b))
-* **docker:** remove internal:true from backend network ([3bfa171](https://github.com/ix-infrastructure/Ix/commit/3bfa17166a1fc5e6dc4402aa339f457cd573e1b1))
-* **docker:** resolve merge conflicts and add --pull always to compose up ([88d49a6](https://github.com/ix-infrastructure/Ix/commit/88d49a6b0ed799bd3fa9de454bb54018438188be))
-* ensure compose file exists on start even when backend is already healthy ([907ccd5](https://github.com/ix-infrastructure/Ix/commit/907ccd534a3ecfb02ce0cf8eafce7adfd4589508))
-* ensure compose file exists on start even when backend is already healthy ([1116272](https://github.com/ix-infrastructure/Ix/commit/1116272a7ea67c09f92aa98f1050425c3b08c7d4))
-* include core-ingestion in release tarballs and fix ESM __dirname in upgrade ([8dc343e](https://github.com/ix-infrastructure/Ix/commit/8dc343e918c79f7dbb4172cf95c52f42d1fbf2c5))
-* include core-ingestion in release tarballs and fix ESM __dirname in upgrade ([eaa4747](https://github.com/ix-infrastructure/Ix/commit/eaa47476be7f13eb2977c01c707ad68404a66249))
-* include core-ingestion node_modules in release tarballs ([a8f33fd](https://github.com/ix-infrastructure/Ix/commit/a8f33fdd17bf001c6f915c2f5fd2151e51c01782))
-* include core-ingestion node_modules in release tarballs ([90d5874](https://github.com/ix-infrastructure/Ix/commit/90d587445db43359c426b11c619c8e4b3f930f8c))
-* **ingest:** gate logSaveTiming behind debug and truncate commit errors ([8e23161](https://github.com/ix-infrastructure/Ix/commit/8e231612ab3bed3b26139c3d2f9c2c50d7535a52))
-* **install:** auto-start backend and fix stale repo refs ([#73](https://github.com/ix-infrastructure/Ix/issues/73)) ([c8aa29b](https://github.com/ix-infrastructure/Ix/commit/c8aa29b03890c9270949467f70b26daf1c5465f4))
-* **install:** fix version parsing from GitHub API ([9b03b64](https://github.com/ix-infrastructure/Ix/commit/9b03b641e8bd234e8d588f6d300cce83581ec540))
-* **install:** fix version parsing from GitHub API single-line JSON ([1ff10e2](https://github.com/ix-infrastructure/Ix/commit/1ff10e265221b33cc13ff2749af0217c5e709fb4))
-* **install:** update stale IX-Memory repo refs and remove deprecated ix init ([#71](https://github.com/ix-infrastructure/Ix/issues/71)) ([767f076](https://github.com/ix-infrastructure/Ix/commit/767f076d4abd0513c8878c48aae337cb24492740))
-* make Homebrew formula step non-blocking in release workflow ([4708176](https://github.com/ix-infrastructure/Ix/commit/470817696df573685b94a20a419f94cc8b29b802))
-* **release:** make compass build optional ([5a44d94](https://github.com/ix-infrastructure/Ix/commit/5a44d947e9f7dc0548612b2e72a549d2b6b2b197))
-* **release:** make System Compass build optional ([af3e3af](https://github.com/ix-infrastructure/Ix/commit/af3e3af9d7fdb6669868cd27e25a12ddf69469b7))
-* **release:** pass COMPASS_TOKEN via env var to avoid interpolation issues ([8c27ca0](https://github.com/ix-infrastructure/Ix/commit/8c27ca0e4505c947e79ccacc2b155ab1c3f08c0f))
-* remove stale edges param from MapServiceScopeSpec ([c1067db](https://github.com/ix-infrastructure/Ix/commit/c1067dbabe1114766e4bc870dd89dd3010eb9191))
-* restore architecture edges dropped during large-repo-map-perf merge ([9148e80](https://github.com/ix-infrastructure/Ix/commit/9148e80706fa0e0b3de13adec70039cede610cad))
-* restore architecture edges for visualizer ([fe4c435](https://github.com/ix-infrastructure/Ix/commit/fe4c4350f54bc36b82d5185ade3674271ebbc1dc))
-* restore cats traverse in ArangoClient.query and untrack stale dist/ ([d5e6557](https://github.com/ix-infrastructure/Ix/commit/d5e6557f9b69c1b1487d1602eeab84a9de38b229))
-* Ruby scoped class name definitions and heritage patterns ([7935037](https://github.com/ix-infrastructure/Ix/commit/7935037cc58fd8f3fe70f8b670890191a717b97e))
-* **scripts:** fix IX_DIR resolution and add Windows cmd shim support ([4af5b55](https://github.com/ix-infrastructure/Ix/commit/4af5b55a51e97e2c57c5b9e3f1bbb8e811ad1868))
-* security audit — shell injection, temp files, license, Dockerfile ([#49](https://github.com/ix-infrastructure/Ix/issues/49)) ([f962487](https://github.com/ix-infrastructure/Ix/commit/f9624870783805c33185b7766a7bb6af2b56fdb6))
-* **server:** add Macro to NodeKind ([89160a4](https://github.com/ix-infrastructure/Ix/commit/89160a4f9e72ab5ca0caf303b2e16170b20550b2))
-* stream large repos instead of parse-all-first, reduce concurrency to 4 ([466596e](https://github.com/ix-infrastructure/Ix/commit/466596ea15a9a21aef97cd4b6c06ce88be9f791b))
-* suppress verbose Docker pull output during install ([eff31c6](https://github.com/ix-infrastructure/Ix/commit/eff31c66bf443cea4e10d140cc9f510c68aabf9c))
-* **test:** update file-resolution test to match tryFileGraphMatch signature ([4997641](https://github.com/ix-infrastructure/Ix/commit/4997641458b4a1a7dd15c70d4a83f92a83e859b4))
-* update help-coverage test for new branding and command list ([7dff1e4](https://github.com/ix-infrastructure/Ix/commit/7dff1e4500e61bad116b9ddfc82a21d1e1172d5d))
-* update shim on Linux/Mac after ix upgrade ([97df620](https://github.com/ix-infrastructure/Ix/commit/97df62016139c155def4d0c2d5b3ea74ef41e772))
-
-
-### Performance Improvements
-
-* **db:** ArangoDB write path optimizations — 130s → 82s Kubernetes ([30d2cf2](https://github.com/ix-infrastructure/Ix/commit/30d2cf21c461b6030cd50e195c666ece65e56ab9))
-* **db:** parallel chunk processing and compute-pool doc building ([67168f0](https://github.com/ix-infrastructure/Ix/commit/67168f0eded22bd119b43cbb15e45465ea77f5a6))
-* **db:** parallelize bulk insert batches, raise connection pool, drop waitForSync ([928f5c3](https://github.com/ix-infrastructure/Ix/commit/928f5c321747903195c9cf501eb4d4e72ce4e478))
-* **ingest:** map-mode optimization + ix view command ([f5bf12c](https://github.com/ix-infrastructure/Ix/commit/f5bf12c181327541851eeceb1d7c260e6873f861))
-* **ingest:** overlap file I/O with parse dispatch; raise COMMIT_CONCURRENCY to 8 ([560001e](https://github.com/ix-infrastructure/Ix/commit/560001e996e7ff65c1f84de5999c2a00efed0226))
-* **ingest:** strip chunks/claims in map mode and increase bulk write limits ([dd2c0a8](https://github.com/ix-infrastructure/Ix/commit/dd2c0a8c7fda940566ff6d29d068e9b2358004f0))
-* large repo map + ingest performance ([#60](https://github.com/ix-infrastructure/Ix/issues/60)) ([befde2c](https://github.com/ix-infrastructure/Ix/commit/befde2c38786251239dd93a6adbdadcfe5e5877b))
-* reduce network round-trips and DB write overhead ([7a6d9f5](https://github.com/ix-infrastructure/Ix/commit/7a6d9f541b606ecb7ea5a347f9f5c2f5fa1b873f))
-
-
-### Reverts
-
-* remove memory-layer changes, keeping branch parsing-only ([b602308](https://github.com/ix-infrastructure/Ix/commit/b60230812a184b1bdf54ea1ca7175da4e1963e0d))
diff --git a/scripts/connect.sh b/scripts/connect.sh
index 0d81c965..6412fed3 100755
--- a/scripts/connect.sh
+++ b/scripts/connect.sh
@@ -8,14 +8,8 @@ set -euo pipefail
# 1. Adds IX rules to CLAUDE.md (so Claude follows the IX workflow)
# 2. Ingests the project's source code into the knowledge graph
#
-# MCP is optional — the plugin (Claude hooks) is the default integration.
-# Pass --mcp to also install an MCP server config.
-#
# Usage:
-# ./scripts/connect.sh ~/my-project # Plugin only (default)
-# ./scripts/connect.sh ~/my-project --mcp # Plugin + MCP (Claude Code)
-# ./scripts/connect.sh ~/my-project --mcp cursor # Plugin + MCP (Cursor)
-# ./scripts/connect.sh ~/my-project --mcp claude-desktop
+# ./scripts/connect.sh ~/my-project
# ./scripts/connect.sh ~/my-project --skip-ingest # Don't ingest yet
# ─────────────────────────────────────────────────────────────────────────────
@@ -26,43 +20,26 @@ IX_CMD="npx --prefix $CLI_DIR tsx $CLI_DIR/src/cli/main.ts"
# ── Parse arguments ──────────────────────────────────────────────────────────
PROJECT_DIR=""
-MCP=false
-MCP_IDE="claude-code"
SKIP_INGEST=false
while [[ $# -gt 0 ]]; do
case "$1" in
- --mcp)
- MCP=true
- shift
- # Optional IDE argument: claude-code (default), cursor, claude-desktop
- if [[ $# -gt 0 ]] && [[ "$1" != --* ]]; then
- MCP_IDE="$1"
- shift
- fi
- ;;
--skip-ingest) SKIP_INGEST=true; shift ;;
-h|--help)
echo "Usage: ./scripts/connect.sh <PROJECT_DIR> [OPTIONS]"
echo ""
- echo "Connects a project to Ix so Claude can use the knowledge graph."
+ echo "Connects a project to Ix."
echo ""
echo "Arguments:"
echo " PROJECT_DIR Path to the project to connect (required)"
echo ""
echo "Options:"
- echo " --mcp [ide] Also install MCP server config (optional)"
- echo " ide: claude-code (default), cursor, claude-desktop"
echo " --skip-ingest Don't ingest the codebase yet"
echo " -h, --help Show this help"
echo ""
echo "What this does:"
echo " 1. Adds IX rules to CLAUDE.md (mandatory LLM workflow)"
echo " 2. Ingests the project's source code into the knowledge graph"
- echo " 3. (--mcp only) Writes MCP server config for the specified IDE"
- echo ""
- echo "The plugin (Claude hooks) is installed globally via ./setup.sh."
- echo "MCP is an alternative integration — use --mcp only if you prefer it."
echo ""
echo "To disconnect later:"
echo " ./scripts/disconnect.sh ~/my-project"
@@ -113,9 +90,6 @@ echo "║ Ix — Connect Project ║"
echo "╚══════════════════════════════════════════╝"
echo ""
echo " Project: $PROJECT_DIR"
-if [ "$MCP" = true ]; then
- echo " MCP: $MCP_IDE"
-fi
echo ""
# ── Step 1: Add IX rules to CLAUDE.md ────────────────────────────────────────
@@ -137,32 +111,6 @@ else
"$IX_DIR/scripts/ingest.sh"
fi
-# ── Step 3: MCP (opt-in) ────────────────────────────────────────────────────
-
-if [ "$MCP" = true ]; then
- echo ""
- echo "── [3] MCP Config ($MCP_IDE) ──────────────────────"
- cd "$PROJECT_DIR"
- case "$MCP_IDE" in
- claude-code)
- $IX_CMD mcp-install --claude-code
- echo " Config written to: $(pwd)/.claude/settings.json"
- ;;
- claude-desktop)
- $IX_CMD mcp-install
- ;;
- cursor)
- $IX_CMD mcp-install --cursor
- echo " Config written to: $(pwd)/.cursor/mcp.json"
- ;;
- *)
- echo " Unknown IDE '$MCP_IDE'. Valid options: claude-code, cursor, claude-desktop"
- exit 1
- ;;
- esac
- echo " [ok] MCP server configured — restart your IDE to activate"
-fi
-
# ── Done ─────────────────────────────────────────────────────────────────────
echo ""
@@ -172,8 +120,6 @@ echo "╚═══════════════════════
echo ""
echo " Project: $PROJECT_DIR"
echo ""
-echo " Open $PROJECT_DIR in Claude Code — the Ix plugin is active."
-echo ""
echo " To disconnect:"
echo " ./scripts/disconnect.sh $PROJECT_DIR"
echo ""
diff --git a/scripts/dev/setup.sh b/scripts/dev/setup.sh
index 02cdf3a0..92d85113 100755
--- a/scripts/dev/setup.sh
+++ b/scripts/dev/setup.sh
@@ -46,12 +46,6 @@ ensure_local_bin_on_path() {
done
}
-install_claude_hooks() {
- # Delegate to the standalone installer — keeps curl and repo installs in sync.
- # Hooks are copied to ~/.local/share/ix/plugin/hooks (not repo-relative).
- bash "$IX_DIR/ix-plugin/install.sh"
-}
-
install_global_ix() {
local local_bin="$HOME/.local/bin"
local ix_shim="$local_bin/ix"
@@ -98,7 +92,7 @@ while [[ $# -gt 0 ]]; do
echo "Individual scripts:"
echo " ./scripts/backend.sh Start/stop Docker containers"
echo " ./scripts/build-cli.sh Build the TypeScript CLI"
- echo " ./scripts/connect.sh Connect a project (MCP + CLAUDE.md + ingest)"
+ echo " ./scripts/connect.sh Connect a project (CLAUDE.md + ingest)"
echo " ./scripts/disconnect.sh Disconnect a project"
echo " ./scripts/ingest.sh Ingest files into the graph"
exit 0
@@ -144,16 +138,10 @@ if [ "${#MISSING_DEPS[@]}" -gt 0 ]; then
fi
echo " [ok] docker, node"
-# Warn about optional tools (needed for hooks + ix text)
-MISSING_OPT=()
-for dep in jq rg; do
- if ! command -v "$dep" >/dev/null 2>&1; then
- MISSING_OPT+=("$dep")
- fi
-done
-if [ "${#MISSING_OPT[@]}" -gt 0 ]; then
- echo " [warn] Optional tools not found: ${MISSING_OPT[*]}"
- echo " jq is required for Claude Code hooks; rg for 'ix text' search."
+# Warn about optional tools (needed for ix text)
+if ! command -v rg >/dev/null 2>&1; then
+ echo " [warn] Optional tool not found: rg"
+ echo " rg (ripgrep) is required for 'ix text' search."
fi
echo ""
@@ -188,16 +176,6 @@ else
echo " [ok] Installed: ~/.local/bin/ix"
fi
-# ── Step 4: Claude Code Plugin ───────────────────────────────────────────────
-
-echo ""
-echo "── [4] Claude Code plugin ─────────────────────────"
-if command -v claude >/dev/null 2>&1; then
- install_claude_hooks
-else
- echo " (skipped — claude CLI not found)"
-fi
-
# ── Done ─────────────────────────────────────────────────────────────────────
echo ""
@@ -211,12 +189,6 @@ echo ""
echo " CLI: ix status"
echo " (open a new shell, or run: export PATH=\"\$HOME/.local/bin:\$PATH\")"
echo ""
-echo " Plugin: restart Claude Code to activate the Ix hooks"
-echo ""
echo " Next: connect a project to IX:"
echo " ./scripts/connect.sh ~/my-project"
echo ""
-echo " To also install MCP (optional, for Cursor/Claude Desktop):"
-echo " ./scripts/connect.sh ~/my-project --mcp cursor"
-echo " ./scripts/connect.sh ~/my-project --mcp claude-desktop"
-echo ""
diff --git a/scripts/install/install.ps1 b/scripts/install/install.ps1
index fed73971..ca886f58 100644
--- a/scripts/install/install.ps1
+++ b/scripts/install/install.ps1
@@ -5,7 +5,6 @@
# 1. Docker Desktop (checks / prompts)
# 2. Backend (ArangoDB + Memory Layer via Docker)
# 3. ix CLI
-# 4. Claude Code hooks (if Claude Code is installed)
#
# Usage:
# irm https://ix-infra.com/install.ps1 | iex
@@ -13,7 +12,6 @@
# Options (env vars):
# $env:IX_VERSION = "0.2.0" Override version
# $env:IX_SKIP_BACKEND = "1" Skip Docker backend
-# $env:IX_SKIP_HOOKS = "1" Skip Claude Code hooks
# ─────────────────────────────────────────────────────────────────────────────
$ErrorActionPreference = "Stop"
@@ -206,24 +204,6 @@ if ($existingVersion -eq $Version) {
}
}
-# ── Step 4: Claude Code hooks ────────────────────────────────────────────────
-
-Write-Host ""
-Write-Host "-- 4. Claude Code Plugin --" -ForegroundColor White
-
-if ($env:IX_SKIP_HOOKS -eq "1") {
- Write-Host " (skipped via IX_SKIP_HOOKS=1)"
-} elseif (-not (Get-Command claude -ErrorAction SilentlyContinue)) {
- Write-Host " (skipped - claude CLI not found)"
-} else {
- # Download and run hook installer
- $hookScript = Invoke-WebRequest -Uri "$GithubRaw/ix-plugin/install.sh" -UseBasicParsing
- # Note: Claude Code hooks are bash scripts — they work in WSL/Git Bash
- Write-Warn "Claude Code hooks require bash (WSL or Git Bash)."
- Write-Host " Install from WSL or Git Bash:"
- Write-Host " curl -fsSL $GithubRaw/ix-plugin/install.sh | bash"
-}
-
# ── Done ─────────────────────────────────────────────────────────────────────
Write-Host ""
diff --git a/scripts/install/install.sh b/scripts/install/install.sh
index a7fa237c..9548de62 100755
--- a/scripts/install/install.sh
+++ b/scripts/install/install.sh
@@ -5,7 +5,6 @@
# 1. Docker (checks / prompts)
# 2. Backend (ArangoDB + Memory Layer via Docker)
# 3. ix CLI
-# 4. Claude Code hooks (if Claude Code is installed)
#
# Usage:
# curl -fsSL https://ix-infra.com/install.sh | sh
@@ -13,7 +12,6 @@
# Options (env vars):
# IX_VERSION=0.2.0 Override version (default: latest)
# IX_SKIP_BACKEND=1 Skip Docker backend setup
-# IX_SKIP_HOOKS=1 Skip Claude Code hook installation
set -euo pipefail
@@ -344,20 +342,6 @@ SHIM
info "Installed: $IX_BIN/ix"
fi
-# -- Step 4: Claude Code Hooks --
-
-step "4. Claude Code Plugin"
-
-if [ "${IX_SKIP_HOOKS:-}" = "1" ]; then
- echo " (skipped via IX_SKIP_HOOKS=1)"
-elif ! command -v claude >/dev/null 2>&1; then
- echo " (skipped — claude CLI not found)"
- echo " Install Claude Code and re-run, or install hooks manually:"
- echo " curl -fsSL ${GITHUB_RAW}/ix-plugin/install.sh | bash"
-else
- curl -fsSL "${GITHUB_RAW}/ix-plugin/install.sh" | bash
-fi
-
# -- Done --
echo ""
diff --git a/scripts/install/uninstall.sh b/scripts/install/uninstall.sh
index 08ae462e..aba8fd82 100755
--- a/scripts/install/uninstall.sh
+++ b/scripts/install/uninstall.sh
@@ -3,9 +3,8 @@
# Ix — Uninstaller
#
# Removes everything installed by the Ix installer:
-# 1. Claude Code hooks
-# 2. ix CLI
-# 3. Backend Docker containers + volumes (optional)
+# 1. ix CLI
+# 2. Backend Docker containers + volumes (optional)
#
# Usage:
# curl -fsSL https://ix-infra.com/uninstall.sh | sh
@@ -19,8 +18,6 @@ set -euo pipefail
IX_HOME="${IX_HOME:-$HOME/.ix}"
IX_BIN="$HOME/.local/bin"
COMPOSE_DIR="$IX_HOME/backend"
-HOOK_DIR="$HOME/.local/share/ix/plugin/hooks"
-SETTINGS="$HOME/.claude/settings.json"
info() { printf " \033[32m[ok]\033[0m %s\n" "$*"; }
warn() { printf " \033[33m[!!]\033[0m %s\n" "$*"; }
@@ -31,39 +28,7 @@ echo "║ Ix — Uninstall ║"
echo "╚══════════════════════════════════════════╝"
echo ""
-# ── 1. Remove Claude Code hooks ─────────────────────────────────────────────
-
-echo "── Removing Claude Code hooks ──"
-
-if [ -d "$HOOK_DIR" ]; then
- rm -f "$HOOK_DIR/ix-intercept.sh" "$HOOK_DIR/ix-ingest.sh"
- rmdir "$HOOK_DIR" 2>/dev/null || true
- info "Removed hooks from $HOOK_DIR"
-else
- echo " (no hooks found — skipping)"
-fi
-
-if [ -f "$SETTINGS" ] && command -v jq >/dev/null 2>&1; then
- INTERCEPT="$HOOK_DIR/ix-intercept.sh"
- INGEST="$HOOK_DIR/ix-ingest.sh"
-
- tmp=$(mktemp)
- jq --arg intercept "$INTERCEPT" --arg ingest "$INGEST" '
- if .hooks.PreToolUse then
- .hooks.PreToolUse |= map(select(
- (.hooks // []) | map(.command) | any(. == $intercept) | not
- ))
- else . end |
- if .hooks.PostToolUse then
- .hooks.PostToolUse |= map(select(
- (.hooks // []) | map(.command) | any(. == $ingest) | not
- ))
- else . end
- ' "$SETTINGS" > "$tmp" && mv "$tmp" "$SETTINGS"
- info "Removed hook entries from ~/.claude/settings.json"
-fi
-
-# ── 2. Remove ix CLI ────────────────────────────────────────────────────────
+# ── 1. Remove ix CLI ────────────────────────────────────────────────────────
echo ""
echo "── Removing ix CLI ──"
@@ -81,7 +46,7 @@ if [ -d "$IX_HOME/cli" ]; then
info "Removed $IX_HOME/cli"
fi
-# ── 3. Stop and remove backend ──────────────────────────────────────────────
+# ── 2. Stop and remove backend ──────────────────────────────────────────────
echo ""
echo "── Removing backend ──"
@@ -100,7 +65,7 @@ else
echo " (no backend compose file found — skipping)"
fi
-# ── 4. Clean up IX_HOME ─────────────────────────────────────────────────────
+# ── 3. Clean up IX_HOME ─────────────────────────────────────────────────────
echo ""
echo "── Cleaning up ──"
@@ -111,16 +76,8 @@ if [ -d "$IX_HOME" ]; then
warn "$IX_HOME is not empty — kept (remove manually if desired)"
fi
-# Remove plugin dir if empty
-plugin_parent="$HOME/.local/share/ix/plugin"
-if [ -d "$plugin_parent" ]; then
- rmdir "$plugin_parent" 2>/dev/null || true
- rmdir "$HOME/.local/share/ix" 2>/dev/null || true
-fi
-
echo ""
echo " Done. Ix has been uninstalled."
echo ""
echo " Note: The ~/.local/bin PATH entry in your shell rc was left in place."
-echo " Restart Claude Code to deactivate hooks."
echo ""