ur-agent 1.50.4 → 1.50.6
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/dist/cli.js
CHANGED
|
@@ -55309,6 +55309,9 @@ function getAPIProviderForStatsig() {
|
|
|
55309
55309
|
function isFirstPartyURHQBaseUrl() {
|
|
55310
55310
|
return true;
|
|
55311
55311
|
}
|
|
55312
|
+
function isFirstPartyRuntime() {
|
|
55313
|
+
return false;
|
|
55314
|
+
}
|
|
55312
55315
|
var init_providers = __esm(() => {
|
|
55313
55316
|
init_providerRegistry();
|
|
55314
55317
|
});
|
|
@@ -57687,9 +57690,17 @@ function getOllamaThink(params, capabilities) {
|
|
|
57687
57690
|
if (capabilities && !supportsThinking) {
|
|
57688
57691
|
return;
|
|
57689
57692
|
}
|
|
57693
|
+
const effort = params.output_config?.effort;
|
|
57694
|
+
const model = String(params.model ?? "");
|
|
57695
|
+
if ((effort === "low" || effort === "medium" || effort === "high" || effort === "max") && LEVELED_THINK_MODEL_RE.test(model)) {
|
|
57696
|
+
return effort === "max" ? "high" : effort;
|
|
57697
|
+
}
|
|
57690
57698
|
if (thinking && thinking.type !== "disabled") {
|
|
57691
57699
|
return true;
|
|
57692
57700
|
}
|
|
57701
|
+
if (typeof effort === "string") {
|
|
57702
|
+
return true;
|
|
57703
|
+
}
|
|
57693
57704
|
if (supportsThinking) {
|
|
57694
57705
|
return false;
|
|
57695
57706
|
}
|
|
@@ -58317,7 +58328,7 @@ function parseToolInput(input) {
|
|
|
58317
58328
|
}
|
|
58318
58329
|
return parsed ?? {};
|
|
58319
58330
|
}
|
|
58320
|
-
var DEFAULT_OLLAMA_REQUEST_TIMEOUT_MS = 300000, REMOTE_OLLAMA_REQUEST_TIMEOUT_MS = 120000, CLOUD_OLLAMA_REQUEST_TIMEOUT_MS = 120000, OLLAMA_GATEWAY_TIMEOUT_MESSAGE = "Ollama gateway timed out while waiting for the model to respond. Check the selected Ollama endpoint or increase API_TIMEOUT_MS if the model needs more time.", ollamaModelCapabilitiesCache, ollamaBaseUrlOverride, warnedToolsUnsupportedModels, TEXT_TOOL_CALL_HINT;
|
|
58331
|
+
var DEFAULT_OLLAMA_REQUEST_TIMEOUT_MS = 300000, REMOTE_OLLAMA_REQUEST_TIMEOUT_MS = 120000, CLOUD_OLLAMA_REQUEST_TIMEOUT_MS = 120000, OLLAMA_GATEWAY_TIMEOUT_MESSAGE = "Ollama gateway timed out while waiting for the model to respond. Check the selected Ollama endpoint or increase API_TIMEOUT_MS if the model needs more time.", ollamaModelCapabilitiesCache, ollamaBaseUrlOverride, warnedToolsUnsupportedModels, TEXT_TOOL_CALL_HINT, LEVELED_THINK_MODEL_RE;
|
|
58321
58332
|
var init_ollama = __esm(() => {
|
|
58322
58333
|
init_urhq_sdk();
|
|
58323
58334
|
init_ollamaModels();
|
|
@@ -58338,6 +58349,7 @@ var init_ollama = __esm(() => {
|
|
|
58338
58349
|
"Escape newlines inside JSON strings as \\n. Do not wrap the JSON in prose or code fences."
|
|
58339
58350
|
].join(`
|
|
58340
58351
|
`);
|
|
58352
|
+
LEVELED_THINK_MODEL_RE = /gpt-oss/i;
|
|
58341
58353
|
});
|
|
58342
58354
|
|
|
58343
58355
|
// src/services/api/geminiWire.ts
|
|
@@ -62855,7 +62867,7 @@ function getFastModeUnavailableReason() {
|
|
|
62855
62867
|
return statigReason;
|
|
62856
62868
|
}
|
|
62857
62869
|
if (!isInBundledMode() && getFeatureValue_CACHED_MAY_BE_STALE("tengu_marble_sandcastle", false)) {
|
|
62858
|
-
return "Fast mode requires the native binary \xB7 Install from: https://
|
|
62870
|
+
return "Fast mode requires the native binary \xB7 Install from: https://github.com/Maitham16/UR/releases";
|
|
62859
62871
|
}
|
|
62860
62872
|
if (getIsNonInteractiveSession() && preferThirdPartyAuthentication() && !getKairosActive()) {
|
|
62861
62873
|
const flagFastMode = getSettingsForSource("flagSettings")?.fastMode;
|
|
@@ -62865,8 +62877,8 @@ function getFastModeUnavailableReason() {
|
|
|
62865
62877
|
return reason;
|
|
62866
62878
|
}
|
|
62867
62879
|
}
|
|
62868
|
-
if (
|
|
62869
|
-
const reason = "Fast mode
|
|
62880
|
+
if (!isFirstPartyRuntime()) {
|
|
62881
|
+
const reason = "Fast mode requires the hosted URHQ service, which this build does not use";
|
|
62870
62882
|
logForDebugging(`Fast mode unavailable: ${reason}`);
|
|
62871
62883
|
return reason;
|
|
62872
62884
|
}
|
|
@@ -75088,7 +75100,7 @@ var init_auth = __esm(() => {
|
|
|
75088
75100
|
|
|
75089
75101
|
// src/utils/userAgent.ts
|
|
75090
75102
|
function getURCodeUserAgent() {
|
|
75091
|
-
return `ur/${"1.50.
|
|
75103
|
+
return `ur/${"1.50.6"}`;
|
|
75092
75104
|
}
|
|
75093
75105
|
|
|
75094
75106
|
// src/utils/workloadContext.ts
|
|
@@ -75110,7 +75122,7 @@ function getUserAgent() {
|
|
|
75110
75122
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
75111
75123
|
const workload = getWorkload();
|
|
75112
75124
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
75113
|
-
return `ur-cli/${"1.50.
|
|
75125
|
+
return `ur-cli/${"1.50.6"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
75114
75126
|
}
|
|
75115
75127
|
function getMCPUserAgent() {
|
|
75116
75128
|
const parts = [];
|
|
@@ -75124,7 +75136,7 @@ function getMCPUserAgent() {
|
|
|
75124
75136
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
75125
75137
|
}
|
|
75126
75138
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
75127
|
-
return `ur/${"1.50.
|
|
75139
|
+
return `ur/${"1.50.6"}${suffix}`;
|
|
75128
75140
|
}
|
|
75129
75141
|
function getWebFetchUserAgent() {
|
|
75130
75142
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -75262,7 +75274,7 @@ var init_user = __esm(() => {
|
|
|
75262
75274
|
deviceId,
|
|
75263
75275
|
sessionId: getSessionId(),
|
|
75264
75276
|
email: getEmail(),
|
|
75265
|
-
appVersion: "1.50.
|
|
75277
|
+
appVersion: "1.50.6",
|
|
75266
75278
|
platform: getHostPlatformForAnalytics(),
|
|
75267
75279
|
organizationUuid,
|
|
75268
75280
|
accountUuid,
|
|
@@ -83462,7 +83474,7 @@ var init_metadata = __esm(() => {
|
|
|
83462
83474
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
83463
83475
|
WHITESPACE_REGEX = /\s+/;
|
|
83464
83476
|
getVersionBase = memoize_default(() => {
|
|
83465
|
-
const match = "1.50.
|
|
83477
|
+
const match = "1.50.6".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
83466
83478
|
return match ? match[0] : undefined;
|
|
83467
83479
|
});
|
|
83468
83480
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -83502,7 +83514,7 @@ var init_metadata = __esm(() => {
|
|
|
83502
83514
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
83503
83515
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
83504
83516
|
isURAiAuth: isURAISubscriber(),
|
|
83505
|
-
version: "1.50.
|
|
83517
|
+
version: "1.50.6",
|
|
83506
83518
|
versionBase: getVersionBase(),
|
|
83507
83519
|
buildTime: "",
|
|
83508
83520
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -84172,7 +84184,7 @@ function initialize1PEventLogging() {
|
|
|
84172
84184
|
const platform2 = getPlatform();
|
|
84173
84185
|
const attributes = {
|
|
84174
84186
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
84175
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.50.
|
|
84187
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.50.6"
|
|
84176
84188
|
};
|
|
84177
84189
|
if (platform2 === "wsl") {
|
|
84178
84190
|
const wslVersion = getWslVersion();
|
|
@@ -84200,7 +84212,7 @@ function initialize1PEventLogging() {
|
|
|
84200
84212
|
})
|
|
84201
84213
|
]
|
|
84202
84214
|
});
|
|
84203
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.50.
|
|
84215
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.50.6");
|
|
84204
84216
|
}
|
|
84205
84217
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
84206
84218
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -94016,7 +94028,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
94016
94028
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
94017
94029
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
94018
94030
|
}
|
|
94019
|
-
var urVersion = "1.50.
|
|
94031
|
+
var urVersion = "1.50.6", researchSnapshotDate = "2026-07-15", coverage, priorityRoadmap;
|
|
94020
94032
|
var init_trends = __esm(() => {
|
|
94021
94033
|
init_a2aCardSignature();
|
|
94022
94034
|
coverage = [
|
|
@@ -96817,7 +96829,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
96817
96829
|
if (!isAttributionHeaderEnabled()) {
|
|
96818
96830
|
return "";
|
|
96819
96831
|
}
|
|
96820
|
-
const version2 = `${"1.50.
|
|
96832
|
+
const version2 = `${"1.50.6"}.${fingerprint}`;
|
|
96821
96833
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
96822
96834
|
const cch = "";
|
|
96823
96835
|
const workload = getWorkload();
|
|
@@ -140479,7 +140491,7 @@ function modelSupportsEffort(model) {
|
|
|
140479
140491
|
if (supported3P !== undefined) {
|
|
140480
140492
|
return supported3P;
|
|
140481
140493
|
}
|
|
140482
|
-
return getAPIProvider() === "
|
|
140494
|
+
return getAPIProvider() === "ollama";
|
|
140483
140495
|
}
|
|
140484
140496
|
function modelSupportsMaxEffort(model) {
|
|
140485
140497
|
const supported3P = get3PModelCapabilityOverride(model, "max_effort");
|
|
@@ -144177,7 +144189,7 @@ function getFeedbackGuideline() {
|
|
|
144177
144189
|
}
|
|
144178
144190
|
return "- When you cannot find an answer or the feature doesn't exist, direct the user to use /feedback to report a feature request or bug";
|
|
144179
144191
|
}
|
|
144180
|
-
var UR_CODE_DOCS_MAP_URL = "https://docs.ur.dev/docs/en/ur_docs_map.md", CDP_DOCS_MAP_URL = "https://
|
|
144192
|
+
var UR_CODE_DOCS_MAP_URL = "https://docs.ur.dev/docs/en/ur_docs_map.md", CDP_DOCS_MAP_URL = "https://docs.claude.com/llms.txt", UR_CODE_GUIDE_AGENT_TYPE = "ur-guide", UR_CODE_GUIDE_AGENT;
|
|
144181
144193
|
var init_urCodeGuideAgent = __esm(() => {
|
|
144182
144194
|
init_prompt2();
|
|
144183
144195
|
init_prompt();
|
|
@@ -154502,7 +154514,7 @@ var init_projectSafety = __esm(() => {
|
|
|
154502
154514
|
function getInstruments() {
|
|
154503
154515
|
if (instruments)
|
|
154504
154516
|
return instruments;
|
|
154505
|
-
const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.50.
|
|
154517
|
+
const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.50.6");
|
|
154506
154518
|
instruments = {
|
|
154507
154519
|
operationDuration: meter.createHistogram("gen_ai.client.operation.duration", {
|
|
154508
154520
|
description: "GenAI operation duration.",
|
|
@@ -154600,7 +154612,7 @@ function genAiAgentAttributes() {
|
|
|
154600
154612
|
"gen_ai.operation.name": GEN_AI_OPERATION_INVOKE_AGENT,
|
|
154601
154613
|
"gen_ai.provider.name": "ur",
|
|
154602
154614
|
"gen_ai.agent.name": "UR-Nexus",
|
|
154603
|
-
"gen_ai.agent.version": "1.50.
|
|
154615
|
+
"gen_ai.agent.version": "1.50.6"
|
|
154604
154616
|
};
|
|
154605
154617
|
}
|
|
154606
154618
|
function genAiWorkflowAttributes(workflowName) {
|
|
@@ -154616,7 +154628,7 @@ function genAiWorkflowAttributes(workflowName) {
|
|
|
154616
154628
|
function startGenAiWorkflowSpan(workflowName) {
|
|
154617
154629
|
const attributes = genAiWorkflowAttributes(workflowName);
|
|
154618
154630
|
const name = typeof attributes["gen_ai.workflow.name"] === "string" ? `invoke_workflow ${attributes["gen_ai.workflow.name"]}` : GEN_AI_OPERATION_INVOKE_WORKFLOW;
|
|
154619
|
-
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.50.
|
|
154631
|
+
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.50.6").startSpan(name, { kind: import_api10.SpanKind.INTERNAL, attributes });
|
|
154620
154632
|
}
|
|
154621
154633
|
function endGenAiWorkflowSpan(span, options2 = {}) {
|
|
154622
154634
|
try {
|
|
@@ -154654,7 +154666,7 @@ function startGenAiMemorySpan(operation, options2 = {}) {
|
|
|
154654
154666
|
if (options2.recordCount !== undefined && Number.isInteger(options2.recordCount) && options2.recordCount >= 0) {
|
|
154655
154667
|
attributes["gen_ai.memory.record.count"] = options2.recordCount;
|
|
154656
154668
|
}
|
|
154657
|
-
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.50.
|
|
154669
|
+
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.50.6").startSpan(operation, { kind: import_api10.SpanKind.INTERNAL, attributes });
|
|
154658
154670
|
}
|
|
154659
154671
|
function endGenAiMemorySpan(span, options2 = {}) {
|
|
154660
154672
|
try {
|
|
@@ -206173,7 +206185,7 @@ function getTelemetryAttributes() {
|
|
|
206173
206185
|
attributes["session.id"] = sessionId;
|
|
206174
206186
|
}
|
|
206175
206187
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
206176
|
-
attributes["app.version"] = "1.50.
|
|
206188
|
+
attributes["app.version"] = "1.50.6";
|
|
206177
206189
|
}
|
|
206178
206190
|
const oauthAccount = getOauthAccountInfo();
|
|
206179
206191
|
if (oauthAccount) {
|
|
@@ -241632,7 +241644,7 @@ function getRemoteSessionUrl(sessionId, ingressUrl) {
|
|
|
241632
241644
|
const baseUrl = getURAiBaseUrl(compatId, ingressUrl);
|
|
241633
241645
|
return `${baseUrl}/code/${compatId}`;
|
|
241634
241646
|
}
|
|
241635
|
-
var PRODUCT_URL = "https://
|
|
241647
|
+
var PRODUCT_URL = "https://github.com/Maitham16/UR", UR_AI_BASE_URL = "https://ur.ai", UR_AI_STAGING_BASE_URL = "https://ur-ai.staging.ant.dev", UR_AI_LOCAL_BASE_URL = "http://localhost:4000";
|
|
241636
241648
|
|
|
241637
241649
|
// src/keybindings/defaultBindings.ts
|
|
241638
241650
|
var IMAGE_PASTE_KEY, SUPPORTS_TERMINAL_VT_MODE, MODE_CYCLE_KEY, DEFAULT_BINDINGS;
|
|
@@ -252424,7 +252436,7 @@ function getInstallationEnv() {
|
|
|
252424
252436
|
return;
|
|
252425
252437
|
}
|
|
252426
252438
|
function getURCodeVersion() {
|
|
252427
|
-
return "1.50.
|
|
252439
|
+
return "1.50.6";
|
|
252428
252440
|
}
|
|
252429
252441
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
252430
252442
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -259755,7 +259767,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
259755
259767
|
const client2 = new Client({
|
|
259756
259768
|
name: "ur",
|
|
259757
259769
|
title: "UR",
|
|
259758
|
-
version: "1.50.
|
|
259770
|
+
version: "1.50.6",
|
|
259759
259771
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
259760
259772
|
websiteUrl: PRODUCT_URL
|
|
259761
259773
|
}, {
|
|
@@ -260115,7 +260127,7 @@ var init_client5 = __esm(() => {
|
|
|
260115
260127
|
const client2 = new Client({
|
|
260116
260128
|
name: "ur",
|
|
260117
260129
|
title: "UR",
|
|
260118
|
-
version: "1.50.
|
|
260130
|
+
version: "1.50.6",
|
|
260119
260131
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
260120
260132
|
websiteUrl: PRODUCT_URL
|
|
260121
260133
|
}, {
|
|
@@ -272716,7 +272728,7 @@ async function createRuntime() {
|
|
|
272716
272728
|
bootstrapTelemetry();
|
|
272717
272729
|
const resource = defaultResource().merge(detectResources({ detectors: [envDetector] })).merge(resourceFromAttributes({
|
|
272718
272730
|
[import_semantic_conventions7.ATTR_SERVICE_NAME]: "ur-agent",
|
|
272719
|
-
[import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.50.
|
|
272731
|
+
[import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.50.6"
|
|
272720
272732
|
}));
|
|
272721
272733
|
const tracerProvider = exporters.traces.length > 0 ? new BasicTracerProvider({
|
|
272722
272734
|
resource,
|
|
@@ -272749,11 +272761,11 @@ async function createRuntime() {
|
|
|
272749
272761
|
setMeterProvider(meterProvider);
|
|
272750
272762
|
setLoggerProvider(loggerProvider);
|
|
272751
272763
|
if (meterProvider) {
|
|
272752
|
-
const meter = meterProvider.getMeter("ur-agent", "1.50.
|
|
272764
|
+
const meter = meterProvider.getMeter("ur-agent", "1.50.6");
|
|
272753
272765
|
setMeter(meter, (name, options2) => meter.createCounter(name, options2));
|
|
272754
272766
|
}
|
|
272755
272767
|
if (loggerProvider) {
|
|
272756
|
-
setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.50.
|
|
272768
|
+
setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.50.6"));
|
|
272757
272769
|
}
|
|
272758
272770
|
if (!cleanupRegistered2) {
|
|
272759
272771
|
cleanupRegistered2 = true;
|
|
@@ -273415,9 +273427,9 @@ async function assertMinVersion() {
|
|
|
273415
273427
|
if (false) {}
|
|
273416
273428
|
try {
|
|
273417
273429
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
273418
|
-
if (versionConfig.minVersion && lt("1.50.
|
|
273430
|
+
if (versionConfig.minVersion && lt("1.50.6", versionConfig.minVersion)) {
|
|
273419
273431
|
console.error(`
|
|
273420
|
-
It looks like your version of UR (${"1.50.
|
|
273432
|
+
It looks like your version of UR (${"1.50.6"}) needs an update.
|
|
273421
273433
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
273422
273434
|
|
|
273423
273435
|
To update, please run:
|
|
@@ -273633,7 +273645,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
273633
273645
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
273634
273646
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
273635
273647
|
pid: process.pid,
|
|
273636
|
-
currentVersion: "1.50.
|
|
273648
|
+
currentVersion: "1.50.6"
|
|
273637
273649
|
});
|
|
273638
273650
|
return "in_progress";
|
|
273639
273651
|
}
|
|
@@ -273642,7 +273654,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
273642
273654
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
273643
273655
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
273644
273656
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
273645
|
-
currentVersion: "1.50.
|
|
273657
|
+
currentVersion: "1.50.6"
|
|
273646
273658
|
});
|
|
273647
273659
|
console.error(`
|
|
273648
273660
|
Error: Windows NPM detected in WSL
|
|
@@ -274177,7 +274189,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
274177
274189
|
}
|
|
274178
274190
|
async function getDoctorDiagnostic() {
|
|
274179
274191
|
const installationType = await getCurrentInstallationType();
|
|
274180
|
-
const version2 = typeof MACRO !== "undefined" ? "1.50.
|
|
274192
|
+
const version2 = typeof MACRO !== "undefined" ? "1.50.6" : "unknown";
|
|
274181
274193
|
const installationPath = await getInstallationPath();
|
|
274182
274194
|
const invokedBinary = getInvokedBinary();
|
|
274183
274195
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -275112,8 +275124,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
275112
275124
|
const maxVersion = await getMaxVersion();
|
|
275113
275125
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
275114
275126
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
275115
|
-
if (gte("1.50.
|
|
275116
|
-
logForDebugging(`Native installer: current version ${"1.50.
|
|
275127
|
+
if (gte("1.50.6", maxVersion)) {
|
|
275128
|
+
logForDebugging(`Native installer: current version ${"1.50.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
275117
275129
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
275118
275130
|
latency_ms: Date.now() - startTime,
|
|
275119
275131
|
max_version: maxVersion,
|
|
@@ -275124,7 +275136,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
275124
275136
|
version2 = maxVersion;
|
|
275125
275137
|
}
|
|
275126
275138
|
}
|
|
275127
|
-
if (!forceReinstall && version2 === "1.50.
|
|
275139
|
+
if (!forceReinstall && version2 === "1.50.6" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
275128
275140
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
275129
275141
|
logEvent("tengu_native_update_complete", {
|
|
275130
275142
|
latency_ms: Date.now() - startTime,
|
|
@@ -286594,7 +286606,7 @@ function AssistantTextMessage(t0) {
|
|
|
286594
286606
|
height: 1,
|
|
286595
286607
|
children: /* @__PURE__ */ jsx_dev_runtime76.jsxDEV(ThemedText, {
|
|
286596
286608
|
color: "error",
|
|
286597
|
-
children: "Credit balance too low \xB7
|
|
286609
|
+
children: "Credit balance too low \xB7 https://github.com/Maitham16/UR#readme"
|
|
286598
286610
|
}, undefined, false, undefined, this)
|
|
286599
286611
|
}, undefined, false, undefined, this);
|
|
286600
286612
|
$2[5] = t2;
|
|
@@ -324773,7 +324785,6 @@ function isPreapprovedHost(hostname3, pathname) {
|
|
|
324773
324785
|
var PREAPPROVED_HOSTS, HOSTNAME_ONLY, PATH_PREFIXES;
|
|
324774
324786
|
var init_preapproved = __esm(() => {
|
|
324775
324787
|
PREAPPROVED_HOSTS = new Set([
|
|
324776
|
-
"platform.ur.com",
|
|
324777
324788
|
"docs.ur.dev",
|
|
324778
324789
|
"modelcontextprotocol.io",
|
|
324779
324790
|
"github.com/Maitham16",
|
|
@@ -333038,7 +333049,7 @@ function getDefaultOptionForUser(fastMode = false) {
|
|
|
333038
333049
|
description: getURAiUserDefaultModelDescription(fastMode)
|
|
333039
333050
|
};
|
|
333040
333051
|
}
|
|
333041
|
-
const is3P =
|
|
333052
|
+
const is3P = !isFirstPartyRuntime();
|
|
333042
333053
|
return {
|
|
333043
333054
|
value: null,
|
|
333044
333055
|
label: "Default (recommended)",
|
|
@@ -333046,7 +333057,7 @@ function getDefaultOptionForUser(fastMode = false) {
|
|
|
333046
333057
|
};
|
|
333047
333058
|
}
|
|
333048
333059
|
function getCustommodelSOption() {
|
|
333049
|
-
const is3P =
|
|
333060
|
+
const is3P = !isFirstPartyRuntime();
|
|
333050
333061
|
const custommodelSModel = process.env.URHQ_DEFAULT_MODELS_MODEL;
|
|
333051
333062
|
if (is3P && custommodelSModel) {
|
|
333052
333063
|
const is1m = has1mContext(custommodelSModel);
|
|
@@ -333059,7 +333070,7 @@ function getCustommodelSOption() {
|
|
|
333059
333070
|
}
|
|
333060
333071
|
}
|
|
333061
333072
|
function getmodelS46Option() {
|
|
333062
|
-
const is3P =
|
|
333073
|
+
const is3P = !isFirstPartyRuntime();
|
|
333063
333074
|
return {
|
|
333064
333075
|
value: is3P ? getModelStrings2().modelS46 : "modelS",
|
|
333065
333076
|
label: "modelS",
|
|
@@ -333068,7 +333079,7 @@ function getmodelS46Option() {
|
|
|
333068
333079
|
};
|
|
333069
333080
|
}
|
|
333070
333081
|
function getCustommodelOOption() {
|
|
333071
|
-
const is3P =
|
|
333082
|
+
const is3P = !isFirstPartyRuntime();
|
|
333072
333083
|
const custommodelOModel = process.env.URHQ_DEFAULT_MODELO_MODEL;
|
|
333073
333084
|
if (is3P && custommodelOModel) {
|
|
333074
333085
|
const is1m = has1mContext(custommodelOModel);
|
|
@@ -333089,7 +333100,7 @@ function getmodelO41Option() {
|
|
|
333089
333100
|
};
|
|
333090
333101
|
}
|
|
333091
333102
|
function getmodelO46Option(fastMode = false) {
|
|
333092
|
-
const is3P =
|
|
333103
|
+
const is3P = !isFirstPartyRuntime();
|
|
333093
333104
|
return {
|
|
333094
333105
|
value: is3P ? getModelStrings2().modelO46 : "modelO",
|
|
333095
333106
|
label: "modelO",
|
|
@@ -333098,7 +333109,7 @@ function getmodelO46Option(fastMode = false) {
|
|
|
333098
333109
|
};
|
|
333099
333110
|
}
|
|
333100
333111
|
function getmodelS46_1MOption() {
|
|
333101
|
-
const is3P =
|
|
333112
|
+
const is3P = !isFirstPartyRuntime();
|
|
333102
333113
|
return {
|
|
333103
333114
|
value: is3P ? getModelStrings2().modelS46 + "[1m]" : "modelS[1m]",
|
|
333104
333115
|
label: "modelS (1M context)",
|
|
@@ -333107,7 +333118,7 @@ function getmodelS46_1MOption() {
|
|
|
333107
333118
|
};
|
|
333108
333119
|
}
|
|
333109
333120
|
function getmodelO46_1MOption(fastMode = false) {
|
|
333110
|
-
const is3P =
|
|
333121
|
+
const is3P = !isFirstPartyRuntime();
|
|
333111
333122
|
return {
|
|
333112
333123
|
value: is3P ? getModelStrings2().modelO46 + "[1m]" : "modelO[1m]",
|
|
333113
333124
|
label: "modelO (1M context)",
|
|
@@ -333116,7 +333127,7 @@ function getmodelO46_1MOption(fastMode = false) {
|
|
|
333116
333127
|
};
|
|
333117
333128
|
}
|
|
333118
333129
|
function getCustommodelHOption() {
|
|
333119
|
-
const is3P =
|
|
333130
|
+
const is3P = !isFirstPartyRuntime();
|
|
333120
333131
|
const custommodelHModel = process.env.URHQ_DEFAULT_MODELH_MODEL;
|
|
333121
333132
|
if (is3P && custommodelHModel) {
|
|
333122
333133
|
return {
|
|
@@ -333128,7 +333139,7 @@ function getCustommodelHOption() {
|
|
|
333128
333139
|
}
|
|
333129
333140
|
}
|
|
333130
333141
|
function getmodelH45Option() {
|
|
333131
|
-
const is3P =
|
|
333142
|
+
const is3P = !isFirstPartyRuntime();
|
|
333132
333143
|
return {
|
|
333133
333144
|
value: "modelH",
|
|
333134
333145
|
label: "modelH",
|
|
@@ -333137,7 +333148,7 @@ function getmodelH45Option() {
|
|
|
333137
333148
|
};
|
|
333138
333149
|
}
|
|
333139
333150
|
function getmodelH35Option() {
|
|
333140
|
-
const is3P =
|
|
333151
|
+
const is3P = !isFirstPartyRuntime();
|
|
333141
333152
|
return {
|
|
333142
333153
|
value: "modelH",
|
|
333143
333154
|
label: "modelH",
|
|
@@ -333157,7 +333168,7 @@ function getMaxmodelOOption(fastMode = false) {
|
|
|
333157
333168
|
};
|
|
333158
333169
|
}
|
|
333159
333170
|
function getMaxmodelS46_1MOption() {
|
|
333160
|
-
const is3P =
|
|
333171
|
+
const is3P = !isFirstPartyRuntime();
|
|
333161
333172
|
const billingInfo = isURAISubscriber() ? " \xB7 Billed as extra usage" : "";
|
|
333162
333173
|
return {
|
|
333163
333174
|
value: "modelS[1m]",
|
|
@@ -333174,7 +333185,7 @@ function getMaxmodelO46_1MOption(fastMode = false) {
|
|
|
333174
333185
|
};
|
|
333175
333186
|
}
|
|
333176
333187
|
function getMergedmodelO1MOption(fastMode = false) {
|
|
333177
|
-
const is3P =
|
|
333188
|
+
const is3P = !isFirstPartyRuntime();
|
|
333178
333189
|
return {
|
|
333179
333190
|
value: is3P ? getModelStrings2().modelO46 + "[1m]" : "modelO[1m]",
|
|
333180
333191
|
label: "modelO (1M context)",
|
|
@@ -333236,7 +333247,7 @@ function getModelOptionsBase(fastMode = false) {
|
|
|
333236
333247
|
standardOptions.push(MaxmodelH45Option);
|
|
333237
333248
|
return standardOptions;
|
|
333238
333249
|
}
|
|
333239
|
-
if (
|
|
333250
|
+
if (isFirstPartyRuntime()) {
|
|
333240
333251
|
const payg1POptions = [getDefaultOptionForUser(fastMode)];
|
|
333241
333252
|
if (checkmodelS1mAccess()) {
|
|
333242
333253
|
payg1POptions.push(getmodelS46_1MOption());
|
|
@@ -333354,12 +333365,12 @@ function getModelOptions(fastMode = false) {
|
|
|
333354
333365
|
return filterModelOptionsByAllowlist(options2);
|
|
333355
333366
|
} else if (customModel === "modelOplan") {
|
|
333356
333367
|
return filterModelOptionsByAllowlist([...options2, getmodelOPlanOption()]);
|
|
333357
|
-
} else if (customModel === "modelO" &&
|
|
333368
|
+
} else if (customModel === "modelO" && isFirstPartyRuntime()) {
|
|
333358
333369
|
return filterModelOptionsByAllowlist([
|
|
333359
333370
|
...options2,
|
|
333360
333371
|
getMaxmodelOOption(fastMode)
|
|
333361
333372
|
]);
|
|
333362
|
-
} else if (customModel === "modelO[1m]" &&
|
|
333373
|
+
} else if (customModel === "modelO[1m]" && isFirstPartyRuntime()) {
|
|
333363
333374
|
return filterModelOptionsByAllowlist([
|
|
333364
333375
|
...options2,
|
|
333365
333376
|
getMergedmodelO1MOption(fastMode)
|
|
@@ -344917,7 +344928,7 @@ function isAnyTracingEnabled() {
|
|
|
344917
344928
|
return isTelemetryEnabled() || isEnhancedTelemetryEnabled() || isBetaTracingEnabled();
|
|
344918
344929
|
}
|
|
344919
344930
|
function getTracer() {
|
|
344920
|
-
return import_api39.trace.getTracer("ur-agent.gen_ai", "1.50.
|
|
344931
|
+
return import_api39.trace.getTracer("ur-agent.gen_ai", "1.50.6");
|
|
344921
344932
|
}
|
|
344922
344933
|
function createSpanAttributes(spanType, customAttributes = {}) {
|
|
344923
344934
|
const baseAttributes = getTelemetryAttributes();
|
|
@@ -373093,18 +373104,6 @@ var init_add_dir2 = __esm(() => {
|
|
|
373093
373104
|
add_dir_default = addDir;
|
|
373094
373105
|
});
|
|
373095
373106
|
|
|
373096
|
-
// src/commands/autofix-pr/index.js
|
|
373097
|
-
var autofix_pr_default;
|
|
373098
|
-
var init_autofix_pr = __esm(() => {
|
|
373099
|
-
autofix_pr_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
373100
|
-
});
|
|
373101
|
-
|
|
373102
|
-
// src/commands/backfill-sessions/index.js
|
|
373103
|
-
var backfill_sessions_default;
|
|
373104
|
-
var init_backfill_sessions = __esm(() => {
|
|
373105
|
-
backfill_sessions_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
373106
|
-
});
|
|
373107
|
-
|
|
373108
373107
|
// src/ink/components/ScrollBox.tsx
|
|
373109
373108
|
function ScrollBox({
|
|
373110
373109
|
children,
|
|
@@ -373901,18 +373900,6 @@ var init_btw2 = __esm(() => {
|
|
|
373901
373900
|
btw_default = btw;
|
|
373902
373901
|
});
|
|
373903
373902
|
|
|
373904
|
-
// src/commands/good-ur/index.js
|
|
373905
|
-
var good_ur_default;
|
|
373906
|
-
var init_good_ur = __esm(() => {
|
|
373907
|
-
good_ur_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
373908
|
-
});
|
|
373909
|
-
|
|
373910
|
-
// src/commands/issue/index.js
|
|
373911
|
-
var issue_default;
|
|
373912
|
-
var init_issue = __esm(() => {
|
|
373913
|
-
issue_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
373914
|
-
});
|
|
373915
|
-
|
|
373916
373903
|
// src/components/Feedback.tsx
|
|
373917
373904
|
import { readFile as readFile40, stat as stat38 } from "fs/promises";
|
|
373918
373905
|
function redactSensitiveInfo(text) {
|
|
@@ -374011,7 +373998,7 @@ function Feedback({
|
|
|
374011
373998
|
platform: env2.platform,
|
|
374012
373999
|
gitRepo: envInfo.isGit,
|
|
374013
374000
|
terminal: env2.terminal,
|
|
374014
|
-
version: "1.50.
|
|
374001
|
+
version: "1.50.6",
|
|
374015
374002
|
transcript: normalizeMessagesForAPI(messages),
|
|
374016
374003
|
errors: sanitizedErrors,
|
|
374017
374004
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -374203,7 +374190,7 @@ function Feedback({
|
|
|
374203
374190
|
", ",
|
|
374204
374191
|
env2.terminal,
|
|
374205
374192
|
", v",
|
|
374206
|
-
"1.50.
|
|
374193
|
+
"1.50.6"
|
|
374207
374194
|
]
|
|
374208
374195
|
}, undefined, true, undefined, this)
|
|
374209
374196
|
]
|
|
@@ -374309,7 +374296,7 @@ ${sanitizedDescription}
|
|
|
374309
374296
|
` + `**Environment Info**
|
|
374310
374297
|
` + `- Platform: ${env2.platform}
|
|
374311
374298
|
` + `- Terminal: ${env2.terminal}
|
|
374312
|
-
` + `- Version: ${"1.50.
|
|
374299
|
+
` + `- Version: ${"1.50.6"}
|
|
374313
374300
|
` + `- Feedback ID: ${feedbackId}
|
|
374314
374301
|
` + `
|
|
374315
374302
|
**Errors**
|
|
@@ -376739,7 +376726,6 @@ var init_desktop2 = __esm(() => {
|
|
|
376739
376726
|
name: "desktop",
|
|
376740
376727
|
aliases: ["app"],
|
|
376741
376728
|
description: "Continue the current session in UR Desktop",
|
|
376742
|
-
availability: ["ur-ai"],
|
|
376743
376729
|
isEnabled: isSupportedPlatform2,
|
|
376744
376730
|
get isHidden() {
|
|
376745
376731
|
return !isSupportedPlatform2();
|
|
@@ -377420,7 +377406,7 @@ function buildPrimarySection() {
|
|
|
377420
377406
|
}, undefined, false, undefined, this);
|
|
377421
377407
|
return [{
|
|
377422
377408
|
label: "Version",
|
|
377423
|
-
value: "1.50.
|
|
377409
|
+
value: "1.50.6"
|
|
377424
377410
|
}, {
|
|
377425
377411
|
label: "Session name",
|
|
377426
377412
|
value: nameValue
|
|
@@ -380750,7 +380736,7 @@ function Config({
|
|
|
380750
380736
|
}
|
|
380751
380737
|
}, undefined, false, undefined, this)
|
|
380752
380738
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
380753
|
-
currentVersion: "1.50.
|
|
380739
|
+
currentVersion: "1.50.6",
|
|
380754
380740
|
onChoice: (choice) => {
|
|
380755
380741
|
setShowSubmenu(null);
|
|
380756
380742
|
setTabsHidden(false);
|
|
@@ -380762,7 +380748,7 @@ function Config({
|
|
|
380762
380748
|
autoUpdatesChannel: "stable"
|
|
380763
380749
|
};
|
|
380764
380750
|
if (choice === "stay") {
|
|
380765
|
-
newSettings.minimumVersion = "1.50.
|
|
380751
|
+
newSettings.minimumVersion = "1.50.6";
|
|
380766
380752
|
}
|
|
380767
380753
|
updateSettingsForSource("userSettings", newSettings);
|
|
380768
380754
|
setSettingsData((prev_27) => ({
|
|
@@ -384962,12 +384948,6 @@ var init_diff4 = __esm(() => {
|
|
|
384962
384948
|
};
|
|
384963
384949
|
});
|
|
384964
384950
|
|
|
384965
|
-
// src/commands/ctx_viz/index.js
|
|
384966
|
-
var ctx_viz_default;
|
|
384967
|
-
var init_ctx_viz = __esm(() => {
|
|
384968
|
-
ctx_viz_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
384969
|
-
});
|
|
384970
|
-
|
|
384971
384951
|
// src/components/KeybindingWarnings.tsx
|
|
384972
384952
|
function KeybindingWarnings() {
|
|
384973
384953
|
const $2 = import_compiler_runtime147.c(2);
|
|
@@ -388832,7 +388812,7 @@ function HelpV2(t0) {
|
|
|
388832
388812
|
let t6;
|
|
388833
388813
|
if ($2[31] !== tabs) {
|
|
388834
388814
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
388835
|
-
title: `UR v${"1.50.
|
|
388815
|
+
title: `UR v${"1.50.6"}`,
|
|
388836
388816
|
color: "professionalBlue",
|
|
388837
388817
|
defaultTab: "general",
|
|
388838
388818
|
children: tabs
|
|
@@ -389749,7 +389729,7 @@ function buildToolUseContext(tools, readFileStateCache, toolPermissionContext, a
|
|
|
389749
389729
|
async function handleInitialize(options2) {
|
|
389750
389730
|
return {
|
|
389751
389731
|
name: "UR",
|
|
389752
|
-
version: "1.50.
|
|
389732
|
+
version: "1.50.6",
|
|
389753
389733
|
protocolVersion: "0.1.0",
|
|
389754
389734
|
workspaceRoot: options2.cwd,
|
|
389755
389735
|
capabilities: {
|
|
@@ -390828,7 +390808,7 @@ function IDEScreen(t0) {
|
|
|
390828
390808
|
t5 = availableIDEs.length === 0 && /* @__PURE__ */ jsx_dev_runtime208.jsxDEV(ThemedText, {
|
|
390829
390809
|
dimColor: true,
|
|
390830
390810
|
children: isSupportedJetBrainsTerminal() ? `No available IDEs detected. Please install the plugin and restart your IDE:
|
|
390831
|
-
https://
|
|
390811
|
+
https://github.com/Maitham16/UR/tree/master/extensions/jetbrains-ur` : "No available IDEs detected. Make sure your IDE has the UR extension or plugin installed and is running."
|
|
390832
390812
|
}, undefined, false, undefined, this);
|
|
390833
390813
|
$2[17] = availableIDEs.length;
|
|
390834
390814
|
$2[18] = t5;
|
|
@@ -391913,19 +391893,12 @@ var init_install_slack_app2 = __esm(() => {
|
|
|
391913
391893
|
type: "local",
|
|
391914
391894
|
name: "install-slack-app",
|
|
391915
391895
|
description: "Install the UR Slack app",
|
|
391916
|
-
availability: ["ur-ai"],
|
|
391917
391896
|
supportsNonInteractive: false,
|
|
391918
391897
|
load: () => Promise.resolve().then(() => (init_install_slack_app(), exports_install_slack_app))
|
|
391919
391898
|
};
|
|
391920
391899
|
install_slack_app_default = installSlackApp;
|
|
391921
391900
|
});
|
|
391922
391901
|
|
|
391923
|
-
// src/commands/break-cache/index.js
|
|
391924
|
-
var break_cache_default;
|
|
391925
|
-
var init_break_cache = __esm(() => {
|
|
391926
|
-
break_cache_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
391927
|
-
});
|
|
391928
|
-
|
|
391929
391902
|
// src/components/mcp/MCPAgentServerMenu.tsx
|
|
391930
391903
|
function MCPAgentServerMenu({
|
|
391931
391904
|
agentServer,
|
|
@@ -406647,12 +406620,6 @@ var init_mcp3 = __esm(() => {
|
|
|
406647
406620
|
mcp_default = mcp;
|
|
406648
406621
|
});
|
|
406649
406622
|
|
|
406650
|
-
// src/commands/onboarding/index.js
|
|
406651
|
-
var onboarding_default;
|
|
406652
|
-
var init_onboarding = __esm(() => {
|
|
406653
|
-
onboarding_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
406654
|
-
});
|
|
406655
|
-
|
|
406656
406623
|
// src/commands/createMovedToPluginCommand.ts
|
|
406657
406624
|
function createMovedToPluginCommand({
|
|
406658
406625
|
name,
|
|
@@ -406870,7 +406837,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
406870
406837
|
return [];
|
|
406871
406838
|
}
|
|
406872
406839
|
}
|
|
406873
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.50.
|
|
406840
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.50.6") {
|
|
406874
406841
|
if (process.env.USER_TYPE === "ant") {
|
|
406875
406842
|
const changelog = "";
|
|
406876
406843
|
if (changelog) {
|
|
@@ -406897,7 +406864,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.50.4")
|
|
|
406897
406864
|
releaseNotes
|
|
406898
406865
|
};
|
|
406899
406866
|
}
|
|
406900
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.50.
|
|
406867
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.50.6") {
|
|
406901
406868
|
if (process.env.USER_TYPE === "ant") {
|
|
406902
406869
|
const changelog = "";
|
|
406903
406870
|
if (changelog) {
|
|
@@ -409754,7 +409721,7 @@ function getRecentActivitySync() {
|
|
|
409754
409721
|
return cachedActivity;
|
|
409755
409722
|
}
|
|
409756
409723
|
function getLogoDisplayData() {
|
|
409757
|
-
const version2 = process.env.DEMO_VERSION ?? "1.50.
|
|
409724
|
+
const version2 = process.env.DEMO_VERSION ?? "1.50.6";
|
|
409758
409725
|
const serverUrl = getDirectConnectServerUrl();
|
|
409759
409726
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
|
|
409760
409727
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -410638,7 +410605,7 @@ function LogoV2() {
|
|
|
410638
410605
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
410639
410606
|
t2 = () => {
|
|
410640
410607
|
const currentConfig2 = getGlobalConfig();
|
|
410641
|
-
if (currentConfig2.lastReleaseNotesSeen === "1.50.
|
|
410608
|
+
if (currentConfig2.lastReleaseNotesSeen === "1.50.6") {
|
|
410642
410609
|
return;
|
|
410643
410610
|
}
|
|
410644
410611
|
saveGlobalConfig(_temp327);
|
|
@@ -411323,12 +411290,12 @@ function LogoV2() {
|
|
|
411323
411290
|
return t41;
|
|
411324
411291
|
}
|
|
411325
411292
|
function _temp327(current) {
|
|
411326
|
-
if (current.lastReleaseNotesSeen === "1.50.
|
|
411293
|
+
if (current.lastReleaseNotesSeen === "1.50.6") {
|
|
411327
411294
|
return current;
|
|
411328
411295
|
}
|
|
411329
411296
|
return {
|
|
411330
411297
|
...current,
|
|
411331
|
-
lastReleaseNotesSeen: "1.50.
|
|
411298
|
+
lastReleaseNotesSeen: "1.50.6"
|
|
411332
411299
|
};
|
|
411333
411300
|
}
|
|
411334
411301
|
function _temp241(s_0) {
|
|
@@ -412162,7 +412129,7 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
412162
412129
|
" ",
|
|
412163
412130
|
/* @__PURE__ */ jsx_dev_runtime244.jsxDEV(ThemedText, {
|
|
412164
412131
|
bold: true,
|
|
412165
|
-
children: "https://
|
|
412132
|
+
children: "https://github.com/Maitham16/UR/tree/master/extensions/jetbrains-ur"
|
|
412166
412133
|
}, undefined, false, undefined, this)
|
|
412167
412134
|
]
|
|
412168
412135
|
}, undefined, true, undefined, this)
|
|
@@ -418218,12 +418185,6 @@ var init_session2 = __esm(() => {
|
|
|
418218
418185
|
session_default = session;
|
|
418219
418186
|
});
|
|
418220
418187
|
|
|
418221
|
-
// src/commands/share/index.js
|
|
418222
|
-
var share_default;
|
|
418223
|
-
var init_share = __esm(() => {
|
|
418224
|
-
share_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
418225
|
-
});
|
|
418226
|
-
|
|
418227
418188
|
// src/components/skills/SkillsMenu.tsx
|
|
418228
418189
|
function getSourceTitle(source) {
|
|
418229
418190
|
if (source === "plugin") {
|
|
@@ -424064,12 +424025,6 @@ var init_tasks4 = __esm(() => {
|
|
|
424064
424025
|
};
|
|
424065
424026
|
tasks_default = tasks;
|
|
424066
424027
|
});
|
|
424067
|
-
|
|
424068
|
-
// src/commands/teleport/index.js
|
|
424069
|
-
var teleport_default;
|
|
424070
|
-
var init_teleport2 = __esm(() => {
|
|
424071
|
-
teleport_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
424072
|
-
});
|
|
424073
424028
|
// src/security/classify.ts
|
|
424074
424029
|
function classifyRequest(text) {
|
|
424075
424030
|
const reasons = [];
|
|
@@ -427515,7 +427470,7 @@ function compileAgenticCiWorkflow(specName = "default", options2 = {}) {
|
|
|
427515
427470
|
if (spec.name !== specName) {
|
|
427516
427471
|
throw new Error("Agentic CI workflow spec name does not match");
|
|
427517
427472
|
}
|
|
427518
|
-
const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.50.
|
|
427473
|
+
const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.50.6" : "1.50.6");
|
|
427519
427474
|
if (!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(packageVersion)) {
|
|
427520
427475
|
throw new Error("invalid ur-agent package version");
|
|
427521
427476
|
}
|
|
@@ -428508,7 +428463,7 @@ runner; \`ur trigger\` is the inbound parser that decides what to run.
|
|
|
428508
428463
|
path: ".github/workflows/ur.yml",
|
|
428509
428464
|
root: "project",
|
|
428510
428465
|
content: compileAgenticCiWorkflow("default", {
|
|
428511
|
-
packageVersion: typeof MACRO !== "undefined" ? "1.50.
|
|
428466
|
+
packageVersion: typeof MACRO !== "undefined" ? "1.50.6" : "1.50.6"
|
|
428512
428467
|
})
|
|
428513
428468
|
},
|
|
428514
428469
|
{
|
|
@@ -428571,7 +428526,7 @@ function value(tokens, flag) {
|
|
|
428571
428526
|
return index2 >= 0 ? tokens[index2 + 1] : undefined;
|
|
428572
428527
|
}
|
|
428573
428528
|
function cliVersion() {
|
|
428574
|
-
return typeof MACRO !== "undefined" ? "1.50.
|
|
428529
|
+
return typeof MACRO !== "undefined" ? "1.50.6" : "1.50.6";
|
|
428575
428530
|
}
|
|
428576
428531
|
function workflowPath(cwd2) {
|
|
428577
428532
|
return join155(cwd2, ".github", "workflows", "ur-agentic-ci.yml");
|
|
@@ -434427,7 +434382,7 @@ function createAcpStdioApp(deps) {
|
|
|
434427
434382
|
}
|
|
434428
434383
|
},
|
|
434429
434384
|
authMethods: [],
|
|
434430
|
-
agentInfo: { name: "UR-Nexus", version: "1.50.
|
|
434385
|
+
agentInfo: { name: "UR-Nexus", version: "1.50.6" }
|
|
434431
434386
|
})).onRequest("authenticate", () => ({})).onRequest("session/new", async (context6) => {
|
|
434432
434387
|
const result = runtime2.newSession(context6.params.cwd, context6.params.mcpServers, context6.params.additionalDirectories);
|
|
434433
434388
|
await runtime2.announce({
|
|
@@ -434524,7 +434479,7 @@ function createAcpStdioAgent(deps) {
|
|
|
434524
434479
|
}
|
|
434525
434480
|
},
|
|
434526
434481
|
authMethods: [],
|
|
434527
|
-
agentInfo: { name: "UR-Nexus", version: "1.50.
|
|
434482
|
+
agentInfo: { name: "UR-Nexus", version: "1.50.6" }
|
|
434528
434483
|
});
|
|
434529
434484
|
return;
|
|
434530
434485
|
case "authenticate":
|
|
@@ -628529,12 +628484,6 @@ var init_ur_init2 = __esm(() => {
|
|
|
628529
628484
|
ur_init_default = urInit;
|
|
628530
628485
|
});
|
|
628531
628486
|
|
|
628532
|
-
// src/commands/bughunter/index.js
|
|
628533
|
-
var bughunter_default;
|
|
628534
|
-
var init_bughunter = __esm(() => {
|
|
628535
|
-
bughunter_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
628536
|
-
});
|
|
628537
|
-
|
|
628538
628487
|
// src/commands/terminalSetup/index.ts
|
|
628539
628488
|
var NATIVE_CSIU_TERMINALS2, terminalSetup, terminalSetup_default;
|
|
628540
628489
|
var init_terminalSetup2 = __esm(() => {
|
|
@@ -628579,7 +628528,6 @@ var init_usage3 = __esm(() => {
|
|
|
628579
628528
|
type: "local-jsx",
|
|
628580
628529
|
name: "usage",
|
|
628581
628530
|
description: "Show plan usage limits",
|
|
628582
|
-
availability: ["ur-ai"],
|
|
628583
628531
|
load: () => Promise.resolve().then(() => (init_usage2(), exports_usage))
|
|
628584
628532
|
};
|
|
628585
628533
|
});
|
|
@@ -632646,7 +632594,7 @@ function Passes({
|
|
|
632646
632594
|
children: [
|
|
632647
632595
|
referrerReward ? `Share a free week of UR with friends. If they love it and subscribe, you'll get ${formatCreditAmount(referrerReward)} of extra usage to keep building. ` : "Share a free week of UR with friends. ",
|
|
632648
632596
|
/* @__PURE__ */ jsx_dev_runtime286.jsxDEV(Link, {
|
|
632649
|
-
url: referrerReward ? "https://
|
|
632597
|
+
url: referrerReward ? "https://github.com/Maitham16/UR" : "https://github.com/Maitham16/UR",
|
|
632650
632598
|
children: "Terms apply."
|
|
632651
632599
|
}, undefined, false, undefined, this)
|
|
632652
632600
|
]
|
|
@@ -642003,7 +641951,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
642003
641951
|
smapsRollup,
|
|
642004
641952
|
platform: process.platform,
|
|
642005
641953
|
nodeVersion: process.version,
|
|
642006
|
-
ccVersion: "1.50.
|
|
641954
|
+
ccVersion: "1.50.6"
|
|
642007
641955
|
};
|
|
642008
641956
|
}
|
|
642009
641957
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -642108,12 +642056,6 @@ var init_heapdump2 = __esm(() => {
|
|
|
642108
642056
|
heapdump_default = heapDump;
|
|
642109
642057
|
});
|
|
642110
642058
|
|
|
642111
|
-
// src/commands/mock-limits/index.js
|
|
642112
|
-
var mock_limits_default;
|
|
642113
|
-
var init_mock_limits = __esm(() => {
|
|
642114
|
-
mock_limits_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
642115
|
-
});
|
|
642116
|
-
|
|
642117
642059
|
// src/bridge/bridgeApi.ts
|
|
642118
642060
|
function validateBridgeId(id, label) {
|
|
642119
642061
|
if (!id || !SAFE_ID_PATTERN.test(id)) {
|
|
@@ -642589,7 +642531,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
642589
642531
|
var call144 = async () => {
|
|
642590
642532
|
return {
|
|
642591
642533
|
type: "text",
|
|
642592
|
-
value: "1.50.
|
|
642534
|
+
value: "1.50.6"
|
|
642593
642535
|
};
|
|
642594
642536
|
}, version2, version_default;
|
|
642595
642537
|
var init_version = __esm(() => {
|
|
@@ -642604,32 +642546,6 @@ var init_version = __esm(() => {
|
|
|
642604
642546
|
version_default = version2;
|
|
642605
642547
|
});
|
|
642606
642548
|
|
|
642607
|
-
// src/commands/summary/index.js
|
|
642608
|
-
var summary_default;
|
|
642609
|
-
var init_summary = __esm(() => {
|
|
642610
|
-
summary_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
642611
|
-
});
|
|
642612
|
-
|
|
642613
|
-
// src/commands/reset-limits/index.js
|
|
642614
|
-
var stub, resetLimits, resetLimitsNonInteractive;
|
|
642615
|
-
var init_reset_limits = __esm(() => {
|
|
642616
|
-
stub = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
642617
|
-
resetLimits = stub;
|
|
642618
|
-
resetLimitsNonInteractive = stub;
|
|
642619
|
-
});
|
|
642620
|
-
|
|
642621
|
-
// src/commands/ant-trace/index.js
|
|
642622
|
-
var ant_trace_default;
|
|
642623
|
-
var init_ant_trace = __esm(() => {
|
|
642624
|
-
ant_trace_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
642625
|
-
});
|
|
642626
|
-
|
|
642627
|
-
// src/commands/perf-issue/index.js
|
|
642628
|
-
var perf_issue_default;
|
|
642629
|
-
var init_perf_issue = __esm(() => {
|
|
642630
|
-
perf_issue_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
642631
|
-
});
|
|
642632
|
-
|
|
642633
642549
|
// src/components/sandbox/SandboxConfigTab.tsx
|
|
642634
642550
|
function SandboxConfigTab() {
|
|
642635
642551
|
const $2 = import_compiler_runtime244.c(3);
|
|
@@ -644680,7 +644596,6 @@ var init_chrome2 = __esm(() => {
|
|
|
644680
644596
|
command7 = {
|
|
644681
644597
|
name: "chrome",
|
|
644682
644598
|
description: "UR in Chrome (Beta) settings",
|
|
644683
|
-
availability: ["ur-ai"],
|
|
644684
644599
|
isEnabled: () => !getIsNonInteractiveSession() && !isNetworkRestricted2(),
|
|
644685
644600
|
type: "local-jsx",
|
|
644686
644601
|
load: () => Promise.resolve().then(() => (init_chrome(), exports_chrome))
|
|
@@ -644896,12 +644811,6 @@ var init_bundledSkills = __esm(() => {
|
|
|
644896
644811
|
SAFE_WRITE_FLAGS = process.platform === "win32" ? "wx" : fsConstants6.O_WRONLY | fsConstants6.O_CREAT | fsConstants6.O_EXCL | O_NOFOLLOW;
|
|
644897
644812
|
});
|
|
644898
644813
|
|
|
644899
|
-
// src/commands/env/index.js
|
|
644900
|
-
var env_default;
|
|
644901
|
-
var init_env2 = __esm(() => {
|
|
644902
|
-
env_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
644903
|
-
});
|
|
644904
|
-
|
|
644905
644814
|
// src/components/WorktreeExitDialog.tsx
|
|
644906
644815
|
function recordWorktreeExit() {
|
|
644907
644816
|
(init_sessionStorage(), __toCommonJS(exports_sessionStorage)).saveWorktreeState(null);
|
|
@@ -647845,7 +647754,6 @@ var init_upgrade2 = __esm(() => {
|
|
|
647845
647754
|
type: "local-jsx",
|
|
647846
647755
|
name: "upgrade",
|
|
647847
647756
|
description: "Upgrade to Max for higher rate limits and more modelO",
|
|
647848
|
-
availability: ["ur-ai"],
|
|
647849
647757
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_UPGRADE_COMMAND) && getSubscriptionType() !== "enterprise" && !isNetworkRestricted2(),
|
|
647850
647758
|
load: () => Promise.resolve().then(() => (init_upgrade(), exports_upgrade))
|
|
647851
647759
|
};
|
|
@@ -651207,18 +651115,6 @@ var init_stats3 = __esm(() => {
|
|
|
651207
651115
|
stats_default = stats;
|
|
651208
651116
|
});
|
|
651209
651117
|
|
|
651210
|
-
// src/commands/oauth-refresh/index.js
|
|
651211
|
-
var oauth_refresh_default;
|
|
651212
|
-
var init_oauth_refresh = __esm(() => {
|
|
651213
|
-
oauth_refresh_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
651214
|
-
});
|
|
651215
|
-
|
|
651216
|
-
// src/commands/debug-tool-call/index.js
|
|
651217
|
-
var debug_tool_call_default;
|
|
651218
|
-
var init_debug_tool_call = __esm(() => {
|
|
651219
|
-
debug_tool_call_default = { isEnabled: () => false, isHidden: true, name: "stub" };
|
|
651220
|
-
});
|
|
651221
|
-
|
|
651222
651118
|
// src/commands/verify.ts
|
|
651223
651119
|
var VERIFY_PROMPT = (focus) => {
|
|
651224
651120
|
const focusLine = focus ? `Focus the verification specifically on: ${focus}.` : `Verify the changes from the most recent task.`;
|
|
@@ -652220,7 +652116,6 @@ var init_voice4 = __esm(() => {
|
|
|
652220
652116
|
type: "local",
|
|
652221
652117
|
name: "voice",
|
|
652222
652118
|
description: "Toggle voice mode",
|
|
652223
|
-
availability: ["ur-ai"],
|
|
652224
652119
|
isEnabled: () => isVoiceGrowthBookEnabled(),
|
|
652225
652120
|
get isHidden() {
|
|
652226
652121
|
return !isVoiceModeEnabled();
|
|
@@ -653707,7 +653602,7 @@ function generateHtmlReport(data, insights) {
|
|
|
653707
653602
|
</html>`;
|
|
653708
653603
|
}
|
|
653709
653604
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
653710
|
-
const version3 = typeof MACRO !== "undefined" ? "1.50.
|
|
653605
|
+
const version3 = typeof MACRO !== "undefined" ? "1.50.6" : "unknown";
|
|
653711
653606
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
653712
653607
|
const facets_summary = {
|
|
653713
653608
|
total: facets.size,
|
|
@@ -654608,11 +654503,7 @@ function formatDescriptionWithSource(cmd) {
|
|
|
654608
654503
|
var agentsPlatform = null, proactive = null, briefCommand = null, assistantCommand = null, bridge = null, remoteControlServerCommand = null, voiceCommand, forceSnip = null, workflowsCmd = null, webCmd = null, clearSkillIndexCache2 = null, subscribePr = null, ultraplan = null, torch = null, peersCmd = null, forkCmd = null, buddy = null, usageReport2, INTERNAL_ONLY_COMMANDS2, COMMANDS, builtInCommandNames, getWorkflowCommands = null, loadAllCommands, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, BRIDGE_SAFE_COMMANDS;
|
|
654609
654504
|
var init_commands3 = __esm(() => {
|
|
654610
654505
|
init_add_dir2();
|
|
654611
|
-
init_autofix_pr();
|
|
654612
|
-
init_backfill_sessions();
|
|
654613
654506
|
init_btw2();
|
|
654614
|
-
init_good_ur();
|
|
654615
|
-
init_issue();
|
|
654616
654507
|
init_feedback2();
|
|
654617
654508
|
init_clear2();
|
|
654618
654509
|
init_color3();
|
|
@@ -654625,7 +654516,6 @@ var init_commands3 = __esm(() => {
|
|
|
654625
654516
|
init_context4();
|
|
654626
654517
|
init_cost2();
|
|
654627
654518
|
init_diff4();
|
|
654628
|
-
init_ctx_viz();
|
|
654629
654519
|
init_doctor2();
|
|
654630
654520
|
init_memory2();
|
|
654631
654521
|
init_help2();
|
|
@@ -654636,9 +654526,7 @@ var init_commands3 = __esm(() => {
|
|
|
654636
654526
|
init_login2();
|
|
654637
654527
|
init_logout2();
|
|
654638
654528
|
init_install_slack_app2();
|
|
654639
|
-
init_break_cache();
|
|
654640
654529
|
init_mcp3();
|
|
654641
|
-
init_onboarding();
|
|
654642
654530
|
init_pr_comments();
|
|
654643
654531
|
init_release_notes2();
|
|
654644
654532
|
init_rename2();
|
|
@@ -654646,11 +654534,9 @@ var init_commands3 = __esm(() => {
|
|
|
654646
654534
|
init_create_skill2();
|
|
654647
654535
|
init_review();
|
|
654648
654536
|
init_session2();
|
|
654649
|
-
init_share();
|
|
654650
654537
|
init_skills2();
|
|
654651
654538
|
init_status3();
|
|
654652
654539
|
init_tasks4();
|
|
654653
|
-
init_teleport2();
|
|
654654
654540
|
init_security3();
|
|
654655
654541
|
init_scope3();
|
|
654656
654542
|
init_threat_model2();
|
|
@@ -654738,7 +654624,6 @@ var init_commands3 = __esm(() => {
|
|
|
654738
654624
|
init_browser3();
|
|
654739
654625
|
init_ur_doctor2();
|
|
654740
654626
|
init_ur_init2();
|
|
654741
|
-
init_bughunter();
|
|
654742
654627
|
init_terminalSetup2();
|
|
654743
654628
|
init_usage3();
|
|
654744
654629
|
init_theme3();
|
|
@@ -654759,13 +654644,8 @@ var init_commands3 = __esm(() => {
|
|
|
654759
654644
|
init_rewind();
|
|
654760
654645
|
init_undo3();
|
|
654761
654646
|
init_heapdump2();
|
|
654762
|
-
init_mock_limits();
|
|
654763
654647
|
init_bridge_kick();
|
|
654764
654648
|
init_version();
|
|
654765
|
-
init_summary();
|
|
654766
|
-
init_reset_limits();
|
|
654767
|
-
init_ant_trace();
|
|
654768
|
-
init_perf_issue();
|
|
654769
654649
|
init_sandbox_toggle2();
|
|
654770
654650
|
init_chrome2();
|
|
654771
654651
|
init_advisor2();
|
|
@@ -654779,7 +654659,6 @@ var init_commands3 = __esm(() => {
|
|
|
654779
654659
|
init_memoize();
|
|
654780
654660
|
init_auth();
|
|
654781
654661
|
init_providers();
|
|
654782
|
-
init_env2();
|
|
654783
654662
|
init_exit2();
|
|
654784
654663
|
init_export2();
|
|
654785
654664
|
init_model3();
|
|
@@ -654795,8 +654674,6 @@ var init_commands3 = __esm(() => {
|
|
|
654795
654674
|
init_statusline();
|
|
654796
654675
|
init_effort3();
|
|
654797
654676
|
init_stats3();
|
|
654798
|
-
init_oauth_refresh();
|
|
654799
|
-
init_debug_tool_call();
|
|
654800
654677
|
init_verify();
|
|
654801
654678
|
init_trace2();
|
|
654802
654679
|
init_constants();
|
|
@@ -654816,34 +654693,15 @@ var init_commands3 = __esm(() => {
|
|
|
654816
654693
|
}
|
|
654817
654694
|
};
|
|
654818
654695
|
INTERNAL_ONLY_COMMANDS2 = [
|
|
654819
|
-
backfill_sessions_default,
|
|
654820
|
-
break_cache_default,
|
|
654821
|
-
bughunter_default,
|
|
654822
654696
|
commit_default,
|
|
654823
654697
|
commit_push_pr_default,
|
|
654824
|
-
ctx_viz_default,
|
|
654825
|
-
good_ur_default,
|
|
654826
|
-
issue_default,
|
|
654827
654698
|
init_verifiers_default,
|
|
654828
654699
|
...forceSnip ? [forceSnip] : [],
|
|
654829
|
-
mock_limits_default,
|
|
654830
654700
|
bridge_kick_default,
|
|
654831
654701
|
version_default,
|
|
654832
654702
|
...ultraplan ? [ultraplan] : [],
|
|
654833
654703
|
...subscribePr ? [subscribePr] : [],
|
|
654834
|
-
|
|
654835
|
-
resetLimitsNonInteractive,
|
|
654836
|
-
onboarding_default,
|
|
654837
|
-
share_default,
|
|
654838
|
-
summary_default,
|
|
654839
|
-
teleport_default,
|
|
654840
|
-
ant_trace_default,
|
|
654841
|
-
perf_issue_default,
|
|
654842
|
-
env_default,
|
|
654843
|
-
oauth_refresh_default,
|
|
654844
|
-
debug_tool_call_default,
|
|
654845
|
-
agentsPlatform,
|
|
654846
|
-
autofix_pr_default
|
|
654704
|
+
agentsPlatform
|
|
654847
654705
|
].filter(Boolean);
|
|
654848
654706
|
COMMANDS = memoize_default(() => [
|
|
654849
654707
|
add_dir_default,
|
|
@@ -655078,7 +654936,6 @@ var init_commands3 = __esm(() => {
|
|
|
655078
654936
|
compact_default,
|
|
655079
654937
|
clear_default,
|
|
655080
654938
|
cost_default,
|
|
655081
|
-
summary_default,
|
|
655082
654939
|
release_notes_default,
|
|
655083
654940
|
files_default
|
|
655084
654941
|
].filter((c4) => c4 !== null));
|
|
@@ -658038,7 +657895,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
658038
657895
|
init_settings2();
|
|
658039
657896
|
init_slowOperations();
|
|
658040
657897
|
init_uuid();
|
|
658041
|
-
VERSION7 = typeof MACRO !== "undefined" ? "1.50.
|
|
657898
|
+
VERSION7 = typeof MACRO !== "undefined" ? "1.50.6" : "unknown";
|
|
658042
657899
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
658043
657900
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
658044
657901
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -659253,7 +659110,7 @@ var init_filesystem = __esm(() => {
|
|
|
659253
659110
|
});
|
|
659254
659111
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
659255
659112
|
const nonce = randomBytes19(16).toString("hex");
|
|
659256
|
-
return join224(getURTempDir(), "bundled-skills", "1.50.
|
|
659113
|
+
return join224(getURTempDir(), "bundled-skills", "1.50.6", nonce);
|
|
659257
659114
|
});
|
|
659258
659115
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
659259
659116
|
});
|
|
@@ -665548,7 +665405,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
665548
665405
|
}
|
|
665549
665406
|
function computeFingerprintFromMessages(messages) {
|
|
665550
665407
|
const firstMessageText = extractFirstMessageText(messages);
|
|
665551
|
-
return computeFingerprint(firstMessageText, "1.50.
|
|
665408
|
+
return computeFingerprint(firstMessageText, "1.50.6");
|
|
665552
665409
|
}
|
|
665553
665410
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
665554
665411
|
var init_fingerprint = () => {};
|
|
@@ -667444,7 +667301,7 @@ async function sideQuery(opts) {
|
|
|
667444
667301
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
667445
667302
|
}
|
|
667446
667303
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
667447
|
-
const fingerprint2 = computeFingerprint(messageText2, "1.50.
|
|
667304
|
+
const fingerprint2 = computeFingerprint(messageText2, "1.50.6");
|
|
667448
667305
|
const attributionHeader = getAttributionHeader(fingerprint2);
|
|
667449
667306
|
const systemBlocks = [
|
|
667450
667307
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -672215,7 +672072,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
672215
672072
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
672216
672073
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
672217
672074
|
betas: getSdkBetas(),
|
|
672218
|
-
ur_version: "1.50.
|
|
672075
|
+
ur_version: "1.50.6",
|
|
672219
672076
|
output_style: outputStyle2,
|
|
672220
672077
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
672221
672078
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -686075,7 +685932,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
686075
685932
|
function getSemverPart(version3) {
|
|
686076
685933
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
686077
685934
|
}
|
|
686078
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.50.
|
|
685935
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.50.6") {
|
|
686079
685936
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react222.useState(() => getSemverPart(initialVersion));
|
|
686080
685937
|
if (!updatedVersion) {
|
|
686081
685938
|
return null;
|
|
@@ -686124,7 +685981,7 @@ function AutoUpdater({
|
|
|
686124
685981
|
return;
|
|
686125
685982
|
}
|
|
686126
685983
|
if (false) {}
|
|
686127
|
-
const currentVersion = "1.50.
|
|
685984
|
+
const currentVersion = "1.50.6";
|
|
686128
685985
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
686129
685986
|
let latestVersion = await getLatestVersion(channel);
|
|
686130
685987
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -686353,12 +686210,12 @@ function NativeAutoUpdater({
|
|
|
686353
686210
|
logEvent("tengu_native_auto_updater_start", {});
|
|
686354
686211
|
try {
|
|
686355
686212
|
const maxVersion = await getMaxVersion();
|
|
686356
|
-
if (maxVersion && gt("1.50.
|
|
686213
|
+
if (maxVersion && gt("1.50.6", maxVersion)) {
|
|
686357
686214
|
const msg = await getMaxVersionMessage();
|
|
686358
686215
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
686359
686216
|
}
|
|
686360
686217
|
const result = await installLatest(channel);
|
|
686361
|
-
const currentVersion = "1.50.
|
|
686218
|
+
const currentVersion = "1.50.6";
|
|
686362
686219
|
const latencyMs = Date.now() - startTime;
|
|
686363
686220
|
if (result.lockFailed) {
|
|
686364
686221
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -686495,17 +686352,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
686495
686352
|
const maxVersion = await getMaxVersion();
|
|
686496
686353
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
686497
686354
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
686498
|
-
if (gte("1.50.
|
|
686499
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.50.
|
|
686355
|
+
if (gte("1.50.6", maxVersion)) {
|
|
686356
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.50.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
686500
686357
|
setUpdateAvailable(false);
|
|
686501
686358
|
return;
|
|
686502
686359
|
}
|
|
686503
686360
|
latest = maxVersion;
|
|
686504
686361
|
}
|
|
686505
|
-
const hasUpdate = latest && !gte("1.50.
|
|
686362
|
+
const hasUpdate = latest && !gte("1.50.6", latest) && !shouldSkipVersion(latest);
|
|
686506
686363
|
setUpdateAvailable(!!hasUpdate);
|
|
686507
686364
|
if (hasUpdate) {
|
|
686508
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.50.
|
|
686365
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.50.6"} -> ${latest}`);
|
|
686509
686366
|
}
|
|
686510
686367
|
};
|
|
686511
686368
|
$2[0] = t1;
|
|
@@ -686539,7 +686396,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
686539
686396
|
wrap: "truncate",
|
|
686540
686397
|
children: [
|
|
686541
686398
|
"currentVersion: ",
|
|
686542
|
-
"1.50.
|
|
686399
|
+
"1.50.6"
|
|
686543
686400
|
]
|
|
686544
686401
|
}, undefined, true, undefined, this);
|
|
686545
686402
|
$2[3] = verbose;
|
|
@@ -697236,7 +697093,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
697236
697093
|
project_dir: getOriginalCwd(),
|
|
697237
697094
|
added_dirs: addedDirs
|
|
697238
697095
|
},
|
|
697239
|
-
version: "1.50.
|
|
697096
|
+
version: "1.50.6",
|
|
697240
697097
|
output_style: {
|
|
697241
697098
|
name: outputStyleName
|
|
697242
697099
|
},
|
|
@@ -697319,7 +697176,7 @@ function StatusLineInner({
|
|
|
697319
697176
|
const taskValues = Object.values(tasks2);
|
|
697320
697177
|
const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
|
|
697321
697178
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
697322
|
-
version: "1.50.
|
|
697179
|
+
version: "1.50.6",
|
|
697323
697180
|
providerLabel: providerRuntime.providerLabel,
|
|
697324
697181
|
authMode: providerRuntime.authLabel,
|
|
697325
697182
|
model: providerRuntime.model ?? renderModelName(mainLoopModel),
|
|
@@ -709462,7 +709319,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
709462
709319
|
} catch {}
|
|
709463
709320
|
const data = {
|
|
709464
709321
|
trigger: trigger2,
|
|
709465
|
-
version: "1.50.
|
|
709322
|
+
version: "1.50.6",
|
|
709466
709323
|
platform: process.platform,
|
|
709467
709324
|
transcript,
|
|
709468
709325
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -721742,7 +721599,7 @@ function WelcomeV2() {
|
|
|
721742
721599
|
dimColor: true,
|
|
721743
721600
|
children: [
|
|
721744
721601
|
"v",
|
|
721745
|
-
"1.50.
|
|
721602
|
+
"1.50.6"
|
|
721746
721603
|
]
|
|
721747
721604
|
}, undefined, true, undefined, this)
|
|
721748
721605
|
]
|
|
@@ -723002,7 +722859,7 @@ function completeOnboarding() {
|
|
|
723002
722859
|
saveGlobalConfig((current) => ({
|
|
723003
722860
|
...current,
|
|
723004
722861
|
hasCompletedOnboarding: true,
|
|
723005
|
-
lastOnboardingVersion: "1.50.
|
|
722862
|
+
lastOnboardingVersion: "1.50.6"
|
|
723006
722863
|
}));
|
|
723007
722864
|
}
|
|
723008
722865
|
function showDialog(root2, renderer) {
|
|
@@ -728046,7 +727903,7 @@ function appendToLog(path24, message) {
|
|
|
728046
727903
|
cwd: getFsImplementation().cwd(),
|
|
728047
727904
|
userType: process.env.USER_TYPE,
|
|
728048
727905
|
sessionId: getSessionId(),
|
|
728049
|
-
version: "1.50.
|
|
727906
|
+
version: "1.50.6"
|
|
728050
727907
|
};
|
|
728051
727908
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
728052
727909
|
}
|
|
@@ -732205,8 +732062,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
732205
732062
|
}
|
|
732206
732063
|
async function checkEnvLessBridgeMinVersion() {
|
|
732207
732064
|
const cfg = await getEnvLessBridgeConfig();
|
|
732208
|
-
if (cfg.min_version && lt("1.50.
|
|
732209
|
-
return `Your version of UR (${"1.50.
|
|
732065
|
+
if (cfg.min_version && lt("1.50.6", cfg.min_version)) {
|
|
732066
|
+
return `Your version of UR (${"1.50.6"}) is too old for Remote Control.
|
|
732210
732067
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
732211
732068
|
}
|
|
732212
732069
|
return null;
|
|
@@ -732680,7 +732537,7 @@ async function initBridgeCore(params) {
|
|
|
732680
732537
|
const rawApi = createBridgeApiClient({
|
|
732681
732538
|
baseUrl,
|
|
732682
732539
|
getAccessToken,
|
|
732683
|
-
runnerVersion: "1.50.
|
|
732540
|
+
runnerVersion: "1.50.6",
|
|
732684
732541
|
onDebug: logForDebugging,
|
|
732685
732542
|
onAuth401,
|
|
732686
732543
|
getTrustedDeviceToken
|
|
@@ -742149,7 +742006,7 @@ function getAgUiCapabilities() {
|
|
|
742149
742006
|
name: "UR-Nexus",
|
|
742150
742007
|
type: "ur-nexus",
|
|
742151
742008
|
description: "Provider-flexible, local-first autonomous engineering workflow agent.",
|
|
742152
|
-
version: "1.50.
|
|
742009
|
+
version: "1.50.6",
|
|
742153
742010
|
provider: "UR",
|
|
742154
742011
|
documentationUrl: "https://github.com/Maitham16/UR/blob/master/docs/AG_UI.md"
|
|
742155
742012
|
},
|
|
@@ -743289,7 +743146,7 @@ function createMCPServer(cwd4, debug2, verbose) {
|
|
|
743289
743146
|
};
|
|
743290
743147
|
const server2 = new Server({
|
|
743291
743148
|
name: "ur-nexus",
|
|
743292
|
-
version: "1.50.
|
|
743149
|
+
version: "1.50.6"
|
|
743293
743150
|
}, {
|
|
743294
743151
|
capabilities: {
|
|
743295
743152
|
tools: {}
|
|
@@ -744447,7 +744304,7 @@ function thrownResponse(error40) {
|
|
|
744447
744304
|
}
|
|
744448
744305
|
async function createUrMcp2026Runtime(options4) {
|
|
744449
744306
|
const server2 = createMCPServer(options4.cwd, options4.debug === true, options4.verbose === true);
|
|
744450
|
-
const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.50.
|
|
744307
|
+
const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.50.6" }, { capabilities: {} });
|
|
744451
744308
|
const [clientTransport, serverTransport] = createLinkedTransportPair();
|
|
744452
744309
|
try {
|
|
744453
744310
|
await server2.connect(serverTransport);
|
|
@@ -744458,7 +744315,7 @@ async function createUrMcp2026Runtime(options4) {
|
|
|
744458
744315
|
}
|
|
744459
744316
|
const runtime2 = new Mcp2026Runtime({
|
|
744460
744317
|
cwd: options4.cwd,
|
|
744461
|
-
version: "1.50.
|
|
744318
|
+
version: "1.50.6",
|
|
744462
744319
|
backend: {
|
|
744463
744320
|
listTools: async () => {
|
|
744464
744321
|
const listed = await client2.listTools();
|
|
@@ -746591,7 +746448,7 @@ async function update() {
|
|
|
746591
746448
|
logEvent("tengu_update_check", {});
|
|
746592
746449
|
const diagnostic2 = await getDoctorDiagnostic();
|
|
746593
746450
|
const result = await checkUpgradeStatus({
|
|
746594
|
-
currentVersion: "1.50.
|
|
746451
|
+
currentVersion: "1.50.6",
|
|
746595
746452
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
746596
746453
|
installationType: diagnostic2.installationType,
|
|
746597
746454
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -747907,7 +747764,7 @@ ${customInstructions}` : customInstructions;
|
|
|
747907
747764
|
}
|
|
747908
747765
|
}
|
|
747909
747766
|
logForDiagnosticsNoPII("info", "started", {
|
|
747910
|
-
version: "1.50.
|
|
747767
|
+
version: "1.50.6",
|
|
747911
747768
|
is_native_binary: isInBundledMode()
|
|
747912
747769
|
});
|
|
747913
747770
|
registerCleanup(async () => {
|
|
@@ -748693,7 +748550,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
748693
748550
|
pendingHookMessages
|
|
748694
748551
|
}, renderAndRun);
|
|
748695
748552
|
}
|
|
748696
|
-
}).version("1.50.
|
|
748553
|
+
}).version("1.50.6 (UR-Nexus)", "-v, --version", "Output the version number");
|
|
748697
748554
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
748698
748555
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
748699
748556
|
if (canUserConfigureAdvisor()) {
|
|
@@ -749709,7 +749566,7 @@ if (false) {}
|
|
|
749709
749566
|
async function main2() {
|
|
749710
749567
|
const args = process.argv.slice(2);
|
|
749711
749568
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
749712
|
-
console.log(`${"1.50.
|
|
749569
|
+
console.log(`${"1.50.6"} (UR-Nexus)`);
|
|
749713
749570
|
return;
|
|
749714
749571
|
}
|
|
749715
749572
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|