Commit graph

793 commits

Author SHA1 Message Date
Dallin Romney
56cf2abf20
feat: Respect Org Policies (#7087)
* fix: allow no selected org, respect policy

* feat: respect policies in extension

* fix: config handler test

* fix: context providers test
2025-08-11 19:20:07 -07:00
Keerthana Panyam
bbc200f283
Merge branch 'main' into panyamkeerthana/current_file_context 2025-08-08 11:51:33 -04:00
Keerthana Panyam
8fe5077e60 move context restriction properties to model level autocompleteOptions
- added context restriction properties to model autocompleteOptions schema
- discarded changes to add global tabAutocompleteOptions to config schema
- added experimental parameters to both config-types.
- added YAML alternative note to json reference.
- updated YAML configuration example with per-model options.
- added reference documentation with parameters for autocomplete options.
2025-08-08 11:50:14 -04:00
Dallin Romney
b6f3ede6e1
Merge pull request #6781 from Jazzcort/fix-block-duplication
Fix: Remove duplicate blocks and provide config warnings
2025-08-07 13:51:11 -07:00
Dallin Romney
01812e598f
feat: gpt-5 support (#7054)
* fix: gpt-5 support

* fix: gpt 5 context length

* fix: broken test file
2025-08-07 13:36:26 -07:00
Jazzcort
bc3375e818 Fix: Remove duplicate blocks and provide config warnings
This patch is to address the following cases that duplicate blocks appear in
the UI and confuse users:

  1. When users refer to a local block with "- uses", if the block is
     already in the default directories (e.g. ~/.continue/models or
     <workspacea>/.continue/models) and users don't override its name
     attribute, the duplicate block will appear in the UI.

  2. When users have duplicate block names among each block type in their
     assistant config.

  3. When the injected blocks have duplicate names with the assistant config
     for the corresponding block type.

The duplicate blocks in the UI is confusing, especially in the model
selection.

This patch add a blockDuplicationDetector to detect duplication. When a
duplication is detected, we remove the duplicate item and push a config
error to the result to warn the users that having duplicate names is not
the best practice to set up their config.

The detecting order: assistant config -> injected blocks

To detect duplication, all block types use "name" as the identifier except
for rules and context. For rules, if it's an rule object, we use the "name"
attribute. Otherwise, we use its string content as the identifier. For
context, the "provider" attribute is used as the identifier.

The detection only happens under assistant level, which means you can have
assistants with duplicate names.
2025-08-07 14:53:54 -04:00
Jacob Kim
6a31f985b0 feat: add next_edit z.literal 2025-08-06 15:51:57 -07:00
Dallin Romney
3c16e46cc9
Merge pull request #6722 from continuedev/nate/anthropic-stop-reason
fix: increase default max_tokens for Anthropic API to 32k
2025-08-05 15:30:51 -07:00
Dallin Romney
5b0902894b fix: anthropic openai adapters max tokens 2025-08-05 14:35:16 -07:00
Keerthana Panyam
f1a6c8eb0c changing import from config-types package
importing from the built config-types package instead of its src/
2025-08-05 17:34:48 -04:00
Keerthana Panyam
97d426bf68 restrict autocomplete context from other files in config.yaml
added schema properties and tabAutocompleteOptions schema to
to support in YAML config file, allowing proper
override of default values from parameters.ts.

added .optional() tags to tabAutocompleteOptions properties to enable
partial override from the config.yaml file.
2025-08-05 17:34:48 -04:00
Dallin Romney
725e607f4e Merge branch 'main' of https://github.com/continuedev/continue into dependabot/npm_and_yarn/packages/openai-adapters/form-data-4.0.4 2025-08-05 13:54:00 -07:00
Dallin Romney
d4198e76ec
Merge pull request #6769 from continuedev/dallin/catch-hub-loading-errors
fix: catch hub org loading errors, fallback to local
2025-08-05 13:15:58 -07:00
Dallin Romney
5fb9b5f601
Merge branch 'main' into nate/anthropic-stop-reason 2025-08-05 12:48:09 -07:00
Aditya Mitra
217b463ede
fix: add maximum 4 cache control blocks for anthropic (#6937)
* add max 5 cache controls

* add tests

* use MAX_CACHING_MESSAGES instead
2025-08-05 09:06:14 -07:00
Tomasz Stefaniak
07166fbd7e Merge branch 'main' into pr/5961 2025-08-04 08:40:11 -07:00
Tomasz Stefaniak
f7412ba627
Fetch CA certificate tests (#6803)
* test: certificates

* fix: failing tests

* test: e2e

* fix: prettier

* improv: clean up code

* chore: update dependencies

* fix: type errors

* fix: formatting
2025-07-31 15:37:36 -07:00
Tomasz Stefaniak
0848526e5b
Merge pull request #6909 from continuedev/tomasz/con-2783-make-agent-mode-more-testable-by-minimizing-thunks-and
Tomasz/con 2783 make agent mode more testable by minimizing thunks and
2025-07-31 15:13:40 -07:00
Tomasz Stefaniak
b56c7f52e8 fix: formatting 2025-07-31 11:34:43 -07:00
Dallin Romney
5520d5b7e4 merge main 2025-07-31 09:34:22 -07:00
dependabot[bot]
421bacfc4b
chore(deps): bump form-data in /packages/openai-adapters
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.0 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.0...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 22:17:57 +00:00
Patrick Erichsen
ed2fdabf99 Update main.test.ts 2025-07-29 10:13:53 -07:00
Patrick Erichsen
86b36abb25 Update main.test.ts 2025-07-29 09:59:20 -07:00
Patrick Erichsen
32cdead71a update packages script 2025-07-28 19:46:23 -07:00
Patrick Erichsen
1c7bdcf671 updates 2025-07-28 19:29:09 -07:00
Patrick Erichsen
21b15eb7b4 CI fixes 2025-07-28 16:17:08 -07:00
Patrick Erichsen
0f582f2002 feat: restore enhanced build system and integrate parallel build script
This PR combines two improvements to the build system:

1. **Restore Enhanced Build System** (reverts PR #6811)
   - Restores commit SHA versioning for VS Code extensions
   - Brings back reusable GitHub Actions workflows
   - Re-enables monorepo build system with local file dependencies
   - Restores enhanced oneper utility with commit SHA support

2. **Integrate Parallel Build Script** (integrates PR #6821)
   - Replaces shell/PowerShell build scripts with JavaScript version
   - Implements parallel package building for 40% faster builds (20s → 12s)
   - Cross-platform compatibility using Node.js instead of platform-specific scripts
   - Enhanced error reporting and build status visibility

## Key Changes
- ✅ Reusable GitHub Actions workflow for VS Code extension builds
- ✅ Commit SHA versioning restored in extension package.json
- ✅ Enhanced oneper utility with full commit SHA support
- ✅ New `scripts/build-packages.js` with parallel execution
- ✅ Removed platform-specific `build-packages.sh` and `build-packages.ps1`
- ✅ Updated all workflows and tasks to use the new build script

## Performance Impact
Build time improvement: **20s → 12s** (40% faster) due to parallel execution

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 14:22:11 -07:00
Patrick Erichsen
81dd2c3112 Reapply "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811)
This reverts commit 880786b66f.
2025-07-28 14:15:49 -07:00
Nate Sesti
d5a4c66605
Merge pull request #6646 from continuedev/nate/continue-sdk-more-routes
Nate/continue-sdk-more-routes
2025-07-28 13:44:30 -07:00
Tomasz Stefaniak
fc481a1a2c
Merge pull request #6731 from continuedev/dallin/local-blocks-for-hub-assistants
feat: Support local block loading for hub assistants
2025-07-28 13:18:19 -07:00
Nate Sesti
bbc4133e8c
Merge pull request #6827 from continuedev/nate/ollama-oai-adapter
Add Ollama OpenAI adapter support
2025-07-28 13:08:42 -07:00
Nate
89320f8fc0 fix: don't fail if no usage 2025-07-28 12:58:47 -07:00
Nate
70bc314502 fix: refactor, add comment 2025-07-28 12:52:19 -07:00
Dallin Romney
8f8a847ee6 merge: main 2025-07-29 01:50:24 +07:00
Nate Sesti
3f6eba2947
Merge pull request #6666 from continuedev/nate/fix-fetch-error-parsing
fix: test fix for fetch package and publish version with improved error logging
2025-07-28 11:13:25 -07:00
Nate
ee20911a64 fix: max_tokens for haiku is lower 2025-07-28 11:12:56 -07:00
Nate
685ff71a6c Add Ollama OpenAI adapter support 2025-07-28 10:40:43 -07:00
Patrick Erichsen
880786b66f
Revert "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811) 2025-07-28 08:07:06 -07:00
Nate Sesti
9c67767973
Merge pull request #6788 from continuedev/pe/oneper-version-change
feat: enhance oneper utility and refactor build system for commit SHA versioning
2025-07-25 15:42:11 -07:00
Patrick Erichsen
b0ba23d699 CI fixes 2025-07-25 14:17:54 -07:00
Patrick Erichsen
0e8bbac4b5 update build 2025-07-25 13:27:17 -07:00
Patrick Erichsen
bcea1b0789 chore: bump oai-adapters version 2025-07-25 12:59:41 -07:00
Patrick Erichsen
a76c51ce7c update build steps 2025-07-25 12:49:35 -07:00
Patrick Erichsen
38feadfbaa simplify CI to use build script 2025-07-25 12:15:43 -07:00
Patrick Erichsen
0bab51eae5 refactor: update build system and oneper script for commit SHA versioning
- Update main.yaml workflow to use reusable build-vscode-extension.yml
- Fix oneper script to properly handle commit SHA-based versioning
- Switch packages to use local file:// references for better dev experience
- Update build scripts to handle fetch package dependencies correctly
- Add VS Code task for building packages with extension

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 19:10:16 -07:00
Dallin Romney
f0d35e2099
feat: vertex ai openai adapter (#6736)
* feat: vertex ai openai adapter

* fix: vertex ai - missing mistral key

* feat: support tools for vertexAI gemini and anthropic

* feat: vertex openai adapter working for gemini

* fix: show errors in vertex ai

* fix: filter out model from vertexai anthropic body

* feat: vertexai toolSupport update

* chore: remove force openai adapter usage for vertex

* fix: prettier
2025-07-24 15:38:57 -07:00
Dallin Romney
067d085358 chore: merge main 2025-07-24 23:45:10 +07:00
uinstinct
90f703724d improve: add filepath in editoutcome dev data 2025-07-24 19:52:53 +05:30
Dallin Romney
37574cc55e fix: catch continue hub config loading errors 2025-07-23 05:41:17 +02:00
Tomasz Stefaniak
91b9f7924b
Merge pull request #6721 from continuedev/patrick/con-2826-dev-data-rule-slug
feat: add `slug` to rule obj on dev data
2025-07-22 10:49:06 -07:00