@verboo/code 0.7.22 → 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 +156 -55
- 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"),
|
|
@@ -110762,6 +110762,9 @@ var init_verbooModels = __esm(() => {
|
|
|
110762
110762
|
|
|
110763
110763
|
// src/utils/fastMode.ts
|
|
110764
110764
|
function isFastModeEnabled() {
|
|
110765
|
+
if (isVerbooMode()) {
|
|
110766
|
+
return false;
|
|
110767
|
+
}
|
|
110765
110768
|
if (getAPIProvider() !== "firstParty") {
|
|
110766
110769
|
return false;
|
|
110767
110770
|
}
|
|
@@ -369684,6 +369687,31 @@ function getUndercoverInstructions() {
|
|
|
369684
369687
|
|
|
369685
369688
|
// src/utils/attribution.ts
|
|
369686
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
|
+
}
|
|
369687
369715
|
function getAttributionTexts() {
|
|
369688
369716
|
if (process.env.USER_TYPE === "ant" && isUndercover()) {
|
|
369689
369717
|
return { commit: "", pr: "" };
|
|
@@ -369699,23 +369727,10 @@ function getAttributionTexts() {
|
|
|
369699
369727
|
}
|
|
369700
369728
|
return { commit: "", pr: "" };
|
|
369701
369729
|
}
|
|
369702
|
-
|
|
369703
|
-
|
|
369704
|
-
|
|
369705
|
-
|
|
369706
|
-
const coAuthorDomain = getAPIProvider() === "firstParty" ? "anthropic.com" : "verboo.ai";
|
|
369707
|
-
const defaultCommit = isEnvTruthy(process.env.VERBOO_DISABLE_CO_AUTHORED_BY ?? process.env.OPENCLAUDE_DISABLE_CO_AUTHORED_BY) ? "" : `Co-Authored-By: ${modelName} <noreply@${coAuthorDomain}>`;
|
|
369708
|
-
const settings = getInitialSettings();
|
|
369709
|
-
if (settings.attribution) {
|
|
369710
|
-
return {
|
|
369711
|
-
commit: settings.attribution.commit ?? defaultCommit,
|
|
369712
|
-
pr: settings.attribution.pr ?? defaultAttribution
|
|
369713
|
-
};
|
|
369714
|
-
}
|
|
369715
|
-
if (settings.includeCoAuthoredBy === false) {
|
|
369716
|
-
return { commit: "", pr: "" };
|
|
369717
|
-
}
|
|
369718
|
-
return { commit: defaultCommit, pr: defaultAttribution };
|
|
369730
|
+
return applyAttributionSettings(getInitialSettings(), {
|
|
369731
|
+
commit: getDefaultCommitAttribution(),
|
|
369732
|
+
pr: "\uD83E\uDD16 Generated with Verboo Code"
|
|
369733
|
+
});
|
|
369719
369734
|
}
|
|
369720
369735
|
function isTerminalOutput(content) {
|
|
369721
369736
|
for (const tag2 of TERMINAL_OUTPUT_TAGS) {
|
|
@@ -369860,9 +369875,10 @@ async function getEnhancedPRAttribution(getAppState) {
|
|
|
369860
369875
|
logForDebugging2(`PR Attribution: returning summary: ${summary}`);
|
|
369861
369876
|
return summary;
|
|
369862
369877
|
}
|
|
369863
|
-
var MEMORY_ACCESS_TOOL_NAMES;
|
|
369878
|
+
var VERBOO_COMMIT_CO_AUTHOR = "Co-Authored-By: Verboo Code <noreply@code.verboo.ai>", MEMORY_ACCESS_TOOL_NAMES;
|
|
369864
369879
|
var init_attribution = __esm(() => {
|
|
369865
369880
|
init_state();
|
|
369881
|
+
init_oauth();
|
|
369866
369882
|
init_envUtils();
|
|
369867
369883
|
init_xml();
|
|
369868
369884
|
init_prompt2();
|
|
@@ -369872,7 +369888,6 @@ var init_attribution = __esm(() => {
|
|
|
369872
369888
|
init_debug();
|
|
369873
369889
|
init_json();
|
|
369874
369890
|
init_log3();
|
|
369875
|
-
init_providers();
|
|
369876
369891
|
init_model();
|
|
369877
369892
|
init_sessionFileAccessHooks();
|
|
369878
369893
|
init_sessionStorage();
|
|
@@ -377197,7 +377212,7 @@ function getAnthropicEnvMetadata() {
|
|
|
377197
377212
|
function getBuildAgeMinutes() {
|
|
377198
377213
|
if (false)
|
|
377199
377214
|
;
|
|
377200
|
-
const buildTime = new Date("2026-05-
|
|
377215
|
+
const buildTime = new Date("2026-05-03T14:49:51.576Z").getTime();
|
|
377201
377216
|
if (isNaN(buildTime))
|
|
377202
377217
|
return;
|
|
377203
377218
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -388018,6 +388033,31 @@ var init_pluginInstallationHelpers = __esm(() => {
|
|
|
388018
388033
|
});
|
|
388019
388034
|
|
|
388020
388035
|
// src/utils/plugins/pluginLoader.ts
|
|
388036
|
+
var exports_pluginLoader = {};
|
|
388037
|
+
__export(exports_pluginLoader, {
|
|
388038
|
+
resolvePluginPath: () => resolvePluginPath,
|
|
388039
|
+
probeSeedCacheAnyVersion: () => probeSeedCacheAnyVersion,
|
|
388040
|
+
mergePluginSources: () => mergePluginSources,
|
|
388041
|
+
loadPluginManifest: () => loadPluginManifest,
|
|
388042
|
+
loadAllPluginsCacheOnly: () => loadAllPluginsCacheOnly,
|
|
388043
|
+
loadAllPlugins: () => loadAllPlugins,
|
|
388044
|
+
installFromNpm: () => installFromNpm,
|
|
388045
|
+
installFromGitSubdir: () => installFromGitSubdir,
|
|
388046
|
+
gitClone: () => gitClone2,
|
|
388047
|
+
getVersionedZipCachePath: () => getVersionedZipCachePath,
|
|
388048
|
+
getVersionedCachePathIn: () => getVersionedCachePathIn,
|
|
388049
|
+
getVersionedCachePath: () => getVersionedCachePath,
|
|
388050
|
+
getPluginCachePath: () => getPluginCachePath,
|
|
388051
|
+
getLegacyCachePath: () => getLegacyCachePath,
|
|
388052
|
+
generateTemporaryCacheNameForPlugin: () => generateTemporaryCacheNameForPlugin,
|
|
388053
|
+
createPluginFromPath: () => createPluginFromPath,
|
|
388054
|
+
copyPluginToVersionedCache: () => copyPluginToVersionedCache,
|
|
388055
|
+
copyDir: () => copyDir,
|
|
388056
|
+
clearPluginCache: () => clearPluginCache,
|
|
388057
|
+
cachePluginSettings: () => cachePluginSettings,
|
|
388058
|
+
cachePlugin: () => cachePlugin,
|
|
388059
|
+
areExternalPluginsDisabledForVerboo: () => areExternalPluginsDisabledForVerboo
|
|
388060
|
+
});
|
|
388021
388061
|
import {
|
|
388022
388062
|
copyFile as copyFile7,
|
|
388023
388063
|
readdir as readdir20,
|
|
@@ -388073,6 +388113,24 @@ async function probeSeedCacheAnyVersion(pluginId) {
|
|
|
388073
388113
|
}
|
|
388074
388114
|
return null;
|
|
388075
388115
|
}
|
|
388116
|
+
function getLegacyCachePath(pluginName) {
|
|
388117
|
+
const cachePath = getPluginCachePath();
|
|
388118
|
+
return join98(cachePath, pluginName.replace(/[^a-zA-Z0-9\-_]/g, "-"));
|
|
388119
|
+
}
|
|
388120
|
+
async function resolvePluginPath(pluginId, version2) {
|
|
388121
|
+
if (version2) {
|
|
388122
|
+
const versionedPath = getVersionedCachePath(pluginId, version2);
|
|
388123
|
+
if (await pathExists(versionedPath)) {
|
|
388124
|
+
return versionedPath;
|
|
388125
|
+
}
|
|
388126
|
+
}
|
|
388127
|
+
const pluginName = parsePluginIdentifier(pluginId).name || pluginId;
|
|
388128
|
+
const legacyPath = getLegacyCachePath(pluginName);
|
|
388129
|
+
if (await pathExists(legacyPath)) {
|
|
388130
|
+
return legacyPath;
|
|
388131
|
+
}
|
|
388132
|
+
return version2 ? getVersionedCachePath(pluginId, version2) : legacyPath;
|
|
388133
|
+
}
|
|
388076
388134
|
async function copyDir(src, dest) {
|
|
388077
388135
|
await getFsImplementation2().mkdir(dest);
|
|
388078
388136
|
const entries = await readdir20(src, { withFileTypes: true });
|
|
@@ -389543,6 +389601,14 @@ function cachePluginSettings(plugins) {
|
|
|
389543
389601
|
logForDebugging2(`Cached plugin settings with keys: ${Object.keys(settings).join(", ")}`);
|
|
389544
389602
|
}
|
|
389545
389603
|
}
|
|
389604
|
+
function areExternalPluginsDisabledForVerboo() {
|
|
389605
|
+
return isVerbooMode() && !isEnvTruthy(process.env.VERBOO_ENABLE_PLUGINS);
|
|
389606
|
+
}
|
|
389607
|
+
function getEmptyPluginLoadResultForVerboo() {
|
|
389608
|
+
cachePluginSettings([]);
|
|
389609
|
+
logForDebugging2("Verboo mode: external plugins disabled (set VERBOO_ENABLE_PLUGINS=1 to opt in)");
|
|
389610
|
+
return { enabled: [], disabled: [], errors: [] };
|
|
389611
|
+
}
|
|
389546
389612
|
function isRecord2(value) {
|
|
389547
389613
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
389548
389614
|
}
|
|
@@ -389550,6 +389616,7 @@ var PluginSettingsSchema, loadAllPlugins, loadAllPluginsCacheOnly;
|
|
|
389550
389616
|
var init_pluginLoader = __esm(() => {
|
|
389551
389617
|
init_memoize();
|
|
389552
389618
|
init_state();
|
|
389619
|
+
init_oauth();
|
|
389553
389620
|
init_builtinPlugins();
|
|
389554
389621
|
init_debug();
|
|
389555
389622
|
init_envUtils();
|
|
@@ -389580,11 +389647,19 @@ var init_pluginLoader = __esm(() => {
|
|
|
389580
389647
|
agent: true
|
|
389581
389648
|
}).strip());
|
|
389582
389649
|
loadAllPlugins = memoize_default(async () => {
|
|
389650
|
+
if (areExternalPluginsDisabledForVerboo()) {
|
|
389651
|
+
const result2 = getEmptyPluginLoadResultForVerboo();
|
|
389652
|
+
loadAllPluginsCacheOnly.cache?.set(undefined, Promise.resolve(result2));
|
|
389653
|
+
return result2;
|
|
389654
|
+
}
|
|
389583
389655
|
const result = await assemblePluginLoadResult(() => loadPluginsFromMarketplaces({ cacheOnly: false }));
|
|
389584
389656
|
loadAllPluginsCacheOnly.cache?.set(undefined, Promise.resolve(result));
|
|
389585
389657
|
return result;
|
|
389586
389658
|
});
|
|
389587
389659
|
loadAllPluginsCacheOnly = memoize_default(async () => {
|
|
389660
|
+
if (areExternalPluginsDisabledForVerboo()) {
|
|
389661
|
+
return getEmptyPluginLoadResultForVerboo();
|
|
389662
|
+
}
|
|
389588
389663
|
if (isEnvTruthy(process.env.CLAUDE_CODE_SYNC_PLUGIN_INSTALL)) {
|
|
389589
389664
|
return loadAllPlugins();
|
|
389590
389665
|
}
|
|
@@ -417743,7 +417818,7 @@ function buildPrimarySection() {
|
|
|
417743
417818
|
}, undefined, false, undefined, this);
|
|
417744
417819
|
return [{
|
|
417745
417820
|
label: "Version",
|
|
417746
|
-
value: "0.7.
|
|
417821
|
+
value: "0.7.24"
|
|
417747
417822
|
}, {
|
|
417748
417823
|
label: "Session name",
|
|
417749
417824
|
value: nameValue
|
|
@@ -485694,7 +485769,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
485694
485769
|
var call60 = async () => {
|
|
485695
485770
|
return {
|
|
485696
485771
|
type: "text",
|
|
485697
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
485772
|
+
value: `${"99.0.0"} (built ${"2026-05-03T14:49:51.576Z"})`
|
|
485698
485773
|
};
|
|
485699
485774
|
}, version2, version_default;
|
|
485700
485775
|
var init_version = __esm(() => {
|
|
@@ -508678,7 +508753,7 @@ function printStartupScreen(modelOverride) {
|
|
|
508678
508753
|
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
508679
508754
|
const cwd2 = process.cwd();
|
|
508680
508755
|
const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
|
|
508681
|
-
const version3 = "0.7.
|
|
508756
|
+
const version3 = "0.7.24";
|
|
508682
508757
|
const bold2 = `${ESC3}1m`;
|
|
508683
508758
|
const PURPLE = rgb3(...ACCENT);
|
|
508684
508759
|
const SOFT = rgb3(...CREAM);
|
|
@@ -527950,7 +528025,7 @@ function AutoUpdater({
|
|
|
527950
528025
|
return;
|
|
527951
528026
|
}
|
|
527952
528027
|
if (false) {}
|
|
527953
|
-
const currentVersion = "0.7.
|
|
528028
|
+
const currentVersion = "0.7.24";
|
|
527954
528029
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
527955
528030
|
let latestVersion = await getLatestVersion(channel);
|
|
527956
528031
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -528303,17 +528378,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
528303
528378
|
const maxVersion = await getMaxVersion();
|
|
528304
528379
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
528305
528380
|
logForDebugging2(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
528306
|
-
if (gte("0.7.
|
|
528307
|
-
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`);
|
|
528308
528383
|
setUpdateAvailable(false);
|
|
528309
528384
|
return;
|
|
528310
528385
|
}
|
|
528311
528386
|
latest = maxVersion;
|
|
528312
528387
|
}
|
|
528313
|
-
const hasUpdate = latest && !gte("0.7.
|
|
528388
|
+
const hasUpdate = latest && !gte("0.7.24", latest) && !shouldSkipVersion(latest);
|
|
528314
528389
|
setUpdateAvailable(!!hasUpdate);
|
|
528315
528390
|
if (hasUpdate) {
|
|
528316
|
-
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
528391
|
+
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.24"} -> ${latest}`);
|
|
528317
528392
|
}
|
|
528318
528393
|
};
|
|
528319
528394
|
$2[0] = t1;
|
|
@@ -528347,7 +528422,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
528347
528422
|
wrap: "truncate",
|
|
528348
528423
|
children: [
|
|
528349
528424
|
"currentVersion: ",
|
|
528350
|
-
"0.7.
|
|
528425
|
+
"0.7.24"
|
|
528351
528426
|
]
|
|
528352
528427
|
}, undefined, true, undefined, this);
|
|
528353
528428
|
$2[3] = verbose;
|
|
@@ -546913,6 +546988,32 @@ function useManagePlugins({
|
|
|
546913
546988
|
const { addNotification } = useNotifications();
|
|
546914
546989
|
const initialPluginLoad = import_react279.useCallback(async () => {
|
|
546915
546990
|
try {
|
|
546991
|
+
if (areExternalPluginsDisabledForVerboo()) {
|
|
546992
|
+
setPluginCommandsState([]);
|
|
546993
|
+
setAppState((prevState) => ({
|
|
546994
|
+
...prevState,
|
|
546995
|
+
plugins: {
|
|
546996
|
+
...prevState.plugins,
|
|
546997
|
+
enabled: [],
|
|
546998
|
+
disabled: [],
|
|
546999
|
+
commands: [],
|
|
547000
|
+
errors: prevState.plugins.errors.filter((e2) => e2.source === "lsp-manager")
|
|
547001
|
+
}
|
|
547002
|
+
}));
|
|
547003
|
+
return {
|
|
547004
|
+
enabled_count: 0,
|
|
547005
|
+
disabled_count: 0,
|
|
547006
|
+
inline_count: 0,
|
|
547007
|
+
marketplace_count: 0,
|
|
547008
|
+
error_count: 0,
|
|
547009
|
+
skill_count: 0,
|
|
547010
|
+
agent_count: 0,
|
|
547011
|
+
hook_count: 0,
|
|
547012
|
+
mcp_count: 0,
|
|
547013
|
+
lsp_count: 0,
|
|
547014
|
+
ant_enabled_names: undefined
|
|
547015
|
+
};
|
|
547016
|
+
}
|
|
546916
547017
|
const { enabled: enabled2, disabled, errors: errors4 } = await loadAllPlugins();
|
|
546917
547018
|
await detectAndUninstallDelistedPlugins();
|
|
546918
547019
|
const flagged = getFlaggedPlugins();
|
|
@@ -561678,7 +561779,7 @@ function WelcomeV2() {
|
|
|
561678
561779
|
dimColor: true,
|
|
561679
561780
|
children: [
|
|
561680
561781
|
"v",
|
|
561681
|
-
"0.7.
|
|
561782
|
+
"0.7.24",
|
|
561682
561783
|
" "
|
|
561683
561784
|
]
|
|
561684
561785
|
}, undefined, true, undefined, this)
|
|
@@ -561865,7 +561966,7 @@ function WelcomeV2() {
|
|
|
561865
561966
|
dimColor: true,
|
|
561866
561967
|
children: [
|
|
561867
561968
|
"v",
|
|
561868
|
-
"0.7.
|
|
561969
|
+
"0.7.24",
|
|
561869
561970
|
" "
|
|
561870
561971
|
]
|
|
561871
561972
|
}, undefined, true, undefined, this)
|
|
@@ -562081,7 +562182,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
562081
562182
|
dimColor: true,
|
|
562082
562183
|
children: [
|
|
562083
562184
|
"v",
|
|
562084
|
-
"0.7.
|
|
562185
|
+
"0.7.24",
|
|
562085
562186
|
" "
|
|
562086
562187
|
]
|
|
562087
562188
|
}, undefined, true, undefined, this);
|
|
@@ -562290,7 +562391,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
562290
562391
|
dimColor: true,
|
|
562291
562392
|
children: [
|
|
562292
562393
|
"v",
|
|
562293
|
-
"0.7.
|
|
562394
|
+
"0.7.24",
|
|
562294
562395
|
" "
|
|
562295
562396
|
]
|
|
562296
562397
|
}, undefined, true, undefined, this);
|
|
@@ -568577,7 +568678,7 @@ To attach: ${source_default.bold(`tmux attach -t ${tmuxSessionName}`)}`));
|
|
|
568577
568678
|
logForDiagnosticsNoPII("info", "setup_background_jobs_launched");
|
|
568578
568679
|
profileCheckpoint("setup_before_prefetch");
|
|
568579
568680
|
logForDiagnosticsNoPII("info", "setup_prefetch_starting");
|
|
568580
|
-
const skipPluginPrefetch = getIsNonInteractiveSession() && isEnvTruthy(process.env.CLAUDE_CODE_SYNC_PLUGIN_INSTALL) || isBareMode();
|
|
568681
|
+
const skipPluginPrefetch = getIsNonInteractiveSession() && isEnvTruthy(process.env.CLAUDE_CODE_SYNC_PLUGIN_INSTALL) || isBareMode() || (await Promise.resolve().then(() => (init_pluginLoader(), exports_pluginLoader))).areExternalPluginsDisabledForVerboo();
|
|
568581
568682
|
if (!skipPluginPrefetch) {
|
|
568582
568683
|
getCommands(getProjectRoot());
|
|
568583
568684
|
}
|
|
@@ -580421,7 +580522,7 @@ __export(exports_update, {
|
|
|
580421
580522
|
async function update() {
|
|
580422
580523
|
if (getAPIProvider() !== "firstParty") {
|
|
580423
580524
|
writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
|
|
580424
|
-
`) + `Current version: ${"0.7.
|
|
580525
|
+
`) + `Current version: ${"0.7.24"}
|
|
580425
580526
|
|
|
580426
580527
|
` + `To update, reinstall from npm:
|
|
580427
580528
|
` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
|
|
@@ -580432,7 +580533,7 @@ async function update() {
|
|
|
580432
580533
|
await gracefulShutdown(0);
|
|
580433
580534
|
}
|
|
580434
580535
|
logEvent("tengu_update_check", {});
|
|
580435
|
-
writeToStdout(`Current version: ${"0.7.
|
|
580536
|
+
writeToStdout(`Current version: ${"0.7.24"}
|
|
580436
580537
|
`);
|
|
580437
580538
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
580438
580539
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -580517,8 +580618,8 @@ async function update() {
|
|
|
580517
580618
|
writeToStdout(`Claude is managed by Homebrew.
|
|
580518
580619
|
`);
|
|
580519
580620
|
const latest = await getLatestVersion(channel);
|
|
580520
|
-
if (latest && !gte("0.7.
|
|
580521
|
-
writeToStdout(`Update available: ${"0.7.
|
|
580621
|
+
if (latest && !gte("0.7.24", latest)) {
|
|
580622
|
+
writeToStdout(`Update available: ${"0.7.24"} → ${latest}
|
|
580522
580623
|
`);
|
|
580523
580624
|
writeToStdout(`
|
|
580524
580625
|
`);
|
|
@@ -580534,8 +580635,8 @@ async function update() {
|
|
|
580534
580635
|
writeToStdout(`Claude is managed by winget.
|
|
580535
580636
|
`);
|
|
580536
580637
|
const latest = await getLatestVersion(channel);
|
|
580537
|
-
if (latest && !gte("0.7.
|
|
580538
|
-
writeToStdout(`Update available: ${"0.7.
|
|
580638
|
+
if (latest && !gte("0.7.24", latest)) {
|
|
580639
|
+
writeToStdout(`Update available: ${"0.7.24"} → ${latest}
|
|
580539
580640
|
`);
|
|
580540
580641
|
writeToStdout(`
|
|
580541
580642
|
`);
|
|
@@ -580551,8 +580652,8 @@ async function update() {
|
|
|
580551
580652
|
writeToStdout(`Claude is managed by apk.
|
|
580552
580653
|
`);
|
|
580553
580654
|
const latest = await getLatestVersion(channel);
|
|
580554
|
-
if (latest && !gte("0.7.
|
|
580555
|
-
writeToStdout(`Update available: ${"0.7.
|
|
580655
|
+
if (latest && !gte("0.7.24", latest)) {
|
|
580656
|
+
writeToStdout(`Update available: ${"0.7.24"} → ${latest}
|
|
580556
580657
|
`);
|
|
580557
580658
|
writeToStdout(`
|
|
580558
580659
|
`);
|
|
@@ -580617,11 +580718,11 @@ async function update() {
|
|
|
580617
580718
|
`);
|
|
580618
580719
|
await gracefulShutdown(1);
|
|
580619
580720
|
}
|
|
580620
|
-
if (result.latestVersion === "0.7.
|
|
580621
|
-
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"})`) + `
|
|
580622
580723
|
`);
|
|
580623
580724
|
} else {
|
|
580624
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
580725
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.24"} to version ${result.latestVersion}`) + `
|
|
580625
580726
|
`);
|
|
580626
580727
|
await regenerateCompletionCache();
|
|
580627
580728
|
}
|
|
@@ -580681,12 +580782,12 @@ async function update() {
|
|
|
580681
580782
|
`);
|
|
580682
580783
|
await gracefulShutdown(1);
|
|
580683
580784
|
}
|
|
580684
|
-
if (latestVersion === "0.7.
|
|
580685
|
-
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"})`) + `
|
|
580686
580787
|
`);
|
|
580687
580788
|
await gracefulShutdown(0);
|
|
580688
580789
|
}
|
|
580689
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
580790
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.24"})
|
|
580690
580791
|
`);
|
|
580691
580792
|
writeToStdout(`Installing update...
|
|
580692
580793
|
`);
|
|
@@ -580731,7 +580832,7 @@ async function update() {
|
|
|
580731
580832
|
logForDebugging2(`update: Installation status: ${status2}`);
|
|
580732
580833
|
switch (status2) {
|
|
580733
580834
|
case "success":
|
|
580734
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
580835
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.24"} to version ${latestVersion}`) + `
|
|
580735
580836
|
`);
|
|
580736
580837
|
await regenerateCompletionCache();
|
|
580737
580838
|
break;
|
|
@@ -582032,7 +582133,7 @@ ${customInstructions}` : customInstructions;
|
|
|
582032
582133
|
}
|
|
582033
582134
|
});
|
|
582034
582135
|
});
|
|
582035
|
-
if (isBareMode()) {} else if (isNonInteractiveSession) {
|
|
582136
|
+
if (isBareMode() || areExternalPluginsDisabledForVerboo()) {} else if (isNonInteractiveSession) {
|
|
582036
582137
|
await initializeVersionedPlugins();
|
|
582037
582138
|
profileCheckpoint("action_after_plugins_init");
|
|
582038
582139
|
cleanupOrphanedPluginVersionsInBackground().then(() => getGlobExclusionsForPluginCache());
|
|
@@ -582785,7 +582886,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
582785
582886
|
pendingHookMessages
|
|
582786
582887
|
}, renderAndRun);
|
|
582787
582888
|
}
|
|
582788
|
-
}).version(`0.7.
|
|
582889
|
+
}).version(`0.7.24 (${cliDesc})`, "-v, --version", "Output the version number");
|
|
582789
582890
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
582790
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.");
|
|
582791
582892
|
if (canUserConfigureAdvisor()) {
|
|
@@ -583356,7 +583457,7 @@ if (false) {}
|
|
|
583356
583457
|
async function main2() {
|
|
583357
583458
|
const args = process.argv.slice(2);
|
|
583358
583459
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
583359
|
-
console.log(`${"0.7.
|
|
583460
|
+
console.log(`${"0.7.24"} (Verboo Code)`);
|
|
583360
583461
|
return;
|
|
583361
583462
|
}
|
|
583362
583463
|
if (!IS_VERBOO_CLI && args.includes("--provider")) {
|
|
@@ -583521,4 +583622,4 @@ async function main2() {
|
|
|
583521
583622
|
}
|
|
583522
583623
|
main2();
|
|
583523
583624
|
|
|
583524
|
-
//# debugId=
|
|
583625
|
+
//# debugId=4D3EE77BAC12EB6964756E2164756E21
|