mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Merge branch 'main' of https://github.com/RooVetGit/Roo-Cline into feature/pupeteer-updates
This commit is contained in:
commit
4763c4ecb7
9 changed files with 4068 additions and 2233 deletions
2
.github/CODEOWNERS
vendored
Normal file
2
.github/CODEOWNERS
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# These owners will be the default owners for everything in the repo
|
||||
* @stea9499 @ColemanRoo @mrubens
|
||||
27
.github/workflows/code-qa.yml
vendored
Normal file
27
.github/workflows/code-qa.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Code QA Roo Cline
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
types: [opened, reopened, ready_for_review, synchronize]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
code-qa:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm run install:all
|
||||
|
||||
- name: Compile TypeScript
|
||||
run: npm run compile
|
||||
32
.github/workflows/marketplace-publish.yml
vendored
Normal file
32
.github/workflows/marketplace-publish.yml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: Publish Extension
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish-extension:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
npm install -g vsce ovsx
|
||||
npm install
|
||||
cd webview-ui
|
||||
npm install
|
||||
cd ..
|
||||
- name: Package and Publish Extension
|
||||
env:
|
||||
VSCE_PAT: ${{ secrets.VSCE_PAT }}
|
||||
run: |
|
||||
current_package_version=$(node -p "require('./package.json').version")
|
||||
npm run vsix
|
||||
npm run publish:marketplace
|
||||
echo "Successfully published version $current_package_version to VS Code Marketplace"
|
||||
50
.github/workflows/npm-publish.yml
vendored
50
.github/workflows/npm-publish.yml
vendored
|
|
@ -1,50 +0,0 @@
|
|||
name: Publish to NPM
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
AWS_REGION: us-east-1
|
||||
|
||||
jobs:
|
||||
publish-npm:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- id: install-aws-cli
|
||||
uses: unfor19/install-aws-cli-action@v1
|
||||
with:
|
||||
version: 2 # default
|
||||
verbose: false # default
|
||||
arch: amd64 # allowed values: amd64, arm64
|
||||
- name: Configure AWS Credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: ${{ env.AWS_REGION }}
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
- run: |
|
||||
npm install -g vsce
|
||||
npm run co:login
|
||||
latest_published_version=$(npm show roo-cline version)
|
||||
current_package_version=$(node -p "require('./package.json').version")
|
||||
echo "Latest published version: $latest_published_version"
|
||||
echo "Current package version: $current_package_version"
|
||||
if [ "$latest_published_version" == "$current_package_version" ]; then
|
||||
echo "Latest version is already published to NPM"
|
||||
else
|
||||
npm install
|
||||
cd webview-ui
|
||||
npm install
|
||||
cd ..
|
||||
npm run vsix
|
||||
npm publish
|
||||
echo "Successfully published to NPM"
|
||||
fi
|
||||
|
|
@ -1,5 +1,9 @@
|
|||
# Change Log
|
||||
|
||||
## Roo Cline 2.1.2
|
||||
|
||||
- Roo Cline now publishes to the VS Code Marketplace!
|
||||
|
||||
## [2.1.6]
|
||||
|
||||
- Add LM Studio as an API provider option (make sure to start the LM Studio server to use it with the extension!)
|
||||
|
|
|
|||
6144
package-lock.json
generated
6144
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -2,7 +2,12 @@
|
|||
"name": "roo-cline",
|
||||
"displayName": "Roo Cline",
|
||||
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.",
|
||||
"version": "2.1.0",
|
||||
"publisher": "RooVeterinaryInc",
|
||||
"version": "2.1.2",
|
||||
"files": [
|
||||
"bin/roo-cline-2.1.2.vsix",
|
||||
"assets/icons/icon_Roo.png"
|
||||
],
|
||||
"icon": "assets/icons/icon_Roo.png",
|
||||
"galleryBanner": {
|
||||
"color": "#617A91",
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
AWS_VERSION=$(aws --version 2>&1 | cut -d/ -f2 | cut -d. -f1)
|
||||
echo "aws-cli/$AWS_VERSION"
|
||||
|
||||
if [ "$AWS_VERSION" -lt 2 ]; then
|
||||
echo "Skipping .npmrc generation because AWS CLI version is less than 2"
|
||||
else
|
||||
echo "Generating .npmrc"
|
||||
REPO_ENDPOINT=$(aws codeartifact get-repository-endpoint --domain roo --repository roo-dev --format npm | jq -r '.repositoryEndpoint')
|
||||
echo "registry=$REPO_ENDPOINT" > .npmrc
|
||||
|
||||
CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token --domain roo --query authorizationToken --output text)
|
||||
|
||||
REPO_PATH=$(echo $REPO_ENDPOINT | sed 's/https://g')
|
||||
echo "$REPO_PATH:_authToken=$CODEARTIFACT_AUTH_TOKEN" >> .npmrc
|
||||
fi
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install roo-cline
|
||||
echo "Installing roo-cline..."
|
||||
npm install roo-cline
|
||||
|
||||
# Get version of installed roo-cline
|
||||
VERSION=$(npm list roo-cline | grep roo-cline@ | cut -d'@' -f2 | tail -n1)
|
||||
echo "Installed version: $VERSION"
|
||||
|
||||
# Install extension in Cursor
|
||||
echo "Installing Cursor extension..."
|
||||
echo $VERSION
|
||||
cursor --install-extension "node_modules/roo-cline/bin/roo-cline-$VERSION.vsix"
|
||||
|
||||
# Uninstall roo-cline
|
||||
echo "Cleaning up..."
|
||||
npm uninstall roo-cline
|
||||
|
||||
echo "Done!"
|
||||
Loading…
Add table
Reference in a new issue