ur-agent 1.81.10 → 1.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.82.0
|
|
4
|
+
|
|
5
|
+
- Restored the complete UR agent prompt, conversation history, tools, and
|
|
6
|
+
reasoning configuration for every request, including greetings and small
|
|
7
|
+
code questions. No request is reclassified into a reduced standalone chat,
|
|
8
|
+
preserving identical quality and agent behavior across Ollama, vLLM,
|
|
9
|
+
OpenRouter, and all other providers.
|
|
10
|
+
- Retained only provider-compatibility safeguards: self-hosted runtimes use a
|
|
11
|
+
realistic completion reservation, vLLM context-overflow responses retry with
|
|
12
|
+
a budget that actually fits, and discovered provider output limits remain
|
|
13
|
+
enforced. Ollama keeps its full agent context and 30-minute warm lifetime.
|
|
14
|
+
- Aligned release benchmarks with the repository's 120-second test timeout so
|
|
15
|
+
slower AST checks report their real result instead of an incidental five-second
|
|
16
|
+
machine-load timeout.
|
|
17
|
+
|
|
3
18
|
## 1.81.10
|
|
4
19
|
|
|
5
20
|
- Reduced provider latency and memory pressure without removing the complete
|
package/dist/cli.js
CHANGED
|
@@ -57315,11 +57315,9 @@ function getOllamaKeepAlive(env4 = process.env) {
|
|
|
57315
57315
|
const asNumber = Number(trimmed);
|
|
57316
57316
|
return Number.isFinite(asNumber) ? asNumber : trimmed;
|
|
57317
57317
|
}
|
|
57318
|
-
var MIN_AGENT_NUM_CTX = 32768,
|
|
57318
|
+
var MIN_AGENT_NUM_CTX = 32768, DEFAULT_OLLAMA_KEEP_ALIVE = "30m", NUM_CTX_BUCKETS, OUTPUT_HEADROOM_TOKENS = 4096;
|
|
57319
57319
|
var init_ollamaTuning = __esm(() => {
|
|
57320
57320
|
NUM_CTX_BUCKETS = [
|
|
57321
|
-
8192,
|
|
57322
|
-
16384,
|
|
57323
57321
|
32768,
|
|
57324
57322
|
49152,
|
|
57325
57323
|
65536,
|
|
@@ -89950,13 +89948,11 @@ function toOllamaChatRequest(params, stream4, capabilities, baseUrl = getEffecti
|
|
|
89950
89948
|
}
|
|
89951
89949
|
const estimatedPromptTokens = estimateInputTokens(params);
|
|
89952
89950
|
const maxTokens = typeof params.max_tokens === "number" ? params.max_tokens : undefined;
|
|
89953
|
-
const isLightweightChat = tools.length === 0 && (maxTokens ?? Number.POSITIVE_INFINITY) <= 1024 && estimatedPromptTokens <= 4096;
|
|
89954
89951
|
const numCtx = computeOllamaNumCtx({
|
|
89955
89952
|
modelContextLength: getOllamaContextLengthForModel(params.model, baseUrl),
|
|
89956
89953
|
estimatedPromptTokens,
|
|
89957
89954
|
maxTokens,
|
|
89958
|
-
override: getOllamaNumCtxOverride()
|
|
89959
|
-
...isLightweightChat ? { minCtx: MIN_CHAT_NUM_CTX } : {}
|
|
89955
|
+
override: getOllamaNumCtxOverride()
|
|
89960
89956
|
});
|
|
89961
89957
|
if (numCtx !== undefined) {
|
|
89962
89958
|
options.num_ctx = numCtx;
|
|
@@ -108384,7 +108380,7 @@ var init_auth = __esm(() => {
|
|
|
108384
108380
|
|
|
108385
108381
|
// src/utils/userAgent.ts
|
|
108386
108382
|
function getURCodeUserAgent() {
|
|
108387
|
-
return `ur/${"1.
|
|
108383
|
+
return `ur/${"1.82.0"}`;
|
|
108388
108384
|
}
|
|
108389
108385
|
|
|
108390
108386
|
// src/utils/workloadContext.ts
|
|
@@ -108406,7 +108402,7 @@ function getUserAgent() {
|
|
|
108406
108402
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
108407
108403
|
const workload = getWorkload();
|
|
108408
108404
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
108409
|
-
return `ur-cli/${"1.
|
|
108405
|
+
return `ur-cli/${"1.82.0"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
108410
108406
|
}
|
|
108411
108407
|
function getMCPUserAgent() {
|
|
108412
108408
|
const parts = [];
|
|
@@ -108420,7 +108416,7 @@ function getMCPUserAgent() {
|
|
|
108420
108416
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
108421
108417
|
}
|
|
108422
108418
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
108423
|
-
return `ur/${"1.
|
|
108419
|
+
return `ur/${"1.82.0"}${suffix}`;
|
|
108424
108420
|
}
|
|
108425
108421
|
function getWebFetchUserAgent() {
|
|
108426
108422
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -108558,7 +108554,7 @@ var init_user = __esm(() => {
|
|
|
108558
108554
|
deviceId,
|
|
108559
108555
|
sessionId: getSessionId(),
|
|
108560
108556
|
email: getEmail(),
|
|
108561
|
-
appVersion: "1.
|
|
108557
|
+
appVersion: "1.82.0",
|
|
108562
108558
|
platform: getHostPlatformForAnalytics(),
|
|
108563
108559
|
organizationUuid,
|
|
108564
108560
|
accountUuid,
|
|
@@ -116445,7 +116441,7 @@ var init_metadata = __esm(() => {
|
|
|
116445
116441
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
116446
116442
|
WHITESPACE_REGEX = /\s+/;
|
|
116447
116443
|
getVersionBase = memoize_default(() => {
|
|
116448
|
-
const match = "1.
|
|
116444
|
+
const match = "1.82.0".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
116449
116445
|
return match ? match[0] : undefined;
|
|
116450
116446
|
});
|
|
116451
116447
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -116485,7 +116481,7 @@ var init_metadata = __esm(() => {
|
|
|
116485
116481
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
116486
116482
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
116487
116483
|
isURAiAuth: isURAISubscriber(),
|
|
116488
|
-
version: "1.
|
|
116484
|
+
version: "1.82.0",
|
|
116489
116485
|
versionBase: getVersionBase(),
|
|
116490
116486
|
buildTime: "",
|
|
116491
116487
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -117155,7 +117151,7 @@ function initialize1PEventLogging() {
|
|
|
117155
117151
|
const platform2 = getPlatform();
|
|
117156
117152
|
const attributes = {
|
|
117157
117153
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
117158
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.
|
|
117154
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.82.0"
|
|
117159
117155
|
};
|
|
117160
117156
|
if (platform2 === "wsl") {
|
|
117161
117157
|
const wslVersion = getWslVersion();
|
|
@@ -117183,7 +117179,7 @@ function initialize1PEventLogging() {
|
|
|
117183
117179
|
})
|
|
117184
117180
|
]
|
|
117185
117181
|
});
|
|
117186
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.
|
|
117182
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.82.0");
|
|
117187
117183
|
}
|
|
117188
117184
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
117189
117185
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -127149,7 +127145,7 @@ function formatA2AAgentCard(options = {}, pretty = true) {
|
|
|
127149
127145
|
function formatA2AV1AgentCard(options = {}, pretty = true) {
|
|
127150
127146
|
return JSON.stringify(buildA2AV1AgentCard(options), null, pretty ? 2 : 0);
|
|
127151
127147
|
}
|
|
127152
|
-
var urVersion = "1.
|
|
127148
|
+
var urVersion = "1.82.0", researchSnapshotDate = "2026-08-10", coverage, priorityRoadmap;
|
|
127153
127149
|
var init_trends = __esm(() => {
|
|
127154
127150
|
init_a2aCardSignature();
|
|
127155
127151
|
coverage = [
|
|
@@ -130039,7 +130035,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
130039
130035
|
if (!isAttributionHeaderEnabled()) {
|
|
130040
130036
|
return "";
|
|
130041
130037
|
}
|
|
130042
|
-
const version2 = `${"1.
|
|
130038
|
+
const version2 = `${"1.82.0"}.${fingerprint}`;
|
|
130043
130039
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
130044
130040
|
const cch = "";
|
|
130045
130041
|
const workload = getWorkload();
|
|
@@ -184961,7 +184957,7 @@ var init_projectSafety = __esm(() => {
|
|
|
184961
184957
|
function getInstruments() {
|
|
184962
184958
|
if (instruments)
|
|
184963
184959
|
return instruments;
|
|
184964
|
-
const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.
|
|
184960
|
+
const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.82.0");
|
|
184965
184961
|
instruments = {
|
|
184966
184962
|
operationDuration: meter.createHistogram("gen_ai.client.operation.duration", {
|
|
184967
184963
|
description: "GenAI operation duration.",
|
|
@@ -185059,7 +185055,7 @@ function genAiAgentAttributes() {
|
|
|
185059
185055
|
"gen_ai.operation.name": GEN_AI_OPERATION_INVOKE_AGENT,
|
|
185060
185056
|
"gen_ai.provider.name": "ur",
|
|
185061
185057
|
"gen_ai.agent.name": "UR-Nexus",
|
|
185062
|
-
"gen_ai.agent.version": "1.
|
|
185058
|
+
"gen_ai.agent.version": "1.82.0"
|
|
185063
185059
|
};
|
|
185064
185060
|
}
|
|
185065
185061
|
function genAiWorkflowAttributes(workflowName, workflowRunId) {
|
|
@@ -185080,7 +185076,7 @@ function genAiWorkflowAttributes(workflowName, workflowRunId) {
|
|
|
185080
185076
|
function startGenAiWorkflowSpan(workflowName, workflowRunId) {
|
|
185081
185077
|
const attributes = genAiWorkflowAttributes(workflowName, workflowRunId);
|
|
185082
185078
|
const name = typeof attributes["gen_ai.workflow.name"] === "string" ? `invoke_workflow ${attributes["gen_ai.workflow.name"]}` : GEN_AI_OPERATION_INVOKE_WORKFLOW;
|
|
185083
|
-
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.
|
|
185079
|
+
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.82.0").startSpan(name, { kind: import_api10.SpanKind.INTERNAL, attributes });
|
|
185084
185080
|
}
|
|
185085
185081
|
function endGenAiWorkflowSpan(span, options2 = {}) {
|
|
185086
185082
|
try {
|
|
@@ -185118,7 +185114,7 @@ function startGenAiMemorySpan(operation, options2 = {}) {
|
|
|
185118
185114
|
if (options2.recordCount !== undefined && Number.isInteger(options2.recordCount) && options2.recordCount >= 0) {
|
|
185119
185115
|
attributes["gen_ai.memory.record.count"] = options2.recordCount;
|
|
185120
185116
|
}
|
|
185121
|
-
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.
|
|
185117
|
+
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.82.0").startSpan(operation, { kind: import_api10.SpanKind.INTERNAL, attributes });
|
|
185122
185118
|
}
|
|
185123
185119
|
function endGenAiMemorySpan(span, options2 = {}) {
|
|
185124
185120
|
try {
|
|
@@ -278833,7 +278829,7 @@ function getTelemetryAttributes() {
|
|
|
278833
278829
|
attributes["session.id"] = sessionId;
|
|
278834
278830
|
}
|
|
278835
278831
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
278836
|
-
attributes["app.version"] = "1.
|
|
278832
|
+
attributes["app.version"] = "1.82.0";
|
|
278837
278833
|
}
|
|
278838
278834
|
const oauthAccount = getOauthAccountInfo();
|
|
278839
278835
|
if (oauthAccount) {
|
|
@@ -320237,7 +320233,7 @@ function getInstallationEnv() {
|
|
|
320237
320233
|
return;
|
|
320238
320234
|
}
|
|
320239
320235
|
function getURCodeVersion() {
|
|
320240
|
-
return "1.
|
|
320236
|
+
return "1.82.0";
|
|
320241
320237
|
}
|
|
320242
320238
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
320243
320239
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -327607,7 +327603,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
327607
327603
|
const client2 = new Client({
|
|
327608
327604
|
name: "ur",
|
|
327609
327605
|
title: "UR",
|
|
327610
|
-
version: "1.
|
|
327606
|
+
version: "1.82.0",
|
|
327611
327607
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
327612
327608
|
websiteUrl: PRODUCT_URL
|
|
327613
327609
|
}, {
|
|
@@ -327968,7 +327964,7 @@ var init_client5 = __esm(() => {
|
|
|
327968
327964
|
const client2 = new Client({
|
|
327969
327965
|
name: "ur",
|
|
327970
327966
|
title: "UR",
|
|
327971
|
-
version: "1.
|
|
327967
|
+
version: "1.82.0",
|
|
327972
327968
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
327973
327969
|
websiteUrl: PRODUCT_URL
|
|
327974
327970
|
}, {
|
|
@@ -340741,7 +340737,7 @@ async function createRuntime() {
|
|
|
340741
340737
|
bootstrapTelemetry();
|
|
340742
340738
|
const resource = defaultResource().merge(detectResources({ detectors: [envDetector] })).merge(resourceFromAttributes({
|
|
340743
340739
|
[import_semantic_conventions7.ATTR_SERVICE_NAME]: "ur-agent",
|
|
340744
|
-
[import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.
|
|
340740
|
+
[import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.82.0"
|
|
340745
340741
|
}));
|
|
340746
340742
|
const tracerProvider = exporters.traces.length > 0 ? new BasicTracerProvider({
|
|
340747
340743
|
resource,
|
|
@@ -340774,11 +340770,11 @@ async function createRuntime() {
|
|
|
340774
340770
|
setMeterProvider(meterProvider);
|
|
340775
340771
|
setLoggerProvider(loggerProvider);
|
|
340776
340772
|
if (meterProvider) {
|
|
340777
|
-
const meter = meterProvider.getMeter("ur-agent", "1.
|
|
340773
|
+
const meter = meterProvider.getMeter("ur-agent", "1.82.0");
|
|
340778
340774
|
setMeter(meter, (name, options2) => meter.createCounter(name, options2));
|
|
340779
340775
|
}
|
|
340780
340776
|
if (loggerProvider) {
|
|
340781
|
-
setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.
|
|
340777
|
+
setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.82.0"));
|
|
340782
340778
|
}
|
|
340783
340779
|
if (!cleanupRegistered3) {
|
|
340784
340780
|
cleanupRegistered3 = true;
|
|
@@ -341440,9 +341436,9 @@ async function assertMinVersion() {
|
|
|
341440
341436
|
if (false) {}
|
|
341441
341437
|
try {
|
|
341442
341438
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
341443
|
-
if (versionConfig.minVersion && lt("1.
|
|
341439
|
+
if (versionConfig.minVersion && lt("1.82.0", versionConfig.minVersion)) {
|
|
341444
341440
|
console.error(`
|
|
341445
|
-
It looks like your version of UR (${"1.
|
|
341441
|
+
It looks like your version of UR (${"1.82.0"}) needs an update.
|
|
341446
341442
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
341447
341443
|
|
|
341448
341444
|
To update, please run:
|
|
@@ -341658,7 +341654,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
341658
341654
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
341659
341655
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
341660
341656
|
pid: process.pid,
|
|
341661
|
-
currentVersion: "1.
|
|
341657
|
+
currentVersion: "1.82.0"
|
|
341662
341658
|
});
|
|
341663
341659
|
return "in_progress";
|
|
341664
341660
|
}
|
|
@@ -341667,7 +341663,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
341667
341663
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
341668
341664
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
341669
341665
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
341670
|
-
currentVersion: "1.
|
|
341666
|
+
currentVersion: "1.82.0"
|
|
341671
341667
|
});
|
|
341672
341668
|
console.error(`
|
|
341673
341669
|
Error: Windows NPM detected in WSL
|
|
@@ -342202,7 +342198,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
342202
342198
|
}
|
|
342203
342199
|
async function getDoctorDiagnostic() {
|
|
342204
342200
|
const installationType = await getCurrentInstallationType();
|
|
342205
|
-
const version2 = typeof MACRO !== "undefined" ? "1.
|
|
342201
|
+
const version2 = typeof MACRO !== "undefined" ? "1.82.0" : "unknown";
|
|
342206
342202
|
const installationPath = await getInstallationPath();
|
|
342207
342203
|
const invokedBinary = getInvokedBinary();
|
|
342208
342204
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -343137,8 +343133,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
343137
343133
|
const maxVersion = await getMaxVersion();
|
|
343138
343134
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
343139
343135
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
343140
|
-
if (gte("1.
|
|
343141
|
-
logForDebugging(`Native installer: current version ${"1.
|
|
343136
|
+
if (gte("1.82.0", maxVersion)) {
|
|
343137
|
+
logForDebugging(`Native installer: current version ${"1.82.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
343142
343138
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
343143
343139
|
latency_ms: Date.now() - startTime,
|
|
343144
343140
|
max_version: maxVersion,
|
|
@@ -343149,7 +343145,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
343149
343145
|
version2 = maxVersion;
|
|
343150
343146
|
}
|
|
343151
343147
|
}
|
|
343152
|
-
if (!forceReinstall && version2 === "1.
|
|
343148
|
+
if (!forceReinstall && version2 === "1.82.0" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
343153
343149
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
343154
343150
|
logEvent("tengu_native_update_complete", {
|
|
343155
343151
|
latency_ms: Date.now() - startTime,
|
|
@@ -413839,7 +413835,7 @@ function isAnyTracingEnabled() {
|
|
|
413839
413835
|
return isTelemetryEnabled() || isEnhancedTelemetryEnabled() || isBetaTracingEnabled();
|
|
413840
413836
|
}
|
|
413841
413837
|
function getTracer() {
|
|
413842
|
-
return import_api39.trace.getTracer("ur-agent.gen_ai", "1.
|
|
413838
|
+
return import_api39.trace.getTracer("ur-agent.gen_ai", "1.82.0");
|
|
413843
413839
|
}
|
|
413844
413840
|
function createSpanAttributes(spanType, customAttributes = {}) {
|
|
413845
413841
|
const baseAttributes = getTelemetryAttributes();
|
|
@@ -443978,7 +443974,7 @@ function Feedback({
|
|
|
443978
443974
|
platform: env2.platform,
|
|
443979
443975
|
gitRepo: envInfo.isGit,
|
|
443980
443976
|
terminal: env2.terminal,
|
|
443981
|
-
version: "1.
|
|
443977
|
+
version: "1.82.0",
|
|
443982
443978
|
transcript: normalizeMessagesForAPI(messages),
|
|
443983
443979
|
errors: sanitizedErrors,
|
|
443984
443980
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -444170,7 +444166,7 @@ function Feedback({
|
|
|
444170
444166
|
", ",
|
|
444171
444167
|
env2.terminal,
|
|
444172
444168
|
", v",
|
|
444173
|
-
"1.
|
|
444169
|
+
"1.82.0"
|
|
444174
444170
|
]
|
|
444175
444171
|
}, undefined, true, undefined, this)
|
|
444176
444172
|
]
|
|
@@ -444276,7 +444272,7 @@ ${sanitizedDescription}
|
|
|
444276
444272
|
` + `**Environment Info**
|
|
444277
444273
|
` + `- Platform: ${env2.platform}
|
|
444278
444274
|
` + `- Terminal: ${env2.terminal}
|
|
444279
|
-
` + `- Version: ${"1.
|
|
444275
|
+
` + `- Version: ${"1.82.0"}
|
|
444280
444276
|
` + `- Feedback ID: ${feedbackId}
|
|
444281
444277
|
` + `
|
|
444282
444278
|
**Errors**
|
|
@@ -447386,7 +447382,7 @@ function buildPrimarySection() {
|
|
|
447386
447382
|
}, undefined, false, undefined, this);
|
|
447387
447383
|
return [{
|
|
447388
447384
|
label: "Version",
|
|
447389
|
-
value: "1.
|
|
447385
|
+
value: "1.82.0"
|
|
447390
447386
|
}, {
|
|
447391
447387
|
label: "Session name",
|
|
447392
447388
|
value: nameValue
|
|
@@ -450889,7 +450885,7 @@ function Config({
|
|
|
450889
450885
|
}
|
|
450890
450886
|
}, undefined, false, undefined, this)
|
|
450891
450887
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
450892
|
-
currentVersion: "1.
|
|
450888
|
+
currentVersion: "1.82.0",
|
|
450893
450889
|
onChoice: (choice) => {
|
|
450894
450890
|
setShowSubmenu(null);
|
|
450895
450891
|
setTabsHidden(false);
|
|
@@ -450901,7 +450897,7 @@ function Config({
|
|
|
450901
450897
|
autoUpdatesChannel: "stable"
|
|
450902
450898
|
};
|
|
450903
450899
|
if (choice === "stay") {
|
|
450904
|
-
newSettings.minimumVersion = "1.
|
|
450900
|
+
newSettings.minimumVersion = "1.82.0";
|
|
450905
450901
|
}
|
|
450906
450902
|
updateSettingsForSource("userSettings", newSettings);
|
|
450907
450903
|
setSettingsData((prev_27) => ({
|
|
@@ -459210,7 +459206,7 @@ function HelpV2(t0) {
|
|
|
459210
459206
|
let t6;
|
|
459211
459207
|
if ($2[31] !== tabs) {
|
|
459212
459208
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
459213
|
-
title: `UR v${"1.
|
|
459209
|
+
title: `UR v${"1.82.0"}`,
|
|
459214
459210
|
color: "professionalBlue",
|
|
459215
459211
|
defaultTab: "general",
|
|
459216
459212
|
children: tabs
|
|
@@ -460143,7 +460139,7 @@ function buildToolUseContext(tools, readFileStateCache, toolPermissionContext, a
|
|
|
460143
460139
|
async function handleInitialize(options2) {
|
|
460144
460140
|
return {
|
|
460145
460141
|
name: "UR",
|
|
460146
|
-
version: "1.
|
|
460142
|
+
version: "1.82.0",
|
|
460147
460143
|
protocolVersion: "0.1.0",
|
|
460148
460144
|
workspaceRoot: options2.cwd,
|
|
460149
460145
|
capabilities: {
|
|
@@ -477251,7 +477247,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
477251
477247
|
return [];
|
|
477252
477248
|
}
|
|
477253
477249
|
}
|
|
477254
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.
|
|
477250
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.82.0") {
|
|
477255
477251
|
if (process.env.USER_TYPE === "ant") {
|
|
477256
477252
|
const changelog = "";
|
|
477257
477253
|
if (changelog) {
|
|
@@ -477278,7 +477274,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.81.10")
|
|
|
477278
477274
|
releaseNotes
|
|
477279
477275
|
};
|
|
477280
477276
|
}
|
|
477281
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.
|
|
477277
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.82.0") {
|
|
477282
477278
|
if (process.env.USER_TYPE === "ant") {
|
|
477283
477279
|
const changelog = "";
|
|
477284
477280
|
if (changelog) {
|
|
@@ -480186,7 +480182,7 @@ function getRecentActivitySync() {
|
|
|
480186
480182
|
return cachedActivity;
|
|
480187
480183
|
}
|
|
480188
480184
|
function getLogoDisplayData() {
|
|
480189
|
-
const version2 = process.env.DEMO_VERSION ?? "1.
|
|
480185
|
+
const version2 = process.env.DEMO_VERSION ?? "1.82.0";
|
|
480190
480186
|
const serverUrl = getDirectConnectServerUrl();
|
|
480191
480187
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
|
|
480192
480188
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -481074,7 +481070,7 @@ function LogoV2() {
|
|
|
481074
481070
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
481075
481071
|
t2 = () => {
|
|
481076
481072
|
const currentConfig = getGlobalConfig();
|
|
481077
|
-
if (currentConfig.lastReleaseNotesSeen === "1.
|
|
481073
|
+
if (currentConfig.lastReleaseNotesSeen === "1.82.0") {
|
|
481078
481074
|
return;
|
|
481079
481075
|
}
|
|
481080
481076
|
saveGlobalConfig(_temp325);
|
|
@@ -481762,12 +481758,12 @@ function LogoV2() {
|
|
|
481762
481758
|
return t41;
|
|
481763
481759
|
}
|
|
481764
481760
|
function _temp325(current) {
|
|
481765
|
-
if (current.lastReleaseNotesSeen === "1.
|
|
481761
|
+
if (current.lastReleaseNotesSeen === "1.82.0") {
|
|
481766
481762
|
return current;
|
|
481767
481763
|
}
|
|
481768
481764
|
return {
|
|
481769
481765
|
...current,
|
|
481770
|
-
lastReleaseNotesSeen: "1.
|
|
481766
|
+
lastReleaseNotesSeen: "1.82.0"
|
|
481771
481767
|
};
|
|
481772
481768
|
}
|
|
481773
481769
|
function _temp241(s_0) {
|
|
@@ -497717,7 +497713,7 @@ function compileAgenticCiWorkflow(specName = "default", options2 = {}) {
|
|
|
497717
497713
|
if (spec.name !== specName) {
|
|
497718
497714
|
throw new Error("Agentic CI workflow spec name does not match");
|
|
497719
497715
|
}
|
|
497720
|
-
const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.
|
|
497716
|
+
const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.82.0" : "1.82.0");
|
|
497721
497717
|
if (!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(packageVersion)) {
|
|
497722
497718
|
throw new Error("invalid ur-agent package version");
|
|
497723
497719
|
}
|
|
@@ -498710,7 +498706,7 @@ runner; \`ur trigger\` is the inbound parser that decides what to run.
|
|
|
498710
498706
|
path: ".github/workflows/ur.yml",
|
|
498711
498707
|
root: "project",
|
|
498712
498708
|
content: compileAgenticCiWorkflow("default", {
|
|
498713
|
-
packageVersion: typeof MACRO !== "undefined" ? "1.
|
|
498709
|
+
packageVersion: typeof MACRO !== "undefined" ? "1.82.0" : "1.82.0"
|
|
498714
498710
|
})
|
|
498715
498711
|
},
|
|
498716
498712
|
{
|
|
@@ -498773,7 +498769,7 @@ function value(tokens, flag) {
|
|
|
498773
498769
|
return index2 >= 0 ? tokens[index2 + 1] : undefined;
|
|
498774
498770
|
}
|
|
498775
498771
|
function cliVersion() {
|
|
498776
|
-
return typeof MACRO !== "undefined" ? "1.
|
|
498772
|
+
return typeof MACRO !== "undefined" ? "1.82.0" : "1.82.0";
|
|
498777
498773
|
}
|
|
498778
498774
|
function workflowPath(cwd2) {
|
|
498779
498775
|
return join168(cwd2, ".github", "workflows", "ur-agentic-ci.yml");
|
|
@@ -504629,7 +504625,7 @@ function createAcpStdioApp(deps) {
|
|
|
504629
504625
|
}
|
|
504630
504626
|
},
|
|
504631
504627
|
authMethods: [],
|
|
504632
|
-
agentInfo: { name: "UR-Nexus", version: "1.
|
|
504628
|
+
agentInfo: { name: "UR-Nexus", version: "1.82.0" }
|
|
504633
504629
|
})).onRequest("authenticate", () => ({})).onRequest("session/new", async (context6) => {
|
|
504634
504630
|
const result = runtime2.newSession(context6.params.cwd, context6.params.mcpServers, context6.params.additionalDirectories);
|
|
504635
504631
|
await runtime2.announce({
|
|
@@ -504726,7 +504722,7 @@ function createAcpStdioAgent(deps) {
|
|
|
504726
504722
|
}
|
|
504727
504723
|
},
|
|
504728
504724
|
authMethods: [],
|
|
504729
|
-
agentInfo: { name: "UR-Nexus", version: "1.
|
|
504725
|
+
agentInfo: { name: "UR-Nexus", version: "1.82.0" }
|
|
504730
504726
|
});
|
|
504731
504727
|
return;
|
|
504732
504728
|
case "authenticate":
|
|
@@ -715978,7 +715974,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
715978
715974
|
smapsRollup,
|
|
715979
715975
|
platform: process.platform,
|
|
715980
715976
|
nodeVersion: process.version,
|
|
715981
|
-
ccVersion: "1.
|
|
715977
|
+
ccVersion: "1.82.0"
|
|
715982
715978
|
};
|
|
715983
715979
|
}
|
|
715984
715980
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -716567,7 +716563,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
716567
716563
|
var call154 = async () => {
|
|
716568
716564
|
return {
|
|
716569
716565
|
type: "text",
|
|
716570
|
-
value: "1.
|
|
716566
|
+
value: "1.82.0"
|
|
716571
716567
|
};
|
|
716572
716568
|
}, version2, version_default;
|
|
716573
716569
|
var init_version = __esm(() => {
|
|
@@ -728035,7 +728031,7 @@ function generateHtmlReport(data, insights) {
|
|
|
728035
728031
|
</html>`;
|
|
728036
728032
|
}
|
|
728037
728033
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
728038
|
-
const version3 = typeof MACRO !== "undefined" ? "1.
|
|
728034
|
+
const version3 = typeof MACRO !== "undefined" ? "1.82.0" : "unknown";
|
|
728039
728035
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
728040
728036
|
const facets_summary = {
|
|
728041
728037
|
total: facets.size,
|
|
@@ -732348,7 +732344,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
732348
732344
|
init_settings2();
|
|
732349
732345
|
init_slowOperations();
|
|
732350
732346
|
init_uuid();
|
|
732351
|
-
VERSION7 = typeof MACRO !== "undefined" ? "1.
|
|
732347
|
+
VERSION7 = typeof MACRO !== "undefined" ? "1.82.0" : "unknown";
|
|
732352
732348
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
732353
732349
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
732354
732350
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -733563,7 +733559,7 @@ var init_filesystem = __esm(() => {
|
|
|
733563
733559
|
});
|
|
733564
733560
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
733565
733561
|
const nonce = randomBytes24(16).toString("hex");
|
|
733566
|
-
return join243(getURTempDir(), "bundled-skills", "1.
|
|
733562
|
+
return join243(getURTempDir(), "bundled-skills", "1.82.0", nonce);
|
|
733567
733563
|
});
|
|
733568
733564
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
733569
733565
|
});
|
|
@@ -739963,7 +739959,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
739963
739959
|
}
|
|
739964
739960
|
function computeFingerprintFromMessages(messages) {
|
|
739965
739961
|
const firstMessageText = extractFirstMessageText(messages);
|
|
739966
|
-
return computeFingerprint(firstMessageText, "1.
|
|
739962
|
+
return computeFingerprint(firstMessageText, "1.82.0");
|
|
739967
739963
|
}
|
|
739968
739964
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
739969
739965
|
var init_fingerprint = () => {};
|
|
@@ -739972,47 +739968,8 @@ var init_fingerprint = () => {};
|
|
|
739972
739968
|
function usesConservativeOutputReservation(provider) {
|
|
739973
739969
|
return CONSERVATIVE_OUTPUT_PROVIDERS.has(provider);
|
|
739974
739970
|
}
|
|
739975
|
-
|
|
739976
|
-
if (!LIGHTWEIGHT_CHAT_PROVIDERS.has(input.provider) || !(input.querySource.startsWith("repl_main_thread") || input.querySource === "sdk")) {
|
|
739977
|
-
return { mode: "agent" };
|
|
739978
|
-
}
|
|
739979
|
-
if (input.messages.some((message) => message.type === "assistant")) {
|
|
739980
|
-
return { mode: "agent" };
|
|
739981
|
-
}
|
|
739982
|
-
const visibleUserMessages = input.messages.filter((message) => message.type === "user" && !message.isMeta && !message.isCompactSummary && !message.toolUseResult);
|
|
739983
|
-
if (visibleUserMessages.length !== 1) {
|
|
739984
|
-
return { mode: "agent" };
|
|
739985
|
-
}
|
|
739986
|
-
const prompt = textOnlyContent(visibleUserMessages[0]);
|
|
739987
|
-
if (prompt === undefined || !isTrivialGreeting(prompt)) {
|
|
739988
|
-
return { mode: "agent" };
|
|
739989
|
-
}
|
|
739990
|
-
return {
|
|
739991
|
-
mode: "lightweight-chat",
|
|
739992
|
-
maxOutputTokens: LIGHTWEIGHT_CHAT_MAX_OUTPUT_TOKENS,
|
|
739993
|
-
minContextTokens: LIGHTWEIGHT_CHAT_MIN_CONTEXT_TOKENS,
|
|
739994
|
-
systemPrompt: LIGHTWEIGHT_CHAT_SYSTEM_PROMPT
|
|
739995
|
-
};
|
|
739996
|
-
}
|
|
739997
|
-
function textOnlyContent(message) {
|
|
739998
|
-
const content = message?.message?.content;
|
|
739999
|
-
if (typeof content === "string")
|
|
740000
|
-
return content.trim();
|
|
740001
|
-
if (!Array.isArray(content) || content.length === 0)
|
|
740002
|
-
return;
|
|
740003
|
-
if (content.some((block2) => !block2 || typeof block2 !== "object" || block2.type !== "text" || typeof block2.text !== "string")) {
|
|
740004
|
-
return;
|
|
740005
|
-
}
|
|
740006
|
-
return content.map((block2) => block2.text).join(`
|
|
740007
|
-
`).trim();
|
|
740008
|
-
}
|
|
740009
|
-
function isTrivialGreeting(prompt) {
|
|
740010
|
-
const normalized = prompt.trim().toLowerCase();
|
|
740011
|
-
return /^(?:hi|hello|hey|hiya|greetings|good (?:morning|afternoon|evening)|thanks|thank you|ok|okay)[!.?,\s]*$/.test(normalized);
|
|
740012
|
-
}
|
|
740013
|
-
var CONSERVATIVE_OUTPUT_PROVIDERS, LIGHTWEIGHT_CHAT_PROVIDERS, LIGHTWEIGHT_CHAT_MAX_OUTPUT_TOKENS = 1024, LIGHTWEIGHT_CHAT_MIN_CONTEXT_TOKENS, SELF_HOSTED_DEFAULT_MAX_OUTPUT_TOKENS = 4096, LIGHTWEIGHT_CHAT_SYSTEM_PROMPT = "You are UR, a precise and professional AI assistant. Respond directly, clearly, and concisely. Do not claim to have inspected files or used tools in this lightweight chat turn.";
|
|
739971
|
+
var CONSERVATIVE_OUTPUT_PROVIDERS, SELF_HOSTED_DEFAULT_MAX_OUTPUT_TOKENS = 4096;
|
|
740014
739972
|
var init_providerRequestTuning = __esm(() => {
|
|
740015
|
-
init_ollamaTuning();
|
|
740016
739973
|
CONSERVATIVE_OUTPUT_PROVIDERS = new Set([
|
|
740017
739974
|
"ollama",
|
|
740018
739975
|
"lmstudio",
|
|
@@ -740020,22 +739977,6 @@ var init_providerRequestTuning = __esm(() => {
|
|
|
740020
739977
|
"vllm",
|
|
740021
739978
|
"openai-compatible"
|
|
740022
739979
|
]);
|
|
740023
|
-
LIGHTWEIGHT_CHAT_PROVIDERS = new Set([
|
|
740024
|
-
"ollama",
|
|
740025
|
-
"lmstudio",
|
|
740026
|
-
"llama.cpp",
|
|
740027
|
-
"vllm",
|
|
740028
|
-
"openai-compatible",
|
|
740029
|
-
"openai-api",
|
|
740030
|
-
"anthropic-api",
|
|
740031
|
-
"gemini-api",
|
|
740032
|
-
"openrouter",
|
|
740033
|
-
"codex-cli",
|
|
740034
|
-
"claude-code-cli",
|
|
740035
|
-
"gemini-cli",
|
|
740036
|
-
"antigravity-cli"
|
|
740037
|
-
]);
|
|
740038
|
-
LIGHTWEIGHT_CHAT_MIN_CONTEXT_TOKENS = MIN_CHAT_NUM_CTX;
|
|
740039
739980
|
});
|
|
740040
739981
|
|
|
740041
739982
|
// src/services/compact/apiMicrocompact.ts
|
|
@@ -740569,15 +740510,6 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
|
|
|
740569
740510
|
}
|
|
740570
740511
|
const previousRequestId = getPreviousRequestIdFromMessages(messages);
|
|
740571
740512
|
const resolvedModel = isBedrockRuntime() && options5.model.includes("application-inference-profile") ? await getInferenceProfileBackingModel(options5.model) ?? options5.model : options5.model;
|
|
740572
|
-
const requestProvider = options5.providerSettings?.active ?? getRuntimeProvider();
|
|
740573
|
-
const candidateRequestProfile = getProviderRequestProfile({
|
|
740574
|
-
provider: requestProvider,
|
|
740575
|
-
querySource: options5.querySource,
|
|
740576
|
-
messages
|
|
740577
|
-
});
|
|
740578
|
-
const providerRequestProfile = candidateRequestProfile.mode === "lightweight-chat" && !options5.hasAppendSystemPrompt && !options5.outputFormat && !options5.toolChoice && (options5.extraToolSchemas?.length ?? 0) === 0 ? candidateRequestProfile : { mode: "agent" };
|
|
740579
|
-
const isLightweightChat = providerRequestProfile.mode === "lightweight-chat";
|
|
740580
|
-
logForDebugging(`Provider request profile: ${providerRequestProfile.mode} (${requestProvider}, source=${options5.querySource}, messages=${messages.length})`);
|
|
740581
740513
|
queryCheckpoint("query_tool_schema_build_start");
|
|
740582
740514
|
const isAgenticQuery = options5.querySource.startsWith("repl_main_thread") || options5.querySource.startsWith("agent:") || options5.querySource === "sdk" || options5.querySource === "hook_agent" || options5.querySource === "verification_agent";
|
|
740583
740515
|
const betas = getMergedBetas(options5.model, { isAgenticQuery });
|
|
@@ -740585,7 +740517,7 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
|
|
|
740585
740517
|
betas.push(ADVISOR_BETA_HEADER);
|
|
740586
740518
|
}
|
|
740587
740519
|
let advisorModel;
|
|
740588
|
-
if (isAgenticQuery && isAdvisorEnabled()
|
|
740520
|
+
if (isAgenticQuery && isAdvisorEnabled()) {
|
|
740589
740521
|
let advisorOption = options5.advisorModel;
|
|
740590
740522
|
const advisorExperiment = getExperimentAdvisorModels();
|
|
740591
740523
|
if (advisorExperiment !== undefined) {
|
|
@@ -740605,7 +740537,7 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
|
|
|
740605
740537
|
}
|
|
740606
740538
|
}
|
|
740607
740539
|
}
|
|
740608
|
-
let useToolSearch =
|
|
740540
|
+
let useToolSearch = await isToolSearchEnabled(options5.model, tools, options5.getToolPermissionContext, options5.agents, "query");
|
|
740609
740541
|
const deferredToolNames = new Set;
|
|
740610
740542
|
if (useToolSearch) {
|
|
740611
740543
|
for (const t of tools) {
|
|
@@ -740618,9 +740550,7 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
|
|
|
740618
740550
|
useToolSearch = false;
|
|
740619
740551
|
}
|
|
740620
740552
|
let filteredTools;
|
|
740621
|
-
if (
|
|
740622
|
-
filteredTools = [];
|
|
740623
|
-
} else if (useToolSearch) {
|
|
740553
|
+
if (useToolSearch) {
|
|
740624
740554
|
const discoveredToolNames = extractDiscoveredToolNames(messages);
|
|
740625
740555
|
filteredTools = tools.filter((tool) => {
|
|
740626
740556
|
if (!deferredToolNames.has(tool.name))
|
|
@@ -740664,8 +740594,7 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
|
|
|
740664
740594
|
preNormalizedMessageCount: messages.length
|
|
740665
740595
|
});
|
|
740666
740596
|
queryCheckpoint("query_message_normalization_start");
|
|
740667
|
-
|
|
740668
|
-
let messagesForAPI = normalizeMessagesForAPI(requestMessages, filteredTools);
|
|
740597
|
+
let messagesForAPI = normalizeMessagesForAPI(messages, filteredTools);
|
|
740669
740598
|
queryCheckpoint("query_message_normalization_end");
|
|
740670
740599
|
if (!useToolSearch) {
|
|
740671
740600
|
messagesForAPI = messagesForAPI.map((msg) => {
|
|
@@ -740705,11 +740634,8 @@ ${deferredToolList}
|
|
|
740705
740634
|
}
|
|
740706
740635
|
const hasChromeTools = filteredTools.some((t) => isToolFromMcpServer(t.name, UR_IN_CHROME_MCP_SERVER_NAME));
|
|
740707
740636
|
const injectChromeHere = useToolSearch && hasChromeTools && !isMcpInstructionsDeltaEnabled();
|
|
740708
|
-
if (providerRequestProfile.mode === "lightweight-chat") {
|
|
740709
|
-
systemPrompt = asSystemPrompt([providerRequestProfile.systemPrompt]);
|
|
740710
|
-
}
|
|
740711
740637
|
systemPrompt = asSystemPrompt([
|
|
740712
|
-
|
|
740638
|
+
getAttributionHeader(fingerprint2),
|
|
740713
740639
|
getCLISyspromptPrefix({
|
|
740714
740640
|
isNonInteractive: options5.isNonInteractiveSession,
|
|
740715
740641
|
hasAppendSystemPrompt: options5.hasAppendSystemPrompt
|
|
@@ -740725,7 +740651,7 @@ ${deferredToolList}
|
|
|
740725
740651
|
querySource: options5.querySource
|
|
740726
740652
|
});
|
|
740727
740653
|
const useBetas = betas.length > 0;
|
|
740728
|
-
const extraToolSchemas =
|
|
740654
|
+
const extraToolSchemas = [...options5.extraToolSchemas ?? []];
|
|
740729
740655
|
if (advisorModel) {
|
|
740730
740656
|
extraToolSchemas.push({
|
|
740731
740657
|
type: "advisor_20260301",
|
|
@@ -740794,9 +740720,7 @@ ${deferredToolList}
|
|
|
740794
740720
|
const outputConfig = {
|
|
740795
740721
|
...extraBodyParams.output_config ?? {}
|
|
740796
740722
|
};
|
|
740797
|
-
|
|
740798
|
-
configureEffortParams(effort, outputConfig, extraBodyParams, betasParams, options5.model, options5.providerSettings?.active);
|
|
740799
|
-
}
|
|
740723
|
+
configureEffortParams(effort, outputConfig, extraBodyParams, betasParams, options5.model, options5.providerSettings?.active);
|
|
740800
740724
|
configureTaskBudgetParams(options5.taskBudget, outputConfig, betasParams);
|
|
740801
740725
|
if (options5.outputFormat && !("format" in outputConfig)) {
|
|
740802
740726
|
outputConfig.format = options5.outputFormat;
|
|
@@ -740804,9 +740728,8 @@ ${deferredToolList}
|
|
|
740804
740728
|
betasParams.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
740805
740729
|
}
|
|
740806
740730
|
}
|
|
740807
|
-
const
|
|
740808
|
-
const
|
|
740809
|
-
const hasThinking = !isLightweightChat && thinkingConfig.type !== "disabled" && !isEnvTruthy(process.env.UR_CODE_DISABLE_THINKING);
|
|
740731
|
+
const maxOutputTokens2 = retryContext?.maxTokensOverride || options5.maxOutputTokensOverride || getMaxOutputTokensForModel(options5.model, options5.providerSettings?.active ?? getRuntimeProvider());
|
|
740732
|
+
const hasThinking = thinkingConfig.type !== "disabled" && !isEnvTruthy(process.env.UR_CODE_DISABLE_THINKING);
|
|
740810
740733
|
let thinking = undefined;
|
|
740811
740734
|
if (hasThinking && modelSupportsThinking(options5.model)) {
|
|
740812
740735
|
if (!isEnvTruthy(process.env.UR_CODE_DISABLE_ADAPTIVE_THINKING) && modelSupportsAdaptiveThinking(options5.model)) {
|
|
@@ -741987,7 +741910,7 @@ async function sideQuery(opts) {
|
|
|
741987
741910
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
741988
741911
|
}
|
|
741989
741912
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
741990
|
-
const fingerprint2 = computeFingerprint(messageText2, "1.
|
|
741913
|
+
const fingerprint2 = computeFingerprint(messageText2, "1.82.0");
|
|
741991
741914
|
const attributionHeader = getAttributionHeader(fingerprint2);
|
|
741992
741915
|
const systemBlocks = [
|
|
741993
741916
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -746821,7 +746744,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
746821
746744
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
746822
746745
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
746823
746746
|
betas: getSdkBetas(),
|
|
746824
|
-
ur_version: "1.
|
|
746747
|
+
ur_version: "1.82.0",
|
|
746825
746748
|
output_style: outputStyle,
|
|
746826
746749
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
746827
746750
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -760657,7 +760580,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
760657
760580
|
function getSemverPart(version3) {
|
|
760658
760581
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
760659
760582
|
}
|
|
760660
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.
|
|
760583
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.82.0") {
|
|
760661
760584
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react225.useState(() => getSemverPart(initialVersion));
|
|
760662
760585
|
if (!updatedVersion) {
|
|
760663
760586
|
return null;
|
|
@@ -760706,7 +760629,7 @@ function AutoUpdater({
|
|
|
760706
760629
|
return;
|
|
760707
760630
|
}
|
|
760708
760631
|
if (false) {}
|
|
760709
|
-
const currentVersion = "1.
|
|
760632
|
+
const currentVersion = "1.82.0";
|
|
760710
760633
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
760711
760634
|
let latestVersion = await getLatestVersion(channel);
|
|
760712
760635
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -760935,12 +760858,12 @@ function NativeAutoUpdater({
|
|
|
760935
760858
|
logEvent("tengu_native_auto_updater_start", {});
|
|
760936
760859
|
try {
|
|
760937
760860
|
const maxVersion = await getMaxVersion();
|
|
760938
|
-
if (maxVersion && gt("1.
|
|
760861
|
+
if (maxVersion && gt("1.82.0", maxVersion)) {
|
|
760939
760862
|
const msg = await getMaxVersionMessage();
|
|
760940
760863
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
760941
760864
|
}
|
|
760942
760865
|
const result = await installLatest(channel);
|
|
760943
|
-
const currentVersion = "1.
|
|
760866
|
+
const currentVersion = "1.82.0";
|
|
760944
760867
|
const latencyMs = Date.now() - startTime;
|
|
760945
760868
|
if (result.lockFailed) {
|
|
760946
760869
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -761077,17 +761000,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
761077
761000
|
const maxVersion = await getMaxVersion();
|
|
761078
761001
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
761079
761002
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
761080
|
-
if (gte("1.
|
|
761081
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.
|
|
761003
|
+
if (gte("1.82.0", maxVersion)) {
|
|
761004
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.82.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
761082
761005
|
setUpdateAvailable(false);
|
|
761083
761006
|
return;
|
|
761084
761007
|
}
|
|
761085
761008
|
latest = maxVersion;
|
|
761086
761009
|
}
|
|
761087
|
-
const hasUpdate = latest && !gte("1.
|
|
761010
|
+
const hasUpdate = latest && !gte("1.82.0", latest) && !shouldSkipVersion(latest);
|
|
761088
761011
|
setUpdateAvailable(!!hasUpdate);
|
|
761089
761012
|
if (hasUpdate) {
|
|
761090
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.
|
|
761013
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.82.0"} -> ${latest}`);
|
|
761091
761014
|
}
|
|
761092
761015
|
};
|
|
761093
761016
|
$2[0] = t1;
|
|
@@ -761121,7 +761044,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
761121
761044
|
wrap: "truncate",
|
|
761122
761045
|
children: [
|
|
761123
761046
|
"currentVersion: ",
|
|
761124
|
-
"1.
|
|
761047
|
+
"1.82.0"
|
|
761125
761048
|
]
|
|
761126
761049
|
}, undefined, true, undefined, this);
|
|
761127
761050
|
$2[3] = verbose;
|
|
@@ -771974,7 +771897,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
771974
771897
|
project_dir: getOriginalCwd(),
|
|
771975
771898
|
added_dirs: addedDirs
|
|
771976
771899
|
},
|
|
771977
|
-
version: "1.
|
|
771900
|
+
version: "1.82.0",
|
|
771978
771901
|
output_style: {
|
|
771979
771902
|
name: outputStyleName
|
|
771980
771903
|
},
|
|
@@ -772109,7 +772032,7 @@ function StatusLineInner({
|
|
|
772109
772032
|
const attention = customStatusError ?? taskAttention;
|
|
772110
772033
|
const terminalSize = React133.useContext(TerminalSizeContext);
|
|
772111
772034
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
772112
|
-
version: "1.
|
|
772035
|
+
version: "1.82.0",
|
|
772113
772036
|
providerLabel: providerRuntime.providerLabel,
|
|
772114
772037
|
authMode: providerRuntime.authLabel,
|
|
772115
772038
|
model: renderModelName(mainLoopModel) || providerRuntime.model || "",
|
|
@@ -784365,7 +784288,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
784365
784288
|
} catch {}
|
|
784366
784289
|
const data = {
|
|
784367
784290
|
trigger: trigger2,
|
|
784368
|
-
version: "1.
|
|
784291
|
+
version: "1.82.0",
|
|
784369
784292
|
platform: process.platform,
|
|
784370
784293
|
transcript,
|
|
784371
784294
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -796734,7 +796657,7 @@ function WelcomeV2() {
|
|
|
796734
796657
|
dimColor: true,
|
|
796735
796658
|
children: [
|
|
796736
796659
|
"v",
|
|
796737
|
-
"1.
|
|
796660
|
+
"1.82.0"
|
|
796738
796661
|
]
|
|
796739
796662
|
}, undefined, true, undefined, this)
|
|
796740
796663
|
]
|
|
@@ -797994,7 +797917,7 @@ function completeOnboarding() {
|
|
|
797994
797917
|
saveGlobalConfig((current) => ({
|
|
797995
797918
|
...current,
|
|
797996
797919
|
hasCompletedOnboarding: true,
|
|
797997
|
-
lastOnboardingVersion: "1.
|
|
797920
|
+
lastOnboardingVersion: "1.82.0"
|
|
797998
797921
|
}));
|
|
797999
797922
|
}
|
|
798000
797923
|
function showDialog(root2, renderer) {
|
|
@@ -803140,7 +803063,7 @@ function appendToLog(path28, message) {
|
|
|
803140
803063
|
cwd: getFsImplementation().cwd(),
|
|
803141
803064
|
userType: process.env.USER_TYPE,
|
|
803142
803065
|
sessionId: getSessionId(),
|
|
803143
|
-
version: "1.
|
|
803066
|
+
version: "1.82.0"
|
|
803144
803067
|
};
|
|
803145
803068
|
getLogWriter(path28).write(messageWithTimestamp);
|
|
803146
803069
|
}
|
|
@@ -807304,8 +807227,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
807304
807227
|
}
|
|
807305
807228
|
async function checkEnvLessBridgeMinVersion() {
|
|
807306
807229
|
const cfg = await getEnvLessBridgeConfig();
|
|
807307
|
-
if (cfg.min_version && lt("1.
|
|
807308
|
-
return `Your version of UR (${"1.
|
|
807230
|
+
if (cfg.min_version && lt("1.82.0", cfg.min_version)) {
|
|
807231
|
+
return `Your version of UR (${"1.82.0"}) is too old for Remote Control.
|
|
807309
807232
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
807310
807233
|
}
|
|
807311
807234
|
return null;
|
|
@@ -807779,7 +807702,7 @@ async function initBridgeCore(params) {
|
|
|
807779
807702
|
const rawApi = createBridgeApiClient({
|
|
807780
807703
|
baseUrl,
|
|
807781
807704
|
getAccessToken,
|
|
807782
|
-
runnerVersion: "1.
|
|
807705
|
+
runnerVersion: "1.82.0",
|
|
807783
807706
|
onDebug: logForDebugging,
|
|
807784
807707
|
onAuth401,
|
|
807785
807708
|
getTrustedDeviceToken
|
|
@@ -817255,7 +817178,7 @@ function getAgUiCapabilities() {
|
|
|
817255
817178
|
name: "UR-Nexus",
|
|
817256
817179
|
type: "ur-nexus",
|
|
817257
817180
|
description: "Provider-flexible, local-first autonomous engineering workflow agent.",
|
|
817258
|
-
version: "1.
|
|
817181
|
+
version: "1.82.0",
|
|
817259
817182
|
provider: "UR",
|
|
817260
817183
|
documentationUrl: "https://github.com/Maitham16/UR/blob/master/docs/AG_UI.md"
|
|
817261
817184
|
},
|
|
@@ -818482,7 +818405,7 @@ function createMCPServer(cwd4, debug2, verbose) {
|
|
|
818482
818405
|
};
|
|
818483
818406
|
const server2 = new Server({
|
|
818484
818407
|
name: "ur-nexus",
|
|
818485
|
-
version: "1.
|
|
818408
|
+
version: "1.82.0"
|
|
818486
818409
|
}, {
|
|
818487
818410
|
capabilities: {
|
|
818488
818411
|
tools: {}
|
|
@@ -819686,7 +819609,7 @@ function thrownResponse(error40) {
|
|
|
819686
819609
|
}
|
|
819687
819610
|
async function createUrMcp2026Runtime(options5) {
|
|
819688
819611
|
const server2 = createMCPServer(options5.cwd, options5.debug === true, options5.verbose === true);
|
|
819689
|
-
const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.
|
|
819612
|
+
const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.82.0" }, { capabilities: {} });
|
|
819690
819613
|
const [clientTransport, serverTransport] = createLinkedTransportPair();
|
|
819691
819614
|
try {
|
|
819692
819615
|
await server2.connect(serverTransport);
|
|
@@ -819697,7 +819620,7 @@ async function createUrMcp2026Runtime(options5) {
|
|
|
819697
819620
|
}
|
|
819698
819621
|
const runtime2 = new Mcp2026Runtime({
|
|
819699
819622
|
cwd: options5.cwd,
|
|
819700
|
-
version: "1.
|
|
819623
|
+
version: "1.82.0",
|
|
819701
819624
|
backend: {
|
|
819702
819625
|
listTools: async () => {
|
|
819703
819626
|
const listed = await client2.listTools();
|
|
@@ -822432,7 +822355,7 @@ async function update() {
|
|
|
822432
822355
|
logEvent("tengu_update_check", {});
|
|
822433
822356
|
const diagnostic2 = await getDoctorDiagnostic();
|
|
822434
822357
|
const result = await checkUpgradeStatus({
|
|
822435
|
-
currentVersion: "1.
|
|
822358
|
+
currentVersion: "1.82.0",
|
|
822436
822359
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
822437
822360
|
installationType: diagnostic2.installationType,
|
|
822438
822361
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -823760,7 +823683,7 @@ ${customInstructions}` : customInstructions;
|
|
|
823760
823683
|
}
|
|
823761
823684
|
}
|
|
823762
823685
|
logForDiagnosticsNoPII("info", "started", {
|
|
823763
|
-
version: "1.
|
|
823686
|
+
version: "1.82.0",
|
|
823764
823687
|
is_native_binary: isInBundledMode()
|
|
823765
823688
|
});
|
|
823766
823689
|
registerCleanup(async () => {
|
|
@@ -824547,7 +824470,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
824547
824470
|
pendingHookMessages
|
|
824548
824471
|
}, renderAndRun);
|
|
824549
824472
|
}
|
|
824550
|
-
}).version("1.
|
|
824473
|
+
}).version("1.82.0 (UR-Nexus)", "-v, --version", "Output the version number");
|
|
824551
824474
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
824552
824475
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
824553
824476
|
if (canUserConfigureAdvisor()) {
|
|
@@ -825674,7 +825597,7 @@ if (false) {}
|
|
|
825674
825597
|
async function main2() {
|
|
825675
825598
|
const args = process.argv.slice(2);
|
|
825676
825599
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
825677
|
-
console.log(`${"1.
|
|
825600
|
+
console.log(`${"1.82.0"} (UR-Nexus)`);
|
|
825678
825601
|
return;
|
|
825679
825602
|
}
|
|
825680
825603
|
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.
|
|
48
|
+
<p class="eyebrow">Version 1.82.0</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.
|
|
5
|
+
"version": "1.82.0",
|
|
6
6
|
"publisher": "ur-nexus",
|
|
7
7
|
"engines": {
|
|
8
8
|
"vscode": "^1.92.0"
|
package/package.json
CHANGED