mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 13:55:50 +00:00
feat: 添加工具类增强与状态管理改进
- 新增 workflowRuns、remoteTriggerAudit、pipeStatus 等工具 - 增强 permissionSetup: auto mode 和 bypass permissions 始终可用 - 新增多组测试覆盖 (modifiers, teamDiscovery, deepLink 等) - 修复 parseInt 缺少 radix 参数 - 移除多余 biome-ignore 注释 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -421,6 +421,7 @@ export const createAndSaveSnapshot = async (
|
||||
|
||||
logForDebugging(`Creating shell snapshot for ${shellType} (${binShell})`)
|
||||
|
||||
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: async needed for sequential awaits inside executor
|
||||
return new Promise(async resolve => {
|
||||
try {
|
||||
const configFile = getConfigFile(binShell)
|
||||
|
||||
@@ -251,6 +251,7 @@ const BRACE_EXPANSION_RE = /\{[^{}\s]*(,|\.\.)[^{}\s]*\}/
|
||||
* word boundaries.
|
||||
*/
|
||||
// eslint-disable-next-line no-control-regex
|
||||
// biome-ignore lint/suspicious/noControlCharactersInRegex: intentional control character detection regex
|
||||
const CONTROL_CHAR_RE = /[\x00-\x08\x0B-\x1F\x7F]/
|
||||
|
||||
/**
|
||||
@@ -1899,6 +1900,7 @@ function walkVariableAssignment(
|
||||
return {
|
||||
kind: 'too-complex',
|
||||
reason:
|
||||
// biome-ignore lint/suspicious/noTemplateCurlyInString: ${VAR} is bash syntax documentation, not a JS template literal
|
||||
'PS4 value outside safe charset — only ${VAR} refs and [A-Za-z0-9 _+:.=/[]-] allowed',
|
||||
nodeType: 'variable_assignment',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user