ur-agent 1.34.0 → 1.35.0
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/CHANGELOG.md +24 -0
- package/QUALITY.md +10 -5
- package/README.md +72 -22
- package/RELEASE.md +11 -1
- package/dist/cli.js +87 -114
- package/docs/AGENT_FEATURES.md +2 -2
- package/docs/AGENT_TRENDS.md +1 -1
- package/docs/CONFIGURATION.md +11 -9
- package/docs/TROUBLESHOOTING.md +204 -0
- package/docs/USAGE.md +38 -16
- package/docs/VALIDATION.md +1 -1
- package/docs/providers.md +29 -21
- package/documentation/app.js +55 -13
- package/documentation/index.html +5 -5
- package/examples/provider_selection.md +45 -0
- package/extensions/vscode-ur-inline-diffs/package.json +1 -1
- package/package.json +1 -1
- package/docs/AGENT_UPGRADE_1.15.0.md +0 -129
- package/docs/AGENT_UPGRADE_1.16.0.md +0 -102
- package/docs/AGENT_UPGRADE_1.17.0.md +0 -32
- package/docs/AGENT_UPGRADE_1.18.0.md +0 -45
- package/docs/AGENT_UPGRADE_1.19.0.md +0 -41
- package/docs/AGENT_UPGRADE_1.20.0.md +0 -42
- package/docs/AGENT_UPGRADE_1.21.0.md +0 -58
- package/docs/AGENT_UPGRADE_1.22.0.md +0 -48
- package/docs/CODE_FEATURE_INVENTORY.md +0 -1042
package/dist/cli.js
CHANGED
|
@@ -51616,7 +51616,6 @@ __export(exports_providerRegistry, {
|
|
|
51616
51616
|
isProviderRuntimeSelectable: () => isProviderRuntimeSelectable,
|
|
51617
51617
|
isProviderId: () => isProviderId,
|
|
51618
51618
|
isModelSupportedByProvider: () => isModelSupportedByProvider,
|
|
51619
|
-
isExternalBridgeEnabled: () => isExternalBridgeEnabled,
|
|
51620
51619
|
getValidModelIdsForProvider: () => getValidModelIdsForProvider,
|
|
51621
51620
|
getRuntimeProviderId: () => getRuntimeProviderId,
|
|
51622
51621
|
getProviderStatus: () => getProviderStatus,
|
|
@@ -51635,8 +51634,6 @@ __export(exports_providerRegistry, {
|
|
|
51635
51634
|
formatProviderList: () => formatProviderList,
|
|
51636
51635
|
formatProviderDoctor: () => formatProviderDoctor,
|
|
51637
51636
|
formatInvalidProviderModelMessage: () => formatInvalidProviderModelMessage,
|
|
51638
|
-
externalAppProviderBridgeEnabled: () => externalAppProviderBridgeEnabled,
|
|
51639
|
-
enableExternalBridge: () => enableExternalBridge,
|
|
51640
51637
|
doctorProvider: () => doctorProvider,
|
|
51641
51638
|
doctorActiveProvider: () => doctorActiveProvider,
|
|
51642
51639
|
credentialTypeLabel: () => credentialTypeLabel,
|
|
@@ -51774,41 +51771,6 @@ function credentialTypeLabel(type) {
|
|
|
51774
51771
|
return "OpenAI-compatible endpoint";
|
|
51775
51772
|
}
|
|
51776
51773
|
}
|
|
51777
|
-
function externalAppProviderBridgeEnabled(env4 = process.env) {
|
|
51778
|
-
return env4.UR_ENABLE_EXTERNAL_APP_PROVIDERS === "1";
|
|
51779
|
-
}
|
|
51780
|
-
function isExternalBridgeEnabled(providerId, env4 = process.env, settings = getInitialSettings()) {
|
|
51781
|
-
if (externalAppProviderBridgeEnabled(env4)) {
|
|
51782
|
-
return true;
|
|
51783
|
-
}
|
|
51784
|
-
const provider = resolveProviderId(providerId);
|
|
51785
|
-
const enabled = settings.provider?.enabledExternalBridges;
|
|
51786
|
-
return Boolean(provider && Array.isArray(enabled) && enabled.includes(provider));
|
|
51787
|
-
}
|
|
51788
|
-
function enableExternalBridge(providerId) {
|
|
51789
|
-
const provider = resolveProviderId(providerId);
|
|
51790
|
-
if (!provider) {
|
|
51791
|
-
return { ok: false, message: `Unknown provider "${providerId}". Run: ur provider list` };
|
|
51792
|
-
}
|
|
51793
|
-
if (getProviderDefinition(provider).runtimeKind !== "external-app") {
|
|
51794
|
-
return { ok: true, message: `${provider} does not require an external-app opt-in.` };
|
|
51795
|
-
}
|
|
51796
|
-
const settings = getInitialSettings();
|
|
51797
|
-
const current = settings.provider?.enabledExternalBridges ?? [];
|
|
51798
|
-
if (current.includes(provider)) {
|
|
51799
|
-
return { ok: true, message: `${provider} is already enabled.` };
|
|
51800
|
-
}
|
|
51801
|
-
const result = updateSettingsForSource("userSettings", {
|
|
51802
|
-
provider: {
|
|
51803
|
-
...settings.provider ?? {},
|
|
51804
|
-
enabledExternalBridges: [...current, provider]
|
|
51805
|
-
}
|
|
51806
|
-
});
|
|
51807
|
-
if (result.error) {
|
|
51808
|
-
return { ok: false, message: `Failed to persist opt-in: ${result.error.message}` };
|
|
51809
|
-
}
|
|
51810
|
-
return { ok: true, message: `Enabled ${provider} for this account.` };
|
|
51811
|
-
}
|
|
51812
51774
|
function getProviderRuntimeKind(providerId) {
|
|
51813
51775
|
const provider = resolveProviderId(providerId);
|
|
51814
51776
|
return provider ? getProviderDefinition(provider).runtimeKind : "unknown";
|
|
@@ -69510,7 +69472,7 @@ var init_auth = __esm(() => {
|
|
|
69510
69472
|
|
|
69511
69473
|
// src/utils/userAgent.ts
|
|
69512
69474
|
function getURCodeUserAgent() {
|
|
69513
|
-
return `ur/${"1.
|
|
69475
|
+
return `ur/${"1.35.0"}`;
|
|
69514
69476
|
}
|
|
69515
69477
|
|
|
69516
69478
|
// src/utils/workloadContext.ts
|
|
@@ -69532,7 +69494,7 @@ function getUserAgent() {
|
|
|
69532
69494
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
69533
69495
|
const workload = getWorkload();
|
|
69534
69496
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
69535
|
-
return `ur-cli/${"1.
|
|
69497
|
+
return `ur-cli/${"1.35.0"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
69536
69498
|
}
|
|
69537
69499
|
function getMCPUserAgent() {
|
|
69538
69500
|
const parts = [];
|
|
@@ -69546,7 +69508,7 @@ function getMCPUserAgent() {
|
|
|
69546
69508
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
69547
69509
|
}
|
|
69548
69510
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
69549
|
-
return `ur/${"1.
|
|
69511
|
+
return `ur/${"1.35.0"}${suffix}`;
|
|
69550
69512
|
}
|
|
69551
69513
|
function getWebFetchUserAgent() {
|
|
69552
69514
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -69684,7 +69646,7 @@ var init_user = __esm(() => {
|
|
|
69684
69646
|
deviceId,
|
|
69685
69647
|
sessionId: getSessionId(),
|
|
69686
69648
|
email: getEmail(),
|
|
69687
|
-
appVersion: "1.
|
|
69649
|
+
appVersion: "1.35.0",
|
|
69688
69650
|
platform: getHostPlatformForAnalytics(),
|
|
69689
69651
|
organizationUuid,
|
|
69690
69652
|
accountUuid,
|
|
@@ -76201,7 +76163,7 @@ var init_metadata = __esm(() => {
|
|
|
76201
76163
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
76202
76164
|
WHITESPACE_REGEX = /\s+/;
|
|
76203
76165
|
getVersionBase = memoize_default(() => {
|
|
76204
|
-
const match = "1.
|
|
76166
|
+
const match = "1.35.0".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
76205
76167
|
return match ? match[0] : undefined;
|
|
76206
76168
|
});
|
|
76207
76169
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -76241,7 +76203,7 @@ var init_metadata = __esm(() => {
|
|
|
76241
76203
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
76242
76204
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
76243
76205
|
isURAiAuth: isURAISubscriber2(),
|
|
76244
|
-
version: "1.
|
|
76206
|
+
version: "1.35.0",
|
|
76245
76207
|
versionBase: getVersionBase(),
|
|
76246
76208
|
buildTime: "",
|
|
76247
76209
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -76911,7 +76873,7 @@ function initialize1PEventLogging() {
|
|
|
76911
76873
|
const platform2 = getPlatform();
|
|
76912
76874
|
const attributes = {
|
|
76913
76875
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
76914
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.
|
|
76876
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.35.0"
|
|
76915
76877
|
};
|
|
76916
76878
|
if (platform2 === "wsl") {
|
|
76917
76879
|
const wslVersion = getWslVersion();
|
|
@@ -76938,7 +76900,7 @@ function initialize1PEventLogging() {
|
|
|
76938
76900
|
})
|
|
76939
76901
|
]
|
|
76940
76902
|
});
|
|
76941
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.
|
|
76903
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.35.0");
|
|
76942
76904
|
}
|
|
76943
76905
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
76944
76906
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -82235,7 +82197,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
82235
82197
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
82236
82198
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
82237
82199
|
}
|
|
82238
|
-
var urVersion = "1.
|
|
82200
|
+
var urVersion = "1.35.0", coverage, priorityRoadmap;
|
|
82239
82201
|
var init_trends = __esm(() => {
|
|
82240
82202
|
coverage = [
|
|
82241
82203
|
{
|
|
@@ -84228,7 +84190,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
84228
84190
|
if (!isAttributionHeaderEnabled()) {
|
|
84229
84191
|
return "";
|
|
84230
84192
|
}
|
|
84231
|
-
const version2 = `${"1.
|
|
84193
|
+
const version2 = `${"1.35.0"}.${fingerprint}`;
|
|
84232
84194
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
84233
84195
|
const cch = "";
|
|
84234
84196
|
const workload = getWorkload();
|
|
@@ -191882,7 +191844,7 @@ function getTelemetryAttributes() {
|
|
|
191882
191844
|
attributes["session.id"] = sessionId;
|
|
191883
191845
|
}
|
|
191884
191846
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
191885
|
-
attributes["app.version"] = "1.
|
|
191847
|
+
attributes["app.version"] = "1.35.0";
|
|
191886
191848
|
}
|
|
191887
191849
|
const oauthAccount = getOauthAccountInfo();
|
|
191888
191850
|
if (oauthAccount) {
|
|
@@ -227267,7 +227229,7 @@ function getInstallationEnv() {
|
|
|
227267
227229
|
return;
|
|
227268
227230
|
}
|
|
227269
227231
|
function getURCodeVersion() {
|
|
227270
|
-
return "1.
|
|
227232
|
+
return "1.35.0";
|
|
227271
227233
|
}
|
|
227272
227234
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
227273
227235
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -230106,7 +230068,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
230106
230068
|
const client2 = new Client({
|
|
230107
230069
|
name: "ur",
|
|
230108
230070
|
title: "UR",
|
|
230109
|
-
version: "1.
|
|
230071
|
+
version: "1.35.0",
|
|
230110
230072
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
230111
230073
|
websiteUrl: PRODUCT_URL
|
|
230112
230074
|
}, {
|
|
@@ -230460,7 +230422,7 @@ var init_client5 = __esm(() => {
|
|
|
230460
230422
|
const client2 = new Client({
|
|
230461
230423
|
name: "ur",
|
|
230462
230424
|
title: "UR",
|
|
230463
|
-
version: "1.
|
|
230425
|
+
version: "1.35.0",
|
|
230464
230426
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
230465
230427
|
websiteUrl: PRODUCT_URL
|
|
230466
230428
|
}, {
|
|
@@ -240274,9 +240236,9 @@ async function assertMinVersion() {
|
|
|
240274
240236
|
if (false) {}
|
|
240275
240237
|
try {
|
|
240276
240238
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
240277
|
-
if (versionConfig.minVersion && lt("1.
|
|
240239
|
+
if (versionConfig.minVersion && lt("1.35.0", versionConfig.minVersion)) {
|
|
240278
240240
|
console.error(`
|
|
240279
|
-
It looks like your version of UR (${"1.
|
|
240241
|
+
It looks like your version of UR (${"1.35.0"}) needs an update.
|
|
240280
240242
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
240281
240243
|
|
|
240282
240244
|
To update, please run:
|
|
@@ -240492,7 +240454,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
240492
240454
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
240493
240455
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
240494
240456
|
pid: process.pid,
|
|
240495
|
-
currentVersion: "1.
|
|
240457
|
+
currentVersion: "1.35.0"
|
|
240496
240458
|
});
|
|
240497
240459
|
return "in_progress";
|
|
240498
240460
|
}
|
|
@@ -240501,7 +240463,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
240501
240463
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
240502
240464
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
240503
240465
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
240504
|
-
currentVersion: "1.
|
|
240466
|
+
currentVersion: "1.35.0"
|
|
240505
240467
|
});
|
|
240506
240468
|
console.error(`
|
|
240507
240469
|
Error: Windows NPM detected in WSL
|
|
@@ -241036,7 +240998,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
241036
240998
|
}
|
|
241037
240999
|
async function getDoctorDiagnostic() {
|
|
241038
241000
|
const installationType = await getCurrentInstallationType();
|
|
241039
|
-
const version2 = typeof MACRO !== "undefined" ? "1.
|
|
241001
|
+
const version2 = typeof MACRO !== "undefined" ? "1.35.0" : "unknown";
|
|
241040
241002
|
const installationPath = await getInstallationPath();
|
|
241041
241003
|
const invokedBinary = getInvokedBinary();
|
|
241042
241004
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -241971,8 +241933,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
241971
241933
|
const maxVersion = await getMaxVersion();
|
|
241972
241934
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
241973
241935
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
241974
|
-
if (gte("1.
|
|
241975
|
-
logForDebugging(`Native installer: current version ${"1.
|
|
241936
|
+
if (gte("1.35.0", maxVersion)) {
|
|
241937
|
+
logForDebugging(`Native installer: current version ${"1.35.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
241976
241938
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
241977
241939
|
latency_ms: Date.now() - startTime,
|
|
241978
241940
|
max_version: maxVersion,
|
|
@@ -241983,7 +241945,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
241983
241945
|
version2 = maxVersion;
|
|
241984
241946
|
}
|
|
241985
241947
|
}
|
|
241986
|
-
if (!forceReinstall && version2 === "1.
|
|
241948
|
+
if (!forceReinstall && version2 === "1.35.0" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
241987
241949
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
241988
241950
|
logEvent("tengu_native_update_complete", {
|
|
241989
241951
|
latency_ms: Date.now() - startTime,
|
|
@@ -338887,7 +338849,7 @@ function Feedback({
|
|
|
338887
338849
|
platform: env2.platform,
|
|
338888
338850
|
gitRepo: envInfo.isGit,
|
|
338889
338851
|
terminal: env2.terminal,
|
|
338890
|
-
version: "1.
|
|
338852
|
+
version: "1.35.0",
|
|
338891
338853
|
transcript: normalizeMessagesForAPI(messages),
|
|
338892
338854
|
errors: sanitizedErrors,
|
|
338893
338855
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -339079,7 +339041,7 @@ function Feedback({
|
|
|
339079
339041
|
", ",
|
|
339080
339042
|
env2.terminal,
|
|
339081
339043
|
", v",
|
|
339082
|
-
"1.
|
|
339044
|
+
"1.35.0"
|
|
339083
339045
|
]
|
|
339084
339046
|
}, undefined, true, undefined, this)
|
|
339085
339047
|
]
|
|
@@ -339185,7 +339147,7 @@ ${sanitizedDescription}
|
|
|
339185
339147
|
` + `**Environment Info**
|
|
339186
339148
|
` + `- Platform: ${env2.platform}
|
|
339187
339149
|
` + `- Terminal: ${env2.terminal}
|
|
339188
|
-
` + `- Version: ${"1.
|
|
339150
|
+
` + `- Version: ${"1.35.0"}
|
|
339189
339151
|
` + `- Feedback ID: ${feedbackId}
|
|
339190
339152
|
` + `
|
|
339191
339153
|
**Errors**
|
|
@@ -342296,7 +342258,7 @@ function buildPrimarySection() {
|
|
|
342296
342258
|
}, undefined, false, undefined, this);
|
|
342297
342259
|
return [{
|
|
342298
342260
|
label: "Version",
|
|
342299
|
-
value: "1.
|
|
342261
|
+
value: "1.35.0"
|
|
342300
342262
|
}, {
|
|
342301
342263
|
label: "Session name",
|
|
342302
342264
|
value: nameValue
|
|
@@ -345596,7 +345558,7 @@ function Config({
|
|
|
345596
345558
|
}
|
|
345597
345559
|
}, undefined, false, undefined, this)
|
|
345598
345560
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
345599
|
-
currentVersion: "1.
|
|
345561
|
+
currentVersion: "1.35.0",
|
|
345600
345562
|
onChoice: (choice) => {
|
|
345601
345563
|
setShowSubmenu(null);
|
|
345602
345564
|
setTabsHidden(false);
|
|
@@ -345608,7 +345570,7 @@ function Config({
|
|
|
345608
345570
|
autoUpdatesChannel: "stable"
|
|
345609
345571
|
};
|
|
345610
345572
|
if (choice === "stay") {
|
|
345611
|
-
newSettings.minimumVersion = "1.
|
|
345573
|
+
newSettings.minimumVersion = "1.35.0";
|
|
345612
345574
|
}
|
|
345613
345575
|
updateSettingsForSource("userSettings", newSettings);
|
|
345614
345576
|
setSettingsData((prev_27) => ({
|
|
@@ -353678,7 +353640,7 @@ function HelpV2(t0) {
|
|
|
353678
353640
|
let t6;
|
|
353679
353641
|
if ($3[31] !== tabs) {
|
|
353680
353642
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
353681
|
-
title: `UR v${"1.
|
|
353643
|
+
title: `UR v${"1.35.0"}`,
|
|
353682
353644
|
color: "professionalBlue",
|
|
353683
353645
|
defaultTab: "general",
|
|
353684
353646
|
children: tabs
|
|
@@ -354424,7 +354386,7 @@ function buildToolUseContext(tools, readFileStateCache) {
|
|
|
354424
354386
|
async function handleInitialize(options2) {
|
|
354425
354387
|
return {
|
|
354426
354388
|
name: "ur-agent",
|
|
354427
|
-
version: "1.
|
|
354389
|
+
version: "1.35.0",
|
|
354428
354390
|
protocolVersion: "0.1.0",
|
|
354429
354391
|
workspaceRoot: options2.cwd,
|
|
354430
354392
|
capabilities: {
|
|
@@ -374548,7 +374510,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
374548
374510
|
return [];
|
|
374549
374511
|
}
|
|
374550
374512
|
}
|
|
374551
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.
|
|
374513
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.35.0") {
|
|
374552
374514
|
if (process.env.USER_TYPE === "ant") {
|
|
374553
374515
|
const changelog = "";
|
|
374554
374516
|
if (changelog) {
|
|
@@ -374575,7 +374537,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.34.0")
|
|
|
374575
374537
|
releaseNotes
|
|
374576
374538
|
};
|
|
374577
374539
|
}
|
|
374578
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.
|
|
374540
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.35.0") {
|
|
374579
374541
|
if (process.env.USER_TYPE === "ant") {
|
|
374580
374542
|
const changelog = "";
|
|
374581
374543
|
if (changelog) {
|
|
@@ -375745,7 +375707,7 @@ function getRecentActivitySync() {
|
|
|
375745
375707
|
return cachedActivity;
|
|
375746
375708
|
}
|
|
375747
375709
|
function getLogoDisplayData() {
|
|
375748
|
-
const version2 = process.env.DEMO_VERSION ?? "1.
|
|
375710
|
+
const version2 = process.env.DEMO_VERSION ?? "1.35.0";
|
|
375749
375711
|
const serverUrl = getDirectConnectServerUrl();
|
|
375750
375712
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
|
|
375751
375713
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -376534,7 +376496,7 @@ function LogoV2() {
|
|
|
376534
376496
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
376535
376497
|
t2 = () => {
|
|
376536
376498
|
const currentConfig = getGlobalConfig();
|
|
376537
|
-
if (currentConfig.lastReleaseNotesSeen === "1.
|
|
376499
|
+
if (currentConfig.lastReleaseNotesSeen === "1.35.0") {
|
|
376538
376500
|
return;
|
|
376539
376501
|
}
|
|
376540
376502
|
saveGlobalConfig(_temp326);
|
|
@@ -377219,12 +377181,12 @@ function LogoV2() {
|
|
|
377219
377181
|
return t41;
|
|
377220
377182
|
}
|
|
377221
377183
|
function _temp326(current) {
|
|
377222
|
-
if (current.lastReleaseNotesSeen === "1.
|
|
377184
|
+
if (current.lastReleaseNotesSeen === "1.35.0") {
|
|
377223
377185
|
return current;
|
|
377224
377186
|
}
|
|
377225
377187
|
return {
|
|
377226
377188
|
...current,
|
|
377227
|
-
lastReleaseNotesSeen: "1.
|
|
377189
|
+
lastReleaseNotesSeen: "1.35.0"
|
|
377228
377190
|
};
|
|
377229
377191
|
}
|
|
377230
377192
|
function _temp243(s_0) {
|
|
@@ -394457,10 +394419,9 @@ async function connectProvider(provider, keyFlag) {
|
|
|
394457
394419
|
if (alias === "provider") {
|
|
394458
394420
|
return `No official login is configured for ${provider}.`;
|
|
394459
394421
|
}
|
|
394460
|
-
const enabled = enableExternalBridge(provider);
|
|
394461
394422
|
const result = await launchProviderAuth(alias);
|
|
394462
394423
|
return `${result.message}
|
|
394463
|
-
${
|
|
394424
|
+
Once logged in, ${def2.displayName} runs via its official CLI. Select it with /model.`;
|
|
394464
394425
|
}
|
|
394465
394426
|
if (def2.envKey) {
|
|
394466
394427
|
const key = keyFlag ?? await readStdinKey();
|
|
@@ -407586,7 +407547,7 @@ var init_code_index2 = __esm(() => {
|
|
|
407586
407547
|
|
|
407587
407548
|
// node_modules/typescript/lib/typescript.js
|
|
407588
407549
|
var require_typescript2 = __commonJS((exports, module) => {
|
|
407589
|
-
var __dirname = "/sessions/
|
|
407550
|
+
var __dirname = "/sessions/practical-upbeat-bohr/mnt/UR-1.19.0/node_modules/typescript/lib", __filename = "/sessions/practical-upbeat-bohr/mnt/UR-1.19.0/node_modules/typescript/lib/typescript.js";
|
|
407590
407551
|
/*! *****************************************************************************
|
|
407591
407552
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
407592
407553
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
@@ -593120,7 +593081,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
593120
593081
|
smapsRollup,
|
|
593121
593082
|
platform: process.platform,
|
|
593122
593083
|
nodeVersion: process.version,
|
|
593123
|
-
ccVersion: "1.
|
|
593084
|
+
ccVersion: "1.35.0"
|
|
593124
593085
|
};
|
|
593125
593086
|
}
|
|
593126
593087
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -593706,7 +593667,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
593706
593667
|
var call137 = async () => {
|
|
593707
593668
|
return {
|
|
593708
593669
|
type: "text",
|
|
593709
|
-
value: "1.
|
|
593670
|
+
value: "1.35.0"
|
|
593710
593671
|
};
|
|
593711
593672
|
}, version2, version_default;
|
|
593712
593673
|
var init_version = __esm(() => {
|
|
@@ -603776,7 +603737,7 @@ function generateHtmlReport(data, insights) {
|
|
|
603776
603737
|
</html>`;
|
|
603777
603738
|
}
|
|
603778
603739
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
603779
|
-
const version3 = typeof MACRO !== "undefined" ? "1.
|
|
603740
|
+
const version3 = typeof MACRO !== "undefined" ? "1.35.0" : "unknown";
|
|
603780
603741
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
603781
603742
|
const facets_summary = {
|
|
603782
603743
|
total: facets.size,
|
|
@@ -608056,7 +608017,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
608056
608017
|
init_settings2();
|
|
608057
608018
|
init_slowOperations();
|
|
608058
608019
|
init_uuid();
|
|
608059
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.
|
|
608020
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.35.0" : "unknown";
|
|
608060
608021
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
608061
608022
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
608062
608023
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -609261,7 +609222,7 @@ var init_filesystem = __esm(() => {
|
|
|
609261
609222
|
});
|
|
609262
609223
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
609263
609224
|
const nonce = randomBytes18(16).toString("hex");
|
|
609264
|
-
return join200(getURTempDir(), "bundled-skills", "1.
|
|
609225
|
+
return join200(getURTempDir(), "bundled-skills", "1.35.0", nonce);
|
|
609265
609226
|
});
|
|
609266
609227
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
609267
609228
|
});
|
|
@@ -615550,7 +615511,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
615550
615511
|
}
|
|
615551
615512
|
function computeFingerprintFromMessages(messages) {
|
|
615552
615513
|
const firstMessageText = extractFirstMessageText(messages);
|
|
615553
|
-
return computeFingerprint(firstMessageText, "1.
|
|
615514
|
+
return computeFingerprint(firstMessageText, "1.35.0");
|
|
615554
615515
|
}
|
|
615555
615516
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
615556
615517
|
var init_fingerprint = () => {};
|
|
@@ -617417,7 +617378,7 @@ async function sideQuery(opts) {
|
|
|
617417
617378
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
617418
617379
|
}
|
|
617419
617380
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
617420
|
-
const fingerprint = computeFingerprint(messageText2, "1.
|
|
617381
|
+
const fingerprint = computeFingerprint(messageText2, "1.35.0");
|
|
617421
617382
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
617422
617383
|
const systemBlocks = [
|
|
617423
617384
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -622154,7 +622115,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
622154
622115
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
622155
622116
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
622156
622117
|
betas: getSdkBetas(),
|
|
622157
|
-
ur_version: "1.
|
|
622118
|
+
ur_version: "1.35.0",
|
|
622158
622119
|
output_style: outputStyle2,
|
|
622159
622120
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
622160
622121
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -636782,7 +636743,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
636782
636743
|
function getSemverPart(version3) {
|
|
636783
636744
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
636784
636745
|
}
|
|
636785
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.
|
|
636746
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.35.0") {
|
|
636786
636747
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
636787
636748
|
if (!updatedVersion) {
|
|
636788
636749
|
return null;
|
|
@@ -636831,7 +636792,7 @@ function AutoUpdater({
|
|
|
636831
636792
|
return;
|
|
636832
636793
|
}
|
|
636833
636794
|
if (false) {}
|
|
636834
|
-
const currentVersion = "1.
|
|
636795
|
+
const currentVersion = "1.35.0";
|
|
636835
636796
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
636836
636797
|
let latestVersion = await getLatestVersion(channel);
|
|
636837
636798
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -637060,12 +637021,12 @@ function NativeAutoUpdater({
|
|
|
637060
637021
|
logEvent("tengu_native_auto_updater_start", {});
|
|
637061
637022
|
try {
|
|
637062
637023
|
const maxVersion = await getMaxVersion();
|
|
637063
|
-
if (maxVersion && gt("1.
|
|
637024
|
+
if (maxVersion && gt("1.35.0", maxVersion)) {
|
|
637064
637025
|
const msg = await getMaxVersionMessage();
|
|
637065
637026
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
637066
637027
|
}
|
|
637067
637028
|
const result = await installLatest(channel);
|
|
637068
|
-
const currentVersion = "1.
|
|
637029
|
+
const currentVersion = "1.35.0";
|
|
637069
637030
|
const latencyMs = Date.now() - startTime;
|
|
637070
637031
|
if (result.lockFailed) {
|
|
637071
637032
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -637202,17 +637163,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
637202
637163
|
const maxVersion = await getMaxVersion();
|
|
637203
637164
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
637204
637165
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
637205
|
-
if (gte("1.
|
|
637206
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.
|
|
637166
|
+
if (gte("1.35.0", maxVersion)) {
|
|
637167
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.35.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
637207
637168
|
setUpdateAvailable(false);
|
|
637208
637169
|
return;
|
|
637209
637170
|
}
|
|
637210
637171
|
latest = maxVersion;
|
|
637211
637172
|
}
|
|
637212
|
-
const hasUpdate = latest && !gte("1.
|
|
637173
|
+
const hasUpdate = latest && !gte("1.35.0", latest) && !shouldSkipVersion(latest);
|
|
637213
637174
|
setUpdateAvailable(!!hasUpdate);
|
|
637214
637175
|
if (hasUpdate) {
|
|
637215
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.
|
|
637176
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.35.0"} -> ${latest}`);
|
|
637216
637177
|
}
|
|
637217
637178
|
};
|
|
637218
637179
|
$3[0] = t1;
|
|
@@ -637246,7 +637207,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
637246
637207
|
wrap: "truncate",
|
|
637247
637208
|
children: [
|
|
637248
637209
|
"currentVersion: ",
|
|
637249
|
-
"1.
|
|
637210
|
+
"1.35.0"
|
|
637250
637211
|
]
|
|
637251
637212
|
}, undefined, true, undefined, this);
|
|
637252
637213
|
$3[3] = verbose;
|
|
@@ -649697,7 +649658,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
649697
649658
|
project_dir: getOriginalCwd(),
|
|
649698
649659
|
added_dirs: addedDirs
|
|
649699
649660
|
},
|
|
649700
|
-
version: "1.
|
|
649661
|
+
version: "1.35.0",
|
|
649701
649662
|
output_style: {
|
|
649702
649663
|
name: outputStyleName
|
|
649703
649664
|
},
|
|
@@ -649780,7 +649741,7 @@ function StatusLineInner({
|
|
|
649780
649741
|
const taskValues = Object.values(tasks2);
|
|
649781
649742
|
const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
|
|
649782
649743
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
649783
|
-
version: "1.
|
|
649744
|
+
version: "1.35.0",
|
|
649784
649745
|
providerLabel: providerRuntime.providerLabel,
|
|
649785
649746
|
authMode: providerRuntime.authLabel,
|
|
649786
649747
|
model: providerRuntime.model ?? renderModelName(mainLoopModel),
|
|
@@ -661268,7 +661229,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
661268
661229
|
} catch {}
|
|
661269
661230
|
const data = {
|
|
661270
661231
|
trigger: trigger2,
|
|
661271
|
-
version: "1.
|
|
661232
|
+
version: "1.35.0",
|
|
661272
661233
|
platform: process.platform,
|
|
661273
661234
|
transcript,
|
|
661274
661235
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -673152,7 +673113,7 @@ function WelcomeV2() {
|
|
|
673152
673113
|
dimColor: true,
|
|
673153
673114
|
children: [
|
|
673154
673115
|
"v",
|
|
673155
|
-
"1.
|
|
673116
|
+
"1.35.0"
|
|
673156
673117
|
]
|
|
673157
673118
|
}, undefined, true, undefined, this)
|
|
673158
673119
|
]
|
|
@@ -674412,7 +674373,7 @@ function completeOnboarding() {
|
|
|
674412
674373
|
saveGlobalConfig((current) => ({
|
|
674413
674374
|
...current,
|
|
674414
674375
|
hasCompletedOnboarding: true,
|
|
674415
|
-
lastOnboardingVersion: "1.
|
|
674376
|
+
lastOnboardingVersion: "1.35.0"
|
|
674416
674377
|
}));
|
|
674417
674378
|
}
|
|
674418
674379
|
function showDialog(root2, renderer) {
|
|
@@ -679449,7 +679410,7 @@ function appendToLog(path24, message) {
|
|
|
679449
679410
|
cwd: getFsImplementation().cwd(),
|
|
679450
679411
|
userType: process.env.USER_TYPE,
|
|
679451
679412
|
sessionId: getSessionId(),
|
|
679452
|
-
version: "1.
|
|
679413
|
+
version: "1.35.0"
|
|
679453
679414
|
};
|
|
679454
679415
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
679455
679416
|
}
|
|
@@ -683543,8 +683504,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
683543
683504
|
}
|
|
683544
683505
|
async function checkEnvLessBridgeMinVersion() {
|
|
683545
683506
|
const cfg = await getEnvLessBridgeConfig();
|
|
683546
|
-
if (cfg.min_version && lt("1.
|
|
683547
|
-
return `Your version of UR (${"1.
|
|
683507
|
+
if (cfg.min_version && lt("1.35.0", cfg.min_version)) {
|
|
683508
|
+
return `Your version of UR (${"1.35.0"}) is too old for Remote Control.
|
|
683548
683509
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
683549
683510
|
}
|
|
683550
683511
|
return null;
|
|
@@ -684018,7 +683979,7 @@ async function initBridgeCore(params) {
|
|
|
684018
683979
|
const rawApi = createBridgeApiClient({
|
|
684019
683980
|
baseUrl,
|
|
684020
683981
|
getAccessToken,
|
|
684021
|
-
runnerVersion: "1.
|
|
683982
|
+
runnerVersion: "1.35.0",
|
|
684022
683983
|
onDebug: logForDebugging,
|
|
684023
683984
|
onAuth401,
|
|
684024
683985
|
getTrustedDeviceToken
|
|
@@ -689700,7 +689661,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
689700
689661
|
setCwd(cwd3);
|
|
689701
689662
|
const server2 = new Server({
|
|
689702
689663
|
name: "ur/tengu",
|
|
689703
|
-
version: "1.
|
|
689664
|
+
version: "1.35.0"
|
|
689704
689665
|
}, {
|
|
689705
689666
|
capabilities: {
|
|
689706
689667
|
tools: {}
|
|
@@ -691677,7 +691638,7 @@ async function update() {
|
|
|
691677
691638
|
logEvent("tengu_update_check", {});
|
|
691678
691639
|
const diagnostic = await getDoctorDiagnostic();
|
|
691679
691640
|
const result = await checkUpgradeStatus({
|
|
691680
|
-
currentVersion: "1.
|
|
691641
|
+
currentVersion: "1.35.0",
|
|
691681
691642
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
691682
691643
|
installationType: diagnostic.installationType,
|
|
691683
691644
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -692923,7 +692884,7 @@ ${customInstructions}` : customInstructions;
|
|
|
692923
692884
|
}
|
|
692924
692885
|
}
|
|
692925
692886
|
logForDiagnosticsNoPII("info", "started", {
|
|
692926
|
-
version: "1.
|
|
692887
|
+
version: "1.35.0",
|
|
692927
692888
|
is_native_binary: isInBundledMode()
|
|
692928
692889
|
});
|
|
692929
692890
|
registerCleanup(async () => {
|
|
@@ -693709,7 +693670,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693709
693670
|
pendingHookMessages
|
|
693710
693671
|
}, renderAndRun);
|
|
693711
693672
|
}
|
|
693712
|
-
}).version("1.
|
|
693673
|
+
}).version("1.35.0 (UR-AGENT)", "-v, --version", "Output the version number");
|
|
693713
693674
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
693714
693675
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
693715
693676
|
if (canUserConfigureAdvisor()) {
|
|
@@ -693801,7 +693762,9 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693801
693762
|
if (false) {}
|
|
693802
693763
|
if (false) {}
|
|
693803
693764
|
const auth2 = program2.command("auth").description("Manage authentication").configureHelp(createSortedHelpConfig());
|
|
693804
|
-
auth2.command("login"
|
|
693765
|
+
auth2.command("login", {
|
|
693766
|
+
hidden: true
|
|
693767
|
+
}).description("Sign in to your URHQ account").option("--email <email>", "Pre-populate email address on the login page").option("--sso", "Force SSO login flow").option("--console", "Use URHQ Console (API usage billing) instead of UR subscription").option("--urai", "Use UR subscription (default)").action(async ({
|
|
693805
693768
|
email: email3,
|
|
693806
693769
|
sso,
|
|
693807
693770
|
console: useConsole,
|
|
@@ -693823,7 +693786,9 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693823
693786
|
} = await Promise.resolve().then(() => (init_auth6(), exports_auth2));
|
|
693824
693787
|
await authStatus2(opts);
|
|
693825
693788
|
});
|
|
693826
|
-
auth2.command("logout"
|
|
693789
|
+
auth2.command("logout", {
|
|
693790
|
+
hidden: true
|
|
693791
|
+
}).description("Log out from your URHQ account").action(async () => {
|
|
693827
693792
|
const {
|
|
693828
693793
|
authLogout: authLogout2
|
|
693829
693794
|
} = await Promise.resolve().then(() => (init_auth6(), exports_auth2));
|
|
@@ -693879,6 +693844,10 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693879
693844
|
} = await Promise.resolve().then(() => (init_providers2(), exports_providers));
|
|
693880
693845
|
await configSetHandler2(key, value);
|
|
693881
693846
|
});
|
|
693847
|
+
program2.command("connect [action] [provider]").description("Connect a provider account: subscription login (Codex, Claude, Gemini) or store an API key").option("--key <key>", "API key to store for an API provider").option("--json", "Output as JSON").action(async (action3, providerArg, opts) => {
|
|
693848
|
+
const args = [action3, providerArg, opts.key ? `--key ${quoteLocalCommandArg(opts.key)}` : undefined, opts.json ? "--json" : undefined].filter(Boolean).join(" ");
|
|
693849
|
+
await runLocalTextCommand(() => Promise.resolve().then(() => (init_connect(), exports_connect)), args);
|
|
693850
|
+
});
|
|
693882
693851
|
const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
|
|
693883
693852
|
const pluginCmd = program2.command("plugin").alias("plugins").description("Manage UR plugins").configureHelp(createSortedHelpConfig());
|
|
693884
693853
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath5, options2) => {
|
|
@@ -693954,7 +693923,9 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693954
693923
|
} = await Promise.resolve().then(() => (init_plugins(), exports_plugins));
|
|
693955
693924
|
await pluginUpdateHandler2(plugin2, options2);
|
|
693956
693925
|
});
|
|
693957
|
-
program2.command("setup-token"
|
|
693926
|
+
program2.command("setup-token", {
|
|
693927
|
+
hidden: true
|
|
693928
|
+
}).description("Set up a long-lived authentication token (requires UR subscription)").action(async () => {
|
|
693958
693929
|
const [{
|
|
693959
693930
|
setupTokenHandler: setupTokenHandler2
|
|
693960
693931
|
}, {
|
|
@@ -694075,8 +694046,8 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
694075
694046
|
const args = [action3, name, opts.objective ? `--objective ${quoteLocalCommandArg(opts.objective)}` : undefined, opts.workflow ? `--workflow ${quoteLocalCommandArg(opts.workflow)}` : undefined, opts.pattern ? `--pattern ${quoteLocalCommandArg(opts.pattern)}` : undefined, opts.note ? `--note ${quoteLocalCommandArg(opts.note)}` : undefined, opts.maxTurns ? `--max-turns ${opts.maxTurns}` : undefined, opts.dryRun ? "--dry-run" : undefined, opts.json ? "--json" : undefined].filter(Boolean).join(" ");
|
|
694076
694047
|
await runLocalTextCommand(() => Promise.resolve().then(() => (init_goal(), exports_goal)), args);
|
|
694077
694048
|
});
|
|
694078
|
-
program2.command("spec [action] [name] [phase]").alias("specs").description("Spec-driven development: scaffold requirements/design/tasks in .ur/specs and drive execution task-by-task").option("--goal <text>", "Goal text for init").option("--all", "Run all open tasks, not just the next one").option("--dry-run", "Run offline without calling any model").option("--max-turns <n>", "Max agentic turns per task when running").option("--skip-permissions", "Pass --dangerously-skip-permissions to each task (sandboxes only)").option("--json", "Output as JSON").action(async (action3, name, phase, opts) => {
|
|
694079
|
-
const args = [action3, name, phase, opts.goal ? `--goal ${quoteLocalCommandArg(opts.goal)}` : undefined, opts.all ? "--all" : undefined, opts.dryRun ? "--dry-run" : undefined, opts.maxTurns ? `--max-turns ${opts.maxTurns}` : undefined, opts.skipPermissions ? "--skip-permissions" : undefined, opts.json ? "--json" : undefined].filter(Boolean).join(" ");
|
|
694049
|
+
program2.command("spec [action] [name] [phase]").alias("specs").description("Spec-driven development: scaffold requirements/design/tasks in .ur/specs and drive execution task-by-task").option("--goal <text>", "Goal text for init").option("--all", "Run all open tasks, not just the next one").option("--dry-run", "Run offline without calling any model").option("--kernel", "Run tasks through the agent kernel loop").option("--max-turns <n>", "Max agentic turns per task when running").option("--skip-permissions", "Pass --dangerously-skip-permissions to each task (sandboxes only)").option("--json", "Output as JSON").action(async (action3, name, phase, opts) => {
|
|
694050
|
+
const args = [action3, name, phase, opts.goal ? `--goal ${quoteLocalCommandArg(opts.goal)}` : undefined, opts.all ? "--all" : undefined, opts.dryRun ? "--dry-run" : undefined, opts.kernel ? "--kernel" : undefined, opts.maxTurns ? `--max-turns ${opts.maxTurns}` : undefined, opts.skipPermissions ? "--skip-permissions" : undefined, opts.json ? "--json" : undefined].filter(Boolean).join(" ");
|
|
694080
694051
|
await runLocalTextCommand(() => Promise.resolve().then(() => (init_spec2(), exports_spec2)), args);
|
|
694081
694052
|
});
|
|
694082
694053
|
program2.command("escalate [action] [task...]").description("Capability-aware local model escalation: run on a fast model and auto-escalate hard work to the oracle").option("--dry-run", "Run offline without calling any model").option("--force-oracle", "Start on the oracle regardless of difficulty").option("--fast <model>", "Pin the fast-tier model (policy)").option("--oracle <model>", "Pin the oracle-tier model (policy)").option("--auto <onoff>", "Enable/disable auto-escalation (policy): on|off").option("--max-turns <n>", "Max agentic turns when running").option("--skip-permissions", "Pass --dangerously-skip-permissions (sandboxes only)").option("--json", "Output as JSON").action(async (action3, task2 = [], opts) => {
|
|
@@ -694301,7 +694272,9 @@ ${describeClaims2(result.claims)}`);
|
|
|
694301
694272
|
});
|
|
694302
694273
|
if (false) {}
|
|
694303
694274
|
if (false) {}
|
|
694304
|
-
program2.command("install [target]"
|
|
694275
|
+
program2.command("install [target]", {
|
|
694276
|
+
hidden: true
|
|
694277
|
+
}).description("Install UR native build. Use [target] to specify version (stable, latest, or specific version)").option("--force", "Force installation even if already installed").action(async (target, options2) => {
|
|
694305
694278
|
const {
|
|
694306
694279
|
installHandler: installHandler2
|
|
694307
694280
|
} = await Promise.resolve().then(() => (init_util4(), exports_util2));
|
|
@@ -694592,7 +694565,7 @@ if (false) {}
|
|
|
694592
694565
|
async function main2() {
|
|
694593
694566
|
const args = process.argv.slice(2);
|
|
694594
694567
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
694595
|
-
console.log(`${"1.
|
|
694568
|
+
console.log(`${"1.35.0"} (UR-AGENT)`);
|
|
694596
694569
|
return;
|
|
694597
694570
|
}
|
|
694598
694571
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|