Skip to content

Commit 725e607

Browse files
committed
Merge branch 'main' of https://github.com/continuedev/continue into dependabot/npm_and_yarn/packages/openai-adapters/form-data-4.0.4
2 parents 421bacf + 626817b commit 725e607

File tree

222 files changed

+13251
-2961
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+13251
-2961
lines changed

.continue/rules/documentation-standards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ alwaysApply: false
1212

1313
### Conversational and Direct
1414

15-
- Follow Docusaurus documentation standards
15+
- Follow Mintlify documentation standards
1616
- Use simple, conversational language that gets straight to the point
1717
- Avoid overly technical jargon when simpler terms work
1818
- Write as if speaking directly to the developer using the tool

.github/actions/build-vscode-extension/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ inputs:
1818
description: 'Commit SHA for version modification (optional, uses first 7 chars)'
1919
required: false
2020
default: ''
21+
github-token:
22+
description: 'GitHub token for downloading ripgrep'
23+
required: true
2124
outputs:
2225
target:
2326
description: 'The target string used for the build'
@@ -83,7 +86,7 @@ runs:
8386
npm ci
8487
env:
8588
# https://github.com/microsoft/vscode-ripgrep/issues/9#issuecomment-643965333
86-
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
89+
GITHUB_TOKEN: ${{ inputs.github-token }}
8790

8891
- name: Install gui dependencies
8992
shell: bash
@@ -98,6 +101,12 @@ runs:
98101
npm ci
99102
npm i vectordb
100103
104+
- name: Build GUI
105+
shell: bash
106+
run: |
107+
cd gui
108+
npm run build
109+
101110
- name: Prepackage the extension
102111
shell: bash
103112
run: |

.github/actions/run-jetbrains-tests/action.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
name: 'Run JetBrains Tests'
2-
description: 'Setup and run JetBrains IntelliJ tests with all dependencies'
1+
name: "Run JetBrains Tests"
2+
description: "Setup and run JetBrains IntelliJ tests with all dependencies"
3+
4+
inputs:
5+
github-token:
6+
description: "GitHub token for accessing repositories"
7+
required: true
8+
ci-github-token:
9+
description: "CI GitHub token for vscode extension build"
10+
required: true
311

412
runs:
5-
using: 'composite'
13+
using: "composite"
614
steps:
715
- uses: actions/setup-node@v4
816
with:
@@ -20,6 +28,13 @@ runs:
2028
cd core
2129
npm ci
2230
31+
- name: Install gui node_modules and build
32+
shell: bash
33+
run: |
34+
cd gui
35+
npm ci
36+
npm run build
37+
2338
- name: Setup Java
2439
uses: actions/[email protected]
2540
with:
@@ -29,7 +44,7 @@ runs:
2944
- name: Setup FFmpeg
3045
uses: AnimMouse/setup-ffmpeg@v1
3146
with:
32-
token: ${{ env.GITHUB_TOKEN }}
47+
token: ${{ inputs.github-token }}
3348

3449
- name: Setup Gradle
3550
uses: gradle/actions/setup-gradle@v3
@@ -70,7 +85,7 @@ runs:
7085
npm run prepackage
7186
env:
7287
# https://github.com/microsoft/vscode-ripgrep/issues/9#issuecomment-643965333
73-
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
88+
GITHUB_TOKEN: ${{ inputs.ci-github-token }}
7489

7590
- uses: actions/cache@v4
7691
id: binary-cache
@@ -128,4 +143,4 @@ runs:
128143
with:
129144
name: jb-failure-report
130145
path: |
131-
${{ github.workspace }}/extensions/intellij/build/reports
146+
${{ github.workspace }}/extensions/intellij/build/reports
Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: 'Setup Packages'
2-
description: 'Cache and build packages with npm caching'
1+
name: "Setup Packages"
2+
description: "Cache and build packages with npm caching"
33

