ur-agent 1.11.0 → 1.11.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 +7 -0
- package/README.md +4 -4
- package/dist/cli.js +77 -77
- package/docs/VALIDATION.md +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
UR is a Bun/TypeScript terminal coding agent. It starts an interactive session by default, can run once in print mode for scripts, and supports project context, slash commands, MCP servers, plugins, skills, and custom agents.
|
|
4
4
|
|
|
5
|
-
The package installs a global `ur` command from this GitHub repository. The launcher requires Bun and sends all model requests to the local Ollama app.
|
|
5
|
+
The package installs a global `ur` command from npm or this GitHub repository. The launcher requires Bun and sends all model requests to the local Ollama app.
|
|
6
6
|
|
|
7
7
|
## Requirements
|
|
8
8
|
|
|
@@ -24,12 +24,12 @@ bun remove -g ur-agent
|
|
|
24
24
|
### Then, install:
|
|
25
25
|
|
|
26
26
|
```sh
|
|
27
|
-
|
|
27
|
+
npm install -g ur-agent
|
|
28
28
|
ur --version
|
|
29
29
|
ur
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
If you prefer
|
|
32
|
+
If you prefer installing directly from GitHub, Bun is still required at runtime:
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
npm install -g github:Maitham16/UR-mapek
|
|
@@ -134,7 +134,7 @@ bun run release:check
|
|
|
134
134
|
npm pack --dry-run
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
The package is
|
|
137
|
+
The package is published on npm as `ur-agent` and can also be installed directly from GitHub with `github:Maitham16/UR-mapek`.
|
|
138
138
|
|
|
139
139
|
## Designed By
|
|
140
140
|
|
package/dist/cli.js
CHANGED
|
@@ -69520,7 +69520,7 @@ var init_auth = __esm(() => {
|
|
|
69520
69520
|
|
|
69521
69521
|
// src/utils/userAgent.ts
|
|
69522
69522
|
function getURCodeUserAgent() {
|
|
69523
|
-
return `ur/${"1.11.
|
|
69523
|
+
return `ur/${"1.11.1"}`;
|
|
69524
69524
|
}
|
|
69525
69525
|
|
|
69526
69526
|
// src/utils/workloadContext.ts
|
|
@@ -69542,7 +69542,7 @@ function getUserAgent() {
|
|
|
69542
69542
|
const clientApp = process.env.UR_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}` : "";
|
|
69543
69543
|
const workload = getWorkload();
|
|
69544
69544
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
69545
|
-
return `ur-cli/${"1.11.
|
|
69545
|
+
return `ur-cli/${"1.11.1"} (${process.env.USER_TYPE}, ${process.env.UR_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
69546
69546
|
}
|
|
69547
69547
|
function getMCPUserAgent() {
|
|
69548
69548
|
const parts = [];
|
|
@@ -69556,7 +69556,7 @@ function getMCPUserAgent() {
|
|
|
69556
69556
|
parts.push(`client-app/${process.env.UR_AGENT_SDK_CLIENT_APP}`);
|
|
69557
69557
|
}
|
|
69558
69558
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
69559
|
-
return `ur/${"1.11.
|
|
69559
|
+
return `ur/${"1.11.1"}${suffix}`;
|
|
69560
69560
|
}
|
|
69561
69561
|
function getWebFetchUserAgent() {
|
|
69562
69562
|
return `UR-User (${getURCodeUserAgent()})`;
|
|
@@ -69694,7 +69694,7 @@ var init_user = __esm(() => {
|
|
|
69694
69694
|
deviceId,
|
|
69695
69695
|
sessionId: getSessionId(),
|
|
69696
69696
|
email: getEmail(),
|
|
69697
|
-
appVersion: "1.11.
|
|
69697
|
+
appVersion: "1.11.1",
|
|
69698
69698
|
platform: getHostPlatformForAnalytics(),
|
|
69699
69699
|
organizationUuid,
|
|
69700
69700
|
accountUuid,
|
|
@@ -75471,7 +75471,7 @@ var init_metadata = __esm(() => {
|
|
|
75471
75471
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
75472
75472
|
WHITESPACE_REGEX = /\s+/;
|
|
75473
75473
|
getVersionBase = memoize_default(() => {
|
|
75474
|
-
const match = "1.11.
|
|
75474
|
+
const match = "1.11.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
75475
75475
|
return match ? match[0] : undefined;
|
|
75476
75476
|
});
|
|
75477
75477
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -75511,7 +75511,7 @@ var init_metadata = __esm(() => {
|
|
|
75511
75511
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
75512
75512
|
isURCodeAction: isEnvTruthy(process.env.UR_CODE_ACTION),
|
|
75513
75513
|
isURAiAuth: isURAISubscriber2(),
|
|
75514
|
-
version: "1.11.
|
|
75514
|
+
version: "1.11.1",
|
|
75515
75515
|
versionBase: getVersionBase(),
|
|
75516
75516
|
buildTime: "",
|
|
75517
75517
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
@@ -76181,7 +76181,7 @@ function initialize1PEventLogging() {
|
|
|
76181
76181
|
const platform2 = getPlatform();
|
|
76182
76182
|
const attributes = {
|
|
76183
76183
|
[import_semantic_conventions4.ATTR_SERVICE_NAME]: "ur",
|
|
76184
|
-
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.11.
|
|
76184
|
+
[import_semantic_conventions4.ATTR_SERVICE_VERSION]: "1.11.1"
|
|
76185
76185
|
};
|
|
76186
76186
|
if (platform2 === "wsl") {
|
|
76187
76187
|
const wslVersion = getWslVersion();
|
|
@@ -76208,7 +76208,7 @@ function initialize1PEventLogging() {
|
|
|
76208
76208
|
})
|
|
76209
76209
|
]
|
|
76210
76210
|
});
|
|
76211
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.11.
|
|
76211
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.urhq.ur.events", "1.11.1");
|
|
76212
76212
|
}
|
|
76213
76213
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
76214
76214
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -78072,7 +78072,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
78072
78072
|
if (!isAttributionHeaderEnabled()) {
|
|
78073
78073
|
return "";
|
|
78074
78074
|
}
|
|
78075
|
-
const version2 = `${"1.11.
|
|
78075
|
+
const version2 = `${"1.11.1"}.${fingerprint}`;
|
|
78076
78076
|
const entrypoint = process.env.UR_CODE_ENTRYPOINT ?? "unknown";
|
|
78077
78077
|
const cch = "";
|
|
78078
78078
|
const workload = getWorkload();
|
|
@@ -184542,7 +184542,7 @@ function getTelemetryAttributes() {
|
|
|
184542
184542
|
attributes["session.id"] = sessionId;
|
|
184543
184543
|
}
|
|
184544
184544
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
184545
|
-
attributes["app.version"] = "1.11.
|
|
184545
|
+
attributes["app.version"] = "1.11.1";
|
|
184546
184546
|
}
|
|
184547
184547
|
const oauthAccount = getOauthAccountInfo();
|
|
184548
184548
|
if (oauthAccount) {
|
|
@@ -220140,7 +220140,7 @@ function getInstallationEnv() {
|
|
|
220140
220140
|
return;
|
|
220141
220141
|
}
|
|
220142
220142
|
function getURCodeVersion() {
|
|
220143
|
-
return "1.11.
|
|
220143
|
+
return "1.11.1";
|
|
220144
220144
|
}
|
|
220145
220145
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
220146
220146
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -222868,7 +222868,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
222868
222868
|
const client2 = new Client({
|
|
222869
222869
|
name: "ur",
|
|
222870
222870
|
title: "UR",
|
|
222871
|
-
version: "1.11.
|
|
222871
|
+
version: "1.11.1",
|
|
222872
222872
|
description: "URHQ's agentic coding tool",
|
|
222873
222873
|
websiteUrl: PRODUCT_URL
|
|
222874
222874
|
}, {
|
|
@@ -223222,7 +223222,7 @@ var init_client5 = __esm(() => {
|
|
|
223222
223222
|
const client2 = new Client({
|
|
223223
223223
|
name: "ur",
|
|
223224
223224
|
title: "UR",
|
|
223225
|
-
version: "1.11.
|
|
223225
|
+
version: "1.11.1",
|
|
223226
223226
|
description: "URHQ's agentic coding tool",
|
|
223227
223227
|
websiteUrl: PRODUCT_URL
|
|
223228
223228
|
}, {
|
|
@@ -232941,9 +232941,9 @@ async function assertMinVersion() {
|
|
|
232941
232941
|
if (false) {}
|
|
232942
232942
|
try {
|
|
232943
232943
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
232944
|
-
if (versionConfig.minVersion && lt("1.11.
|
|
232944
|
+
if (versionConfig.minVersion && lt("1.11.1", versionConfig.minVersion)) {
|
|
232945
232945
|
console.error(`
|
|
232946
|
-
It looks like your version of UR (${"1.11.
|
|
232946
|
+
It looks like your version of UR (${"1.11.1"}) needs an update.
|
|
232947
232947
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
232948
232948
|
|
|
232949
232949
|
To update, please run:
|
|
@@ -233159,7 +233159,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
233159
233159
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
233160
233160
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
233161
233161
|
pid: process.pid,
|
|
233162
|
-
currentVersion: "1.11.
|
|
233162
|
+
currentVersion: "1.11.1"
|
|
233163
233163
|
});
|
|
233164
233164
|
return "in_progress";
|
|
233165
233165
|
}
|
|
@@ -233168,7 +233168,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
233168
233168
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
233169
233169
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
233170
233170
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
233171
|
-
currentVersion: "1.11.
|
|
233171
|
+
currentVersion: "1.11.1"
|
|
233172
233172
|
});
|
|
233173
233173
|
console.error(`
|
|
233174
233174
|
Error: Windows NPM detected in WSL
|
|
@@ -233703,7 +233703,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
233703
233703
|
}
|
|
233704
233704
|
async function getDoctorDiagnostic() {
|
|
233705
233705
|
const installationType = await getCurrentInstallationType();
|
|
233706
|
-
const version2 = typeof MACRO !== "undefined" ? "1.11.
|
|
233706
|
+
const version2 = typeof MACRO !== "undefined" ? "1.11.1" : "unknown";
|
|
233707
233707
|
const installationPath = await getInstallationPath();
|
|
233708
233708
|
const invokedBinary = getInvokedBinary();
|
|
233709
233709
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -234638,8 +234638,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
234638
234638
|
const maxVersion = await getMaxVersion();
|
|
234639
234639
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
234640
234640
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
234641
|
-
if (gte("1.11.
|
|
234642
|
-
logForDebugging(`Native installer: current version ${"1.11.
|
|
234641
|
+
if (gte("1.11.1", maxVersion)) {
|
|
234642
|
+
logForDebugging(`Native installer: current version ${"1.11.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
234643
234643
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
234644
234644
|
latency_ms: Date.now() - startTime,
|
|
234645
234645
|
max_version: maxVersion,
|
|
@@ -234650,7 +234650,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
234650
234650
|
version2 = maxVersion;
|
|
234651
234651
|
}
|
|
234652
234652
|
}
|
|
234653
|
-
if (!forceReinstall && version2 === "1.11.
|
|
234653
|
+
if (!forceReinstall && version2 === "1.11.1" && await versionIsAvailable(version2) && await isPossibleURBinary(executablePath)) {
|
|
234654
234654
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
234655
234655
|
logEvent("tengu_native_update_complete", {
|
|
234656
234656
|
latency_ms: Date.now() - startTime,
|
|
@@ -328808,7 +328808,7 @@ function Feedback({
|
|
|
328808
328808
|
platform: env3.platform,
|
|
328809
328809
|
gitRepo: envInfo.isGit,
|
|
328810
328810
|
terminal: env3.terminal,
|
|
328811
|
-
version: "1.11.
|
|
328811
|
+
version: "1.11.1",
|
|
328812
328812
|
transcript: normalizeMessagesForAPI(messages),
|
|
328813
328813
|
errors: sanitizedErrors,
|
|
328814
328814
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -329000,7 +329000,7 @@ function Feedback({
|
|
|
329000
329000
|
", ",
|
|
329001
329001
|
env3.terminal,
|
|
329002
329002
|
", v",
|
|
329003
|
-
"1.11.
|
|
329003
|
+
"1.11.1"
|
|
329004
329004
|
]
|
|
329005
329005
|
}, undefined, true, undefined, this)
|
|
329006
329006
|
]
|
|
@@ -329106,7 +329106,7 @@ ${sanitizedDescription}
|
|
|
329106
329106
|
` + `**Environment Info**
|
|
329107
329107
|
` + `- Platform: ${env3.platform}
|
|
329108
329108
|
` + `- Terminal: ${env3.terminal}
|
|
329109
|
-
` + `- Version: ${"1.11.
|
|
329109
|
+
` + `- Version: ${"1.11.1"}
|
|
329110
329110
|
` + `- Feedback ID: ${feedbackId}
|
|
329111
329111
|
` + `
|
|
329112
329112
|
**Errors**
|
|
@@ -332216,7 +332216,7 @@ function buildPrimarySection() {
|
|
|
332216
332216
|
}, undefined, false, undefined, this);
|
|
332217
332217
|
return [{
|
|
332218
332218
|
label: "Version",
|
|
332219
|
-
value: "1.11.
|
|
332219
|
+
value: "1.11.1"
|
|
332220
332220
|
}, {
|
|
332221
332221
|
label: "Session name",
|
|
332222
332222
|
value: nameValue
|
|
@@ -335494,7 +335494,7 @@ function Config({
|
|
|
335494
335494
|
}
|
|
335495
335495
|
}, undefined, false, undefined, this)
|
|
335496
335496
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime177.jsxDEV(ChannelDowngradeDialog, {
|
|
335497
|
-
currentVersion: "1.11.
|
|
335497
|
+
currentVersion: "1.11.1",
|
|
335498
335498
|
onChoice: (choice) => {
|
|
335499
335499
|
setShowSubmenu(null);
|
|
335500
335500
|
setTabsHidden(false);
|
|
@@ -335506,7 +335506,7 @@ function Config({
|
|
|
335506
335506
|
autoUpdatesChannel: "stable"
|
|
335507
335507
|
};
|
|
335508
335508
|
if (choice === "stay") {
|
|
335509
|
-
newSettings.minimumVersion = "1.11.
|
|
335509
|
+
newSettings.minimumVersion = "1.11.1";
|
|
335510
335510
|
}
|
|
335511
335511
|
updateSettingsForSource("userSettings", newSettings);
|
|
335512
335512
|
setSettingsData((prev_27) => ({
|
|
@@ -343576,7 +343576,7 @@ function HelpV2(t0) {
|
|
|
343576
343576
|
let t6;
|
|
343577
343577
|
if ($3[31] !== tabs) {
|
|
343578
343578
|
t6 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(Tabs, {
|
|
343579
|
-
title: `UR v${"1.11.
|
|
343579
|
+
title: `UR v${"1.11.1"}`,
|
|
343580
343580
|
color: "professionalBlue",
|
|
343581
343581
|
defaultTab: "general",
|
|
343582
343582
|
children: tabs
|
|
@@ -363179,7 +363179,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
363179
363179
|
return [];
|
|
363180
363180
|
}
|
|
363181
363181
|
}
|
|
363182
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.11.
|
|
363182
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.11.1") {
|
|
363183
363183
|
if (process.env.USER_TYPE === "ant") {
|
|
363184
363184
|
const changelog = "";
|
|
363185
363185
|
if (changelog) {
|
|
@@ -363206,7 +363206,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.11.0")
|
|
|
363206
363206
|
releaseNotes
|
|
363207
363207
|
};
|
|
363208
363208
|
}
|
|
363209
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.11.
|
|
363209
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.11.1") {
|
|
363210
363210
|
if (process.env.USER_TYPE === "ant") {
|
|
363211
363211
|
const changelog = "";
|
|
363212
363212
|
if (changelog) {
|
|
@@ -364376,7 +364376,7 @@ function getRecentActivitySync() {
|
|
|
364376
364376
|
return cachedActivity;
|
|
364377
364377
|
}
|
|
364378
364378
|
function getLogoDisplayData() {
|
|
364379
|
-
const version2 = process.env.DEMO_VERSION ?? "1.11.
|
|
364379
|
+
const version2 = process.env.DEMO_VERSION ?? "1.11.1";
|
|
364380
364380
|
const serverUrl = getDirectConnectServerUrl();
|
|
364381
364381
|
const displayPath = process.env.DEMO_VERSION ? "/code/ur" : getDisplayPath(getCwd());
|
|
364382
364382
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -365165,7 +365165,7 @@ function LogoV2() {
|
|
|
365165
365165
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
365166
365166
|
t2 = () => {
|
|
365167
365167
|
const currentConfig = getGlobalConfig();
|
|
365168
|
-
if (currentConfig.lastReleaseNotesSeen === "1.11.
|
|
365168
|
+
if (currentConfig.lastReleaseNotesSeen === "1.11.1") {
|
|
365169
365169
|
return;
|
|
365170
365170
|
}
|
|
365171
365171
|
saveGlobalConfig(_temp326);
|
|
@@ -365850,12 +365850,12 @@ function LogoV2() {
|
|
|
365850
365850
|
return t41;
|
|
365851
365851
|
}
|
|
365852
365852
|
function _temp326(current) {
|
|
365853
|
-
if (current.lastReleaseNotesSeen === "1.11.
|
|
365853
|
+
if (current.lastReleaseNotesSeen === "1.11.1") {
|
|
365854
365854
|
return current;
|
|
365855
365855
|
}
|
|
365856
365856
|
return {
|
|
365857
365857
|
...current,
|
|
365858
|
-
lastReleaseNotesSeen: "1.11.
|
|
365858
|
+
lastReleaseNotesSeen: "1.11.1"
|
|
365859
365859
|
};
|
|
365860
365860
|
}
|
|
365861
365861
|
function _temp243(s_0) {
|
|
@@ -395672,7 +395672,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
395672
395672
|
smapsRollup,
|
|
395673
395673
|
platform: process.platform,
|
|
395674
395674
|
nodeVersion: process.version,
|
|
395675
|
-
ccVersion: "1.11.
|
|
395675
|
+
ccVersion: "1.11.1"
|
|
395676
395676
|
};
|
|
395677
395677
|
}
|
|
395678
395678
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -396258,7 +396258,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
396258
396258
|
var call93 = async () => {
|
|
396259
396259
|
return {
|
|
396260
396260
|
type: "text",
|
|
396261
|
-
value: "1.11.
|
|
396261
|
+
value: "1.11.1"
|
|
396262
396262
|
};
|
|
396263
396263
|
}, version2, version_default;
|
|
396264
396264
|
var init_version = __esm(() => {
|
|
@@ -405298,7 +405298,7 @@ function generateHtmlReport(data, insights) {
|
|
|
405298
405298
|
</html>`;
|
|
405299
405299
|
}
|
|
405300
405300
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
405301
|
-
const version3 = typeof MACRO !== "undefined" ? "1.11.
|
|
405301
|
+
const version3 = typeof MACRO !== "undefined" ? "1.11.1" : "unknown";
|
|
405302
405302
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
405303
405303
|
const facets_summary = {
|
|
405304
405304
|
total: facets.size,
|
|
@@ -409485,7 +409485,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
409485
409485
|
init_settings2();
|
|
409486
409486
|
init_slowOperations();
|
|
409487
409487
|
init_uuid();
|
|
409488
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.11.
|
|
409488
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.11.1" : "unknown";
|
|
409489
409489
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
409490
409490
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
409491
409491
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -410690,7 +410690,7 @@ var init_filesystem = __esm(() => {
|
|
|
410690
410690
|
});
|
|
410691
410691
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
410692
410692
|
const nonce = randomBytes18(16).toString("hex");
|
|
410693
|
-
return join150(getURTempDir(), "bundled-skills", "1.11.
|
|
410693
|
+
return join150(getURTempDir(), "bundled-skills", "1.11.1", nonce);
|
|
410694
410694
|
});
|
|
410695
410695
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
410696
410696
|
});
|
|
@@ -416721,7 +416721,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
416721
416721
|
}
|
|
416722
416722
|
function computeFingerprintFromMessages(messages) {
|
|
416723
416723
|
const firstMessageText = extractFirstMessageText(messages);
|
|
416724
|
-
return computeFingerprint(firstMessageText, "1.11.
|
|
416724
|
+
return computeFingerprint(firstMessageText, "1.11.1");
|
|
416725
416725
|
}
|
|
416726
416726
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
416727
416727
|
var init_fingerprint = () => {};
|
|
@@ -418587,7 +418587,7 @@ async function sideQuery(opts) {
|
|
|
418587
418587
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
418588
418588
|
}
|
|
418589
418589
|
const messageText = extractFirstUserMessageText(messages);
|
|
418590
|
-
const fingerprint = computeFingerprint(messageText, "1.11.
|
|
418590
|
+
const fingerprint = computeFingerprint(messageText, "1.11.1");
|
|
418591
418591
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
418592
418592
|
const systemBlocks = [
|
|
418593
418593
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -423324,7 +423324,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
423324
423324
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
423325
423325
|
apiKeySource: getURHQApiKeyWithSource().source,
|
|
423326
423326
|
betas: getSdkBetas(),
|
|
423327
|
-
ur_version: "1.11.
|
|
423327
|
+
ur_version: "1.11.1",
|
|
423328
423328
|
output_style: outputStyle2,
|
|
423329
423329
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
423330
423330
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -437952,7 +437952,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
437952
437952
|
function getSemverPart(version3) {
|
|
437953
437953
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
437954
437954
|
}
|
|
437955
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.11.
|
|
437955
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.11.1") {
|
|
437956
437956
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
437957
437957
|
if (!updatedVersion) {
|
|
437958
437958
|
return null;
|
|
@@ -437992,7 +437992,7 @@ function AutoUpdater({
|
|
|
437992
437992
|
return;
|
|
437993
437993
|
}
|
|
437994
437994
|
if (false) {}
|
|
437995
|
-
const currentVersion = "1.11.
|
|
437995
|
+
const currentVersion = "1.11.1";
|
|
437996
437996
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
437997
437997
|
let latestVersion = await getLatestVersion(channel);
|
|
437998
437998
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -438205,12 +438205,12 @@ function NativeAutoUpdater({
|
|
|
438205
438205
|
logEvent("tengu_native_auto_updater_start", {});
|
|
438206
438206
|
try {
|
|
438207
438207
|
const maxVersion = await getMaxVersion();
|
|
438208
|
-
if (maxVersion && gt("1.11.
|
|
438208
|
+
if (maxVersion && gt("1.11.1", maxVersion)) {
|
|
438209
438209
|
const msg = await getMaxVersionMessage();
|
|
438210
438210
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
438211
438211
|
}
|
|
438212
438212
|
const result = await installLatest(channel);
|
|
438213
|
-
const currentVersion = "1.11.
|
|
438213
|
+
const currentVersion = "1.11.1";
|
|
438214
438214
|
const latencyMs = Date.now() - startTime;
|
|
438215
438215
|
if (result.lockFailed) {
|
|
438216
438216
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -438347,17 +438347,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
438347
438347
|
const maxVersion = await getMaxVersion();
|
|
438348
438348
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
438349
438349
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
438350
|
-
if (gte("1.11.
|
|
438351
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.11.
|
|
438350
|
+
if (gte("1.11.1", maxVersion)) {
|
|
438351
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.11.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
438352
438352
|
setUpdateAvailable(false);
|
|
438353
438353
|
return;
|
|
438354
438354
|
}
|
|
438355
438355
|
latest = maxVersion;
|
|
438356
438356
|
}
|
|
438357
|
-
const hasUpdate = latest && !gte("1.11.
|
|
438357
|
+
const hasUpdate = latest && !gte("1.11.1", latest) && !shouldSkipVersion(latest);
|
|
438358
438358
|
setUpdateAvailable(!!hasUpdate);
|
|
438359
438359
|
if (hasUpdate) {
|
|
438360
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.11.
|
|
438360
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.11.1"} -> ${latest}`);
|
|
438361
438361
|
}
|
|
438362
438362
|
};
|
|
438363
438363
|
$3[0] = t1;
|
|
@@ -438391,7 +438391,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
438391
438391
|
wrap: "truncate",
|
|
438392
438392
|
children: [
|
|
438393
438393
|
"currentVersion: ",
|
|
438394
|
-
"1.11.
|
|
438394
|
+
"1.11.1"
|
|
438395
438395
|
]
|
|
438396
438396
|
}, undefined, true, undefined, this);
|
|
438397
438397
|
$3[3] = verbose;
|
|
@@ -450753,7 +450753,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
450753
450753
|
project_dir: getOriginalCwd(),
|
|
450754
450754
|
added_dirs: addedDirs
|
|
450755
450755
|
},
|
|
450756
|
-
version: "1.11.
|
|
450756
|
+
version: "1.11.1",
|
|
450757
450757
|
output_style: {
|
|
450758
450758
|
name: outputStyleName
|
|
450759
450759
|
},
|
|
@@ -462245,7 +462245,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
462245
462245
|
} catch {}
|
|
462246
462246
|
const data = {
|
|
462247
462247
|
trigger,
|
|
462248
|
-
version: "1.11.
|
|
462248
|
+
version: "1.11.1",
|
|
462249
462249
|
platform: process.platform,
|
|
462250
462250
|
transcript,
|
|
462251
462251
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -474160,7 +474160,7 @@ function WelcomeV2() {
|
|
|
474160
474160
|
dimColor: true,
|
|
474161
474161
|
children: [
|
|
474162
474162
|
"v",
|
|
474163
|
-
"1.11.
|
|
474163
|
+
"1.11.1"
|
|
474164
474164
|
]
|
|
474165
474165
|
}, undefined, true, undefined, this)
|
|
474166
474166
|
]
|
|
@@ -475420,7 +475420,7 @@ function completeOnboarding() {
|
|
|
475420
475420
|
saveGlobalConfig((current) => ({
|
|
475421
475421
|
...current,
|
|
475422
475422
|
hasCompletedOnboarding: true,
|
|
475423
|
-
lastOnboardingVersion: "1.11.
|
|
475423
|
+
lastOnboardingVersion: "1.11.1"
|
|
475424
475424
|
}));
|
|
475425
475425
|
}
|
|
475426
475426
|
function showDialog(root2, renderer) {
|
|
@@ -479880,7 +479880,7 @@ function appendToLog(path24, message) {
|
|
|
479880
479880
|
cwd: getFsImplementation().cwd(),
|
|
479881
479881
|
userType: process.env.USER_TYPE,
|
|
479882
479882
|
sessionId: getSessionId(),
|
|
479883
|
-
version: "1.11.
|
|
479883
|
+
version: "1.11.1"
|
|
479884
479884
|
};
|
|
479885
479885
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
479886
479886
|
}
|
|
@@ -483906,8 +483906,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
483906
483906
|
}
|
|
483907
483907
|
async function checkEnvLessBridgeMinVersion() {
|
|
483908
483908
|
const cfg = await getEnvLessBridgeConfig();
|
|
483909
|
-
if (cfg.min_version && lt("1.11.
|
|
483910
|
-
return `Your version of UR (${"1.11.
|
|
483909
|
+
if (cfg.min_version && lt("1.11.1", cfg.min_version)) {
|
|
483910
|
+
return `Your version of UR (${"1.11.1"}) is too old for Remote Control.
|
|
483911
483911
|
Version ${cfg.min_version} or higher is required. Run \`ur update\` to update.`;
|
|
483912
483912
|
}
|
|
483913
483913
|
return null;
|
|
@@ -484381,7 +484381,7 @@ async function initBridgeCore(params) {
|
|
|
484381
484381
|
const rawApi = createBridgeApiClient({
|
|
484382
484382
|
baseUrl,
|
|
484383
484383
|
getAccessToken,
|
|
484384
|
-
runnerVersion: "1.11.
|
|
484384
|
+
runnerVersion: "1.11.1",
|
|
484385
484385
|
onDebug: logForDebugging,
|
|
484386
484386
|
onAuth401,
|
|
484387
484387
|
getTrustedDeviceToken
|
|
@@ -490046,7 +490046,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
490046
490046
|
setCwd(cwd3);
|
|
490047
490047
|
const server = new Server({
|
|
490048
490048
|
name: "ur/tengu",
|
|
490049
|
-
version: "1.11.
|
|
490049
|
+
version: "1.11.1"
|
|
490050
490050
|
}, {
|
|
490051
490051
|
capabilities: {
|
|
490052
490052
|
tools: {}
|
|
@@ -491657,7 +491657,7 @@ __export(exports_update, {
|
|
|
491657
491657
|
});
|
|
491658
491658
|
async function update() {
|
|
491659
491659
|
logEvent("tengu_update_check", {});
|
|
491660
|
-
writeToStdout(`Current version: ${"1.11.
|
|
491660
|
+
writeToStdout(`Current version: ${"1.11.1"}
|
|
491661
491661
|
`);
|
|
491662
491662
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
491663
491663
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -491732,8 +491732,8 @@ async function update() {
|
|
|
491732
491732
|
writeToStdout(`UR is managed by Homebrew.
|
|
491733
491733
|
`);
|
|
491734
491734
|
const latest = await getLatestVersion(channel);
|
|
491735
|
-
if (latest && !gte("1.11.
|
|
491736
|
-
writeToStdout(`Update available: ${"1.11.
|
|
491735
|
+
if (latest && !gte("1.11.1", latest)) {
|
|
491736
|
+
writeToStdout(`Update available: ${"1.11.1"} \u2192 ${latest}
|
|
491737
491737
|
`);
|
|
491738
491738
|
writeToStdout(`
|
|
491739
491739
|
`);
|
|
@@ -491749,8 +491749,8 @@ async function update() {
|
|
|
491749
491749
|
writeToStdout(`UR is managed by winget.
|
|
491750
491750
|
`);
|
|
491751
491751
|
const latest = await getLatestVersion(channel);
|
|
491752
|
-
if (latest && !gte("1.11.
|
|
491753
|
-
writeToStdout(`Update available: ${"1.11.
|
|
491752
|
+
if (latest && !gte("1.11.1", latest)) {
|
|
491753
|
+
writeToStdout(`Update available: ${"1.11.1"} \u2192 ${latest}
|
|
491754
491754
|
`);
|
|
491755
491755
|
writeToStdout(`
|
|
491756
491756
|
`);
|
|
@@ -491766,8 +491766,8 @@ async function update() {
|
|
|
491766
491766
|
writeToStdout(`UR is managed by apk.
|
|
491767
491767
|
`);
|
|
491768
491768
|
const latest = await getLatestVersion(channel);
|
|
491769
|
-
if (latest && !gte("1.11.
|
|
491770
|
-
writeToStdout(`Update available: ${"1.11.
|
|
491769
|
+
if (latest && !gte("1.11.1", latest)) {
|
|
491770
|
+
writeToStdout(`Update available: ${"1.11.1"} \u2192 ${latest}
|
|
491771
491771
|
`);
|
|
491772
491772
|
writeToStdout(`
|
|
491773
491773
|
`);
|
|
@@ -491832,11 +491832,11 @@ async function update() {
|
|
|
491832
491832
|
`);
|
|
491833
491833
|
await gracefulShutdown(1);
|
|
491834
491834
|
}
|
|
491835
|
-
if (result.latestVersion === "1.11.
|
|
491836
|
-
writeToStdout(source_default.green(`UR is up to date (${"1.11.
|
|
491835
|
+
if (result.latestVersion === "1.11.1") {
|
|
491836
|
+
writeToStdout(source_default.green(`UR is up to date (${"1.11.1"})`) + `
|
|
491837
491837
|
`);
|
|
491838
491838
|
} else {
|
|
491839
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.11.
|
|
491839
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.11.1"} to version ${result.latestVersion}`) + `
|
|
491840
491840
|
`);
|
|
491841
491841
|
await regenerateCompletionCache();
|
|
491842
491842
|
}
|
|
@@ -491896,12 +491896,12 @@ async function update() {
|
|
|
491896
491896
|
`);
|
|
491897
491897
|
await gracefulShutdown(1);
|
|
491898
491898
|
}
|
|
491899
|
-
if (latestVersion === "1.11.
|
|
491900
|
-
writeToStdout(source_default.green(`UR is up to date (${"1.11.
|
|
491899
|
+
if (latestVersion === "1.11.1") {
|
|
491900
|
+
writeToStdout(source_default.green(`UR is up to date (${"1.11.1"})`) + `
|
|
491901
491901
|
`);
|
|
491902
491902
|
await gracefulShutdown(0);
|
|
491903
491903
|
}
|
|
491904
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.11.
|
|
491904
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.11.1"})
|
|
491905
491905
|
`);
|
|
491906
491906
|
writeToStdout(`Installing update...
|
|
491907
491907
|
`);
|
|
@@ -491946,7 +491946,7 @@ async function update() {
|
|
|
491946
491946
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
491947
491947
|
switch (status2) {
|
|
491948
491948
|
case "success":
|
|
491949
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.11.
|
|
491949
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.11.1"} to version ${latestVersion}`) + `
|
|
491950
491950
|
`);
|
|
491951
491951
|
await regenerateCompletionCache();
|
|
491952
491952
|
break;
|
|
@@ -493196,7 +493196,7 @@ ${customInstructions}` : customInstructions;
|
|
|
493196
493196
|
}
|
|
493197
493197
|
}
|
|
493198
493198
|
logForDiagnosticsNoPII("info", "started", {
|
|
493199
|
-
version: "1.11.
|
|
493199
|
+
version: "1.11.1",
|
|
493200
493200
|
is_native_binary: isInBundledMode()
|
|
493201
493201
|
});
|
|
493202
493202
|
registerCleanup(async () => {
|
|
@@ -493980,7 +493980,7 @@ Usage: ur --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
493980
493980
|
pendingHookMessages
|
|
493981
493981
|
}, renderAndRun);
|
|
493982
493982
|
}
|
|
493983
|
-
}).version("1.11.
|
|
493983
|
+
}).version("1.11.1 (Ur)", "-v, --version", "Output the version number");
|
|
493984
493984
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
493985
493985
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
493986
493986
|
if (canUserConfigureAdvisor()) {
|
|
@@ -494493,7 +494493,7 @@ if (false) {}
|
|
|
494493
494493
|
async function main2() {
|
|
494494
494494
|
const args = process.argv.slice(2);
|
|
494495
494495
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
494496
|
-
console.log(`${"1.11.
|
|
494496
|
+
console.log(`${"1.11.1"} (Ur)`);
|
|
494497
494497
|
return;
|
|
494498
494498
|
}
|
|
494499
494499
|
const {
|
package/docs/VALIDATION.md
CHANGED
|
@@ -9,14 +9,15 @@ You need:
|
|
|
9
9
|
- A running Ollama server (`ollama serve`) with at least one model available
|
|
10
10
|
in the local Ollama app. Local models and Ollama Cloud-backed models both
|
|
11
11
|
work because UR talks to the local app.
|
|
12
|
-
-
|
|
12
|
+
- UR installed globally (`npm install -g ur-agent`) or this repo installed
|
|
13
|
+
globally (`bun add -g github:Maitham16/UR-mapek`) or a
|
|
13
14
|
local checkout (`bun run dev`).
|
|
14
15
|
|
|
15
16
|
## 0. Smoke
|
|
16
17
|
|
|
17
18
|
```sh
|
|
18
19
|
ur --version
|
|
19
|
-
# expected: 1.11.
|
|
20
|
+
# expected: 1.11.1 (Ur)
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
## 1. Marketplace tree resolves
|