Commit graph

1103 commits

Author SHA1 Message Date
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
Dallin Romney
7e9dc30748 fix: iterations on notch updates - create agent vs assistant, skip gui tests for now 2025-09-09 20:27:50 -07:00
Patrick Erichsen
77c51f4268 Merge remote-tracking branch 'origin/main' into pe/autoformat-results 2025-09-09 11:33:36 -07:00
Patrick Erichsen
ebded1fc67 Add autoformatting detection for edit tools
Implement autoformatting detection similar to Cline's approach to improve reliability of edit operations. When edit tools (multiEdit/editFile) are executed, the system now captures file content before and after save operations to detect editor autoformatting changes.

Key changes:
- Add `createPrettyPatch` utility using existing `myersDiff` function
- Capture pre/post save content in `processDiff.ts`
- Add `autoFormattingDiff` field to `ApplyState` protocol
- Include autoformatting diff in tool responses with guidance for language model
- Help prevent future edit failures due to undetected formatting changes

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 11:11:04 -07:00
Jon Zeolla
ada6cdd386 feat(oauth): use asExternalUrl to get the correct callback 2025-09-09 08:24:19 -04:00
Dallin Romney
e1d349cad7
Merge pull request #7409 from Jazzcort/fix-ideSettings-updating
Fix: Updated ideSettings didn't get passed properly
2025-09-08 21:13:11 -07:00
Dallin Romney
a553c57a48 Merge branch 'main' of https://github.com/continuedev/continue into dallin/indexing-and-mcp-org-settings-CON-3282 2025-09-03 15:26:12 -07:00
Jazzcort
712b7bcfd5 Fix: Refactor dependency injection for settings and clients
This commit refactors how IdeSettings and ControlPlaneClient are accessed throughout
the configuration system to improve state management and reduce coupling.

Previously, ideSettingsPromise was passed down from the top-level ConfigHandler
through various profile loaders and clients. This created a rigid dependency chain
and required manual promise replacement when settings were updated. Similarly,
downstream components could hold onto stale instances of ControlPlaneClient after a
change in authentication state.

The key changes are:
  - Removed ideSettingsPromise prop drilling: Components that require IDE settings
    now fetch them directly from the IDE object (ide.getIdeSettings()) when
    needed.

  - Updated globalLocalProfileManager during every cascadeInit: This ensures it
    always holds the most recent ControlPlaneClient, preventing issues with stale
    client objects after re-authentication.

  - Simplified constructors: The constructors for ConfigHandler, ControlPlaneClient,
    and various loaders have been simplified to reflect these changes, primarily by
    passing the IDE object directly instead of its derived promises.
2025-09-03 09:15:47 -04:00