Skip to content

Commit

Permalink
Updated naming of extension to cline-unleashed (warning will need new…
Browse files Browse the repository at this point in the history
… settings)
  • Loading branch information
jakenuts committed Dec 13, 2024
1 parent d485b3c commit bd51815
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-upstream-and-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Pull upstream changes
run: |
git remote add upstream https://github.com/jakenuts/claude-dev.git
git remote add upstream https://github.com/jakenuts/cline-unleashed.git
git fetch upstream
git checkout main
git merge upstream/main
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "claude-dev-unleashed",
"name": "cline-unleashed",
"displayName": "Cline Unleashed⛓️‍💥 (prev. Claude Dev)",
"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.2.2",
Expand Down Expand Up @@ -49,79 +49,79 @@
"viewsContainers": {
"activitybar": [
{
"id": "claude-dev-unleashed-ActivityBar",
"id": "cline-unleashed-ActivityBar",
"title": "Cline Unleashed⛓️‍💥",
"icon": "$(robot)"
}
]
},
"views": {
"claude-dev-unleashed-ActivityBar": [
"cline-unleashed-ActivityBar": [
{
"type": "webview",
"id": "claude-dev-unleashed.SidebarProvider",
"id": "cline-unleashed.SidebarProvider",
"name": ""
}
]
},
"commands": [
{
"command": "clineunleashed.plusButtonClicked",
"command": "cline-unleashed.plusButtonClicked",
"title": "New Task",
"icon": "$(add)"
},
{
"command": "clineunleashed.mcpButtonClicked",
"command": "cline-unleashed.mcpButtonClicked",
"title": "MCP Servers",
"icon": "$(server)"
},
{
"command": "clineunleashed.historyButtonClicked",
"command": "cline-unleashed.historyButtonClicked",
"title": "History",
"icon": "$(history)"
},
{
"command": "clineunleashed.popoutButtonClicked",
"command": "cline-unleashed.popoutButtonClicked",
"title": "Open in Editor",
"icon": "$(link-external)"
},
{
"command": "clineunleashed.settingsButtonClicked",
"command": "cline-unleashed.settingsButtonClicked",
"title": "Settings",
"icon": "$(settings-gear)"
},
{
"command": "clineunleashed.openInNewTab",
"command": "cline-unleashed.openInNewTab",
"title": "Open In New Tab",
"category": "Cline"
}
],
"menus": {
"view/title": [
{
"command": "clineunleashed.plusButtonClicked",
"command": "cline-unleashed.plusButtonClicked",
"group": "navigation@1",
"when": "view == claude-dev-unleashed.SidebarProvider"
"when": "view == cline-unleashed.SidebarProvider"
},
{
"command": "clineunleashed.mcpButtonClicked",
"command": "cline-unleashed.mcpButtonClicked",
"group": "navigation@2",
"when": "view == claude-dev-unleashed.SidebarProvider"
"when": "view == cline-unleashed.SidebarProvider"
},
{
"command": "clineunleashed.historyButtonClicked",
"command": "cline-unleashed.historyButtonClicked",
"group": "navigation@3",
"when": "view == claude-dev-unleashed.SidebarProvider"
"when": "view == cline-unleashed.SidebarProvider"
},
{
"command": "clineunleashed.popoutButtonClicked",
"command": "cline-unleashed.popoutButtonClicked",
"group": "navigation@4",
"when": "view == claude-dev-unleashed.SidebarProvider"
"when": "view == cline-unleashed.SidebarProvider"
},
{
"command": "clineunleashed.settingsButtonClicked",
"command": "cline-unleashed.settingsButtonClicked",
"group": "navigation@5",
"when": "view == claude-dev-unleashed.SidebarProvider"
"when": "view == cline-unleashed.SidebarProvider"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions src/core/webview/ClineProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export const GlobalFileNames = {
}

export class ClineProvider implements vscode.WebviewViewProvider {
public static readonly sideBarId = "claude-dev-unleashed.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.
public static readonly tabPanelId = "claude-dev.TabPanelProvider"
public static readonly sideBarId = "cline-unleashed.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.
public static readonly tabPanelId = "cline-unleashed.TabPanelProvider"
private static activeInstances: Set<ClineProvider> = new Set()
private disposables: vscode.Disposable[] = []
private view?: vscode.WebviewView | vscode.WebviewPanel
Expand Down
12 changes: 6 additions & 6 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function activate(context: vscode.ExtensionContext) {
)

context.subscriptions.push(
vscode.commands.registerCommand("clineunleashed.plusButtonClicked", async () => {
vscode.commands.registerCommand("cline-unleashed.plusButtonClicked", async () => {
outputChannel.appendLine("Plus button Clicked")
await sidebarProvider.clearTask()
await sidebarProvider.postStateToWebview()
Expand All @@ -49,7 +49,7 @@ export function activate(context: vscode.ExtensionContext) {
)

context.subscriptions.push(
vscode.commands.registerCommand("cline.mcpButtonClicked", () => {
vscode.commands.registerCommand("cline-unleashed.mcpButtonClicked", () => {
sidebarProvider.postMessageToWebview({ type: "action", action: "mcpButtonClicked" })
}),
)
Expand Down Expand Up @@ -87,18 +87,18 @@ export function activate(context: vscode.ExtensionContext) {
await vscode.commands.executeCommand("workbench.action.lockEditorGroup")
}

context.subscriptions.push(vscode.commands.registerCommand("clineunleashed.popoutButtonClicked", openClineInNewTab))
context.subscriptions.push(vscode.commands.registerCommand("clineunleashed.openInNewTab", openClineInNewTab))
context.subscriptions.push(vscode.commands.registerCommand("cline-unleashed.popoutButtonClicked", openClineInNewTab))
context.subscriptions.push(vscode.commands.registerCommand("cline-unleashed.openInNewTab", openClineInNewTab))

context.subscriptions.push(
vscode.commands.registerCommand("clineunleashed.settingsButtonClicked", () => {
vscode.commands.registerCommand("cline-unleashed.settingsButtonClicked", () => {
//vscode.window.showInformationMessage(message)
sidebarProvider.postMessageToWebview({ type: "action", action: "settingsButtonClicked" })
}),
)

context.subscriptions.push(
vscode.commands.registerCommand("clineunleashed.historyButtonClicked", () => {
vscode.commands.registerCommand("cline-unleashed.historyButtonClicked", () => {
sidebarProvider.postMessageToWebview({ type: "action", action: "historyButtonClicked" })
}),
)
Expand Down
2 changes: 1 addition & 1 deletion tool-publish-new-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ git tag v$Release
git push origin v$Release

gh release create v$Release --generate-notes
gh release upload v$Release claude-dev-unleashed-$Release.vsix
gh release upload v$Release cline-unleashed-$Release.vsix

0 comments on commit bd51815

Please sign in to comment.