mirror of
https://github.com/cline/cline.git
synced 2026-09-21 13:21:23 +08:00
* fix(vscode): expand remote workflow/skill slash commands before send The SDK-backed extension sent `/workflow` text to the model verbatim, so remote-config workflows never ran. Expansion is host-driven (the agent loop never auto-expands), and the controller's pre-send path did none — matching the CLI's `buildUserInputMessage`, resolve slash commands via a controller-owned UserInstructionConfigService that watches the workspace (including `.cline/remote-config/`), refreshed after each remote-config sync. Fixes ENG-2036. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(vscode): guard instruction watcher against post-dispose race Reject in ensureUserInstructionService when the controller is already disposed so a slash-command resolution that yielded across dispose() can't resurrect a file watcher that nothing will stop. Also log the post-expansion length handed to parseMentions. Addresses Greptile review. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>