mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-04 22:13:23 +00:00
- Split types.ts (331 LOC) into 4 concern-based files under types/: platform-types, binary-types, provider-types, config-types - Preserve backward compat via barrel re-export (types.ts → types/index) - Reorganize 53 root-level files into 8 subdirectories: accounts/, ai-providers/, auth/, binary/, config/, executor/, management/, proxy/, quota/, routing/, services/, sync/ - Reduce src/cliproxy/ root from 65 to 8 files (target: ≤10) - Colocate 87 unit tests from tests/unit/cliproxy/ into src/cliproxy/*/__tests__/ (13 colocated test directories) - Update import paths across 40+ consumer files - Add TDD backward-compat test for types split Refs #1135
18 lines
661 B
TypeScript
18 lines
661 B
TypeScript
/**
|
|
* CLIProxy Executor - Backwards Compatibility Shim
|
|
*
|
|
* This file re-exports from the modular executor/ structure.
|
|
* All implementation has been moved to:
|
|
* - executor/index.ts - Main orchestrator
|
|
* - executor/lifecycle-manager.ts - Spawn/kill/poll operations
|
|
* - executor/env-resolver.ts - Environment variable resolution
|
|
* - executor/retry-handler.ts - Error recovery and retry logic
|
|
* - executor/session-bridge.ts - Session tracking integration
|
|
*
|
|
* @deprecated Import from './executor' instead
|
|
*/
|
|
// Re-export from modular structure
|
|
export { execClaudeWithCLIProxy, isPortAvailable, findAvailablePort } from '.';
|
|
|
|
export { default } from '.';
|