mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-23 00:35:51 +00:00
chore: 添加脚本与构建配置更新
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -103,12 +103,10 @@ function buildHookSchemas() {
|
||||
.positive()
|
||||
.optional()
|
||||
.describe('Timeout in seconds for this specific request'),
|
||||
headers: z
|
||||
.record(z.string(), z.string())
|
||||
.optional()
|
||||
.describe(
|
||||
'Additional headers to include in the request. Values may reference environment variables using $VAR_NAME or ${VAR_NAME} syntax (e.g., "Authorization": "Bearer $MY_TOKEN"). Only variables listed in allowedEnvVars will be interpolated.',
|
||||
),
|
||||
headers: z.record(z.string(), z.string()).optional().describe(
|
||||
// biome-ignore lint/suspicious/noTemplateCurlyInString: ${VAR_NAME} is documentation for the config syntax, not a JS template literal
|
||||
'Additional headers to include in the request. Values may reference environment variables using $VAR_NAME or ${VAR_NAME} syntax (e.g., "Authorization": "Bearer $MY_TOKEN"). Only variables listed in allowedEnvVars will be interpolated.',
|
||||
),
|
||||
allowedEnvVars: z
|
||||
.array(z.string())
|
||||
.optional()
|
||||
|
||||
Reference in New Issue
Block a user