Commit graph

20561 commits

Author SHA1 Message Date
Dallin Romney
f8ed42f7a4
Merge pull request #9027 from continuedev/snyk-upgrade-aws-sdk-packages
Upgrade AWS SDK packages to 3.931.0
2025-12-10 10:44:10 -08:00
Dallin Romney
ff5d166c83
Merge pull request #9080 from continuedev/snyk-upgrade-df9d51333968970981e8f6c9cf4d7377
[Snyk] Upgrade @tiptap/extension-image from 2.26.1 to 2.27.1
2025-12-10 10:40:04 -08:00
Patrick Erichsen
291f8f5dd2
fix: ensure cross-target LanceDB binaries are correctly copied (#9100)
* fix: install lancedb binary for cross-target builds

* chore: add temporary darwin build workflow

* chore: remove temporary darwin workflow

* fix: prettier formatting in prepackage.js

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

* fix: ensure cross-target LanceDB binaries copied

* fix: retain target lancedb binary in vsix

* Update prepackage.js

* fix: install LanceDB packages sequentially in binary build

The previous code ran installAndCopyNodeModules in parallel for all
targets, but they all write to node_modules/@lancedb. This caused
race conditions where files could be partially written or empty.

Changed to sequential installation to prevent file corruption.

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

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

* chore: add diagnostic logging for lancedb copy

* chore: add detailed diagnostics to install-copy-nodemodule

* fix: remove cached lancedb before fresh copy

ncp's clobber option doesn't reliably overwrite cached files.
Delete destination directory before copying to ensure fresh install.

* chore: clean up diagnostic code, keep fix for cached lancedb

Root cause: ncp doesn't reliably overwrite cached files.
Fix: Remove destination directory before copying fresh lancedb binaries.

---------

Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com>
Co-authored-by: nate <nate@continue.dev>
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-10 10:39:42 -08:00
Dallin Romney
eb1e581cb9
Merge pull request #9104 from continuedev/dependabot/github_actions/peter-evans/create-pull-request-8
chore(deps): bump peter-evans/create-pull-request from 7 to 8
2025-12-10 10:38:16 -08:00
dependabot[bot]
403714e593
chore(deps): bump peter-evans/create-pull-request from 7 to 8
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7 to 8.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-10 09:09:25 +00:00
Nate Sesti
961499e1c7
Merge pull request #9096 from claserken/nes-latest-diff-fix
Fix nextedit user edit tracking to include latest and very first diffs
2025-12-09 17:49:57 -08:00
Nate Sesti
ca721c39a9
Merge pull request #9093 from continuedev/feat/per-message-cost-tracking
feat: capture and attach usage metadata to assistant messages
2025-12-09 15:11:01 -08:00
continue[bot]
2ae2f80af6 fix: refactor handleToolCalls to use options object to satisfy max-params lint rule
- Grouped function parameters into HandleToolCallsOptions interface
- Reduced parameter count from 6 to 1 (options object)
- Updated call site in streamChatResponse.ts to use new signature

Co-authored-by: nate <nate@continue.dev>
2025-12-09 22:59:03 +00:00
Nate
7f9ef3694d feat: capture and attach usage metadata to assistant messages
Add per-message cost tracking by capturing usage data from LLM API
responses and attaching it to assistant messages when saved to session.

- Update addAssistantMessage to accept usage parameter
- Modify handleToolCalls to pass usage to message creation
- Enhance processStreamingResponse to return usage with model and cost
- Calculate cost in cents and include model name in usage metadata

This enables the control plane cost analysis page to display accurate
per-message costs without client-side token estimation.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-09 14:36:24 -08:00
Kenan Hasanaliyev
14d935ddcb
Merge branch 'continuedev:main' into nes-latest-diff-fix 2025-12-09 13:37:16 -08:00
Nate Sesti
4ab3cfc47c
Merge pull request #9086 from continuedev/sestinj-patch-5
Rename workflow from 'cn-test' to 'cn'
2025-12-09 12:06:37 -08:00
Nate Sesti
3a09030a87
Rename workflow from 'cn-test' to 'cn' 2025-12-09 12:06:22 -08:00
continue[bot]
887410e5b2 fix: resolve lint issues in vscode extension files
- Fix import order in VsCodeIde.ts (util/util before util/vscode)
- Fix negated conditions to use early returns
- Add void operator to unhandled promise calls
- Improve code clarity by using positive conditionals

These lint issues were introduced in PR #9077 and are unrelated to the
@tiptap/extension-image upgrade in this PR.

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

Co-authored-by: nate <nate@continue.dev>
2025-12-09 08:38:14 +00:00
continue[bot]
8f28688651 fix: update package-lock.json for @tiptap/extension-image upgrade
Generated with [Continue](https://continue.dev)

Co-authored-by: nate <nate@continue.dev>
2025-12-09 08:30:08 +00:00
snyk-bot
d159f9fdf7
fix: upgrade @tiptap/extension-image from 2.26.1 to 2.27.1
Snyk has created this PR to upgrade @tiptap/extension-image from 2.26.1 to 2.27.1.

See this package in npm:
@tiptap/extension-image

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/c5fb30df-a06c-44cb-83af-5ada5ff6e4a9?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-09 08:24:23 +00:00
Nate Sesti
16b12305cf
Merge pull request #9077 from continuedev/nate/add-artifact-upload-feature
Add artifact upload feature to CLI for agent sessions
2025-12-08 22:24:43 -08:00
Nate
cd538eb230 update tool description 2025-12-08 22:24:30 -08:00
Nate
b5da44ddd6 fix(cli): resolve circular dependency in uploadArtifact tool
The uploadArtifact tool was importing services at the module level,
creating a circular dependency:
services/index.ts -> ToolPermissionService -> allBuiltIns -> uploadArtifact -> services/index.ts

This caused ToolPermissionService to be undefined when instantiated,
resulting in "ToolPermissionService is not a constructor" errors
in all ToolPermissionService tests.

The fix moves the services import inside the run() function where
it's actually used, breaking the circular dependency while
maintaining the same functionality.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-08 20:32:14 -08:00
continue[bot]
3875a472fc Fix ToolPermissionService mock to avoid constructor error
Replaces 'vi.mocked(new ToolPermissionService())' with a plain mock object
containing the necessary methods. This fixes the 'ToolPermissionService is
not a constructor' error that was causing all tests to fail.

Also adds getState method to artifactUpload mock for completeness.

Co-authored-by: nate <nate@continue.dev>
2025-12-09 00:51:45 +00:00
continue[bot]
f02a8bc8eb Move betaUploadArtifactTool to BaseCommandOptions
Fixes TypeScript error: 'Property betaUploadArtifactTool does not exist on type BaseCommandOptions'

ServiceInitOptions.options is typed as BaseCommandOptions, so betaUploadArtifactTool
needs to be in BaseCommandOptions rather than ExtendedCommandOptions.

Co-authored-by: nate <nate@continue.dev>
2025-12-09 00:43:08 +00:00
continue[bot]
5920c66ea3 Add artifactUpload service to test mocks
- Adds artifactUpload mock to services object with uploadArtifact and uploadArtifacts methods
- Adds ARTIFACT_UPLOAD to SERVICE_NAMES mock

This ensures tests that import services or SERVICE_NAMES don't fail due to missing mock definitions.

Co-authored-by: nate <nate@continue.dev>
2025-12-09 00:33:38 +00:00
continue[bot]
7123eef807 Fix ArtifactUploadService to extend BaseService
- Makes ArtifactUploadService extend BaseService<ArtifactUploadServiceState>
- Implements doInitialize() instead of initialize()
- Uses currentState instead of private state field
- Removes custom setState method in favor of BaseService's setState

This aligns the service with the architecture pattern used by other services
in the CLI (UpdateService, ConfigService, etc.)

Co-authored-by: nate <nate@continue.dev>
2025-12-09 00:21:34 +00:00
Nate
85a4a69ebe Add artifact upload feature to CLI for agent sessions 2025-12-08 16:01:13 -08:00
Nate Sesti
932681bcab
Merge pull request #9069 from continuedev/nate/runloop-blueprint-name-and-arch-changes
fix(runloop): hardcode amd64 architecture and update blueprint name to cn-test
2025-12-08 12:37:00 -08:00
Nate
d10594f6cd fix(runloop): hardcode amd64 architecture and update blueprint name to cn-test 2025-12-08 11:48:56 -08:00
Nate Sesti
b38b5f7ab9
Merge pull request #9068 from continuedev/add-gh-cli-to-runloop-blueprint
Add GitHub CLI to Runloop blueprint
2025-12-08 10:58:15 -08:00
Dallin Romney
efc0a720ca
Merge pull request #9061 from Broco98/fix/intelliJ-keymap-concurrency
fix(intellij): Prevent ConcurrentModificationException in keymap access
2025-12-08 10:47:49 -08:00
Patrick Erichsen
9e65f82131
Fix/lancedb cross target (#9033)
* fix: install lancedb binary for cross-target builds

* chore: add temporary darwin build workflow

* chore: remove temporary darwin workflow

* fix: prettier formatting in prepackage.js

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

* fix: ensure cross-target LanceDB binaries copied

* fix: retain target lancedb binary in vsix

* Update prepackage.js

---------

Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com>
Co-authored-by: nate <nate@continue.dev>
2025-12-08 10:42:08 -08:00
Dallin Romney
684b5381fc
Merge pull request #9052 from beDmitry/exthost_stuck_for_js_ts_bugfix
fix: issue 3753 for .js and .ts file types
2025-12-08 10:41:30 -08:00
continue[bot]
0438a1a33c Trigger CI re-run for flaky macOS tests
The previous CI run failed on macOS Node.js 18/22 tests which are known
to be flaky and unrelated to the blueprint JSON configuration change.

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

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

Co-Authored-By: Continue <noreply@continue.dev>
2025-12-08 18:41:10 +00:00
Dallin Romney
a34a2fa0ef
Merge pull request #9012 from Cozmopolit/fix/azure-anthropic-support
fix(anthropic): support Azure-hosted Anthropic endpoints
2025-12-08 10:38:31 -08:00
Dallin Romney
822a823e94
Merge pull request #9048 from continuedev/snyk-upgrade-b3b4e19dd46c8a603d6c9d57fd1446d7
[Snyk] Upgrade @tiptap/extension-history from 2.26.1 to 2.27.1
2025-12-08 10:35:03 -08:00
Dallin Romney
f98ef55f93
Merge pull request #9062 from continuedev/snyk-fix-8e8ebf65a676d785d0d7d1635a746715
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.0
2025-12-08 10:34:11 -08:00
Dallin Romney
481749647c
Merge pull request #9032 from continuedev/update-readme-cli-1.2
docs: add CLI quick install section to README for v1.2
2025-12-08 10:31:32 -08:00
Dallin Romney
cb7eeeeeb3
Merge branch 'main' into snyk-upgrade-aws-sdk-packages 2025-12-08 10:30:43 -08:00
continue[bot]
82e8d30768 Add GitHub CLI to Runloop blueprint system setup
Pre-install gh CLI in the Runloop blueprint to enable PR creation
and other GitHub operations directly from the environment.

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

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

Co-Authored-By: Continue <noreply@continue.dev>
2025-12-08 18:26:26 +00:00
snyk-bot
df86ba8297
fix: packages/continue-sdk/python/api/requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-14192442
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-14192443
2025-12-08 08:04:54 +00:00
김효연
5d1cd00103 fix(intellij): Prevent ConcurrentModificationException in keymap access 2025-12-08 15:39:24 +09:00
Nate Sesti
08e2688d08
Merge pull request #9056 from continuedev/nate/fix-devbox-session-resume-initial-prompt
feat(cli): prevent initial prompt replay on devbox resume
2025-12-07 16:50:36 -08:00
continue[bot]
00b665f089 fix(cli): use logger.info instead of console.log for consistency
Replace console.log with logger.info for initial prompt messages to
maintain consistency with codebase logging practices.

Co-authored-by: nate <nate@continue.dev>
2025-12-07 19:15:08 +00:00
Nate
2e2fc51082 feat(cli): prevent initial prompt replay on devbox resume 2025-12-07 11:10:53 -08:00
Nate Sesti
b9332d72db
Merge pull request #9055 from continuedev/nate/feat-session-id-persistence
feat(cli): add session ID support for serve command to persist chat history
2025-12-07 10:20:31 -08:00
Nate
09deed45dd feat(cli): add session ID support for serve command to persist chat history 2025-12-07 10:10:53 -08:00
beDmitry
cb4db878b8 fix: make tree-sitter lookup in .js and .ts files pick up only last preceding comment before code block 2025-12-06 09:42:53 -05:00
continue[bot]
e60c23ed36 Update gui/package-lock.json for @tiptap/extension-history upgrade
Co-authored-by: nate <nate@continue.dev>
2025-12-06 07:21:29 +00:00
snyk-bot
a9e7f3311e
fix: upgrade @tiptap/extension-history from 2.26.1 to 2.27.1
Snyk has created this PR to upgrade @tiptap/extension-history from 2.26.1 to 2.27.1.

See this package in npm:
@tiptap/extension-history

See this project in Snyk:
https://app.snyk.io/org/continue-dev-inc.-default/project/c5fb30df-a06c-44cb-83af-5ada5ff6e4a9?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-12-06 07:15:32 +00:00
Nate Sesti
3c2271aa17
Merge pull request #9047 from continuedev/nate/dnd-fix
dnd fix
2025-12-05 20:00:55 -08:00
Nate Sesti
15651c93f8
Merge pull request #9034 from continuedev/nate/track-session-cost-and-usage
Add comprehensive cost tracking with OpenAI pricing and session usage display
2025-12-05 19:59:57 -08:00
Nate
87fd4c7848 dnd fix 2025-12-05 19:58:21 -08:00
Nate Sesti
83b90ccf1a
Merge pull request #9044 from continuedev/nate/add-docker-compose-to-runloop-setup
Add docker-compose-v2 to runloop blueprint dependencies
2025-12-05 19:00:52 -08:00