Commit graph

5880 commits

Author SHA1 Message Date
Ty Dunn
4272df1e66 docs: remove tagline description from all READMEs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 18:44:34 -08:00
Ty Dunn
c00d58a8ab docs: update READMEs to reflect new product direction
Rewrite main, VS Code, and JetBrains READMEs to focus on
source-controlled AI checks enforceable in CI. Add community-maintained
notice to JetBrains plugin with CLI recommendation. Prefix IDE-specific
feature headings with platform names.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 18:06:41 -08:00
Dallin Romney
54e5d5cd1d
chore: prerelease bumps vscode 32 jetbrains 61 (#10563) 2026-02-16 12:16:10 -08:00
Dallin Romney
733d637dc1
Revert "[Snyk] Fix for 1 vulnerabilities" 2026-02-11 03:08:14 -08:00
Dallin Romney
4e3f106719 chore: package lock update vscode 2026-02-11 02:19:32 -08:00
snyk-bot
7c52aa6e0a
fix: extensions/vscode/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-15252993
2026-02-10 10:34:15 +00:00
Nate
ff124c293e fix: extract printCheckDiff helper to satisfy max-depth lint rule
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:05:29 -08:00
Nate
2587e61e60 refactor: remove --diff and --json flags, always show diffs
Diffs are now always included in the output for checks with commits.
Removes unnecessary --json and --diff flags to keep the CLI simple.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 20:58:58 -08:00
Nate
5a4e98f46b feat: add cn checks CLI command
Adds a new command to view CI check statuses, suggested diffs, and
accept/reject pending suggestions for a PR directly from the terminal.

Usage:
  cn checks [pr-url]              # List checks
  cn checks --diff [pr-url]       # Show diffs inline
  cn checks accept [pr-url]       # Accept pending suggestions
  cn checks reject [pr-url]       # Reject pending suggestions

Auto-detects PR from current git branch when no URL is given.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 20:29:51 -08:00
Dallin Romney
d585c3b8e8
feat(cli): curl/irl installation scripts and docs (#9835)
* feat: curl/irl scripts for installing Continue CLI

* fix: address code review comments for installation scripts

- Fix CLEANUP_FNM to only mark for cleanup if fnm dir doesn't pre-exist
- Guard FNM_DIR expansion with parameter substitution to avoid set -u errors
- Persist fnm PATH to user environment in PowerShell for future sessions
- Persist npm global bin PATH to user environment in PowerShell

Co-authored-by: dallin <dallin@continue.dev>

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

Co-Authored-By: Continue <noreply@continue.dev>

* feat: use CLIInstall component throughout guides and docs

* fix: cubic feedback typo

* docs: move node installation path into tab

* docs: move node installation path into tab

* fix: address cubic feedback

---------

Co-authored-by: RomneyDa <RomneyDa@users.noreply.github.com>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: continue[bot] <230936708+continue[bot]@users.noreply.github.com>
2026-02-05 19:07:57 -08:00
Nate
392a1fc42b .continue/agents 2026-02-05 11:07:47 -08:00
Dallin Romney
4f7a4c0634 chore: vscode 31 jetbrains 60 2026-02-03 21:13:11 -08:00
Dallin Romney
0397a446f3
Merge pull request #9968 from continuedev/move-token-adjustment-to-core
Move getAdjustedTokenCountFromModel from CLI to core
2026-02-03 13:31:58 -08:00
Dallin Romney
f8fa28f079
Merge pull request #10081 from continuedev/dallin/better-failed-default-config-error
fix: better failed default config error
2026-02-03 13:31:47 -08:00
Dallin Romney
2feadf82a7
Merge pull request #10034 from continuedev/snyk-upgrade-9831615f6ddd3c8f227c00bc58bac1da
[Snyk] Upgrade @electron/rebuild from 3.7.0 to 3.7.2
2026-02-03 13:23:37 -08:00
Dallin Romney
318cb66c5e Merge branch 'main' of https://github.com/continuedev/continue into move-token-adjustment-to-core 2026-02-02 23:47:02 -08:00
ian
0b6937a3b8
fix(cli): add SSL verification option for client transports (#9551)
* fix(mcp): add SSL verification option for client transports

Add support for disabling SSL verification when verifySsl flag is false by providing a custom HTTPS agent. This allows connections to servers with self-signed certificates or in development environments where SSL verification needs to be bypassed.

* Add tests for SSL verification handling in MCPService

* refactor: reorder imports in MCPService.ts

* chore: pull transport construction into new file

* fix: linting complexity

* fix: complexity for linting

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-02-02 22:18:39 -08:00
Dallin Romney
ad0c97ace9 Merge branch 'main' of https://github.com/continuedev/continue into dallin/better-failed-default-config-error 2026-02-02 22:15:26 -08:00
Dallin Romney
c46991f5ce Merge branch 'main' of https://github.com/continuedev/continue into snyk-upgrade-9831615f6ddd3c8f227c00bc58bac1da 2026-02-02 22:12:38 -08:00
Partha
9ac154d2a0
feat: Add OpenRouter Provider Support with Dynamic Model Loading (#8738)
* Add OpenRouter provider configuration to Add Model Form

* feat: add search functionality to model selection listbox

* Update gui/src/components/modelSelection/ModelSelectionListbox.tsx

ai suggestion

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: update isOpenSource determination based on hugging_face_id

* Trigger CI/CD

* refactor: propery cleanup openrouter

* feat: add initialization function for OpenRouter models

- Replaced the import of openRouterModelsList with getOpenRouterModelsList.
- Added a new function `initializeOpenRouterModels` to fetch and initialize OpenRouter models from the API.
- Updated the providers object with the fetched models upon successful retrieval.
- Added error handling to reset the models list in case of a fetch failure.

* feat: enhance OpenRouter model initialization with loading placeholder and effect hook

* fix: openrouter model fetching cleanup

* fix: open router model fetching cleanup

* lint: cli

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-02-02 21:59:44 -08:00
shanevcantwell
d80845c403
feat: add tool prompt override support in .continuerc.json (#9314)
* feat: add tool prompt overrides support in YAML model config

Adds per-model tool prompt overrides under chatOptions in YAML config:

```yaml
models:
  - name: my-model
    chatOptions:
      toolPromptOverrides:
        run_terminal_command:
          description: "Custom description"
        view_diff:
          disabled: true
```

This replaces the JSON-only implementation with YAML-only support as
requested by maintainers. The JSON implementation is preserved on the
`feature/tool-prompt-overrides-json` branch for reference.

Changes:
- Add toolOverrideSchema to chatOptionsSchema (packages/config-yaml)
- Add ToolOverride interface and toolPromptOverrides to LLMOptions (core)
- Store and apply overrides in BaseLLM.streamChat()
- Add applyToolOverrides utility with comprehensive tests

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

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

* feat(cli): add tool prompt overrides support for CLI parity

Apply toolPromptOverrides from YAML model config in CLI,
ensuring feature parity with VS Code extension.

- Add applyChatCompletionToolOverrides helper for CLI tool format
- Apply overrides in streamChatResponse before LLM calls
- Support description changes and disabling tools
- Add unit tests for override logic

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

* chore: package lock update

* ci: retrigger after hub 502

* refactor: rename toolPromptOverrides to toolOverrides

- Rename property across core, config-yaml, and CLI
- Consolidate ToolOverride type to extend ToolOverrideConfig from
  config-yaml instead of duplicating 7 fields
- Inline record-to-array conversion to match file patterns

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

* chore: retrigger CI (clean run)

* chore: revert gui package-lock to main

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

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-02-02 21:55:21 -08:00
Nate
eb7062f364 Rename cn check to cn review with UX improvements
- Rename command, files, types, functions, variables, and user-facing strings
  from "check" to "review" throughout the CLI
- Mount Ink progress UI immediately with a loading spinner instead of
  printing sequential "Computing diff..." / "Resolving reviews..." lines
- Switch worktree creation from execSync to async exec so reviews start
  concurrently instead of sequentially
- Fix timer regression where final duration jumped backward (use
  orchestrator wall-clock time instead of worker-internal duration)
- Tighten review agent prompt to strictly scope analysis to changed lines
  only, preventing agents from scanning/reporting on the entire codebase
- Remove redundant "# Review Results" / "All N reviews passed" text output
  when everything passes (already shown in the table)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 11:17:32 -08:00
Nate
c09caac71a Fix empty chat history in cn check workers
The worker built a local chatHistory array, but streamChatResponse
replaced it with the ChatHistoryService's empty history via
refreshChatHistoryFromService(). Use ChatHistoryService.addUserMessage()
so the messages are available when streamChatResponse reads them.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 02:11:57 -08:00
Nate
5534789dc0 Fix cn check workers exiting with code 1
Intercept --internal-check-worker flag before program.parse() so forked
worker subprocesses route to runCheckWorker() instead of hitting the
unknown command handler.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:58:11 -08:00
Nate
46b04cad4e Fix defunct hub.continue.dev URLs to point to continue.dev
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:56:19 -08:00
Nate
1eb4e36d61 Fix import order for check command
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:12:27 -08:00
Nate
8c4e140485 Register cn check as a CLI subcommand
The check command implementation existed but was never registered with
Commander.js, causing it to fall through to the default chat command.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:09:11 -08:00
Nate Sesti
a230e224f0
Merge pull request #10111 from continuedev/nate/cn-check-skill
Add cn-check skill for AI agent code checks
2026-02-02 00:48:50 -08:00
Nate
6c2dabe7de Fix lint errors in cn check command
- Reorder imports to satisfy import/order rule
- Prefix unused `reject` param with underscore
- Extract mountProgressUI and outputResultsAndExit to reduce check()
  complexity below threshold
- Replace != with strict equality and remove negated conditions
- Remove unused CheckResult import from checkWorker

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 00:38:25 -08:00
Nate
9b92973956 Add cn check command with live progress UI
Adds the full `cn check` CLI command for running AI agent checks
locally against working tree changes. Includes:

- check.ts: Main orchestrator — resolves checks, forks workers,
  mounts live Ink progress UI, renders final report
- CheckProgress.tsx: Ink component showing live table with status,
  braille loading animation, and elapsed timer per check
- checkWorker.ts: Forked worker process that runs an agent in an
  isolated worktree and captures its diff as a patch
- diffContext.ts: Computes git diff against base branch
- resolveChecks.ts: Discovers checks from Hub API, --agent flags,
  or local .continue/agents/*.md files
- worktree.ts: Creates/cleans up temporary git worktrees
- renderReport.ts: Formats results as text or JSON

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 00:27:40 -08:00
Dallin Romney
807d95dd3f
Merge pull request #9568 from yumosx/fix-lsof
fix(resource-monitoring): fix lsof file descriptor leak
2026-01-31 15:33:39 -08:00
Dallin Romney
d762690510 fix: move token adjustment to separate module 2026-01-31 15:17:30 -08:00
Dallin Romney
1459560415 chore: package lock 2026-01-31 15:06:48 -08:00
Dallin Romney
6108875600 fix: better failed default config error 2026-01-31 15:01:43 -08:00
Nate
92c593d1bf Merge remote-tracking branch 'origin/main' into nate/simplify-docs 2026-01-30 18:29:04 -08:00
Nate
f9feab110c Replace community Discord links with GitHub Discussions
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>
2026-01-30 17:19:56 -08:00
Dallin Romney
03e5fc3b92 chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
snyk-bot
2a3435aba3
fix: upgrade @electron/rebuild from 3.7.0 to 3.7.2
Snyk has created this PR to upgrade @electron/rebuild from 3.7.0 to 3.7.2.

See this package in npm:
@electron/rebuild

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-01-30 10:44:22 +00:00
Dallin Romney
88ffac60a0
Merge pull request #9945 from continuedev/snyk-upgrade-9decc1766015000fff508e59eab4aaeb
[Snyk] Upgrade systeminformation from 5.27.14 to 5.30.0
2026-01-29 09:03:08 -08:00
Dallin Romney
53bf1d682a chore: package bump ws" 2026-01-28 16:31:02 -08:00
Dallin Romney
129fd86049 chore: package bump system info"
push
2026-01-28 16:30:27 -08:00
RomneyDa
8da07defb4 Move getAdjustedTokenCountFromModel from CLI to core
- Moved getAdjustedTokenCountFromModel function from CLI tokenizer to core/llm/countTokens.ts
- Updated core countTokens() to use getAdjustedTokenCountFromModel for all models
- Added comprehensive tests for getAdjustedTokenCountFromModel in core
- Updated CLI tokenizer to import getAdjustedTokenCountFromModel from core
- Removed duplicate implementation and constants from CLI

This consolidates the token adjustment logic in one place and ensures
consistent token counting across CLI and core. The llama tokenizer is
now used for all models with appropriate multipliers for Claude (1.23x),
Gemini (1.18x), and Mistral family (1.26x) models.

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

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: dallin <dallin@continue.dev>
2026-01-28 06:27:16 +00:00
snyk-bot
418fd0346e
fix: upgrade ws from 8.18.0 to 8.19.0
Snyk has created this PR to upgrade ws from 8.18.0 to 8.19.0.

See this package in npm:
ws

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-01-27 09:19:00 +00:00
snyk-bot
6516b9c628
fix: upgrade systeminformation from 5.27.14 to 5.30.0
Snyk has created this PR to upgrade systeminformation from 5.27.14 to 5.30.0.

See this package in npm:
systeminformation

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-01-27 09:18:56 +00:00
Dallin Romney
a495aa256a
Merge pull request #9923 from uinstinct/flaky-hubloader
fix(cli): flaky hub loader tests
2026-01-26 13:08:45 -08:00
Dallin Romney
4b24af992b
Merge pull request #9832 from continuedev/dallin/vs30jb59
chore: vscode 30, jetbrains 59
2026-01-26 12:57:29 -08:00
Dallin Romney
3697d9f03a
Merge pull request #9663 from eliasto/ovhcloud/update-models-and-tool-calling
feat: Add new OVHcloud models
2026-01-26 12:42:20 -08:00
uinstinct
2fb88307ca fix(cli): flaky hub loader tests 2026-01-26 21:21:32 +05:30
Nate
737ac6fc7b Add detailed logging for metadata endpoint requests
Improves debugging capabilities for the metadata endpoint by logging
at info level with full URL, timing, request body, and response status.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 23:22:20 -08:00
Dallin Romney
5f370df867
Merge branch 'main' into ovhcloud/update-models-and-tool-calling 2026-01-25 22:16:10 -08:00