continue-custom/binary
Nate Sesti 49cb06df70
✨ Improved onboarding experience (#1155)
* 🚸 onboarding improvements

* 🧑‍💻 keyboard shortcuts to toggle autocomplete and open config.json

* ⚡️ improve detection of terminal code blocks

* 🚧 onboarding improvements

* 🚧 more onboarding improvements

* 💄 last session button

* 🚸 show more fallback options in dropdown

* 💄 add sectioning to models page

* 💄 clean up delete model button

* 💄 make tooltip look nicer

* 🚸 download Ollama button

* 💄 local LLM onboarding

* 🐛 select correct terminal on "runCommand" message

* 💄 polish onboarding
2024-04-19 17:55:16 -07:00
..
pkgJson 🚚 rename pkg to binary 2024-04-01 19:52:34 -07:00
src ✨ Improved onboarding experience (#1155) 2024-04-19 17:55:16 -07:00
.continueignore 🚚 rename pkg to binary 2024-04-01 19:52:34 -07:00
.gitignore Merge branch 'main' into preview 2024-04-12 11:54:38 -07:00
build.js 👷 make vscode external in binary build 2024-04-10 14:37:53 -07:00
importMetaUrl.js 🚚 rename pkg to binary 2024-04-01 19:52:34 -07:00
package-lock.json 🐛 use system certificates in binary 2024-04-16 02:23:21 -07:00
package.json 🐛 use system certificates in binary 2024-04-16 02:23:21 -07:00
README.md 🚚 rename pkg to binary 2024-04-01 19:52:34 -07:00
tsconfig.json 🚚 rename pkg to binary 2024-04-01 19:52:34 -07: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

  • posthog-node
  • @octokit/rest
  • esbuild

List of .wasm files

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

(*) = need to download for each platform manually