Commit graph

260 commits

Author SHA1 Message Date
Dallin Romney
315bc0dc8d
Merge pull request #6852 from xiaohuanxiong3/init-tool-policy-in-tools-definitions
Init tool policy in tools definitions
2025-08-05 13:02:58 -07:00
Dallin Romney
32b4cbf817 Merge branch 'main' of https://github.com/continuedev/continue into pe/required-tool-tests 2025-08-05 12:29:39 -07:00
xiaohuanxiong3
f3b71a353c
Merge branch 'continuedev:main' into init-tool-policy-in-tools-definitions 2025-08-01 15:59:04 +08:00
Shawn Smith
1ef2c0da01
fix: 🐛 Use login shell and powershell (#6850)
* fix: 🐛 Use a login shell so IntelliJ gets PATH etc, also switch to powershell on windows

* fix: 🐛 Fix foreground spawning

* fix: 🎨 Prettier
2025-07-29 13:03:58 -07:00
QiuYang Shen
1c0eaab939 Merge remote-tracking branch 'origin/init-tool-policy-in-tools-definitions' into init-tool-policy-in-tools-definitions
# Conflicts:
#	core/index.d.ts
#	core/tools/definitions/codebaseTool.ts
#	core/tools/definitions/createNewFile.ts
#	core/tools/definitions/createRuleBlock.ts
#	core/tools/definitions/editFile.ts
#	core/tools/definitions/fetchUrlContent.ts
#	core/tools/definitions/globSearch.ts
#	core/tools/definitions/grepSearch.ts
#	core/tools/definitions/ls.ts
#	core/tools/definitions/readCurrentlyOpenFile.ts
#	core/tools/definitions/readFile.ts
#	core/tools/definitions/requestRule.ts
#	core/tools/definitions/runTerminalCommand.ts
#	core/tools/definitions/searchAndReplaceInFile.ts
#	core/tools/definitions/searchWeb.ts
#	core/tools/definitions/viewDiff.ts
#	core/tools/definitions/viewRepoMap.ts
#	core/tools/definitions/viewSubdirectory.ts
2025-07-29 11:34:57 +08:00
QiuYang Shen
1d773e222d feat: change Tool.toolPolicy to Tool.defaultToolPolicy 2025-07-28 11:24:23 +08:00
Patrick Erichsen
29f4713fd3 Update index.ts 2025-07-25 16:40:46 -07:00
Nate
04fc6c883e Merge branch 'dallin/system-message-tools' of https://github.com/continuedev/continue into dallin/system-message-tools 2025-07-24 08:24:54 -07:00
Dallin Romney
3adf4b62a7 chore: revert duplicate fix logic for search and replace array args 2025-07-24 19:12:21 +07:00
Dallin Romney
d9e60cffc1 Merge branch 'dallin/system-message-tools' of https://github.com/continuedev/continue into dallin/system-message-tools 2025-07-24 19:07:00 +07:00
Dallin Romney
ec9d3157bb fix: system message tools array args for search and replace tool 2025-07-24 19:06:42 +07:00
Nate
85ba04a4c7 improve error message for failed read file tool 2025-07-23 23:27:34 -07:00
Nate
74dd75a159 fix edit tool by adjusting prompt to say "diffs" instead of "diff" 2025-07-23 22:29:18 -07:00
Dallin Romney
954d816885 merge main 2025-07-23 20:53:42 +07:00
xiaohuanxiong3
ed794ec6ae
Merge branch 'continuedev:main' into init-tool-policy-in-tools-definitions 2025-07-23 12:31:29 +08:00
Dallin Romney
7a01cebd1d disallow empty text parts 2025-07-22 08:20:10 +02:00
Nate
7a58fe7116 Merge branch 'main' into pe/required-tool-tests 2025-07-21 22:04:32 -07:00
Nate Sesti
2b04352dbf
Merge pull request #6697 from continuedev/dallin/terminal-tool-os
fix: invoke os methods in terminal tool definition
2025-07-21 21:58:38 -07:00
Dallin Romney
1ee5c54151 feat: more thorough tool arg checking utils with tests 2025-07-21 15:31:52 +02:00
Dallin Romney
3bd270a41e fix: remove it.only test marker 2025-07-20 14:28:12 +02:00
Dallin Romney
6af35548c8 fix: throw error if tool call args are missing 2025-07-20 14:13:15 +02:00
Dallin Romney
567d917367 fix: system tool calling bugs and flesh out tests 2025-07-20 13:52:25 +02:00
Dallin Romney
400013333d chore: system message tools: cleanup and restore edit test 2025-07-20 12:42:03 +02:00
Dallin Romney
9511eb5fa9 fix: test failures - was doing a chat test in agent mode 2025-07-20 12:19:42 +02:00
Dallin Romney
a04dccbc2a feat: custom systemMessageDescription for built in tools 2025-07-20 10:56:38 +02:00
Dallin Romney
b708c355a6 feat: system message tools 2025-07-20 10:52:22 +02:00
QiuYang Shen
a6ccb6e7cd feat: init tool policy in tools definitions 2025-07-19 10:55:11 +08:00
Dallin Romney
ce26a8439d fix: don't stringify os methods 2025-07-18 11:40:55 +02:00
xiaohuanxiong3
2b9e6ae071
Merge branch 'continuedev:main' into main 2025-07-17 11:19:35 +08:00
Patrick Erichsen
bcffb1a09d Update searchAndReplaceInFile.ts 2025-07-15 14:31:03 -07:00
Patrick Erichsen
daa8d3c466
Merge branch 'main' into feat-multiple-diffs 2025-07-15 14:29:06 -07:00
Patrick Erichsen
b56ca0209d ignore parallel edit tool calls 2025-07-13 21:20:44 -07:00
QiuYang Shen
a000397160 avoid garbled Chinese when call runTerminalCommandTool in windows 2025-07-13 19:00:52 +08:00
chezsmithy
3ac016ad8c prettier fixes 2025-07-12 17:05:58 -07:00
chezsmithy
233bd45d2f feat: ⚡ Improve search and release tool by supporting multiple diffs per tool call 2025-07-12 17:05:58 -07:00
Patrick Erichsen
7da112bbfa merge main 2025-07-10 17:29:08 -07:00
chezsmithy
1a59113445 fix: 🔇 The safeParseToolCallArgs function is logging excessively 2025-07-10 14:03:07 -07:00
Patrick Erichsen
8e9f1048df cleanup button UI 2025-07-09 21:49:12 -07:00
Patrick Erichsen
eeaff7dba6 Merge branch 'main' into pe/required-tool-tests 2025-07-09 21:48:37 -07:00
Patrick Erichsen
148d84fe03 Remove backward compatibility check in addToolCallDeltaToState
- This allows parallel tool calls to be processed without ID conflicts
- Tool calls are now stored correctly but still need state transition fix

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 15:37:23 -07:00
Patrick Erichsen
c49f8412c3 Revert streaming fixes and preserve parallel tool calls progress
- Reverted ID-based streaming logic back to index-based approach
- Reverted permission processing changes
- Preserved existing parallel tool calls infrastructure
- Tests show tool calls are stored but not transitioning to "generated" status
- Ready to start fresh on the parallel tool calling issue

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 15:33:08 -07:00
Nate Sesti
742006dcdc
Merge branch 'main' into nate/adjust-find-replace-prompt 2025-07-08 10:10:19 -07:00
Patrick Erichsen
30e4593461 test: check for required params on tool defs 2025-07-07 17:56:20 -07:00
Nate
d92e198b0e make find/replace tool available by default for claude 2025-07-07 13:30:49 -07:00
Dallin Romney
f260ea0abc
Merge pull request #6439 from continuedev/dallin/limit-web-tool-output
Truncate large agent tool output
2025-07-07 12:18:58 -07:00
Dallin Romney
559faae153 use exported diff lines limit 2025-07-07 11:24:19 -07:00
Nate
d868b90132 adjust prompt 2025-07-05 10:56:29 -07:00
Nate
bdb19e4f8f more prompt adjustment 2025-07-05 10:36:40 -07:00
Nate
f16cd61d23 more adjustments 2025-07-05 10:30:18 -07:00
Nate
5b6b1d5609 adjust instructions 2025-07-05 10:21:57 -07:00