Skip to content

Don't get out of sync when background task creates new init/result (try 2)#400

Merged
benbrandt merged 4 commits intoagentclientprotocol:mainfrom
SteffenDE:sd-issue-336
Mar 13, 2026
Merged

Don't get out of sync when background task creates new init/result (try 2)#400
benbrandt merged 4 commits intoagentclientprotocol:mainfrom
SteffenDE:sd-issue-336

Conversation

@SteffenDE
Copy link
Copy Markdown
Contributor

Followup for #386.

When sending /compact, there's no replay for the user message, so we did not resolve the prompt. Same for /context.

I tried what happens when sending a /context or /compact while another prompt is running and Claude does not properly handle it. Instead, it responds with something like

I also noticed you sent /compact while I was working. That's a built-in CLI command (not a skill), which compacts the conversation context. It should be invoked directly in the CLI rather than as a message to me.

The important part is f52f214.

@cla-bot cla-bot bot added the cla-signed label Mar 9, 2026
@benbrandt benbrandt merged commit 87a0886 into agentclientprotocol:main Mar 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants