Skip to content

fix(acp): respect client fs capabilities before delegation#389

Merged
mstfash merged 1 commit intostakpak:mainfrom
codefromthecrypt:fs-glitch
Dec 20, 2025
Merged

fix(acp): respect client fs capabilities before delegation#389
mstfash merged 1 commit intostakpak:mainfrom
codefromthecrypt:fs-glitch

Conversation

@codefromthecrypt
Copy link
Copy Markdown
Contributor

Per ACP spec, agents MUST check readTextFile and writeTextFile capabilities before delegating filesystem operations to the client. Delegation enables access to unsaved editor state and modification tracking. Both capabilities default to false.

This makes my little internal test of stakpak pass every test claude code does

@mstfash
Copy link
Copy Markdown
Collaborator

mstfash commented Dec 19, 2025

Hey @codefromthecrypt
Thank you! looks solid. Could you please fmt (cargo fmt) the code so it passes the CI pipeline.

@codefromthecrypt
Copy link
Copy Markdown
Contributor Author

Oops sorry thought I did guess not;)

Per ACP spec, agents MUST check readTextFile and writeTextFile
capabilities before delegating filesystem operations to the client.
Delegation enables access to unsaved editor state and modification
tracking. Both capabilities default to false.

Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt
Copy link
Copy Markdown
Contributor Author

cool all good now!

@mstfash mstfash merged commit bc55cfa into stakpak:main Dec 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants