* 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>
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>
- 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>
- 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.
This patch is to address the following cases that duplicate blocks appear in
the UI and confuse users:
1. When users refer to a local block with "- uses", if the block is
already in the default directories (e.g. ~/.continue/models or
<workspacea>/.continue/models) and users don't override its name
attribute, the duplicate block will appear in the UI.
2. When users have duplicate block names among each block type in their
assistant config.
3. When the injected blocks have duplicate names with the assistant config
for the corresponding block type.
The duplicate blocks in the UI is confusing, especially in the model
selection.
This patch add a blockDuplicationDetector to detect duplication. When a
duplication is detected, we remove the duplicate item and push a config
error to the result to warn the users that having duplicate names is not
the best practice to set up their config.
The detecting order: assistant config -> injected blocks
To detect duplication, all block types use "name" as the identifier except
for rules and context. For rules, if it's an rule object, we use the "name"
attribute. Otherwise, we use its string content as the identifier. For
context, the "provider" attribute is used as the identifier.
The detection only happens under assistant level, which means you can have
assistants with duplicate names.
added schema properties and tabAutocompleteOptions schema to
to support in YAML config file, allowing proper
override of default values from parameters.ts.
added .optional() tags to tabAutocompleteOptions properties to enable
partial override from the config.yaml file.