@costrict/csc 4.2.18 → 4.2.20
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/dist/cli.js +3221 -2552
- package/dist/services/rawDump/batchWorker.js +16 -9
- package/package.json +1 -1
|
@@ -736,8 +736,8 @@ function getClientVersion() {
|
|
|
736
736
|
if (cached)
|
|
737
737
|
return cached;
|
|
738
738
|
try {
|
|
739
|
-
if ("4.2.
|
|
740
|
-
cached = "4.2.
|
|
739
|
+
if ("4.2.20") {
|
|
740
|
+
cached = "4.2.20";
|
|
741
741
|
return cached;
|
|
742
742
|
}
|
|
743
743
|
} catch {}
|
|
@@ -127565,6 +127565,12 @@ var init_modelAllowlist = __esm(() => {
|
|
|
127565
127565
|
init_modelStrings();
|
|
127566
127566
|
});
|
|
127567
127567
|
|
|
127568
|
+
// src/services/api/openai/listModels.ts
|
|
127569
|
+
var CACHE_TTL_MS;
|
|
127570
|
+
var init_listModels = __esm(() => {
|
|
127571
|
+
CACHE_TTL_MS = 60 * 60 * 1000;
|
|
127572
|
+
});
|
|
127573
|
+
|
|
127568
127574
|
// src/utils/model/model.ts
|
|
127569
127575
|
function firstPartyNameToCanonical(name) {
|
|
127570
127576
|
name = name.toLowerCase();
|
|
@@ -127636,6 +127642,7 @@ var init_model = __esm(() => {
|
|
|
127636
127642
|
init_modelAllowlist();
|
|
127637
127643
|
init_aliases();
|
|
127638
127644
|
init_stringUtils();
|
|
127645
|
+
init_listModels();
|
|
127639
127646
|
});
|
|
127640
127647
|
|
|
127641
127648
|
// src/services/api/client.ts
|
|
@@ -127687,9 +127694,9 @@ var init_modelCapabilities = __esm(() => {
|
|
|
127687
127694
|
});
|
|
127688
127695
|
|
|
127689
127696
|
// src/costrict/provider/models.ts
|
|
127690
|
-
var
|
|
127697
|
+
var CACHE_TTL_MS2;
|
|
127691
127698
|
var init_models3 = __esm(() => {
|
|
127692
|
-
|
|
127699
|
+
CACHE_TTL_MS2 = 60 * 60 * 1000;
|
|
127693
127700
|
});
|
|
127694
127701
|
|
|
127695
127702
|
// src/costrict/provider/modelMapping.ts
|
|
@@ -138474,7 +138481,7 @@ var init_user = __esm(() => {
|
|
|
138474
138481
|
deviceId,
|
|
138475
138482
|
sessionId: getSessionId(),
|
|
138476
138483
|
email: getEmail(),
|
|
138477
|
-
appVersion: "4.2.
|
|
138484
|
+
appVersion: "4.2.20",
|
|
138478
138485
|
platform: getHostPlatformForAnalytics(),
|
|
138479
138486
|
organizationUuid,
|
|
138480
138487
|
accountUuid,
|
|
@@ -138761,7 +138768,7 @@ var init_metadata = __esm(() => {
|
|
|
138761
138768
|
"sed"
|
|
138762
138769
|
]);
|
|
138763
138770
|
getVersionBase = memoize_default(() => {
|
|
138764
|
-
const match = "4.2.
|
|
138771
|
+
const match = "4.2.20".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
138765
138772
|
return match ? match[0] : undefined;
|
|
138766
138773
|
});
|
|
138767
138774
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -138801,9 +138808,9 @@ var init_metadata = __esm(() => {
|
|
|
138801
138808
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
138802
138809
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
138803
138810
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
138804
|
-
version: "4.2.
|
|
138811
|
+
version: "4.2.20",
|
|
138805
138812
|
versionBase: getVersionBase(),
|
|
138806
|
-
buildTime: "2026-07-
|
|
138813
|
+
buildTime: "2026-07-30T04:23:57.550Z",
|
|
138807
138814
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
138808
138815
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
138809
138816
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -143141,5 +143148,5 @@ export {
|
|
|
143141
143148
|
isParentHeartbeatValid
|
|
143142
143149
|
};
|
|
143143
143150
|
|
|
143144
|
-
//# debugId=
|
|
143151
|
+
//# debugId=4F7504935669246564756E2164756E21
|
|
143145
143152
|
|