ur-agent 1.27.2 → 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 +172 -205
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -56142,39 +56142,47 @@ __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
|
+
}
|
|
56145
56170
|
const messagesAPI = {
|
|
56146
|
-
async create(params) {
|
|
56171
|
+
async create(params, options2) {
|
|
56172
|
+
const { response, data } = await doRequest(params, options2?.headers);
|
|
56147
56173
|
return {
|
|
56148
|
-
|
|
56149
|
-
|
|
56150
|
-
|
|
56151
|
-
|
|
56152
|
-
|
|
56153
|
-
|
|
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
|
-
}
|
|
56174
|
+
...data,
|
|
56175
|
+
withResponse: () => ({
|
|
56176
|
+
data,
|
|
56177
|
+
response,
|
|
56178
|
+
request_id: data.id
|
|
56179
|
+
})
|
|
56161
56180
|
};
|
|
56162
56181
|
},
|
|
56163
56182
|
async countTokens(params) {
|
|
56164
56183
|
return {
|
|
56165
56184
|
input_tokens: estimateTokenCount(params)
|
|
56166
56185
|
};
|
|
56167
|
-
},
|
|
56168
|
-
async withResponse(params) {
|
|
56169
|
-
const clientRequestId = params?.headers?.["x-client-request-id"];
|
|
56170
|
-
const data = await messagesAPI.create(params);
|
|
56171
|
-
return {
|
|
56172
|
-
data,
|
|
56173
|
-
request_id: data.id,
|
|
56174
|
-
response: {
|
|
56175
|
-
headers: clientRequestId ? { "x-client-request-id": clientRequestId } : {}
|
|
56176
|
-
}
|
|
56177
|
-
};
|
|
56178
56186
|
}
|
|
56179
56187
|
};
|
|
56180
56188
|
return {
|
|
@@ -56198,89 +56206,60 @@ import { randomUUID as randomUUID4 } from "crypto";
|
|
|
56198
56206
|
async function createOpenRouterClient(options) {
|
|
56199
56207
|
const { apiKey, maxRetries } = options;
|
|
56200
56208
|
const OPENROUTER_BASE = "https://openrouter.ai/api/v1";
|
|
56201
|
-
|
|
56202
|
-
|
|
56203
|
-
|
|
56204
|
-
|
|
56205
|
-
|
|
56206
|
-
|
|
56207
|
-
|
|
56208
|
-
|
|
56209
|
-
|
|
56210
|
-
|
|
56211
|
-
|
|
56212
|
-
|
|
56213
|
-
|
|
56214
|
-
|
|
56215
|
-
|
|
56216
|
-
|
|
56217
|
-
|
|
56218
|
-
|
|
56219
|
-
|
|
56220
|
-
|
|
56221
|
-
|
|
56222
|
-
|
|
56223
|
-
|
|
56224
|
-
|
|
56225
|
-
|
|
56226
|
-
|
|
56227
|
-
|
|
56228
|
-
|
|
56229
|
-
|
|
56230
|
-
|
|
56231
|
-
|
|
56232
|
-
|
|
56233
|
-
|
|
56234
|
-
|
|
56235
|
-
|
|
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
|
|
56243
|
+
}
|
|
56236
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
|
+
};
|
|
56237
56258
|
},
|
|
56238
56259
|
async countTokens(params) {
|
|
56239
56260
|
return {
|
|
56240
56261
|
input_tokens: estimateTokenCount2(params)
|
|
56241
56262
|
};
|
|
56242
|
-
},
|
|
56243
|
-
async withResponse(params) {
|
|
56244
|
-
const clientRequestId = params?.headers?.["x-client-request-id"];
|
|
56245
|
-
try {
|
|
56246
|
-
const response = await axios_default.post(`${OPENROUTER_BASE}/chat/completions`, {
|
|
56247
|
-
model: params.model,
|
|
56248
|
-
messages: params.messages,
|
|
56249
|
-
max_tokens: params.max_tokens,
|
|
56250
|
-
stream: false
|
|
56251
|
-
}, {
|
|
56252
|
-
headers: {
|
|
56253
|
-
"Content-Type": "application/json",
|
|
56254
|
-
Authorization: `Bearer ${apiKey}`,
|
|
56255
|
-
"HTTP-Referer": "https://ur-agent.local",
|
|
56256
|
-
"X-Title": "UR-AGENT",
|
|
56257
|
-
...clientRequestId && { "x-client-request-id": clientRequestId }
|
|
56258
|
-
},
|
|
56259
|
-
timeout: 60000
|
|
56260
|
-
});
|
|
56261
|
-
const data = response.data;
|
|
56262
|
-
return {
|
|
56263
|
-
data: {
|
|
56264
|
-
id: `openrouter-${randomUUID4()}`,
|
|
56265
|
-
type: "message",
|
|
56266
|
-
role: "assistant",
|
|
56267
|
-
model: data.model,
|
|
56268
|
-
content: [{ type: "text", text: data.choices?.[0]?.message?.content ?? "" }],
|
|
56269
|
-
stop_reason: data.choices?.[0]?.finish_reason ?? "end_turn",
|
|
56270
|
-
stop_sequence: null,
|
|
56271
|
-
usage: {
|
|
56272
|
-
input_tokens: data.usage?.prompt_tokens ?? 0,
|
|
56273
|
-
output_tokens: data.usage?.completion_tokens ?? 0,
|
|
56274
|
-
cache_creation_input_tokens: 0,
|
|
56275
|
-
cache_read_input_tokens: 0
|
|
56276
|
-
}
|
|
56277
|
-
},
|
|
56278
|
-
response,
|
|
56279
|
-
request_id: data.id ?? response.headers?.["x-request-id"] ?? randomUUID4()
|
|
56280
|
-
};
|
|
56281
|
-
} catch (error40) {
|
|
56282
|
-
throw new Error(`OpenRouter API call failed: ${error40 instanceof Error ? error40.message : "unknown error"}`);
|
|
56283
|
-
}
|
|
56284
56263
|
}
|
|
56285
56264
|
};
|
|
56286
56265
|
return {
|
|
@@ -56305,48 +56284,36 @@ __export(exports_standardAPI, {
|
|
|
56305
56284
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
56306
56285
|
async function createStandardAPIClient(options) {
|
|
56307
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
|
+
}
|
|
56308
56301
|
const messagesAPI = {
|
|
56309
|
-
async create(params) {
|
|
56310
|
-
const
|
|
56311
|
-
|
|
56312
|
-
|
|
56313
|
-
|
|
56314
|
-
|
|
56315
|
-
|
|
56316
|
-
|
|
56317
|
-
|
|
56318
|
-
|
|
56319
|
-
return parseAPIResponse(providerId, response.data);
|
|
56320
|
-
} catch (error40) {
|
|
56321
|
-
throw new Error(`Provider ${providerId} API call failed: ${error40 instanceof Error ? error40.message : "unknown error"}`);
|
|
56322
|
-
}
|
|
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
|
+
};
|
|
56323
56312
|
},
|
|
56324
56313
|
async countTokens(params) {
|
|
56325
56314
|
return {
|
|
56326
56315
|
input_tokens: estimateTokenCount3(params)
|
|
56327
56316
|
};
|
|
56328
|
-
},
|
|
56329
|
-
async withResponse(params) {
|
|
56330
|
-
const endpoint = getAPIEndpoint(providerId, baseUrl);
|
|
56331
|
-
const clientRequestId = params?.headers?.["x-client-request-id"];
|
|
56332
|
-
try {
|
|
56333
|
-
const response = await axios_default.post(endpoint, buildAPIRequest(providerId, params), {
|
|
56334
|
-
headers: {
|
|
56335
|
-
"Content-Type": "application/json",
|
|
56336
|
-
Authorization: `Bearer ${apiKey}`,
|
|
56337
|
-
...clientRequestId && { "x-client-request-id": clientRequestId }
|
|
56338
|
-
},
|
|
56339
|
-
timeout: 60000
|
|
56340
|
-
});
|
|
56341
|
-
const data = parseAPIResponse(providerId, response.data);
|
|
56342
|
-
return {
|
|
56343
|
-
data,
|
|
56344
|
-
response,
|
|
56345
|
-
request_id: response.data?.id ?? response.headers?.["x-request-id"] ?? randomUUID5()
|
|
56346
|
-
};
|
|
56347
|
-
} catch (error40) {
|
|
56348
|
-
throw new Error(`Provider ${providerId} API call failed: ${error40 instanceof Error ? error40.message : "unknown error"}`);
|
|
56349
|
-
}
|
|
56350
56317
|
}
|
|
56351
56318
|
};
|
|
56352
56319
|
return {
|
|
@@ -68275,7 +68242,7 @@ var init_auth = __esm(() => {
|
|
|
68275
68242
|
|
|
68276
68243
|
// src/utils/userAgent.ts
|
|
68277
68244
|
function getURCodeUserAgent() {
|
|
68278
|
-
return `ur/${"1.27.
|
|
68245
|
+
return `ur/${"1.27.3"}`;
|
|
68279
68246
|
}
|
|
68280
68247
|
|
|
68281
68248
|
// src/utils/workloadContext.ts
|
|
@@ -68297,7 +68264,7 @@ function getUserAgent() {
|
|
|
68297
68264
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
68298
68265
|
const workload = getWorkload();
|
|
68299
68266
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
68300
|
-
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})`;
|
|
68301
68268
|
}
|
|
68302
68269
|
function getMCPUserAgent() {
|
|
68303
68270
|
const parts = [];
|
|
@@ -68311,7 +68278,7 @@ function getMCPUserAgent() {
|
|
|
68311
68278
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
68312
68279
|
}
|
|
68313
68280
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
68314
|
-
return `ur/${"1.27.
|
|
68281
|
+
return `ur/${"1.27.3"}${suffix}`;
|
|
68315
68282
|
}
|
|
68316
68283
|
function getWebFetchUserAgent() {
|
|
68317
68284
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -68449,7 +68416,7 @@ var init_user = __esm(() => {
|
|
|
68449
68416
|
deviceId,
|
|
68450
68417
|
sessionId: getSessionId(),
|
|
68451
68418
|
email: getEmail(),
|
|
68452
|
-
appVersion: "1.27.
|
|
68419
|
+
appVersion: "1.27.3",
|
|
68453
68420
|
platform: getHostPlatformForAnalytics(),
|
|
68454
68421
|
organizationUuid,
|
|
68455
68422
|
accountUuid,
|
|
@@ -74966,7 +74933,7 @@ var init_metadata = __esm(() => {
|
|
|
74966
74933
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
74967
74934
|
WHITESPACE_REGEX = /\s+/;
|
|
74968
74935
|
getVersionBase = memoize_default(() => {
|
|
74969
|
-
const match = "1.27.
|
|
74936
|
+
const match = "1.27.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
74970
74937
|
return match ? match[0] : undefined;
|
|
74971
74938
|
});
|
|
74972
74939
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -75006,7 +74973,7 @@ var init_metadata = __esm(() => {
|
|
|
75006
74973
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
75007
74974
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
75008
74975
|
isURAiAuth: isURAISubscriber2(),
|
|
75009
|
-
version: "1.27.
|
|
74976
|
+
version: "1.27.3",
|
|
75010
74977
|
versionBase: getVersionBase(),
|
|
75011
74978
|
buildTime: "",
|
|
75012
74979
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
@@ -75676,7 +75643,7 @@ function initialize1PEventLogging() {
|
|
|
75676
75643
|
const platform2 = getPlatform();
|
|
75677
75644
|
const attributes = {
|
|
75678
75645
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
75679
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.27.
|
|
75646
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.27.3"
|
|
75680
75647
|
};
|
|
75681
75648
|
if (platform2 === "wsl") {
|
|
75682
75649
|
const wslVersion = getWslVersion();
|
|
@@ -75703,7 +75670,7 @@ function initialize1PEventLogging() {
|
|
|
75703
75670
|
})
|
|
75704
75671
|
]
|
|
75705
75672
|
});
|
|
75706
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.27.
|
|
75673
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.27.3");
|
|
75707
75674
|
}
|
|
75708
75675
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
75709
75676
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -81000,7 +80967,7 @@ function formatAgentTrendReport(report = buildAgentTrendReport()) {
|
|
|
81000
80967
|
function formatA2AAgentCard(options = {}, pretty = true) {
|
|
81001
80968
|
return JSON.stringify(buildA2AAgentCard(options), null, pretty ? 2 : 0);
|
|
81002
80969
|
}
|
|
81003
|
-
var urVersion = "1.27.
|
|
80970
|
+
var urVersion = "1.27.3", coverage, priorityRoadmap;
|
|
81004
80971
|
var init_trends = __esm(() => {
|
|
81005
80972
|
coverage = [
|
|
81006
80973
|
{
|
|
@@ -82992,7 +82959,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
82992
82959
|
if (!isAttributionHeaderEnabled()) {
|
|
82993
82960
|
return "";
|
|
82994
82961
|
}
|
|
82995
|
-
const version2 = `${"1.27.
|
|
82962
|
+
const version2 = `${"1.27.3"}.${fingerprint}`;
|
|
82996
82963
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
82997
82964
|
const cch = "";
|
|
82998
82965
|
const workload = getWorkload();
|
|
@@ -190661,7 +190628,7 @@ function getTelemetryAttributes() {
|
|
|
190661
190628
|
attributes["session.id"] = sessionId;
|
|
190662
190629
|
}
|
|
190663
190630
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
190664
|
-
attributes["app.version"] = "1.27.
|
|
190631
|
+
attributes["app.version"] = "1.27.3";
|
|
190665
190632
|
}
|
|
190666
190633
|
const oauthAccount = getOauthAccountInfo();
|
|
190667
190634
|
if (oauthAccount) {
|
|
@@ -226063,7 +226030,7 @@ function getInstallationEnv() {
|
|
|
226063
226030
|
return;
|
|
226064
226031
|
}
|
|
226065
226032
|
function getURCodeVersion() {
|
|
226066
|
-
return "1.27.
|
|
226033
|
+
return "1.27.3";
|
|
226067
226034
|
}
|
|
226068
226035
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
226069
226036
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -228902,7 +228869,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
228902
228869
|
const client2 = new Client({
|
|
228903
228870
|
name: "ur",
|
|
228904
228871
|
title: "UR",
|
|
228905
|
-
version: "1.27.
|
|
228872
|
+
version: "1.27.3",
|
|
228906
228873
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
228907
228874
|
websiteUrl: PRODUCT_URL
|
|
228908
228875
|
}, {
|
|
@@ -229256,7 +229223,7 @@ var init_client5 = __esm(() => {
|
|
|
229256
229223
|
const client2 = new Client({
|
|
229257
229224
|
name: "ur",
|
|
229258
229225
|
title: "UR",
|
|
229259
|
-
version: "1.27.
|
|
229226
|
+
version: "1.27.3",
|
|
229260
229227
|
description: "UR-AGENT autonomous engineering workflow engine",
|
|
229261
229228
|
websiteUrl: PRODUCT_URL
|
|
229262
229229
|
}, {
|
|
@@ -239069,9 +239036,9 @@ async function assertMinVersion() {
|
|
|
239069
239036
|
if (false) {}
|
|
239070
239037
|
try {
|
|
239071
239038
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
239072
|
-
if (versionConfig.minVersion && lt("1.27.
|
|
239039
|
+
if (versionConfig.minVersion && lt("1.27.3", versionConfig.minVersion)) {
|
|
239073
239040
|
console.error(`
|
|
239074
|
-
It looks like your version of UR (${"1.27.
|
|
239041
|
+
It looks like your version of UR (${"1.27.3"}) needs an update.
|
|
239075
239042
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
239076
239043
|
|
|
239077
239044
|
To update, please run:
|
|
@@ -239287,7 +239254,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
239287
239254
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
239288
239255
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
239289
239256
|
pid: process.pid,
|
|
239290
|
-
currentVersion: "1.27.
|
|
239257
|
+
currentVersion: "1.27.3"
|
|
239291
239258
|
});
|
|
239292
239259
|
return "in_progress";
|
|
239293
239260
|
}
|
|
@@ -239296,7 +239263,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
239296
239263
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
239297
239264
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
239298
239265
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
239299
|
-
currentVersion: "1.27.
|
|
239266
|
+
currentVersion: "1.27.3"
|
|
239300
239267
|
});
|
|
239301
239268
|
console.error(`
|
|
239302
239269
|
Error: Windows NPM detected in WSL
|
|
@@ -239831,7 +239798,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
239831
239798
|
}
|
|
239832
239799
|
async function getDoctorDiagnostic() {
|
|
239833
239800
|
const installationType = await getCurrentInstallationType();
|
|
239834
|
-
const version2 = typeof MACRO !== "undefined" ? "1.27.
|
|
239801
|
+
const version2 = typeof MACRO !== "undefined" ? "1.27.3" : "unknown";
|
|
239835
239802
|
const installationPath = await getInstallationPath();
|
|
239836
239803
|
const invokedBinary = getInvokedBinary();
|
|
239837
239804
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -240766,8 +240733,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
240766
240733
|
const maxVersion = await getMaxVersion();
|
|
240767
240734
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
240768
240735
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
240769
|
-
if (gte("1.27.
|
|
240770
|
-
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`);
|
|
240771
240738
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
240772
240739
|
latency_ms: Date.now() - startTime,
|
|
240773
240740
|
max_version: maxVersion,
|
|
@@ -240778,7 +240745,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
240778
240745
|
version2 = maxVersion;
|
|
240779
240746
|
}
|
|
240780
240747
|
}
|
|
240781
|
-
if (!forceReinstall && version2 === "1.27.
|
|
240748
|
+
if (!forceReinstall && version2 === "1.27.3" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
240782
240749
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
240783
240750
|
logEvent("tengu_native_update_complete", {
|
|
240784
240751
|
latency_ms: Date.now() - startTime,
|
|
@@ -337690,7 +337657,7 @@ function Feedback({
|
|
|
337690
337657
|
platform: env2.platform,
|
|
337691
337658
|
gitRepo: envInfo.isGit,
|
|
337692
337659
|
terminal: env2.terminal,
|
|
337693
|
-
version: "1.27.
|
|
337660
|
+
version: "1.27.3",
|
|
337694
337661
|
transcript: normalizeMessagesForAPI(messages),
|
|
337695
337662
|
errors: sanitizedErrors,
|
|
337696
337663
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -337882,7 +337849,7 @@ function Feedback({
|
|
|
337882
337849
|
", ",
|
|
337883
337850
|
env2.terminal,
|
|
337884
337851
|
", v",
|
|
337885
|
-
"1.27.
|
|
337852
|
+
"1.27.3"
|
|
337886
337853
|
]
|
|
337887
337854
|
}, undefined, true, undefined, this)
|
|
337888
337855
|
]
|
|
@@ -337988,7 +337955,7 @@ ${sanitizedDescription}
|
|
|
337988
337955
|
` + `**Environment Info**
|
|
337989
337956
|
` + `- Platform: ${env2.platform}
|
|
337990
337957
|
` + `- Terminal: ${env2.terminal}
|
|
337991
|
-
` + `- Version: ${"1.27.
|
|
337958
|
+
` + `- Version: ${"1.27.3"}
|
|
337992
337959
|
` + `- Feedback ID: ${feedbackId}
|
|
337993
337960
|
` + `
|
|
337994
337961
|
**Errors**
|
|
@@ -341099,7 +341066,7 @@ function buildPrimarySection() {
|
|
|
341099
341066
|
}, undefined, false, undefined, this);
|
|
341100
341067
|
return [{
|
|
341101
341068
|
label: "Version",
|
|
341102
|
-
value: "1.27.
|
|
341069
|
+
value: "1.27.3"
|
|
341103
341070
|
}, {
|
|
341104
341071
|
label: "Session name",
|
|
341105
341072
|
value: nameValue
|
|
@@ -344405,7 +344372,7 @@ function Config({
|
|
|
344405
344372
|
}
|
|
344406
344373
|
}, undefined, false, undefined, this)
|
|
344407
344374
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
344408
|
-
currentVersion: "1.27.
|
|
344375
|
+
currentVersion: "1.27.3",
|
|
344409
344376
|
onChoice: (choice) => {
|
|
344410
344377
|
setShowSubmenu(null);
|
|
344411
344378
|
setTabsHidden(false);
|
|
@@ -344417,7 +344384,7 @@ function Config({
|
|
|
344417
344384
|
autoUpdatesChannel: "stable"
|
|
344418
344385
|
};
|
|
344419
344386
|
if (choice === "stay") {
|
|
344420
|
-
newSettings.minimumVersion = "1.27.
|
|
344387
|
+
newSettings.minimumVersion = "1.27.3";
|
|
344421
344388
|
}
|
|
344422
344389
|
updateSettingsForSource("userSettings", newSettings);
|
|
344423
344390
|
setSettingsData((prev_27) => ({
|
|
@@ -352487,7 +352454,7 @@ function HelpV2(t0) {
|
|
|
352487
352454
|
let t6;
|
|
352488
352455
|
if ($3[31] !== tabs) {
|
|
352489
352456
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
352490
|
-
title: `UR v${"1.27.
|
|
352457
|
+
title: `UR v${"1.27.3"}`,
|
|
352491
352458
|
color: "professionalBlue",
|
|
352492
352459
|
defaultTab: "general",
|
|
352493
352460
|
children: tabs
|
|
@@ -372589,7 +372556,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
372589
372556
|
return [];
|
|
372590
372557
|
}
|
|
372591
372558
|
}
|
|
372592
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.27.
|
|
372559
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.27.3") {
|
|
372593
372560
|
if (process.env.USER_TYPE === "ant") {
|
|
372594
372561
|
const changelog = "";
|
|
372595
372562
|
if (changelog) {
|
|
@@ -372616,7 +372583,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.27.2")
|
|
|
372616
372583
|
releaseNotes
|
|
372617
372584
|
};
|
|
372618
372585
|
}
|
|
372619
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.27.
|
|
372586
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.27.3") {
|
|
372620
372587
|
if (process.env.USER_TYPE === "ant") {
|
|
372621
372588
|
const changelog = "";
|
|
372622
372589
|
if (changelog) {
|
|
@@ -373786,7 +373753,7 @@ function getRecentActivitySync() {
|
|
|
373786
373753
|
return cachedActivity;
|
|
373787
373754
|
}
|
|
373788
373755
|
function getLogoDisplayData() {
|
|
373789
|
-
const version2 = process.env.DEMO_VERSION ?? "1.27.
|
|
373756
|
+
const version2 = process.env.DEMO_VERSION ?? "1.27.3";
|
|
373790
373757
|
const serverUrl = getDirectConnectServerUrl();
|
|
373791
373758
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd2());
|
|
373792
373759
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -374575,7 +374542,7 @@ function LogoV2() {
|
|
|
374575
374542
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
374576
374543
|
t2 = () => {
|
|
374577
374544
|
const currentConfig = getGlobalConfig();
|
|
374578
|
-
if (currentConfig.lastReleaseNotesSeen === "1.27.
|
|
374545
|
+
if (currentConfig.lastReleaseNotesSeen === "1.27.3") {
|
|
374579
374546
|
return;
|
|
374580
374547
|
}
|
|
374581
374548
|
saveGlobalConfig(_temp326);
|
|
@@ -375260,12 +375227,12 @@ function LogoV2() {
|
|
|
375260
375227
|
return t41;
|
|
375261
375228
|
}
|
|
375262
375229
|
function _temp326(current) {
|
|
375263
|
-
if (current.lastReleaseNotesSeen === "1.27.
|
|
375230
|
+
if (current.lastReleaseNotesSeen === "1.27.3") {
|
|
375264
375231
|
return current;
|
|
375265
375232
|
}
|
|
375266
375233
|
return {
|
|
375267
375234
|
...current,
|
|
375268
|
-
lastReleaseNotesSeen: "1.27.
|
|
375235
|
+
lastReleaseNotesSeen: "1.27.3"
|
|
375269
375236
|
};
|
|
375270
375237
|
}
|
|
375271
375238
|
function _temp243(s_0) {
|
|
@@ -392254,7 +392221,7 @@ function buildToolUseContext(tools, readFileStateCache) {
|
|
|
392254
392221
|
async function handleInitialize() {
|
|
392255
392222
|
return {
|
|
392256
392223
|
name: "ur-agent",
|
|
392257
|
-
version: "1.27.
|
|
392224
|
+
version: "1.27.3",
|
|
392258
392225
|
protocolVersion: "0.1.0"
|
|
392259
392226
|
};
|
|
392260
392227
|
}
|
|
@@ -591248,7 +591215,7 @@ async function captureMemoryDiagnostics(trigger2, dumpNumber = 0) {
|
|
|
591248
591215
|
smapsRollup,
|
|
591249
591216
|
platform: process.platform,
|
|
591250
591217
|
nodeVersion: process.version,
|
|
591251
|
-
ccVersion: "1.27.
|
|
591218
|
+
ccVersion: "1.27.3"
|
|
591252
591219
|
};
|
|
591253
591220
|
}
|
|
591254
591221
|
async function performHeapDump(trigger2 = "manual", dumpNumber = 0) {
|
|
@@ -591834,7 +591801,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
591834
591801
|
var call136 = async () => {
|
|
591835
591802
|
return {
|
|
591836
591803
|
type: "text",
|
|
591837
|
-
value: "1.27.
|
|
591804
|
+
value: "1.27.3"
|
|
591838
591805
|
};
|
|
591839
591806
|
}, version2, version_default;
|
|
591840
591807
|
var init_version = __esm(() => {
|
|
@@ -601753,7 +601720,7 @@ function generateHtmlReport(data, insights) {
|
|
|
601753
601720
|
</html>`;
|
|
601754
601721
|
}
|
|
601755
601722
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
601756
|
-
const version3 = typeof MACRO !== "undefined" ? "1.27.
|
|
601723
|
+
const version3 = typeof MACRO !== "undefined" ? "1.27.3" : "unknown";
|
|
601757
601724
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
601758
601725
|
const facets_summary = {
|
|
601759
601726
|
total: facets.size,
|
|
@@ -606030,7 +605997,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
606030
605997
|
init_settings2();
|
|
606031
605998
|
init_slowOperations();
|
|
606032
605999
|
init_uuid();
|
|
606033
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.27.
|
|
606000
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.27.3" : "unknown";
|
|
606034
606001
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
606035
606002
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
606036
606003
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -607235,7 +607202,7 @@ var init_filesystem = __esm(() => {
|
|
|
607235
607202
|
});
|
|
607236
607203
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
607237
607204
|
const nonce = randomBytes18(16).toString("hex");
|
|
607238
|
-
return join200(getURTempDir(), "bundled-skills", "1.27.
|
|
607205
|
+
return join200(getURTempDir(), "bundled-skills", "1.27.3", nonce);
|
|
607239
607206
|
});
|
|
607240
607207
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
607241
607208
|
});
|
|
@@ -613525,7 +613492,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
613525
613492
|
}
|
|
613526
613493
|
function computeFingerprintFromMessages(messages) {
|
|
613527
613494
|
const firstMessageText = extractFirstMessageText(messages);
|
|
613528
|
-
return computeFingerprint(firstMessageText, "1.27.
|
|
613495
|
+
return computeFingerprint(firstMessageText, "1.27.3");
|
|
613529
613496
|
}
|
|
613530
613497
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
613531
613498
|
var init_fingerprint = () => {};
|
|
@@ -615391,7 +615358,7 @@ async function sideQuery(opts) {
|
|
|
615391
615358
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
615392
615359
|
}
|
|
615393
615360
|
const messageText = extractFirstUserMessageText(messages);
|
|
615394
|
-
const fingerprint = computeFingerprint(messageText, "1.27.
|
|
615361
|
+
const fingerprint = computeFingerprint(messageText, "1.27.3");
|
|
615395
615362
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
615396
615363
|
const systemBlocks = [
|
|
615397
615364
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -620128,7 +620095,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
620128
620095
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
620129
620096
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
620130
620097
|
betas: getSdkBetas(),
|
|
620131
|
-
ur_version: "1.27.
|
|
620098
|
+
ur_version: "1.27.3",
|
|
620132
620099
|
output_style: outputStyle2,
|
|
620133
620100
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
620134
620101
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill2) => skill2.name),
|
|
@@ -634756,7 +634723,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
634756
634723
|
function getSemverPart(version3) {
|
|
634757
634724
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
634758
634725
|
}
|
|
634759
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.27.
|
|
634726
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.27.3") {
|
|
634760
634727
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
634761
634728
|
if (!updatedVersion) {
|
|
634762
634729
|
return null;
|
|
@@ -634805,7 +634772,7 @@ function AutoUpdater({
|
|
|
634805
634772
|
return;
|
|
634806
634773
|
}
|
|
634807
634774
|
if (false) {}
|
|
634808
|
-
const currentVersion = "1.27.
|
|
634775
|
+
const currentVersion = "1.27.3";
|
|
634809
634776
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
634810
634777
|
let latestVersion = await getLatestVersion(channel);
|
|
634811
634778
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -635034,12 +635001,12 @@ function NativeAutoUpdater({
|
|
|
635034
635001
|
logEvent("tengu_native_auto_updater_start", {});
|
|
635035
635002
|
try {
|
|
635036
635003
|
const maxVersion = await getMaxVersion();
|
|
635037
|
-
if (maxVersion && gt("1.27.
|
|
635004
|
+
if (maxVersion && gt("1.27.3", maxVersion)) {
|
|
635038
635005
|
const msg = await getMaxVersionMessage();
|
|
635039
635006
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
635040
635007
|
}
|
|
635041
635008
|
const result = await installLatest(channel);
|
|
635042
|
-
const currentVersion = "1.27.
|
|
635009
|
+
const currentVersion = "1.27.3";
|
|
635043
635010
|
const latencyMs = Date.now() - startTime;
|
|
635044
635011
|
if (result.lockFailed) {
|
|
635045
635012
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -635176,17 +635143,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
635176
635143
|
const maxVersion = await getMaxVersion();
|
|
635177
635144
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
635178
635145
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
635179
|
-
if (gte("1.27.
|
|
635180
|
-
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`);
|
|
635181
635148
|
setUpdateAvailable(false);
|
|
635182
635149
|
return;
|
|
635183
635150
|
}
|
|
635184
635151
|
latest = maxVersion;
|
|
635185
635152
|
}
|
|
635186
|
-
const hasUpdate = latest && !gte("1.27.
|
|
635153
|
+
const hasUpdate = latest && !gte("1.27.3", latest) && !shouldSkipVersion(latest);
|
|
635187
635154
|
setUpdateAvailable(!!hasUpdate);
|
|
635188
635155
|
if (hasUpdate) {
|
|
635189
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.27.
|
|
635156
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.27.3"} -> ${latest}`);
|
|
635190
635157
|
}
|
|
635191
635158
|
};
|
|
635192
635159
|
$3[0] = t1;
|
|
@@ -635220,7 +635187,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
635220
635187
|
wrap: "truncate",
|
|
635221
635188
|
children: [
|
|
635222
635189
|
"currentVersion: ",
|
|
635223
|
-
"1.27.
|
|
635190
|
+
"1.27.3"
|
|
635224
635191
|
]
|
|
635225
635192
|
}, undefined, true, undefined, this);
|
|
635226
635193
|
$3[3] = verbose;
|
|
@@ -647666,7 +647633,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
647666
647633
|
project_dir: getOriginalCwd(),
|
|
647667
647634
|
added_dirs: addedDirs
|
|
647668
647635
|
},
|
|
647669
|
-
version: "1.27.
|
|
647636
|
+
version: "1.27.3",
|
|
647670
647637
|
output_style: {
|
|
647671
647638
|
name: outputStyleName
|
|
647672
647639
|
},
|
|
@@ -647741,7 +647708,7 @@ function StatusLineInner({
|
|
|
647741
647708
|
const taskValues = Object.values(tasks2);
|
|
647742
647709
|
const taskRunningCount = taskValues.filter((task2) => task2.status === "running" || task2.status === "pending").length;
|
|
647743
647710
|
const defaultStatusLineText = buildDefaultStatusBar({
|
|
647744
|
-
version: "1.27.
|
|
647711
|
+
version: "1.27.3",
|
|
647745
647712
|
providerLabel: providerRuntime.providerLabel,
|
|
647746
647713
|
authMode: providerRuntime.authLabel,
|
|
647747
647714
|
model: providerRuntime.model ?? renderModelName(mainLoopModel),
|
|
@@ -659227,7 +659194,7 @@ async function submitTranscriptShare(messages, trigger2, appearanceId) {
|
|
|
659227
659194
|
} catch {}
|
|
659228
659195
|
const data = {
|
|
659229
659196
|
trigger: trigger2,
|
|
659230
|
-
version: "1.27.
|
|
659197
|
+
version: "1.27.3",
|
|
659231
659198
|
platform: process.platform,
|
|
659232
659199
|
transcript,
|
|
659233
659200
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -671109,7 +671076,7 @@ function WelcomeV2() {
|
|
|
671109
671076
|
dimColor: true,
|
|
671110
671077
|
children: [
|
|
671111
671078
|
"v",
|
|
671112
|
-
"1.27.
|
|
671079
|
+
"1.27.3"
|
|
671113
671080
|
]
|
|
671114
671081
|
}, undefined, true, undefined, this)
|
|
671115
671082
|
]
|
|
@@ -672369,7 +672336,7 @@ function completeOnboarding() {
|
|
|
672369
672336
|
saveGlobalConfig((current) => ({
|
|
672370
672337
|
...current,
|
|
672371
672338
|
hasCompletedOnboarding: true,
|
|
672372
|
-
lastOnboardingVersion: "1.27.
|
|
672339
|
+
lastOnboardingVersion: "1.27.3"
|
|
672373
672340
|
}));
|
|
672374
672341
|
}
|
|
672375
672342
|
function showDialog(root2, renderer) {
|
|
@@ -677470,7 +677437,7 @@ function appendToLog(path24, message) {
|
|
|
677470
677437
|
cwd: getFsImplementation().cwd(),
|
|
677471
677438
|
userType: process.env.USER_TYPE,
|
|
677472
677439
|
sessionId: getSessionId(),
|
|
677473
|
-
version: "1.27.
|
|
677440
|
+
version: "1.27.3"
|
|
677474
677441
|
};
|
|
677475
677442
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
677476
677443
|
}
|
|
@@ -681564,8 +681531,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
681564
681531
|
}
|
|
681565
681532
|
async function checkEnvLessBridgeMinVersion() {
|
|
681566
681533
|
const cfg = await getEnvLessBridgeConfig();
|
|
681567
|
-
if (cfg.min_version && lt("1.27.
|
|
681568
|
-
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.
|
|
681569
681536
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
681570
681537
|
}
|
|
681571
681538
|
return null;
|
|
@@ -682039,7 +682006,7 @@ async function initBridgeCore(params) {
|
|
|
682039
682006
|
const rawApi = createBridgeApiClient({
|
|
682040
682007
|
baseUrl,
|
|
682041
682008
|
getAccessToken,
|
|
682042
|
-
runnerVersion: "1.27.
|
|
682009
|
+
runnerVersion: "1.27.3",
|
|
682043
682010
|
onDebug: logForDebugging,
|
|
682044
682011
|
onAuth401,
|
|
682045
682012
|
getTrustedDeviceToken
|
|
@@ -687720,7 +687687,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
687720
687687
|
setCwd(cwd3);
|
|
687721
687688
|
const server2 = new Server({
|
|
687722
687689
|
name: "ur/tengu",
|
|
687723
|
-
version: "1.27.
|
|
687690
|
+
version: "1.27.3"
|
|
687724
687691
|
}, {
|
|
687725
687692
|
capabilities: {
|
|
687726
687693
|
tools: {}
|
|
@@ -689533,7 +689500,7 @@ async function update() {
|
|
|
689533
689500
|
logEvent("tengu_update_check", {});
|
|
689534
689501
|
const diagnostic = await getDoctorDiagnostic();
|
|
689535
689502
|
const result = await checkUpgradeStatus({
|
|
689536
|
-
currentVersion: "1.27.
|
|
689503
|
+
currentVersion: "1.27.3",
|
|
689537
689504
|
packageName: UR_AGENT_PACKAGE_NAME,
|
|
689538
689505
|
installationType: diagnostic.installationType,
|
|
689539
689506
|
latestVersion: () => getLatestNpmPackageVersion(UR_AGENT_PACKAGE_NAME)
|
|
@@ -690779,7 +690746,7 @@ ${customInstructions}` : customInstructions;
|
|
|
690779
690746
|
}
|
|
690780
690747
|
}
|
|
690781
690748
|
logForDiagnosticsNoPII("info", "started", {
|
|
690782
|
-
version: "1.27.
|
|
690749
|
+
version: "1.27.3",
|
|
690783
690750
|
is_native_binary: isInBundledMode()
|
|
690784
690751
|
});
|
|
690785
690752
|
registerCleanup(async () => {
|
|
@@ -691563,7 +691530,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
691563
691530
|
pendingHookMessages
|
|
691564
691531
|
}, renderAndRun);
|
|
691565
691532
|
}
|
|
691566
|
-
}).version("1.27.
|
|
691533
|
+
}).version("1.27.3 (UR-AGENT)", "-v, --version", "Output the version number");
|
|
691567
691534
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
691568
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.");
|
|
691569
691536
|
if (canUserConfigureAdvisor()) {
|
|
@@ -692440,7 +692407,7 @@ if (false) {}
|
|
|
692440
692407
|
async function main2() {
|
|
692441
692408
|
const args = process.argv.slice(2);
|
|
692442
692409
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
692443
|
-
console.log(`${"1.27.
|
|
692410
|
+
console.log(`${"1.27.3"} (UR-AGENT)`);
|
|
692444
692411
|
return;
|
|
692445
692412
|
}
|
|
692446
692413
|
if (args[0] === "a2a" && args[1] === "serve" && !args.includes("--help") && !args.includes("-h")) {
|
package/package.json
CHANGED