Commit graph

1081 commits

Author SHA1 Message Date
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
Aditya Mitra
b84888bd5b
chore: use system message tools by default (#7236)
* when native tools are present, prevent system message tools

* make onlyusesystemmessagetools on by default

* add tests

* setting defaults to false

* use system message tools when model does not support native tools

* remove system message info from docs

* correction

* remove the seleectUseSystemMessageTools selector

* native tool support enabled for claude

* cleanup `useSystemTools` variable

* remove `claude` from openrouter toolsupport

* fix: bad merge

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-08-27 15:41:35 -07:00
Dallin Romney
4b7af07ce3
Merge pull request #7315 from uinstinct/tool-call-skip
feat: continue tool calls after rejection
2025-08-27 13:36:35 -07:00
Dallin Romney
3bf58bd305 merge: main 2025-08-25 16:15:37 -07:00
Dallin Romney
28c6622b96
Merge pull request #7393 from continuedev/dallin/autodetect-naming
fix: show autodetected in model titles
2025-08-25 15:02:16 -07:00
Dallin Romney
b25d4af78b
Merge pull request #7267 from continuedev/dallin/search_and_replace_makeover
feat: multi edit and single search and replace tools
2025-08-25 15:01:05 -07:00
Dallin Romney
bf8b4bd8c1 fix: pass autodetected around as boolean 2025-08-25 14:48:42 -07:00
Dallin Romney
fba873e50e
fix: HOTFIX local assistant loading (#7354)
* fix: local assistant loading

* fix: no need for excluding .continue/.continue

* test: cases for config.yml and config.yaml names
2025-08-25 11:52:07 -07:00
Dallin Romney
75186ddadb fix: show autodetected in model titles 2025-08-25 10:58:37 -07:00
uinstinct
1a88803ea5 Merge branch 'main' into tool-call-skip 2025-08-25 18:27:53 +05:30
Dallin Romney
be0c0d585b merge: main 2025-08-22 12:36:32 -07:00
uinstinct
9e28c7a4eb feat: continue tool calls after rejection 2025-08-22 09:14:23 +05:30
Dallin Romney
a5919e7436 fix: unknown context provider file 2025-08-21 18:04:18 -07:00
Dallin Romney
8d6eed6b86
Merge branch 'main' into dallin/indexing-and-mcp-org-settings-CON-3282 2025-08-21 17:22:26 -07:00
Dallin Romney
f4f9b317e2
Merge pull request #7224 from continuedev/dallin/context-defaults
feat: update default-included context providers
2025-08-20 17:53:50 -07:00
Dallin Romney
d6ed405d0c feat: multi edit and single search and replace tools 2025-08-20 16:09:31 -07:00
Aditya Mitra
1ce60a0091
feat: select assistant polishes (#7218)
* add login logout buttons and remove padding

* remove logout button from list

* create a new assistant file when signed out

* added tooltip and hover
2025-08-19 12:45:33 -07:00
Dallin Romney
50b0dec9c4 feat: org policies for indexing and mcp 2025-08-19 01:20:11 -07:00
Dallin Romney
625ec8c186 fix: exclude problems and terminal on jetbrains 2025-08-18 18:22:13 -07:00
Dallin Romney
3d942da4c2
Merge branch 'main' into dallin/context-defaults 2025-08-18 17:17:03 -07:00
Dallin Romney
73fdf19de8
feat: rebrand assistants as agents (#7227)
* feat: rebrand assistants as agents

* fix: assitant-agent cleanup part 1

* fix: file references

* fix: missing file reference in config yaml tests

* chore: assistant -> agent cleanup
2025-08-18 16:25:30 -07:00
Shawn Smith
a4c4f79fd0
fix: 🔒 Simpler fix to exclude search_web tool to signed in users (#7165)
* fix: 🔒 Simpler fix to exclude search_web tool to signed in users

* fix: 💡 Revise comment to clarify only sign in is required
2025-08-18 16:22:20 -07:00
Dallin Romney
76710d19dc fix: binary typescript issue 2025-08-18 16:20:23 -07:00