Commit graph

480 commits

Author SHA1 Message Date
Jacob Kim
803e6c8099 add overloads to unrollAssistant and unrollAssistantFromContent to handle cases where we need error propagation, return a sum type from unrollBlocks, wrap objects in JSON.stringify to avoid displaying [object Object]. 2025-06-04 15:26:45 -07:00
Nate
e4b3f9e2a4 bump fetch 2025-06-04 09:00:04 -07:00
Dallin Romney
1a9ff7ac48 handle no parts returned from gemini 2025-06-03 19:46:23 -07:00
Patrick Erichsen
82ad21fa95
Merge branch 'main' into nate/watsonx-v 2025-06-03 12:03:25 -07:00
Nate
939462d721 vitest format 2025-06-03 09:34:30 -07:00
Nate
3c4cc35f33 add ability to specify certs with base64 data URI 2025-06-03 09:27:28 -07:00
Nate
148668d927 switch to vitest 2025-06-03 09:16:46 -07:00
Nate
e6e607fd24 Merge branch 'main' into nate/watsonx-v 2025-06-03 07:50:50 -07:00
Tomasz Stefaniak
9efd0e128e fix: formatting 2025-06-02 13:51:36 -07:00
Tomasz Stefaniak
0a3c4b6bd4 Merge branch 'main' into nate/prettier-ci 2025-06-02 13:45:30 -07:00
Tomasz Stefaniak
15b16a185d
Merge pull request #5942 from continuedev/pe/config-yaml-sourcemap
feat: enable sourcemaps
2025-06-02 13:44:45 -07:00
Tomasz Stefaniak
2655ca8f84
Merge pull request #5612 from continuedev/nate/fix-openai-adapters
Nate/fix-openai-adapters
2025-06-02 13:34:07 -07:00
Nate
9b6e331eed Merge branch 'main' into nate/watsonx-v 2025-06-02 13:09:42 -07:00
Nate Sesti
f95a32a796
Merge pull request #5852 from continuedev/nate/claude-4-llm-info
add claude-4-sonnet and opus to llm-info
2025-06-02 13:07:19 -07:00
Nate
02e4fa6e45 Merge branch 'main' into nate/prettier-ci 2025-06-02 13:03:36 -07:00
Nate
1ac6db5dbd comment out the part of verbose fetch that was causing errors 2025-06-02 12:56:32 -07:00
Patrick Erichsen
2be2b73f2a feat: enable sourcemap 2025-06-02 11:10:39 -07:00
Nate Sesti
bb760f76c2
Merge pull request #5855 from continuedev/dallin/remove-free-trial
Remove free trial provider
2025-05-31 23:31:07 -07:00
Nate
12e2bdb203 verbose logging option for our custom fetch 2025-05-28 15:19:27 -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
Dallin Romney
bbb81ff032 remove free trial provider 2025-05-26 17:42:05 -07:00
Nate
c145e1f36b add claude-4-sonnet and opus to llm-info 2025-05-26 16:00:21 -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
c9d04facec leftover prettier formatting 2025-05-25 18:41:44 -07:00
Nate
4f7ebf0c1b npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path .
gitignore --ignore-path .prettierignore --write
2025-05-25 18:41:32 -07:00
Nate
9c13b5eca8 this this.apiBase instead of this.config.apiBase 2025-05-25 18:26:18 -07:00
Nate
2b318f8140 Merge branch 'main' into nate/fix-openai-adapters 2025-05-25 18:10:08 -07:00
Nate Sesti
74eb24a027
Merge pull request #5818 from uinstinct/yaml-stream
feat: add `stream` in defaultCompletionOptions yaml
2025-05-25 17:46:37 -07:00
Nate
dcb1615486 Merge branch 'main' into dallin/cancelable-apply 2025-05-25 16:11:53 -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
uinstinct
09c403fe3c added tests 2025-05-23 19:31:35 +05:30
uinstinct
f72e293e2f feat: add stream in defaultCompletionOptions yaml 2025-05-23 18:59:56 +05:30
Nate
92ea6676b0 allow sse MCP definition in config-yaml 2025-05-22 22:34:20 -07:00
Nate
7497b4f1de Merge branch 'main' into nate/sse 2025-05-22 22:19:20 -07:00
Nate
35f1e2746e add type and url to mcp config 2025-05-22 22:15:34 -07:00
Nate
606ccb8c84 fix type errors 2025-05-22 20:09:00 -07:00
Nate
abd7ebe0cb x 2025-05-22 19:26:30 -07:00
Nate
e957171f58 publish new version 2025-05-22 19:25:09 -07:00
Nate
1e52abab86 implement chat non-stream in watsonx openai-adapter 2025-05-22 19:22:41 -07:00
Nate
73b576f40c fix watsonx tests (openai-adapters) 2025-05-22 19:18:12 -07:00
Nate
6d4857bf32 pass env to continueProperties 2025-05-22 19:01:00 -07:00
Patrick Erichsen
e4b70dbfd8 feat: description in markdown yaml 2025-05-22 10:10:21 -07:00
Nate
1b24a7c185 watsonx-openai-adapter 2025-05-22 08:41:02 -07:00
Patrick Erichsen
eb512182b8
Revert "feat: add support for SSE MCP servers" 2025-05-21 12:23:56 -07:00
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
Nate
2d10f736ed log filepath along with editInteraction 2025-05-20 15:23:17 -07:00
Nate
860fb83906 method in config-yaml to parse proxy model name 2025-05-20 13:10:46 -07:00
Dallin Romney
05dafeba19 bump openai-adapters 2025-05-19 16:45:23 -07:00