mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 22:14:22 +00:00
refactor: remove unused deprecated code
- remove hasMcpWebSearch(), getMcpConfigPath() from websearch-manager - delete deprecated web-server/routes.ts (no imports)
This commit is contained in:
1 parent
bae323c0d3
commit
4a5b832a6e
2 files changed
-27
No files matched your search
@@ -13,9 +13,6 @@
|
|||||||
* @module utils/websearch-manager
|
* @module utils/websearch-manager
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as path from 'path';
|
|
||||||
import * as os from 'os';
|
|
||||||
|
|
||||||
// Re-export types
|
// Re-export types
|
||||||
export type {
|
export type {
|
||||||
GeminiCliStatus,
|
GeminiCliStatus,
|
||||||
@@ -83,17 +80,3 @@ export function clearAllCliCaches(): void {
|
|||||||
export function ensureMcpWebSearch(): boolean {
|
export function ensureMcpWebSearch(): boolean {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated MCP is no longer used
|
|
||||||
*/
|
|
||||||
export function hasMcpWebSearch(): boolean {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated MCP is no longer used
|
|
||||||
*/
|
|
||||||
export function getMcpConfigPath(): string {
|
|
||||||
return path.join(os.homedir(), '.claude', '.mcp.json');
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
/**
|
|
||||||
* REST API Routes - Re-export from modular routes
|
|
||||||
*
|
|
||||||
* This file exists for backward compatibility.
|
|
||||||
* All routes have been modularized into src/web-server/routes/ directory.
|
|
||||||
*
|
|
||||||
* @deprecated Import from './routes/index' instead
|
|
||||||
*/
|
|
||||||
|
|
||||||
export { apiRoutes } from './routes/index';
|
|
||||||
Reference in new issue
Block a user