add llm-info
This commit is contained in:
parent
bbcc5c181c
commit
b9085a6118
7 changed files with 60 additions and 33 deletions
52
.github/workflows/build-vscode-extension.yml
vendored
52
.github/workflows/build-vscode-extension.yml
vendored
|
|
@ -105,6 +105,12 @@ jobs:
|
|||
path: gui/node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('gui/package-lock.json') }}
|
||||
|
||||
- name: Cache fetch node_modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: packages/fetch/node_modules
|
||||
key: ${{ runner.os }}-fetch-node-modules-${{ hashFiles('packages/fetch/package-lock.json') }}
|
||||
|
||||
- name: Cache config-yaml node_modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
|
@ -117,12 +123,6 @@ jobs:
|
|||
path: packages/openai-adapters/node_modules
|
||||
key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }}
|
||||
|
||||
- name: Cache fetch node_modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: packages/fetch/node_modules
|
||||
key: ${{ runner.os }}-fetch-node-modules-${{ hashFiles('packages/fetch/package-lock.json') }}
|
||||
|
||||
- name: Build packages (Windows)
|
||||
run: ./scripts/build-packages.ps1
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
|
@ -131,6 +131,31 @@ jobs:
|
|||
run: ./scripts/build-packages.sh
|
||||
if: matrix.os != 'windows-latest'
|
||||
|
||||
# Install and build packages in dependency order
|
||||
- name: Install and build fetch
|
||||
run: |
|
||||
cd packages/fetch
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
- name: Install and build config-yaml
|
||||
run: |
|
||||
cd packages/config-yaml
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
- name: Install and build openai-adapters
|
||||
run: |
|
||||
cd packages/openai-adapters
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
- name: Install and build openai-adapters
|
||||
run: |
|
||||
cd packages/openai-adapters
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
- name: Install extension Dependencies
|
||||
run: |
|
||||
cd extensions/vscode
|
||||
|
|
@ -151,21 +176,6 @@ jobs:
|
|||
npm ci
|
||||
npm i vectordb
|
||||
|
||||
- name: Build config-yaml
|
||||
run: |
|
||||
cd packages/config-yaml
|
||||
npm run build
|
||||
|
||||
- name: Build openai-adapters
|
||||
run: |
|
||||
cd packages/openai-adapters
|
||||
npm run build
|
||||
|
||||
- name: Build fetch
|
||||
run: |
|
||||
cd packages/fetch
|
||||
npm run build
|
||||
|
||||
# 2.5. Pre package
|
||||
- name: Set var for environment info
|
||||
shell: pwsh
|
||||
|
|
|
|||
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
|
|
@ -12,8 +12,8 @@
|
|||
"cwd": "${workspaceFolder}/extensions/vscode",
|
||||
"args": [
|
||||
// Pass a directory to manually test in
|
||||
"${workspaceFolder}/manual-testing-sandbox",
|
||||
"${workspaceFolder}/manual-testing-sandbox/test.js",
|
||||
"${workspaceFolder}/core",
|
||||
"${workspaceFolder}/package.json",
|
||||
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode"
|
||||
],
|
||||
"pauseForSourceMap": false,
|
||||
|
|
|
|||
5
.vscode/tasks.json
vendored
5
.vscode/tasks.json
vendored
|
|
@ -237,10 +237,7 @@
|
|||
},
|
||||
{
|
||||
"label": "vscode-extension:build-with-packages",
|
||||
"dependsOn": [
|
||||
"build-packages",
|
||||
"vscode-extension:build"
|
||||
],
|
||||
"dependsOn": ["build-packages", "vscode-extension:build"],
|
||||
"type": "shell",
|
||||
"problemMatcher": []
|
||||
}
|
||||
|
|
|
|||
18
core/package-lock.json
generated
18
core/package-lock.json
generated
|
|
@ -15,7 +15,7 @@
|
|||
"@continuedev/config-types": "^1.0.13",
|
||||
"@continuedev/config-yaml": "file:../packages/config-yaml",
|
||||
"@continuedev/fetch": "file:../packages/fetch",
|
||||
"@continuedev/llm-info": "^1.0.8",
|
||||
"@continuedev/llm-info": "file:../packages/llm-info",
|
||||
"@continuedev/openai-adapters": "file:../packages/openai-adapters",
|
||||
"@modelcontextprotocol/sdk": "^1.12.0",
|
||||
"@mozilla/readability": "^0.5.0",
|
||||
|
|
@ -184,6 +184,15 @@
|
|||
"vitest": "^3.2.0"
|
||||
}
|
||||
},
|
||||
"../packages/llm-info": {
|
||||
"name": "@continuedev/llm-info",
|
||||
"version": "1.0.9",
|
||||
"license": "Apache-2.0",
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.15.29",
|
||||
"typescript": "^5.5.2"
|
||||
}
|
||||
},
|
||||
"../packages/openai-adapters": {
|
||||
"name": "@continuedev/openai-adapters",
|
||||
"version": "1.0.46",
|
||||
|
|
@ -193,7 +202,7 @@
|
|||
"@aws-sdk/credential-providers": "^3.840.0",
|
||||
"@continuedev/config-types": "^1.0.5",
|
||||
"@continuedev/config-yaml": "^1.0.51",
|
||||
"@continuedev/fetch": "file:../packages/fetch",
|
||||
"@continuedev/fetch": "file:../fetch",
|
||||
"dotenv": "^16.5.0",
|
||||
"google-auth-library": "^10.1.0",
|
||||
"json-schema": "^0.4.0",
|
||||
|
|
@ -2947,9 +2956,8 @@
|
|||
"link": true
|
||||
},
|
||||
"node_modules/@continuedev/llm-info": {
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@continuedev/llm-info/-/llm-info-1.0.8.tgz",
|
||||
"integrity": "sha512-/htL7p4li3zQSwn9bXkI23WRpZNklWTPzRSSG3Fd5gvYW8cizjhlf7OzeDdKxBfi1S0lpqMm0VwHlx3KjMKLpw=="
|
||||
"resolved": "../packages/llm-info",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@continuedev/openai-adapters": {
|
||||
"resolved": "../packages/openai-adapters",
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
"@continuedev/config-types": "^1.0.13",
|
||||
"@continuedev/config-yaml": "file:../packages/config-yaml",
|
||||
"@continuedev/fetch": "file:../packages/fetch",
|
||||
"@continuedev/llm-info": "^1.0.8",
|
||||
"@continuedev/llm-info": "file:../packages/llm-info",
|
||||
"@continuedev/openai-adapters": "file:../packages/openai-adapters",
|
||||
"@modelcontextprotocol/sdk": "^1.12.0",
|
||||
"@mozilla/readability": "^0.5.0",
|
||||
|
|
|
|||
|
|
@ -25,4 +25,10 @@ Push-Location "config-yaml"
|
|||
npm run build
|
||||
Pop-Location
|
||||
|
||||
# Build llm-info
|
||||
Push-Location "llm-info"
|
||||
& cmd /c $npmInstallCmd
|
||||
npm run build
|
||||
Pop-Location
|
||||
|
||||
Pop-Location
|
||||
|
|
@ -25,3 +25,9 @@ cd ..
|
|||
cd config-yaml
|
||||
$NPM_INSTALL_CMD
|
||||
npm run build
|
||||
cd ..
|
||||
|
||||
# Build llm-info
|
||||
cd llm-info
|
||||
$NPM_INSTALL_CMD
|
||||
npm run build
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue