localclawd 1.7.8 → 1.7.9
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 +79 -79
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -87608,7 +87608,7 @@ var init_isEqual = __esm(() => {
|
|
|
87608
87608
|
|
|
87609
87609
|
// src/utils/userAgent.ts
|
|
87610
87610
|
function getClaudeCodeUserAgent() {
|
|
87611
|
-
return `claude-code/${"1.7.
|
|
87611
|
+
return `claude-code/${"1.7.9"}`;
|
|
87612
87612
|
}
|
|
87613
87613
|
|
|
87614
87614
|
// src/utils/workloadContext.ts
|
|
@@ -87630,7 +87630,7 @@ function getUserAgent() {
|
|
|
87630
87630
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
87631
87631
|
const workload = getWorkload();
|
|
87632
87632
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
87633
|
-
return `claude-cli/${"1.7.
|
|
87633
|
+
return `claude-cli/${"1.7.9"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
87634
87634
|
}
|
|
87635
87635
|
function getMCPUserAgent() {
|
|
87636
87636
|
const parts = [];
|
|
@@ -87644,7 +87644,7 @@ function getMCPUserAgent() {
|
|
|
87644
87644
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
87645
87645
|
}
|
|
87646
87646
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
87647
|
-
return `claude-code/${"1.7.
|
|
87647
|
+
return `claude-code/${"1.7.9"}${suffix}`;
|
|
87648
87648
|
}
|
|
87649
87649
|
function getWebFetchUserAgent() {
|
|
87650
87650
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -130840,7 +130840,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
130840
130840
|
if (!isAttributionHeaderEnabled()) {
|
|
130841
130841
|
return "";
|
|
130842
130842
|
}
|
|
130843
|
-
const version = `${"1.7.
|
|
130843
|
+
const version = `${"1.7.9"}.${fingerprint}`;
|
|
130844
130844
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
130845
130845
|
const cch = "";
|
|
130846
130846
|
const workload = getWorkload();
|
|
@@ -147029,7 +147029,7 @@ var init_metadata = __esm(() => {
|
|
|
147029
147029
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
147030
147030
|
WHITESPACE_REGEX = /\s+/;
|
|
147031
147031
|
getVersionBase = memoize_default(() => {
|
|
147032
|
-
const match = "1.7.
|
|
147032
|
+
const match = "1.7.9".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
147033
147033
|
return match ? match[0] : undefined;
|
|
147034
147034
|
});
|
|
147035
147035
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -147069,9 +147069,9 @@ var init_metadata = __esm(() => {
|
|
|
147069
147069
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
147070
147070
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
147071
147071
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
147072
|
-
version: "1.7.
|
|
147072
|
+
version: "1.7.9",
|
|
147073
147073
|
versionBase: getVersionBase(),
|
|
147074
|
-
buildTime: "2026-05-07T15:
|
|
147074
|
+
buildTime: "2026-05-07T15:08:19.360Z",
|
|
147075
147075
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
147076
147076
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
147077
147077
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -179647,7 +179647,7 @@ function getTelemetryAttributes() {
|
|
|
179647
179647
|
attributes["session.id"] = sessionId;
|
|
179648
179648
|
}
|
|
179649
179649
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
179650
|
-
attributes["app.version"] = "1.7.
|
|
179650
|
+
attributes["app.version"] = "1.7.9";
|
|
179651
179651
|
}
|
|
179652
179652
|
const oauthAccount = getOauthAccountInfo();
|
|
179653
179653
|
if (oauthAccount) {
|
|
@@ -242448,7 +242448,7 @@ function getInstallationEnv() {
|
|
|
242448
242448
|
return;
|
|
242449
242449
|
}
|
|
242450
242450
|
function getClaudeCodeVersion() {
|
|
242451
|
-
return "1.7.
|
|
242451
|
+
return "1.7.9";
|
|
242452
242452
|
}
|
|
242453
242453
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
242454
242454
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -247722,7 +247722,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
247722
247722
|
const client4 = new Client({
|
|
247723
247723
|
name: "localclawd",
|
|
247724
247724
|
title: "localclawd",
|
|
247725
|
-
version: "1.7.
|
|
247725
|
+
version: "1.7.9",
|
|
247726
247726
|
description: "local-first AI coding tool",
|
|
247727
247727
|
websiteUrl: PRODUCT_URL
|
|
247728
247728
|
}, {
|
|
@@ -248064,7 +248064,7 @@ var init_client9 = __esm(() => {
|
|
|
248064
248064
|
const client4 = new Client({
|
|
248065
248065
|
name: "localclawd",
|
|
248066
248066
|
title: "localclawd",
|
|
248067
|
-
version: "1.7.
|
|
248067
|
+
version: "1.7.9",
|
|
248068
248068
|
description: "local-first AI coding tool",
|
|
248069
248069
|
websiteUrl: PRODUCT_URL
|
|
248070
248070
|
}, {
|
|
@@ -262466,7 +262466,7 @@ function computeFingerprint(messageText, version) {
|
|
|
262466
262466
|
}
|
|
262467
262467
|
function computeFingerprintFromMessages(messages) {
|
|
262468
262468
|
const firstMessageText = extractFirstMessageText(messages);
|
|
262469
|
-
return computeFingerprint(firstMessageText, "1.7.
|
|
262469
|
+
return computeFingerprint(firstMessageText, "1.7.9");
|
|
262470
262470
|
}
|
|
262471
262471
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
262472
262472
|
var init_fingerprint = () => {};
|
|
@@ -262508,7 +262508,7 @@ async function sideQuery(opts) {
|
|
|
262508
262508
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
262509
262509
|
}
|
|
262510
262510
|
const messageText = extractFirstUserMessageText(messages);
|
|
262511
|
-
const fingerprint = computeFingerprint(messageText, "1.7.
|
|
262511
|
+
const fingerprint = computeFingerprint(messageText, "1.7.9");
|
|
262512
262512
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
262513
262513
|
const systemBlocks = [
|
|
262514
262514
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -283256,7 +283256,7 @@ var init_user = __esm(() => {
|
|
|
283256
283256
|
deviceId,
|
|
283257
283257
|
sessionId: getSessionId(),
|
|
283258
283258
|
email: getEmail(),
|
|
283259
|
-
appVersion: "1.7.
|
|
283259
|
+
appVersion: "1.7.9",
|
|
283260
283260
|
platform: getHostPlatformForAnalytics(),
|
|
283261
283261
|
organizationUuid,
|
|
283262
283262
|
accountUuid,
|
|
@@ -284321,7 +284321,7 @@ async function initializeBetaTracing(resource) {
|
|
|
284321
284321
|
});
|
|
284322
284322
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
284323
284323
|
setLoggerProvider(loggerProvider);
|
|
284324
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.7.
|
|
284324
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.7.9");
|
|
284325
284325
|
setEventLogger(eventLogger);
|
|
284326
284326
|
process.on("beforeExit", async () => {
|
|
284327
284327
|
await loggerProvider?.forceFlush();
|
|
@@ -284361,7 +284361,7 @@ async function initializeTelemetry() {
|
|
|
284361
284361
|
const platform2 = getPlatform();
|
|
284362
284362
|
const baseAttributes = {
|
|
284363
284363
|
[ATTR_SERVICE_NAME4]: "claude-code",
|
|
284364
|
-
[ATTR_SERVICE_VERSION4]: "1.7.
|
|
284364
|
+
[ATTR_SERVICE_VERSION4]: "1.7.9"
|
|
284365
284365
|
};
|
|
284366
284366
|
if (platform2 === "wsl") {
|
|
284367
284367
|
const wslVersion = getWslVersion();
|
|
@@ -284406,7 +284406,7 @@ async function initializeTelemetry() {
|
|
|
284406
284406
|
} catch {}
|
|
284407
284407
|
};
|
|
284408
284408
|
registerCleanup(shutdownTelemetry2);
|
|
284409
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.7.
|
|
284409
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.7.9");
|
|
284410
284410
|
}
|
|
284411
284411
|
const meterProvider = new MeterProvider4({
|
|
284412
284412
|
resource,
|
|
@@ -284426,7 +284426,7 @@ async function initializeTelemetry() {
|
|
|
284426
284426
|
});
|
|
284427
284427
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
284428
284428
|
setLoggerProvider(loggerProvider);
|
|
284429
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.7.
|
|
284429
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.7.9");
|
|
284430
284430
|
setEventLogger(eventLogger);
|
|
284431
284431
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
284432
284432
|
process.on("beforeExit", async () => {
|
|
@@ -284488,7 +284488,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
284488
284488
|
}
|
|
284489
284489
|
};
|
|
284490
284490
|
registerCleanup(shutdownTelemetry);
|
|
284491
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.7.
|
|
284491
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.7.9");
|
|
284492
284492
|
}
|
|
284493
284493
|
async function flushTelemetry() {
|
|
284494
284494
|
const meterProvider = getMeterProvider();
|
|
@@ -285678,7 +285678,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
285678
285678
|
}
|
|
285679
285679
|
async function getDoctorDiagnostic() {
|
|
285680
285680
|
const installationType = await getCurrentInstallationType();
|
|
285681
|
-
const version = typeof MACRO !== "undefined" ? "1.7.
|
|
285681
|
+
const version = typeof MACRO !== "undefined" ? "1.7.9" : "unknown";
|
|
285682
285682
|
const installationPath = await getInstallationPath();
|
|
285683
285683
|
const invokedBinary = getInvokedBinary();
|
|
285684
285684
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -286619,8 +286619,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
286619
286619
|
const maxVersion = await getMaxVersion();
|
|
286620
286620
|
if (maxVersion && gt(version, maxVersion)) {
|
|
286621
286621
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version} to ${maxVersion}`);
|
|
286622
|
-
if (gte("1.7.
|
|
286623
|
-
logForDebugging(`Native installer: current version ${"1.7.
|
|
286622
|
+
if (gte("1.7.9", maxVersion)) {
|
|
286623
|
+
logForDebugging(`Native installer: current version ${"1.7.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
286624
286624
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
286625
286625
|
latency_ms: Date.now() - startTime,
|
|
286626
286626
|
max_version: maxVersion,
|
|
@@ -286631,7 +286631,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
286631
286631
|
version = maxVersion;
|
|
286632
286632
|
}
|
|
286633
286633
|
}
|
|
286634
|
-
if (!forceReinstall && version === "1.7.
|
|
286634
|
+
if (!forceReinstall && version === "1.7.9" && await versionIsAvailable(version) && await isPossibleLocalClawdBinary(executablePath)) {
|
|
286635
286635
|
logForDebugging(`Found ${version} at ${executablePath}, skipping install`);
|
|
286636
286636
|
logEvent("tengu_native_update_complete", {
|
|
286637
286637
|
latency_ms: Date.now() - startTime,
|
|
@@ -331760,7 +331760,7 @@ function getAnthropicEnvMetadata() {
|
|
|
331760
331760
|
function getBuildAgeMinutes() {
|
|
331761
331761
|
if (false)
|
|
331762
331762
|
;
|
|
331763
|
-
const buildTime = new Date("2026-05-07T15:
|
|
331763
|
+
const buildTime = new Date("2026-05-07T15:08:19.360Z").getTime();
|
|
331764
331764
|
if (isNaN(buildTime))
|
|
331765
331765
|
return;
|
|
331766
331766
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -360590,7 +360590,7 @@ function Feedback({
|
|
|
360590
360590
|
platform: env3.platform,
|
|
360591
360591
|
gitRepo: envInfo.isGit,
|
|
360592
360592
|
terminal: env3.terminal,
|
|
360593
|
-
version: "1.7.
|
|
360593
|
+
version: "1.7.9",
|
|
360594
360594
|
transcript: normalizeMessagesForAPI(messages),
|
|
360595
360595
|
errors: sanitizedErrors,
|
|
360596
360596
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -360782,7 +360782,7 @@ function Feedback({
|
|
|
360782
360782
|
", ",
|
|
360783
360783
|
env3.terminal,
|
|
360784
360784
|
", v",
|
|
360785
|
-
"1.7.
|
|
360785
|
+
"1.7.9"
|
|
360786
360786
|
]
|
|
360787
360787
|
}, undefined, true, undefined, this)
|
|
360788
360788
|
]
|
|
@@ -360888,7 +360888,7 @@ ${sanitizedDescription}
|
|
|
360888
360888
|
` + `**Environment Info**
|
|
360889
360889
|
` + `- Platform: ${env3.platform}
|
|
360890
360890
|
` + `- Terminal: ${env3.terminal}
|
|
360891
|
-
` + `- Version: ${"1.7.
|
|
360891
|
+
` + `- Version: ${"1.7.9"}
|
|
360892
360892
|
` + `- Feedback ID: ${feedbackId}
|
|
360893
360893
|
` + `
|
|
360894
360894
|
**Errors**
|
|
@@ -363516,7 +363516,7 @@ function buildPrimarySection() {
|
|
|
363516
363516
|
}, undefined, false, undefined, this);
|
|
363517
363517
|
return [{
|
|
363518
363518
|
label: "Version",
|
|
363519
|
-
value: "1.7.
|
|
363519
|
+
value: "1.7.9"
|
|
363520
363520
|
}, {
|
|
363521
363521
|
label: "Session name",
|
|
363522
363522
|
value: nameValue
|
|
@@ -368197,7 +368197,7 @@ function Config({
|
|
|
368197
368197
|
}
|
|
368198
368198
|
}, undefined, false, undefined, this)
|
|
368199
368199
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime176.jsxDEV(ChannelDowngradeDialog, {
|
|
368200
|
-
currentVersion: "1.7.
|
|
368200
|
+
currentVersion: "1.7.9",
|
|
368201
368201
|
onChoice: (choice) => {
|
|
368202
368202
|
setShowSubmenu(null);
|
|
368203
368203
|
setTabsHidden(false);
|
|
@@ -368209,7 +368209,7 @@ function Config({
|
|
|
368209
368209
|
autoUpdatesChannel: "stable"
|
|
368210
368210
|
};
|
|
368211
368211
|
if (choice === "stay") {
|
|
368212
|
-
newSettings.minimumVersion = "1.7.
|
|
368212
|
+
newSettings.minimumVersion = "1.7.9";
|
|
368213
368213
|
}
|
|
368214
368214
|
updateSettingsForSource("userSettings", newSettings);
|
|
368215
368215
|
setSettingsData((prev_27) => ({
|
|
@@ -386558,7 +386558,7 @@ function Help(t0) {
|
|
|
386558
386558
|
let t6;
|
|
386559
386559
|
if ($2[31] !== tabs) {
|
|
386560
386560
|
t6 = /* @__PURE__ */ jsx_dev_runtime238.jsxDEV(Tabs, {
|
|
386561
|
-
title: `localclawd v${"1.7.
|
|
386561
|
+
title: `localclawd v${"1.7.9"}`,
|
|
386562
386562
|
color: "professionalBlue",
|
|
386563
386563
|
defaultTab: "general",
|
|
386564
386564
|
children: tabs
|
|
@@ -403820,7 +403820,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
403820
403820
|
}
|
|
403821
403821
|
return [];
|
|
403822
403822
|
}
|
|
403823
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.7.
|
|
403823
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.7.9") {
|
|
403824
403824
|
if (process.env.USER_TYPE === "ant") {
|
|
403825
403825
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
403826
403826
|
if (changelog) {
|
|
@@ -403847,7 +403847,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.7.8") {
|
|
|
403847
403847
|
releaseNotes
|
|
403848
403848
|
};
|
|
403849
403849
|
}
|
|
403850
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.7.
|
|
403850
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.7.9") {
|
|
403851
403851
|
if (process.env.USER_TYPE === "ant") {
|
|
403852
403852
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
403853
403853
|
if (changelog) {
|
|
@@ -404004,7 +404004,7 @@ function getRecentActivitySync() {
|
|
|
404004
404004
|
return cachedActivity;
|
|
404005
404005
|
}
|
|
404006
404006
|
function getLogoDisplayData() {
|
|
404007
|
-
const version = process.env.DEMO_VERSION ?? "1.7.
|
|
404007
|
+
const version = process.env.DEMO_VERSION ?? "1.7.9";
|
|
404008
404008
|
const serverUrl = getDirectConnectServerUrl();
|
|
404009
404009
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
404010
404010
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -405104,7 +405104,7 @@ function Logo() {
|
|
|
405104
405104
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
405105
405105
|
t2 = () => {
|
|
405106
405106
|
const currentConfig = getGlobalConfig();
|
|
405107
|
-
if (currentConfig.lastReleaseNotesSeen === "1.7.
|
|
405107
|
+
if (currentConfig.lastReleaseNotesSeen === "1.7.9") {
|
|
405108
405108
|
return;
|
|
405109
405109
|
}
|
|
405110
405110
|
saveGlobalConfig(_temp326);
|
|
@@ -405763,12 +405763,12 @@ function Logo() {
|
|
|
405763
405763
|
return t41;
|
|
405764
405764
|
}
|
|
405765
405765
|
function _temp326(current) {
|
|
405766
|
-
if (current.lastReleaseNotesSeen === "1.7.
|
|
405766
|
+
if (current.lastReleaseNotesSeen === "1.7.9") {
|
|
405767
405767
|
return current;
|
|
405768
405768
|
}
|
|
405769
405769
|
return {
|
|
405770
405770
|
...current,
|
|
405771
|
-
lastReleaseNotesSeen: "1.7.
|
|
405771
|
+
lastReleaseNotesSeen: "1.7.9"
|
|
405772
405772
|
};
|
|
405773
405773
|
}
|
|
405774
405774
|
function _temp241(s_0) {
|
|
@@ -436247,7 +436247,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
436247
436247
|
smapsRollup,
|
|
436248
436248
|
platform: process.platform,
|
|
436249
436249
|
nodeVersion: process.version,
|
|
436250
|
-
ccVersion: "1.7.
|
|
436250
|
+
ccVersion: "1.7.9"
|
|
436251
436251
|
};
|
|
436252
436252
|
}
|
|
436253
436253
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -436832,7 +436832,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
436832
436832
|
var call87 = async () => {
|
|
436833
436833
|
return {
|
|
436834
436834
|
type: "text",
|
|
436835
|
-
value: `${"1.7.
|
|
436835
|
+
value: `${"1.7.9"} (built ${"2026-05-07T15:08:19.360Z"})`
|
|
436836
436836
|
};
|
|
436837
436837
|
}, version, version_default;
|
|
436838
436838
|
var init_version = __esm(() => {
|
|
@@ -444776,7 +444776,7 @@ function generateHtmlReport(data, insights) {
|
|
|
444776
444776
|
</html>`;
|
|
444777
444777
|
}
|
|
444778
444778
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
444779
|
-
const version2 = typeof MACRO !== "undefined" ? "1.7.
|
|
444779
|
+
const version2 = typeof MACRO !== "undefined" ? "1.7.9" : "unknown";
|
|
444780
444780
|
const remote_hosts_collected = remoteStats?.hosts.filter((h) => h.sessionCount > 0).map((h) => h.name);
|
|
444781
444781
|
const facets_summary = {
|
|
444782
444782
|
total: facets.size,
|
|
@@ -448977,7 +448977,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
448977
448977
|
init_settings2();
|
|
448978
448978
|
init_slowOperations();
|
|
448979
448979
|
init_uuid();
|
|
448980
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.7.
|
|
448980
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.7.9" : "unknown";
|
|
448981
448981
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
448982
448982
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
448983
448983
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -450178,7 +450178,7 @@ var init_filesystem = __esm(() => {
|
|
|
450178
450178
|
});
|
|
450179
450179
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
450180
450180
|
const nonce = randomBytes20(16).toString("hex");
|
|
450181
|
-
return join150(getClaudeTempDir(), "bundled-skills", "1.7.
|
|
450181
|
+
return join150(getClaudeTempDir(), "bundled-skills", "1.7.9", nonce);
|
|
450182
450182
|
});
|
|
450183
450183
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
450184
450184
|
});
|
|
@@ -459415,7 +459415,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
459415
459415
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
459416
459416
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
459417
459417
|
betas: getSdkBetas(),
|
|
459418
|
-
claude_code_version: "1.7.
|
|
459418
|
+
claude_code_version: "1.7.9",
|
|
459419
459419
|
output_style: outputStyle2,
|
|
459420
459420
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
459421
459421
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -473572,7 +473572,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
473572
473572
|
function getSemverPart(version2) {
|
|
473573
473573
|
return `${import_semver10.major(version2, { loose: true })}.${import_semver10.minor(version2, { loose: true })}.${import_semver10.patch(version2, { loose: true })}`;
|
|
473574
473574
|
}
|
|
473575
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.7.
|
|
473575
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.7.9") {
|
|
473576
473576
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react214.useState(() => getSemverPart(initialVersion));
|
|
473577
473577
|
if (!updatedVersion) {
|
|
473578
473578
|
return null;
|
|
@@ -473612,7 +473612,7 @@ function AutoUpdater({
|
|
|
473612
473612
|
return;
|
|
473613
473613
|
}
|
|
473614
473614
|
if (false) {}
|
|
473615
|
-
const currentVersion = "1.7.
|
|
473615
|
+
const currentVersion = "1.7.9";
|
|
473616
473616
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
473617
473617
|
let latestVersion = await getLatestVersion(channel);
|
|
473618
473618
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -473823,12 +473823,12 @@ function NativeAutoUpdater({
|
|
|
473823
473823
|
logEvent("tengu_native_auto_updater_start", {});
|
|
473824
473824
|
try {
|
|
473825
473825
|
const maxVersion = await getMaxVersion();
|
|
473826
|
-
if (maxVersion && gt("1.7.
|
|
473826
|
+
if (maxVersion && gt("1.7.9", maxVersion)) {
|
|
473827
473827
|
const msg = await getMaxVersionMessage();
|
|
473828
473828
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
473829
473829
|
}
|
|
473830
473830
|
const result = await installLatest(channel);
|
|
473831
|
-
const currentVersion = "1.7.
|
|
473831
|
+
const currentVersion = "1.7.9";
|
|
473832
473832
|
const latencyMs = Date.now() - startTime;
|
|
473833
473833
|
if (result.lockFailed) {
|
|
473834
473834
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -473963,17 +473963,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
473963
473963
|
const maxVersion = await getMaxVersion();
|
|
473964
473964
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
473965
473965
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
473966
|
-
if (gte("1.7.
|
|
473967
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.7.
|
|
473966
|
+
if (gte("1.7.9", maxVersion)) {
|
|
473967
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.7.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
473968
473968
|
setUpdateAvailable(false);
|
|
473969
473969
|
return;
|
|
473970
473970
|
}
|
|
473971
473971
|
latest = maxVersion;
|
|
473972
473972
|
}
|
|
473973
|
-
const hasUpdate = latest && !gte("1.7.
|
|
473973
|
+
const hasUpdate = latest && !gte("1.7.9", latest) && !shouldSkipVersion(latest);
|
|
473974
473974
|
setUpdateAvailable(!!hasUpdate);
|
|
473975
473975
|
if (hasUpdate) {
|
|
473976
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.7.
|
|
473976
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.7.9"} -> ${latest}`);
|
|
473977
473977
|
}
|
|
473978
473978
|
};
|
|
473979
473979
|
$2[0] = t1;
|
|
@@ -474007,7 +474007,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
474007
474007
|
wrap: "truncate",
|
|
474008
474008
|
children: [
|
|
474009
474009
|
"currentVersion: ",
|
|
474010
|
-
"1.7.
|
|
474010
|
+
"1.7.9"
|
|
474011
474011
|
]
|
|
474012
474012
|
}, undefined, true, undefined, this);
|
|
474013
474013
|
$2[3] = verbose;
|
|
@@ -481567,7 +481567,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
481567
481567
|
project_dir: getOriginalCwd(),
|
|
481568
481568
|
added_dirs: addedDirs
|
|
481569
481569
|
},
|
|
481570
|
-
version: "1.7.
|
|
481570
|
+
version: "1.7.9",
|
|
481571
481571
|
output_style: {
|
|
481572
481572
|
name: outputStyleName
|
|
481573
481573
|
},
|
|
@@ -493139,7 +493139,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
493139
493139
|
} catch {}
|
|
493140
493140
|
const data = {
|
|
493141
493141
|
trigger,
|
|
493142
|
-
version: "1.7.
|
|
493142
|
+
version: "1.7.9",
|
|
493143
493143
|
platform: process.platform,
|
|
493144
493144
|
transcript,
|
|
493145
493145
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -507109,7 +507109,7 @@ var init_debug2 = __esm(() => {
|
|
|
507109
507109
|
// src/skills/bundled/imagePipeline.ts
|
|
507110
507110
|
function registerImagePipelineSkill() {
|
|
507111
507111
|
registerBundledSkill({
|
|
507112
|
-
name: "image-
|
|
507112
|
+
name: "local-image-gen",
|
|
507113
507113
|
description: "Set up and operate a project-local image generation and review pipeline for game textures, sprites, and other art assets.",
|
|
507114
507114
|
whenToUse: "Use when the user wants local texture generation, sprite/image iteration, project-local asset prompts, or visual review of generated game art.",
|
|
507115
507115
|
argumentHint: "[setup request or asset brief]",
|
|
@@ -510048,7 +510048,7 @@ function appendToLog(path17, message) {
|
|
|
510048
510048
|
cwd: getFsImplementation().cwd(),
|
|
510049
510049
|
userType: process.env.USER_TYPE,
|
|
510050
510050
|
sessionId: getSessionId(),
|
|
510051
|
-
version: "1.7.
|
|
510051
|
+
version: "1.7.9"
|
|
510052
510052
|
};
|
|
510053
510053
|
getLogWriter(path17).write(messageWithTimestamp);
|
|
510054
510054
|
}
|
|
@@ -514072,8 +514072,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
514072
514072
|
}
|
|
514073
514073
|
async function checkEnvLessBridgeMinVersion() {
|
|
514074
514074
|
const cfg = await getEnvLessBridgeConfig();
|
|
514075
|
-
if (cfg.min_version && lt("1.7.
|
|
514076
|
-
return `Your version of localclawd (${"1.7.
|
|
514075
|
+
if (cfg.min_version && lt("1.7.9", cfg.min_version)) {
|
|
514076
|
+
return `Your version of localclawd (${"1.7.9"}) is too old for Remote Control.
|
|
514077
514077
|
Version ${cfg.min_version} or higher is required. Run \`localclawd update\` to update.`;
|
|
514078
514078
|
}
|
|
514079
514079
|
return null;
|
|
@@ -514545,7 +514545,7 @@ async function initBridgeCore(params) {
|
|
|
514545
514545
|
const rawApi = createBridgeApiClient({
|
|
514546
514546
|
baseUrl,
|
|
514547
514547
|
getAccessToken,
|
|
514548
|
-
runnerVersion: "1.7.
|
|
514548
|
+
runnerVersion: "1.7.9",
|
|
514549
514549
|
onDebug: logForDebugging,
|
|
514550
514550
|
onAuth401,
|
|
514551
514551
|
getTrustedDeviceToken
|
|
@@ -520264,7 +520264,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
520264
520264
|
setCwd(cwd3);
|
|
520265
520265
|
const server = new Server({
|
|
520266
520266
|
name: "claude/tengu",
|
|
520267
|
-
version: "1.7.
|
|
520267
|
+
version: "1.7.9"
|
|
520268
520268
|
}, {
|
|
520269
520269
|
capabilities: {
|
|
520270
520270
|
tools: {}
|
|
@@ -521345,7 +521345,7 @@ function WelcomeLogo() {
|
|
|
521345
521345
|
dimColor: true,
|
|
521346
521346
|
children: [
|
|
521347
521347
|
"v",
|
|
521348
|
-
"1.7.
|
|
521348
|
+
"1.7.9"
|
|
521349
521349
|
]
|
|
521350
521350
|
}, undefined, true, undefined, this)
|
|
521351
521351
|
]
|
|
@@ -521536,7 +521536,7 @@ __export(exports_update, {
|
|
|
521536
521536
|
});
|
|
521537
521537
|
async function update() {
|
|
521538
521538
|
logEvent("tengu_update_check", {});
|
|
521539
|
-
writeToStdout(`Current version: ${"1.7.
|
|
521539
|
+
writeToStdout(`Current version: ${"1.7.9"}
|
|
521540
521540
|
`);
|
|
521541
521541
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
521542
521542
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -521611,8 +521611,8 @@ async function update() {
|
|
|
521611
521611
|
writeToStdout(`localclawd is managed by Homebrew.
|
|
521612
521612
|
`);
|
|
521613
521613
|
const latest = await getLatestVersion(channel);
|
|
521614
|
-
if (latest && !gte("1.7.
|
|
521615
|
-
writeToStdout(`Update available: ${"1.7.
|
|
521614
|
+
if (latest && !gte("1.7.9", latest)) {
|
|
521615
|
+
writeToStdout(`Update available: ${"1.7.9"} → ${latest}
|
|
521616
521616
|
`);
|
|
521617
521617
|
writeToStdout(`
|
|
521618
521618
|
`);
|
|
@@ -521628,8 +521628,8 @@ async function update() {
|
|
|
521628
521628
|
writeToStdout(`localclawd is managed by winget.
|
|
521629
521629
|
`);
|
|
521630
521630
|
const latest = await getLatestVersion(channel);
|
|
521631
|
-
if (latest && !gte("1.7.
|
|
521632
|
-
writeToStdout(`Update available: ${"1.7.
|
|
521631
|
+
if (latest && !gte("1.7.9", latest)) {
|
|
521632
|
+
writeToStdout(`Update available: ${"1.7.9"} → ${latest}
|
|
521633
521633
|
`);
|
|
521634
521634
|
writeToStdout(`
|
|
521635
521635
|
`);
|
|
@@ -521643,8 +521643,8 @@ async function update() {
|
|
|
521643
521643
|
writeToStdout(`localclawd is managed by apk.
|
|
521644
521644
|
`);
|
|
521645
521645
|
const latest = await getLatestVersion(channel);
|
|
521646
|
-
if (latest && !gte("1.7.
|
|
521647
|
-
writeToStdout(`Update available: ${"1.7.
|
|
521646
|
+
if (latest && !gte("1.7.9", latest)) {
|
|
521647
|
+
writeToStdout(`Update available: ${"1.7.9"} → ${latest}
|
|
521648
521648
|
`);
|
|
521649
521649
|
writeToStdout(`
|
|
521650
521650
|
`);
|
|
@@ -521709,11 +521709,11 @@ async function update() {
|
|
|
521709
521709
|
`);
|
|
521710
521710
|
await gracefulShutdown(1);
|
|
521711
521711
|
}
|
|
521712
|
-
if (result.latestVersion === "1.7.
|
|
521713
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.7.
|
|
521712
|
+
if (result.latestVersion === "1.7.9") {
|
|
521713
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.7.9"})`) + `
|
|
521714
521714
|
`);
|
|
521715
521715
|
} else {
|
|
521716
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.7.
|
|
521716
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.7.9"} to version ${result.latestVersion}`) + `
|
|
521717
521717
|
`);
|
|
521718
521718
|
await regenerateCompletionCache();
|
|
521719
521719
|
}
|
|
@@ -521773,12 +521773,12 @@ async function update() {
|
|
|
521773
521773
|
`);
|
|
521774
521774
|
await gracefulShutdown(1);
|
|
521775
521775
|
}
|
|
521776
|
-
if (latestVersion === "1.7.
|
|
521777
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.7.
|
|
521776
|
+
if (latestVersion === "1.7.9") {
|
|
521777
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.7.9"})`) + `
|
|
521778
521778
|
`);
|
|
521779
521779
|
await gracefulShutdown(0);
|
|
521780
521780
|
}
|
|
521781
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.7.
|
|
521781
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.7.9"})
|
|
521782
521782
|
`);
|
|
521783
521783
|
writeToStdout(`Installing update...
|
|
521784
521784
|
`);
|
|
@@ -521823,7 +521823,7 @@ async function update() {
|
|
|
521823
521823
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
521824
521824
|
switch (status2) {
|
|
521825
521825
|
case "success":
|
|
521826
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.7.
|
|
521826
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.7.9"} to version ${latestVersion}`) + `
|
|
521827
521827
|
`);
|
|
521828
521828
|
await regenerateCompletionCache();
|
|
521829
521829
|
break;
|
|
@@ -523065,7 +523065,7 @@ Run with --debug for more details.
|
|
|
523065
523065
|
}
|
|
523066
523066
|
}
|
|
523067
523067
|
logForDiagnosticsNoPII("info", "started", {
|
|
523068
|
-
version: "1.7.
|
|
523068
|
+
version: "1.7.9",
|
|
523069
523069
|
is_native_binary: isInBundledMode()
|
|
523070
523070
|
});
|
|
523071
523071
|
registerCleanup(async () => {
|
|
@@ -523849,7 +523849,7 @@ Usage: localclawd --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
523849
523849
|
pendingHookMessages
|
|
523850
523850
|
}, renderAndRun);
|
|
523851
523851
|
}
|
|
523852
|
-
}).version("1.7.
|
|
523852
|
+
}).version("1.7.9 (localclawd)", "-v, --version", "Output the version number");
|
|
523853
523853
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
523854
523854
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
523855
523855
|
if (canUserConfigureAdvisor()) {
|
|
@@ -524363,7 +524363,7 @@ if (false) {}
|
|
|
524363
524363
|
async function main2() {
|
|
524364
524364
|
const args = process.argv.slice(2);
|
|
524365
524365
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
524366
|
-
console.log(`${"1.7.
|
|
524366
|
+
console.log(`${"1.7.9"} (localclawd)`);
|
|
524367
524367
|
return;
|
|
524368
524368
|
}
|
|
524369
524369
|
const {
|
|
@@ -524446,4 +524446,4 @@ localclawd crashed: ${msg}
|
|
|
524446
524446
|
process.exit(1);
|
|
524447
524447
|
});
|
|
524448
524448
|
|
|
524449
|
-
//# debugId=
|
|
524449
|
+
//# debugId=64B9F248110B7A0964756E2164756E21
|