continue-custom/extensions/cli/src/tools
Aditya Mitra ab214e3abc
refactor(cli): throw tool error instead of returning and matching error strings (#8432)
* fix: prevent string error matching throwing errors

- added ToolResultWithStatus

* add throwing of errors in search code tool

* throw errors in cli fetch tool

* throw errors in writeFile tool

* throw error in status tool

* throw errors in listFiles tool

* throw error in readfile tool

* fix no matches for pattern searchCode

* update tests

* use continueerror writeFile

---------

Co-authored-by: Nate <sestinj@gmail.com>
2025-10-27 16:43:05 -07:00
..
allBuiltIns.ts fix: mcp agent policies and deduplicate blocks when merging unrolled assistants (#8376) 2025-10-22 14:41:41 -07:00
edit.test.ts feat: mark unread (#7886) 2025-09-22 19:54:46 -07:00
edit.ts feat: tool call args preprocessing (#7992) 2025-09-30 18:49:29 -07:00
exit.ts fix: use json schema for tool definitions (#7904) 2025-09-22 19:40:25 -07:00
fetch.test.ts refactor(cli): throw tool error instead of returning and matching error strings (#8432) 2025-10-27 16:43:05 -07:00
fetch.ts refactor(cli): throw tool error instead of returning and matching error strings (#8432) 2025-10-27 16:43:05 -07:00
formatters.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
index.test.ts fix: SystemMessageService so that system message updates with mode changes 2025-08-27 15:57:40 -07:00
index.tsx refactor(cli): throw tool error instead of returning and matching error strings (#8432) 2025-10-27 16:43:05 -07:00
listFiles.ts refactor(cli): throw tool error instead of returning and matching error strings (#8432) 2025-10-27 16:43:05 -07:00
multiEdit.test.ts feat: mark unread (#7886) 2025-09-22 19:54:46 -07:00
multiEdit.ts fix: edit tool prompt updates to encourage multi edits to avoid linting effects (#7998) 2025-09-26 17:07:24 -07:00
preprocess.test.ts fix: broken test 2025-09-19 18:28:31 -07:00
readFile.ts refactor(cli): throw tool error instead of returning and matching error strings (#8432) 2025-10-27 16:43:05 -07:00
runTerminalCommand.test.ts fix: 🐛 More windows specific fixes for powershell 2025-08-27 20:53:00 -07:00
runTerminalCommand.ts fix: use json schema for tool definitions (#7904) 2025-09-22 19:40:25 -07:00
searchCode.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
searchCode.ts refactor(cli): throw tool error instead of returning and matching error strings (#8432) 2025-10-27 16:43:05 -07:00
status.ts refactor(cli): throw tool error instead of returning and matching error strings (#8432) 2025-10-27 16:43:05 -07:00
ToolCallTitle.tsx fix: build problems 2025-08-27 21:07:57 -07:00
types.ts fix: use json schema for tool definitions (#7904) 2025-09-22 19:40:25 -07:00
viewDiff.ts fix: use json schema for tool definitions (#7904) 2025-09-22 19:40:25 -07:00
writeChecklist.test.ts fix: use json schema for tool definitions (#7904) 2025-09-22 19:40:25 -07:00
writeChecklist.ts fix: use json schema for tool definitions (#7904) 2025-09-22 19:40:25 -07:00
writeFile.ts refactor(cli): throw tool error instead of returning and matching error strings (#8432) 2025-10-27 16:43:05 -07:00