File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
skills/cloud-sql-postgres-data/scripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ function mergeContextualVariables(env) {
5252 additionalVars [ key ] = value ;
5353 } ) ;
5454 }
55- } else if ( process . env . CLAUDE_CODE === 'true ' ) {
56- const prefix = 'CLAUDE_PLUGIN_ ' ;
55+ } else if ( process . env . CLAUDECODE === '1 ' ) {
56+ const prefix = 'CLAUDE_PLUGIN_OPTION_ ' ;
5757 for ( const key in process . env ) {
5858 if ( key . startsWith ( prefix ) ) {
5959 additionalVars [ key . substring ( prefix . length ) ] = process . env [ key ] ;
@@ -78,7 +78,7 @@ function prepareEnvironment() {
7878
7979 if ( process . env . GEMINI_CLI === '1' ) {
8080 userAgent = "skills-geminicli" ;
81- } else if ( process . env . CLAUDE_CODE === 'true ' ) {
81+ } else if ( process . env . CLAUDECODE === '1 ' ) {
8282 userAgent = "skills-claudecode" ;
8383 }
8484
You can’t perform that action at this time.
0 commit comments