Commit graph

5801 commits

Author SHA1 Message Date
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
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
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
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
Dallin Romney
edcba3e9fe
Merge pull request #9503 from continuedev/snyk-upgrade-82ccb8a196b4b54a9e7ed15248f19fcf
[Snyk] Upgrade lru-cache from 11.0.2 to 11.2.4
2026-01-13 15:38:24 -08:00
Dallin Romney
ca5d945d97 chore: update package lock for lru-cache update 2026-01-13 14:43:17 -08: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
snyk-bot
269be8bb5f
fix: upgrade lru-cache from 11.0.2 to 11.2.4
Snyk has created this PR to upgrade lru-cache from 11.0.2 to 11.2.4.

See this package in npm:
lru-cache

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-01-13 08:41:02 +00:00
snyk-bot
cc1c70d246
fix: upgrade monaco-editor from 0.45.0 to 0.55.1
Snyk has created this PR to upgrade monaco-editor from 0.45.0 to 0.55.1.

See this package in npm:
monaco-editor

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-01-13 08:40:57 +00: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
Nicolas Dumazet
a0729bd6ec fix: merge yaml.schemas settings
Users may already have `yaml.schemas` preferences and the extension
should not be overwriting user settings.

The code is however free to control keys for `extensionUri`, as long as
it leaves other entries alone.

See also #7080
2026-01-11 17:22:42 +01: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