From 761cb980e577098d53e4a6017dfffc523ae5e4e9 Mon Sep 17 00:00:00 2001 From: ION606 Date: Wed, 6 May 2026 17:54:23 -0700 Subject: [PATCH] added claude --- claude | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/claude b/claude index d0a0340..48f73e8 100755 --- a/claude +++ b/claude @@ -33,11 +33,13 @@ out = { "bypassPermissionsModeAccepted": True, "userID": d.get("userID", ""), "oauthAccount": d.get("oauthAccount", {}), + "mcpServers": d.get("mcpServers", {}), "projects": { "/workspace": { "hasTrustDialogAccepted": True, "hasTrustDialogHooksAccepted": True, "hasCompletedProjectOnboarding": True, + "mcpServers": d.get("projects", {}).get(cwd, {}).get("mcpServers", {}), }, }, } @@ -56,10 +58,12 @@ export AUTH_BLOB="$auth_blob" docker pull containers.ion606.dev/ion606/claude-docker:latest &>/dev/null docker run --rm -it \ - -v "${cwd}:/workspace" \ - -e CLAUDE_CODE_OAUTH_TOKEN \ - -e AUTH_BLOB \ - -e README_CONTENTS="$(cat ${cwd}/CLAUDE.md)" \ - --cap-drop ALL \ - ion-claude:latest "$@" \ - 2>&1 | tee "$session_file" + -v "${cwd}:/workspace" \ + -v "${HOME}/.claude/plugins:/root/.claude/plugins:ro" \ + -v "${HOME}/.claude/settings.json:/root/.claude/settings.json:ro" \ + -e CLAUDE_CODE_OAUTH_TOKEN \ + -e AUTH_BLOB \ + -e README_CONTENTS="$(cat ${cwd}/CLAUDE.md)" \ + --cap-drop ALL \ + ion-claude:latest "$@" \ + 2>&1 | tee "$session_file"