@kaitranntt/ccs 7.13.1-dev.1 → 7.13.1-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
"ANTHROPIC_MODEL": "gemini-3-pro-preview",
|
|
6
6
|
"ANTHROPIC_DEFAULT_OPUS_MODEL": "gemini-3-pro-preview",
|
|
7
7
|
"ANTHROPIC_DEFAULT_SONNET_MODEL": "gemini-3-pro-preview",
|
|
8
|
-
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gemini-
|
|
8
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gemini-claude-sonnet-4-5"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -154,7 +154,10 @@ process.stdin.on('error', () => {
|
|
|
154
154
|
*/
|
|
155
155
|
function isCliAvailable(cmd) {
|
|
156
156
|
try {
|
|
157
|
-
const
|
|
157
|
+
const isWindows = process.platform === 'win32';
|
|
158
|
+
const whichCmd = isWindows ? 'where.exe' : 'which';
|
|
159
|
+
|
|
160
|
+
const result = spawnSync(whichCmd, [cmd], {
|
|
158
161
|
encoding: 'utf8',
|
|
159
162
|
timeout: 2000,
|
|
160
163
|
stdio: ['pipe', 'pipe', 'pipe'],
|