@verboo/code 0.9.4 → 0.9.6

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 +97 -43
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -174432,7 +174432,7 @@ function convertMessages(messages, system, options2) {
174432
174432
  ...toolCall.extra_content,
174433
174433
  google: {
174434
174434
  ...existingGoogle,
174435
- thought_signature: signature ?? "skip_thought_signature_validator"
174435
+ thought_signature: signature ?? existingGoogle.thought_signature ?? "skip_thought_signature_validator"
174436
174436
  }
174437
174437
  };
174438
174438
  }
@@ -174787,12 +174787,15 @@ async function* openaiStreamToAnthropic(response, model2, signal) {
174787
174787
  const initialArguments = tc.function.arguments ?? "";
174788
174788
  const normalizeAtStop = hasToolFieldMapping(tc.function.name);
174789
174789
  processStreamChunk(streamState, tc.function.arguments ?? "");
174790
+ const topLevelSig = tc.thought_signature;
174791
+ const initEC = tc.extra_content ? { ...tc.extra_content } : topLevelSig ? { google: { thought_signature: topLevelSig } } : undefined;
174790
174792
  activeToolCalls.set(tc.index, {
174791
174793
  id: tc.id,
174792
174794
  name: tc.function.name,
174793
174795
  index: toolBlockIndex,
174794
174796
  jsonBuffer: initialArguments,
174795
- normalizeAtStop
174797
+ normalizeAtStop,
174798
+ extra_content: initEC
174796
174799
  });
174797
174800
  yield {
174798
174801
  type: "content_block_start",
@@ -174802,10 +174805,8 @@ async function* openaiStreamToAnthropic(response, model2, signal) {
174802
174805
  id: tc.id,
174803
174806
  name: tc.function.name,
174804
174807
  input: {},
174805
- ...tc.extra_content ? { extra_content: tc.extra_content } : {},
174806
- ...tc.extra_content?.google?.thought_signature ? {
174807
- signature: tc.extra_content.google.thought_signature
174808
- } : {}
174808
+ ...initEC ? { extra_content: initEC } : {},
174809
+ ...initEC?.google?.thought_signature ? { signature: initEC.google.thought_signature } : {}
174809
174810
  }
174810
174811
  };
174811
174812
  contentBlockIndex++;
@@ -174825,6 +174826,11 @@ async function* openaiStreamToAnthropic(response, model2, signal) {
174825
174826
  if (tc.function.arguments) {
174826
174827
  active.jsonBuffer += tc.function.arguments;
174827
174828
  }
174829
+ const contSig = tc.thought_signature;
174830
+ const contEC = tc.extra_content ? { ...tc.extra_content } : contSig ? { google: { thought_signature: contSig } } : undefined;
174831
+ if (contEC) {
174832
+ active.extra_content = { ...active.extra_content ?? {}, ...contEC };
174833
+ }
174828
174834
  if (active.normalizeAtStop) {
174829
174835
  continue;
174830
174836
  }
@@ -174837,6 +174843,15 @@ async function* openaiStreamToAnthropic(response, model2, signal) {
174837
174843
  }
174838
174844
  };
174839
174845
  }
174846
+ } else {
174847
+ const active = activeToolCalls.get(tc.index);
174848
+ if (active) {
174849
+ const lateSig = tc.thought_signature;
174850
+ const lateEC = tc.extra_content ? { ...tc.extra_content } : lateSig ? { google: { thought_signature: lateSig } } : undefined;
174851
+ if (lateEC) {
174852
+ active.extra_content = { ...active.extra_content ?? {}, ...lateEC };
174853
+ }
174854
+ }
174840
174855
  }
174841
174856
  }
174842
174857
  }
@@ -174851,6 +174866,20 @@ async function* openaiStreamToAnthropic(response, model2, signal) {
174851
174866
  yield* closeActiveContentBlock();
174852
174867
  }
