Commit graph

3779 commits

Author SHA1 Message Date
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
Nate
a3e6b9b136 chore: format 2025-09-10 21:44:11 -07:00
Dallin Romney
580fc938de
Merge pull request #6711 from fbricon/empty-selection-selects-line
feat: allow Cmd+L / Cmd+I on empty selection to select the entire file
2025-09-10 18:49:06 -07:00
Dallin Romney
cf7fac1f04 chore: vs code 1.3.7 2025-09-10 14:37:45 -07:00
Nate
8c18e8acc3 fix: don't stream apply for fast models 2025-09-09 23:53:46 -07:00
Nate
fc4828d010 feat: add filepath to apply prompt template vars 2025-09-09 21:59:48 -07:00
Nate
52a8b9e705 fix: revert changed test 2025-09-09 21:42:12 -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
Dallin Romney
1215a66b9c merge main 2025-09-09 17:34:11 -07:00
Patrick Erichsen
1f5389f070 updates 2025-09-09 14:14:35 -07:00
Dallin Romney
ab3222844f chore: bump versions 2025-09-09 11:59:03 -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
Patrick Erichsen
ef77787ef7 prettier fixes 2025-09-09 09:43:04 -07:00
Fred Bricon
fe8eb5dcbc feat: allow Cmd+L / Cmd+I on empty selection to select the entire file
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-09-09 18:19:37 +02:00
Patrick Erichsen
b4dbb32b7f dallins feedback 2025-09-09 00:54:09 -07:00
Dallin Romney
08d96d193f chore: prerelease versions 2025-09-08 22:16:43 -07:00
Dallin Romney
cd7b286ede
Merge pull request #7611 from continuedev/dependabot/npm_and_yarn/extensions/vscode/multi-01da71df7e
build(deps): bump tmp and @openapitools/openapi-generator-cli in /extensions/vscode
2025-09-08 16:59:39 -07:00
Ting-Wai To
a698049b3a chore: bump package.json 2025-09-05 15:22:50 -07:00
dependabot[bot]
6dae1ed157
build(deps): bump tmp and @openapitools/openapi-generator-cli
Bumps [tmp](https://github.com/raszi/node-tmp) to 0.2.5 and updates ancestor dependency [@openapitools/openapi-generator-cli](https://github.com/OpenAPITools/openapi-generator-cli). These dependencies need to be updated together.


Updates `tmp` from 0.2.3 to 0.2.5
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.3...v0.2.5)

