Commit graph

1063 commits

Author SHA1 Message Date
Tomasz Stefaniak
3215706655
Merge pull request #7711 from continuedev/tomasz/con-3887
Add invokable rules
2025-09-11 12:47:42 -07:00
Nate Sesti
bcc5600f29
Merge pull request #7660 from continuedev/pe/autoformat-results
feat: add autoformatting detection for edit tools
2025-09-11 10:36:09 -07:00
Tomasz Stefaniak
e569e3a0c6 fix: formatting 2025-09-11 10:34:37 -07:00
Tomasz Stefaniak
21f78907c3 feat: invokable rule 2025-09-11 10:12:20 -07:00
Dallin Romney
7e9dc30748 fix: iterations on notch updates - create agent vs assistant, skip gui tests for now 2025-09-09 20:27:50 -07:00
Patrick Erichsen
77c51f4268 Merge remote-tracking branch 'origin/main' into pe/autoformat-results 2025-09-09 11:33:36 -07:00
Patrick Erichsen
ebded1fc67 Add autoformatting detection for edit tools
Implement autoformatting detection similar to Cline's approach to improve reliability of edit operations. When edit tools (multiEdit/editFile) are executed, the system now captures file content before and after save operations to detect editor autoformatting changes.

Key changes:
- Add `createPrettyPatch` utility using existing `myersDiff` function
- Capture pre/post save content in `processDiff.ts`
- Add `autoFormattingDiff` field to `ApplyState` protocol
- Include autoformatting diff in tool responses with guidance for language model
- Help prevent future edit failures due to undetected formatting changes

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 11:11:04 -07:00
Dallin Romney
e1d349cad7
Merge pull request #7409 from Jazzcort/fix-ideSettings-updating
Fix: Updated ideSettings didn't get passed properly
2025-09-08 21:13:11 -07:00
Dallin Romney
a553c57a48 Merge branch 'main' of https://github.com/continuedev/continue into dallin/indexing-and-mcp-org-settings-CON-3282 2025-09-03 15:26:12 -07:00
Jazzcort
712b7bcfd5 Fix: Refactor dependency injection for settings and clients
This commit refactors how IdeSettings and ControlPlaneClient are accessed throughout
the configuration system to improve state management and reduce coupling.

Previously, ideSettingsPromise was passed down from the top-level ConfigHandler
through various profile loaders and clients. This created a rigid dependency chain
and required manual promise replacement when settings were updated. Similarly,
downstream components could hold onto stale instances of ControlPlaneClient after a
change in authentication state.

The key changes are:
  - Removed ideSettingsPromise prop drilling: Components that require IDE settings
    now fetch them directly from the IDE object (ide.getIdeSettings()) when
    needed.

  - Updated globalLocalProfileManager during every cascadeInit: This ensures it
    always holds the most recent ControlPlaneClient, preventing issues with stale
    client objects after re-authentication.

  - Simplified constructors: The constructors for ConfigHandler, ControlPlaneClient,
    and various loaders have been simplified to reflect these changes, primarily by
    passing the IDE object directly instead of its derived promises.
