@verboo/code 0.7.23 → 0.7.24
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 +65 -53
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -54598,8 +54598,8 @@ var init_types2 = __esm(() => {
|
|
|
54598
54598
|
attribution: exports_external.object({
|
|
54599
54599
|
commit: exports_external.string().optional().describe("Attribution text for git commits, including any trailers. " + "Empty string hides attribution."),
|
|
54600
54600
|
pr: exports_external.string().optional().describe("Attribution text for pull request descriptions. " + "Empty string hides attribution.")
|
|
54601
|
-
}).optional().describe("Customize attribution text for commits and PRs. " + "Each field defaults to the standard
|
|
54602
|
-
includeCoAuthoredBy: exports_external.boolean().optional().describe("Deprecated: Use attribution instead. " + "Whether to include
|
|
54601
|
+
}).optional().describe("Customize attribution text for commits and PRs. " + "Each field defaults to the standard Verboo Code attribution if not set."),
|
|
54602
|
+
includeCoAuthoredBy: exports_external.boolean().optional().describe("Deprecated: Use attribution instead. " + "Whether to include Verboo Code's co-authored by attribution in commits and PRs (defaults to true)"),
|
|
54603
54603
|
includeGitInstructions: exports_external.boolean().optional().describe("Include built-in commit and PR workflow instructions in Claude's system prompt (default: true)"),
|
|
54604
54604
|
permissions: PermissionsSchema().optional().describe("Tool usage permissions configuration"),
|
|
54605
54605
|
model: exports_external.string().optional().describe("Override the default model used by Claude Code"),
|
|
@@ -369687,6 +369687,31 @@ function getUndercoverInstructions() {
|
|
|
369687
369687
|
|
|
369688
369688
|
// src/utils/attribution.ts
|
|
369689
369689
|
import { stat as stat33 } from "fs/promises";
|
|
369690
|
+
function getDefaultCommitAttribution() {
|
|
369691
|
+
const coAuthoredByDisabled = isEnvTruthy(process.env.VERBOO_DISABLE_CO_AUTHORED_BY ?? process.env.OPENCLAUDE_DISABLE_CO_AUTHORED_BY);
|
|
369692
|
+
if (coAuthoredByDisabled) {
|
|
369693
|
+
return "";
|
|
369694
|
+
}
|
|
369695
|
+
if (isVerbooMode()) {
|
|
369696
|
+
return VERBOO_COMMIT_CO_AUTHOR;
|
|
369697
|
+
}
|
|
369698
|
+
const model = getMainLoopModel();
|
|
369699
|
+
const isKnownPublicModel = getPublicModelDisplayName(model) !== null;
|
|
369700
|
+
const modelName = isInternalModelRepoCached() || isKnownPublicModel ? getPublicModelName(model) : "Claude Opus 4.6";
|
|
369701
|
+
return `Co-Authored-By: ${modelName} <noreply@verboo.ai>`;
|
|
369702
|
+
}
|
|
369703
|
+
function applyAttributionSettings(settings, defaults3) {
|
|
369704
|
+
if (settings.attribution) {
|
|
369705
|
+
return {
|
|
369706
|
+
commit: settings.attribution.commit ?? defaults3.commit,
|
|
369707
|
+
pr: settings.attribution.pr ?? defaults3.pr
|
|
369708
|
+
};
|
|
369709
|
+
}
|
|
369710
|
+
if (settings.includeCoAuthoredBy === false) {
|
|
369711
|
+
return { commit: "", pr: "" };
|
|
369712
|
+
}
|
|
369713
|
+
return defaults3;
|
|
369714
|
+
}
|
|
369690
369715
|
function getAttributionTexts() {
|
|
369691
369716
|
if (process.env.USER_TYPE === "ant" && isUndercover()) {
|
|
369692
369717
|
return { commit: "", pr: "" };
|
|
@@ -369702,23 +369727,10 @@ function getAttributionTexts() {
|
|
|
369702
369727
|
}
|
|
369703
369728
|
return { commit: "", pr: "" };
|
|
369704
369729
|
}
|
|
369705
|
-
|
|
369706
|
-
|
|
369707
|
-
|
|
369708
|
-
|
|
369709
|
-
const coAuthorDomain = getAPIProvider() === "firstParty" ? "anthropic.com" : "verboo.ai";
|
|
369710
|
-
const defaultCommit = isEnvTruthy(process.env.VERBOO_DISABLE_CO_AUTHORED_BY ?? process.env.OPENCLAUDE_DISABLE_CO_AUTHORED_BY) ? "" : `Co-Authored-By: ${modelName} <noreply@${coAuthorDomain}>`;
|
|
369711
|
-
const settings = getInitialSettings();
|
|
369712
|
-
if (settings.attribution) {
|
|
369713
|
-
return {
|
|
369714
|
-
commit: settings.attribution.commit ?? defaultCommit,
|
|
369715
|
-
pr: settings.attribution.pr ?? defaultAttribution
|
|
369716
|
-
};
|
|
369717
|
-
}
|
|
369718
|
-
if (settings.includeCoAuthoredBy === false) {
|
|
369719
|
-
return { commit: "", pr: "" };
|
|
369720
|
-
}
|
|
369721
|
-
return { commit: defaultCommit, pr: defaultAttribution };
|
|
369730
|
+
return applyAttributionSettings(getInitialSettings(), {
|
|
369731
|
+
commit: getDefaultCommitAttribution(),
|
|
369732
|
+
pr: "\uD83E\uDD16 Generated with Verboo Code"
|
|
369733
|
+
});
|
|
369722
369734
|
}
|
|
369723
369735
|
function isTerminalOutput(content) {
|
|
369724
369736
|
for (const tag2 of TERMINAL_OUTPUT_TAGS) {
|
|
@@ -369863,9 +369875,10 @@ async function getEnhancedPRAttribution(getAppState) {
|
|
|
369863
369875
|
logForDebugging2(`PR Attribution: returning summary: ${summary}`);
|
|
369864
369876
|
return summary;
|
|
369865
369877
|
}
|
|
369866
|
-
var MEMORY_ACCESS_TOOL_NAMES;
|
|
369878
|
+
var VERBOO_COMMIT_CO_AUTHOR = "Co-Authored-By: Verboo Code <noreply@code.verboo.ai>", MEMORY_ACCESS_TOOL_NAMES;
|
|
369867
369879
|
var init_attribution = __esm(() => {
|
|
369868
369880
|
init_state();
|
|
369881
|
+
init_oauth();
|
|
369869
369882
|
init_envUtils();
|
|
369870
369883
|
init_xml();
|
|
369871
369884
|
init_prompt2();
|
|
@@ -369875,7 +369888,6 @@ var init_attribution = __esm(() => {
|
|
|
369875
369888
|
init_debug();
|
|
369876
369889
|
init_json();
|
|
369877
369890
|
init_log3();
|
|
369878
|
-
init_providers();
|
|
369879
369891
|
init_model();
|
|
369880
369892
|
init_sessionFileAccessHooks();
|
|
369881
369893
|
init_sessionStorage();
|
|
@@ -377200,7 +377212,7 @@ function getAnthropicEnvMetadata() {
|
|
|
377200
377212
|
function getBuildAgeMinutes() {
|
|
377201
377213
|
if (false)
|
|
377202
377214
|
;
|
|
377203
|
-
const buildTime = new Date("2026-05-
|
|
377215
|
+
const buildTime = new Date("2026-05-03T14:49:51.576Z").getTime();
|
|
377204
377216
|
if (isNaN(buildTime))
|
|
377205
377217
|
return;
|
|
377206
377218
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -417806,7 +417818,7 @@ function buildPrimarySection() {
|
|
|
417806
417818
|
}, undefined, false, undefined, this);
|
|
417807
417819
|
return [{
|
|
417808
417820
|
label: "Version",
|
|
417809
|
-
value: "0.7.
|
|
417821
|
+
value: "0.7.24"
|
|
417810
417822
|
}, {
|
|
417811
417823
|
label: "Session name",
|
|
417812
417824
|
value: nameValue
|
|
@@ -485757,7 +485769,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
485757
485769
|
var call60 = async () => {
|
|
485758
485770
|
return {
|
|
485759
485771
|
type: "text",
|
|
485760
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
485772
|
+
value: `${"99.0.0"} (built ${"2026-05-03T14:49:51.576Z"})`
|
|
485761
485773
|
};
|
|
485762
485774
|
}, version2, version_default;
|
|
485763
485775
|
var init_version = __esm(() => {
|
|
@@ -508741,7 +508753,7 @@ function printStartupScreen(modelOverride) {
|
|
|
508741
508753
|
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
508742
508754
|
const cwd2 = process.cwd();
|
|
508743
508755
|
const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
|
|
508744
|
-
const version3 = "0.7.
|
|
508756
|
+
const version3 = "0.7.24";
|
|
508745
508757
|
const bold2 = `${ESC3}1m`;
|
|
508746
508758
|
const PURPLE = rgb3(...ACCENT);
|
|
508747
508759
|
const SOFT = rgb3(...CREAM);
|
|
@@ -528013,7 +528025,7 @@ function AutoUpdater({
|
|
|
528013
528025
|
return;
|
|
528014
528026
|
}
|
|
528015
528027
|
if (false) {}
|
|
528016
|
-
const currentVersion = "0.7.
|
|
528028
|
+
const currentVersion = "0.7.24";
|
|
528017
528029
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
528018
528030
|
let latestVersion = await getLatestVersion(channel);
|
|
528019
528031
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -528366,17 +528378,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
528366
528378
|
const maxVersion = await getMaxVersion();
|
|
528367
528379
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
528368
528380
|
logForDebugging2(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
528369
|
-
if (gte("0.7.
|
|
528370
|
-
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.7.
|
|
528381
|
+
if (gte("0.7.24", maxVersion)) {
|
|
528382
|
+
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.7.24"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
528371
528383
|
setUpdateAvailable(false);
|
|
528372
528384
|
return;
|
|
528373
528385
|
}
|
|
528374
528386
|
latest = maxVersion;
|
|
528375
528387
|
}
|
|
528376
|
-
const hasUpdate = latest && !gte("0.7.
|
|
528388
|
+
const hasUpdate = latest && !gte("0.7.24", latest) && !shouldSkipVersion(latest);
|
|
528377
528389
|
setUpdateAvailable(!!hasUpdate);
|
|
528378
528390
|
if (hasUpdate) {
|
|
528379
|
-
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
528391
|
+
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.24"} -> ${latest}`);
|
|
528380
528392
|
}
|
|
528381
528393
|
};
|
|
528382
528394
|
$2[0] = t1;
|
|
@@ -528410,7 +528422,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
528410
528422
|
wrap: "truncate",
|
|
528411
528423
|
children: [
|
|
528412
528424
|
"currentVersion: ",
|
|
528413
|
-
"0.7.
|
|
528425
|
+
"0.7.24"
|
|
528414
528426
|
]
|
|
528415
528427
|
}, undefined, true, undefined, this);
|
|
528416
528428
|
$2[3] = verbose;
|
|
@@ -561767,7 +561779,7 @@ function WelcomeV2() {
|
|
|
561767
561779
|
dimColor: true,
|
|
561768
561780
|
children: [
|
|
561769
561781
|
"v",
|
|
561770
|
-
"0.7.
|
|
561782
|
+
"0.7.24",
|
|
561771
561783
|
" "
|
|
561772
561784
|
]
|
|
561773
561785
|
}, undefined, true, undefined, this)
|
|
@@ -561954,7 +561966,7 @@ function WelcomeV2() {
|
|
|
561954
561966
|
dimColor: true,
|
|
561955
561967
|
children: [
|
|
561956
561968
|
"v",
|
|
561957
|
-
"0.7.
|
|
561969
|
+
"0.7.24",
|
|
561958
561970
|
" "
|
|
561959
561971
|
]
|
|
561960
561972
|
}, undefined, true, undefined, this)
|
|
@@ -562170,7 +562182,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
562170
562182
|
dimColor: true,
|
|
562171
562183
|
children: [
|
|
562172
562184
|
"v",
|
|
562173
|
-
"0.7.
|
|
562185
|
+
"0.7.24",
|
|
562174
562186
|
" "
|
|
562175
562187
|
]
|
|
562176
562188
|
}, undefined, true, undefined, this);
|
|
@@ -562379,7 +562391,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
562379
562391
|
dimColor: true,
|
|
562380
562392
|
children: [
|
|
562381
562393
|
"v",
|
|
562382
|
-
"0.7.
|
|
562394
|
+
"0.7.24",
|
|
562383
562395
|
" "
|
|
562384
562396
|
]
|
|
562385
562397
|
}, undefined, true, undefined, this);
|
|
@@ -580510,7 +580522,7 @@ __export(exports_update, {
|
|
|
580510
580522
|
async function update() {
|
|
580511
580523
|
if (getAPIProvider() !== "firstParty") {
|
|
580512
580524
|
writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
|
|
580513
|
-
`) + `Current version: ${"0.7.
|
|
580525
|
+
`) + `Current version: ${"0.7.24"}
|
|
580514
580526
|
|
|
580515
580527
|
` + `To update, reinstall from npm:
|
|
580516
580528
|
` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
|
|
@@ -580521,7 +580533,7 @@ async function update() {
|
|
|
580521
580533
|
await gracefulShutdown(0);
|
|
580522
580534
|
}
|
|
580523
580535
|
logEvent("tengu_update_check", {});
|
|
580524
|
-
writeToStdout(`Current version: ${"0.7.
|
|
580536
|
+
writeToStdout(`Current version: ${"0.7.24"}
|
|
580525
580537
|
`);
|
|
580526
580538
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
580527
580539
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -580606,8 +580618,8 @@ async function update() {
|
|
|
580606
580618
|
writeToStdout(`Claude is managed by Homebrew.
|
|
580607
580619
|
`);
|
|
580608
580620
|
const latest = await getLatestVersion(channel);
|
|
580609
|
-
if (latest && !gte("0.7.
|
|
580610
|
-
writeToStdout(`Update available: ${"0.7.
|
|
580621
|
+
if (latest && !gte("0.7.24", latest)) {
|
|
580622
|
+
writeToStdout(`Update available: ${"0.7.24"} → ${latest}
|
|
580611
580623
|
`);
|
|
580612
580624
|
writeToStdout(`
|
|
580613
580625
|
`);
|
|
@@ -580623,8 +580635,8 @@ async function update() {
|
|
|
580623
580635
|
writeToStdout(`Claude is managed by winget.
|
|
580624
580636
|
`);
|
|
580625
580637
|
const latest = await getLatestVersion(channel);
|
|
580626
|
-
if (latest && !gte("0.7.
|
|
580627
|
-
writeToStdout(`Update available: ${"0.7.
|
|
580638
|
+
if (latest && !gte("0.7.24", latest)) {
|
|
580639
|
+
writeToStdout(`Update available: ${"0.7.24"} → ${latest}
|
|
580628
580640
|
`);
|
|
580629
580641
|
writeToStdout(`
|
|
580630
580642
|
`);
|
|
@@ -580640,8 +580652,8 @@ async function update() {
|
|
|
580640
580652
|
writeToStdout(`Claude is managed by apk.
|
|
580641
580653
|
`);
|
|
580642
580654
|
const latest = await getLatestVersion(channel);
|
|
580643
|
-
if (latest && !gte("0.7.
|
|
580644
|
-
writeToStdout(`Update available: ${"0.7.
|
|
580655
|
+
if (latest && !gte("0.7.24", latest)) {
|
|
580656
|
+
writeToStdout(`Update available: ${"0.7.24"} → ${latest}
|
|
580645
580657
|
`);
|
|
580646
580658
|
writeToStdout(`
|
|
580647
580659
|
`);
|
|
@@ -580706,11 +580718,11 @@ async function update() {
|
|
|
580706
580718
|
`);
|
|
580707
580719
|
await gracefulShutdown(1);
|
|
580708
580720
|
}
|
|
580709
|
-
if (result.latestVersion === "0.7.
|
|
580710
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.
|
|
580721
|
+
if (result.latestVersion === "0.7.24") {
|
|
580722
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.24"})`) + `
|
|
580711
580723
|
`);
|
|
580712
580724
|
} else {
|
|
580713
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
580725
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.24"} to version ${result.latestVersion}`) + `
|
|
580714
580726
|
`);
|
|
580715
580727
|
await regenerateCompletionCache();
|
|
580716
580728
|
}
|
|
@@ -580770,12 +580782,12 @@ async function update() {
|
|
|
580770
580782
|
`);
|
|
580771
580783
|
await gracefulShutdown(1);
|
|
580772
580784
|
}
|
|
580773
|
-
if (latestVersion === "0.7.
|
|
580774
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.
|
|
580785
|
+
if (latestVersion === "0.7.24") {
|
|
580786
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.24"})`) + `
|
|
580775
580787
|
`);
|
|
580776
580788
|
await gracefulShutdown(0);
|
|
580777
580789
|
}
|
|
580778
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
580790
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.24"})
|
|
580779
580791
|
`);
|
|
580780
580792
|
writeToStdout(`Installing update...
|
|
580781
580793
|
`);
|
|
@@ -580820,7 +580832,7 @@ async function update() {
|
|
|
580820
580832
|
logForDebugging2(`update: Installation status: ${status2}`);
|
|
580821
580833
|
switch (status2) {
|
|
580822
580834
|
case "success":
|
|
580823
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
580835
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.24"} to version ${latestVersion}`) + `
|
|
580824
580836
|
`);
|
|
580825
580837
|
await regenerateCompletionCache();
|
|
580826
580838
|
break;
|
|
@@ -582874,7 +582886,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
582874
582886
|
pendingHookMessages
|
|
582875
582887
|
}, renderAndRun);
|
|
582876
582888
|
}
|
|
582877
|
-
}).version(`0.7.
|
|
582889
|
+
}).version(`0.7.24 (${cliDesc})`, "-v, --version", "Output the version number");
|
|
582878
582890
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
582879
582891
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
582880
582892
|
if (canUserConfigureAdvisor()) {
|
|
@@ -583445,7 +583457,7 @@ if (false) {}
|
|
|
583445
583457
|
async function main2() {
|
|
583446
583458
|
const args = process.argv.slice(2);
|
|
583447
583459
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
583448
|
-
console.log(`${"0.7.
|
|
583460
|
+
console.log(`${"0.7.24"} (Verboo Code)`);
|
|
583449
583461
|
return;
|
|
583450
583462
|
}
|
|
583451
583463
|
if (!IS_VERBOO_CLI && args.includes("--provider")) {
|
|
@@ -583610,4 +583622,4 @@ async function main2() {
|
|
|
583610
583622
|
}
|
|
583611
583623
|
main2();
|
|
583612
583624
|
|
|
583613
|
-
//# debugId=
|
|
583625
|
+
//# debugId=4D3EE77BAC12EB6964756E2164756E21
|