ur-agent 1.43.3 → 1.43.4
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 +121 -80
- package/documentation/index.html +1 -1
- package/extensions/vscode-ur-inline-diffs/package.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.43.4
|
|
4
|
+
|
|
5
|
+
- Tolerate hallucinated extra parameters on tool calls: when input validation
|
|
6
|
+
fails only because of unrecognized keys (e.g. `title`/`description` on a
|
|
7
|
+
`Write` call), those keys are stripped and the call is re-validated instead
|
|
8
|
+
of failing with `An unexpected parameter X was provided`. Genuine errors
|
|
9
|
+
(missing required fields, type mismatches) still surface normally.
|
|
10
|
+
|
|
3
11
|
## 1.43.3
|
|
4
12
|
|
|
5
13
|
- Bias the assistant toward the interactive arrow-key select menu: the
|
package/dist/cli.js
CHANGED
|
@@ -71146,7 +71146,7 @@ var init_auth = __esm(() => {
|
|
|
71146
71146
|
|
|
71147
71147
|
// src/utils/userAgent.ts
|
|
71148
71148
|
function getURCodeUserAgent() {
|
|
71149
|
-
return `ur/${"1.43.
|
|
71149
|
+
return `ur/${"1.43.4"}`;
|
|
71150
71150
|
}
|
|
71151
71151
|
|
|
71152
71152
|
// src/utils/workloadContext.ts
|
|
@@ -71168,7 +71168,7 @@ function getUserAgent() {
|
|
|
71168
71168
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
71169
71169
|
const workload = getWorkload();
|
|
71170
71170
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
71171
|
-
return `ur-cli/${"1.43.
|
|
71171
|
+
return `ur-cli/${"1.43.4"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
71172
71172
|
}
|
|
71173
71173
|
function getMCPUserAgent() {
|
|
71174
71174
|
const parts = [];
|
|
@@ -71182,7 +71182,7 @@ function getMCPUserAgent() {
|
|
|
71182
71182
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
71183
71183
|
}
|
|
71184
71184
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
71185
|
-
return `ur/${"1.43.
|
|
71185
|
+
return `ur/${"1.43.4"}${suffix}`;
|
|
71186
71186
|
}
|
|
71187
71187
|
function getWebFetchUserAgent() {
|
|
71188
71188
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -71320,7 +71320,7 @@ var init_user = __esm(() => {
|
|
|
71320
71320
|
deviceId,
|
|
71321
71321
|
sessionId: getSessionId(),
|
|
71322
71322
|
email: getEmail(),
|
|
71323
|
-
appVersion: "1.43.
|
|
71323
|
+
appVersion: "1.43.4",
|
|
71324
71324
|
platform: getHostPlatformForAnalytics(),
|
|
71325
71325
|
organizationUuid,
|
|
71326
71326
|
accountUuid,
|
|
@@ -77837,7 +77837,7 @@ var init_metadata = __esm(() => {
|
|
|
77837
77837
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
77838
77838
|
WHITESPACE_REGEX = /\s+/;
|
|
77839
77839
|
getVersionBase = memoize_default(() => {
|
|
77840
|
-
const match = "1.43.
|
|
77840
|
+
const match = "1.43.4".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
77841
77841
|
return match ? match[0] : undefined;
|
|
77842
77842
|
});
|
|
77843
77843
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -77877,7 +77877,7 @@ var init_metadata = __esm(() => {
|
|
|
77877
77877
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
77878
77878
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
77879
77879
|
isURAiAuth: isURAISubscriber(),
|
|
77880
|
-
version: "1.43.
|
|
77880
|
+
version: "1.43.4",
|
|
77881
77881
|
versionBase: getVersionBase(),
|
|
77882
77882
|
buildTime: "",
|
|
77883
77883
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -78547,7 +78547,7 @@ function initialize1PEventLogging() {
|
|
|
78547
78547
|
const platform2 = getPlatform();
|
|
78548
78548
|
const attributes = {
|
|
78549
78549
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
78550
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.43.
|
|
78550
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.43.4"
|
|
78551
78551
|
};
|
|
78552
78552
|
if (platform2 === "wsl") {
|
|
78553
78553
|
const wslVersion = getWslVersion();
|
|
@@ -78574,7 +78574,7 @@ function initialize1PEventLogging() {
|
|
|
78574
78574
|
})
|
|
78575
78575
|
]
|
|
78576
78576
|
});
|
|
78577
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.43.
|
|
78577
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.43.4");
|
|
78578
78578
|
}
|
|
78579
78579
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
78580
78580
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -83873,7 +83873,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
83873
83873
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
83874
83874
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
83875
83875
|
}
|
|
83876
|
-
var urVersion = "1.43.
|
|
83876
|
+
var urVersion = "1.43.4", coverage, priorityRoadmap;
|
|
83877
83877
|
var init_trends = __esm(() => {
|
|
83878
83878
|
coverage = [
|
|
83879
83879
|
{
|
|
@@ -85868,7 +85868,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
85868
85868
|
if (!isAttributionHeaderEnabled()) {
|
|
85869
85869
|
return "";
|
|
85870
85870
|
}
|
|
85871
|
-
const version2 = `${"1.43.
|
|
85871
|
+
const version2 = `${"1.43.4"}.${fingerprint}`;
|
|
85872
85872
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
85873
85873
|
const cch = "";
|
|
85874
85874
|
const workload = getWorkload();
|
|
@@ -144545,6 +144545,45 @@ function createChildAbortController(parent, maxListeners) {
|
|
|
144545
144545
|
var DEFAULT_MAX_LISTENERS = 50;
|
|
144546
144546
|
var init_abortController = () => {};
|
|
144547
144547
|
|
|
144548
|
+
// src/utils/toolInputSanitize.ts
|
|
144549
|
+
function stripEmptyParameterNames(input) {
|
|
144550
|
+
if (typeof input !== "object" || input === null || Array.isArray(input)) {
|
|
144551
|
+
return { input, stripped: false };
|
|
144552
|
+
}
|
|
144553
|
+
if (!("" in input))
|
|
144554
|
+
return { input, stripped: false };
|
|
144555
|
+
const { "": _dropped, ...rest } = input;
|
|
144556
|
+
return { input: rest, stripped: true };
|
|
144557
|
+
}
|
|
144558
|
+
function stripUnrecognizedKeys(input, issues) {
|
|
144559
|
+
const unrecognized = issues.filter((issue2) => issue2.code === "unrecognized_keys");
|
|
144560
|
+
if (unrecognized.length === 0 || typeof input !== "object" || input === null) {
|
|
144561
|
+
return { input, stripped: [] };
|
|
144562
|
+
}
|
|
144563
|
+
const clone3 = structuredClone(input);
|
|
144564
|
+
const stripped = [];
|
|
144565
|
+
for (const issue2 of unrecognized) {
|
|
144566
|
+
let target = clone3;
|
|
144567
|
+
for (const segment of issue2.path) {
|
|
144568
|
+
if (target === null || typeof target !== "object") {
|
|
144569
|
+
target = null;
|
|
144570
|
+
break;
|
|
144571
|
+
}
|
|
144572
|
+
target = target[segment];
|
|
144573
|
+
}
|
|
144574
|
+
if (target !== null && typeof target === "object") {
|
|
144575
|
+
const record2 = target;
|
|
144576
|
+
for (const key of issue2.keys ?? []) {
|
|
144577
|
+
if (key in record2) {
|
|
144578
|
+
delete record2[key];
|
|
144579
|
+
stripped.push(key);
|
|
144580
|
+
}
|
|
144581
|
+
}
|
|
144582
|
+
}
|
|
144583
|
+
}
|
|
144584
|
+
return { input: clone3, stripped };
|
|
144585
|
+
}
|
|
144586
|
+
|
|
144548
144587
|
// node_modules/highlight.js/lib/core.js
|
|
144549
144588
|
var require_core = __commonJS((exports, module) => {
|
|
144550
144589
|
function deepFreeze(obj) {
|
|
@@ -193771,7 +193810,7 @@ function getTelemetryAttributes() {
|
|
|
193771
193810
|
attributes["session.id"] = sessionId;
|
|
193772
193811
|
}
|
|
193773
193812
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
193774
|
-
attributes["app.version"] = "1.43.
|
|
193813
|
+
attributes["app.version"] = "1.43.4";
|
|
193775
193814
|
}
|
|
193776
193815
|
const oauthAccount = getOauthAccountInfo();
|
|
193777
193816
|
if (oauthAccount) {
|
|
@@ -229159,7 +229198,7 @@ function getInstallationEnv() {
|
|
|
229159
229198
|
return;
|
|
229160
229199
|
}
|
|
229161
229200
|
function getURCodeVersion() {
|
|
229162
|
-
return "1.43.
|
|
229201
|
+
return "1.43.4";
|
|
229163
229202
|
}
|
|
229164
229203
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
229165
229204
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -231998,7 +232037,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
231998
232037
|
const client2 = new Client({
|
|
231999
232038
|
name: "ur",
|
|
232000
232039
|
title: "UR",
|
|
232001
|
-
version: "1.43.
|
|
232040
|
+
version: "1.43.4",
|
|
232002
232041
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
232003
232042
|
websiteUrl: PRODUCT_URL
|
|
232004
232043
|
}, {
|
|
@@ -232352,7 +232391,7 @@ var init_client5 = __esm(() => {
|
|
|
232352
232391
|
const client2 = new Client({
|
|
232353
232392
|
name: "ur",
|
|
232354
232393
|
title: "UR",
|
|
232355
|
-
version: "1.43.
|
|
232394
|
+
version: "1.43.4",
|
|
232356
232395
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
232357
232396
|
websiteUrl: PRODUCT_URL
|
|
232358
232397
|
}, {
|
|
@@ -242166,9 +242205,9 @@ async function assertMinVersion() {
|
|
|
242166
242205
|
if (false) {}
|
|
242167
242206
|
try {
|
|
242168
242207
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
242169
|
-
if (versionConfig.minVersion && lt("1.43.
|
|
242208
|
+
if (versionConfig.minVersion && lt("1.43.4", versionConfig.minVersion)) {
|
|
242170
242209
|
console.error(`
|
|
242171
|
-
It looks like your version of UR (${"1.43.
|
|
242210
|
+
It looks like your version of UR (${"1.43.4"}) needs an update.
|
|
242172
242211
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
242173
242212
|
|
|
242174
242213
|
To update, please run:
|
|
@@ -242384,7 +242423,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
242384
242423
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
242385
242424
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
242386
242425
|
pid: process.pid,
|
|
242387
|
-
currentVersion: "1.43.
|
|
242426
|
+
currentVersion: "1.43.4"
|
|
242388
242427
|
});
|
|
242389
242428
|
return "in_progress";
|
|
242390
242429
|
}
|
|
@@ -242393,7 +242432,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
242393
242432
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
242394
242433
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
242395
242434
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
242396
|
-
currentVersion: "1.43.
|
|
242435
|
+
currentVersion: "1.43.4"
|
|
242397
242436
|
});
|
|
242398
242437
|
console.error(`
|
|
242399
242438
|
Error: Windows NPM detected in WSL
|
|
@@ -242928,7 +242967,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
242928
242967
|
}
|
|
242929
242968
|
async function getDoctorDiagnostic() {
|
|
242930
242969
|
const installationType = await getCurrentInstallationType();
|
|
242931
|
-
const version2 = typeof MACRO !== "undefined" ? "1.43.
|
|
242970
|
+
const version2 = typeof MACRO !== "undefined" ? "1.43.4" : "unknown";
|
|
242932
242971
|
const installationPath = await getInstallationPath();
|
|
242933
242972
|
const invokedBinary = getInvokedBinary();
|
|
242934
242973
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -243863,8 +243902,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
243863
243902
|
const maxVersion = await getMaxVersion();
|
|
243864
243903
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
243865
243904
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
243866
|
-
if (gte("1.43.
|
|
243867
|
-
logForDebugging(`Native installer: current version ${"1.43.
|
|
243905
|
+
if (gte("1.43.4", maxVersion)) {
|
|
243906
|
+
logForDebugging(`Native installer: current version ${"1.43.4"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
243868
243907
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
243869
243908
|
latency_ms: Date.now() - startTime,
|
|
243870
243909
|
max_version: maxVersion,
|
|
@@ -243875,7 +243914,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
243875
243914
|
version2 = maxVersion;
|
|
243876
243915
|
}
|
|
243877
243916
|
}
|
|
243878
|
-
if (!forceReinstall && version2 === "1.43.
|
|
243917
|
+
if (!forceReinstall && version2 === "1.43.4" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
243879
243918
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
243880
243919
|
logEvent("tengu_native_update_complete", {
|
|
243881
243920
|
latency_ms: Date.now() - startTime,
|
|
@@ -313966,7 +314005,20 @@ function buildSchemaNotSentHint(tool, messages, tools) {
|
|
|
313966
314005
|
This tool's schema was not sent to the API \u2014 it was not in the discovered-tool set derived from message history. ` + `Without the schema in your prompt, typed parameters (arrays, numbers, booleans) get emitted as strings and the client-side parser rejects them. ` + `Load the tool first: call ${TOOL_SEARCH_TOOL_NAME} with query "select:${tool.name}", then retry this call.`;
|
|
313967
314006
|
}
|
|
313968
314007
|
async function checkPermissionsAndCallTool(tool, toolUseID, input, toolUseContext, canUseTool, assistantMessage, messageId, requestId, mcpServerType, mcpServerBaseUrl, onToolProgress) {
|
|
313969
|
-
|
|
314008
|
+
let parsedInput = tool.inputSchema.safeParse(input);
|
|
314009
|
+
if (!parsedInput.success && parsedInput.error.issues.length > 0 && parsedInput.error.issues.every((issue2) => issue2.code === "unrecognized_keys")) {
|
|
314010
|
+
const { input: cleaned, stripped } = stripUnrecognizedKeys(input, parsedInput.error.issues);
|
|
314011
|
+
if (stripped.length > 0) {
|
|
314012
|
+
const retry = tool.inputSchema.safeParse(cleaned);
|
|
314013
|
+
if (retry.success) {
|
|
314014
|
+
logEvent("tengu_tool_input_unrecognized_keys_stripped", {
|
|
314015
|
+
toolName: sanitizeToolNameForAnalytics(tool.name)
|
|
314016
|
+
});
|
|
314017
|
+
input = cleaned;
|
|
314018
|
+
parsedInput = retry;
|
|
314019
|
+
}
|
|
314020
|
+
}
|
|
314021
|
+
}
|
|
313970
314022
|
if (!parsedInput.success) {
|
|
313971
314023
|
let errorContent = formatZodValidationError(tool.name, parsedInput.error);
|
|
313972
314024
|
const schemaHint = buildSchemaNotSentHint(tool, toolUseContext.messages, toolUseContext.options.tools);
|
|
@@ -329890,17 +329942,6 @@ ${EXPLANATORY_FEATURE_PROMPT}`
|
|
|
329890
329942
|
});
|
|
329891
329943
|
});
|
|
329892
329944
|
|
|
329893
|
-
// src/utils/toolInputSanitize.ts
|
|
329894
|
-
function stripEmptyParameterNames(input) {
|
|
329895
|
-
if (typeof input !== "object" || input === null || Array.isArray(input)) {
|
|
329896
|
-
return { input, stripped: false };
|
|
329897
|
-
}
|
|
329898
|
-
if (!("" in input))
|
|
329899
|
-
return { input, stripped: false };
|
|
329900
|
-
const { "": _dropped, ...rest } = input;
|
|
329901
|
-
return { input: rest, stripped: true };
|
|
329902
|
-
}
|
|
329903
|
-
|
|
329904
329945
|
// src/utils/messages.ts
|
|
329905
329946
|
import { randomUUID as randomUUID32 } from "crypto";
|
|
329906
329947
|
function getTeammateMailbox() {
|
|
@@ -340864,7 +340905,7 @@ function Feedback({
|
|
|
340864
340905
|
platform: env2.platform,
|
|
340865
340906
|
gitRepo: envInfo.isGit,
|
|
340866
340907
|
terminal: env2.terminal,
|
|
340867
|
-
version: "1.43.
|
|
340908
|
+
version: "1.43.4",
|
|
340868
340909
|
transcript: normalizeMessagesForAPI(messages),
|
|
340869
340910
|
errors: sanitizedErrors,
|
|
340870
340911
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -341056,7 +341097,7 @@ function Feedback({
|
|
|
341056
341097
|
", ",
|
|
341057
341098
|
env2.terminal,
|
|
341058
341099
|
", v",
|
|
341059
|
-
"1.43.
|
|
341100
|
+
"1.43.4"
|
|
341060
341101
|
]
|
|
341061
341102
|
}, undefined, true, undefined, this)
|
|
341062
341103
|
]
|
|
@@ -341162,7 +341203,7 @@ ${sanitizedDescription}
|
|
|
341162
341203
|
` + `**Environment Info**
|
|
341163
341204
|
` + `- Platform: ${env2.platform}
|
|
341164
341205
|
` + `- Terminal: ${env2.terminal}
|
|
341165
|
-
` + `- Version: ${"1.43.
|
|
341206
|
+
` + `- Version: ${"1.43.4"}
|
|
341166
341207
|
` + `- Feedback ID: ${feedbackId}
|
|
341167
341208
|
` + `
|
|
341168
341209
|
**Errors**
|
|
@@ -344273,7 +344314,7 @@ function buildPrimarySection() {
|
|
|
344273
344314
|
}, undefined, false, undefined, this);
|
|
344274
344315
|
return [{
|
|
344275
344316
|
label: "Version",
|
|
344276
|
-
value: "1.43.
|
|
344317
|
+
value: "1.43.4"
|
|
344277
344318
|
}, {
|
|
344278
344319
|
label: "Session name",
|
|
344279
344320
|
value: nameValue
|
|
@@ -347574,7 +347615,7 @@ function Config({
|
|
|
347574
347615
|
}
|
|
347575
347616
|
}, undefined, false, undefined, this)
|
|
347576
347617
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
347577
|
-
currentVersion: "1.43.
|
|
347618
|
+
currentVersion: "1.43.4",
|
|
347578
347619
|
onChoice: (choice) => {
|
|
347579
347620
|
setShowSubmenu(null);
|
|
347580
347621
|
setTabsHidden(false);
|
|
@@ -347586,7 +347627,7 @@ function Config({
|
|
|
347586
347627
|
autoUpdatesChannel: "stable"
|
|
347587
347628
|
};
|
|
347588
347629
|
if (choice === "stay") {
|
|
347589
|
-
newSettings.minimumVersion = "1.43.
|
|
347630
|
+
newSettings.minimumVersion = "1.43.4";
|
|
347590
347631
|
}
|
|
347591
347632
|
updateSettingsForSource("userSettings", newSettings);
|
|
347592
347633
|
setSettingsData((prev_27) => ({
|
|
@@ -355656,7 +355697,7 @@ function HelpV2(t0) {
|
|
|
355656
355697
|
let t6;
|
|
355657
355698
|
if ($3[31] !== tabs) {
|
|
355658
355699
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
355659
|
-
title: `UR v${"1.43.
|
|
355700
|
+
title: `UR v${"1.43.4"}`,
|
|
355660
355701
|
color: "professionalBlue",
|
|
355661
355702
|
defaultTab: "general",
|
|
355662
355703
|
children: tabs
|
|
@@ -356402,7 +356443,7 @@ function buildToolUseContext(tools, readFileStateCache) {
|
|
|
356402
356443
|
async function handleInitialize(options2) {
|
|
356403
356444
|
return {
|
|
356404
356445
|
name: "UR",
|
|
356405
|
-
version: "1.43.
|
|
356446
|
+
version: "1.43.4",
|
|
356406
356447
|
protocolVersion: "0.1.0",
|
|
356407
356448
|
workspaceRoot: options2.cwd,
|
|
356408
356449
|
capabilities: {
|
|
@@ -376544,7 +376585,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
376544
376585
|
return [];
|
|
376545
376586
|
}
|
|
376546
376587
|
}
|
|
376547
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.43.
|
|
376588
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.43.4") {
|
|
376548
376589
|
if (process.env.USER_TYPE === "ant") {
|
|
376549
376590
|
const changelog = "";
|
|
376550
376591
|
if (changelog) {
|
|
@@ -376571,7 +376612,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.43.3")
|
|
|
376571
376612
|
releaseNotes
|
|
376572
376613
|
};
|
|
376573
376614
|
}
|
|
376574
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.43.
|
|
376615
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.43.4") {
|
|
376575
376616
|
if (process.env.USER_TYPE === "ant") {
|
|
376576
376617
|
const changelog = "";
|
|
376577
376618
|
if (changelog) {
|
|
@@ -377750,7 +377791,7 @@ function getRecentActivitySync() {
|
|
|
377750
377791
|
return cachedActivity;
|
|
377751
377792
|
}
|
|
377752
377793
|
function getLogoDisplayData() {
|
|
377753
|
-
const version2 = process.env.DEMO_VERSION ?? "1.43.
|
|
377794
|
+
const version2 = process.env.DEMO_VERSION ?? "1.43.4";
|
|
377754
377795
|
const serverUrl = getDirectConnectServerUrl();
|
|
377755
377796
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
|
|
377756
377797
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -378539,7 +378580,7 @@ function LogoV2() {
|
|
|
378539
378580
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
378540
378581
|
t2 = () => {
|
|
378541
378582
|
const currentConfig2 = getGlobalConfig();
|
|
378542
|
-
if (currentConfig2.lastReleaseNotesSeen === "1.43.
|
|
378583
|
+
if (currentConfig2.lastReleaseNotesSeen === "1.43.4") {
|
|
378543
378584
|
return;
|
|
378544
378585
|
}
|
|
378545
378586
|
saveGlobalConfig(_temp326);
|
|
@@ -379224,12 +379265,12 @@ function LogoV2() {
|
|
|
379224
379265
|
return t41;
|
|
379225
379266
|
}
|
|
379226
379267
|
function _temp326(current) {
|
|
379227
|
-
if (current.lastReleaseNotesSeen === "1.43.
|
|
379268
|
+
if (current.lastReleaseNotesSeen === "1.43.4") {
|
|
379228
379269
|
return current;
|
|
379229
379270
|
}
|
|
379230
379271
|
return {
|
|
379231
379272
|
...current,
|
|
379232
|
-
lastReleaseNotesSeen: "1.43.
|
|
379273
|
+
lastReleaseNotesSeen: "1.43.4"
|
|
379233
379274
|
};
|
|
379234
379275
|
}
|
|
379235
379276
|
function _temp243(s_0) {
|
|
@@ -411110,7 +411151,7 @@ var init_code_index2 = __esm(() => {
|
|
|
411110
411151
|
|
|
411111
411152
|
// node_modules/typescript/lib/typescript.js
|
|
411112
411153
|
var require_typescript2 = __commonJS((exports, module) => {
|
|
411113
|
-
var __dirname = "/sessions/friendly-inspiring-goldberg/mnt/UR-1.43.
|
|
411154
|
+
var __dirname = "/sessions/friendly-inspiring-goldberg/mnt/UR-1.43.3/node_modules/typescript/lib", __filename = "/sessions/friendly-inspiring-goldberg/mnt/UR-1.43.3/node_modules/typescript/lib/typescript.js";
|
|
411114
411155
|
/*! *****************************************************************************
|
|
411115
411156
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
411116
411157
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
@@ -596644,7 +596685,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
596644
596685
|
smapsRollup,
|
|
596645
596686
|
platform: process.platform,
|
|
596646
596687
|
nodeVersion: process.version,
|
|
596647
|
-
ccVersion: "1.43.
|
|
596688
|
+
ccVersion: "1.43.4"
|
|
596648
596689
|
};
|
|
596649
596690
|
}
|
|
596650
596691
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -597230,7 +597271,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
597230
597271
|
var call137 = async () => {
|
|
597231
597272
|
return {
|
|
597232
597273
|
type: "text",
|
|
597233
|
-
value: "1.43.
|
|
597274
|
+
value: "1.43.4"
|
|
597234
597275
|
};
|
|
597235
597276
|
}, version2, version_default;
|
|
597236
597277
|
var init_version = __esm(() => {
|
|
@@ -607323,7 +607364,7 @@ function generateHtmlReport(data, insights) {
|
|
|
607323
607364
|
</html>`;
|
|
607324
607365
|
}
|
|
607325
607366
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
607326
|
-
const version3 = typeof MACRO !== "undefined" ? "1.43.
|
|
607367
|
+
const version3 = typeof MACRO !== "undefined" ? "1.43.4" : "unknown";
|
|
607327
607368
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
607328
607369
|
const facets_summary = {
|
|
607329
607370
|
total: facets.size,
|
|
@@ -611603,7 +611644,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
611603
611644
|
init_settings2();
|
|
611604
611645
|
init_slowOperations();
|
|
611605
611646
|
init_uuid();
|
|
611606
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.43.
|
|
611647
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.43.4" : "unknown";
|
|
611607
611648
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
611608
611649
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
611609
611650
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -612808,7 +612849,7 @@ var init_filesystem = __esm(() => {
|
|
|
612808
612849
|
});
|
|
612809
612850
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
612810
612851
|
const nonce = randomBytes18(16).toString("hex");
|
|
612811
|
-
return join202(getURTempDir(), "bundled-skills", "1.43.
|
|
612852
|
+
return join202(getURTempDir(), "bundled-skills", "1.43.4", nonce);
|
|
612812
612853
|
});
|
|
612813
612854
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
612814
612855
|
});
|
|
@@ -619097,7 +619138,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
619097
619138
|
}
|
|
619098
619139
|
function computeFingerprintFromMessages(messages) {
|
|
619099
619140
|
const firstMessageText = extractFirstMessageText(messages);
|
|
619100
|
-
return computeFingerprint(firstMessageText, "1.43.
|
|
619141
|
+
return computeFingerprint(firstMessageText, "1.43.4");
|
|
619101
619142
|
}
|
|
619102
619143
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
619103
619144
|
var init_fingerprint = () => {};
|
|
@@ -620971,7 +621012,7 @@ async function sideQuery(opts) {
|
|
|
620971
621012
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
620972
621013
|
}
|
|
620973
621014
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
620974
|
-
const fingerprint2 = computeFingerprint(messageText2, "1.43.
|
|
621015
|
+
const fingerprint2 = computeFingerprint(messageText2, "1.43.4");
|
|
620975
621016
|
const attributionHeader = getAttributionHeader(fingerprint2);
|
|
620976
621017
|
const systemBlocks = [
|
|
620977
621018
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -625708,7 +625749,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
625708
625749
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
625709
625750
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
625710
625751
|
betas: getSdkBetas(),
|
|
625711
|
-
ur_version: "1.43.
|
|
625752
|
+
ur_version: "1.43.4",
|
|
625712
625753
|
output_style: outputStyle2,
|
|
625713
625754
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
625714
625755
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -640336,7 +640377,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
640336
640377
|
function getSemverPart(version3) {
|
|
640337
640378
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
640338
640379
|
}
|
|
640339
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.43.
|
|
640380
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.43.4") {
|
|
640340
640381
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
640341
640382
|
if (!updatedVersion) {
|
|
640342
640383
|
return null;
|
|
@@ -640385,7 +640426,7 @@ function AutoUpdater({
|
|
|
640385
640426
|
return;
|
|
640386
640427
|
}
|
|
640387
640428
|
if (false) {}
|
|
640388
|
-
const currentVersion = "1.43.
|
|
640429
|
+
const currentVersion = "1.43.4";
|
|
640389
640430
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
640390
640431
|
let latestVersion = await getLatestVersion(channel);
|
|
640391
640432
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -640614,12 +640655,12 @@ function NativeAutoUpdater({
|
|
|
640614
640655
|
logEvent("tengu_native_auto_updater_start", {});
|
|
640615
640656
|
try {
|
|
640616
640657
|
const maxVersion = await getMaxVersion();
|
|
640617
|
-
if (maxVersion && gt("1.43.
|
|
640658
|
+
if (maxVersion && gt("1.43.4", maxVersion)) {
|
|
640618
640659
|
const msg = await getMaxVersionMessage();
|
|
640619
640660
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
640620
640661
|
}
|
|
640621
640662
|
const result = await installLatest(channel);
|
|
640622
|
-
const currentVersion = "1.43.
|
|
640663
|
+
const currentVersion = "1.43.4";
|
|
640623
640664
|
const latencyMs = Date.now() - startTime;
|
|
640624
640665
|
if (result.lockFailed) {
|
|
640625
640666
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -640756,17 +640797,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
640756
640797
|
const maxVersion = await getMaxVersion();
|
|
640757
640798
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
640758
640799
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
640759
|
-
if (gte("1.43.
|
|
640760
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.43.
|
|
640800
|
+
if (gte("1.43.4", maxVersion)) {
|
|
640801
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.43.4"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
640761
640802
|
setUpdateAvailable(false);
|
|
640762
640803
|
return;
|
|
640763
640804
|
}
|
|
640764
640805
|
latest = maxVersion;
|
|
640765
640806
|
}
|
|
640766
|
-
const hasUpdate = latest && !gte("1.43.
|
|
640807
|
+
const hasUpdate = latest && !gte("1.43.4", latest) && !shouldSkipVersion(latest);
|
|
640767
640808
|
setUpdateAvailable(!!hasUpdate);
|
|
640768
640809
|
if (hasUpdate) {
|
|
640769
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.43.
|
|
640810
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.43.4"} -> ${latest}`);
|
|
640770
640811
|
}
|
|
640771
640812
|
};
|
|
640772
640813
|
$3[0] = t1;
|
|
@@ -640800,7 +640841,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
640800
640841
|
wrap: "truncate",
|
|
640801
640842
|
children: [
|
|
640802
640843
|
"currentVersion: ",
|
|
640803
|
-
"1.43.
|
|
640844
|
+
"1.43.4"
|
|
640804
640845
|
]
|
|
640805
640846
|
}, undefined, true, undefined, this);
|
|
640806
640847
|
$3[3] = verbose;
|
|
@@ -653252,7 +653293,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
653252
653293
|
project_dir: getOriginalCwd(),
|
|
653253
653294
|
added_dirs: addedDirs
|
|
653254
653295
|
},
|
|
653255
|
-
version: "1.43.
|
|
653296
|
+
version: "1.43.4",
|
|
653256
653297
|
output_style: {
|
|
653257
653298
|
name: outputStyleName
|
|
653258
653299
|
},
|
|
@@ -653335,7 +653376,7 @@ function StatusLineInner({
|
|
|
653335
653376
|
const taskValues = Object.values(tasks2);
|
|
653336
653377
|
const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
|
|
653337
653378
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
653338
|
-
version: "1.43.
|
|
653379
|
+
version: "1.43.4",
|
|
653339
653380
|
providerLabel: providerRuntime.providerLabel,
|
|
653340
653381
|
authMode: providerRuntime.authLabel,
|
|
653341
653382
|
model: providerRuntime.model ?? renderModelName(mainLoopModel),
|
|
@@ -664823,7 +664864,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
664823
664864
|
} catch {}
|
|
664824
664865
|
const data = {
|
|
664825
664866
|
trigger: trigger2,
|
|
664826
|
-
version: "1.43.
|
|
664867
|
+
version: "1.43.4",
|
|
664827
664868
|
platform: process.platform,
|
|
664828
664869
|
transcript,
|
|
664829
664870
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -676708,7 +676749,7 @@ function WelcomeV2() {
|
|
|
676708
676749
|
dimColor: true,
|
|
676709
676750
|
children: [
|
|
676710
676751
|
"v",
|
|
676711
|
-
"1.43.
|
|
676752
|
+
"1.43.4"
|
|
676712
676753
|
]
|
|
676713
676754
|
}, undefined, true, undefined, this)
|
|
676714
676755
|
]
|
|
@@ -677968,7 +678009,7 @@ function completeOnboarding() {
|
|
|
677968
678009
|
saveGlobalConfig((current) => ({
|
|
677969
678010
|
...current,
|
|
677970
678011
|
hasCompletedOnboarding: true,
|
|
677971
|
-
lastOnboardingVersion: "1.43.
|
|
678012
|
+
lastOnboardingVersion: "1.43.4"
|
|
677972
678013
|
}));
|
|
677973
678014
|
}
|
|
677974
678015
|
function showDialog(root2, renderer) {
|
|
@@ -683005,7 +683046,7 @@ function appendToLog(path24, message) {
|
|
|
683005
683046
|
cwd: getFsImplementation().cwd(),
|
|
683006
683047
|
userType: process.env.USER_TYPE,
|
|
683007
683048
|
sessionId: getSessionId(),
|
|
683008
|
-
version: "1.43.
|
|
683049
|
+
version: "1.43.4"
|
|
683009
683050
|
};
|
|
683010
683051
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
683011
683052
|
}
|
|
@@ -687099,8 +687140,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
687099
687140
|
}
|
|
687100
687141
|
async function checkEnvLessBridgeMinVersion() {
|
|
687101
687142
|
const cfg = await getEnvLessBridgeConfig();
|
|
687102
|
-
if (cfg.min_version && lt("1.43.
|
|
687103
|
-
return `Your version of UR (${"1.43.
|
|
687143
|
+
if (cfg.min_version && lt("1.43.4", cfg.min_version)) {
|
|
687144
|
+
return `Your version of UR (${"1.43.4"}) is too old for Remote Control.
|
|
687104
687145
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
687105
687146
|
}
|
|
687106
687147
|
return null;
|
|
@@ -687574,7 +687615,7 @@ async function initBridgeCore(params) {
|
|
|
687574
687615
|
const rawApi = createBridgeApiClient({
|
|
687575
687616
|
baseUrl,
|
|
687576
687617
|
getAccessToken,
|
|
687577
|
-
runnerVersion: "1.43.
|
|
687618
|
+
runnerVersion: "1.43.4",
|
|
687578
687619
|
onDebug: logForDebugging,
|
|
687579
687620
|
onAuth401,
|
|
687580
687621
|
getTrustedDeviceToken
|
|
@@ -693256,7 +693297,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
693256
693297
|
setCwd(cwd3);
|
|
693257
693298
|
const server2 = new Server({
|
|
693258
693299
|
name: "ur/tengu",
|
|
693259
|
-
version: "1.43.
|
|
693300
|
+
version: "1.43.4"
|
|
693260
693301
|
}, {
|
|
693261
693302
|
capabilities: {
|
|
693262
693303
|
tools: {}
|
|
@@ -695298,7 +695339,7 @@ async function update() {
|
|
|
695298
695339
|
logEvent("tengu_update_check", {});
|
|
695299
695340
|
const diagnostic = await getDoctorDiagnostic();
|
|
695300
695341
|
const result = await checkUpgradeStatus({
|
|
695301
|
-
currentVersion: "1.43.
|
|
695342
|
+
currentVersion: "1.43.4",
|
|
695302
695343
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
695303
695344
|
installationType: diagnostic.installationType,
|
|
695304
695345
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -696544,7 +696585,7 @@ ${customInstructions}` : customInstructions;
|
|
|
696544
696585
|
}
|
|
696545
696586
|
}
|
|
696546
696587
|
logForDiagnosticsNoPII("info", "started", {
|
|
696547
|
-
version: "1.43.
|
|
696588
|
+
version: "1.43.4",
|
|
696548
696589
|
is_native_binary: isInBundledMode()
|
|
696549
696590
|
});
|
|
696550
696591
|
registerCleanup(async () => {
|
|
@@ -697330,7 +697371,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
697330
697371
|
pendingHookMessages
|
|
697331
697372
|
}, renderAndRun);
|
|
697332
697373
|
}
|
|
697333
|
-
}).version("1.43.
|
|
697374
|
+
}).version("1.43.4 (UR-Nexus)", "-v, --version", "Output the version number");
|
|
697334
697375
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
697335
697376
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
697336
697377
|
if (canUserConfigureAdvisor()) {
|
|
@@ -698245,7 +698286,7 @@ if (false) {}
|
|
|
698245
698286
|
async function main2() {
|
|
698246
698287
|
const args = process.argv.slice(2);
|
|
698247
698288
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
698248
|
-
console.log(`${"1.43.
|
|
698289
|
+
console.log(`${"1.43.4"} (UR-Nexus)`);
|
|
698249
698290
|
return;
|
|
698250
698291
|
}
|
|
698251
698292
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|
package/documentation/index.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<main id="content" class="content">
|
|
45
45
|
<header class="topbar">
|
|
46
46
|
<div>
|
|
47
|
-
<p class="eyebrow">Version 1.43.
|
|
47
|
+
<p class="eyebrow">Version 1.43.4</p>
|
|
48
48
|
<h1>UR-Nexus Documentation</h1>
|
|
49
49
|
<p class="lead">A practical, tutorial-style reference for installing, configuring, automating, extending, and operating UR-Nexus.</p>
|
|
50
50
|
</div>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ur-inline-diffs",
|
|
3
3
|
"displayName": "UR Inline Diffs",
|
|
4
4
|
"description": "Review, apply, and reject UR inline diff bundles from .ur/ide/diffs inside VS Code.",
|
|
5
|
-
"version": "1.43.
|
|
5
|
+
"version": "1.43.4",
|
|
6
6
|
"publisher": "ur-nexus",
|
|
7
7
|
"engines": {
|
|
8
8
|
"vscode": "^1.92.0"
|
package/package.json
CHANGED