ur-agent 1.36.1 → 1.37.1
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/README.md +28 -15
- package/bin/ur.js +13 -3
- package/dist/cli.js +165 -70
- package/docs/CONFIGURATION.md +2 -0
- package/docs/IDE.md +190 -37
- package/docs/providers.md +2 -0
- package/documentation/index.html +2 -2
- package/extensions/vscode-ur-inline-diffs/README.md +81 -10
- package/extensions/vscode-ur-inline-diffs/media/ur.svg +3 -4
- package/extensions/vscode-ur-inline-diffs/out/extension.js +2571 -0
- package/extensions/vscode-ur-inline-diffs/package.json +214 -8
- package/package.json +2 -2
- package/extensions/vscode-ur-inline-diffs/extension.js +0 -383
package/dist/cli.js
CHANGED
|
@@ -70876,7 +70876,7 @@ var init_auth = __esm(() => {
|
|
|
70876
70876
|
|
|
70877
70877
|
// src/utils/userAgent.ts
|
|
70878
70878
|
function getURCodeUserAgent() {
|
|
70879
|
-
return `ur/${"1.
|
|
70879
|
+
return `ur/${"1.37.1"}`;
|
|
70880
70880
|
}
|
|
70881
70881
|
|
|
70882
70882
|
// src/utils/workloadContext.ts
|
|
@@ -70898,7 +70898,7 @@ function getUserAgent() {
|
|
|
70898
70898
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
70899
70899
|
const workload = getWorkload();
|
|
70900
70900
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
70901
|
-
return `ur-cli/${"1.
|
|
70901
|
+
return `ur-cli/${"1.37.1"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
70902
70902
|
}
|
|
70903
70903
|
function getMCPUserAgent() {
|
|
70904
70904
|
const parts = [];
|
|
@@ -70912,7 +70912,7 @@ function getMCPUserAgent() {
|
|
|
70912
70912
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
70913
70913
|
}
|
|
70914
70914
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
70915
|
-
return `ur/${"1.
|
|
70915
|
+
return `ur/${"1.37.1"}${suffix}`;
|
|
70916
70916
|
}
|
|
70917
70917
|
function getWebFetchUserAgent() {
|
|
70918
70918
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -71050,7 +71050,7 @@ var init_user = __esm(() => {
|
|
|
71050
71050
|
deviceId,
|
|
71051
71051
|
sessionId: getSessionId(),
|
|
71052
71052
|
email: getEmail(),
|
|
71053
|
-
appVersion: "1.
|
|
71053
|
+
appVersion: "1.37.1",
|
|
71054
71054
|
platform: getHostPlatformForAnalytics(),
|
|
71055
71055
|
organizationUuid,
|
|
71056
71056
|
accountUuid,
|
|
@@ -77567,7 +77567,7 @@ var init_metadata = __esm(() => {
|
|
|
77567
77567
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
77568
77568
|
WHITESPACE_REGEX = /\s+/;
|
|
77569
77569
|
getVersionBase = memoize_default(() => {
|
|
77570
|
-
const match = "1.
|
|
77570
|
+
const match = "1.37.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
77571
77571
|
return match ? match[0] : undefined;
|
|
77572
77572
|
});
|
|
77573
77573
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -77607,7 +77607,7 @@ var init_metadata = __esm(() => {
|
|
|
77607
77607
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
77608
77608
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
77609
77609
|
isURAiAuth: isURAISubscriber2(),
|
|
77610
|
-
version: "1.
|
|
77610
|
+
version: "1.37.1",
|
|
77611
77611
|
versionBase: getVersionBase(),
|
|
77612
77612
|
buildTime: "",
|
|
77613
77613
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -78277,7 +78277,7 @@ function initialize1PEventLogging() {
|
|
|
78277
78277
|
const platform2 = getPlatform();
|
|
78278
78278
|
const attributes = {
|
|
78279
78279
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
78280
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.
|
|
78280
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.37.1"
|
|
78281
78281
|
};
|
|
78282
78282
|
if (platform2 === "wsl") {
|
|
78283
78283
|
const wslVersion = getWslVersion();
|
|
@@ -78304,7 +78304,7 @@ function initialize1PEventLogging() {
|
|
|
78304
78304
|
})
|
|
78305
78305
|
]
|
|
78306
78306
|
});
|
|
78307
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.
|
|
78307
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.37.1");
|
|
78308
78308
|
}
|
|
78309
78309
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
78310
78310
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -83601,7 +83601,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
83601
83601
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
83602
83602
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
83603
83603
|
}
|
|
83604
|
-
var urVersion = "1.
|
|
83604
|
+
var urVersion = "1.37.1", coverage, priorityRoadmap;
|
|
83605
83605
|
var init_trends = __esm(() => {
|
|
83606
83606
|
coverage = [
|
|
83607
83607
|
{
|
|
@@ -85594,7 +85594,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
85594
85594
|
if (!isAttributionHeaderEnabled()) {
|
|
85595
85595
|
return "";
|
|
85596
85596
|
}
|
|
85597
|
-
const version2 = `${"1.
|
|
85597
|
+
const version2 = `${"1.37.1"}.${fingerprint}`;
|
|
85598
85598
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
85599
85599
|
const cch = "";
|
|
85600
85600
|
const workload = getWorkload();
|
|
@@ -193455,7 +193455,7 @@ function getTelemetryAttributes() {
|
|
|
193455
193455
|
attributes["session.id"] = sessionId;
|
|
193456
193456
|
}
|
|
193457
193457
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
193458
|
-
attributes["app.version"] = "1.
|
|
193458
|
+
attributes["app.version"] = "1.37.1";
|
|
193459
193459
|
}
|
|
193460
193460
|
const oauthAccount = getOauthAccountInfo();
|
|
193461
193461
|
if (oauthAccount) {
|
|
@@ -228840,7 +228840,7 @@ function getInstallationEnv() {
|
|
|
228840
228840
|
return;
|
|
228841
228841
|
}
|
|
228842
228842
|
function getURCodeVersion() {
|
|
228843
|
-
return "1.
|
|
228843
|
+
return "1.37.1";
|
|
228844
228844
|
}
|
|
228845
228845
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
228846
228846
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -231679,7 +231679,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
231679
231679
|
const client2 = new Client({
|
|
231680
231680
|
name: "ur",
|
|
231681
231681
|
title: "UR",
|
|
231682
|
-
version: "1.
|
|
231682
|
+
version: "1.37.1",
|
|
231683
231683
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
231684
231684
|
websiteUrl: PRODUCT_URL
|
|
231685
231685
|
}, {
|
|
@@ -232033,7 +232033,7 @@ var init_client5 = __esm(() => {
|
|
|
232033
232033
|
const client2 = new Client({
|
|
232034
232034
|
name: "ur",
|
|
232035
232035
|
title: "UR",
|
|
232036
|
-
version: "1.
|
|
232036
|
+
version: "1.37.1",
|
|
232037
232037
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
232038
232038
|
websiteUrl: PRODUCT_URL
|
|
232039
232039
|
}, {
|
|
@@ -241847,9 +241847,9 @@ async function assertMinVersion() {
|
|
|
241847
241847
|
if (false) {}
|
|
241848
241848
|
try {
|
|
241849
241849
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
241850
|
-
if (versionConfig.minVersion && lt("1.
|
|
241850
|
+
if (versionConfig.minVersion && lt("1.37.1", versionConfig.minVersion)) {
|
|
241851
241851
|
console.error(`
|
|
241852
|
-
It looks like your version of UR (${"1.
|
|
241852
|
+
It looks like your version of UR (${"1.37.1"}) needs an update.
|
|
241853
241853
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
241854
241854
|
|
|
241855
241855
|
To update, please run:
|
|
@@ -242065,7 +242065,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
242065
242065
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
242066
242066
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
242067
242067
|
pid: process.pid,
|
|
242068
|
-
currentVersion: "1.
|
|
242068
|
+
currentVersion: "1.37.1"
|
|
242069
242069
|
});
|
|
242070
242070
|
return "in_progress";
|
|
242071
242071
|
}
|
|
@@ -242074,7 +242074,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
242074
242074
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
242075
242075
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
242076
242076
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
242077
|
-
currentVersion: "1.
|
|
242077
|
+
currentVersion: "1.37.1"
|
|
242078
242078
|
});
|
|
242079
242079
|
console.error(`
|
|
242080
242080
|
Error: Windows NPM detected in WSL
|
|
@@ -242609,7 +242609,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
242609
242609
|
}
|
|
242610
242610
|
async function getDoctorDiagnostic() {
|
|
242611
242611
|
const installationType = await getCurrentInstallationType();
|
|
242612
|
-
const version2 = typeof MACRO !== "undefined" ? "1.
|
|
242612
|
+
const version2 = typeof MACRO !== "undefined" ? "1.37.1" : "unknown";
|
|
242613
242613
|
const installationPath = await getInstallationPath();
|
|
242614
242614
|
const invokedBinary = getInvokedBinary();
|
|
242615
242615
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -243544,8 +243544,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
243544
243544
|
const maxVersion = await getMaxVersion();
|
|
243545
243545
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
243546
243546
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
243547
|
-
if (gte("1.
|
|
243548
|
-
logForDebugging(`Native installer: current version ${"1.
|
|
243547
|
+
if (gte("1.37.1", maxVersion)) {
|
|
243548
|
+
logForDebugging(`Native installer: current version ${"1.37.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
243549
243549
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
243550
243550
|
latency_ms: Date.now() - startTime,
|
|
243551
243551
|
max_version: maxVersion,
|
|
@@ -243556,7 +243556,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
243556
243556
|
version2 = maxVersion;
|
|
243557
243557
|
}
|
|
243558
243558
|
}
|
|
243559
|
-
if (!forceReinstall && version2 === "1.
|
|
243559
|
+
if (!forceReinstall && version2 === "1.37.1" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
243560
243560
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
243561
243561
|
logEvent("tengu_native_update_complete", {
|
|
243562
243562
|
latency_ms: Date.now() - startTime,
|
|
@@ -340486,7 +340486,7 @@ function Feedback({
|
|
|
340486
340486
|
platform: env2.platform,
|
|
340487
340487
|
gitRepo: envInfo.isGit,
|
|
340488
340488
|
terminal: env2.terminal,
|
|
340489
|
-
version: "1.
|
|
340489
|
+
version: "1.37.1",
|
|
340490
340490
|
transcript: normalizeMessagesForAPI(messages),
|
|
340491
340491
|
errors: sanitizedErrors,
|
|
340492
340492
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -340678,7 +340678,7 @@ function Feedback({
|
|
|
340678
340678
|
", ",
|
|
340679
340679
|
env2.terminal,
|
|
340680
340680
|
", v",
|
|
340681
|
-
"1.
|
|
340681
|
+
"1.37.1"
|
|
340682
340682
|
]
|
|
340683
340683
|
}, undefined, true, undefined, this)
|
|
340684
340684
|
]
|
|
@@ -340784,7 +340784,7 @@ ${sanitizedDescription}
|
|
|
340784
340784
|
` + `**Environment Info**
|
|
340785
340785
|
` + `- Platform: ${env2.platform}
|
|
340786
340786
|
` + `- Terminal: ${env2.terminal}
|
|
340787
|
-
` + `- Version: ${"1.
|
|
340787
|
+
` + `- Version: ${"1.37.1"}
|
|
340788
340788
|
` + `- Feedback ID: ${feedbackId}
|
|
340789
340789
|
` + `
|
|
340790
340790
|
**Errors**
|
|
@@ -343895,7 +343895,7 @@ function buildPrimarySection() {
|
|
|
343895
343895
|
}, undefined, false, undefined, this);
|
|
343896
343896
|
return [{
|
|
343897
343897
|
label: "Version",
|
|
343898
|
-
value: "1.
|
|
343898
|
+
value: "1.37.1"
|
|
343899
343899
|
}, {
|
|
343900
343900
|
label: "Session name",
|
|
343901
343901
|
value: nameValue
|
|
@@ -347196,7 +347196,7 @@ function Config({
|
|
|
347196
347196
|
}
|
|
347197
347197
|
}, undefined, false, undefined, this)
|
|
347198
347198
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
347199
|
-
currentVersion: "1.
|
|
347199
|
+
currentVersion: "1.37.1",
|
|
347200
347200
|
onChoice: (choice) => {
|
|
347201
347201
|
setShowSubmenu(null);
|
|
347202
347202
|
setTabsHidden(false);
|
|
@@ -347208,7 +347208,7 @@ function Config({
|
|
|
347208
347208
|
autoUpdatesChannel: "stable"
|
|
347209
347209
|
};
|
|
347210
347210
|
if (choice === "stay") {
|
|
347211
|
-
newSettings.minimumVersion = "1.
|
|
347211
|
+
newSettings.minimumVersion = "1.37.1";
|
|
347212
347212
|
}
|
|
347213
347213
|
updateSettingsForSource("userSettings", newSettings);
|
|
347214
347214
|
setSettingsData((prev_27) => ({
|
|
@@ -355278,7 +355278,7 @@ function HelpV2(t0) {
|
|
|
355278
355278
|
let t6;
|
|
355279
355279
|
if ($3[31] !== tabs) {
|
|
355280
355280
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
355281
|
-
title: `UR v${"1.
|
|
355281
|
+
title: `UR v${"1.37.1"}`,
|
|
355282
355282
|
color: "professionalBlue",
|
|
355283
355283
|
defaultTab: "general",
|
|
355284
355284
|
children: tabs
|
|
@@ -356024,7 +356024,7 @@ function buildToolUseContext(tools, readFileStateCache) {
|
|
|
356024
356024
|
async function handleInitialize(options2) {
|
|
356025
356025
|
return {
|
|
356026
356026
|
name: "ur-agent",
|
|
356027
|
-
version: "1.
|
|
356027
|
+
version: "1.37.1",
|
|
356028
356028
|
protocolVersion: "0.1.0",
|
|
356029
356029
|
workspaceRoot: options2.cwd,
|
|
356030
356030
|
capabilities: {
|
|
@@ -356578,6 +356578,10 @@ function formatIdeStatus(status, json2 = false) {
|
|
|
356578
356578
|
`Plugins loaded: ${status.pluginCount}`,
|
|
356579
356579
|
`Detected IDEs: ${ide}`
|
|
356580
356580
|
];
|
|
356581
|
+
if (status.sandboxMode)
|
|
356582
|
+
lines.push(`Sandbox mode: ${status.sandboxMode}`);
|
|
356583
|
+
if (status.verifierMode)
|
|
356584
|
+
lines.push(`Verifier mode: ${status.verifierMode}`);
|
|
356581
356585
|
if (status.warnings.length > 0) {
|
|
356582
356586
|
lines.push("Warnings:", ...status.warnings.map((w) => ` - ${w}`));
|
|
356583
356587
|
}
|
|
@@ -356625,6 +356629,17 @@ __export(exports_ideInfoCommand, {
|
|
|
356625
356629
|
runIdeInfoCommand: () => runIdeInfoCommand,
|
|
356626
356630
|
collectIdeStatus: () => collectIdeStatus
|
|
356627
356631
|
});
|
|
356632
|
+
function currentSandboxMode() {
|
|
356633
|
+
if (!SandboxManager2.isSandboxingEnabled())
|
|
356634
|
+
return "disabled";
|
|
356635
|
+
return SandboxManager2.isSandboxRequired() ? "required" : "recommended";
|
|
356636
|
+
}
|
|
356637
|
+
function currentVerifierMode() {
|
|
356638
|
+
const env4 = (process.env.UR_VERIFIER_MODE ?? "").toLowerCase();
|
|
356639
|
+
if (env4 === "off" || env4 === "loose" || env4 === "strict")
|
|
356640
|
+
return env4;
|
|
356641
|
+
return "strict";
|
|
356642
|
+
}
|
|
356628
356643
|
function pluginCount() {
|
|
356629
356644
|
try {
|
|
356630
356645
|
return Object.keys(loadInstalledPluginsV2().plugins ?? {}).length;
|
|
@@ -356661,7 +356676,9 @@ async function collectIdeStatus(cwd2) {
|
|
|
356661
356676
|
},
|
|
356662
356677
|
pluginCount: pluginCount(),
|
|
356663
356678
|
detectedIdes: detected.names.map((name) => ({ name, connected: false })),
|
|
356664
|
-
warnings
|
|
356679
|
+
warnings,
|
|
356680
|
+
sandboxMode: currentSandboxMode(),
|
|
356681
|
+
verifierMode: currentVerifierMode()
|
|
356665
356682
|
};
|
|
356666
356683
|
}
|
|
356667
356684
|
function usage2() {
|
|
@@ -356706,6 +356723,7 @@ var init_ideInfoCommand = __esm(() => {
|
|
|
356706
356723
|
init_cwd2();
|
|
356707
356724
|
init_ide();
|
|
356708
356725
|
init_installedPluginsManager();
|
|
356726
|
+
init_sandbox_adapter();
|
|
356709
356727
|
});
|
|
356710
356728
|
|
|
356711
356729
|
// src/commands/ide/ide.tsx
|
|
@@ -376148,7 +376166,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
376148
376166
|
return [];
|
|
376149
376167
|
}
|
|
376150
376168
|
}
|
|
376151
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.
|
|
376169
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.37.1") {
|
|
376152
376170
|
if (process.env.USER_TYPE === "ant") {
|
|
376153
376171
|
const changelog = "";
|
|
376154
376172
|
if (changelog) {
|
|
@@ -376175,7 +376193,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.36.1")
|
|
|
376175
376193
|
releaseNotes
|
|
376176
376194
|
};
|
|
376177
376195
|
}
|
|
376178
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.
|
|
376196
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.37.1") {
|
|
376179
376197
|
if (process.env.USER_TYPE === "ant") {
|
|
376180
376198
|
const changelog = "";
|
|
376181
376199
|
if (changelog) {
|
|
@@ -377345,7 +377363,7 @@ function getRecentActivitySync() {
|
|
|
377345
377363
|
return cachedActivity;
|
|
377346
377364
|
}
|
|
377347
377365
|
function getLogoDisplayData() {
|
|
377348
|
-
const version2 = process.env.DEMO_VERSION ?? "1.
|
|
377366
|
+
const version2 = process.env.DEMO_VERSION ?? "1.37.1";
|
|
377349
377367
|
const serverUrl = getDirectConnectServerUrl();
|
|
377350
377368
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
|
|
377351
377369
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -378134,7 +378152,7 @@ function LogoV2() {
|
|
|
378134
378152
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
378135
378153
|
t2 = () => {
|
|
378136
378154
|
const currentConfig2 = getGlobalConfig();
|
|
378137
|
-
if (currentConfig2.lastReleaseNotesSeen === "1.
|
|
378155
|
+
if (currentConfig2.lastReleaseNotesSeen === "1.37.1") {
|
|
378138
378156
|
return;
|
|
378139
378157
|
}
|
|
378140
378158
|
saveGlobalConfig(_temp326);
|
|
@@ -378819,12 +378837,12 @@ function LogoV2() {
|
|
|
378819
378837
|
return t41;
|
|
378820
378838
|
}
|
|
378821
378839
|
function _temp326(current) {
|
|
378822
|
-
if (current.lastReleaseNotesSeen === "1.
|
|
378840
|
+
if (current.lastReleaseNotesSeen === "1.37.1") {
|
|
378823
378841
|
return current;
|
|
378824
378842
|
}
|
|
378825
378843
|
return {
|
|
378826
378844
|
...current,
|
|
378827
|
-
lastReleaseNotesSeen: "1.
|
|
378845
|
+
lastReleaseNotesSeen: "1.37.1"
|
|
378828
378846
|
};
|
|
378829
378847
|
}
|
|
378830
378848
|
function _temp243(s_0) {
|
|
@@ -594719,7 +594737,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
594719
594737
|
smapsRollup,
|
|
594720
594738
|
platform: process.platform,
|
|
594721
594739
|
nodeVersion: process.version,
|
|
594722
|
-
ccVersion: "1.
|
|
594740
|
+
ccVersion: "1.37.1"
|
|
594723
594741
|
};
|
|
594724
594742
|
}
|
|
594725
594743
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -595305,7 +595323,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
595305
595323
|
var call137 = async () => {
|
|
595306
595324
|
return {
|
|
595307
595325
|
type: "text",
|
|
595308
|
-
value: "1.
|
|
595326
|
+
value: "1.37.1"
|
|
595309
595327
|
};
|
|
595310
595328
|
}, version2, version_default;
|
|
595311
595329
|
var init_version = __esm(() => {
|
|
@@ -605385,7 +605403,7 @@ function generateHtmlReport(data, insights) {
|
|
|
605385
605403
|
</html>`;
|
|
605386
605404
|
}
|
|
605387
605405
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
605388
|
-
const version3 = typeof MACRO !== "undefined" ? "1.
|
|
605406
|
+
const version3 = typeof MACRO !== "undefined" ? "1.37.1" : "unknown";
|
|
605389
605407
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
605390
605408
|
const facets_summary = {
|
|
605391
605409
|
total: facets.size,
|
|
@@ -609665,7 +609683,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
609665
609683
|
init_settings2();
|
|
609666
609684
|
init_slowOperations();
|
|
609667
609685
|
init_uuid();
|
|
609668
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.
|
|
609686
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.37.1" : "unknown";
|
|
609669
609687
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
609670
609688
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
609671
609689
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -610870,7 +610888,7 @@ var init_filesystem = __esm(() => {
|
|
|
610870
610888
|
});
|
|
610871
610889
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
610872
610890
|
const nonce = randomBytes18(16).toString("hex");
|
|
610873
|
-
return join200(getURTempDir(), "bundled-skills", "1.
|
|
610891
|
+
return join200(getURTempDir(), "bundled-skills", "1.37.1", nonce);
|
|
610874
610892
|
});
|
|
610875
610893
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
610876
610894
|
});
|
|
@@ -617159,7 +617177,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
617159
617177
|
}
|
|
617160
617178
|
function computeFingerprintFromMessages(messages) {
|
|
617161
617179
|
const firstMessageText = extractFirstMessageText(messages);
|
|
617162
|
-
return computeFingerprint(firstMessageText, "1.
|
|
617180
|
+
return computeFingerprint(firstMessageText, "1.37.1");
|
|
617163
617181
|
}
|
|
617164
617182
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
617165
617183
|
var init_fingerprint = () => {};
|
|
@@ -619033,7 +619051,7 @@ async function sideQuery(opts) {
|
|
|
619033
619051
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
619034
619052
|
}
|
|
619035
619053
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
619036
|
-
const fingerprint = computeFingerprint(messageText2, "1.
|
|
619054
|
+
const fingerprint = computeFingerprint(messageText2, "1.37.1");
|
|
619037
619055
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
619038
619056
|
const systemBlocks = [
|
|
619039
619057
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -623770,7 +623788,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
623770
623788
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
623771
623789
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
623772
623790
|
betas: getSdkBetas(),
|
|
623773
|
-
ur_version: "1.
|
|
623791
|
+
ur_version: "1.37.1",
|
|
623774
623792
|
output_style: outputStyle2,
|
|
623775
623793
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
623776
623794
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -638398,7 +638416,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
638398
638416
|
function getSemverPart(version3) {
|
|
638399
638417
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
638400
638418
|
}
|
|
638401
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.
|
|
638419
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.37.1") {
|
|
638402
638420
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
638403
638421
|
if (!updatedVersion) {
|
|
638404
638422
|
return null;
|
|
@@ -638447,7 +638465,7 @@ function AutoUpdater({
|
|
|
638447
638465
|
return;
|
|
638448
638466
|
}
|
|
638449
638467
|
if (false) {}
|
|
638450
|
-
const currentVersion = "1.
|
|
638468
|
+
const currentVersion = "1.37.1";
|
|
638451
638469
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
638452
638470
|
let latestVersion = await getLatestVersion(channel);
|
|
638453
638471
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -638676,12 +638694,12 @@ function NativeAutoUpdater({
|
|
|
638676
638694
|
logEvent("tengu_native_auto_updater_start", {});
|
|
638677
638695
|
try {
|
|
638678
638696
|
const maxVersion = await getMaxVersion();
|
|
638679
|
-
if (maxVersion && gt("1.
|
|
638697
|
+
if (maxVersion && gt("1.37.1", maxVersion)) {
|
|
638680
638698
|
const msg = await getMaxVersionMessage();
|
|
638681
638699
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
638682
638700
|
}
|
|
638683
638701
|
const result = await installLatest(channel);
|
|
638684
|
-
const currentVersion = "1.
|
|
638702
|
+
const currentVersion = "1.37.1";
|
|
638685
638703
|
const latencyMs = Date.now() - startTime;
|
|
638686
638704
|
if (result.lockFailed) {
|
|
638687
638705
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -638818,17 +638836,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
638818
638836
|
const maxVersion = await getMaxVersion();
|
|
638819
638837
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
638820
638838
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
638821
|
-
if (gte("1.
|
|
638822
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.
|
|
638839
|
+
if (gte("1.37.1", maxVersion)) {
|
|
638840
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.37.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
638823
638841
|
setUpdateAvailable(false);
|
|
638824
638842
|
return;
|
|
638825
638843
|
}
|
|
638826
638844
|
latest = maxVersion;
|
|
638827
638845
|
}
|
|
638828
|
-
const hasUpdate = latest && !gte("1.
|
|
638846
|
+
const hasUpdate = latest && !gte("1.37.1", latest) && !shouldSkipVersion(latest);
|
|
638829
638847
|
setUpdateAvailable(!!hasUpdate);
|
|
638830
638848
|
if (hasUpdate) {
|
|
638831
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.
|
|
638849
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.37.1"} -> ${latest}`);
|
|
638832
638850
|
}
|
|
638833
638851
|
};
|
|
638834
638852
|
$3[0] = t1;
|
|
@@ -638862,7 +638880,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
638862
638880
|
wrap: "truncate",
|
|
638863
638881
|
children: [
|
|
638864
638882
|
"currentVersion: ",
|
|
638865
|
-
"1.
|
|
638883
|
+
"1.37.1"
|
|
638866
638884
|
]
|
|
638867
638885
|
}, undefined, true, undefined, this);
|
|
638868
638886
|
$3[3] = verbose;
|
|
@@ -651314,7 +651332,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
651314
651332
|
project_dir: getOriginalCwd(),
|
|
651315
651333
|
added_dirs: addedDirs
|
|
651316
651334
|
},
|
|
651317
|
-
version: "1.
|
|
651335
|
+
version: "1.37.1",
|
|
651318
651336
|
output_style: {
|
|
651319
651337
|
name: outputStyleName
|
|
651320
651338
|
},
|
|
@@ -651397,7 +651415,7 @@ function StatusLineInner({
|
|
|
651397
651415
|
const taskValues = Object.values(tasks2);
|
|
651398
651416
|
const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
|
|
651399
651417
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
651400
|
-
version: "1.
|
|
651418
|
+
version: "1.37.1",
|
|
651401
651419
|
providerLabel: providerRuntime.providerLabel,
|
|
651402
651420
|
authMode: providerRuntime.authLabel,
|
|
651403
651421
|
model: providerRuntime.model ?? renderModelName(mainLoopModel),
|
|
@@ -662885,7 +662903,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
662885
662903
|
} catch {}
|
|
662886
662904
|
const data = {
|
|
662887
662905
|
trigger: trigger2,
|
|
662888
|
-
version: "1.
|
|
662906
|
+
version: "1.37.1",
|
|
662889
662907
|
platform: process.platform,
|
|
662890
662908
|
transcript,
|
|
662891
662909
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -674769,7 +674787,7 @@ function WelcomeV2() {
|
|
|
674769
674787
|
dimColor: true,
|
|
674770
674788
|
children: [
|
|
674771
674789
|
"v",
|
|
674772
|
-
"1.
|
|
674790
|
+
"1.37.1"
|
|
674773
674791
|
]
|
|
674774
674792
|
}, undefined, true, undefined, this)
|
|
674775
674793
|
]
|
|
@@ -676029,7 +676047,7 @@ function completeOnboarding() {
|
|
|
676029
676047
|
saveGlobalConfig((current) => ({
|
|
676030
676048
|
...current,
|
|
676031
676049
|
hasCompletedOnboarding: true,
|
|
676032
|
-
lastOnboardingVersion: "1.
|
|
676050
|
+
lastOnboardingVersion: "1.37.1"
|
|
676033
676051
|
}));
|
|
676034
676052
|
}
|
|
676035
676053
|
function showDialog(root2, renderer) {
|
|
@@ -681066,7 +681084,7 @@ function appendToLog(path24, message) {
|
|
|
681066
681084
|
cwd: getFsImplementation().cwd(),
|
|
681067
681085
|
userType: process.env.USER_TYPE,
|
|
681068
681086
|
sessionId: getSessionId(),
|
|
681069
|
-
version: "1.
|
|
681087
|
+
version: "1.37.1"
|
|
681070
681088
|
};
|
|
681071
681089
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
681072
681090
|
}
|
|
@@ -685160,8 +685178,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
685160
685178
|
}
|
|
685161
685179
|
async function checkEnvLessBridgeMinVersion() {
|
|
685162
685180
|
const cfg = await getEnvLessBridgeConfig();
|
|
685163
|
-
if (cfg.min_version && lt("1.
|
|
685164
|
-
return `Your version of UR (${"1.
|
|
685181
|
+
if (cfg.min_version && lt("1.37.1", cfg.min_version)) {
|
|
685182
|
+
return `Your version of UR (${"1.37.1"}) is too old for Remote Control.
|
|
685165
685183
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
685166
685184
|
}
|
|
685167
685185
|
return null;
|
|
@@ -685635,7 +685653,7 @@ async function initBridgeCore(params) {
|
|
|
685635
685653
|
const rawApi = createBridgeApiClient({
|
|
685636
685654
|
baseUrl,
|
|
685637
685655
|
getAccessToken,
|
|
685638
|
-
runnerVersion: "1.
|
|
685656
|
+
runnerVersion: "1.37.1",
|
|
685639
685657
|
onDebug: logForDebugging,
|
|
685640
685658
|
onAuth401,
|
|
685641
685659
|
getTrustedDeviceToken
|
|
@@ -691317,7 +691335,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
691317
691335
|
setCwd(cwd3);
|
|
691318
691336
|
const server2 = new Server({
|
|
691319
691337
|
name: "ur/tengu",
|
|
691320
|
-
version: "1.
|
|
691338
|
+
version: "1.37.1"
|
|
691321
691339
|
}, {
|
|
691322
691340
|
capabilities: {
|
|
691323
691341
|
tools: {}
|
|
@@ -691857,18 +691875,21 @@ var init_mcp5 = __esm(() => {
|
|
|
691857
691875
|
var exports_providers = {};
|
|
691858
691876
|
__export(exports_providers, {
|
|
691859
691877
|
providerStatusHandler: () => providerStatusHandler,
|
|
691878
|
+
providerSelectModelHandler: () => providerSelectModelHandler,
|
|
691879
|
+
providerModelsHandler: () => providerModelsHandler,
|
|
691860
691880
|
providerListHandler: () => providerListHandler,
|
|
691861
691881
|
providerDoctorHandler: () => providerDoctorHandler,
|
|
691862
691882
|
providerAuthHandler: () => providerAuthHandler,
|
|
691863
691883
|
configSetHandler: () => configSetHandler
|
|
691864
691884
|
});
|
|
691885
|
+
import { writeSync as writeSync3 } from "fs";
|
|
691865
691886
|
function writeOutput(text) {
|
|
691866
|
-
|
|
691887
|
+
writeSync3(1, text.endsWith(`
|
|
691867
691888
|
`) ? text : `${text}
|
|
691868
691889
|
`);
|
|
691869
691890
|
}
|
|
691870
691891
|
function writeError(text) {
|
|
691871
|
-
|
|
691892
|
+
writeSync3(2, text.endsWith(`
|
|
691872
691893
|
`) ? text : `${text}
|
|
691873
691894
|
`);
|
|
691874
691895
|
}
|
|
@@ -691899,6 +691920,68 @@ async function providerDoctorHandler(providerArg, options2 = {}) {
|
|
|
691899
691920
|
writeOutput(formatProviderDoctor(result, Boolean(options2.json)));
|
|
691900
691921
|
process.exit(result.ok ? 0 : 1);
|
|
691901
691922
|
}
|
|
691923
|
+
async function providerModelsHandler(providerArg, options2 = {}) {
|
|
691924
|
+
const settings = getInitialSettings();
|
|
691925
|
+
const active = getActiveProviderSettings(settings).active ?? "ollama";
|
|
691926
|
+
const provider = providerArg ? resolveProviderId(providerArg) : active;
|
|
691927
|
+
if (!provider) {
|
|
691928
|
+
writeError(`Unknown provider "${providerArg}". Run: ur provider list`);
|
|
691929
|
+
process.exit(1);
|
|
691930
|
+
}
|
|
691931
|
+
const result = await listModelsForProviderWithSource(provider, { settings });
|
|
691932
|
+
const definition = getProviderDefinition(provider);
|
|
691933
|
+
const payload = {
|
|
691934
|
+
provider,
|
|
691935
|
+
displayName: definition.displayName,
|
|
691936
|
+
source: result.source,
|
|
691937
|
+
warning: result.warning,
|
|
691938
|
+
models: result.models
|
|
691939
|
+
};
|
|
691940
|
+
if (options2.json) {
|
|
691941
|
+
writeOutput(JSON.stringify(payload, null, 2));
|
|
691942
|
+
} else {
|
|
691943
|
+
const warning = result.warning ? [`Warning: ${result.warning}`] : [];
|
|
691944
|
+
writeOutput([
|
|
691945
|
+
`Provider: ${definition.displayName} (${provider})`,
|
|
691946
|
+
`Model source: ${result.source}`,
|
|
691947
|
+
...warning,
|
|
691948
|
+
...result.models.map((model) => `${model.id}${model.isDefault ? " (default)" : ""} - ${model.description}`)
|
|
691949
|
+
].join(`
|
|
691950
|
+
`));
|
|
691951
|
+
}
|
|
691952
|
+
process.exit(result.models.length > 0 ? 0 : 1);
|
|
691953
|
+
}
|
|
691954
|
+
async function providerSelectModelHandler(providerArg, values2, options2 = {}) {
|
|
691955
|
+
const model = Array.isArray(values2) ? values2.join(" ") : values2;
|
|
691956
|
+
const provider = resolveProviderId(providerArg);
|
|
691957
|
+
if (!provider) {
|
|
691958
|
+
const message = `Unknown provider "${providerArg}". Run: ur provider list`;
|
|
691959
|
+
if (options2.json)
|
|
691960
|
+
writeOutput(JSON.stringify({ ok: false, message }, null, 2));
|
|
691961
|
+
else
|
|
691962
|
+
writeError(message);
|
|
691963
|
+
process.exit(1);
|
|
691964
|
+
}
|
|
691965
|
+
const settings = getInitialSettings();
|
|
691966
|
+
const discovered = await listModelsForProviderWithSource(provider, { settings });
|
|
691967
|
+
const result = setProviderModel(provider, model, {
|
|
691968
|
+
availableModels: discovered.models,
|
|
691969
|
+
modelSource: discovered.source
|
|
691970
|
+
});
|
|
691971
|
+
if (options2.json) {
|
|
691972
|
+
writeOutput(JSON.stringify({
|
|
691973
|
+
...result,
|
|
691974
|
+
warning: discovered.warning
|
|
691975
|
+
}, null, 2));
|
|
691976
|
+
} else if (result.ok) {
|
|
691977
|
+
writeOutput(result.message);
|
|
691978
|
+
if (discovered.warning)
|
|
691979
|
+
writeError(`Warning: ${discovered.warning}`);
|
|
691980
|
+
} else {
|
|
691981
|
+
writeError(result.message);
|
|
691982
|
+
}
|
|
691983
|
+
process.exit(result.ok ? 0 : 1);
|
|
691984
|
+
}
|
|
691902
691985
|
async function providerAuthHandler(alias2, options2 = {}) {
|
|
691903
691986
|
const result = await launchProviderAuth(alias2, {
|
|
691904
691987
|
deviceAuth: options2.deviceAuth,
|
|
@@ -693294,7 +693377,7 @@ async function update() {
|
|
|
693294
693377
|
logEvent("tengu_update_check", {});
|
|
693295
693378
|
const diagnostic = await getDoctorDiagnostic();
|
|
693296
693379
|
const result = await checkUpgradeStatus({
|
|
693297
|
-
currentVersion: "1.
|
|
693380
|
+
currentVersion: "1.37.1",
|
|
693298
693381
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
693299
693382
|
installationType: diagnostic.installationType,
|
|
693300
693383
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -694540,7 +694623,7 @@ ${customInstructions}` : customInstructions;
|
|
|
694540
694623
|
}
|
|
694541
694624
|
}
|
|
694542
694625
|
logForDiagnosticsNoPII("info", "started", {
|
|
694543
|
-
version: "1.
|
|
694626
|
+
version: "1.37.1",
|
|
694544
694627
|
is_native_binary: isInBundledMode()
|
|
694545
694628
|
});
|
|
694546
694629
|
registerCleanup(async () => {
|
|
@@ -695326,7 +695409,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
695326
695409
|
pendingHookMessages
|
|
695327
695410
|
}, renderAndRun);
|
|
695328
695411
|
}
|
|
695329
|
-
}).version("1.
|
|
695412
|
+
}).version("1.37.1 (UR-AGENT)", "-v, --version", "Output the version number");
|
|
695330
695413
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
695331
695414
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
695332
695415
|
if (canUserConfigureAdvisor()) {
|
|
@@ -695493,6 +695576,18 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
695493
695576
|
} = await Promise.resolve().then(() => (init_providers2(), exports_providers));
|
|
695494
695577
|
await providerDoctorHandler2(providerArg, options2);
|
|
695495
695578
|
});
|
|
695579
|
+
provider.command("models [provider]").description("List models available for a provider").option("--json", "Output as JSON").action(async (providerArg, options2) => {
|
|
695580
|
+
const {
|
|
695581
|
+
providerModelsHandler: providerModelsHandler2
|
|
695582
|
+
} = await Promise.resolve().then(() => (init_providers2(), exports_providers));
|
|
695583
|
+
await providerModelsHandler2(providerArg, options2);
|
|
695584
|
+
});
|
|
695585
|
+
provider.command("select-model <provider> <model...>").description("Select a provider-scoped model").option("--json", "Output as JSON").action(async (providerArg, model, options2) => {
|
|
695586
|
+
const {
|
|
695587
|
+
providerSelectModelHandler: providerSelectModelHandler2
|
|
695588
|
+
} = await Promise.resolve().then(() => (init_providers2(), exports_providers));
|
|
695589
|
+
await providerSelectModelHandler2(providerArg, model, options2);
|
|
695590
|
+
});
|
|
695496
695591
|
const configCmd = program2.command("config").description("Manage safe UR-AGENT settings").configureHelp(createSortedHelpConfig());
|
|
695497
695592
|
configCmd.command("set <key> <value...>").description("Set a safe non-secret setting: provider, provider.fallback, provider.command_path, model, or base_url").action(async (key, value) => {
|
|
695498
695593
|
const {
|
|
@@ -696229,7 +696324,7 @@ if (false) {}
|
|
|
696229
696324
|
async function main2() {
|
|
696230
696325
|
const args = process.argv.slice(2);
|
|
696231
696326
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
696232
|
-
console.log(`${"1.
|
|
696327
|
+
console.log(`${"1.37.1"} (UR-AGENT)`);
|
|
696233
696328
|
return;
|
|
696234
696329
|
}
|
|
696235
696330
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|