Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jakenuts committed Dec 13, 2024
2 parents 068ebd7 + 355504f commit d485b3c
Show file tree
Hide file tree
Showing 15 changed files with 8,294 additions and 19,064 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: Build and Release

on:
push:
branches:
- main
push:
branches:
- main

jobs:
build-and-release:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Build project
run: npm run compile

- name: Package project
run: npm run package

- name: Create release
uses: softprops/action-gh-release@v1
with:
files: |
*.vsix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-and-release:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "14"

- name: Install dependencies
run: npm install

- name: Build project
run: npm run compile

- name: Package project
run: npm run package

- name: Create release
uses: softprops/action-gh-release@v1
with:
files: |
*.vsix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
142 changes: 71 additions & 71 deletions .github/workflows/pull-upstream-and-merge.yml
Original file line number Diff line number Diff line change
@@ -1,76 +1,76 @@
name: Pull Upstream and Merge

on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # Runs daily at midnight
workflow_dispatch:

jobs:
pull-and-merge:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Pull upstream changes
run: |
git remote add upstream https://github.com/jakenuts/claude-dev.git
git fetch upstream
git checkout main
git merge upstream/main
- name: Merge updates from main
run: |
git checkout -b update-branch
git merge main
- name: Build validation
run: npm run compile

- name: Commit changes
run: |
git checkout main
git merge update-branch
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Notify maintainers on failure
if: failure()
run: echo "Merge conflict or failure occurred. Please resolve manually."

build-and-release:
needs: pull-and-merge
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Build project
run: npm run compile

- name: Package project
run: npm run package

- name: Create release
uses: softprops/action-gh-release@v1
with:
files: |
*.vsix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pull-and-merge:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Pull upstream changes
run: |
git remote add upstream https://github.com/jakenuts/claude-dev.git
git fetch upstream
git checkout main
git merge upstream/main
- name: Merge updates from main
run: |
git checkout -b update-branch
git merge main
- name: Build validation
run: npm run compile

- name: Commit changes
run: |
git checkout main
git merge update-branch
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Notify maintainers on failure
if: failure()
run: echo "Merge conflict or failure occurred. Please resolve manually."

build-and-release:
needs: pull-and-merge
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "14"

- name: Install dependencies
run: npm install

- name: Build project
run: npm run compile

- name: Package project
run: npm run package

- name: Create release
uses: softprops/action-gh-release@v1
with:
files: |
*.vsix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
"typescript.tsc.autoDetect": "off",
"npm.packageManager": "npm"
}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Cline-Unleased

A fork of the amazing Cline (formerly Claude-Dev) that adds an 'Approve All' checkbox to the UI so you can turn full autonomy on & off at any time. See [ChatView.tsx](webview-ui/src/components/chat/ChatView.tsx) for the modified code. Other files have minor textual updates to identify the forked plugin as different than the normal one. They can run side-by-side without issue.
A fork of the amazing Cline (formerly Claude-Dev) that adds an 'Approve All' checkbox to the UI so you can turn full autonomy on & off at any time. See [ChatView.tsx](webview-ui/src/components/chat/ChatView.tsx) for the modified code. Other files have minor textual updates to identify the forked plugin as different than the normal one. They can run side-by-side without issue.

** Also added a very basic rate limit retry.

![image](https://github.com/user-attachments/assets/d2100c67-f4c9-481e-a436-57b34ff00f12)

Expand Down
10 changes: 10 additions & 0 deletions claude-dev.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"typescript.tsc.autoDetect": "off"
}
}
Loading

0 comments on commit d485b3c

Please sign in to comment.