Commit Graph

6147 Commits

Author SHA1 Message Date
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
uinstinct
e08aa8533a search through conversation history
- instead of using toolcallstates
2026-01-19 19:34:20 +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
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
Dallin Romney
e419333183 Merge pull request #9325 from shanevcantwell/fix/wsl2-terminal-command-uri
fix: handle non-file URI schemes in runTerminalCommand for WSL2
2026-01-14 13:26:24 -08:00
Dallin Romney
49071db4b3 chore: continue package bumps (#9532) 2026-01-14 11:31:41 -08:00
Dallin Romney
41e09cc7da Merge pull request #9526 from alex-mcgraw-askSage/asksage-tool-calling
Updating ask sage models to support tool calling.
2026-01-14 10:34:07 -08:00
Dallin Romney
123a67cddb Merge pull request #9130 from uinstinct/cli-tool-result-miss
fix(cli): compaction for missing tool results
2026-01-14 00:21:23 -08:00
Dallin Romney
44fba34d29 Security updates: upgrade @modelcontextprotocol/sdk and @reduxjs/toolkit (#9498)
- Upgrade @modelcontextprotocol/sdk from 1.24.0 to 1.25.2 (fixes SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802 ReDoS vulnerability)
- Upgrade @reduxjs/toolkit from 2.3.0 to 2.11.2 (fixes SNYK-JS-DAGRED3ES-13110069 prototype pollution vulnerability)
- Update core/package-lock.json and gui/package-lock.json with latest dependencies

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

Co-authored-by: RomneyDa <RomneyDa@users.noreply.github.com>
Co-authored-by: Continue <noreply@continue.dev>
2026-01-13 16:42:24 -08:00
Alex McGraw
78c0a5d44c Updating ask sage models to support tool calling. Plan and Agent mode now work correctly. 2026-01-13 16:52:26 -06:00
dependabot[bot]
ad1568e21a chore(deps): bump hono from 4.11.3 to 4.11.4 in /core
Bumps [hono](https://github.com/honojs/hono) from 4.11.3 to 4.11.4.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.11.3...v4.11.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-13 22:16:27 +00:00
Dallin Romney
4178f98205 Merge pull request #9492 from uinstinct/new-rule-reload
fix: show new rule once created
2026-01-12 20:12:28 -08:00
Dallin Romney
d821a7929d Merge pull request #9428 from vbychkoviak/main
fix: resolve issue with lsTool listing fs root instead of current folder
2026-01-12 19:57:01 -08:00
uinstinct
bf6ee2f71d fix: show new rule once created 2026-01-13 00:06:02 +05:30
uinstinct
b33b8a4dad fix: compact conversation with dangling tool calls 2026-01-09 18:02:27 +05:30
dependabot[bot]
52f7be01db chore(deps): bump @modelcontextprotocol/sdk in /core
Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) from 1.24.1 to 1.25.2.
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/1.24.1...v1.25.2)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.25.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-07 16:52:30 +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
Volodymyr Bychkovyak
c078d772eb fix issue with lsTool listing fs root instead of current folder 2026-01-06 22:53:36 -06:00
shanevcantwell
8e5a7c2152 refactor: generalize remote URI handling and remove CLAUDE.md
- Remove WSL-specific check in favor of generic URI handling
- Support all vscode-remote:// URI schemes (WSL, SSH, dev-container)
- Prefer file:// URIs when available, fall back to remote URIs
- Add tests for various remote URI formats
- Remove CLAUDE.md per reviewer feedback (use AGENTS.md convention)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 19:08:33 -07:00
Nate Sesti
bf40477baf Merge pull request #9137 from continuedev/dallin/parallel-edit-clarity
fix: parallel edit clarity
2026-01-06 12:21:09 -08:00
uinstinct
e0753f5be2 simplify tool frontmatter validation 2026-01-06 18:16:45 +05:30
uinstinct
6df421fad9 remove system message skill 2026-01-06 18:02:59 +05:30
uinstinct
5f7ecaba01 fix test lints 2026-01-06 17:58:53 +05:30
uinstinct
c219e3e5c9 read skill is a tool definition 2026-01-06 17:31:04 +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
Ahmed khaled
6a05e10b59 chore: format files with prettier 2026-01-05 14:48:28 +00:00
Ahmed khaled
16c72f7da0 test: add Mimo provider to OpenAI-compatible test suite 2026-01-05 04:12:54 +02:00
Ahmed khaled
a2d8443a35 feat(new model): adding MiMo-V2-Flash 2026-01-03 19:55:09 +02:00
Ahmed khaled
d617dfd983 git commit -m "feat(new model): adding MiMo-V2-Flash" 2026-01-03 05:55:37 +02:00
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
shanevcantwell
6b30a88fb0 style: fix prettier formatting
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 06:27:00 -07:00
shanevcantwell
27adb1d677 fix: use try/finally for env cleanup in test
Ensures process.env.HOME is restored even if assertions fail,
preventing flaky behavior in subsequent tests.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 05:36:39 -07:00
shanevcantwell
3ef9f89e8f test: add comprehensive tests for WSL workspace path resolution
Tests cover:
- Basic WSL URI parsing
- URL-encoded spaces and special characters
- Unicode path handling
- Different WSL distro names
- Priority of WSL URIs over file:// URIs
- Fallback behavior
- Edge cases (plus signs, percent signs, mixed encoding)
- Comparison with fileURLToPath behavior

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 05:30:02 -07:00
shanevcantwell
074a6c74ba fix: decode URI-encoded pathname for WSL workspace paths
Paths with spaces or special characters (e.g., /home/user/my%20project)
need decodeURIComponent() to match actual filesystem paths.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 05:14:40 -07:00
shanevcantwell
eab2ac1e04 fix: properly resolve WSL2 workspace paths in runTerminalCommand
Parse vscode-remote://wsl+distro/path URIs to extract the actual
workspace path instead of falling back to Windows HOME directory.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 05:10:13 -07:00
shanevcantwell
788e25338a fix: wrap fileURLToPath in try-catch for WSL2 compatibility
The fileURLToPath function can throw "The URL must be of scheme file"
in some WSL2/remote environments with malformed URIs. Wrap in try-catch
to fall through to HOME directory fallback.

Fixes #8091

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 02:57:06 -07:00