174853
174868
  for (const [, tc] of activeToolCalls) {
174869
+ if (tc.extra_content) {
174870
+ yield {
174871
+ type: "content_block_start",
174872
+ index: tc.index,
174873
+ content_block: {
174874
+ type: "tool_use",
174875
+ id: tc.id,
174876
+ name: tc.name,
174877
+ input: {},
174878
+ extra_content: tc.extra_content,
174879
+ ...tc.extra_content.google?.thought_signature ? { signature: tc.extra_content.google.thought_signature } : {}
174880
+ }
174881
+ };
174882
+ }
174854
174883
  if (tc.normalizeAtStop) {
174855
174884
  let partialJson;
174856
174885
  if (choice.finish_reason === "length") {
@@ -382216,7 +382245,7 @@ function getAnthropicEnvMetadata() {
382216
382245
  function getBuildAgeMinutes() {
382217
382246
  if (false)
382218
382247
  ;
382219
- const buildTime = new Date("2026-05-19T20:11:05.617Z").getTime();
382248
+ const buildTime = new Date("2026-05-19T21:40:34.102Z").getTime();
382220
382249
  if (isNaN(buildTime))
382221
382250
  return;
382222
382251
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410446,7 +410475,7 @@ function buildPrimarySection() {
410446
410475
  });
410447
410476
  return [{
410448
410477
  label: "Version",
410449
- value: "0.9.4"
410478
+ value: "0.9.6"
410450
410479
  }, {
410451
410480
  label: "Session name",
410452
410481
  value: nameValue
@@ -423373,7 +423402,7 @@ function getReleaseTagUrl(version2 = publicBuildVersion) {
423373
423402
  return `${VERBOO_RELEASES_URL}/tag/v${normalizePublicVersion(version2)}`;
423374
423403
  }
423375
423404
  function getPublicBuildVersion() {
423376
- return "0.9.4";
423405
+ return "0.9.6";
423377
423406
  }
423378
423407
  var import_semver9, VERBOO_RELEASES_URL = "https://github.com/verbeux-ai/code/releases", fallbackBuildVersion, publicBuildVersion;
423379
423408
  var init_version = __esm(() => {
@@ -478721,7 +478750,7 @@ var init_bridge_kick = __esm(() => {
478721
478750
  var call63 = async () => {
478722
478751
  return {
478723
478752
  type: "text",
478724
- value: `${"99.0.0"} (built ${"2026-05-19T20:11:05.617Z"})`
478753
+ value: `${"99.0.0"} (built ${"2026-05-19T21:40:34.102Z"})`
478725
478754
  };
478726
478755
  }, version2, version_default;
478727
478756
  var init_version2 = __esm(() => {
@@ -502774,12 +502803,14 @@ ${deferredToolList}
502774
502803
  }
502775
502804
  case "content_block_start":
502776
502805
  switch (part.content_block.type) {
502777
- case "tool_use":
502806
+ case "tool_use": {
502807
+ const existing = contentBlocks[part.index];
502778
502808
  contentBlocks[part.index] = {
502779
502809
  ...part.content_block,
502780
- input: ""
502810
+ input: existing ? existing.input : ""
502781
502811
  };
502782
502812
  break;
502813
+ }
502783
502814
  case "server_tool_use":
502784
502815
  contentBlocks[part.index] = {
502785
502816
  ...part.content_block,
@@ -510884,7 +510915,7 @@ function printStartupScreen(modelOverride) {
510884
510915
  const home = process.env.HOME || process.env.USERPROFILE || "";
510885
510916
  const cwd2 = process.cwd();
510886
510917
  const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
510887
- const version3 = "0.9.4";
510918
+ const version3 = "0.9.6";
510888
510919
  const bold2 = `${ESC4}1m`;
510889
510920
  const PURPLE = rgb3(...ACCENT);
510890
510921
  const SOFT = rgb3(...CREAM);
@@ -529151,7 +529182,7 @@ var init_useVoiceEnabled = __esm(() => {
529151
529182
  function getSemverPart(version3) {
529152
529183
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
529153
529184
  }
529154
- function useUpdateNotification(updatedVersion, initialVersion = "0.9.4") {
529185
+ function useUpdateNotification(updatedVersion, initialVersion = "0.9.6") {
529155
529186
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react221.useState(() => getSemverPart(initialVersion));
529156
529187
  const [pendingNotification2, setPendingNotification] = import_react221.useState(null);
529157
529188
  if (updatedVersion) {
@@ -529191,7 +529222,7 @@ function AutoUpdater({
529191
529222
  return;
529192
529223
  }
529193
529224
  if (false) {}
529194
- const currentVersion = "0.9.4";
529225
+ const currentVersion = "0.9.6";
529195
529226
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
529196
529227
  let latestVersion = await getLatestVersion(channel2);
529197
529228
  const isDisabled = isAutoUpdaterDisabled();
@@ -529542,17 +529573,17 @@ function PackageManagerAutoUpdater(t0) {
529542
529573
  const maxVersion = await getMaxVersion();
529543
529574
  if (maxVersion && latest && gt(latest, maxVersion)) {
529544
529575
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
529545
- if (gte("0.9.4", maxVersion)) {
529546
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.9.4"} is already at or above maxVersion ${maxVersion}, skipping update`);
529576
+ if (gte("0.9.6", maxVersion)) {
529577
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.9.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
529547
529578
  setUpdateAvailable(false);
529548
529579
  return;
529549
529580
  }
529550
529581
  latest = maxVersion;
529551
529582
  }
529552
- const hasUpdate = latest && !gte("0.9.4", latest) && !shouldSkipVersion(latest);
529583
+ const hasUpdate = latest && !gte("0.9.6", latest) && !shouldSkipVersion(latest);
529553
529584
  setUpdateAvailable(!!hasUpdate);
529554
529585
  if (hasUpdate) {
529555
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.9.4"} -> ${latest}`);
529586
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.9.6"} -> ${latest}`);
529556
529587
  }
529557
529588
  };
529558
529589
  $2[0] = t1;
@@ -529586,7 +529617,7 @@ function PackageManagerAutoUpdater(t0) {
529586
529617
  wrap: "truncate",
529587
529618
  children: [
529588
529619
  "currentVersion: ",
529589
- "0.9.4"
529620
+ "0.9.6"
529590
529621
  ]
529591
529622
  });
529592
529623
  $2[3] = verbose;
@@ -545324,7 +545355,28 @@ var exports_backgroundHousekeeping = {};
545324
545355
  __export(exports_backgroundHousekeeping, {
545325
545356
  startBackgroundHousekeeping: () => startBackgroundHousekeeping
545326
545357
  });
545358
+ async function autoUpdateCliInBackground() {
545359
+ try {
545360
+ const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
545361
+ const latest = await getLatestVersion(channel2);
545362
+ if (!latest || gte("0.9.6", latest))
545363
+ return;
545364
+ writeToStdout(`
545365
+ Nova versão disponível: ${latest} (atual: ${"0.9.6"})
545366
+ `);
545367
+ writeToStdout(`Atualizando automaticamente...
545368
+ `);
545369
+ const isLocal = await localInstallationExists();
545370
+ const status2 = isLocal ? await installOrUpdateClaudePackage(channel2) : await installGlobalPackage();
545371
+ if (status2 === "success") {
545372
+ writeToStdout(`✓ Atualizado para ${latest}. Reinicie o Verboo para usar a nova versão.
545373
+
545374
+ `);
545375
+ }
545376
+ } catch {}
545377
+ }
545327
545378
  function startBackgroundHousekeeping() {
545379
+ autoUpdateCliInBackground();
545328
545380
  initMagicDocs();
545329
545381
  initSkillImprovement();
545330
545382
  if (true) {
@@ -545367,6 +545419,8 @@ var init_backgroundHousekeeping = __esm(() => {
545367
545419
  init_cleanup2();
545368
545420
  init_nativeInstaller();
545369
545421
  init_pluginAutoupdate();
545422
+ init_localInstaller();
545423
+ init_settings2();
545370
545424
  extractMemoriesModule2 = (init_extractMemories(), __toCommonJS(exports_extractMemories));
545371
545425
  RECURRING_CLEANUP_INTERVAL_MS = 24 * 60 * 60 * 1000;
545372
545426
  DELAY_VERY_SLOW_OPERATIONS_THAT_HAPPEN_EVERY_SESSION = 10 * 60 * 1000;
@@ -562031,7 +562085,7 @@ function WelcomeV2() {
562031
562085
  dimColor: true,
562032
562086
  children: [
562033
562087
  "v",
562034
- "0.9.4",
562088
+ "0.9.6",
562035
562089
  " "
562036
562090
  ]
562037
562091
  })
@@ -562218,7 +562272,7 @@ function WelcomeV2() {
562218
562272
  dimColor: true,
562219
562273
  children: [
562220
562274
  "v",
562221
- "0.9.4",
562275
+ "0.9.6",
562222
562276
  " "
562223
562277
  ]
562224
562278
  })
@@ -562434,7 +562488,7 @@ function AppleTerminalWelcomeV2(t0) {
562434
562488
  dimColor: true,
562435
562489
  children: [
562436
562490
  "v",
562437
- "0.9.4",
562491
+ "0.9.6",
562438
562492
  " "
562439
562493
  ]
562440
562494
  });
@@ -562643,7 +562697,7 @@ function AppleTerminalWelcomeV2(t0) {
562643
562697
  dimColor: true,
562644
562698
  children: [
562645
562699
  "v",
562646
- "0.9.4",
562700
+ "0.9.6",
562647
562701
  " "
562648
562702
  ]
562649
562703
  });
@@ -580055,7 +580109,7 @@ __export(exports_update, {
580055
580109
  async function update() {
580056
580110
  if (getAPIProvider() !== "firstParty") {
580057
580111
  writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
580058
- `) + `Current version: ${"0.9.4"}
580112
+ `) + `Current version: ${"0.9.6"}
580059
580113
 
580060
580114
  ` + `To update, reinstall from npm:
580061
580115
  ` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
@@ -580066,7 +580120,7 @@ async function update() {
580066
580120
  await gracefulShutdown(0);
580067
580121
  }
580068
580122
  logEvent("tengu_update_check", {});
580069
- writeToStdout(`Current version: ${"0.9.4"}
580123
+ writeToStdout(`Current version: ${"0.9.6"}
580070
580124
  `);
580071
580125
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
580072
580126
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -580151,8 +580205,8 @@ async function update() {
580151
580205
  writeToStdout(`Verboo Code is managed by Homebrew.
580152
580206
  `);
580153
580207
  const latest = await getLatestVersion(channel2);
580154
- if (latest && !gte("0.9.4", latest)) {
580155
- writeToStdout(`Update available: ${"0.9.4"} → ${latest}
580208
+ if (latest && !gte("0.9.6", latest)) {
580209
+ writeToStdout(`Update available: ${"0.9.6"} → ${latest}
580156
580210
  `);
580157
580211
  writeToStdout(`
580158
580212
  `);
@@ -580168,8 +580222,8 @@ async function update() {
580168
580222
  writeToStdout(`Verboo Code is managed by winget.
580169
580223
  `);
580170
580224
  const latest = await getLatestVersion(channel2);
580171
- if (latest && !gte("0.9.4", latest)) {
580172
- writeToStdout(`Update available: ${"0.9.4"} → ${latest}
580225
+ if (latest && !gte("0.9.6", latest)) {
580226
+ writeToStdout(`Update available: ${"0.9.6"} → ${latest}
580173
580227
  `);
580174
580228
  writeToStdout(`
580175
580229
  `);
@@ -580185,8 +580239,8 @@ async function update() {
580185
580239
  writeToStdout(`Verboo Code is managed by apk.
580186
580240
  `);
580187
580241
  const latest = await getLatestVersion(channel2);
580188
- if (latest && !gte("0.9.4", latest)) {
580189
- writeToStdout(`Update available: ${"0.9.4"} → ${latest}
580242
+ if (latest && !gte("0.9.6", latest)) {
580243
+ writeToStdout(`Update available: ${"0.9.6"} → ${latest}
580190
580244
  `);
580191
580245
  writeToStdout(`
580192
580246
  `);
@@ -580239,11 +580293,11 @@ async function update() {
580239
580293
  `);
580240
580294
  await gracefulShutdown(1);
580241
580295
  }
580242
- if (result.latestVersion === "0.9.4") {
580243
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.9.4"})`) + `
580296
+ if (result.latestVersion === "0.9.6") {
580297
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.9.6"})`) + `
580244
580298
  `);
580245
580299
  } else {
580246
- writeToStdout(source_default.green(`Successfully updated from ${"0.9.4"} to version ${result.latestVersion}`) + `
580300
+ writeToStdout(source_default.green(`Successfully updated from ${"0.9.6"} to version ${result.latestVersion}`) + `
580247
580301
  `);
580248
580302
  await regenerateCompletionCache();
580249
580303
  }
@@ -580303,12 +580357,12 @@ async function update() {
580303
580357
  `);
580304
580358
  await gracefulShutdown(1);
580305
580359
  }
580306
- if (latestVersion === "0.9.4") {
580307
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.9.4"})`) + `
580360
+ if (latestVersion === "0.9.6") {
580361
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.9.6"})`) + `
580308
580362
  `);
580309
580363
  await gracefulShutdown(0);
580310
580364
  }
580311
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.9.4"})
580365
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.9.6"})
580312
580366
  `);
580313
580367
  writeToStdout(`Installing update...
580314
580368
  `);
@@ -580353,7 +580407,7 @@ async function update() {
580353
580407
  logForDebugging(`update: Installation status: ${status2}`);
580354
580408
  switch (status2) {
580355
580409
  case "success":
580356
- writeToStdout(source_default.green(`Successfully updated from ${"0.9.4"} to version ${latestVersion}`) + `
580410
+ writeToStdout(source_default.green(`Successfully updated from ${"0.9.6"} to version ${latestVersion}`) + `
580357
580411
  `);
580358
580412
  await regenerateCompletionCache();
580359
580413
  break;
@@ -581608,7 +581662,7 @@ ${customInstructions}` : customInstructions;
581608
581662
  is_native_binary: isInBundledMode()
581609
581663
  });
581610
581664
  logMemoryDiagnostics("start", {
581611
- version: "0.9.4",
581665
+ version: "0.9.6",
581612
581666
  debug: debug2,
581613
581667
  debugToStderr,
581614
581668
  print: print ?? false,
@@ -582414,7 +582468,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
582414
582468
  pendingHookMessages
582415
582469
  }, renderAndRun);
582416
582470
  }
582417
- }).version(`0.9.4 (${cliDesc})`, "-v, --version", "Output the version number");
582471
+ }).version(`0.9.6 (${cliDesc})`, "-v, --version", "Output the version number");
582418
582472
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
582419
582473
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
582420
582474
  if (canUserConfigureAdvisor()) {
@@ -582988,7 +583042,7 @@ if (false) {}
582988
583042
  async function main2() {
582989
583043
  const args = process.argv.slice(2);
582990
583044
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
582991
- console.log(`${"0.9.4"} (Verboo Code)`);
583045
+ console.log(`${"0.9.6"} (Verboo Code)`);
582992
583046
  return;
582993
583047
  }
582994
583048
  if (!IS_VERBOO_CLI && args.includes("--provider")) {
@@ -583162,4 +583216,4 @@ async function main2() {
583162
583216
  }
583163
583217
  main2();
583164
583218
 
583165
- //# debugId=94DCB71FC361235664756E2164756E21
583219
+ //# debugId=A79353A6E02862CA64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verboo/code",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "Verboo Code — coding agent for the Verboo platform",
5
5
  "type": "module",
6
6
  "bin": {