@costrict/cs 2.0.0-preview → 2.0.0
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.
- package/bundle/gemini.js +5 -5
- package/package.json +1 -1
package/bundle/gemini.js
CHANGED
|
@@ -118450,7 +118450,7 @@ import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
|
118450
118450
|
import path16 from "node:path";
|
|
118451
118451
|
async function getVersion() {
|
|
118452
118452
|
const pkgJson = await getPackageJson(__dirname3);
|
|
118453
|
-
return "2.0.0
|
|
118453
|
+
return "2.0.0";
|
|
118454
118454
|
}
|
|
118455
118455
|
var __filename2, __dirname3;
|
|
118456
118456
|
var init_version2 = __esm({
|
|
@@ -261903,7 +261903,7 @@ var init_default2 = __esm({
|
|
|
261903
261903
|
this.contentGeneratorConfig = contentGeneratorConfig;
|
|
261904
261904
|
}
|
|
261905
261905
|
buildHeaders() {
|
|
261906
|
-
const version4 = "2.0.0
|
|
261906
|
+
const version4 = "2.0.0";
|
|
261907
261907
|
const userAgent = `GeminiCLI/${version4} (${process.platform}; ${process.arch})`;
|
|
261908
261908
|
return {
|
|
261909
261909
|
"User-Agent": userAgent
|
|
@@ -261953,7 +261953,7 @@ var init_costrict = __esm({
|
|
|
261953
261953
|
*/
|
|
261954
261954
|
buildHeaders() {
|
|
261955
261955
|
const baseHeaders = super.buildHeaders();
|
|
261956
|
-
const version4 = "2.0.0
|
|
261956
|
+
const version4 = "2.0.0";
|
|
261957
261957
|
const requestId = v7_default();
|
|
261958
261958
|
return {
|
|
261959
261959
|
...baseHeaders,
|
|
@@ -262575,7 +262575,7 @@ var init_dashscope = __esm({
|
|
|
262575
262575
|
return baseUrl === "https://dashscope.aliyuncs.com/compatible-mode/v1" || baseUrl === "https://dashscope-intl.aliyuncs.com/compatible-mode/v1";
|
|
262576
262576
|
}
|
|
262577
262577
|
buildHeaders() {
|
|
262578
|
-
const version4 = "2.0.0
|
|
262578
|
+
const version4 = "2.0.0";
|
|
262579
262579
|
const userAgent = `GeminiCLI/${version4} (${process.platform}; ${process.arch})`;
|
|
262580
262580
|
const { authType } = this.contentGeneratorConfig;
|
|
262581
262581
|
return {
|
|
@@ -387459,7 +387459,7 @@ var init_costrictModelProvider = __esm({
|
|
|
387459
387459
|
debugLogger.warn("[CoStrictModelProvider] Failed to get auth token:", error40);
|
|
387460
387460
|
throw new Error(`Failed to get CoStrict auth token: ${error40 instanceof Error ? error40.message : String(error40)}`);
|
|
387461
387461
|
}
|
|
387462
|
-
const version4 = "2.0.0
|
|
387462
|
+
const version4 = "2.0.0";
|
|
387463
387463
|
const requestId = v7_default();
|
|
387464
387464
|
const headers = {
|
|
387465
387465
|
Authorization: `Bearer ${token2}`,
|