@verboo/code 0.7.5 → 0.7.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 +71 -56
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -17082,7 +17082,7 @@ function getOauthConfig() {
17082
17082
  }
17083
17083
  return config;
17084
17084
  }
17085
- var CLAUDE_AI_INFERENCE_SCOPE = "user:inference", CLAUDE_AI_PROFILE_SCOPE = "user:profile", CONSOLE_SCOPE = "org:create_api_key", OAUTH_BETA_HEADER = "oauth-2025-04-20", CONSOLE_OAUTH_SCOPES, CLAUDE_AI_OAUTH_SCOPES, ALL_OAUTH_SCOPES, VERBOO_API_BASE_URL = "https://code.verboo.ai", VERBOO_FRONT_BASE_URL = "https://code.verboo.ai", VERBOO_ROUTER_URL = "https://code.verboo.ai/router", VERBOO_OAUTH_SCOPES, PROD_OAUTH_CONFIG, MCP_CLIENT_METADATA_URL = "https://claude.ai/oauth/claude-code-client-metadata", STAGING_OAUTH_CONFIG, ALLOWED_OAUTH_BASE_URLS;
17085
+ var CLAUDE_AI_INFERENCE_SCOPE = "user:inference", CLAUDE_AI_PROFILE_SCOPE = "user:profile", CONSOLE_SCOPE = "org:create_api_key", OAUTH_BETA_HEADER = "oauth-2025-04-20", CONSOLE_OAUTH_SCOPES, CLAUDE_AI_OAUTH_SCOPES, ALL_OAUTH_SCOPES, VERBOO_API_BASE_URL = "https://code.verboo.ai", VERBOO_FRONT_BASE_URL = "https://code.verboo.ai", VERBOO_ROUTER_URL = "https://code.verboo.ai/router/v1", VERBOO_OAUTH_SCOPES, PROD_OAUTH_CONFIG, MCP_CLIENT_METADATA_URL = "https://claude.ai/oauth/claude-code-client-metadata", STAGING_OAUTH_CONFIG, ALLOWED_OAUTH_BASE_URLS;
17086
17086
  var init_oauth = __esm(() => {
17087
17087
  init_envUtils();
17088
17088
  CONSOLE_OAUTH_SCOPES = [
@@ -110603,7 +110603,7 @@ async function fetchVerbooModels(accessToken, opts = {}) {
110603
110603
  }
110604
110604
  if (inflight)
110605
110605
  return inflight;
110606
- const endpoint = `${VERBOO_ROUTER_URL}/v1/models`;
110606
+ const endpoint = `${VERBOO_ROUTER_URL}/models`;
110607
110607
  inflight = (async () => {
110608
110608
  try {
110609
110609
  const response = await axios_default.get(endpoint, {
@@ -115487,7 +115487,7 @@ function printStartupScreen(modelOverride) {
115487
115487
  const home = process.env.HOME || process.env.USERPROFILE || "";
115488
115488
  const cwd2 = process.cwd();
115489
115489
  const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
115490
- const version2 = "0.7.5";
115490
+ const version2 = "0.7.6";
115491
115491
  const bold2 = `${ESC}1m`;
115492
115492
  const PURPLE = rgb(...ACCENT);
115493
115493
  const SOFT = rgb(...CREAM);
@@ -201070,7 +201070,8 @@ async function getAnthropicClient({
201070
201070
  return createOpenAIShimClient2({
201071
201071
  defaultHeaders,
201072
201072
  maxRetries,
201073
- timeout: parseInt(process.env.API_TIMEOUT_MS || String(600000), 10)
201073
+ timeout: parseInt(process.env.API_TIMEOUT_MS || String(600000), 10),
201074
+ providerOverride
201074
201075
  });
201075
201076
  }
201076
201077
  if (isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK)) {
@@ -201150,14 +201151,26 @@ async function getAnthropicClient({
201150
201151
  return new AnthropicVertex(vertexArgs);
201151
201152
  }
201152
201153
  const useOAuthToken = isClaudeAISubscriber() || isVerbooMode();
201153
- const verbooAccessToken = useOAuthToken ? getClaudeAIOAuthTokens()?.accessToken : undefined;
201154
- if (isVerbooMode() && !verbooAccessToken) {
201155
- process.stderr.write("[Verboo] ERRO: token de acesso não encontrado. Execute `verboo /login`.\n");
201154
+ const accessToken = useOAuthToken ? getClaudeAIOAuthTokens()?.accessToken : undefined;
201155
+ if (isVerbooMode()) {
201156
+ if (!accessToken) {
201157
+ process.stderr.write("[Verboo] ERRO: token de acesso não encontrado. Execute `verboo /login`.\n");
201158
+ }
201159
+ const { createOpenAIShimClient: createOpenAIShimClient2 } = await Promise.resolve().then(() => (init_openaiShim(), exports_openaiShim));
201160
+ return createOpenAIShimClient2({
201161
+ defaultHeaders,
201162
+ maxRetries,
201163
+ timeout: parseInt(process.env.API_TIMEOUT_MS || String(600000), 10),
201164
+ providerOverride: {
201165
+ model: model ?? "",
201166
+ baseURL: VERBOO_ROUTER_URL,
201167
+ apiKey: accessToken ?? ""
201168
+ }
201169
+ });
201156
201170
  }
201157
201171
  const clientConfig = {
201158
201172
  apiKey: useOAuthToken ? null : apiKey || getAnthropicApiKey(),
201159
- authToken: verbooAccessToken,
201160
- baseURL: process.env.USER_TYPE === "ant" && isEnvTruthy(process.env.USE_STAGING_OAUTH) ? getOauthConfig().BASE_API_URL : VERBOO_ROUTER_URL,
201173
+ authToken: accessToken,
201161
201174
  ...ARGS,
201162
201175
  ...isDebugToStdErr() && { logger: createStderrLogger() }
201163
201176
  };
@@ -271137,16 +271150,26 @@ async function checkInstall(force = false) {
271137
271150
  });
271138
271151
  } else {
271139
271152
  const shellType = getShellType();
271140
- const configPaths = getShellConfigPaths();
271141
- const configFile = configPaths[shellType];
271142
- const displayPath = configFile ? configFile.replace(homedir21(), "~") : "your shell config file";
271143
- messages.push({
271144
- message: `Native installation exists but ~/.local/bin is not in your PATH. Run:
271153
+ if (shellType === "fish") {
271154
+ messages.push({
271155
+ message: `Native installation exists but ~/.local/bin is not in your PATH. Run:
271156
+
271157
+ fish_add_path ~/.local/bin`,
271158
+ userActionRequired: true,
271159
+ type: "path"
271160
+ });
271161
+ } else {
271162
+ const configPaths = getShellConfigPaths();
271163
+ const configFile = configPaths[shellType];
271164
+ const displayPath = configFile ? configFile.replace(homedir21(), "~") : "your shell config file";
271165
+ messages.push({
271166
+ message: `Native installation exists but ~/.local/bin is not in your PATH. Run:
271145
271167
 
271146
271168
  echo 'export PATH="$HOME/.local/bin:$PATH"' >> ${displayPath} && source ${displayPath}`,
271147
- userActionRequired: true,
271148
- type: "path"
271149
- });
271169
+ userActionRequired: true,
271170
+ type: "path"
271171
+ });
271172
+ }
271150
271173
  }
271151
271174
  }
271152
271175
  return messages;
@@ -376693,7 +376716,7 @@ function getAnthropicEnvMetadata() {
376693
376716
  function getBuildAgeMinutes() {
376694
376717
  if (false)
376695
376718
  ;
376696
- const buildTime = new Date("2026-04-29T16:44:33.074Z").getTime();
376719
+ const buildTime = new Date("2026-04-29T17:24:37.768Z").getTime();
376697
376720
  if (isNaN(buildTime))
376698
376721
  return;
376699
376722
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -405044,10 +405067,7 @@ ${deferredToolList}
405044
405067
  ...Object.keys(outputConfig).length > 0 && {
405045
405068
  output_config: outputConfig
405046
405069
  },
405047
- ...speed !== undefined && { speed },
405048
- ...isVerbooMode() && !modelSupportsThinking(options2.model) && {
405049
- enable_thinking: false
405050
- }
405070
+ ...speed !== undefined && { speed }
405051
405071
  };
405052
405072
  };
405053
405073
  {
@@ -405325,8 +405345,6 @@ ${deferredToolList}
405325
405345
  expected_type: "thinking",
405326
405346
  actual_type: contentBlock.type
405327
405347
  });
405328
- if (isVerbooMode())
405329
- break;
405330
405348
  throw new Error("Content block is not a thinking block");
405331
405349
  }
405332
405350
  contentBlock.signature = delta.signature;
@@ -405338,8 +405356,6 @@ ${deferredToolList}
405338
405356
  expected_type: "thinking",
405339
405357
  actual_type: contentBlock.type
405340
405358
  });
405341
- if (isVerbooMode())
405342
- break;
405343
405359
  throw new Error("Content block is not a thinking block");
405344
405360
  }
405345
405361
  contentBlock.thinking += delta.thinking;
@@ -406030,7 +406046,6 @@ function getMaxOutputTokensForModel(model) {
406030
406046
  var autoModeStateModule3, MAX_NON_STREAMING_TOKENS = 64000;
406031
406047
  var init_claude = __esm(() => {
406032
406048
  init_providers();
406033
- init_oauth();
406034
406049
  init_system();
406035
406050
  init_Tool();
406036
406051
  init_api3();
@@ -417228,7 +417243,7 @@ function buildPrimarySection() {
417228
417243
  }, undefined, false, undefined, this);
417229
417244
  return [{
417230
417245
  label: "Version",
417231
- value: "0.7.5"
417246
+ value: "0.7.6"
417232
417247
  }, {
417233
417248
  label: "Session name",
417234
417249
  value: nameValue
@@ -485178,7 +485193,7 @@ var init_bridge_kick = __esm(() => {
485178
485193
  var call60 = async () => {
485179
485194
  return {
485180
485195
  type: "text",
485181
- value: `${"99.0.0"} (built ${"2026-04-29T16:44:33.074Z"})`
485196
+ value: `${"99.0.0"} (built ${"2026-04-29T17:24:37.768Z"})`
485182
485197
  };
485183
485198
  }, version2, version_default;
485184
485199
  var init_version = __esm(() => {
@@ -560814,7 +560829,7 @@ function WelcomeV2() {
560814
560829
  dimColor: true,
560815
560830
  children: [
560816
560831
  "v",
560817
- "0.7.5",
560832
+ "0.7.6",
560818
560833
  " "
560819
560834
  ]
560820
560835
  }, undefined, true, undefined, this)
@@ -561001,7 +561016,7 @@ function WelcomeV2() {
561001
561016
  dimColor: true,
561002
561017
  children: [
561003
561018
  "v",
561004
- "0.7.5",
561019
+ "0.7.6",
561005
561020
  " "
561006
561021
  ]
561007
561022
  }, undefined, true, undefined, this)
@@ -561217,7 +561232,7 @@ function AppleTerminalWelcomeV2(t0) {
561217
561232
  dimColor: true,
561218
561233
  children: [
561219
561234
  "v",
561220
- "0.7.5",
561235
+ "0.7.6",
561221
561236
  " "
561222
561237
  ]
561223
561238
  }, undefined, true, undefined, this);
@@ -561426,7 +561441,7 @@ function AppleTerminalWelcomeV2(t0) {
561426
561441
  dimColor: true,
561427
561442
  children: [
561428
561443
  "v",
561429
- "0.7.5",
561444
+ "0.7.6",
561430
561445
  " "
561431
561446
  ]
561432
561447
  }, undefined, true, undefined, this);
@@ -578962,11 +578977,11 @@ function Install({
578962
578977
  }, [force, target]);
578963
578978
  import_react332.useEffect(() => {
578964
578979
  if (state3.type === "success") {
578965
- setTimeout(onDone, 2000, "OpenClaude installation completed successfully", {
578980
+ setTimeout(onDone, 2000, "Verboo installation completed successfully", {
578966
578981
  display: "system"
578967
578982
  });
578968
578983
  } else if (state3.type === "error") {
578969
- setTimeout(onDone, 3000, "OpenClaude installation failed", {
578984
+ setTimeout(onDone, 3000, "Verboo installation failed", {
578970
578985
  display: "system"
578971
578986
  });
578972
578987
  }
@@ -578986,7 +579001,7 @@ function Install({
578986
579001
  state3.type === "installing" && /* @__PURE__ */ jsx_dev_runtime489.jsxDEV(ThemedText, {
578987
579002
  color: "claude",
578988
579003
  children: [
578989
- "Installing OpenClaude native build ",
579004
+ "Installing Verboo native build ",
578990
579005
  state3.version,
578991
579006
  "..."
578992
579007
  ]
@@ -579011,7 +579026,7 @@ function Install({
579011
579026
  /* @__PURE__ */ jsx_dev_runtime489.jsxDEV(ThemedText, {
579012
579027
  color: "success",
579013
579028
  bold: true,
579014
- children: "OpenClaude successfully installed!"
579029
+ children: "Verboo successfully installed!"
579015
579030
  }, undefined, false, undefined, this)
579016
579031
  ]
579017
579032
  }, undefined, true, undefined, this),
@@ -579121,7 +579136,7 @@ var init_install = __esm(() => {
579121
579136
  install = {
579122
579137
  type: "local-jsx",
579123
579138
  name: "install",
579124
- description: "Install OpenClaude native build",
579139
+ description: "Install Verboo native build",
579125
579140
  argumentHint: "[options]",
579126
579141
  async call(onDone, _context, args) {
579127
579142
  const force = args.includes("--force");
@@ -579454,7 +579469,7 @@ __export(exports_update, {
579454
579469
  async function update() {
579455
579470
  if (getAPIProvider() !== "firstParty") {
579456
579471
  writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
579457
- `) + `Current version: ${"0.7.5"}
579472
+ `) + `Current version: ${"0.7.6"}
579458
579473
 
579459
579474
  ` + `To update, reinstall from npm:
579460
579475
  ` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
@@ -579465,7 +579480,7 @@ async function update() {
579465
579480
  await gracefulShutdown(0);
579466
579481
  }
579467
579482
  logEvent("tengu_update_check", {});
579468
- writeToStdout(`Current version: ${"0.7.5"}
579483
+ writeToStdout(`Current version: ${"0.7.6"}
579469
579484
  `);
579470
579485
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
579471
579486
  writeToStdout(`Checking for updates to ${channel} version...
@@ -579550,8 +579565,8 @@ async function update() {
579550
579565
  writeToStdout(`Claude is managed by Homebrew.
579551
579566
  `);
579552
579567
  const latest = await getLatestVersion(channel);
579553
- if (latest && !gte("0.7.5", latest)) {
579554
- writeToStdout(`Update available: ${"0.7.5"} → ${latest}
579568
+ if (latest && !gte("0.7.6", latest)) {
579569
+ writeToStdout(`Update available: ${"0.7.6"} → ${latest}
579555
579570
  `);
579556
579571
  writeToStdout(`
579557
579572
  `);
@@ -579567,8 +579582,8 @@ async function update() {
579567
579582
  writeToStdout(`Claude is managed by winget.
579568
579583
  `);
579569
579584
  const latest = await getLatestVersion(channel);
579570
- if (latest && !gte("0.7.5", latest)) {
579571
- writeToStdout(`Update available: ${"0.7.5"} → ${latest}
579585
+ if (latest && !gte("0.7.6", latest)) {
579586
+ writeToStdout(`Update available: ${"0.7.6"} → ${latest}
579572
579587
  `);
579573
579588
  writeToStdout(`
579574
579589
  `);
@@ -579584,8 +579599,8 @@ async function update() {
579584
579599
  writeToStdout(`Claude is managed by apk.
579585
579600
  `);
579586
579601
  const latest = await getLatestVersion(channel);
579587
- if (latest && !gte("0.7.5", latest)) {
579588
- writeToStdout(`Update available: ${"0.7.5"} → ${latest}
579602
+ if (latest && !gte("0.7.6", latest)) {
579603
+ writeToStdout(`Update available: ${"0.7.6"} → ${latest}
579589
579604
  `);
579590
579605
  writeToStdout(`
579591
579606
  `);
@@ -579650,11 +579665,11 @@ async function update() {
579650
579665
  `);
579651
579666
  await gracefulShutdown(1);
579652
579667
  }
579653
- if (result.latestVersion === "0.7.5") {
579654
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.5"})`) + `
579668
+ if (result.latestVersion === "0.7.6") {
579669
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.6"})`) + `
579655
579670
  `);
579656
579671
  } else {
579657
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.5"} to version ${result.latestVersion}`) + `
579672
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.6"} to version ${result.latestVersion}`) + `
579658
579673
  `);
579659
579674
  await regenerateCompletionCache();
579660
579675
  }
@@ -579714,12 +579729,12 @@ async function update() {
579714
579729
  `);
579715
579730
  await gracefulShutdown(1);
579716
579731
  }
579717
- if (latestVersion === "0.7.5") {
579718
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.5"})`) + `
579732
+ if (latestVersion === "0.7.6") {
579733
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.6"})`) + `
579719
579734
  `);
579720
579735
  await gracefulShutdown(0);
579721
579736
  }
579722
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.5"})
579737
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.6"})
579723
579738
  `);
579724
579739
  writeToStdout(`Installing update...
579725
579740
  `);
@@ -579764,7 +579779,7 @@ async function update() {
579764
579779
  logForDebugging2(`update: Installation status: ${status2}`);
579765
579780
  switch (status2) {
579766
579781
  case "success":
579767
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.5"} to version ${latestVersion}`) + `
579782
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.6"} to version ${latestVersion}`) + `
579768
579783
  `);
579769
579784
  await regenerateCompletionCache();
579770
579785
  break;
@@ -581817,7 +581832,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
581817
581832
  pendingHookMessages
581818
581833
  }, renderAndRun);
581819
581834
  }
581820
- }).version(`0.7.5 (${cliDesc})`, "-v, --version", "Output the version number");
581835
+ }).version(`0.7.6 (${cliDesc})`, "-v, --version", "Output the version number");
581821
581836
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
581822
581837
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
581823
581838
  if (canUserConfigureAdvisor()) {
@@ -582373,7 +582388,7 @@ if (false) {}
582373
582388
  async function main2() {
582374
582389
  const args = process.argv.slice(2);
582375
582390
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
582376
- console.log(`${"0.7.5"} (Verboo Code)`);
582391
+ console.log(`${"0.7.6"} (Verboo Code)`);
582377
582392
  return;
582378
582393
  }
582379
582394
  if (args.includes("--provider")) {
@@ -582528,4 +582543,4 @@ async function main2() {
582528
582543
  }
582529
582544
  main2();
582530
582545
 
582531
- //# debugId=502A51FF8BE4AE2164756E2164756E21
582546
+ //# debugId=4AD8E3B8240FB15564756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verboo/code",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "Verboo Code — coding agent for the Verboo platform",
5
5
  "type": "module",
6
6
  "bin": {