Commit graph

14958 commits

Author SHA1 Message Date
Patrick Erichsen
aa50f54999 Update streamNormalInput to handle multiple tool calls
- Changed from selectCurrentToolCall to selectCurrentToolCalls selector
- Added loop to iterate over all tool calls in a response
- Each tool call is marked as "generated" with setToolGenerated
- Auto-execute tools with "allowedWithoutPermission" policy
- Tools with "allowedWithPermission" require manual approval
- Maintains backward compatibility with single tool calls
- TypeScript compilation passes, core functionality verified

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 13:15:06 -07:00
Patrick Erichsen
7cb78fe209 Rename callCurrentTool to callToolById for clarity
- Renamed function from callCurrentTool to callToolById to better reflect its purpose
- Updated function signature to accept toolCallId parameter for parallel tool execution
- Renamed file from callCurrentTool.ts to callToolById.ts
- Updated all import paths and call sites across codebase
- Verified TypeScript compilation passes
- All utility function tests still pass (21/21)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 13:11:43 -07:00
Patrick Erichsen
082a73e277 Refactor utility functions for parallel tool call support
- Remove findCurrentToolCall and replace with parallel-aware alternatives
- Add hasCurrentToolCalls() for boolean checks
- Add findCurrentToolCallsByStatus() for status-specific filtering
- Add new selectors: selectCurrentToolCalls, selectHasCurrentToolCalls, selectCurrentToolCallsByStatus
- Keep selectCurrentToolCall as legacy selector (returns first tool call)
- Update all imports to use proper selectors
- Comprehensive unit tests with 21 passing tests
- Maintain backward compatibility while enabling parallel tool calls

