localclawd 1.1.29 → 1.1.30
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 +82 -82
- 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.30"}`;
|
|
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.30"} (${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.30"}${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.30"}.${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.30".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.30",
|
|
132768
132768
|
versionBase: getVersionBase(),
|
|
132769
|
-
buildTime: "2026-04-13T03:
|
|
132769
|
+
buildTime: "2026-04-13T03:44:53.533Z",
|
|
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.30";
|
|
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.30";
|
|
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.30",
|
|
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.30",
|
|
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.30",
|
|
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.30");
|
|
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.30"
|
|
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.30");
|
|
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.30");
|
|
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.30");
|
|
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.30" : "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.30", maxVersion)) {
|
|
262123
|
+
logForDebugging(`Native installer: current version ${"1.1.30"} 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.30" && 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:44:53.533Z").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.30",
|
|
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.30"
|
|
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.30"}
|
|
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.30"
|
|
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.30",
|
|
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.30";
|
|
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.30"}`,
|
|
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.30") {
|
|
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.29")
|
|
|
398643
398643
|
releaseNotes
|
|
398644
398644
|
};
|
|
398645
398645
|
}
|
|
398646
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
398646
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.30") {
|
|
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.30";
|
|
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;
|
|
@@ -399915,15 +399915,15 @@ var init_Clawd = __esm(() => {
|
|
|
399915
399915
|
jsx_dev_runtime252 = __toESM(require_jsx_dev_runtime(), 1);
|
|
399916
399916
|
ROWS = [
|
|
399917
399917
|
" ▄████▄ ",
|
|
399918
|
-
"
|
|
399919
|
-
"
|
|
399920
|
-
"
|
|
399918
|
+
" ████████ ",
|
|
399919
|
+
"█▐ ▌██▐ ▌█",
|
|
399920
|
+
" ████████ ",
|
|
399921
399921
|
" ▐▌ ▐▌ "
|
|
399922
399922
|
];
|
|
399923
399923
|
ROW_COLORS = [
|
|
399924
399924
|
"#6366f1",
|
|
399925
399925
|
"#6366f1",
|
|
399926
|
-
"#
|
|
399926
|
+
"#6366f1",
|
|
399927
399927
|
"#6366f1",
|
|
399928
399928
|
"#818cf8"
|
|
399929
399929
|
];
|
|
@@ -400932,7 +400932,7 @@ function Logo() {
|
|
|
400932
400932
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
400933
400933
|
t2 = () => {
|
|
400934
400934
|
const currentConfig = getGlobalConfig();
|
|
400935
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
400935
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.30") {
|
|
400936
400936
|
return;
|
|
400937
400937
|
}
|
|
400938
400938
|
saveGlobalConfig(_temp327);
|
|
@@ -401591,12 +401591,12 @@ function Logo() {
|
|
|
401591
401591
|
return t41;
|
|
401592
401592
|
}
|
|
401593
401593
|
function _temp327(current) {
|
|
401594
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
401594
|
+
if (current.lastReleaseNotesSeen === "1.1.30") {
|
|
401595
401595
|
return current;
|
|
401596
401596
|
}
|
|
401597
401597
|
return {
|
|
401598
401598
|
...current,
|
|
401599
|
-
lastReleaseNotesSeen: "1.1.
|
|
401599
|
+
lastReleaseNotesSeen: "1.1.30"
|
|
401600
401600
|
};
|
|
401601
401601
|
}
|
|
401602
401602
|
function _temp243(s_0) {
|
|
@@ -427834,7 +427834,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
427834
427834
|
smapsRollup,
|
|
427835
427835
|
platform: process.platform,
|
|
427836
427836
|
nodeVersion: process.version,
|
|
427837
|
-
ccVersion: "1.1.
|
|
427837
|
+
ccVersion: "1.1.30"
|
|
427838
427838
|
};
|
|
427839
427839
|
}
|
|
427840
427840
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -428419,7 +428419,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
428419
428419
|
var call63 = async () => {
|
|
428420
428420
|
return {
|
|
428421
428421
|
type: "text",
|
|
428422
|
-
value: `${"1.1.
|
|
428422
|
+
value: `${"1.1.30"} (built ${"2026-04-13T03:44:53.533Z"})`
|
|
428423
428423
|
};
|
|
428424
428424
|
}, version, version_default;
|
|
428425
428425
|
var init_version = __esm(() => {
|
|
@@ -437373,7 +437373,7 @@ function generateHtmlReport(data, insights) {
|
|
|
437373
437373
|
</html>`;
|
|
437374
437374
|
}
|
|
437375
437375
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
437376
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
437376
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.30" : "unknown";
|
|
437377
437377
|
const remote_hosts_collected = remoteStats?.hosts.filter((h) => h.sessionCount > 0).map((h) => h.name);
|
|
437378
437378
|
const facets_summary = {
|
|
437379
437379
|
total: facets.size,
|
|
@@ -441538,7 +441538,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
441538
441538
|
init_settings2();
|
|
441539
441539
|
init_slowOperations();
|
|
441540
441540
|
init_uuid();
|
|
441541
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.1.
|
|
441541
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.1.30" : "unknown";
|
|
441542
441542
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
441543
441543
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
441544
441544
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -442740,7 +442740,7 @@ var init_filesystem = __esm(() => {
|
|
|
442740
442740
|
});
|
|
442741
442741
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
442742
442742
|
const nonce = randomBytes19(16).toString("hex");
|
|
442743
|
-
return join130(getClaudeTempDir(), "bundled-skills", "1.1.
|
|
442743
|
+
return join130(getClaudeTempDir(), "bundled-skills", "1.1.30", nonce);
|
|
442744
442744
|
});
|
|
442745
442745
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
442746
442746
|
});
|
|
@@ -448750,7 +448750,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
448750
448750
|
}
|
|
448751
448751
|
function computeFingerprintFromMessages(messages) {
|
|
448752
448752
|
const firstMessageText = extractFirstMessageText(messages);
|
|
448753
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
448753
|
+
return computeFingerprint(firstMessageText, "1.1.30");
|
|
448754
448754
|
}
|
|
448755
448755
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
448756
448756
|
var init_fingerprint = () => {};
|
|
@@ -450605,7 +450605,7 @@ async function sideQuery(opts) {
|
|
|
450605
450605
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
450606
450606
|
}
|
|
450607
450607
|
const messageText = extractFirstUserMessageText(messages);
|
|
450608
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
450608
|
+
const fingerprint = computeFingerprint(messageText, "1.1.30");
|
|
450609
450609
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
450610
450610
|
const systemBlocks = [
|
|
450611
450611
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -455403,7 +455403,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
455403
455403
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
455404
455404
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
455405
455405
|
betas: getSdkBetas(),
|
|
455406
|
-
claude_code_version: "1.1.
|
|
455406
|
+
claude_code_version: "1.1.30",
|
|
455407
455407
|
output_style: outputStyle2,
|
|
455408
455408
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
455409
455409
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -469982,7 +469982,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
469982
469982
|
function getSemverPart(version2) {
|
|
469983
469983
|
return `${import_semver12.major(version2, { loose: true })}.${import_semver12.minor(version2, { loose: true })}.${import_semver12.patch(version2, { loose: true })}`;
|
|
469984
469984
|
}
|
|
469985
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
469985
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.30") {
|
|
469986
469986
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
469987
469987
|
if (!updatedVersion) {
|
|
469988
469988
|
return null;
|
|
@@ -470022,7 +470022,7 @@ function AutoUpdater({
|
|
|
470022
470022
|
return;
|
|
470023
470023
|
}
|
|
470024
470024
|
if (false) {}
|
|
470025
|
-
const currentVersion = "1.1.
|
|
470025
|
+
const currentVersion = "1.1.30";
|
|
470026
470026
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
470027
470027
|
let latestVersion = await getLatestVersion(channel);
|
|
470028
470028
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -470233,12 +470233,12 @@ function NativeAutoUpdater({
|
|
|
470233
470233
|
logEvent("tengu_native_auto_updater_start", {});
|
|
470234
470234
|
try {
|
|
470235
470235
|
const maxVersion = await getMaxVersion();
|
|
470236
|
-
if (maxVersion && gt("1.1.
|
|
470236
|
+
if (maxVersion && gt("1.1.30", maxVersion)) {
|
|
470237
470237
|
const msg = await getMaxVersionMessage();
|
|
470238
470238
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
470239
470239
|
}
|
|
470240
470240
|
const result = await installLatest(channel);
|
|
470241
|
-
const currentVersion = "1.1.
|
|
470241
|
+
const currentVersion = "1.1.30";
|
|
470242
470242
|
const latencyMs = Date.now() - startTime;
|
|
470243
470243
|
if (result.lockFailed) {
|
|
470244
470244
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -470373,17 +470373,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
470373
470373
|
const maxVersion = await getMaxVersion();
|
|
470374
470374
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
470375
470375
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
470376
|
-
if (gte("1.1.
|
|
470377
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
470376
|
+
if (gte("1.1.30", maxVersion)) {
|
|
470377
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.30"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
470378
470378
|
setUpdateAvailable(false);
|
|
470379
470379
|
return;
|
|
470380
470380
|
}
|
|
470381
470381
|
latest = maxVersion;
|
|
470382
470382
|
}
|
|
470383
|
-
const hasUpdate = latest && !gte("1.1.
|
|
470383
|
+
const hasUpdate = latest && !gte("1.1.30", latest) && !shouldSkipVersion(latest);
|
|
470384
470384
|
setUpdateAvailable(!!hasUpdate);
|
|
470385
470385
|
if (hasUpdate) {
|
|
470386
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
470386
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.30"} -> ${latest}`);
|
|
470387
470387
|
}
|
|
470388
470388
|
};
|
|
470389
470389
|
$2[0] = t1;
|
|
@@ -470417,7 +470417,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
470417
470417
|
wrap: "truncate",
|
|
470418
470418
|
children: [
|
|
470419
470419
|
"currentVersion: ",
|
|
470420
|
-
"1.1.
|
|
470420
|
+
"1.1.30"
|
|
470421
470421
|
]
|
|
470422
470422
|
}, undefined, true, undefined, this);
|
|
470423
470423
|
$2[3] = verbose;
|
|
@@ -477975,7 +477975,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
477975
477975
|
project_dir: getOriginalCwd(),
|
|
477976
477976
|
added_dirs: addedDirs
|
|
477977
477977
|
},
|
|
477978
|
-
version: "1.1.
|
|
477978
|
+
version: "1.1.30",
|
|
477979
477979
|
output_style: {
|
|
477980
477980
|
name: outputStyleName
|
|
477981
477981
|
},
|
|
@@ -489543,7 +489543,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
489543
489543
|
} catch {}
|
|
489544
489544
|
const data = {
|
|
489545
489545
|
trigger,
|
|
489546
|
-
version: "1.1.
|
|
489546
|
+
version: "1.1.30",
|
|
489547
489547
|
platform: process.platform,
|
|
489548
489548
|
transcript,
|
|
489549
489549
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -505988,7 +505988,7 @@ function appendToLog(path17, message) {
|
|
|
505988
505988
|
cwd: getFsImplementation().cwd(),
|
|
505989
505989
|
userType: process.env.USER_TYPE,
|
|
505990
505990
|
sessionId: getSessionId(),
|
|
505991
|
-
version: "1.1.
|
|
505991
|
+
version: "1.1.30"
|
|
505992
505992
|
};
|
|
505993
505993
|
getLogWriter(path17).write(messageWithTimestamp);
|
|
505994
505994
|
}
|
|
@@ -509987,8 +509987,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
509987
509987
|
}
|
|
509988
509988
|
async function checkEnvLessBridgeMinVersion() {
|
|
509989
509989
|
const cfg = await getEnvLessBridgeConfig();
|
|
509990
|
-
if (cfg.min_version && lt("1.1.
|
|
509991
|
-
return `Your version of localclawd (${"1.1.
|
|
509990
|
+
if (cfg.min_version && lt("1.1.30", cfg.min_version)) {
|
|
509991
|
+
return `Your version of localclawd (${"1.1.30"}) is too old for Remote Control.
|
|
509992
509992
|
Version ${cfg.min_version} or higher is required. Run \`localclawd update\` to update.`;
|
|
509993
509993
|
}
|
|
509994
509994
|
return null;
|
|
@@ -510460,7 +510460,7 @@ async function initBridgeCore(params) {
|
|
|
510460
510460
|
const rawApi = createBridgeApiClient({
|
|
510461
510461
|
baseUrl,
|
|
510462
510462
|
getAccessToken,
|
|
510463
|
-
runnerVersion: "1.1.
|
|
510463
|
+
runnerVersion: "1.1.30",
|
|
510464
510464
|
onDebug: logForDebugging,
|
|
510465
510465
|
onAuth401,
|
|
510466
510466
|
getTrustedDeviceToken
|
|
@@ -516116,7 +516116,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
516116
516116
|
setCwd(cwd3);
|
|
516117
516117
|
const server = new Server({
|
|
516118
516118
|
name: "claude/tengu",
|
|
516119
|
-
version: "1.1.
|
|
516119
|
+
version: "1.1.30"
|
|
516120
516120
|
}, {
|
|
516121
516121
|
capabilities: {
|
|
516122
516122
|
tools: {}
|
|
@@ -517197,7 +517197,7 @@ function WelcomeLogo() {
|
|
|
517197
517197
|
dimColor: true,
|
|
517198
517198
|
children: [
|
|
517199
517199
|
"v",
|
|
517200
|
-
"1.1.
|
|
517200
|
+
"1.1.30"
|
|
517201
517201
|
]
|
|
517202
517202
|
}, undefined, true, undefined, this)
|
|
517203
517203
|
]
|
|
@@ -517766,7 +517766,7 @@ __export(exports_update, {
|
|
|
517766
517766
|
});
|
|
517767
517767
|
async function update() {
|
|
517768
517768
|
logEvent("tengu_update_check", {});
|
|
517769
|
-
writeToStdout(`Current version: ${"1.1.
|
|
517769
|
+
writeToStdout(`Current version: ${"1.1.30"}
|
|
517770
517770
|
`);
|
|
517771
517771
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
517772
517772
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -517841,8 +517841,8 @@ async function update() {
|
|
|
517841
517841
|
writeToStdout(`localclawd is managed by Homebrew.
|
|
517842
517842
|
`);
|
|
517843
517843
|
const latest = await getLatestVersion(channel);
|
|
517844
|
-
if (latest && !gte("1.1.
|
|
517845
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517844
|
+
if (latest && !gte("1.1.30", latest)) {
|
|
517845
|
+
writeToStdout(`Update available: ${"1.1.30"} → ${latest}
|
|
517846
517846
|
`);
|
|
517847
517847
|
writeToStdout(`
|
|
517848
517848
|
`);
|
|
@@ -517858,8 +517858,8 @@ async function update() {
|
|
|
517858
517858
|
writeToStdout(`localclawd is managed by winget.
|
|
517859
517859
|
`);
|
|
517860
517860
|
const latest = await getLatestVersion(channel);
|
|
517861
|
-
if (latest && !gte("1.1.
|
|
517862
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517861
|
+
if (latest && !gte("1.1.30", latest)) {
|
|
517862
|
+
writeToStdout(`Update available: ${"1.1.30"} → ${latest}
|
|
517863
517863
|
`);
|
|
517864
517864
|
writeToStdout(`
|
|
517865
517865
|
`);
|
|
@@ -517873,8 +517873,8 @@ async function update() {
|
|
|
517873
517873
|
writeToStdout(`localclawd is managed by apk.
|
|
517874
517874
|
`);
|
|
517875
517875
|
const latest = await getLatestVersion(channel);
|
|
517876
|
-
if (latest && !gte("1.1.
|
|
517877
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517876
|
+
if (latest && !gte("1.1.30", latest)) {
|
|
517877
|
+
writeToStdout(`Update available: ${"1.1.30"} → ${latest}
|
|
517878
517878
|
`);
|
|
517879
517879
|
writeToStdout(`
|
|
517880
517880
|
`);
|
|
@@ -517939,11 +517939,11 @@ async function update() {
|
|
|
517939
517939
|
`);
|
|
517940
517940
|
await gracefulShutdown(1);
|
|
517941
517941
|
}
|
|
517942
|
-
if (result.latestVersion === "1.1.
|
|
517943
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.
|
|
517942
|
+
if (result.latestVersion === "1.1.30") {
|
|
517943
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.30"})`) + `
|
|
517944
517944
|
`);
|
|
517945
517945
|
} else {
|
|
517946
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
517946
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.30"} to version ${result.latestVersion}`) + `
|
|
517947
517947
|
`);
|
|
517948
517948
|
await regenerateCompletionCache();
|
|
517949
517949
|
}
|
|
@@ -518003,12 +518003,12 @@ async function update() {
|
|
|
518003
518003
|
`);
|
|
518004
518004
|
await gracefulShutdown(1);
|
|
518005
518005
|
}
|
|
518006
|
-
if (latestVersion === "1.1.
|
|
518007
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.
|
|
518006
|
+
if (latestVersion === "1.1.30") {
|
|
518007
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.30"})`) + `
|
|
518008
518008
|
`);
|
|
518009
518009
|
await gracefulShutdown(0);
|
|
518010
518010
|
}
|
|
518011
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
518011
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.30"})
|
|
518012
518012
|
`);
|
|
518013
518013
|
writeToStdout(`Installing update...
|
|
518014
518014
|
`);
|
|
@@ -518053,7 +518053,7 @@ async function update() {
|
|
|
518053
518053
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
518054
518054
|
switch (status2) {
|
|
518055
518055
|
case "success":
|
|
518056
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
518056
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.30"} to version ${latestVersion}`) + `
|
|
518057
518057
|
`);
|
|
518058
518058
|
await regenerateCompletionCache();
|
|
518059
518059
|
break;
|
|
@@ -519348,7 +519348,7 @@ Run with --debug for more details.
|
|
|
519348
519348
|
}
|
|
519349
519349
|
}
|
|
519350
519350
|
logForDiagnosticsNoPII("info", "started", {
|
|
519351
|
-
version: "1.1.
|
|
519351
|
+
version: "1.1.30",
|
|
519352
519352
|
is_native_binary: isInBundledMode()
|
|
519353
519353
|
});
|
|
519354
519354
|
registerCleanup(async () => {
|
|
@@ -520132,7 +520132,7 @@ Usage: localclawd --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
520132
520132
|
pendingHookMessages
|
|
520133
520133
|
}, renderAndRun);
|
|
520134
520134
|
}
|
|
520135
|
-
}).version("1.1.
|
|
520135
|
+
}).version("1.1.30 (localclawd)", "-v, --version", "Output the version number");
|
|
520136
520136
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
520137
520137
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
520138
520138
|
if (canUserConfigureAdvisor()) {
|
|
@@ -520640,7 +520640,7 @@ if (false) {}
|
|
|
520640
520640
|
async function main2() {
|
|
520641
520641
|
const args = process.argv.slice(2);
|
|
520642
520642
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
520643
|
-
console.log(`${"1.1.
|
|
520643
|
+
console.log(`${"1.1.30"} (localclawd)`);
|
|
520644
520644
|
return;
|
|
520645
520645
|
}
|
|
520646
520646
|
const {
|
|
@@ -520737,4 +520737,4 @@ localclawd crashed: ${msg}
|
|
|
520737
520737
|
process.exit(1);
|
|
520738
520738
|
});
|
|
520739
520739
|
|
|
520740
|
-
//# debugId=
|
|
520740
|
+
//# debugId=6911B928B219035C64756E2164756E21
|