Commit graph

817 commits

Author SHA1 Message Date
Patrick Erichsen
835d4ebb31 Merge branch 'main' into current-file 2025-05-27 15:18:23 -07:00
Patrick Erichsen
a1bfef9df0
Merge pull request #5837 from continuedev/pe/rule-alwaysApply-property
Add alwaysApply property to rules for better control over rule applic…
2025-05-27 14:47:02 -07:00
Patrick Erichsen
1b59411ec1 chore: continue bot feedback 2025-05-25 19:47:12 -07:00
Patrick Erichsen
e2e4f94e8d Add alwaysApply property to rules for better control over rule application
This commit introduces an optional `alwaysApply` boolean property to rules that provides fine-grained control over when rules are included in system messages.

## Behavior

- `alwaysApply: true` - Always include the rule, regardless of file context
- `alwaysApply: false` - Only include if globs exist AND match file context
- `alwaysApply: undefined` - Default behavior: include if no globs OR globs match

## Changes

- Added `alwaysApply?: boolean` to `RuleWithSource` interface
- Updated `parseMarkdownRule` to handle frontmatter `alwaysApply` property
- Enhanced `shouldApplyRule` function with explicit logic for all three states
- Added `alwaysApply` to createRuleBlock tool definition and implementation
- Updated UI logic in RulesPeek component to match backend behavior
- Added comprehensive test coverage for all scenarios
- Updated documentation to mention Markdown file support for rules

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-25 19:27:15 -07:00
Nate
ade15bc7d6 Merge branch 'main' into nate/dev-data-updates 2025-05-25 18:53:32 -07:00
Nate Sesti
0ca3004f29
Merge pull request #5675 from t-kulmburg/yaml-maxStopWords
Feat: support maxStopWords model config option in yaml
2025-05-25 16:11:06 -07:00
Patrick Erichsen
353f88292a
Merge branch 'main' into pe/markdown-rule-desc 2025-05-23 17:32:32 -07:00
Nate
92ea6676b0 allow sse MCP definition in config-yaml 2025-05-22 22:34:20 -07:00
Patrick Erichsen
e4b70dbfd8 feat: description in markdown yaml 2025-05-22 10:10:21 -07:00
Patrick Erichsen
eb512182b8
Revert "feat: add support for SSE MCP servers" 2025-05-21 12:23:56 -07:00
uinstinct
f8f8698471 Merge branch 'main' into current-file 2025-05-21 15:47:15 +05:30
Patrick Erichsen
d953ac3fe7
Merge pull request #5517 from 04cfb1ed/feature/add-mcp-sse-in-config-yaml
feat: add support for SSE MCP servers
2025-05-20 21:33:01 -07:00
Patrick Erichsen
038a410954
Merge pull request #5748 from pczekaj/fix-config-merge
Fix config merging
2025-05-20 21:05:56 -07:00
Nate
766e34c147 add underlyingProviderName to JSONModelDescription and ModelDescription 2025-05-20 15:18:18 -07:00
Tomasz Stefaniak
ba3984290d fix: naming 2025-05-20 13:24:33 -07:00
Tomasz Stefaniak
a21d350ea1 feat: markdown rules
fix: parsing
2025-05-20 13:12:17 -07:00
Nate
6eb8f2fb0a await isSignedIn() 2025-05-20 11:00:53 -07:00
uinstinct
d9bef31829 shift from vscode settings to ui settings
- rename to `addFileContext` to `useCurrentFileAsContext`
2025-05-20 14:43:39 +05:30
Piotr Czekaj
4c957c0039 Fix config merging
if using remote config and local json config then without this fix only http providers from remote config are used due to the fact that providers have the same name "http".
2025-05-20 10:19:55 +02:00
Nate Sesti
ec76400bbe
Merge pull request #5723 from continuedev/client-url
Client URL
2025-05-19 18:51:54 -07:00
Dallin Romney
0ed58f4b0f
Merge pull request #5657 from continuedev/dallin/yolo-mode
Setting for auto-accepting agent mode edits
2025-05-19 12:17:49 -07:00
04cfb1ed
99b1ab2ebe fix: ensure template variables are only processed for stdio MCP servers 2025-05-18 21:40:17 -05:00
Nate
75608e7cf4 disable local assistants when using on prem deployment 2025-05-18 19:37:41 -07:00
04cfb1ed
63a2ffe969 feat: add support for multiple MCP server types (stdio, sse, websocket) in the YAML configuration schema, ensuring backward compatibility with legacy configurations 2025-05-18 21:07:49 -05:00
Nate
8f0978a5e1 separate SessionInfo types 2025-05-18 18:14:50 -07:00
Tobias Kulmburg
1f31554ea6 Feat: allow maxStopWords model config option in yaml 2025-05-14 22:13:09 +02:00
Dallin Romney
4a481d33fd yolo mode - auto accept agent edits setting 2025-05-13 16:41:45 -07:00
Dallin Romney
47755d1cba fix: selected profile id writing to global context in org profile rectification 2025-05-13 13:58:05 -07:00
Nate Sesti
d7868d65c5
Merge pull request #5591 from uinstinct/mcp-unsubstituted
error message when mcp arg has unsubstituted variable
2025-05-12 16:02:57 -07:00
Tomasz Stefaniak
063e769a75
Merge pull request #4509 from alfasoftware/autocomplete-fixes
Enhancements and fixes to autocomplete behaviour
2025-05-12 15:09:00 -07:00
Patrick Erichsen
53d1c554f7 Update loadYaml.ts 2025-05-12 14:22:10 -07:00
uinstinct
6777b9268d update error message 2025-05-11 19:42:46 +05:30
uinstinct
2933f9b59f use TEMPLATE_VAR_REGEX 2025-05-11 19:37:21 +05:30
Tomasz Stefaniak
6be92bbb37
Revert "Update default local models" 2025-05-09 13:54:18 -07:00
Patrick Erichsen
c4d0a78034
Update core/config/onboarding.ts 2025-05-09 13:12:44 -07:00
Tomasz Stefaniak
41643b49a0 Update onboarding.ts 2025-05-09 12:56:35 -07:00
uinstinct
48f169602f error message when mcp arg has unsubstited variable 2025-05-09 19:09:12 +05:30
Nate Sesti
45e7596b71
Merge pull request #5525 from continuedev/nate/hotfix-global-assistants
Nate/hotfix-global-assistants
2025-05-06 13:55:21 -07:00
Patrick Erichsen
3365971917
Merge pull request #5523 from mq200/feat/codestral_template
add codestral template
2025-05-06 10:38:49 -07:00
Nate
4b55cfb2e8 fix: 🚑 load global ~/.continue/assistants 2025-05-05 19:17:46 -07:00
mq200
e089d53f27 add codestral in template enum 2025-05-05 16:52:31 -07:00
Yang Jun
dcdfa59db4 fix: undefined in title 2025-05-04 17:39:56 +08:00
Dallin Romney
7f926cad37
Merge pull request #5454 from uinstinct/mcp-timeout
add custom mcp timeout
2025-05-02 10:28:59 -07:00
uinstinct
00ae0a078a change timeout to connectionTimeout in yaml 2025-05-02 11:48:58 +05:30
Dallin Romney
defc79736b
Merge pull request #5396 from uinstinct/agent-system-message
feat: introduce separate agent system message
2025-05-01 11:06:07 -07:00
uinstinct
ce213a9c1b Merge branch 'main' into agent-system-message 2025-05-01 18:02:33 +05:30
uinstinct
ef0e7a490f introduce custom mcp server timeout 2025-05-01 13:30:09 +05:30
Dallin Romney
ff8a63a9e6 remove checkpoints 2025-04-30 19:02:38 -07:00
uinstinct
5e976f7d12 Revert "update for json config"
This reverts commit d749cce4a5.
2025-04-30 15:43:27 +05:30
Dallin Romney
fd53feb2e4 merge main 2025-04-30 01:00:36 -07:00