Commit graph

5642 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
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
Tomasz Stefaniak
a5d5e6ba01 Merge branch 'main' into tomasz/con-3679 2025-09-03 15:51:31 -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
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
260d63ebcd improv: code cleanliness 2025-09-03 13:41:23 -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
606df7e0b6 test: echo 2025-09-03 10:27:46 -07:00
Tomasz Stefaniak
5d2b4725a2 test: echo 2025-09-03 10:27:00 -07:00
Tomasz Stefaniak
ee4b0b378f
Merge pull request #7468 from continuedev/dallin/sanitize-mcp-names
fix: HOTFIX sanitize mcp names
2025-09-02 12:09:52 -07:00
Ting-Wai
97a0a9f10d
Merge pull request #7229 from continuedev/dallin/mcp-ssl
feat: Verify SSL for MCP
2025-09-02 11:20:07 -07:00
Dallin Romney
b294bb041e
Merge pull request #7493 from continuedev/jacob/con-3748
docs: add lots of comments
2025-09-02 10:38:22 -07:00
Tomasz Stefaniak
0bbf57b696 improv: clean up code, handle error states 2025-09-02 09:25:37 -07:00
Nate
75b5bc9e8b remove log 2025-08-31 13:16:11 -07:00
Jacob Kim
3ba290af77 docs: delete stale test file 2025-08-29 16:52:22 -07:00
Jacob Kim
4ddceaab26 fix: comment out stale test 2025-08-29 16:34:04 -07:00
Jacob Kim
b16a73b979 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3748 2025-08-29 16:19:54 -07:00
Jacob Kim
e6d7b105f5 docs: add comments to region calculator 2025-08-29 16:18:17 -07:00
Nate Sesti
3928a43a1b
refactor: next edit model provider rename (#7469)
* refactor: next edit model provider rename

* chore: comment
2025-08-29 15:21:26 -07:00
Nate Sesti
12c5f49fef
Reduce test flake (#7470)
* fix: reduce flake by retrying docs crawler test

* ci: only run llm tests when llm related files change
2025-08-29 15:21:07 -07:00
Dallin Romney
e9641b00a3
chore: remove unused search and replace tool (#7487)
* chore: remove unused search and replace tool

* chore: remove search and replace, continued

* chore: remove search and replace part 3

* chore: remove search replace tool p4
2025-08-29 15:18:40 -07:00
Jacob Kim
af30c19d91 docs: add comments for the prefetch queue 2025-08-29 15:16:18 -07:00
Jacob Kim
888b3b1271 docs: add comments for BaseNextEditProvider 2025-08-29 15:09:16 -07:00
Jacob Kim
4a931c2a85 docs: add annotation for processOne message 2025-08-29 15:08:59 -07:00
Jacob Kim
2136fd4bf1 docs: add comments for NextEditProvider 2025-08-29 15:08:47 -07:00
John Landa
457195484a
feat: Add Tetrate Agent Router Service as a provider (#7136)
feat: Add TARS as a provider

Update gui with TARS provider

Change default model to gpt-5 mini
2025-08-29 13:11:17 -07:00
Dallin Romney
ded800b537 fix: sanitize mcp names 2025-08-28 15:12:55 -07:00
Aditya Mitra
d0a33895b3
chore: deprecate unused context providers (#7388)
* deprecate database context provider

* deprecate discord context provider

* deprecate git commit context provider

* remove github issues context provider

* remove gitlab context provider

* remove google context provider

* deprecate greptile context provider

* deprecate jira context provider

* fix typos

* deprecate code highlights and code outline

* point to hub's mcp servers

* fully remove code highlights and outline context provider

* point to hub url
2025-08-28 14:13:59 -07:00
Fred Bricon
ca5aadda73
fix: split thinking and chat messages when Ollama is not streaming (#7446)
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-08-28 07:12:13 -07:00
chezsmithy
e3b9edaa0c fix: 🎨 Prettier 2025-08-27 23:10:44 -07:00
chezsmithy
c596f8b872 fix: 🐛 Remove head tool and move range tool to experimental 2025-08-27 23:06:39 -07:00
Nate Sesti
7ad698c774
Merge pull request #7435 from continuedev/generate-message-titles-in-cli
feat: Generate message titles in CLI
2025-08-27 22:29:00 -07:00
chezsmithy
7ffc6fb67d fix: 🎨 Prettier and Linting 2025-08-27 22:27:15 -07:00
chezsmithy
820822196b feat: ✨ Add range and head tools for file operations 2025-08-27 22:27:15 -07:00
Nate
ddea11daf9 chore: format 2025-08-27 22:16:58 -07:00
Nate
dade43830a fix: don't leave posthog hanging 2025-08-27 22:16:51 -07:00
Nate
fcaa80f445 fix: lint, etc 2025-08-27 22:16:05 -07:00
Nate
ed0921fc86 Merge branch 'main' into posthog-event-batching 2025-08-27 21:36:37 -07:00
Nate
626a3c66a0 fix: types, imports, and formatting 2025-08-27 21:32:23 -07:00
Nate Sesti
ec592c7229
Update core/util/history.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-27 16:02:49 -07:00
Tomasz Stefaniak
8c6020653e fix: type errors 2025-08-27 15:47:56 -07: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
Tomasz Stefaniak
6bcf040dee fix: formatting 2025-08-27 15:29:55 -07:00
Tomasz Stefaniak
6b25cf53ac Merge branch 'main' into tomasz/con-3680 2025-08-27 15:29:23 -07:00
Tomasz Stefaniak
9c7adc5b60 feat: evaluateTerminalCommandSecurity command 2025-08-27 15:28:19 -07:00
Dallin Romney
f538f22aa0
Merge pull request #7007 from shssoichiro/docs-status-display
feat: improvements to docs indexing status visibility
2025-08-27 15:26:33 -07:00
Tomasz Stefaniak
d37a76786a fix: missing package 2025-08-27 14:34:54 -07:00