mirror of
https://github.com/block/buzz.git
synced 2026-11-05 08:51:10 +00:00
For goose agents, systemPrompt must be passed via _meta["systemPrompt"] rather than as a first-class session/new field, per the ACP extensibility convention (ACP+ / _meta approach). Buzz-agent native agents continue to use the top-level systemPrompt field unchanged. Add session_new_full_goose to AcpClient, which puts systemPrompt inside _meta instead of at the top level. Add agent_command to PromptContext so create_session_and_apply_model can detect goose (via normalize_agent_command_identity) and dispatch to the correct variant. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>