ur-agent 1.36.1 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -70876,7 +70876,7 @@ var init_auth = __esm(() => {
70876
70876
 
70877
70877
  // src/utils/userAgent.ts
70878
70878
  function getURCodeUserAgent() {
70879
- return `ur/${"1.36.1"}`;
70879
+ return `ur/${"1.37.0"}`;
70880
70880
  }
70881
70881
 
70882
70882
  // src/utils/workloadContext.ts
@@ -70898,7 +70898,7 @@ function getUserAgent() {
70898
70898
  const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
70899
70899
  const workload = getWorkload();
70900
70900
  const workloadSuffix = workload ? `, workload/${workload}` : "";
70901
- return `ur-cli/${"1.36.1"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
70901
+ return `ur-cli/${"1.37.0"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
70902
70902
  }
70903
70903
  function getMCPUserAgent() {
70904
70904
  const parts = [];
@@ -70912,7 +70912,7 @@ function getMCPUserAgent() {
70912
70912
  parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
70913
70913
  }
70914
70914
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
70915
- return `ur/${"1.36.1"}${suffix}`;
70915
+ return `ur/${"1.37.0"}${suffix}`;
70916
70916
  }
70917
70917
  function getWebFetchUserAgent() {
70918
70918
  return `UR-User (${getURCodeUserAgent()})`;
@@ -71050,7 +71050,7 @@ var init_user = __esm(() => {
71050
71050
  deviceId,
71051
71051
  sessionId: getSessionId(),
71052
71052
  email: getEmail(),
71053
- appVersion: "1.36.1",
71053
+ appVersion: "1.37.0",
71054
71054
  platform: getHostPlatformForAnalytics(),
71055
71055
  organizationUuid,
71056
71056
  accountUuid,
@@ -77567,7 +77567,7 @@ var init_metadata = __esm(() => {
77567
77567
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
77568
77568
  WHITESPACE_REGEX = /\s+/;
77569
77569
  getVersionBase = memoize_default(() => {
77570
- const match = "1.36.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
77570
+ const match = "1.37.0".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
77571
77571
  return match ? match[0] : undefined;
77572
77572
  });
77573
77573
  buildEnvContext = memoize_default(async () => {
@@ -77607,7 +77607,7 @@ var init_metadata = __esm(() => {
77607
77607
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
77608
77608
  isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
77609
77609
  isURAiAuth: isURAISubscriber2(),
77610
- version: "1.36.1",
77610
+ version: "1.37.0",
77611
77611
  versionBase: getVersionBase(),
77612
77612
  buildTime: "",
77613
77613
  deploymentEnvironment: env2.detectDeploymentEnvironment(),
@@ -78277,7 +78277,7 @@ function initialize1PEventLogging() {
78277
78277
  const platform2 = getPlatform();
78278
78278
  const attributes = {
78279
78279
  [import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
78280
- [import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.36.1"
78280
+ [import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.37.0"
78281
78281
  };
78282
78282
  if (platform2 === "wsl") {
78283
78283
  const wslVersion = getWslVersion();
@@ -78304,7 +78304,7 @@ function initialize1PEventLogging() {
78304
78304
  })
78305
78305
  ]
78306
78306
  });
78307
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.36.1");
78307
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.37.0");
78308
78308
  }
78309
78309
  async function reinitialize1PEventLoggingIfConfigChanged() {
78310
78310
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -83601,7 +83601,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
83601
83601
  function formatA2AAgentCard(options = {}, pretty = true) {
83602
83602
  return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
83603
83603
  }
83604
- var urVersion = "1.36.1", coverage, priorityRoadmap;
83604
+ var urVersion = "1.37.0", coverage, priorityRoadmap;
83605
83605
  var init_trends = __esm(() => {
83606
83606
  coverage = [
83607
83607
  {
@@ -85594,7 +85594,7 @@ function getAttributionHeader(fingerprint) {
85594
85594
  if (!isAttributionHeaderEnabled()) {
85595
85595
  return "";
85596
85596
  }
85597
- const version2 = `${"1.36.1"}.${fingerprint}`;
85597
+ const version2 = `${"1.37.0"}.${fingerprint}`;
85598
85598
  const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
85599
85599
  const cch = "";
85600
85600
  const workload = getWorkload();
@@ -193455,7 +193455,7 @@ function getTelemetryAttributes() {
193455
193455
  attributes["session.id"] = sessionId;
193456
193456
  }
193457
193457
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
193458
- attributes["app.version"] = "1.36.1";
193458
+ attributes["app.version"] = "1.37.0";
193459
193459
  }
193460
193460
  const oauthAccount = getOauthAccountInfo();
193461
193461
  if (oauthAccount) {
@@ -228840,7 +228840,7 @@ function getInstallationEnv() {
228840
228840
  return;
228841
228841
  }
228842
228842
  function getURCodeVersion() {
228843
- return "1.36.1";
228843
+ return "1.37.0";
228844
228844
  }
228845
228845
  async function getInstalledVSCodeExtensionVersion(command) {
228846
228846
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -231679,7 +231679,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
231679
231679
  const client2 = new Client({
231680
231680
  name: "ur",
231681
231681
  title: "UR",
231682
- version: "1.36.1",
231682
+ version: "1.37.0",
231683
231683
  description: "UR-AGENT autonomous engineering workflow engine",
231684
231684
  websiteUrl: PRODUCT_URL
231685
231685
  }, {
@@ -232033,7 +232033,7 @@ var init_client5 = __esm(() => {
232033
232033
  const client2 = new Client({
232034
232034
  name: "ur",
232035
232035
  title: "UR",
232036
- version: "1.36.1",
232036
+ version: "1.37.0",
232037
232037
  description: "UR-AGENT autonomous engineering workflow engine",
232038
232038
  websiteUrl: PRODUCT_URL
232039
232039
  }, {
@@ -241847,9 +241847,9 @@ async function assertMinVersion() {
241847
241847
  if (false) {}
241848
241848
  try {
241849
241849
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
241850
- if (versionConfig.minVersion && lt("1.36.1", versionConfig.minVersion)) {
241850
+ if (versionConfig.minVersion && lt("1.37.0", versionConfig.minVersion)) {
241851
241851
  console.error(`
241852
- It looks like your version of UR (${"1.36.1"}) needs an update.
241852
+ It looks like your version of UR (${"1.37.0"}) needs an update.
241853
241853
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
241854
241854
 
241855
241855
  To update, please run:
@@ -242065,7 +242065,7 @@ async function installGlobalPackage(specificVersion) {
242065
242065
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
242066
242066
  logEvent("tengu_auto_updater_lock_contention", {
242067
242067
  pid: process.pid,
242068
- currentVersion: "1.36.1"
242068
+ currentVersion: "1.37.0"
242069
242069
  });
242070
242070
  return "in_progress";
242071
242071
  }
@@ -242074,7 +242074,7 @@ async function installGlobalPackage(specificVersion) {
242074
242074
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
242075
242075
  logError2(new Error("Windows NPM detected in WSL environment"));
242076
242076
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
242077
- currentVersion: "1.36.1"
242077
+ currentVersion: "1.37.0"
242078
242078
  });
242079
242079
  console.error(`
242080
242080
  Error: Windows NPM detected in WSL
@@ -242609,7 +242609,7 @@ function detectLinuxGlobPatternWarnings() {
242609
242609
  }
242610
242610
  async function getDoctorDiagnostic() {
242611
242611
  const installationType = await getCurrentInstallationType();
242612
- const version2 = typeof MACRO !== "undefined" ? "1.36.1" : "unknown";
242612
+ const version2 = typeof MACRO !== "undefined" ? "1.37.0" : "unknown";
242613
242613
  const installationPath = await getInstallationPath();
242614
242614
  const invokedBinary = getInvokedBinary();
242615
242615
  const multipleInstallations = await detectMultipleInstallations();
@@ -243544,8 +243544,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
243544
243544
  const maxVersion = await getMaxVersion();
243545
243545
  if (maxVersion && gt(version2, maxVersion)) {
243546
243546
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
243547
- if (gte("1.36.1", maxVersion)) {
243548
- logForDebugging(`Native installer: current version ${"1.36.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
243547
+ if (gte("1.37.0", maxVersion)) {
243548
+ logForDebugging(`Native installer: current version ${"1.37.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
243549
243549
  logEvent("tengu_native_update_skipped_max_version", {
243550
243550
  latency_ms: Date.now() - startTime,
243551
243551
  max_version: maxVersion,
@@ -243556,7 +243556,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
243556
243556
  version2 = maxVersion;
243557
243557
  }
243558
243558
  }
243559
- if (!forceReinstall && version2 === "1.36.1" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
243559
+ if (!forceReinstall && version2 === "1.37.0" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
243560
243560
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
243561
243561
  logEvent("tengu_native_update_complete", {
243562
243562
  latency_ms: Date.now() - startTime,
@@ -340486,7 +340486,7 @@ function Feedback({
340486
340486
  platform: env2.platform,
340487
340487
  gitRepo: envInfo.isGit,
340488
340488
  terminal: env2.terminal,
340489
- version: "1.36.1",
340489
+ version: "1.37.0",
340490
340490
  transcript: normalizeMessagesForAPI(messages),
340491
340491
  errors: sanitizedErrors,
340492
340492
  lastApiRequest: getLastAPIRequest(),
@@ -340678,7 +340678,7 @@ function Feedback({
340678
340678
  ", ",
340679
340679
  env2.terminal,
340680
340680
  ", v",
340681
- "1.36.1"
340681
+ "1.37.0"
340682
340682
  ]
340683
340683
  }, undefined, true, undefined, this)
340684
340684
  ]
@@ -340784,7 +340784,7 @@ ${sanitizedDescription}
340784
340784
  ` + `**Environment Info**
340785
340785
  ` + `- Platform: ${env2.platform}
340786
340786
  ` + `- Terminal: ${env2.terminal}
340787
- ` + `- Version: ${"1.36.1"}
340787
+ ` + `- Version: ${"1.37.0"}
340788
340788
  ` + `- Feedback ID: ${feedbackId}
340789
340789
  ` + `
340790
340790
  **Errors**
@@ -343895,7 +343895,7 @@ function buildPrimarySection() {
343895
343895
  }, undefined, false, undefined, this);
343896
343896
  return [{
343897
343897
  label: "Version",
343898
- value: "1.36.1"
343898
+ value: "1.37.0"
343899
343899
  }, {
343900
343900
  label: "Session name",
343901
343901
  value: nameValue
@@ -347196,7 +347196,7 @@ function Config({
347196
347196
  }
347197
347197
  }, undefined, false, undefined, this)
347198
347198
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
347199
- currentVersion: "1.36.1",
347199
+ currentVersion: "1.37.0",
347200
347200
  onChoice: (choice) => {
347201
347201
  setShowSubmenu(null);
347202
347202
  setTabsHidden(false);
@@ -347208,7 +347208,7 @@ function Config({
347208
347208
  autoUpdatesChannel: "stable"
347209
347209
  };
347210
347210
  if (choice === "stay") {
347211
- newSettings.minimumVersion = "1.36.1";
347211
+ newSettings.minimumVersion = "1.37.0";
347212
347212
  }
347213
347213
  updateSettingsForSource("userSettings", newSettings);
347214
347214
  setSettingsData((prev_27) => ({
@@ -355278,7 +355278,7 @@ function HelpV2(t0) {
355278
355278
  let t6;
355279
355279
  if ($3[31] !== tabs) {
355280
355280
  t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
355281
- title: `UR v${"1.36.1"}`,
355281
+ title: `UR v${"1.37.0"}`,
355282
355282
  color: "professionalBlue",
355283
355283
  defaultTab: "general",
355284
355284
  children: tabs
@@ -356024,7 +356024,7 @@ function buildToolUseContext(tools, readFileStateCache) {
356024
356024
  async function handleInitialize(options2) {
356025
356025
  return {
356026
356026
  name: "ur-agent",
356027
- version: "1.36.1",
356027
+ version: "1.37.0",
356028
356028
  protocolVersion: "0.1.0",
356029
356029
  workspaceRoot: options2.cwd,
356030
356030
  capabilities: {
@@ -356578,6 +356578,10 @@ function formatIdeStatus(status, json2 = false) {
356578
356578
  `Plugins loaded: ${status.pluginCount}`,
356579
356579
  `Detected IDEs: ${ide}`
356580
356580
  ];
356581
+ if (status.sandboxMode)
356582
+ lines.push(`Sandbox mode: ${status.sandboxMode}`);
356583
+ if (status.verifierMode)
356584
+ lines.push(`Verifier mode: ${status.verifierMode}`);
356581
356585
  if (status.warnings.length > 0) {
356582
356586
  lines.push("Warnings:", ...status.warnings.map((w) => ` - ${w}`));
356583
356587
  }
@@ -356625,6 +356629,17 @@ __export(exports_ideInfoCommand, {
356625
356629
  runIdeInfoCommand: () => runIdeInfoCommand,
356626
356630
  collectIdeStatus: () => collectIdeStatus
356627
356631
  });
356632
+ function currentSandboxMode() {
356633
+ if (!SandboxManager2.isSandboxingEnabled())
356634
+ return "disabled";
356635
+ return SandboxManager2.isSandboxRequired() ? "required" : "recommended";
356636
+ }
356637
+ function currentVerifierMode() {
356638
+ const env4 = (process.env.UR_VERIFIER_MODE ?? "").toLowerCase();
356639
+ if (env4 === "off" || env4 === "loose" || env4 === "strict")
356640
+ return env4;
356641
+ return "strict";
356642
+ }
356628
356643
  function pluginCount() {
356629
356644
  try {
356630
356645
  return Object.keys(loadInstalledPluginsV2().plugins ?? {}).length;
@@ -356661,7 +356676,9 @@ async function collectIdeStatus(cwd2) {
356661
356676
  },
356662
356677
  pluginCount: pluginCount(),
356663
356678
  detectedIdes: detected.names.map((name) => ({ name, connected: false })),
356664
- warnings
356679
+ warnings,
356680
+ sandboxMode: currentSandboxMode(),
356681
+ verifierMode: currentVerifierMode()
356665
356682
  };
356666
356683
  }
356667
356684
  function usage2() {
@@ -356706,6 +356723,7 @@ var init_ideInfoCommand = __esm(() => {
356706
356723
  init_cwd2();
356707
356724
  init_ide();
356708
356725
  init_installedPluginsManager();
356726
+ init_sandbox_adapter();
356709
356727
  });
356710
356728
 
356711
356729
  // src/commands/ide/ide.tsx
@@ -376148,7 +376166,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
376148
376166
  return [];
376149
376167
  }
376150
376168
  }
376151
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.36.1") {
376169
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.37.0") {
376152
376170
  if (process.env.USER_TYPE === "ant") {
376153
376171
  const changelog = "";
376154
376172
  if (changelog) {
@@ -376175,7 +376193,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.36.1")
376175
376193
  releaseNotes
376176
376194
  };
376177
376195
  }
376178
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.36.1") {
376196
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.37.0") {
376179
376197
  if (process.env.USER_TYPE === "ant") {
376180
376198
  const changelog = "";
376181
376199
  if (changelog) {
@@ -377345,7 +377363,7 @@ function getRecentActivitySync() {
377345
377363
  return cachedActivity;
377346
377364
  }
377347
377365
  function getLogoDisplayData() {
377348
- const version2 = process.env.DEMO_VERSION ?? "1.36.1";
377366
+ const version2 = process.env.DEMO_VERSION ?? "1.37.0";
377349
377367
  const serverUrl = getDirectConnectServerUrl();
377350
377368
  const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
377351
377369
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -378134,7 +378152,7 @@ function LogoV2() {
378134
378152
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
378135
378153
  t2 = () => {
378136
378154
  const currentConfig2 = getGlobalConfig();
378137
- if (currentConfig2.lastReleaseNotesSeen === "1.36.1") {
378155
+ if (currentConfig2.lastReleaseNotesSeen === "1.37.0") {
378138
378156
  return;
378139
378157
  }
378140
378158
  saveGlobalConfig(_temp326);
@@ -378819,12 +378837,12 @@ function LogoV2() {
378819
378837
  return t41;
378820
378838
  }
378821
378839
  function _temp326(current) {
378822
- if (current.lastReleaseNotesSeen === "1.36.1") {
378840
+ if (current.lastReleaseNotesSeen === "1.37.0") {
378823
378841
  return current;
378824
378842
  }
378825
378843
  return {
378826
378844
  ...current,
378827
- lastReleaseNotesSeen: "1.36.1"
378845
+ lastReleaseNotesSeen: "1.37.0"
378828
378846
  };
378829
378847
  }
378830
378848
  function _temp243(s_0) {
@@ -594719,7 +594737,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
594719
594737
  smapsRollup,
594720
594738
  platform: process.platform,
594721
594739
  nodeVersion: process.version,
594722
- ccVersion: "1.36.1"
594740
+ ccVersion: "1.37.0"
594723
594741
  };
594724
594742
  }
594725
594743
  async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
@@ -595305,7 +595323,7 @@ var init_bridge_kick = __esm(() => {
595305
595323
  var call137 = async () => {
595306
595324
  return {
595307
595325
  type: "text",
595308
- value: "1.36.1"
595326
+ value: "1.37.0"
595309
595327
  };
595310
595328
  }, version2, version_default;
595311
595329
  var init_version = __esm(() => {
@@ -605385,7 +605403,7 @@ function generateHtmlReport(data, insights) {
605385
605403
  </html>`;
605386
605404
  }
605387
605405
  function buildExportData(data, insights, facets, remoteStats) {
605388
- const version3 = typeof MACRO !== "undefined" ? "1.36.1" : "unknown";
605406
+ const version3 = typeof MACRO !== "undefined" ? "1.37.0" : "unknown";
605389
605407
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
605390
605408
  const facets_summary = {
605391
605409
  total: facets.size,
@@ -609665,7 +609683,7 @@ var init_sessionStorage = __esm(() => {
609665
609683
  init_settings2();
609666
609684
  init_slowOperations();
609667
609685
  init_uuid();
609668
- VERSION5 = typeof MACRO !== "undefined" ? "1.36.1" : "unknown";
609686
+ VERSION5 = typeof MACRO !== "undefined" ? "1.37.0" : "unknown";
609669
609687
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
609670
609688
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
609671
609689
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -610870,7 +610888,7 @@ var init_filesystem = __esm(() => {
610870
610888
  });
610871
610889
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
610872
610890
  const nonce = randomBytes18(16).toString("hex");
610873
- return join200(getURTempDir(), "bundled-skills", "1.36.1", nonce);
610891
+ return join200(getURTempDir(), "bundled-skills", "1.37.0", nonce);
610874
610892
  });
610875
610893
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
610876
610894
  });
@@ -617159,7 +617177,7 @@ function computeFingerprint(messageText2, version3) {
617159
617177
  }
617160
617178
  function computeFingerprintFromMessages(messages) {
617161
617179
  const firstMessageText = extractFirstMessageText(messages);
617162
- return computeFingerprint(firstMessageText, "1.36.1");
617180
+ return computeFingerprint(firstMessageText, "1.37.0");
617163
617181
  }
617164
617182
  var FINGERPRINT_SALT = "59cf53e54c78";
617165
617183
  var init_fingerprint = () => {};
@@ -619033,7 +619051,7 @@ async function sideQuery(opts) {
619033
619051
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
619034
619052
  }
619035
619053
  const messageText2 = extractFirstUserMessageText(messages);
619036
- const fingerprint = computeFingerprint(messageText2, "1.36.1");
619054
+ const fingerprint = computeFingerprint(messageText2, "1.37.0");
619037
619055
  const attributionHeader = getAttributionHeader(fingerprint);
619038
619056
  const systemBlocks = [
619039
619057
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -623770,7 +623788,7 @@ function buildSystemInitMessage(inputs) {
623770
623788
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
623771
623789
  apiKeySource: getURHQApiKeyWithSource().source,
623772
623790
  betas: getSdkBetas(),
623773
- ur_version: "1.36.1",
623791
+ ur_version: "1.37.0",
623774
623792
  output_style: outputStyle2,
623775
623793
  agents: inputs.agents.map((agent) => agent.agentType),
623776
623794
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
@@ -638398,7 +638416,7 @@ var init_useVoiceEnabled = __esm(() => {
638398
638416
  function getSemverPart(version3) {
638399
638417
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
638400
638418
  }
638401
- function useUpdateNotification(updatedVersion, initialVersion = "1.36.1") {
638419
+ function useUpdateNotification(updatedVersion, initialVersion = "1.37.0") {
638402
638420
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
638403
638421
  if (!updatedVersion) {
638404
638422
  return null;
@@ -638447,7 +638465,7 @@ function AutoUpdater({
638447
638465
  return;
638448
638466
  }
638449
638467
  if (false) {}
638450
- const currentVersion = "1.36.1";
638468
+ const currentVersion = "1.37.0";
638451
638469
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
638452
638470
  let latestVersion = await getLatestVersion(channel);
638453
638471
  const isDisabled = isAutoUpdaterDisabled();
@@ -638676,12 +638694,12 @@ function NativeAutoUpdater({
638676
638694
  logEvent("tengu_native_auto_updater_start", {});
638677
638695
  try {
638678
638696
  const maxVersion = await getMaxVersion();
638679
- if (maxVersion && gt("1.36.1", maxVersion)) {
638697
+ if (maxVersion && gt("1.37.0", maxVersion)) {
638680
638698
  const msg = await getMaxVersionMessage();
638681
638699
  setMaxVersionIssue(msg ?? "affects your version");
638682
638700
  }
638683
638701
  const result = await installLatest(channel);
638684
- const currentVersion = "1.36.1";
638702
+ const currentVersion = "1.37.0";
638685
638703
  const latencyMs = Date.now() - startTime;
638686
638704
  if (result.lockFailed) {
638687
638705
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -638818,17 +638836,17 @@ function PackageManagerAutoUpdater(t0) {
638818
638836
  const maxVersion = await getMaxVersion();
638819
638837
  if (maxVersion && latest && gt(latest, maxVersion)) {
638820
638838
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
638821
- if (gte("1.36.1", maxVersion)) {
638822
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.36.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
638839
+ if (gte("1.37.0", maxVersion)) {
638840
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.37.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
638823
638841
  setUpdateAvailable(false);
638824
638842
  return;
638825
638843
  }
638826
638844
  latest = maxVersion;
638827
638845
  }
638828
- const hasUpdate = latest && !gte("1.36.1", latest) && !shouldSkipVersion(latest);
638846
+ const hasUpdate = latest && !gte("1.37.0", latest) && !shouldSkipVersion(latest);
638829
638847
  setUpdateAvailable(!!hasUpdate);
638830
638848
  if (hasUpdate) {
638831
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.36.1"} -> ${latest}`);
638849
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.37.0"} -> ${latest}`);
638832
638850
  }
638833
638851
  };
638834
638852
  $3[0] = t1;
@@ -638862,7 +638880,7 @@ function PackageManagerAutoUpdater(t0) {
638862
638880
  wrap: "truncate",
638863
638881
  children: [
638864
638882
  "currentVersion: ",
638865
- "1.36.1"
638883
+ "1.37.0"
638866
638884
  ]
638867
638885
  }, undefined, true, undefined, this);
638868
638886
  $3[3] = verbose;
@@ -651314,7 +651332,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
651314
651332
  project_dir: getOriginalCwd(),
651315
651333
  added_dirs: addedDirs
651316
651334
  },
651317
- version: "1.36.1",
651335
+ version: "1.37.0",
651318
651336
  output_style: {
651319
651337
  name: outputStyleName
651320
651338
  },
@@ -651397,7 +651415,7 @@ function StatusLineInner({
651397
651415
  const taskValues = Object.values(tasks2);
651398
651416
  const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
651399
651417
  const defaultStatusLineText = buildDefaultStatusBar({
651400
- version: "1.36.1",
651418
+ version: "1.37.0",
651401
651419
  providerLabel: providerRuntime.providerLabel,
651402
651420
  authMode: providerRuntime.authLabel,
651403
651421
  model: providerRuntime.model ?? renderModelName(mainLoopModel),
@@ -662885,7 +662903,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
662885
662903
  } catch {}
662886
662904
  const data = {
662887
662905
  trigger: trigger2,
662888
- version: "1.36.1",
662906
+ version: "1.37.0",
662889
662907
  platform: process.platform,
662890
662908
  transcript,
662891
662909
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -674769,7 +674787,7 @@ function WelcomeV2() {
674769
674787
  dimColor: true,
674770
674788
  children: [
674771
674789
  "v",
674772
- "1.36.1"
674790
+ "1.37.0"
674773
674791
  ]
674774
674792
  }, undefined, true, undefined, this)
674775
674793
  ]
@@ -676029,7 +676047,7 @@ function completeOnboarding() {
676029
676047
  saveGlobalConfig((current) => ({
676030
676048
  ...current,
676031
676049
  hasCompletedOnboarding: true,
676032
- lastOnboardingVersion: "1.36.1"
676050
+ lastOnboardingVersion: "1.37.0"
676033
676051
  }));
676034
676052
  }
676035
676053
  function showDialog(root2, renderer) {
@@ -681066,7 +681084,7 @@ function appendToLog(path24, message) {
681066
681084
  cwd: getFsImplementation().cwd(),
681067
681085
  userType: process.env.USER_TYPE,
681068
681086
  sessionId: getSessionId(),
681069
- version: "1.36.1"
681087
+ version: "1.37.0"
681070
681088
  };
681071
681089
  getLogWriter(path24).write(messageWithTimestamp);
681072
681090
  }
@@ -685160,8 +685178,8 @@ async function getEnvLessBridgeConfig() {
685160
685178
  }
685161
685179
  async function checkEnvLessBridgeMinVersion() {
685162
685180
  const cfg = await getEnvLessBridgeConfig();
685163
- if (cfg.min_version && lt("1.36.1", cfg.min_version)) {
685164
- return `Your version of UR (${"1.36.1"}) is too old for Remote Control.
685181
+ if (cfg.min_version && lt("1.37.0", cfg.min_version)) {
685182
+ return `Your version of UR (${"1.37.0"}) is too old for Remote Control.
685165
685183
  Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
685166
685184
  }
685167
685185
  return null;
@@ -685635,7 +685653,7 @@ async function initBridgeCore(params) {
685635
685653
  const rawApi = createBridgeApiClient({
685636
685654
  baseUrl,
685637
685655
  getAccessToken,
685638
- runnerVersion: "1.36.1",
685656
+ runnerVersion: "1.37.0",
685639
685657
  onDebug: logForDebugging,
685640
685658
  onAuth401,
685641
685659
  getTrustedDeviceToken
@@ -691317,7 +691335,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
691317
691335
  setCwd(cwd3);
691318
691336
  const server2 = new Server({
691319
691337
  name: "ur/tengu",
691320
- version: "1.36.1"
691338
+ version: "1.37.0"
691321
691339
  }, {
691322
691340
  capabilities: {
691323
691341
  tools: {}
@@ -691862,13 +691880,14 @@ __export(exports_providers, {
691862
691880
  providerAuthHandler: () => providerAuthHandler,
691863
691881
  configSetHandler: () => configSetHandler
691864
691882
  });
691883
+ import { writeSync as writeSync3 } from "fs";
691865
691884
  function writeOutput(text) {
691866
- process.stdout.write(text.endsWith(`
691885
+ writeSync3(1, text.endsWith(`
691867
691886
  `) ? text : `${text}
691868
691887
  `);
691869
691888
  }
691870
691889
  function writeError(text) {
691871
- process.stderr.write(text.endsWith(`
691890
+ writeSync3(2, text.endsWith(`
691872
691891
  `) ? text : `${text}
691873
691892
  `);
691874
691893
  }
@@ -693294,7 +693313,7 @@ async function update() {
693294
693313
  logEvent("tengu_update_check", {});
693295
693314
  const diagnostic = await getDoctorDiagnostic();
693296
693315
  const result = await checkUpgradeStatus({
693297
- currentVersion: "1.36.1",
693316
+ currentVersion: "1.37.0",
693298
693317
  packageName: UR_AGENT_PACKAGE_NAME,
693299
693318
  installationType: diagnostic.installationType,
693300
693319
  latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
@@ -694540,7 +694559,7 @@ ${customInstructions}` : customInstructions;
694540
694559
  }
694541
694560
  }
694542
694561
  logForDiagnosticsNoPII("info", "started", {
694543
- version: "1.36.1",
694562
+ version: "1.37.0",
694544
694563
  is_native_binary: isInBundledMode()
694545
694564
  });
694546
694565
  registerCleanup(async () => {
@@ -695326,7 +695345,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
695326
695345
  pendingHookMessages
695327
695346
  }, renderAndRun);
695328
695347
  }
695329
- }).version("1.36.1 (UR-AGENT)", "-v, --version", "Output the version number");
695348
+ }).version("1.37.0 (UR-AGENT)", "-v, --version", "Output the version number");
695330
695349
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
695331
695350
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
695332
695351
  if (canUserConfigureAdvisor()) {
@@ -696229,7 +696248,7 @@ if (false) {}
696229
696248
  async function main2() {
696230
696249
  const args = process.argv.slice(2);
696231
696250
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
696232
- console.log(`${"1.36.1"} (UR-AGENT)`);
696251
+ console.log(`${"1.37.0"} (UR-AGENT)`);
696233
696252
  return;
696234
696253
  }
696235
696254
  if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {