Commit graph

5832 commits

Author SHA1 Message Date
Dallin Romney
a495aa256a
Merge pull request #9923 from uinstinct/flaky-hubloader
fix(cli): flaky hub loader tests
2026-01-26 13:08:45 -08:00
Dallin Romney
4b24af992b
Merge pull request #9832 from continuedev/dallin/vs30jb59
chore: vscode 30, jetbrains 59
2026-01-26 12:57:29 -08:00
Dallin Romney
3697d9f03a
Merge pull request #9663 from eliasto/ovhcloud/update-models-and-tool-calling
feat: Add new OVHcloud models
2026-01-26 12:42:20 -08:00
uinstinct
2fb88307ca fix(cli): flaky hub loader tests 2026-01-26 21:21:32 +05:30
Nate
737ac6fc7b Add detailed logging for metadata endpoint requests
Improves debugging capabilities for the metadata endpoint by logging
at info level with full URL, timing, request body, and response status.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 23:22:20 -08:00
Dallin Romney
5f370df867
Merge branch 'main' into ovhcloud/update-models-and-tool-calling 2026-01-25 22:16:10 -08:00
Dallin Romney
62235c10bf
Merge pull request #9810 from uinstinct/cli-terminal-wsl
feat(cli): detect wsl and spawn appropriate shell
2026-01-25 21:53:31 -08:00
Nate
ebc81a6228 Fix: Set isComplete=true after agent turn ends without tool calls
When an agent completes a turn with a final response (no tool calls), we now
correctly set isComplete=true in the metadata. Previously, isComplete was only
set when Exit, ReportFailure, or Status tools were called, or when the server
shut down. This caused agents that gave final responses to remain in 'running'
state indefinitely.

The fix checks the last message in history after each turn - if it's from the
assistant and has no tool_calls, the agent is marked as complete.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-25 20:19:06 -08:00
Nate
b65f44027a fix: Replace console.debug with logger in exit tool
Addresses code review feedback to use shared logger instead of console.debug
2026-01-25 16:07:54 -08:00
Nate
d865b5c4b6 Remove debug logging from serve.ts 2026-01-25 15:57:19 -08:00
Nate
65a1e1500b fix: Set isComplete metadata when agents finish execution
Fixes issue where agent sessions stay stuck in "running" state forever
because the isComplete metadata field is never set.

Changes:
- Status tool now calls updateAgentMetadata({ isComplete: true }) when
  status is "DONE" or "FAILED"
- reportFailure tool now marks agent as complete before reporting failure
- exit tool now marks agent as complete before exiting
- Added debug logging to track inactivity timeout progress and lastActivity
  updates

