Commit graph

5480 commits

Author SHA1 Message Date
Ting-Wai
43465c13be
fix Typescript errors (#7261)
fix: Typescript errors
2025-08-20 11:23:33 -07:00
Aditya Mitra
1ce60a0091
feat: select assistant polishes (#7218)
* add login logout buttons and remove padding

* remove logout button from list

* create a new assistant file when signed out

* added tooltip and hover
2025-08-19 12:45:33 -07:00
Jacob Kim
c37c8111f7
feat: check for model before using full file diffs (#7222)
* fix: Excerpts -> Excerpt

* fix: test for Excerpt instead of Excerpts

* feat: add a public method to update usingFullFIleDiff

* feat: use full file diff for mercury only

* chore: remove console.log

* docs: add jsdocs

* refactor: use enums and const
2025-08-19 14:35:54 -04:00
Nate Sesti
e8dd689aeb
Merge pull request #7232 from continuedev/jacob/con-3563
feat: update openai-adapter to support Inception models
2025-08-19 11:28:16 -07:00
uinstinct
e26b47e96c chore: show windows unsupported warning only once 2025-08-19 16:02:23 +05:30
Jacob Kim
c766bb060b
feat: fix the next edit provider to use the new edit endpoint (#7233)
* feat: handle new model output format

* feat: remove trailing user prompt
2025-08-19 03:22:35 -04:00
Jacob Kim
f5a69ea945 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3563 2025-08-18 21:55:51 -07:00
Jacob Kim
14e73dd6ad feat: only send user prompt 2025-08-18 21:53:53 -07:00
Jacob Kim
1e7aeeabbc feat: add prompt generation templates for mercury-coder 2025-08-18 18:53:19 -07:00
Jacob Kim
0358717d06 feat: use enums instead of strings 2025-08-18 18:52:56 -07:00
Jacob Kim
2efdf38a17 feat: add mercury-coder specific constants 2025-08-18 18:52:08 -07:00
Jacob Kim
e45171f786 feat: add overrides to handle /edit/completions requests 2025-08-18 18:51:46 -07:00
Jacob Kim
377cdf571f feat: use mercury-coder in favor of nextedit 2025-08-18 18:51:12 -07:00
Dallin Romney
e699c73127
Merge pull request #7175 from su0as/fix/openrouter-kimi-free-tools
fix: disable tool support for moonshotai/kimi-k2:free model
2025-08-18 17:18:31 -07:00
Dallin Romney
73fdf19de8
feat: rebrand assistants as agents (#7227)
* feat: rebrand assistants as agents

* fix: assitant-agent cleanup part 1

* fix: file references

* fix: missing file reference in config yaml tests

* chore: assistant -> agent cleanup
2025-08-18 16:25:30 -07:00
Shawn Smith
a4c4f79fd0
fix: 🔒 Simpler fix to exclude search_web tool to signed in users (#7165)
* fix: 🔒 Simpler fix to exclude search_web tool to signed in users

* fix: 💡 Revise comment to clarify only sign in is required
2025-08-18 16:22:20 -07:00
uinstinct
fd19be2bfe cleanup async encoders after tests 2025-08-18 18:31:36 +05:30
uinstinct
46724aa3e6 Merge branch 'main' into func-max-chunk-size 2025-08-18 18:20:53 +05:30
Suhas S
89c52cad9b style: apply prettier formatting to toolSupport.ts 2025-08-16 09:24:20 +08:00
Jacob Kim
6c9f66cd70
fix: unsupported themes will use dark-plus (#7187)
* feat: create a helper function to handle theme strings

* feat: add tests for kebabOfThemeStr

* fix: unsupported themes are correctly using dark-plus
2025-08-15 14:46:57 -07:00
Patrick Erichsen
4eeb34940f
chore: remove docs cache (#7108)
* chore: remove docs cache

* Update DocsService.ts
2025-08-15 14:03:32 -07:00
Jacob Kim
6430a84c5c
fix: next edit renders that should render decorations will render them properly (#7160)
* fix: passing next edit requests will render things

* chore: remove comment

* feat: skip whitespace only deletions

* feat: add a utility function for checking if a diff is a whitespace only deletion

* feat: add test for next edit utils

* feat: move filtering to NextEditProvider

* fix: escape newline properly

* feat: make jump decoration more visible

* feat: remove redundant escapes

* fix: undo the escapeSVG

* fix: update tests

* fix: use proper line heights

* fix: place the SVG at the end of the line

* fix: handle cases where the completion is a single line

* feat: improve next edit UI (#7167)

* fix: use proper line heights

* fix: place the SVG at the end of the line

* fix: handle cases where the completion is a single line

* fix: allocate more memory for the GUI build step

* fix: set flag as node options

* fix: jump scrolls only after accepting

* fix: update jump manager vitest
2025-08-15 15:18:17 -04:00
Patrick Erichsen
c1a47858f3
fix: rule colocation uri logic (#7164)
* fix: rule colocation uri logic

* rename to `fileUri`

* fix: type errors

* fix test mocks

* Update slugs.test.ts
2025-08-15 10:00:17 -07:00
Suhas S
cbdd187bbb fix: disable tool support for moonshotai/kimi-k2:free model
Fixes #6619 where moonshotai/kimi-k2:free was causing 400 errors
in agent mode because it doesn't support tool calls.

This is a minimal, targeted fix that only affects the specific
model reported in the issue.
2025-08-15 21:20:53 +08:00
Patrick Erichsen
85994118e8
feat: implement Sentry error tracking with privacy-first anonymization (#6881)
* feat: add sentry to core

* feat: implement comprehensive Sentry error tracking with privacy-first anonymization

- Add Sentry ErrorBoundary components following React best practices
- Implement shared anonymization logic between core and GUI environments
- Create organized sentry directory structure with clean exports
- Add Continue team member access control (@continue.dev email check)
- Preserve node_modules package names for debugging while anonymizing user paths
- Include comprehensive test coverage for all anonymization scenarios
- Set up source maps for readable production error stack traces
- Add browser-compatible hashing without crypto module dependency

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

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: complete Sentry integration with GUI components and tests

- Add GUI TelemetryProviders with Sentry ErrorBoundary
- Create shared isContinueTeamMember utilities for both core and GUI
- Update all imports and dependencies for new sentry structure
- Add comprehensive test coverage and fix all TypeScript issues

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

Co-Authored-By: Claude <noreply@anthropic.com>

* prettier

* fix: resolve GUI build errors by removing sentry index.ts and using specific imports

- Remove problematic index.ts that was pulling Node.js-specific Sentry code into browser bundle
- Update GUI to import specifically from anonymization.ts and constants.ts files
- Update core imports to use specific SentryLogger.ts import path
- GUI build now succeeds with proper source map upload to Sentry

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

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: move TelemetryProviders inside AuthProvider to fix test failures

- Move TelemetryProviders from main.tsx to Layout.tsx inside AuthProvider
- Fixes "useAuth must be used within an AuthProvider" error in tests
- TelemetryProviders now has access to auth context for Continue team member check
- GUI build and functionality remain working correctly

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

Co-Authored-By: Claude <noreply@anthropic.com>

* prettier

* merge main

* Update package.json

* fix tests

* fix errors

* Update extension.ts

* disable sentry in tests/local dev

* add additional error handling

* Update SentryLogger.ts

* remove global try/catch

* remove test code

* linting

* Update SentryLogger.ts

* more logs

* Update core.ts

* lower sampling rate

* fix tests

* feat: use `Logger`

* Update logger.ts

* Update logger.ts

Co-Authored-By: Claude <noreply@anthropic.com>

* lint fixes

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: rename logger.ts to Logger.ts for case sensitivity

This fixes TypeScript compilation errors in CI where the file
was tracked as lowercase logger.ts but referenced as Logger.ts
in imports.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* address ting-wai's feedback

* Update core.ts

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-14 16:54:21 -07:00
Dallin Romney
6f9e167887
Merge pull request #7157 from continuedev/feat/global-context-salvage-2
feat: add salvage functionality for security-sensitive values in Glob…
2025-08-14 16:33:37 -07:00
Aditya Mitra
190a1d1365
fix: remove clipboard buffer action (#7117)
* deprecate clipboard context provider

* remove registercopybufferservice

- use vscode clipboard text

* remove clipboardcache from core protocol

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-14 15:22:12 -07:00
Dallin Romney
4752d7ab96
fix: Object object in profile URI (#7156) 2025-08-14 15:05:45 -07:00
Patrick Erichsen
f1e1f6f4f7 Update GlobalContext.ts 2025-08-14 13:37:51 -07:00
Patrick Erichsen
7a5843c415 feat: add salvage functionality for security-sensitive values in GlobalContext 2025-08-14 13:28:39 -07:00
Dallin Romney
187d445557
Merge pull request #7116 from continuedev/pe/devdata-fixed
fix: standardize dev data schemas and add missing fields
2025-08-14 13:23:09 -07:00
Dallin Romney
1a434631b8
Merge pull request #7152 from continuedev/nate/mcp-copy
Update MCP context provider description to "MCP Resources"
2025-08-14 12:52:47 -07:00
Nate
8072c7131c Update MCP context provider description to "MCP Resources" 2025-08-14 10:43:52 -07:00
uinstinct
b53e6326d2 chore: add premature close to telemetry 2025-08-14 17:48:16 +05:30
Patrick Erichsen
9a2b36ff6e fix types 2025-08-13 22:12:33 -07:00
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Patrick Erichsen
b8e4e95487 fix: resolve TypeScript errors after dev data schema changes
- Update test data to use modelName instead of modelTitle in log.vitest.ts
- Add missing modelProvider and modelName to nextEditWithHistory event logging

Resolves CI failures from schema standardization changes.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 21:00:51 -07:00
Dallin Romney
08842da68b
Merge pull request #6800 from uinstinct/mcp-oauth
feat: mcp oauth
2025-08-12 19:36:00 -07:00
Jacob Kim
3606665992
feat: add more next edit endpoints to protocol (#7110)
* feat: add endpoint handlers in core

* feat: export interface

* feat: update protocol to support more next edit endpoints

* feat: add new next edit endpoints to passthrough

* feat: support new next edit endpoints to jetbrains
2025-08-12 21:25:01 -04:00
Jacob Kim
db14da1cbe fix: update test using the latest editDiffHistory 2025-08-12 13:54:35 -07:00
Jacob Kim
7b50ee3706 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3358 2025-08-12 13:43:11 -07:00
Jacob Kim
d5860296fb feat: add debugging log method to peek first three 2025-08-12 13:41:44 -07:00
Dallin Romney
a5d11ff807
Merge pull request #6777 from uinstinct/reranker-scores-error
fix: case when reranker returns invalid scores array
2025-08-12 12:20:26 -07:00
uinstinct
cec4f0f4a3 abort controller should not be undefined 2025-08-12 13:05:42 +05:30
uinstinct
baefa153ca Merge branch 'main' into concurrent-refresh 2025-08-12 12:52:33 +05:30
Dallin Romney
56cf2abf20
feat: Respect Org Policies (#7087)
* fix: allow no selected org, respect policy

* feat: respect policies in extension

* fix: config handler test

* fix: context providers test
2025-08-11 19:20:07 -07:00
Jacob Kim
f249c23f8a fix: skip redundant calculation 2025-08-11 19:19:30 -07:00
Jacob Kim
72399ca5cc feat: use a list of diffContexts instead of a single one 2025-08-11 18:20:05 -07:00
Jacob Kim
c34b1d82b1 feat: diffContext is now an array 2025-08-11 18:19:35 -07:00
Jacob Kim
3b878986c5 feat: sliding jump starts at the cursor line and expands outwards 2025-08-11 17:45:57 -07:00