ur-agent 1.77.1 → 1.77.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.77.2
4
+
5
+ - Git commit and pull-request guidance is no longer sent outside a git
6
+ repository. `shouldIncludeGitInstructions` consulted only the environment
7
+ variable and the setting, so roughly 9KB rode in the system prompt on every
8
+ turn even in workspaces with no `.git` — instructions the model could not act
9
+ on. The repository check uses the memoized synchronous `findGitRoot` already
10
+ relied on for permission checks and prompt building, so it costs nothing. The
11
+ environment variable and setting still win when either is set explicitly.
12
+
3
13
  ## 1.77.1
4
14
 
5
15
  - Finishing a task no longer produces a long write-up. Both output-efficiency
package/dist/cli.js CHANGED
@@ -107542,7 +107542,7 @@ var init_auth = __esm(() => {
107542
107542
 
107543
107543
  // src/utils/userAgent.ts
107544
107544
  function getURCodeUserAgent() {
107545
- return `ur/${"1.77.1"}`;
107545
+ return `ur/${"1.77.2"}`;
107546
107546
  }
107547
107547
 
107548
107548
  // src/utils/workloadContext.ts
@@ -107564,7 +107564,7 @@ function getUserAgent() {
107564
107564
  const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
107565
107565
  const workload = getWorkload();
107566
107566
  const workloadSuffix = workload ? `, workload/${workload}` : "";
107567
- return `ur-cli/${"1.77.1"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
107567
+ return `ur-cli/${"1.77.2"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
107568
107568
  }
107569
107569
  function getMCPUserAgent() {
107570
107570
  const parts = [];
@@ -107578,7 +107578,7 @@ function getMCPUserAgent() {
107578
107578
  parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
107579
107579
  }
107580
107580
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
107581
- return `ur/${"1.77.1"}${suffix}`;
107581
+ return `ur/${"1.77.2"}${suffix}`;
107582
107582
  }
107583
107583
  function getWebFetchUserAgent() {
107584
107584
  return `UR-User (${getURCodeUserAgent()})`;
@@ -107716,7 +107716,7 @@ var init_user = __esm(() => {
107716
107716
  deviceId,
107717
107717
  sessionId: getSessionId(),
107718
107718
  email: getEmail(),
107719
- appVersion: "1.77.1",
107719
+ appVersion: "1.77.2",
107720
107720
  platform: getHostPlatformForAnalytics(),
107721
107721
  organizationUuid,
107722
107722
  accountUuid,
@@ -115603,7 +115603,7 @@ var init_metadata = __esm(() => {
115603
115603
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
115604
115604
  WHITESPACE_REGEX = /\s+/;
115605
115605
  getVersionBase = memoize_default(() => {
115606
- const match = "1.77.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
115606
+ const match = "1.77.2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
115607
115607
  return match ? match[0] : undefined;
115608
115608
  });
115609
115609
  buildEnvContext = memoize_default(async () => {
@@ -115643,7 +115643,7 @@ var init_metadata = __esm(() => {
115643
115643
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
115644
115644
  isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
115645
115645
  isURAiAuth: isURAISubscriber(),
115646
- version: "1.77.1",
115646
+ version: "1.77.2",
115647
115647
  versionBase: getVersionBase(),
115648
115648
  buildTime: "",
115649
115649
  deploymentEnvironment: env2.detectDeploymentEnvironment(),
@@ -116313,7 +116313,7 @@ function initialize1PEventLogging() {
116313
116313
  const platform2 = getPlatform();
116314
116314
  const attributes = {
116315
116315
  [import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
116316
- [import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.77.1"
116316
+ [import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.77.2"
116317
116317
  };
116318
116318
  if (platform2 === "wsl") {
116319
116319
  const wslVersion = getWslVersion();
@@ -116341,7 +116341,7 @@ function initialize1PEventLogging() {
116341
116341
  })
116342
116342
  ]
116343
116343
  });
116344
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.77.1");
116344
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.77.2");
116345
116345
  }
116346
116346
  async function reinitialize1PEventLoggingIfConfigChanged() {
116347
116347
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -126123,7 +126123,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
126123
126123
  function formatA2AAgentCard(options = {}, pretty = true) {
126124
126124
  return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
126125
126125
  }
126126
- var urVersion = "1.77.1", researchSnapshotDate = "2026-07-15", coverage, priorityRoadmap;
126126
+ var urVersion = "1.77.2", researchSnapshotDate = "2026-07-15", coverage, priorityRoadmap;
126127
126127
  var init_trends = __esm(() => {
126128
126128
  init_a2aCardSignature();
126129
126129
  coverage = [
@@ -128926,7 +128926,7 @@ function getAttributionHeader(fingerprint) {
128926
128926
  if (!isAttributionHeaderEnabled()) {
128927
128927
  return "";
128928
128928
  }
128929
- const version2 = `${"1.77.1"}.${fingerprint}`;
128929
+ const version2 = `${"1.77.2"}.${fingerprint}`;
128930
128930
  const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
128931
128931
  const cch = "";
128932
128932
  const workload = getWorkload();
@@ -153314,10 +153314,15 @@ function shouldIncludeGitInstructions() {
153314
153314
  return false;
153315
153315
  if (isEnvDefinedFalsy(envVal))
153316
153316
  return true;
153317
- return getInitialSettings().includeGitInstructions ?? true;
153317
+ if ((getInitialSettings().includeGitInstructions ?? true) === false) {
153318
+ return false;
153319
+ }
153320
+ return findGitRoot(getCwd()) !== null;
153318
153321
  }
153319
153322
  var init_gitSettings = __esm(() => {
153323
+ init_cwd2();
153320
153324
  init_envUtils();
153325
+ init_git();
153321
153326
  init_settings2();
153322
153327
  });
153323
153328
 
@@ -156925,7 +156930,7 @@ var init_projectSafety = __esm(() => {
156925
156930
  function getInstruments() {
156926
156931
  if (instruments)
156927
156932
  return instruments;
156928
- const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.77.1");
156933
+ const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.77.2");
156929
156934
  instruments = {
156930
156935
  operationDuration: meter.createHistogram("gen_ai.client.operation.duration", {
156931
156936
  description: "GenAI operation duration.",
@@ -157023,7 +157028,7 @@ function genAiAgentAttributes() {
157023
157028
  "gen_ai.operation.name": GEN_AI_OPERATION_INVOKE_AGENT,
157024
157029
  "gen_ai.provider.name": "ur",
157025
157030
  "gen_ai.agent.name": "UR-Nexus",
157026
- "gen_ai.agent.version": "1.77.1"
157031
+ "gen_ai.agent.version": "1.77.2"
157027
157032
  };
157028
157033
  }
157029
157034
  function genAiWorkflowAttributes(workflowName) {
@@ -157039,7 +157044,7 @@ function genAiWorkflowAttributes(workflowName) {
157039
157044
  function startGenAiWorkflowSpan(workflowName) {
157040
157045
  const attributes = genAiWorkflowAttributes(workflowName);
157041
157046
  const name = typeof attributes["gen_ai.workflow.name"] === "string" ? `invoke_workflow ${attributes["gen_ai.workflow.name"]}` : GEN_AI_OPERATION_INVOKE_WORKFLOW;
157042
- return import_api10.trace.getTracer("ur-agent.gen_ai", "1.77.1").startSpan(name, { kind: import_api10.SpanKind.INTERNAL, attributes });
157047
+ return import_api10.trace.getTracer("ur-agent.gen_ai", "1.77.2").startSpan(name, { kind: import_api10.SpanKind.INTERNAL, attributes });
157043
157048
  }
157044
157049
  function endGenAiWorkflowSpan(span, options2 = {}) {
157045
157050
  try {
@@ -157077,7 +157082,7 @@ function startGenAiMemorySpan(operation, options2 = {}) {
157077
157082
  if (options2.recordCount !== undefined && Number.isInteger(options2.recordCount) && options2.recordCount >= 0) {
157078
157083
  attributes["gen_ai.memory.record.count"] = options2.recordCount;
157079
157084
  }
157080
- return import_api10.trace.getTracer("ur-agent.gen_ai", "1.77.1").startSpan(operation, { kind: import_api10.SpanKind.INTERNAL, attributes });
157085
+ return import_api10.trace.getTracer("ur-agent.gen_ai", "1.77.2").startSpan(operation, { kind: import_api10.SpanKind.INTERNAL, attributes });
157081
157086
  }
157082
157087
  function endGenAiMemorySpan(span, options2 = {}) {
157083
157088
  try {
@@ -250725,7 +250730,7 @@ function getTelemetryAttributes() {
250725
250730
  attributes["session.id"] = sessionId;
250726
250731
  }
250727
250732
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
250728
- attributes["app.version"] = "1.77.1";
250733
+ attributes["app.version"] = "1.77.2";
250729
250734
  }
250730
250735
  const oauthAccount = getOauthAccountInfo();
250731
250736
  if (oauthAccount) {
@@ -297232,7 +297237,7 @@ function getInstallationEnv() {
297232
297237
  return;
297233
297238
  }
297234
297239
  function getURCodeVersion() {
297235
- return "1.77.1";
297240
+ return "1.77.2";
297236
297241
  }
297237
297242
  async function getInstalledVSCodeExtensionVersion(command) {
297238
297243
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -304563,7 +304568,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
304563
304568
  const client2 = new Client({
304564
304569
  name: "ur",
304565
304570
  title: "UR",
304566
- version: "1.77.1",
304571
+ version: "1.77.2",
304567
304572
  description: "UR-Nexus autonomous engineering workflow engine",
304568
304573
  websiteUrl: PRODUCT_URL
304569
304574
  }, {
@@ -304923,7 +304928,7 @@ var init_client5 = __esm(() => {
304923
304928
  const client2 = new Client({
304924
304929
  name: "ur",
304925
304930
  title: "UR",
304926
- version: "1.77.1",
304931
+ version: "1.77.2",
304927
304932
  description: "UR-Nexus autonomous engineering workflow engine",
304928
304933
  websiteUrl: PRODUCT_URL
304929
304934
  }, {
@@ -317476,7 +317481,7 @@ async function createRuntime() {
317476
317481
  bootstrapTelemetry();
317477
317482
  const resource = defaultResource().merge(detectResources({ detectors: [envDetector] })).merge(resourceFromAttributes({
317478
317483
  [import_semantic_conventions7.ATTR_SERVICE_NAME]: "ur-agent",
317479
- [import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.77.1"
317484
+ [import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.77.2"
317480
317485
  }));
317481
317486
  const tracerProvider = exporters.traces.length > 0 ? new BasicTracerProvider({
317482
317487
  resource,
@@ -317509,11 +317514,11 @@ async function createRuntime() {
317509
317514
  setMeterProvider(meterProvider);
317510
317515
  setLoggerProvider(loggerProvider);
317511
317516
  if (meterProvider) {
317512
- const meter = meterProvider.getMeter("ur-agent", "1.77.1");
317517
+ const meter = meterProvider.getMeter("ur-agent", "1.77.2");
317513
317518
  setMeter(meter, (name, options2) => meter.createCounter(name, options2));
317514
317519
  }
317515
317520
  if (loggerProvider) {
317516
- setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.77.1"));
317521
+ setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.77.2"));
317517
317522
  }
317518
317523
  if (!cleanupRegistered2) {
317519
317524
  cleanupRegistered2 = true;
@@ -318175,9 +318180,9 @@ async function assertMinVersion() {
318175
318180
  if (false) {}
318176
318181
  try {
318177
318182
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
318178
- if (versionConfig.minVersion && lt("1.77.1", versionConfig.minVersion)) {
318183
+ if (versionConfig.minVersion && lt("1.77.2", versionConfig.minVersion)) {
318179
318184
  console.error(`
318180
- It looks like your version of UR (${"1.77.1"}) needs an update.
318185
+ It looks like your version of UR (${"1.77.2"}) needs an update.
318181
318186
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
318182
318187
 
318183
318188
  To update, please run:
@@ -318393,7 +318398,7 @@ async function installGlobalPackage(specificVersion) {
318393
318398
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
318394
318399
  logEvent("tengu_auto_updater_lock_contention", {
318395
318400
  pid: process.pid,
318396
- currentVersion: "1.77.1"
318401
+ currentVersion: "1.77.2"
318397
318402
  });
318398
318403
  return "in_progress";
318399
318404
  }
@@ -318402,7 +318407,7 @@ async function installGlobalPackage(specificVersion) {
318402
318407
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
318403
318408
  logError2(new Error("Windows NPM detected in WSL environment"));
318404
318409
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
318405
- currentVersion: "1.77.1"
318410
+ currentVersion: "1.77.2"
318406
318411
  });
318407
318412
  console.error(`
318408
318413
  Error: Windows NPM detected in WSL
@@ -318937,7 +318942,7 @@ function detectLinuxGlobPatternWarnings() {
318937
318942
  }
318938
318943
  async function getDoctorDiagnostic() {
318939
318944
  const installationType = await getCurrentInstallationType();
318940
- const version2 = typeof MACRO !== "undefined" ? "1.77.1" : "unknown";
318945
+ const version2 = typeof MACRO !== "undefined" ? "1.77.2" : "unknown";
318941
318946
  const installationPath = await getInstallationPath();
318942
318947
  const invokedBinary = getInvokedBinary();
318943
318948
  const multipleInstallations = await detectMultipleInstallations();
@@ -319872,8 +319877,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
319872
319877
  const maxVersion = await getMaxVersion();
319873
319878
  if (maxVersion && gt(version2, maxVersion)) {
319874
319879
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
319875
- if (gte("1.77.1", maxVersion)) {
319876
- logForDebugging(`Native installer: current version ${"1.77.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
319880
+ if (gte("1.77.2", maxVersion)) {
319881
+ logForDebugging(`Native installer: current version ${"1.77.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
319877
319882
  logEvent("tengu_native_update_skipped_max_version", {
319878
319883
  latency_ms: Date.now() - startTime,
319879
319884
  max_version: maxVersion,
@@ -319884,7 +319889,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
319884
319889
  version2 = maxVersion;
319885
319890
  }
319886
319891
  }
319887
- if (!forceReinstall && version2 === "1.77.1" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
319892
+ if (!forceReinstall && version2 === "1.77.2" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
319888
319893
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
319889
319894
  logEvent("tengu_native_update_complete", {
319890
319895
  latency_ms: Date.now() - startTime,
@@ -389588,7 +389593,7 @@ function isAnyTracingEnabled() {
389588
389593
  return isTelemetryEnabled() || isEnhancedTelemetryEnabled() || isBetaTracingEnabled();
389589
389594
  }
389590
389595
  function getTracer() {
389591
- return import_api39.trace.getTracer("ur-agent.gen_ai", "1.77.1");
389596
+ return import_api39.trace.getTracer("ur-agent.gen_ai", "1.77.2");
389592
389597
  }
389593
389598
  function createSpanAttributes(spanType, customAttributes = {}) {
389594
389599
  const baseAttributes = getTelemetryAttributes();
@@ -419755,7 +419760,7 @@ function Feedback({
419755
419760
  platform: env2.platform,
419756
419761
  gitRepo: envInfo.isGit,
419757
419762
  terminal: env2.terminal,
419758
- version: "1.77.1",
419763
+ version: "1.77.2",
419759
419764
  transcript: normalizeMessagesForAPI(messages),
419760
419765
  errors: sanitizedErrors,
419761
419766
  lastApiRequest: getLastAPIRequest(),
@@ -419947,7 +419952,7 @@ function Feedback({
419947
419952
  ", ",
419948
419953
  env2.terminal,
419949
419954
  ", v",
419950
- "1.77.1"
419955
+ "1.77.2"
419951
419956
  ]
419952
419957
  }, undefined, true, undefined, this)
419953
419958
  ]
@@ -420053,7 +420058,7 @@ ${sanitizedDescription}
420053
420058
  ` + `**Environment Info**
420054
420059
  ` + `- Platform: ${env2.platform}
420055
420060
  ` + `- Terminal: ${env2.terminal}
420056
- ` + `- Version: ${"1.77.1"}
420061
+ ` + `- Version: ${"1.77.2"}
420057
420062
  ` + `- Feedback ID: ${feedbackId}
420058
420063
  ` + `
420059
420064
  **Errors**
@@ -423163,7 +423168,7 @@ function buildPrimarySection() {
423163
423168
  }, undefined, false, undefined, this);
423164
423169
  return [{
423165
423170
  label: "Version",
423166
- value: "1.77.1"
423171
+ value: "1.77.2"
423167
423172
  }, {
423168
423173
  label: "Session name",
423169
423174
  value: nameValue
@@ -426545,7 +426550,7 @@ function Config({
426545
426550
  }
426546
426551
  }, undefined, false, undefined, this)
426547
426552
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
426548
- currentVersion: "1.77.1",
426553
+ currentVersion: "1.77.2",
426549
426554
  onChoice: (choice) => {
426550
426555
  setShowSubmenu(null);
426551
426556
  setTabsHidden(false);
@@ -426557,7 +426562,7 @@ function Config({
426557
426562
  autoUpdatesChannel: "stable"
426558
426563
  };
426559
426564
  if (choice === "stay") {
426560
- newSettings.minimumVersion = "1.77.1";
426565
+ newSettings.minimumVersion = "1.77.2";
426561
426566
  }
426562
426567
  updateSettingsForSource("userSettings", newSettings);
426563
426568
  setSettingsData((prev_27) => ({
@@ -434621,7 +434626,7 @@ function HelpV2(t0) {
434621
434626
  let t6;
434622
434627
  if ($2[31] !== tabs) {
434623
434628
  t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
434624
- title: `UR v${"1.77.1"}`,
434629
+ title: `UR v${"1.77.2"}`,
434625
434630
  color: "professionalBlue",
434626
434631
  defaultTab: "general",
434627
434632
  children: tabs
@@ -435554,7 +435559,7 @@ function buildToolUseContext(tools, readFileStateCache, toolPermissionContext, a
435554
435559
  async function handleInitialize(options2) {
435555
435560
  return {
435556
435561
  name: "UR",
435557
- version: "1.77.1",
435562
+ version: "1.77.2",
435558
435563
  protocolVersion: "0.1.0",
435559
435564
  workspaceRoot: options2.cwd,
435560
435565
  capabilities: {
@@ -452662,7 +452667,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
452662
452667
  return [];
452663
452668
  }
452664
452669
  }
452665
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.77.1") {
452670
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.77.2") {
452666
452671
  if (process.env.USER_TYPE === "ant") {
452667
452672
  const changelog = "";
452668
452673
  if (changelog) {
@@ -452689,7 +452694,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.77.1")
452689
452694
  releaseNotes
452690
452695
  };
452691
452696
  }
452692
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.77.1") {
452697
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.77.2") {
452693
452698
  if (process.env.USER_TYPE === "ant") {
452694
452699
  const changelog = "";
452695
452700
  if (changelog) {
@@ -455555,7 +455560,7 @@ function getRecentActivitySync() {
455555
455560
  return cachedActivity;
455556
455561
  }
455557
455562
  function getLogoDisplayData() {
455558
- const version2 = process.env.DEMO_VERSION ?? "1.77.1";
455563
+ const version2 = process.env.DEMO_VERSION ?? "1.77.2";
455559
455564
  const serverUrl = getDirectConnectServerUrl();
455560
455565
  const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
455561
455566
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -456422,7 +456427,7 @@ function LogoV2() {
456422
456427
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
456423
456428
  t2 = () => {
456424
456429
  const currentConfig2 = getGlobalConfig();
456425
- if (currentConfig2.lastReleaseNotesSeen === "1.77.1") {
456430
+ if (currentConfig2.lastReleaseNotesSeen === "1.77.2") {
456426
456431
  return;
456427
456432
  }
456428
456433
  saveGlobalConfig(_temp325);
@@ -457107,12 +457112,12 @@ function LogoV2() {
457107
457112
  return t41;
457108
457113
  }
457109
457114
  function _temp325(current) {
457110
- if (current.lastReleaseNotesSeen === "1.77.1") {
457115
+ if (current.lastReleaseNotesSeen === "1.77.2") {
457111
457116
  return current;
457112
457117
  }
457113
457118
  return {
457114
457119
  ...current,
457115
- lastReleaseNotesSeen: "1.77.1"
457120
+ lastReleaseNotesSeen: "1.77.2"
457116
457121
  };
457117
457122
  }
457118
457123
  function _temp241(s_0) {
@@ -473926,7 +473931,7 @@ function compileAgenticCiWorkflow(specName = "default", options2 = {}) {
473926
473931
  if (spec.name !== specName) {
473927
473932
  throw new Error("Agentic CI workflow spec name does not match");
473928
473933
  }
473929
- const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.77.1" : "1.77.1");
473934
+ const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.77.2" : "1.77.2");
473930
473935
  if (!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(packageVersion)) {
473931
473936
  throw new Error("invalid ur-agent package version");
473932
473937
  }
@@ -474919,7 +474924,7 @@ runner; \`ur trigger\` is the inbound parser that decides what to run.
474919
474924
  path: ".github/workflows/ur.yml",
474920
474925
  root: "project",
474921
474926
  content: compileAgenticCiWorkflow("default", {
474922
- packageVersion: typeof MACRO !== "undefined" ? "1.77.1" : "1.77.1"
474927
+ packageVersion: typeof MACRO !== "undefined" ? "1.77.2" : "1.77.2"
474923
474928
  })
474924
474929
  },
474925
474930
  {
@@ -474982,7 +474987,7 @@ function value(tokens, flag) {
474982
474987
  return index2 >= 0 ? tokens[index2 + 1] : undefined;
474983
474988
  }
474984
474989
  function cliVersion() {
474985
- return typeof MACRO !== "undefined" ? "1.77.1" : "1.77.1";
474990
+ return typeof MACRO !== "undefined" ? "1.77.2" : "1.77.2";
474986
474991
  }
474987
474992
  function workflowPath(cwd2) {
474988
474993
  return join159(cwd2, ".github", "workflows", "ur-agentic-ci.yml");
@@ -480838,7 +480843,7 @@ function createAcpStdioApp(deps) {
480838
480843
  }
480839
480844
  },
480840
480845
  authMethods: [],
480841
- agentInfo: { name: "UR-Nexus", version: "1.77.1" }
480846
+ agentInfo: { name: "UR-Nexus", version: "1.77.2" }
480842
480847
  })).onRequest("authenticate", () => ({})).onRequest("session/new", async (context6) => {
480843
480848
  const result = runtime2.newSession(context6.params.cwd, context6.params.mcpServers, context6.params.additionalDirectories);
480844
480849
  await runtime2.announce({
@@ -480935,7 +480940,7 @@ function createAcpStdioAgent(deps) {
480935
480940
  }
480936
480941
  },
480937
480942
  authMethods: [],
480938
- agentInfo: { name: "UR-Nexus", version: "1.77.1" }
480943
+ agentInfo: { name: "UR-Nexus", version: "1.77.2" }
480939
480944
  });
480940
480945
  return;
480941
480946
  case "authenticate":
@@ -690395,7 +690400,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
690395
690400
  smapsRollup,
690396
690401
  platform: process.platform,
690397
690402
  nodeVersion: process.version,
690398
- ccVersion: "1.77.1"
690403
+ ccVersion: "1.77.2"
690399
690404
  };
690400
690405
  }
690401
690406
  async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
@@ -690975,7 +690980,7 @@ var init_bridge_kick = __esm(() => {
690975
690980
  var call154 = async () => {
690976
690981
  return {
690977
690982
  type: "text",
690978
- value: "1.77.1"
690983
+ value: "1.77.2"
690979
690984
  };
690980
690985
  }, version2, version_default;
690981
690986
  var init_version = __esm(() => {
@@ -702242,7 +702247,7 @@ function generateHtmlReport(data, insights) {
702242
702247
  </html>`;
702243
702248
  }
702244
702249
  function buildExportData(data, insights, facets, remoteStats) {
702245
- const version3 = typeof MACRO !== "undefined" ? "1.77.1" : "unknown";
702250
+ const version3 = typeof MACRO !== "undefined" ? "1.77.2" : "unknown";
702246
702251
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
702247
702252
  const facets_summary = {
702248
702253
  total: facets.size,
@@ -706556,7 +706561,7 @@ var init_sessionStorage = __esm(() => {
706556
706561
  init_settings2();
706557
706562
  init_slowOperations();
706558
706563
  init_uuid();
706559
- VERSION7 = typeof MACRO !== "undefined" ? "1.77.1" : "unknown";
706564
+ VERSION7 = typeof MACRO !== "undefined" ? "1.77.2" : "unknown";
706560
706565
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
706561
706566
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
706562
706567
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -707771,7 +707776,7 @@ var init_filesystem = __esm(() => {
707771
707776
  });
707772
707777
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
707773
707778
  const nonce = randomBytes20(16).toString("hex");
707774
- return join232(getURTempDir(), "bundled-skills", "1.77.1", nonce);
707779
+ return join232(getURTempDir(), "bundled-skills", "1.77.2", nonce);
707775
707780
  });
707776
707781
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
707777
707782
  });
@@ -714126,7 +714131,7 @@ function computeFingerprint(messageText2, version3) {
714126
714131
  }
714127
714132
  function computeFingerprintFromMessages(messages) {
714128
714133
  const firstMessageText = extractFirstMessageText(messages);
714129
- return computeFingerprint(firstMessageText, "1.77.1");
714134
+ return computeFingerprint(firstMessageText, "1.77.2");
714130
714135
  }
714131
714136
  var FINGERPRINT_SALT = "59cf53e54c78";
714132
714137
  var init_fingerprint = () => {};
@@ -716048,7 +716053,7 @@ async function sideQuery(opts) {
716048
716053
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
716049
716054
  }
716050
716055
  const messageText2 = extractFirstUserMessageText(messages);
716051
- const fingerprint2 = computeFingerprint(messageText2, "1.77.1");
716056
+ const fingerprint2 = computeFingerprint(messageText2, "1.77.2");
716052
716057
  const attributionHeader = getAttributionHeader(fingerprint2);
716053
716058
  const systemBlocks = [
716054
716059
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -720885,7 +720890,7 @@ function buildSystemInitMessage(inputs) {
720885
720890
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
720886
720891
  apiKeySource: getURHQApiKeyWithSource().source,
720887
720892
  betas: getSdkBetas(),
720888
- ur_version: "1.77.1",
720893
+ ur_version: "1.77.2",
720889
720894
  output_style: outputStyle2,
720890
720895
  agents: inputs.agents.map((agent2) => agent2.agentType),
720891
720896
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
@@ -734757,7 +734762,7 @@ var init_useVoiceEnabled = __esm(() => {
734757
734762
  function getSemverPart(version3) {
734758
734763
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
734759
734764
  }
734760
- function useUpdateNotification(updatedVersion, initialVersion = "1.77.1") {
734765
+ function useUpdateNotification(updatedVersion, initialVersion = "1.77.2") {
734761
734766
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react223.useState(() => getSemverPart(initialVersion));
734762
734767
  if (!updatedVersion) {
734763
734768
  return null;
@@ -734806,7 +734811,7 @@ function AutoUpdater({
734806
734811
  return;
734807
734812
  }
734808
734813
  if (false) {}
734809
- const currentVersion = "1.77.1";
734814
+ const currentVersion = "1.77.2";
734810
734815
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
734811
734816
  let latestVersion = await getLatestVersion(channel);
734812
734817
  const isDisabled = isAutoUpdaterDisabled();
@@ -735035,12 +735040,12 @@ function NativeAutoUpdater({
735035
735040
  logEvent("tengu_native_auto_updater_start", {});
735036
735041
  try {
735037
735042
  const maxVersion = await getMaxVersion();
735038
- if (maxVersion && gt("1.77.1", maxVersion)) {
735043
+ if (maxVersion && gt("1.77.2", maxVersion)) {
735039
735044
  const msg = await getMaxVersionMessage();
735040
735045
  setMaxVersionIssue(msg ?? "affects your version");
735041
735046
  }
735042
735047
  const result = await installLatest(channel);
735043
- const currentVersion = "1.77.1";
735048
+ const currentVersion = "1.77.2";
735044
735049
  const latencyMs = Date.now() - startTime;
735045
735050
  if (result.lockFailed) {
735046
735051
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -735177,17 +735182,17 @@ function PackageManagerAutoUpdater(t0) {
735177
735182
  const maxVersion = await getMaxVersion();
735178
735183
  if (maxVersion && latest && gt(latest, maxVersion)) {
735179
735184
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
735180
- if (gte("1.77.1", maxVersion)) {
735181
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.77.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
735185
+ if (gte("1.77.2", maxVersion)) {
735186
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.77.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
735182
735187
  setUpdateAvailable(false);
735183
735188
  return;
735184
735189
  }
735185
735190
  latest = maxVersion;
735186
735191
  }
735187
- const hasUpdate = latest && !gte("1.77.1", latest) && !shouldSkipVersion(latest);
735192
+ const hasUpdate = latest && !gte("1.77.2", latest) && !shouldSkipVersion(latest);
735188
735193
  setUpdateAvailable(!!hasUpdate);
735189
735194
  if (hasUpdate) {
735190
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.77.1"} -> ${latest}`);
735195
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.77.2"} -> ${latest}`);
735191
735196
  }
735192
735197
  };
735193
735198
  $2[0] = t1;
@@ -735221,7 +735226,7 @@ function PackageManagerAutoUpdater(t0) {
735221
735226
  wrap: "truncate",
735222
735227
  children: [
735223
735228
  "currentVersion: ",
735224
- "1.77.1"
735229
+ "1.77.2"
735225
735230
  ]
735226
735231
  }, undefined, true, undefined, this);
735227
735232
  $2[3] = verbose;
@@ -746021,7 +746026,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
746021
746026
  project_dir: getOriginalCwd(),
746022
746027
  added_dirs: addedDirs
746023
746028
  },
746024
- version: "1.77.1",
746029
+ version: "1.77.2",
746025
746030
  output_style: {
746026
746031
  name: outputStyleName
746027
746032
  },
@@ -746156,7 +746161,7 @@ function StatusLineInner({
746156
746161
  const attention = customStatusError ?? taskAttention;
746157
746162
  const terminalSize = React132.useContext(TerminalSizeContext);
746158
746163
  const defaultStatusLineText = buildDefaultStatusBar({
746159
- version: "1.77.1",
746164
+ version: "1.77.2",
746160
746165
  providerLabel: providerRuntime.providerLabel,
746161
746166
  authMode: providerRuntime.authLabel,
746162
746167
  model: renderModelName(mainLoopModel) || providerRuntime.model || "",
@@ -758441,7 +758446,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
758441
758446
  } catch {}
758442
758447
  const data = {
758443
758448
  trigger: trigger2,
758444
- version: "1.77.1",
758449
+ version: "1.77.2",
758445
758450
  platform: process.platform,
758446
758451
  transcript,
758447
758452
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -770815,7 +770820,7 @@ function WelcomeV2() {
770815
770820
  dimColor: true,
770816
770821
  children: [
770817
770822
  "v",
770818
- "1.77.1"
770823
+ "1.77.2"
770819
770824
  ]
770820
770825
  }, undefined, true, undefined, this)
770821
770826
  ]
@@ -772075,7 +772080,7 @@ function completeOnboarding() {
772075
772080
  saveGlobalConfig((current) => ({
772076
772081
  ...current,
772077
772082
  hasCompletedOnboarding: true,
772078
- lastOnboardingVersion: "1.77.1"
772083
+ lastOnboardingVersion: "1.77.2"
772079
772084
  }));
772080
772085
  }
772081
772086
  function showDialog(root2, renderer) {
@@ -777119,7 +777124,7 @@ function appendToLog(path24, message) {
777119
777124
  cwd: getFsImplementation().cwd(),
777120
777125
  userType: process.env.USER_TYPE,
777121
777126
  sessionId: getSessionId(),
777122
- version: "1.77.1"
777127
+ version: "1.77.2"
777123
777128
  };
777124
777129
  getLogWriter(path24).write(messageWithTimestamp);
777125
777130
  }
@@ -781278,8 +781283,8 @@ async function getEnvLessBridgeConfig() {
781278
781283
  }
781279
781284
  async function checkEnvLessBridgeMinVersion() {
781280
781285
  const cfg = await getEnvLessBridgeConfig();
781281
- if (cfg.min_version && lt("1.77.1", cfg.min_version)) {
781282
- return `Your version of UR (${"1.77.1"}) is too old for Remote Control.
781286
+ if (cfg.min_version && lt("1.77.2", cfg.min_version)) {
781287
+ return `Your version of UR (${"1.77.2"}) is too old for Remote Control.
781283
781288
  Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
781284
781289
  }
781285
781290
  return null;
@@ -781753,7 +781758,7 @@ async function initBridgeCore(params) {
781753
781758
  const rawApi = createBridgeApiClient({
781754
781759
  baseUrl,
781755
781760
  getAccessToken,
781756
- runnerVersion: "1.77.1",
781761
+ runnerVersion: "1.77.2",
781757
781762
  onDebug: logForDebugging,
781758
781763
  onAuth401,
781759
781764
  getTrustedDeviceToken
@@ -791226,7 +791231,7 @@ function getAgUiCapabilities() {
791226
791231
  name: "UR-Nexus",
791227
791232
  type: "ur-nexus",
791228
791233
  description: "Provider-flexible, local-first autonomous engineering workflow agent.",
791229
- version: "1.77.1",
791234
+ version: "1.77.2",
791230
791235
  provider: "UR",
791231
791236
  documentationUrl: "https://github.com/Maitham16/UR/blob/master/docs/AG_UI.md"
791232
791237
  },
@@ -792366,7 +792371,7 @@ function createMCPServer(cwd4, debug2, verbose) {
792366
792371
  };
792367
792372
  const server2 = new Server({
792368
792373
  name: "ur-nexus",
792369
- version: "1.77.1"
792374
+ version: "1.77.2"
792370
792375
  }, {
792371
792376
  capabilities: {
792372
792377
  tools: {}
@@ -793524,7 +793529,7 @@ function thrownResponse(error40) {
793524
793529
  }
793525
793530
  async function createUrMcp2026Runtime(options4) {
793526
793531
  const server2 = createMCPServer(options4.cwd, options4.debug === true, options4.verbose === true);
793527
- const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.77.1" }, { capabilities: {} });
793532
+ const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.77.2" }, { capabilities: {} });
793528
793533
  const [clientTransport, serverTransport] = createLinkedTransportPair();
793529
793534
  try {
793530
793535
  await server2.connect(serverTransport);
@@ -793535,7 +793540,7 @@ async function createUrMcp2026Runtime(options4) {
793535
793540
  }
793536
793541
  const runtime2 = new Mcp2026Runtime({
793537
793542
  cwd: options4.cwd,
793538
- version: "1.77.1",
793543
+ version: "1.77.2",
793539
793544
  backend: {
793540
793545
  listTools: async () => {
793541
793546
  const listed = await client2.listTools();
@@ -795676,7 +795681,7 @@ async function update() {
795676
795681
  logEvent("tengu_update_check", {});
795677
795682
  const diagnostic2 = await getDoctorDiagnostic();
795678
795683
  const result = await checkUpgradeStatus({
795679
- currentVersion: "1.77.1",
795684
+ currentVersion: "1.77.2",
795680
795685
  packageName: UR_AGENT_PACKAGE_NAME,
795681
795686
  installationType: diagnostic2.installationType,
795682
795687
  latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
@@ -796992,7 +796997,7 @@ ${customInstructions}` : customInstructions;
796992
796997
  }
796993
796998
  }
796994
796999
  logForDiagnosticsNoPII("info", "started", {
796995
- version: "1.77.1",
797000
+ version: "1.77.2",
796996
797001
  is_native_binary: isInBundledMode()
796997
797002
  });
796998
797003
  registerCleanup(async () => {
@@ -797778,7 +797783,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
797778
797783
  pendingHookMessages
797779
797784
  }, renderAndRun);
797780
797785
  }
797781
- }).version("1.77.1 (UR-Nexus)", "-v, --version", "Output the version number");
797786
+ }).version("1.77.2 (UR-Nexus)", "-v, --version", "Output the version number");
797782
797787
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
797783
797788
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
797784
797789
  if (canUserConfigureAdvisor()) {
@@ -798830,7 +798835,7 @@ if (false) {}
798830
798835
  async function main2() {
798831
798836
  const args = process.argv.slice(2);
798832
798837
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
798833
- console.log(`${"1.77.1"} (UR-Nexus)`);
798838
+ console.log(`${"1.77.2"} (UR-Nexus)`);
798834
798839
  return;
798835
798840
  }
798836
798841
  if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
@@ -19,7 +19,7 @@ You need:
19
19
 
20
20
  ```sh
21
21
  ur --version
22
- # expected for this release: "1.77.1 (UR-Nexus)"
22
+ # expected for this release: "1.77.2 (UR-Nexus)"
23
23
  ```
24
24
 
25
25
  ## 0.1 First-workspace model selection (1.45.4)
@@ -45,7 +45,7 @@
45
45
  <main id="content" class="content">
46
46
  <header class="topbar">
47
47
  <div>
48
- <p class="eyebrow">Version 1.77.1</p>
48
+ <p class="eyebrow">Version 1.77.2</p>
49
49
  <h1>UR-Nexus Documentation</h1>
50
50
  <p class="lead">A practical, tutorial-style reference for installing, configuring, automating, extending, and operating UR-Nexus.</p>
51
51
  </div>
@@ -7,7 +7,7 @@ plugins {
7
7
  }
8
8
 
9
9
  group = "dev.urnexus"
10
- version = "1.77.1"
10
+ version = "1.77.2"
11
11
 
12
12
  repositories {
13
13
  mavenCentral()
@@ -2,7 +2,7 @@
2
2
  "name": "ur-inline-diffs",
3
3
  "displayName": "UR Inline Diffs",
4
4
  "description": "Review, apply, and reject UR inline diff bundles from .ur/ide/diffs inside VS Code.",
5
- "version": "1.77.1",
5
+ "version": "1.77.2",
6
6
  "publisher": "ur-nexus",
7
7
  "engines": {
8
8
  "vscode": "^1.92.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ur-agent",
3
- "version": "1.77.1",
3
+ "version": "1.77.2",
4
4
  "description": "UR-Nexus — autonomous engineering workflow engine (plan, execute, test, verify, document, benchmark, reproduce)",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.14",