Commit graph

1110 commits

Author SHA1 Message Date
Nate Sesti
5519f27b6c
Add x-continue-unique-id header to LLM requests and normalize header casing (#8589)
* Add x-continue-unique-id header to LLM requests and normalize header casing

* fix: tests

* fix: tests
2025-11-04 12:05:37 -08:00
Aditya Mitra
1c7a816657
feat: remove auto-accept edits setting (#8310)
* feat: automatically accept file edit tools

* remove edit tools from tool policies ui

* remove checking for edit tool in tool policy section

* remove hiding of edit policies

* remove auto accept edit tool diffs

* fix tests

* re-run tests

* re-run tests

---------

Co-authored-by: Nate <sestinj@gmail.com>
2025-10-27 16:21:34 -07:00
Aditya Mitra
cc2a6c3f16
fix: show md rules and prompts in respective sections (#8178)
* fix: show md rules and prompts in respective sections

* Update core/config/markdown/loadMarkdownRules.ts

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

* Revert "Update core/config/markdown/loadMarkdownRules.ts"

This reverts commit cf0fabaf71eaf7f8c9456eb737dcb08c365c04c0.

* Revert "fix: show md rules and prompts in respective sections"

This reverts commit b19726baf78d35e9cf4c2fb5c1549127af66f868.

* fix: skip invokable prompt files

also read .md files from prompt folders

* remove debug statements

* simplify if block

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-27 15:25:03 -07:00
uinstinct
042395ef1b fix: only show free trial dialog for freetrial secrettype 2025-10-14 19:29:07 +05:30
Dallin Romney
a3e5a14bd2
fix: only log sentry errors on reload not load (#8202) 2025-10-13 22:40:00 -07:00
Nate Sesti
bcaf5cfeff
Rename "agent" terminology to "config" throughout the codebase (#8229)
* Rename "agent" terminology to "config" throughout the codebase

* chore: bump
2025-10-13 22:25:42 -07:00
Dallin Romney
0ecef51a82 fix: agent-file -> agentFile 2025-10-13 20:03:24 -07:00
Dallin Romney
7ebe1d174a
Merge pull request #8016 from joffeoja/remove_runtime_esbuild
build(vscode): remove bundled esbuild; require user-installed esbuild for config.ts
2025-10-13 14:13:36 -07:00
Nate Sesti
d192e61a55
feat: rehaul onboarding for updated billing (#7965)
* clean: remove dead code related to free trial

* out of credits dialog

* update models addon onboarding tab

* feat: rehaul onboarding for credits-based billing

* Update gui/src/components/OnboardingCard/components/OnboardingModelsAddOnTab.tsx

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

* Update gui/src/components/OnboardingCard/components/OnboardingModelsAddOnTab.tsx

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

* fix: credits bar direction

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-12 20:50:16 -07:00
Nate Sesti
16a3b978e7
Add isSignedIn to config reload telemetry (#8185) 2025-10-10 08:30:47 -07:00
Dallin Romney
b1bb2b1914
Merge branch 'main' into remove_runtime_esbuild 2025-10-09 13:53:01 -07:00
Nate Sesti
f56d2b0a7b
fix: improvements to next edit (#8129)
* refactor: autocomplete feedback

* fix: don't hardcode outcome to false on aborted completion

* fix: correctly parse out backticks

* fix: correctly parse out backticks

* fix: next edit diff formatting

* fix: reduce context lines

* improv: track profile type for autocomplete

* fix: lint err

* fix: test
2025-10-08 13:09:50 -07:00
continue[bot]
9164448c73
Add apiKey field to mcpServers block schema for Bearer token auth (#8120)
Add apiKey field to mcpServers schema and implement Bearer token auth

- Add apiKey field to sseOrHttpMcpServerSchema in packages/config-yaml
- Update MCPConnection.ts to merge apiKey as Bearer token in Authorization header
- Update CLI MCPService to merge apiKey as Bearer token in Authorization header
- Add apiKey to InternalSseMcpOptions and InternalStreamableHttpMcpOptions types
- Update yamlToContinueConfig converter to pass through apiKey field

Fixes CON-4281

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

Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: nate <nate@continue.dev>
2025-10-08 08:33:30 -07:00
Tomasz Stefaniak
9b4224d50d
Merge pull request #8073 from continuedev/tomasz/fix-rules-and-prompts
Detect invokable rules located in 'prompts' directory
2025-10-06 10:51:21 -07:00
Tomasz Stefaniak
25b1253195 fix: formatting 2025-10-02 13:35:57 -07:00
Tomasz Stefaniak
c5db90e9fc improv: clean up code 2025-10-02 13:28:55 -07:00
Tomasz Stefaniak
494ecfddf6 improv: make prompts and rules directories interchangeable 2025-10-02 13:14:14 -07:00
Nate Sesti
89826f0fea
fix: filter out markdown delimiters from next edit responses (#8056)
* fix: filter out markdown delimiters from next edit responses

* fix: silence noisy console logs (debug now) and capture accept/reject feedback

* fix: console.log -> debug

* fix: console.log -> debug

* fix feedback

* fix: respect Telemetry

* requestId

* fix: lint

* bump
2025-10-01 22:52:18 -07:00
Dallin Romney
d1528356d7 fix: merge conflicts 2025-10-01 11:34:09 -07:00
Keerthana Panyam
b461fdc3cd
feat: added UI for global rule creation (#7467)
feat: add rule scope dropdown for global rule creation

- added global mode toggle
- implemented conditional styling (white when enabled, gray when disabled)
feat: improve global rules UI and fix debug mode issues

- added dropdown button component to switch between global and workspace rule creation.
- fixed global rules creation to use nested rules/ subdir in debug mode
- prevent default glob patterns for global rules by returning undefined globs
- generate unique rule names for global rules
- added watcher for rules in global directory
2025-10-01 11:03:10 -07:00
Dallin Romney
caaff16fbd Merge branch 'main' of https://github.com/continuedev/continue into dallin/con-4022-hide-empty-prompts-resources 2025-10-01 09:39:23 -07:00
joffeoja
8b1d347336 fix(core): only show esbuild install hint when config.ts is customized 2025-10-01 05:54:30 +02:00
Dallin Romney
4afcf200a9
feat: include mcp loading errors in config loading errors (#8017) 2025-09-30 20:03:08 -07:00
Dallin Romney
fac7f5c449
feat: tool call args preprocessing (#7992)
* feat: preprocess tool call args

* fix: broken multi edit impl

* fix: preprocess test failures

* fix: preprocessing tests

* fix: tool calls test progress

* fix: tests using mock store

* fix: thunk tests working

* fix: mock ide messenger tests
2025-09-30 18:49:29 -07:00
Dallin Romney
9f92dbdc8d fix: load codebase rules tests: use URIs 2025-09-29 19:49:42 -07:00
Dallin Romney
1c43796518 fix: markdown rules and top level agents 2025-09-29 17:38:49 -07:00
Dallin Romney
c75262e692 ruleFile -> sourceFile 2025-09-29 16:05:05 -07:00
Dallin Romney
a7e392bdde feat: better settings page and open settings fixes 2025-09-29 15:59:46 -07:00
joffeoja
c2d4ab1330 fix(core): require user-installed esbuild for config.ts; show install hint if missing 2025-09-29 22:27:51 +02:00
continue[bot]
5b0f475b75
fix: fix prompt creation to use new markdown format (#7920)
* Fix prompt creation to use new markdown format instead of YAML

- Added createPromptMarkdown function to generate markdown prompts with frontmatter
- Updated workspaceBlocks to use .md extension and markdown format for prompts
- Changed prompt creation from old YAML format to new markdown format with name, description, and invokable properties
- Updated tests to reflect the new markdown format expectations
- Prompts now generate with proper frontmatter: name, description, invokable: true

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

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

* fix: use jest

---------

Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-09-26 16:41:33 -07:00
Dallin Romney
8519483220 Merge branch 'main' of https://github.com/continuedev/continue into dallin/JSON-MCP-support 2025-09-25 15:54:01 -07:00
Nate Sesti
268329a944
feat(cli): enhance /init command to create custom slash command (#7888)
* feat(cli): enhance /init command to create custom slash command

Update the /init slash command prompt to also create a custom "review"
slash command file at .continue/rules/review.md with invokable frontmatter
and review-focused instructions.

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

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

* fix: address feedback

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-25 11:39:57 -07:00
Dallin Romney
92c866f647 fix: file create/delete config loading triggers 2025-09-24 19:16:37 -07:00
Dallin Romney
b5300b592f fix: request options for json mcps 2025-09-24 18:40:18 -07:00
Dallin Romney
ac45506dd3 fix: cleanup 2025-09-24 15:39:27 -07:00
Dallin Romney
7b5ae7a50f fix: MCP types and sse/http fallback logic 2025-09-24 15:30:08 -07:00
Dallin Romney
95e4a47f97 fix: mcp types and conversions 2025-09-24 13:32:34 -07:00
Dallin Romney
8b9b72de7b feat: yaml <-> json conversion functions 2025-09-24 11:26:31 -07:00
Dallin Romney
404f8d7981 feat: mcp json config types 2025-09-23 20:36:25 -07:00
Nate Sesti
37a4fb7baa
Move rule-to-slash-command conversion from YAML loading to config loading (#7871)
* Move rule-to-slash-command conversion from YAML loading to config loading

* Update core/config/profile/doLoadConfig.ts

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

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-22 16:36:10 -07:00
Nate Sesti
1f6276d418
feat: support for AGENTS.md (#7717)
* feat: support for AGENTS.md

* chore: rules source display name cleanup

* refactor: use constant

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-09-22 15:58:45 -07:00
Dallin Romney
238d03f0b6
Merge pull request #7651 from JonZeolla/feat/oauth/redirect_uri
feat(oauth): use asExternalUrl to get the correct callback
2025-09-22 13:32:10 -07:00
Dallin Romney
21aaa0c93c Merge branch 'main' of https://github.com/continuedev/continue into dallin/search-replace-fallbacks-v2 2025-09-20 01:15:50 -07:00
Nate Sesti
b12499cb0e
feat: show remote sessions in cn ls (#7694)
* feat: /title slash command

* fix: /title slash command should be able to be submitted with text

* test: add tests for last commit's changes

* fix: EOF in action.yml

* feat: list remote sessions in cn ls and /resume

* feat: load more sessions and make them scrollable

* chore: format

* improv: debug script builds automatically for cli

* feat: load remote session

* fix: wrap entrypoint in function so it doesn't run at import-time

* feat: /diff and /apply slash commands for cn remote

* feat: full screen diff viewer

* feat: status message for /apply slash command

* Update extensions/cli/src/ui/UserInput.tsx

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

* fix: remove console.logs

* Potential fix for code scanning alert no. 60: Uncontrolled command line

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for code scanning alert no. 61: Uncontrolled command line

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* fix: build.js

* feat: list remote sessions in history of extensions

* feat: open remote agents in browser

* chore: fix tests and lint

* fix: import Text

* fix: small bug

* fix: address feedback

* fix: adjust extension gui for compatibility with cli session history

* feat: load session history from remote

* feat: open remote session in browser

* fix: tests, linting, formatting

* fix: don't use any

* address nitpicks

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-19 22:44:26 -07:00
Dallin Romney
5e60a13322 feat: continue error for better search and replace errors 2025-09-18 23:35:20 -07:00
Dallin Romney
b842a21708
feat: global req (#7414)
* feat: yaml global requestOptions schema

* feat: merge request options

* fix: config yaml request options cleanup

* fix: mcp request options logic and tests

* feat: inject request options from unroll options

* fix: tests and new tests for merge

* feat: inject request options

* fix: prettier

* chore: package-lock

* chore: package lock

* fix: package lock

* fix: package lock
2025-09-17 10:57:40 -07:00
Tomasz Stefaniak
3215706655
Merge pull request #7711 from continuedev/tomasz/con-3887
Add invokable rules
2025-09-11 12:47:42 -07:00
Nate Sesti
bcc5600f29
Merge pull request #7660 from continuedev/pe/autoformat-results
feat: add autoformatting detection for edit tools
2025-09-11 10:36:09 -07:00
Tomasz Stefaniak
e569e3a0c6 fix: formatting 2025-09-11 10:34:37 -07:00
Tomasz Stefaniak
21f78907c3 feat: invokable rule 2025-09-11 10:12:20 -07:00