@costrict/csc 4.2.25 → 4.2.26

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.
@@ -736,8 +736,8 @@ function getClientVersion() {
736
736
  if (cached)
737
737
  return cached;
738
738
  try {
739
- if ("4.2.25") {
740
- cached = "4.2.25";
739
+ if ("4.2.26") {
740
+ cached = "4.2.26";
741
741
  return cached;
742
742
  }
743
743
  } catch {}
@@ -127720,7 +127720,6 @@ var init_model = __esm(() => {
127720
127720
  init_stringUtils();
127721
127721
  init_listModels();
127722
127722
  });
127723
-
127724
127723
  // src/services/api/client.ts
127725
127724
  var init_client3 = __esm(() => {
127726
127725
  init_sdk();
@@ -127783,7 +127782,10 @@ var init_modelMapping = __esm(() => {
127783
127782
 
127784
127783
  // src/utils/context.ts
127785
127784
  function is1mContextDisabled() {
127786
- return isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_1M_CONTEXT);
127785
+ if (isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_1M_CONTEXT)) {
127786
+ return true;
127787
+ }
127788
+ return !isEnvTruthy(process.env.COSTRICT_ENABLE_1M_CONTEXT ?? process.env.CLAUDE_CODE_ENABLE_1M_CONTEXT);
127787
127789
  }
127788
127790
  function has1mContext(model) {
127789
127791
  if (is1mContextDisabled()) {
@@ -138557,7 +138559,7 @@ var init_user = __esm(() => {
138557
138559
  deviceId,
138558
138560
  sessionId: getSessionId(),
138559
138561
  email: getEmail(),
138560
- appVersion: "4.2.25",
138562
+ appVersion: "4.2.26",
138561
138563
  platform: getHostPlatformForAnalytics(),
138562
138564
  organizationUuid,
138563
138565
  accountUuid,
@@ -138844,7 +138846,7 @@ var init_metadata = __esm(() => {
138844
138846
  "sed"
138845
138847
  ]);
138846
138848
  getVersionBase = memoize_default(() => {
138847
- const match = "4.2.25".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
138849
+ const match = "4.2.26".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
138848
138850
  return match ? match[0] : undefined;
138849
138851
  });
138850
138852
  buildEnvContext = memoize_default(async () => {
@@ -138884,9 +138886,9 @@ var init_metadata = __esm(() => {
138884
138886
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
138885
138887
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
138886
138888
  isClaudeAiAuth: isClaudeAISubscriber(),
138887
- version: "4.2.25",
138889
+ version: "4.2.26",
138888
138890
  versionBase: getVersionBase(),
138889
- buildTime: "2026-08-06T08:23:09.793Z",
138891
+ buildTime: "2026-08-07T10:30:27.972Z",
138890
138892
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
138891
138893
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
138892
138894
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -143224,5 +143226,5 @@ export {
143224
143226
  isParentHeartbeatValid
143225
143227
  };
143226
143228
 
143227
- //# debugId=29200D3432A7B6E564756E2164756E21
143229
+ //# debugId=39185FA2EE04434564756E2164756E21
143228
143230
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@costrict/csc",
3
- "version": "4.2.25",
3
+ "version": "4.2.26",
4
4
  "description": "costrict",
5
5
  "type": "module",
6
6
  "author": "costrict",