Commit graph

312 commits

Author SHA1 Message Date
Patrick Erichsen
d335ac1db1 Merge upstream continuedev/continue main (47 commits)
Includes: ClawRouter provider, JetBrains stability fixes, security
vulnerability patches, docs improvements, and dependency bumps.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 14:58:21 -07:00
Dallin Romney
c71acb8e4b
fix: resolve critical and high security vulnerabilities (#11848)
* fix: resolve critical and high security vulnerabilities across packages

Bump vulnerable dependencies and remove unused `request` package to
address ~351 of ~394 npm audit vulnerabilities reported by GitHub.

* fix: handle nullable textContent from @mozilla/readability v0.6.0

readability.textContent can be undefined in v0.6.0, add nullish
coalescing to satisfy ArticleComponent.body type constraint.
2026-03-26 10:46:44 -07:00
Nate
42030c70b6 Merge upstream continuedev/continue main (66 commits)
Brings in upstream fixes and features while preserving fork's
removals (free-trial, hub/community, control-plane).

Notable upstream additions:
- Gemini AI SDK support, Bedrock API key auth
- CLI session export/import, skills slash command
- Tool support expansion, reasoning message handling
- Model catalog updates (Claude 4.6, Gemini 3.1 Pro)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 14:10:34 -07:00
Peter Dave Hello
cbbe3ef11a
Update Node.js LTS to v20.20.1 (#11506)
Node.js v20 entered Maintenance LTS six months ago. Update the version
from v20.19.0 (released over a year ago) to v20.20.1, the latest LTS
release this month.

This ensures the project leverages recent Node.js improvements,
including security updates, and stays on a supported LTS track.
2026-03-24 11:36:07 -07:00
Patrick Erichsen
32639c5c11 chore: remove all PostHog and Sentry telemetry collection
Strip all PostHog and Sentry telemetry from the codebase so the product
works without phoning home. OpenTelemetry (CLI, user-configured) is kept.

- Delete core telemetry files (posthog.ts, SentryLogger, TeamAnalytics, TokensBatchingService)
- Remove all capture/report calls from 80+ caller files across core, GUI, VSCode, CLI, IntelliJ
- Remove posthog-node, posthog-js, @sentry/* dependencies from all package.json files
- Remove PostHog/Sentry plugins and build scripts
- Create IdeInfoService.ts and uniqueId.ts for non-telemetry request headers
- Remove PostHog API key from docs config
- Remove posthog from analytics provider config schema

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 15:15:26 -07:00
Nate Sesti
e839caa6c7
[Snyk] Security upgrade @sentry/vite-plugin from 4.0.2 to 5.0.0 (#11257)
* fix: core/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MINIMATCH-15309438
- https://snyk.io/vuln/SNYK-JS-MINIMATCH-15353387
- https://snyk.io/vuln/SNYK-JS-MINIMATCH-15353389

* chore: bump vite

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-03-10 01:33:58 -07:00
Nate Sesti
d0439ec6c9
[Snyk] Security upgrade tar from 7.5.7 to 7.5.10 (#11119)
* fix: core/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TAR-15416075

* chore: dep bump for snyk

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-03-09 23:30:09 -07:00
Dallin Romney
a7a5351b9c
feat: limited MCP App support (#10132)
* feat: MCP apps part 1

* feat: MCP app support part 3

* chore: cleanup PR

* chore: clean up mcp ui app types

* fix: address cubic feedback
2026-02-05 19:07:44 -08:00
snyk-bot
a8fba7ea77
fix: core/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-15155603
2026-02-03 09:59:30 +00:00
snyk-bot
8ca79b9a5a
fix: core/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-15155603
2026-01-31 07:05:33 +00:00
dependabot[bot]
bf62d55a02
chore(deps): bump diff from 7.0.0 to 8.0.3 in /core
Bumps [diff](https://github.com/kpdecker/jsdiff) from 7.0.0 to 8.0.3.
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/7.0.0...v8.0.3)

---
updated-dependencies:
- dependency-name: diff
  dependency-version: 8.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-15 07:51:58 +00:00
Dallin Romney
49071db4b3
chore: continue package bumps (#9532) 2026-01-14 11:31:41 -08:00
Dallin Romney
44fba34d29
Security updates: upgrade @modelcontextprotocol/sdk and @reduxjs/toolkit (#9498)
- Upgrade @modelcontextprotocol/sdk from 1.24.0 to 1.25.2 (fixes SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802 ReDoS vulnerability)
- Upgrade @reduxjs/toolkit from 2.3.0 to 2.11.2 (fixes SNYK-JS-DAGRED3ES-13110069 prototype pollution vulnerability)
- Update core/package-lock.json and gui/package-lock.json with latest dependencies

Generated with [Continue](https://continue.dev)

Co-authored-by: RomneyDa <RomneyDa@users.noreply.github.com>
Co-authored-by: Continue <noreply@continue.dev>
2026-01-13 16:42:24 -08:00
continue[bot]
a94d1f4829 Upgrade AWS SDK packages to 3.931.0 to fix security vulnerabilities
- Upgrade @aws-sdk/client-bedrock-runtime from 3.779.0 to 3.931.0 in core
- Upgrade @aws-sdk/credential-providers from 3.778.0 to 3.931.0 in core
- Upgrade @aws-sdk/client-bedrock-runtime from 3.929.0 to 3.931.0 in openai-adapters
- Upgrade @aws-sdk/credential-providers from 3.929.0 to 3.931.0 in openai-adapters

This upgrade addresses three medium-severity vulnerabilities:
- SNYK-JS-BABELHELPERS-9397697: Regular Expression Denial of Service (ReDoS)
- SNYK-JS-INFLIGHT-6095116: Missing Release of Resource after Effective Lifetime
- SNYK-JS-JSYAML-13961110: Prototype Pollution

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: dallin <dallin@continue.dev>
2025-12-05 17:43:57 +00:00
Dallin Romney
80a33ef162
chore: mcp 1.24.0 (#8974)
* chore: bump mcp

* chore: update mcp

* fix: linting
2025-12-04 12:58:28 -08:00
Dallin Romney
51a374c4fe fix: pin vectordb 2025-12-01 14:29:44 -08:00
Dallin Romney
f59f4c37be chore: dependency bumps from snyk prs 2025-11-18 10:23:40 -08:00
Patrick Erichsen
a9f7015b8f remove unneeded normalize-path 2025-10-17 14:42:24 -07:00
Patrick Erichsen
c38a5bbd9d use libs for path resolution 2025-10-17 14:29:50 -07:00
Dallin Romney
2a77e6de60
feat: clean up anthropic messaging (#7799)
* fix: include message content when tool calls present

* chore: use buildTextPart more

* fix: HOTFIX text parts for anthropic openai adapter

* fix: anthropic types

* fix: response.json assumption for anthropic

* fix: test mocks

* fix: address cubic feedback

* fix: anthopric tests

* fix: prettier
2025-09-24 12:57:10 -07:00
Tomasz Stefaniak
c00bbd78b1 improv: move terminal security to separate package 2025-09-03 12:47:08 -07:00
Tomasz Stefaniak
8c6020653e fix: type errors 2025-08-27 15:47:56 -07:00
Tomasz Stefaniak
6b25cf53ac Merge branch 'main' into tomasz/con-3680 2025-08-27 15:29:23 -07:00
Tomasz Stefaniak
d37a76786a fix: missing package 2025-08-27 14:34:54 -07:00
Nate
01af8ce6b1 fix: lint errors from core 2025-08-26 18:19:44 -07:00
Nate
db96a9eb6f fix: lint errros 2025-08-21 18:16:56 -07:00
Dallin Romney
55068dc622 fix: update ignore package, rearrange for imports 2025-08-21 15:29:23 -07:00
Nate
4710a03b4e fix: type errors 2025-08-20 20:58:24 -07:00
Patrick Erichsen
85994118e8
feat: implement Sentry error tracking with privacy-first anonymization (#6881)
* feat: add sentry to core

* feat: implement comprehensive Sentry error tracking with privacy-first anonymization

- Add Sentry ErrorBoundary components following React best practices
- Implement shared anonymization logic between core and GUI environments
- Create organized sentry directory structure with clean exports
- Add Continue team member access control (@continue.dev email check)
- Preserve node_modules package names for debugging while anonymizing user paths
- Include comprehensive test coverage for all anonymization scenarios
- Set up source maps for readable production error stack traces
- Add browser-compatible hashing without crypto module dependency

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

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: complete Sentry integration with GUI components and tests

- Add GUI TelemetryProviders with Sentry ErrorBoundary
- Create shared isContinueTeamMember utilities for both core and GUI
- Update all imports and dependencies for new sentry structure
- Add comprehensive test coverage and fix all TypeScript issues

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

Co-Authored-By: Claude <noreply@anthropic.com>

* prettier

* fix: resolve GUI build errors by removing sentry index.ts and using specific imports

- Remove problematic index.ts that was pulling Node.js-specific Sentry code into browser bundle
- Update GUI to import specifically from anonymization.ts and constants.ts files
- Update core imports to use specific SentryLogger.ts import path
- GUI build now succeeds with proper source map upload to Sentry

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

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: move TelemetryProviders inside AuthProvider to fix test failures

- Move TelemetryProviders from main.tsx to Layout.tsx inside AuthProvider
- Fixes "useAuth must be used within an AuthProvider" error in tests
- TelemetryProviders now has access to auth context for Continue team member check
- GUI build and functionality remain working correctly

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

Co-Authored-By: Claude <noreply@anthropic.com>

* prettier

* merge main

* Update package.json

* fix tests

* fix errors

* Update extension.ts

* disable sentry in tests/local dev

* add additional error handling

* Update SentryLogger.ts

* remove global try/catch

* remove test code

* linting

* Update SentryLogger.ts

* more logs

* Update core.ts

* lower sampling rate

* fix tests

* feat: use `Logger`

* Update logger.ts

* Update logger.ts

Co-Authored-By: Claude <noreply@anthropic.com>

* lint fixes

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: rename logger.ts to Logger.ts for case sensitivity

This fixes TypeScript compilation errors in CI where the file
was tracked as lowercase logger.ts but referenced as Logger.ts
in imports.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* address ting-wai's feedback

* Update core.ts

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-14 16:54:21 -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
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
Patrick Erichsen
b9085a6118 add llm-info 2025-07-25 10:48:14 -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
xiaohuanxiong3
2b9e6ae071
Merge branch 'continuedev:main' into main 2025-07-17 11:19:35 +08:00
Nate
4ba238b3e4 bump openai sdk 2025-07-16 16:26:03 -07:00
QiuYang Shen
a000397160 avoid garbled Chinese when call runTerminalCommandTool in windows 2025-07-13 19:00:52 +08:00
Jacob Kim
0443be225a add shiki deps 2025-07-04 19:01:38 -07:00
Jacob Kim
7161fbedc5 remove satori and font loading helpers 2025-06-26 14:52:12 -07:00
Jacob Kim
8ae5b4e06f Merge branch 'main' of github.com:continuedev/continue into jacob/feature/next-edit-mvp 2025-06-24 16:23:05 -07:00
Nate Sesti
52363e1d0a
Merge pull request #6271 from continuedev/pe/watsonx-fix
fix: pass `env` obj to openai-adapters
2025-06-24 14:56:48 -07:00
Dallin Romney
6ff489723e fetch 14 for core 2025-06-24 13:44:40 -07:00
Patrick Erichsen
91a9d04df7 fix: pass env obj to openai-adapters 2025-06-23 21:46:54 -07:00
Jacob Kim
09ad19b142 add shiki and satori as deps 2025-06-22 13:23:59 -07:00
Tomasz Stefaniak
d23da9c716 Update package.json 2025-06-09 11:23:55 -07:00
Nate
fae5c5db4d Merge branch 'main' into watsonx-vi 2025-06-05 10:46:48 -07:00
Nate
e4b3f9e2a4 bump fetch 2025-06-04 09:00:04 -07:00
uinstinct
b6f2aa64e6 introduce vitest and pass LocalPlatformClient.test 2025-05-31 16:01:40 +05:30
Nate
e2cda3551b update package.json 2025-05-30 08:54:12 -07:00
Nate
3847354a3b upgrade mcp sdk to make tests pass 2025-05-25 20:44:23 -07:00
Nate
dcb1615486 Merge branch 'main' into dallin/cancelable-apply 2025-05-25 16:11:53 -07:00