44
runs:
5-
using: 'composite'
5+
using: "composite"
66
steps:
77
- uses: actions/setup-node@v4
88
with:
@@ -21,17 +21,3 @@ runs:
2121
- name: Build packages
2222
shell: bash
2323
run: node ./scripts/build-packages.js
24-
25-
- name: Install package dependencies
26-
shell: bash
27-
run: |
28-
for package_dir in packages/*/; do
29-
if [ -f "$package_dir/package.json" ] && [ ! -d "$package_dir/node_modules" ]; then
30-
echo "Installing dependencies for $package_dir"
31-
cd "$package_dir"
32-
npm ci
33-
cd - > /dev/null
34-
elif [ -d "$package_dir/node_modules" ]; then
35-
echo "Using cached dependencies for $package_dir"
36-
fi
37-
done

.github/workflows/auto-assign-issue.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: pozil/auto-assign-issue@v2
1515
with:
1616
repo-token: ${{ secrets.CI_GITHUB_TOKEN }}
17-
assignees: sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa
17+
assignees: Patrick-Erichsen,tomasz-stefaniak,RomneyDa,tingwai
1818
numOfAssignee: 1
1919
# - name: "Add default labels"
2020
# uses: actions-ecosystem/action-add-labels@v1

.github/workflows/compliance.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
fi
4141
4242
- name: Add PR title guidance comment
43-
if: steps.pr-title-check.outputs.valid == 'false'
43+
if: always() && steps.pr-title-check.outputs.valid == 'false'
4444
uses: actions/github-script@v7
4545
with:
4646
script: |
@@ -88,6 +88,9 @@ jobs:
8888
].join('\n')
8989
});
9090
}
91+
- name: Ensure job always succeeds
92+
if: always()
93+
run: echo "✅ Conventional commits check completed (warning only)"
9194

9295
security-audit:
9396
name: Security Audit

.github/workflows/main.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ jobs:
8080
arch: ${{ matrix.arch }}
8181
npm_config_arch: ${{ matrix.npm_config_arch }}
8282
pre-release: false
83-
env:
84-
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
83+
github-token: ${{ secrets.GITHUB_TOKEN }}
8584

8685
- name: Upload .vsix artifact
8786
uses: actions/upload-artifact@v4

.github/workflows/pr-build-upload-vsix.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
npm_config_arch: ${{ matrix.arch }}
3737
pre-release: false
3838
commit-sha: ${{ github.sha }}
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
39+
github-token: ${{ secrets.GITHUB_TOKEN }}
4140

4241
- name: Upload build artifact
4342
uses: actions/upload-artifact@v4

.github/workflows/pr-checks.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ jobs:
178178
- name: Test and check ${{ matrix.package }}
179179
run: |
180180
cd packages/${{ matrix.package }}
181+
npm ci
181182
npm test
182183
env:
183184
IGNORE_API_KEY_TESTS: ${{ github.event.pull_request.head.repo.fork == true || github.actor == 'dependabot[bot]' }}
@@ -268,8 +269,7 @@ jobs:
268269
npm_config_arch: x64
269270
pre-release: false
270271
commit-sha: ${{ github.sha }}
271-
env:
272-
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
272+
github-token: ${{ secrets.GITHUB_TOKEN }}
273273

274274
- name: Upload build artifact
275275
uses: actions/upload-artifact@v4
@@ -306,8 +306,9 @@ jobs:
306306
- uses: actions/checkout@v4
307307
- name: Run JetBrains tests
308308
uses: ./.github/actions/run-jetbrains-tests
309-
env:
310-
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
309+
with:
310+
github-token: ${{ secrets.GITHUB_TOKEN }}
311+
ci-github-token: ${{ secrets.CI_GITHUB_TOKEN }}
311312

312313
# GitHub does not have a way of requiring that all checks pass (you must manually select each job)
313314
# This action at least lets us manage the list of required tests via source control

.github/workflows/preview.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ jobs:
8080
arch: ${{ matrix.arch }}
8181
npm_config_arch: ${{ matrix.npm_config_arch }}
8282
pre-release: true
83-
env:
84-
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
83+
github-token: ${{ secrets.GITHUB_TOKEN }}
8584

8685
- name: Upload .vsix artifact
8786
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)