mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
traecli publishes its slash commands and skills asynchronously via the standard ACP available_commands_update notification ~400ms after session/new resolves. Because the catalog entry runs through the plain GenericACPAgentClient (waitForInitialCommands defaults to false), listCommands() resolves before that first batch arrives and the Paseo UI shows an empty slash menu — intermittently, depending on whether the menu is opened inside the ~400ms race window. Add a thin TraeACPAgentClient that sets waitForInitialCommands: true (10s timeout) and wire it into the extends:"acp" derived-provider branch, mirroring CursorACPAgentClient exactly. Cursor has the identical async-commands behavior; this reuses that adopted pattern rather than introducing anything provider- specific. Unlike Kiro (#1792), traecli uses the standard available_commands_update update type, so no extensionCommandsParser is needed.