You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/Cline.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1431,7 +1431,7 @@ export class Cline {
1431
1431
consttoolMessage=JSON.stringify({
1432
1432
tool: "finishTask",
1433
1433
content:
1434
-
"Task completed! You can review the results and suggest any corrections or next steps. If everything looks good, confirm to continue with the next task.",
1434
+
"Subtask completed! You can review the results and suggest any corrections or next steps. If everything looks good, confirm to return the result to the parent task.",
@@ -997,9 +997,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
997
997
break
998
998
case"clearTask":
999
999
// clear task resets the current session and allows for a new task to be started, if this session is a subtask - it allows the parent task to be resumed
1000
-
awaitthis.finishSubTask(
1001
-
`new_task finished with an error!, it was stopped and canceled by the user.`,
1002
-
)
1000
+
awaitthis.finishSubTask(`Task error: It was stopped and canceled by the user.`)
1003
1001
awaitthis.postStateToWebview()
1004
1002
break
1005
1003
case"didShowAnnouncement":
@@ -2181,7 +2179,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2181
2179
alwaysAllowBrowser,
2182
2180
alwaysAllowMcp,
2183
2181
alwaysAllowModeSwitch,
2184
-
alwaysAllowFinishTask,
2182
+
alwaysAllowSubtasks,
2185
2183
soundEnabled,
2186
2184
diffEnabled,
2187
2185
enableCheckpoints,
@@ -2229,7 +2227,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
0 commit comments