Skip to content

Commit cafc285

Browse files
mrubensColemanRoo
andauthored
Allow Roo-Cline to coexist with Cline (#23)
Co-authored-by: ColemanRoo <[email protected]>
1 parent cc3186c commit cafc285

File tree

6 files changed

+33
-32
lines changed

6 files changed

+33
-32
lines changed

.github/workflows/marketplace-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
run: |
2929
current_package_version=$(node -p "require('./package.json').version")
3030
npm run vsix
31-
npm run publish:marketplace
31+
npm run publish:marketplace -- --pat VSCE_PAT
3232
echo "Successfully published version $current_package_version to VS Code Marketplace"

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Change Log
22

3-
## Roo Cline 2.1.3
3+
## Roo Cline 2.1.4
44

55
- Roo Cline now publishes to the VS Code Marketplace!
66
- Roo Cline now allows browser actions without approval when `alwaysAllowBrowser` is true
7+
- Roo Cline now can run side-by-side with Cline
78

89
## [2.1.6]
910

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"displayName": "Roo Cline",
44
"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.",
55
"publisher": "RooVeterinaryInc",
6-
"version": "2.1.3",
6+
"version": "2.1.4",
77
"files": [
8-
"bin/roo-cline-2.1.3.vsix",
8+
"bin/roo-cline-2.1.4.vsix",
99
"assets/icons/icon_Roo.png"
1010
],
1111
"icon": "assets/icons/icon_Roo.png",
@@ -51,69 +51,69 @@
5151
"viewsContainers": {
5252
"activitybar": [
5353
{
54-
"id": "claude-dev-ActivityBar",
55-
"title": "Cline",
54+
"id": "roo-cline-ActivityBar",
55+
"title": "Roo Cline",
5656
"icon": "$(robot)"
5757
}
5858
]
5959
},
6060
"views": {
61-
"claude-dev-ActivityBar": [
61+
"roo-cline-ActivityBar": [
6262
{
6363
"type": "webview",
64-
"id": "claude-dev.SidebarProvider",
64+
"id": "roo-cline.SidebarProvider",
6565
"name": ""
6666
}
6767
]
6868
},
6969
"commands": [
7070
{
71-
"command": "cline.plusButtonClicked",
71+
"command": "roo-cline.plusButtonClicked",
7272
"title": "New Task",
7373
"icon": "$(add)"
7474
},
7575
{
76-
"command": "cline.historyButtonClicked",
76+
"command": "roo-cline.historyButtonClicked",
7777
"title": "History",
7878
"icon": "$(history)"
7979
},
8080
{
81-
"command": "cline.popoutButtonClicked",
81+
"command": "roo-cline.popoutButtonClicked",
8282
"title": "Open in Editor",
8383
"icon": "$(link-external)"
8484
},
8585
{
86-
"command": "cline.settingsButtonClicked",
86+
"command": "roo-cline.settingsButtonClicked",
8787
"title": "Settings",
8888
"icon": "$(settings-gear)"
8989
},
9090
{
91-
"command": "cline.openInNewTab",
91+
"command": "roo-cline.openInNewTab",
9292
"title": "Open In New Tab",
93-
"category": "Cline"
93+
"category": "Roo Cline"
9494
}
9595
],
9696
"menus": {
9797
"view/title": [
9898
{
99-
"command": "cline.plusButtonClicked",
99+
"command": "roo-cline.plusButtonClicked",
100100
"group": "navigation@1",
101-
"when": "view == claude-dev.SidebarProvider"
101+
"when": "view == roo-cline.SidebarProvider"
102102
},
103103
{
104-
"command": "cline.historyButtonClicked",
104+
"command": "roo-cline.historyButtonClicked",
105105
"group": "navigation@2",
106-
"when": "view == claude-dev.SidebarProvider"
106+
"when": "view == roo-cline.SidebarProvider"
107107
},
108108
{
109-
"command": "cline.popoutButtonClicked",
109+
"command": "roo-cline.popoutButtonClicked",
110110
"group": "navigation@3",
111-
"when": "view == claude-dev.SidebarProvider"
111+
"when": "view == roo-cline.SidebarProvider"
112112
},
113113
{
114-
"command": "cline.settingsButtonClicked",
114+
"command": "roo-cline.settingsButtonClicked",
115115
"group": "navigation@4",
116-
"when": "view == claude-dev.SidebarProvider"
116+
"when": "view == roo-cline.SidebarProvider"
117117
}
118118
]
119119
}
@@ -136,7 +136,7 @@
136136
"start:webview": "cd webview-ui && npm run start",
137137
"build:webview": "cd webview-ui && npm run build",
138138
"test:webview": "cd webview-ui && npm run test",
139-
"publish:marketplace": "vsce publish && ovsx publish"
139+
"publish:marketplace": "vsce publish"
140140
},
141141
"devDependencies": {
142142
"@types/diff": "^5.2.1",

src/core/webview/ClineProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ export const GlobalFileNames = {
6868
}
6969

7070
export class ClineProvider implements vscode.WebviewViewProvider {
71-
public static readonly sideBarId = "claude-dev.SidebarProvider" // used in package.json as the view's id. This value cannot be changed due to how vscode caches views based on their id, and updating the id would break existing instances of the extension.
72-
public static readonly tabPanelId = "claude-dev.TabPanelProvider"
71+
public static readonly sideBarId = "roo-cline.SidebarProvider" // used in package.json as the view's id. This value cannot be changed due to how vscode caches views based on their id, and updating the id would break existing instances of the extension.
72+
public static readonly tabPanelId = "roo-cline.TabPanelProvider"
7373
private static activeInstances: Set<ClineProvider> = new Set()
7474
private disposables: vscode.Disposable[] = []
7575
private view?: vscode.WebviewView | vscode.WebviewPanel

src/extension.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function activate(context: vscode.ExtensionContext) {
3535
)
3636

3737
context.subscriptions.push(
38-
vscode.commands.registerCommand("cline.plusButtonClicked", async () => {
38+
vscode.commands.registerCommand("roo-cline.plusButtonClicked", async () => {
3939
outputChannel.appendLine("Plus button Clicked")
4040
await sidebarProvider.clearTask()
4141
await sidebarProvider.postStateToWebview()
@@ -76,18 +76,18 @@ export function activate(context: vscode.ExtensionContext) {
7676
await vscode.commands.executeCommand("workbench.action.lockEditorGroup")
7777
}
7878

79-
context.subscriptions.push(vscode.commands.registerCommand("cline.popoutButtonClicked", openClineInNewTab))
80-
context.subscriptions.push(vscode.commands.registerCommand("cline.openInNewTab", openClineInNewTab))
79+
context.subscriptions.push(vscode.commands.registerCommand("roo-cline.popoutButtonClicked", openClineInNewTab))
80+
context.subscriptions.push(vscode.commands.registerCommand("roo-cline.openInNewTab", openClineInNewTab))
8181

8282
context.subscriptions.push(
83-
vscode.commands.registerCommand("cline.settingsButtonClicked", () => {
83+
vscode.commands.registerCommand("roo-cline.settingsButtonClicked", () => {
8484
//vscode.window.showInformationMessage(message)
8585
sidebarProvider.postMessageToWebview({ type: "action", action: "settingsButtonClicked" })
8686
}),
8787
)
8888

8989
context.subscriptions.push(
90-
vscode.commands.registerCommand("cline.historyButtonClicked", () => {
90+
vscode.commands.registerCommand("roo-cline.historyButtonClicked", () => {
9191
sidebarProvider.postMessageToWebview({ type: "action", action: "historyButtonClicked" })
9292
}),
9393
)

0 commit comments

Comments
 (0)