mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 12:14:19 +00:00
fix(websearch): restore hook recovery and force register
This commit is contained in:
1 parent
ed37a2a513
commit
0821c68559
4 files changed
+61
-3
No files matched your search
@@ -216,7 +216,9 @@ export function registerApiProfileOrphans(options?: {
|
||||
}
|
||||
|
||||
try {
|
||||
ensureProfileHooksOrThrow(orphan.name);
|
||||
if (orphan.validation.valid) {
|
||||
ensureProfileHooksOrThrow(orphan.name);
|
||||
}
|
||||
registerApiProfileInConfig(orphan.name, options?.target || 'claude', options?.force || false);
|
||||
result.registered.push(orphan.name);
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user