Updates `@openapitools/openapi-generator-cli` from 2.20.2 to 2.23.1
- [Release notes](https://github.com/OpenAPITools/openapi-generator-cli/releases)
- [Changelog](https://github.com/OpenAPITools/openapi-generator-cli/blob/master/.releaserc)
- [Commits](https://github.com/OpenAPITools/openapi-generator-cli/compare/v2.20.2...v2.23.1)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.5
  dependency-type: indirect
- dependency-name: "@openapitools/openapi-generator-cli"
  dependency-version: 2.23.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 17:47:38 +00: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
Dallin Romney
1e51398c61
Merge pull request #7406 from uinstinct/reshape-actions
refactor: reshape vscode actions
2025-09-03 10:51:45 -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
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
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
Tomasz Stefaniak
d254f502f7 fix: formatting 2025-09-02 11:37:30 -07:00
Tomasz Stefaniak
44021b6b54 fix: failing tests 2025-09-02 11:26:06 -07:00
Tomasz Stefaniak
904ec5dea3 fix: dependencies 2025-09-02 09:45:22 -07:00
Tomasz Stefaniak
20dcc41de0 fix: formatting 2025-09-02 09:36:41 -07:00
Tomasz Stefaniak
0bbf57b696 improv: clean up code, handle error states 2025-09-02 09:25:37 -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
a8e08ee266 docs: add comments to vscodeextension 2025-08-29 16:19:01 -07:00
Jacob Kim
5992555568 docs: add comment to selection change manager 2025-08-29 16:18:50 -07:00
Jacob Kim
2baa9a3725 docs: add comments to window manager 2025-08-29 16:18:38 -07:00
Jacob Kim
2007d0a410 docs: add comments on jump manager 2025-08-29 16:18:25 -07:00
Tomasz Stefaniak
3019a040d5 Revert "test: expect tests to fail"
This reverts commit fc92290faa.
2025-08-29 15:49:00 -07:00
Tomasz Stefaniak
fc92290faa test: expect tests to fail 2025-08-29 15:41:52 -07:00
Jacob Kim
4d35ec435d docs: add docs 2025-08-29 14:35:17 -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
Tomasz Stefaniak
72e66e5116 fix: prettier 2025-08-29 10:09:20 -07:00
uinstinct
1a649169a7 remove the contextmenu/submenu options 2025-08-29 16:56:19 +05:30
uinstinct
945b31b634 revert contextmenuprompts 2025-08-29 16:52:36 +05:30
uinstinct
6271c131d5 Merge branch 'main' into reshape-actions 2025-08-29 16:32:11 +05:30
Tomasz Stefaniak
024644b758 fix: formatting 2025-08-28 14:58:28 -07:00
Tomasz Stefaniak
a9bf3aa123 fix: properly handle disabled status 2025-08-28 14:19:09 -07:00
Nate
5309daecd3 chore: bump package.json 2025-08-27 22:32:30 -07:00
Tomasz Stefaniak
6b25cf53ac Merge branch 'main' into tomasz/con-3680 2025-08-27 15:29:23 -07:00
Jacob Kim
f27e7c71de
feat: add user-friendly way to toggle between FIM and next edit (#7355)
* feat: don't format when model is not mercury

* chore: bump

* fix: remove mercury-coder-nextedit

* refactor: remove refs to mercury-coder-nextedit

* feat: add util function for converting model name to enum

* refactor: add new types

* refactor: create an abstract base class for providers

* refactor: add child provider for instinct

* refactor: add provider for mercury coder

* refactor: provider factory

* refactor: use factory to create model providers based on helper.modelName

* refactor: clean up redundant logic to be more provider-friendly

* add buildPromptMetadata as an abstract method

* refactor: use handlebars and provider-specific template renderers

* refactor: use this.modelProvider instead of prompt engine

* refactor: remove redundant helper

* fix: update vitest after refactor

* feat: add test for convertNextEditModelNameToEnum

* fix: add isSecurityConcern imports

* feat: add functions to return next edit menu items and update config

* fix: get rid of callbacks

* feat: render next edit menu items

* fix: get rid of redundant completion request

* feat: update next edit status on vscode workspace config update, refactor out common logic

* feat: add continue.enableNextEdit

* feat: add aborted field to check for false positives

* fix: remove zetaDataset suffix

* feat: make sure that we are tracking completions

* feat: log aborts and move id generation to the top

* feat: all requests are tracked. when request is aborted, log as aborted with zero-value data. else, graduate it from pending completion and set aborted to false

* feat: add aborted to schema

* feat: add a toggleNextEditEnabled command

* feat: show (NE) in the status bar when next edit is enabled, add keymap

* feat: add command definitions for toggleNextEditEnabled

* refactor: handle validation in VsCodeExtension

* feat: check if model does not support next edit

* feat: use better menu item labels

* fix: casing

* chore: bump

* feat: add a function to disable next edit

* feat: disable next edit before e2e tests

* chore: bump

* fix: add a small delay to wait for UI loading

* fix: NE is shown for all statuses

* fix: wait for the NE to pop up

* fix: wait longer for disableNextEdit, clear potential next edit notifications

* fix: roll back clearAllNotifications

* fix: try disabling next edit before each

* fix: revert

* feat: add sane defaults when no workspace settings are set

* fix: fall back to false

* fix: debugging

* chore: change name

* fix: try waiting for text

* debug: more debug logs

* fix: clear notifs

* fix: suppress warning

* fix: string matching

* fix: jump label overlapping with the inline tip label (#7399)

* feat: add methods to temporarily hide and show tooltip

* feat: hide the inline tooltip when the jumpmanager's tooltip is shown

* feat: focus on chat input after apply

* revert

* 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

* feat: remove hide/show logic for creating a new svgbuilder instance

* feat: use a new svgBuilder istance

* chore: update package-lock.json

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>
2025-08-26 21:54:29 -04:00