2025-09-03 09:15:47 -04:00
Aditya Mitra
b84888bd5b
chore: use system message tools by default (#7236)
* when native tools are present, prevent system message tools

* make onlyusesystemmessagetools on by default

* add tests

* setting defaults to false

* use system message tools when model does not support native tools

* remove system message info from docs

* correction

* remove the seleectUseSystemMessageTools selector

* native tool support enabled for claude

* cleanup `useSystemTools` variable

* remove `claude` from openrouter toolsupport

* fix: bad merge

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-08-27 15:41:35 -07:00
Dallin Romney
4b7af07ce3
Merge pull request #7315 from uinstinct/tool-call-skip
feat: continue tool calls after rejection
2025-08-27 13:36:35 -07:00
Dallin Romney
3bf58bd305 merge: main 2025-08-25 16:15:37 -07:00
Dallin Romney
28c6622b96
Merge pull request #7393 from continuedev/dallin/autodetect-naming
fix: show autodetected in model titles
2025-08-25 15:02:16 -07:00
Dallin Romney
b25d4af78b
Merge pull request #7267 from continuedev/dallin/search_and_replace_makeover
feat: multi edit and single search and replace tools
2025-08-25 15:01:05 -07:00
Dallin Romney
bf8b4bd8c1 fix: pass autodetected around as boolean 2025-08-25 14:48:42 -07:00
Dallin Romney
fba873e50e
fix: HOTFIX local assistant loading (#7354)
* fix: local assistant loading

* fix: no need for excluding .continue/.continue

* test: cases for config.yml and config.yaml names
2025-08-25 11:52:07 -07:00
Dallin Romney
75186ddadb fix: show autodetected in model titles 2025-08-25 10:58:37 -07:00
uinstinct
1a88803ea5 Merge branch 'main' into tool-call-skip 2025-08-25 18:27:53 +05:30
Dallin Romney
be0c0d585b merge: main 2025-08-22 12:36:32 -07:00
uinstinct
9e28c7a4eb feat: continue tool calls after rejection 2025-08-22 09:14:23 +05:30
Dallin Romney
a5919e7436 fix: unknown context provider file 2025-08-21 18:04:18 -07:00
Dallin Romney
8d6eed6b86
Merge branch 'main' into dallin/indexing-and-mcp-org-settings-CON-3282 2025-08-21 17:22:26 -07:00
Dallin Romney
f4f9b317e2
Merge pull request #7224 from continuedev/dallin/context-defaults
feat: update default-included context providers
2025-08-20 17:53:50 -07:00
Dallin Romney
d6ed405d0c feat: multi edit and single search and replace tools 2025-08-20 16:09:31 -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
Dallin Romney
50b0dec9c4 feat: org policies for indexing and mcp 2025-08-19 01:20:11 -07:00
Dallin Romney
625ec8c186 fix: exclude problems and terminal on jetbrains 2025-08-18 18:22:13 -07:00
Dallin Romney
3d942da4c2
Merge branch 'main' into dallin/context-defaults 2025-08-18 17:17:03 -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
Dallin Romney
76710d19dc fix: binary typescript issue 2025-08-18 16:20:23 -07:00
Dallin Romney
d234032f89 chore: clean up naming 2025-08-18 15:42:29 -07:00
Dallin Romney
37c1b2001f chore: hasDocs bool 2025-08-18 15:41:08 -07:00
Dallin Romney
9b5893e051 chore: remvoe default jetbrains config part 2 2025-08-18 15:29:43 -07:00
Dallin Romney
dd9fdd3bf3 chore: remove default jetbrains config 2025-08-18 15:29:07 -07:00
Dallin Romney
ce41823c66 chore: remove default context proviers for assistants 2025-08-18 15:27:11 -07:00
Dallin Romney
fc63746d90 fix: context provider ordering, add unit tests for context provider loading 2025-08-18 13:04:30 -07:00
Dallin Romney
4717677959 feat: update default-included context providers, move to util 2025-08-18 12:52:02 -07: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
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
4752d7ab96
fix: Object object in profile URI (#7156) 2025-08-14 15:05:45 -07:00
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Dallin Romney
08842da68b
Merge pull request #6800 from uinstinct/mcp-oauth
feat: mcp oauth
2025-08-12 19:36:00 -07:00
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
uinstinct
6e66c0e694 fix: remove add model system message 2025-08-08 11:42:06 +05:30
uinstinct
36ec59ccd2 Merge branch 'main' into mcp-oauth 2025-08-07 08:33:34 +05:30
Jacob Kim
f691b90778 feat: add next_edit capability 2025-08-06 15:49:47 -07:00
Ting-Wai To
45214eb743 fix: skip analytics capture calls if workspaceId is undefined 2025-08-05 15:23:37 -07:00
Dallin Romney
d4198e76ec
Merge pull request #6769 from continuedev/dallin/catch-hub-loading-errors
fix: catch hub org loading errors, fallback to local
2025-08-05 13:15:58 -07:00