feat: 恢复 ACP 命令行入口 (--acp) 支持
This commit is contained in:
parent
957076c5bd
commit
0b38268491
|
|
@ -121,13 +121,12 @@ async function main(): Promise<void> {
|
|||
return;
|
||||
}
|
||||
|
||||
// CC_Pure: ACP feature not included — commented out
|
||||
// if (feature('ACP') && process.argv[2] === '--acp') {
|
||||
// profileCheckpoint('cli_acp_path');
|
||||
// const { runAcpAgent } = await import('../services/acp/entry.js');
|
||||
// await runAcpAgent();
|
||||
// return;
|
||||
// }
|
||||
if (feature('ACP') && process.argv[2] === '--acp') {
|
||||
profileCheckpoint('cli_acp_path');
|
||||
const { runAcpAgent } = await import('../services/acp/entry.js');
|
||||
await runAcpAgent();
|
||||
return;
|
||||
}
|
||||
|
||||
if (args[0] === 'weixin') {
|
||||
profileCheckpoint('cli_weixin_path');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user