Commit graph

936 commits

Author SHA1 Message Date
Nate Sesti
0a5acb1f32
feat: add token usage tracking to OpenAI adapter (#7900)
* feat: add token usage tracking to OpenAI adapter

- Modified OpenAI adapter to properly handle and emit usage chunks in streaming responses
- Added logic to store usage chunks and emit them at the end of the stream
- Verified Anthropic and Gemini adapters already have complete token usage implementations
- Added comprehensive tests for token usage tracking across all three providers
- All tests passing with provided API keys

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

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

* fix: tests

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-12 16:52:37 -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
Dallin Romney
fec051027b
Merge pull request #8069 from continuedev/dallin/workflow-files
CLI workflows
2025-10-05 23:44:39 -07:00
Nate Sesti
e78cca5d38
feat: add API key authentication support for Bedrock provider (#8101) 2025-10-05 16:53:49 -07:00
Nate Sesti
33e39b5b16
feat: add OpenRouter API with Anthropic prompt caching support (#8100) 2025-10-05 16:09:28 -07:00
Dallin Romney
89e2573c49 fix: cubic feedback for workflow files 2025-10-04 14:45:49 -07:00
Dallin Romney
f6d353fb28 Merge branch 'main' of https://github.com/continuedev/continue into dallin/workflow-files 2025-10-03 18:04:49 -07:00
Dallin Romney
452e01204f feat: tool permissions from workflow files 2025-10-02 12:23:07 -07:00
Patrick Erichsen
0aee4f756d
feat: add opt serverName for registry MCP servers (#8037)
Update index.ts
2025-10-02 12:22:11 -07:00
Dallin Romney
e27ef739ff feat: workflow file parsing and serializing 2025-10-02 10:54:22 -07:00
Dallin Romney
598b7ab0c3 Merge branch 'main' of https://github.com/continuedev/continue into dallin/workflow-files 2025-10-02 10:21:29 -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
389664ddf5 fix: deprecate gemini 1.5 2025-10-01 10:46:51 -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
Dallin Romney
3069735ac5 feat: workflow files part 1 2025-09-30 21:48:36 -07:00
dependabot[bot]
3185a4a1b5
chore(deps): bump axios and @openapitools/openapi-generator-cli
Bumps [axios](https://github.com/axios/axios) to 1.12.2 and updates ancestor dependency [@openapitools/openapi-generator-cli](https://github.com/OpenAPITools/openapi-generator-cli). These dependencies need to be updated together.


Updates `axios` from 1.8.4 to 1.12.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.8.4...v1.12.2)

Updates `@openapitools/openapi-generator-cli` from 2.19.1 to 2.24.0
- [Release notes](https://github.com/OpenAPITools/openapi-generator-cli/releases)
- [Changelog](https://github.com/OpenAPITools/openapi-generator-cli/blob/master/.releaserc)
- [Commits](https://github.com/OpenAPITools/openapi-generator-cli/compare/v2.19.1...v2.24.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.2
  dependency-type: indirect
- dependency-name: "@openapitools/openapi-generator-cli"
  dependency-version: 2.24.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 18:24:12 +00:00
Dallin Romney
c0922151ce Merge branch 'main' of https://github.com/continuedev/continue into dallin/con-4022-hide-empty-prompts-resources 2025-09-30 02:27:27 -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
Nate Sesti
7d981646ae
Remove duplicate block detection error reporting (#8011) 2025-09-29 10:54:40 -07: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
e734ad71ca
fix: json mcp loading (#8002) 2025-09-26 14:12:25 -07:00
Dallin Romney
c286e046f4 fix: core mcp test with invalid type 2025-09-25 17:45:57 -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
Dallin Romney
306ed9f1e3
fix: llm-info preferred provider (#7962)
* fix: llm-info preferred provider

* fix: cubic feedback
2025-09-25 14:12:17 -07:00
Dallin Romney
da48de61db fix: type issues 2025-09-25 12:55:41 -07:00
Dallin Romney
ef9e7ad7f7 fix: support top level claude code mcp servers 2025-09-25 11:49:49 -07:00
Dallin Romney
f1253a74e1 feat: claude code mcp json format support 2025-09-24 19:50:11 -07:00
Dallin Romney
0e7e8dab76 fix: circular config-yaml import 2025-09-24 17:56:18 -07:00
Dallin Romney
df59dcc80c
Merge pull request #7925 from continuedev/dallin/grok-model-updates
feat: grok model updates
2025-09-24 17:42:34 -07:00
Dallin Romney
99ea620752 fix: add env var mapping for mcp json to yaml and vice versa 2025-09-24 17:36:18 -07:00
Dallin Romney
f995a0e45f fix: cubic feedback, lint, format 2025-09-24 16:55:18 -07:00
Dallin Romney
6c211718ea merge main 2025-09-24 15:36:59 -07:00
Dallin Romney
7b5ae7a50f fix: MCP types and sse/http fallback logic 2025-09-24 15:30:08 -07:00
Ting-Wai
e1520addaa
Merge pull request #7809 from TensorNull/feat/cometapi
✨ add CometAPI as Model Provider
2025-09-24 14:11:22 -07:00
Dallin Romney
1d7faa9176 feat: yaml to json conversions with tests 2025-09-24 13:46:34 -07:00
Dallin Romney
95e4a47f97 fix: mcp types and conversions 2025-09-24 13:32:34 -07:00
Shawn Smith
d1973e3a6a
fix: HOTFIX 🚑 Fix crypto error (#7938)
* fix: 🚑 Fix crypto error

* fix: 🎨 Prettier

* fix: 🐛 Fix broken test
2025-09-24 13:06:58 -07:00
Dallin Romney
2a77e6de60
feat: clean up anthropic messaging (#7799)
* fix: include message content when tool calls present

* chore: use buildTextPart more

* fix: HOTFIX text parts for anthropic openai adapter

* fix: anthropic types

* fix: response.json assumption for anthropic

* fix: test mocks

* fix: address cubic feedback

* fix: anthopric tests

* fix: prettier
2025-09-24 12:57:10 -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
TensorNull
bcd4981660
Merge branch 'main' into feat/cometapi 2025-09-24 10:26:16 +08:00
Dallin Romney
f8cfba0dbe chore: bump llm-info 2025-09-23 17:40:59 -07:00
Dallin Romney
e49eb5cffa Revert "fix: revert llm info changes (see 7937)"
This reverts commit 93a2668b17.
2025-09-23 17:40:40 -07:00
Dallin Romney
93a2668b17 fix: revert llm info changes (see 7937) 2025-09-23 17:38:25 -07:00
Dallin Romney
83651df7ce fix: cubic feedback 2025-09-23 17:34:04 -07:00
Dallin Romney
1e3bf050d2 feat: grok model additions 2025-09-23 14:08:17 -07:00
Dallin Romney
7f220737ba
Merge pull request #7811 from uinstinct/ollama-v1
fix(cli): append /v1 to ollama endpoint
2025-09-22 14:40: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
Nate Sesti
d78fc99087
feat: add Mercury Apply endpoint support to Inception LLM (#7827)
* feat: add Mercury Apply endpoint support to Inception LLM

* refactor: begin to clean up the apply / streamDiff code

* fix: undo commenting out of instant apply

* fix: use underlyingProviderName
2025-09-18 23:44:25 -07:00