ur-agent 1.12.3 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/cli.js +79 -79
- package/docs/VALIDATION.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.13.0
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Image paste hint.** When the clipboard holds no image, the image paste
|
|
7
|
+
shortcut (`ctrl+v`, `alt+v` on Windows) no longer shows a circular "use
|
|
8
|
+
ctrl+v to paste images" message — the very key that was just pressed. It now
|
|
9
|
+
tells you to copy an image (e.g. a screenshot) first, then press the shortcut
|
|
10
|
+
to paste it. SSH sessions keep the existing `scp` hint.
|
|
11
|
+
|
|
3
12
|
## 1.12.3
|
|
4
13
|
|
|
5
14
|
### Added
|
package/dist/cli.js
CHANGED
|
@@ -12536,7 +12536,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
12536
12536
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
12537
12537
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
12538
12538
|
}
|
|
12539
|
-
var urVersion = "1.
|
|
12539
|
+
var urVersion = "1.13.0", coverage, priorityRoadmap;
|
|
12540
12540
|
var init_trends = __esm(() => {
|
|
12541
12541
|
coverage = [
|
|
12542
12542
|
{
|
|
@@ -69938,7 +69938,7 @@ var init_auth = __esm(() => {
|
|
|
69938
69938
|
|
|
69939
69939
|
// src/utils/userAgent.ts
|
|
69940
69940
|
function getURCodeUserAgent() {
|
|
69941
|
-
return `ur/${"1.
|
|
69941
|
+
return `ur/${"1.13.0"}`;
|
|
69942
69942
|
}
|
|
69943
69943
|
|
|
69944
69944
|
// src/utils/workloadContext.ts
|
|
@@ -69960,7 +69960,7 @@ function getUserAgent() {
|
|
|
69960
69960
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
69961
69961
|
const workload = getWorkload();
|
|
69962
69962
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
69963
|
-
return `ur-cli/${"1.
|
|
69963
|
+
return `ur-cli/${"1.13.0"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
69964
69964
|
}
|
|
69965
69965
|
function getMCPUserAgent() {
|
|
69966
69966
|
const parts = [];
|
|
@@ -69974,7 +69974,7 @@ function getMCPUserAgent() {
|
|
|
69974
69974
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
69975
69975
|
}
|
|
69976
69976
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
69977
|
-
return `ur/${"1.
|
|
69977
|
+
return `ur/${"1.13.0"}${suffix}`;
|
|
69978
69978
|
}
|
|
69979
69979
|
function getWebFetchUserAgent() {
|
|
69980
69980
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -70112,7 +70112,7 @@ var init_user = __esm(() => {
|
|
|
70112
70112
|
deviceId,
|
|
70113
70113
|
sessionId: getSessionId(),
|
|
70114
70114
|
email: getEmail(),
|
|
70115
|
-
appVersion: "1.
|
|
70115
|
+
appVersion: "1.13.0",
|
|
70116
70116
|
platform: getHostPlatformForAnalytics(),
|
|
70117
70117
|
organizationUuid,
|
|
70118
70118
|
accountUuid,
|
|
@@ -75889,7 +75889,7 @@ var init_metadata = __esm(() => {
|
|
|
75889
75889
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
75890
75890
|
WHITESPACE_REGEX = /\s+/;
|
|
75891
75891
|
getVersionBase = memoize_default(() => {
|
|
75892
|
-
const match = "1.
|
|
75892
|
+
const match = "1.13.0".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
75893
75893
|
return match ? match[0] : undefined;
|
|
75894
75894
|
});
|
|
75895
75895
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -75929,7 +75929,7 @@ var init_metadata = __esm(() => {
|
|
|
75929
75929
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
75930
75930
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
75931
75931
|
isURAiAuth: isURAISubscriber2(),
|
|
75932
|
-
version: "1.
|
|
75932
|
+
version: "1.13.0",
|
|
75933
75933
|
versionBase: getVersionBase(),
|
|
75934
75934
|
buildTime: "",
|
|
75935
75935
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
@@ -76599,7 +76599,7 @@ function initialize1PEventLogging() {
|
|
|
76599
76599
|
const platform2 = getPlatform();
|
|
76600
76600
|
const attributes = {
|
|
76601
76601
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
76602
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.
|
|
76602
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.13.0"
|
|
76603
76603
|
};
|
|
76604
76604
|
if (platform2 === "wsl") {
|
|
76605
76605
|
const wslVersion = getWslVersion();
|
|
@@ -76626,7 +76626,7 @@ function initialize1PEventLogging() {
|
|
|
76626
76626
|
})
|
|
76627
76627
|
]
|
|
76628
76628
|
});
|
|
76629
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.
|
|
76629
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.13.0");
|
|
76630
76630
|
}
|
|
76631
76631
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
76632
76632
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -78490,7 +78490,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
78490
78490
|
if (!isAttributionHeaderEnabled()) {
|
|
78491
78491
|
return "";
|
|
78492
78492
|
}
|
|
78493
|
-
const version2 = `${"1.
|
|
78493
|
+
const version2 = `${"1.13.0"}.${fingerprint}`;
|
|
78494
78494
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
78495
78495
|
const cch = "";
|
|
78496
78496
|
const workload = getWorkload();
|
|
@@ -184969,7 +184969,7 @@ function getTelemetryAttributes() {
|
|
|
184969
184969
|
attributes["session.id"] = sessionId;
|
|
184970
184970
|
}
|
|
184971
184971
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
184972
|
-
attributes["app.version"] = "1.
|
|
184972
|
+
attributes["app.version"] = "1.13.0";
|
|
184973
184973
|
}
|
|
184974
184974
|
const oauthAccount = getOauthAccountInfo();
|
|
184975
184975
|
if (oauthAccount) {
|
|
@@ -220758,7 +220758,7 @@ function getInstallationEnv() {
|
|
|
220758
220758
|
return;
|
|
220759
220759
|
}
|
|
220760
220760
|
function getURCodeVersion() {
|
|
220761
|
-
return "1.
|
|
220761
|
+
return "1.13.0";
|
|
220762
220762
|
}
|
|
220763
220763
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
220764
220764
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -223486,7 +223486,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
223486
223486
|
const client2 = new Client({
|
|
223487
223487
|
name: "ur",
|
|
223488
223488
|
title: "UR",
|
|
223489
|
-
version: "1.
|
|
223489
|
+
version: "1.13.0",
|
|
223490
223490
|
description: "URHQ's agentic coding tool",
|
|
223491
223491
|
websiteUrl: PRODUCT_URL
|
|
223492
223492
|
}, {
|
|
@@ -223840,7 +223840,7 @@ var init_client5 = __esm(() => {
|
|
|
223840
223840
|
const client2 = new Client({
|
|
223841
223841
|
name: "ur",
|
|
223842
223842
|
title: "UR",
|
|
223843
|
-
version: "1.
|
|
223843
|
+
version: "1.13.0",
|
|
223844
223844
|
description: "URHQ's agentic coding tool",
|
|
223845
223845
|
websiteUrl: PRODUCT_URL
|
|
223846
223846
|
}, {
|
|
@@ -233559,9 +233559,9 @@ async function assertMinVersion() {
|
|
|
233559
233559
|
if (false) {}
|
|
233560
233560
|
try {
|
|
233561
233561
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
233562
|
-
if (versionConfig.minVersion && lt("1.
|
|
233562
|
+
if (versionConfig.minVersion && lt("1.13.0", versionConfig.minVersion)) {
|
|
233563
233563
|
console.error(`
|
|
233564
|
-
It looks like your version of UR (${"1.
|
|
233564
|
+
It looks like your version of UR (${"1.13.0"}) needs an update.
|
|
233565
233565
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
233566
233566
|
|
|
233567
233567
|
To update, please run:
|
|
@@ -233777,7 +233777,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
233777
233777
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
233778
233778
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
233779
233779
|
pid: process.pid,
|
|
233780
|
-
currentVersion: "1.
|
|
233780
|
+
currentVersion: "1.13.0"
|
|
233781
233781
|
});
|
|
233782
233782
|
return "in_progress";
|
|
233783
233783
|
}
|
|
@@ -233786,7 +233786,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
233786
233786
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
233787
233787
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
233788
233788
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
233789
|
-
currentVersion: "1.
|
|
233789
|
+
currentVersion: "1.13.0"
|
|
233790
233790
|
});
|
|
233791
233791
|
console.error(`
|
|
233792
233792
|
Error: Windows NPM detected in WSL
|
|
@@ -234321,7 +234321,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
234321
234321
|
}
|
|
234322
234322
|
async function getDoctorDiagnostic() {
|
|
234323
234323
|
const installationType = await getCurrentInstallationType();
|
|
234324
|
-
const version2 = typeof MACRO !== "undefined" ? "1.
|
|
234324
|
+
const version2 = typeof MACRO !== "undefined" ? "1.13.0" : "unknown";
|
|
234325
234325
|
const installationPath = await getInstallationPath();
|
|
234326
234326
|
const invokedBinary = getInvokedBinary();
|
|
234327
234327
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -235256,8 +235256,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
235256
235256
|
const maxVersion = await getMaxVersion();
|
|
235257
235257
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
235258
235258
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
235259
|
-
if (gte("1.
|
|
235260
|
-
logForDebugging(`Native installer: current version ${"1.
|
|
235259
|
+
if (gte("1.13.0", maxVersion)) {
|
|
235260
|
+
logForDebugging(`Native installer: current version ${"1.13.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
235261
235261
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
235262
235262
|
latency_ms: Date.now() - startTime,
|
|
235263
235263
|
max_version: maxVersion,
|
|
@@ -235268,7 +235268,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
235268
235268
|
version2 = maxVersion;
|
|
235269
235269
|
}
|
|
235270
235270
|
}
|
|
235271
|
-
if (!forceReinstall && version2 === "1.
|
|
235271
|
+
if (!forceReinstall && version2 === "1.13.0" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
235272
235272
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
235273
235273
|
logEvent("tengu_native_update_complete", {
|
|
235274
235274
|
latency_ms: Date.now() - startTime,
|
|
@@ -329391,7 +329391,7 @@ function Feedback({
|
|
|
329391
329391
|
platform: env3.platform,
|
|
329392
329392
|
gitRepo: envInfo.isGit,
|
|
329393
329393
|
terminal: env3.terminal,
|
|
329394
|
-
version: "1.
|
|
329394
|
+
version: "1.13.0",
|
|
329395
329395
|
transcript: normalizeMessagesForAPI(messages),
|
|
329396
329396
|
errors: sanitizedErrors,
|
|
329397
329397
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -329583,7 +329583,7 @@ function Feedback({
|
|
|
329583
329583
|
", ",
|
|
329584
329584
|
env3.terminal,
|
|
329585
329585
|
", v",
|
|
329586
|
-
"1.
|
|
329586
|
+
"1.13.0"
|
|
329587
329587
|
]
|
|
329588
329588
|
}, undefined, true, undefined, this)
|
|
329589
329589
|
]
|
|
@@ -329689,7 +329689,7 @@ ${sanitizedDescription}
|
|
|
329689
329689
|
` + `**Environment Info**
|
|
329690
329690
|
` + `- Platform: ${env3.platform}
|
|
329691
329691
|
` + `- Terminal: ${env3.terminal}
|
|
329692
|
-
` + `- Version: ${"1.
|
|
329692
|
+
` + `- Version: ${"1.13.0"}
|
|
329693
329693
|
` + `- Feedback ID: ${feedbackId}
|
|
329694
329694
|
` + `
|
|
329695
329695
|
**Errors**
|
|
@@ -332799,7 +332799,7 @@ function buildPrimarySection() {
|
|
|
332799
332799
|
}, undefined, false, undefined, this);
|
|
332800
332800
|
return [{
|
|
332801
332801
|
label: "Version",
|
|
332802
|
-
value: "1.
|
|
332802
|
+
value: "1.13.0"
|
|
332803
332803
|
}, {
|
|
332804
332804
|
label: "Session name",
|
|
332805
332805
|
value: nameValue
|
|
@@ -336077,7 +336077,7 @@ function Config({
|
|
|
336077
336077
|
}
|
|
336078
336078
|
}, undefined, false, undefined, this)
|
|
336079
336079
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
336080
|
-
currentVersion: "1.
|
|
336080
|
+
currentVersion: "1.13.0",
|
|
336081
336081
|
onChoice: (choice) => {
|
|
336082
336082
|
setShowSubmenu(null);
|
|
336083
336083
|
setTabsHidden(false);
|
|
@@ -336089,7 +336089,7 @@ function Config({
|
|
|
336089
336089
|
autoUpdatesChannel: "stable"
|
|
336090
336090
|
};
|
|
336091
336091
|
if (choice === "stay") {
|
|
336092
|
-
newSettings.minimumVersion = "1.
|
|
336092
|
+
newSettings.minimumVersion = "1.13.0";
|
|
336093
336093
|
}
|
|
336094
336094
|
updateSettingsForSource("userSettings", newSettings);
|
|
336095
336095
|
setSettingsData((prev_27) => ({
|
|
@@ -344159,7 +344159,7 @@ function HelpV2(t0) {
|
|
|
344159
344159
|
let t6;
|
|
344160
344160
|
if ($3[31] !== tabs) {
|
|
344161
344161
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
344162
|
-
title: `UR v${"1.
|
|
344162
|
+
title: `UR v${"1.13.0"}`,
|
|
344163
344163
|
color: "professionalBlue",
|
|
344164
344164
|
defaultTab: "general",
|
|
344165
344165
|
children: tabs
|
|
@@ -363762,7 +363762,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
363762
363762
|
return [];
|
|
363763
363763
|
}
|
|
363764
363764
|
}
|
|
363765
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.
|
|
363765
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.13.0") {
|
|
363766
363766
|
if (process.env.USER_TYPE === "ant") {
|
|
363767
363767
|
const changelog = "";
|
|
363768
363768
|
if (changelog) {
|
|
@@ -363789,7 +363789,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.12.3")
|
|
|
363789
363789
|
releaseNotes
|
|
363790
363790
|
};
|
|
363791
363791
|
}
|
|
363792
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.
|
|
363792
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.13.0") {
|
|
363793
363793
|
if (process.env.USER_TYPE === "ant") {
|
|
363794
363794
|
const changelog = "";
|
|
363795
363795
|
if (changelog) {
|
|
@@ -364959,7 +364959,7 @@ function getRecentActivitySync() {
|
|
|
364959
364959
|
return cachedActivity;
|
|
364960
364960
|
}
|
|
364961
364961
|
function getLogoDisplayData() {
|
|
364962
|
-
const version2 = process.env.DEMO_VERSION ?? "1.
|
|
364962
|
+
const version2 = process.env.DEMO_VERSION ?? "1.13.0";
|
|
364963
364963
|
const serverUrl = getDirectConnectServerUrl();
|
|
364964
364964
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
|
|
364965
364965
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -365748,7 +365748,7 @@ function LogoV2() {
|
|
|
365748
365748
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
365749
365749
|
t2 = () => {
|
|
365750
365750
|
const currentConfig = getGlobalConfig();
|
|
365751
|
-
if (currentConfig.lastReleaseNotesSeen === "1.
|
|
365751
|
+
if (currentConfig.lastReleaseNotesSeen === "1.13.0") {
|
|
365752
365752
|
return;
|
|
365753
365753
|
}
|
|
365754
365754
|
saveGlobalConfig(_temp326);
|
|
@@ -366433,12 +366433,12 @@ function LogoV2() {
|
|
|
366433
366433
|
return t41;
|
|
366434
366434
|
}
|
|
366435
366435
|
function _temp326(current) {
|
|
366436
|
-
if (current.lastReleaseNotesSeen === "1.
|
|
366436
|
+
if (current.lastReleaseNotesSeen === "1.13.0") {
|
|
366437
366437
|
return current;
|
|
366438
366438
|
}
|
|
366439
366439
|
return {
|
|
366440
366440
|
...current,
|
|
366441
|
-
lastReleaseNotesSeen: "1.
|
|
366441
|
+
lastReleaseNotesSeen: "1.13.0"
|
|
366442
366442
|
};
|
|
366443
366443
|
}
|
|
366444
366444
|
function _temp243(s_0) {
|
|
@@ -397815,7 +397815,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
397815
397815
|
smapsRollup,
|
|
397816
397816
|
platform: process.platform,
|
|
397817
397817
|
nodeVersion: process.version,
|
|
397818
|
-
ccVersion: "1.
|
|
397818
|
+
ccVersion: "1.13.0"
|
|
397819
397819
|
};
|
|
397820
397820
|
}
|
|
397821
397821
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -398401,7 +398401,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
398401
398401
|
var call102 = async () => {
|
|
398402
398402
|
return {
|
|
398403
398403
|
type: "text",
|
|
398404
|
-
value: "1.
|
|
398404
|
+
value: "1.13.0"
|
|
398405
398405
|
};
|
|
398406
398406
|
}, version2, version_default;
|
|
398407
398407
|
var init_version = __esm(() => {
|
|
@@ -407605,7 +407605,7 @@ function generateHtmlReport(data, insights) {
|
|
|
407605
407605
|
</html>`;
|
|
407606
407606
|
}
|
|
407607
407607
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
407608
|
-
const version3 = typeof MACRO !== "undefined" ? "1.
|
|
407608
|
+
const version3 = typeof MACRO !== "undefined" ? "1.13.0" : "unknown";
|
|
407609
407609
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
407610
407610
|
const facets_summary = {
|
|
407611
407611
|
total: facets.size,
|
|
@@ -411812,7 +411812,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
411812
411812
|
init_settings2();
|
|
411813
411813
|
init_slowOperations();
|
|
411814
411814
|
init_uuid();
|
|
411815
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.
|
|
411815
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.13.0" : "unknown";
|
|
411816
411816
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
411817
411817
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
411818
411818
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -413017,7 +413017,7 @@ var init_filesystem = __esm(() => {
|
|
|
413017
413017
|
});
|
|
413018
413018
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
413019
413019
|
const nonce = randomBytes18(16).toString("hex");
|
|
413020
|
-
return join155(getURTempDir(), "bundled-skills", "1.
|
|
413020
|
+
return join155(getURTempDir(), "bundled-skills", "1.13.0", nonce);
|
|
413021
413021
|
});
|
|
413022
413022
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
413023
413023
|
});
|
|
@@ -419048,7 +419048,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
419048
419048
|
}
|
|
419049
419049
|
function computeFingerprintFromMessages(messages) {
|
|
419050
419050
|
const firstMessageText = extractFirstMessageText(messages);
|
|
419051
|
-
return computeFingerprint(firstMessageText, "1.
|
|
419051
|
+
return computeFingerprint(firstMessageText, "1.13.0");
|
|
419052
419052
|
}
|
|
419053
419053
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
419054
419054
|
var init_fingerprint = () => {};
|
|
@@ -420914,7 +420914,7 @@ async function sideQuery(opts) {
|
|
|
420914
420914
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
420915
420915
|
}
|
|
420916
420916
|
const messageText = extractFirstUserMessageText(messages);
|
|
420917
|
-
const fingerprint = computeFingerprint(messageText, "1.
|
|
420917
|
+
const fingerprint = computeFingerprint(messageText, "1.13.0");
|
|
420918
420918
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
420919
420919
|
const systemBlocks = [
|
|
420920
420920
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -425651,7 +425651,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
425651
425651
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
425652
425652
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
425653
425653
|
betas: getSdkBetas(),
|
|
425654
|
-
ur_version: "1.
|
|
425654
|
+
ur_version: "1.13.0",
|
|
425655
425655
|
output_style: outputStyle2,
|
|
425656
425656
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
425657
425657
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -440279,7 +440279,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
440279
440279
|
function getSemverPart(version3) {
|
|
440280
440280
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
440281
440281
|
}
|
|
440282
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.
|
|
440282
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.13.0") {
|
|
440283
440283
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
440284
440284
|
if (!updatedVersion) {
|
|
440285
440285
|
return null;
|
|
@@ -440319,7 +440319,7 @@ function AutoUpdater({
|
|
|
440319
440319
|
return;
|
|
440320
440320
|
}
|
|
440321
440321
|
if (false) {}
|
|
440322
|
-
const currentVersion = "1.
|
|
440322
|
+
const currentVersion = "1.13.0";
|
|
440323
440323
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
440324
440324
|
let latestVersion = await getLatestVersion(channel);
|
|
440325
440325
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -440532,12 +440532,12 @@ function NativeAutoUpdater({
|
|
|
440532
440532
|
logEvent("tengu_native_auto_updater_start", {});
|
|
440533
440533
|
try {
|
|
440534
440534
|
const maxVersion = await getMaxVersion();
|
|
440535
|
-
if (maxVersion && gt("1.
|
|
440535
|
+
if (maxVersion && gt("1.13.0", maxVersion)) {
|
|
440536
440536
|
const msg = await getMaxVersionMessage();
|
|
440537
440537
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
440538
440538
|
}
|
|
440539
440539
|
const result = await installLatest(channel);
|
|
440540
|
-
const currentVersion = "1.
|
|
440540
|
+
const currentVersion = "1.13.0";
|
|
440541
440541
|
const latencyMs = Date.now() - startTime;
|
|
440542
440542
|
if (result.lockFailed) {
|
|
440543
440543
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -440674,17 +440674,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
440674
440674
|
const maxVersion = await getMaxVersion();
|
|
440675
440675
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
440676
440676
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
440677
|
-
if (gte("1.
|
|
440678
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.
|
|
440677
|
+
if (gte("1.13.0", maxVersion)) {
|
|
440678
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.13.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
440679
440679
|
setUpdateAvailable(false);
|
|
440680
440680
|
return;
|
|
440681
440681
|
}
|
|
440682
440682
|
latest = maxVersion;
|
|
440683
440683
|
}
|
|
440684
|
-
const hasUpdate = latest && !gte("1.
|
|
440684
|
+
const hasUpdate = latest && !gte("1.13.0", latest) && !shouldSkipVersion(latest);
|
|
440685
440685
|
setUpdateAvailable(!!hasUpdate);
|
|
440686
440686
|
if (hasUpdate) {
|
|
440687
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.
|
|
440687
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.13.0"} -> ${latest}`);
|
|
440688
440688
|
}
|
|
440689
440689
|
};
|
|
440690
440690
|
$3[0] = t1;
|
|
@@ -440718,7 +440718,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
440718
440718
|
wrap: "truncate",
|
|
440719
440719
|
children: [
|
|
440720
440720
|
"currentVersion: ",
|
|
440721
|
-
"1.
|
|
440721
|
+
"1.13.0"
|
|
440722
440722
|
]
|
|
440723
440723
|
}, undefined, true, undefined, this);
|
|
440724
440724
|
$3[3] = verbose;
|
|
@@ -453080,7 +453080,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
453080
453080
|
project_dir: getOriginalCwd(),
|
|
453081
453081
|
added_dirs: addedDirs
|
|
453082
453082
|
},
|
|
453083
|
-
version: "1.
|
|
453083
|
+
version: "1.13.0",
|
|
453084
453084
|
output_style: {
|
|
453085
453085
|
name: outputStyleName
|
|
453086
453086
|
},
|
|
@@ -456488,7 +456488,7 @@ function PromptInput({
|
|
|
456488
456488
|
onImagePaste(imageData.base64, imageData.mediaType);
|
|
456489
456489
|
} else {
|
|
456490
456490
|
const shortcutDisplay = getShortcutDisplay("chat:imagePaste", "Chat", "ctrl+v");
|
|
456491
|
-
const message = env3.isSSH() ? "No image found in clipboard. You're SSH'd; try scp?" : `No image found in clipboard.
|
|
456491
|
+
const message = env3.isSSH() ? "No image found in clipboard. You're SSH'd; try scp?" : `No image found in clipboard. Copy an image (e.g. a screenshot) first, then press ${shortcutDisplay} to paste it.`;
|
|
456492
456492
|
addNotification({
|
|
456493
456493
|
key: "no-image-in-clipboard",
|
|
456494
456494
|
text: message,
|
|
@@ -464576,7 +464576,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
464576
464576
|
} catch {}
|
|
464577
464577
|
const data = {
|
|
464578
464578
|
trigger,
|
|
464579
|
-
version: "1.
|
|
464579
|
+
version: "1.13.0",
|
|
464580
464580
|
platform: process.platform,
|
|
464581
464581
|
transcript,
|
|
464582
464582
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -476491,7 +476491,7 @@ function WelcomeV2() {
|
|
|
476491
476491
|
dimColor: true,
|
|
476492
476492
|
children: [
|
|
476493
476493
|
"v",
|
|
476494
|
-
"1.
|
|
476494
|
+
"1.13.0"
|
|
476495
476495
|
]
|
|
476496
476496
|
}, undefined, true, undefined, this)
|
|
476497
476497
|
]
|
|
@@ -477751,7 +477751,7 @@ function completeOnboarding() {
|
|
|
477751
477751
|
saveGlobalConfig((current) => ({
|
|
477752
477752
|
...current,
|
|
477753
477753
|
hasCompletedOnboarding: true,
|
|
477754
|
-
lastOnboardingVersion: "1.
|
|
477754
|
+
lastOnboardingVersion: "1.13.0"
|
|
477755
477755
|
}));
|
|
477756
477756
|
}
|
|
477757
477757
|
function showDialog(root2, renderer) {
|
|
@@ -482211,7 +482211,7 @@ function appendToLog(path24, message) {
|
|
|
482211
482211
|
cwd: getFsImplementation().cwd(),
|
|
482212
482212
|
userType: process.env.USER_TYPE,
|
|
482213
482213
|
sessionId: getSessionId(),
|
|
482214
|
-
version: "1.
|
|
482214
|
+
version: "1.13.0"
|
|
482215
482215
|
};
|
|
482216
482216
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
482217
482217
|
}
|
|
@@ -486237,8 +486237,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
486237
486237
|
}
|
|
486238
486238
|
async function checkEnvLessBridgeMinVersion() {
|
|
486239
486239
|
const cfg = await getEnvLessBridgeConfig();
|
|
486240
|
-
if (cfg.min_version && lt("1.
|
|
486241
|
-
return `Your version of UR (${"1.
|
|
486240
|
+
if (cfg.min_version && lt("1.13.0", cfg.min_version)) {
|
|
486241
|
+
return `Your version of UR (${"1.13.0"}) is too old for Remote Control.
|
|
486242
486242
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
486243
486243
|
}
|
|
486244
486244
|
return null;
|
|
@@ -486712,7 +486712,7 @@ async function initBridgeCore(params) {
|
|
|
486712
486712
|
const rawApi = createBridgeApiClient({
|
|
486713
486713
|
baseUrl,
|
|
486714
486714
|
getAccessToken,
|
|
486715
|
-
runnerVersion: "1.
|
|
486715
|
+
runnerVersion: "1.13.0",
|
|
486716
486716
|
onDebug: logForDebugging,
|
|
486717
486717
|
onAuth401,
|
|
486718
486718
|
getTrustedDeviceToken
|
|
@@ -492377,7 +492377,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
492377
492377
|
setCwd(cwd3);
|
|
492378
492378
|
const server = new Server({
|
|
492379
492379
|
name: "ur/tengu",
|
|
492380
|
-
version: "1.
|
|
492380
|
+
version: "1.13.0"
|
|
492381
492381
|
}, {
|
|
492382
492382
|
capabilities: {
|
|
492383
492383
|
tools: {}
|
|
@@ -493988,7 +493988,7 @@ __export(exports_update, {
|
|
|
493988
493988
|
});
|
|
493989
493989
|
async function update() {
|
|
493990
493990
|
logEvent("tengu_update_check", {});
|
|
493991
|
-
writeToStdout(`Current version: ${"1.
|
|
493991
|
+
writeToStdout(`Current version: ${"1.13.0"}
|
|
493992
493992
|
`);
|
|
493993
493993
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
493994
493994
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -494063,8 +494063,8 @@ async function update() {
|
|
|
494063
494063
|
writeToStdout(`UR is managed by Homebrew.
|
|
494064
494064
|
`);
|
|
494065
494065
|
const latest = await getLatestVersion(channel);
|
|
494066
|
-
if (latest && !gte("1.
|
|
494067
|
-
writeToStdout(`Update available: ${"1.
|
|
494066
|
+
if (latest && !gte("1.13.0", latest)) {
|
|
494067
|
+
writeToStdout(`Update available: ${"1.13.0"} \u2192 ${latest}
|
|
494068
494068
|
`);
|
|
494069
494069
|
writeToStdout(`
|
|
494070
494070
|
`);
|
|
@@ -494080,8 +494080,8 @@ async function update() {
|
|
|
494080
494080
|
writeToStdout(`UR is managed by winget.
|
|
494081
494081
|
`);
|
|
494082
494082
|
const latest = await getLatestVersion(channel);
|
|
494083
|
-
if (latest && !gte("1.
|
|
494084
|
-
writeToStdout(`Update available: ${"1.
|
|
494083
|
+
if (latest && !gte("1.13.0", latest)) {
|
|
494084
|
+
writeToStdout(`Update available: ${"1.13.0"} \u2192 ${latest}
|
|
494085
494085
|
`);
|
|
494086
494086
|
writeToStdout(`
|
|
494087
494087
|
`);
|
|
@@ -494097,8 +494097,8 @@ async function update() {
|
|
|
494097
494097
|
writeToStdout(`UR is managed by apk.
|
|
494098
494098
|
`);
|
|
494099
494099
|
const latest = await getLatestVersion(channel);
|
|
494100
|
-
if (latest && !gte("1.
|
|
494101
|
-
writeToStdout(`Update available: ${"1.
|
|
494100
|
+
if (latest && !gte("1.13.0", latest)) {
|
|
494101
|
+
writeToStdout(`Update available: ${"1.13.0"} \u2192 ${latest}
|
|
494102
494102
|
`);
|
|
494103
494103
|
writeToStdout(`
|
|
494104
494104
|
`);
|
|
@@ -494163,11 +494163,11 @@ async function update() {
|
|
|
494163
494163
|
`);
|
|
494164
494164
|
await gracefulShutdown(1);
|
|
494165
494165
|
}
|
|
494166
|
-
if (result.latestVersion === "1.
|
|
494167
|
-
writeToStdout(source_default.green(`UR is up to date (${"1.
|
|
494166
|
+
if (result.latestVersion === "1.13.0") {
|
|
494167
|
+
writeToStdout(source_default.green(`UR is up to date (${"1.13.0"})`) + `
|
|
494168
494168
|
`);
|
|
494169
494169
|
} else {
|
|
494170
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.
|
|
494170
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.13.0"} to version ${result.latestVersion}`) + `
|
|
494171
494171
|
`);
|
|
494172
494172
|
await regenerateCompletionCache();
|
|
494173
494173
|
}
|
|
@@ -494227,12 +494227,12 @@ async function update() {
|
|
|
494227
494227
|
`);
|
|
494228
494228
|
await gracefulShutdown(1);
|
|
494229
494229
|
}
|
|
494230
|
-
if (latestVersion === "1.
|
|
494231
|
-
writeToStdout(source_default.green(`UR is up to date (${"1.
|
|
494230
|
+
if (latestVersion === "1.13.0") {
|
|
494231
|
+
writeToStdout(source_default.green(`UR is up to date (${"1.13.0"})`) + `
|
|
494232
494232
|
`);
|
|
494233
494233
|
await gracefulShutdown(0);
|
|
494234
494234
|
}
|
|
494235
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.
|
|
494235
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.13.0"})
|
|
494236
494236
|
`);
|
|
494237
494237
|
writeToStdout(`Installing update...
|
|
494238
494238
|
`);
|
|
@@ -494277,7 +494277,7 @@ async function update() {
|
|
|
494277
494277
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
494278
494278
|
switch (status2) {
|
|
494279
494279
|
case "success":
|
|
494280
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.
|
|
494280
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.13.0"} to version ${latestVersion}`) + `
|
|
494281
494281
|
`);
|
|
494282
494282
|
await regenerateCompletionCache();
|
|
494283
494283
|
break;
|
|
@@ -495527,7 +495527,7 @@ ${customInstructions}` : customInstructions;
|
|
|
495527
495527
|
}
|
|
495528
495528
|
}
|
|
495529
495529
|
logForDiagnosticsNoPII("info", "started", {
|
|
495530
|
-
version: "1.
|
|
495530
|
+
version: "1.13.0",
|
|
495531
495531
|
is_native_binary: isInBundledMode()
|
|
495532
495532
|
});
|
|
495533
495533
|
registerCleanup(async () => {
|
|
@@ -496311,7 +496311,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
496311
496311
|
pendingHookMessages
|
|
496312
496312
|
}, renderAndRun);
|
|
496313
496313
|
}
|
|
496314
|
-
}).version("1.
|
|
496314
|
+
}).version("1.13.0 (Ur)", "-v, --version", "Output the version number");
|
|
496315
496315
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
496316
496316
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
496317
496317
|
if (canUserConfigureAdvisor()) {
|
|
@@ -496902,7 +496902,7 @@ if (false) {}
|
|
|
496902
496902
|
async function main2() {
|
|
496903
496903
|
const args = process.argv.slice(2);
|
|
496904
496904
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
496905
|
-
console.log(`${"1.
|
|
496905
|
+
console.log(`${"1.13.0"} (Ur)`);
|
|
496906
496906
|
return;
|
|
496907
496907
|
}
|
|
496908
496908
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|
package/docs/VALIDATION.md
CHANGED