From 26f40217703800cb412af74195e350090d39e435 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Wed, 4 Feb 2026 00:29:33 -0500 Subject: [PATCH] feat(hooks): skip image analyzer for Claude Sub accounts - Add CCS_IMAGE_ANALYSIS_SKIP=1 for account and default profile types - Matches WebSearch behavior: native Claude has native vision support --- src/ccs.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ccs.ts b/src/ccs.ts index d1a76204..7c04006d 100644 --- a/src/ccs.ts +++ b/src/ccs.ts @@ -667,18 +667,22 @@ async function main(): Promise { // Execute Claude with instance isolation // Skip WebSearch hook - account profiles use native server-side WebSearch + // Skip Image Analyzer hook - account profiles have native vision support const envVars: NodeJS.ProcessEnv = { CLAUDE_CONFIG_DIR: instancePath, CCS_PROFILE_TYPE: 'account', CCS_WEBSEARCH_SKIP: '1', + CCS_IMAGE_ANALYSIS_SKIP: '1', }; execClaude(claudeCli, remainingArgs, envVars); } else { // DEFAULT: No profile configured, use Claude's own defaults // Skip WebSearch hook - native Claude has server-side WebSearch + // Skip Image Analyzer hook - native Claude has native vision support const envVars: NodeJS.ProcessEnv = { CCS_PROFILE_TYPE: 'default', CCS_WEBSEARCH_SKIP: '1', + CCS_IMAGE_ANALYSIS_SKIP: '1', }; execClaude(claudeCli, remainingArgs, envVars); }