ur-agent 1.27.1 → 1.27.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 +201 -156
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -56142,32 +56142,52 @@ __export(exports_urhqSubscription, {
|
|
|
56142
56142
|
});
|
|
56143
56143
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
56144
56144
|
async function createURHQSubscriptionClient(providerId, options) {
|
|
56145
|
+
async function doRequest(params, extraHeaders) {
|
|
56146
|
+
const clientRequestId = params?.headers?.["x-client-request-id"];
|
|
56147
|
+
const data = {
|
|
56148
|
+
id: `${providerId}-${randomUUID3()}`,
|
|
56149
|
+
type: "message",
|
|
56150
|
+
role: "assistant",
|
|
56151
|
+
model: params.model,
|
|
56152
|
+
content: [{ type: "text", text: "Subscription CLI response" }],
|
|
56153
|
+
stop_reason: "end_turn",
|
|
56154
|
+
stop_sequence: null,
|
|
56155
|
+
usage: {
|
|
56156
|
+
input_tokens: 0,
|
|
56157
|
+
output_tokens: 0,
|
|
56158
|
+
cache_creation_input_tokens: 0,
|
|
56159
|
+
cache_read_input_tokens: 0
|
|
56160
|
+
}
|
|
56161
|
+
};
|
|
56162
|
+
return {
|
|
56163
|
+
data,
|
|
56164
|
+
response: {
|
|
56165
|
+
headers: clientRequestId ? { "x-client-request-id": clientRequestId } : {},
|
|
56166
|
+
...extraHeaders
|
|
56167
|
+
}
|
|
56168
|
+
};
|
|
56169
|
+
}
|
|
56170
|
+
const messagesAPI = {
|
|
56171
|
+
async create(params, options2) {
|
|
56172
|
+
const { response, data } = await doRequest(params, options2?.headers);
|
|
56173
|
+
return {
|
|
56174
|
+
...data,
|
|
56175
|
+
withResponse: () => ({
|
|
56176
|
+
data,
|
|
56177
|
+
response,
|
|
56178
|
+
request_id: data.id
|
|
56179
|
+
})
|
|
56180
|
+
};
|
|
56181
|
+
},
|
|
56182
|
+
async countTokens(params) {
|
|
56183
|
+
return {
|
|
56184
|
+
input_tokens: estimateTokenCount(params)
|
|
56185
|
+
};
|
|
56186
|
+
}
|
|
56187
|
+
};
|
|
56145
56188
|
return {
|
|
56146
56189
|
beta: {
|
|
56147
|
-
messages:
|
|
56148
|
-
async create(params) {
|
|
56149
|
-
return {
|
|
56150
|
-
id: `${providerId}-${randomUUID3()}`,
|
|
56151
|
-
type: "message",
|
|
56152
|
-
role: "assistant",
|
|
56153
|
-
model: params.model,
|
|
56154
|
-
content: [{ type: "text", text: "Subscription CLI response" }],
|
|
56155
|
-
stop_reason: "end_turn",
|
|
56156
|
-
stop_sequence: null,
|
|
56157
|
-
usage: {
|
|
56158
|
-
input_tokens: 0,
|
|
56159
|
-
output_tokens: 0,
|
|
56160
|
-
cache_creation_input_tokens: 0,
|
|
56161
|
-
cache_read_input_tokens: 0
|
|
56162
|
-
}
|
|
56163
|
-
};
|
|
56164
|
-
},
|
|
56165
|
-
async countTokens(params) {
|
|
56166
|
-
return {
|
|
56167
|
-
input_tokens: estimateTokenCount(params)
|
|
56168
|
-
};
|
|
56169
|
-
}
|
|
56170
|
-
}
|
|
56190
|
+
messages: messagesAPI
|
|
56171
56191
|
}
|
|
56172
56192
|
};
|
|
56173
56193
|
}
|
|
@@ -56186,51 +56206,65 @@ import { randomUUID as randomUUID4 } from "crypto";
|
|
|
56186
56206
|
async function createOpenRouterClient(options) {
|
|
56187
56207
|
const { apiKey, maxRetries } = options;
|
|
56188
56208
|
const OPENROUTER_BASE = "https://openrouter.ai/api/v1";
|
|
56189
|
-
|
|
56190
|
-
|
|
56191
|
-
|
|
56192
|
-
|
|
56193
|
-
|
|
56194
|
-
|
|
56195
|
-
|
|
56196
|
-
|
|
56197
|
-
|
|
56198
|
-
|
|
56199
|
-
|
|
56200
|
-
|
|
56201
|
-
|
|
56202
|
-
|
|
56203
|
-
|
|
56204
|
-
|
|
56205
|
-
|
|
56206
|
-
|
|
56207
|
-
|
|
56208
|
-
|
|
56209
|
-
|
|
56210
|
-
|
|
56211
|
-
|
|
56212
|
-
|
|
56213
|
-
|
|
56214
|
-
|
|
56215
|
-
|
|
56216
|
-
|
|
56217
|
-
|
|
56218
|
-
|
|
56219
|
-
|
|
56220
|
-
|
|
56221
|
-
|
|
56222
|
-
|
|
56223
|
-
};
|
|
56224
|
-
} catch (error40) {
|
|
56225
|
-
throw new Error(`OpenRouter API call failed: ${error40 instanceof Error ? error40.message : "unknown error"}`);
|
|
56226
|
-
}
|
|
56227
|
-
},
|
|
56228
|
-
async countTokens(params) {
|
|
56229
|
-
return {
|
|
56230
|
-
input_tokens: estimateTokenCount2(params)
|
|
56231
|
-
};
|
|
56209
|
+
async function doRequest(params, extraHeaders) {
|
|
56210
|
+
const clientRequestId = params?.headers?.["x-client-request-id"];
|
|
56211
|
+
const response = await axios_default.post(`${OPENROUTER_BASE}/chat/completions`, {
|
|
56212
|
+
model: params.model,
|
|
56213
|
+
messages: params.messages,
|
|
56214
|
+
max_tokens: params.max_tokens,
|
|
56215
|
+
stream: false
|
|
56216
|
+
}, {
|
|
56217
|
+
headers: {
|
|
56218
|
+
"Content-Type": "application/json",
|
|
56219
|
+
Authorization: `Bearer ${apiKey}`,
|
|
56220
|
+
"HTTP-Referer": "https://ur-agent.local",
|
|
56221
|
+
"X-Title": "UR-AGENT",
|
|
56222
|
+
...clientRequestId && { "x-client-request-id": clientRequestId },
|
|
56223
|
+
...extraHeaders
|
|
56224
|
+
},
|
|
56225
|
+
timeout: 60000
|
|
56226
|
+
});
|
|
56227
|
+
const data = response.data;
|
|
56228
|
+
return {
|
|
56229
|
+
response,
|
|
56230
|
+
data: {
|
|
56231
|
+
id: `openrouter-${randomUUID4()}`,
|
|
56232
|
+
type: "message",
|
|
56233
|
+
role: "assistant",
|
|
56234
|
+
model: data.model,
|
|
56235
|
+
content: [{ type: "text", text: data.choices?.[0]?.message?.content ?? "" }],
|
|
56236
|
+
stop_reason: data.choices?.[0]?.finish_reason ?? "end_turn",
|
|
56237
|
+
stop_sequence: null,
|
|
56238
|
+
usage: {
|
|
56239
|
+
input_tokens: data.usage?.prompt_tokens ?? 0,
|
|
56240
|
+
output_tokens: data.usage?.completion_tokens ?? 0,
|
|
56241
|
+
cache_creation_input_tokens: 0,
|
|
56242
|
+
cache_read_input_tokens: 0
|
|
56232
56243
|
}
|
|
56233
56244
|
}
|
|
56245
|
+
};
|
|
56246
|
+
}
|
|
56247
|
+
const messagesAPI = {
|
|
56248
|
+
async create(params, options2) {
|
|
56249
|
+
const { response, data } = await doRequest(params, options2?.headers);
|
|
56250
|
+
return {
|
|
56251
|
+
...data,
|
|
56252
|
+
withResponse: () => ({
|
|
56253
|
+
data,
|
|
56254
|
+
response,
|
|
56255
|
+
request_id: response.data?.id ?? response.headers?.["x-request-id"] ?? randomUUID4()
|
|
56256
|
+
})
|
|
56257
|
+
};
|
|
56258
|
+
},
|
|
56259
|
+
async countTokens(params) {
|
|
56260
|
+
return {
|
|
56261
|
+
input_tokens: estimateTokenCount2(params)
|
|
56262
|
+
};
|
|
56263
|
+
}
|
|
56264
|
+
};
|
|
56265
|
+
return {
|
|
56266
|
+
beta: {
|
|
56267
|
+
messages: messagesAPI
|
|
56234
56268
|
}
|
|
56235
56269
|
};
|
|
56236
56270
|
}
|
|
@@ -56250,30 +56284,41 @@ __export(exports_standardAPI, {
|
|
|
56250
56284
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
56251
56285
|
async function createStandardAPIClient(options) {
|
|
56252
56286
|
const { providerId, apiKey, baseUrl, maxRetries } = options;
|
|
56287
|
+
async function doRequest(params, extraHeaders) {
|
|
56288
|
+
const endpoint = getAPIEndpoint(providerId, baseUrl);
|
|
56289
|
+
const clientRequestId = params?.headers?.["x-client-request-id"];
|
|
56290
|
+
const response = await axios_default.post(endpoint, buildAPIRequest(providerId, params), {
|
|
56291
|
+
headers: {
|
|
56292
|
+
"Content-Type": "application/json",
|
|
56293
|
+
Authorization: `Bearer ${apiKey}`,
|
|
56294
|
+
...clientRequestId && { "x-client-request-id": clientRequestId },
|
|
56295
|
+
...extraHeaders
|
|
56296
|
+
},
|
|
56297
|
+
timeout: 60000
|
|
56298
|
+
});
|
|
56299
|
+
return { response, data: parseAPIResponse(providerId, response.data) };
|
|
56300
|
+
}
|
|
56301
|
+
const messagesAPI = {
|
|
56302
|
+
async create(params, options2) {
|
|
56303
|
+
const { response, data } = await doRequest(params, options2?.headers);
|
|
56304
|
+
return {
|
|
56305
|
+
...data,
|
|
56306
|
+
withResponse: () => ({
|
|
56307
|
+
data,
|
|
56308
|
+
response,
|
|
56309
|
+
request_id: response.data?.id ?? response.headers?.["x-request-id"] ?? randomUUID5()
|
|
56310
|
+
})
|
|
56311
|
+
};
|
|
56312
|
+
},
|
|
56313
|
+
async countTokens(params) {
|
|
56314
|
+
return {
|
|
56315
|
+
input_tokens: estimateTokenCount3(params)
|
|
56316
|
+
};
|
|
56317
|
+
}
|
|
56318
|
+
};
|
|
56253
56319
|
return {
|
|
56254
56320
|
beta: {
|
|
56255
|
-
messages:
|
|
56256
|
-
async create(params) {
|
|
56257
|
-
const endpoint = getAPIEndpoint(providerId, baseUrl);
|
|
56258
|
-
try {
|
|
56259
|
-
const response = await axios_default.post(endpoint, buildAPIRequest(providerId, params), {
|
|
56260
|
-
headers: {
|
|
56261
|
-
"Content-Type": "application/json",
|
|
56262
|
-
Authorization: `Bearer ${apiKey}`
|
|
56263
|
-
},
|
|
56264
|
-
timeout: 60000
|
|
56265
|
-
});
|
|
56266
|
-
return parseAPIResponse(providerId, response.data);
|
|
56267
|
-
} catch (error40) {
|
|
56268
|
-
throw new Error(`Provider ${providerId} API call failed: ${error40 instanceof Error ? error40.message : "unknown error"}`);
|
|
56269
|
-
}
|
|
56270
|
-
},
|
|
56271
|
-
async countTokens(params) {
|
|
56272
|
-
return {
|
|
56273
|
-
input_tokens: estimateTokenCount3(params)
|
|
56274
|
-
};
|
|
56275
|
-
}
|
|
56276
|
-
}
|
|
56321
|
+
messages: messagesAPI
|
|
56277
56322
|
}
|
|
56278
56323
|
};
|
|
56279
56324
|
}
|
|
@@ -68197,7 +68242,7 @@ var init_auth = __esm(() => {
|
|
|
68197
68242
|
|
|
68198
68243
|
// src/utils/userAgent.ts
|
|
68199
68244
|
function getURCodeUserAgent() {
|
|
68200
|
-
return `ur/${"1.27.
|
|
68245
|
+
return `ur/${"1.27.3"}`;
|
|
68201
68246
|
}
|
|
68202
68247
|
|
|
68203
68248
|
// src/utils/workloadContext.ts
|
|
@@ -68219,7 +68264,7 @@ function getUserAgent() {
|
|
|
68219
68264
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
68220
68265
|
const workload = getWorkload();
|
|
68221
68266
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
68222
|
-
return `ur-cli/${"1.27.
|
|
68267
|
+
return `ur-cli/${"1.27.3"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
68223
68268
|
}
|
|
68224
68269
|
function getMCPUserAgent() {
|
|
68225
68270
|
const parts = [];
|
|
@@ -68233,7 +68278,7 @@ function getMCPUserAgent() {
|
|
|
68233
68278
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
68234
68279
|
}
|
|
68235
68280
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
68236
|
-
return `ur/${"1.27.
|
|
68281
|
+
return `ur/${"1.27.3"}${suffix}`;
|
|
68237
68282
|
}
|
|
68238
68283
|
function getWebFetchUserAgent() {
|
|
68239
68284
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -68371,7 +68416,7 @@ var init_user = __esm(() => {
|
|
|
68371
68416
|
deviceId,
|
|
68372
68417
|
sessionId: getSessionId(),
|
|
68373
68418
|
email: getEmail(),
|
|
68374
|
-
appVersion: "1.27.
|
|
68419
|
+
appVersion: "1.27.3",
|
|
68375
68420
|
platform: getHostPlatformForAnalytics(),
|
|
68376
68421
|
organizationUuid,
|
|
68377
68422
|
accountUuid,
|
|
@@ -74888,7 +74933,7 @@ var init_metadata = __esm(() => {
|
|
|
74888
74933
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
74889
74934
|
WHITESPACE_REGEX = /\s+/;
|
|
74890
74935
|
getVersionBase = memoize_default(() => {
|
|
74891
|
-
const match = "1.27.
|
|
74936
|
+
const match = "1.27.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
74892
74937
|
return match ? match[0] : undefined;
|
|
74893
74938
|
});
|
|
74894
74939
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -74928,7 +74973,7 @@ var init_metadata = __esm(() => {
|
|
|
74928
74973
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
74929
74974
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
74930
74975
|
isURAiAuth: isURAISubscriber2(),
|
|
74931
|
-
version: "1.27.
|
|
74976
|
+
version: "1.27.3",
|
|
74932
74977
|
versionBase: getVersionBase(),
|
|
74933
74978
|
buildTime: "",
|
|
74934
74979
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -75598,7 +75643,7 @@ function initialize1PEventLogging() {
|
|
|
75598
75643
|
const platform2 = getPlatform();
|
|
75599
75644
|
const attributes = {
|
|
75600
75645
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
75601
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.27.
|
|
75646
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.27.3"
|
|
75602
75647
|
};
|
|
75603
75648
|
if (platform2 === "wsl") {
|
|
75604
75649
|
const wslVersion = getWslVersion();
|
|
@@ -75625,7 +75670,7 @@ function initialize1PEventLogging() {
|
|
|
75625
75670
|
})
|
|
75626
75671
|
]
|
|
75627
75672
|
});
|
|
75628
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.27.
|
|
75673
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.27.3");
|
|
75629
75674
|
}
|
|
75630
75675
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
75631
75676
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -80922,7 +80967,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
80922
80967
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
80923
80968
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
80924
80969
|
}
|
|
80925
|
-
var urVersion = "1.27.
|
|
80970
|
+
var urVersion = "1.27.3", coverage, priorityRoadmap;
|
|
80926
80971
|
var init_trends = __esm(() => {
|
|
80927
80972
|
coverage = [
|
|
80928
80973
|
{
|
|
@@ -82914,7 +82959,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
82914
82959
|
if (!isAttributionHeaderEnabled()) {
|
|
82915
82960
|
return "";
|
|
82916
82961
|
}
|
|
82917
|
-
const version2 = `${"1.27.
|
|
82962
|
+
const version2 = `${"1.27.3"}.${fingerprint}`;
|
|
82918
82963
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
82919
82964
|
const cch = "";
|
|
82920
82965
|
const workload = getWorkload();
|
|
@@ -190583,7 +190628,7 @@ function getTelemetryAttributes() {
|
|
|
190583
190628
|
attributes["session.id"] = sessionId;
|
|
190584
190629
|
}
|
|
190585
190630
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
190586
|
-
attributes["app.version"] = "1.27.
|
|
190631
|
+
attributes["app.version"] = "1.27.3";
|
|
190587
190632
|
}
|
|
190588
190633
|
const oauthAccount = getOauthAccountInfo();
|
|
190589
190634
|
if (oauthAccount) {
|
|
@@ -225985,7 +226030,7 @@ function getInstallationEnv() {
|
|
|
225985
226030
|
return;
|
|
225986
226031
|
}
|
|
225987
226032
|
function getURCodeVersion() {
|
|
225988
|
-
return "1.27.
|
|
226033
|
+
return "1.27.3";
|
|
225989
226034
|
}
|
|
225990
226035
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
225991
226036
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -228824,7 +228869,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
228824
228869
|
const client2 = new Client({
|
|
228825
228870
|
name: "ur",
|
|
228826
228871
|
title: "UR",
|
|
228827
|
-
version: "1.27.
|
|
228872
|
+
version: "1.27.3",
|
|
228828
228873
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
228829
228874
|
websiteUrl: PRODUCT_URL
|
|
228830
228875
|
}, {
|
|
@@ -229178,7 +229223,7 @@ var init_client5 = __esm(() => {
|
|
|
229178
229223
|
const client2 = new Client({
|
|
229179
229224
|
name: "ur",
|
|
229180
229225
|
title: "UR",
|
|
229181
|
-
version: "1.27.
|
|
229226
|
+
version: "1.27.3",
|
|
229182
229227
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
229183
229228
|
websiteUrl: PRODUCT_URL
|
|
229184
229229
|
}, {
|
|
@@ -238991,9 +239036,9 @@ async function assertMinVersion() {
|
|
|
238991
239036
|
if (false) {}
|
|
238992
239037
|
try {
|
|
238993
239038
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
238994
|
-
if (versionConfig.minVersion && lt("1.27.
|
|
239039
|
+
if (versionConfig.minVersion && lt("1.27.3", versionConfig.minVersion)) {
|
|
238995
239040
|
console.error(`
|
|
238996
|
-
It looks like your version of UR (${"1.27.
|
|
239041
|
+
It looks like your version of UR (${"1.27.3"}) needs an update.
|
|
238997
239042
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
238998
239043
|
|
|
238999
239044
|
To update, please run:
|
|
@@ -239209,7 +239254,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
239209
239254
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
239210
239255
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
239211
239256
|
pid: process.pid,
|
|
239212
|
-
currentVersion: "1.27.
|
|
239257
|
+
currentVersion: "1.27.3"
|
|
239213
239258
|
});
|
|
239214
239259
|
return "in_progress";
|
|
239215
239260
|
}
|
|
@@ -239218,7 +239263,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
239218
239263
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
239219
239264
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
239220
239265
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
239221
|
-
currentVersion: "1.27.
|
|
239266
|
+
currentVersion: "1.27.3"
|
|
239222
239267
|
});
|
|
239223
239268
|
console.error(`
|
|
239224
239269
|
Error: Windows NPM detected in WSL
|
|
@@ -239753,7 +239798,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
239753
239798
|
}
|
|
239754
239799
|
async function getDoctorDiagnostic() {
|
|
239755
239800
|
const installationType = await getCurrentInstallationType();
|
|
239756
|
-
const version2 = typeof MACRO !== "undefined" ? "1.27.
|
|
239801
|
+
const version2 = typeof MACRO !== "undefined" ? "1.27.3" : "unknown";
|
|
239757
239802
|
const installationPath = await getInstallationPath();
|
|
239758
239803
|
const invokedBinary = getInvokedBinary();
|
|
239759
239804
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -240688,8 +240733,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
240688
240733
|
const maxVersion = await getMaxVersion();
|
|
240689
240734
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
240690
240735
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
240691
|
-
if (gte("1.27.
|
|
240692
|
-
logForDebugging(`Native installer: current version ${"1.27.
|
|
240736
|
+
if (gte("1.27.3", maxVersion)) {
|
|
240737
|
+
logForDebugging(`Native installer: current version ${"1.27.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
240693
240738
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
240694
240739
|
latency_ms: Date.now() - startTime,
|
|
240695
240740
|
max_version: maxVersion,
|
|
@@ -240700,7 +240745,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
240700
240745
|
version2 = maxVersion;
|
|
240701
240746
|
}
|
|
240702
240747
|
}
|
|
240703
|
-
if (!forceReinstall && version2 === "1.27.
|
|
240748
|
+
if (!forceReinstall && version2 === "1.27.3" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
240704
240749
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
240705
240750
|
logEvent("tengu_native_update_complete", {
|
|
240706
240751
|
latency_ms: Date.now() - startTime,
|
|
@@ -337612,7 +337657,7 @@ function Feedback({
|
|
|
337612
337657
|
platform: env2.platform,
|
|
337613
337658
|
gitRepo: envInfo.isGit,
|
|
337614
337659
|
terminal: env2.terminal,
|
|
337615
|
-
version: "1.27.
|
|
337660
|
+
version: "1.27.3",
|
|
337616
337661
|
transcript: normalizeMessagesForAPI(messages),
|
|
337617
337662
|
errors: sanitizedErrors,
|
|
337618
337663
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -337804,7 +337849,7 @@ function Feedback({
|
|
|
337804
337849
|
", ",
|
|
337805
337850
|
env2.terminal,
|
|
337806
337851
|
", v",
|
|
337807
|
-
"1.27.
|
|
337852
|
+
"1.27.3"
|
|
337808
337853
|
]
|
|
337809
337854
|
}, undefined, true, undefined, this)
|
|
337810
337855
|
]
|
|
@@ -337910,7 +337955,7 @@ ${sanitizedDescription}
|
|
|
337910
337955
|
` + `**Environment Info**
|
|
337911
337956
|
` + `- Platform: ${env2.platform}
|
|
337912
337957
|
` + `- Terminal: ${env2.terminal}
|
|
337913
|
-
` + `- Version: ${"1.27.
|
|
337958
|
+
` + `- Version: ${"1.27.3"}
|
|
337914
337959
|
` + `- Feedback ID: ${feedbackId}
|
|
337915
337960
|
` + `
|
|
337916
337961
|
**Errors**
|
|
@@ -341021,7 +341066,7 @@ function buildPrimarySection() {
|
|
|
341021
341066
|
}, undefined, false, undefined, this);
|
|
341022
341067
|
return [{
|
|
341023
341068
|
label: "Version",
|
|
341024
|
-
value: "1.27.
|
|
341069
|
+
value: "1.27.3"
|
|
341025
341070
|
}, {
|
|
341026
341071
|
label: "Session name",
|
|
341027
341072
|
value: nameValue
|
|
@@ -344327,7 +344372,7 @@ function Config({
|
|
|
344327
344372
|
}
|
|
344328
344373
|
}, undefined, false, undefined, this)
|
|
344329
344374
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
344330
|
-
currentVersion: "1.27.
|
|
344375
|
+
currentVersion: "1.27.3",
|
|
344331
344376
|
onChoice: (choice) => {
|
|
344332
344377
|
setShowSubmenu(null);
|
|
344333
344378
|
setTabsHidden(false);
|
|
@@ -344339,7 +344384,7 @@ function Config({
|
|
|
344339
344384
|
autoUpdatesChannel: "stable"
|
|
344340
344385
|
};
|
|
344341
344386
|
if (choice === "stay") {
|
|
344342
|
-
newSettings.minimumVersion = "1.27.
|
|
344387
|
+
newSettings.minimumVersion = "1.27.3";
|
|
344343
344388
|
}
|
|
344344
344389
|
updateSettingsForSource("userSettings", newSettings);
|
|
344345
344390
|
setSettingsData((prev_27) => ({
|
|
@@ -352409,7 +352454,7 @@ function HelpV2(t0) {
|
|
|
352409
352454
|
let t6;
|
|
352410
352455
|
if ($3[31] !== tabs) {
|
|
352411
352456
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
352412
|
-
title: `UR v${"1.27.
|
|
352457
|
+
title: `UR v${"1.27.3"}`,
|
|
352413
352458
|
color: "professionalBlue",
|
|
352414
352459
|
defaultTab: "general",
|
|
352415
352460
|
children: tabs
|
|
@@ -372511,7 +372556,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
372511
372556
|
return [];
|
|
372512
372557
|
}
|
|
372513
372558
|
}
|
|
372514
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.27.
|
|
372559
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.27.3") {
|
|
372515
372560
|
if (process.env.USER_TYPE === "ant") {
|
|
372516
372561
|
const changelog = "";
|
|
372517
372562
|
if (changelog) {
|
|
@@ -372538,7 +372583,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.27.1")
|
|
|
372538
372583
|
releaseNotes
|
|
372539
372584
|
};
|
|
372540
372585
|
}
|
|
372541
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.27.
|
|
372586
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.27.3") {
|
|
372542
372587
|
if (process.env.USER_TYPE === "ant") {
|
|
372543
372588
|
const changelog = "";
|
|
372544
372589
|
if (changelog) {
|
|
@@ -373708,7 +373753,7 @@ function getRecentActivitySync() {
|
|
|
373708
373753
|
return cachedActivity;
|
|
373709
373754
|
}
|
|
373710
373755
|
function getLogoDisplayData() {
|
|
373711
|
-
const version2 = process.env.DEMO_VERSION ?? "1.27.
|
|
373756
|
+
const version2 = process.env.DEMO_VERSION ?? "1.27.3";
|
|
373712
373757
|
const serverUrl = getDirectConnectServerUrl();
|
|
373713
373758
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
|
|
373714
373759
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -374497,7 +374542,7 @@ function LogoV2() {
|
|
|
374497
374542
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
374498
374543
|
t2 = () => {
|
|
374499
374544
|
const currentConfig = getGlobalConfig();
|
|
374500
|
-
if (currentConfig.lastReleaseNotesSeen === "1.27.
|
|
374545
|
+
if (currentConfig.lastReleaseNotesSeen === "1.27.3") {
|
|
374501
374546
|
return;
|
|
374502
374547
|
}
|
|
374503
374548
|
saveGlobalConfig(_temp326);
|
|
@@ -375182,12 +375227,12 @@ function LogoV2() {
|
|
|
375182
375227
|
return t41;
|
|
375183
375228
|
}
|
|
375184
375229
|
function _temp326(current) {
|
|
375185
|
-
if (current.lastReleaseNotesSeen === "1.27.
|
|
375230
|
+
if (current.lastReleaseNotesSeen === "1.27.3") {
|
|
375186
375231
|
return current;
|
|
375187
375232
|
}
|
|
375188
375233
|
return {
|
|
375189
375234
|
...current,
|
|
375190
|
-
lastReleaseNotesSeen: "1.27.
|
|
375235
|
+
lastReleaseNotesSeen: "1.27.3"
|
|
375191
375236
|
};
|
|
375192
375237
|
}
|
|
375193
375238
|
function _temp243(s_0) {
|
|
@@ -392176,7 +392221,7 @@ function buildToolUseContext(tools, readFileStateCache) {
|
|
|
392176
392221
|
async function handleInitialize() {
|
|
392177
392222
|
return {
|
|
392178
392223
|
name: "ur-agent",
|
|
392179
|
-
version: "1.27.
|
|
392224
|
+
version: "1.27.3",
|
|
392180
392225
|
protocolVersion: "0.1.0"
|
|
392181
392226
|
};
|
|
392182
392227
|
}
|
|
@@ -591170,7 +591215,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
591170
591215
|
smapsRollup,
|
|
591171
591216
|
platform: process.platform,
|
|
591172
591217
|
nodeVersion: process.version,
|
|
591173
|
-
ccVersion: "1.27.
|
|
591218
|
+
ccVersion: "1.27.3"
|
|
591174
591219
|
};
|
|
591175
591220
|
}
|
|
591176
591221
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -591756,7 +591801,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
591756
591801
|
var call136 = async () => {
|
|
591757
591802
|
return {
|
|
591758
591803
|
type: "text",
|
|
591759
|
-
value: "1.27.
|
|
591804
|
+
value: "1.27.3"
|
|
591760
591805
|
};
|
|
591761
591806
|
}, version2, version_default;
|
|
591762
591807
|
var init_version = __esm(() => {
|
|
@@ -601675,7 +601720,7 @@ function generateHtmlReport(data, insights) {
|
|
|
601675
601720
|
</html>`;
|
|
601676
601721
|
}
|
|
601677
601722
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
601678
|
-
const version3 = typeof MACRO !== "undefined" ? "1.27.
|
|
601723
|
+
const version3 = typeof MACRO !== "undefined" ? "1.27.3" : "unknown";
|
|
601679
601724
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
601680
601725
|
const facets_summary = {
|
|
601681
601726
|
total: facets.size,
|
|
@@ -605952,7 +605997,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
605952
605997
|
init_settings2();
|
|
605953
605998
|
init_slowOperations();
|
|
605954
605999
|
init_uuid();
|
|
605955
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.27.
|
|
606000
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.27.3" : "unknown";
|
|
605956
606001
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
605957
606002
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
605958
606003
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -607157,7 +607202,7 @@ var init_filesystem = __esm(() => {
|
|
|
607157
607202
|
});
|
|
607158
607203
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
607159
607204
|
const nonce = randomBytes18(16).toString("hex");
|
|
607160
|
-
return join200(getURTempDir(), "bundled-skills", "1.27.
|
|
607205
|
+
return join200(getURTempDir(), "bundled-skills", "1.27.3", nonce);
|
|
607161
607206
|
});
|
|
607162
607207
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
607163
607208
|
});
|
|
@@ -613447,7 +613492,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
613447
613492
|
}
|
|
613448
613493
|
function computeFingerprintFromMessages(messages) {
|
|
613449
613494
|
const firstMessageText = extractFirstMessageText(messages);
|
|
613450
|
-
return computeFingerprint(firstMessageText, "1.27.
|
|
613495
|
+
return computeFingerprint(firstMessageText, "1.27.3");
|
|
613451
613496
|
}
|
|
613452
613497
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
613453
613498
|
var init_fingerprint = () => {};
|
|
@@ -615313,7 +615358,7 @@ async function sideQuery(opts) {
|
|
|
615313
615358
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
615314
615359
|
}
|
|
615315
615360
|
const messageText = extractFirstUserMessageText(messages);
|
|
615316
|
-
const fingerprint = computeFingerprint(messageText, "1.27.
|
|
615361
|
+
const fingerprint = computeFingerprint(messageText, "1.27.3");
|
|
615317
615362
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
615318
615363
|
const systemBlocks = [
|
|
615319
615364
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -620050,7 +620095,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
620050
620095
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
620051
620096
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
620052
620097
|
betas: getSdkBetas(),
|
|
620053
|
-
ur_version: "1.27.
|
|
620098
|
+
ur_version: "1.27.3",
|
|
620054
620099
|
output_style: outputStyle2,
|
|
620055
620100
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
620056
620101
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -634678,7 +634723,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
634678
634723
|
function getSemverPart(version3) {
|
|
634679
634724
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
634680
634725
|
}
|
|
634681
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.27.
|
|
634726
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.27.3") {
|
|
634682
634727
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
634683
634728
|
if (!updatedVersion) {
|
|
634684
634729
|
return null;
|
|
@@ -634727,7 +634772,7 @@ function AutoUpdater({
|
|
|
634727
634772
|
return;
|
|
634728
634773
|
}
|
|
634729
634774
|
if (false) {}
|
|
634730
|
-
const currentVersion = "1.27.
|
|
634775
|
+
const currentVersion = "1.27.3";
|
|
634731
634776
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
634732
634777
|
let latestVersion = await getLatestVersion(channel);
|
|
634733
634778
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -634956,12 +635001,12 @@ function NativeAutoUpdater({
|
|
|
634956
635001
|
logEvent("tengu_native_auto_updater_start", {});
|
|
634957
635002
|
try {
|
|
634958
635003
|
const maxVersion = await getMaxVersion();
|
|
634959
|
-
if (maxVersion && gt("1.27.
|
|
635004
|
+
if (maxVersion && gt("1.27.3", maxVersion)) {
|
|
634960
635005
|
const msg = await getMaxVersionMessage();
|
|
634961
635006
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
634962
635007
|
}
|
|
634963
635008
|
const result = await installLatest(channel);
|
|
634964
|
-
const currentVersion = "1.27.
|
|
635009
|
+
const currentVersion = "1.27.3";
|
|
634965
635010
|
const latencyMs = Date.now() - startTime;
|
|
634966
635011
|
if (result.lockFailed) {
|
|
634967
635012
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -635098,17 +635143,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
635098
635143
|
const maxVersion = await getMaxVersion();
|
|
635099
635144
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
635100
635145
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
635101
|
-
if (gte("1.27.
|
|
635102
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.27.
|
|
635146
|
+
if (gte("1.27.3", maxVersion)) {
|
|
635147
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.27.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
635103
635148
|
setUpdateAvailable(false);
|
|
635104
635149
|
return;
|
|
635105
635150
|
}
|
|
635106
635151
|
latest = maxVersion;
|
|
635107
635152
|
}
|
|
635108
|
-
const hasUpdate = latest && !gte("1.27.
|
|
635153
|
+
const hasUpdate = latest && !gte("1.27.3", latest) && !shouldSkipVersion(latest);
|
|
635109
635154
|
setUpdateAvailable(!!hasUpdate);
|
|
635110
635155
|
if (hasUpdate) {
|
|
635111
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.27.
|
|
635156
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.27.3"} -> ${latest}`);
|
|
635112
635157
|
}
|
|
635113
635158
|
};
|
|
635114
635159
|
$3[0] = t1;
|
|
@@ -635142,7 +635187,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
635142
635187
|
wrap: "truncate",
|
|
635143
635188
|
children: [
|
|
635144
635189
|
"currentVersion: ",
|
|
635145
|
-
"1.27.
|
|
635190
|
+
"1.27.3"
|
|
635146
635191
|
]
|
|
635147
635192
|
}, undefined, true, undefined, this);
|
|
635148
635193
|
$3[3] = verbose;
|
|
@@ -647588,7 +647633,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
647588
647633
|
project_dir: getOriginalCwd(),
|
|
647589
647634
|
added_dirs: addedDirs
|
|
647590
647635
|
},
|
|
647591
|
-
version: "1.27.
|
|
647636
|
+
version: "1.27.3",
|
|
647592
647637
|
output_style: {
|
|
647593
647638
|
name: outputStyleName
|
|
647594
647639
|
},
|
|
@@ -647663,7 +647708,7 @@ function StatusLineInner({
|
|
|
647663
647708
|
const taskValues = Object.values(tasks2);
|
|
647664
647709
|
const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
|
|
647665
647710
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
647666
|
-
version: "1.27.
|
|
647711
|
+
version: "1.27.3",
|
|
647667
647712
|
providerLabel: providerRuntime.providerLabel,
|
|
647668
647713
|
authMode: providerRuntime.authLabel,
|
|
647669
647714
|
model: providerRuntime.model ?? renderModelName(mainLoopModel),
|
|
@@ -659149,7 +659194,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
659149
659194
|
} catch {}
|
|
659150
659195
|
const data = {
|
|
659151
659196
|
trigger: trigger2,
|
|
659152
|
-
version: "1.27.
|
|
659197
|
+
version: "1.27.3",
|
|
659153
659198
|
platform: process.platform,
|
|
659154
659199
|
transcript,
|
|
659155
659200
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -671031,7 +671076,7 @@ function WelcomeV2() {
|
|
|
671031
671076
|
dimColor: true,
|
|
671032
671077
|
children: [
|
|
671033
671078
|
"v",
|
|
671034
|
-
"1.27.
|
|
671079
|
+
"1.27.3"
|
|
671035
671080
|
]
|
|
671036
671081
|
}, undefined, true, undefined, this)
|
|
671037
671082
|
]
|
|
@@ -672291,7 +672336,7 @@ function completeOnboarding() {
|
|
|
672291
672336
|
saveGlobalConfig((current) => ({
|
|
672292
672337
|
...current,
|
|
672293
672338
|
hasCompletedOnboarding: true,
|
|
672294
|
-
lastOnboardingVersion: "1.27.
|
|
672339
|
+
lastOnboardingVersion: "1.27.3"
|
|
672295
672340
|
}));
|
|
672296
672341
|
}
|
|
672297
672342
|
function showDialog(root2, renderer) {
|
|
@@ -677392,7 +677437,7 @@ function appendToLog(path24, message) {
|
|
|
677392
677437
|
cwd: getFsImplementation().cwd(),
|
|
677393
677438
|
userType: process.env.USER_TYPE,
|
|
677394
677439
|
sessionId: getSessionId(),
|
|
677395
|
-
version: "1.27.
|
|
677440
|
+
version: "1.27.3"
|
|
677396
677441
|
};
|
|
677397
677442
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
677398
677443
|
}
|
|
@@ -681486,8 +681531,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
681486
681531
|
}
|
|
681487
681532
|
async function checkEnvLessBridgeMinVersion() {
|
|
681488
681533
|
const cfg = await getEnvLessBridgeConfig();
|
|
681489
|
-
if (cfg.min_version && lt("1.27.
|
|
681490
|
-
return `Your version of UR (${"1.27.
|
|
681534
|
+
if (cfg.min_version && lt("1.27.3", cfg.min_version)) {
|
|
681535
|
+
return `Your version of UR (${"1.27.3"}) is too old for Remote Control.
|
|
681491
681536
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
681492
681537
|
}
|
|
681493
681538
|
return null;
|
|
@@ -681961,7 +682006,7 @@ async function initBridgeCore(params) {
|
|
|
681961
682006
|
const rawApi = createBridgeApiClient({
|
|
681962
682007
|
baseUrl,
|
|
681963
682008
|
getAccessToken,
|
|
681964
|
-
runnerVersion: "1.27.
|
|
682009
|
+
runnerVersion: "1.27.3",
|
|
681965
682010
|
onDebug: logForDebugging,
|
|
681966
682011
|
onAuth401,
|
|
681967
682012
|
getTrustedDeviceToken
|
|
@@ -687642,7 +687687,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
687642
687687
|
setCwd(cwd3);
|
|
687643
687688
|
const server2 = new Server({
|
|
687644
687689
|
name: "ur/tengu",
|
|
687645
|
-
version: "1.27.
|
|
687690
|
+
version: "1.27.3"
|
|
687646
687691
|
}, {
|
|
687647
687692
|
capabilities: {
|
|
687648
687693
|
tools: {}
|
|
@@ -689455,7 +689500,7 @@ async function update() {
|
|
|
689455
689500
|
logEvent("tengu_update_check", {});
|
|
689456
689501
|
const diagnostic = await getDoctorDiagnostic();
|
|
689457
689502
|
const result = await checkUpgradeStatus({
|
|
689458
|
-
currentVersion: "1.27.
|
|
689503
|
+
currentVersion: "1.27.3",
|
|
689459
689504
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
689460
689505
|
installationType: diagnostic.installationType,
|
|
689461
689506
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -690701,7 +690746,7 @@ ${customInstructions}` : customInstructions;
|
|
|
690701
690746
|
}
|
|
690702
690747
|
}
|
|
690703
690748
|
logForDiagnosticsNoPII("info", "started", {
|
|
690704
|
-
version: "1.27.
|
|
690749
|
+
version: "1.27.3",
|
|
690705
690750
|
is_native_binary: isInBundledMode()
|
|
690706
690751
|
});
|
|
690707
690752
|
registerCleanup(async () => {
|
|
@@ -691485,7 +691530,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
691485
691530
|
pendingHookMessages
|
|
691486
691531
|
}, renderAndRun);
|
|
691487
691532
|
}
|
|
691488
|
-
}).version("1.27.
|
|
691533
|
+
}).version("1.27.3 (UR-AGENT)", "-v, --version", "Output the version number");
|
|
691489
691534
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
691490
691535
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
691491
691536
|
if (canUserConfigureAdvisor()) {
|
|
@@ -692362,7 +692407,7 @@ if (false) {}
|
|
|
692362
692407
|
async function main2() {
|
|
692363
692408
|
const args = process.argv.slice(2);
|
|
692364
692409
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
692365
|
-
console.log(`${"1.27.
|
|
692410
|
+
console.log(`${"1.27.3"} (UR-AGENT)`);
|
|
692366
692411
|
return;
|
|
692367
692412
|
}
|
|
692368
692413
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|
package/package.json
CHANGED