Commit graph

6185 commits

Author SHA1 Message Date
snyk-bot
a8fba7ea77
fix: core/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-15155603
2026-02-03 09:59:30 +00:00
Dallin Romney
998425438b
Merge pull request #10127 from uinstinct/hub-local
fix: show error for blank inputs when using hub blocks in local config
2026-02-03 00:15:04 -08:00
Dallin Romney
437ac08acf
Merge pull request #9989 from Aboozle1/main
feat: add Nous Research Hermes models as provider
2026-02-02 22:43:15 -08:00
Dallin Romney
6c56210f1c
fix: add reasoning content field support in chat body (#10027) 2026-02-02 22:35:49 -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
Houssem Zaier
dcac6260a7
fix: OpenAI Responses API parallel tool calls losing call_ids (#9659)
When GPT-5 makes parallel tool calls, each function_call has a unique
call_id (fc_*). These IDs were being overwritten instead of accumulated,
causing the error: "No tool call found for function call output with call_id"

Changes:
- sessionSlice.ts: Accumulate IDs in responsesOutputItemIds[] array
- openaiTypeConverters.ts: Emit function_call for EACH toolCall with matching ID

Ref: https://platform.openai.com/docs/guides/function-calling
2026-02-02 21:45:48 -08:00
Aditya Mitra
4c8ab1cad5
Merge pull request #9524 from uinstinct/history-counter
feat: show message counter in history page
2026-02-02 12:13:43 -08:00
uinstinct
1a9ea0a29c change error name to use config.yaml instead of config.json 2026-02-02 21:53:05 +05:30
Dallin Romney
895632c0a5
fix: detect WSL remote for shell PATH resolution (#9934)
When Windows host connects to WSL remote, getEnvPathFromUserShell() was
returning undefined because it checked only process.platform === "win32".

Add remoteName parameter to getEnvPathFromUserShell() and use the
isWindowsHostWithWslRemote pattern (consistent with resolveCommandForPlatform)
to allow shell PATH detection for WSL remotes.

Fixes #9737

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 15:26:05 -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
Dallin Romney
20adbdcc2f
Merge pull request #10052 from continuedev/snyk-fix-d2da6a31f3e21a39470201b01d93555d
[Snyk] Security upgrade @aws-sdk/client-sagemaker-runtime from 3.777.0 to 3.894.0
2026-01-31 15:06:03 -08:00
Dallin Romney
21ea6a7e4b chore: update package lock 2026-01-31 14:23:03 -08:00
snyk-bot
8ca79b9a5a
fix: core/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-15155603
2026-01-31 07:05:33 +00:00
Nate
92c593d1bf Merge remote-tracking branch 'origin/main' into nate/simplify-docs 2026-01-30 18:29:04 -08:00
Nate
f9feab110c Replace community Discord links with GitHub Discussions
Discord links across docs, READMEs, GUI components, and issue templates
now point to https://github.com/continuedev/continue/discussions.
The Discord context provider (product feature) is left untouched.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 17:19:56 -08:00
Dallin Romney
03e5fc3b92 chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
uinstinct
ac93dd9381 fix: add reasoning content field support in chat body 2026-01-30 14:25:13 +05:30
Dallin Romney
7b802e6ab0
Merge pull request #9959 from continuedev/dependabot/npm_and_yarn/core/hono-4.11.7
chore(deps): bump hono from 4.11.4 to 4.11.7 in /core
2026-01-28 16:31:20 -08:00
Abhaykhanna3
1ba9a669d6
feat: add Nous Research Hermes models as provider
- Add Nous.ts LLM provider extending OpenAI
- Add Hermes 3 and Hermes 4 model entries (70B, 405B, 36B variants)
- Add Nous to providers list with API base configuration
- Add Hermes detection for ChatML template in autodetect
- Add Nous to PROVIDER_HANDLES_TEMPLATING
- Add documentation page for Nous Research

Amp-Thread-ID: https://ampcode.com/threads/T-019c0611-a43c-764f-83a5-b91821140566
Co-authored-by: Amp <amp@ampcode.com>
2026-01-28 15:48:41 -05:00
dependabot[bot]
3b9063d3a0
chore(deps): bump tar from 7.4.3 to 7.5.7 in /core
Bumps [tar](https://github.com/isaacs/node-tar) from 7.4.3 to 7.5.7.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.4.3...v7.5.7)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 17:01:21 +00:00
dependabot[bot]
c7e9a92882
chore(deps): bump hono from 4.11.4 to 4.11.7 in /core
Bumps [hono](https://github.com/honojs/hono) from 4.11.4 to 4.11.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.11.4...v4.11.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.11.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-27 19:36:05 +00:00
shanevcantwell
939b44b39f fix: detect WSL remote for shell PATH resolution
When Windows host connects to WSL remote, getEnvPathFromUserShell() was
returning undefined because it checked only process.platform === "win32".

Add remoteName parameter to getEnvPathFromUserShell() and use the
isWindowsHostWithWslRemote pattern (consistent with resolveCommandForPlatform)
to allow shell PATH detection for WSL remotes.

Fixes #9737

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:51:11 -07:00
Dallin Romney
5f370df867
Merge branch 'main' into ovhcloud/update-models-and-tool-calling 2026-01-25 22:16:10 -08:00
Dallin Romney
68a0e4bf85
Merge pull request #9740 from shanevcantwell/fix/wsl-mcp-spawn
fix: skip cmd.exe wrapping for MCP servers when Windows host connects to WSL
2026-01-25 22:08:05 -08:00
Dallin Romney
28adea01b0
Merge pull request #9845 from continuedev/snyk-upgrade-af8c4b0370632aeaecd3bc9a09696db4
[Snyk] Upgrade @huggingface/jinja from 0.1.3 to 0.5.3
2026-01-25 21:55:53 -08:00
Dallin Romney
0e5d8c0772
Merge pull request #9833 from continuedev/dependabot/npm_and_yarn/core/lodash-4.17.23
chore(deps): bump lodash from 4.17.21 to 4.17.23 in /core
2026-01-25 21:55:02 -08:00
Dallin Romney
1c7aacae34
Merge pull request #9828 from alex-mcgraw-askSage/asksage-cli-integration
Refactor imports.
2026-01-25 21:54:22 -08:00
snyk-bot
e5afc41492
fix: upgrade @huggingface/jinja from 0.1.3 to 0.5.3
Snyk has created this PR to upgrade @huggingface/jinja from 0.1.3 to 0.5.3.

See this package in npm:
@huggingface/jinja

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/f4002352-0343-4aa8-8a5d-aa9cae57b943?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-01-24 07:46:52 +00:00
dependabot[bot]
a4f0e7b844
chore(deps): bump lodash from 4.17.21 to 4.17.23 in /core
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-23 21:08:16 +00:00
Alex McGraw
b8a40e3a12 refactor some interface imports, and fixed a bug in the CLI tooling. File reads weren't working, but now are. 2026-01-23 12:22:49 -06:00
Dallin Romney
363c3c7e72
Merge pull request #9743 from silencezhoudev/main
fix: support object-type arguments in tool call parsing
2026-01-23 10:20:40 -08:00
Dallin Romney
1a848432b9
Merge pull request #9576 from uinstinct/remove-rule-button
feat: add remove rule button
2026-01-22 14:49:34 -08:00
silencezhoudev
82f6f69522 fix: support object-type arguments in tool call parsing
Add type check in safeParseToolCallArgs to handle cases where
toolCall.function.arguments is already an object instead of a JSON string.
This prevents parameter loss and 'argument is required' errors in tool calls.
2026-01-21 18:16:12 +08:00
shanevcantwell
1219985ce1 fix: skip cmd.exe wrapping for MCP servers when Windows host connects to WSL
Fixes #9151

When Windows VS Code connects to WSL, MCP servers failed to start with
"cmd.exe not found" because resolveCommandForPlatform() wrapped batch
commands (npx, uvx, etc.) with cmd.exe even when the remote is WSL.

Changes:
- Make resolveCommandForPlatform() async to fetch IDE info
- Add isWindowsHostWithWslRemote check (same pattern as PR #9679)
- Skip cmd.exe wrapping when remoteName === "wsl"
- Add tests for WSL, local Windows, Linux, and non-batch scenarios

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 01:32:12 -07:00
Dallin Romney
8066540251
Merge pull request #9465 from uinstinct/compact-conversation-toolcall
fix: compact conversation with dangling tool calls
2026-01-19 22:36:13 -08:00
shanevcantwell
c565bdc464 fix: use ide.runCommand when Windows host connects to WSL
When the VS Code extension runs on Windows but connects to WSL,
direct shell spawning fails because process.platform is "win32"
but commands should execute in the Linux WSL environment.

This caused: spawn powershell.exe ENOENT

The fix detects this scenario and falls back to ide.runCommand(),
letting VS Code handle the remote terminal execution properly.

Fixes #9661

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:55:16 -07:00
Elias TOURNEUX
9c2ffde418
feat: Add new OVHcloud models 2026-01-19 10:39:17 -05:00
uinstinct
904357d06c verify that deleted filepath is a rules file 2026-01-19 19:48:07 +05:30
uinstinct
e08aa8533a search through conversation history
- instead of using toolcallstates
2026-01-19 19:34:20 +05:30
uinstinct
970552b44c provision to delete rule file 2026-01-16 15:51:42 +05:30
uinstinct
0318855b9b add provision to remove a file from ide 2026-01-16 15:42:30 +05:30
uinstinct
c000943d3b push tool cancelled messages for cancelled tool calls 2026-01-16 11:41:12 +05:30
uinstinct
cf14372b38 Merge branch 'main' into compact-conversation-toolcall 2026-01-16 10:26:39 +05:30
dependabot[bot]
723d3a3ad9
chore(deps): bump undici from 6.21.3 to 6.23.0 in /core
Bumps [undici](https://github.com/nodejs/undici) from 6.21.3 to 6.23.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.21.3...v6.23.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.23.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-15 22:40:33 +00:00
Dallin Romney
48ff11557d
Merge pull request #9552 from continuedev/dependabot/npm_and_yarn/core/diff-8.0.3
chore(deps): bump diff from 7.0.0 to 8.0.3 in /core
2026-01-15 14:05:10 -08:00
uinstinct
f5c345254d support relative path for workspace dirs 2026-01-15 19:00:09 +05:30
dependabot[bot]
bf62d55a02
chore(deps): bump diff from 7.0.0 to 8.0.3 in /core
Bumps [diff](https://github.com/kpdecker/jsdiff) from 7.0.0 to 8.0.3.
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/7.0.0...v8.0.3)

---
updated-dependencies:
- dependency-name: diff
  dependency-version: 8.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-15 07:51:58 +00:00
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