continue-custom/binary
2024-05-21 09:43:59 -07:00
..
pkgJson ⚡️ Preview (#1228) 2024-05-03 14:05:25 -07:00
src ⏩ Merge Preview (#1252) 2024-05-08 11:19:41 -07:00
.continueignore Preview (#1114) 2024-04-12 11:54:58 -07:00
.gitignore Preview (#1114) 2024-04-12 11:54:58 -07:00
build.js Update build.js (#1330) 2024-05-21 00:14:30 -07:00
importMetaUrl.js Preview (#1114) 2024-04-12 11:54:58 -07:00
package-lock.json ✨ allow overwriting slash command description 2024-05-20 15:28:54 -07:00
package.json ⬆️ upgrade lancedb version 2024-05-17 23:00:02 -07:00
pnpm-lock.yaml Nate/prompt-file (#1308) 2024-05-17 15:24:34 -07:00
README.md Preview (#1114) 2024-04-12 11:54:58 -07:00
tsconfig.json Preview (#1114) 2024-04-12 11:54:58 -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