Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions src/core/target-handlers/acp-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ export class ACPTargetHandler implements TargetHandler {
process: ChildProcess,
config: ACPTargetConfig
): Promise<string> {
// Initialize protocol
// NOTE: Session creation typically takes 5-7 seconds on first run
// as the ACP client bootstraps the environment. Subsequent sessions
// with persisted sessionId are much faster.

// Initialize protocol (fast, < 1s)
await this.sendRequest(
process,
'initialize',
Expand All @@ -187,7 +191,7 @@ export class ACPTargetHandler implements TargetHandler {
config.timeout || 30
);

// Create session
// Create session (slow, 5-7s on first run)
const sessionResult = (await this.sendRequest(
process,
'session/new',
Expand Down