Commit graph

4973 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
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
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
3183127ea5 fix: duplicate imports 2025-09-04 14:55:25 -07:00
Jakub Blach
1525047e3c fix: open file on EDT
Solves CON-3809
2025-09-04 20:58:13 +02: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 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
Ting-Wai To
862c3fc665 fix: lint 2025-09-03 17:15:39 -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
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
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
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
Tomasz Stefaniak
73073dd235 fix: dynamic policies 2025-09-03 10:52:37 -07:00
Dallin Romney
1e51398c61
Merge pull request #7406 from uinstinct/reshape-actions
refactor: reshape vscode actions
2025-09-03 10:51:45 -07:00
lixiaoyang
0ade7dd707
fix: display Chinese in VerticalDiffBlock DeletionTextArea bug, use UIUtil.getFontWithFallback to get the Font (#7292)
fix: use UIUtil for font fallback in VerticalDiffBlock

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2025-09-03 10:35:21 -07:00
Ting-Wai
3a52358920
Merge pull request #7533 from continuedev/tingwai/release-1.3.3
chore: bump vscode version
2025-09-03 10:34:05 -07:00
Jakub Błach
00347aae02
fix: fix disposing of plugin service (#7550)
Fixes regression introduced in:

https://github.com/continuedev/continue/pull/7131/files#diff-d3886b7ebfd66e6390e222840e9a67487179837d15c0729fa4d7832bf1e39405L17
2025-09-03 10:11:04 -07:00
Tomasz Stefaniak
6078b5841a feat: security policies 2025-09-03 09:35:03 -07:00
Tomasz Stefaniak
142079335d feat: permission checker 2025-09-03 08:30:49 -07:00
Ting-Wai To
a0e2a6be0b Merge main into tingwai/ctrl-c-and-refactoring 2025-09-03 00:20:57 -07:00
Ting-Wai
f0bc32a6d6
Merge pull request #7520 from uinstinct/cli-sse-streamable-mcp
feat(cli): support sse and streamable http for mcp
2025-09-02 21:54:21 -07:00
Nate Sesti
1ff23a6e67
Merge pull request #7536 from continuedev/dallin/home-dir-warning
feat: warning when running CLI in home dir
2025-09-02 20:30:15 -07:00
Nate
7b5e1ad0cd fix: lint:fix 2025-09-02 20:12:16 -07:00
Nate
4bb03a1260 fix: failing tests 2025-09-02 20:01:16 -07:00
Dallin Romney
fa88e8de18 fix: prettier 2025-09-02 19:55:30 -07:00
Dallin Romney
5c0c586872 fix: prettier 2025-09-02 19:48:10 -07:00
Dallin Romney
7c23bb3f37 fix: prettier 2025-09-02 19:42:57 -07:00
Dallin Romney
fdda055cae test(cli): e2e for home dir warning; fix win32 case-insensitive check; harden tests per cubic feedback 2025-09-02 19:40:57 -07:00
Nate
e8ec9b8380 fix: increase timeout on tests 2025-09-02 19:40:52 -07:00
Nate
42e43dfd39 fix: lint complexity 2025-09-02 19:36:14 -07:00
Dallin Romney
cf2706f145 fix: cli prettier 2025-09-02 19:34:20 -07:00
Dallin Romney
5fa7e95528 Merge branch 'main' of https://github.com/continuedev/continue into dallin/home-dir-warning 2025-09-02 19:33:41 -07:00
Nate
60e1a67dc4 fix: failing tests 2025-09-02 19:32:23 -07:00
Nate
87ef441c99 Merge branch 'main' into nate/paste-tip 2025-09-02 19:12:22 -07:00
Nate
94d1d9cf3a fix: address feedback 2025-09-02 19:12:19 -07:00
Nate Sesti
b7182b9cab
Update extensions/cli/src/ui/components/BottomStatusBar.tsx
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-02 18:56:50 -07:00
Dallin Romney
15485c5aae feat: warning when running in home dir 2025-09-02 18:00:55 -07:00
Jakub Błach
43bda4f4db
build: hide new version of JetBrains plugin by default (#7489)
Extra:
* migrate publish/sign-in config to v2 (based on: https://github.com/JetBrains/intellij-platform-gradle-plugin)
* replace deprecated `ide(*, *)` with `create(*, *)`
2025-09-02 17:29:44 -07:00
Patrick Erichsen
19be9fb8e4 update metric names 2025-09-02 16:12:40 -07:00
Patrick Erichsen
4bb47f86aa Update telemetryService.ts 2025-09-02 16:06:12 -07:00
Ty Dunn
2f175d771e
docs: Update READMEs to use relative rather than absolute paths (#7527)
* relative to absolute paths

* chore: run prettier on README.md - add newline at EOF

---------

Co-authored-by: Brian 'bdougie' Douglas <brian@dinnerpeople.app>
2025-09-02 14:35:39 -07:00
Ting-Wai To
fac18944ad chore: bump vscode version 2025-09-02 14:34:58 -07:00