Skip to content

Commit e4fb008

Browse files
committed
Update commands to roo-cline to be consistent with others
1 parent 73ac649 commit e4fb008

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/activate/registerCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const registerCommands = (options: RegisterCommandOptions) => {
4747
// Human Relay Dialog Command
4848
context.subscriptions.push(
4949
vscode.commands.registerCommand(
50-
"roo-code.showHumanRelayDialog",
50+
"roo-cline.showHumanRelayDialog",
5151
(params: { requestId: string; promptText: string }) => {
5252
if (getPanel()) {
5353
getPanel()?.webview.postMessage({

src/api/providers/human-relay.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ async function showHumanRelayDialog(promptText: string): Promise<string | undefi
123123

124124
// Register a global callback function
125125
vscode.commands.executeCommand(
126-
"roo-code.registerHumanRelayCallback",
126+
"roo-cline.registerHumanRelayCallback",
127127
requestId,
128128
(response: string | undefined) => {
129129
resolve(response)
130130
},
131131
)
132132

133133
// Open the dialog box directly using the current panel
134-
vscode.commands.executeCommand("roo-code.showHumanRelayDialog", {
134+
vscode.commands.executeCommand("roo-cline.showHumanRelayDialog", {
135135
requestId,
136136
promptText,
137137
})

src/core/webview/ClineProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
15711571
break
15721572
case "humanRelayResponse":
15731573
if (message.requestId && message.text) {
1574-
vscode.commands.executeCommand("roo-code.handleHumanRelayResponse", {
1574+
vscode.commands.executeCommand("roo-cline.handleHumanRelayResponse", {
15751575
requestId: message.requestId,
15761576
text: message.text,
15771577
cancelled: false,
@@ -1581,7 +1581,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
15811581

15821582
case "humanRelayCancel":
15831583
if (message.requestId) {
1584-
vscode.commands.executeCommand("roo-code.handleHumanRelayResponse", {
1584+
vscode.commands.executeCommand("roo-cline.handleHumanRelayResponse", {
15851585
requestId: message.requestId,
15861586
cancelled: true,
15871587
})

src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function activate(context: vscode.ExtensionContext) {
6060
// Register human relay callback registration command
6161
context.subscriptions.push(
6262
vscode.commands.registerCommand(
63-
"roo-code.registerHumanRelayCallback",
63+
"roo-cline.registerHumanRelayCallback",
6464
(requestId: string, callback: (response: string | undefined) => void) => {
6565
registerHumanRelayCallback(requestId, callback)
6666
},
@@ -70,7 +70,7 @@ export function activate(context: vscode.ExtensionContext) {
7070
// Register human relay response processing command
7171
context.subscriptions.push(
7272
vscode.commands.registerCommand(
73-
"roo-code.handleHumanRelayResponse",
73+
"roo-cline.handleHumanRelayResponse",
7474
(response: { requestId: string; text?: string; cancelled?: boolean }) => {
7575
const callback = humanRelayCallbacks.get(response.requestId)
7676
if (callback) {
@@ -86,7 +86,7 @@ export function activate(context: vscode.ExtensionContext) {
8686
)
8787

8888
context.subscriptions.push(
89-
vscode.commands.registerCommand("roo-code.unregisterHumanRelayCallback", (requestId: string) => {
89+
vscode.commands.registerCommand("roo-cline.unregisterHumanRelayCallback", (requestId: string) => {
9090
humanRelayCallbacks.delete(requestId)
9191
}),
9292
)

0 commit comments

Comments
 (0)