It does this on EVERY request, not just the first after launching the ACP process, and does not include the initialise request.
Claude CLI takes ~2 seconds to startup, creating a new session, so I don't see why the ACP should be so slow.
Materially this means there is a long delay before I can show the configOptions to the user, unless I cache them from a prior session which seems a dubious approach.
{
"projectId": "b452e9f6-57ab-424a-b4ae-a4625cd204ce",
"response": {
"sessionId": "89843009-0684-42cb-a059-02d6496e8cf8",
"models": {
"availableModels": [
{
"modelId": "default",
"name": "Default (recommended)",
"description": "Opus 4.6 with 1M context · Most capable for complex work"
},
{
"modelId": "sonnet",
"name": "Sonnet",
"description": "Sonnet 4.6 · Best for everyday tasks"
},
{
"modelId": "haiku",
"name": "Haiku",
"description": "Haiku 4.5 · Fastest for quick answers"
}
],
"currentModelId": "default"
},
"modes": {
"currentModeId": "default",
"availableModes": [
{
"id": "auto",
"name": "Auto",
"description": "Use a model classifier to approve/deny permission prompts."
},
{
"id": "default",
"name": "Default",
"description": "Standard behavior, prompts for dangerous operations"
},
{
"id": "acceptEdits",
"name": "Accept Edits",
"description": "Auto-accept file edit operations"
},
{
"id": "plan",
"name": "Plan Mode",
"description": "Planning mode, no actual tool execution"
},
{
"id": "dontAsk",
"name": "Don't Ask",
"description": "Don't prompt for permissions, deny if not pre-approved"
},
{
"id": "bypassPermissions",
"name": "Bypass Permissions",
"description": "Bypass all permission checks"
}
]
},
"configOptions": [
{
"id": "mode",
"name": "Mode",
"description": "Session permission mode",
"category": "mode",
"type": "select",
"currentValue": "default",
"options": [
{
"value": "auto",
"name": "Auto",
"description": "Use a model classifier to approve/deny permission prompts."
},
{
"value": "default",
"name": "Default",
"description": "Standard behavior, prompts for dangerous operations"
},
{
"value": "acceptEdits",
"name": "Accept Edits",
"description": "Auto-accept file edit operations"
},
{
"value": "plan",
"name": "Plan Mode",
"description": "Planning mode, no actual tool execution"
},
{
"value": "dontAsk",
"name": "Don't Ask",
"description": "Don't prompt for permissions, deny if not pre-approved"
},
{
"value": "bypassPermissions",
"name": "Bypass Permissions",
"description": "Bypass all permission checks"
}
]
},
{
"id": "model",
"name": "Model",
"description": "AI model to use",
"category": "model",
"type": "select",
"currentValue": "default",
"options": [
{
"value": "default",
"name": "Default (recommended)",
"description": "Opus 4.6 with 1M context · Most capable for complex work"
},
{
"value": "sonnet",
"name": "Sonnet",
"description": "Sonnet 4.6 · Best for everyday tasks"
},
{
"value": "haiku",
"name": "Haiku",
"description": "Haiku 4.5 · Fastest for quick answers"
}
]
}
]
},
"durationMs": 11481
}
responseis the raw Typescript API response to connection.newSession.The
durationMsshows how long the response took from the request. There are no MCP servers in the request.It does this on EVERY request, not just the first after launching the ACP process, and does not include the initialise request.
Claude CLI takes ~2 seconds to startup, creating a new session, so I don't see why the ACP should be so slow.
Materially this means there is a long delay before I can show the configOptions to the user, unless I cache them from a prior session which seems a dubious approach.