Commit graph

1030 commits

Author SHA1 Message Date
Dallin Romney
9a3afc9dba
Merge branch 'main' into snyk-upgrade-3f33be83d9ca412353e0f4c744bbbcc1 2025-12-01 15:05:41 -08:00
Dallin Romney
bde5db2ab2
Merge pull request #8912 from continuedev/snyk-upgrade-a2e4d6b806eb0f9d085d8ee3b53ed5d1
[Snyk] Upgrade @aws-sdk/client-bedrock-runtime from 3.890.0 to 3.925.0
2025-12-01 15:03:59 -08:00
Dallin Romney
4d0d04abf8
chore: config yaml 36, fetch 6 (#8906) 2025-12-01 11:27:26 -08:00
snyk-bot
1fe8366a2b
fix: upgrade @aws-sdk/credential-providers from 3.913.0 to 3.925.0
Snyk has created this PR to upgrade @aws-sdk/credential-providers from 3.913.0 to 3.925.0.

See this package in npm:
@aws-sdk/credential-providers

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/543e8bdd-68af-42af-88a3-ce1fb9706fc9?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-27 16:16:11 +00:00
snyk-bot
fa32bded6c
fix: upgrade @aws-sdk/client-bedrock-runtime from 3.890.0 to 3.925.0
Snyk has created this PR to upgrade @aws-sdk/client-bedrock-runtime from 3.890.0 to 3.925.0.

See this package in npm:
@aws-sdk/client-bedrock-runtime

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/543e8bdd-68af-42af-88a3-ce1fb9706fc9?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-11-27 16:16:03 +00:00
Dallin Romney
d16a26eb03
Merge pull request #8891 from continuedev/dallin/openai-adapters-bump
fix: trigger openai adapters publish
2025-11-26 15:12:03 -08:00
Dallin Romney
827ca72bff
Merge pull request #8881 from uinstinct/gemini-3-support
chore: add support for gemini 3 pro preview
2025-11-26 13:57:58 -08:00
Dallin Romney
3d0f57ef48
Merge pull request #8866 from continuedev/dallin/opus-4-5-updates
feat: opus 4-5 updates
2025-11-26 12:40:06 -08:00
Nate
d045072c08 fix: unroll edge cases 2025-11-26 11:04:00 -08:00
Dallin Romney
9193924033 fix: openai adapters api support readme 2025-11-25 22:45:35 -08:00
Dallin Romney
466dc2da7b fix: openai-adapters-bump 2025-11-25 22:44:46 -08:00
Dallin Romney
e13c68d2dc Merge branch 'main' of https://github.com/continuedev/continue into uinstinct/gemini-3-support 2025-11-25 22:39:42 -08:00
Dallin Romney
5326422821
Revert "chore(deps): bump glob, semantic-release and @semantic-release/npm in /packages/openai-adapters" 2025-11-25 20:48:07 -08:00
Dallin Romney
b024fa8d70
Merge branch 'main' into gemini-3-support 2025-11-25 12:32:43 -08:00
Dallin Romney
180604ff02
Merge pull request #8865 from uinstinct/gemini-thought-signature
feat: add support for gemini thought signature
2025-11-25 12:06:56 -08:00
Dallin Romney
0fd1594e2b
Merge pull request #8832 from uinstinct/gpt-5.1-support
chore: add support for gpt 5.1
2025-11-25 12:02:28 -08:00
uinstinct
ecce71ce96 add in llm info 2025-11-25 18:30:25 +05:30
uinstinct
a8a19625b3 add in cometapi 2025-11-25 18:28:57 +05:30
uinstinct
1031cbb219 remove as any in gemini openai adapter 2025-11-25 09:07:12 +05:30
Dallin Romney
0fdadbbf0c
Update packages/llm-info/src/providers/anthropic.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-24 15:20:21 -08:00
Dallin Romney
d70f993fb6 feat: opus 4-5 updates 2025-11-24 13:14:23 -08:00
uinstinct
28805d0564 feat: add support for gemini thought signature 2025-11-25 02:40:44 +05:30
uinstinct
79848341b6 correct regex for grok 4 2025-11-24 21:46:31 +05:30
Aditya Mitra
09c42c3ee9
Update packages/llm-info/src/providers/openai.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-24 19:29:49 +05:30
uinstinct
ee10ab5432 correct context length 2025-11-24 19:05:26 +05:30
uinstinct
0544f749aa Merge branch 'main' into gpt-5.1-support 2025-11-24 19:03:48 +05:30
uinstinct
bde45f9886 change wording in cometapi 2025-11-24 18:46:58 +05:30
uinstinct
ad586c1a92 Merge branch 'main' into grok-4.1-support 2025-11-24 18:43:02 +05:30
Dallin Romney
7db7af6005
Merge pull request #8512 from continuedev/fix/terminal-security-newline-bypass
fix(terminal-security): prevent newline bypass in command validation
2025-11-21 16:23:42 -08:00
Dallin Romney
9448bd8ffd
Merge pull request #8383 from dcs-soni/fix/improve-url-parsing
fix: improve image URL parsing robustness across providers
2025-11-21 14:44:22 -08:00
dependabot[bot]
c55f3f2004
chore(deps): bump glob, semantic-release and @semantic-release/npm
Bumps [glob](https://github.com/isaacs/node-glob) to 10.5.0 and updates ancestor dependencies [glob](https://github.com/isaacs/node-glob), [semantic-release](https://github.com/semantic-release/semantic-release) and [@semantic-release/npm](https://github.com/semantic-release/npm). These dependencies need to be updated together.


Updates `glob` from 10.4.5 to 10.5.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

Updates `semantic-release` from 24.2.8 to 25.0.2
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v24.2.8...v25.0.2)

Updates `@semantic-release/npm` from 12.0.2 to 13.1.2
- [Release notes](https://github.com/semantic-release/npm/releases)
- [Commits](https://github.com/semantic-release/npm/compare/v12.0.2...v13.1.2)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
- dependency-name: semantic-release
  dependency-version: 25.0.2
  dependency-type: direct:development
- dependency-name: "@semantic-release/npm"
  dependency-version: 13.1.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 20:54:45 +00:00
uinstinct
698fa692e2 fix duplicate declaration 2025-11-21 21:29:06 +05:30
uinstinct
a5e93dd49e chore: add support for gpt 5.1 2025-11-21 20:49:19 +05:30
uinstinct
fd1883fe03 support for xai grok 4.1 fast 2025-11-21 20:19:30 +05:30
dcs-soni
1c7668c3fd run prettier 2025-11-21 13:14:31 +05:30
dcs-soni
70dfab942f fix run prettier 2025-11-21 13:09:05 +05:30
Divyanshu Soni
b4526bf4fb fix: move url utils from core to openai adapters 2025-11-21 06:29:14 +00:00
Aaron Lippold
63abf6b43d
fix(openai-adapters): extend auth header override to support x-api-key (#8779)
* fix(openai-adapters): extend auth header override to support x-api-key

Extends the fix from PR #8684 to handle x-api-key header in addition to
Authorization header.

Background:
- Continue sends duplicate auth headers where the first is malformed
- PR #8684 fixed this for Authorization header
- Same issue affects x-api-key header used by some OpenAI-compatible APIs

Changes:
- Rename function to letRequestOptionsOverrideAuthHeaders (more generic)
- Check for both Authorization AND x-api-key in requestOptions.headers
- Remove default headers if custom ones are provided
- Handles Headers object, array, and plain object formats

Impact:
- Fixes authentication with APIs that use x-api-key header
- Enables use of MITRE AIP and similar enterprise endpoints
- Maintains backward compatibility with existing configs

Related: #7047 (duplicate headers bug)
Extends: #8684 (Authorization header fix)

Tested-with: MITRE AIP endpoints using x-api-key authentication

Authored by: Aaron Lippold <lippold@gmail.com>

* test(openai-adapters): add tests for auth header override fix

Add comprehensive tests for the customFetch auth header override functionality:
- Test Authorization header override
- Test x-api-key header override
- Test Headers object handling
- Test array of tuples handling
- Test case-insensitive matching
- Test no override when requestOptions empty

All tests pass.

Related: #7047, #8684

Authored by: Aaron Lippold <lippold@gmail.com>

* test: update to structural tests per reviewer feedback

Changed from integration tests to structural/smoke tests that verify
the customFetch function behavior without complex fetch stack mocking.

Tests now verify:
- Function exports and structure
- Returns callable functions
- Handles all requestOptions variations
- Doesn't throw on edge cases
- Case-insensitive header handling

Per reviewer feedback, this avoids false confidence from incomplete
integration tests while still validating the function works correctly.

Related: Reviewer feedback on PR #8779

* ci: add GitHub Actions to publish MITRE CLI package

Automates building and publishing the patched Continue CLI:
- Builds on push to mitre branch
- Publishes to GitHub Package Registry as @mitre/continue-cli
- Creates release artifacts
- Uploads distribution tarball

Team can install via:
  npm install -g @mitre/continue-cli --registry=https://npm.pkg.github.com

Or download tarball from releases.

Authored by: Aaron Lippold <lippold@gmail.com>

* chore: remove MITRE-specific workflow from upstream PR

This workflow is for MITRE fork only, not needed in upstream.

Authored by: Aaron Lippold <lippold@gmail.com>

* fix(openai-adapters): correct Responses API model detection regex

The RESPONSES_MODEL_REGEX was too broad, matching any model starting
with "o" (e.g., "openai/gpt-oss-120b"). This caused Continue to
incorrectly use the Responses API for non-reasoning models.

Changed regex from /^(?:gpt-5|gpt-5-codex|o)/i
to /^(?:gpt-5|gpt-5-codex|o[0-9])/i to only match:
- gpt-5, gpt-5-codex (GPT-5 series)
- o1, o3, o4, etc. (OpenAI O-series reasoning models)

This prevents false positives for model names like:
- openai/gpt-oss-120b (Cloudflare Workers AI model)
- ollama/... (Ollama models)
- Any other model with provider prefix starting with "o"

Tested with openai/gpt-oss-120b - now correctly uses
/v1/chat/completions instead of /v1/responses.

Authored by: Aaron Lippold <lippold@gmail.com>
2025-11-19 14:33:55 -08:00
Dallin Romney
28cdb4e586 Merge branch 'main' of https://github.com/continuedev/continue into fix/terminal-security-newline-bypass 2025-11-18 20:23:34 -08:00
Dallin Romney
d62f6d2070
Merge pull request #8597 from maxbrunet/feat/cohere-2025-2
feat(cohere): add support from Reasoning/Vision/Translate models
2025-11-18 20:20:23 -08:00
Dallin Romney
b11c958c3f
Merge pull request #8776 from continuedev/dallin/super-snyk
chore: dependency bumps
2025-11-18 17:09:55 -08:00
Dallin Romney
26bb2153f0 Merge branch 'main' of https://github.com/continuedev/continue into dallin/mcp-oauth-cli 2025-11-18 16:47:18 -08:00
Dallin Romney
440b2288ac merge: main 2025-11-18 16:32:54 -08:00
snyk-bot
1157c7a793
fix: packages/continue-sdk/package.json & packages/continue-sdk/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-GLOB-14040952
2025-11-18 23:43:26 +00:00
Dallin Romney
87ad3cdb3e Merge branch 'main' of https://github.com/continuedev/continue into dallin/mcp-oauth-cli 2025-11-18 15:43:21 -08:00
Dallin Romney
a7fe934326
Merge pull request #8774 from continuedev/dallin/binary-package-sync
fix: binary package lock issue
2025-11-18 15:43:02 -08:00
Dallin Romney
03b5635215
Merge pull request #8684 from visadb/main
openai-adapters: allow overriding authorization header
2025-11-18 10:45:16 -08:00
Dallin Romney
8ee37e78e5 fix: openai-adapters bumps 2025-11-18 10:28:48 -08:00
Dallin Romney
73c2304e12 fix: bump openai-adapters 2025-11-18 10:28:16 -08:00
Dallin Romney
f59f4c37be chore: dependency bumps from snyk prs 2025-11-18 10:23:40 -08:00