@costrict/csc 4.2.33 → 4.2.34

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 CHANGED
@@ -237605,7 +237605,7 @@ var init_metadata = __esm(() => {
237605
237605
  isClaudeAiAuth: isClaudeAISubscriber(),
237606
237606
  version: "4.2.33",
237607
237607
  versionBase: getVersionBase(),
237608
- buildTime: "2026-09-02T08:06:33.927Z",
237608
+ buildTime: "2026-09-03T05:24:39.995Z",
237609
237609
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
237610
237610
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
237611
237611
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -306313,8 +306313,17 @@ async function* adaptOpenAIStreamToAnthropic(stream7, model) {
306313
306313
  if (!delta)
306314
306314
  continue;
306315
306315
  const reasoningContent = extractReasoning(delta);
306316
- if (reasoningContent != null) {
306316
+ const isEmptyReasoningNoise = reasoningContent === "" && openBlockIndices.size > 0;
306317
+ if (reasoningContent != null && !isEmptyReasoningNoise) {
306317
306318
  if (!thinkingBlockOpen) {
306319
+ if (textBlockOpen) {
306320
+ yield {
306321
+ type: "content_block_stop",
306322
+ index: currentContentIndex
306323
+ };
306324
+ openBlockIndices.delete(currentContentIndex);
306325
+ textBlockOpen = false;
306326
+ }
306318
306327
  currentContentIndex++;
306319
306328
  thinkingBlockOpen = true;
306320
306329
  openBlockIndices.add(currentContentIndex);
@@ -763985,7 +763994,7 @@ function getAnthropicEnvMetadata() {
763985
763994
  function getBuildAgeMinutes() {
763986
763995
  if (false)
763987
763996
  ;
763988
- const buildTime = new Date("2026-09-02T08:06:33.927Z").getTime();
763997
+ const buildTime = new Date("2026-09-03T05:24:39.995Z").getTime();
763989
763998
  if (isNaN(buildTime))
763990
763999
  return;
763991
764000
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -839508,7 +839517,7 @@ var init_mock_limits = __esm(() => {
839508
839517
  var call56 = async () => {
839509
839518
  return {
839510
839519
  type: "text",
839511
- value: `${"4.2.33"} (built ${"2026-09-02T08:06:33.927Z"})`
839520
+ value: `${"4.2.33"} (built ${"2026-09-03T05:24:39.995Z"})`
839512
839521
  };
839513
839522
  }, version11, version_default;
839514
839523
  var init_version2 = __esm(() => {
@@ -964906,10 +964915,10 @@ function getCouncilArgs(args) {
964906
964915
  async function main2() {
964907
964916
  const args = process.argv.slice(2);
964908
964917
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
964909
- const d7 = new Date("2026-09-02T08:06:33.927Z");
964918
+ const d7 = new Date("2026-09-03T05:24:39.995Z");
964910
964919
  const p2 = (n3) => String(n3).padStart(2, "0");
964911
964920
  const buildTime = `${d7.getFullYear()}/${p2(d7.getMonth() + 1)}/${p2(d7.getDate())} ${p2(d7.getHours())}:${p2(d7.getMinutes())}:${p2(d7.getSeconds())}`;
964912
- console.log(`${"4.2.33"} (commit: ${"844e26c1f"}, built: ${buildTime})`);
964921
+ console.log(`${"4.2.33"} (commit: ${"d44b896fc"}, built: ${buildTime})`);
964913
964922
  return;
964914
964923
  }
964915
964924
  if (true) {
@@ -965108,5 +965117,5 @@ async function main2() {
965108
965117
  }
965109
965118
  main2();
965110
965119
 
965111
- //# debugId=ED1B42ACCE65670B64756E2164756E21
965120
+ //# debugId=43E6CBA08D54E9EA64756E2164756E21
965112
965121
 
@@ -140124,7 +140124,7 @@ var init_metadata = __esm(() => {
140124
140124
  isClaudeAiAuth: isClaudeAISubscriber(),
140125
140125
  version: "4.2.33",
140126
140126
  versionBase: getVersionBase(),
140127
- buildTime: "2026-09-02T08:06:36.221Z",
140127
+ buildTime: "2026-09-03T05:24:42.303Z",
140128
140128
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
140129
140129
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
140130
140130
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -144478,5 +144478,5 @@ export {
144478
144478
  isParentHeartbeatValid
144479
144479
  };
144480
144480
 
144481
- //# debugId=3CBA04A9D132423864756E2164756E21
144481
+ //# debugId=BC49E06F7CE4841164756E2164756E21
144482
144482
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@costrict/csc",
3
- "version": "4.2.33",
3
+ "version": "4.2.34",
4
4
  "description": "costrict",
5
5
  "type": "module",
6
6
  "author": "costrict",