fix(targets): harden adapter lifecycle and droid model edge cases

This commit is contained in:
Tam Nhu Tran
2026-02-17 04:09:48 +07:00
parent 02af8d5737
commit 3da3407f9a
12 changed files with 556 additions and 101 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ import { getCcsDir } from '../utils/config-manager';
import type { CLIProxyProvider } from '../cliproxy/types';
import { CLIPROXY_PROVIDER_IDS, isCLIProxyProvider } from '../cliproxy/provider-capabilities';
import type { TargetType } from '../targets/target-adapter';
export type ProfileType = 'settings' | 'account' | 'cliproxy' | 'copilot' | 'default';
import type { ProfileType } from '../types/profile';
export type { ProfileType } from '../types/profile';
/** CLIProxy profile names (OAuth-based, zero config) */
export const CLIPROXY_PROFILES: readonly CLIProxyProvider[] = CLIPROXY_PROVIDER_IDS;