This ensures the UI can properly detect when an agent has finished and
display the correct state instead of showing "running" indefinitely.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-25 15:47:56 -08:00
Dallin Romney
5492a95ced chore: vscode 30, jetbrains 59 2026-01-23 12:24:16 -08:00
uinstinct
a9ae4205e1 feat(cli): detect wsl and spawn appropriate shell 2026-01-23 11:56:56 +05:30
dependabot[bot]
9adf4220d9
chore(deps): bump lodash from 4.17.21 to 4.17.23 in /extensions/cli
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-22 22:58:08 +00: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
Dallin Romney
7a368da606
Merge pull request #9774 from continuedev/dependabot/npm_and_yarn/extensions/cli/lodash-es-4.17.23
chore(deps-dev): bump lodash-es from 4.17.21 to 4.17.23 in /extensions/cli
2026-01-22 14:31:59 -08:00
Nate Sesti
29aa68275e
Merge pull request #9567 from continuedev/dallin/compaction-fixes-2 2026-01-22 13:15:07 -08:00
Dallin Romney
c0a930919f fix: linting issue mising parallel count 2026-01-22 11:21:30 -08:00
Dallin Romney
30d7fe75dd test: fix comapction tests etc 2026-01-21 18:31:02 -08:00
Dallin Romney
f1527e761c chore: remove error message part explaining env vars 2026-01-21 17:54:56 -08:00
Dallin Romney
1d8aa4b1e4 test: fix tests for change from 20k to 15k autocompaction buffer 2026-01-21 17:42:48 -08:00
Dallin Romney
c754289118 feat: proportional output truncation for read and bash 2026-01-21 17:37:17 -08:00
Dallin Romney
b4bc3aedaa fix: account for different tokenizers 2026-01-21 16:35:52 -08:00
Dallin Romney
8494a27b0e Merge branch 'main' of https://github.com/continuedev/continue into dallin/compaction-fixes-2 2026-01-21 16:13:24 -08:00
dependabot[bot]
01e2535cba
chore(deps-dev): bump lodash-es in /extensions/cli
Bumps [lodash-es](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-es
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-21 23:53:02 +00:00
uinstinct
a3b085c7c7 add tests for skill.ts 2026-01-20 13:41:25 +05:30
uinstinct
62a287894c add tests for loadMarkdownSkill 2026-01-20 13:34:44 +05:30
uinstinct
3ab5b5992b feat(cli): agent skills 2026-01-20 13:25:56 +05:30
Elias TOURNEUX
9c2ffde418
feat: Add new OVHcloud models 2026-01-19 10:39:17 -05:00
Dallin Romney
ccd0b74dc5 fix: eslint import unresolved 2026-01-16 18:11:39 -08:00
Dallin Romney
77a2f1274a fix: duplicate tool messages 2026-01-16 17:49:21 -08:00
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
Dallin Romney
59826dad6c Merge branch 'main' of https://github.com/continuedev/continue into dallin/compaction-fixes-2 2026-01-15 18:53:00 -08:00
Dallin Romney
0f48341e27
Merge pull request #9538 from continuedev/allow-mcp-tools-headless
Allow MCP/Bash tools by default in headless mode
2026-01-15 14:42:06 -08:00
Dallin Romney
710f67569f
Merge pull request #9070 from continuedev/nate/refactor-info-screen-extract-functions
Refactor info command into separate functions and add usage statistics
2026-01-15 14:37:48 -08:00
Dallin Romney
963d1ebfc6 merge: main 2026-01-15 14:00:36 -08:00
Nate Sesti
4110496b22
Merge pull request #9128 from uinstinct/sub-agents
feat: subagents
2026-01-14 20:38:00 -08:00
Dallin Romney
50adea309b fix: eslint 2026-01-14 19:05:23 -08:00
Dallin Romney
998cb76a71 fix: tool permissions for MCP and bash in headless 2026-01-14 18:57:11 -08:00
Dallin Romney
d18c6f04ad fix: compaction updates part 2 2026-01-14 17:51:10 -08:00
Dallin Romney
d87dd573ef feat: error for large files with informative message rather than truncating 2026-01-14 16:23:15 -08:00
RomneyDa
913d00bed4 Allow MCP tools in headless mode, ask in TUI mode
MCP tools now have context-aware permissions:
- In headless mode: automatically allowed (no user to ask)
- In TUI mode: require user confirmation (ask permission)

Previously, MCP tools fell under the wildcard '*' policy which defaults to
'ask' permission. In headless mode, tools with 'ask' permission are filtered
out to prevent the AI from seeing tools it cannot call. This caused MCP tools
to be unavailable in headless mode unless explicitly allowed via command-line
flags or agent file configuration.

Implementation:
- Added generateHeadlessPolicies() method to ToolPermissionService
- Headless policies inject 'mcp__*' allow policy before other policies
- Default policies keep MCP tools as 'ask' (appropriate for TUI mode)
- Headless policy only applies when isHeadless flag is true

Benefits:
- ✅ MCP tools work in headless mode without explicit --allow flags
- ✅ MCP tools still require confirmation in TUI mode for safety
- ✅ Consistent with agent file behavior
- ✅ Maintains security for other unmatched tools

Changes:
- Added generateHeadlessPolicies() in ToolPermissionService
- Updated initializeSync to include headless policies
- Added comprehensive tests for headless mode behavior
- Updated documentation to reflect context-aware permissions

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

Co-Authored-By: Continue <noreply@continue.dev>
2026-01-14 23:13:47 +00:00
Dallin Romney
81d5c5ac97 chore: bump prerelease versions 2026-01-14 14:11:00 -08:00
Dallin Romney
cfab3937e2
Merge pull request #9483 from nicdumz/do-not-overwrite-settings
fix: merge yaml.schemas settings
2026-01-14 13:27:36 -08:00
Dallin Romney
c4fe9a6c98 chore: cli package lock udpate 2026-01-14 10:49:55 -08:00
snyk-bot
9448930f60
fix: upgrade @sentry/profiling-node from 9.46.0 to 9.47.1
Snyk has created this PR to upgrade @sentry/profiling-node from 9.46.0 to 9.47.1.

See this package in npm:
@sentry/profiling-node

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/e65f7c5c-f4c9-43c7-a439-4aa9a53f831f?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-01-14 04:30:01 +00:00
Dallin Romney
8f088dc2d5
Merge pull request #9511 from continuedev/dallin/context-length-fixes
fix: context length error detection
2026-01-13 16:46:40 -08:00
Dallin Romney
d105405488 chore: update package lock for monaco update 2026-01-13 15:39:25 -08:00
Dallin Romney
d0af7905f2 Merge branch 'main' of https://github.com/continuedev/continue into snyk-upgrade-2fc23f8e95ebf4507e081f4476578594 2026-01-13 15:39:01 -08:00