Commit graph

1147 commits

Author SHA1 Message Date
Dallin Romney
a7a5351b9c
feat: limited MCP App support (#10132)
* feat: MCP apps part 1

* feat: MCP app support part 3

* chore: cleanup PR

* chore: clean up mcp ui app types

* fix: address cubic feedback
2026-02-05 19:07:44 -08:00
Dallin Romney
f14a2ff90a
Merge pull request #9716 from sarthakNITT/#9548
fix: improve error messages for invalid rule files
2026-02-03 15:46:05 -08:00
Dallin Romney
5a5f5f8908 fix: don't crash config loading for one block failure 2026-02-03 00:15:32 -08:00
shanevcantwell
d80845c403
feat: add tool prompt override support in .continuerc.json (#9314)
* feat: add tool prompt overrides support in YAML model config

Adds per-model tool prompt overrides under chatOptions in YAML config:

```yaml
models:
  - name: my-model
    chatOptions:
      toolPromptOverrides:
        run_terminal_command:
          description: "Custom description"
        view_diff:
          disabled: true
```

This replaces the JSON-only implementation with YAML-only support as
requested by maintainers. The JSON implementation is preserved on the
`feature/tool-prompt-overrides-json` branch for reference.

Changes:
- Add toolOverrideSchema to chatOptionsSchema (packages/config-yaml)
- Add ToolOverride interface and toolPromptOverrides to LLMOptions (core)
- Store and apply overrides in BaseLLM.streamChat()
- Add applyToolOverrides utility with comprehensive tests

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(cli): add tool prompt overrides support for CLI parity

Apply toolPromptOverrides from YAML model config in CLI,
ensuring feature parity with VS Code extension.

- Add applyChatCompletionToolOverrides helper for CLI tool format
- Apply overrides in streamChatResponse before LLM calls
- Support description changes and disabling tools
- Add unit tests for override logic

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: package lock update

* ci: retrigger after hub 502

* refactor: rename toolPromptOverrides to toolOverrides

- Rename property across core, config-yaml, and CLI
- Consolidate ToolOverride type to extend ToolOverrideConfig from
  config-yaml instead of duplicating 7 fields
- Inline record-to-array conversion to match file patterns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: retrigger CI (clean run)

* chore: revert gui package-lock to main

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-02-02 21:55:21 -08:00
shanevcantwell
38aae62e56
fix: pass pre-read content to RegistryClient for WSL compatibility (#9739)
Fixes #6242, #7810

When Windows VS Code connects to WSL, workspace files are accessed via
vscode-remote:// URIs. Previously, getAllDotContinueDefinitionFiles()
correctly read content via ide.readFile(), but loadYaml.ts discarded
the content and passed only the URI path to RegistryClient, which then
tried to re-read using fs.readFileSync() - failing for remote URIs.

Changes:
- Add optional content field to FileIdentifier (non-breaking)
- RegistryClient.getContent() returns pre-read content when present
- loadYaml.ts passes content along with file identifiers

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 15:19:25 -08:00
sarthakNITT
ad1578e073 fix: improve error messages for invalid rule files 2026-01-21 02:17:47 +05:30
uinstinct
f5c345254d support relative path for workspace dirs 2026-01-15 19:00:09 +05:30
uinstinct
b9bcd33cce add supporting files for skill tool 2026-01-15 13:05:03 +05:30
uinstinct
85759451cb load skills from .claude directory
also put skills inside skills/ directory
2026-01-15 12:42:45 +05:30
uinstinct
2ecccb0fa5 Merge branch 'main' into agent-skills 2026-01-15 11:39:22 +05:30
Nate Sesti
4110496b22
Merge pull request #9128 from uinstinct/sub-agents
feat: subagents
2026-01-14 20:38:00 -08:00
RomneyDa
529d50a9be Filter out .md files when loading agent configs
During config loading in core, if any non-YAML files are in .continue/agents
or .continue/assistants directories, it tries to load them as configs. This
change filters out .md files by explicitly setting fileExtType to 'yaml' when
loading agent and assistant config profiles.

The getAllDotContinueDefinitionFiles function already supports filtering by
file extension type, but it wasn't being used in ConfigHandler. This ensures
only .yaml and .yml files are loaded as config profiles, preventing errors
when markdown documentation files exist in the agents/assistants directories.

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
2026-01-14 22:16:59 +00:00
uinstinct
a48bb94c09 fix more lints 2026-01-07 20:40:03 +05:30
uinstinct
c366fa89ab fix lint 2026-01-07 20:24:42 +05:30
uinstinct
27ac8cc23b include model roles subagent 2026-01-07 18:24:28 +05:30
uinstinct
e0753f5be2 simplify tool frontmatter validation 2026-01-06 18:16:45 +05:30
uinstinct
cef4b8ded2 get config dependent tool definitions async 2026-01-06 17:30:19 +05:30
uinstinct
d7543312c2 prevent loading in system message 2026-01-06 17:22:59 +05:30
uinstinct
b6eddec2f4 add read skill tool 2025-12-30 12:51:16 +05:30
uinstinct
207469af85 read and inject skills to system message 2025-12-29 20:04:50 +05:30
uinstinct
08465a6400 add subagent in model roles 2025-12-19 21:27:36 +05:30
Dallin Romney
7b036c66a2 chore: sonnet 4.5 preference 2025-12-02 12:35:27 -08:00
Dallin Romney
886c0a4741 merge main 2025-12-02 12:25:02 -08:00
Aditya Mitra
fc5606cc3a
feat: select org profile on sign in (#8859)
* feat: select org profile on sign in

* reset inside cascade init

* reset only when personl
2025-11-27 01:44:55 -08:00
Dallin Romney
ff335487aa merge: main 2025-11-25 20:39:59 -08:00
uinstinct
ba64c1a2dc refactor duplicate condition 2025-11-25 09:19:40 +05:30
uinstinct
450b6470b3 Merge branch 'main' into rule-add-dialog 2025-11-25 09:10:44 +05:30
Dallin Romney
8e888f1ef3
Merge pull request #8809 from continuedev/dallin/local-secret-failures
fix: HOTFIX make errors fetching secrets nonblocking for local configs
2025-11-21 14:46:58 -08:00
Dallin Romney
d8021f5c5a fix: notify config listeners when no config available
Otherwise GUI gets out of sync with core
2025-11-20 00:55:18 -08:00
Dallin Romney
d9f577d9ed fix: errors fetching secrets are nonblocking for local configs 2025-11-19 18:32:29 -08:00
Dallin Romney
05cce29d20
fix: remove dead isTelemetryEnabled code for jetbrains (#8799) 2025-11-19 15:27:29 -08:00
uinstinct
b7996a509d Merge branch 'main' into rule-add-dialog 2025-11-19 16:35:16 +05:30
uinstinct
0e5fce911f feat: allow renaming rule before creation 2025-11-19 16:34:09 +05:30
Dallin Romney
d8be841d11 Merge branch 'main' of https://github.com/continuedev/continue into dallin/error-untemplated-mcp-secrets 2025-11-18 16:51:31 -08:00
lixiaoyang1992
71e22ab977 fix: update global directory path conversion to use localPathToUri 2025-11-11 14:18:14 +08:00
Dallin Romney
2688fc9f6d fix: CLI warnings/errors for unresolved MCP secrets 2025-11-09 19:54:36 -08:00
Nate Sesti
5519f27b6c
Add x-continue-unique-id header to LLM requests and normalize header casing (#8589)
* Add x-continue-unique-id header to LLM requests and normalize header casing

* fix: tests

* fix: tests
2025-11-04 12:05:37 -08:00
Aditya Mitra
1c7a816657
feat: remove auto-accept edits setting (#8310)
* feat: automatically accept file edit tools

* remove edit tools from tool policies ui

* remove checking for edit tool in tool policy section

* remove hiding of edit policies

* remove auto accept edit tool diffs

* fix tests

* re-run tests

* re-run tests

---------

Co-authored-by: Nate <sestinj@gmail.com>
2025-10-27 16:21:34 -07:00
Aditya Mitra
cc2a6c3f16
fix: show md rules and prompts in respective sections (#8178)
* fix: show md rules and prompts in respective sections

* Update core/config/markdown/loadMarkdownRules.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Revert "Update core/config/markdown/loadMarkdownRules.ts"

This reverts commit cf0fabaf71eaf7f8c9456eb737dcb08c365c04c0.

* Revert "fix: show md rules and prompts in respective sections"

This reverts commit b19726baf78d35e9cf4c2fb5c1549127af66f868.

* fix: skip invokable prompt files

also read .md files from prompt folders

* remove debug statements

* simplify if block

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-27 15:25:03 -07:00
Dallin Romney
7a5731eb23 feat: sonnet 4 5 updates and 3 5 deprecation 2025-10-18 01:33:39 -07:00
uinstinct
042395ef1b fix: only show free trial dialog for freetrial secrettype 2025-10-14 19:29:07 +05:30
Dallin Romney
a3e5a14bd2
fix: only log sentry errors on reload not load (#8202) 2025-10-13 22:40:00 -07:00
Nate Sesti
bcaf5cfeff
Rename "agent" terminology to "config" throughout the codebase (#8229)
* Rename "agent" terminology to "config" throughout the codebase

* chore: bump
2025-10-13 22:25:42 -07:00
Dallin Romney
0ecef51a82 fix: agent-file -> agentFile 2025-10-13 20:03:24 -07:00
Dallin Romney
7ebe1d174a
Merge pull request #8016 from joffeoja/remove_runtime_esbuild
build(vscode): remove bundled esbuild; require user-installed esbuild for config.ts
2025-10-13 14:13:36 -07:00
Nate Sesti
d192e61a55
feat: rehaul onboarding for updated billing (#7965)
* clean: remove dead code related to free trial

* out of credits dialog

* update models addon onboarding tab

* feat: rehaul onboarding for credits-based billing

* Update gui/src/components/OnboardingCard/components/OnboardingModelsAddOnTab.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Update gui/src/components/OnboardingCard/components/OnboardingModelsAddOnTab.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: credits bar direction

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-12 20:50:16 -07:00
Nate Sesti
16a3b978e7
Add isSignedIn to config reload telemetry (#8185) 2025-10-10 08:30:47 -07:00
Dallin Romney
b1bb2b1914
Merge branch 'main' into remove_runtime_esbuild 2025-10-09 13:53:01 -07:00
Nate Sesti
f56d2b0a7b
fix: improvements to next edit (#8129)
* refactor: autocomplete feedback

* fix: don't hardcode outcome to false on aborted completion

* fix: correctly parse out backticks

* fix: correctly parse out backticks

* fix: next edit diff formatting

* fix: reduce context lines

* improv: track profile type for autocomplete

* fix: lint err

* fix: test
2025-10-08 13:09:50 -07:00
continue[bot]
9164448c73
Add apiKey field to mcpServers block schema for Bearer token auth (#8120)
Add apiKey field to mcpServers schema and implement Bearer token auth

- Add apiKey field to sseOrHttpMcpServerSchema in packages/config-yaml
- Update MCPConnection.ts to merge apiKey as Bearer token in Authorization header
- Update CLI MCPService to merge apiKey as Bearer token in Authorization header
- Add apiKey to InternalSseMcpOptions and InternalStreamableHttpMcpOptions types
- Update yamlToContinueConfig converter to pass through apiKey field

Fixes CON-4281

Generated with [Continue](https://continue.dev)

Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: nate <nate@continue.dev>
2025-10-08 08:33:30 -07:00