Commit graph

683 commits

Author SHA1 Message Date
Nate
2441b0fecc Add configurable timeout parameter to runTerminalCommand tool 2025-12-05 18:07:50 -08:00
Aaron Lippold
528a8abceb
fix(cli): expand model capability detection to include Llama, Nemotron, and Mistral (#8845)
* fix(cli): expand model capability detection to include Llama, Nemotron, and Mistral models

The isModelCapable function was showing false warnings for Llama, Nemotron,
and Mistral models, claiming they had "limited reasoning and tool calling
capabilities" when they actually have excellent capabilities.

**Changes:**
- Added /llama/, /nemotron/, /mistral/ patterns to capability detection regex
- Updated tests to reflect that these model families ARE capable
- All tests passing (26/26)

**Research validation:**
- Llama 3.3/Nemotron: #1 on alignment benchmarks, Arena Hard 85.0
- Mistral: 81.2% MMLU, supports function calling and JSON mode
- Both families widely used for agent workflows with proven tool calling

**Impact:**
- Removes false warnings for users of these popular model families
- Enables proper multiEdit tool usage for capable models
- Aligns detection with real-world model capabilities

Tested with nvidia/Llama-3_3-Nemotron-Super-49B-v1 on MITRE AIP endpoints.

Authored by: Aaron Lippold <lippold@gmail.com>

* fix: missing comma after grok

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-12-05 12:14:00 -08:00
Dallin Romney
ad057ec20e
Merge pull request #8928 from uinstinct/cli-single-submit
feat: submit slash command in one enter
2025-12-05 09:51:37 -08:00
Dallin Romney
10b9513fe7
Merge pull request #9018 from uinstinct/cli-wait-for-tests
chore: update slashCommands tests with waitForCondition
2025-12-05 09:25:45 -08:00
uinstinct
bf2a8a4add chore: update slashCommands tests with waitForCondition 2025-12-05 13:48:49 +05:30
Dallin Romney
34fdeb8398
Merge pull request #8925 from uinstinct/renamed-envvars
fix: use more intuitive envvars to manage OTLP and PostHog telemetry settings
2025-12-04 19:46:52 -08:00
Nate Sesti
7060687f99
Merge pull request #8965 from continuedev/dallin/path-uri-cli
fix(cli): path to uri and vice versa conversion
2025-12-04 14:05:27 -08:00
Dallin Romney
80a33ef162
chore: mcp 1.24.0 (#8974)
* chore: bump mcp

* chore: update mcp

* fix: linting
2025-12-04 12:58:28 -08:00
Dallin Romney
6419b44029 fix: tests for windows 2025-12-04 12:07:44 -08:00
uinstinct
6d0d6e67fd revert a comment 2025-12-04 18:26:42 +05:30
uinstinct
ce193de1c7 Merge branch 'main' into renamed-envvars 2025-12-04 18:14:59 +05:30
uinstinct
b0386085ac enqueue when generating response 2025-12-04 18:09:19 +05:30
uinstinct
b4cd212942 Merge branch 'main' into cli-single-submit 2025-12-04 17:58:23 +05:30
Dallin Romney
3adcac22bb fix: lint and tests 2025-12-03 15:01:01 -08:00
Dallin Romney
b6cc868eed Merge branch 'main' of https://github.com/continuedev/continue into dallin/path-uri-cli 2025-12-03 14:59:37 -08:00
uinstinct
3db6091dc5 update lastFrame 2025-12-03 18:41:19 +05:30
uinstinct
50f38286c2 update with waitForCondition 2025-12-03 18:21:46 +05:30
uinstinct
c1ac9fc845 refactor waitForCondition into file 2025-12-03 18:14:27 +05:30
Nate
d83a2c55c5 Increase terminal command timeout from 30s to 120s 2025-12-02 18:32:16 -08:00
continue[bot]
3ccaa092e6 fix(cli): fix test expectations and import path for uriUtils
- Add .js extension to import for ES modules compatibility
- Fix Windows UNC path test (file:// not file:///)
- Fix Windows path separator expectation (single backslash)
- Make Unix-only tests conditional on platform
- Handle platform-specific URI parsing differences
- Remove tautological test assertion

Addresses cubic code review feedback

Co-authored-by: nate <nate@continue.dev>
2025-12-02 21:28:57 +00:00
Dallin Romney
c1c885e8ca
Merge pull request #8909 from uinstinct/retry-cli-tests
fix(cli): wait for tui to update in test
2025-12-02 11:10:14 -08:00
uinstinct
12040b609f fix(cli): wait for tui to update in test 2025-12-02 19:15:49 +05:30
Dallin Romney
d09b3e2126 fix(cli): path to uri and vice versa conversion 2025-12-01 22:20:06 -08:00
Nate
0ec0249a02 add a test 2025-12-01 16:10:13 -08:00
Nate
ba603e8b48 Add auto-continuation after compaction in chat streaming 2025-12-01 15:54:21 -08:00
continue[bot]
14dd72eb21 Fix compaction and token counting issues from Cubic review
Address code review feedback:
1. Add fallback to use compacted history directly when ChatHistoryService
   is unavailable (fixes P1 issue in handlePostToolValidation and
   handleNormalAutoCompaction)
2. Prevent double-counting of system message tokens by checking if
   system message is already in history before subtracting tokens
3. Remove tool output name from token count since it's not sent to model

This ensures compaction works correctly in headless contexts and provides
more accurate token estimation.

Co-authored-by: nate <nate@continue.dev>
2025-12-01 23:03:38 +00:00
continue[bot]
e86bb5a3db Add blank line between parent and sibling imports
ESLint import/order rule requires a blank line between different
import groups (parent vs sibling).

Co-authored-by: nate <nate@continue.dev>
2025-12-01 22:42:38 +00:00
continue[bot]
ab9f37db38 Fix import order in streamChatResponse.systemMessage.test.ts
Reorder imports to comply with ESLint import/order rules:
- Move vitest imports after core imports
- Add empty line between import groups
- Move services import before local imports

Co-authored-by: nate <nate@continue.dev>
2025-12-01 22:37:21 +00:00
continue[bot]
7e6095d58f Fix TypeScript errors in streamChatResponse tests
Add required systemMessage parameter to all processStreamingResponse calls
in the test file to match the updated interface signature.

Co-authored-by: nate <nate@continue.dev>
2025-12-01 22:34:19 +00:00
Nate
0d25d2e70d Improve system message token accounting in compaction and context validation 2025-12-01 14:25:50 -08:00
Nate
24f5859924 feat(mcp): add Supabase-specific OAuth scopes to mcp-remote fallback 2025-12-01 08:31:37 -08:00
Nate Sesti
e12ecadf01
Merge pull request #8838 from continuedev/nate/agent-metadata-tracking
Add agent session metadata tracking and reporting to control plane
2025-11-30 18:00:27 -08:00
continue[bot]
10ae310c77 Fix calculateDiffStats to correctly handle code with ++ or -- operators
The function was incorrectly treating lines like '+++counter;' or '---counter;'
as diff file headers and skipping them. This happened when code containing
++ or -- operators at the start of a line was added or removed.

Fixed by checking that file header lines (--- a/file, +++ b/file) contain
a space after the --- or +++ prefix, distinguishing them from code changes.

Added test cases to verify the fix handles these edge cases correctly.

Co-authored-by: nate <nate@continue.dev>
2025-12-01 01:44:46 +00:00
Nate
02c3cc3786 Add URL refresh strategy for storage sync pre-signed URLs 2025-11-28 13:47:00 -08:00
uinstinct
191006d5de feat: submit slash command in one enter 2025-11-28 19:41:55 +05:30
uinstinct
64dbb9abde rename to CONTINUE_METRICS_ENABLED 2025-11-28 18:41:49 +05:30
uinstinct
b985c1a32d fix: use more intuitive envvars to manage OTLP and PostHog telemetry settings
Co-Authored-By: Ross Golder <ross@golder.org>
2025-11-28 18:37:25 +05:30
Aditya Mitra
9a333f5809
feat(cli): add grep/find/findstr as alternative search strategy (#8616)
* feat(cli): add grep/find/findstr as alternative search strategy

* use -path instead of -name

* add dependent packages

* fix export

* include negated patterns

* Revert "include negated patterns"

This reverts commit 53e16aa6f70438bdd21d69c4cf7a403f43d6143c.

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-11-27 01:47:37 -08:00
Nate
2a81f4d146 fix: lint 2025-11-26 12:31:01 -08:00
Nate
b7a2799964 Add agent error reporting to API in serve mode 2025-11-26 12:25:34 -08:00
Nate
4ec2b1bcb4 fix: no duplicate sentry error 2025-11-26 11:46:12 -08:00
Nate
63489e9dd6 fix: mcp secret loading bug 2025-11-26 11:07:48 -08:00
Nate
fa96e30a3a fix: improved unhandled error logging 2025-11-26 11:03:48 -08:00
Nate
1f44a3de34 fix: fall back to env vars 2025-11-26 11:03:28 -08:00
Dallin Romney
08853527c5
Merge pull request #8691 from chezsmithy/feat-ttyless-cli
feat: ✨ Remove TTY requirement for the cli in headless mode
2025-11-25 20:02:36 -08:00
Dallin Romney
3b7b21b45a
Merge pull request #8831 from uinstinct/grok-4.1-support
chore: add support for grok 4.1 fast
2025-11-25 12:01:09 -08:00
uinstinct
082af4ccc5 Merge branch 'main' into docs-hub-links 2025-11-24 19:26:22 +05:30
uinstinct
0129d85b96 add support for grok 4.1 in the cli 2025-11-24 18:58:37 +05:30
Nate
a1f1d55de3 Add agent session metadata tracking and reporting to control plane 2025-11-21 16:19:21 -08:00
Dallin Romney
011fdc44b6 fix: default-cli-config 2025-11-20 12:33:17 -08:00