refactor: 全面转向 CLI 驱动架构与底层 SDK,裁撤繁杂 MCP 工具并参考 seal-home 规范

This commit is contained in:
gitea committed 2026-08-27 10:56:45 +08:00
1 parent 3d549e2e2f
commit e7aa8a86cc
19 files changed
+1228 -589

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import type { CorpConfig } from "../core/config/types.js";
import type { CorpContext } from "../core/config/manager.js";
export interface CliParsedArgs {
area?: string;
action?: string;
args: string[];
options: Record<string, string | boolean | number>;
raw: string[];
}
export interface CliRunOptions {
appRoot?: string;
entryFile?: string;
launcher?: string;
}
export interface CliResult {
stdout: string;
stderr: string;
exitCode: number;
}
export interface CliRuntime {
corpContext: CorpContext;
selectedCorp: CorpConfig | null;
jsonMode: boolean;
}