feat: 恢复 ACP 命令行入口 (--acp) 支持

This commit is contained in:
James Feng 2026-06-04 18:12:27 +08:00
parent 957076c5bd
commit 0b38268491

View File

@ -121,13 +121,12 @@ async function main(): Promise<void> {
return; return;
} }
// CC_Pure: ACP feature not included — commented out if (feature('ACP') && process.argv[2] === '--acp') {
// if (feature('ACP') && process.argv[2] === '--acp') { profileCheckpoint('cli_acp_path');
// profileCheckpoint('cli_acp_path'); const { runAcpAgent } = await import('../services/acp/entry.js');
// const { runAcpAgent } = await import('../services/acp/entry.js'); await runAcpAgent();
// await runAcpAgent(); return;
// return; }
// }
if (args[0] === 'weixin') { if (args[0] === 'weixin') {
profileCheckpoint('cli_weixin_path'); profileCheckpoint('cli_weixin_path');