ur-agent 1.30.1 → 1.30.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 +70 -69
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.30.2
|
|
4
|
+
|
|
5
|
+
- Fix Codex subscription dispatch failing with `exited 1 ... Reading additional
|
|
6
|
+
input from stdin`. `codex exec` reads stdin even when the prompt is an
|
|
7
|
+
argument; UR now gives it a closed, empty stdin pipe (EOF) instead of
|
|
8
|
+
`/dev/null`, so a logged-in Codex CLI runs correctly. Other subscription CLIs
|
|
9
|
+
are unchanged (prompt as argument, stdin ignored).
|
|
10
|
+
|
|
3
11
|
## 1.30.1
|
|
4
12
|
|
|
5
13
|
- Fix Codex CLI runtime dispatch by ignoring stdin when UR already passes the
|
package/dist/cli.js
CHANGED
|
@@ -56823,6 +56823,7 @@ function createURHQSubscriptionClient(providerId, options) {
|
|
|
56823
56823
|
}
|
|
56824
56824
|
const prompt = messagesToPrompt(params);
|
|
56825
56825
|
const result = await run(options.commandPath, spec.args(model, prompt), {
|
|
56826
|
+
input: spec.stdin === "close" ? "" : undefined,
|
|
56826
56827
|
signal: requestOptions?.signal,
|
|
56827
56828
|
timeoutMs: options.timeoutMs ?? 120000
|
|
56828
56829
|
});
|
|
@@ -57036,7 +57037,7 @@ var CLI_SPECS, defaultRunner = (command, args, options) => new Promise((resolve8
|
|
|
57036
57037
|
var init_urhqSubscription = __esm(() => {
|
|
57037
57038
|
init_streamingAdapters();
|
|
57038
57039
|
CLI_SPECS = {
|
|
57039
|
-
"codex-cli": { args: (model, prompt) => ["exec", "--model", model, prompt] },
|
|
57040
|
+
"codex-cli": { args: (model, prompt) => ["exec", "--model", model, prompt], stdin: "close" },
|
|
57040
57041
|
"claude-code-cli": {
|
|
57041
57042
|
args: (model, prompt) => ["-p", prompt, "--model", model, "--output-format", "json"]
|
|
57042
57043
|
},
|
|
@@ -69309,7 +69310,7 @@ var init_auth = __esm(() => {
|
|
|
69309
69310
|
|
|
69310
69311
|
// src/utils/userAgent.ts
|
|
69311
69312
|
function getURCodeUserAgent() {
|
|
69312
|
-
return `ur/${"1.30.
|
|
69313
|
+
return `ur/${"1.30.2"}`;
|
|
69313
69314
|
}
|
|
69314
69315
|
|
|
69315
69316
|
// src/utils/workloadContext.ts
|
|
@@ -69331,7 +69332,7 @@ function getUserAgent() {
|
|
|
69331
69332
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
69332
69333
|
const workload = getWorkload();
|
|
69333
69334
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
69334
|
-
return `ur-cli/${"1.30.
|
|
69335
|
+
return `ur-cli/${"1.30.2"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
69335
69336
|
}
|
|
69336
69337
|
function getMCPUserAgent() {
|
|
69337
69338
|
const parts = [];
|
|
@@ -69345,7 +69346,7 @@ function getMCPUserAgent() {
|
|
|
69345
69346
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
69346
69347
|
}
|
|
69347
69348
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
69348
|
-
return `ur/${"1.30.
|
|
69349
|
+
return `ur/${"1.30.2"}${suffix}`;
|
|
69349
69350
|
}
|
|
69350
69351
|
function getWebFetchUserAgent() {
|
|
69351
69352
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -69483,7 +69484,7 @@ var init_user = __esm(() => {
|
|
|
69483
69484
|
deviceId,
|
|
69484
69485
|
sessionId: getSessionId(),
|
|
69485
69486
|
email: getEmail(),
|
|
69486
|
-
appVersion: "1.30.
|
|
69487
|
+
appVersion: "1.30.2",
|
|
69487
69488
|
platform: getHostPlatformForAnalytics(),
|
|
69488
69489
|
organizationUuid,
|
|
69489
69490
|
accountUuid,
|
|
@@ -76000,7 +76001,7 @@ var init_metadata = __esm(() => {
|
|
|
76000
76001
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
76001
76002
|
WHITESPACE_REGEX = /\s+/;
|
|
76002
76003
|
getVersionBase = memoize_default(() => {
|
|
76003
|
-
const match = "1.30.
|
|
76004
|
+
const match = "1.30.2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
76004
76005
|
return match ? match[0] : undefined;
|
|
76005
76006
|
});
|
|
76006
76007
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -76040,7 +76041,7 @@ var init_metadata = __esm(() => {
|
|
|
76040
76041
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
76041
76042
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
76042
76043
|
isURAiAuth: isURAISubscriber2(),
|
|
76043
|
-
version: "1.30.
|
|
76044
|
+
version: "1.30.2",
|
|
76044
76045
|
versionBase: getVersionBase(),
|
|
76045
76046
|
buildTime: "",
|
|
76046
76047
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -76710,7 +76711,7 @@ function initialize1PEventLogging() {
|
|
|
76710
76711
|
const platform2 = getPlatform();
|
|
76711
76712
|
const attributes = {
|
|
76712
76713
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
76713
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.30.
|
|
76714
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.30.2"
|
|
76714
76715
|
};
|
|
76715
76716
|
if (platform2 === "wsl") {
|
|
76716
76717
|
const wslVersion = getWslVersion();
|
|
@@ -76737,7 +76738,7 @@ function initialize1PEventLogging() {
|
|
|
76737
76738
|
})
|
|
76738
76739
|
]
|
|
76739
76740
|
});
|
|
76740
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.30.
|
|
76741
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.30.2");
|
|
76741
76742
|
}
|
|
76742
76743
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
76743
76744
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -82034,7 +82035,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
82034
82035
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
82035
82036
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
82036
82037
|
}
|
|
82037
|
-
var urVersion = "1.30.
|
|
82038
|
+
var urVersion = "1.30.2", coverage, priorityRoadmap;
|
|
82038
82039
|
var init_trends = __esm(() => {
|
|
82039
82040
|
coverage = [
|
|
82040
82041
|
{
|
|
@@ -84027,7 +84028,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
84027
84028
|
if (!isAttributionHeaderEnabled()) {
|
|
84028
84029
|
return "";
|
|
84029
84030
|
}
|
|
84030
|
-
const version2 = `${"1.30.
|
|
84031
|
+
const version2 = `${"1.30.2"}.${fingerprint}`;
|
|
84031
84032
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
84032
84033
|
const cch = "";
|
|
84033
84034
|
const workload = getWorkload();
|
|
@@ -191700,7 +191701,7 @@ function getTelemetryAttributes() {
|
|
|
191700
191701
|
attributes["session.id"] = sessionId;
|
|
191701
191702
|
}
|
|
191702
191703
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
191703
|
-
attributes["app.version"] = "1.30.
|
|
191704
|
+
attributes["app.version"] = "1.30.2";
|
|
191704
191705
|
}
|
|
191705
191706
|
const oauthAccount = getOauthAccountInfo();
|
|
191706
191707
|
if (oauthAccount) {
|
|
@@ -227105,7 +227106,7 @@ function getInstallationEnv() {
|
|
|
227105
227106
|
return;
|
|
227106
227107
|
}
|
|
227107
227108
|
function getURCodeVersion() {
|
|
227108
|
-
return "1.30.
|
|
227109
|
+
return "1.30.2";
|
|
227109
227110
|
}
|
|
227110
227111
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
227111
227112
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -229944,7 +229945,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
229944
229945
|
const client2 = new Client({
|
|
229945
229946
|
name: "ur",
|
|
229946
229947
|
title: "UR",
|
|
229947
|
-
version: "1.30.
|
|
229948
|
+
version: "1.30.2",
|
|
229948
229949
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
229949
229950
|
websiteUrl: PRODUCT_URL
|
|
229950
229951
|
}, {
|
|
@@ -230298,7 +230299,7 @@ var init_client5 = __esm(() => {
|
|
|
230298
230299
|
const client2 = new Client({
|
|
230299
230300
|
name: "ur",
|
|
230300
230301
|
title: "UR",
|
|
230301
|
-
version: "1.30.
|
|
230302
|
+
version: "1.30.2",
|
|
230302
230303
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
230303
230304
|
websiteUrl: PRODUCT_URL
|
|
230304
230305
|
}, {
|
|
@@ -240114,9 +240115,9 @@ async function assertMinVersion() {
|
|
|
240114
240115
|
if (false) {}
|
|
240115
240116
|
try {
|
|
240116
240117
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
240117
|
-
if (versionConfig.minVersion && lt("1.30.
|
|
240118
|
+
if (versionConfig.minVersion && lt("1.30.2", versionConfig.minVersion)) {
|
|
240118
240119
|
console.error(`
|
|
240119
|
-
It looks like your version of UR (${"1.30.
|
|
240120
|
+
It looks like your version of UR (${"1.30.2"}) needs an update.
|
|
240120
240121
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
240121
240122
|
|
|
240122
240123
|
To update, please run:
|
|
@@ -240332,7 +240333,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
240332
240333
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
240333
240334
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
240334
240335
|
pid: process.pid,
|
|
240335
|
-
currentVersion: "1.30.
|
|
240336
|
+
currentVersion: "1.30.2"
|
|
240336
240337
|
});
|
|
240337
240338
|
return "in_progress";
|
|
240338
240339
|
}
|
|
@@ -240341,7 +240342,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
240341
240342
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
240342
240343
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
240343
240344
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
240344
|
-
currentVersion: "1.30.
|
|
240345
|
+
currentVersion: "1.30.2"
|
|
240345
240346
|
});
|
|
240346
240347
|
console.error(`
|
|
240347
240348
|
Error: Windows NPM detected in WSL
|
|
@@ -240876,7 +240877,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
240876
240877
|
}
|
|
240877
240878
|
async function getDoctorDiagnostic() {
|
|
240878
240879
|
const installationType = await getCurrentInstallationType();
|
|
240879
|
-
const version2 = typeof MACRO !== "undefined" ? "1.30.
|
|
240880
|
+
const version2 = typeof MACRO !== "undefined" ? "1.30.2" : "unknown";
|
|
240880
240881
|
const installationPath = await getInstallationPath();
|
|
240881
240882
|
const invokedBinary = getInvokedBinary();
|
|
240882
240883
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -241811,8 +241812,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
241811
241812
|
const maxVersion = await getMaxVersion();
|
|
241812
241813
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
241813
241814
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
241814
|
-
if (gte("1.30.
|
|
241815
|
-
logForDebugging(`Native installer: current version ${"1.30.
|
|
241815
|
+
if (gte("1.30.2", maxVersion)) {
|
|
241816
|
+
logForDebugging(`Native installer: current version ${"1.30.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
241816
241817
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
241817
241818
|
latency_ms: Date.now() - startTime,
|
|
241818
241819
|
max_version: maxVersion,
|
|
@@ -241823,7 +241824,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
241823
241824
|
version2 = maxVersion;
|
|
241824
241825
|
}
|
|
241825
241826
|
}
|
|
241826
|
-
if (!forceReinstall && version2 === "1.30.
|
|
241827
|
+
if (!forceReinstall && version2 === "1.30.2" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
241827
241828
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
241828
241829
|
logEvent("tengu_native_update_complete", {
|
|
241829
241830
|
latency_ms: Date.now() - startTime,
|
|
@@ -338750,7 +338751,7 @@ function Feedback({
|
|
|
338750
338751
|
platform: env2.platform,
|
|
338751
338752
|
gitRepo: envInfo.isGit,
|
|
338752
338753
|
terminal: env2.terminal,
|
|
338753
|
-
version: "1.30.
|
|
338754
|
+
version: "1.30.2",
|
|
338754
338755
|
transcript: normalizeMessagesForAPI(messages),
|
|
338755
338756
|
errors: sanitizedErrors,
|
|
338756
338757
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -338942,7 +338943,7 @@ function Feedback({
|
|
|
338942
338943
|
", ",
|
|
338943
338944
|
env2.terminal,
|
|
338944
338945
|
", v",
|
|
338945
|
-
"1.30.
|
|
338946
|
+
"1.30.2"
|
|
338946
338947
|
]
|
|
338947
338948
|
}, undefined, true, undefined, this)
|
|
338948
338949
|
]
|
|
@@ -339048,7 +339049,7 @@ ${sanitizedDescription}
|
|
|
339048
339049
|
` + `**Environment Info**
|
|
339049
339050
|
` + `- Platform: ${env2.platform}
|
|
339050
339051
|
` + `- Terminal: ${env2.terminal}
|
|
339051
|
-
` + `- Version: ${"1.30.
|
|
339052
|
+
` + `- Version: ${"1.30.2"}
|
|
339052
339053
|
` + `- Feedback ID: ${feedbackId}
|
|
339053
339054
|
` + `
|
|
339054
339055
|
**Errors**
|
|
@@ -342159,7 +342160,7 @@ function buildPrimarySection() {
|
|
|
342159
342160
|
}, undefined, false, undefined, this);
|
|
342160
342161
|
return [{
|
|
342161
342162
|
label: "Version",
|
|
342162
|
-
value: "1.30.
|
|
342163
|
+
value: "1.30.2"
|
|
342163
342164
|
}, {
|
|
342164
342165
|
label: "Session name",
|
|
342165
342166
|
value: nameValue
|
|
@@ -345459,7 +345460,7 @@ function Config({
|
|
|
345459
345460
|
}
|
|
345460
345461
|
}, undefined, false, undefined, this)
|
|
345461
345462
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
345462
|
-
currentVersion: "1.30.
|
|
345463
|
+
currentVersion: "1.30.2",
|
|
345463
345464
|
onChoice: (choice) => {
|
|
345464
345465
|
setShowSubmenu(null);
|
|
345465
345466
|
setTabsHidden(false);
|
|
@@ -345471,7 +345472,7 @@ function Config({
|
|
|
345471
345472
|
autoUpdatesChannel: "stable"
|
|
345472
345473
|
};
|
|
345473
345474
|
if (choice === "stay") {
|
|
345474
|
-
newSettings.minimumVersion = "1.30.
|
|
345475
|
+
newSettings.minimumVersion = "1.30.2";
|
|
345475
345476
|
}
|
|
345476
345477
|
updateSettingsForSource("userSettings", newSettings);
|
|
345477
345478
|
setSettingsData((prev_27) => ({
|
|
@@ -353541,7 +353542,7 @@ function HelpV2(t0) {
|
|
|
353541
353542
|
let t6;
|
|
353542
353543
|
if ($3[31] !== tabs) {
|
|
353543
353544
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
353544
|
-
title: `UR v${"1.30.
|
|
353545
|
+
title: `UR v${"1.30.2"}`,
|
|
353545
353546
|
color: "professionalBlue",
|
|
353546
353547
|
defaultTab: "general",
|
|
353547
353548
|
children: tabs
|
|
@@ -354287,7 +354288,7 @@ function buildToolUseContext(tools, readFileStateCache) {
|
|
|
354287
354288
|
async function handleInitialize(options2) {
|
|
354288
354289
|
return {
|
|
354289
354290
|
name: "ur-agent",
|
|
354290
|
-
version: "1.30.
|
|
354291
|
+
version: "1.30.2",
|
|
354291
354292
|
protocolVersion: "0.1.0",
|
|
354292
354293
|
workspaceRoot: options2.cwd,
|
|
354293
354294
|
capabilities: {
|
|
@@ -374411,7 +374412,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
374411
374412
|
return [];
|
|
374412
374413
|
}
|
|
374413
374414
|
}
|
|
374414
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.30.
|
|
374415
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.30.2") {
|
|
374415
374416
|
if (process.env.USER_TYPE === "ant") {
|
|
374416
374417
|
const changelog = "";
|
|
374417
374418
|
if (changelog) {
|
|
@@ -374438,7 +374439,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.30.1")
|
|
|
374438
374439
|
releaseNotes
|
|
374439
374440
|
};
|
|
374440
374441
|
}
|
|
374441
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.30.
|
|
374442
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.30.2") {
|
|
374442
374443
|
if (process.env.USER_TYPE === "ant") {
|
|
374443
374444
|
const changelog = "";
|
|
374444
374445
|
if (changelog) {
|
|
@@ -375608,7 +375609,7 @@ function getRecentActivitySync() {
|
|
|
375608
375609
|
return cachedActivity;
|
|
375609
375610
|
}
|
|
375610
375611
|
function getLogoDisplayData() {
|
|
375611
|
-
const version2 = process.env.DEMO_VERSION ?? "1.30.
|
|
375612
|
+
const version2 = process.env.DEMO_VERSION ?? "1.30.2";
|
|
375612
375613
|
const serverUrl = getDirectConnectServerUrl();
|
|
375613
375614
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
|
|
375614
375615
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -376397,7 +376398,7 @@ function LogoV2() {
|
|
|
376397
376398
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
376398
376399
|
t2 = () => {
|
|
376399
376400
|
const currentConfig = getGlobalConfig();
|
|
376400
|
-
if (currentConfig.lastReleaseNotesSeen === "1.30.
|
|
376401
|
+
if (currentConfig.lastReleaseNotesSeen === "1.30.2") {
|
|
376401
376402
|
return;
|
|
376402
376403
|
}
|
|
376403
376404
|
saveGlobalConfig(_temp326);
|
|
@@ -377082,12 +377083,12 @@ function LogoV2() {
|
|
|
377082
377083
|
return t41;
|
|
377083
377084
|
}
|
|
377084
377085
|
function _temp326(current) {
|
|
377085
|
-
if (current.lastReleaseNotesSeen === "1.30.
|
|
377086
|
+
if (current.lastReleaseNotesSeen === "1.30.2") {
|
|
377086
377087
|
return current;
|
|
377087
377088
|
}
|
|
377088
377089
|
return {
|
|
377089
377090
|
...current,
|
|
377090
|
-
lastReleaseNotesSeen: "1.30.
|
|
377091
|
+
lastReleaseNotesSeen: "1.30.2"
|
|
377091
377092
|
};
|
|
377092
377093
|
}
|
|
377093
377094
|
function _temp243(s_0) {
|
|
@@ -407268,7 +407269,7 @@ var init_code_index2 = __esm(() => {
|
|
|
407268
407269
|
|
|
407269
407270
|
// node_modules/typescript/lib/typescript.js
|
|
407270
407271
|
var require_typescript2 = __commonJS((exports, module) => {
|
|
407271
|
-
var __dirname = "/
|
|
407272
|
+
var __dirname = "/sessions/confident-pensive-edison/mnt/UR-1.19.0/node_modules/typescript/lib", __filename = "/sessions/confident-pensive-edison/mnt/UR-1.19.0/node_modules/typescript/lib/typescript.js";
|
|
407272
407273
|
/*! *****************************************************************************
|
|
407273
407274
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
407274
407275
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
@@ -592802,7 +592803,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
592802
592803
|
smapsRollup,
|
|
592803
592804
|
platform: process.platform,
|
|
592804
592805
|
nodeVersion: process.version,
|
|
592805
|
-
ccVersion: "1.30.
|
|
592806
|
+
ccVersion: "1.30.2"
|
|
592806
592807
|
};
|
|
592807
592808
|
}
|
|
592808
592809
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -593388,7 +593389,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
593388
593389
|
var call136 = async () => {
|
|
593389
593390
|
return {
|
|
593390
593391
|
type: "text",
|
|
593391
|
-
value: "1.30.
|
|
593392
|
+
value: "1.30.2"
|
|
593392
593393
|
};
|
|
593393
593394
|
}, version2, version_default;
|
|
593394
593395
|
var init_version = __esm(() => {
|
|
@@ -603305,7 +603306,7 @@ function generateHtmlReport(data, insights) {
|
|
|
603305
603306
|
</html>`;
|
|
603306
603307
|
}
|
|
603307
603308
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
603308
|
-
const version3 = typeof MACRO !== "undefined" ? "1.30.
|
|
603309
|
+
const version3 = typeof MACRO !== "undefined" ? "1.30.2" : "unknown";
|
|
603309
603310
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
603310
603311
|
const facets_summary = {
|
|
603311
603312
|
total: facets.size,
|
|
@@ -607583,7 +607584,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
607583
607584
|
init_settings2();
|
|
607584
607585
|
init_slowOperations();
|
|
607585
607586
|
init_uuid();
|
|
607586
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.30.
|
|
607587
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.30.2" : "unknown";
|
|
607587
607588
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
607588
607589
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
607589
607590
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -608788,7 +608789,7 @@ var init_filesystem = __esm(() => {
|
|
|
608788
608789
|
});
|
|
608789
608790
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
608790
608791
|
const nonce = randomBytes18(16).toString("hex");
|
|
608791
|
-
return join200(getURTempDir(), "bundled-skills", "1.30.
|
|
608792
|
+
return join200(getURTempDir(), "bundled-skills", "1.30.2", nonce);
|
|
608792
608793
|
});
|
|
608793
608794
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
608794
608795
|
});
|
|
@@ -615085,7 +615086,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
615085
615086
|
}
|
|
615086
615087
|
function computeFingerprintFromMessages(messages) {
|
|
615087
615088
|
const firstMessageText = extractFirstMessageText(messages);
|
|
615088
|
-
return computeFingerprint(firstMessageText, "1.30.
|
|
615089
|
+
return computeFingerprint(firstMessageText, "1.30.2");
|
|
615089
615090
|
}
|
|
615090
615091
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
615091
615092
|
var init_fingerprint = () => {};
|
|
@@ -616952,7 +616953,7 @@ async function sideQuery(opts) {
|
|
|
616952
616953
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
616953
616954
|
}
|
|
616954
616955
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
616955
|
-
const fingerprint = computeFingerprint(messageText2, "1.30.
|
|
616956
|
+
const fingerprint = computeFingerprint(messageText2, "1.30.2");
|
|
616956
616957
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
616957
616958
|
const systemBlocks = [
|
|
616958
616959
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -621689,7 +621690,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
621689
621690
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
621690
621691
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
621691
621692
|
betas: getSdkBetas(),
|
|
621692
|
-
ur_version: "1.30.
|
|
621693
|
+
ur_version: "1.30.2",
|
|
621693
621694
|
output_style: outputStyle2,
|
|
621694
621695
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
621695
621696
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -636317,7 +636318,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
636317
636318
|
function getSemverPart(version3) {
|
|
636318
636319
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
636319
636320
|
}
|
|
636320
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.30.
|
|
636321
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.30.2") {
|
|
636321
636322
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
636322
636323
|
if (!updatedVersion) {
|
|
636323
636324
|
return null;
|
|
@@ -636366,7 +636367,7 @@ function AutoUpdater({
|
|
|
636366
636367
|
return;
|
|
636367
636368
|
}
|
|
636368
636369
|
if (false) {}
|
|
636369
|
-
const currentVersion = "1.30.
|
|
636370
|
+
const currentVersion = "1.30.2";
|
|
636370
636371
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
636371
636372
|
let latestVersion = await getLatestVersion(channel);
|
|
636372
636373
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -636595,12 +636596,12 @@ function NativeAutoUpdater({
|
|
|
636595
636596
|
logEvent("tengu_native_auto_updater_start", {});
|
|
636596
636597
|
try {
|
|
636597
636598
|
const maxVersion = await getMaxVersion();
|
|
636598
|
-
if (maxVersion && gt("1.30.
|
|
636599
|
+
if (maxVersion && gt("1.30.2", maxVersion)) {
|
|
636599
636600
|
const msg = await getMaxVersionMessage();
|
|
636600
636601
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
636601
636602
|
}
|
|
636602
636603
|
const result = await installLatest(channel);
|
|
636603
|
-
const currentVersion = "1.30.
|
|
636604
|
+
const currentVersion = "1.30.2";
|
|
636604
636605
|
const latencyMs = Date.now() - startTime;
|
|
636605
636606
|
if (result.lockFailed) {
|
|
636606
636607
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -636737,17 +636738,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
636737
636738
|
const maxVersion = await getMaxVersion();
|
|
636738
636739
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
636739
636740
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
636740
|
-
if (gte("1.30.
|
|
636741
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.30.
|
|
636741
|
+
if (gte("1.30.2", maxVersion)) {
|
|
636742
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.30.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
636742
636743
|
setUpdateAvailable(false);
|
|
636743
636744
|
return;
|
|
636744
636745
|
}
|
|
636745
636746
|
latest = maxVersion;
|
|
636746
636747
|
}
|
|
636747
|
-
const hasUpdate = latest && !gte("1.30.
|
|
636748
|
+
const hasUpdate = latest && !gte("1.30.2", latest) && !shouldSkipVersion(latest);
|
|
636748
636749
|
setUpdateAvailable(!!hasUpdate);
|
|
636749
636750
|
if (hasUpdate) {
|
|
636750
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.30.
|
|
636751
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.30.2"} -> ${latest}`);
|
|
636751
636752
|
}
|
|
636752
636753
|
};
|
|
636753
636754
|
$3[0] = t1;
|
|
@@ -636781,7 +636782,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
636781
636782
|
wrap: "truncate",
|
|
636782
636783
|
children: [
|
|
636783
636784
|
"currentVersion: ",
|
|
636784
|
-
"1.30.
|
|
636785
|
+
"1.30.2"
|
|
636785
636786
|
]
|
|
636786
636787
|
}, undefined, true, undefined, this);
|
|
636787
636788
|
$3[3] = verbose;
|
|
@@ -649238,7 +649239,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
649238
649239
|
project_dir: getOriginalCwd(),
|
|
649239
649240
|
added_dirs: addedDirs
|
|
649240
649241
|
},
|
|
649241
|
-
version: "1.30.
|
|
649242
|
+
version: "1.30.2",
|
|
649242
649243
|
output_style: {
|
|
649243
649244
|
name: outputStyleName
|
|
649244
649245
|
},
|
|
@@ -649321,7 +649322,7 @@ function StatusLineInner({
|
|
|
649321
649322
|
const taskValues = Object.values(tasks2);
|
|
649322
649323
|
const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
|
|
649323
649324
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
649324
|
-
version: "1.30.
|
|
649325
|
+
version: "1.30.2",
|
|
649325
649326
|
providerLabel: providerRuntime.providerLabel,
|
|
649326
649327
|
authMode: providerRuntime.authLabel,
|
|
649327
649328
|
model: providerRuntime.model ?? renderModelName(mainLoopModel),
|
|
@@ -660809,7 +660810,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
660809
660810
|
} catch {}
|
|
660810
660811
|
const data = {
|
|
660811
660812
|
trigger: trigger2,
|
|
660812
|
-
version: "1.30.
|
|
660813
|
+
version: "1.30.2",
|
|
660813
660814
|
platform: process.platform,
|
|
660814
660815
|
transcript,
|
|
660815
660816
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -672693,7 +672694,7 @@ function WelcomeV2() {
|
|
|
672693
672694
|
dimColor: true,
|
|
672694
672695
|
children: [
|
|
672695
672696
|
"v",
|
|
672696
|
-
"1.30.
|
|
672697
|
+
"1.30.2"
|
|
672697
672698
|
]
|
|
672698
672699
|
}, undefined, true, undefined, this)
|
|
672699
672700
|
]
|
|
@@ -673953,7 +673954,7 @@ function completeOnboarding() {
|
|
|
673953
673954
|
saveGlobalConfig((current) => ({
|
|
673954
673955
|
...current,
|
|
673955
673956
|
hasCompletedOnboarding: true,
|
|
673956
|
-
lastOnboardingVersion: "1.30.
|
|
673957
|
+
lastOnboardingVersion: "1.30.2"
|
|
673957
673958
|
}));
|
|
673958
673959
|
}
|
|
673959
673960
|
function showDialog(root2, renderer) {
|
|
@@ -679057,7 +679058,7 @@ function appendToLog(path24, message) {
|
|
|
679057
679058
|
cwd: getFsImplementation().cwd(),
|
|
679058
679059
|
userType: process.env.USER_TYPE,
|
|
679059
679060
|
sessionId: getSessionId(),
|
|
679060
|
-
version: "1.30.
|
|
679061
|
+
version: "1.30.2"
|
|
679061
679062
|
};
|
|
679062
679063
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
679063
679064
|
}
|
|
@@ -683151,8 +683152,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
683151
683152
|
}
|
|
683152
683153
|
async function checkEnvLessBridgeMinVersion() {
|
|
683153
683154
|
const cfg = await getEnvLessBridgeConfig();
|
|
683154
|
-
if (cfg.min_version && lt("1.30.
|
|
683155
|
-
return `Your version of UR (${"1.30.
|
|
683155
|
+
if (cfg.min_version && lt("1.30.2", cfg.min_version)) {
|
|
683156
|
+
return `Your version of UR (${"1.30.2"}) is too old for Remote Control.
|
|
683156
683157
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
683157
683158
|
}
|
|
683158
683159
|
return null;
|
|
@@ -683626,7 +683627,7 @@ async function initBridgeCore(params) {
|
|
|
683626
683627
|
const rawApi = createBridgeApiClient({
|
|
683627
683628
|
baseUrl,
|
|
683628
683629
|
getAccessToken,
|
|
683629
|
-
runnerVersion: "1.30.
|
|
683630
|
+
runnerVersion: "1.30.2",
|
|
683630
683631
|
onDebug: logForDebugging,
|
|
683631
683632
|
onAuth401,
|
|
683632
683633
|
getTrustedDeviceToken
|
|
@@ -689308,7 +689309,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
689308
689309
|
setCwd(cwd3);
|
|
689309
689310
|
const server2 = new Server({
|
|
689310
689311
|
name: "ur/tengu",
|
|
689311
|
-
version: "1.30.
|
|
689312
|
+
version: "1.30.2"
|
|
689312
689313
|
}, {
|
|
689313
689314
|
capabilities: {
|
|
689314
689315
|
tools: {}
|
|
@@ -691285,7 +691286,7 @@ async function update() {
|
|
|
691285
691286
|
logEvent("tengu_update_check", {});
|
|
691286
691287
|
const diagnostic = await getDoctorDiagnostic();
|
|
691287
691288
|
const result = await checkUpgradeStatus({
|
|
691288
|
-
currentVersion: "1.30.
|
|
691289
|
+
currentVersion: "1.30.2",
|
|
691289
691290
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
691290
691291
|
installationType: diagnostic.installationType,
|
|
691291
691292
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -692531,7 +692532,7 @@ ${customInstructions}` : customInstructions;
|
|
|
692531
692532
|
}
|
|
692532
692533
|
}
|
|
692533
692534
|
logForDiagnosticsNoPII("info", "started", {
|
|
692534
|
-
version: "1.30.
|
|
692535
|
+
version: "1.30.2",
|
|
692535
692536
|
is_native_binary: isInBundledMode()
|
|
692536
692537
|
});
|
|
692537
692538
|
registerCleanup(async () => {
|
|
@@ -693317,7 +693318,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
693317
693318
|
pendingHookMessages
|
|
693318
693319
|
}, renderAndRun);
|
|
693319
693320
|
}
|
|
693320
|
-
}).version("1.30.
|
|
693321
|
+
}).version("1.30.2 (UR-AGENT)", "-v, --version", "Output the version number");
|
|
693321
693322
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
693322
693323
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
693323
693324
|
if (canUserConfigureAdvisor()) {
|
|
@@ -694202,7 +694203,7 @@ if (false) {}
|
|
|
694202
694203
|
async function main2() {
|
|
694203
694204
|
const args = process.argv.slice(2);
|
|
694204
694205
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
694205
|
-
console.log(`${"1.30.
|
|
694206
|
+
console.log(`${"1.30.2"} (UR-AGENT)`);
|
|
694206
694207
|
return;
|
|
694207
694208
|
}
|
|
694208
694209
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|
package/package.json
CHANGED