(plugins: any[], disabledPaths?: string[])
| 208 | } |
| 209 | |
| 210 | function getEnabledPluginPaths(plugins: any[], disabledPaths?: string[]): Set<string> { |
| 211 | const paths = disabledPaths ?? disabledPluginPaths.value |
| 212 | const disabledPluginPathSet = new Set(paths) |
| 213 | return new Set( |
| 214 | plugins |
| 215 | .filter((plugin: any) => !disabledPluginPathSet.has(plugin.path)) |
| 216 | .map((p: any) => p.path) |
| 217 | ) |
| 218 | } |
| 219 | // 搜索偏好记录(搜索词 -> 上次选中的指令标识) |
| 220 | const searchPreference = ref< |
| 221 | Record<string, { path: string; featureCode?: string; name: string }> |
no outgoing calls
no test coverage detected