@verboo/code 0.9.4 → 0.9.5

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 +74 -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:36:51.071Z").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.5"
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.5";
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:36:51.071Z"})`
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.5";
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.5") {
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.5";
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.5", maxVersion)) {
529577
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.9.5"} 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.5", 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.5"} -> ${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.5"
529590
529621
  ]
529591
529622
  });
529592
529623
  $2[3] = verbose;
@@ -562031,7 +562062,7 @@ function WelcomeV2() {
562031
562062
  dimColor: true,
562032
562063
  children: [
562033
562064
  "v",
562034
- "0.9.4",
562065
+ "0.9.5",
562035
562066
  " "
562036
562067
  ]
562037
562068
  })
@@ -562218,7 +562249,7 @@ function WelcomeV2() {
562218
562249
  dimColor: true,
562219
562250
  children: [
562220
562251
  "v",
562221
- "0.9.4",
562252
+ "0.9.5",
562222
562253
  " "
562223
562254
  ]
562224
562255
  })
@@ -562434,7 +562465,7 @@ function AppleTerminalWelcomeV2(t0) {
562434
562465
  dimColor: true,
562435
562466
  children: [
562436
562467
  "v",
562437
- "0.9.4",
562468
+ "0.9.5",
562438
562469
  " "
562439
562470
  ]
562440
562471
  });
@@ -562643,7 +562674,7 @@ function AppleTerminalWelcomeV2(t0) {
562643
562674
  dimColor: true,
562644
562675
  children: [
562645
562676
  "v",
562646
- "0.9.4",
562677
+ "0.9.5",
562647
562678
  " "
562648
562679
  ]
562649
562680
  });
