continue-custom/pkg
Nate Sesti c4b6e7c33d
JetBrains fixes (#1017)
* 🐛 use off-screen rendering

* 💄 only use OSR for linux

* 🧑‍💻 setup Intellij for hot-reloading of tool window

* 🐛 fix config loading issues in Intellij

* 🐛 fix jetbrains encoding error

* 💄 improve model select and config loading in UI

* 🐛 don't render mid-line, multi-line completions in jetbrains

* 💄 turn off spell check in sidebar

* 🚧 partial autocomplete acceptance jetbrains

* 🔖 update gradle.properties version
2024-03-22 19:36:57 -07:00
..
pkgJson 🚧 download lancedb binaries for each target 2024-02-18 22:41:20 -08:00
src JetBrains fixes (#1017) 2024-03-22 19:36:57 -07:00
.continueignore 👷 build with pkg 2024-02-14 23:14:29 -08:00
.gitignore Merge branch 'preview' into nate/merge-preview-to-atwood-p2 2024-02-19 15:17:45 -08:00
build.js 🐛 copy over xhr-sync-worker for jsdom 2024-03-20 21:43:16 -07:00
importMetaUrl.js 👷 build with pkg 2024-02-14 23:14:29 -08:00
package-lock.json 🐛 successfully get responses for jetbrains autocomplete 2024-03-14 11:53:26 -07:00
package.json 🚧 smaller binary, multiple platforms 2024-02-17 22:27:40 -08:00
README.md 🚧 build binaries for all targets 2024-02-17 23:41:42 -08:00
tsconfig.json 👷 build with pkg 2024-02-14 23:14:29 -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

  • posthog-node
  • @octokit/rest
  • esbuild

List of .wasm files

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

(*) = need to download for each platform manually