Skip to content

Commit ddf0989

Browse files
committed
Merge branch 'main' into seed
2 parents 8ccc024 + 6762b57 commit ddf0989

File tree

449 files changed

+13498
-10593
lines changed

Some content is hidden

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

449 files changed

+13498
-10593
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
33
"changelog": "./changelog-config.js",
44
"commit": false,
5-
"fixed": [],
5+
"fixed": [["roo-cline"]],
66
"linked": [],
77
"access": "restricted",
88
"baseBranch": "main",

.dockerignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Build artifacts
2+
bin/
3+
!bin/roo-code-latest.vsix
4+
dist/
5+
**/dist/
6+
out/
7+
**/out/
8+
9+
# Dependencies
10+
node_modules/
11+
**/node_modules/
12+
13+
# Test and development files
14+
coverage/
15+
**/.vscode-test/
16+
17+
knip.json
18+
.husky/

.env.sample

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
POSTHOG_API_KEY=key-goes-here
2+
3+
# Roo Code Cloud / Local Development
4+
CLERK_BASE_URL=https://epic-chamois-85.clerk.accounts.dev
5+
ROO_CODE_API_URL=http://localhost:3000

.github/scripts/overwrite_changeset_changelog.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

.github/workflows/code-qa.yml

Lines changed: 7 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,6 @@ env:
1313
PNPM_VERSION: 10.8.1
1414

1515
jobs:
16-
compile:
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Checkout code
20-
uses: actions/checkout@v4
21-
- name: Install pnpm
22-
uses: pnpm/action-setup@v4
23-
with:
24-
version: ${{ env.PNPM_VERSION }}
25-
- name: Setup Node.js
26-
uses: actions/setup-node@v4
27-
with:
28-
node-version: ${{ env.NODE_VERSION }}
29-
cache: 'pnpm'
30-
- name: Install dependencies
31-
run: pnpm install
32-
- name: Check types
33-
run: pnpm check-types
34-
- name: Lint
35-
run: pnpm lint
36-
3716
check-translations:
3817
runs-on: ubuntu-latest
3918
steps:
@@ -72,11 +51,8 @@ jobs:
7251
- name: Run knip checks
7352
run: pnpm knip
7453

75-
test-extension:
76-
runs-on: ${{ matrix.os }}
77-
strategy:
78-
matrix:
79-
os: [ubuntu-latest, windows-latest]
54+
compile:
55+
runs-on: ubuntu-latest
8056
steps:
8157
- name: Checkout code
8258
uses: actions/checkout@v4
@@ -91,11 +67,12 @@ jobs:
9167
cache: 'pnpm'
9268
- name: Install dependencies
9369
run: pnpm install
94-
- name: Run unit tests
95-
working-directory: src
96-
run: pnpm test
70+
- name: Lint
71+
run: pnpm lint
72+
- name: Check types
73+
run: pnpm check-types
9774

98-
test-webview:
75+
platform-unit-test:
9976
runs-on: ${{ matrix.os }}
10077
strategy:
10178
matrix:
@@ -115,16 +92,8 @@ jobs:
11592
- name: Install dependencies
11693
run: pnpm install
11794
- name: Run unit tests
118-
working-directory: webview-ui
11995
run: pnpm test
12096

121-
unit-test:
122-
needs: [test-extension, test-webview]
123-
runs-on: ubuntu-latest
124-
steps:
125-
- name: NO-OP
126-
run: echo "All unit tests passed."
127-
12897
check-openrouter-api-key:
12998
runs-on: ubuntu-latest
13099
outputs:

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CodeQL Advanced"
1+
name: CodeQL Advanced
22

33
on:
44
push:

.github/workflows/marketplace-publish.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Publish Extension
2+
23
on:
34
pull_request:
45
types: [closed]
@@ -45,15 +46,22 @@ jobs:
4546
run: |
4647
current_package_version=$(node -p "require('./src/package.json').version")
4748
pnpm build
48-
package=$(unzip -l bin/roo-cline-${current_package_version}.vsix)
49-
echo "$package" | grep -q "extension/package.json" || exit 1
50-
echo "$package" | grep -q "extension/package.nls.json" || exit 1
51-
echo "$package" | grep -q "extension/dist/extension.js" || exit 1
52-
echo "$package" | grep -q "extension/webview-ui/audio/celebration.wav" || exit 1
53-
echo "$package" | grep -q "extension/webview-ui/build/assets/index.js" || exit 1
54-
echo "$package" | grep -q "extension/assets/codicons/codicon.ttf" || exit 1
55-
echo "$package" | grep -q "extension/assets/vscode-material-icons/icons/3d.svg" || exit 1
56-
echo "$package" | grep -q ".env" || exit 1
49+
50+
# Save VSIX contents to a temporary file to avoid broken pipe issues.
51+
unzip -l bin/roo-cline-${current_package_version}.vsix > /tmp/roo-code-vsix-contents.txt
52+
53+
# Check for required files.
54+
grep -q "extension/package.json" /tmp/roo-code-vsix-contents.txt || exit 1
55+
grep -q "extension/package.nls.json" /tmp/roo-code-vsix-contents.txt || exit 1
56+
grep -q "extension/dist/extension.js" /tmp/roo-code-vsix-contents.txt || exit 1
57+
grep -q "extension/webview-ui/audio/celebration.wav" /tmp/roo-code-vsix-contents.txt || exit 1
58+
grep -q "extension/webview-ui/build/assets/index.js" /tmp/roo-code-vsix-contents.txt || exit 1
59+
grep -q "extension/assets/codicons/codicon.ttf" /tmp/roo-code-vsix-contents.txt || exit 1
60+
grep -q "extension/assets/vscode-material-icons/icons/3d.svg" /tmp/roo-code-vsix-contents.txt || exit 1
61+
grep -q ".env" /tmp/roo-code-vsix-contents.txt || exit 1
62+
63+
# Clean up temporary file.
64+
rm /tmp/roo-code-vsix-contents.txt
5765
- name: Create and Push Git Tag
5866
run: |
5967
current_package_version=$(node -p "require('./src/package.json').version")

.github/workflows/nightly-publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Nightly Publish
22

33
on:
4-
# push:
5-
# branches: [main]
64
workflow_run:
75
workflows: ["Code QA Roo Code"]
86
types:

.husky/pre-commit

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ else
1616
fi
1717
fi
1818

19-
$pnpm_cmd --filter roo-cline generate-types
20-
21-
if [ -n "$(git diff --name-only src/exports/roo-code.d.ts)" ]; then
22-
echo "Error: There are unstaged changes to roo-code.d.ts after running 'pnpm --filter roo-cline generate-types'."
23-
echo "Please review and stage the changes before committing."
24-
exit 1
25-
fi
26-
2719
# Detect if running on Windows and use npx.cmd, otherwise use npx.
2820
if [ "$OS" = "Windows_NT" ]; then
2921
npx_cmd="npx.cmd"

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $pnpm_cmd run check-types
2222
NEW_CHANGESETS=$(find .changeset -name "*.md" ! -name "README.md" | wc -l | tr -d ' ')
2323
echo "Changeset files: $NEW_CHANGESETS"
2424

25-
if [ "$NEW_CHANGESETS" == "0" ]; then
25+
if [ "$NEW_CHANGESETS" = "0" ]; then
2626
echo "-------------------------------------------------------------------------------------"
2727
echo "Changes detected. Please run 'pnpm changeset' to create a changeset if applicable."
2828
echo "-------------------------------------------------------------------------------------"

0 commit comments

Comments
 (0)