ur-agent 1.25.1 → 1.25.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -66884,7 +66884,7 @@ var init_auth = __esm(() => {
66884
66884
 
66885
66885
  // src/utils/userAgent.ts
66886
66886
  function getURCodeUserAgent() {
66887
- return `ur/${"1.25.1"}`;
66887
+ return `ur/${"1.25.3"}`;
66888
66888
  }
66889
66889
 
66890
66890
  // src/utils/workloadContext.ts
@@ -66906,7 +66906,7 @@ function getUserAgent() {
66906
66906
  const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
66907
66907
  const workload = getWorkload();
66908
66908
  const workloadSuffix = workload ? `, workload/${workload}` : "";
66909
- return `ur-cli/${"1.25.1"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
66909
+ return `ur-cli/${"1.25.3"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
66910
66910
  }
66911
66911
  function getMCPUserAgent() {
66912
66912
  const parts = [];
@@ -66920,7 +66920,7 @@ function getMCPUserAgent() {
66920
66920
  parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
66921
66921
  }
66922
66922
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
66923
- return `ur/${"1.25.1"}${suffix}`;
66923
+ return `ur/${"1.25.3"}${suffix}`;
66924
66924
  }
66925
66925
  function getWebFetchUserAgent() {
66926
66926
  return `UR-User (${getURCodeUserAgent()})`;
@@ -67058,7 +67058,7 @@ var init_user = __esm(() => {
67058
67058
  deviceId,
67059
67059
  sessionId: getSessionId(),
67060
67060
  email: getEmail(),
67061
- appVersion: "1.25.1",
67061
+ appVersion: "1.25.3",
67062
67062
  platform: getHostPlatformForAnalytics(),
67063
67063
  organizationUuid,
67064
67064
  accountUuid,
@@ -73575,7 +73575,7 @@ var init_metadata = __esm(() => {
73575
73575
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
73576
73576
  WHITESPACE_REGEX = /\s+/;
73577
73577
  getVersionBase = memoize_default(() => {
73578
- const match = "1.25.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
73578
+ const match = "1.25.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
73579
73579
  return match ? match[0] : undefined;
73580
73580
  });
73581
73581
  buildEnvContext = memoize_default(async () => {
@@ -73615,7 +73615,7 @@ var init_metadata = __esm(() => {
73615
73615
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
73616
73616
  isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
73617
73617
  isURAiAuth: isURAISubscriber2(),
73618
- version: "1.25.1",
73618
+ version: "1.25.3",
73619
73619
  versionBase: getVersionBase(),
73620
73620
  buildTime: "",
73621
73621
  deploymentEnvironment: env2.detectDeploymentEnvironment(),
@@ -74285,7 +74285,7 @@ function initialize1PEventLogging() {
74285
74285
  const platform2 = getPlatform();
74286
74286
  const attributes = {
74287
74287
  [import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
74288
- [import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.25.1"
74288
+ [import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.25.3"
74289
74289
  };
74290
74290
  if (platform2 === "wsl") {
74291
74291
  const wslVersion = getWslVersion();
@@ -74312,7 +74312,7 @@ function initialize1PEventLogging() {
74312
74312
  })
74313
74313
  ]
74314
74314
  });
74315
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.25.1");
74315
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.25.3");
74316
74316
  }
74317
74317
  async function reinitialize1PEventLoggingIfConfigChanged() {
74318
74318
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -79578,7 +79578,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
79578
79578
  function formatA2AAgentCard(options = {}, pretty = true) {
79579
79579
  return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
79580
79580
  }
79581
- var urVersion = "1.25.1", coverage, priorityRoadmap;
79581
+ var urVersion = "1.25.3", coverage, priorityRoadmap;
79582
79582
  var init_trends = __esm(() => {
79583
79583
  coverage = [
79584
79584
  {
@@ -81570,7 +81570,7 @@ function getAttributionHeader(fingerprint) {
81570
81570
  if (!isAttributionHeaderEnabled()) {
81571
81571
  return "";
81572
81572
  }
81573
- const version2 = `${"1.25.1"}.${fingerprint}`;
81573
+ const version2 = `${"1.25.3"}.${fingerprint}`;
81574
81574
  const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
81575
81575
  const cch = "";
81576
81576
  const workload = getWorkload();
@@ -128897,7 +128897,7 @@ How to use the statusLine command:
128897
128897
  "project_dir": "string", // Project root directory path
128898
128898
  "added_dirs": ["string"] // Directories added via /add-dir
128899
128899
  },
128900
- "version": "string", // UR-AGENT app version (e.g., "1.25.1")
128900
+ "version": "string", // UR-AGENT app version (e.g., "1.25.3")
128901
128901
  "output_style": {
128902
128902
  "name": "string", // Output style name (e.g., "default", "Explanatory", "Learning")
128903
128903
  },
@@ -189239,7 +189239,7 @@ function getTelemetryAttributes() {
189239
189239
  attributes["session.id"] = sessionId;
189240
189240
  }
189241
189241
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
189242
- attributes["app.version"] = "1.25.1";
189242
+ attributes["app.version"] = "1.25.3";
189243
189243
  }
189244
189244
  const oauthAccount = getOauthAccountInfo();
189245
189245
  if (oauthAccount) {
@@ -224641,7 +224641,7 @@ function getInstallationEnv() {
224641
224641
  return;
224642
224642
  }
224643
224643
  function getURCodeVersion() {
224644
- return "1.25.1";
224644
+ return "1.25.3";
224645
224645
  }
224646
224646
  async function getInstalledVSCodeExtensionVersion(command) {
224647
224647
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -227480,8 +227480,8 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
227480
227480
  const client2 = new Client({
227481
227481
  name: "ur",
227482
227482
  title: "UR",
227483
- version: "1.25.1",
227484
- description: "URHQ's agentic coding tool",
227483
+ version: "1.25.3",
227484
+ description: "UR-AGENT autonomous engineering workflow engine",
227485
227485
  websiteUrl: PRODUCT_URL
227486
227486
  }, {
227487
227487
  capabilities: {}
@@ -227834,8 +227834,8 @@ var init_client5 = __esm(() => {
227834
227834
  const client2 = new Client({
227835
227835
  name: "ur",
227836
227836
  title: "UR",
227837
- version: "1.25.1",
227838
- description: "URHQ's agentic coding tool",
227837
+ version: "1.25.3",
227838
+ description: "UR-AGENT autonomous engineering workflow engine",
227839
227839
  websiteUrl: PRODUCT_URL
227840
227840
  }, {
227841
227841
  capabilities: {
@@ -237647,9 +237647,9 @@ async function assertMinVersion() {
237647
237647
  if (false) {}
237648
237648
  try {
237649
237649
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
237650
- if (versionConfig.minVersion && lt("1.25.1", versionConfig.minVersion)) {
237650
+ if (versionConfig.minVersion && lt("1.25.3", versionConfig.minVersion)) {
237651
237651
  console.error(`
237652
- It looks like your version of UR (${"1.25.1"}) needs an update.
237652
+ It looks like your version of UR (${"1.25.3"}) needs an update.
237653
237653
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
237654
237654
 
237655
237655
  To update, please run:
@@ -237865,7 +237865,7 @@ async function installGlobalPackage(specificVersion) {
237865
237865
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
237866
237866
  logEvent("tengu_auto_updater_lock_contention", {
237867
237867
  pid: process.pid,
237868
- currentVersion: "1.25.1"
237868
+ currentVersion: "1.25.3"
237869
237869
  });
237870
237870
  return "in_progress";
237871
237871
  }
@@ -237874,7 +237874,7 @@ async function installGlobalPackage(specificVersion) {
237874
237874
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
237875
237875
  logError2(new Error("Windows NPM detected in WSL environment"));
237876
237876
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
237877
- currentVersion: "1.25.1"
237877
+ currentVersion: "1.25.3"
237878
237878
  });
237879
237879
  console.error(`
237880
237880
  Error: Windows NPM detected in WSL
@@ -238409,7 +238409,7 @@ function detectLinuxGlobPatternWarnings() {
238409
238409
  }
238410
238410
  async function getDoctorDiagnostic() {
238411
238411
  const installationType = await getCurrentInstallationType();
238412
- const version2 = typeof MACRO !== "undefined" ? "1.25.1" : "unknown";
238412
+ const version2 = typeof MACRO !== "undefined" ? "1.25.3" : "unknown";
238413
238413
  const installationPath = await getInstallationPath();
238414
238414
  const invokedBinary = getInvokedBinary();
238415
238415
  const multipleInstallations = await detectMultipleInstallations();
@@ -239344,8 +239344,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
239344
239344
  const maxVersion = await getMaxVersion();
239345
239345
  if (maxVersion && gt(version2, maxVersion)) {
239346
239346
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
239347
- if (gte("1.25.1", maxVersion)) {
239348
- logForDebugging(`Native installer: current version ${"1.25.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
239347
+ if (gte("1.25.3", maxVersion)) {
239348
+ logForDebugging(`Native installer: current version ${"1.25.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
239349
239349
  logEvent("tengu_native_update_skipped_max_version", {
239350
239350
  latency_ms: Date.now() - startTime,
239351
239351
  max_version: maxVersion,
@@ -239356,7 +239356,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
239356
239356
  version2 = maxVersion;
239357
239357
  }
239358
239358
  }
239359
- if (!forceReinstall && version2 === "1.25.1" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
239359
+ if (!forceReinstall && version2 === "1.25.3" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
239360
239360
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
239361
239361
  logEvent("tengu_native_update_complete", {
239362
239362
  latency_ms: Date.now() - startTime,
@@ -336268,7 +336268,7 @@ function Feedback({
336268
336268
  platform: env2.platform,
336269
336269
  gitRepo: envInfo.isGit,
336270
336270
  terminal: env2.terminal,
336271
- version: "1.25.1",
336271
+ version: "1.25.3",
336272
336272
  transcript: normalizeMessagesForAPI(messages),
336273
336273
  errors: sanitizedErrors,
336274
336274
  lastApiRequest: getLastAPIRequest(),
@@ -336460,7 +336460,7 @@ function Feedback({
336460
336460
  ", ",
336461
336461
  env2.terminal,
336462
336462
  ", v",
336463
- "1.25.1"
336463
+ "1.25.3"
336464
336464
  ]
336465
336465
  }, undefined, true, undefined, this)
336466
336466
  ]
@@ -336566,7 +336566,7 @@ ${sanitizedDescription}
336566
336566
  ` + `**Environment Info**
336567
336567
  ` + `- Platform: ${env2.platform}
336568
336568
  ` + `- Terminal: ${env2.terminal}
336569
- ` + `- Version: ${"1.25.1"}
336569
+ ` + `- Version: ${"1.25.3"}
336570
336570
  ` + `- Feedback ID: ${feedbackId}
336571
336571
  ` + `
336572
336572
  **Errors**
@@ -339677,7 +339677,7 @@ function buildPrimarySection() {
339677
339677
  }, undefined, false, undefined, this);
339678
339678
  return [{
339679
339679
  label: "Version",
339680
- value: "1.25.1"
339680
+ value: "1.25.3"
339681
339681
  }, {
339682
339682
  label: "Session name",
339683
339683
  value: nameValue
@@ -342955,7 +342955,7 @@ function Config({
342955
342955
  }
342956
342956
  }, undefined, false, undefined, this)
342957
342957
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
342958
- currentVersion: "1.25.1",
342958
+ currentVersion: "1.25.3",
342959
342959
  onChoice: (choice) => {
342960
342960
  setShowSubmenu(null);
342961
342961
  setTabsHidden(false);
@@ -342967,7 +342967,7 @@ function Config({
342967
342967
  autoUpdatesChannel: "stable"
342968
342968
  };
342969
342969
  if (choice === "stay") {
342970
- newSettings.minimumVersion = "1.25.1";
342970
+ newSettings.minimumVersion = "1.25.3";
342971
342971
  }
342972
342972
  updateSettingsForSource("userSettings", newSettings);
342973
342973
  setSettingsData((prev_27) => ({
@@ -351037,7 +351037,7 @@ function HelpV2(t0) {
351037
351037
  let t6;
351038
351038
  if ($3[31] !== tabs) {
351039
351039
  t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
351040
- title: `UR v${"1.25.1"}`,
351040
+ title: `UR v${"1.25.3"}`,
351041
351041
  color: "professionalBlue",
351042
351042
  defaultTab: "general",
351043
351043
  children: tabs
@@ -371139,7 +371139,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
371139
371139
  return [];
371140
371140
  }
371141
371141
  }
371142
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.25.1") {
371142
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.25.3") {
371143
371143
  if (process.env.USER_TYPE === "ant") {
371144
371144
  const changelog = "";
371145
371145
  if (changelog) {
@@ -371166,7 +371166,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.25.1")
371166
371166
  releaseNotes
371167
371167
  };
371168
371168
  }
371169
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.25.1") {
371169
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.25.3") {
371170
371170
  if (process.env.USER_TYPE === "ant") {
371171
371171
  const changelog = "";
371172
371172
  if (changelog) {
@@ -372336,7 +372336,7 @@ function getRecentActivitySync() {
372336
372336
  return cachedActivity;
372337
372337
  }
372338
372338
  function getLogoDisplayData() {
372339
- const version2 = process.env.DEMO_VERSION ?? "1.25.1";
372339
+ const version2 = process.env.DEMO_VERSION ?? "1.25.3";
372340
372340
  const serverUrl = getDirectConnectServerUrl();
372341
372341
  const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
372342
372342
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -373125,7 +373125,7 @@ function LogoV2() {
373125
373125
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
373126
373126
  t2 = () => {
373127
373127
  const currentConfig = getGlobalConfig();
373128
- if (currentConfig.lastReleaseNotesSeen === "1.25.1") {
373128
+ if (currentConfig.lastReleaseNotesSeen === "1.25.3") {
373129
373129
  return;
373130
373130
  }
373131
373131
  saveGlobalConfig(_temp326);
@@ -373810,12 +373810,12 @@ function LogoV2() {
373810
373810
  return t41;
373811
373811
  }
373812
373812
  function _temp326(current) {
373813
- if (current.lastReleaseNotesSeen === "1.25.1") {
373813
+ if (current.lastReleaseNotesSeen === "1.25.3") {
373814
373814
  return current;
373815
373815
  }
373816
373816
  return {
373817
373817
  ...current,
373818
- lastReleaseNotesSeen: "1.25.1"
373818
+ lastReleaseNotesSeen: "1.25.3"
373819
373819
  };
373820
373820
  }
373821
373821
  function _temp243(s_0) {
@@ -390804,7 +390804,7 @@ function buildToolUseContext(tools, readFileStateCache) {
390804
390804
  async function handleInitialize() {
390805
390805
  return {
390806
390806
  name: "ur-agent",
390807
- version: "1.25.1",
390807
+ version: "1.25.3",
390808
390808
  protocolVersion: "0.1.0"
390809
390809
  };
390810
390810
  }
@@ -589798,7 +589798,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
589798
589798
  smapsRollup,
589799
589799
  platform: process.platform,
589800
589800
  nodeVersion: process.version,
589801
- ccVersion: "1.25.1"
589801
+ ccVersion: "1.25.3"
589802
589802
  };
589803
589803
  }
589804
589804
  async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
@@ -590384,7 +590384,7 @@ var init_bridge_kick = __esm(() => {
590384
590384
  var call136 = async () => {
590385
590385
  return {
590386
590386
  type: "text",
590387
- value: "1.25.1"
590387
+ value: "1.25.3"
590388
590388
  };
590389
590389
  }, version2, version_default;
590390
590390
  var init_version = __esm(() => {
@@ -599476,7 +599476,7 @@ function generateHtmlReport(data, insights) {
599476
599476
  </html>`;
599477
599477
  }
599478
599478
  function buildExportData(data, insights, facets, remoteStats) {
599479
- const version3 = typeof MACRO !== "undefined" ? "1.25.1" : "unknown";
599479
+ const version3 = typeof MACRO !== "undefined" ? "1.25.3" : "unknown";
599480
599480
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
599481
599481
  const facets_summary = {
599482
599482
  total: facets.size,
@@ -603751,7 +603751,7 @@ var init_sessionStorage = __esm(() => {
603751
603751
  init_settings2();
603752
603752
  init_slowOperations();
603753
603753
  init_uuid();
603754
- VERSION5 = typeof MACRO !== "undefined" ? "1.25.1" : "unknown";
603754
+ VERSION5 = typeof MACRO !== "undefined" ? "1.25.3" : "unknown";
603755
603755
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
603756
603756
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
603757
603757
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -604956,7 +604956,7 @@ var init_filesystem = __esm(() => {
604956
604956
  });
604957
604957
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
604958
604958
  const nonce = randomBytes18(16).toString("hex");
604959
- return join200(getURTempDir(), "bundled-skills", "1.25.1", nonce);
604959
+ return join200(getURTempDir(), "bundled-skills", "1.25.3", nonce);
604960
604960
  });
604961
604961
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
604962
604962
  });
@@ -611246,7 +611246,7 @@ function computeFingerprint(messageText, version3) {
611246
611246
  }
611247
611247
  function computeFingerprintFromMessages(messages) {
611248
611248
  const firstMessageText = extractFirstMessageText(messages);
611249
- return computeFingerprint(firstMessageText, "1.25.1");
611249
+ return computeFingerprint(firstMessageText, "1.25.3");
611250
611250
  }
611251
611251
  var FINGERPRINT_SALT = "59cf53e54c78";
611252
611252
  var init_fingerprint = () => {};
@@ -613112,7 +613112,7 @@ async function sideQuery(opts) {
613112
613112
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
613113
613113
  }
613114
613114
  const messageText = extractFirstUserMessageText(messages);
613115
- const fingerprint = computeFingerprint(messageText, "1.25.1");
613115
+ const fingerprint = computeFingerprint(messageText, "1.25.3");
613116
613116
  const attributionHeader = getAttributionHeader(fingerprint);
613117
613117
  const systemBlocks = [
613118
613118
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -617849,7 +617849,7 @@ function buildSystemInitMessage(inputs) {
617849
617849
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
617850
617850
  apiKeySource: getURHQApiKeyWithSource().source,
617851
617851
  betas: getSdkBetas(),
617852
- ur_version: "1.25.1",
617852
+ ur_version: "1.25.3",
617853
617853
  output_style: outputStyle2,
617854
617854
  agents: inputs.agents.map((agent) => agent.agentType),
617855
617855
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
@@ -632477,7 +632477,7 @@ var init_useVoiceEnabled = __esm(() => {
632477
632477
  function getSemverPart(version3) {
632478
632478
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
632479
632479
  }
632480
- function useUpdateNotification(updatedVersion, initialVersion = "1.25.1") {
632480
+ function useUpdateNotification(updatedVersion, initialVersion = "1.25.3") {
632481
632481
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
632482
632482
  if (!updatedVersion) {
632483
632483
  return null;
@@ -632526,7 +632526,7 @@ function AutoUpdater({
632526
632526
  return;
632527
632527
  }
632528
632528
  if (false) {}
632529
- const currentVersion = "1.25.1";
632529
+ const currentVersion = "1.25.3";
632530
632530
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
632531
632531
  let latestVersion = await getLatestVersion(channel);
632532
632532
  const isDisabled = isAutoUpdaterDisabled();
@@ -632755,12 +632755,12 @@ function NativeAutoUpdater({
632755
632755
  logEvent("tengu_native_auto_updater_start", {});
632756
632756
  try {
632757
632757
  const maxVersion = await getMaxVersion();
632758
- if (maxVersion && gt("1.25.1", maxVersion)) {
632758
+ if (maxVersion && gt("1.25.3", maxVersion)) {
632759
632759
  const msg = await getMaxVersionMessage();
632760
632760
  setMaxVersionIssue(msg ?? "affects your version");
632761
632761
  }
632762
632762
  const result = await installLatest(channel);
632763
- const currentVersion = "1.25.1";
632763
+ const currentVersion = "1.25.3";
632764
632764
  const latencyMs = Date.now() - startTime;
632765
632765
  if (result.lockFailed) {
632766
632766
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -632897,17 +632897,17 @@ function PackageManagerAutoUpdater(t0) {
632897
632897
  const maxVersion = await getMaxVersion();
632898
632898
  if (maxVersion && latest && gt(latest, maxVersion)) {
632899
632899
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
632900
- if (gte("1.25.1", maxVersion)) {
632901
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.25.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
632900
+ if (gte("1.25.3", maxVersion)) {
632901
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.25.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
632902
632902
  setUpdateAvailable(false);
632903
632903
  return;
632904
632904
  }
632905
632905
  latest = maxVersion;
632906
632906
  }
632907
- const hasUpdate = latest && !gte("1.25.1", latest) && !shouldSkipVersion(latest);
632907
+ const hasUpdate = latest && !gte("1.25.3", latest) && !shouldSkipVersion(latest);
632908
632908
  setUpdateAvailable(!!hasUpdate);
632909
632909
  if (hasUpdate) {
632910
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.25.1"} -> ${latest}`);
632910
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.25.3"} -> ${latest}`);
632911
632911
  }
632912
632912
  };
632913
632913
  $3[0] = t1;
@@ -632941,7 +632941,7 @@ function PackageManagerAutoUpdater(t0) {
632941
632941
  wrap: "truncate",
632942
632942
  children: [
632943
632943
  "currentVersion: ",
632944
- "1.25.1"
632944
+ "1.25.3"
632945
632945
  ]
632946
632946
  }, undefined, true, undefined, this);
632947
632947
  $3[3] = verbose;
@@ -645256,21 +645256,35 @@ var init_VimTextInput = __esm(() => {
645256
645256
 
645257
645257
  // src/services/providers/providerRegistry.ts
645258
645258
  import { spawn as spawn12 } from "child_process";
645259
+ function normalizeProviderInput(value) {
645260
+ return value.trim().toLowerCase().replace(/[_\s]+/g, "-");
645261
+ }
645259
645262
  function isProviderId(value) {
645260
645263
  return PROVIDER_IDS.includes(value);
645261
645264
  }
645265
+ function resolveProviderId(value) {
645266
+ const normalized = normalizeProviderInput(value);
645267
+ if (isProviderId(normalized)) {
645268
+ return normalized;
645269
+ }
645270
+ return PROVIDER_ALIASES[normalized] ?? null;
645271
+ }
645272
+ function providerAliasesFor(id) {
645273
+ return PROVIDER_ALIAS_ENTRIES.find((entry) => entry.canonical === id)?.aliases ?? [];
645274
+ }
645262
645275
  function getProviderDefinition(id) {
645263
645276
  return PROVIDERS[id];
645264
645277
  }
645265
645278
  function getActiveProviderSettings(settings = getInitialSettings()) {
645266
645279
  const configured = settings.provider ?? {};
645267
- const active = configured.active && isProviderId(configured.active) ? configured.active : "ollama";
645280
+ const active = configured.active ? resolveProviderId(configured.active) ?? "ollama" : "ollama";
645281
+ const fallback = configured.fallback === "disabled" ? "disabled" : configured.fallback ? resolveProviderId(configured.fallback) ?? undefined : undefined;
645268
645282
  return {
645269
645283
  active,
645270
645284
  model: configured.model ?? settings.model,
645271
645285
  baseUrl: configured.baseUrl,
645272
645286
  commandPath: configured.commandPath,
645273
- fallback: configured.fallback
645287
+ fallback
645274
645288
  };
645275
645289
  }
645276
645290
  function getProviderRuntimeInfo(settings = getInitialSettings()) {
@@ -645342,21 +645356,23 @@ function setSafeProviderConfig(key, value) {
645342
645356
  let settings;
645343
645357
  try {
645344
645358
  if (key === "provider") {
645345
- if (!isProviderId(trimmed)) {
645359
+ const provider = resolveProviderId(trimmed);
645360
+ if (!provider) {
645346
645361
  return {
645347
645362
  ok: false,
645348
645363
  message: `Unknown provider "${trimmed}". Run: ur provider list`
645349
645364
  };
645350
645365
  }
645351
- settings = { provider: { active: trimmed } };
645366
+ settings = { provider: { active: provider } };
645352
645367
  } else if (key === "provider.fallback") {
645353
- if (trimmed !== "disabled" && !isProviderId(trimmed)) {
645368
+ const fallback = trimmed === "disabled" ? "disabled" : resolveProviderId(trimmed);
645369
+ if (!fallback) {
645354
645370
  return {
645355
645371
  ok: false,
645356
645372
  message: `Unknown fallback provider "${trimmed}". Run: ur provider list`
645357
645373
  };
645358
645374
  }
645359
- settings = { provider: { fallback: trimmed } };
645375
+ settings = { provider: { fallback } };
645360
645376
  } else if (key === "provider.command_path") {
645361
645377
  settings = { provider: { commandPath: trimmed } };
645362
645378
  } else if (key === "model") {
@@ -645377,7 +645393,8 @@ function setSafeProviderConfig(key, value) {
645377
645393
  message: `Failed to write UR-AGENT settings: ${result.error.message}`
645378
645394
  };
645379
645395
  }
645380
- return { ok: true, message: `Set ${key} to ${trimmed}.` };
645396
+ const savedValue = key === "provider" || key === "provider.fallback" ? key === "provider.fallback" && trimmed === "disabled" ? "disabled" : resolveProviderId(trimmed) ?? trimmed : trimmed;
645397
+ return { ok: true, message: `Set ${key} to ${savedValue}.` };
645381
645398
  }
645382
645399
  function outputText(result) {
645383
645400
  return `${result.stdout}
@@ -645496,11 +645513,11 @@ async function checkEndpoint(definition, settings, adapters, result) {
645496
645513
  async function checkSubscriptionProvider(definition, settings, adapters, result) {
645497
645514
  const commandPath = await resolveCommand(definition, settings, adapters);
645498
645515
  if (!commandPath) {
645499
- const command8 = definition.commandCandidates?.[0] ?? definition.id;
645516
+ const commands = definition.commandCandidates?.join(", ") ?? definition.id;
645500
645517
  result.checks.push({
645501
645518
  name: "cli",
645502
645519
  status: "fail",
645503
- message: `${command8} is not installed or not on PATH.`
645520
+ message: `No official CLI command found on PATH. Tried: ${commands}.`
645504
645521
  });
645505
645522
  addFailure(result, "CLI missing", `Install the official ${definition.displayName} CLI, then run ur auth ${authAliasForProvider(definition.id)}.`);
645506
645523
  return;
@@ -645721,12 +645738,14 @@ async function launchProviderAuth(alias2, options2 = {}) {
645721
645738
  }
645722
645739
  const commandPath = await resolveCommand(getProviderDefinition(provider), {}, {});
645723
645740
  if (!commandPath) {
645741
+ const commands = getProviderDefinition(provider).commandCandidates?.join(", ") ?? provider;
645724
645742
  return {
645725
645743
  ok: false,
645726
- message: `${authCommand.command} is not installed. Install the official CLI first.`
645744
+ message: `No official ${getProviderDefinition(provider).displayName} CLI command found. Tried: ${commands}. Install the official CLI first.`
645727
645745
  };
645728
645746
  }
645729
- const printable = [authCommand.command, ...authCommand.args].join(" ");
645747
+ const printableCommand = commandPath.split(/[\\/]/).pop() ?? authCommand.command;
645748
+ const printable = [printableCommand, ...authCommand.args].join(" ");
645730
645749
  if (options2.dryRun || !process.stdin.isTTY || !process.stdout.isTTY) {
645731
645750
  return {
645732
645751
  ok: true,
@@ -645754,6 +645773,7 @@ function formatProviderList(json2 = false) {
645754
645773
  const providers = listProviders().map((provider) => ({
645755
645774
  id: provider.id,
645756
645775
  name: provider.displayName,
645776
+ aliases: providerAliasesFor(provider.id),
645757
645777
  accessType: provider.accessType,
645758
645778
  authMode: provider.authMode,
645759
645779
  legalPath: provider.legalPath
@@ -645762,9 +645782,9 @@ function formatProviderList(json2 = false) {
645762
645782
  return JSON.stringify(providers, null, 2);
645763
645783
  }
645764
645784
  return [
645765
- "Provider Access type Legal path",
645766
- "---------------------------------------------------------",
645767
- ...providers.map((provider) => `${provider.name.padEnd(20)} ${provider.accessType.padEnd(17)} ${provider.legalPath}`)
645785
+ "Provider | ID | Aliases | Access type | Legal path",
645786
+ "--- | --- | --- | --- | ---",
645787
+ ...providers.map((provider) => `${provider.name} | ${provider.id} | ${provider.aliases.slice(0, 3).join(", ") || "-"} | ${provider.accessType} | ${provider.legalPath}`)
645768
645788
  ].join(`
645769
645789
  `);
645770
645790
  }
@@ -645804,7 +645824,7 @@ Suggested fix: ${result.suggestedFix}` : "";
645804
645824
  Auth mode: ${authModeLabel(result.authMode)}
645805
645825
  Ready: ${result.ok ? "yes" : "no"}${failure}${fix}`;
645806
645826
  }
645807
- var PROVIDER_IDS, LOCALHOST_RE, PROVIDERS;
645827
+ var PROVIDER_IDS, LOCALHOST_RE, PROVIDERS, PROVIDER_ALIAS_ENTRIES, PROVIDER_ALIASES;
645808
645828
  var init_providerRegistry = __esm(() => {
645809
645829
  init_execFileNoThrow();
645810
645830
  init_settings2();
@@ -645870,7 +645890,7 @@ var init_providerRegistry = __esm(() => {
645870
645890
  accessType: "subscription",
645871
645891
  authMode: "personal-login",
645872
645892
  legalPath: "official Antigravity CLI login, where supported",
645873
- commandCandidates: ["antigravity", "google-antigravity", "ag"],
645893
+ commandCandidates: ["agy", "antigravity", "google-antigravity", "ag"],
645874
645894
  versionArgs: ["--version"],
645875
645895
  loginArgs: []
645876
645896
  },
@@ -645961,6 +645981,65 @@ var init_providerRegistry = __esm(() => {
645961
645981
  endpointKind: "openai-compatible"
645962
645982
  }
645963
645983
  };
645984
+ PROVIDER_ALIAS_ENTRIES = [
645985
+ {
645986
+ canonical: "codex-cli",
645987
+ aliases: ["chatgpt", "codex", "codex cli", "openai codex", "chatgpt codex"]
645988
+ },
645989
+ {
645990
+ canonical: "claude-code-cli",
645991
+ aliases: ["claude", "claude code", "claude cli", "anthropic claude"]
645992
+ },
645993
+ {
645994
+ canonical: "gemini-cli",
645995
+ aliases: ["gemini", "gemini cli", "gemini code assist", "google gemini cli"]
645996
+ },
645997
+ {
645998
+ canonical: "antigravity-cli",
645999
+ aliases: ["antigravity", "antigravity cli", "agy", "ag", "google antigravity"]
646000
+ },
646001
+ {
646002
+ canonical: "openai-api",
646003
+ aliases: ["openai", "openai api"]
646004
+ },
646005
+ {
646006
+ canonical: "anthropic-api",
646007
+ aliases: ["anthropic", "anthropic claude api", "claude api"]
646008
+ },
646009
+ {
646010
+ canonical: "gemini-api",
646011
+ aliases: ["gemini api", "google gemini api"]
646012
+ },
646013
+ {
646014
+ canonical: "openrouter",
646015
+ aliases: ["openrouter api"]
646016
+ },
646017
+ {
646018
+ canonical: "openai-compatible",
646019
+ aliases: ["compatible", "openai compatible", "openai compatible api"]
646020
+ },
646021
+ {
646022
+ canonical: "ollama",
646023
+ aliases: ["ollama local"]
646024
+ },
646025
+ {
646026
+ canonical: "lmstudio",
646027
+ aliases: ["lm studio", "lm-studio"]
646028
+ },
646029
+ {
646030
+ canonical: "llama.cpp",
646031
+ aliases: ["llama cpp", "llamacpp", "llama-cpp"]
646032
+ },
646033
+ {
646034
+ canonical: "vllm",
646035
+ aliases: ["vllm server"]
646036
+ }
646037
+ ];
646038
+ PROVIDER_ALIASES = Object.fromEntries(PROVIDER_ALIAS_ENTRIES.flatMap((entry) => [
646039
+ [normalizeProviderInput(entry.canonical), entry.canonical],
646040
+ [entry.canonical, entry.canonical],
646041
+ ...entry.aliases.map((alias2) => [normalizeProviderInput(alias2), entry.canonical])
646042
+ ]));
645964
646043
  });
645965
646044
 
645966
646045
  // src/utils/statusBar.ts
@@ -646096,7 +646175,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
646096
646175
  project_dir: getOriginalCwd(),
646097
646176
  added_dirs: addedDirs
646098
646177
  },
646099
- version: "1.25.1",
646178
+ version: "1.25.3",
646100
646179
  output_style: {
646101
646180
  name: outputStyleName
646102
646181
  },
@@ -646171,7 +646250,7 @@ function StatusLineInner({
646171
646250
  const taskValues = Object.values(tasks2);
646172
646251
  const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
646173
646252
  const defaultStatusLineText = buildDefaultStatusBar({
646174
- version: "1.25.1",
646253
+ version: "1.25.3",
646175
646254
  providerLabel: providerRuntime.providerLabel,
646176
646255
  authMode: providerRuntime.authLabel,
646177
646256
  model: providerRuntime.model ?? renderModelName(mainLoopModel),
@@ -657657,7 +657736,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
657657
657736
  } catch {}
657658
657737
  const data = {
657659
657738
  trigger: trigger2,
657660
- version: "1.25.1",
657739
+ version: "1.25.3",
657661
657740
  platform: process.platform,
657662
657741
  transcript,
657663
657742
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -669539,7 +669618,7 @@ function WelcomeV2() {
669539
669618
  dimColor: true,
669540
669619
  children: [
669541
669620
  "v",
669542
- "1.25.1"
669621
+ "1.25.3"
669543
669622
  ]
669544
669623
  }, undefined, true, undefined, this)
669545
669624
  ]
@@ -670799,7 +670878,7 @@ function completeOnboarding() {
670799
670878
  saveGlobalConfig((current) => ({
670800
670879
  ...current,
670801
670880
  hasCompletedOnboarding: true,
670802
- lastOnboardingVersion: "1.25.1"
670881
+ lastOnboardingVersion: "1.25.3"
670803
670882
  }));
670804
670883
  }
670805
670884
  function showDialog(root2, renderer) {
@@ -675900,7 +675979,7 @@ function appendToLog(path24, message) {
675900
675979
  cwd: getFsImplementation().cwd(),
675901
675980
  userType: process.env.USER_TYPE,
675902
675981
  sessionId: getSessionId(),
675903
- version: "1.25.1"
675982
+ version: "1.25.3"
675904
675983
  };
675905
675984
  getLogWriter(path24).write(messageWithTimestamp);
675906
675985
  }
@@ -679994,8 +680073,8 @@ async function getEnvLessBridgeConfig() {
679994
680073
  }
679995
680074
  async function checkEnvLessBridgeMinVersion() {
679996
680075
  const cfg = await getEnvLessBridgeConfig();
679997
- if (cfg.min_version && lt("1.25.1", cfg.min_version)) {
679998
- return `Your version of UR (${"1.25.1"}) is too old for Remote Control.
680076
+ if (cfg.min_version && lt("1.25.3", cfg.min_version)) {
680077
+ return `Your version of UR (${"1.25.3"}) is too old for Remote Control.
679999
680078
  Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
680000
680079
  }
680001
680080
  return null;
@@ -680469,7 +680548,7 @@ async function initBridgeCore(params) {
680469
680548
  const rawApi = createBridgeApiClient({
680470
680549
  baseUrl,
680471
680550
  getAccessToken,
680472
- runnerVersion: "1.25.1",
680551
+ runnerVersion: "1.25.3",
680473
680552
  onDebug: logForDebugging,
680474
680553
  onAuth401,
680475
680554
  getTrustedDeviceToken
@@ -686150,7 +686229,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
686150
686229
  setCwd(cwd3);
686151
686230
  const server2 = new Server({
686152
686231
  name: "ur/tengu",
686153
- version: "1.25.1"
686232
+ version: "1.25.3"
686154
686233
  }, {
686155
686234
  capabilities: {
686156
686235
  tools: {}
@@ -686719,11 +686798,12 @@ async function providerStatusHandler(options2 = {}) {
686719
686798
  async function providerDoctorHandler(providerArg, options2 = {}) {
686720
686799
  let provider;
686721
686800
  if (providerArg) {
686722
- if (!isProviderId(providerArg)) {
686801
+ const resolved = resolveProviderId(providerArg);
686802
+ if (!resolved) {
686723
686803
  writeError(`Unknown provider "${providerArg}". Run: ur provider list`);
686724
686804
  process.exit(1);
686725
686805
  }
686726
- provider = providerArg;
686806
+ provider = resolved;
686727
686807
  }
686728
686808
  const settings = getInitialSettings();
686729
686809
  const active = getActiveProviderSettings(settings).active ?? "ollama";
@@ -687931,7 +688011,7 @@ async function update() {
687931
688011
  logEvent("tengu_update_check", {});
687932
688012
  const diagnostic = await getDoctorDiagnostic();
687933
688013
  const result = await checkUpgradeStatus({
687934
- currentVersion: "1.25.1",
688014
+ currentVersion: "1.25.3",
687935
688015
  packageName: UR_AGENT_PACKAGE_NAME,
687936
688016
  installationType: diagnostic.installationType,
687937
688017
  latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
@@ -689177,7 +689257,7 @@ ${customInstructions}` : customInstructions;
689177
689257
  }
689178
689258
  }
689179
689259
  logForDiagnosticsNoPII("info", "started", {
689180
- version: "1.25.1",
689260
+ version: "1.25.3",
689181
689261
  is_native_binary: isInBundledMode()
689182
689262
  });
689183
689263
  registerCleanup(async () => {
@@ -689961,7 +690041,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
689961
690041
  pendingHookMessages
689962
690042
  }, renderAndRun);
689963
690043
  }
689964
- }).version("1.25.1 (UR-AGENT)", "-v, --version", "Output the version number");
690044
+ }).version("1.25.3 (UR-AGENT)", "-v, --version", "Output the version number");
689965
690045
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
689966
690046
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
689967
690047
  if (canUserConfigureAdvisor()) {
@@ -690838,7 +690918,7 @@ if (false) {}
690838
690918
  async function main2() {
690839
690919
  const args = process.argv.slice(2);
690840
690920
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
690841
- console.log(`${"1.25.1"} (UR-AGENT)`);
690921
+ console.log(`${"1.25.3"} (UR-AGENT)`);
690842
690922
  return;
690843
690923
  }
690844
690924
  if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {