Commit graph

465 commits

Author SHA1 Message Date
Nate
ec0fe620ce look for token as well as access_token 2025-05-28 19:58:56 -07:00
Nate
ad0c5446c2 bump package-lock 2025-05-28 18:28:43 -07:00
Nate
230853c87c don't use zen api key in openai-adapters 2025-05-28 18:27:22 -07:00
Nate
cd38bfb7fe Merge branch 'nate/azure-openai-adapters' into watsonx-vi 2025-05-28 18:26:31 -07:00
Nate
fa8c84dfd6 bump openai-adapters 2025-05-28 18:25:46 -07:00
Nate
a8cfddd3c8 in OpenAI-adapters, use only username, api_key auth 2025-05-28 18:15:38 -07:00
Nate
5dfc95b2c7 bump openai-adapters' version of fetch 2025-05-28 15:22:18 -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
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
e63bc982a3
Merge branch 'main' into nate/azure-openai-adapters 2025-05-25 18:44:32 -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
Nate
a2df09eda2 fix watsonx zen-api-key 2025-05-24 13:53:58 -07:00
Nate
837ee01816 bump again 2025-05-24 12:57:48 -07:00
Nate
53f4312b89 bump 2025-05-24 11:01:45 -07:00
Nate
6e2d847e95 use OpenAI client for Azure in openai-adapters 2025-05-24 10:59:24 -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
Dallin Romney
960990bb9c bump fetch for other sources 2025-05-19 16:43:27 -07:00
Dallin Romney
c496986cc3 bump fetch version 2025-05-19 16:42:17 -07:00
Dallin Romney
2d2306534b fetch package updates from #5715 2025-05-19 16:38:23 -07:00
Dallin Romney
0c83b1f045
Merge pull request #5715 from continuedev/nate/fetch-certs
make continuedev/fetch package automatically respect HTTP(S)_PROXY, NO_PROXY environment variables
2025-05-19 16:05:40 -07:00
Dallin Romney
9d2037c6e0 fetch updates - move tests to fetch package 2025-05-19 16:03:22 -07:00
Tomasz Stefaniak
e6d1478346
Merge pull request #5580 from zyxue/zyxue-patch-1
handle `data:[DONE]` without space properly
2025-05-19 12:44:12 -07:00
Dallin Romney
b8b893d3d0 merge main 2025-05-19 10:55:54 -07:00
04cfb1ed
0356b0dd3a refactor: move blockOrDiscriminatedUnionSchema logic inside of blockOrSchema 2025-05-18 21:10:59 -05: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
689308b8d6 bump version 2025-05-17 16:17:18 -07:00
Nate
367634f7d3 break out and test other utils 2025-05-17 16:16:22 -07:00
Nate
bf92579688 separate file for getAgentOptions, with tests 2025-05-17 16:01:27 -07:00