* feat: filter session history by workspace directory
Add optional workspaceDirectory field to ListHistoryOptions so callers
can scope session lists to a specific workspace. Filtering is
case-insensitive and applied before pagination. Omitting the field
preserves the existing behavior of returning all sessions.
Fixes#9936
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address bot review - typeof guard and test coverage
- Use typeof check instead of truthiness for workspaceDirectory to
handle malformed session metadata safely
- Rename test to match actual coverage (limit only)
- Add separate test for combined limit+offset with workspace filter
---------
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: ensure config.yaml exists and is populated when accessed
- Opening a config profile (gear icon) now creates config.yaml with
defaults if the file is missing, matching startup behavior
- Empty config.yaml files are detected and populated with default config
instead of causing parse errors
* refactor: improve readability of config existence check
* add support for gemini in ai sdk
* support thought signature conversion
* capture extra_content in assistasnt tool calls
* fix: update vercelStreamConverter tests for tool-call chunk emission
The tool-call case now returns a chunk (for Gemini thoughtSignature
support) instead of null, so tests need to expect the new behavior.
---------
Co-authored-by: Nate Sesti <33237525+sestinj@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
* Improve error handling UX and move stream retry to BaseLLM
- Remove issue reporting buttons (GitHub/Discussions) from stream error dialog
- Add error detection for invalid API keys, OpenAI org verification,
insufficient balance (402), and failed secret templating
- Update out-of-credits copy to match current messaging
- Add sk- prefix validation for OpenAI/Anthropic keys in add model form
- Update OpenRouter API key URL to workspaces/default/keys
- Move overloaded/malformed JSON retry from GUI streamThunkWrapper to
BaseLLM _retryableStream to avoid glitchy UI from GUI-level retries
- Add overloaded/malformed JSON detection to core retry infrastructure
* fix: simplify retry architecture and make sk- validation a warning
- Remove _retryableStream from BaseLLM; overloaded/malformed JSON retry
belongs in withExponentialBackoff at the HTTP fetch level
- Revert defaultShouldRetry/calculateDelay exports (no longer needed externally)
- Keep OpenRouter API key URL unchanged
- Make sk- prefix validation a warning instead of blocking error
* Fix stale comment referencing removed retry decorator
* Improve 402 Insufficient Balance error message clarity
* fix: improve copy - rename "View key" to "Check API key", use warning styles, simplify secret error message
* fix: use ternary for className to avoid space stripping by prettier
* style: fix prettier formatting in OutOfCreditsDialog
---------
Co-authored-by: continue[bot] <230936708+continue[bot]@users.noreply.github.com>
Remove all ControlPlaneClient infrastructure, WorkOS auth, managed proxy,
platform profile loading, org policy enforcement, and credits UI.
Config is now fully local — only file-based config.yaml and .env secrets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* refactor: unify AbortError detection with isAbortError utility
AbortError detection was scattered across 3+ patterns (string
comparison, .name check, .code check). Consolidates into a single
isAbortError() utility that handles all known patterns: "cancel"
string, DOMException, Error.name variants, ABORT_ERR code, and
plain objects. Updates call sites in core/llm/index.ts and
core/llm/utils/retry.ts.
* fix: use exact match for AbortError name, add null guard, improve tests
- Changed .includes("AbortError") to === "AbortError" to preserve
original exact-match semantics at L505 and retry.ts call sites
- Added null/undefined early return to prevent TypeError on
"name" in null
- Unified DOMException branch to use exact match consistently
- Tests: removed 4 redundant same-branch duplicates, added 12 new
cases (case sensitivity, empty string, non-string name, partial
name boundary, DOMException negative, plain object code asymmetry,
boolean, frozen object, Error subclass, TypeError)
- Fixed DOMException test skip from expect(true).toBe(true) to
it.skipIf
* fix: replace == null with === null || === undefined (eqeqeq)
---------
Co-authored-by: amabito <192487536+amabito@users.noreply.github.com>
Co-authored-by: amabito <amabito@local>
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>
* refactor: unify AbortError detection with isAbortError utility
AbortError detection was scattered across 3+ patterns (string
comparison, .name check, .code check). Consolidates into a single
isAbortError() utility that handles all known patterns: "cancel"
string, DOMException, Error.name variants, ABORT_ERR code, and
plain objects. Updates call sites in core/llm/index.ts and
core/llm/utils/retry.ts.
* fix: use exact match for AbortError name, add null guard, improve tests
- Changed .includes("AbortError") to === "AbortError" to preserve
original exact-match semantics at L505 and retry.ts call sites
- Added null/undefined early return to prevent TypeError on
"name" in null
- Unified DOMException branch to use exact match consistently
- Tests: removed 4 redundant same-branch duplicates, added 12 new
cases (case sensitivity, empty string, non-string name, partial
name boundary, DOMException negative, plain object code asymmetry,
boolean, frozen object, Error subclass, TypeError)
- Fixed DOMException test skip from expect(true).toBe(true) to
it.skipIf
* fix: replace == null with === null || === undefined (eqeqeq)
---------
Co-authored-by: amabito <192487536+amabito@users.noreply.github.com>
Co-authored-by: amabito <amabito@local>
Gemini and VertexAI can return rate-limit errors where the HTTP status
is not 429 but the error code is embedded in the response body JSON
(e.g., "code":429). Add regex-based detection of these embedded errors
in both retry paths so they trigger exponential backoff correctly.
When Windows host connects to WSL remote, getEnvPathFromUserShell() was
returning undefined because it checked only process.platform === "win32".
Add remoteName parameter to getEnvPathFromUserShell() and use the
isWindowsHostWithWslRemote pattern (consistent with resolveCommandForPlatform)
to allow shell PATH detection for WSL remotes.
Fixes#9737
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Discord links across docs, READMEs, GUI components, and issue templates
now point to https://github.com/continuedev/continue/discussions.
The Discord context provider (product feature) is left untouched.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When Windows host connects to WSL remote, getEnvPathFromUserShell() was
returning undefined because it checked only process.platform === "win32".
Add remoteName parameter to getEnvPathFromUserShell() and use the
isWindowsHostWithWslRemote pattern (consistent with resolveCommandForPlatform)
to allow shell PATH detection for WSL remotes.
Fixes#9737
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat: add GPT-5 Codex model support
- Add GPT-5 Codex to llm-info package with 500k context and 150k max tokens
- Add model definition to models.ts for UI configuration
- Include GPT-5 Codex in OpenAI provider packages list
- Model supports chat and edit roles with tool_use capability
* feat: impl Responses API in oai-adapters
* fix chat describer
* Update openai.ts
* fix llm-info
* address dallin's feedback
- Combined resolveInputPath approach with new ContinueError system
- Updated error handling to use ContinueError with appropriate error reasons
- Maintained improved error messages from pe/read-file-errs branch