ur-agent 1.66.0 → 1.66.1

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.66.1
4
+
5
+ - Corrected the warning-state result used by reactive compaction and context
6
+ collapse when a custom proactive threshold is configured. Their
7
+ effective-window override can no longer report that the separate proactive
8
+ auto-compact trigger was crossed.
9
+
3
10
  ## 1.66.0
4
11
 
5
12
  - Unified proactive compaction around one model-aware threshold and one live
package/dist/cli.js CHANGED
@@ -75613,7 +75613,7 @@ var init_auth = __esm(() => {
75613
75613
 
75614
75614
  // src/utils/userAgent.ts
75615
75615
  function getURCodeUserAgent() {
75616
- return `ur/${"1.66.0"}`;
75616
+ return `ur/${"1.66.1"}`;
75617
75617
  }
75618
75618
 
75619
75619
  // src/utils/workloadContext.ts
@@ -75635,7 +75635,7 @@ function getUserAgent() {
75635
75635
  const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
75636
75636
  const workload = getWorkload();
75637
75637
  const workloadSuffix = workload ? `, workload/${workload}` : "";
75638
- return `ur-cli/${"1.66.0"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
75638
+ return `ur-cli/${"1.66.1"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
75639
75639
  }
75640
75640
  function getMCPUserAgent() {
75641
75641
  const parts = [];
@@ -75649,7 +75649,7 @@ function getMCPUserAgent() {
75649
75649
  parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
75650
75650
  }
75651
75651
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
75652
- return `ur/${"1.66.0"}${suffix}`;
75652
+ return `ur/${"1.66.1"}${suffix}`;
75653
75653
  }
75654
75654
  function getWebFetchUserAgent() {
75655
75655
  return `UR-User (${getURCodeUserAgent()})`;
@@ -75787,7 +75787,7 @@ var init_user = __esm(() => {
75787
75787
  deviceId,
75788
75788
  sessionId: getSessionId(),
75789
75789
  email: getEmail(),
75790
- appVersion: "1.66.0",
75790
+ appVersion: "1.66.1",
75791
75791
  platform: getHostPlatformForAnalytics(),
75792
75792
  organizationUuid,
75793
75793
  accountUuid,
@@ -83987,7 +83987,7 @@ var init_metadata = __esm(() => {
83987
83987
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
83988
83988
  WHITESPACE_REGEX = /\s+/;
83989
83989
  getVersionBase = memoize_default(() => {
83990
- const match = "1.66.0".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
83990
+ const match = "1.66.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
83991
83991
  return match ? match[0] : undefined;
83992
83992
  });
83993
83993
  buildEnvContext = memoize_default(async () => {
@@ -84027,7 +84027,7 @@ var init_metadata = __esm(() => {
84027
84027
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
84028
84028
  isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
84029
84029
  isURAiAuth: isURAISubscriber(),
84030
- version: "1.66.0",
84030
+ version: "1.66.1",
84031
84031
  versionBase: getVersionBase(),
84032
84032
  buildTime: "",
84033
84033
  deploymentEnvironment: env2.detectDeploymentEnvironment(),
@@ -84697,7 +84697,7 @@ function initialize1PEventLogging() {
84697
84697
  const platform2 = getPlatform();
84698
84698
  const attributes = {
84699
84699
  [import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
84700
- [import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.66.0"
84700
+ [import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.66.1"
84701
84701
  };
84702
84702
  if (platform2 === "wsl") {
84703
84703
  const wslVersion = getWslVersion();
@@ -84725,7 +84725,7 @@ function initialize1PEventLogging() {
84725
84725
  })
84726
84726
  ]
84727
84727
  });
84728
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.66.0");
84728
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.66.1");
84729
84729
  }
84730
84730
  async function reinitialize1PEventLoggingIfConfigChanged() {
84731
84731
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -94613,7 +94613,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
94613
94613
  function formatA2AAgentCard(options = {}, pretty = true) {
94614
94614
  return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
94615
94615
  }
94616
- var urVersion = "1.66.0", researchSnapshotDate = "2026-07-15", coverage, priorityRoadmap;
94616
+ var urVersion = "1.66.1", researchSnapshotDate = "2026-07-15", coverage, priorityRoadmap;
94617
94617
  var init_trends = __esm(() => {
94618
94618
  init_a2aCardSignature();
94619
94619
  coverage = [
@@ -97416,7 +97416,7 @@ function getAttributionHeader(fingerprint) {
97416
97416
  if (!isAttributionHeaderEnabled()) {
97417
97417
  return "";
97418
97418
  }
97419
- const version2 = `${"1.66.0"}.${fingerprint}`;
97419
+ const version2 = `${"1.66.1"}.${fingerprint}`;
97420
97420
  const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
97421
97421
  const cch = "";
97422
97422
  const workload = getWorkload();
@@ -155289,7 +155289,7 @@ var init_projectSafety = __esm(() => {
155289
155289
  function getInstruments() {
155290
155290
  if (instruments)
155291
155291
  return instruments;
155292
- const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.66.0");
155292
+ const meter = import_api10.metrics.getMeter("ur-agent.gen_ai", "1.66.1");
155293
155293
  instruments = {
155294
155294
  operationDuration: meter.createHistogram("gen_ai.client.operation.duration", {
155295
155295
  description: "GenAI operation duration.",
@@ -155387,7 +155387,7 @@ function genAiAgentAttributes() {
155387
155387
  "gen_ai.operation.name": GEN_AI_OPERATION_INVOKE_AGENT,
155388
155388
  "gen_ai.provider.name": "ur",
155389
155389
  "gen_ai.agent.name": "UR-Nexus",
155390
- "gen_ai.agent.version": "1.66.0"
155390
+ "gen_ai.agent.version": "1.66.1"
155391
155391
  };
155392
155392
  }
155393
155393
  function genAiWorkflowAttributes(workflowName) {
@@ -155403,7 +155403,7 @@ function genAiWorkflowAttributes(workflowName) {
155403
155403
  function startGenAiWorkflowSpan(workflowName) {
155404
155404
  const attributes = genAiWorkflowAttributes(workflowName);
155405
155405
  const name = typeof attributes["gen_ai.workflow.name"] === "string" ? `invoke_workflow ${attributes["gen_ai.workflow.name"]}` : GEN_AI_OPERATION_INVOKE_WORKFLOW;
155406
- return import_api10.trace.getTracer("ur-agent.gen_ai", "1.66.0").startSpan(name, { kind: import_api10.SpanKind.INTERNAL, attributes });
155406
+ return import_api10.trace.getTracer("ur-agent.gen_ai", "1.66.1").startSpan(name, { kind: import_api10.SpanKind.INTERNAL, attributes });
155407
155407
  }
155408
155408
  function endGenAiWorkflowSpan(span, options2 = {}) {
155409
155409
  try {
@@ -155441,7 +155441,7 @@ function startGenAiMemorySpan(operation, options2 = {}) {
155441
155441
  if (options2.recordCount !== undefined && Number.isInteger(options2.recordCount) && options2.recordCount >= 0) {
155442
155442
  attributes["gen_ai.memory.record.count"] = options2.recordCount;
155443
155443
  }
155444
- return import_api10.trace.getTracer("ur-agent.gen_ai", "1.66.0").startSpan(operation, { kind: import_api10.SpanKind.INTERNAL, attributes });
155444
+ return import_api10.trace.getTracer("ur-agent.gen_ai", "1.66.1").startSpan(operation, { kind: import_api10.SpanKind.INTERNAL, attributes });
155445
155445
  }
155446
155446
  function endGenAiMemorySpan(span, options2 = {}) {
155447
155447
  try {
@@ -248924,7 +248924,7 @@ function getTelemetryAttributes() {
248924
248924
  attributes["session.id"] = sessionId;
248925
248925
  }
248926
248926
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
248927
- attributes["app.version"] = "1.66.0";
248927
+ attributes["app.version"] = "1.66.1";
248928
248928
  }
248929
248929
  const oauthAccount = getOauthAccountInfo();
248930
248930
  if (oauthAccount) {
@@ -295404,7 +295404,7 @@ function getInstallationEnv() {
295404
295404
  return;
295405
295405
  }
295406
295406
  function getURCodeVersion() {
295407
- return "1.66.0";
295407
+ return "1.66.1";
295408
295408
  }
295409
295409
  async function getInstalledVSCodeExtensionVersion(command) {
295410
295410
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -302735,7 +302735,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
302735
302735
  const client2 = new Client({
302736
302736
  name: "ur",
302737
302737
  title: "UR",
302738
- version: "1.66.0",
302738
+ version: "1.66.1",
302739
302739
  description: "UR-Nexus autonomous engineering workflow engine",
302740
302740
  websiteUrl: PRODUCT_URL
302741
302741
  }, {
@@ -303095,7 +303095,7 @@ var init_client5 = __esm(() => {
303095
303095
  const client2 = new Client({
303096
303096
  name: "ur",
303097
303097
  title: "UR",
303098
- version: "1.66.0",
303098
+ version: "1.66.1",
303099
303099
  description: "UR-Nexus autonomous engineering workflow engine",
303100
303100
  websiteUrl: PRODUCT_URL
303101
303101
  }, {
@@ -315634,7 +315634,7 @@ async function createRuntime() {
315634
315634
  bootstrapTelemetry();
315635
315635
  const resource = defaultResource().merge(detectResources({ detectors: [envDetector] })).merge(resourceFromAttributes({
315636
315636
  [import_semantic_conventions7.ATTR_SERVICE_NAME]: "ur-agent",
315637
- [import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.66.0"
315637
+ [import_semantic_conventions7.ATTR_SERVICE_VERSION]: "1.66.1"
315638
315638
  }));
315639
315639
  const tracerProvider = exporters.traces.length > 0 ? new BasicTracerProvider({
315640
315640
  resource,
@@ -315667,11 +315667,11 @@ async function createRuntime() {
315667
315667
  setMeterProvider(meterProvider);
315668
315668
  setLoggerProvider(loggerProvider);
315669
315669
  if (meterProvider) {
315670
- const meter = meterProvider.getMeter("ur-agent", "1.66.0");
315670
+ const meter = meterProvider.getMeter("ur-agent", "1.66.1");
315671
315671
  setMeter(meter, (name, options2) => meter.createCounter(name, options2));
315672
315672
  }
315673
315673
  if (loggerProvider) {
315674
- setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.66.0"));
315674
+ setEventLogger(loggerProvider.getLogger("ur-agent.events", "1.66.1"));
315675
315675
  }
315676
315676
  if (!cleanupRegistered2) {
315677
315677
  cleanupRegistered2 = true;
@@ -316333,9 +316333,9 @@ async function assertMinVersion() {
316333
316333
  if (false) {}
316334
316334
  try {
316335
316335
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
316336
- if (versionConfig.minVersion && lt("1.66.0", versionConfig.minVersion)) {
316336
+ if (versionConfig.minVersion && lt("1.66.1", versionConfig.minVersion)) {
316337
316337
  console.error(`
316338
- It looks like your version of UR (${"1.66.0"}) needs an update.
316338
+ It looks like your version of UR (${"1.66.1"}) needs an update.
316339
316339
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
316340
316340
 
316341
316341
  To update, please run:
@@ -316551,7 +316551,7 @@ async function installGlobalPackage(specificVersion) {
316551
316551
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
316552
316552
  logEvent("tengu_auto_updater_lock_contention", {
316553
316553
  pid: process.pid,
316554
- currentVersion: "1.66.0"
316554
+ currentVersion: "1.66.1"
316555
316555
  });
316556
316556
  return "in_progress";
316557
316557
  }
@@ -316560,7 +316560,7 @@ async function installGlobalPackage(specificVersion) {
316560
316560
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
316561
316561
  logError2(new Error("Windows NPM detected in WSL environment"));
316562
316562
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
316563
- currentVersion: "1.66.0"
316563
+ currentVersion: "1.66.1"
316564
316564
  });
316565
316565
  console.error(`
316566
316566
  Error: Windows NPM detected in WSL
@@ -317095,7 +317095,7 @@ function detectLinuxGlobPatternWarnings() {
317095
317095
  }
317096
317096
  async function getDoctorDiagnostic() {
317097
317097
  const installationType = await getCurrentInstallationType();
317098
- const version2 = typeof MACRO !== "undefined" ? "1.66.0" : "unknown";
317098
+ const version2 = typeof MACRO !== "undefined" ? "1.66.1" : "unknown";
317099
317099
  const installationPath = await getInstallationPath();
317100
317100
  const invokedBinary = getInvokedBinary();
317101
317101
  const multipleInstallations = await detectMultipleInstallations();
@@ -318030,8 +318030,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
318030
318030
  const maxVersion = await getMaxVersion();
318031
318031
  if (maxVersion && gt(version2, maxVersion)) {
318032
318032
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
318033
- if (gte("1.66.0", maxVersion)) {
318034
- logForDebugging(`Native installer: current version ${"1.66.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
318033
+ if (gte("1.66.1", maxVersion)) {
318034
+ logForDebugging(`Native installer: current version ${"1.66.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
318035
318035
  logEvent("tengu_native_update_skipped_max_version", {
318036
318036
  latency_ms: Date.now() - startTime,
318037
318037
  max_version: maxVersion,
@@ -318042,7 +318042,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
318042
318042
  version2 = maxVersion;
318043
318043
  }
318044
318044
  }
318045
- if (!forceReinstall && version2 === "1.66.0" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
318045
+ if (!forceReinstall && version2 === "1.66.1" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
318046
318046
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
318047
318047
  logEvent("tengu_native_update_complete", {
318048
318048
  latency_ms: Date.now() - startTime,
@@ -388136,7 +388136,7 @@ function isAnyTracingEnabled() {
388136
388136
  return isTelemetryEnabled() || isEnhancedTelemetryEnabled() || isBetaTracingEnabled();
388137
388137
  }
388138
388138
  function getTracer() {
388139
- return import_api39.trace.getTracer("ur-agent.gen_ai", "1.66.0");
388139
+ return import_api39.trace.getTracer("ur-agent.gen_ai", "1.66.1");
388140
388140
  }
388141
388141
  function createSpanAttributes(spanType, customAttributes = {}) {
388142
388142
  const baseAttributes = getTelemetryAttributes();
@@ -397691,7 +397691,7 @@ function calculateTokenWarningState(tokenUsage, model, thresholdOverride) {
397691
397691
  const errorThreshold = Math.max(0, threshold - errorBuffer);
397692
397692
  const isAboveWarningThreshold = tokenUsage >= warningThreshold;
397693
397693
  const isAboveErrorThreshold = tokenUsage >= errorThreshold;
397694
- const isAboveAutoCompactThreshold = isAutoCompactEnabled() && tokenUsage >= autoCompactThreshold;
397694
+ const isAboveAutoCompactThreshold = thresholdOverride === undefined && isAutoCompactEnabled() && tokenUsage >= autoCompactThreshold;
397695
397695
  const actualContextWindow = getEffectiveContextWindowSize(model);
397696
397696
  const defaultBlockingLimit = Math.max(1, actualContextWindow - MANUAL_COMPACT_BUFFER_TOKENS);
397697
397697
  const blockingLimitOverride = process.env.UR_CODE_BLOCKING_LIMIT_OVERRIDE;
@@ -419380,7 +419380,7 @@ function Feedback({
419380
419380
  platform: env2.platform,
419381
419381
  gitRepo: envInfo.isGit,
419382
419382
  terminal: env2.terminal,
419383
- version: "1.66.0",
419383
+ version: "1.66.1",
419384
419384
  transcript: normalizeMessagesForAPI(messages),
419385
419385
  errors: sanitizedErrors,
419386
419386
  lastApiRequest: getLastAPIRequest(),
@@ -419572,7 +419572,7 @@ function Feedback({
419572
419572
  ", ",
419573
419573
  env2.terminal,
419574
419574
  ", v",
419575
- "1.66.0"
419575
+ "1.66.1"
419576
419576
  ]
419577
419577
  }, undefined, true, undefined, this)
419578
419578
  ]
@@ -419678,7 +419678,7 @@ ${sanitizedDescription}
419678
419678
  ` + `**Environment Info**
419679
419679
  ` + `- Platform: ${env2.platform}
419680
419680
  ` + `- Terminal: ${env2.terminal}
419681
- ` + `- Version: ${"1.66.0"}
419681
+ ` + `- Version: ${"1.66.1"}
419682
419682
  ` + `- Feedback ID: ${feedbackId}
419683
419683
  ` + `
419684
419684
  **Errors**
@@ -422788,7 +422788,7 @@ function buildPrimarySection() {
422788
422788
  }, undefined, false, undefined, this);
422789
422789
  return [{
422790
422790
  label: "Version",
422791
- value: "1.66.0"
422791
+ value: "1.66.1"
422792
422792
  }, {
422793
422793
  label: "Session name",
422794
422794
  value: nameValue
@@ -426118,7 +426118,7 @@ function Config({
426118
426118
  }
426119
426119
  }, undefined, false, undefined, this)
426120
426120
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
426121
- currentVersion: "1.66.0",
426121
+ currentVersion: "1.66.1",
426122
426122
  onChoice: (choice) => {
426123
426123
  setShowSubmenu(null);
426124
426124
  setTabsHidden(false);
@@ -426130,7 +426130,7 @@ function Config({
426130
426130
  autoUpdatesChannel: "stable"
426131
426131
  };
426132
426132
  if (choice === "stay") {
426133
- newSettings.minimumVersion = "1.66.0";
426133
+ newSettings.minimumVersion = "1.66.1";
426134
426134
  }
426135
426135
  updateSettingsForSource("userSettings", newSettings);
426136
426136
  setSettingsData((prev_27) => ({
@@ -434204,7 +434204,7 @@ function HelpV2(t0) {
434204
434204
  let t6;
434205
434205
  if ($2[31] !== tabs) {
434206
434206
  t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
434207
- title: `UR v${"1.66.0"}`,
434207
+ title: `UR v${"1.66.1"}`,
434208
434208
  color: "professionalBlue",
434209
434209
  defaultTab: "general",
434210
434210
  children: tabs
@@ -435137,7 +435137,7 @@ function buildToolUseContext(tools, readFileStateCache, toolPermissionContext, a
435137
435137
  async function handleInitialize(options2) {
435138
435138
  return {
435139
435139
  name: "UR",
435140
- version: "1.66.0",
435140
+ version: "1.66.1",
435141
435141
  protocolVersion: "0.1.0",
435142
435142
  workspaceRoot: options2.cwd,
435143
435143
  capabilities: {
@@ -452245,7 +452245,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
452245
452245
  return [];
452246
452246
  }
452247
452247
  }
452248
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.66.0") {
452248
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.66.1") {
452249
452249
  if (process.env.USER_TYPE === "ant") {
452250
452250
  const changelog = "";
452251
452251
  if (changelog) {
@@ -452272,7 +452272,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.66.0")
452272
452272
  releaseNotes
452273
452273
  };
452274
452274
  }
452275
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.66.0") {
452275
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.66.1") {
452276
452276
  if (process.env.USER_TYPE === "ant") {
452277
452277
  const changelog = "";
452278
452278
  if (changelog) {
@@ -455138,7 +455138,7 @@ function getRecentActivitySync() {
455138
455138
  return cachedActivity;
455139
455139
  }
455140
455140
  function getLogoDisplayData() {
455141
- const version2 = process.env.DEMO_VERSION ?? "1.66.0";
455141
+ const version2 = process.env.DEMO_VERSION ?? "1.66.1";
455142
455142
  const serverUrl = getDirectConnectServerUrl();
455143
455143
  const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
455144
455144
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -456005,7 +456005,7 @@ function LogoV2() {
456005
456005
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
456006
456006
  t2 = () => {
456007
456007
  const currentConfig2 = getGlobalConfig();
456008
- if (currentConfig2.lastReleaseNotesSeen === "1.66.0") {
456008
+ if (currentConfig2.lastReleaseNotesSeen === "1.66.1") {
456009
456009
  return;
456010
456010
  }
456011
456011
  saveGlobalConfig(_temp325);
@@ -456690,12 +456690,12 @@ function LogoV2() {
456690
456690
  return t41;
456691
456691
  }
456692
456692
  function _temp325(current) {
456693
- if (current.lastReleaseNotesSeen === "1.66.0") {
456693
+ if (current.lastReleaseNotesSeen === "1.66.1") {
456694
456694
  return current;
456695
456695
  }
456696
456696
  return {
456697
456697
  ...current,
456698
- lastReleaseNotesSeen: "1.66.0"
456698
+ lastReleaseNotesSeen: "1.66.1"
456699
456699
  };
456700
456700
  }
456701
456701
  function _temp241(s_0) {
@@ -473641,7 +473641,7 @@ function compileAgenticCiWorkflow(specName = "default", options2 = {}) {
473641
473641
  if (spec.name !== specName) {
473642
473642
  throw new Error("Agentic CI workflow spec name does not match");
473643
473643
  }
473644
- const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.66.0" : "1.66.0");
473644
+ const packageVersion = options2.packageVersion ?? (typeof MACRO !== "undefined" ? "1.66.1" : "1.66.1");
473645
473645
  if (!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(packageVersion)) {
473646
473646
  throw new Error("invalid ur-agent package version");
473647
473647
  }
@@ -474634,7 +474634,7 @@ runner; \`ur trigger\` is the inbound parser that decides what to run.
474634
474634
  path: ".github/workflows/ur.yml",
474635
474635
  root: "project",
474636
474636
  content: compileAgenticCiWorkflow("default", {
474637
- packageVersion: typeof MACRO !== "undefined" ? "1.66.0" : "1.66.0"
474637
+ packageVersion: typeof MACRO !== "undefined" ? "1.66.1" : "1.66.1"
474638
474638
  })
474639
474639
  },
474640
474640
  {
@@ -474704,7 +474704,7 @@ function value(tokens, flag) {
474704
474704
  return index2 >= 0 ? tokens[index2 + 1] : undefined;
474705
474705
  }
474706
474706
  function cliVersion() {
474707
- return typeof MACRO !== "undefined" ? "1.66.0" : "1.66.0";
474707
+ return typeof MACRO !== "undefined" ? "1.66.1" : "1.66.1";
474708
474708
  }
474709
474709
  function workflowPath(cwd2) {
474710
474710
  return join159(cwd2, ".github", "workflows", "ur-agentic-ci.yml");
@@ -480569,7 +480569,7 @@ function createAcpStdioApp(deps) {
480569
480569
  }
480570
480570
  },
480571
480571
  authMethods: [],
480572
- agentInfo: { name: "UR-Nexus", version: "1.66.0" }
480572
+ agentInfo: { name: "UR-Nexus", version: "1.66.1" }
480573
480573
  })).onRequest("authenticate", () => ({})).onRequest("session/new", async (context6) => {
480574
480574
  const result = runtime2.newSession(context6.params.cwd, context6.params.mcpServers, context6.params.additionalDirectories);
480575
480575
  await runtime2.announce({
@@ -480666,7 +480666,7 @@ function createAcpStdioAgent(deps) {
480666
480666
  }
480667
480667
  },
480668
480668
  authMethods: [],
480669
- agentInfo: { name: "UR-Nexus", version: "1.66.0" }
480669
+ agentInfo: { name: "UR-Nexus", version: "1.66.1" }
480670
480670
  });
480671
480671
  return;
480672
480672
  case "authenticate":
@@ -691826,7 +691826,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
691826
691826
  smapsRollup,
691827
691827
  platform: process.platform,
691828
691828
  nodeVersion: process.version,
691829
- ccVersion: "1.66.0"
691829
+ ccVersion: "1.66.1"
691830
691830
  };
691831
691831
  }
691832
691832
  async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
@@ -692406,7 +692406,7 @@ var init_bridge_kick = __esm(() => {
692406
692406
  var call153 = async () => {
692407
692407
  return {
692408
692408
  type: "text",
692409
- value: "1.66.0"
692409
+ value: "1.66.1"
692410
692410
  };
692411
692411
  }, version2, version_default;
692412
692412
  var init_version = __esm(() => {
@@ -703586,7 +703586,7 @@ function generateHtmlReport(data, insights) {
703586
703586
  </html>`;
703587
703587
  }
703588
703588
  function buildExportData(data, insights, facets, remoteStats) {
703589
- const version3 = typeof MACRO !== "undefined" ? "1.66.0" : "unknown";
703589
+ const version3 = typeof MACRO !== "undefined" ? "1.66.1" : "unknown";
703590
703590
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
703591
703591
  const facets_summary = {
703592
703592
  total: facets.size,
@@ -707913,7 +707913,7 @@ var init_sessionStorage = __esm(() => {
707913
707913
  init_settings2();
707914
707914
  init_slowOperations();
707915
707915
  init_uuid();
707916
- VERSION7 = typeof MACRO !== "undefined" ? "1.66.0" : "unknown";
707916
+ VERSION7 = typeof MACRO !== "undefined" ? "1.66.1" : "unknown";
707917
707917
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
707918
707918
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
707919
707919
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -709128,7 +709128,7 @@ var init_filesystem = __esm(() => {
709128
709128
  });
709129
709129
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
709130
709130
  const nonce = randomBytes20(16).toString("hex");
709131
- return join230(getURTempDir(), "bundled-skills", "1.66.0", nonce);
709131
+ return join230(getURTempDir(), "bundled-skills", "1.66.1", nonce);
709132
709132
  });
709133
709133
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
709134
709134
  });
@@ -715434,7 +715434,7 @@ function computeFingerprint(messageText2, version3) {
715434
715434
  }
715435
715435
  function computeFingerprintFromMessages(messages) {
715436
715436
  const firstMessageText = extractFirstMessageText(messages);
715437
- return computeFingerprint(firstMessageText, "1.66.0");
715437
+ return computeFingerprint(firstMessageText, "1.66.1");
715438
715438
  }
715439
715439
  var FINGERPRINT_SALT = "59cf53e54c78";
715440
715440
  var init_fingerprint = () => {};
@@ -717333,7 +717333,7 @@ async function sideQuery(opts) {
717333
717333
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
717334
717334
  }
717335
717335
  const messageText2 = extractFirstUserMessageText(messages);
717336
- const fingerprint2 = computeFingerprint(messageText2, "1.66.0");
717336
+ const fingerprint2 = computeFingerprint(messageText2, "1.66.1");
717337
717337
  const attributionHeader = getAttributionHeader(fingerprint2);
717338
717338
  const systemBlocks = [
717339
717339
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -722120,7 +722120,7 @@ function buildSystemInitMessage(inputs) {
722120
722120
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
722121
722121
  apiKeySource: getURHQApiKeyWithSource().source,
722122
722122
  betas: getSdkBetas(),
722123
- ur_version: "1.66.0",
722123
+ ur_version: "1.66.1",
722124
722124
  output_style: outputStyle2,
722125
722125
  agents: inputs.agents.map((agent2) => agent2.agentType),
722126
722126
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
@@ -736071,7 +736071,7 @@ var init_useVoiceEnabled = __esm(() => {
736071
736071
  function getSemverPart(version3) {
736072
736072
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
736073
736073
  }
736074
- function useUpdateNotification(updatedVersion, initialVersion = "1.66.0") {
736074
+ function useUpdateNotification(updatedVersion, initialVersion = "1.66.1") {
736075
736075
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react222.useState(() => getSemverPart(initialVersion));
736076
736076
  if (!updatedVersion) {
736077
736077
  return null;
@@ -736120,7 +736120,7 @@ function AutoUpdater({
736120
736120
  return;
736121
736121
  }
736122
736122
  if (false) {}
736123
- const currentVersion = "1.66.0";
736123
+ const currentVersion = "1.66.1";
736124
736124
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
736125
736125
  let latestVersion = await getLatestVersion(channel);
736126
736126
  const isDisabled = isAutoUpdaterDisabled();
@@ -736349,12 +736349,12 @@ function NativeAutoUpdater({
736349
736349
  logEvent("tengu_native_auto_updater_start", {});
736350
736350
  try {
736351
736351
  const maxVersion = await getMaxVersion();
736352
- if (maxVersion && gt("1.66.0", maxVersion)) {
736352
+ if (maxVersion && gt("1.66.1", maxVersion)) {
736353
736353
  const msg = await getMaxVersionMessage();
736354
736354
  setMaxVersionIssue(msg ?? "affects your version");
736355
736355
  }
736356
736356
  const result = await installLatest(channel);
736357
- const currentVersion = "1.66.0";
736357
+ const currentVersion = "1.66.1";
736358
736358
  const latencyMs = Date.now() - startTime;
736359
736359
  if (result.lockFailed) {
736360
736360
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -736491,17 +736491,17 @@ function PackageManagerAutoUpdater(t0) {
736491
736491
  const maxVersion = await getMaxVersion();
736492
736492
  if (maxVersion && latest && gt(latest, maxVersion)) {
736493
736493
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
736494
- if (gte("1.66.0", maxVersion)) {
736495
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.66.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
736494
+ if (gte("1.66.1", maxVersion)) {
736495
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.66.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
736496
736496
  setUpdateAvailable(false);
736497
736497
  return;
736498
736498
  }
736499
736499
  latest = maxVersion;
736500
736500
  }
736501
- const hasUpdate = latest && !gte("1.66.0", latest) && !shouldSkipVersion(latest);
736501
+ const hasUpdate = latest && !gte("1.66.1", latest) && !shouldSkipVersion(latest);
736502
736502
  setUpdateAvailable(!!hasUpdate);
736503
736503
  if (hasUpdate) {
736504
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.66.0"} -> ${latest}`);
736504
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.66.1"} -> ${latest}`);
736505
736505
  }
736506
736506
  };
736507
736507
  $2[0] = t1;
@@ -736535,7 +736535,7 @@ function PackageManagerAutoUpdater(t0) {
736535
736535
  wrap: "truncate",
736536
736536
  children: [
736537
736537
  "currentVersion: ",
736538
- "1.66.0"
736538
+ "1.66.1"
736539
736539
  ]
736540
736540
  }, undefined, true, undefined, this);
736541
736541
  $2[3] = verbose;
@@ -747228,7 +747228,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
747228
747228
  project_dir: getOriginalCwd(),
747229
747229
  added_dirs: addedDirs
747230
747230
  },
747231
- version: "1.66.0",
747231
+ version: "1.66.1",
747232
747232
  output_style: {
747233
747233
  name: outputStyleName
747234
747234
  },
@@ -747306,7 +747306,7 @@ function StatusLineInner({
747306
747306
  const taskValues = Object.values(tasks2);
747307
747307
  const taskRunningCount = countActiveBackgroundTasks(taskValues);
747308
747308
  const defaultStatusLineText = buildDefaultStatusBar({
747309
- version: "1.66.0",
747309
+ version: "1.66.1",
747310
747310
  providerLabel: providerRuntime.providerLabel,
747311
747311
  authMode: providerRuntime.authLabel,
747312
747312
  model: renderModelName(mainLoopModel) || providerRuntime.model || "",
@@ -759486,7 +759486,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
759486
759486
  } catch {}
759487
759487
  const data = {
759488
759488
  trigger: trigger2,
759489
- version: "1.66.0",
759489
+ version: "1.66.1",
759490
759490
  platform: process.platform,
759491
759491
  transcript,
759492
759492
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -771854,7 +771854,7 @@ function WelcomeV2() {
771854
771854
  dimColor: true,
771855
771855
  children: [
771856
771856
  "v",
771857
- "1.66.0"
771857
+ "1.66.1"
771858
771858
  ]
771859
771859
  }, undefined, true, undefined, this)
771860
771860
  ]
@@ -773114,7 +773114,7 @@ function completeOnboarding() {
773114
773114
  saveGlobalConfig((current) => ({
773115
773115
  ...current,
773116
773116
  hasCompletedOnboarding: true,
773117
- lastOnboardingVersion: "1.66.0"
773117
+ lastOnboardingVersion: "1.66.1"
773118
773118
  }));
773119
773119
  }
773120
773120
  function showDialog(root2, renderer) {
@@ -778158,7 +778158,7 @@ function appendToLog(path24, message) {
778158
778158
  cwd: getFsImplementation().cwd(),
778159
778159
  userType: process.env.USER_TYPE,
778160
778160
  sessionId: getSessionId(),
778161
- version: "1.66.0"
778161
+ version: "1.66.1"
778162
778162
  };
778163
778163
  getLogWriter(path24).write(messageWithTimestamp);
778164
778164
  }
@@ -782322,8 +782322,8 @@ async function getEnvLessBridgeConfig() {
782322
782322
  }
782323
782323
  async function checkEnvLessBridgeMinVersion() {
782324
782324
  const cfg = await getEnvLessBridgeConfig();
782325
- if (cfg.min_version && lt("1.66.0", cfg.min_version)) {
782326
- return `Your version of UR (${"1.66.0"}) is too old for Remote Control.
782325
+ if (cfg.min_version && lt("1.66.1", cfg.min_version)) {
782326
+ return `Your version of UR (${"1.66.1"}) is too old for Remote Control.
782327
782327
  Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
782328
782328
  }
782329
782329
  return null;
@@ -782797,7 +782797,7 @@ async function initBridgeCore(params) {
782797
782797
  const rawApi = createBridgeApiClient({
782798
782798
  baseUrl,
782799
782799
  getAccessToken,
782800
- runnerVersion: "1.66.0",
782800
+ runnerVersion: "1.66.1",
782801
782801
  onDebug: logForDebugging,
782802
782802
  onAuth401,
782803
782803
  getTrustedDeviceToken
@@ -792270,7 +792270,7 @@ function getAgUiCapabilities() {
792270
792270
  name: "UR-Nexus",
792271
792271
  type: "ur-nexus",
792272
792272
  description: "Provider-flexible, local-first autonomous engineering workflow agent.",
792273
- version: "1.66.0",
792273
+ version: "1.66.1",
792274
792274
  provider: "UR",
792275
792275
  documentationUrl: "https://github.com/Maitham16/UR/blob/master/docs/AG_UI.md"
792276
792276
  },
@@ -793410,7 +793410,7 @@ function createMCPServer(cwd4, debug2, verbose) {
793410
793410
  };
793411
793411
  const server2 = new Server({
793412
793412
  name: "ur-nexus",
793413
- version: "1.66.0"
793413
+ version: "1.66.1"
793414
793414
  }, {
793415
793415
  capabilities: {
793416
793416
  tools: {}
@@ -794568,7 +794568,7 @@ function thrownResponse(error40) {
794568
794568
  }
794569
794569
  async function createUrMcp2026Runtime(options4) {
794570
794570
  const server2 = createMCPServer(options4.cwd, options4.debug === true, options4.verbose === true);
794571
- const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.66.0" }, { capabilities: {} });
794571
+ const client2 = new Client({ name: "ur-mcp-2026-adapter", version: "1.66.1" }, { capabilities: {} });
794572
794572
  const [clientTransport, serverTransport] = createLinkedTransportPair();
794573
794573
  try {
794574
794574
  await server2.connect(serverTransport);
@@ -794579,7 +794579,7 @@ async function createUrMcp2026Runtime(options4) {
794579
794579
  }
794580
794580
  const runtime2 = new Mcp2026Runtime({
794581
794581
  cwd: options4.cwd,
794582
- version: "1.66.0",
794582
+ version: "1.66.1",
794583
794583
  backend: {
794584
794584
  listTools: async () => {
794585
794585
  const listed = await client2.listTools();
@@ -796712,7 +796712,7 @@ async function update() {
796712
796712
  logEvent("tengu_update_check", {});
796713
796713
  const diagnostic2 = await getDoctorDiagnostic();
796714
796714
  const result = await checkUpgradeStatus({
796715
- currentVersion: "1.66.0",
796715
+ currentVersion: "1.66.1",
796716
796716
  packageName: UR_AGENT_PACKAGE_NAME,
796717
796717
  installationType: diagnostic2.installationType,
796718
796718
  latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
@@ -798028,7 +798028,7 @@ ${customInstructions}` : customInstructions;
798028
798028
  }
798029
798029
  }
798030
798030
  logForDiagnosticsNoPII("info", "started", {
798031
- version: "1.66.0",
798031
+ version: "1.66.1",
798032
798032
  is_native_binary: isInBundledMode()
798033
798033
  });
798034
798034
  registerCleanup(async () => {
@@ -798814,7 +798814,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
798814
798814
  pendingHookMessages
798815
798815
  }, renderAndRun);
798816
798816
  }
798817
- }).version("1.66.0 (UR-Nexus)", "-v, --version", "Output the version number");
798817
+ }).version("1.66.1 (UR-Nexus)", "-v, --version", "Output the version number");
798818
798818
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
798819
798819
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
798820
798820
  if (canUserConfigureAdvisor()) {
@@ -799873,7 +799873,7 @@ if (false) {}
799873
799873
  async function main2() {
799874
799874
  const args = process.argv.slice(2);
799875
799875
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
799876
- console.log(`${"1.66.0"} (UR-Nexus)`);
799876
+ console.log(`${"1.66.1"} (UR-Nexus)`);
799877
799877
  return;
799878
799878
  }
799879
799879
  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.66.0 (UR-Nexus)"
22
+ # expected for this release: "1.66.1 (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.66.0</p>
48
+ <p class="eyebrow">Version 1.66.1</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.66.0"
10
+ version = "1.66.1"
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.66.0",
5
+ "version": "1.66.1",
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.66.0",
3
+ "version": "1.66.1",
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",
@@ -1,6 +1,6 @@
1
1
  # UR-Nexus — Technical Specifications
2
2
 
3
- > Audited against the executable source and tests for `ur-agent` v1.66.0.
3
+ > Audited against the executable source and tests for `ur-agent` v1.66.1.
4
4
  > Command, tool, flag, provider, and setting claims are checked against the
5
5
  > implementation rather than copied from product prose. Release validation
6
6
  > keeps this version synchronized and packages the complete `technical/`