@verboo/code 0.7.8 → 0.7.10

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.mjs CHANGED
@@ -17015,7 +17015,7 @@ function fileSuffixForOauthConfig() {
17015
17015
  }
17016
17016
  }
17017
17017
  function isVerbooMode() {
17018
- return getOauthConfig().CLIENT_ID === "verboo-code-cli";
17018
+ return true;
17019
17019
  }
17020
17020
  function getActiveScopes() {
17021
17021
  return isVerbooMode() ? VERBOO_OAUTH_SCOPES : ALL_OAUTH_SCOPES;
@@ -36307,6 +36307,9 @@ function parseModelFlag(args) {
36307
36307
  return value;
36308
36308
  }
36309
36309
  function applyProviderFlag(provider, args) {
36310
+ return {
36311
+ error: "Verboo Code usa apenas o provider nativo Verboo."
36312
+ };
36310
36313
  if (!VALID_PROVIDERS.includes(provider)) {
36311
36314
  return {
36312
36315
  error: `Unknown provider "${provider}". Valid providers: ${VALID_PROVIDERS.join(", ")}`
@@ -115499,7 +115502,7 @@ function printStartupScreen(modelOverride) {
115499
115502
  const home = process.env.HOME || process.env.USERPROFILE || "";
115500
115503
  const cwd2 = process.cwd();
115501
115504
  const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
115502
- const version2 = "0.7.8";
115505
+ const version2 = "0.7.10";
115503
115506
  const bold2 = `${ESC}1m`;
115504
115507
  const PURPLE = rgb(...ACCENT);
115505
115508
  const SOFT = rgb(...CREAM);
@@ -201050,6 +201053,24 @@ async function getAnthropicClient({
201050
201053
  fetch: resolvedFetch
201051
201054
  }
201052
201055
  };
201056
+ const useOAuthToken = isClaudeAISubscriber() || isVerbooMode();
201057
+ const accessToken = useOAuthToken ? getClaudeAIOAuthTokens()?.accessToken : undefined;
201058
+ if (isVerbooMode()) {
201059
+ if (!accessToken) {
201060
+ process.stderr.write("[Verboo] ERRO: token de acesso não encontrado. Execute `verboo /login`.\n");
201061
+ }
201062
+ const { createOpenAIShimClient: createOpenAIShimClient2 } = await Promise.resolve().then(() => (init_openaiShim(), exports_openaiShim));
201063
+ return createOpenAIShimClient2({
201064
+ defaultHeaders,
201065
+ maxRetries,
201066
+ timeout: parseInt(process.env.API_TIMEOUT_MS || String(600000), 10),
201067
+ providerOverride: {
201068
+ model: model ?? "",
201069
+ baseURL: VERBOO_ROUTER_URL,
201070
+ apiKey: accessToken ?? ""
201071
+ }
201072
+ });
201073
+ }
201053
201074
  if (providerOverride) {
201054
201075
  const { createOpenAIShimClient: createOpenAIShimClient2 } = await Promise.resolve().then(() => (init_openaiShim(), exports_openaiShim));
201055
201076
  const safeHeaders = {};
@@ -201162,24 +201183,6 @@ async function getAnthropicClient({
201162
201183
  };
201163
201184
  return new AnthropicVertex(vertexArgs);
201164
201185
  }
201165
- const useOAuthToken = isClaudeAISubscriber() || isVerbooMode();
201166
- const accessToken = useOAuthToken ? getClaudeAIOAuthTokens()?.accessToken : undefined;
201167
- if (isVerbooMode()) {
201168
- if (!accessToken) {
201169
- process.stderr.write("[Verboo] ERRO: token de acesso não encontrado. Execute `verboo /login`.\n");
201170
- }
201171
- const { createOpenAIShimClient: createOpenAIShimClient2 } = await Promise.resolve().then(() => (init_openaiShim(), exports_openaiShim));
201172
- return createOpenAIShimClient2({
201173
- defaultHeaders,
201174
- maxRetries,
201175
- timeout: parseInt(process.env.API_TIMEOUT_MS || String(600000), 10),
201176
- providerOverride: {
201177
- model: model ?? "",
201178
- baseURL: VERBOO_ROUTER_URL,
201179
- apiKey: accessToken ?? ""
201180
- }
201181
- });
201182
- }
201183
201186
  const clientConfig = {
201184
201187
  apiKey: useOAuthToken ? null : apiKey || getAnthropicApiKey(),
201185
201188
  authToken: accessToken,
@@ -260942,7 +260945,7 @@ function printResumeHint() {
260942
260945
  }
260943
260946
  writeSync2(1, source_default.dim(`
260944
260947
  Resume this session with:
260945
- openclaude --resume ${resumeArg}
260948
+ verboo --resume ${resumeArg}
260946
260949
  `));
260947
260950
  resumeHintPrinted = true;
260948
260951
  } catch {}
@@ -376791,7 +376794,7 @@ function getAnthropicEnvMetadata() {
376791
376794
  function getBuildAgeMinutes() {
376792
376795
  if (false)
376793
376796
  ;
376794
- const buildTime = new Date("2026-04-29T18:34:52.579Z").getTime();
376797
+ const buildTime = new Date("2026-04-30T11:00:43.858Z").getTime();
376795
376798
  if (isNaN(buildTime))
376796
376799
  return;
376797
376800
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -417318,7 +417321,7 @@ function buildPrimarySection() {
417318
417321
  }, undefined, false, undefined, this);
417319
417322
  return [{
417320
417323
  label: "Version",
417321
- value: "0.7.8"
417324
+ value: "0.7.10"
417322
417325
  }, {
417323
417326
  label: "Session name",
417324
417327
  value: nameValue
@@ -485268,7 +485271,7 @@ var init_bridge_kick = __esm(() => {
485268
485271
  var call60 = async () => {
485269
485272
  return {
485270
485273
  type: "text",
485271
- value: `${"99.0.0"} (built ${"2026-04-29T18:34:52.579Z"})`
485274
+ value: `${"99.0.0"} (built ${"2026-04-30T11:00:43.858Z"})`
485272
485275
  };
485273
485276
  }, version2, version_default;
485274
485277
  var init_version = __esm(() => {
@@ -560926,7 +560929,7 @@ function WelcomeV2() {
560926
560929
  dimColor: true,
560927
560930
  children: [
560928
560931
  "v",
560929
- "0.7.8",
560932
+ "0.7.10",
560930
560933
  " "
560931
560934
  ]
560932
560935
  }, undefined, true, undefined, this)
@@ -561113,7 +561116,7 @@ function WelcomeV2() {
561113
561116
  dimColor: true,
561114
561117
  children: [
561115
561118
  "v",
561116
- "0.7.8",
561119
+ "0.7.10",
561117
561120
  " "
561118
561121
  ]
561119
561122
  }, undefined, true, undefined, this)
@@ -561329,7 +561332,7 @@ function AppleTerminalWelcomeV2(t0) {
561329
561332
  dimColor: true,
561330
561333
  children: [
561331
561334
  "v",
561332
- "0.7.8",
561335
+ "0.7.10",
561333
561336
  " "
561334
561337
  ]
561335
561338
  }, undefined, true, undefined, this);
@@ -561538,7 +561541,7 @@ function AppleTerminalWelcomeV2(t0) {
561538
561541
  dimColor: true,
561539
561542
  children: [
561540
561543
  "v",
561541
- "0.7.8",
561544
+ "0.7.10",
561542
561545
  " "
561543
561546
  ]
561544
561547
  }, undefined, true, undefined, this);
@@ -579566,7 +579569,7 @@ __export(exports_update, {
579566
579569
  async function update() {
579567
579570
  if (getAPIProvider() !== "firstParty") {
579568
579571
  writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
579569
- `) + `Current version: ${"0.7.8"}
579572
+ `) + `Current version: ${"0.7.10"}
579570
579573
 
579571
579574
  ` + `To update, reinstall from npm:
579572
579575
  ` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
@@ -579577,7 +579580,7 @@ async function update() {
579577
579580
  await gracefulShutdown(0);
579578
579581
  }
579579
579582
  logEvent("tengu_update_check", {});
579580
- writeToStdout(`Current version: ${"0.7.8"}
579583
+ writeToStdout(`Current version: ${"0.7.10"}
579581
579584
  `);
579582
579585
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
579583
579586
  writeToStdout(`Checking for updates to ${channel} version...
@@ -579662,8 +579665,8 @@ async function update() {
579662
579665
  writeToStdout(`Claude is managed by Homebrew.
579663
579666
  `);
579664
579667
  const latest = await getLatestVersion(channel);
579665
- if (latest && !gte("0.7.8", latest)) {
579666
- writeToStdout(`Update available: ${"0.7.8"} → ${latest}
579668
+ if (latest && !gte("0.7.10", latest)) {
579669
+ writeToStdout(`Update available: ${"0.7.10"} → ${latest}
579667
579670
  `);
579668
579671
  writeToStdout(`
579669
579672
  `);
@@ -579679,8 +579682,8 @@ async function update() {
579679
579682
  writeToStdout(`Claude is managed by winget.
579680
579683
  `);
579681
579684
  const latest = await getLatestVersion(channel);
579682
- if (latest && !gte("0.7.8", latest)) {
579683
- writeToStdout(`Update available: ${"0.7.8"} → ${latest}
579685
+ if (latest && !gte("0.7.10", latest)) {
579686
+ writeToStdout(`Update available: ${"0.7.10"} → ${latest}
579684
579687
  `);
579685
579688
  writeToStdout(`
579686
579689
  `);
@@ -579696,8 +579699,8 @@ async function update() {
579696
579699
  writeToStdout(`Claude is managed by apk.
579697
579700
  `);
579698
579701
  const latest = await getLatestVersion(channel);
579699
- if (latest && !gte("0.7.8", latest)) {
579700
- writeToStdout(`Update available: ${"0.7.8"} → ${latest}
579702
+ if (latest && !gte("0.7.10", latest)) {
579703
+ writeToStdout(`Update available: ${"0.7.10"} → ${latest}
579701
579704
  `);
579702
579705
  writeToStdout(`
579703
579706
  `);
@@ -579762,11 +579765,11 @@ async function update() {
579762
579765
  `);
579763
579766
  await gracefulShutdown(1);
579764
579767
  }
579765
- if (result.latestVersion === "0.7.8") {
579766
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.8"})`) + `
579768
+ if (result.latestVersion === "0.7.10") {
579769
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.10"})`) + `
579767
579770
  `);
579768
579771
  } else {
579769
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.8"} to version ${result.latestVersion}`) + `
579772
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.10"} to version ${result.latestVersion}`) + `
579770
579773
  `);
579771
579774
  await regenerateCompletionCache();
579772
579775
  }
@@ -579826,12 +579829,12 @@ async function update() {
579826
579829
  `);
579827
579830
  await gracefulShutdown(1);
579828
579831
  }
579829
- if (latestVersion === "0.7.8") {
579830
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.8"})`) + `
579832
+ if (latestVersion === "0.7.10") {
579833
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.10"})`) + `
579831
579834
  `);
579832
579835
  await gracefulShutdown(0);
579833
579836
  }
579834
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.8"})
579837
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.10"})
579835
579838
  `);
579836
579839
  writeToStdout(`Installing update...
579837
579840
  `);
@@ -579876,7 +579879,7 @@ async function update() {
579876
579879
  logForDebugging2(`update: Installation status: ${status2}`);
579877
579880
  switch (status2) {
579878
579881
  case "success":
579879
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.8"} to version ${latestVersion}`) + `
579882
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.10"} to version ${latestVersion}`) + `
579880
579883
  `);
579881
579884
  await regenerateCompletionCache();
579882
579885
  break;
@@ -581929,7 +581932,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
581929
581932
  pendingHookMessages
581930
581933
  }, renderAndRun);
581931
581934
  }
581932
- }).version(`0.7.8 (${cliDesc})`, "-v, --version", "Output the version number");
581935
+ }).version(`0.7.10 (${cliDesc})`, "-v, --version", "Output the version number");
581933
581936
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
581934
581937
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
581935
581938
  if (canUserConfigureAdvisor()) {
@@ -582058,6 +582061,12 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
582058
582061
  } = await Promise.resolve().then(() => (init_auth5(), exports_auth2));
582059
582062
  await authLogout2();
582060
582063
  });
582064
+ program2.command("logout").description("Atalho para `auth logout`").action(async () => {
582065
+ const {
582066
+ authLogout: authLogout2
582067
+ } = await Promise.resolve().then(() => (init_auth5(), exports_auth2));
582068
+ await authLogout2();
582069
+ });
582061
582070
  const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
582062
582071
  const pluginCmd = program2.command("plugin").alias("plugins").description("Manage Verboo Code plugins").configureHelp(createSortedHelpConfig());
582063
582072
  pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options2) => {
@@ -582491,7 +582500,7 @@ if (false) {}
582491
582500
  async function main2() {
582492
582501
  const args = process.argv.slice(2);
582493
582502
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
582494
- console.log(`${"0.7.8"} (Verboo Code)`);
582503
+ console.log(`${"0.7.10"} (Verboo Code)`);
582495
582504
  return;
582496
582505
  }
582497
582506
  if (args.includes("--provider")) {
@@ -582627,7 +582636,8 @@ async function main2() {
582627
582636
  }
582628
582637
  profileCheckpoint2("cli_before_main_import");
582629
582638
  const { isVerbooMode: isVerbooMode2 } = await Promise.resolve().then(() => (init_oauth(), exports_oauth));
582630
- if (isVerbooMode2() && !(args[0] === "auth" && args[1] === "login")) {
582639
+ const skipsAuth = args.includes("--help") || args.includes("-h") || args[0] === "auth" || args[0] === "logout" || args[0] === "update";
582640
+ if (isVerbooMode2() && !skipsAuth) {
582631
582641
  const { ensureVerbooAuthenticated: ensureVerbooAuthenticated2 } = await Promise.resolve().then(() => (init_verbooStartupAuth(), exports_verbooStartupAuth));
582632
582642
  try {
582633
582643
  await ensureVerbooAuthenticated2();
@@ -582646,4 +582656,4 @@ async function main2() {
582646
582656
  }
582647
582657
  main2();
582648
582658
 
582649
- //# debugId=58E0B8809DA3D6DE64756E2164756E21
582659
+ //# debugId=3383BFF91396D01764756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verboo/code",
3
- "version": "0.7.8",
3
+ "version": "0.7.10",
4
4
  "description": "Verboo Code — coding agent for the Verboo platform",
5
5
  "type": "module",
6
6
  "bin": {
@@ -49,3 +49,6 @@ if (isFishShell()) {
49
49
  }
50
50
  }
51
51
  }
52
+
53
+ process.stdout.write('Verboo Code instalado com sucesso!\n')
54
+ process.stdout.write('Para começar, digite verboo no seu terminal.\n')