continue-custom/binary
krustophski e0577e8a6b
Some checks are pending
Main Branch Build / republish-pr-artifacts (Linux) (push) Waiting to run
Main Branch Build / republish-pr-artifacts (macOS) (push) Waiting to run
PR Checks / track-rerun (push) Waiting to run
PR Checks / prettier-check (push) Waiting to run
PR Checks / core-checks (push) Waiting to run
PR Checks / gui-checks (push) Waiting to run
PR Checks / binary-checks (push) Waiting to run
PR Checks / vscode-checks (push) Waiting to run
PR Checks / get-packages-matrix (push) Waiting to run
PR Checks / packages-checks (push) Blocked by required conditions
PR Checks / vscode-get-test-file-matrix (push) Waiting to run
PR Checks / vscode-package-extension-linux (push) Waiting to run
PR Checks / unknown () (push) Blocked by required conditions
PR Checks / jetbrains-tests (push) Waiting to run
PR Checks / require-all-checks-to-pass (push) Blocked by required conditions
Submit Gradle Dependency Graph For Dependabot / dependency-submission (push) Waiting to run
chore: package as distinct extension ID, document Full Access mode
Renamed extensions/vscode/package.json's name to
"continue-full-access" (was "continue") so this build installs as
Continue.continue-full-access, a separate VS Code extension entry from
the Marketplace Continue.continue -- prevents a Marketplace auto-update
from silently overwriting this custom build. Fixed the two places that
hardcoded the old "Continue.continue" self-reference
(util/vscode.ts's getExtensionUri, RecentlyVisitedRangesService's
output-channel filter).

Added FULL_ACCESS_MODE.md documenting what the existing Full Access
mode (b275cafed) actually does, its safety trade-off (bypasses the
terminal-security dynamic checker entirely -- an explicit, informed
choice, not an oversight), and build/install steps.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-25 03:17:36 +03:00
..
.idea add download step 2024-10-14 17:24:44 -07:00
pkgJson fix: adjust binary/build.js. copy vscode/tree-sitter folder to binary/ and pack into binary file 2025-07-10 20:00:43 +08:00
src LLMLogFormatter: rich logging to an output stream 2025-04-07 14:11:38 -04:00
test fix: redirect Winston logger to stderr to prevent IPC stream corruption + fix binary tests (#11914) 2026-03-27 14:03:06 -07:00
utils chore(vscode): rename download-copy-sqlite-esbuild.js to download-copy-sqlite.js and update imports 2025-09-29 15:14:19 +02:00
.continueignore Preview (#1114) 2024-04-12 11:54:58 -07:00
.gitignore fix: adjust binary/build.js. copy vscode/tree-sitter folder to binary/ and pack into binary file 2025-07-10 20:00:43 +08:00
build.js fix: ensure cross-target LanceDB binaries are correctly copied (#9100) 2025-12-10 10:39:42 -08:00
core-dev-server.js npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path . 2025-05-25 18:41:32 -07:00
importMetaUrl.js Preview (#1114) 2024-04-12 11:54:58 -07:00
jest.config.js fix ollama onboarding (#1539) 2024-06-21 11:09:03 -07:00
package-lock.json chore: package as distinct extension ID, document Full Access mode 2026-09-25 03:17:36 +03:00
package.json Merge upstream continuedev/continue main (47 commits) 2026-03-26 14:58:21 -07:00
prompt-logs.js npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path . 2025-05-25 18:41:32 -07:00
README.md chore: remove remaining PostHog and Sentry references 2026-03-19 15:34:22 -07:00
tsconfig.json feat: add tsc:watch cmd to vs code 2024-12-09 15:57:48 -08:00

Continue Core Binary

The purpose of this folder is to package Typescript code in a way that can be run from any IDE or platform. We first bundle with esbuild and then package into binaries with pkg.

The pkgJson/package.json contains instructions for building with pkg, and needs to be in a separte folder because there is no CLI flag for the assets option (it must be in a package.json), and pkg doesn't recognize any name other than package.json, but if we use the same package.json with dependencies in it, pkg will automatically include these, significantly increasing the binary size.

The build process is otherwise defined entirely in build.js.

List of native modules

  • sqlite3/build/Release/node_sqlite3.node (*)
  • @lancedb/**
  • esbuild?
  • @esbuild?
  • onnxruntime-node?

List of dynamically imported modules

  • @octokit/rest
  • esbuild

List of .wasm files

  • tree-sitter.wasm
  • tree-sitter-wasms/

(*) = need to download for each platform manually

Debugging

To debug the binary with IntelliJ, set useTcp to true in CoreMessenger.kt, and then in VS Code run the "Core Binary" debug script. Instead of starting a subprocess for the binary and communicating over stdin/stdout, the IntelliJ extension will connect over TCP to the server started from the VS Code window. You can place breakpoints anywhere in the core or binary folders.

Building

npm run build

Testing

npm run test