Commit graph

864 commits

Author SHA1 Message Date
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
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
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