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:
unraid
2026-04-22 22:38:10 +08:00
parent 94c4b37eed
commit fb41513b32
54 changed files with 1037 additions and 102 deletions

View File

@@ -645,6 +645,7 @@ const PluginManifestUserConfigSchema = lazySchema(() =>
.describe(
'User-configurable values this plugin needs. Prompted at enable time. ' +
'Non-sensitive values saved to settings.json; sensitive values to secure storage ' +
// biome-ignore lint/suspicious/noTemplateCurlyInString: ${user_config.KEY} is plugin config syntax documentation, not a JS template literal
'(macOS keychain or .credentials.json). Available as ${user_config.KEY} in ' +
'MCP/LSP server config, hook commands, and (non-sensitive only) skill/agent content. ' +
'Note: sensitive values share a single keychain entry with OAuth tokens — keep ' +
@@ -690,6 +691,7 @@ const PluginManifestChannelsSchema = lazySchema(() =>
.optional()
.describe(
'Fields to prompt the user for when enabling this plugin in assistant mode. ' +
// biome-ignore lint/suspicious/noTemplateCurlyInString: ${user_config.KEY} is plugin config syntax documentation, not a JS template literal
'Saved values are substituted into ${user_config.KEY} references in the mcpServers env.',
),
})