@@ -580055,7 +580086,7 @@ __export(exports_update, {
580055
580086
  async function update() {
580056
580087
  if (getAPIProvider() !== "firstParty") {
580057
580088
  writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
580058
- `) + `Current version: ${"0.9.4"}
580089
+ `) + `Current version: ${"0.9.5"}
580059
580090
 
580060
580091
  ` + `To update, reinstall from npm:
580061
580092
  ` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
@@ -580066,7 +580097,7 @@ async function update() {
580066
580097
  await gracefulShutdown(0);
580067
580098
  }
580068
580099
  logEvent("tengu_update_check", {});
580069
- writeToStdout(`Current version: ${"0.9.4"}
580100
+ writeToStdout(`Current version: ${"0.9.5"}
580070
580101
  `);
580071
580102
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
580072
580103
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -580151,8 +580182,8 @@ async function update() {
580151
580182
  writeToStdout(`Verboo Code is managed by Homebrew.
580152
580183
  `);
580153
580184
  const latest = await getLatestVersion(channel2);
580154
- if (latest && !gte("0.9.4", latest)) {
580155
- writeToStdout(`Update available: ${"0.9.4"} → ${latest}
580185
+ if (latest && !gte("0.9.5", latest)) {
580186
+ writeToStdout(`Update available: ${"0.9.5"} → ${latest}
580156
580187
  `);
580157
580188
  writeToStdout(`
580158
580189
  `);
@@ -580168,8 +580199,8 @@ async function update() {
580168
580199
  writeToStdout(`Verboo Code is managed by winget.
580169
580200
  `);
580170
580201
  const latest = await getLatestVersion(channel2);
580171
- if (latest && !gte("0.9.4", latest)) {
580172
- writeToStdout(`Update available: ${"0.9.4"} → ${latest}
580202
+ if (latest && !gte("0.9.5", latest)) {
580203
+ writeToStdout(`Update available: ${"0.9.5"} → ${latest}
580173
580204
  `);
580174
580205
  writeToStdout(`
580175
580206
  `);
@@ -580185,8 +580216,8 @@ async function update() {
580185
580216
  writeToStdout(`Verboo Code is managed by apk.
580186
580217
  `);
580187
580218
  const latest = await getLatestVersion(channel2);
580188
- if (latest && !gte("0.9.4", latest)) {
580189
- writeToStdout(`Update available: ${"0.9.4"} → ${latest}
580219
+ if (latest && !gte("0.9.5", latest)) {
580220
+ writeToStdout(`Update available: ${"0.9.5"} → ${latest}
580190
580221
  `);
580191
580222
  writeToStdout(`
580192
580223
  `);
@@ -580239,11 +580270,11 @@ async function update() {
580239
580270
  `);
580240
580271
  await gracefulShutdown(1);
580241
580272
  }
580242
- if (result.latestVersion === "0.9.4") {
580243
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.9.4"})`) + `
580273
+ if (result.latestVersion === "0.9.5") {
580274
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.9.5"})`) + `
580244
580275
  `);
580245
580276
  } else {
580246
- writeToStdout(source_default.green(`Successfully updated from ${"0.9.4"} to version ${result.latestVersion}`) + `
580277
+ writeToStdout(source_default.green(`Successfully updated from ${"0.9.5"} to version ${result.latestVersion}`) + `
580247
580278
  `);
580248
580279
  await regenerateCompletionCache();
580249
580280
  }
@@ -580303,12 +580334,12 @@ async function update() {
580303
580334
  `);
580304
580335
  await gracefulShutdown(1);
580305
580336
  }
580306
- if (latestVersion === "0.9.4") {
580307
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.9.4"})`) + `
580337
+ if (latestVersion === "0.9.5") {
580338
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.9.5"})`) + `
580308
580339
  `);
580309
580340
  await gracefulShutdown(0);
580310
580341
  }
580311
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.9.4"})
580342
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.9.5"})
580312
580343
  `);
580313
580344
  writeToStdout(`Installing update...
580314
580345
  `);
@@ -580353,7 +580384,7 @@ async function update() {
580353
580384
  logForDebugging(`update: Installation status: ${status2}`);
580354
580385
  switch (status2) {
580355
580386
  case "success":
580356
- writeToStdout(source_default.green(`Successfully updated from ${"0.9.4"} to version ${latestVersion}`) + `
580387
+ writeToStdout(source_default.green(`Successfully updated from ${"0.9.5"} to version ${latestVersion}`) + `
580357
580388
  `);
580358
580389
  await regenerateCompletionCache();
580359
580390
  break;
@@ -581608,7 +581639,7 @@ ${customInstructions}` : customInstructions;
581608
581639
  is_native_binary: isInBundledMode()
581609
581640
  });
581610
581641
  logMemoryDiagnostics("start", {
581611
- version: "0.9.4",
581642
+ version: "0.9.5",
581612
581643
  debug: debug2,
581613
581644
  debugToStderr,
581614
581645
  print: print ?? false,
@@ -582414,7 +582445,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
582414
582445
  pendingHookMessages
582415
582446
  }, renderAndRun);
582416
582447
  }
582417
- }).version(`0.9.4 (${cliDesc})`, "-v, --version", "Output the version number");
582448
+ }).version(`0.9.5 (${cliDesc})`, "-v, --version", "Output the version number");
582418
582449
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
582419
582450
  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
582451
  if (canUserConfigureAdvisor()) {
@@ -582988,7 +583019,7 @@ if (false) {}
582988
583019
  async function main2() {
582989
583020
  const args = process.argv.slice(2);
582990
583021
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
582991
- console.log(`${"0.9.4"} (Verboo Code)`);
583022
+ console.log(`${"0.9.5"} (Verboo Code)`);
582992
583023
  return;
582993
583024
  }
582994
583025
  if (!IS_VERBOO_CLI && args.includes("--provider")) {
@@ -583162,4 +583193,4 @@ async function main2() {
583162
583193
  }
583163
583194
  main2();
583164
583195
 
583165
- //# debugId=94DCB71FC361235664756E2164756E21
583196
+ //# debugId=67CCC9AFAF99681B64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verboo/code",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "Verboo Code — coding agent for the Verboo platform",
5
5
  "type": "module",
6
6
  "bin": {