ur-agent 1.36.0 → 1.36.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/dist/cli.js
CHANGED
|
@@ -51672,12 +51672,13 @@ function getProviderDefinition(id) {
|
|
|
51672
51672
|
return PROVIDERS[id];
|
|
51673
51673
|
}
|
|
51674
51674
|
function getActiveProviderSettings(settings = getInitialSettings()) {
|
|
51675
|
-
const
|
|
51675
|
+
const effectiveSettings = settings ?? {};
|
|
51676
|
+
const configured = effectiveSettings.provider ?? {};
|
|
51676
51677
|
const active = configured.active ? resolveProviderId(configured.active) ?? DEFAULT_PROVIDER_ID : DEFAULT_PROVIDER_ID;
|
|
51677
51678
|
const fallback = configured.fallback === "disabled" ? "disabled" : configured.fallback ? resolveProviderId(configured.fallback) ?? undefined : undefined;
|
|
51678
51679
|
return {
|
|
51679
51680
|
active,
|
|
51680
|
-
model: configured.model ?? (configured.active ? undefined :
|
|
51681
|
+
model: configured.model ?? (configured.active ? undefined : effectiveSettings.model),
|
|
51681
51682
|
baseUrl: configured.baseUrl,
|
|
51682
51683
|
commandPath: configured.commandPath,
|
|
51683
51684
|
fallback
|
|
@@ -70875,7 +70876,7 @@ var init_auth = __esm(() => {
|
|
|
70875
70876
|
|
|
70876
70877
|
// src/utils/userAgent.ts
|
|
70877
70878
|
function getURCodeUserAgent() {
|
|
70878
|
-
return `ur/${"1.36.
|
|
70879
|
+
return `ur/${"1.36.1"}`;
|
|
70879
70880
|
}
|
|
70880
70881
|
|
|
70881
70882
|
// src/utils/workloadContext.ts
|
|
@@ -70897,7 +70898,7 @@ function getUserAgent() {
|
|
|
70897
70898
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
70898
70899
|
const workload = getWorkload();
|
|
70899
70900
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
70900
|
-
return `ur-cli/${"1.36.
|
|
70901
|
+
return `ur-cli/${"1.36.1"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
70901
70902
|
}
|
|
70902
70903
|
function getMCPUserAgent() {
|
|
70903
70904
|
const parts = [];
|
|
@@ -70911,7 +70912,7 @@ function getMCPUserAgent() {
|
|
|
70911
70912
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
70912
70913
|
}
|
|
70913
70914
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
70914
|
-
return `ur/${"1.36.
|
|
70915
|
+
return `ur/${"1.36.1"}${suffix}`;
|
|
70915
70916
|
}
|
|
70916
70917
|
function getWebFetchUserAgent() {
|
|
70917
70918
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -71049,7 +71050,7 @@ var init_user = __esm(() => {
|
|
|
71049
71050
|
deviceId,
|
|
71050
71051
|
sessionId: getSessionId(),
|
|
71051
71052
|
email: getEmail(),
|
|
71052
|
-
appVersion: "1.36.
|
|
71053
|
+
appVersion: "1.36.1",
|
|
71053
71054
|
platform: getHostPlatformForAnalytics(),
|
|
71054
71055
|
organizationUuid,
|
|
71055
71056
|
accountUuid,
|
|
@@ -77566,7 +77567,7 @@ var init_metadata = __esm(() => {
|
|
|
77566
77567
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
77567
77568
|
WHITESPACE_REGEX = /\s+/;
|
|
77568
77569
|
getVersionBase = memoize_default(() => {
|
|
77569
|
-
const match = "1.36.
|
|
77570
|
+
const match = "1.36.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
77570
77571
|
return match ? match[0] : undefined;
|
|
77571
77572
|
});
|
|
77572
77573
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -77606,7 +77607,7 @@ var init_metadata = __esm(() => {
|
|
|
77606
77607
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
77607
77608
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
77608
77609
|
isURAiAuth: isURAISubscriber2(),
|
|
77609
|
-
version: "1.36.
|
|
77610
|
+
version: "1.36.1",
|
|
77610
77611
|
versionBase: getVersionBase(),
|
|
77611
77612
|
buildTime: "",
|
|
77612
77613
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -78276,7 +78277,7 @@ function initialize1PEventLogging() {
|
|
|
78276
78277
|
const platform2 = getPlatform();
|
|
78277
78278
|
const attributes = {
|
|
78278
78279
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
78279
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.36.
|
|
78280
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.36.1"
|
|
78280
78281
|
};
|
|
78281
78282
|
if (platform2 === "wsl") {
|
|
78282
78283
|
const wslVersion = getWslVersion();
|
|
@@ -78303,7 +78304,7 @@ function initialize1PEventLogging() {
|
|
|
78303
78304
|
})
|
|
78304
78305
|
]
|
|
78305
78306
|
});
|
|
78306
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.36.
|
|
78307
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.36.1");
|
|
78307
78308
|
}
|
|
78308
78309
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
78309
78310
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -83600,7 +83601,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
83600
83601
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
83601
83602
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
83602
83603
|
}
|
|
83603
|
-
var urVersion = "1.36.
|
|
83604
|
+
var urVersion = "1.36.1", coverage, priorityRoadmap;
|
|
83604
83605
|
var init_trends = __esm(() => {
|
|
83605
83606
|
coverage = [
|
|
83606
83607
|
{
|
|
@@ -85593,7 +85594,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
85593
85594
|
if (!isAttributionHeaderEnabled()) {
|
|
85594
85595
|
return "";
|
|
85595
85596
|
}
|
|
85596
|
-
const version2 = `${"1.36.
|
|
85597
|
+
const version2 = `${"1.36.1"}.${fingerprint}`;
|
|
85597
85598
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
85598
85599
|
const cch = "";
|
|
85599
85600
|
const workload = getWorkload();
|
|
@@ -193454,7 +193455,7 @@ function getTelemetryAttributes() {
|
|
|
193454
193455
|
attributes["session.id"] = sessionId;
|
|
193455
193456
|
}
|
|
193456
193457
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
193457
|
-
attributes["app.version"] = "1.36.
|
|
193458
|
+
attributes["app.version"] = "1.36.1";
|
|
193458
193459
|
}
|
|
193459
193460
|
const oauthAccount = getOauthAccountInfo();
|
|
193460
193461
|
if (oauthAccount) {
|
|
@@ -228839,7 +228840,7 @@ function getInstallationEnv() {
|
|
|
228839
228840
|
return;
|
|
228840
228841
|
}
|
|
228841
228842
|
function getURCodeVersion() {
|
|
228842
|
-
return "1.36.
|
|
228843
|
+
return "1.36.1";
|
|
228843
228844
|
}
|
|
228844
228845
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
228845
228846
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -231678,7 +231679,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
231678
231679
|
const client2 = new Client({
|
|
231679
231680
|
name: "ur",
|
|
231680
231681
|
title: "UR",
|
|
231681
|
-
version: "1.36.
|
|
231682
|
+
version: "1.36.1",
|
|
231682
231683
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
231683
231684
|
websiteUrl: PRODUCT_URL
|
|
231684
231685
|
}, {
|
|
@@ -232032,7 +232033,7 @@ var init_client5 = __esm(() => {
|
|
|
232032
232033
|
const client2 = new Client({
|
|
232033
232034
|
name: "ur",
|
|
232034
232035
|
title: "UR",
|
|
232035
|
-
version: "1.36.
|
|
232036
|
+
version: "1.36.1",
|
|
232036
232037
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
232037
232038
|
websiteUrl: PRODUCT_URL
|
|
232038
232039
|
}, {
|
|
@@ -241846,9 +241847,9 @@ async function assertMinVersion() {
|
|
|
241846
241847
|
if (false) {}
|
|
241847
241848
|
try {
|
|
241848
241849
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
241849
|
-
if (versionConfig.minVersion && lt("1.36.
|
|
241850
|
+
if (versionConfig.minVersion && lt("1.36.1", versionConfig.minVersion)) {
|
|
241850
241851
|
console.error(`
|
|
241851
|
-
It looks like your version of UR (${"1.36.
|
|
241852
|
+
It looks like your version of UR (${"1.36.1"}) needs an update.
|
|
241852
241853
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
241853
241854
|
|
|
241854
241855
|
To update, please run:
|
|
@@ -242064,7 +242065,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
242064
242065
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
242065
242066
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
242066
242067
|
pid: process.pid,
|
|
242067
|
-
currentVersion: "1.36.
|
|
242068
|
+
currentVersion: "1.36.1"
|
|
242068
242069
|
});
|
|
242069
242070
|
return "in_progress";
|
|
242070
242071
|
}
|
|
@@ -242073,7 +242074,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
242073
242074
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
242074
242075
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
242075
242076
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
242076
|
-
currentVersion: "1.36.
|
|
242077
|
+
currentVersion: "1.36.1"
|
|
242077
242078
|
});
|
|
242078
242079
|
console.error(`
|
|
242079
242080
|
Error: Windows NPM detected in WSL
|
|
@@ -242608,7 +242609,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
242608
242609
|
}
|
|
242609
242610
|
async function getDoctorDiagnostic() {
|
|
242610
242611
|
const installationType = await getCurrentInstallationType();
|
|
242611
|
-
const version2 = typeof MACRO !== "undefined" ? "1.36.
|
|
242612
|
+
const version2 = typeof MACRO !== "undefined" ? "1.36.1" : "unknown";
|
|
242612
242613
|
const installationPath = await getInstallationPath();
|
|
242613
242614
|
const invokedBinary = getInvokedBinary();
|
|
242614
242615
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -243543,8 +243544,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
243543
243544
|
const maxVersion = await getMaxVersion();
|
|
243544
243545
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
243545
243546
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
243546
|
-
if (gte("1.36.
|
|
243547
|
-
logForDebugging(`Native installer: current version ${"1.36.
|
|
243547
|
+
if (gte("1.36.1", maxVersion)) {
|
|
243548
|
+
logForDebugging(`Native installer: current version ${"1.36.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
243548
243549
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
243549
243550
|
latency_ms: Date.now() - startTime,
|
|
243550
243551
|
max_version: maxVersion,
|
|
@@ -243555,7 +243556,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
243555
243556
|
version2 = maxVersion;
|
|
243556
243557
|
}
|
|
243557
243558
|
}
|
|
243558
|
-
if (!forceReinstall && version2 === "1.36.
|
|
243559
|
+
if (!forceReinstall && version2 === "1.36.1" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
243559
243560
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
243560
243561
|
logEvent("tengu_native_update_complete", {
|
|
243561
243562
|
latency_ms: Date.now() - startTime,
|
|
@@ -340485,7 +340486,7 @@ function Feedback({
|
|
|
340485
340486
|
platform: env2.platform,
|
|
340486
340487
|
gitRepo: envInfo.isGit,
|
|
340487
340488
|
terminal: env2.terminal,
|
|
340488
|
-
version: "1.36.
|
|
340489
|
+
version: "1.36.1",
|
|
340489
340490
|
transcript: normalizeMessagesForAPI(messages),
|
|
340490
340491
|
errors: sanitizedErrors,
|
|
340491
340492
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -340677,7 +340678,7 @@ function Feedback({
|
|
|
340677
340678
|
", ",
|
|
340678
340679
|
env2.terminal,
|
|
340679
340680
|
", v",
|
|
340680
|
-
"1.36.
|
|
340681
|
+
"1.36.1"
|
|
340681
340682
|
]
|
|
340682
340683
|
}, undefined, true, undefined, this)
|
|
340683
340684
|
]
|
|
@@ -340783,7 +340784,7 @@ ${sanitizedDescription}
|
|
|
340783
340784
|
` + `**Environment Info**
|
|
340784
340785
|
` + `- Platform: ${env2.platform}
|
|
340785
340786
|
` + `- Terminal: ${env2.terminal}
|
|
340786
|
-
` + `- Version: ${"1.36.
|
|
340787
|
+
` + `- Version: ${"1.36.1"}
|
|
340787
340788
|
` + `- Feedback ID: ${feedbackId}
|
|
340788
340789
|
` + `
|
|
340789
340790
|
**Errors**
|
|
@@ -343894,7 +343895,7 @@ function buildPrimarySection() {
|
|
|
343894
343895
|
}, undefined, false, undefined, this);
|
|
343895
343896
|
return [{
|
|
343896
343897
|
label: "Version",
|
|
343897
|
-
value: "1.36.
|
|
343898
|
+
value: "1.36.1"
|
|
343898
343899
|
}, {
|
|
343899
343900
|
label: "Session name",
|
|
343900
343901
|
value: nameValue
|
|
@@ -347195,7 +347196,7 @@ function Config({
|
|
|
347195
347196
|
}
|
|
347196
347197
|
}, undefined, false, undefined, this)
|
|
347197
347198
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
347198
|
-
currentVersion: "1.36.
|
|
347199
|
+
currentVersion: "1.36.1",
|
|
347199
347200
|
onChoice: (choice) => {
|
|
347200
347201
|
setShowSubmenu(null);
|
|
347201
347202
|
setTabsHidden(false);
|
|
@@ -347207,7 +347208,7 @@ function Config({
|
|
|
347207
347208
|
autoUpdatesChannel: "stable"
|
|
347208
347209
|
};
|
|
347209
347210
|
if (choice === "stay") {
|
|
347210
|
-
newSettings.minimumVersion = "1.36.
|
|
347211
|
+
newSettings.minimumVersion = "1.36.1";
|
|
347211
347212
|
}
|
|
347212
347213
|
updateSettingsForSource("userSettings", newSettings);
|
|
347213
347214
|
setSettingsData((prev_27) => ({
|
|
@@ -355277,7 +355278,7 @@ function HelpV2(t0) {
|
|
|
355277
355278
|
let t6;
|
|
355278
355279
|
if ($3[31] !== tabs) {
|
|
355279
355280
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
355280
|
-
title: `UR v${"1.36.
|
|
355281
|
+
title: `UR v${"1.36.1"}`,
|
|
355281
355282
|
color: "professionalBlue",
|
|
355282
355283
|
defaultTab: "general",
|
|
355283
355284
|
children: tabs
|
|
@@ -356023,7 +356024,7 @@ function buildToolUseContext(tools, readFileStateCache) {
|
|
|
356023
356024
|
async function handleInitialize(options2) {
|
|
356024
356025
|
return {
|
|
356025
356026
|
name: "ur-agent",
|
|
356026
|
-
version: "1.36.
|
|
356027
|
+
version: "1.36.1",
|
|
356027
356028
|
protocolVersion: "0.1.0",
|
|
356028
356029
|
workspaceRoot: options2.cwd,
|
|
356029
356030
|
capabilities: {
|
|
@@ -376147,7 +376148,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
376147
376148
|
return [];
|
|
376148
376149
|
}
|
|
376149
376150
|
}
|
|
376150
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.36.
|
|
376151
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.36.1") {
|
|
376151
376152
|
if (process.env.USER_TYPE === "ant") {
|
|
376152
376153
|
const changelog = "";
|
|
376153
376154
|
if (changelog) {
|
|
@@ -376174,7 +376175,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.36.0")
|
|
|
376174
376175
|
releaseNotes
|
|
376175
376176
|
};
|
|
376176
376177
|
}
|
|
376177
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.36.
|
|
376178
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.36.1") {
|
|
376178
376179
|
if (process.env.USER_TYPE === "ant") {
|
|
376179
376180
|
const changelog = "";
|
|
376180
376181
|
if (changelog) {
|
|
@@ -377344,7 +377345,7 @@ function getRecentActivitySync() {
|
|
|
377344
377345
|
return cachedActivity;
|
|
377345
377346
|
}
|
|
377346
377347
|
function getLogoDisplayData() {
|
|
377347
|
-
const version2 = process.env.DEMO_VERSION ?? "1.36.
|
|
377348
|
+
const version2 = process.env.DEMO_VERSION ?? "1.36.1";
|
|
377348
377349
|
const serverUrl = getDirectConnectServerUrl();
|
|
377349
377350
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
|
|
377350
377351
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -378133,7 +378134,7 @@ function LogoV2() {
|
|
|
378133
378134
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
378134
378135
|
t2 = () => {
|
|
378135
378136
|
const currentConfig2 = getGlobalConfig();
|
|
378136
|
-
if (currentConfig2.lastReleaseNotesSeen === "1.36.
|
|
378137
|
+
if (currentConfig2.lastReleaseNotesSeen === "1.36.1") {
|
|
378137
378138
|
return;
|
|
378138
378139
|
}
|
|
378139
378140
|
saveGlobalConfig(_temp326);
|
|
@@ -378818,12 +378819,12 @@ function LogoV2() {
|
|
|
378818
378819
|
return t41;
|
|
378819
378820
|
}
|
|
378820
378821
|
function _temp326(current) {
|
|
378821
|
-
if (current.lastReleaseNotesSeen === "1.36.
|
|
378822
|
+
if (current.lastReleaseNotesSeen === "1.36.1") {
|
|
378822
378823
|
return current;
|
|
378823
378824
|
}
|
|
378824
378825
|
return {
|
|
378825
378826
|
...current,
|
|
378826
|
-
lastReleaseNotesSeen: "1.36.
|
|
378827
|
+
lastReleaseNotesSeen: "1.36.1"
|
|
378827
378828
|
};
|
|
378828
378829
|
}
|
|
378829
378830
|
function _temp243(s_0) {
|
|
@@ -594718,7 +594719,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
594718
594719
|
smapsRollup,
|
|
594719
594720
|
platform: process.platform,
|
|
594720
594721
|
nodeVersion: process.version,
|
|
594721
|
-
ccVersion: "1.36.
|
|
594722
|
+
ccVersion: "1.36.1"
|
|
594722
594723
|
};
|
|
594723
594724
|
}
|
|
594724
594725
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -595304,7 +595305,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
595304
595305
|
var call137 = async () => {
|
|
595305
595306
|
return {
|
|
595306
595307
|
type: "text",
|
|
595307
|
-
value: "1.36.
|
|
595308
|
+
value: "1.36.1"
|
|
595308
595309
|
};
|
|
595309
595310
|
}, version2, version_default;
|
|
595310
595311
|
var init_version = __esm(() => {
|
|
@@ -605384,7 +605385,7 @@ function generateHtmlReport(data, insights) {
|
|
|
605384
605385
|
</html>`;
|
|
605385
605386
|
}
|
|
605386
605387
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
605387
|
-
const version3 = typeof MACRO !== "undefined" ? "1.36.
|
|
605388
|
+
const version3 = typeof MACRO !== "undefined" ? "1.36.1" : "unknown";
|
|
605388
605389
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
605389
605390
|
const facets_summary = {
|
|
605390
605391
|
total: facets.size,
|
|
@@ -609664,7 +609665,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
609664
609665
|
init_settings2();
|
|
609665
609666
|
init_slowOperations();
|
|
609666
609667
|
init_uuid();
|
|
609667
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.36.
|
|
609668
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.36.1" : "unknown";
|
|
609668
609669
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
609669
609670
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
609670
609671
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -610869,7 +610870,7 @@ var init_filesystem = __esm(() => {
|
|
|
610869
610870
|
});
|
|
610870
610871
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
610871
610872
|
const nonce = randomBytes18(16).toString("hex");
|
|
610872
|
-
return join200(getURTempDir(), "bundled-skills", "1.36.
|
|
610873
|
+
return join200(getURTempDir(), "bundled-skills", "1.36.1", nonce);
|
|
610873
610874
|
});
|
|
610874
610875
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
610875
610876
|
});
|
|
@@ -617158,7 +617159,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
617158
617159
|
}
|
|
617159
617160
|
function computeFingerprintFromMessages(messages) {
|
|
617160
617161
|
const firstMessageText = extractFirstMessageText(messages);
|
|
617161
|
-
return computeFingerprint(firstMessageText, "1.36.
|
|
617162
|
+
return computeFingerprint(firstMessageText, "1.36.1");
|
|
617162
617163
|
}
|
|
617163
617164
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
617164
617165
|
var init_fingerprint = () => {};
|
|
@@ -619032,7 +619033,7 @@ async function sideQuery(opts) {
|
|
|
619032
619033
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
619033
619034
|
}
|
|
619034
619035
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
619035
|
-
const fingerprint = computeFingerprint(messageText2, "1.36.
|
|
619036
|
+
const fingerprint = computeFingerprint(messageText2, "1.36.1");
|
|
619036
619037
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
619037
619038
|
const systemBlocks = [
|
|
619038
619039
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -623769,7 +623770,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
623769
623770
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
623770
623771
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
623771
623772
|
betas: getSdkBetas(),
|
|
623772
|
-
ur_version: "1.36.
|
|
623773
|
+
ur_version: "1.36.1",
|
|
623773
623774
|
output_style: outputStyle2,
|
|
623774
623775
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
623775
623776
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -638397,7 +638398,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
638397
638398
|
function getSemverPart(version3) {
|
|
638398
638399
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
638399
638400
|
}
|
|
638400
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.36.
|
|
638401
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.36.1") {
|
|
638401
638402
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
638402
638403
|
if (!updatedVersion) {
|
|
638403
638404
|
return null;
|
|
@@ -638446,7 +638447,7 @@ function AutoUpdater({
|
|
|
638446
638447
|
return;
|
|
638447
638448
|
}
|
|
638448
638449
|
if (false) {}
|
|
638449
|
-
const currentVersion = "1.36.
|
|
638450
|
+
const currentVersion = "1.36.1";
|
|
638450
638451
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
638451
638452
|
let latestVersion = await getLatestVersion(channel);
|
|
638452
638453
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -638675,12 +638676,12 @@ function NativeAutoUpdater({
|
|
|
638675
638676
|
logEvent("tengu_native_auto_updater_start", {});
|
|
638676
638677
|
try {
|
|
638677
638678
|
const maxVersion = await getMaxVersion();
|
|
638678
|
-
if (maxVersion && gt("1.36.
|
|
638679
|
+
if (maxVersion && gt("1.36.1", maxVersion)) {
|
|
638679
638680
|
const msg = await getMaxVersionMessage();
|
|
638680
638681
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
638681
638682
|
}
|
|
638682
638683
|
const result = await installLatest(channel);
|
|
638683
|
-
const currentVersion = "1.36.
|
|
638684
|
+
const currentVersion = "1.36.1";
|
|
638684
638685
|
const latencyMs = Date.now() - startTime;
|
|
638685
638686
|
if (result.lockFailed) {
|
|
638686
638687
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -638817,17 +638818,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
638817
638818
|
const maxVersion = await getMaxVersion();
|
|
638818
638819
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
638819
638820
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
638820
|
-
if (gte("1.36.
|
|
638821
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.36.
|
|
638821
|
+
if (gte("1.36.1", maxVersion)) {
|
|
638822
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.36.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
638822
638823
|
setUpdateAvailable(false);
|
|
638823
638824
|
return;
|
|
638824
638825
|
}
|
|
638825
638826
|
latest = maxVersion;
|
|
638826
638827
|
}
|
|
638827
|
-
const hasUpdate = latest && !gte("1.36.
|
|
638828
|
+
const hasUpdate = latest && !gte("1.36.1", latest) && !shouldSkipVersion(latest);
|
|
638828
638829
|
setUpdateAvailable(!!hasUpdate);
|
|
638829
638830
|
if (hasUpdate) {
|
|
638830
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.36.
|
|
638831
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.36.1"} -> ${latest}`);
|
|
638831
638832
|
}
|
|
638832
638833
|
};
|
|
638833
638834
|
$3[0] = t1;
|
|
@@ -638861,7 +638862,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
638861
638862
|
wrap: "truncate",
|
|
638862
638863
|
children: [
|
|
638863
638864
|
"currentVersion: ",
|
|
638864
|
-
"1.36.
|
|
638865
|
+
"1.36.1"
|
|
638865
638866
|
]
|
|
638866
638867
|
}, undefined, true, undefined, this);
|
|
638867
638868
|
$3[3] = verbose;
|
|
@@ -643230,7 +643231,8 @@ function useTypeahead({
|
|
|
643230
643231
|
}, [setSuggestionsState]);
|
|
643231
643232
|
const debouncedFetchSlackChannels = useDebounceCallback(fetchSlackChannels, 150);
|
|
643232
643233
|
const updateSuggestions = import_react239.useCallback(async (value, inputCursorOffset) => {
|
|
643233
|
-
const
|
|
643234
|
+
const rawCursorOffset = inputCursorOffset ?? cursorOffsetRef.current;
|
|
643235
|
+
const effectiveCursorOffset = value === "/" && rawCursorOffset === 0 ? 1 : rawCursorOffset;
|
|
643234
643236
|
if (suppressSuggestions) {
|
|
643235
643237
|
debouncedFetchFileSuggestions.cancel();
|
|
643236
643238
|
clearSuggestions();
|
|
@@ -651312,7 +651314,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
651312
651314
|
project_dir: getOriginalCwd(),
|
|
651313
651315
|
added_dirs: addedDirs
|
|
651314
651316
|
},
|
|
651315
|
-
version: "1.36.
|
|
651317
|
+
version: "1.36.1",
|
|
651316
651318
|
output_style: {
|
|
651317
651319
|
name: outputStyleName
|
|
651318
651320
|
},
|
|
@@ -651395,7 +651397,7 @@ function StatusLineInner({
|
|
|
651395
651397
|
const taskValues = Object.values(tasks2);
|
|
651396
651398
|
const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
|
|
651397
651399
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
651398
|
-
version: "1.36.
|
|
651400
|
+
version: "1.36.1",
|
|
651399
651401
|
providerLabel: providerRuntime.providerLabel,
|
|
651400
651402
|
authMode: providerRuntime.authLabel,
|
|
651401
651403
|
model: providerRuntime.model ?? renderModelName(mainLoopModel),
|
|
@@ -662883,7 +662885,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
662883
662885
|
} catch {}
|
|
662884
662886
|
const data = {
|
|
662885
662887
|
trigger: trigger2,
|
|
662886
|
-
version: "1.36.
|
|
662888
|
+
version: "1.36.1",
|
|
662887
662889
|
platform: process.platform,
|
|
662888
662890
|
transcript,
|
|
662889
662891
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -674767,7 +674769,7 @@ function WelcomeV2() {
|
|
|
674767
674769
|
dimColor: true,
|
|
674768
674770
|
children: [
|
|
674769
674771
|
"v",
|
|
674770
|
-
"1.36.
|
|
674772
|
+
"1.36.1"
|
|
674771
674773
|
]
|
|
674772
674774
|
}, undefined, true, undefined, this)
|
|
674773
674775
|
]
|
|
@@ -676027,7 +676029,7 @@ function completeOnboarding() {
|
|
|
676027
676029
|
saveGlobalConfig((current) => ({
|
|
676028
676030
|
...current,
|
|
676029
676031
|
hasCompletedOnboarding: true,
|
|
676030
|
-
lastOnboardingVersion: "1.36.
|
|
676032
|
+
lastOnboardingVersion: "1.36.1"
|
|
676031
676033
|
}));
|
|
676032
676034
|
}
|
|
676033
676035
|
function showDialog(root2, renderer) {
|
|
@@ -681064,7 +681066,7 @@ function appendToLog(path24, message) {
|
|
|
681064
681066
|
cwd: getFsImplementation().cwd(),
|
|
681065
681067
|
userType: process.env.USER_TYPE,
|
|
681066
681068
|
sessionId: getSessionId(),
|
|
681067
|
-
version: "1.36.
|
|
681069
|
+
version: "1.36.1"
|
|
681068
681070
|
};
|
|
681069
681071
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
681070
681072
|
}
|
|
@@ -685158,8 +685160,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
685158
685160
|
}
|
|
685159
685161
|
async function checkEnvLessBridgeMinVersion() {
|
|
685160
685162
|
const cfg = await getEnvLessBridgeConfig();
|
|
685161
|
-
if (cfg.min_version && lt("1.36.
|
|
685162
|
-
return `Your version of UR (${"1.36.
|
|
685163
|
+
if (cfg.min_version && lt("1.36.1", cfg.min_version)) {
|
|
685164
|
+
return `Your version of UR (${"1.36.1"}) is too old for Remote Control.
|
|
685163
685165
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
685164
685166
|
}
|
|
685165
685167
|
return null;
|
|
@@ -685633,7 +685635,7 @@ async function initBridgeCore(params) {
|
|
|
685633
685635
|
const rawApi = createBridgeApiClient({
|
|
685634
685636
|
baseUrl,
|
|
685635
685637
|
getAccessToken,
|
|
685636
|
-
runnerVersion: "1.36.
|
|
685638
|
+
runnerVersion: "1.36.1",
|
|
685637
685639
|
onDebug: logForDebugging,
|
|
685638
685640
|
onAuth401,
|
|
685639
685641
|
getTrustedDeviceToken
|
|
@@ -691315,7 +691317,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
691315
691317
|
setCwd(cwd3);
|
|
691316
691318
|
const server2 = new Server({
|
|
691317
691319
|
name: "ur/tengu",
|
|
691318
|
-
version: "1.36.
|
|
691320
|
+
version: "1.36.1"
|
|
691319
691321
|
}, {
|
|
691320
691322
|
capabilities: {
|
|
691321
691323
|
tools: {}
|
|
@@ -693292,7 +693294,7 @@ async function update() {
|
|
|
693292
693294
|
logEvent("tengu_update_check", {});
|
|
693293
693295
|
const diagnostic = await getDoctorDiagnostic();
|
|
693294
693296
|
const result = await checkUpgradeStatus({
|
|
693295
|
-
currentVersion: "1.36.
|
|
693297
|
+
currentVersion: "1.36.1",
|
|
693296
693298
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
693297
693299
|
installationType: diagnostic.installationType,
|
|
693298
693300
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -694538,7 +694540,7 @@ ${customInstructions}` : customInstructions;
|
|
|
694538
694540
|
}
|
|
694539
694541
|
}
|
|
694540
694542
|
logForDiagnosticsNoPII("info", "started", {
|
|
694541
|
-
version: "1.36.
|
|
694543
|
+
version: "1.36.1",
|
|
694542
694544
|
is_native_binary: isInBundledMode()
|
|
694543
694545
|
});
|
|
694544
694546
|
registerCleanup(async () => {
|
|
@@ -695324,7 +695326,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
695324
695326
|
pendingHookMessages
|
|
695325
695327
|
}, renderAndRun);
|
|
695326
695328
|
}
|
|
695327
|
-
}).version("1.36.
|
|
695329
|
+
}).version("1.36.1 (UR-AGENT)", "-v, --version", "Output the version number");
|
|
695328
695330
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
695329
695331
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
695330
695332
|
if (canUserConfigureAdvisor()) {
|
|
@@ -696227,7 +696229,7 @@ if (false) {}
|
|
|
696227
696229
|
async function main2() {
|
|
696228
696230
|
const args = process.argv.slice(2);
|
|
696229
696231
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
696230
|
-
console.log(`${"1.36.
|
|
696232
|
+
console.log(`${"1.36.1"} (UR-AGENT)`);
|
|
696231
696233
|
return;
|
|
696232
696234
|
}
|
|
696233
696235
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|
package/documentation/index.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<main id="content" class="content">
|
|
45
45
|
<header class="topbar">
|
|
46
46
|
<div>
|
|
47
|
-
<p class="eyebrow">Version 1.36.
|
|
47
|
+
<p class="eyebrow">Version 1.36.1</p>
|
|
48
48
|
<h1>UR-AGENT Documentation</h1>
|
|
49
49
|
<p class="lead">A practical, tutorial-style reference for installing, configuring, automating, extending, and operating UR-AGENT.</p>
|
|
50
50
|
</div>
|
|
@@ -159,7 +159,7 @@ ur config set provider.fallback ollama</code></pre>
|
|
|
159
159
|
</article>
|
|
160
160
|
<article>
|
|
161
161
|
<h3>Status bar and updates</h3>
|
|
162
|
-
<pre><code>Ollama | llama3 | ask | main | update 1.36.
|
|
162
|
+
<pre><code>Ollama | llama3 | ask | main | update 1.36.1 available</code></pre>
|
|
163
163
|
<p>The interactive status bar shows only important runtime state: provider, model, mode, branch, active tasks, checks status when known, and update availability. It is hidden in CI, dumb terminals, and non-interactive mode.</p>
|
|
164
164
|
</article>
|
|
165
165
|
</div>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ur-inline-diffs",
|
|
3
3
|
"displayName": "UR Inline Diffs",
|
|
4
4
|
"description": "Review, apply, and reject UR inline diff bundles from .ur/ide/diffs inside VS Code.",
|
|
5
|
-
"version": "1.36.
|
|
5
|
+
"version": "1.36.1",
|
|
6
6
|
"publisher": "ur-agent",
|
|
7
7
|
"engines": {
|
|
8
8
|
"vscode": "^1.92.0"
|
package/package.json
CHANGED