Key Changes:
- Deprecated single tool call logic in favor of array-based approach
- All utility functions now handle both single and multiple tool call scenarios
- TypeScript compilation clean, all tests passing

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 13:04:05 -07:00
Patrick Erichsen
ab5be7b171 Fix parallel tool calls test format to use OpenAI toolCalls structure
- Update test to use proper ChatMessage format with toolCalls array
- Fix TypeScript errors by using correct message part types
- Test now properly validates parallel tool calls behavior
- First test passes, showing system can handle multiple tool calls without crashing
- Other tests fail as expected since parallel tool calls aren't implemented yet

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 11:02:00 -07:00
Patrick Erichsen
e34d71e600 Add initial parallel tool calls support to core data structures
- Add toolCallStates array to ChatHistoryItem interface for multiple tool calls
- Update findToolCall and findCurrentToolCall utilities to support both single and multiple tool calls
- Add findCurrentToolCalls function to get all current tool calls
- Create comprehensive test suite for parallel tool calls
- Maintain backward compatibility with existing single tool call logic

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 10:59:36 -07:00
Nate Sesti
8327f4a9e1
Merge pull request #6505 from continuedev/dallin/config-yaml-96
chore: config-yaml v96
2025-07-08 08:44:47 -07:00
Nate Sesti
37911e4ccb
Merge pull request #6504 from continuedev/dallin/openai-adapters-45
chore: openai-adapters 1.0.45
2025-07-08 08:44:27 -07:00
Dallin Romney
922441918a
Merge pull request #6496 from continuedev/nate/pr-compliance-checks-workflow
feat: add comprehensive PR compliance checks workflow
2025-07-08 01:17:19 -07:00
Dallin Romney
26cef4e4a1 chore: config-yaml v96 2025-07-07 22:56:39 -07:00
Dallin Romney
6bce891c87 chore: bump openai-adapters to 45 2025-07-07 22:52:35 -07:00
Nate Sesti
eca51fffec
Merge pull request #6499 from continuedev/dallin/bedrock-openai-adapter
feat: Bedrock OpenAI adapter
2025-07-07 22:46:04 -07:00
Dallin Romney
b3ed984e16 add env secret resolution for continue sdk 2025-07-07 19:54:45 -07:00
Dallin Romney
ed3217aaff remove extraneous bedrock load errors, don't force bedrock openai adapter 2025-07-07 19:53:50 -07:00
Dallin Romney
e389050dda proxy missing env secrets 2025-07-07 19:26:55 -07:00
Dallin Romney
2b88e54e37 support secretAccessKey and accessKeyId for bedrock 2025-07-07 18:47:37 -07:00
Dallin Romney
81860c6028 rerank and embed functions 2025-07-07 18:17:55 -07:00
Dallin Romney
537d5439d0 fix empty message bedrock openai adapter bug 2025-07-07 15:29:33 -07:00
Dallin Romney
ee12f2bd65 WIP: bedrock openai adapter 2025-07-07 14:56:30 -07:00
Nate Sesti
fbcc5a46b9
Merge pull request #6445 from continuedev/dallin/plan-mode
Plan Mode
2025-07-07 13:05:05 -07:00
Nate
860174eaa4 fix typo 2025-07-07 13:04:50 -07:00
Nate
81c80ebf52 ci: add link to recommended extension for conv commits 2025-07-07 12:49:03 -07:00
Nate
2c8fd74cd1 fix: comment with guidance 2025-07-07 12:46:02 -07:00
Nate
8b8a8123e7 update compliance.yaml 2025-07-07 12:37:36 -07:00
Nate
714a41c1d8 feat: add comprehensive PR compliance checks workflow 2025-07-07 12:26:26 -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
Nate Sesti
44c4c82e90
Merge pull request #6280 from continuedev/bdougie/mcp-cwd
feat: adds cwd to the MCP yaml as an option.
2025-07-07 12:13:54 -07:00
Brian 'bdougie' Douglas
30596c06d4 Merge branch 'main' into bdougie/mcp-cwd 2025-07-07 11:43:55 -07:00
Patrick Erichsen
47b7f3c74c
Merge pull request #6484 from continuedev/exigow/attach-env
fix: Attach environment type to reported exceptions
2025-07-07 11:34:42 -07:00
Patrick Erichsen
f36c6c2cb2
Merge pull request #6476 from continuedev/dallin/allow-interruptions
Allow tool call interruptions
2025-07-07 11:28:29 -07:00
Dallin Romney
559faae153 use exported diff lines limit 2025-07-07 11:24:19 -07:00
Patrick Erichsen
7165a7b89a
Merge pull request #6466 from chezsmithy/feat-amazon-nova
feat: ✨ Enable amazon nova models
2025-07-07 11:24:12 -07:00
Patrick Erichsen
063e774bce
Merge pull request #6463 from continuedev/jacob/enhancement/nextedit-render
Jacob/enhancement/nextedit render
2025-07-07 11:23:33 -07:00
Brian Douglas
8e9391808e
Merge pull request #6492 from continuedev/bdougie/docs-redirect-fix
fix: move /advanced to /customize
2025-07-07 11:03:52 -07:00
Dallin Romney
b984c25b8f cubic-feedback 2025-07-07 10:58:40 -07:00
Dallin Romney
9b66433abc fix tool policies logic 2025-07-07 10:52:14 -07:00
Brian 'bdougie' Douglas
bfa6e29b7a fix redirects 2025-07-07 10:48:46 -07:00
Dallin Romney
b855109408 fix tool policies copy 2025-07-07 10:46:56 -07:00
Dallin Romney
518e18df43 update plan mode system message 2025-07-07 10:45:24 -07:00
Brian 'bdougie' Douglas
5789e7e1a1 move settings to match old location 2025-07-07 10:39:46 -07:00
Dallin Romney
be561ff54c add plan as actual mode in redux, add basePlanSystemMessage 2025-07-07 10:35:39 -07:00
Brian 'bdougie' Douglas
1e895390e6 prettier 2025-07-07 10:30:01 -07:00
Brian 'bdougie' Douglas
7476742fbd fix broken links 2025-07-07 10:27:08 -07:00
Brian 'bdougie' Douglas
4a5323c808 move /advanced to /customize 2025-07-07 10:17:52 -07:00
Jakub Blach
5d02e362dd fix: Attach environment type to reported exceptions
Motivation:
* Everything right now goes under "production" and it's hard to distinguish exceptions that I triggered myself during development from real ones.
* In Sentry, there is an issue called JobCancellationException, which I believe is related to ci/e2e tests. I want to recognize that.
* It's a common practice to distinguish environments, and it will be easy to hide non-production issues (with query like `?environment=production`).

Introduced types:
* production (default)
* dev (when `runIde`)
* e2e (when robot enabled)
2025-07-07 17:17:07 +02:00
Dallin Romney
7abc031c9c allow interruptions 2025-07-05 22:32:50 -07:00
Nate Sesti
b08d8219ac
Merge pull request #6474 from continuedev/nate/quick-fixe
Quick fixes (codebase related)
2025-07-05 10:32:02 -07:00
Nate Sesti
ea5e7e3cd1
Merge pull request #6467 from continuedev/nate/diff-ui-edit
don't expand edit tool codeblocks by default
2025-07-05 10:30:53 -07:00
Nate Sesti
dc0546d270
Merge pull request #6464 from continuedev/nate/search-and-replace-improvements
refactor findSearchMatch
2025-07-05 10:03:18 -07:00
Nate
1b58a968f8 more informative log for retrieval tool call parsing failures 2025-07-05 09:56:27 -07:00
Nate
de2d0c187f parse incorrectly formatted vectors so we can salvage broken indexes 2025-07-05 09:53:53 -07:00