ur-agent 1.68.4 → 1.68.9
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 +80 -0
- package/dist/cli.js +211 -176
- package/docs/VALIDATION.md +1 -1
- package/documentation/index.html +1 -1
- package/extensions/jetbrains-ur/build.gradle.kts +1 -1
- package/extensions/vscode-ur-inline-diffs/package.json +1 -1
- package/package.json +1 -1
- package/technical/README.md +1 -1
package/dist/cli.js
CHANGED
|
@@ -57523,7 +57523,9 @@ __export(exports_ollama, {
|
|
|
57523
57523
|
getOllamaRequestTimeoutMs: () => getOllamaRequestTimeoutMs,
|
|
57524
57524
|
getOllamaModelDefaultTimeoutMs: () => getOllamaModelDefaultTimeoutMs,
|
|
57525
57525
|
getEffectiveOllamaBaseUrl: () => getEffectiveOllamaBaseUrl,
|
|
57526
|
+
dropStaleImagesFromRequest: () => dropStaleImagesFromRequest,
|
|
57526
57527
|
describeOversizedOllamaRequest: () => describeOversizedOllamaRequest,
|
|
57528
|
+
describeImageRetry: () => describeImageRetry,
|
|
57527
57529
|
createOllamaURHQClient: () => createOllamaURHQClient,
|
|
57528
57530
|
consumePendingProviderNotice: () => consumePendingProviderNotice,
|
|
57529
57531
|
buildOllamaHeaders: () => buildOllamaHeaders
|
|
@@ -57592,8 +57594,9 @@ async function fetchOllamaChat(params, stream4, controller, options, baseUrl = g
|
|
|
57592
57594
|
try {
|
|
57593
57595
|
const capabilities = await getOllamaModelCapabilities(params.model, baseUrl, controller.signal);
|
|
57594
57596
|
const textToolFallbackAllowed = (params.tools?.length ?? 0) > 0 && !modelCapabilityEnabled(capabilities, "tools");
|
|
57595
|
-
const
|
|
57596
|
-
const
|
|
57597
|
+
const chatRequest = toOllamaChatRequest(params, stream4, capabilities, baseUrl);
|
|
57598
|
+
const requestBody = JSON.stringify(chatRequest);
|
|
57599
|
+
let response = await fetch(`${baseUrl}/api/chat`, {
|
|
57597
57600
|
method: "POST",
|
|
57598
57601
|
headers: buildOllamaHeaders(),
|
|
57599
57602
|
body: requestBody,
|
|
@@ -57601,6 +57604,23 @@ async function fetchOllamaChat(params, stream4, controller, options, baseUrl = g
|
|
|
57601
57604
|
});
|
|
57602
57605
|
if (!response.ok) {
|
|
57603
57606
|
const body = await response.text().catch(() => "");
|
|
57607
|
+
const rawMessage = extractOllamaHTTPErrorMessage(body) || response.statusText;
|
|
57608
|
+
const retryRequest = isOllamaRequestTooLarge(response.status, rawMessage) ? dropStaleImagesFromRequest(chatRequest) : null;
|
|
57609
|
+
if (retryRequest) {
|
|
57610
|
+
const retryBody = JSON.stringify(retryRequest);
|
|
57611
|
+
pendingProviderNotice ??= describeImageRetry(requestBody.length, retryBody.length);
|
|
57612
|
+
response = await fetch(`${baseUrl}/api/chat`, {
|
|
57613
|
+
method: "POST",
|
|
57614
|
+
headers: buildOllamaHeaders(),
|
|
57615
|
+
body: retryBody,
|
|
57616
|
+
signal: controller.signal
|
|
57617
|
+
});
|
|
57618
|
+
if (!response.ok) {
|
|
57619
|
+
const retryErrorBody = await response.text().catch(() => "");
|
|
57620
|
+
throw createOllamaHTTPError(response.status, retryErrorBody, response.statusText, retryBody.length);
|
|
57621
|
+
}
|
|
57622
|
+
return { response, textToolFallbackAllowed };
|
|
57623
|
+
}
|
|
57604
57624
|
throw createOllamaHTTPError(response.status, body, response.statusText, requestBody.length);
|
|
57605
57625
|
}
|
|
57606
57626
|
return { response, textToolFallbackAllowed };
|
|
@@ -57634,6 +57654,19 @@ function formatBytes(bytes) {
|
|
|
57634
57654
|
return `${Math.round(bytes / 1024)} KB`;
|
|
57635
57655
|
return `${bytes} bytes`;
|
|
57636
57656
|
}
|
|
57657
|
+
function dropStaleImagesFromRequest(request) {
|
|
57658
|
+
const withImages = request.messages.map((message, index2) => (message.images?.length ?? 0) > 0 ? index2 : -1).filter((index2) => index2 >= 0);
|
|
57659
|
+
if (withImages.length <= 1)
|
|
57660
|
+
return null;
|
|
57661
|
+
const keep = withImages.at(-1);
|
|
57662
|
+
return {
|
|
57663
|
+
...request,
|
|
57664
|
+
messages: request.messages.map((message, index2) => index2 === keep || (message.images?.length ?? 0) === 0 ? message : { ...message, images: undefined })
|
|
57665
|
+
};
|
|
57666
|
+
}
|
|
57667
|
+
function describeImageRetry(originalBytes, retriedBytes) {
|
|
57668
|
+
return `The request was ${formatBytes(originalBytes)}, which Ollama rejected as too ` + `large. Images from earlier turns were dropped and it was retried at ` + `${formatBytes(retriedBytes)}. The most recent image was kept. If you need ` + `an earlier one again, re-attach it.`;
|
|
57669
|
+
}
|
|
57637
57670
|
function describeOversizedOllamaRequest(requestBytes) {
|
|
57638
57671
|
const size = requestBytes && requestBytes > 0 ? `This request was ${formatBytes(requestBytes)}. ` : "";
|
|
57639
57672
|
return `Ollama rejected the request because the HTTP body exceeded its size limit. ` + `${size}This is a byte-size limit on the server, not the model's context ` + `window, so it can trigger even when the conversation fits. Images are the ` + `usual cause \u2014 base64 encoding adds roughly a third to their size, and every ` + `image stays in the transcript on later turns. Use /compact or start a new ` + `session to drop older attachments, or send fewer and smaller images. If the ` + `endpoint sits behind a reverse proxy, the proxy's own body limit applies too ` + `(for nginx that is client_max_body_size).`;
|
|
@@ -75669,7 +75702,7 @@ var init_auth = __esm(() => {
|
|
|
75669
75702
|
|
|
75670
75703
|
// src/utils/userAgent.ts
|
|
75671
75704
|
function getURCodeUserAgent() {
|
|
75672
|
-
return `ur/${"1.68.
|
|
75705
|
+
return `ur/${"1.68.9"}`;
|
|
75673
75706
|
}
|
|
75674
75707
|
|
|
75675
75708
|
// src/utils/workloadContext.ts
|
|
@@ -75691,7 +75724,7 @@ function getUserAgent() {
|
|
|
75691
75724
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
75692
75725
|
const workload = getWorkload();
|
|
75693
75726
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
75694
|
-
return `ur-cli/${"1.68.
|
|
75727
|
+
return `ur-cli/${"1.68.9"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
75695
75728
|
}
|
|
75696
75729
|
function getMCPUserAgent() {
|
|
75697
75730
|
const parts = [];
|
|
@@ -75705,7 +75738,7 @@ function getMCPUserAgent() {
|
|
|
75705
75738
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
75706
75739
|
}
|
|
75707
75740
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
75708
|
-
return `ur/${"1.68.
|
|
75741
|
+
return `ur/${"1.68.9"}${suffix}`;
|
|
75709
75742
|
}
|
|
75710
75743
|
function getWebFetchUserAgent() {
|
|
75711
75744
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -75843,7 +75876,7 @@ var init_user = __esm(() => {
|
|
|
75843
75876
|
deviceId,
|
|
75844
75877
|
sessionId: getSessionId(),
|
|
75845
75878
|
email: getEmail(),
|
|
75846
|
-
appVersion: "1.68.
|
|
75879
|
+
appVersion: "1.68.9",
|
|
75847
75880
|
platform: getHostPlatformForAnalytics(),
|
|
75848
75881
|
organizationUuid,
|
|
75849
75882
|
accountUuid,
|
|
@@ -83572,7 +83605,7 @@ function normalizeNameForMCP(name) {
|
|
|
83572
83605
|
}
|
|
83573
83606
|
return normalized;
|
|
83574
83607
|
}
|
|
83575
|
-
var URAI_SERVER_PREFIX = "ur.
|
|
83608
|
+
var URAI_SERVER_PREFIX = "ur.com ";
|
|
83576
83609
|
|
|
83577
83610
|
// src/utils/computerUse/common.ts
|
|
83578
83611
|
var exports_common = {};
|
|
@@ -84043,7 +84076,7 @@ var init_metadata = __esm(() => {
|
|
|
84043
84076
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
84044
84077
|
WHITESPACE_REGEX = /\s+/;
|
|
84045
84078
|
getVersionBase = memoize_default(() => {
|
|
84046
|
-
const match = "1.68.
|
|
84079
|
+
const match = "1.68.9".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
84047
84080
|
return match ? match[0] : undefined;
|
|
84048
84081
|
});
|
|
84049
84082
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -84083,7 +84116,7 @@ var init_metadata = __esm(() => {
|
|
|
84083
84116
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
84084
84117
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
84085
84118
|
isURAiAuth: isURAISubscriber(),
|
|
84086
|
-
version: "1.68.
|
|
84119
|
+
version: "1.68.9",
|
|
84087
84120
|
versionBase: getVersionBase(),
|
|
84088
84121
|
buildTime: "",
|
|
84089
84122
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -84753,7 +84786,7 @@ function initialize1PEventLogging() {
|
|
|
84753
84786
|
const platform2 = getPlatform();
|
|
84754
84787
|
const attributes = {
|
|
84755
84788
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
84756
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.68.
|
|
84789
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.68.9"
|
|
84757
84790
|
};
|
|
84758
84791
|
if (platform2 === "wsl") {
|
|
84759
84792
|
const wslVersion = getWslVersion();
|
|
@@ -84781,7 +84814,7 @@ function initialize1PEventLogging() {
|
|
|
84781
84814
|
})
|
|
84782
84815
|
]
|
|
84783
84816
|
});
|
|
84784
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.68.
|
|
84817
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.68.9");
|
|
84785
84818
|
}
|
|
84786
84819
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
84787
84820
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -87500,7 +87533,7 @@ function getValidationTip(context3) {
|
|
|
87500
87533
|
}
|
|
87501
87534
|
return tip;
|
|
87502
87535
|
}
|
|
87503
|
-
var DOCUMENTATION_BASE = "https://
|
|
87536
|
+
var DOCUMENTATION_BASE = "https://ur.com/docs", TIP_MATCHERS, PATH_DOC_LINKS;
|
|
87504
87537
|
var init_validationTips = __esm(() => {
|
|
87505
87538
|
TIP_MATCHERS = [
|
|
87506
87539
|
{
|
|
@@ -94669,7 +94702,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
94669
94702
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
94670
94703
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
94671
94704
|
}
|
|
94672
|
-
var urVersion = "1.68.
|
|
94705
|
+
var urVersion = "1.68.9", researchSnapshotDate = "2026-07-15", coverage, priorityRoadmap;
|
|
94673
94706
|
var init_trends = __esm(() => {
|
|
94674
94707
|
init_a2aCardSignature();
|
|
94675
94708
|
coverage = [
|
|
@@ -97472,7 +97505,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
97472
97505
|
if (!isAttributionHeaderEnabled()) {
|
|
97473
97506
|
return "";
|
|
97474
97507
|
}
|
|
97475
|
-
const version2 = `${"1.68.
|
|
97508
|
+
const version2 = `${"1.68.9"}.${fingerprint}`;
|
|
97476
97509
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
97477
97510
|
const cch = "";
|
|
97478
97511
|
const workload = getWorkload();
|
|
@@ -144881,7 +144914,7 @@ function getFeedbackGuideline() {
|
|
|
144881
144914
|
}
|
|
144882
144915
|
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";
|
|
144883
144916
|
}
|
|
144884
|
-
var
|
|
144917
|
+
var UR_DOCS_URL = "https://ur.com/docs", UR_CODE_DOCS_MAP_URL, CDP_DOCS_MAP_URL, UR_CODE_GUIDE_AGENT_TYPE = "ur-guide", UR_CODE_GUIDE_AGENT;
|
|
144885
144918
|
var init_urCodeGuideAgent = __esm(() => {
|
|
144886
144919
|
init_prompt3();
|
|
144887
144920
|
init_prompt2();
|
|
@@ -144890,6 +144923,8 @@ var init_urCodeGuideAgent = __esm(() => {
|
|
|
144890
144923
|
init_embeddedTools();
|
|
144891
144924
|
init_settings2();
|
|
144892
144925
|
init_slowOperations();
|
|
144926
|
+
UR_CODE_DOCS_MAP_URL = UR_DOCS_URL;
|
|
144927
|
+
CDP_DOCS_MAP_URL = UR_DOCS_URL;
|
|
144893
144928
|
UR_CODE_GUIDE_AGENT = {
|
|
144894
144929
|
agentType: UR_CODE_GUIDE_AGENT_TYPE,
|
|
144895
144930
|
whenToUse: `Use this agent when the user asks questions ("Can UR...", "Does UR...", "How do I...") about: (1) UR (the CLI tool) - features, hooks, slash commands, MCP servers, settings, IDE integrations, keyboard shortcuts; (2) UR SDK - building custom agents; (3) UR API - API usage, tool use, and SDK usage. **IMPORTANT:** Before spawning a new agent, check if there is already a running or recently completed ur-guide agent that you can continue via ${SEND_MESSAGE_TOOL_NAME}.`,
|
|
@@ -155345,7 +155380,7 @@ var init_projectSafety = __esm(() => {
|
|
|
155345
155380
|
function getInstruments() {
|
|
155346
155381
|
if (instruments)
|
|
155347
155382
|
return instruments;
|
|
155348
|
-
const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.68.
|
|
155383
|
+
const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.68.9");
|
|
155349
155384
|
instruments = {
|
|
155350
155385
|
operationDuration: meter.createHistogram("gen_ai.client.operation.duration", {
|
|
155351
155386
|
description: "GenAI operation duration.",
|
|
@@ -155443,7 +155478,7 @@ function genAiAgentAttributes() {
|
|
|
155443
155478
|
"gen_ai.operation.name": GEN_AI_OPERATION_INVOKE_AGENT,
|
|
155444
155479
|
"gen_ai.provider.name": "ur",
|
|
155445
155480
|
"gen_ai.agent.name": "UR-Nexus",
|
|
155446
|
-
"gen_ai.agent.version": "1.68.
|
|
155481
|
+
"gen_ai.agent.version": "1.68.9"
|
|
155447
155482
|
};
|
|
155448
155483
|
}
|
|
155449
155484
|
function genAiWorkflowAttributes(workflowName) {
|
|
@@ -155459,7 +155494,7 @@ function genAiWorkflowAttributes(workflowName) {
|
|
|
155459
155494
|
function startGenAiWorkflowSpan(workflowName) {
|
|
155460
155495
|
const attributes = genAiWorkflowAttributes(workflowName);
|
|
155461
155496
|
const name = typeof attributes["gen_ai.workflow.name"] === "string" ? `invoke_workflow ${attributes["gen_ai.workflow.name"]}` : GEN_AI_OPERATION_INVOKE_WORKFLOW;
|
|
155462
|
-
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.68.
|
|
155497
|
+
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.68.9").startSpan(name, { kind: import_api10.SpanKind.INTERNAL, attributes });
|
|
155463
155498
|
}
|
|
155464
155499
|
function endGenAiWorkflowSpan(span, options2 = {}) {
|
|
155465
155500
|
try {
|
|
@@ -155497,7 +155532,7 @@ function startGenAiMemorySpan(operation, options2 = {}) {
|
|
|
155497
155532
|
if (options2.recordCount !== undefined && Number.isInteger(options2.recordCount) && options2.recordCount >= 0) {
|
|
155498
155533
|
attributes["gen_ai.memory.record.count"] = options2.recordCount;
|
|
155499
155534
|
}
|
|
155500
|
-
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.68.
|
|
155535
|
+
return import_api10.trace.getTracer("ur-agent.gen_ai", "1.68.9").startSpan(operation, { kind: import_api10.SpanKind.INTERNAL, attributes });
|
|
155501
155536
|
}
|
|
155502
155537
|
function endGenAiMemorySpan(span, options2 = {}) {
|
|
155503
155538
|
try {
|
|
@@ -248980,7 +249015,7 @@ function getTelemetryAttributes() {
|
|
|
248980
249015
|
attributes["session.id"] = sessionId;
|
|
248981
249016
|
}
|
|
248982
249017
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
248983
|
-
attributes["app.version"] = "1.68.
|
|
249018
|
+
attributes["app.version"] = "1.68.9";
|
|
248984
249019
|
}
|
|
248985
249020
|
const oauthAccount = getOauthAccountInfo();
|
|
248986
249021
|
if (oauthAccount) {
|
|
@@ -284513,7 +284548,7 @@ function getRemoteSessionUrl(sessionId, ingressUrl) {
|
|
|
284513
284548
|
const baseUrl = getURAiBaseUrl(compatId, ingressUrl);
|
|
284514
284549
|
return `${baseUrl}/code/${compatId}`;
|
|
284515
284550
|
}
|
|
284516
|
-
var PRODUCT_URL = "https://github.com/Maitham16/UR", UR_AI_BASE_URL = "https://ur.
|
|
284551
|
+
var PRODUCT_URL = "https://github.com/Maitham16/UR", UR_AI_BASE_URL = "https://ur.com", UR_AI_STAGING_BASE_URL = "https://ur-ai.staging.ant.dev", UR_AI_LOCAL_BASE_URL = "http://localhost:4000";
|
|
284517
284552
|
|
|
284518
284553
|
// src/keybindings/defaultBindings.ts
|
|
284519
284554
|
var IMAGE_PASTE_KEY, SUPPORTS_TERMINAL_VT_MODE, MODE_CYCLE_KEY, DEFAULT_BINDINGS;
|
|
@@ -289855,7 +289890,7 @@ var init_urai = __esm(() => {
|
|
|
289855
289890
|
const configs = {};
|
|
289856
289891
|
const usedNormalizedNames = new Set;
|
|
289857
289892
|
for (const server2 of response.data.data) {
|
|
289858
|
-
const baseName = `ur.
|
|
289893
|
+
const baseName = `ur.com ${server2.display_name}`;
|
|
289859
289894
|
let finalName = baseName;
|
|
289860
289895
|
let finalNormalized = normalizeNameForMCP(finalName);
|
|
289861
289896
|
let count3 = 1;
|
|
@@ -290021,7 +290056,7 @@ function dedupURAiMcpServers(urAiServers, manualServers) {
|
|
|
290021
290056
|
const sig = getMcpServerSignature(config2);
|
|
290022
290057
|
const manualDup = sig !== null ? manualSigs.get(sig) : undefined;
|
|
290023
290058
|
if (manualDup !== undefined) {
|
|
290024
|
-
logForDebugging(`Suppressing ur.
|
|
290059
|
+
logForDebugging(`Suppressing ur.com connector "${name}": duplicates manually-configured "${manualDup}"`);
|
|
290025
290060
|
suppressed.push({ name, duplicateOf: manualDup });
|
|
290026
290061
|
continue;
|
|
290027
290062
|
}
|
|
@@ -290647,7 +290682,7 @@ function parseMcpConfig(params) {
|
|
|
290647
290682
|
...filePath && { file: filePath },
|
|
290648
290683
|
path: `mcpServers.${name}`,
|
|
290649
290684
|
message: `Windows requires 'cmd /c' wrapper to execute npx`,
|
|
290650
|
-
suggestion: `Change command to "cmd" with args ["/c", "npx", ...]. See: https://
|
|
290685
|
+
suggestion: `Change command to "cmd" with args ["/c", "npx", ...]. See: https://ur.com/docs/mcp#configure-mcp-servers`,
|
|
290651
290686
|
mcpErrorMetadata: {
|
|
290652
290687
|
scope,
|
|
290653
290688
|
serverName: name,
|
|
@@ -290923,7 +290958,7 @@ function getScopeLabel(scope) {
|
|
|
290923
290958
|
case "enterprise":
|
|
290924
290959
|
return "Enterprise config (managed by your organization)";
|
|
290925
290960
|
case "urai":
|
|
290926
|
-
return "ur.
|
|
290961
|
+
return "ur.com config";
|
|
290927
290962
|
default:
|
|
290928
290963
|
return scope;
|
|
290929
290964
|
}
|
|
@@ -293041,7 +293076,7 @@ function createMcpAuthTool(serverName, config2) {
|
|
|
293041
293076
|
return {
|
|
293042
293077
|
data: {
|
|
293043
293078
|
status: "unsupported",
|
|
293044
|
-
message: `This is a ur.
|
|
293079
|
+
message: `This is a ur.com MCP connector. Ask the user to run /mcp and select "${serverName}" to authenticate.`
|
|
293045
293080
|
}
|
|
293046
293081
|
};
|
|
293047
293082
|
}
|
|
@@ -295460,7 +295495,7 @@ function getInstallationEnv() {
|
|
|
295460
295495
|
return;
|
|
295461
295496
|
}
|
|
295462
295497
|
function getURCodeVersion() {
|
|
295463
|
-
return "1.68.
|
|
295498
|
+
return "1.68.9";
|
|
295464
295499
|
}
|
|
295465
295500
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
295466
295501
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -297348,7 +297383,7 @@ function getURInChromeMCPToolOverrides(toolName) {
|
|
|
297348
297383
|
function isMCPToolResult(output) {
|
|
297349
297384
|
return typeof output === "object" && output !== null;
|
|
297350
297385
|
}
|
|
297351
|
-
var jsx_dev_runtime38, CHROME_EXTENSION_FOCUS_TAB_URL_BASE = "https://ur.
|
|
297386
|
+
var jsx_dev_runtime38, CHROME_EXTENSION_FOCUS_TAB_URL_BASE = "https://ur.com/chrome/tab/";
|
|
297352
297387
|
var init_toolRendering = __esm(() => {
|
|
297353
297388
|
init_MessageResponse();
|
|
297354
297389
|
init_supports_hyperlinks();
|
|
@@ -302004,7 +302039,7 @@ function handleRemoteAuthFailure(name, serverRef, transportType) {
|
|
|
302004
302039
|
const label = {
|
|
302005
302040
|
sse: "SSE",
|
|
302006
302041
|
http: "HTTP",
|
|
302007
|
-
"urai-proxy": "ur.
|
|
302042
|
+
"urai-proxy": "ur.com proxy"
|
|
302008
302043
|
};
|
|
302009
302044
|
logMCPDebug(name, `Authentication required for ${label[transportType]} server`);
|
|
302010
302045
|
setMcpAuthCacheEntry(name);
|
|
@@ -302016,7 +302051,7 @@ function createURAiProxyFetch(innerFetch) {
|
|
|
302016
302051
|
await checkAndRefreshOAuthTokenIfNeeded();
|
|
302017
302052
|
const currentTokens = getURAIOAuthTokens();
|
|
302018
302053
|
if (!currentTokens) {
|
|
302019
|
-
throw new Error("No ur.
|
|
302054
|
+
throw new Error("No ur.com OAuth token available");
|
|
302020
302055
|
}
|
|
302021
302056
|
const headers = new Headers(init?.headers);
|
|
302022
302057
|
headers.set("Authorization", `Bearer ${currentTokens.accessToken}`);
|
|
@@ -302791,7 +302826,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
302791
302826
|
const client2 = new Client({
|
|
302792
302827
|
name: "ur",
|
|
302793
302828
|
title: "UR",
|
|
302794
|
-
version: "1.68.
|
|
302829
|
+
version: "1.68.9",
|
|
302795
302830
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
302796
302831
|
websiteUrl: PRODUCT_URL
|
|
302797
302832
|
}, {
|
|
@@ -303081,14 +303116,14 @@ var init_client5 = __esm(() => {
|
|
|
303081
303116
|
} else if (serverRef.type === "sdk") {
|
|
303082
303117
|
throw new Error("SDK servers should be handled in print.ts");
|
|
303083
303118
|
} else if (serverRef.type === "urai-proxy") {
|
|
303084
|
-
logMCPDebug(name, `Initializing ur.
|
|
303119
|
+
logMCPDebug(name, `Initializing ur.com proxy transport for server ${serverRef.id}`);
|
|
303085
303120
|
const tokens = getURAIOAuthTokens();
|
|
303086
303121
|
if (!tokens) {
|
|
303087
|
-
throw new Error("No ur.
|
|
303122
|
+
throw new Error("No ur.com OAuth token found");
|
|
303088
303123
|
}
|
|
303089
303124
|
const oauthConfig = getOauthConfig();
|
|
303090
303125
|
const proxyUrl = `${oauthConfig.MCP_PROXY_URL}${oauthConfig.MCP_PROXY_PATH.replace("{server_id}", serverRef.id)}`;
|
|
303091
|
-
logMCPDebug(name, `Using ur.
|
|
303126
|
+
logMCPDebug(name, `Using ur.com proxy at ${proxyUrl}`);
|
|
303092
303127
|
const fetchWithAuth = createURAiProxyFetch(globalThis.fetch);
|
|
303093
303128
|
const proxyOptions = getProxyFetchOptions();
|
|
303094
303129
|
const transportOptions = {
|
|
@@ -303102,7 +303137,7 @@ var init_client5 = __esm(() => {
|
|
|
303102
303137
|
}
|
|
303103
303138
|
};
|
|
303104
303139
|
transport = new StreamableHTTPClientTransport(new URL(proxyUrl), transportOptions);
|
|
303105
|
-
logMCPDebug(name, `ur.
|
|
303140
|
+
logMCPDebug(name, `ur.com proxy transport created successfully`);
|
|
303106
303141
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isURInChromeMCPServer(name)) {
|
|
303107
303142
|
const { createChromeContext } = await Promise.resolve().then(() => (init_mcpServer2(), exports_mcpServer2));
|
|
303108
303143
|
const { createURForChromeMcpServer: createURForChromeMcpServer2 } = await Promise.resolve().then(() => (init_chromeMcpCompat(), exports_chromeMcpCompat));
|
|
@@ -303151,7 +303186,7 @@ var init_client5 = __esm(() => {
|
|
|
303151
303186
|
const client2 = new Client({
|
|
303152
303187
|
name: "ur",
|
|
303153
303188
|
title: "UR",
|
|
303154
|
-
version: "1.68.
|
|
303189
|
+
version: "1.68.9",
|
|
303155
303190
|
description: "UR-Nexus autonomous engineering workflow engine",
|
|
303156
303191
|
websiteUrl: PRODUCT_URL
|
|
303157
303192
|
}, {
|
|
@@ -303232,7 +303267,7 @@ var init_client5 = __esm(() => {
|
|
|
303232
303267
|
return handleRemoteAuthFailure(name, serverRef, "http");
|
|
303233
303268
|
}
|
|
303234
303269
|
} else if (serverRef.type === "urai-proxy" && error40 instanceof Error) {
|
|
303235
|
-
logMCPDebug(name, `ur.
|
|
303270
|
+
logMCPDebug(name, `ur.com proxy connection failed after ${elapsed}ms: ${error40.message}`);
|
|
303236
303271
|
logMCPError(name, error40);
|
|
303237
303272
|
const errorCode2 = error40.code;
|
|
303238
303273
|
if (errorCode2 === 401) {
|
|
@@ -315690,7 +315725,7 @@ async function createRuntime() {
|
|
|
315690
315725
|
bootstrapTelemetry();
|
|
315691
315726
|
const resource = defaultResource().merge(detectResources({ detectors: [envDetector] })).merge(resourceFromAttributes({
|
|
315692
315727
|
[import_semantic_conventions7.ATTR_SERVICE_NAME]: "ur-agent",
|
|
315693
|
-
[import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.68.
|
|
315728
|
+
[import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.68.9"
|
|
315694
315729
|
}));
|
|
315695
315730
|
const tracerProvider = exporters.traces.length > 0 ? new BasicTracerProvider({
|
|
315696
315731
|
resource,
|
|
@@ -315723,11 +315758,11 @@ async function createRuntime() {
|
|
|
315723
315758
|
setMeterProvider(meterProvider);
|
|
315724
315759
|
setLoggerProvider(loggerProvider);
|
|
315725
315760
|
if (meterProvider) {
|
|
315726
|
-
const meter = meterProvider.getMeter("ur-agent", "1.68.
|
|
315761
|
+
const meter = meterProvider.getMeter("ur-agent", "1.68.9");
|
|
315727
315762
|
setMeter(meter, (name, options2) => meter.createCounter(name, options2));
|
|
315728
315763
|
}
|
|
315729
315764
|
if (loggerProvider) {
|
|
315730
|
-
setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.68.
|
|
315765
|
+
setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.68.9"));
|
|
315731
315766
|
}
|
|
315732
315767
|
if (!cleanupRegistered2) {
|
|
315733
315768
|
cleanupRegistered2 = true;
|
|
@@ -316389,9 +316424,9 @@ async function assertMinVersion() {
|
|
|
316389
316424
|
if (false) {}
|
|
316390
316425
|
try {
|
|
316391
316426
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
316392
|
-
if (versionConfig.minVersion && lt("1.68.
|
|
316427
|
+
if (versionConfig.minVersion && lt("1.68.9", versionConfig.minVersion)) {
|
|
316393
316428
|
console.error(`
|
|
316394
|
-
It looks like your version of UR (${"1.68.
|
|
316429
|
+
It looks like your version of UR (${"1.68.9"}) needs an update.
|
|
316395
316430
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
316396
316431
|
|
|
316397
316432
|
To update, please run:
|
|
@@ -316607,7 +316642,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
316607
316642
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
316608
316643
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
316609
316644
|
pid: process.pid,
|
|
316610
|
-
currentVersion: "1.68.
|
|
316645
|
+
currentVersion: "1.68.9"
|
|
316611
316646
|
});
|
|
316612
316647
|
return "in_progress";
|
|
316613
316648
|
}
|
|
@@ -316616,7 +316651,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
316616
316651
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
316617
316652
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
316618
316653
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
316619
|
-
currentVersion: "1.68.
|
|
316654
|
+
currentVersion: "1.68.9"
|
|
316620
316655
|
});
|
|
316621
316656
|
console.error(`
|
|
316622
316657
|
Error: Windows NPM detected in WSL
|
|
@@ -317151,7 +317186,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
317151
317186
|
}
|
|
317152
317187
|
async function getDoctorDiagnostic() {
|
|
317153
317188
|
const installationType = await getCurrentInstallationType();
|
|
317154
|
-
const version2 = typeof MACRO !== "undefined" ? "1.68.
|
|
317189
|
+
const version2 = typeof MACRO !== "undefined" ? "1.68.9" : "unknown";
|
|
317155
317190
|
const installationPath = await getInstallationPath();
|
|
317156
317191
|
const invokedBinary = getInvokedBinary();
|
|
317157
317192
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -318086,8 +318121,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
318086
318121
|
const maxVersion = await getMaxVersion();
|
|
318087
318122
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
318088
318123
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
318089
|
-
if (gte("1.68.
|
|
318090
|
-
logForDebugging(`Native installer: current version ${"1.68.
|
|
318124
|
+
if (gte("1.68.9", maxVersion)) {
|
|
318125
|
+
logForDebugging(`Native installer: current version ${"1.68.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
318091
318126
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
318092
318127
|
latency_ms: Date.now() - startTime,
|
|
318093
318128
|
max_version: maxVersion,
|
|
@@ -318098,7 +318133,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
318098
318133
|
version2 = maxVersion;
|
|
318099
318134
|
}
|
|
318100
318135
|
}
|
|
318101
|
-
if (!forceReinstall && version2 === "1.68.
|
|
318136
|
+
if (!forceReinstall && version2 === "1.68.9" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
318102
318137
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
318103
318138
|
logEvent("tengu_native_update_complete", {
|
|
318104
318139
|
latency_ms: Date.now() - startTime,
|
|
@@ -322003,7 +322038,7 @@ var init_coreSchemas = __esm(() => {
|
|
|
322003
322038
|
]).optional(),
|
|
322004
322039
|
isUsingOverage: exports_external.boolean().optional(),
|
|
322005
322040
|
surpassedThreshold: exports_external.number().optional()
|
|
322006
|
-
}).describe("Rate limit information for ur.
|
|
322041
|
+
}).describe("Rate limit information for ur.com subscription users."));
|
|
322007
322042
|
SDKAssistantMessageSchema = lazySchema(() => exports_external.object({
|
|
322008
322043
|
type: exports_external.literal("assistant"),
|
|
322009
322044
|
message: APIAssistantMessagePlaceholder(),
|
|
@@ -327722,8 +327757,8 @@ function OAuthStatusMessage(t0) {
|
|
|
327722
327757
|
"\xB7 Amazon Bedrock:",
|
|
327723
327758
|
" ",
|
|
327724
327759
|
/* @__PURE__ */ jsx_dev_runtime72.jsxDEV(Link, {
|
|
327725
|
-
url: "https://
|
|
327726
|
-
children: "https://
|
|
327760
|
+
url: "https://ur.com/docs/amazon-bedrock",
|
|
327761
|
+
children: "https://ur.com/docs/amazon-bedrock"
|
|
327727
327762
|
}, undefined, false, undefined, this)
|
|
327728
327763
|
]
|
|
327729
327764
|
}, undefined, true, undefined, this);
|
|
@@ -327738,8 +327773,8 @@ function OAuthStatusMessage(t0) {
|
|
|
327738
327773
|
"\xB7 Microsoft Foundry:",
|
|
327739
327774
|
" ",
|
|
327740
327775
|
/* @__PURE__ */ jsx_dev_runtime72.jsxDEV(Link, {
|
|
327741
|
-
url: "https://
|
|
327742
|
-
children: "https://
|
|
327776
|
+
url: "https://ur.com/docs/microsoft-foundry",
|
|
327777
|
+
children: "https://ur.com/docs/microsoft-foundry"
|
|
327743
327778
|
}, undefined, false, undefined, this)
|
|
327744
327779
|
]
|
|
327745
327780
|
}, undefined, true, undefined, this);
|
|
@@ -327761,8 +327796,8 @@ function OAuthStatusMessage(t0) {
|
|
|
327761
327796
|
"\xB7 Vertex AI:",
|
|
327762
327797
|
" ",
|
|
327763
327798
|
/* @__PURE__ */ jsx_dev_runtime72.jsxDEV(Link, {
|
|
327764
|
-
url: "https://
|
|
327765
|
-
children: "https://
|
|
327799
|
+
url: "https://ur.com/docs/google-vertex-ai",
|
|
327800
|
+
children: "https://ur.com/docs/google-vertex-ai"
|
|
327766
327801
|
}, undefined, false, undefined, this)
|
|
327767
327802
|
]
|
|
327768
327803
|
}, undefined, true, undefined, this)
|
|
@@ -328732,7 +328767,7 @@ async function runExtraUsage() {
|
|
|
328732
328767
|
value: "Please contact your admin to manage extra usage settings."
|
|
328733
328768
|
};
|
|
328734
328769
|
}
|
|
328735
|
-
const url3 = isTeamOrEnterprise ? "https://ur.
|
|
328770
|
+
const url3 = isTeamOrEnterprise ? "https://ur.com/admin-settings/usage" : "https://ur.com/settings/usage";
|
|
328736
328771
|
try {
|
|
328737
328772
|
const opened = await openBrowser(url3);
|
|
328738
328773
|
return { type: "browser-opened", url: url3, opened };
|
|
@@ -343765,7 +343800,7 @@ async function _bundleWithFallback(gitRoot, bundlePath, maxBytes, hasStash, sign
|
|
|
343765
343800
|
}
|
|
343766
343801
|
return {
|
|
343767
343802
|
ok: false,
|
|
343768
|
-
error: "Repo is too large to bundle. Please setup GitHub on https://ur.
|
|
343803
|
+
error: "Repo is too large to bundle. Please setup GitHub on https://ur.com/code",
|
|
343769
343804
|
failReason: "too_large"
|
|
343770
343805
|
};
|
|
343771
343806
|
}
|
|
@@ -344501,7 +344536,7 @@ async function teleportToRemote(options2) {
|
|
|
344501
344536
|
});
|
|
344502
344537
|
if (!bundle.success) {
|
|
344503
344538
|
logError2(new Error(`Bundle upload failed: ${bundle.error}`));
|
|
344504
|
-
const setup = repoInfo ? ". Please setup GitHub on https://ur.
|
|
344539
|
+
const setup = repoInfo ? ". Please setup GitHub on https://ur.com/code" : "";
|
|
344505
344540
|
let msg;
|
|
344506
344541
|
switch (bundle.failReason) {
|
|
344507
344542
|
case "empty_repo":
|
|
@@ -344776,7 +344811,7 @@ function formatPreconditionError(error40) {
|
|
|
344776
344811
|
case "not_logged_in":
|
|
344777
344812
|
return "Please run /login and sign in with your UR account (not Console).";
|
|
344778
344813
|
case "no_remote_environment":
|
|
344779
|
-
return "No cloud environment available. Set one up at https://ur.
|
|
344814
|
+
return "No cloud environment available. Set one up at https://ur.com/code/onboarding?magic=env-setup";
|
|
344780
344815
|
case "not_in_git_repo":
|
|
344781
344816
|
return "Background tasks require a git repository. Initialize git or run from a git repository.";
|
|
344782
344817
|
case "no_git_remote":
|
|
@@ -367732,7 +367767,7 @@ function isPreapprovedHost(hostname3, pathname) {
|
|
|
367732
367767
|
var PREAPPROVED_HOSTS, HOSTNAME_ONLY, PATH_PREFIXES;
|
|
367733
367768
|
var init_preapproved = __esm(() => {
|
|
367734
367769
|
PREAPPROVED_HOSTS = new Set([
|
|
367735
|
-
"
|
|
367770
|
+
"ur.com/docs",
|
|
367736
367771
|
"modelcontextprotocol.io",
|
|
367737
367772
|
"github.com/Maitham16",
|
|
367738
367773
|
"agentskills.io",
|
|
@@ -368299,7 +368334,7 @@ var init_utils11 = __esm(() => {
|
|
|
368299
368334
|
};
|
|
368300
368335
|
DomainCheckFailedError = class DomainCheckFailedError extends Error {
|
|
368301
368336
|
constructor(domain2) {
|
|
368302
|
-
super(`Unable to verify if domain ${domain2} is safe to fetch. This may be due to network restrictions or enterprise security policies blocking ur.
|
|
368337
|
+
super(`Unable to verify if domain ${domain2} is safe to fetch. This may be due to network restrictions or enterprise security policies blocking ur.com.`);
|
|
368303
368338
|
this.name = "DomainCheckFailedError";
|
|
368304
368339
|
}
|
|
368305
368340
|
};
|
|
@@ -388309,7 +388344,7 @@ function isAnyTracingEnabled() {
|
|
|
388309
388344
|
return isTelemetryEnabled() || isEnhancedTelemetryEnabled() || isBetaTracingEnabled();
|
|
388310
388345
|
}
|
|
388311
388346
|
function getTracer() {
|
|
388312
|
-
return import_api39.trace.getTracer("ur-agent.gen_ai", "1.68.
|
|
388347
|
+
return import_api39.trace.getTracer("ur-agent.gen_ai", "1.68.9");
|
|
388313
388348
|
}
|
|
388314
388349
|
function createSpanAttributes(spanType, customAttributes = {}) {
|
|
388315
388350
|
const baseAttributes = getTelemetryAttributes();
|
|
@@ -411782,7 +411817,7 @@ function getAssistantMessageFromError(error40, model, options2) {
|
|
|
411782
411817
|
});
|
|
411783
411818
|
}
|
|
411784
411819
|
if (error40.message.includes("Extra usage is required for long context")) {
|
|
411785
|
-
const hint = getIsNonInteractiveSession() ? "enable extra usage at ur.
|
|
411820
|
+
const hint = getIsNonInteractiveSession() ? "enable extra usage at ur.com/settings/usage, or use --model to switch to standard context" : "run /extra-usage to enable, or /model to switch to standard context";
|
|
411786
411821
|
return createAssistantAPIErrorMessage({
|
|
411787
411822
|
content: `${API_ERROR_MESSAGE_PREFIX}: Extra usage is required for 1M context \xB7 ${hint}`,
|
|
411788
411823
|
error: "rate_limit"
|
|
@@ -419553,7 +419588,7 @@ function Feedback({
|
|
|
419553
419588
|
platform: env2.platform,
|
|
419554
419589
|
gitRepo: envInfo.isGit,
|
|
419555
419590
|
terminal: env2.terminal,
|
|
419556
|
-
version: "1.68.
|
|
419591
|
+
version: "1.68.9",
|
|
419557
419592
|
transcript: normalizeMessagesForAPI(messages),
|
|
419558
419593
|
errors: sanitizedErrors,
|
|
419559
419594
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -419745,7 +419780,7 @@ function Feedback({
|
|
|
419745
419780
|
", ",
|
|
419746
419781
|
env2.terminal,
|
|
419747
419782
|
", v",
|
|
419748
|
-
"1.68.
|
|
419783
|
+
"1.68.9"
|
|
419749
419784
|
]
|
|
419750
419785
|
}, undefined, true, undefined, this)
|
|
419751
419786
|
]
|
|
@@ -419851,7 +419886,7 @@ ${sanitizedDescription}
|
|
|
419851
419886
|
` + `**Environment Info**
|
|
419852
419887
|
` + `- Platform: ${env2.platform}
|
|
419853
419888
|
` + `- Terminal: ${env2.terminal}
|
|
419854
|
-
` + `- Version: ${"1.68.
|
|
419889
|
+
` + `- Version: ${"1.68.9"}
|
|
419855
419890
|
` + `- Feedback ID: ${feedbackId}
|
|
419856
419891
|
` + `
|
|
419857
419892
|
**Errors**
|
|
@@ -421928,7 +421963,7 @@ async function openCurrentSessionInDesktop() {
|
|
|
421928
421963
|
if (!installed) {
|
|
421929
421964
|
return {
|
|
421930
421965
|
success: false,
|
|
421931
|
-
error: "UR Desktop is not installed. Install it from https://ur.
|
|
421966
|
+
error: "UR Desktop is not installed. Install it from https://ur.com/download"
|
|
421932
421967
|
};
|
|
421933
421968
|
}
|
|
421934
421969
|
const deepLinkUrl = buildDesktopDeepLink(sessionId);
|
|
@@ -422033,9 +422068,9 @@ var init_LoadingState = __esm(() => {
|
|
|
422033
422068
|
function getDownloadUrl() {
|
|
422034
422069
|
switch (process.platform) {
|
|
422035
422070
|
case "win32":
|
|
422036
|
-
return "https://ur.
|
|
422071
|
+
return "https://ur.com/api/desktop/win32/x64/exe/latest/redirect";
|
|
422037
422072
|
default:
|
|
422038
|
-
return "https://ur.
|
|
422073
|
+
return "https://ur.com/api/desktop/darwin/universal/dmg/latest/redirect";
|
|
422039
422074
|
}
|
|
422040
422075
|
}
|
|
422041
422076
|
function DesktopHandoff(t0) {
|
|
@@ -422234,7 +422269,7 @@ async function _temp214(onDone_0) {
|
|
|
422234
422269
|
await gracefulShutdown(0, "other");
|
|
422235
422270
|
}
|
|
422236
422271
|
function _temp61() {}
|
|
422237
|
-
var import_compiler_runtime125, import_react99, jsx_dev_runtime169, DESKTOP_DOCS_URL = "https://ur.
|
|
422272
|
+
var import_compiler_runtime125, import_react99, jsx_dev_runtime169, DESKTOP_DOCS_URL = "https://ur.com/desktop";
|
|
422238
422273
|
var init_DesktopHandoff = __esm(() => {
|
|
422239
422274
|
init_ink2();
|
|
422240
422275
|
init_browser();
|
|
@@ -422961,7 +422996,7 @@ function buildPrimarySection() {
|
|
|
422961
422996
|
}, undefined, false, undefined, this);
|
|
422962
422997
|
return [{
|
|
422963
422998
|
label: "Version",
|
|
422964
|
-
value: "1.68.
|
|
422999
|
+
value: "1.68.9"
|
|
422965
423000
|
}, {
|
|
422966
423001
|
label: "Session name",
|
|
422967
423002
|
value: nameValue
|
|
@@ -426291,7 +426326,7 @@ function Config({
|
|
|
426291
426326
|
}
|
|
426292
426327
|
}, undefined, false, undefined, this)
|
|
426293
426328
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
426294
|
-
currentVersion: "1.68.
|
|
426329
|
+
currentVersion: "1.68.9",
|
|
426295
426330
|
onChoice: (choice) => {
|
|
426296
426331
|
setShowSubmenu(null);
|
|
426297
426332
|
setTabsHidden(false);
|
|
@@ -426303,7 +426338,7 @@ function Config({
|
|
|
426303
426338
|
autoUpdatesChannel: "stable"
|
|
426304
426339
|
};
|
|
426305
426340
|
if (choice === "stay") {
|
|
426306
|
-
newSettings.minimumVersion = "1.68.
|
|
426341
|
+
newSettings.minimumVersion = "1.68.9";
|
|
426307
426342
|
}
|
|
426308
426343
|
updateSettingsForSource("userSettings", newSettings);
|
|
426309
426344
|
setSettingsData((prev_27) => ({
|
|
@@ -430936,8 +430971,8 @@ function McpParsingWarnings() {
|
|
|
430936
430971
|
"For help configuring MCP servers, see:",
|
|
430937
430972
|
" ",
|
|
430938
430973
|
/* @__PURE__ */ jsx_dev_runtime194.jsxDEV(Link, {
|
|
430939
|
-
url: "https://
|
|
430940
|
-
children: "https://
|
|
430974
|
+
url: "https://ur.com/docs/mcp",
|
|
430975
|
+
children: "https://ur.com/docs/mcp"
|
|
430941
430976
|
}, undefined, false, undefined, this)
|
|
430942
430977
|
]
|
|
430943
430978
|
}, undefined, true, undefined, this)
|
|
@@ -433508,7 +433543,7 @@ ${editorHint}`, {
|
|
|
433508
433543
|
children: [
|
|
433509
433544
|
"Learn more: ",
|
|
433510
433545
|
/* @__PURE__ */ jsx_dev_runtime202.jsxDEV(Link, {
|
|
433511
|
-
url: "https://
|
|
433546
|
+
url: "https://ur.com/docs/memory"
|
|
433512
433547
|
}, undefined, false, undefined, this)
|
|
433513
433548
|
]
|
|
433514
433549
|
}, undefined, true, undefined, this)
|
|
@@ -434377,7 +434412,7 @@ function HelpV2(t0) {
|
|
|
434377
434412
|
let t6;
|
|
434378
434413
|
if ($2[31] !== tabs) {
|
|
434379
434414
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
434380
|
-
title: `UR v${"1.68.
|
|
434415
|
+
title: `UR v${"1.68.9"}`,
|
|
434381
434416
|
color: "professionalBlue",
|
|
434382
434417
|
defaultTab: "general",
|
|
434383
434418
|
children: tabs
|
|
@@ -434396,7 +434431,7 @@ function HelpV2(t0) {
|
|
|
434396
434431
|
"For more help:",
|
|
434397
434432
|
" ",
|
|
434398
434433
|
/* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Link, {
|
|
434399
|
-
url: "https://
|
|
434434
|
+
url: "https://ur.com/docs/overview"
|
|
434400
434435
|
}, undefined, false, undefined, this)
|
|
434401
434436
|
]
|
|
434402
434437
|
}, undefined, true, undefined, this)
|
|
@@ -435310,7 +435345,7 @@ function buildToolUseContext(tools, readFileStateCache, toolPermissionContext, a
|
|
|
435310
435345
|
async function handleInitialize(options2) {
|
|
435311
435346
|
return {
|
|
435312
435347
|
name: "UR",
|
|
435313
|
-
version: "1.68.
|
|
435348
|
+
version: "1.68.9",
|
|
435314
435349
|
protocolVersion: "0.1.0",
|
|
435315
435350
|
workspaceRoot: options2.cwd,
|
|
435316
435351
|
capabilities: {
|
|
@@ -437026,7 +437061,7 @@ Usage notes:
|
|
|
437026
437061
|
\`\`\`
|
|
437027
437062
|
# UR.md
|
|
437028
437063
|
|
|
437029
|
-
This file provides guidance to UR (ur.
|
|
437064
|
+
This file provides guidance to UR (ur.com/code) when working with code in this repository.
|
|
437030
437065
|
\`\`\``, command3, init_default3;
|
|
437031
437066
|
var init_init = __esm(() => {
|
|
437032
437067
|
init_projectOnboardingState();
|
|
@@ -437334,7 +437369,7 @@ function generateKeybindingsTemplate() {
|
|
|
437334
437369
|
const bindings = filterReservedShortcuts(DEFAULT_BINDINGS);
|
|
437335
437370
|
const config3 = {
|
|
437336
437371
|
$schema: "https://www.schemastore.org/ur-keybindings.json",
|
|
437337
|
-
$docs: "https://
|
|
437372
|
+
$docs: "https://ur.com/docs/keybindings",
|
|
437338
437373
|
bindings
|
|
437339
437374
|
};
|
|
437340
437375
|
return jsonStringify(config3, null, 2) + `
|
|
@@ -438192,7 +438227,7 @@ function MCPListPanel(t0) {
|
|
|
438192
438227
|
paddingLeft: 2,
|
|
438193
438228
|
children: /* @__PURE__ */ jsx_dev_runtime211.jsxDEV(ThemedText, {
|
|
438194
438229
|
bold: true,
|
|
438195
|
-
children: "ur.
|
|
438230
|
+
children: "ur.com"
|
|
438196
438231
|
}, undefined, false, undefined, this)
|
|
438197
438232
|
}, undefined, false, undefined, this),
|
|
438198
438233
|
urAiServers.map((server_5) => renderServerItem(server_5))
|
|
@@ -438291,8 +438326,8 @@ function MCPListPanel(t0) {
|
|
|
438291
438326
|
dimColor: true,
|
|
438292
438327
|
children: [
|
|
438293
438328
|
/* @__PURE__ */ jsx_dev_runtime211.jsxDEV(Link, {
|
|
438294
|
-
url: "https://
|
|
438295
|
-
children: "https://
|
|
438329
|
+
url: "https://ur.com/docs/mcp",
|
|
438330
|
+
children: "https://ur.com/docs/mcp"
|
|
438296
438331
|
}, undefined, false, undefined, this),
|
|
438297
438332
|
" ",
|
|
438298
438333
|
"for help"
|
|
@@ -438642,7 +438677,7 @@ function gateChannelServer(serverName, capabilities, pluginSource) {
|
|
|
438642
438677
|
return {
|
|
438643
438678
|
action: "skip",
|
|
438644
438679
|
kind: "auth",
|
|
438645
|
-
reason: "channels requires ur.
|
|
438680
|
+
reason: "channels requires ur.com authentication (run /login)"
|
|
438646
438681
|
};
|
|
438647
438682
|
}
|
|
438648
438683
|
const sub = getSubscriptionType();
|
|
@@ -439075,7 +439110,7 @@ function useManageMCPConnections(dynamicMcpConfig, isStrictMcpConfig = false) {
|
|
|
439075
439110
|
});
|
|
439076
439111
|
const enabledURaiConfigs = Object.fromEntries(Object.entries(uraiConfigs).filter(([name]) => !isMcpServerDisabled(name)));
|
|
439077
439112
|
getMcpToolsCommandsAndResources(onConnectionAttempt, enabledURaiConfigs).catch((error40) => {
|
|
439078
|
-
logMCPError("useManageMcpConnections", `Failed to get ur.
|
|
439113
|
+
logMCPError("useManageMcpConnections", `Failed to get ur.com MCP resources: ${errorMessage2(error40)}`);
|
|
439079
439114
|
});
|
|
439080
439115
|
}
|
|
439081
439116
|
}
|
|
@@ -440129,7 +440164,7 @@ function MCPRemoteServerMenu({
|
|
|
440129
440164
|
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime215.jsxDEV(jsx_dev_runtime215.Fragment, {
|
|
440130
440165
|
children: [
|
|
440131
440166
|
/* @__PURE__ */ jsx_dev_runtime215.jsxDEV(ThemedText, {
|
|
440132
|
-
children: 'This will open ur.
|
|
440167
|
+
children: 'This will open ur.com in the browser. Find the MCP server in the list and click "Disconnect".'
|
|
440133
440168
|
}, undefined, false, undefined, this),
|
|
440134
440169
|
/* @__PURE__ */ jsx_dev_runtime215.jsxDEV(ThemedBox_default, {
|
|
440135
440170
|
marginLeft: 3,
|
|
@@ -452418,7 +452453,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
452418
452453
|
return [];
|
|
452419
452454
|
}
|
|
452420
452455
|
}
|
|
452421
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.68.
|
|
452456
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.68.9") {
|
|
452422
452457
|
if (process.env.USER_TYPE === "ant") {
|
|
452423
452458
|
const changelog = "";
|
|
452424
452459
|
if (changelog) {
|
|
@@ -452445,7 +452480,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.68.4")
|
|
|
452445
452480
|
releaseNotes
|
|
452446
452481
|
};
|
|
452447
452482
|
}
|
|
452448
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.68.
|
|
452483
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.68.9") {
|
|
452449
452484
|
if (process.env.USER_TYPE === "ant") {
|
|
452450
452485
|
const changelog = "";
|
|
452451
452486
|
if (changelog) {
|
|
@@ -455311,7 +455346,7 @@ function getRecentActivitySync() {
|
|
|
455311
455346
|
return cachedActivity;
|
|
455312
455347
|
}
|
|
455313
455348
|
function getLogoDisplayData() {
|
|
455314
|
-
const version2 = process.env.DEMO_VERSION ?? "1.68.
|
|
455349
|
+
const version2 = process.env.DEMO_VERSION ?? "1.68.9";
|
|
455315
455350
|
const serverUrl = getDirectConnectServerUrl();
|
|
455316
455351
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
|
|
455317
455352
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -456178,7 +456213,7 @@ function LogoV2() {
|
|
|
456178
456213
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
456179
456214
|
t2 = () => {
|
|
456180
456215
|
const currentConfig2 = getGlobalConfig();
|
|
456181
|
-
if (currentConfig2.lastReleaseNotesSeen === "1.68.
|
|
456216
|
+
if (currentConfig2.lastReleaseNotesSeen === "1.68.9") {
|
|
456182
456217
|
return;
|
|
456183
456218
|
}
|
|
456184
456219
|
saveGlobalConfig(_temp325);
|
|
@@ -456863,12 +456898,12 @@ function LogoV2() {
|
|
|
456863
456898
|
return t41;
|
|
456864
456899
|
}
|
|
456865
456900
|
function _temp325(current) {
|
|
456866
|
-
if (current.lastReleaseNotesSeen === "1.68.
|
|
456901
|
+
if (current.lastReleaseNotesSeen === "1.68.9") {
|
|
456867
456902
|
return current;
|
|
456868
456903
|
}
|
|
456869
456904
|
return {
|
|
456870
456905
|
...current,
|
|
456871
|
-
lastReleaseNotesSeen: "1.68.
|
|
456906
|
+
lastReleaseNotesSeen: "1.68.9"
|
|
456872
456907
|
};
|
|
456873
456908
|
}
|
|
456874
456909
|
function _temp241(s_0) {
|
|
@@ -464278,13 +464313,13 @@ async function launchAndDone(args, context6, onDone, billingNote, signal) {
|
|
|
464278
464313
|
var jsx_dev_runtime257, call36 = async (onDone, context6, args) => {
|
|
464279
464314
|
const gate = await checkOverageGate();
|
|
464280
464315
|
if (gate.kind === "not-enabled") {
|
|
464281
|
-
onDone("Free ultrareviews used. Enable Extra Usage at https://ur.
|
|
464316
|
+
onDone("Free ultrareviews used. Enable Extra Usage at https://ur.com/settings/billing to continue.", {
|
|
464282
464317
|
display: "system"
|
|
464283
464318
|
});
|
|
464284
464319
|
return null;
|
|
464285
464320
|
}
|
|
464286
464321
|
if (gate.kind === "low-balance") {
|
|
464287
|
-
onDone(`Balance too low to launch ultrareview ($${gate.available.toFixed(2)} available, $10 minimum). Top up at https://ur.
|
|
464322
|
+
onDone(`Balance too low to launch ultrareview ($${gate.available.toFixed(2)} available, $10 minimum). Top up at https://ur.com/settings/billing`, {
|
|
464288
464323
|
display: "system"
|
|
464289
464324
|
});
|
|
464290
464325
|
return null;
|
|
@@ -464311,7 +464346,7 @@ var init_ultrareviewCommand = __esm(() => {
|
|
|
464311
464346
|
});
|
|
464312
464347
|
|
|
464313
464348
|
// src/commands/review.ts
|
|
464314
|
-
var CCR_TERMS_URL = "https://
|
|
464349
|
+
var CCR_TERMS_URL = "https://ur.com/docs/ur-on-the-web", LOCAL_REVIEW_PROMPT = (args) => `
|
|
464315
464350
|
You are an expert code reviewer. Follow these steps:
|
|
464316
464351
|
|
|
464317
464352
|
1. If no PR number is provided in the args, run \`gh pr list\` to show open PRs
|
|
@@ -464910,7 +464945,7 @@ var init_teammateViewHelpers = __esm(() => {
|
|
|
464910
464945
|
});
|
|
464911
464946
|
|
|
464912
464947
|
// src/bridge/types.ts
|
|
464913
|
-
var DEFAULT_SESSION_TIMEOUT_MS, BRIDGE_LOGIN_INSTRUCTION = "Remote Control is only available with ur.
|
|
464948
|
+
var DEFAULT_SESSION_TIMEOUT_MS, BRIDGE_LOGIN_INSTRUCTION = "Remote Control is only available with ur.com subscriptions. Please use `/login` to sign in with your ur.com account.", BRIDGE_LOGIN_ERROR, REMOTE_CONTROL_DISCONNECTED_MSG = "Remote Control disconnected.";
|
|
464914
464949
|
var init_types14 = __esm(() => {
|
|
464915
464950
|
DEFAULT_SESSION_TIMEOUT_MS = 24 * 60 * 60 * 1000;
|
|
464916
464951
|
BRIDGE_LOGIN_ERROR = `Error: You must be logged in to use Remote Control.
|
|
@@ -465422,7 +465457,7 @@ ${reasons}`,
|
|
|
465422
465457
|
} : prev);
|
|
465423
465458
|
}
|
|
465424
465459
|
}
|
|
465425
|
-
var ULTRAPLAN_TIMEOUT_MS, CCR_TERMS_URL2 = "https://
|
|
465460
|
+
var ULTRAPLAN_TIMEOUT_MS, CCR_TERMS_URL2 = "https://ur.com/docs/ur-on-the-web", _rawPrompt, DEFAULT_INSTRUCTIONS, ULTRAPLAN_INSTRUCTIONS, call40 = async (onDone, context6, args) => {
|
|
465426
465461
|
const blurb = args.trim();
|
|
465427
465462
|
if (!blurb) {
|
|
465428
465463
|
const msg = await launchUltraplan({
|
|
@@ -473814,7 +473849,7 @@ function compileAgenticCiWorkflow(specName = "default", options2 = {}) {
|
|
|
473814
473849
|
if (spec.name !== specName) {
|
|
473815
473850
|
throw new Error("Agentic CI workflow spec name does not match");
|
|
473816
473851
|
}
|
|
473817
|
-
const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.68.
|
|
473852
|
+
const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.68.9" : "1.68.9");
|
|
473818
473853
|
if (!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(packageVersion)) {
|
|
473819
473854
|
throw new Error("invalid ur-agent package version");
|
|
473820
473855
|
}
|
|
@@ -474807,7 +474842,7 @@ runner; \`ur trigger\` is the inbound parser that decides what to run.
|
|
|
474807
474842
|
path: ".github/workflows/ur.yml",
|
|
474808
474843
|
root: "project",
|
|
474809
474844
|
content: compileAgenticCiWorkflow("default", {
|
|
474810
|
-
packageVersion: typeof MACRO !== "undefined" ? "1.68.
|
|
474845
|
+
packageVersion: typeof MACRO !== "undefined" ? "1.68.9" : "1.68.9"
|
|
474811
474846
|
})
|
|
474812
474847
|
},
|
|
474813
474848
|
{
|
|
@@ -474877,7 +474912,7 @@ function value(tokens, flag) {
|
|
|
474877
474912
|
return index2 >= 0 ? tokens[index2 + 1] : undefined;
|
|
474878
474913
|
}
|
|
474879
474914
|
function cliVersion() {
|
|
474880
|
-
return typeof MACRO !== "undefined" ? "1.68.
|
|
474915
|
+
return typeof MACRO !== "undefined" ? "1.68.9" : "1.68.9";
|
|
474881
474916
|
}
|
|
474882
474917
|
function workflowPath(cwd2) {
|
|
474883
474918
|
return join159(cwd2, ".github", "workflows", "ur-agentic-ci.yml");
|
|
@@ -480742,7 +480777,7 @@ function createAcpStdioApp(deps) {
|
|
|
480742
480777
|
}
|
|
480743
480778
|
},
|
|
480744
480779
|
authMethods: [],
|
|
480745
|
-
agentInfo: { name: "UR-Nexus", version: "1.68.
|
|
480780
|
+
agentInfo: { name: "UR-Nexus", version: "1.68.9" }
|
|
480746
480781
|
})).onRequest("authenticate", () => ({})).onRequest("session/new", async (context6) => {
|
|
480747
480782
|
const result = runtime2.newSession(context6.params.cwd, context6.params.mcpServers, context6.params.additionalDirectories);
|
|
480748
480783
|
await runtime2.announce({
|
|
@@ -480839,7 +480874,7 @@ function createAcpStdioAgent(deps) {
|
|
|
480839
480874
|
}
|
|
480840
480875
|
},
|
|
480841
480876
|
authMethods: [],
|
|
480842
|
-
agentInfo: { name: "UR-Nexus", version: "1.68.
|
|
480877
|
+
agentInfo: { name: "UR-Nexus", version: "1.68.9" }
|
|
480843
480878
|
});
|
|
480844
480879
|
return;
|
|
480845
480880
|
case "authenticate":
|
|
@@ -485195,7 +485230,7 @@ var init_workflows = __esm(() => {
|
|
|
485195
485230
|
"explore",
|
|
485196
485231
|
"verification",
|
|
485197
485232
|
"statusline-setup",
|
|
485198
|
-
"ur-
|
|
485233
|
+
"ur-guide",
|
|
485199
485234
|
"reviewer",
|
|
485200
485235
|
"test-runner",
|
|
485201
485236
|
"browser-debugger",
|
|
@@ -682306,8 +682341,8 @@ function FastModePicker(t0) {
|
|
|
682306
682341
|
"Learn more:",
|
|
682307
682342
|
" ",
|
|
682308
682343
|
/* @__PURE__ */ jsx_dev_runtime286.jsxDEV(Link, {
|
|
682309
|
-
url: "https://
|
|
682310
|
-
children: "https://
|
|
682344
|
+
url: "https://ur.com/docs/fast-mode",
|
|
682345
|
+
children: "https://ur.com/docs/fast-mode"
|
|
682311
682346
|
}, undefined, false, undefined, this)
|
|
682312
682347
|
]
|
|
682313
682348
|
}, undefined, true, undefined, this);
|
|
@@ -682798,7 +682833,7 @@ function GracePeriodContentBody() {
|
|
|
682798
682833
|
children: [
|
|
682799
682834
|
"\u2014 Allow the use of your chats and coding sessions to train and improve URHQ AI models. Change anytime in your Privacy Settings (",
|
|
682800
682835
|
/* @__PURE__ */ jsx_dev_runtime289.jsxDEV(Link, {
|
|
682801
|
-
url: "https://ur.
|
|
682836
|
+
url: "https://ur.com/settings/data-privacy-controls"
|
|
682802
682837
|
}, undefined, false, undefined, this),
|
|
682803
682838
|
")."
|
|
682804
682839
|
]
|
|
@@ -682918,7 +682953,7 @@ function PostGracePeriodContentBody() {
|
|
|
682918
682953
|
children: "Allow the use of your chats and coding sessions to train and improve URHQ AI models. You can change this anytime in Privacy Settings"
|
|
682919
682954
|
}, undefined, false, undefined, this),
|
|
682920
682955
|
/* @__PURE__ */ jsx_dev_runtime289.jsxDEV(Link, {
|
|
682921
|
-
url: "https://ur.
|
|
682956
|
+
url: "https://ur.com/settings/data-privacy-controls"
|
|
682922
682957
|
}, undefined, false, undefined, this)
|
|
682923
682958
|
]
|
|
682924
682959
|
}, undefined, true, undefined, this);
|
|
@@ -683372,7 +683407,7 @@ function PrivacySettingsDialog(t0) {
|
|
|
683372
683407
|
"Review and manage your privacy settings at",
|
|
683373
683408
|
" ",
|
|
683374
683409
|
/* @__PURE__ */ jsx_dev_runtime289.jsxDEV(Link, {
|
|
683375
|
-
url: "https://ur.
|
|
683410
|
+
url: "https://ur.com/settings/data-privacy-controls"
|
|
683376
683411
|
}, undefined, false, undefined, this)
|
|
683377
683412
|
]
|
|
683378
683413
|
}, undefined, true, undefined, this);
|
|
@@ -683514,7 +683549,7 @@ async function call142(onDone) {
|
|
|
683514
683549
|
location: "settings"
|
|
683515
683550
|
}, undefined, false, undefined, this);
|
|
683516
683551
|
}
|
|
683517
|
-
var jsx_dev_runtime290, FALLBACK_MESSAGE = "Review and manage your privacy settings at https://ur.
|
|
683552
|
+
var jsx_dev_runtime290, FALLBACK_MESSAGE = "Review and manage your privacy settings at https://ur.com/settings/data-privacy-controls";
|
|
683518
683553
|
var init_privacy_settings = __esm(() => {
|
|
683519
683554
|
init_Grove();
|
|
683520
683555
|
init_analytics();
|
|
@@ -684052,7 +684087,7 @@ function SelectEventMode(t0) {
|
|
|
684052
684087
|
" This menu is read-only. To add or modify hooks, edit settings.json directly or ask UR.",
|
|
684053
684088
|
" ",
|
|
684054
684089
|
/* @__PURE__ */ jsx_dev_runtime291.jsxDEV(Link, {
|
|
684055
|
-
url: "https://
|
|
684090
|
+
url: "https://ur.com/docs/hooks",
|
|
684056
684091
|
children: "Learn more"
|
|
684057
684092
|
}, undefined, false, undefined, this)
|
|
684058
684093
|
]
|
|
@@ -691999,7 +692034,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
691999
692034
|
smapsRollup,
|
|
692000
692035
|
platform: process.platform,
|
|
692001
692036
|
nodeVersion: process.version,
|
|
692002
|
-
ccVersion: "1.68.
|
|
692037
|
+
ccVersion: "1.68.9"
|
|
692003
692038
|
};
|
|
692004
692039
|
}
|
|
692005
692040
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -692579,7 +692614,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
692579
692614
|
var call153 = async () => {
|
|
692580
692615
|
return {
|
|
692581
692616
|
type: "text",
|
|
692582
|
-
value: "1.68.
|
|
692617
|
+
value: "1.68.9"
|
|
692583
692618
|
};
|
|
692584
692619
|
}, version2, version_default;
|
|
692585
692620
|
var init_version = __esm(() => {
|
|
@@ -693295,8 +693330,8 @@ function OverridesSelect(t0) {
|
|
|
693295
693330
|
"Learn more:",
|
|
693296
693331
|
" ",
|
|
693297
693332
|
/* @__PURE__ */ jsx_dev_runtime325.jsxDEV(Link, {
|
|
693298
|
-
url: "https://
|
|
693299
|
-
children: "
|
|
693333
|
+
url: "https://ur.com/docs/sandboxing#configure-sandboxing",
|
|
693334
|
+
children: "ur.com/docs/sandboxing#configure-sandboxing"
|
|
693300
693335
|
}, undefined, false, undefined, this)
|
|
693301
693336
|
]
|
|
693302
693337
|
}, undefined, true, undefined, this)
|
|
@@ -693666,8 +693701,8 @@ function SandboxModeTab(t0) {
|
|
|
693666
693701
|
"Learn more:",
|
|
693667
693702
|
" ",
|
|
693668
693703
|
/* @__PURE__ */ jsx_dev_runtime326.jsxDEV(Link, {
|
|
693669
|
-
url: "https://
|
|
693670
|
-
children: "
|
|
693704
|
+
url: "https://ur.com/docs/sandboxing",
|
|
693705
|
+
children: "ur.com/docs/sandboxing"
|
|
693671
693706
|
}, undefined, false, undefined, this)
|
|
693672
693707
|
]
|
|
693673
693708
|
}, undefined, true, undefined, this)
|
|
@@ -694240,7 +694275,7 @@ async function isChromeExtensionInstalled() {
|
|
|
694240
694275
|
}
|
|
694241
694276
|
return isChromeExtensionInstalledPortable(browserPaths, logForDebugging);
|
|
694242
694277
|
}
|
|
694243
|
-
var CHROME_EXTENSION_RECONNECT_URL = "https://ur.
|
|
694278
|
+
var CHROME_EXTENSION_RECONNECT_URL = "https://ur.com/chrome/reconnect", NATIVE_HOST_IDENTIFIER = "com.urhq.ur_browser_extension", NATIVE_HOST_MANIFEST_NAME, shouldAutoEnable = undefined;
|
|
694244
694279
|
var init_setup2 = __esm(() => {
|
|
694245
694280
|
init_chromeMcpCompat();
|
|
694246
694281
|
init_state();
|
|
@@ -694475,7 +694510,7 @@ function URInChromeMenu(t0) {
|
|
|
694475
694510
|
if ($2[23] !== isURAISubscriber2) {
|
|
694476
694511
|
t8 = !isURAISubscriber2 && /* @__PURE__ */ jsx_dev_runtime328.jsxDEV(ThemedText, {
|
|
694477
694512
|
color: "error",
|
|
694478
|
-
children: "UR in Chrome requires a ur.
|
|
694513
|
+
children: "UR in Chrome requires a ur.com subscription."
|
|
694479
694514
|
}, undefined, false, undefined, this);
|
|
694480
694515
|
$2[23] = isURAISubscriber2;
|
|
694481
694516
|
$2[24] = t8;
|
|
@@ -694569,7 +694604,7 @@ function URInChromeMenu(t0) {
|
|
|
694569
694604
|
if ($2[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
694570
694605
|
t10 = /* @__PURE__ */ jsx_dev_runtime328.jsxDEV(ThemedText, {
|
|
694571
694606
|
dimColor: true,
|
|
694572
|
-
children: "Learn more: https://
|
|
694607
|
+
children: "Learn more: https://ur.com/docs/chrome"
|
|
694573
694608
|
}, undefined, false, undefined, this);
|
|
694574
694609
|
$2[33] = t10;
|
|
694575
694610
|
} else {
|
|
@@ -694626,7 +694661,7 @@ function _temp268(c4) {
|
|
|
694626
694661
|
function _temp151(s) {
|
|
694627
694662
|
return s.mcp.clients;
|
|
694628
694663
|
}
|
|
694629
|
-
var import_compiler_runtime245, import_react179, jsx_dev_runtime328, CHROME_EXTENSION_URL = "https://ur.
|
|
694664
|
+
var import_compiler_runtime245, import_react179, jsx_dev_runtime328, CHROME_EXTENSION_URL = "https://ur.com/chrome", CHROME_PERMISSIONS_URL = "https://ur.com/chrome/permissions", CHROME_RECONNECT_URL = "https://ur.com/chrome/reconnect", call156 = async function(onDone) {
|
|
694630
694665
|
const isExtensionInstalled = await isChromeExtensionInstalled();
|
|
694631
694666
|
const config3 = getGlobalConfig();
|
|
694632
694667
|
const isSubscriber = isURAISubscriber();
|
|
@@ -697795,7 +697830,7 @@ function _temp155(env4) {
|
|
|
697795
697830
|
value: env4.environment_id
|
|
697796
697831
|
};
|
|
697797
697832
|
}
|
|
697798
|
-
var import_compiler_runtime249, import_react185, jsx_dev_runtime340, DIALOG_TITLE = "Select Remote Environment", SETUP_HINT = `Configure environments at: https://ur.
|
|
697833
|
+
var import_compiler_runtime249, import_react185, jsx_dev_runtime340, DIALOG_TITLE = "Select Remote Environment", SETUP_HINT = `Configure environments at: https://ur.com/code`;
|
|
697799
697834
|
var init_RemoteEnvironmentDialog = __esm(() => {
|
|
697800
697835
|
init_source2();
|
|
697801
697836
|
init_figures();
|
|
@@ -697872,7 +697907,7 @@ async function call166(onDone, context6) {
|
|
|
697872
697907
|
return null;
|
|
697873
697908
|
}
|
|
697874
697909
|
}
|
|
697875
|
-
const url3 = "https://ur.
|
|
697910
|
+
const url3 = "https://ur.com/upgrade/max";
|
|
697876
697911
|
await openBrowser(url3);
|
|
697877
697912
|
return /* @__PURE__ */ jsx_dev_runtime342.jsxDEV(Login, {
|
|
697878
697913
|
startingMessage: "Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",
|
|
@@ -697883,7 +697918,7 @@ async function call166(onDone, context6) {
|
|
|
697883
697918
|
}, undefined, false, undefined, this);
|
|
697884
697919
|
} catch (error40) {
|
|
697885
697920
|
logError2(error40);
|
|
697886
|
-
setTimeout(onDone, 0, "Failed to open browser. Please visit https://ur.
|
|
697921
|
+
setTimeout(onDone, 0, "Failed to open browser. Please visit https://ur.com/upgrade/max to upgrade.");
|
|
697887
697922
|
}
|
|
697888
697923
|
return null;
|
|
697889
697924
|
}
|
|
@@ -703759,7 +703794,7 @@ function generateHtmlReport(data, insights) {
|
|
|
703759
703794
|
</html>`;
|
|
703760
703795
|
}
|
|
703761
703796
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
703762
|
-
const version3 = typeof MACRO !== "undefined" ? "1.68.
|
|
703797
|
+
const version3 = typeof MACRO !== "undefined" ? "1.68.9" : "unknown";
|
|
703763
703798
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
703764
703799
|
const facets_summary = {
|
|
703765
703800
|
total: facets.size,
|
|
@@ -708086,7 +708121,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
708086
708121
|
init_settings2();
|
|
708087
708122
|
init_slowOperations();
|
|
708088
708123
|
init_uuid();
|
|
708089
|
-
VERSION7 = typeof MACRO !== "undefined" ? "1.68.
|
|
708124
|
+
VERSION7 = typeof MACRO !== "undefined" ? "1.68.9" : "unknown";
|
|
708090
708125
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
708091
708126
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
708092
708127
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -709303,7 +709338,7 @@ var init_filesystem = __esm(() => {
|
|
|
709303
709338
|
});
|
|
709304
709339
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
709305
709340
|
const nonce = randomBytes20(16).toString("hex");
|
|
709306
|
-
return join230(getURTempDir(), "bundled-skills", "1.68.
|
|
709341
|
+
return join230(getURTempDir(), "bundled-skills", "1.68.9", nonce);
|
|
709307
709342
|
});
|
|
709308
709343
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
709309
709344
|
});
|
|
@@ -715037,7 +715072,7 @@ async function computeSimpleEnvInfo(modelId, additionalWorkingDirectories) {
|
|
|
715037
715072
|
modelDescription,
|
|
715038
715073
|
knowledgeCutoffMessage,
|
|
715039
715074
|
includeURProductInfo ? `UR uses the provider and model selected in /model. Do not invent UR-specific model IDs; choose models from the active provider's model list.` : null,
|
|
715040
|
-
includeURProductInfo ? `UR is available as a CLI in the terminal, desktop app (Mac/Windows), web app (ur.
|
|
715075
|
+
includeURProductInfo ? `UR is available as a CLI in the terminal, desktop app (Mac/Windows), web app (ur.com/code), and IDE extensions (VS Code, JetBrains).` : null,
|
|
715041
715076
|
includeURProductInfo ? `Fast mode for UR keeps the selected provider/model and requests faster output when that backend supports it. It can be toggled with /fast.` : null
|
|
715042
715077
|
].filter((item) => item !== null);
|
|
715043
715078
|
const repoMap = loadRepoMapForPrompt(cwd2);
|
|
@@ -715609,7 +715644,7 @@ function computeFingerprint(messageText2, version3) {
|
|
|
715609
715644
|
}
|
|
715610
715645
|
function computeFingerprintFromMessages(messages) {
|
|
715611
715646
|
const firstMessageText = extractFirstMessageText(messages);
|
|
715612
|
-
return computeFingerprint(firstMessageText, "1.68.
|
|
715647
|
+
return computeFingerprint(firstMessageText, "1.68.9");
|
|
715613
715648
|
}
|
|
715614
715649
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
715615
715650
|
var init_fingerprint = () => {};
|
|
@@ -717508,7 +717543,7 @@ async function sideQuery(opts) {
|
|
|
717508
717543
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
717509
717544
|
}
|
|
717510
717545
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
717511
|
-
const fingerprint2 = computeFingerprint(messageText2, "1.68.
|
|
717546
|
+
const fingerprint2 = computeFingerprint(messageText2, "1.68.9");
|
|
717512
717547
|
const attributionHeader = getAttributionHeader(fingerprint2);
|
|
717513
717548
|
const systemBlocks = [
|
|
717514
717549
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -721615,7 +721650,7 @@ function CostThresholdDialog(t0) {
|
|
|
721615
721650
|
children: "Learn more about how to monitor your spending:"
|
|
721616
721651
|
}, undefined, false, undefined, this),
|
|
721617
721652
|
/* @__PURE__ */ jsx_dev_runtime351.jsxDEV(Link, {
|
|
721618
|
-
url: "https://
|
|
721653
|
+
url: "https://ur.com/docs/costs"
|
|
721619
721654
|
}, undefined, false, undefined, this)
|
|
721620
721655
|
]
|
|
721621
721656
|
}, undefined, true, undefined, this);
|
|
@@ -722295,7 +722330,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
722295
722330
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
722296
722331
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
722297
722332
|
betas: getSdkBetas(),
|
|
722298
|
-
ur_version: "1.68.
|
|
722333
|
+
ur_version: "1.68.9",
|
|
722299
722334
|
output_style: outputStyle2,
|
|
722300
722335
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
722301
722336
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -736246,7 +736281,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
736246
736281
|
function getSemverPart(version3) {
|
|
736247
736282
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
736248
736283
|
}
|
|
736249
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.68.
|
|
736284
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.68.9") {
|
|
736250
736285
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react222.useState(() => getSemverPart(initialVersion));
|
|
736251
736286
|
if (!updatedVersion) {
|
|
736252
736287
|
return null;
|
|
@@ -736295,7 +736330,7 @@ function AutoUpdater({
|
|
|
736295
736330
|
return;
|
|
736296
736331
|
}
|
|
736297
736332
|
if (false) {}
|
|
736298
|
-
const currentVersion = "1.68.
|
|
736333
|
+
const currentVersion = "1.68.9";
|
|
736299
736334
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
736300
736335
|
let latestVersion = await getLatestVersion(channel);
|
|
736301
736336
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -736524,12 +736559,12 @@ function NativeAutoUpdater({
|
|
|
736524
736559
|
logEvent("tengu_native_auto_updater_start", {});
|
|
736525
736560
|
try {
|
|
736526
736561
|
const maxVersion = await getMaxVersion();
|
|
736527
|
-
if (maxVersion && gt("1.68.
|
|
736562
|
+
if (maxVersion && gt("1.68.9", maxVersion)) {
|
|
736528
736563
|
const msg = await getMaxVersionMessage();
|
|
736529
736564
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
736530
736565
|
}
|
|
736531
736566
|
const result = await installLatest(channel);
|
|
736532
|
-
const currentVersion = "1.68.
|
|
736567
|
+
const currentVersion = "1.68.9";
|
|
736533
736568
|
const latencyMs = Date.now() - startTime;
|
|
736534
736569
|
if (result.lockFailed) {
|
|
736535
736570
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -736666,17 +736701,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
736666
736701
|
const maxVersion = await getMaxVersion();
|
|
736667
736702
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
736668
736703
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
736669
|
-
if (gte("1.68.
|
|
736670
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.68.
|
|
736704
|
+
if (gte("1.68.9", maxVersion)) {
|
|
736705
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.68.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
736671
736706
|
setUpdateAvailable(false);
|
|
736672
736707
|
return;
|
|
736673
736708
|
}
|
|
736674
736709
|
latest = maxVersion;
|
|
736675
736710
|
}
|
|
736676
|
-
const hasUpdate = latest && !gte("1.68.
|
|
736711
|
+
const hasUpdate = latest && !gte("1.68.9", latest) && !shouldSkipVersion(latest);
|
|
736677
736712
|
setUpdateAvailable(!!hasUpdate);
|
|
736678
736713
|
if (hasUpdate) {
|
|
736679
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.68.
|
|
736714
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.68.9"} -> ${latest}`);
|
|
736680
736715
|
}
|
|
736681
736716
|
};
|
|
736682
736717
|
$2[0] = t1;
|
|
@@ -736710,7 +736745,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
736710
736745
|
wrap: "truncate",
|
|
736711
736746
|
children: [
|
|
736712
736747
|
"currentVersion: ",
|
|
736713
|
-
"1.68.
|
|
736748
|
+
"1.68.9"
|
|
736714
736749
|
]
|
|
736715
736750
|
}, undefined, true, undefined, this);
|
|
736716
736751
|
$2[3] = verbose;
|
|
@@ -747420,7 +747455,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
747420
747455
|
project_dir: getOriginalCwd(),
|
|
747421
747456
|
added_dirs: addedDirs
|
|
747422
747457
|
},
|
|
747423
|
-
version: "1.68.
|
|
747458
|
+
version: "1.68.9",
|
|
747424
747459
|
output_style: {
|
|
747425
747460
|
name: outputStyleName
|
|
747426
747461
|
},
|
|
@@ -747499,7 +747534,7 @@ function StatusLineInner({
|
|
|
747499
747534
|
const taskRunningCount = countActiveBackgroundTasks(taskValues);
|
|
747500
747535
|
const agentRunningCount = countActiveForegroundAgents(taskValues);
|
|
747501
747536
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
747502
|
-
version: "1.68.
|
|
747537
|
+
version: "1.68.9",
|
|
747503
747538
|
providerLabel: providerRuntime.providerLabel,
|
|
747504
747539
|
authMode: providerRuntime.authLabel,
|
|
747505
747540
|
model: renderModelName(mainLoopModel) || providerRuntime.model || "",
|
|
@@ -759593,7 +759628,7 @@ function RemoteCallout({
|
|
|
759593
759628
|
}, []);
|
|
759594
759629
|
const options4 = [{
|
|
759595
759630
|
label: "Enable Remote Control for this session",
|
|
759596
|
-
description: "Opens a secure connection to ur.
|
|
759631
|
+
description: "Opens a secure connection to ur.com.",
|
|
759597
759632
|
value: "enable"
|
|
759598
759633
|
}, {
|
|
759599
759634
|
label: "Never mind",
|
|
@@ -759612,7 +759647,7 @@ function RemoteCallout({
|
|
|
759612
759647
|
flexDirection: "column",
|
|
759613
759648
|
children: [
|
|
759614
759649
|
/* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedText, {
|
|
759615
|
-
children: "Remote Control lets you access this CLI session from the web (ur.
|
|
759650
|
+
children: "Remote Control lets you access this CLI session from the web (ur.com/code) or the UR app, so you can pick up where you left off on any device."
|
|
759616
759651
|
}, undefined, false, undefined, this),
|
|
759617
759652
|
/* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedText, {
|
|
759618
759653
|
children: " "
|
|
@@ -759680,7 +759715,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
759680
759715
|
} catch {}
|
|
759681
759716
|
const data = {
|
|
759682
759717
|
trigger: trigger2,
|
|
759683
|
-
version: "1.68.
|
|
759718
|
+
version: "1.68.9",
|
|
759684
759719
|
platform: process.platform,
|
|
759685
759720
|
transcript,
|
|
759686
759721
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -760498,7 +760533,7 @@ function TranscriptSharePrompt(t0) {
|
|
|
760498
760533
|
marginLeft: 2,
|
|
760499
760534
|
children: /* @__PURE__ */ jsx_dev_runtime434.jsxDEV(ThemedText, {
|
|
760500
760535
|
dimColor: true,
|
|
760501
|
-
children: "Learn more: https://
|
|
760536
|
+
children: "Learn more: https://ur.com/docs/data-usage#session-quality-surveys"
|
|
760502
760537
|
}, undefined, false, undefined, this)
|
|
760503
760538
|
}, undefined, false, undefined, this);
|
|
760504
760539
|
$2[7] = t4;
|
|
@@ -760914,7 +760949,7 @@ async function _temp196() {
|
|
|
760914
760949
|
key: "chrome-requires-subscription",
|
|
760915
760950
|
jsx: /* @__PURE__ */ jsx_dev_runtime436.jsxDEV(ThemedText, {
|
|
760916
760951
|
color: "error",
|
|
760917
|
-
children: "UR in Chrome requires a ur.
|
|
760952
|
+
children: "UR in Chrome requires a ur.com subscription"
|
|
760918
760953
|
}, undefined, false, undefined, this),
|
|
760919
760954
|
priority: "immediate",
|
|
760920
760955
|
timeoutMs: 5000
|
|
@@ -760926,7 +760961,7 @@ async function _temp196() {
|
|
|
760926
760961
|
key: "chrome-extension-not-detected",
|
|
760927
760962
|
jsx: /* @__PURE__ */ jsx_dev_runtime436.jsxDEV(ThemedText, {
|
|
760928
760963
|
color: "warning",
|
|
760929
|
-
children: "Chrome extension not detected \xB7 https://ur.
|
|
760964
|
+
children: "Chrome extension not detected \xB7 https://ur.com/chrome to install"
|
|
760930
760965
|
}, undefined, false, undefined, this),
|
|
760931
760966
|
priority: "immediate",
|
|
760932
760967
|
timeoutMs: 3000
|
|
@@ -763526,7 +763561,7 @@ function useMcpConnectivityStatus(t0) {
|
|
|
763526
763561
|
color: "error",
|
|
763527
763562
|
children: [
|
|
763528
763563
|
failedURAiClients.length,
|
|
763529
|
-
" ur.
|
|
763564
|
+
" ur.com",
|
|
763530
763565
|
" ",
|
|
763531
763566
|
failedURAiClients.length === 1 ? "connector" : "connectors",
|
|
763532
763567
|
" ",
|
|
@@ -763576,7 +763611,7 @@ function useMcpConnectivityStatus(t0) {
|
|
|
763576
763611
|
color: "warning",
|
|
763577
763612
|
children: [
|
|
763578
763613
|
needsAuthURAiServers.length,
|
|
763579
|
-
" ur.
|
|
763614
|
+
" ur.com",
|
|
763580
763615
|
" ",
|
|
763581
763616
|
needsAuthURAiServers.length === 1 ? "connector needs" : "connectors need",
|
|
763582
763617
|
" ",
|
|
@@ -771162,7 +771197,7 @@ function MCPServerDialogCopy() {
|
|
|
771162
771197
|
"MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the",
|
|
771163
771198
|
" ",
|
|
771164
771199
|
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(Link, {
|
|
771165
|
-
url: "https://
|
|
771200
|
+
url: "https://ur.com/docs/mcp",
|
|
771166
771201
|
children: "MCP documentation"
|
|
771167
771202
|
}, undefined, false, undefined, this),
|
|
771168
771203
|
"."
|
|
@@ -771814,7 +771849,7 @@ function PreflightStep(t0) {
|
|
|
771814
771849
|
}, undefined, false, undefined, this),
|
|
771815
771850
|
/* @__PURE__ */ jsx_dev_runtime461.jsxDEV(ThemedText, {
|
|
771816
771851
|
color: "suggestion",
|
|
771817
|
-
children: "See https://
|
|
771852
|
+
children: "See https://ur.com/docs/network-config"
|
|
771818
771853
|
}, undefined, false, undefined, this)
|
|
771819
771854
|
]
|
|
771820
771855
|
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime461.jsxDEV(ThemedBox_default, {
|
|
@@ -772048,7 +772083,7 @@ function WelcomeV2() {
|
|
|
772048
772083
|
dimColor: true,
|
|
772049
772084
|
children: [
|
|
772050
772085
|
"v",
|
|
772051
|
-
"1.68.
|
|
772086
|
+
"1.68.9"
|
|
772052
772087
|
]
|
|
772053
772088
|
}, undefined, true, undefined, this)
|
|
772054
772089
|
]
|
|
@@ -772298,7 +772333,7 @@ function Onboarding({
|
|
|
772298
772333
|
"For more details see:",
|
|
772299
772334
|
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
772300
772335
|
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(Link, {
|
|
772301
|
-
url: "https://
|
|
772336
|
+
url: "https://ur.com/docs/security"
|
|
772302
772337
|
}, undefined, false, undefined, this)
|
|
772303
772338
|
]
|
|
772304
772339
|
}, undefined, true, undefined, this)
|
|
@@ -772872,7 +772907,7 @@ function TrustDialog(t0) {
|
|
|
772872
772907
|
t19 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
772873
772908
|
dimColor: true,
|
|
772874
772909
|
children: /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(Link, {
|
|
772875
|
-
url: "https://
|
|
772910
|
+
url: "https://ur.com/docs/security",
|
|
772876
772911
|
children: "Security guide"
|
|
772877
772912
|
}, undefined, false, undefined, this)
|
|
772878
772913
|
}, undefined, false, undefined, this);
|
|
@@ -773057,7 +773092,7 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
773057
773092
|
children: "By proceeding, you accept all responsibility for actions taken while running in Bypass Permissions mode."
|
|
773058
773093
|
}, undefined, false, undefined, this),
|
|
773059
773094
|
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(Link, {
|
|
773060
|
-
url: "https://
|
|
773095
|
+
url: "https://ur.com/docs/security"
|
|
773061
773096
|
}, undefined, false, undefined, this)
|
|
773062
773097
|
]
|
|
773063
773098
|
}, undefined, true, undefined, this);
|
|
@@ -773243,7 +773278,7 @@ function URInChromeOnboarding(t0) {
|
|
|
773243
773278
|
" ",
|
|
773244
773279
|
"or visit ",
|
|
773245
773280
|
/* @__PURE__ */ jsx_dev_runtime469.jsxDEV(Link, {
|
|
773246
|
-
url: "https://
|
|
773281
|
+
url: "https://ur.com/docs/chrome"
|
|
773247
773282
|
}, undefined, false, undefined, this)
|
|
773248
773283
|
]
|
|
773249
773284
|
}, undefined, true, undefined, this);
|
|
@@ -773290,7 +773325,7 @@ function _temp295(current) {
|
|
|
773290
773325
|
hasCompletedURInChromeOnboarding: true
|
|
773291
773326
|
};
|
|
773292
773327
|
}
|
|
773293
|
-
var import_compiler_runtime352, import_react322, jsx_dev_runtime469, CHROME_EXTENSION_URL2 = "https://ur.
|
|
773328
|
+
var import_compiler_runtime352, import_react322, jsx_dev_runtime469, CHROME_EXTENSION_URL2 = "https://ur.com/chrome", CHROME_PERMISSIONS_URL2 = "https://ur.com/chrome/permissions";
|
|
773294
773329
|
var init_URInChromeOnboarding = __esm(() => {
|
|
773295
773330
|
init_analytics();
|
|
773296
773331
|
init_ink2();
|
|
@@ -773308,7 +773343,7 @@ function completeOnboarding() {
|
|
|
773308
773343
|
saveGlobalConfig((current) => ({
|
|
773309
773344
|
...current,
|
|
773310
773345
|
hasCompletedOnboarding: true,
|
|
773311
|
-
lastOnboardingVersion: "1.68.
|
|
773346
|
+
lastOnboardingVersion: "1.68.9"
|
|
773312
773347
|
}));
|
|
773313
773348
|
}
|
|
773314
773349
|
function showDialog(root2, renderer) {
|
|
@@ -775992,7 +776027,7 @@ var init_keybindings3 = __esm(() => {
|
|
|
775992
776027
|
init_bundledSkills();
|
|
775993
776028
|
FILE_FORMAT_EXAMPLE = {
|
|
775994
776029
|
$schema: "https://www.schemastore.org/ur-keybindings.json",
|
|
775995
|
-
$docs: "https://
|
|
776030
|
+
$docs: "https://ur.com/docs/keybindings",
|
|
775996
776031
|
bindings: [
|
|
775997
776032
|
{
|
|
775998
776033
|
context: "Chat",
|
|
@@ -778352,7 +778387,7 @@ function appendToLog(path24, message) {
|
|
|
778352
778387
|
cwd: getFsImplementation().cwd(),
|
|
778353
778388
|
userType: process.env.USER_TYPE,
|
|
778354
778389
|
sessionId: getSessionId(),
|
|
778355
|
-
version: "1.68.
|
|
778390
|
+
version: "1.68.9"
|
|
778356
778391
|
};
|
|
778357
778392
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
778358
778393
|
}
|
|
@@ -782516,8 +782551,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
782516
782551
|
}
|
|
782517
782552
|
async function checkEnvLessBridgeMinVersion() {
|
|
782518
782553
|
const cfg = await getEnvLessBridgeConfig();
|
|
782519
|
-
if (cfg.min_version && lt("1.68.
|
|
782520
|
-
return `Your version of UR (${"1.68.
|
|
782554
|
+
if (cfg.min_version && lt("1.68.9", cfg.min_version)) {
|
|
782555
|
+
return `Your version of UR (${"1.68.9"}) is too old for Remote Control.
|
|
782521
782556
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
782522
782557
|
}
|
|
782523
782558
|
return null;
|
|
@@ -782991,7 +783026,7 @@ async function initBridgeCore(params) {
|
|
|
782991
783026
|
const rawApi = createBridgeApiClient({
|
|
782992
783027
|
baseUrl,
|
|
782993
783028
|
getAccessToken,
|
|
782994
|
-
runnerVersion: "1.68.
|
|
783029
|
+
runnerVersion: "1.68.9",
|
|
782995
783030
|
onDebug: logForDebugging,
|
|
782996
783031
|
onAuth401,
|
|
782997
783032
|
getTrustedDeviceToken
|
|
@@ -792464,7 +792499,7 @@ function getAgUiCapabilities() {
|
|
|
792464
792499
|
name: "UR-Nexus",
|
|
792465
792500
|
type: "ur-nexus",
|
|
792466
792501
|
description: "Provider-flexible, local-first autonomous engineering workflow agent.",
|
|
792467
|
-
version: "1.68.
|
|
792502
|
+
version: "1.68.9",
|
|
792468
792503
|
provider: "UR",
|
|
792469
792504
|
documentationUrl: "https://github.com/Maitham16/UR/blob/master/docs/AG_UI.md"
|
|
792470
792505
|
},
|
|
@@ -793604,7 +793639,7 @@ function createMCPServer(cwd4, debug2, verbose) {
|
|
|
793604
793639
|
};
|
|
793605
793640
|
const server2 = new Server({
|
|
793606
793641
|
name: "ur-nexus",
|
|
793607
|
-
version: "1.68.
|
|
793642
|
+
version: "1.68.9"
|
|
793608
793643
|
}, {
|
|
793609
793644
|
capabilities: {
|
|
793610
793645
|
tools: {}
|
|
@@ -794762,7 +794797,7 @@ function thrownResponse(error40) {
|
|
|
794762
794797
|
}
|
|
794763
794798
|
async function createUrMcp2026Runtime(options4) {
|
|
794764
794799
|
const server2 = createMCPServer(options4.cwd, options4.debug === true, options4.verbose === true);
|
|
794765
|
-
const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.68.
|
|
794800
|
+
const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.68.9" }, { capabilities: {} });
|
|
794766
794801
|
const [clientTransport, serverTransport] = createLinkedTransportPair();
|
|
794767
794802
|
try {
|
|
794768
794803
|
await server2.connect(serverTransport);
|
|
@@ -794773,7 +794808,7 @@ async function createUrMcp2026Runtime(options4) {
|
|
|
794773
794808
|
}
|
|
794774
794809
|
const runtime2 = new Mcp2026Runtime({
|
|
794775
794810
|
cwd: options4.cwd,
|
|
794776
|
-
version: "1.68.
|
|
794811
|
+
version: "1.68.9",
|
|
794777
794812
|
backend: {
|
|
794778
794813
|
listTools: async () => {
|
|
794779
794814
|
const listed = await client2.listTools();
|
|
@@ -796906,7 +796941,7 @@ async function update() {
|
|
|
796906
796941
|
logEvent("tengu_update_check", {});
|
|
796907
796942
|
const diagnostic2 = await getDoctorDiagnostic();
|
|
796908
796943
|
const result = await checkUpgradeStatus({
|
|
796909
|
-
currentVersion: "1.68.
|
|
796944
|
+
currentVersion: "1.68.9",
|
|
796910
796945
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
796911
796946
|
installationType: diagnostic2.installationType,
|
|
796912
796947
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -797764,7 +797799,7 @@ ${hint}` : hint;
|
|
|
797764
797799
|
blocked
|
|
797765
797800
|
} = filterMcpServersByPolicy(configs);
|
|
797766
797801
|
if (blocked.length > 0) {
|
|
797767
|
-
process.stderr.write(`Warning: ur.
|
|
797802
|
+
process.stderr.write(`Warning: ur.com MCP ${plural(blocked.length, "server")} blocked by enterprise policy: ${blocked.join(", ")}
|
|
797768
797803
|
`);
|
|
797769
797804
|
}
|
|
797770
797805
|
return allowed;
|
|
@@ -798222,7 +798257,7 @@ ${customInstructions}` : customInstructions;
|
|
|
798222
798257
|
}
|
|
798223
798258
|
}
|
|
798224
798259
|
logForDiagnosticsNoPII("info", "started", {
|
|
798225
|
-
version: "1.68.
|
|
798260
|
+
version: "1.68.9",
|
|
798226
798261
|
is_native_binary: isInBundledMode()
|
|
798227
798262
|
});
|
|
798228
798263
|
registerCleanup(async () => {
|
|
@@ -798387,7 +798422,7 @@ ${customInstructions}` : customInstructions;
|
|
|
798387
798422
|
suppressed.add(name);
|
|
798388
798423
|
}
|
|
798389
798424
|
if (suppressed.size > 0) {
|
|
798390
|
-
logForDebugging(`[MCP] Lazy dedup: suppressing ${suppressed.size} plugin server(s) that duplicate ur.
|
|
798425
|
+
logForDebugging(`[MCP] Lazy dedup: suppressing ${suppressed.size} plugin server(s) that duplicate ur.com connectors: ${[...suppressed].join(", ")}`);
|
|
798391
798426
|
for (const c4 of headlessStore.getState().mcp.clients) {
|
|
798392
798427
|
if (!suppressed.has(c4.name) || c4.type !== "connected")
|
|
798393
798428
|
continue;
|
|
@@ -798433,7 +798468,7 @@ ${customInstructions}` : customInstructions;
|
|
|
798433
798468
|
if (uraiTimer)
|
|
798434
798469
|
clearTimeout(uraiTimer);
|
|
798435
798470
|
if (uraiTimedOut) {
|
|
798436
|
-
logForDebugging(`[MCP] ur.
|
|
798471
|
+
logForDebugging(`[MCP] ur.com connectors not ready after ${UR_AI_MCP_TIMEOUT_MS}ms \u2014 proceeding; background connection continues`);
|
|
798437
798472
|
}
|
|
798438
798473
|
profileCheckpoint("after_connectMcp_urai");
|
|
798439
798474
|
if (!isBareMode()) {
|
|
@@ -799008,7 +799043,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
799008
799043
|
pendingHookMessages
|
|
799009
799044
|
}, renderAndRun);
|
|
799010
799045
|
}
|
|
799011
|
-
}).version("1.68.
|
|
799046
|
+
}).version("1.68.9 (UR-Nexus)", "-v, --version", "Output the version number");
|
|
799012
799047
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
799013
799048
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
799014
799049
|
if (canUserConfigureAdvisor()) {
|
|
@@ -800067,7 +800102,7 @@ if (false) {}
|
|
|
800067
800102
|
async function main2() {
|
|
800068
800103
|
const args = process.argv.slice(2);
|
|
800069
800104
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
800070
|
-
console.log(`${"1.68.
|
|
800105
|
+
console.log(`${"1.68.9"} (UR-Nexus)`);
|
|
800071
800106
|
return;
|
|
800072
800107
|
}
|
|
800073
800108
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|