Commit graph

18458 commits

Author SHA1 Message Date
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
Ting-Wai
fcc3bddc4f
Merge pull request #7462 from continuedev/tingwai/con-3668
feat: return usage for openai providers
2025-09-05 10:13:30 -07:00
Ting-Wai
3d4ea5e912
Merge pull request #7581 from continuedev/exigow/open-file-on-edt
fix: open file on EDT
2025-09-05 10:11:08 -07:00
Ting-Wai To
99e2148f1d lint 2025-09-05 00:59:25 -07:00
Ting-Wai To
cbbebe276b openai stream include_usage=true 2025-09-05 00:46:02 -07:00
Ting-Wai To
261d181362 fix gemini tests 2025-09-05 00:32:50 -07:00
Ting-Wai To
e7e9d08d5d Merge branch 'main' into tingwai/con-3668 2025-09-04 23:14:39 -07:00
Dallin Romney
9b373b61e1
Merge pull request #7560 from continuedev/dallin/hide-unchanged-diff
fix: don't show unchanged diff sections in extension UI
2025-09-04 22:08:45 -07:00
Ting-Wai
1679ebb8f0
Merge pull request #7587 from continuedev/tingwai/fix-semver-check
fix: bump semver check for extension release
2025-09-04 17:08:04 -07:00
Ting-Wai To
bb4c484c0f fix: bump semver check for extension release 2025-09-04 15:28:01 -07:00
Tomasz Stefaniak
893fd4cb7d
Merge pull request #7558 from continuedev/tomasz/con-3679
Add terminal command security to CLI
2025-09-04 15:14:02 -07:00
Tomasz Stefaniak
c30c856483 fix: linter errors 2025-09-04 15:03:37 -07:00
Tomasz Stefaniak
6ca09b09b5 fix: formatting 2025-09-04 15:02:49 -07:00
Tomasz Stefaniak
3183127ea5 fix: duplicate imports 2025-09-04 14:55:25 -07:00
Dallin Romney
e318331605 fix: show added/removed diff chars 2025-09-04 14:53:16 -07:00
Dallin Romney
082af0f3dd fix: clean up diff viewer 2025-09-04 14:22:31 -07:00
Jakub Blach
1525047e3c fix: open file on EDT
Solves CON-3809
2025-09-04 20:58:13 +02:00
Nate Sesti
804cb74a1c
Merge pull request #7585 from continuedev/chore/add-instinct
chore: add instinct to ModelRecommendations
2025-09-04 11:03:37 -07:00
BekahHW
87f932cd99 Add image that shows Mercury and Instinct 2025-09-04 13:59:08 -04:00
BekahHW
ece0ac11c4 Add Instinct to model recs 2025-09-04 13:46:05 -04:00
Ting-Wai
70b1fe1a79
Merge pull request #7582 from continuedev/tingwai/fix-lint
fix: lint
2025-09-04 09:17:43 -07:00
Nate Sesti
6bd0fe209a
Merge pull request #7584 from continuedev/nate/instinct-debugging
Next Edit docs update
2025-09-04 09:00:21 -07:00
Nate
dab39adeb0 add instinct gif to docs 2025-09-04 08:59:33 -07:00
Ting-Wai To
b1c949bcff fix: lint 2025-09-04 08:30:24 -07:00
Jakub Błach
a8bedf4427
Merge pull request #7555 from continuedev/exigow/disable-next-edit-handler
fix: disable Next Edit cursor events when feature is disabled
2025-09-04 13:56:40 +02:00
Nate
580bd75fed docs: instinct guide 2025-09-03 21:09:04 -07:00
Ting-Wai
c4a835a457
Merge pull request #7254 from uinstinct/tooltip-ids
chore: remove ids from tooltips
2025-09-03 20:17:39 -07:00
Nate Sesti
b7a129728d
Merge pull request #7535 from continuedev/pe/otel-updates
Update telemetryService.ts
2025-09-03 19:04:32 -07:00
Nate Sesti
7dc08233dc
Merge pull request #7378 from continuedev/tingwai/ctrl-c-and-refactoring
feat: ctrl+c once to clear input, twice to exit. Refactoring, bug fixes
2025-09-03 17:41:56 -07:00
Dallin Romney
87b19acfe9 fix: don't show unchanged diff sections in extension UI 2025-09-03 17:17:40 -07:00
Ting-Wai To
862c3fc665 fix: lint 2025-09-03 17:15:39 -07:00
Tomasz Stefaniak
cea33dd37f fix: type errors, missing dependency 2025-09-03 15:56:18 -07:00
Dallin Romney
e1257c7cdf
Merge pull request #7458 from continuedev/fix/continue-review-workflows
fix: Failed continue-review workflows now run with error handling
2025-09-03 15:51:55 -07:00
Tomasz Stefaniak
a5d5e6ba01 Merge branch 'main' into tomasz/con-3679 2025-09-03 15:51:31 -07:00
Dallin Romney
5fc3419d7c
Merge pull request #7234 from continuedev/dallin/indexing-and-mcp-org-settings-CON-3282
feat: org policies for indexing and mcp
2025-09-03 15:49:17 -07:00
Tomasz Stefaniak
47997af99e fix: add terminal-security package to CI build script 2025-09-03 15:45:46 -07:00
Tomasz Stefaniak
56cd44396c fix: formatting 2025-09-03 15:37:23 -07:00
Tomasz Stefaniak
5604b299b3 Merge branch 'main' into tomasz/con-3679 2025-09-03 15:35:37 -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
Tomasz Stefaniak
2a539f2963
Merge pull request #7531 from continuedev/tomasz/con-3664
Display security warnings for potentially dangerous commands
2025-09-03 15:02:20 -07:00
Tomasz Stefaniak
259cbc25f8
Merge pull request #7421 from continuedev/tomasz/con-3680
Create dynamic tool policies and implement dynamic policy for terminal tool
2025-09-03 14:13:25 -07:00
Tomasz Stefaniak
ef54a51ea8 fix: formatting 2025-09-03 13:44:46 -07:00
Tomasz Stefaniak
260d63ebcd improv: code cleanliness 2025-09-03 13:41:23 -07:00
Jakub Blach
6468cedfc2 fix: disable Next Edit cursor events when feature is disabled
Problem: To check if Next Edit is enabled, we need to make a request to the binary (+ read a settings JSON), which is suspendable/considered as "slow operation" and not suitable for blocking in events like caretPositionChanged/selection change.

Solution: This cache solves the problem with EDT violation exceptions when moving the cursor/selection.
2025-09-03 22:17:34 +02:00
Tomasz Stefaniak
45f3f5a6a6 fix: prettier 2025-09-03 12:48:57 -07:00
Tomasz Stefaniak
c00bbd78b1 improv: move terminal security to separate package 2025-09-03 12:47:08 -07:00
Dallin Romney
3eff9ffaba
Merge pull request #7161 from chezsmithy/feat-range-and-head-tools
feat: ✨ Add experimental range tool for file operations
2025-09-03 11:30:33 -07:00
Tomasz Stefaniak
93296e5019 fix: linter errors 2025-09-03 11:24:05 -07:00
Tomasz Stefaniak
88f868133b fix: formatting 2025-09-03 11:08:47 -07:00
Tomasz Stefaniak
05b6069acc feat: hybrid permissions model 2025-09-03 11:07:03 -07:00