Roo-Code/src/utils
Trung Dang 84ccf3fcc3
feat: add injectVariables(), support magic variables for MCPs (workspaceFolder) (#4442)
* feat: add `injectVariables()`, support magic variables for MCPs

* fix: fallback for `workspaceFolder` should just be an empty string

Previously this is intended so that the CLI receives a correct empty path argument, but on a second thought, if the user have added the quotes themselves it might cause error.

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* chore: remove unused import

* chore: better log format

* chore: better describe the accepted config type and more extensive test

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-12 13:17:41 -04:00
..
__tests__ feat: add injectVariables(), support magic variables for MCPs (workspaceFolder) (#4442) 2025-06-12 13:17:41 -04:00
logging Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00
commands.ts Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
config.ts feat: add injectVariables(), support magic variables for MCPs (workspaceFolder) (#4442) 2025-06-12 13:17:41 -04:00
countTokens.ts Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
fs.ts Refactor out file helpers into fs.ts 2024-10-09 01:49:55 -04:00
git.ts Revert "Smart truncation for terminal output" 2025-03-10 20:54:53 -07:00
globalContext.ts Marketplace (#4538) 2025-06-11 17:28:12 -04:00
migrateSettings.ts Use yaml as default custom modes format (#3749) 2025-05-20 16:44:29 -04:00
outputChannelLogger.ts Cloud: add auth logs to the output channel (#4270) 2025-06-02 16:56:27 -07:00
path.ts Revert "feat @-mention window path style & file with space (#1924)" (#2162) 2025-03-31 15:56:47 -05:00
pathUtils.ts Additional checkbox for auto-approving reads and writes outside of the workspace (#1965) 2025-03-25 01:35:33 -04:00
shell.ts chore: fix typos in comment-out (#4095) 2025-06-01 22:13:42 -04:00
single-completion-handler.ts Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
storage.ts Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
text-normalization.ts Fix diff escaping issues (#2694) 2025-04-16 18:05:04 -04:00
tiktoken.ts Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
tts.ts Add a way to stop TTS (#1787) 2025-03-18 17:05:05 -07:00
xml-matcher.ts refactor: simplify loop syntax in combineApiRequests and XmlMatcher (#3776) 2025-05-21 09:33:18 -04:00
xml.ts Don't automatically convert types when parsing XML (#2389) 2025-04-07 14:57:02 -04:00