localclawd 1.1.27 → 1.1.28
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.mjs +80 -83
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -89232,7 +89232,7 @@ var init_isEqual = __esm(() => {
|
|
|
89232
89232
|
|
|
89233
89233
|
// src/utils/userAgent.ts
|
|
89234
89234
|
function getClaudeCodeUserAgent() {
|
|
89235
|
-
return `claude-code/${"1.1.
|
|
89235
|
+
return `claude-code/${"1.1.28"}`;
|
|
89236
89236
|
}
|
|
89237
89237
|
|
|
89238
89238
|
// src/utils/workloadContext.ts
|
|
@@ -89254,7 +89254,7 @@ function getUserAgent() {
|
|
|
89254
89254
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
89255
89255
|
const workload = getWorkload();
|
|
89256
89256
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
89257
|
-
return `claude-cli/${"1.1.
|
|
89257
|
+
return `claude-cli/${"1.1.28"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
89258
89258
|
}
|
|
89259
89259
|
function getMCPUserAgent() {
|
|
89260
89260
|
const parts = [];
|
|
@@ -89268,7 +89268,7 @@ function getMCPUserAgent() {
|
|
|
89268
89268
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
89269
89269
|
}
|
|
89270
89270
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
89271
|
-
return `claude-code/${"1.1.
|
|
89271
|
+
return `claude-code/${"1.1.28"}${suffix}`;
|
|
89272
89272
|
}
|
|
89273
89273
|
function getWebFetchUserAgent() {
|
|
89274
89274
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -99177,7 +99177,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
99177
99177
|
if (!isAttributionHeaderEnabled()) {
|
|
99178
99178
|
return "";
|
|
99179
99179
|
}
|
|
99180
|
-
const version = `${"1.1.
|
|
99180
|
+
const version = `${"1.1.28"}.${fingerprint}`;
|
|
99181
99181
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
99182
99182
|
const cch = "";
|
|
99183
99183
|
const workload = getWorkload();
|
|
@@ -132724,7 +132724,7 @@ var init_metadata = __esm(() => {
|
|
|
132724
132724
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
132725
132725
|
WHITESPACE_REGEX = /\s+/;
|
|
132726
132726
|
getVersionBase = memoize_default(() => {
|
|
132727
|
-
const match = "1.1.
|
|
132727
|
+
const match = "1.1.28".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
132728
132728
|
return match ? match[0] : undefined;
|
|
132729
132729
|
});
|
|
132730
132730
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -132764,9 +132764,9 @@ var init_metadata = __esm(() => {
|
|
|
132764
132764
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
132765
132765
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
132766
132766
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
132767
|
-
version: "1.1.
|
|
132767
|
+
version: "1.1.28",
|
|
132768
132768
|
versionBase: getVersionBase(),
|
|
132769
|
-
buildTime: "2026-04-13T03:
|
|
132769
|
+
buildTime: "2026-04-13T03:34:00.796Z",
|
|
132770
132770
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
132771
132771
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
132772
132772
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -197386,7 +197386,7 @@ function getTelemetryAttributes() {
|
|
|
197386
197386
|
attributes["session.id"] = sessionId;
|
|
197387
197387
|
}
|
|
197388
197388
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
197389
|
-
attributes["app.version"] = "1.1.
|
|
197389
|
+
attributes["app.version"] = "1.1.28";
|
|
197390
197390
|
}
|
|
197391
197391
|
const oauthAccount = getOauthAccountInfo();
|
|
197392
197392
|
if (oauthAccount) {
|
|
@@ -229454,7 +229454,7 @@ function getInstallationEnv() {
|
|
|
229454
229454
|
return;
|
|
229455
229455
|
}
|
|
229456
229456
|
function getClaudeCodeVersion() {
|
|
229457
|
-
return "1.1.
|
|
229457
|
+
return "1.1.28";
|
|
229458
229458
|
}
|
|
229459
229459
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
229460
229460
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -235056,7 +235056,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
235056
235056
|
const client4 = new Client({
|
|
235057
235057
|
name: "localclawd",
|
|
235058
235058
|
title: "localclawd",
|
|
235059
|
-
version: "1.1.
|
|
235059
|
+
version: "1.1.28",
|
|
235060
235060
|
description: "local-first AI coding tool",
|
|
235061
235061
|
websiteUrl: PRODUCT_URL
|
|
235062
235062
|
}, {
|
|
@@ -235409,7 +235409,7 @@ var init_client9 = __esm(() => {
|
|
|
235409
235409
|
const client4 = new Client({
|
|
235410
235410
|
name: "localclawd",
|
|
235411
235411
|
title: "localclawd",
|
|
235412
|
-
version: "1.1.
|
|
235412
|
+
version: "1.1.28",
|
|
235413
235413
|
description: "local-first AI coding tool",
|
|
235414
235414
|
websiteUrl: PRODUCT_URL
|
|
235415
235415
|
}, {
|
|
@@ -258464,7 +258464,7 @@ var init_user = __esm(() => {
|
|
|
258464
258464
|
deviceId,
|
|
258465
258465
|
sessionId: getSessionId(),
|
|
258466
258466
|
email: getEmail(),
|
|
258467
|
-
appVersion: "1.1.
|
|
258467
|
+
appVersion: "1.1.28",
|
|
258468
258468
|
platform: getHostPlatformForAnalytics(),
|
|
258469
258469
|
organizationUuid,
|
|
258470
258470
|
accountUuid,
|
|
@@ -259788,7 +259788,7 @@ async function initializeBetaTracing(resource) {
|
|
|
259788
259788
|
});
|
|
259789
259789
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
259790
259790
|
setLoggerProvider(loggerProvider);
|
|
259791
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
259791
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.28");
|
|
259792
259792
|
setEventLogger(eventLogger);
|
|
259793
259793
|
process.on("beforeExit", async () => {
|
|
259794
259794
|
await loggerProvider?.forceFlush();
|
|
@@ -259828,7 +259828,7 @@ async function initializeTelemetry() {
|
|
|
259828
259828
|
const platform3 = getPlatform();
|
|
259829
259829
|
const baseAttributes = {
|
|
259830
259830
|
[ATTR_SERVICE_NAME5]: "claude-code",
|
|
259831
|
-
[ATTR_SERVICE_VERSION5]: "1.1.
|
|
259831
|
+
[ATTR_SERVICE_VERSION5]: "1.1.28"
|
|
259832
259832
|
};
|
|
259833
259833
|
if (platform3 === "wsl") {
|
|
259834
259834
|
const wslVersion = getWslVersion();
|
|
@@ -259873,7 +259873,7 @@ async function initializeTelemetry() {
|
|
|
259873
259873
|
} catch {}
|
|
259874
259874
|
};
|
|
259875
259875
|
registerCleanup(shutdownTelemetry2);
|
|
259876
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.
|
|
259876
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.28");
|
|
259877
259877
|
}
|
|
259878
259878
|
const meterProvider = new MeterProvider5({
|
|
259879
259879
|
resource,
|
|
@@ -259893,7 +259893,7 @@ async function initializeTelemetry() {
|
|
|
259893
259893
|
});
|
|
259894
259894
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
259895
259895
|
setLoggerProvider(loggerProvider);
|
|
259896
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
259896
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.28");
|
|
259897
259897
|
setEventLogger(eventLogger);
|
|
259898
259898
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
259899
259899
|
process.on("beforeExit", async () => {
|
|
@@ -259955,7 +259955,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
259955
259955
|
}
|
|
259956
259956
|
};
|
|
259957
259957
|
registerCleanup(shutdownTelemetry);
|
|
259958
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.
|
|
259958
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.28");
|
|
259959
259959
|
}
|
|
259960
259960
|
async function flushTelemetry() {
|
|
259961
259961
|
const meterProvider = getMeterProvider();
|
|
@@ -261178,7 +261178,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
261178
261178
|
}
|
|
261179
261179
|
async function getDoctorDiagnostic() {
|
|
261180
261180
|
const installationType = await getCurrentInstallationType();
|
|
261181
|
-
const version = typeof MACRO !== "undefined" ? "1.1.
|
|
261181
|
+
const version = typeof MACRO !== "undefined" ? "1.1.28" : "unknown";
|
|
261182
261182
|
const installationPath = await getInstallationPath();
|
|
261183
261183
|
const invokedBinary = getInvokedBinary();
|
|
261184
261184
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -262119,8 +262119,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
262119
262119
|
const maxVersion = await getMaxVersion();
|
|
262120
262120
|
if (maxVersion && gt(version, maxVersion)) {
|
|
262121
262121
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version} to ${maxVersion}`);
|
|
262122
|
-
if (gte("1.1.
|
|
262123
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
262122
|
+
if (gte("1.1.28", maxVersion)) {
|
|
262123
|
+
logForDebugging(`Native installer: current version ${"1.1.28"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
262124
262124
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
262125
262125
|
latency_ms: Date.now() - startTime,
|
|
262126
262126
|
max_version: maxVersion,
|
|
@@ -262131,7 +262131,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
262131
262131
|
version = maxVersion;
|
|
262132
262132
|
}
|
|
262133
262133
|
}
|
|
262134
|
-
if (!forceReinstall && version === "1.1.
|
|
262134
|
+
if (!forceReinstall && version === "1.1.28" && await versionIsAvailable(version) && await isPossibleLocalClawdBinary(executablePath)) {
|
|
262135
262135
|
logForDebugging(`Found ${version} at ${executablePath}, skipping install`);
|
|
262136
262136
|
logEvent("tengu_native_update_complete", {
|
|
262137
262137
|
latency_ms: Date.now() - startTime,
|
|
@@ -333549,7 +333549,7 @@ function getAnthropicEnvMetadata() {
|
|
|
333549
333549
|
function getBuildAgeMinutes() {
|
|
333550
333550
|
if (false)
|
|
333551
333551
|
;
|
|
333552
|
-
const buildTime = new Date("2026-04-13T03:
|
|
333552
|
+
const buildTime = new Date("2026-04-13T03:34:00.796Z").getTime();
|
|
333553
333553
|
if (isNaN(buildTime))
|
|
333554
333554
|
return;
|
|
333555
333555
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -357536,7 +357536,7 @@ function Feedback({
|
|
|
357536
357536
|
platform: env4.platform,
|
|
357537
357537
|
gitRepo: envInfo.isGit,
|
|
357538
357538
|
terminal: env4.terminal,
|
|
357539
|
-
version: "1.1.
|
|
357539
|
+
version: "1.1.28",
|
|
357540
357540
|
transcript: normalizeMessagesForAPI(messages),
|
|
357541
357541
|
errors: sanitizedErrors,
|
|
357542
357542
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -357728,7 +357728,7 @@ function Feedback({
|
|
|
357728
357728
|
", ",
|
|
357729
357729
|
env4.terminal,
|
|
357730
357730
|
", v",
|
|
357731
|
-
"1.1.
|
|
357731
|
+
"1.1.28"
|
|
357732
357732
|
]
|
|
357733
357733
|
}, undefined, true, undefined, this)
|
|
357734
357734
|
]
|
|
@@ -357834,7 +357834,7 @@ ${sanitizedDescription}
|
|
|
357834
357834
|
` + `**Environment Info**
|
|
357835
357835
|
` + `- Platform: ${env4.platform}
|
|
357836
357836
|
` + `- Terminal: ${env4.terminal}
|
|
357837
|
-
` + `- Version: ${"1.1.
|
|
357837
|
+
` + `- Version: ${"1.1.28"}
|
|
357838
357838
|
` + `- Feedback ID: ${feedbackId}
|
|
357839
357839
|
` + `
|
|
357840
357840
|
**Errors**
|
|
@@ -360947,7 +360947,7 @@ function buildPrimarySection() {
|
|
|
360947
360947
|
}, undefined, false, undefined, this);
|
|
360948
360948
|
return [{
|
|
360949
360949
|
label: "Version",
|
|
360950
|
-
value: "1.1.
|
|
360950
|
+
value: "1.1.28"
|
|
360951
360951
|
}, {
|
|
360952
360952
|
label: "Session name",
|
|
360953
360953
|
value: nameValue
|
|
@@ -365565,7 +365565,7 @@ function Config({
|
|
|
365565
365565
|
}
|
|
365566
365566
|
}, undefined, false, undefined, this)
|
|
365567
365567
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
365568
|
-
currentVersion: "1.1.
|
|
365568
|
+
currentVersion: "1.1.28",
|
|
365569
365569
|
onChoice: (choice) => {
|
|
365570
365570
|
setShowSubmenu(null);
|
|
365571
365571
|
setTabsHidden(false);
|
|
@@ -365577,7 +365577,7 @@ function Config({
|
|
|
365577
365577
|
autoUpdatesChannel: "stable"
|
|
365578
365578
|
};
|
|
365579
365579
|
if (choice === "stay") {
|
|
365580
|
-
newSettings.minimumVersion = "1.1.
|
|
365580
|
+
newSettings.minimumVersion = "1.1.28";
|
|
365581
365581
|
}
|
|
365582
365582
|
updateSettingsForSource("userSettings", newSettings);
|
|
365583
365583
|
setSettingsData((prev_27) => ({
|
|
@@ -374458,7 +374458,7 @@ function Help(t0) {
|
|
|
374458
374458
|
let t6;
|
|
374459
374459
|
if ($2[31] !== tabs) {
|
|
374460
374460
|
t6 = /* @__PURE__ */ jsx_dev_runtime211.jsxDEV(Tabs, {
|
|
374461
|
-
title: `localclawd v${"1.1.
|
|
374461
|
+
title: `localclawd v${"1.1.28"}`,
|
|
374462
374462
|
color: "professionalBlue",
|
|
374463
374463
|
defaultTab: "general",
|
|
374464
374464
|
children: tabs
|
|
@@ -398616,7 +398616,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
398616
398616
|
return [];
|
|
398617
398617
|
}
|
|
398618
398618
|
}
|
|
398619
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
398619
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.28") {
|
|
398620
398620
|
if (process.env.USER_TYPE === "ant") {
|
|
398621
398621
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
398622
398622
|
if (changelog) {
|
|
@@ -398643,7 +398643,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.27")
|
|
|
398643
398643
|
releaseNotes
|
|
398644
398644
|
};
|
|
398645
398645
|
}
|
|
398646
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
398646
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.28") {
|
|
398647
398647
|
if (process.env.USER_TYPE === "ant") {
|
|
398648
398648
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
398649
398649
|
if (changelog) {
|
|
@@ -399825,7 +399825,7 @@ function getRecentActivitySync() {
|
|
|
399825
399825
|
return cachedActivity;
|
|
399826
399826
|
}
|
|
399827
399827
|
function getLogoDisplayData() {
|
|
399828
|
-
const version = process.env.DEMO_VERSION ?? "1.1.
|
|
399828
|
+
const version = process.env.DEMO_VERSION ?? "1.1.28";
|
|
399829
399829
|
const serverUrl = getDirectConnectServerUrl();
|
|
399830
399830
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
399831
399831
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -399909,7 +399909,7 @@ function Clawd({ pose: _pose = "default" }) {
|
|
|
399909
399909
|
}, index, false, undefined, this))
|
|
399910
399910
|
}, undefined, false, undefined, this);
|
|
399911
399911
|
}
|
|
399912
|
-
var jsx_dev_runtime252, CLAWD_HEIGHT =
|
|
399912
|
+
var jsx_dev_runtime252, CLAWD_HEIGHT = 4, ROWS, ROW_COLORS;
|
|
399913
399913
|
var init_Clawd = __esm(() => {
|
|
399914
399914
|
init_ink2();
|
|
399915
399915
|
jsx_dev_runtime252 = __toESM(require_jsx_dev_runtime(), 1);
|
|
@@ -399917,14 +399917,12 @@ var init_Clawd = __esm(() => {
|
|
|
399917
399917
|
"▗▟█████▙▗",
|
|
399918
399918
|
" ▐▛███▜▌ ",
|
|
399919
399919
|
"▝▜█████▛▘",
|
|
399920
|
-
"
|
|
399921
|
-
" ▐▌ ▐▌ "
|
|
399920
|
+
" ▄▄ ▄▄ "
|
|
399922
399921
|
];
|
|
399923
399922
|
ROW_COLORS = [
|
|
399924
399923
|
"#6366f1",
|
|
399925
399924
|
"#6366f1",
|
|
399926
399925
|
"#6366f1",
|
|
399927
|
-
"#818cf8",
|
|
399928
399926
|
"#818cf8"
|
|
399929
399927
|
];
|
|
399930
399928
|
});
|
|
@@ -399934,7 +399932,6 @@ function AnimatedClawd() {
|
|
|
399934
399932
|
return /* @__PURE__ */ jsx_dev_runtime253.jsxDEV(ThemedBox_default, {
|
|
399935
399933
|
height: CLAWD_HEIGHT,
|
|
399936
399934
|
flexDirection: "column",
|
|
399937
|
-
width: 10,
|
|
399938
399935
|
children: /* @__PURE__ */ jsx_dev_runtime253.jsxDEV(Clawd, {}, undefined, false, undefined, this)
|
|
399939
399936
|
}, undefined, false, undefined, this);
|
|
399940
399937
|
}
|
|
@@ -400933,7 +400930,7 @@ function Logo() {
|
|
|
400933
400930
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
400934
400931
|
t2 = () => {
|
|
400935
400932
|
const currentConfig = getGlobalConfig();
|
|
400936
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
400933
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.28") {
|
|
400937
400934
|
return;
|
|
400938
400935
|
}
|
|
400939
400936
|
saveGlobalConfig(_temp327);
|
|
@@ -401592,12 +401589,12 @@ function Logo() {
|
|
|
401592
401589
|
return t41;
|
|
401593
401590
|
}
|
|
401594
401591
|
function _temp327(current) {
|
|
401595
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
401592
|
+
if (current.lastReleaseNotesSeen === "1.1.28") {
|
|
401596
401593
|
return current;
|
|
401597
401594
|
}
|
|
401598
401595
|
return {
|
|
401599
401596
|
...current,
|
|
401600
|
-
lastReleaseNotesSeen: "1.1.
|
|
401597
|
+
lastReleaseNotesSeen: "1.1.28"
|
|
401601
401598
|
};
|
|
401602
401599
|
}
|
|
401603
401600
|
function _temp243(s_0) {
|
|
@@ -427835,7 +427832,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
427835
427832
|
smapsRollup,
|
|
427836
427833
|
platform: process.platform,
|
|
427837
427834
|
nodeVersion: process.version,
|
|
427838
|
-
ccVersion: "1.1.
|
|
427835
|
+
ccVersion: "1.1.28"
|
|
427839
427836
|
};
|
|
427840
427837
|
}
|
|
427841
427838
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -428420,7 +428417,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
428420
428417
|
var call63 = async () => {
|
|
428421
428418
|
return {
|
|
428422
428419
|
type: "text",
|
|
428423
|
-
value: `${"1.1.
|
|
428420
|
+
value: `${"1.1.28"} (built ${"2026-04-13T03:34:00.796Z"})`
|
|
428424
428421
|
};
|
|
428425
428422
|
}, version, version_default;
|
|
428426
428423
|
var init_version = __esm(() => {
|
|
@@ -437374,7 +437371,7 @@ function generateHtmlReport(data, insights) {
|
|
|
437374
437371
|
</html>`;
|
|
437375
437372
|
}
|
|
437376
437373
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
437377
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
437374
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.28" : "unknown";
|
|
437378
437375
|
const remote_hosts_collected = remoteStats?.hosts.filter((h) => h.sessionCount > 0).map((h) => h.name);
|
|
437379
437376
|
const facets_summary = {
|
|
437380
437377
|
total: facets.size,
|
|
@@ -441539,7 +441536,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
441539
441536
|
init_settings2();
|
|
441540
441537
|
init_slowOperations();
|
|
441541
441538
|
init_uuid();
|
|
441542
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.1.
|
|
441539
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.1.28" : "unknown";
|
|
441543
441540
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
441544
441541
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
441545
441542
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -442741,7 +442738,7 @@ var init_filesystem = __esm(() => {
|
|
|
442741
442738
|
});
|
|
442742
442739
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
442743
442740
|
const nonce = randomBytes19(16).toString("hex");
|
|
442744
|
-
return join130(getClaudeTempDir(), "bundled-skills", "1.1.
|
|
442741
|
+
return join130(getClaudeTempDir(), "bundled-skills", "1.1.28", nonce);
|
|
442745
442742
|
});
|
|
442746
442743
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
442747
442744
|
});
|
|
@@ -448751,7 +448748,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
448751
448748
|
}
|
|
448752
448749
|
function computeFingerprintFromMessages(messages) {
|
|
448753
448750
|
const firstMessageText = extractFirstMessageText(messages);
|
|
448754
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
448751
|
+
return computeFingerprint(firstMessageText, "1.1.28");
|
|
448755
448752
|
}
|
|
448756
448753
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
448757
448754
|
var init_fingerprint = () => {};
|
|
@@ -450606,7 +450603,7 @@ async function sideQuery(opts) {
|
|
|
450606
450603
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
450607
450604
|
}
|
|
450608
450605
|
const messageText = extractFirstUserMessageText(messages);
|
|
450609
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
450606
|
+
const fingerprint = computeFingerprint(messageText, "1.1.28");
|
|
450610
450607
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
450611
450608
|
const systemBlocks = [
|
|
450612
450609
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -455404,7 +455401,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
455404
455401
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
455405
455402
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
455406
455403
|
betas: getSdkBetas(),
|
|
455407
|
-
claude_code_version: "1.1.
|
|
455404
|
+
claude_code_version: "1.1.28",
|
|
455408
455405
|
output_style: outputStyle2,
|
|
455409
455406
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
455410
455407
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -469983,7 +469980,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
469983
469980
|
function getSemverPart(version2) {
|
|
469984
469981
|
return `${import_semver12.major(version2, { loose: true })}.${import_semver12.minor(version2, { loose: true })}.${import_semver12.patch(version2, { loose: true })}`;
|
|
469985
469982
|
}
|
|
469986
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
469983
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.28") {
|
|
469987
469984
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
469988
469985
|
if (!updatedVersion) {
|
|
469989
469986
|
return null;
|
|
@@ -470023,7 +470020,7 @@ function AutoUpdater({
|
|
|
470023
470020
|
return;
|
|
470024
470021
|
}
|
|
470025
470022
|
if (false) {}
|
|
470026
|
-
const currentVersion = "1.1.
|
|
470023
|
+
const currentVersion = "1.1.28";
|
|
470027
470024
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
470028
470025
|
let latestVersion = await getLatestVersion(channel);
|
|
470029
470026
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -470234,12 +470231,12 @@ function NativeAutoUpdater({
|
|
|
470234
470231
|
logEvent("tengu_native_auto_updater_start", {});
|
|
470235
470232
|
try {
|
|
470236
470233
|
const maxVersion = await getMaxVersion();
|
|
470237
|
-
if (maxVersion && gt("1.1.
|
|
470234
|
+
if (maxVersion && gt("1.1.28", maxVersion)) {
|
|
470238
470235
|
const msg = await getMaxVersionMessage();
|
|
470239
470236
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
470240
470237
|
}
|
|
470241
470238
|
const result = await installLatest(channel);
|
|
470242
|
-
const currentVersion = "1.1.
|
|
470239
|
+
const currentVersion = "1.1.28";
|
|
470243
470240
|
const latencyMs = Date.now() - startTime;
|
|
470244
470241
|
if (result.lockFailed) {
|
|
470245
470242
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -470374,17 +470371,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
470374
470371
|
const maxVersion = await getMaxVersion();
|
|
470375
470372
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
470376
470373
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
470377
|
-
if (gte("1.1.
|
|
470378
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
470374
|
+
if (gte("1.1.28", maxVersion)) {
|
|
470375
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.28"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
470379
470376
|
setUpdateAvailable(false);
|
|
470380
470377
|
return;
|
|
470381
470378
|
}
|
|
470382
470379
|
latest = maxVersion;
|
|
470383
470380
|
}
|
|
470384
|
-
const hasUpdate = latest && !gte("1.1.
|
|
470381
|
+
const hasUpdate = latest && !gte("1.1.28", latest) && !shouldSkipVersion(latest);
|
|
470385
470382
|
setUpdateAvailable(!!hasUpdate);
|
|
470386
470383
|
if (hasUpdate) {
|
|
470387
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
470384
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.28"} -> ${latest}`);
|
|
470388
470385
|
}
|
|
470389
470386
|
};
|
|
470390
470387
|
$2[0] = t1;
|
|
@@ -470418,7 +470415,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
470418
470415
|
wrap: "truncate",
|
|
470419
470416
|
children: [
|
|
470420
470417
|
"currentVersion: ",
|
|
470421
|
-
"1.1.
|
|
470418
|
+
"1.1.28"
|
|
470422
470419
|
]
|
|
470423
470420
|
}, undefined, true, undefined, this);
|
|
470424
470421
|
$2[3] = verbose;
|
|
@@ -477976,7 +477973,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
477976
477973
|
project_dir: getOriginalCwd(),
|
|
477977
477974
|
added_dirs: addedDirs
|
|
477978
477975
|
},
|
|
477979
|
-
version: "1.1.
|
|
477976
|
+
version: "1.1.28",
|
|
477980
477977
|
output_style: {
|
|
477981
477978
|
name: outputStyleName
|
|
477982
477979
|
},
|
|
@@ -489544,7 +489541,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
489544
489541
|
} catch {}
|
|
489545
489542
|
const data = {
|
|
489546
489543
|
trigger,
|
|
489547
|
-
version: "1.1.
|
|
489544
|
+
version: "1.1.28",
|
|
489548
489545
|
platform: process.platform,
|
|
489549
489546
|
transcript,
|
|
489550
489547
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -505989,7 +505986,7 @@ function appendToLog(path17, message) {
|
|
|
505989
505986
|
cwd: getFsImplementation().cwd(),
|
|
505990
505987
|
userType: process.env.USER_TYPE,
|
|
505991
505988
|
sessionId: getSessionId(),
|
|
505992
|
-
version: "1.1.
|
|
505989
|
+
version: "1.1.28"
|
|
505993
505990
|
};
|
|
505994
505991
|
getLogWriter(path17).write(messageWithTimestamp);
|
|
505995
505992
|
}
|
|
@@ -509988,8 +509985,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
509988
509985
|
}
|
|
509989
509986
|
async function checkEnvLessBridgeMinVersion() {
|
|
509990
509987
|
const cfg = await getEnvLessBridgeConfig();
|
|
509991
|
-
if (cfg.min_version && lt("1.1.
|
|
509992
|
-
return `Your version of localclawd (${"1.1.
|
|
509988
|
+
if (cfg.min_version && lt("1.1.28", cfg.min_version)) {
|
|
509989
|
+
return `Your version of localclawd (${"1.1.28"}) is too old for Remote Control.
|
|
509993
509990
|
Version ${cfg.min_version} or higher is required. Run \`localclawd update\` to update.`;
|
|
509994
509991
|
}
|
|
509995
509992
|
return null;
|
|
@@ -510461,7 +510458,7 @@ async function initBridgeCore(params) {
|
|
|
510461
510458
|
const rawApi = createBridgeApiClient({
|
|
510462
510459
|
baseUrl,
|
|
510463
510460
|
getAccessToken,
|
|
510464
|
-
runnerVersion: "1.1.
|
|
510461
|
+
runnerVersion: "1.1.28",
|
|
510465
510462
|
onDebug: logForDebugging,
|
|
510466
510463
|
onAuth401,
|
|
510467
510464
|
getTrustedDeviceToken
|
|
@@ -516117,7 +516114,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
516117
516114
|
setCwd(cwd3);
|
|
516118
516115
|
const server = new Server({
|
|
516119
516116
|
name: "claude/tengu",
|
|
516120
|
-
version: "1.1.
|
|
516117
|
+
version: "1.1.28"
|
|
516121
516118
|
}, {
|
|
516122
516119
|
capabilities: {
|
|
516123
516120
|
tools: {}
|
|
@@ -517198,7 +517195,7 @@ function WelcomeLogo() {
|
|
|
517198
517195
|
dimColor: true,
|
|
517199
517196
|
children: [
|
|
517200
517197
|
"v",
|
|
517201
|
-
"1.1.
|
|
517198
|
+
"1.1.28"
|
|
517202
517199
|
]
|
|
517203
517200
|
}, undefined, true, undefined, this)
|
|
517204
517201
|
]
|
|
@@ -517767,7 +517764,7 @@ __export(exports_update, {
|
|
|
517767
517764
|
});
|
|
517768
517765
|
async function update() {
|
|
517769
517766
|
logEvent("tengu_update_check", {});
|
|
517770
|
-
writeToStdout(`Current version: ${"1.1.
|
|
517767
|
+
writeToStdout(`Current version: ${"1.1.28"}
|
|
517771
517768
|
`);
|
|
517772
517769
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
517773
517770
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -517842,8 +517839,8 @@ async function update() {
|
|
|
517842
517839
|
writeToStdout(`localclawd is managed by Homebrew.
|
|
517843
517840
|
`);
|
|
517844
517841
|
const latest = await getLatestVersion(channel);
|
|
517845
|
-
if (latest && !gte("1.1.
|
|
517846
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517842
|
+
if (latest && !gte("1.1.28", latest)) {
|
|
517843
|
+
writeToStdout(`Update available: ${"1.1.28"} → ${latest}
|
|
517847
517844
|
`);
|
|
517848
517845
|
writeToStdout(`
|
|
517849
517846
|
`);
|
|
@@ -517859,8 +517856,8 @@ async function update() {
|
|
|
517859
517856
|
writeToStdout(`localclawd is managed by winget.
|
|
517860
517857
|
`);
|
|
517861
517858
|
const latest = await getLatestVersion(channel);
|
|
517862
|
-
if (latest && !gte("1.1.
|
|
517863
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517859
|
+
if (latest && !gte("1.1.28", latest)) {
|
|
517860
|
+
writeToStdout(`Update available: ${"1.1.28"} → ${latest}
|
|
517864
517861
|
`);
|
|
517865
517862
|
writeToStdout(`
|
|
517866
517863
|
`);
|
|
@@ -517874,8 +517871,8 @@ async function update() {
|
|
|
517874
517871
|
writeToStdout(`localclawd is managed by apk.
|
|
517875
517872
|
`);
|
|
517876
517873
|
const latest = await getLatestVersion(channel);
|
|
517877
|
-
if (latest && !gte("1.1.
|
|
517878
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517874
|
+
if (latest && !gte("1.1.28", latest)) {
|
|
517875
|
+
writeToStdout(`Update available: ${"1.1.28"} → ${latest}
|
|
517879
517876
|
`);
|
|
517880
517877
|
writeToStdout(`
|
|
517881
517878
|
`);
|
|
@@ -517940,11 +517937,11 @@ async function update() {
|
|
|
517940
517937
|
`);
|
|
517941
517938
|
await gracefulShutdown(1);
|
|
517942
517939
|
}
|
|
517943
|
-
if (result.latestVersion === "1.1.
|
|
517944
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.
|
|
517940
|
+
if (result.latestVersion === "1.1.28") {
|
|
517941
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.28"})`) + `
|
|
517945
517942
|
`);
|
|
517946
517943
|
} else {
|
|
517947
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
517944
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.28"} to version ${result.latestVersion}`) + `
|
|
517948
517945
|
`);
|
|
517949
517946
|
await regenerateCompletionCache();
|
|
517950
517947
|
}
|
|
@@ -518004,12 +518001,12 @@ async function update() {
|
|
|
518004
518001
|
`);
|
|
518005
518002
|
await gracefulShutdown(1);
|
|
518006
518003
|
}
|
|
518007
|
-
if (latestVersion === "1.1.
|
|
518008
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.
|
|
518004
|
+
if (latestVersion === "1.1.28") {
|
|
518005
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.28"})`) + `
|
|
518009
518006
|
`);
|
|
518010
518007
|
await gracefulShutdown(0);
|
|
518011
518008
|
}
|
|
518012
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
518009
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.28"})
|
|
518013
518010
|
`);
|
|
518014
518011
|
writeToStdout(`Installing update...
|
|
518015
518012
|
`);
|
|
@@ -518054,7 +518051,7 @@ async function update() {
|
|
|
518054
518051
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
518055
518052
|
switch (status2) {
|
|
518056
518053
|
case "success":
|
|
518057
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
518054
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.28"} to version ${latestVersion}`) + `
|
|
518058
518055
|
`);
|
|
518059
518056
|
await regenerateCompletionCache();
|
|
518060
518057
|
break;
|
|
@@ -519349,7 +519346,7 @@ Run with --debug for more details.
|
|
|
519349
519346
|
}
|
|
519350
519347
|
}
|
|
519351
519348
|
logForDiagnosticsNoPII("info", "started", {
|
|
519352
|
-
version: "1.1.
|
|
519349
|
+
version: "1.1.28",
|
|
519353
519350
|
is_native_binary: isInBundledMode()
|
|
519354
519351
|
});
|
|
519355
519352
|
registerCleanup(async () => {
|
|
@@ -520133,7 +520130,7 @@ Usage: localclawd --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
520133
520130
|
pendingHookMessages
|
|
520134
520131
|
}, renderAndRun);
|
|
520135
520132
|
}
|
|
520136
|
-
}).version("1.1.
|
|
520133
|
+
}).version("1.1.28 (localclawd)", "-v, --version", "Output the version number");
|
|
520137
520134
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
520138
520135
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
520139
520136
|
if (canUserConfigureAdvisor()) {
|
|
@@ -520641,7 +520638,7 @@ if (false) {}
|
|
|
520641
520638
|
async function main2() {
|
|
520642
520639
|
const args = process.argv.slice(2);
|
|
520643
520640
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
520644
|
-
console.log(`${"1.1.
|
|
520641
|
+
console.log(`${"1.1.28"} (localclawd)`);
|
|
520645
520642
|
return;
|
|
520646
520643
|
}
|
|
520647
520644
|
const {
|
|
@@ -520738,4 +520735,4 @@ localclawd crashed: ${msg}
|
|
|
520738
520735
|
process.exit(1);
|
|
520739
520736
|
});
|
|
520740
520737
|
|
|
520741
|
-
//# debugId=
|
|
520738
|
+
//# debugId=57B68AEB0F6E3AC164756E2164756E21
|