mirror of
https://github.com/ION606/config-backup.git
synced 2026-05-14 22:16:58 +00:00
added claude
This commit is contained in:
@@ -33,11 +33,13 @@ out = {
|
|||||||
"bypassPermissionsModeAccepted": True,
|
"bypassPermissionsModeAccepted": True,
|
||||||
"userID": d.get("userID", ""),
|
"userID": d.get("userID", ""),
|
||||||
"oauthAccount": d.get("oauthAccount", {}),
|
"oauthAccount": d.get("oauthAccount", {}),
|
||||||
|
"mcpServers": d.get("mcpServers", {}),
|
||||||
"projects": {
|
"projects": {
|
||||||
"/workspace": {
|
"/workspace": {
|
||||||
"hasTrustDialogAccepted": True,
|
"hasTrustDialogAccepted": True,
|
||||||
"hasTrustDialogHooksAccepted": True,
|
"hasTrustDialogHooksAccepted": True,
|
||||||
"hasCompletedProjectOnboarding": 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 pull containers.ion606.dev/ion606/claude-docker:latest &>/dev/null
|
||||||
|
|
||||||
docker run --rm -it \
|
docker run --rm -it \
|
||||||
-v "${cwd}:/workspace" \
|
-v "${cwd}:/workspace" \
|
||||||
-e CLAUDE_CODE_OAUTH_TOKEN \
|
-v "${HOME}/.claude/plugins:/root/.claude/plugins:ro" \
|
||||||
-e AUTH_BLOB \
|
-v "${HOME}/.claude/settings.json:/root/.claude/settings.json:ro" \
|
||||||
-e README_CONTENTS="$(cat ${cwd}/CLAUDE.md)" \
|
-e CLAUDE_CODE_OAUTH_TOKEN \
|
||||||
--cap-drop ALL \
|
-e AUTH_BLOB \
|
||||||
ion-claude:latest "$@" \
|
-e README_CONTENTS="$(cat ${cwd}/CLAUDE.md)" \
|
||||||
2>&1 | tee "$session_file"
|
--cap-drop ALL \
|
||||||
|
ion-claude:latest "$@" \
|
||||||
|
2>&1 | tee "$session_file"
|
||||||
|
|||||||
Reference in New Issue
Block a user