Commit graph

840 commits

Author SHA1 Message Date
shloimy-wiesel
508229feed
fix: Add missing transform option to YAML autocomplete configuration 2025-09-08 00:46:43 -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
Tomasz Stefaniak
a5d5e6ba01 Merge branch 'main' into tomasz/con-3679 2025-09-03 15:51:31 -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
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
Nate
94d1d9cf3a fix: address feedback 2025-09-02 19:12:19 -07:00
Nate
cc50c108a5 refactor: phase 1 2025-09-01 11:46:35 -07:00
Ting-Wai To
7e484ed31d fix 2025-08-28 13:15:01 -07:00
Ting-Wai To
bad857a71e feat: return usage for openai providers 2025-08-28 11:46:05 -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
Dallin Romney
3bf58bd305 merge: main 2025-08-25 16:15:37 -07:00
Nate Sesti
1ae96a63dd
Update packages/config-yaml/src/__tests__/index.test.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-25 15:26:43 -07:00
Nate
e19a88b80b chore: format 2025-08-25 15:15:16 -07:00
Nate
246db3607f feat: allow/blocklisted blocks in unrollAssistant 2025-08-25 15:14:56 -07:00
Nate Sesti
3846c1fe36
Merge branch 'main' into small-improvements 2025-08-24 13:17:14 -07:00
Nate
6bad79645e feat: resource monitoring 2025-08-24 13:07:40 -07:00
dependabot[bot]
8e78a60a72
chore(deps): bump form-data in /packages/continue-sdk/typescript
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-23 18:15:43 +00:00
Dallin Romney
3d5c517760
Merge pull request #7320 from continuedev/dependabot/npm_and_yarn/packages/continue-sdk/form-data-4.0.4
chore(deps): bump form-data from 4.0.2 to 4.0.4 in /packages/continue-sdk
2025-08-22 12:43:07 -07:00
Dallin Romney
5187b787d3
Merge pull request #7250 from uinstinct/env-config
feat: support env section in config yaml
2025-08-22 11:52:15 -07:00
dependabot[bot]
1850586fee
chore(deps): bump form-data in /packages/continue-sdk
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 18:47:06 +00:00
Nate
c38b8611a9 fix: node types in oai adapters 2025-08-22 08:58:32 -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
Nate
e99d472339 fix: don't filter when empty type on tool 2025-08-21 08:36:01 -07:00
Nate Sesti
791529d39e
Update packages/openai-adapters/src/util/gemini-types.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-21 07:57:12 -07:00
Nate
eaa9a61ed2 fix: oai Headers 2025-08-20 22:47:04 -07:00
Nate
5e35518f92 fix type errors 2025-08-20 22:24:40 -07:00
Nate
dde2489c73 chore: format 2025-08-20 21:12:31 -07:00
Nate
ccb01f6643 fix tests 2025-08-20 21:09:39 -07:00
Nate
8164429214 fix: type errors 2025-08-20 20:02:24 -07:00
Nate
7d7500e7ad fix: bump oai adapters 2025-08-20 20:01:24 -07:00
uinstinct
14e83a9455 feat: support env section in config yaml 2025-08-20 11:45:52 +05:30
Tomasz Stefaniak
4b51607595
Merge pull request #7245 from continuedev/dallin/anthropic-caching-fix
fix: HOTFIX anthropic optimized caching strategy
2025-08-19 15:12:03 -07:00
Dallin Romney
f1afd14202 fix: anthropic optimized caching strategy 2025-08-19 14:56:06 -07:00
Tomasz Stefaniak
8ead72e314 fix: openai adapters 2025-08-19 13:34:25 -07:00
Dallin Romney
50b0dec9c4 feat: org policies for indexing and mcp 2025-08-19 01:20:11 -07:00
Jacob Kim
f5a69ea945 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3563 2025-08-18 21:55:51 -07:00
Jacob Kim
60d0056a12 feat: add a non-stream method 2025-08-18 21:55:33 -07:00
Jacob Kim
e45171f786 feat: add overrides to handle /edit/completions requests 2025-08-18 18:51:46 -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
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
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Patrick Erichsen
217aa2d265 fix: add missing modelProvider and modelName to nextEditWithHistory event
Adds missing modelProvider and modelName fields to make the schema
consistent with other dev data events.

Fixes CON-3402

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 20:50:15 -07:00
Patrick Erichsen
4307010ab1 fix: standardize modelName and add missing modelProvider in dev data schemas
- Rename modelTitle to modelName across all dev data schemas for consistency
- Add missing modelProvider field to chatFeedback event schema
- Fixes CON-3401 and CON-3400

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 20:47:09 -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
Keerthana Panyam
bbc200f283
Merge branch 'main' into panyamkeerthana/current_file_context 2025-08-08 11:51:33 -04:00
Keerthana Panyam
8fe5077e60 move context restriction properties to model level autocompleteOptions
- added context restriction properties to model autocompleteOptions schema
- discarded changes to add global tabAutocompleteOptions to config schema
- added experimental parameters to both config-types.
- added YAML alternative note to json reference.
- updated YAML configuration example with per-model options.
- added reference documentation with parameters for autocomplete options.
2025-08-08 11:50:14 -04:00