You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to integrate the agent mode into my lualine, so i tried to consume CodeCompanionChatACPModeChanged.
I noticed this event is never emitted when manually changing the agent mode via /mode.
looking into the codebase of codecompanion i noticed that CodeCompanionChatACPModeChanged is only emitted when a session/update with current_mode_update has been received from the agent.
I'm using opencode which does not seem to send a session/update.
now I'm wondering who's at fault:
me: because CodeCompanionChatACPModeChanged doesnt mean what i thought
opencode: because agents should send that notification even when instructed to change mode by the client
codecompanion: because it assumes the agent will send that notification
The ACP Spec seems to indicate that an agent is not expected to send the notification when instructed by the client.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I want to integrate the agent mode into my lualine, so i tried to consume
CodeCompanionChatACPModeChanged.I noticed this event is never emitted when manually changing the agent mode via
/mode.looking into the codebase of codecompanion i noticed that
CodeCompanionChatACPModeChangedis only emitted when asession/updatewithcurrent_mode_updatehas been received from the agent.I'm using opencode which does not seem to send a
session/update.now I'm wondering who's at fault:
CodeCompanionChatACPModeChangeddoesnt mean what i thoughtThe ACP Spec seems to indicate that an agent is not expected to send the notification when instructed by the client.
Thanks in advance for any input
Beta Was this translation helpful? Give feedback.
All reactions