Rename Cline

This commit is contained in:
Saoud Rizwan 2024-10-06 00:02:13 -04:00
parent 385c54d3c0
commit 6502b3cb24
2 changed files with 7 additions and 21 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "claude-dev", "name": "claude-dev",
"displayName": "Claude Dev", "displayName": "Cline (prev. Claude Dev)",
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.", "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.",
"version": "1.9.7", "version": "1.9.7",
"icon": "icons/icon.png", "icon": "icons/icon.png",
@ -12,13 +12,13 @@
"vscode": "^1.84.0" "vscode": "^1.84.0"
}, },
"author": { "author": {
"name": "Saoud Rizwan" "name": "Cline Inc."
}, },
"license": "MIT", "license": "Apache-2.0",
"publisher": "saoudrizwan", "publisher": "saoudrizwan",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/saoudrizwan/claude-dev" "url": "https://github.com/clinebot/cline"
}, },
"categories": [ "categories": [
"AI", "AI",
@ -29,6 +29,7 @@
"Testing" "Testing"
], ],
"keywords": [ "keywords": [
"cline",
"claude", "claude",
"coding", "coding",
"agent", "agent",
@ -45,7 +46,7 @@
"activitybar": [ "activitybar": [
{ {
"id": "claude-dev-ActivityBar", "id": "claude-dev-ActivityBar",
"title": "Claude Dev", "title": "Cline",
"icon": "$(robot)" "icon": "$(robot)"
} }
] ]
@ -83,7 +84,7 @@
{ {
"command": "claude-dev.openInNewTab", "command": "claude-dev.openInNewTab",
"title": "Open In New Tab", "title": "Open In New Tab",
"category": "Claude Dev" "category": "Cline"
} }
], ],
"menus": { "menus": {

View File

@ -20,25 +20,11 @@ let outputChannel: vscode.OutputChannel
// This method is called when your extension is activated // This method is called when your extension is activated
// Your extension is activated the very first time the command is executed // Your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) { export function activate(context: vscode.ExtensionContext) {
// Use the console to output diagnostic information (console.log) and errors (console.error)
// This line of code will only be executed once when your extension is activated
//console.log('Congratulations, your extension "claude-dev" is now active!')
outputChannel = vscode.window.createOutputChannel("Cline") outputChannel = vscode.window.createOutputChannel("Cline")
context.subscriptions.push(outputChannel) context.subscriptions.push(outputChannel)
outputChannel.appendLine("Cline extension activated") outputChannel.appendLine("Cline extension activated")
// The command has been defined in the package.json file
// Now provide the implementation of the command with registerCommand
// The commandId parameter must match the command field in package.json
// const disposable = vscode.commands.registerCommand("claude-dev.helloWorld", () => {
// // The code you place here will be executed every time your command is executed
// // Display a message box to the user
// vscode.window.showInformationMessage("Hello World from claude-dev!")
// })
// context.subscriptions.push(disposable)
const sidebarProvider = new ClineProvider(context, outputChannel) const sidebarProvider = new ClineProvider(context, outputChannel)
context.subscriptions.push( context.subscriptions.push(
@ -94,7 +80,6 @@ export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push( context.subscriptions.push(
vscode.commands.registerCommand("claude-dev.settingsButtonTapped", () => { vscode.commands.registerCommand("claude-dev.settingsButtonTapped", () => {
//const message = "claude-dev.settingsButtonTapped!"
//vscode.window.showInformationMessage(message) //vscode.window.showInformationMessage(message)
sidebarProvider.postMessageToWebview({ type: "action", action: "settingsButtonTapped" }) sidebarProvider.postMessageToWebview({ type: "action", action: "settingsButtonTapped" })
}) })