-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Enable Chrome Browser Takeover Mode with Remote Debugging Integration #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
5bb4dda
075c062
a0654dd
3630fe3
ffd3562
fcfb6a6
22ce1de
fe1d823
4763c4e
b0e48c5
3ad3bdc
b347ed6
2565b74
9c27b12
d4f0d9f
d317c21
0784970
f48707f
8d73ad7
7028670
7d35ded
eae3626
cbdbd9b
4ad27f2
eb710d7
1a7392c
0ada2d5
2e9d6b6
4ebd331
1cdf981
000eed6
b361bbb
4d53bd2
f049fb4
ef6f0a2
ba3b027
8e9218c
ea6eae7
b38e1f9
59e976a
4e0cc31
a1b48fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Changesets | ||
|
|
||
| Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
| with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
| find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
|
||
| We have a quick list of common questions to get you started engaging with this project in | ||
| [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "roo-cline": minor | ||
| --- | ||
|
|
||
| Enabled Roo Cline to use pupetteer to prompt a browser and manually authenticate to site it cant by itself | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
| "changelog": "@changesets/cli/changelog", | ||
| "commit": false, | ||
| "fixed": [], | ||
| "linked": [], | ||
| "access": "restricted", | ||
| "baseBranch": "main", | ||
| "updateInternalDependencies": "patch", | ||
| "ignore": [] | ||
| } |
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| name: Release | ||
| run-name: Release ${{ github.event_name == 'push' && 'Push' || 'Pull Request' }} | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request_target: | ||
|
|
||
| concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
|
||
| env: | ||
| AWS_REGION: us-east-1 | ||
|
|
||
| jobs: | ||
| release: | ||
| name: Release | ||
| if: ${{ github.event_name == 'push' && github.actor != 'R00-B0T'}} | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| steps: | ||
| - name: Checkout Repo | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Setup Node.js 20 | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| - id: install-aws-cli | ||
| uses: unfor19/install-aws-cli-action@v1 | ||
| with: | ||
| version: 2 | ||
| verbose: false | ||
| arch: amd64 | ||
| - name: Configure AWS Credentials | ||
| uses: aws-actions/configure-aws-credentials@v4 | ||
| with: | ||
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
| aws-region: ${{ env.AWS_REGION }} | ||
| - name: NPM Install | ||
| run: | | ||
| npm run install:all | ||
| npm run build | ||
|
|
||
| - name: Changeset Pull Request | ||
| id: changesets | ||
| uses: changesets/action@v1 | ||
| with: | ||
| commit: "changeset version bump" | ||
| title: "Changeset version bump" | ||
| version: npm run version-packages # This performs the changeset version bump | ||
| # publish: npm run publish # Revisit possible refactor along with npm-publish.yml | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }} | ||
|
|
||
| auto-approve-and-merge: | ||
| name: Auto approve and merge Bump version PRs | ||
| runs-on: ubuntu-latest | ||
| if: github.actor == 'R00-B0T' && contains(github.event.pull_request.title, 'Changeset version bump') | ||
| permissions: | ||
| pull-requests: write | ||
|
|
||
| steps: | ||
| - name: Checkout Repo | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| token: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }} | ||
| - name: Auto approve PR | ||
| uses: hmarr/auto-approve-action@v4 | ||
| with: | ||
| review-message: "I'm approving since it's a bump version PR" | ||
| - name: Enable automerge on PR | ||
| run: gh pr merge --squash --auto ${{ github.event.pull_request.number }} | ||
| env: | ||
| GH_TOKEN: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,4 +5,7 @@ node_modules | |
|
|
||
| .DS_Store | ||
|
|
||
| .npmrc | ||
| .npmrc | ||
|
|
||
| # Builds | ||
| bin | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| Remember to rebuild the extension and install it using the cli specified on the `Roo-Cline/README.md` file, also remember to change directory to the `Roo-Cline` folder before running the commands from the readme. | ||
|
|
||
| Consider that any `export` or `install` command has already been run, so exclude those.ˆ | ||
|
|
||
| Before editing the file 'Roo-Cline/src/core/Cline.ts', since it's a really large file, read the original file to understand its full content. | ||
| Then create a new file with the -updates suffix containing ONLY the changes you've made to the original file. | ||
|
|
||
|
|
||
| In interactive mode, browser actions are disabled (if (!this.isInteractive) check in doAction method) | ||
| The navigateToUrl method uses doAction, which means navigation won't work in interactive mode | ||
|
|
||
| Can we analyze 'Roo-Cline/src/core/Cline.ts' to see how it handles browser actions and if there's some logic preventing it from using 'doAction' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Could you navigate to this URL in interactive mode (isInteractive = true), and keep it open while I chat with you, DO NOT DO ANYTHING UNTIL I TELL YOU TO CONTINUE. | ||
| https://cloud.cypress.io/projects/hkawvm/runs/22055/overview/b890f243-ce56-4047-9252-c99469dfbbea?roarHideRunsWithDiffGroupsAndTags=1&interactive=true |
Uh oh!
There was an error while loading. Please reload this page.