ur-agent 1.76.0 → 1.76.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
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.76.2
|
|
4
|
+
|
|
5
|
+
- Release metadata and distributed component versions were synchronized with
|
|
6
|
+
`1.76.2` so packaging and release checks can complete without version drift.
|
|
7
|
+
|
|
3
8
|
## 1.76.0
|
|
4
9
|
|
|
5
10
|
- Provider catalogues now refresh from each provider's official models API on
|
package/dist/cli.js
CHANGED
|
@@ -57995,7 +57995,7 @@ function validateToolSchema(schema, dialect = "json-schema") {
|
|
|
57995
57995
|
const issues = [];
|
|
57996
57996
|
const root2 = isObject5(schema) ? schema : undefined;
|
|
57997
57997
|
const allowedTypes = new Set(["object", "array", "string", "number", "integer", "boolean", "null"]);
|
|
57998
|
-
function walk(node, path8, depth) {
|
|
57998
|
+
function walk(node, path8, depth, inPropertiesObject = false) {
|
|
57999
57999
|
if (depth > 64) {
|
|
58000
58000
|
issues.push({ path: path8, message: "schema nests deeper than 64 levels" });
|
|
58001
58001
|
return;
|
|
@@ -58028,7 +58028,7 @@ function validateToolSchema(schema, dialect = "json-schema") {
|
|
|
58028
58028
|
}
|
|
58029
58029
|
}
|
|
58030
58030
|
}
|
|
58031
|
-
if (node.type !== undefined) {
|
|
58031
|
+
if (!inPropertiesObject && node.type !== undefined) {
|
|
58032
58032
|
const types = Array.isArray(node.type) ? node.type : [node.type];
|
|
58033
58033
|
if (types.length === 0 || types.some((type) => typeof type !== "string" || !allowedTypes.has(type))) {
|
|
58034
58034
|
issues.push({ path: path8, message: '"type" contains an unsupported JSON Schema type' });
|
|
@@ -58089,7 +58089,7 @@ function validateToolSchema(schema, dialect = "json-schema") {
|
|
|
58089
58089
|
for (const [key, value] of Object.entries(node)) {
|
|
58090
58090
|
if (key === "enum" || key === "required")
|
|
58091
58091
|
continue;
|
|
58092
|
-
walk(value, path8 ? `${path8}.${key}` : key, depth + 1);
|
|
58092
|
+
walk(value, path8 ? `${path8}.${key}` : key, depth + 1, key === "properties");
|
|
58093
58093
|
}
|
|
58094
58094
|
}
|
|
58095
58095
|
if (!isObject5(schema)) {
|
|
@@ -58098,7 +58098,7 @@ function validateToolSchema(schema, dialect = "json-schema") {
|
|
|
58098
58098
|
if (schema.type !== "object") {
|
|
58099
58099
|
issues.push({ path: "", message: 'tool parameter schema must have top-level type "object"' });
|
|
58100
58100
|
}
|
|
58101
|
-
walk(schema, "", 0);
|
|
58101
|
+
walk(schema, "", 0, false);
|
|
58102
58102
|
return issues;
|
|
58103
58103
|
}
|
|
58104
58104
|
function assertValidToolName(name, providerLabel) {
|
|
@@ -76485,7 +76485,7 @@ var init_auth = __esm(() => {
|
|
|
76485
76485
|
|
|
76486
76486
|
// src/utils/userAgent.ts
|
|
76487
76487
|
function getURCodeUserAgent() {
|
|
76488
|
-
return `ur/${"1.76.
|
|
76488
|
+
return `ur/${"1.76.2"}`;
|
|
76489
76489
|
}
|
|
76490
76490
|
|
|
76491
76491
|
// src/utils/workloadContext.ts
|
|
@@ -76507,7 +76507,7 @@ function getUserAgent() {
|
|
|
76507
76507
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
76508
76508
|
const workload = getWorkload();
|
|
76509
76509
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
76510
|
-
return `ur-cli/${"1.76.
|
|
76510
|
+
return `ur-cli/${"1.76.2"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
76511
76511
|
}
|
|
76512
76512
|
function getMCPUserAgent() {
|
|
76513
76513
|
const parts = [];
|
|
@@ -76521,7 +76521,7 @@ function getMCPUserAgent() {
|
|
|
76521
76521
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
76522
76522
|
}
|
|
76523
76523
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
76524
|
-
return `ur/${"1.76.
|
|
76524
|
+
return `ur/${"1.76.2"}${suffix}`;
|
|
76525
76525
|
}
|
|
76526
76526
|
function getWebFetchUserAgent() {
|
|
76527
76527
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -76659,7 +76659,7 @@ var init_user = __esm(() => {
|
|
|
76659
76659
|
deviceId,
|
|
76660
76660
|
sessionId: getSessionId(),
|
|
76661
76661
|
email: getEmail(),
|
|
76662
|
-
appVersion: "1.76.
|
|
76662
|
+
appVersion: "1.76.2",
|
|
76663
76663
|
platform: getHostPlatformForAnalytics(),
|
|
76664
76664
|
organizationUuid,
|
|
76665
76665
|
accountUuid,
|
|
@@ -84859,7 +84859,7 @@ var init_metadata = __esm(() => {
|
|
|
84859
84859
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
84860
84860
|
WHITESPACE_REGEX = /\s+/;
|
|
84861
84861
|
getVersionBase = memoize_default(() => {
|
|
84862
|
-
const match = "1.76.
|
|
84862
|
+
const match = "1.76.2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
84863
84863
|
return match ? match[0] : undefined;
|
|
84864
84864
|
});
|
|
84865
84865
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -84899,7 +84899,7 @@ var init_metadata = __esm(() => {
|
|
|
84899
84899
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
84900
84900
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
84901
84901
|
isURAiAuth: isURAISubscriber(),
|
|
84902
|
-
version: "1.76.
|
|
84902
|
+
version: "1.76.2",
|
|
84903
84903
|
versionBase: getVersionBase(),
|
|
84904
84904
|
buildTime: "",
|
|
84905
84905
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -85569,7 +85569,7 @@ function initialize1PEventLogging() {
|
|
|
85569
85569
|
const platform2 = getPlatform();
|
|
85570
85570
|
const attributes = {
|
|
85571
85571
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
85572
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.76.
|
|
85572
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.76.2"
|
|
85573
85573
|
};
|
|
85574
85574
|
if (platform2 === "wsl") {
|
|
85575
85575
|
const wslVersion = getWslVersion();
|
|
@@ -85597,7 +85597,7 @@ function initialize1PEventLogging() {
|
|
|
85597
85597
|
})
|
|
85598
85598
|
]
|
|
85599
85599
|
});
|
|
85600
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.76.
|
|
85600
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.76.2");
|
|
85601
85601
|
}
|
|
85602
85602
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
85603
85603
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -95474,7 +95474,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
95474
95474
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
95475
95475
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
95476
95476
|
}
|
|
95477
|
-
var urVersion = "1.76.
|
|
95477
|
+
var urVersion = "1.76.2", researchSnapshotDate = "2026-07-15", coverage, priorityRoadmap;
|
|
95478
95478
|
var init_trends = __esm(() => {
|
|
95479
95479
|
init_a2aCardSignature();
|
|
95480
95480
|
coverage = [
|
|
@@ -98277,7 +98277,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
98277
98277
|
if (!isAttributionHeaderEnabled()) {
|
|
98278
98278
|
return "";
|
|
98279
98279
|
}
|
|
98280
|
-
const version2 = `${"1.76.
|
|
98280
|
+
const version2 = `${"1.76.2"}.${fingerprint}`;
|
|
98281
98281
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
98282
98282
|
const cch = "";
|
|
98283
98283
|
const workload = getWorkload();
|
|
@@ -156128,7 +156128,7 @@ var init_projectSafety = __esm(() => {
|
|
|
156128
156128
|
function getInstruments() {
|
|
156129
156129
|
if (instruments)
|
|
156130
156130
|
return instruments;
|
|
156131
|
-
const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.76.
|
|
156131
|
+
const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.76.2");
|
|
156132
156132
|
instruments = {
|
|
156133
156133
|
operationDuration: meter.createHistogram("gen_ai.client.operation.duration", {
|
|
156134
156134
|
description: "GenAI operation duration.",
|
|
@@ -156226,7 +156226,7 @@ function genAiAgentAttributes() {
|
|
|
156226
156226
|
"gen_ai.operation.name": GEN_AI_OPERATION_INVOKE_AGENT,
|
|
156227
156227
|
"gen_ai.provider.name": "ur",
|
|
156228
156228
|
"gen_ai.agent.name": "UR-Nexus",
|
|
156229
|
-
"gen_ai.agent.version": "1.76.
|
|
156229
|
+
"gen_ai.agent.version": "1.76.2"
|
|
156230
156230
|
};
|
|
156231
156231
|
}
|
|
156232
156232
|
function genAiWorkflowAttributes(workflowName) {
|
|
@@ -156242,7 +156242,7 @@ function genAiWorkflowAttributes(workflowName) {
|
|
|
156242
156242
|
function startGenAiWorkflowSpan(workflowName) {
|
|
156243
156243
|
const attributes = genAiWorkflowAttributes(workflowName);
|
|
156244
156244
|
const name = typeof attributes["gen_ai.workflow.name"] === "string" ? `invoke_workflow ${attributes["gen_ai.workflow.name"]}` : GEN_AI_OPERATION_INVOKE_WORKFLOW;
|
|
156245
|
-
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.76.
|
|
156245
|
+
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.76.2").startSpan(name, { kind: import_api10.SpanKind.INTERNAL, attributes });
|
|
156246
156246
|
}
|
|
156247
156247
|
function endGenAiWorkflowSpan(span, options2 = {}) {
|
|
156248
156248
|
try {
|
|
@@ -156280,7 +156280,7 @@ function startGenAiMemorySpan(operation, options2 = {}) {
|
|
|
156280
156280
|
if (options2.recordCount !== undefined && Number.isInteger(options2.recordCount) && options2.recordCount >= 0) {
|
|
156281
156281
|
attributes["gen_ai.memory.record.count"] = options2.recordCount;
|
|
156282
156282
|
}
|
|
156283
|
-
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.76.
|
|
156283
|
+
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.76.2").startSpan(operation, { kind: import_api10.SpanKind.INTERNAL, attributes });
|
|
156284
156284
|
}
|
|
156285
156285
|
function endGenAiMemorySpan(span, options2 = {}) {
|
|
156286
156286
|
try {
|
|
@@ -249928,7 +249928,7 @@ function getTelemetryAttributes() {
|
|
|
249928
249928
|
attributes["session.id"] = sessionId;
|
|
249929
249929
|
}
|
|
249930
249930
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
249931
|
-
attributes["app.version"] = "1.76.
|
|
249931
|
+
attributes["app.version"] = "1.76.2";
|
|
249932
249932
|
}
|
|
249933
249933
|
const oauthAccount = getOauthAccountInfo();
|
|
249934
249934
|
if (oauthAccount) {
|
|
@@ -250305,7 +250305,7 @@ function normalizeQuestionOptionInput(value) {
|
|
|
250305
250305
|
};
|
|
250306
250306
|
}
|
|
250307
250307
|
function optionsField(question) {
|
|
250308
|
-
for (const name of ["options", "choices", "values", "items", "alternatives", "candidates", "selections"]) {
|
|
250308
|
+
for (const name of ["options", "option", "choices", "values", "items", "alternatives", "candidates", "selections"]) {
|
|
250309
250309
|
const value = question[name];
|
|
250310
250310
|
if (Array.isArray(value))
|
|
250311
250311
|
return value;
|
|
@@ -250367,11 +250367,14 @@ function normalizeAskUserQuestionInput2(value) {
|
|
|
250367
250367
|
...commonFields
|
|
250368
250368
|
};
|
|
250369
250369
|
}
|
|
250370
|
-
if (
|
|
250371
|
-
|
|
250372
|
-
|
|
250373
|
-
|
|
250374
|
-
|
|
250370
|
+
if (optionsField(input) !== null) {
|
|
250371
|
+
const singleQuestion = normalizeQuestionInput(input, 0);
|
|
250372
|
+
if (singleQuestion !== input) {
|
|
250373
|
+
return {
|
|
250374
|
+
questions: dedupeQuestions([singleQuestion]),
|
|
250375
|
+
...commonFields
|
|
250376
|
+
};
|
|
250377
|
+
}
|
|
250375
250378
|
}
|
|
250376
250379
|
return value;
|
|
250377
250380
|
}
|
|
@@ -296944,7 +296947,7 @@ function getInstallationEnv() {
|
|
|
296944
296947
|
return;
|
|
296945
296948
|
}
|
|
296946
296949
|
function getURCodeVersion() {
|
|
296947
|
-
return "1.76.
|
|
296950
|
+
return "1.76.2";
|
|
296948
296951
|
}
|
|
296949
296952
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
296950
296953
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -304275,7 +304278,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
304275
304278
|
const client2 = new Client({
|
|
304276
304279
|
name: "ur",
|
|
304277
304280
|
title: "UR",
|
|
304278
|
-
version: "1.76.
|
|
304281
|
+
version: "1.76.2",
|
|
304279
304282
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
304280
304283
|
websiteUrl: PRODUCT_URL
|
|
304281
304284
|
}, {
|
|
@@ -304635,7 +304638,7 @@ var init_client5 = __esm(() => {
|
|
|
304635
304638
|
const client2 = new Client({
|
|
304636
304639
|
name: "ur",
|
|
304637
304640
|
title: "UR",
|
|
304638
|
-
version: "1.76.
|
|
304641
|
+
version: "1.76.2",
|
|
304639
304642
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
304640
304643
|
websiteUrl: PRODUCT_URL
|
|
304641
304644
|
}, {
|
|
@@ -317188,7 +317191,7 @@ async function createRuntime() {
|
|
|
317188
317191
|
bootstrapTelemetry();
|
|
317189
317192
|
const resource = defaultResource().merge(detectResources({ detectors: [envDetector] })).merge(resourceFromAttributes({
|
|
317190
317193
|
[import_semantic_conventions7.ATTR_SERVICE_NAME]: "ur-agent",
|
|
317191
|
-
[import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.76.
|
|
317194
|
+
[import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.76.2"
|
|
317192
317195
|
}));
|
|
317193
317196
|
const tracerProvider = exporters.traces.length > 0 ? new BasicTracerProvider({
|
|
317194
317197
|
resource,
|
|
@@ -317221,11 +317224,11 @@ async function createRuntime() {
|
|
|
317221
317224
|
setMeterProvider(meterProvider);
|
|
317222
317225
|
setLoggerProvider(loggerProvider);
|
|
317223
317226
|
if (meterProvider) {
|
|
317224
|
-
const meter = meterProvider.getMeter("ur-agent", "1.76.
|
|
317227
|
+
const meter = meterProvider.getMeter("ur-agent", "1.76.2");
|
|
317225
317228
|
setMeter(meter, (name, options2) => meter.createCounter(name, options2));
|
|
317226
317229
|
}
|
|
317227
317230
|
if (loggerProvider) {
|
|
317228
|
-
setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.76.
|
|
317231
|
+
setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.76.2"));
|
|
317229
317232
|
}
|
|
317230
317233
|
if (!cleanupRegistered2) {
|
|
317231
317234
|
cleanupRegistered2 = true;
|
|
@@ -317887,9 +317890,9 @@ async function assertMinVersion() {
|
|
|
317887
317890
|
if (false) {}
|
|
317888
317891
|
try {
|
|
317889
317892
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
317890
|
-
if (versionConfig.minVersion && lt("1.76.
|
|
317893
|
+
if (versionConfig.minVersion && lt("1.76.2", versionConfig.minVersion)) {
|
|
317891
317894
|
console.error(`
|
|
317892
|
-
It looks like your version of UR (${"1.76.
|
|
317895
|
+
It looks like your version of UR (${"1.76.2"}) needs an update.
|
|
317893
317896
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
317894
317897
|
|
|
317895
317898
|
To update, please run:
|
|
@@ -318105,7 +318108,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
318105
318108
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
318106
318109
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
318107
318110
|
pid: process.pid,
|
|
318108
|
-
currentVersion: "1.76.
|
|
318111
|
+
currentVersion: "1.76.2"
|
|
318109
318112
|
});
|
|
318110
318113
|
return "in_progress";
|
|
318111
318114
|
}
|
|
@@ -318114,7 +318117,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
318114
318117
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
318115
318118
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
318116
318119
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
318117
|
-
currentVersion: "1.76.
|
|
318120
|
+
currentVersion: "1.76.2"
|
|
318118
318121
|
});
|
|
318119
318122
|
console.error(`
|
|
318120
318123
|
Error: Windows NPM detected in WSL
|
|
@@ -318649,7 +318652,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
318649
318652
|
}
|
|
318650
318653
|
async function getDoctorDiagnostic() {
|
|
318651
318654
|
const installationType = await getCurrentInstallationType();
|
|
318652
|
-
const version2 = typeof MACRO !== "undefined" ? "1.76.
|
|
318655
|
+
const version2 = typeof MACRO !== "undefined" ? "1.76.2" : "unknown";
|
|
318653
318656
|
const installationPath = await getInstallationPath();
|
|
318654
318657
|
const invokedBinary = getInvokedBinary();
|
|
318655
318658
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -319584,8 +319587,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
319584
319587
|
const maxVersion = await getMaxVersion();
|
|
319585
319588
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
319586
319589
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
319587
|
-
if (gte("1.76.
|
|
319588
|
-
logForDebugging(`Native installer: current version ${"1.76.
|
|
319590
|
+
if (gte("1.76.2", maxVersion)) {
|
|
319591
|
+
logForDebugging(`Native installer: current version ${"1.76.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
319589
319592
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
319590
319593
|
latency_ms: Date.now() - startTime,
|
|
319591
319594
|
max_version: maxVersion,
|
|
@@ -319596,7 +319599,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
319596
319599
|
version2 = maxVersion;
|
|
319597
319600
|
}
|
|
319598
319601
|
}
|
|
319599
|
-
if (!forceReinstall && version2 === "1.76.
|
|
319602
|
+
if (!forceReinstall && version2 === "1.76.2" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
319600
319603
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
319601
319604
|
logEvent("tengu_native_update_complete", {
|
|
319602
319605
|
latency_ms: Date.now() - startTime,
|
|
@@ -366726,6 +366729,23 @@ var init_UI9 = __esm(() => {
|
|
|
366726
366729
|
|
|
366727
366730
|
// src/tools/FileWriteTool/FileWriteTool.ts
|
|
366728
366731
|
import { dirname as dirname41, sep as sep21 } from "path";
|
|
366732
|
+
function objectValue3(value) {
|
|
366733
|
+
return value && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
366734
|
+
}
|
|
366735
|
+
function normalizeWriteInput(value) {
|
|
366736
|
+
const input = objectValue3(value);
|
|
366737
|
+
if (!input)
|
|
366738
|
+
return value;
|
|
366739
|
+
const filePath = typeof input.file_path === "string" ? input.file_path : input.file_path === undefined && typeof input.filePath === "string" ? input.filePath : input.file_path === undefined && typeof input.path === "string" ? input.path : undefined;
|
|
366740
|
+
const content = typeof input.content === "string" ? input.content : input.content === undefined && typeof input.text === "string" ? input.text : input.content === undefined && typeof input.body === "string" ? input.body : input.content === undefined && typeof input.data === "string" ? input.data : input.content === undefined && typeof input.value === "string" ? input.value : undefined;
|
|
366741
|
+
if (filePath === undefined && content === undefined) {
|
|
366742
|
+
return value;
|
|
366743
|
+
}
|
|
366744
|
+
return {
|
|
366745
|
+
...typeof filePath === "string" ? { file_path: filePath } : {},
|
|
366746
|
+
...typeof content === "string" ? { content } : {}
|
|
366747
|
+
};
|
|
366748
|
+
}
|
|
366729
366749
|
var inputSchema14, outputSchema11, FileWriteTool;
|
|
366730
366750
|
var init_FileWriteTool = __esm(() => {
|
|
366731
366751
|
init_analytics();
|
|
@@ -366756,10 +366776,10 @@ var init_FileWriteTool = __esm(() => {
|
|
|
366756
366776
|
init_types11();
|
|
366757
366777
|
init_prompt3();
|
|
366758
366778
|
init_UI9();
|
|
366759
|
-
inputSchema14 = lazySchema(() => exports_external.strictObject({
|
|
366779
|
+
inputSchema14 = lazySchema(() => exports_external.preprocess(normalizeWriteInput, exports_external.strictObject({
|
|
366760
366780
|
file_path: exports_external.string().describe("The absolute path to the file to write (must be absolute, not relative)"),
|
|
366761
366781
|
content: exports_external.string().describe("The content to write to the file")
|
|
366762
|
-
}));
|
|
366782
|
+
})));
|
|
366763
366783
|
outputSchema11 = lazySchema(() => exports_external.object({
|
|
366764
366784
|
type: exports_external.enum(["create", "update"]).describe("Whether a new file was created or an existing file was updated"),
|
|
366765
366785
|
filePath: exports_external.string().describe("The path to the file that was written"),
|
|
@@ -373167,7 +373187,7 @@ var init_UI18 = __esm(() => {
|
|
|
373167
373187
|
|
|
373168
373188
|
// src/tools/ExitPlanModeTool/ExitPlanModeV2Tool.ts
|
|
373169
373189
|
import { writeFile as writeFile21 } from "fs/promises";
|
|
373170
|
-
function
|
|
373190
|
+
function objectValue4(value) {
|
|
373171
373191
|
return value && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
373172
373192
|
}
|
|
373173
373193
|
function isBashToolName(value) {
|
|
@@ -373187,7 +373207,7 @@ function normalizeAllowedPromptItem(value) {
|
|
|
373187
373207
|
const prompt2 = value.trim();
|
|
373188
373208
|
return prompt2 ? [{ tool: "Bash", prompt: prompt2 }] : [];
|
|
373189
373209
|
}
|
|
373190
|
-
const item =
|
|
373210
|
+
const item = objectValue4(value);
|
|
373191
373211
|
if (!item || !isBashToolName(item.tool))
|
|
373192
373212
|
return [];
|
|
373193
373213
|
const prompt = promptTextFromObject(item);
|
|
@@ -373202,7 +373222,7 @@ function normalizeAllowedPromptsValue(value) {
|
|
|
373202
373222
|
return normalizeAllowedPromptItem(value);
|
|
373203
373223
|
if (Array.isArray(value))
|
|
373204
373224
|
return value.flatMap(normalizeAllowedPromptItem);
|
|
373205
|
-
const prompts =
|
|
373225
|
+
const prompts = objectValue4(value);
|
|
373206
373226
|
if (!prompts)
|
|
373207
373227
|
return [];
|
|
373208
373228
|
const prompt = promptTextFromObject(prompts);
|
|
@@ -373215,7 +373235,7 @@ function normalizeAllowedPromptsValue(value) {
|
|
|
373215
373235
|
});
|
|
373216
373236
|
}
|
|
373217
373237
|
function normalizeExitPlanModeInput(value) {
|
|
373218
|
-
const input =
|
|
373238
|
+
const input = objectValue4(value);
|
|
373219
373239
|
if (!input)
|
|
373220
373240
|
return value;
|
|
373221
373241
|
const rawAllowedPrompts = input.allowedPrompts ?? input.allowed_prompts ?? input.prompts ?? input.permissions;
|
|
@@ -389153,7 +389173,7 @@ function isAnyTracingEnabled() {
|
|
|
389153
389173
|
return isTelemetryEnabled() || isEnhancedTelemetryEnabled() || isBetaTracingEnabled();
|
|
389154
389174
|
}
|
|
389155
389175
|
function getTracer() {
|
|
389156
|
-
return import_api39.trace.getTracer("ur-agent.gen_ai", "1.76.
|
|
389176
|
+
return import_api39.trace.getTracer("ur-agent.gen_ai", "1.76.2");
|
|
389157
389177
|
}
|
|
389158
389178
|
function createSpanAttributes(spanType, customAttributes = {}) {
|
|
389159
389179
|
const baseAttributes = getTelemetryAttributes();
|
|
@@ -419337,7 +419357,7 @@ function Feedback({
|
|
|
419337
419357
|
platform: env2.platform,
|
|
419338
419358
|
gitRepo: envInfo.isGit,
|
|
419339
419359
|
terminal: env2.terminal,
|
|
419340
|
-
version: "1.76.
|
|
419360
|
+
version: "1.76.2",
|
|
419341
419361
|
transcript: normalizeMessagesForAPI(messages),
|
|
419342
419362
|
errors: sanitizedErrors,
|
|
419343
419363
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -419529,7 +419549,7 @@ function Feedback({
|
|
|
419529
419549
|
", ",
|
|
419530
419550
|
env2.terminal,
|
|
419531
419551
|
", v",
|
|
419532
|
-
"1.76.
|
|
419552
|
+
"1.76.2"
|
|
419533
419553
|
]
|
|
419534
419554
|
}, undefined, true, undefined, this)
|
|
419535
419555
|
]
|
|
@@ -419635,7 +419655,7 @@ ${sanitizedDescription}
|
|
|
419635
419655
|
` + `**Environment Info**
|
|
419636
419656
|
` + `- Platform: ${env2.platform}
|
|
419637
419657
|
` + `- Terminal: ${env2.terminal}
|
|
419638
|
-
` + `- Version: ${"1.76.
|
|
419658
|
+
` + `- Version: ${"1.76.2"}
|
|
419639
419659
|
` + `- Feedback ID: ${feedbackId}
|
|
419640
419660
|
` + `
|
|
419641
419661
|
**Errors**
|
|
@@ -422745,7 +422765,7 @@ function buildPrimarySection() {
|
|
|
422745
422765
|
}, undefined, false, undefined, this);
|
|
422746
422766
|
return [{
|
|
422747
422767
|
label: "Version",
|
|
422748
|
-
value: "1.76.
|
|
422768
|
+
value: "1.76.2"
|
|
422749
422769
|
}, {
|
|
422750
422770
|
label: "Session name",
|
|
422751
422771
|
value: nameValue
|
|
@@ -426127,7 +426147,7 @@ function Config({
|
|
|
426127
426147
|
}
|
|
426128
426148
|
}, undefined, false, undefined, this)
|
|
426129
426149
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
426130
|
-
currentVersion: "1.76.
|
|
426150
|
+
currentVersion: "1.76.2",
|
|
426131
426151
|
onChoice: (choice) => {
|
|
426132
426152
|
setShowSubmenu(null);
|
|
426133
426153
|
setTabsHidden(false);
|
|
@@ -426139,7 +426159,7 @@ function Config({
|
|
|
426139
426159
|
autoUpdatesChannel: "stable"
|
|
426140
426160
|
};
|
|
426141
426161
|
if (choice === "stay") {
|
|
426142
|
-
newSettings.minimumVersion = "1.76.
|
|
426162
|
+
newSettings.minimumVersion = "1.76.2";
|
|
426143
426163
|
}
|
|
426144
426164
|
updateSettingsForSource("userSettings", newSettings);
|
|
426145
426165
|
setSettingsData((prev_27) => ({
|
|
@@ -434203,7 +434223,7 @@ function HelpV2(t0) {
|
|
|
434203
434223
|
let t6;
|
|
434204
434224
|
if ($2[31] !== tabs) {
|
|
434205
434225
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
434206
|
-
title: `UR v${"1.76.
|
|
434226
|
+
title: `UR v${"1.76.2"}`,
|
|
434207
434227
|
color: "professionalBlue",
|
|
434208
434228
|
defaultTab: "general",
|
|
434209
434229
|
children: tabs
|
|
@@ -435136,7 +435156,7 @@ function buildToolUseContext(tools, readFileStateCache, toolPermissionContext, a
|
|
|
435136
435156
|
async function handleInitialize(options2) {
|
|
435137
435157
|
return {
|
|
435138
435158
|
name: "UR",
|
|
435139
|
-
version: "1.76.
|
|
435159
|
+
version: "1.76.2",
|
|
435140
435160
|
protocolVersion: "0.1.0",
|
|
435141
435161
|
workspaceRoot: options2.cwd,
|
|
435142
435162
|
capabilities: {
|
|
@@ -452244,7 +452264,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
452244
452264
|
return [];
|
|
452245
452265
|
}
|
|
452246
452266
|
}
|
|
452247
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.76.
|
|
452267
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.76.2") {
|
|
452248
452268
|
if (process.env.USER_TYPE === "ant") {
|
|
452249
452269
|
const changelog = "";
|
|
452250
452270
|
if (changelog) {
|
|
@@ -452271,7 +452291,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.76.0")
|
|
|
452271
452291
|
releaseNotes
|
|
452272
452292
|
};
|
|
452273
452293
|
}
|
|
452274
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.76.
|
|
452294
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.76.2") {
|
|
452275
452295
|
if (process.env.USER_TYPE === "ant") {
|
|
452276
452296
|
const changelog = "";
|
|
452277
452297
|
if (changelog) {
|
|
@@ -455137,7 +455157,7 @@ function getRecentActivitySync() {
|
|
|
455137
455157
|
return cachedActivity;
|
|
455138
455158
|
}
|
|
455139
455159
|
function getLogoDisplayData() {
|
|
455140
|
-
const version2 = process.env.DEMO_VERSION ?? "1.76.
|
|
455160
|
+
const version2 = process.env.DEMO_VERSION ?? "1.76.2";
|
|
455141
455161
|
const serverUrl = getDirectConnectServerUrl();
|
|
455142
455162
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
|
|
455143
455163
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -456004,7 +456024,7 @@ function LogoV2() {
|
|
|
456004
456024
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
456005
456025
|
t2 = () => {
|
|
456006
456026
|
const currentConfig2 = getGlobalConfig();
|
|
456007
|
-
if (currentConfig2.lastReleaseNotesSeen === "1.76.
|
|
456027
|
+
if (currentConfig2.lastReleaseNotesSeen === "1.76.2") {
|
|
456008
456028
|
return;
|
|
456009
456029
|
}
|
|
456010
456030
|
saveGlobalConfig(_temp325);
|
|
@@ -456689,12 +456709,12 @@ function LogoV2() {
|
|
|
456689
456709
|
return t41;
|
|
456690
456710
|
}
|
|
456691
456711
|
function _temp325(current) {
|
|
456692
|
-
if (current.lastReleaseNotesSeen === "1.76.
|
|
456712
|
+
if (current.lastReleaseNotesSeen === "1.76.2") {
|
|
456693
456713
|
return current;
|
|
456694
456714
|
}
|
|
456695
456715
|
return {
|
|
456696
456716
|
...current,
|
|
456697
|
-
lastReleaseNotesSeen: "1.76.
|
|
456717
|
+
lastReleaseNotesSeen: "1.76.2"
|
|
456698
456718
|
};
|
|
456699
456719
|
}
|
|
456700
456720
|
function _temp241(s_0) {
|
|
@@ -473508,7 +473528,7 @@ function compileAgenticCiWorkflow(specName = "default", options2 = {}) {
|
|
|
473508
473528
|
if (spec.name !== specName) {
|
|
473509
473529
|
throw new Error("Agentic CI workflow spec name does not match");
|
|
473510
473530
|
}
|
|
473511
|
-
const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.76.
|
|
473531
|
+
const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.76.2" : "1.76.2");
|
|
473512
473532
|
if (!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(packageVersion)) {
|
|
473513
473533
|
throw new Error("invalid ur-agent package version");
|
|
473514
473534
|
}
|
|
@@ -474501,7 +474521,7 @@ runner; \`ur trigger\` is the inbound parser that decides what to run.
|
|
|
474501
474521
|
path: ".github/workflows/ur.yml",
|
|
474502
474522
|
root: "project",
|
|
474503
474523
|
content: compileAgenticCiWorkflow("default", {
|
|
474504
|
-
packageVersion: typeof MACRO !== "undefined" ? "1.76.
|
|
474524
|
+
packageVersion: typeof MACRO !== "undefined" ? "1.76.2" : "1.76.2"
|
|
474505
474525
|
})
|
|
474506
474526
|
},
|
|
474507
474527
|
{
|
|
@@ -474564,7 +474584,7 @@ function value(tokens, flag) {
|
|
|
474564
474584
|
return index2 >= 0 ? tokens[index2 + 1] : undefined;
|
|
474565
474585
|
}
|
|
474566
474586
|
function cliVersion() {
|
|
474567
|
-
return typeof MACRO !== "undefined" ? "1.76.
|
|
474587
|
+
return typeof MACRO !== "undefined" ? "1.76.2" : "1.76.2";
|
|
474568
474588
|
}
|
|
474569
474589
|
function workflowPath(cwd2) {
|
|
474570
474590
|
return join159(cwd2, ".github", "workflows", "ur-agentic-ci.yml");
|
|
@@ -480420,7 +480440,7 @@ function createAcpStdioApp(deps) {
|
|
|
480420
480440
|
}
|
|
480421
480441
|
},
|
|
480422
480442
|
authMethods: [],
|
|
480423
|
-
agentInfo: { name: "UR-Nexus", version: "1.76.
|
|
480443
|
+
agentInfo: { name: "UR-Nexus", version: "1.76.2" }
|
|
480424
480444
|
})).onRequest("authenticate", () => ({})).onRequest("session/new", async (context6) => {
|
|
480425
480445
|
const result = runtime2.newSession(context6.params.cwd, context6.params.mcpServers, context6.params.additionalDirectories);
|
|
480426
480446
|
await runtime2.announce({
|
|
@@ -480517,7 +480537,7 @@ function createAcpStdioAgent(deps) {
|
|
|
480517
480537
|
}
|
|
480518
480538
|
},
|
|
480519
480539
|
authMethods: [],
|
|
480520
|
-
agentInfo: { name: "UR-Nexus", version: "1.76.
|
|
480540
|
+
agentInfo: { name: "UR-Nexus", version: "1.76.2" }
|
|
480521
480541
|
});
|
|
480522
480542
|
return;
|
|
480523
480543
|
case "authenticate":
|
|
@@ -689964,7 +689984,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
689964
689984
|
smapsRollup,
|
|
689965
689985
|
platform: process.platform,
|
|
689966
689986
|
nodeVersion: process.version,
|
|
689967
|
-
ccVersion: "1.76.
|
|
689987
|
+
ccVersion: "1.76.2"
|
|
689968
689988
|
};
|
|
689969
689989
|
}
|
|
689970
689990
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -690544,7 +690564,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
690544
690564
|
var call154 = async () => {
|
|
690545
690565
|
return {
|
|
690546
690566
|
type: "text",
|
|
690547
|
-
value: "1.76.
|
|
690567
|
+
value: "1.76.2"
|
|
690548
690568
|
};
|
|
690549
690569
|
}, version2, version_default;
|
|
690550
690570
|
var init_version = __esm(() => {
|
|
@@ -701811,7 +701831,7 @@ function generateHtmlReport(data, insights) {
|
|
|
701811
701831
|
</html>`;
|
|
701812
701832
|
}
|
|
701813
701833
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
701814
|
-
const version3 = typeof MACRO !== "undefined" ? "1.76.
|
|
701834
|
+
const version3 = typeof MACRO !== "undefined" ? "1.76.2" : "unknown";
|
|
701815
701835
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
701816
701836
|
const facets_summary = {
|
|
701817
701837
|
total: facets.size,
|
|
@@ -706125,7 +706145,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
706125
706145
|
init_settings2();
|
|
706126
706146
|
init_slowOperations();
|
|
706127
706147
|
init_uuid();
|
|
706128
|
-
VERSION7 = typeof MACRO !== "undefined" ? "1.76.
|
|
706148
|
+
VERSION7 = typeof MACRO !== "undefined" ? "1.76.2" : "unknown";
|
|
706129
706149
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
706130
706150
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
706131
706151
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -707340,7 +707360,7 @@ var init_filesystem = __esm(() => {
|
|
|
707340
707360
|
});
|
|
707341
707361
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
707342
707362
|
const nonce = randomBytes20(16).toString("hex");
|
|
707343
|
-
return join232(getURTempDir(), "bundled-skills", "1.76.
|
|
707363
|
+
return join232(getURTempDir(), "bundled-skills", "1.76.2", nonce);
|
|
707344
707364
|
});
|
|
707345
707365
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
707346
707366
|
});
|
|
@@ -713689,7 +713709,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
713689
713709
|
}
|
|
713690
713710
|
function computeFingerprintFromMessages(messages) {
|
|
713691
713711
|
const firstMessageText = extractFirstMessageText(messages);
|
|
713692
|
-
return computeFingerprint(firstMessageText, "1.76.
|
|
713712
|
+
return computeFingerprint(firstMessageText, "1.76.2");
|
|
713693
713713
|
}
|
|
713694
713714
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
713695
713715
|
var init_fingerprint = () => {};
|
|
@@ -715608,7 +715628,7 @@ async function sideQuery(opts) {
|
|
|
715608
715628
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
715609
715629
|
}
|
|
715610
715630
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
715611
|
-
const fingerprint2 = computeFingerprint(messageText2, "1.76.
|
|
715631
|
+
const fingerprint2 = computeFingerprint(messageText2, "1.76.2");
|
|
715612
715632
|
const attributionHeader = getAttributionHeader(fingerprint2);
|
|
715613
715633
|
const systemBlocks = [
|
|
715614
715634
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -720445,7 +720465,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
720445
720465
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
720446
720466
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
720447
720467
|
betas: getSdkBetas(),
|
|
720448
|
-
ur_version: "1.76.
|
|
720468
|
+
ur_version: "1.76.2",
|
|
720449
720469
|
output_style: outputStyle2,
|
|
720450
720470
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
720451
720471
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -734317,7 +734337,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
734317
734337
|
function getSemverPart(version3) {
|
|
734318
734338
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
734319
734339
|
}
|
|
734320
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.76.
|
|
734340
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.76.2") {
|
|
734321
734341
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react223.useState(() => getSemverPart(initialVersion));
|
|
734322
734342
|
if (!updatedVersion) {
|
|
734323
734343
|
return null;
|
|
@@ -734366,7 +734386,7 @@ function AutoUpdater({
|
|
|
734366
734386
|
return;
|
|
734367
734387
|
}
|
|
734368
734388
|
if (false) {}
|
|
734369
|
-
const currentVersion = "1.76.
|
|
734389
|
+
const currentVersion = "1.76.2";
|
|
734370
734390
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
734371
734391
|
let latestVersion = await getLatestVersion(channel);
|
|
734372
734392
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -734595,12 +734615,12 @@ function NativeAutoUpdater({
|
|
|
734595
734615
|
logEvent("tengu_native_auto_updater_start", {});
|
|
734596
734616
|
try {
|
|
734597
734617
|
const maxVersion = await getMaxVersion();
|
|
734598
|
-
if (maxVersion && gt("1.76.
|
|
734618
|
+
if (maxVersion && gt("1.76.2", maxVersion)) {
|
|
734599
734619
|
const msg = await getMaxVersionMessage();
|
|
734600
734620
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
734601
734621
|
}
|
|
734602
734622
|
const result = await installLatest(channel);
|
|
734603
|
-
const currentVersion = "1.76.
|
|
734623
|
+
const currentVersion = "1.76.2";
|
|
734604
734624
|
const latencyMs = Date.now() - startTime;
|
|
734605
734625
|
if (result.lockFailed) {
|
|
734606
734626
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -734737,17 +734757,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
734737
734757
|
const maxVersion = await getMaxVersion();
|
|
734738
734758
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
734739
734759
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
734740
|
-
if (gte("1.76.
|
|
734741
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.76.
|
|
734760
|
+
if (gte("1.76.2", maxVersion)) {
|
|
734761
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.76.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
734742
734762
|
setUpdateAvailable(false);
|
|
734743
734763
|
return;
|
|
734744
734764
|
}
|
|
734745
734765
|
latest = maxVersion;
|
|
734746
734766
|
}
|
|
734747
|
-
const hasUpdate = latest && !gte("1.76.
|
|
734767
|
+
const hasUpdate = latest && !gte("1.76.2", latest) && !shouldSkipVersion(latest);
|
|
734748
734768
|
setUpdateAvailable(!!hasUpdate);
|
|
734749
734769
|
if (hasUpdate) {
|
|
734750
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.76.
|
|
734770
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.76.2"} -> ${latest}`);
|
|
734751
734771
|
}
|
|
734752
734772
|
};
|
|
734753
734773
|
$2[0] = t1;
|
|
@@ -734781,7 +734801,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
734781
734801
|
wrap: "truncate",
|
|
734782
734802
|
children: [
|
|
734783
734803
|
"currentVersion: ",
|
|
734784
|
-
"1.76.
|
|
734804
|
+
"1.76.2"
|
|
734785
734805
|
]
|
|
734786
734806
|
}, undefined, true, undefined, this);
|
|
734787
734807
|
$2[3] = verbose;
|
|
@@ -745581,7 +745601,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
745581
745601
|
project_dir: getOriginalCwd(),
|
|
745582
745602
|
added_dirs: addedDirs
|
|
745583
745603
|
},
|
|
745584
|
-
version: "1.76.
|
|
745604
|
+
version: "1.76.2",
|
|
745585
745605
|
output_style: {
|
|
745586
745606
|
name: outputStyleName
|
|
745587
745607
|
},
|
|
@@ -745716,7 +745736,7 @@ function StatusLineInner({
|
|
|
745716
745736
|
const attention = customStatusError ?? taskAttention;
|
|
745717
745737
|
const terminalSize = React132.useContext(TerminalSizeContext);
|
|
745718
745738
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
745719
|
-
version: "1.76.
|
|
745739
|
+
version: "1.76.2",
|
|
745720
745740
|
providerLabel: providerRuntime.providerLabel,
|
|
745721
745741
|
authMode: providerRuntime.authLabel,
|
|
745722
745742
|
model: renderModelName(mainLoopModel) || providerRuntime.model || "",
|
|
@@ -758001,7 +758021,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
758001
758021
|
} catch {}
|
|
758002
758022
|
const data = {
|
|
758003
758023
|
trigger: trigger2,
|
|
758004
|
-
version: "1.76.
|
|
758024
|
+
version: "1.76.2",
|
|
758005
758025
|
platform: process.platform,
|
|
758006
758026
|
transcript,
|
|
758007
758027
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -770375,7 +770395,7 @@ function WelcomeV2() {
|
|
|
770375
770395
|
dimColor: true,
|
|
770376
770396
|
children: [
|
|
770377
770397
|
"v",
|
|
770378
|
-
"1.76.
|
|
770398
|
+
"1.76.2"
|
|
770379
770399
|
]
|
|
770380
770400
|
}, undefined, true, undefined, this)
|
|
770381
770401
|
]
|
|
@@ -771635,7 +771655,7 @@ function completeOnboarding() {
|
|
|
771635
771655
|
saveGlobalConfig((current) => ({
|
|
771636
771656
|
...current,
|
|
771637
771657
|
hasCompletedOnboarding: true,
|
|
771638
|
-
lastOnboardingVersion: "1.76.
|
|
771658
|
+
lastOnboardingVersion: "1.76.2"
|
|
771639
771659
|
}));
|
|
771640
771660
|
}
|
|
771641
771661
|
function showDialog(root2, renderer) {
|
|
@@ -776679,7 +776699,7 @@ function appendToLog(path24, message) {
|
|
|
776679
776699
|
cwd: getFsImplementation().cwd(),
|
|
776680
776700
|
userType: process.env.USER_TYPE,
|
|
776681
776701
|
sessionId: getSessionId(),
|
|
776682
|
-
version: "1.76.
|
|
776702
|
+
version: "1.76.2"
|
|
776683
776703
|
};
|
|
776684
776704
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
776685
776705
|
}
|
|
@@ -780838,8 +780858,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
780838
780858
|
}
|
|
780839
780859
|
async function checkEnvLessBridgeMinVersion() {
|
|
780840
780860
|
const cfg = await getEnvLessBridgeConfig();
|
|
780841
|
-
if (cfg.min_version && lt("1.76.
|
|
780842
|
-
return `Your version of UR (${"1.76.
|
|
780861
|
+
if (cfg.min_version && lt("1.76.2", cfg.min_version)) {
|
|
780862
|
+
return `Your version of UR (${"1.76.2"}) is too old for Remote Control.
|
|
780843
780863
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
780844
780864
|
}
|
|
780845
780865
|
return null;
|
|
@@ -781313,7 +781333,7 @@ async function initBridgeCore(params) {
|
|
|
781313
781333
|
const rawApi = createBridgeApiClient({
|
|
781314
781334
|
baseUrl,
|
|
781315
781335
|
getAccessToken,
|
|
781316
|
-
runnerVersion: "1.76.
|
|
781336
|
+
runnerVersion: "1.76.2",
|
|
781317
781337
|
onDebug: logForDebugging,
|
|
781318
781338
|
onAuth401,
|
|
781319
781339
|
getTrustedDeviceToken
|
|
@@ -790786,7 +790806,7 @@ function getAgUiCapabilities() {
|
|
|
790786
790806
|
name: "UR-Nexus",
|
|
790787
790807
|
type: "ur-nexus",
|
|
790788
790808
|
description: "Provider-flexible, local-first autonomous engineering workflow agent.",
|
|
790789
|
-
version: "1.76.
|
|
790809
|
+
version: "1.76.2",
|
|
790790
790810
|
provider: "UR",
|
|
790791
790811
|
documentationUrl: "https://github.com/Maitham16/UR/blob/master/docs/AG_UI.md"
|
|
790792
790812
|
},
|
|
@@ -791926,7 +791946,7 @@ function createMCPServer(cwd4, debug2, verbose) {
|
|
|
791926
791946
|
};
|
|
791927
791947
|
const server2 = new Server({
|
|
791928
791948
|
name: "ur-nexus",
|
|
791929
|
-
version: "1.76.
|
|
791949
|
+
version: "1.76.2"
|
|
791930
791950
|
}, {
|
|
791931
791951
|
capabilities: {
|
|
791932
791952
|
tools: {}
|
|
@@ -793084,7 +793104,7 @@ function thrownResponse(error40) {
|
|
|
793084
793104
|
}
|
|
793085
793105
|
async function createUrMcp2026Runtime(options4) {
|
|
793086
793106
|
const server2 = createMCPServer(options4.cwd, options4.debug === true, options4.verbose === true);
|
|
793087
|
-
const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.76.
|
|
793107
|
+
const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.76.2" }, { capabilities: {} });
|
|
793088
793108
|
const [clientTransport, serverTransport] = createLinkedTransportPair();
|
|
793089
793109
|
try {
|
|
793090
793110
|
await server2.connect(serverTransport);
|
|
@@ -793095,7 +793115,7 @@ async function createUrMcp2026Runtime(options4) {
|
|
|
793095
793115
|
}
|
|
793096
793116
|
const runtime2 = new Mcp2026Runtime({
|
|
793097
793117
|
cwd: options4.cwd,
|
|
793098
|
-
version: "1.76.
|
|
793118
|
+
version: "1.76.2",
|
|
793099
793119
|
backend: {
|
|
793100
793120
|
listTools: async () => {
|
|
793101
793121
|
const listed = await client2.listTools();
|
|
@@ -795236,7 +795256,7 @@ async function update() {
|
|
|
795236
795256
|
logEvent("tengu_update_check", {});
|
|
795237
795257
|
const diagnostic2 = await getDoctorDiagnostic();
|
|
795238
795258
|
const result = await checkUpgradeStatus({
|
|
795239
|
-
currentVersion: "1.76.
|
|
795259
|
+
currentVersion: "1.76.2",
|
|
795240
795260
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
795241
795261
|
installationType: diagnostic2.installationType,
|
|
795242
795262
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -796552,7 +796572,7 @@ ${customInstructions}` : customInstructions;
|
|
|
796552
796572
|
}
|
|
796553
796573
|
}
|
|
796554
796574
|
logForDiagnosticsNoPII("info", "started", {
|
|
796555
|
-
version: "1.76.
|
|
796575
|
+
version: "1.76.2",
|
|
796556
796576
|
is_native_binary: isInBundledMode()
|
|
796557
796577
|
});
|
|
796558
796578
|
registerCleanup(async () => {
|
|
@@ -797338,7 +797358,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
797338
797358
|
pendingHookMessages
|
|
797339
797359
|
}, renderAndRun);
|
|
797340
797360
|
}
|
|
797341
|
-
}).version("1.76.
|
|
797361
|
+
}).version("1.76.2 (UR-Nexus)", "-v, --version", "Output the version number");
|
|
797342
797362
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
797343
797363
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
797344
797364
|
if (canUserConfigureAdvisor()) {
|
|
@@ -798390,7 +798410,7 @@ if (false) {}
|
|
|
798390
798410
|
async function main2() {
|
|
798391
798411
|
const args = process.argv.slice(2);
|
|
798392
798412
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
798393
|
-
console.log(`${"1.76.
|
|
798413
|
+
console.log(`${"1.76.2"} (UR-Nexus)`);
|
|
798394
798414
|
return;
|
|
798395
798415
|
}
|
|
798396
798416
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|
package/docs/VALIDATION.md
CHANGED
package/documentation/index.html
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<main id="content" class="content">
|
|
46
46
|
<header class="topbar">
|
|
47
47
|
<div>
|
|
48
|
-
<p class="eyebrow">Version 1.76.
|
|
48
|
+
<p class="eyebrow">Version 1.76.2</p>
|
|
49
49
|
<h1>UR-Nexus Documentation</h1>
|
|
50
50
|
<p class="lead">A practical, tutorial-style reference for installing, configuring, automating, extending, and operating UR-Nexus.</p>
|
|
51
51
|
</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.76.
|
|
5
|
+
"version": "1.76.2",
|
|
6
6
|
"publisher": "ur-nexus",
|
|
7
7
|
"engines": {
|
|
8
8
|
"vscode": "^1.92.0"
|
package/package.json
CHANGED