Skip to content

Commit 23c17a1

Browse files
authored
chore(release): bump version to 2.0.8 (#619)
1 parent 657382c commit 23c17a1

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# CoStrict Change Log
22

3+
## [2.0.8]
4+
5+
- Add mode parameter to ZgsmAiHandler
6+
- Optimized codereview error handle
7+
- Update wiki to v2
8+
- Update file detail
9+
- Optimized tools prompts
10+
- Optimized shell config
11+
- Fix eliminate UI flicker during task cancellation
12+
- Update internationalization of agents
13+
- Sync roocode [last commit](https://github.com/zgsm-ai/costrict/commit/6965e5c791b4514f8f83b881a08091b4d2fbaa9a)
14+
- Fix known issues
15+
316
## [2.0.7]
417

518
- Delete legacy api and add timeout handling

src/core/webview/__tests__/ClineProvider.flicker-free-cancel.spec.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { beforeEach, describe, expect, it, vi } from "vitest"
2-
import * as vscode from "vscode"
32

43
import { ClineProvider } from "../ClineProvider"
54
import { Task } from "../../task/Task"
6-
import { ContextProxy } from "../../config/ContextProxy"
75
import type { ProviderSettings, HistoryItem } from "@roo-code/types"
86

97
// Mock dependencies
@@ -17,6 +15,12 @@ vi.mock("vscode", () => {
1715
})),
1816
workspaceFolders: [],
1917
onDidChangeConfiguration: vi.fn(() => mockDisposable),
18+
createFileSystemWatcher: vi.fn(() => ({
19+
onDidCreate: vi.fn(),
20+
onDidChange: vi.fn(),
21+
onDidDelete: vi.fn(),
22+
dispose: vi.fn(),
23+
})),
2024
},
2125
env: {
2226
uriScheme: "vscode",
@@ -35,10 +39,15 @@ vi.mock("vscode", () => {
3539
dispose: vi.fn(),
3640
}),
3741
onDidChangeActiveTextEditor: vi.fn(() => mockDisposable),
42+
createOutputChannel: vi.fn().mockReturnValue({
43+
appendLine: vi.fn(),
44+
dispose: vi.fn(),
45+
}),
3846
},
3947
Uri: {
4048
file: vi.fn().mockReturnValue({ toString: () => "file://test" }),
4149
},
50+
RelativePattern: vi.fn((base, pattern) => ({ base, pattern })),
4251
}
4352
})
4453

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "%extension.displayName.long%",
44
"description": "%extension.description%",
55
"publisher": "zgsm-ai",
6-
"version": "2.0.7",
6+
"version": "2.0.8",
77
"icon": "assets/images/shenma_robot_logo_big.png",
88
"galleryBanner": {
99
"color": "#617A91",

0 commit comments

Comments
 (0)