update intellij build for new workers
This commit is contained in:
parent
5d5d4eb73d
commit
85b3d211a6
4 changed files with 24 additions and 12 deletions
|
|
@ -184,7 +184,14 @@ async function installNodeModuleInTempDirAndCopyToCurrent(packageName, toCopy) {
|
|||
entryPoints: ["src/index.ts"],
|
||||
bundle: true,
|
||||
outfile: esbuildOutputFile,
|
||||
external: ["esbuild", "./xhr-sync-worker.js", "vscode", "./index.node"],
|
||||
external: [
|
||||
"esbuild",
|
||||
"./xhr-sync-worker.js",
|
||||
"llamaTokenizerWorkerPool.mjs",
|
||||
"tiktokenWorkerPool.mjs",
|
||||
"vscode",
|
||||
"./index.node",
|
||||
],
|
||||
format: "cjs",
|
||||
platform: "node",
|
||||
sourcemap: true,
|
||||
|
|
@ -204,6 +211,11 @@ async function installNodeModuleInTempDirAndCopyToCurrent(packageName, toCopy) {
|
|||
"../core/node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js",
|
||||
"out/xhr-sync-worker.js",
|
||||
);
|
||||
fs.cpSync("../core/llm/tiktokenWorkerPool.mjs", "out/tiktokenWorkerPool.mjs");
|
||||
fs.cpSync(
|
||||
"../core/llm/llamaTokenizerWorkerPool.mjs",
|
||||
"out/llamaTokenizerWorkerPool.mjs",
|
||||
);
|
||||
|
||||
if (esbuildOnly) {
|
||||
return;
|
||||
|
|
|
|||
2
binary/package-lock.json
generated
2
binary/package-lock.json
generated
|
|
@ -45,8 +45,8 @@
|
|||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-bedrock-runtime": "^3.620.1",
|
||||
"@aws-sdk/credential-providers": "^3.620.1",
|
||||
"@aws-sdk/client-sagemaker-runtime": "^3.621.0",
|
||||
"@aws-sdk/credential-providers": "^3.620.1",
|
||||
"@continuedev/config-types": "^1.0.10",
|
||||
"@continuedev/llm-info": "^1.0.1",
|
||||
"@mozilla/readability": "^0.5.0",
|
||||
|
|
|
|||
10
core/core.ts
10
core/core.ts
|
|
@ -684,6 +684,16 @@ export class Core {
|
|||
)) {
|
||||
this.messenger.request("indexProgress", update);
|
||||
this.indexingState = update;
|
||||
|
||||
if (update.status === "failed") {
|
||||
Telemetry.capture(
|
||||
"indexing_error",
|
||||
{
|
||||
error: update.desc,
|
||||
},
|
||||
false,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
this.messenger.send("refreshSubmenuItems", undefined);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
<!-- Plugin description -->
|
||||
|
||||

|
||||
|
||||
<h1 align="center">Continue</h1>
|
||||
|
||||
<div align="center">
|
||||
|
|
@ -14,26 +12,18 @@
|
|||
|
||||
## Easily understand code sections
|
||||
|
||||

|
||||
|
||||
`cmd+J` (MacOS) / `ctrl+J` (Windows)
|
||||
|
||||
## Tab to autocomplete code suggestions
|
||||
|
||||

|
||||
|
||||
`tab` (MacOS) / `tab` (Windows)
|
||||
|
||||
## Refactor functions where you are coding
|
||||
|
||||

|
||||
|
||||
`cmd+I` (MacOS) / `ctrl+I` (Windows)
|
||||
|
||||
## Quickly use documentation as context
|
||||
|
||||

|
||||
|
||||
`@docs` (MacOS) / `@docs` (Windows)
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue