ur-agent 1.23.1 → 1.23.2
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 +8 -0
- package/dist/cli.js +79 -79
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.23.2
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- **CI failure diagnostics** in `.github/workflows/test.yml`: environment-info step, verbose test reporter, captured `test-output.log`, and artifact upload on failure so the production test runner exposes which test fails without requiring admin log access.
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
-
|
|
10
|
+
|
|
3
11
|
## 1.23.1
|
|
4
12
|
|
|
5
13
|
### Added
|
package/dist/cli.js
CHANGED
|
@@ -66562,7 +66562,7 @@ var init_auth = __esm(() => {
|
|
|
66562
66562
|
|
|
66563
66563
|
// src/utils/userAgent.ts
|
|
66564
66564
|
function getURCodeUserAgent() {
|
|
66565
|
-
return `ur/${"1.23.
|
|
66565
|
+
return `ur/${"1.23.2"}`;
|
|
66566
66566
|
}
|
|
66567
66567
|
|
|
66568
66568
|
// src/utils/workloadContext.ts
|
|
@@ -66584,7 +66584,7 @@ function getUserAgent() {
|
|
|
66584
66584
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
66585
66585
|
const workload = getWorkload();
|
|
66586
66586
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
66587
|
-
return `ur-cli/${"1.23.
|
|
66587
|
+
return `ur-cli/${"1.23.2"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
66588
66588
|
}
|
|
66589
66589
|
function getMCPUserAgent() {
|
|
66590
66590
|
const parts = [];
|
|
@@ -66598,7 +66598,7 @@ function getMCPUserAgent() {
|
|
|
66598
66598
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
66599
66599
|
}
|
|
66600
66600
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
66601
|
-
return `ur/${"1.23.
|
|
66601
|
+
return `ur/${"1.23.2"}${suffix}`;
|
|
66602
66602
|
}
|
|
66603
66603
|
function getWebFetchUserAgent() {
|
|
66604
66604
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -66736,7 +66736,7 @@ var init_user = __esm(() => {
|
|
|
66736
66736
|
deviceId,
|
|
66737
66737
|
sessionId: getSessionId(),
|
|
66738
66738
|
email: getEmail(),
|
|
66739
|
-
appVersion: "1.23.
|
|
66739
|
+
appVersion: "1.23.2",
|
|
66740
66740
|
platform: getHostPlatformForAnalytics(),
|
|
66741
66741
|
organizationUuid,
|
|
66742
66742
|
accountUuid,
|
|
@@ -73253,7 +73253,7 @@ var init_metadata = __esm(() => {
|
|
|
73253
73253
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
73254
73254
|
WHITESPACE_REGEX = /\s+/;
|
|
73255
73255
|
getVersionBase = memoize_default(() => {
|
|
73256
|
-
const match = "1.23.
|
|
73256
|
+
const match = "1.23.2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
73257
73257
|
return match ? match[0] : undefined;
|
|
73258
73258
|
});
|
|
73259
73259
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -73293,7 +73293,7 @@ var init_metadata = __esm(() => {
|
|
|
73293
73293
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
73294
73294
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
73295
73295
|
isURAiAuth: isURAISubscriber2(),
|
|
73296
|
-
version: "1.23.
|
|
73296
|
+
version: "1.23.2",
|
|
73297
73297
|
versionBase: getVersionBase(),
|
|
73298
73298
|
buildTime: "",
|
|
73299
73299
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -73963,7 +73963,7 @@ function initialize1PEventLogging() {
|
|
|
73963
73963
|
const platform2 = getPlatform();
|
|
73964
73964
|
const attributes = {
|
|
73965
73965
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
73966
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.23.
|
|
73966
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.23.2"
|
|
73967
73967
|
};
|
|
73968
73968
|
if (platform2 === "wsl") {
|
|
73969
73969
|
const wslVersion = getWslVersion();
|
|
@@ -73990,7 +73990,7 @@ function initialize1PEventLogging() {
|
|
|
73990
73990
|
})
|
|
73991
73991
|
]
|
|
73992
73992
|
});
|
|
73993
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.23.
|
|
73993
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.23.2");
|
|
73994
73994
|
}
|
|
73995
73995
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
73996
73996
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -79082,7 +79082,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
79082
79082
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
79083
79083
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
79084
79084
|
}
|
|
79085
|
-
var urVersion = "1.23.
|
|
79085
|
+
var urVersion = "1.23.2", coverage, priorityRoadmap;
|
|
79086
79086
|
var init_trends = __esm(() => {
|
|
79087
79087
|
coverage = [
|
|
79088
79088
|
{
|
|
@@ -80967,7 +80967,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
80967
80967
|
if (!isAttributionHeaderEnabled()) {
|
|
80968
80968
|
return "";
|
|
80969
80969
|
}
|
|
80970
|
-
const version2 = `${"1.23.
|
|
80970
|
+
const version2 = `${"1.23.2"}.${fingerprint}`;
|
|
80971
80971
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
80972
80972
|
const cch = "";
|
|
80973
80973
|
const workload = getWorkload();
|
|
@@ -188635,7 +188635,7 @@ function getTelemetryAttributes() {
|
|
|
188635
188635
|
attributes["session.id"] = sessionId;
|
|
188636
188636
|
}
|
|
188637
188637
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
188638
|
-
attributes["app.version"] = "1.23.
|
|
188638
|
+
attributes["app.version"] = "1.23.2";
|
|
188639
188639
|
}
|
|
188640
188640
|
const oauthAccount = getOauthAccountInfo();
|
|
188641
188641
|
if (oauthAccount) {
|
|
@@ -224043,7 +224043,7 @@ function getInstallationEnv() {
|
|
|
224043
224043
|
return;
|
|
224044
224044
|
}
|
|
224045
224045
|
function getURCodeVersion() {
|
|
224046
|
-
return "1.23.
|
|
224046
|
+
return "1.23.2";
|
|
224047
224047
|
}
|
|
224048
224048
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
224049
224049
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -226771,7 +226771,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
226771
226771
|
const client2 = new Client({
|
|
226772
226772
|
name: "ur",
|
|
226773
226773
|
title: "UR",
|
|
226774
|
-
version: "1.23.
|
|
226774
|
+
version: "1.23.2",
|
|
226775
226775
|
description: "URHQ's agentic coding tool",
|
|
226776
226776
|
websiteUrl: PRODUCT_URL
|
|
226777
226777
|
}, {
|
|
@@ -227125,7 +227125,7 @@ var init_client5 = __esm(() => {
|
|
|
227125
227125
|
const client2 = new Client({
|
|
227126
227126
|
name: "ur",
|
|
227127
227127
|
title: "UR",
|
|
227128
|
-
version: "1.23.
|
|
227128
|
+
version: "1.23.2",
|
|
227129
227129
|
description: "URHQ's agentic coding tool",
|
|
227130
227130
|
websiteUrl: PRODUCT_URL
|
|
227131
227131
|
}, {
|
|
@@ -236938,9 +236938,9 @@ async function assertMinVersion() {
|
|
|
236938
236938
|
if (false) {}
|
|
236939
236939
|
try {
|
|
236940
236940
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
236941
|
-
if (versionConfig.minVersion && lt("1.23.
|
|
236941
|
+
if (versionConfig.minVersion && lt("1.23.2", versionConfig.minVersion)) {
|
|
236942
236942
|
console.error(`
|
|
236943
|
-
It looks like your version of UR (${"1.23.
|
|
236943
|
+
It looks like your version of UR (${"1.23.2"}) needs an update.
|
|
236944
236944
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
236945
236945
|
|
|
236946
236946
|
To update, please run:
|
|
@@ -237156,7 +237156,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
237156
237156
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
237157
237157
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
237158
237158
|
pid: process.pid,
|
|
237159
|
-
currentVersion: "1.23.
|
|
237159
|
+
currentVersion: "1.23.2"
|
|
237160
237160
|
});
|
|
237161
237161
|
return "in_progress";
|
|
237162
237162
|
}
|
|
@@ -237165,7 +237165,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
237165
237165
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
237166
237166
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
237167
237167
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
237168
|
-
currentVersion: "1.23.
|
|
237168
|
+
currentVersion: "1.23.2"
|
|
237169
237169
|
});
|
|
237170
237170
|
console.error(`
|
|
237171
237171
|
Error: Windows NPM detected in WSL
|
|
@@ -237700,7 +237700,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
237700
237700
|
}
|
|
237701
237701
|
async function getDoctorDiagnostic() {
|
|
237702
237702
|
const installationType = await getCurrentInstallationType();
|
|
237703
|
-
const version2 = typeof MACRO !== "undefined" ? "1.23.
|
|
237703
|
+
const version2 = typeof MACRO !== "undefined" ? "1.23.2" : "unknown";
|
|
237704
237704
|
const installationPath = await getInstallationPath();
|
|
237705
237705
|
const invokedBinary = getInvokedBinary();
|
|
237706
237706
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -238635,8 +238635,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
238635
238635
|
const maxVersion = await getMaxVersion();
|
|
238636
238636
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
238637
238637
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
238638
|
-
if (gte("1.23.
|
|
238639
|
-
logForDebugging(`Native installer: current version ${"1.23.
|
|
238638
|
+
if (gte("1.23.2", maxVersion)) {
|
|
238639
|
+
logForDebugging(`Native installer: current version ${"1.23.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
238640
238640
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
238641
238641
|
latency_ms: Date.now() - startTime,
|
|
238642
238642
|
max_version: maxVersion,
|
|
@@ -238647,7 +238647,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
238647
238647
|
version2 = maxVersion;
|
|
238648
238648
|
}
|
|
238649
238649
|
}
|
|
238650
|
-
if (!forceReinstall && version2 === "1.23.
|
|
238650
|
+
if (!forceReinstall && version2 === "1.23.2" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
238651
238651
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
238652
238652
|
logEvent("tengu_native_update_complete", {
|
|
238653
238653
|
latency_ms: Date.now() - startTime,
|
|
@@ -335692,7 +335692,7 @@ function Feedback({
|
|
|
335692
335692
|
platform: env2.platform,
|
|
335693
335693
|
gitRepo: envInfo.isGit,
|
|
335694
335694
|
terminal: env2.terminal,
|
|
335695
|
-
version: "1.23.
|
|
335695
|
+
version: "1.23.2",
|
|
335696
335696
|
transcript: normalizeMessagesForAPI(messages),
|
|
335697
335697
|
errors: sanitizedErrors,
|
|
335698
335698
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -335884,7 +335884,7 @@ function Feedback({
|
|
|
335884
335884
|
", ",
|
|
335885
335885
|
env2.terminal,
|
|
335886
335886
|
", v",
|
|
335887
|
-
"1.23.
|
|
335887
|
+
"1.23.2"
|
|
335888
335888
|
]
|
|
335889
335889
|
}, undefined, true, undefined, this)
|
|
335890
335890
|
]
|
|
@@ -335990,7 +335990,7 @@ ${sanitizedDescription}
|
|
|
335990
335990
|
` + `**Environment Info**
|
|
335991
335991
|
` + `- Platform: ${env2.platform}
|
|
335992
335992
|
` + `- Terminal: ${env2.terminal}
|
|
335993
|
-
` + `- Version: ${"1.23.
|
|
335993
|
+
` + `- Version: ${"1.23.2"}
|
|
335994
335994
|
` + `- Feedback ID: ${feedbackId}
|
|
335995
335995
|
` + `
|
|
335996
335996
|
**Errors**
|
|
@@ -339101,7 +339101,7 @@ function buildPrimarySection() {
|
|
|
339101
339101
|
}, undefined, false, undefined, this);
|
|
339102
339102
|
return [{
|
|
339103
339103
|
label: "Version",
|
|
339104
|
-
value: "1.23.
|
|
339104
|
+
value: "1.23.2"
|
|
339105
339105
|
}, {
|
|
339106
339106
|
label: "Session name",
|
|
339107
339107
|
value: nameValue
|
|
@@ -342379,7 +342379,7 @@ function Config({
|
|
|
342379
342379
|
}
|
|
342380
342380
|
}, undefined, false, undefined, this)
|
|
342381
342381
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
342382
|
-
currentVersion: "1.23.
|
|
342382
|
+
currentVersion: "1.23.2",
|
|
342383
342383
|
onChoice: (choice) => {
|
|
342384
342384
|
setShowSubmenu(null);
|
|
342385
342385
|
setTabsHidden(false);
|
|
@@ -342391,7 +342391,7 @@ function Config({
|
|
|
342391
342391
|
autoUpdatesChannel: "stable"
|
|
342392
342392
|
};
|
|
342393
342393
|
if (choice === "stay") {
|
|
342394
|
-
newSettings.minimumVersion = "1.23.
|
|
342394
|
+
newSettings.minimumVersion = "1.23.2";
|
|
342395
342395
|
}
|
|
342396
342396
|
updateSettingsForSource("userSettings", newSettings);
|
|
342397
342397
|
setSettingsData((prev_27) => ({
|
|
@@ -350461,7 +350461,7 @@ function HelpV2(t0) {
|
|
|
350461
350461
|
let t6;
|
|
350462
350462
|
if ($3[31] !== tabs) {
|
|
350463
350463
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
350464
|
-
title: `UR v${"1.23.
|
|
350464
|
+
title: `UR v${"1.23.2"}`,
|
|
350465
350465
|
color: "professionalBlue",
|
|
350466
350466
|
defaultTab: "general",
|
|
350467
350467
|
children: tabs
|
|
@@ -370426,7 +370426,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
370426
370426
|
return [];
|
|
370427
370427
|
}
|
|
370428
370428
|
}
|
|
370429
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.23.
|
|
370429
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.23.2") {
|
|
370430
370430
|
if (process.env.USER_TYPE === "ant") {
|
|
370431
370431
|
const changelog = "";
|
|
370432
370432
|
if (changelog) {
|
|
@@ -370453,7 +370453,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.23.1")
|
|
|
370453
370453
|
releaseNotes
|
|
370454
370454
|
};
|
|
370455
370455
|
}
|
|
370456
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.23.
|
|
370456
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.23.2") {
|
|
370457
370457
|
if (process.env.USER_TYPE === "ant") {
|
|
370458
370458
|
const changelog = "";
|
|
370459
370459
|
if (changelog) {
|
|
@@ -371623,7 +371623,7 @@ function getRecentActivitySync() {
|
|
|
371623
371623
|
return cachedActivity;
|
|
371624
371624
|
}
|
|
371625
371625
|
function getLogoDisplayData() {
|
|
371626
|
-
const version2 = process.env.DEMO_VERSION ?? "1.23.
|
|
371626
|
+
const version2 = process.env.DEMO_VERSION ?? "1.23.2";
|
|
371627
371627
|
const serverUrl = getDirectConnectServerUrl();
|
|
371628
371628
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
|
|
371629
371629
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -372412,7 +372412,7 @@ function LogoV2() {
|
|
|
372412
372412
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
372413
372413
|
t2 = () => {
|
|
372414
372414
|
const currentConfig = getGlobalConfig();
|
|
372415
|
-
if (currentConfig.lastReleaseNotesSeen === "1.23.
|
|
372415
|
+
if (currentConfig.lastReleaseNotesSeen === "1.23.2") {
|
|
372416
372416
|
return;
|
|
372417
372417
|
}
|
|
372418
372418
|
saveGlobalConfig(_temp326);
|
|
@@ -373097,12 +373097,12 @@ function LogoV2() {
|
|
|
373097
373097
|
return t41;
|
|
373098
373098
|
}
|
|
373099
373099
|
function _temp326(current) {
|
|
373100
|
-
if (current.lastReleaseNotesSeen === "1.23.
|
|
373100
|
+
if (current.lastReleaseNotesSeen === "1.23.2") {
|
|
373101
373101
|
return current;
|
|
373102
373102
|
}
|
|
373103
373103
|
return {
|
|
373104
373104
|
...current,
|
|
373105
|
-
lastReleaseNotesSeen: "1.23.
|
|
373105
|
+
lastReleaseNotesSeen: "1.23.2"
|
|
373106
373106
|
};
|
|
373107
373107
|
}
|
|
373108
373108
|
function _temp243(s_0) {
|
|
@@ -390091,7 +390091,7 @@ function buildToolUseContext(tools, readFileStateCache) {
|
|
|
390091
390091
|
async function handleInitialize() {
|
|
390092
390092
|
return {
|
|
390093
390093
|
name: "ur-agent",
|
|
390094
|
-
version: "1.23.
|
|
390094
|
+
version: "1.23.2",
|
|
390095
390095
|
protocolVersion: "0.1.0"
|
|
390096
390096
|
};
|
|
390097
390097
|
}
|
|
@@ -588788,7 +588788,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
588788
588788
|
smapsRollup,
|
|
588789
588789
|
platform: process.platform,
|
|
588790
588790
|
nodeVersion: process.version,
|
|
588791
|
-
ccVersion: "1.23.
|
|
588791
|
+
ccVersion: "1.23.2"
|
|
588792
588792
|
};
|
|
588793
588793
|
}
|
|
588794
588794
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -589374,7 +589374,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
589374
589374
|
var call136 = async () => {
|
|
589375
589375
|
return {
|
|
589376
589376
|
type: "text",
|
|
589377
|
-
value: "1.23.
|
|
589377
|
+
value: "1.23.2"
|
|
589378
589378
|
};
|
|
589379
589379
|
}, version2, version_default;
|
|
589380
589380
|
var init_version = __esm(() => {
|
|
@@ -598432,7 +598432,7 @@ function generateHtmlReport(data, insights) {
|
|
|
598432
598432
|
</html>`;
|
|
598433
598433
|
}
|
|
598434
598434
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
598435
|
-
const version3 = typeof MACRO !== "undefined" ? "1.23.
|
|
598435
|
+
const version3 = typeof MACRO !== "undefined" ? "1.23.2" : "unknown";
|
|
598436
598436
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
598437
598437
|
const facets_summary = {
|
|
598438
598438
|
total: facets.size,
|
|
@@ -602705,7 +602705,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
602705
602705
|
init_settings2();
|
|
602706
602706
|
init_slowOperations();
|
|
602707
602707
|
init_uuid();
|
|
602708
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.23.
|
|
602708
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.23.2" : "unknown";
|
|
602709
602709
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
602710
602710
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
602711
602711
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -603910,7 +603910,7 @@ var init_filesystem = __esm(() => {
|
|
|
603910
603910
|
});
|
|
603911
603911
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
603912
603912
|
const nonce = randomBytes18(16).toString("hex");
|
|
603913
|
-
return join200(getURTempDir(), "bundled-skills", "1.23.
|
|
603913
|
+
return join200(getURTempDir(), "bundled-skills", "1.23.2", nonce);
|
|
603914
603914
|
});
|
|
603915
603915
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
603916
603916
|
});
|
|
@@ -610200,7 +610200,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
610200
610200
|
}
|
|
610201
610201
|
function computeFingerprintFromMessages(messages) {
|
|
610202
610202
|
const firstMessageText = extractFirstMessageText(messages);
|
|
610203
|
-
return computeFingerprint(firstMessageText, "1.23.
|
|
610203
|
+
return computeFingerprint(firstMessageText, "1.23.2");
|
|
610204
610204
|
}
|
|
610205
610205
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
610206
610206
|
var init_fingerprint = () => {};
|
|
@@ -612066,7 +612066,7 @@ async function sideQuery(opts) {
|
|
|
612066
612066
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
612067
612067
|
}
|
|
612068
612068
|
const messageText = extractFirstUserMessageText(messages);
|
|
612069
|
-
const fingerprint = computeFingerprint(messageText, "1.23.
|
|
612069
|
+
const fingerprint = computeFingerprint(messageText, "1.23.2");
|
|
612070
612070
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
612071
612071
|
const systemBlocks = [
|
|
612072
612072
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -616803,7 +616803,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
616803
616803
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
616804
616804
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
616805
616805
|
betas: getSdkBetas(),
|
|
616806
|
-
ur_version: "1.23.
|
|
616806
|
+
ur_version: "1.23.2",
|
|
616807
616807
|
output_style: outputStyle2,
|
|
616808
616808
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
616809
616809
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -631431,7 +631431,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
631431
631431
|
function getSemverPart(version3) {
|
|
631432
631432
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
631433
631433
|
}
|
|
631434
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.23.
|
|
631434
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.23.2") {
|
|
631435
631435
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
631436
631436
|
if (!updatedVersion) {
|
|
631437
631437
|
return null;
|
|
@@ -631480,7 +631480,7 @@ function AutoUpdater({
|
|
|
631480
631480
|
return;
|
|
631481
631481
|
}
|
|
631482
631482
|
if (false) {}
|
|
631483
|
-
const currentVersion = "1.23.
|
|
631483
|
+
const currentVersion = "1.23.2";
|
|
631484
631484
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
631485
631485
|
let latestVersion = await getLatestVersion(channel);
|
|
631486
631486
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -631709,12 +631709,12 @@ function NativeAutoUpdater({
|
|
|
631709
631709
|
logEvent("tengu_native_auto_updater_start", {});
|
|
631710
631710
|
try {
|
|
631711
631711
|
const maxVersion = await getMaxVersion();
|
|
631712
|
-
if (maxVersion && gt("1.23.
|
|
631712
|
+
if (maxVersion && gt("1.23.2", maxVersion)) {
|
|
631713
631713
|
const msg = await getMaxVersionMessage();
|
|
631714
631714
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
631715
631715
|
}
|
|
631716
631716
|
const result = await installLatest(channel);
|
|
631717
|
-
const currentVersion = "1.23.
|
|
631717
|
+
const currentVersion = "1.23.2";
|
|
631718
631718
|
const latencyMs = Date.now() - startTime;
|
|
631719
631719
|
if (result.lockFailed) {
|
|
631720
631720
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -631851,17 +631851,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
631851
631851
|
const maxVersion = await getMaxVersion();
|
|
631852
631852
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
631853
631853
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
631854
|
-
if (gte("1.23.
|
|
631855
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.23.
|
|
631854
|
+
if (gte("1.23.2", maxVersion)) {
|
|
631855
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.23.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
631856
631856
|
setUpdateAvailable(false);
|
|
631857
631857
|
return;
|
|
631858
631858
|
}
|
|
631859
631859
|
latest = maxVersion;
|
|
631860
631860
|
}
|
|
631861
|
-
const hasUpdate = latest && !gte("1.23.
|
|
631861
|
+
const hasUpdate = latest && !gte("1.23.2", latest) && !shouldSkipVersion(latest);
|
|
631862
631862
|
setUpdateAvailable(!!hasUpdate);
|
|
631863
631863
|
if (hasUpdate) {
|
|
631864
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.23.
|
|
631864
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.23.2"} -> ${latest}`);
|
|
631865
631865
|
}
|
|
631866
631866
|
};
|
|
631867
631867
|
$3[0] = t1;
|
|
@@ -631895,7 +631895,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
631895
631895
|
wrap: "truncate",
|
|
631896
631896
|
children: [
|
|
631897
631897
|
"currentVersion: ",
|
|
631898
|
-
"1.23.
|
|
631898
|
+
"1.23.2"
|
|
631899
631899
|
]
|
|
631900
631900
|
}, undefined, true, undefined, this);
|
|
631901
631901
|
$3[3] = verbose;
|
|
@@ -644257,7 +644257,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
644257
644257
|
project_dir: getOriginalCwd(),
|
|
644258
644258
|
added_dirs: addedDirs
|
|
644259
644259
|
},
|
|
644260
|
-
version: "1.23.
|
|
644260
|
+
version: "1.23.2",
|
|
644261
644261
|
output_style: {
|
|
644262
644262
|
name: outputStyleName
|
|
644263
644263
|
},
|
|
@@ -655765,7 +655765,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
655765
655765
|
} catch {}
|
|
655766
655766
|
const data = {
|
|
655767
655767
|
trigger: trigger2,
|
|
655768
|
-
version: "1.23.
|
|
655768
|
+
version: "1.23.2",
|
|
655769
655769
|
platform: process.platform,
|
|
655770
655770
|
transcript,
|
|
655771
655771
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -667647,7 +667647,7 @@ function WelcomeV2() {
|
|
|
667647
667647
|
dimColor: true,
|
|
667648
667648
|
children: [
|
|
667649
667649
|
"v",
|
|
667650
|
-
"1.23.
|
|
667650
|
+
"1.23.2"
|
|
667651
667651
|
]
|
|
667652
667652
|
}, undefined, true, undefined, this)
|
|
667653
667653
|
]
|
|
@@ -668907,7 +668907,7 @@ function completeOnboarding() {
|
|
|
668907
668907
|
saveGlobalConfig((current) => ({
|
|
668908
668908
|
...current,
|
|
668909
668909
|
hasCompletedOnboarding: true,
|
|
668910
|
-
lastOnboardingVersion: "1.23.
|
|
668910
|
+
lastOnboardingVersion: "1.23.2"
|
|
668911
668911
|
}));
|
|
668912
668912
|
}
|
|
668913
668913
|
function showDialog(root2, renderer) {
|
|
@@ -674008,7 +674008,7 @@ function appendToLog(path24, message) {
|
|
|
674008
674008
|
cwd: getFsImplementation().cwd(),
|
|
674009
674009
|
userType: process.env.USER_TYPE,
|
|
674010
674010
|
sessionId: getSessionId(),
|
|
674011
|
-
version: "1.23.
|
|
674011
|
+
version: "1.23.2"
|
|
674012
674012
|
};
|
|
674013
674013
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
674014
674014
|
}
|
|
@@ -678102,8 +678102,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
678102
678102
|
}
|
|
678103
678103
|
async function checkEnvLessBridgeMinVersion() {
|
|
678104
678104
|
const cfg = await getEnvLessBridgeConfig();
|
|
678105
|
-
if (cfg.min_version && lt("1.23.
|
|
678106
|
-
return `Your version of UR (${"1.23.
|
|
678105
|
+
if (cfg.min_version && lt("1.23.2", cfg.min_version)) {
|
|
678106
|
+
return `Your version of UR (${"1.23.2"}) is too old for Remote Control.
|
|
678107
678107
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
678108
678108
|
}
|
|
678109
678109
|
return null;
|
|
@@ -678577,7 +678577,7 @@ async function initBridgeCore(params) {
|
|
|
678577
678577
|
const rawApi = createBridgeApiClient({
|
|
678578
678578
|
baseUrl,
|
|
678579
678579
|
getAccessToken,
|
|
678580
|
-
runnerVersion: "1.23.
|
|
678580
|
+
runnerVersion: "1.23.2",
|
|
678581
678581
|
onDebug: logForDebugging,
|
|
678582
678582
|
onAuth401,
|
|
678583
678583
|
getTrustedDeviceToken
|
|
@@ -684258,7 +684258,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
684258
684258
|
setCwd(cwd3);
|
|
684259
684259
|
const server2 = new Server({
|
|
684260
684260
|
name: "ur/tengu",
|
|
684261
|
-
version: "1.23.
|
|
684261
|
+
version: "1.23.2"
|
|
684262
684262
|
}, {
|
|
684263
684263
|
capabilities: {
|
|
684264
684264
|
tools: {}
|
|
@@ -685874,7 +685874,7 @@ async function update() {
|
|
|
685874
685874
|
await gracefulShutdown(1);
|
|
685875
685875
|
}
|
|
685876
685876
|
logEvent("tengu_update_check", {});
|
|
685877
|
-
writeToStdout(`Current version: ${"1.23.
|
|
685877
|
+
writeToStdout(`Current version: ${"1.23.2"}
|
|
685878
685878
|
`);
|
|
685879
685879
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
685880
685880
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -685949,8 +685949,8 @@ async function update() {
|
|
|
685949
685949
|
writeToStdout(`UR is managed by Homebrew.
|
|
685950
685950
|
`);
|
|
685951
685951
|
const latest = await getLatestVersion(channel);
|
|
685952
|
-
if (latest && !gte("1.23.
|
|
685953
|
-
writeToStdout(`${formatUpdateAvailableMessage("1.23.
|
|
685952
|
+
if (latest && !gte("1.23.2", latest)) {
|
|
685953
|
+
writeToStdout(`${formatUpdateAvailableMessage("1.23.2", latest)}
|
|
685954
685954
|
`);
|
|
685955
685955
|
writeToStdout(`
|
|
685956
685956
|
`);
|
|
@@ -685966,8 +685966,8 @@ async function update() {
|
|
|
685966
685966
|
writeToStdout(`UR is managed by winget.
|
|
685967
685967
|
`);
|
|
685968
685968
|
const latest = await getLatestVersion(channel);
|
|
685969
|
-
if (latest && !gte("1.23.
|
|
685970
|
-
writeToStdout(`${formatUpdateAvailableMessage("1.23.
|
|
685969
|
+
if (latest && !gte("1.23.2", latest)) {
|
|
685970
|
+
writeToStdout(`${formatUpdateAvailableMessage("1.23.2", latest)}
|
|
685971
685971
|
`);
|
|
685972
685972
|
writeToStdout(`
|
|
685973
685973
|
`);
|
|
@@ -685983,8 +685983,8 @@ async function update() {
|
|
|
685983
685983
|
writeToStdout(`UR is managed by apk.
|
|
685984
685984
|
`);
|
|
685985
685985
|
const latest = await getLatestVersion(channel);
|
|
685986
|
-
if (latest && !gte("1.23.
|
|
685987
|
-
writeToStdout(`${formatUpdateAvailableMessage("1.23.
|
|
685986
|
+
if (latest && !gte("1.23.2", latest)) {
|
|
685987
|
+
writeToStdout(`${formatUpdateAvailableMessage("1.23.2", latest)}
|
|
685988
685988
|
`);
|
|
685989
685989
|
writeToStdout(`
|
|
685990
685990
|
`);
|
|
@@ -686049,11 +686049,11 @@ async function update() {
|
|
|
686049
686049
|
`);
|
|
686050
686050
|
await gracefulShutdown(1);
|
|
686051
686051
|
}
|
|
686052
|
-
if (result.latestVersion === "1.23.
|
|
686053
|
-
writeToStdout(source_default.green(`UR is up to date (${"1.23.
|
|
686052
|
+
if (result.latestVersion === "1.23.2") {
|
|
686053
|
+
writeToStdout(source_default.green(`UR is up to date (${"1.23.2"})`) + `
|
|
686054
686054
|
`);
|
|
686055
686055
|
} else {
|
|
686056
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.23.
|
|
686056
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.23.2"} to version ${result.latestVersion}`) + `
|
|
686057
686057
|
`);
|
|
686058
686058
|
await regenerateCompletionCache();
|
|
686059
686059
|
}
|
|
@@ -686113,12 +686113,12 @@ async function update() {
|
|
|
686113
686113
|
`);
|
|
686114
686114
|
await gracefulShutdown(1);
|
|
686115
686115
|
}
|
|
686116
|
-
if (latestVersion === "1.23.
|
|
686117
|
-
writeToStdout(source_default.green(`UR is up to date (${"1.23.
|
|
686116
|
+
if (latestVersion === "1.23.2") {
|
|
686117
|
+
writeToStdout(source_default.green(`UR is up to date (${"1.23.2"})`) + `
|
|
686118
686118
|
`);
|
|
686119
686119
|
await gracefulShutdown(0);
|
|
686120
686120
|
}
|
|
686121
|
-
writeToStdout(`${formatUpdateAvailableMessage("1.23.
|
|
686121
|
+
writeToStdout(`${formatUpdateAvailableMessage("1.23.2", latestVersion)}
|
|
686122
686122
|
`);
|
|
686123
686123
|
writeToStdout(`Installing update...
|
|
686124
686124
|
`);
|
|
@@ -686163,7 +686163,7 @@ async function update() {
|
|
|
686163
686163
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
686164
686164
|
switch (status2) {
|
|
686165
686165
|
case "success":
|
|
686166
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.23.
|
|
686166
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.23.2"} to version ${latestVersion}`) + `
|
|
686167
686167
|
`);
|
|
686168
686168
|
await regenerateCompletionCache();
|
|
686169
686169
|
break;
|
|
@@ -687449,7 +687449,7 @@ ${customInstructions}` : customInstructions;
|
|
|
687449
687449
|
}
|
|
687450
687450
|
}
|
|
687451
687451
|
logForDiagnosticsNoPII("info", "started", {
|
|
687452
|
-
version: "1.23.
|
|
687452
|
+
version: "1.23.2",
|
|
687453
687453
|
is_native_binary: isInBundledMode()
|
|
687454
687454
|
});
|
|
687455
687455
|
registerCleanup(async () => {
|
|
@@ -688233,7 +688233,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
688233
688233
|
pendingHookMessages
|
|
688234
688234
|
}, renderAndRun);
|
|
688235
688235
|
}
|
|
688236
|
-
}).version("1.23.
|
|
688236
|
+
}).version("1.23.2 (Ur)", "-v, --version", "Output the version number");
|
|
688237
688237
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
688238
688238
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
688239
688239
|
if (canUserConfigureAdvisor()) {
|
|
@@ -689056,7 +689056,7 @@ if (false) {}
|
|
|
689056
689056
|
async function main2() {
|
|
689057
689057
|
const args = process.argv.slice(2);
|
|
689058
689058
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
689059
|
-
console.log(`${"1.23.
|
|
689059
|
+
console.log(`${"1.23.2"} (Ur)`);
|
|
689060
689060
|
return;
|
|
689061
689061
|
}
|
|
689062
689062
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|
package/package.json
CHANGED