@verboo/code 0.7.13 → 0.7.14

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +45 -28
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -115518,7 +115518,7 @@ function printStartupScreen(modelOverride) {
115518
115518
  const home = process.env.HOME || process.env.USERPROFILE || "";
115519
115519
  const cwd2 = process.cwd();
115520
115520
  const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
115521
- const version2 = "0.7.13";
115521
+ const version2 = "0.7.14";
115522
115522
  const bold2 = `${ESC}1m`;
115523
115523
  const PURPLE = rgb(...ACCENT);
115524
115524
  const SOFT = rgb(...CREAM);
@@ -193526,8 +193526,13 @@ async function* openaiStreamToAnthropic(response, model, signal) {
193526
193526
  return;
193527
193527
  const decoder = new TextDecoder;
193528
193528
  let buffer = "";
193529
- const STREAM_IDLE_TIMEOUT_MS = 120000;
193529
+ const STREAM_IDLE_TIMEOUT_MS = (() => {
193530
+ const raw = process.env.VERBOO_STREAM_IDLE_TIMEOUT_MS;
193531
+ const v = raw ? parseInt(raw, 10) : NaN;
193532
+ return Number.isFinite(v) && v > 0 ? v : 600000;
193533
+ })();
193530
193534
  let lastDataTime = Date.now();
193535
+ const streamStartedAt = Date.now();
193531
193536
  async function readWithTimeout() {
193532
193537
  return new Promise((resolve19, reject) => {
193533
193538
  const timeoutId = setTimeout(() => {
@@ -193577,8 +193582,20 @@ async function* openaiStreamToAnthropic(response, model, signal) {
193577
193582
  try {
193578
193583
  while (true) {
193579
193584
  const { done, value } = await readWithTimeout();
193580
- if (done)
193585
+ if (done) {
193586
+ if (!hasProcessedFinishReason) {
193587
+ const elapsedSec = Math.round((Date.now() - streamStartedAt) / 1000);
193588
+ logForDebugging2(JSON.stringify({
193589
+ type: "premature_stream_close",
193590
+ model,
193591
+ total_chunks: getStreamStats(streamState).totalChunks,
193592
+ duration_ms: Date.now() - streamStartedAt,
193593
+ had_content: hasEmittedContentStart || hasEmittedThinkingStart
193594
+ }), { level: "error" });
193595
+ throw new Error(`Upstream stream closed without finish_reason after ${elapsedSec}s — likely a guard_proxy/vLLM disconnect. The session was interrupted, not completed.`);
193596
+ }
193581
193597
  break;
193598
+ }
193582
193599
  buffer += decoder.decode(value, { stream: true });
193583
193600
  const lines = buffer.split(`
193584
193601
  `);
@@ -376813,7 +376830,7 @@ function getAnthropicEnvMetadata() {
376813
376830
  function getBuildAgeMinutes() {
376814
376831
  if (false)
376815
376832
  ;
376816
- const buildTime = new Date("2026-05-01T21:26:42.802Z").getTime();
376833
+ const buildTime = new Date("2026-05-01T23:21:37.506Z").getTime();
376817
376834
  if (isNaN(buildTime))
376818
376835
  return;
376819
376836
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -417349,7 +417366,7 @@ function buildPrimarySection() {
417349
417366
  }, undefined, false, undefined, this);
417350
417367
  return [{
417351
417368
  label: "Version",
417352
- value: "0.7.13"
417369
+ value: "0.7.14"
417353
417370
  }, {
417354
417371
  label: "Session name",
417355
417372
  value: nameValue
@@ -485299,7 +485316,7 @@ var init_bridge_kick = __esm(() => {
485299
485316
  var call60 = async () => {
485300
485317
  return {
485301
485318
  type: "text",
485302
- value: `${"99.0.0"} (built ${"2026-05-01T21:26:42.802Z"})`
485319
+ value: `${"99.0.0"} (built ${"2026-05-01T23:21:37.506Z"})`
485303
485320
  };
485304
485321
  }, version2, version_default;
485305
485322
  var init_version = __esm(() => {
@@ -561069,7 +561086,7 @@ function WelcomeV2() {
561069
561086
  dimColor: true,
561070
561087
  children: [
561071
561088
  "v",
561072
- "0.7.13",
561089
+ "0.7.14",
561073
561090
  " "
561074
561091
  ]
561075
561092
  }, undefined, true, undefined, this)
@@ -561256,7 +561273,7 @@ function WelcomeV2() {
561256
561273
  dimColor: true,
561257
561274
  children: [
561258
561275
  "v",
561259
- "0.7.13",
561276
+ "0.7.14",
561260
561277
  " "
561261
561278
  ]
561262
561279
  }, undefined, true, undefined, this)
@@ -561472,7 +561489,7 @@ function AppleTerminalWelcomeV2(t0) {
561472
561489
  dimColor: true,
561473
561490
  children: [
561474
561491
  "v",
561475
- "0.7.13",
561492
+ "0.7.14",
561476
561493
  " "
561477
561494
  ]
561478
561495
  }, undefined, true, undefined, this);
@@ -561681,7 +561698,7 @@ function AppleTerminalWelcomeV2(t0) {
561681
561698
  dimColor: true,
561682
561699
  children: [
561683
561700
  "v",
561684
- "0.7.13",
561701
+ "0.7.14",
561685
561702
  " "
561686
561703
  ]
561687
561704
  }, undefined, true, undefined, this);
@@ -579812,7 +579829,7 @@ __export(exports_update, {
579812
579829
  async function update() {
579813
579830
  if (getAPIProvider() !== "firstParty") {
579814
579831
  writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
579815
- `) + `Current version: ${"0.7.13"}
579832
+ `) + `Current version: ${"0.7.14"}
579816
579833
 
579817
579834
  ` + `To update, reinstall from npm:
579818
579835
  ` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
@@ -579823,7 +579840,7 @@ async function update() {
579823
579840
  await gracefulShutdown(0);
579824
579841
  }
579825
579842
  logEvent("tengu_update_check", {});
579826
- writeToStdout(`Current version: ${"0.7.13"}
579843
+ writeToStdout(`Current version: ${"0.7.14"}
579827
579844
  `);
579828
579845
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
579829
579846
  writeToStdout(`Checking for updates to ${channel} version...
@@ -579908,8 +579925,8 @@ async function update() {
579908
579925
  writeToStdout(`Claude is managed by Homebrew.
579909
579926
  `);
579910
579927
  const latest = await getLatestVersion(channel);
579911
- if (latest && !gte("0.7.13", latest)) {
579912
- writeToStdout(`Update available: ${"0.7.13"} → ${latest}
579928
+ if (latest && !gte("0.7.14", latest)) {
579929
+ writeToStdout(`Update available: ${"0.7.14"} → ${latest}
579913
579930
  `);
579914
579931
  writeToStdout(`
579915
579932
  `);
@@ -579925,8 +579942,8 @@ async function update() {
579925
579942
  writeToStdout(`Claude is managed by winget.
579926
579943
  `);
579927
579944
  const latest = await getLatestVersion(channel);
579928
- if (latest && !gte("0.7.13", latest)) {
579929
- writeToStdout(`Update available: ${"0.7.13"} → ${latest}
579945
+ if (latest && !gte("0.7.14", latest)) {
579946
+ writeToStdout(`Update available: ${"0.7.14"} → ${latest}
579930
579947
  `);
579931
579948
  writeToStdout(`
579932
579949
  `);
@@ -579942,8 +579959,8 @@ async function update() {
579942
579959
  writeToStdout(`Claude is managed by apk.
579943
579960
  `);
579944
579961
  const latest = await getLatestVersion(channel);
579945
- if (latest && !gte("0.7.13", latest)) {
579946
- writeToStdout(`Update available: ${"0.7.13"} → ${latest}
579962
+ if (latest && !gte("0.7.14", latest)) {
579963
+ writeToStdout(`Update available: ${"0.7.14"} → ${latest}
579947
579964
  `);
579948
579965
  writeToStdout(`
579949
579966
  `);
@@ -580008,11 +580025,11 @@ async function update() {
580008
580025
  `);
580009
580026
  await gracefulShutdown(1);
580010
580027
  }
580011
- if (result.latestVersion === "0.7.13") {
580012
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.13"})`) + `
580028
+ if (result.latestVersion === "0.7.14") {
580029
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.14"})`) + `
580013
580030
  `);
580014
580031
  } else {
580015
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.13"} to version ${result.latestVersion}`) + `
580032
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.14"} to version ${result.latestVersion}`) + `
580016
580033
  `);
580017
580034
  await regenerateCompletionCache();
580018
580035
  }
@@ -580072,12 +580089,12 @@ async function update() {
580072
580089
  `);
580073
580090
  await gracefulShutdown(1);
580074
580091
  }
580075
- if (latestVersion === "0.7.13") {
580076
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.13"})`) + `
580092
+ if (latestVersion === "0.7.14") {
580093
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.14"})`) + `
580077
580094
  `);
580078
580095
  await gracefulShutdown(0);
580079
580096
  }
580080
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.13"})
580097
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.14"})
580081
580098
  `);
580082
580099
  writeToStdout(`Installing update...
580083
580100
  `);
@@ -580122,7 +580139,7 @@ async function update() {
580122
580139
  logForDebugging2(`update: Installation status: ${status2}`);
580123
580140
  switch (status2) {
580124
580141
  case "success":
580125
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.13"} to version ${latestVersion}`) + `
580142
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.14"} to version ${latestVersion}`) + `
580126
580143
  `);
580127
580144
  await regenerateCompletionCache();
580128
580145
  break;
@@ -582175,7 +582192,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
582175
582192
  pendingHookMessages
582176
582193
  }, renderAndRun);
582177
582194
  }
582178
- }).version(`0.7.13 (${cliDesc})`, "-v, --version", "Output the version number");
582195
+ }).version(`0.7.14 (${cliDesc})`, "-v, --version", "Output the version number");
582179
582196
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
582180
582197
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
582181
582198
  if (canUserConfigureAdvisor()) {
@@ -582743,7 +582760,7 @@ if (false) {}
582743
582760
  async function main2() {
582744
582761
  const args = process.argv.slice(2);
582745
582762
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
582746
- console.log(`${"0.7.13"} (Verboo Code)`);
582763
+ console.log(`${"0.7.14"} (Verboo Code)`);
582747
582764
  return;
582748
582765
  }
582749
582766
  if (args.includes("--provider")) {
@@ -582899,4 +582916,4 @@ async function main2() {
582899
582916
  }
582900
582917
  main2();
582901
582918
 
582902
- //# debugId=85C039292D955A7B64756E2164756E21
582919
+ //# debugId=1E427B195CA6CAB364756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verboo/code",
3
- "version": "0.7.13",
3
+ "version": "0.7.14",
4
4
  "description": "Verboo Code — coding agent for the Verboo platform",
5
5
  "type": "module",
6
6
  "bin": {