ur-agent 1.12.1 → 1.12.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 +11 -0
- package/dist/cli.js +96 -90
- package/docs/VALIDATION.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.12.2
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- **Ziggurat of Ur spinner.** Replaced the canoe spinner with the Ziggurat of
|
|
7
|
+
Ur catching light: an up-pyramid whose lit face sweeps across (`△ ◭ ▲ ◮`)
|
|
8
|
+
with a gold glint at the fully-lit peak.
|
|
9
|
+
- **Lapis & gold prompt.** The prompt input rules are now dashed lapis-lazuli
|
|
10
|
+
(Standard of Ur), with a Standard-of-Ur gold chevron and a soft navy
|
|
11
|
+
drop-shadow beneath the box so the prompt reads as a card floating above the
|
|
12
|
+
surface.
|
|
13
|
+
|
|
3
14
|
## 1.12.1
|
|
4
15
|
|
|
5
16
|
### Changed
|
package/dist/cli.js
CHANGED
|
@@ -69537,7 +69537,7 @@ var init_auth = __esm(() => {
|
|
|
69537
69537
|
|
|
69538
69538
|
// src/utils/userAgent.ts
|
|
69539
69539
|
function getURCodeUserAgent() {
|
|
69540
|
-
return `ur/${"1.12.
|
|
69540
|
+
return `ur/${"1.12.2"}`;
|
|
69541
69541
|
}
|
|
69542
69542
|
|
|
69543
69543
|
// src/utils/workloadContext.ts
|
|
@@ -69559,7 +69559,7 @@ function getUserAgent() {
|
|
|
69559
69559
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
69560
69560
|
const workload = getWorkload();
|
|
69561
69561
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
69562
|
-
return `ur-cli/${"1.12.
|
|
69562
|
+
return `ur-cli/${"1.12.2"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
69563
69563
|
}
|
|
69564
69564
|
function getMCPUserAgent() {
|
|
69565
69565
|
const parts = [];
|
|
@@ -69573,7 +69573,7 @@ function getMCPUserAgent() {
|
|
|
69573
69573
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
69574
69574
|
}
|
|
69575
69575
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
69576
|
-
return `ur/${"1.12.
|
|
69576
|
+
return `ur/${"1.12.2"}${suffix}`;
|
|
69577
69577
|
}
|
|
69578
69578
|
function getWebFetchUserAgent() {
|
|
69579
69579
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -69711,7 +69711,7 @@ var init_user = __esm(() => {
|
|
|
69711
69711
|
deviceId,
|
|
69712
69712
|
sessionId: getSessionId(),
|
|
69713
69713
|
email: getEmail(),
|
|
69714
|
-
appVersion: "1.12.
|
|
69714
|
+
appVersion: "1.12.2",
|
|
69715
69715
|
platform: getHostPlatformForAnalytics(),
|
|
69716
69716
|
organizationUuid,
|
|
69717
69717
|
accountUuid,
|
|
@@ -75488,7 +75488,7 @@ var init_metadata = __esm(() => {
|
|
|
75488
75488
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
75489
75489
|
WHITESPACE_REGEX = /\s+/;
|
|
75490
75490
|
getVersionBase = memoize_default(() => {
|
|
75491
|
-
const match = "1.12.
|
|
75491
|
+
const match = "1.12.2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
75492
75492
|
return match ? match[0] : undefined;
|
|
75493
75493
|
});
|
|
75494
75494
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -75528,7 +75528,7 @@ var init_metadata = __esm(() => {
|
|
|
75528
75528
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
75529
75529
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
75530
75530
|
isURAiAuth: isURAISubscriber2(),
|
|
75531
|
-
version: "1.12.
|
|
75531
|
+
version: "1.12.2",
|
|
75532
75532
|
versionBase: getVersionBase(),
|
|
75533
75533
|
buildTime: "",
|
|
75534
75534
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
@@ -76198,7 +76198,7 @@ function initialize1PEventLogging() {
|
|
|
76198
76198
|
const platform2 = getPlatform();
|
|
76199
76199
|
const attributes = {
|
|
76200
76200
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
76201
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.12.
|
|
76201
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.12.2"
|
|
76202
76202
|
};
|
|
76203
76203
|
if (platform2 === "wsl") {
|
|
76204
76204
|
const wslVersion = getWslVersion();
|
|
@@ -76225,7 +76225,7 @@ function initialize1PEventLogging() {
|
|
|
76225
76225
|
})
|
|
76226
76226
|
]
|
|
76227
76227
|
});
|
|
76228
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.12.
|
|
76228
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.12.2");
|
|
76229
76229
|
}
|
|
76230
76230
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
76231
76231
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -78089,7 +78089,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
78089
78089
|
if (!isAttributionHeaderEnabled()) {
|
|
78090
78090
|
return "";
|
|
78091
78091
|
}
|
|
78092
|
-
const version2 = `${"1.12.
|
|
78092
|
+
const version2 = `${"1.12.2"}.${fingerprint}`;
|
|
78093
78093
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
78094
78094
|
const cch = "";
|
|
78095
78095
|
const workload = getWorkload();
|
|
@@ -105546,7 +105546,7 @@ var init_theme = __esm(() => {
|
|
|
105546
105546
|
permissionShimmer: "rgb(96,165,250)",
|
|
105547
105547
|
planMode: "rgb(13,148,136)",
|
|
105548
105548
|
ide: "rgb(30,118,196)",
|
|
105549
|
-
promptBorder: "rgb(
|
|
105549
|
+
promptBorder: "rgb(28,78,138)",
|
|
105550
105550
|
promptBorderShimmer: "rgb(183,183,183)",
|
|
105551
105551
|
text: "rgb(0,0,0)",
|
|
105552
105552
|
inverseText: "rgb(255,255,255)",
|
|
@@ -105617,7 +105617,7 @@ var init_theme = __esm(() => {
|
|
|
105617
105617
|
permissionShimmer: "ansi:blueBright",
|
|
105618
105618
|
planMode: "ansi:cyan",
|
|
105619
105619
|
ide: "ansi:blueBright",
|
|
105620
|
-
promptBorder: "ansi:
|
|
105620
|
+
promptBorder: "ansi:blue",
|
|
105621
105621
|
promptBorderShimmer: "ansi:whiteBright",
|
|
105622
105622
|
text: "ansi:black",
|
|
105623
105623
|
inverseText: "ansi:white",
|
|
@@ -105688,7 +105688,7 @@ var init_theme = __esm(() => {
|
|
|
105688
105688
|
permissionShimmer: "ansi:blueBright",
|
|
105689
105689
|
planMode: "ansi:cyanBright",
|
|
105690
105690
|
ide: "ansi:blue",
|
|
105691
|
-
promptBorder: "ansi:
|
|
105691
|
+
promptBorder: "ansi:blue",
|
|
105692
105692
|
promptBorderShimmer: "ansi:whiteBright",
|
|
105693
105693
|
text: "ansi:whiteBright",
|
|
105694
105694
|
inverseText: "ansi:black",
|
|
@@ -105759,7 +105759,7 @@ var init_theme = __esm(() => {
|
|
|
105759
105759
|
permissionShimmer: "rgb(86,180,233)",
|
|
105760
105760
|
planMode: "rgb(0,158,115)",
|
|
105761
105761
|
ide: "rgb(0,114,178)",
|
|
105762
|
-
promptBorder: "rgb(
|
|
105762
|
+
promptBorder: "rgb(28,78,138)",
|
|
105763
105763
|
promptBorderShimmer: "rgb(183,183,183)",
|
|
105764
105764
|
text: "rgb(0,0,0)",
|
|
105765
105765
|
inverseText: "rgb(255,255,255)",
|
|
@@ -105830,7 +105830,7 @@ var init_theme = __esm(() => {
|
|
|
105830
105830
|
permissionShimmer: "rgb(186,230,253)",
|
|
105831
105831
|
planMode: "rgb(45,212,191)",
|
|
105832
105832
|
ide: "rgb(96,165,250)",
|
|
105833
|
-
promptBorder: "rgb(
|
|
105833
|
+
promptBorder: "rgb(28,78,138)",
|
|
105834
105834
|
promptBorderShimmer: "rgb(166,166,166)",
|
|
105835
105835
|
text: "rgb(255,255,255)",
|
|
105836
105836
|
inverseText: "rgb(0,0,0)",
|
|
@@ -105901,7 +105901,7 @@ var init_theme = __esm(() => {
|
|
|
105901
105901
|
permissionShimmer: "rgb(142,210,245)",
|
|
105902
105902
|
planMode: "rgb(0,158,115)",
|
|
105903
105903
|
ide: "rgb(86,180,233)",
|
|
105904
|
-
promptBorder: "rgb(
|
|
105904
|
+
promptBorder: "rgb(28,78,138)",
|
|
105905
105905
|
promptBorderShimmer: "rgb(166,166,166)",
|
|
105906
105906
|
text: "rgb(255,255,255)",
|
|
105907
105907
|
inverseText: "rgb(0,0,0)",
|
|
@@ -184568,7 +184568,7 @@ function getTelemetryAttributes() {
|
|
|
184568
184568
|
attributes["session.id"] = sessionId;
|
|
184569
184569
|
}
|
|
184570
184570
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
184571
|
-
attributes["app.version"] = "1.12.
|
|
184571
|
+
attributes["app.version"] = "1.12.2";
|
|
184572
184572
|
}
|
|
184573
184573
|
const oauthAccount = getOauthAccountInfo();
|
|
184574
184574
|
if (oauthAccount) {
|
|
@@ -220166,7 +220166,7 @@ function getInstallationEnv() {
|
|
|
220166
220166
|
return;
|
|
220167
220167
|
}
|
|
220168
220168
|
function getURCodeVersion() {
|
|
220169
|
-
return "1.12.
|
|
220169
|
+
return "1.12.2";
|
|
220170
220170
|
}
|
|
220171
220171
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
220172
220172
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -222894,7 +222894,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
222894
222894
|
const client2 = new Client({
|
|
222895
222895
|
name: "ur",
|
|
222896
222896
|
title: "UR",
|
|
222897
|
-
version: "1.12.
|
|
222897
|
+
version: "1.12.2",
|
|
222898
222898
|
description: "URHQ's agentic coding tool",
|
|
222899
222899
|
websiteUrl: PRODUCT_URL
|
|
222900
222900
|
}, {
|
|
@@ -223248,7 +223248,7 @@ var init_client5 = __esm(() => {
|
|
|
223248
223248
|
const client2 = new Client({
|
|
223249
223249
|
name: "ur",
|
|
223250
223250
|
title: "UR",
|
|
223251
|
-
version: "1.12.
|
|
223251
|
+
version: "1.12.2",
|
|
223252
223252
|
description: "URHQ's agentic coding tool",
|
|
223253
223253
|
websiteUrl: PRODUCT_URL
|
|
223254
223254
|
}, {
|
|
@@ -232967,9 +232967,9 @@ async function assertMinVersion() {
|
|
|
232967
232967
|
if (false) {}
|
|
232968
232968
|
try {
|
|
232969
232969
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
232970
|
-
if (versionConfig.minVersion && lt("1.12.
|
|
232970
|
+
if (versionConfig.minVersion && lt("1.12.2", versionConfig.minVersion)) {
|
|
232971
232971
|
console.error(`
|
|
232972
|
-
It looks like your version of UR (${"1.12.
|
|
232972
|
+
It looks like your version of UR (${"1.12.2"}) needs an update.
|
|
232973
232973
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
232974
232974
|
|
|
232975
232975
|
To update, please run:
|
|
@@ -233185,7 +233185,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
233185
233185
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
233186
233186
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
233187
233187
|
pid: process.pid,
|
|
233188
|
-
currentVersion: "1.12.
|
|
233188
|
+
currentVersion: "1.12.2"
|
|
233189
233189
|
});
|
|
233190
233190
|
return "in_progress";
|
|
233191
233191
|
}
|
|
@@ -233194,7 +233194,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
233194
233194
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
233195
233195
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
233196
233196
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
233197
|
-
currentVersion: "1.12.
|
|
233197
|
+
currentVersion: "1.12.2"
|
|
233198
233198
|
});
|
|
233199
233199
|
console.error(`
|
|
233200
233200
|
Error: Windows NPM detected in WSL
|
|
@@ -233729,7 +233729,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
233729
233729
|
}
|
|
233730
233730
|
async function getDoctorDiagnostic() {
|
|
233731
233731
|
const installationType = await getCurrentInstallationType();
|
|
233732
|
-
const version2 = typeof MACRO !== "undefined" ? "1.12.
|
|
233732
|
+
const version2 = typeof MACRO !== "undefined" ? "1.12.2" : "unknown";
|
|
233733
233733
|
const installationPath = await getInstallationPath();
|
|
233734
233734
|
const invokedBinary = getInvokedBinary();
|
|
233735
233735
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -234664,8 +234664,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
234664
234664
|
const maxVersion = await getMaxVersion();
|
|
234665
234665
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
234666
234666
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
234667
|
-
if (gte("1.12.
|
|
234668
|
-
logForDebugging(`Native installer: current version ${"1.12.
|
|
234667
|
+
if (gte("1.12.2", maxVersion)) {
|
|
234668
|
+
logForDebugging(`Native installer: current version ${"1.12.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
234669
234669
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
234670
234670
|
latency_ms: Date.now() - startTime,
|
|
234671
234671
|
max_version: maxVersion,
|
|
@@ -234676,7 +234676,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
234676
234676
|
version2 = maxVersion;
|
|
234677
234677
|
}
|
|
234678
234678
|
}
|
|
234679
|
-
if (!forceReinstall && version2 === "1.12.
|
|
234679
|
+
if (!forceReinstall && version2 === "1.12.2" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
234680
234680
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
234681
234681
|
logEvent("tengu_native_update_complete", {
|
|
234682
234682
|
latency_ms: Date.now() - startTime,
|
|
@@ -237631,7 +237631,7 @@ var init_useTasksV2 = __esm(() => {
|
|
|
237631
237631
|
|
|
237632
237632
|
// src/components/Spinner/utils.ts
|
|
237633
237633
|
function getDefaultCharacters() {
|
|
237634
|
-
return ["\
|
|
237634
|
+
return ["\u25B3", "\u25ED", "\u25B2", "\u25EE"];
|
|
237635
237635
|
}
|
|
237636
237636
|
function interpolateColor(color1, color2, t) {
|
|
237637
237637
|
return {
|
|
@@ -238210,17 +238210,19 @@ function SpinnerGlyph(t0) {
|
|
|
238210
238210
|
}
|
|
238211
238211
|
return t4;
|
|
238212
238212
|
}
|
|
238213
|
+
const isPeak = spinnerChar === "\u25B2";
|
|
238213
238214
|
return /* @__PURE__ */ jsx_dev_runtime66.jsxDEV(ThemedBox_default, {
|
|
238214
238215
|
flexWrap: "wrap",
|
|
238215
238216
|
height: 1,
|
|
238216
238217
|
width: 2,
|
|
238217
238218
|
children: /* @__PURE__ */ jsx_dev_runtime66.jsxDEV(ThemedText, {
|
|
238218
|
-
color: messageColor,
|
|
238219
|
+
color: isPeak ? UR_GOLD : messageColor,
|
|
238220
|
+
bold: isPeak,
|
|
238219
238221
|
children: spinnerChar
|
|
238220
238222
|
}, undefined, false, undefined, this)
|
|
238221
238223
|
}, undefined, false, undefined, this);
|
|
238222
238224
|
}
|
|
238223
|
-
var import_compiler_runtime57, jsx_dev_runtime66, DEFAULT_CHARACTERS, SPINNER_FRAMES, REDUCED_MOTION_DOT = "\u25CF", REDUCED_MOTION_CYCLE_MS = 2000, ERROR_RED2;
|
|
238225
|
+
var import_compiler_runtime57, jsx_dev_runtime66, DEFAULT_CHARACTERS, SPINNER_FRAMES, REDUCED_MOTION_DOT = "\u25CF", REDUCED_MOTION_CYCLE_MS = 2000, ERROR_RED2, UR_GOLD = "rgb(212,175,55)";
|
|
238224
238226
|
var init_SpinnerGlyph = __esm(() => {
|
|
238225
238227
|
init_ink2();
|
|
238226
238228
|
init_theme();
|
|
@@ -328859,7 +328861,7 @@ function Feedback({
|
|
|
328859
328861
|
platform: env3.platform,
|
|
328860
328862
|
gitRepo: envInfo.isGit,
|
|
328861
328863
|
terminal: env3.terminal,
|
|
328862
|
-
version: "1.12.
|
|
328864
|
+
version: "1.12.2",
|
|
328863
328865
|
transcript: normalizeMessagesForAPI(messages),
|
|
328864
328866
|
errors: sanitizedErrors,
|
|
328865
328867
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -329051,7 +329053,7 @@ function Feedback({
|
|
|
329051
329053
|
", ",
|
|
329052
329054
|
env3.terminal,
|
|
329053
329055
|
", v",
|
|
329054
|
-
"1.12.
|
|
329056
|
+
"1.12.2"
|
|
329055
329057
|
]
|
|
329056
329058
|
}, undefined, true, undefined, this)
|
|
329057
329059
|
]
|
|
@@ -329157,7 +329159,7 @@ ${sanitizedDescription}
|
|
|
329157
329159
|
` + `**Environment Info**
|
|
329158
329160
|
` + `- Platform: ${env3.platform}
|
|
329159
329161
|
` + `- Terminal: ${env3.terminal}
|
|
329160
|
-
` + `- Version: ${"1.12.
|
|
329162
|
+
` + `- Version: ${"1.12.2"}
|
|
329161
329163
|
` + `- Feedback ID: ${feedbackId}
|
|
329162
329164
|
` + `
|
|
329163
329165
|
**Errors**
|
|
@@ -332267,7 +332269,7 @@ function buildPrimarySection() {
|
|
|
332267
332269
|
}, undefined, false, undefined, this);
|
|
332268
332270
|
return [{
|
|
332269
332271
|
label: "Version",
|
|
332270
|
-
value: "1.12.
|
|
332272
|
+
value: "1.12.2"
|
|
332271
332273
|
}, {
|
|
332272
332274
|
label: "Session name",
|
|
332273
332275
|
value: nameValue
|
|
@@ -335545,7 +335547,7 @@ function Config({
|
|
|
335545
335547
|
}
|
|
335546
335548
|
}, undefined, false, undefined, this)
|
|
335547
335549
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
335548
|
-
currentVersion: "1.12.
|
|
335550
|
+
currentVersion: "1.12.2",
|
|
335549
335551
|
onChoice: (choice) => {
|
|
335550
335552
|
setShowSubmenu(null);
|
|
335551
335553
|
setTabsHidden(false);
|
|
@@ -335557,7 +335559,7 @@ function Config({
|
|
|
335557
335559
|
autoUpdatesChannel: "stable"
|
|
335558
335560
|
};
|
|
335559
335561
|
if (choice === "stay") {
|
|
335560
|
-
newSettings.minimumVersion = "1.12.
|
|
335562
|
+
newSettings.minimumVersion = "1.12.2";
|
|
335561
335563
|
}
|
|
335562
335564
|
updateSettingsForSource("userSettings", newSettings);
|
|
335563
335565
|
setSettingsData((prev_27) => ({
|
|
@@ -343627,7 +343629,7 @@ function HelpV2(t0) {
|
|
|
343627
343629
|
let t6;
|
|
343628
343630
|
if ($3[31] !== tabs) {
|
|
343629
343631
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
343630
|
-
title: `UR v${"1.12.
|
|
343632
|
+
title: `UR v${"1.12.2"}`,
|
|
343631
343633
|
color: "professionalBlue",
|
|
343632
343634
|
defaultTab: "general",
|
|
343633
343635
|
children: tabs
|
|
@@ -363230,7 +363232,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
363230
363232
|
return [];
|
|
363231
363233
|
}
|
|
363232
363234
|
}
|
|
363233
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.12.
|
|
363235
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.12.2") {
|
|
363234
363236
|
if (process.env.USER_TYPE === "ant") {
|
|
363235
363237
|
const changelog = "";
|
|
363236
363238
|
if (changelog) {
|
|
@@ -363257,7 +363259,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.12.1")
|
|
|
363257
363259
|
releaseNotes
|
|
363258
363260
|
};
|
|
363259
363261
|
}
|
|
363260
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.12.
|
|
363262
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.12.2") {
|
|
363261
363263
|
if (process.env.USER_TYPE === "ant") {
|
|
363262
363264
|
const changelog = "";
|
|
363263
363265
|
if (changelog) {
|
|
@@ -364427,7 +364429,7 @@ function getRecentActivitySync() {
|
|
|
364427
364429
|
return cachedActivity;
|
|
364428
364430
|
}
|
|
364429
364431
|
function getLogoDisplayData() {
|
|
364430
|
-
const version2 = process.env.DEMO_VERSION ?? "1.12.
|
|
364432
|
+
const version2 = process.env.DEMO_VERSION ?? "1.12.2";
|
|
364431
364433
|
const serverUrl = getDirectConnectServerUrl();
|
|
364432
364434
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
|
|
364433
364435
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -365216,7 +365218,7 @@ function LogoV2() {
|
|
|
365216
365218
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
365217
365219
|
t2 = () => {
|
|
365218
365220
|
const currentConfig = getGlobalConfig();
|
|
365219
|
-
if (currentConfig.lastReleaseNotesSeen === "1.12.
|
|
365221
|
+
if (currentConfig.lastReleaseNotesSeen === "1.12.2") {
|
|
365220
365222
|
return;
|
|
365221
365223
|
}
|
|
365222
365224
|
saveGlobalConfig(_temp326);
|
|
@@ -365901,12 +365903,12 @@ function LogoV2() {
|
|
|
365901
365903
|
return t41;
|
|
365902
365904
|
}
|
|
365903
365905
|
function _temp326(current) {
|
|
365904
|
-
if (current.lastReleaseNotesSeen === "1.12.
|
|
365906
|
+
if (current.lastReleaseNotesSeen === "1.12.2") {
|
|
365905
365907
|
return current;
|
|
365906
365908
|
}
|
|
365907
365909
|
return {
|
|
365908
365910
|
...current,
|
|
365909
|
-
lastReleaseNotesSeen: "1.12.
|
|
365911
|
+
lastReleaseNotesSeen: "1.12.2"
|
|
365910
365912
|
};
|
|
365911
365913
|
}
|
|
365912
365914
|
function _temp243(s_0) {
|
|
@@ -381040,7 +381042,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
381040
381042
|
function formatA2AAgentCard(options2 = {}, pretty = true) {
|
|
381041
381043
|
return JSON.stringify(buildA2AAgentCard(options2), null, pretty ? 2 : 0);
|
|
381042
381044
|
}
|
|
381043
|
-
var urVersion = "1.12.
|
|
381045
|
+
var urVersion = "1.12.2", coverage2, priorityRoadmap;
|
|
381044
381046
|
var init_trends = __esm(() => {
|
|
381045
381047
|
coverage2 = [
|
|
381046
381048
|
{
|
|
@@ -396111,7 +396113,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
396111
396113
|
smapsRollup,
|
|
396112
396114
|
platform: process.platform,
|
|
396113
396115
|
nodeVersion: process.version,
|
|
396114
|
-
ccVersion: "1.12.
|
|
396116
|
+
ccVersion: "1.12.2"
|
|
396115
396117
|
};
|
|
396116
396118
|
}
|
|
396117
396119
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -396697,7 +396699,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
396697
396699
|
var call95 = async () => {
|
|
396698
396700
|
return {
|
|
396699
396701
|
type: "text",
|
|
396700
|
-
value: "1.12.
|
|
396702
|
+
value: "1.12.2"
|
|
396701
396703
|
};
|
|
396702
396704
|
}, version2, version_default;
|
|
396703
396705
|
var init_version = __esm(() => {
|
|
@@ -405737,7 +405739,7 @@ function generateHtmlReport(data, insights) {
|
|
|
405737
405739
|
</html>`;
|
|
405738
405740
|
}
|
|
405739
405741
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
405740
|
-
const version3 = typeof MACRO !== "undefined" ? "1.12.
|
|
405742
|
+
const version3 = typeof MACRO !== "undefined" ? "1.12.2" : "unknown";
|
|
405741
405743
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
405742
405744
|
const facets_summary = {
|
|
405743
405745
|
total: facets.size,
|
|
@@ -409928,7 +409930,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
409928
409930
|
init_settings2();
|
|
409929
409931
|
init_slowOperations();
|
|
409930
409932
|
init_uuid();
|
|
409931
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.12.
|
|
409933
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.12.2" : "unknown";
|
|
409932
409934
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
409933
409935
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
409934
409936
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -411133,7 +411135,7 @@ var init_filesystem = __esm(() => {
|
|
|
411133
411135
|
});
|
|
411134
411136
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
411135
411137
|
const nonce = randomBytes18(16).toString("hex");
|
|
411136
|
-
return join150(getURTempDir(), "bundled-skills", "1.12.
|
|
411138
|
+
return join150(getURTempDir(), "bundled-skills", "1.12.2", nonce);
|
|
411137
411139
|
});
|
|
411138
411140
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
411139
411141
|
});
|
|
@@ -417164,7 +417166,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
417164
417166
|
}
|
|
417165
417167
|
function computeFingerprintFromMessages(messages) {
|
|
417166
417168
|
const firstMessageText = extractFirstMessageText(messages);
|
|
417167
|
-
return computeFingerprint(firstMessageText, "1.12.
|
|
417169
|
+
return computeFingerprint(firstMessageText, "1.12.2");
|
|
417168
417170
|
}
|
|
417169
417171
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
417170
417172
|
var init_fingerprint = () => {};
|
|
@@ -419030,7 +419032,7 @@ async function sideQuery(opts) {
|
|
|
419030
419032
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
419031
419033
|
}
|
|
419032
419034
|
const messageText = extractFirstUserMessageText(messages);
|
|
419033
|
-
const fingerprint = computeFingerprint(messageText, "1.12.
|
|
419035
|
+
const fingerprint = computeFingerprint(messageText, "1.12.2");
|
|
419034
419036
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
419035
419037
|
const systemBlocks = [
|
|
419036
419038
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -423767,7 +423769,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
423767
423769
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
423768
423770
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
423769
423771
|
betas: getSdkBetas(),
|
|
423770
|
-
ur_version: "1.12.
|
|
423772
|
+
ur_version: "1.12.2",
|
|
423771
423773
|
output_style: outputStyle2,
|
|
423772
423774
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
423773
423775
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -438395,7 +438397,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
438395
438397
|
function getSemverPart(version3) {
|
|
438396
438398
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
438397
438399
|
}
|
|
438398
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.12.
|
|
438400
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.12.2") {
|
|
438399
438401
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
438400
438402
|
if (!updatedVersion) {
|
|
438401
438403
|
return null;
|
|
@@ -438435,7 +438437,7 @@ function AutoUpdater({
|
|
|
438435
438437
|
return;
|
|
438436
438438
|
}
|
|
438437
438439
|
if (false) {}
|
|
438438
|
-
const currentVersion = "1.12.
|
|
438440
|
+
const currentVersion = "1.12.2";
|
|
438439
438441
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
438440
438442
|
let latestVersion = await getLatestVersion(channel);
|
|
438441
438443
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -438648,12 +438650,12 @@ function NativeAutoUpdater({
|
|
|
438648
438650
|
logEvent("tengu_native_auto_updater_start", {});
|
|
438649
438651
|
try {
|
|
438650
438652
|
const maxVersion = await getMaxVersion();
|
|
438651
|
-
if (maxVersion && gt("1.12.
|
|
438653
|
+
if (maxVersion && gt("1.12.2", maxVersion)) {
|
|
438652
438654
|
const msg = await getMaxVersionMessage();
|
|
438653
438655
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
438654
438656
|
}
|
|
438655
438657
|
const result = await installLatest(channel);
|
|
438656
|
-
const currentVersion = "1.12.
|
|
438658
|
+
const currentVersion = "1.12.2";
|
|
438657
438659
|
const latencyMs = Date.now() - startTime;
|
|
438658
438660
|
if (result.lockFailed) {
|
|
438659
438661
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -438790,17 +438792,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
438790
438792
|
const maxVersion = await getMaxVersion();
|
|
438791
438793
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
438792
438794
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
438793
|
-
if (gte("1.12.
|
|
438794
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.12.
|
|
438795
|
+
if (gte("1.12.2", maxVersion)) {
|
|
438796
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.12.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
438795
438797
|
setUpdateAvailable(false);
|
|
438796
438798
|
return;
|
|
438797
438799
|
}
|
|
438798
438800
|
latest = maxVersion;
|
|
438799
438801
|
}
|
|
438800
|
-
const hasUpdate = latest && !gte("1.12.
|
|
438802
|
+
const hasUpdate = latest && !gte("1.12.2", latest) && !shouldSkipVersion(latest);
|
|
438801
438803
|
setUpdateAvailable(!!hasUpdate);
|
|
438802
438804
|
if (hasUpdate) {
|
|
438803
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.12.
|
|
438805
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.12.2"} -> ${latest}`);
|
|
438804
438806
|
}
|
|
438805
438807
|
};
|
|
438806
438808
|
$3[0] = t1;
|
|
@@ -438834,7 +438836,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
438834
438836
|
wrap: "truncate",
|
|
438835
438837
|
children: [
|
|
438836
438838
|
"currentVersion: ",
|
|
438837
|
-
"1.12.
|
|
438839
|
+
"1.12.2"
|
|
438838
438840
|
]
|
|
438839
438841
|
}, undefined, true, undefined, this);
|
|
438840
438842
|
$3[3] = verbose;
|
|
@@ -451196,7 +451198,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
451196
451198
|
project_dir: getOriginalCwd(),
|
|
451197
451199
|
added_dirs: addedDirs
|
|
451198
451200
|
},
|
|
451199
|
-
version: "1.12.
|
|
451201
|
+
version: "1.12.2",
|
|
451200
451202
|
output_style: {
|
|
451201
451203
|
name: outputStyleName
|
|
451202
451204
|
},
|
|
@@ -452990,7 +452992,7 @@ function PromptChar(t0) {
|
|
|
452990
452992
|
themeColor
|
|
452991
452993
|
} = t0;
|
|
452992
452994
|
const teammateColor = themeColor;
|
|
452993
|
-
const color3 = teammateColor ??
|
|
452995
|
+
const color3 = teammateColor ?? "rgb(212,175,55)";
|
|
452994
452996
|
let t1;
|
|
452995
452997
|
if ($3[0] !== color3 || $3[1] !== isLoading) {
|
|
452996
452998
|
t1 = /* @__PURE__ */ jsx_dev_runtime428.jsxDEV(ThemedText, {
|
|
@@ -455117,7 +455119,7 @@ function PromptInput({
|
|
|
455117
455119
|
alignItems: "center",
|
|
455118
455120
|
justifyContent: "center",
|
|
455119
455121
|
borderColor: getBorderColor(),
|
|
455120
|
-
borderStyle: "
|
|
455122
|
+
borderStyle: "dashed",
|
|
455121
455123
|
borderLeft: false,
|
|
455122
455124
|
borderRight: false,
|
|
455123
455125
|
borderBottom: true,
|
|
@@ -455200,7 +455202,7 @@ function PromptInput({
|
|
|
455200
455202
|
alignItems: "flex-start",
|
|
455201
455203
|
justifyContent: "flex-start",
|
|
455202
455204
|
borderColor: getBorderColor(),
|
|
455203
|
-
borderStyle: "
|
|
455205
|
+
borderStyle: "dashed",
|
|
455204
455206
|
borderLeft: false,
|
|
455205
455207
|
borderRight: false,
|
|
455206
455208
|
borderBottom: true,
|
|
@@ -455221,6 +455223,10 @@ function PromptInput({
|
|
|
455221
455223
|
}, undefined, false, undefined, this)
|
|
455222
455224
|
]
|
|
455223
455225
|
}, undefined, true, undefined, this),
|
|
455226
|
+
!swarmBanner && !isFullscreenEnvEnabled() && /* @__PURE__ */ jsx_dev_runtime431.jsxDEV(ThemedText, {
|
|
455227
|
+
color: "rgb(11,30,56)",
|
|
455228
|
+
children: " " + "\u254C".repeat(Math.max(0, columns - 2))
|
|
455229
|
+
}, undefined, false, undefined, this),
|
|
455224
455230
|
/* @__PURE__ */ jsx_dev_runtime431.jsxDEV(PromptInputFooter_default, {
|
|
455225
455231
|
apiKeyStatus,
|
|
455226
455232
|
debug,
|
|
@@ -462688,7 +462694,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
462688
462694
|
} catch {}
|
|
462689
462695
|
const data = {
|
|
462690
462696
|
trigger,
|
|
462691
|
-
version: "1.12.
|
|
462697
|
+
version: "1.12.2",
|
|
462692
462698
|
platform: process.platform,
|
|
462693
462699
|
transcript,
|
|
462694
462700
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -474603,7 +474609,7 @@ function WelcomeV2() {
|
|
|
474603
474609
|
dimColor: true,
|
|
474604
474610
|
children: [
|
|
474605
474611
|
"v",
|
|
474606
|
-
"1.12.
|
|
474612
|
+
"1.12.2"
|
|
474607
474613
|
]
|
|
474608
474614
|
}, undefined, true, undefined, this)
|
|
474609
474615
|
]
|
|
@@ -475863,7 +475869,7 @@ function completeOnboarding() {
|
|
|
475863
475869
|
saveGlobalConfig((current) => ({
|
|
475864
475870
|
...current,
|
|
475865
475871
|
hasCompletedOnboarding: true,
|
|
475866
|
-
lastOnboardingVersion: "1.12.
|
|
475872
|
+
lastOnboardingVersion: "1.12.2"
|
|
475867
475873
|
}));
|
|
475868
475874
|
}
|
|
475869
475875
|
function showDialog(root2, renderer) {
|
|
@@ -480323,7 +480329,7 @@ function appendToLog(path24, message) {
|
|
|
480323
480329
|
cwd: getFsImplementation().cwd(),
|
|
480324
480330
|
userType: process.env.USER_TYPE,
|
|
480325
480331
|
sessionId: getSessionId(),
|
|
480326
|
-
version: "1.12.
|
|
480332
|
+
version: "1.12.2"
|
|
480327
480333
|
};
|
|
480328
480334
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
480329
480335
|
}
|
|
@@ -484349,8 +484355,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
484349
484355
|
}
|
|
484350
484356
|
async function checkEnvLessBridgeMinVersion() {
|
|
484351
484357
|
const cfg = await getEnvLessBridgeConfig();
|
|
484352
|
-
if (cfg.min_version && lt("1.12.
|
|
484353
|
-
return `Your version of UR (${"1.12.
|
|
484358
|
+
if (cfg.min_version && lt("1.12.2", cfg.min_version)) {
|
|
484359
|
+
return `Your version of UR (${"1.12.2"}) is too old for Remote Control.
|
|
484354
484360
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
484355
484361
|
}
|
|
484356
484362
|
return null;
|
|
@@ -484824,7 +484830,7 @@ async function initBridgeCore(params) {
|
|
|
484824
484830
|
const rawApi = createBridgeApiClient({
|
|
484825
484831
|
baseUrl,
|
|
484826
484832
|
getAccessToken,
|
|
484827
|
-
runnerVersion: "1.12.
|
|
484833
|
+
runnerVersion: "1.12.2",
|
|
484828
484834
|
onDebug: logForDebugging,
|
|
484829
484835
|
onAuth401,
|
|
484830
484836
|
getTrustedDeviceToken
|
|
@@ -490489,7 +490495,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
490489
490495
|
setCwd(cwd3);
|
|
490490
490496
|
const server = new Server({
|
|
490491
490497
|
name: "ur/tengu",
|
|
490492
|
-
version: "1.12.
|
|
490498
|
+
version: "1.12.2"
|
|
490493
490499
|
}, {
|
|
490494
490500
|
capabilities: {
|
|
490495
490501
|
tools: {}
|
|
@@ -492100,7 +492106,7 @@ __export(exports_update, {
|
|
|
492100
492106
|
});
|
|
492101
492107
|
async function update() {
|
|
492102
492108
|
logEvent("tengu_update_check", {});
|
|
492103
|
-
writeToStdout(`Current version: ${"1.12.
|
|
492109
|
+
writeToStdout(`Current version: ${"1.12.2"}
|
|
492104
492110
|
`);
|
|
492105
492111
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
492106
492112
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -492175,8 +492181,8 @@ async function update() {
|
|
|
492175
492181
|
writeToStdout(`UR is managed by Homebrew.
|
|
492176
492182
|
`);
|
|
492177
492183
|
const latest = await getLatestVersion(channel);
|
|
492178
|
-
if (latest && !gte("1.12.
|
|
492179
|
-
writeToStdout(`Update available: ${"1.12.
|
|
492184
|
+
if (latest && !gte("1.12.2", latest)) {
|
|
492185
|
+
writeToStdout(`Update available: ${"1.12.2"} \u2192 ${latest}
|
|
492180
492186
|
`);
|
|
492181
492187
|
writeToStdout(`
|
|
492182
492188
|
`);
|
|
@@ -492192,8 +492198,8 @@ async function update() {
|
|
|
492192
492198
|
writeToStdout(`UR is managed by winget.
|
|
492193
492199
|
`);
|
|
492194
492200
|
const latest = await getLatestVersion(channel);
|
|
492195
|
-
if (latest && !gte("1.12.
|
|
492196
|
-
writeToStdout(`Update available: ${"1.12.
|
|
492201
|
+
if (latest && !gte("1.12.2", latest)) {
|
|
492202
|
+
writeToStdout(`Update available: ${"1.12.2"} \u2192 ${latest}
|
|
492197
492203
|
`);
|
|
492198
492204
|
writeToStdout(`
|
|
492199
492205
|
`);
|
|
@@ -492209,8 +492215,8 @@ async function update() {
|
|
|
492209
492215
|
writeToStdout(`UR is managed by apk.
|
|
492210
492216
|
`);
|
|
492211
492217
|
const latest = await getLatestVersion(channel);
|
|
492212
|
-
if (latest && !gte("1.12.
|
|
492213
|
-
writeToStdout(`Update available: ${"1.12.
|
|
492218
|
+
if (latest && !gte("1.12.2", latest)) {
|
|
492219
|
+
writeToStdout(`Update available: ${"1.12.2"} \u2192 ${latest}
|
|
492214
492220
|
`);
|
|
492215
492221
|
writeToStdout(`
|
|
492216
492222
|
`);
|
|
@@ -492275,11 +492281,11 @@ async function update() {
|
|
|
492275
492281
|
`);
|
|
492276
492282
|
await gracefulShutdown(1);
|
|
492277
492283
|
}
|
|
492278
|
-
if (result.latestVersion === "1.12.
|
|
492279
|
-
writeToStdout(source_default.green(`UR is up to date (${"1.12.
|
|
492284
|
+
if (result.latestVersion === "1.12.2") {
|
|
492285
|
+
writeToStdout(source_default.green(`UR is up to date (${"1.12.2"})`) + `
|
|
492280
492286
|
`);
|
|
492281
492287
|
} else {
|
|
492282
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.12.
|
|
492288
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.12.2"} to version ${result.latestVersion}`) + `
|
|
492283
492289
|
`);
|
|
492284
492290
|
await regenerateCompletionCache();
|
|
492285
492291
|
}
|
|
@@ -492339,12 +492345,12 @@ async function update() {
|
|
|
492339
492345
|
`);
|
|
492340
492346
|
await gracefulShutdown(1);
|
|
492341
492347
|
}
|
|
492342
|
-
if (latestVersion === "1.12.
|
|
492343
|
-
writeToStdout(source_default.green(`UR is up to date (${"1.12.
|
|
492348
|
+
if (latestVersion === "1.12.2") {
|
|
492349
|
+
writeToStdout(source_default.green(`UR is up to date (${"1.12.2"})`) + `
|
|
492344
492350
|
`);
|
|
492345
492351
|
await gracefulShutdown(0);
|
|
492346
492352
|
}
|
|
492347
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.12.
|
|
492353
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.12.2"})
|
|
492348
492354
|
`);
|
|
492349
492355
|
writeToStdout(`Installing update...
|
|
492350
492356
|
`);
|
|
@@ -492389,7 +492395,7 @@ async function update() {
|
|
|
492389
492395
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
492390
492396
|
switch (status2) {
|
|
492391
492397
|
case "success":
|
|
492392
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.12.
|
|
492398
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.12.2"} to version ${latestVersion}`) + `
|
|
492393
492399
|
`);
|
|
492394
492400
|
await regenerateCompletionCache();
|
|
492395
492401
|
break;
|
|
@@ -493639,7 +493645,7 @@ ${customInstructions}` : customInstructions;
|
|
|
493639
493645
|
}
|
|
493640
493646
|
}
|
|
493641
493647
|
logForDiagnosticsNoPII("info", "started", {
|
|
493642
|
-
version: "1.12.
|
|
493648
|
+
version: "1.12.2",
|
|
493643
493649
|
is_native_binary: isInBundledMode()
|
|
493644
493650
|
});
|
|
493645
493651
|
registerCleanup(async () => {
|
|
@@ -494423,7 +494429,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
494423
494429
|
pendingHookMessages
|
|
494424
494430
|
}, renderAndRun);
|
|
494425
494431
|
}
|
|
494426
|
-
}).version("1.12.
|
|
494432
|
+
}).version("1.12.2 (Ur)", "-v, --version", "Output the version number");
|
|
494427
494433
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
494428
494434
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
494429
494435
|
if (canUserConfigureAdvisor()) {
|
|
@@ -494957,7 +494963,7 @@ if (false) {}
|
|
|
494957
494963
|
async function main2() {
|
|
494958
494964
|
const args = process.argv.slice(2);
|
|
494959
494965
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
494960
|
-
console.log(`${"1.12.
|
|
494966
|
+
console.log(`${"1.12.2"} (Ur)`);
|
|
494961
494967
|
return;
|
|
494962
494968
|
}
|
|
494963
494969
|
const {
|
package/docs/VALIDATION.md
CHANGED