Commit graph

852 commits

Author SHA1 Message Date
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
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
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
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
fa5bea1241 chore: remove any type 2026-01-13 12:25:34 -08:00
Dallin Romney
1bfb72edf3 fix: context length error detection 2026-01-13 12:23:33 -08:00
Dallin Romney
6b3c0be2f1 fix: env stubs for cli platform tests 2026-01-12 20:09:08 -08:00
Dallin Romney
219f5661c9 fix: inject blocks tests for cli secret resolution 2026-01-12 19:44:16 -08:00
Dallin Romney
91ddbb8c2e fix: use proxy for unrendered injected block secrets 2026-01-12 19:33:55 -08:00
Dallin Romney
d7b91f884c fix: tests and cubic feedback 2026-01-09 16:07:33 -08:00
Dallin Romney
5d7327f8e0 chore: update read file truncation limit to 25k tokens ish 2026-01-09 16:01:07 -08:00
Dallin Romney
34537d926f feat: CLI tool truncation and docs 2026-01-09 15:57:28 -08:00
Dallin Romney
9a630a025d feat: refined cli bash tool truncation 2026-01-09 15:13:22 -08:00
Dallin Romney
613ffb8ca9 fix: context length fixes, truncation, etc 2026-01-09 14:28:59 -08:00
uinstinct
72da793664 skip dynamic imports 2026-01-09 16:20:58 +05:30
uinstinct
d55a13894f decouple allbuiltins and subagent tool meta 2026-01-09 16:16:01 +05:30
uinstinct
c2d928d483 fix subagent tests 2026-01-08 21:44:08 +05:30
uinstinct
2b347b6760 use dynamic to prevent cyclical dependency 2026-01-08 21:39:12 +05:30
uinstinct
3fbb428f3f add subagent tests 2026-01-08 20:25:18 +05:30
uinstinct
eb77a589b4 use subagent tool meta instead of calling the func 2026-01-08 20:17:47 +05:30
uinstinct
66fe98fe7d try to fix import issues for tests 2026-01-08 19:22:03 +05:30
uinstinct
25b08e0870 fix gitaiintegration test 2026-01-08 18:28:46 +05:30
uinstinct
fc5e22f5ad fix cyclical import 2026-01-08 18:16:23 +05:30
uinstinct
6182a3ffa0 restore toolpermissionservice changes 2026-01-08 18:12:19 +05:30
uinstinct
3bdac8d1ce move subagent behind beta 2026-01-07 20:37:43 +05:30
uinstinct
8e0212268d cleanup listener after execution 2026-01-07 20:18:54 +05:30
uinstinct
d510de946b remove builtintoolnames 2026-01-07 20:11:18 +05:30
uinstinct
8381812d92 allow escaping of subagent tool using event emit 2026-01-07 19:50:09 +05:30
uinstinct
27ac8cc23b include model roles subagent 2026-01-07 18:24:28 +05:30
uinstinct
5abe556ddc pass modelstate to read subagents 2026-01-07 11:02:13 +05:30
RomneyDa
c1e466836a fix: change 'Agent:' to 'Config:' in intro message and update tests
- Update IntroMessage.tsx to display 'Config:' instead of 'Agent:'
- Update IntroMessage.test.tsx to match new label
- Update ServiceDebugger.tsx to use consistent 'Config:' label

This change provides clearer terminology for users.

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

Co-Authored-By: Continue <noreply@continue.dev>
2026-01-06 18:20:36 +00:00
Dallin Romney
f904a1ab2e
Merge pull request #9345 from uinstinct/cli-run-update
fix(cli): restart cli for manual update
2026-01-06 12:14:09 -05:00
uinstinct
b427287e89 Merge branch 'main' into sub-agents 2026-01-06 18:31:11 +05:30
Dallin Romney
b24adaaf83
Merge pull request #9270 from continuedev/dallin/relative-path-fallback-cli
fix: re-throw hub error for non-markdown hub slugs
2026-01-05 14:30:08 -05:00
uinstinct
595986a6fb fix(cli): restart cli for manual update 2025-12-29 17:48:44 +05:30
Nate
ca702415e6 Refactor metadata updates to track completion state and changes 2025-12-23 21:39:44 -05:00
Nate
635aa42811 fix circular dependency 2025-12-23 13:19:42 -05:00
Nate
d31d6b6fc4 Handle unhandled errors by exiting with non-zero code 2025-12-23 13:00:23 -05:00