localclawd 1.1.3 → 1.1.4
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 +94 -112
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -89253,7 +89253,7 @@ var init_isEqual = __esm(() => {
|
|
|
89253
89253
|
|
|
89254
89254
|
// src/utils/userAgent.ts
|
|
89255
89255
|
function getClaudeCodeUserAgent() {
|
|
89256
|
-
return `claude-code/${"1.1.
|
|
89256
|
+
return `claude-code/${"1.1.4"}`;
|
|
89257
89257
|
}
|
|
89258
89258
|
|
|
89259
89259
|
// src/utils/workloadContext.ts
|
|
@@ -89275,7 +89275,7 @@ function getUserAgent() {
|
|
|
89275
89275
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
89276
89276
|
const workload = getWorkload();
|
|
89277
89277
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
89278
|
-
return `claude-cli/${"1.1.
|
|
89278
|
+
return `claude-cli/${"1.1.4"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
89279
89279
|
}
|
|
89280
89280
|
function getMCPUserAgent() {
|
|
89281
89281
|
const parts = [];
|
|
@@ -89289,7 +89289,7 @@ function getMCPUserAgent() {
|
|
|
89289
89289
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
89290
89290
|
}
|
|
89291
89291
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
89292
|
-
return `claude-code/${"1.1.
|
|
89292
|
+
return `claude-code/${"1.1.4"}${suffix}`;
|
|
89293
89293
|
}
|
|
89294
89294
|
function getWebFetchUserAgent() {
|
|
89295
89295
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -99110,7 +99110,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
99110
99110
|
if (!isAttributionHeaderEnabled()) {
|
|
99111
99111
|
return "";
|
|
99112
99112
|
}
|
|
99113
|
-
const version = `${"1.1.
|
|
99113
|
+
const version = `${"1.1.4"}.${fingerprint}`;
|
|
99114
99114
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
99115
99115
|
const cch = "";
|
|
99116
99116
|
const workload = getWorkload();
|
|
@@ -132657,7 +132657,7 @@ var init_metadata = __esm(() => {
|
|
|
132657
132657
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
132658
132658
|
WHITESPACE_REGEX = /\s+/;
|
|
132659
132659
|
getVersionBase = memoize_default(() => {
|
|
132660
|
-
const match = "1.1.
|
|
132660
|
+
const match = "1.1.4".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
132661
132661
|
return match ? match[0] : undefined;
|
|
132662
132662
|
});
|
|
132663
132663
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -132697,9 +132697,9 @@ var init_metadata = __esm(() => {
|
|
|
132697
132697
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
132698
132698
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
132699
132699
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
132700
|
-
version: "1.1.
|
|
132700
|
+
version: "1.1.4",
|
|
132701
132701
|
versionBase: getVersionBase(),
|
|
132702
|
-
buildTime: "2026-04-
|
|
132702
|
+
buildTime: "2026-04-06T02:02:10.571Z",
|
|
132703
132703
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
132704
132704
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
132705
132705
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -197286,7 +197286,7 @@ function getTelemetryAttributes() {
|
|
|
197286
197286
|
attributes["session.id"] = sessionId;
|
|
197287
197287
|
}
|
|
197288
197288
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
197289
|
-
attributes["app.version"] = "1.1.
|
|
197289
|
+
attributes["app.version"] = "1.1.4";
|
|
197290
197290
|
}
|
|
197291
197291
|
const oauthAccount = getOauthAccountInfo();
|
|
197292
197292
|
if (oauthAccount) {
|
|
@@ -229347,7 +229347,7 @@ function getInstallationEnv() {
|
|
|
229347
229347
|
return;
|
|
229348
229348
|
}
|
|
229349
229349
|
function getClaudeCodeVersion() {
|
|
229350
|
-
return "1.1.
|
|
229350
|
+
return "1.1.4";
|
|
229351
229351
|
}
|
|
229352
229352
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
229353
229353
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -234949,7 +234949,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
234949
234949
|
const client4 = new Client({
|
|
234950
234950
|
name: "claude-code",
|
|
234951
234951
|
title: "Claude Code",
|
|
234952
|
-
version: "1.1.
|
|
234952
|
+
version: "1.1.4",
|
|
234953
234953
|
description: "Anthropic's agentic coding tool",
|
|
234954
234954
|
websiteUrl: PRODUCT_URL
|
|
234955
234955
|
}, {
|
|
@@ -235302,7 +235302,7 @@ var init_client9 = __esm(() => {
|
|
|
235302
235302
|
const client4 = new Client({
|
|
235303
235303
|
name: "claude-code",
|
|
235304
235304
|
title: "Claude Code",
|
|
235305
|
-
version: "1.1.
|
|
235305
|
+
version: "1.1.4",
|
|
235306
235306
|
description: "Anthropic's agentic coding tool",
|
|
235307
235307
|
websiteUrl: PRODUCT_URL
|
|
235308
235308
|
}, {
|
|
@@ -258493,7 +258493,7 @@ var init_user = __esm(() => {
|
|
|
258493
258493
|
deviceId,
|
|
258494
258494
|
sessionId: getSessionId(),
|
|
258495
258495
|
email: getEmail(),
|
|
258496
|
-
appVersion: "1.1.
|
|
258496
|
+
appVersion: "1.1.4",
|
|
258497
258497
|
platform: getHostPlatformForAnalytics(),
|
|
258498
258498
|
organizationUuid,
|
|
258499
258499
|
accountUuid,
|
|
@@ -259817,7 +259817,7 @@ async function initializeBetaTracing(resource) {
|
|
|
259817
259817
|
});
|
|
259818
259818
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
259819
259819
|
setLoggerProvider(loggerProvider);
|
|
259820
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
259820
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.4");
|
|
259821
259821
|
setEventLogger(eventLogger);
|
|
259822
259822
|
process.on("beforeExit", async () => {
|
|
259823
259823
|
await loggerProvider?.forceFlush();
|
|
@@ -259857,7 +259857,7 @@ async function initializeTelemetry() {
|
|
|
259857
259857
|
const platform3 = getPlatform();
|
|
259858
259858
|
const baseAttributes = {
|
|
259859
259859
|
[ATTR_SERVICE_NAME5]: "claude-code",
|
|
259860
|
-
[ATTR_SERVICE_VERSION5]: "1.1.
|
|
259860
|
+
[ATTR_SERVICE_VERSION5]: "1.1.4"
|
|
259861
259861
|
};
|
|
259862
259862
|
if (platform3 === "wsl") {
|
|
259863
259863
|
const wslVersion = getWslVersion();
|
|
@@ -259902,7 +259902,7 @@ async function initializeTelemetry() {
|
|
|
259902
259902
|
} catch {}
|
|
259903
259903
|
};
|
|
259904
259904
|
registerCleanup(shutdownTelemetry2);
|
|
259905
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.
|
|
259905
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.4");
|
|
259906
259906
|
}
|
|
259907
259907
|
const meterProvider = new MeterProvider5({
|
|
259908
259908
|
resource,
|
|
@@ -259922,7 +259922,7 @@ async function initializeTelemetry() {
|
|
|
259922
259922
|
});
|
|
259923
259923
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
259924
259924
|
setLoggerProvider(loggerProvider);
|
|
259925
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
259925
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.4");
|
|
259926
259926
|
setEventLogger(eventLogger);
|
|
259927
259927
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
259928
259928
|
process.on("beforeExit", async () => {
|
|
@@ -259984,7 +259984,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
259984
259984
|
}
|
|
259985
259985
|
};
|
|
259986
259986
|
registerCleanup(shutdownTelemetry);
|
|
259987
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.
|
|
259987
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.4");
|
|
259988
259988
|
}
|
|
259989
259989
|
async function flushTelemetry() {
|
|
259990
259990
|
const meterProvider = getMeterProvider();
|
|
@@ -261207,7 +261207,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
261207
261207
|
}
|
|
261208
261208
|
async function getDoctorDiagnostic() {
|
|
261209
261209
|
const installationType = await getCurrentInstallationType();
|
|
261210
|
-
const version = typeof MACRO !== "undefined" ? "1.1.
|
|
261210
|
+
const version = typeof MACRO !== "undefined" ? "1.1.4" : "unknown";
|
|
261211
261211
|
const installationPath = await getInstallationPath();
|
|
261212
261212
|
const invokedBinary = getInvokedBinary();
|
|
261213
261213
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -262148,8 +262148,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
262148
262148
|
const maxVersion = await getMaxVersion();
|
|
262149
262149
|
if (maxVersion && gt(version, maxVersion)) {
|
|
262150
262150
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version} to ${maxVersion}`);
|
|
262151
|
-
if (gte("1.1.
|
|
262152
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
262151
|
+
if (gte("1.1.4", maxVersion)) {
|
|
262152
|
+
logForDebugging(`Native installer: current version ${"1.1.4"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
262153
262153
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
262154
262154
|
latency_ms: Date.now() - startTime,
|
|
262155
262155
|
max_version: maxVersion,
|
|
@@ -262160,7 +262160,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
262160
262160
|
version = maxVersion;
|
|
262161
262161
|
}
|
|
262162
262162
|
}
|
|
262163
|
-
if (!forceReinstall && version === "1.1.
|
|
262163
|
+
if (!forceReinstall && version === "1.1.4" && await versionIsAvailable(version) && await isPossibleLocalClawdBinary(executablePath)) {
|
|
262164
262164
|
logForDebugging(`Found ${version} at ${executablePath}, skipping install`);
|
|
262165
262165
|
logEvent("tengu_native_update_complete", {
|
|
262166
262166
|
latency_ms: Date.now() - startTime,
|
|
@@ -333322,7 +333322,7 @@ function getAnthropicEnvMetadata() {
|
|
|
333322
333322
|
function getBuildAgeMinutes() {
|
|
333323
333323
|
if (false)
|
|
333324
333324
|
;
|
|
333325
|
-
const buildTime = new Date("2026-04-
|
|
333325
|
+
const buildTime = new Date("2026-04-06T02:02:10.571Z").getTime();
|
|
333326
333326
|
if (isNaN(buildTime))
|
|
333327
333327
|
return;
|
|
333328
333328
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -357030,7 +357030,7 @@ function Feedback({
|
|
|
357030
357030
|
platform: env4.platform,
|
|
357031
357031
|
gitRepo: envInfo.isGit,
|
|
357032
357032
|
terminal: env4.terminal,
|
|
357033
|
-
version: "1.1.
|
|
357033
|
+
version: "1.1.4",
|
|
357034
357034
|
transcript: normalizeMessagesForAPI(messages),
|
|
357035
357035
|
errors: sanitizedErrors,
|
|
357036
357036
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -357222,7 +357222,7 @@ function Feedback({
|
|
|
357222
357222
|
", ",
|
|
357223
357223
|
env4.terminal,
|
|
357224
357224
|
", v",
|
|
357225
|
-
"1.1.
|
|
357225
|
+
"1.1.4"
|
|
357226
357226
|
]
|
|
357227
357227
|
}, undefined, true, undefined, this)
|
|
357228
357228
|
]
|
|
@@ -357328,7 +357328,7 @@ ${sanitizedDescription}
|
|
|
357328
357328
|
` + `**Environment Info**
|
|
357329
357329
|
` + `- Platform: ${env4.platform}
|
|
357330
357330
|
` + `- Terminal: ${env4.terminal}
|
|
357331
|
-
` + `- Version: ${"1.1.
|
|
357331
|
+
` + `- Version: ${"1.1.4"}
|
|
357332
357332
|
` + `- Feedback ID: ${feedbackId}
|
|
357333
357333
|
` + `
|
|
357334
357334
|
**Errors**
|
|
@@ -360441,7 +360441,7 @@ function buildPrimarySection() {
|
|
|
360441
360441
|
}, undefined, false, undefined, this);
|
|
360442
360442
|
return [{
|
|
360443
360443
|
label: "Version",
|
|
360444
|
-
value: "1.1.
|
|
360444
|
+
value: "1.1.4"
|
|
360445
360445
|
}, {
|
|
360446
360446
|
label: "Session name",
|
|
360447
360447
|
value: nameValue
|
|
@@ -365051,7 +365051,7 @@ function Config({
|
|
|
365051
365051
|
}
|
|
365052
365052
|
}, undefined, false, undefined, this)
|
|
365053
365053
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
365054
|
-
currentVersion: "1.1.
|
|
365054
|
+
currentVersion: "1.1.4",
|
|
365055
365055
|
onChoice: (choice) => {
|
|
365056
365056
|
setShowSubmenu(null);
|
|
365057
365057
|
setTabsHidden(false);
|
|
@@ -365063,7 +365063,7 @@ function Config({
|
|
|
365063
365063
|
autoUpdatesChannel: "stable"
|
|
365064
365064
|
};
|
|
365065
365065
|
if (choice === "stay") {
|
|
365066
|
-
newSettings.minimumVersion = "1.1.
|
|
365066
|
+
newSettings.minimumVersion = "1.1.4";
|
|
365067
365067
|
}
|
|
365068
365068
|
updateSettingsForSource("userSettings", newSettings);
|
|
365069
365069
|
setSettingsData((prev_27) => ({
|
|
@@ -373946,7 +373946,7 @@ function HelpV2(t0) {
|
|
|
373946
373946
|
let t6;
|
|
373947
373947
|
if ($2[31] !== tabs) {
|
|
373948
373948
|
t6 = /* @__PURE__ */ jsx_dev_runtime209.jsxDEV(Tabs, {
|
|
373949
|
-
title: `localclawd v${"1.1.
|
|
373949
|
+
title: `localclawd v${"1.1.4"}`,
|
|
373950
373950
|
color: "professionalBlue",
|
|
373951
373951
|
defaultTab: "general",
|
|
373952
373952
|
children: tabs
|
|
@@ -398104,7 +398104,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
398104
398104
|
return [];
|
|
398105
398105
|
}
|
|
398106
398106
|
}
|
|
398107
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
398107
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.4") {
|
|
398108
398108
|
if (process.env.USER_TYPE === "ant") {
|
|
398109
398109
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
398110
398110
|
if (changelog) {
|
|
@@ -398131,7 +398131,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.3") {
|
|
|
398131
398131
|
releaseNotes
|
|
398132
398132
|
};
|
|
398133
398133
|
}
|
|
398134
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
398134
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.4") {
|
|
398135
398135
|
if (process.env.USER_TYPE === "ant") {
|
|
398136
398136
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
398137
398137
|
if (changelog) {
|
|
@@ -399298,7 +399298,7 @@ function getRecentActivitySync() {
|
|
|
399298
399298
|
return cachedActivity;
|
|
399299
399299
|
}
|
|
399300
399300
|
function getLogoDisplayData() {
|
|
399301
|
-
const version = process.env.DEMO_VERSION ?? "1.1.
|
|
399301
|
+
const version = process.env.DEMO_VERSION ?? "1.1.4";
|
|
399302
399302
|
const serverUrl = getDirectConnectServerUrl();
|
|
399303
399303
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
399304
399304
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -400572,7 +400572,7 @@ function LogoV2() {
|
|
|
400572
400572
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
400573
400573
|
t2 = () => {
|
|
400574
400574
|
const currentConfig = getGlobalConfig();
|
|
400575
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
400575
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.4") {
|
|
400576
400576
|
return;
|
|
400577
400577
|
}
|
|
400578
400578
|
saveGlobalConfig(_temp327);
|
|
@@ -401248,12 +401248,12 @@ function LogoV2() {
|
|
|
401248
401248
|
return t41;
|
|
401249
401249
|
}
|
|
401250
401250
|
function _temp327(current) {
|
|
401251
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
401251
|
+
if (current.lastReleaseNotesSeen === "1.1.4") {
|
|
401252
401252
|
return current;
|
|
401253
401253
|
}
|
|
401254
401254
|
return {
|
|
401255
401255
|
...current,
|
|
401256
|
-
lastReleaseNotesSeen: "1.1.
|
|
401256
|
+
lastReleaseNotesSeen: "1.1.4"
|
|
401257
401257
|
};
|
|
401258
401258
|
}
|
|
401259
401259
|
function _temp245(s_0) {
|
|
@@ -427455,7 +427455,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
427455
427455
|
smapsRollup,
|
|
427456
427456
|
platform: process.platform,
|
|
427457
427457
|
nodeVersion: process.version,
|
|
427458
|
-
ccVersion: "1.1.
|
|
427458
|
+
ccVersion: "1.1.4"
|
|
427459
427459
|
};
|
|
427460
427460
|
}
|
|
427461
427461
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -428040,7 +428040,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
428040
428040
|
var call59 = async () => {
|
|
428041
428041
|
return {
|
|
428042
428042
|
type: "text",
|
|
428043
|
-
value: `${"1.1.
|
|
428043
|
+
value: `${"1.1.4"} (built ${"2026-04-06T02:02:10.571Z"})`
|
|
428044
428044
|
};
|
|
428045
428045
|
}, version, version_default;
|
|
428046
428046
|
var init_version = __esm(() => {
|
|
@@ -436976,7 +436976,7 @@ function generateHtmlReport(data, insights) {
|
|
|
436976
436976
|
</html>`;
|
|
436977
436977
|
}
|
|
436978
436978
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
436979
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
436979
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.4" : "unknown";
|
|
436980
436980
|
const remote_hosts_collected = remoteStats?.hosts.filter((h) => h.sessionCount > 0).map((h) => h.name);
|
|
436981
436981
|
const facets_summary = {
|
|
436982
436982
|
total: facets.size,
|
|
@@ -441133,7 +441133,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
441133
441133
|
init_settings2();
|
|
441134
441134
|
init_slowOperations();
|
|
441135
441135
|
init_uuid();
|
|
441136
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
441136
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.4" : "unknown";
|
|
441137
441137
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
441138
441138
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
441139
441139
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -442335,7 +442335,7 @@ var init_filesystem = __esm(() => {
|
|
|
442335
442335
|
});
|
|
442336
442336
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
442337
442337
|
const nonce = randomBytes18(16).toString("hex");
|
|
442338
|
-
return join128(getClaudeTempDir(), "bundled-skills", "1.1.
|
|
442338
|
+
return join128(getClaudeTempDir(), "bundled-skills", "1.1.4", nonce);
|
|
442339
442339
|
});
|
|
442340
442340
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
442341
442341
|
});
|
|
@@ -448333,7 +448333,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
448333
448333
|
}
|
|
448334
448334
|
function computeFingerprintFromMessages(messages) {
|
|
448335
448335
|
const firstMessageText = extractFirstMessageText(messages);
|
|
448336
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
448336
|
+
return computeFingerprint(firstMessageText, "1.1.4");
|
|
448337
448337
|
}
|
|
448338
448338
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
448339
448339
|
var init_fingerprint = () => {};
|
|
@@ -450188,7 +450188,7 @@ async function sideQuery(opts) {
|
|
|
450188
450188
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
450189
450189
|
}
|
|
450190
450190
|
const messageText = extractFirstUserMessageText(messages);
|
|
450191
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
450191
|
+
const fingerprint = computeFingerprint(messageText, "1.1.4");
|
|
450192
450192
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
450193
450193
|
const systemBlocks = [
|
|
450194
450194
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -454986,7 +454986,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
454986
454986
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
454987
454987
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
454988
454988
|
betas: getSdkBetas(),
|
|
454989
|
-
claude_code_version: "1.1.
|
|
454989
|
+
claude_code_version: "1.1.4",
|
|
454990
454990
|
output_style: outputStyle2,
|
|
454991
454991
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
454992
454992
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -469565,7 +469565,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
469565
469565
|
function getSemverPart(version2) {
|
|
469566
469566
|
return `${import_semver12.major(version2, { loose: true })}.${import_semver12.minor(version2, { loose: true })}.${import_semver12.patch(version2, { loose: true })}`;
|
|
469567
469567
|
}
|
|
469568
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
469568
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.4") {
|
|
469569
469569
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
469570
469570
|
if (!updatedVersion) {
|
|
469571
469571
|
return null;
|
|
@@ -469605,7 +469605,7 @@ function AutoUpdater({
|
|
|
469605
469605
|
return;
|
|
469606
469606
|
}
|
|
469607
469607
|
if (false) {}
|
|
469608
|
-
const currentVersion = "1.1.
|
|
469608
|
+
const currentVersion = "1.1.4";
|
|
469609
469609
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
469610
469610
|
let latestVersion = await getLatestVersion(channel);
|
|
469611
469611
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -469816,12 +469816,12 @@ function NativeAutoUpdater({
|
|
|
469816
469816
|
logEvent("tengu_native_auto_updater_start", {});
|
|
469817
469817
|
try {
|
|
469818
469818
|
const maxVersion = await getMaxVersion();
|
|
469819
|
-
if (maxVersion && gt("1.1.
|
|
469819
|
+
if (maxVersion && gt("1.1.4", maxVersion)) {
|
|
469820
469820
|
const msg = await getMaxVersionMessage();
|
|
469821
469821
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
469822
469822
|
}
|
|
469823
469823
|
const result = await installLatest(channel);
|
|
469824
|
-
const currentVersion = "1.1.
|
|
469824
|
+
const currentVersion = "1.1.4";
|
|
469825
469825
|
const latencyMs = Date.now() - startTime;
|
|
469826
469826
|
if (result.lockFailed) {
|
|
469827
469827
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -469956,17 +469956,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
469956
469956
|
const maxVersion = await getMaxVersion();
|
|
469957
469957
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
469958
469958
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
469959
|
-
if (gte("1.1.
|
|
469960
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
469959
|
+
if (gte("1.1.4", maxVersion)) {
|
|
469960
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.4"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
469961
469961
|
setUpdateAvailable(false);
|
|
469962
469962
|
return;
|
|
469963
469963
|
}
|
|
469964
469964
|
latest = maxVersion;
|
|
469965
469965
|
}
|
|
469966
|
-
const hasUpdate = latest && !gte("1.1.
|
|
469966
|
+
const hasUpdate = latest && !gte("1.1.4", latest) && !shouldSkipVersion(latest);
|
|
469967
469967
|
setUpdateAvailable(!!hasUpdate);
|
|
469968
469968
|
if (hasUpdate) {
|
|
469969
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
469969
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.4"} -> ${latest}`);
|
|
469970
469970
|
}
|
|
469971
469971
|
};
|
|
469972
469972
|
$2[0] = t1;
|
|
@@ -470000,7 +470000,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
470000
470000
|
wrap: "truncate",
|
|
470001
470001
|
children: [
|
|
470002
470002
|
"currentVersion: ",
|
|
470003
|
-
"1.1.
|
|
470003
|
+
"1.1.4"
|
|
470004
470004
|
]
|
|
470005
470005
|
}, undefined, true, undefined, this);
|
|
470006
470006
|
$2[3] = verbose;
|
|
@@ -477558,7 +477558,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
477558
477558
|
project_dir: getOriginalCwd(),
|
|
477559
477559
|
added_dirs: addedDirs
|
|
477560
477560
|
},
|
|
477561
|
-
version: "1.1.
|
|
477561
|
+
version: "1.1.4",
|
|
477562
477562
|
output_style: {
|
|
477563
477563
|
name: outputStyleName
|
|
477564
477564
|
},
|
|
@@ -489104,7 +489104,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
489104
489104
|
} catch {}
|
|
489105
489105
|
const data = {
|
|
489106
489106
|
trigger,
|
|
489107
|
-
version: "1.1.
|
|
489107
|
+
version: "1.1.4",
|
|
489108
489108
|
platform: process.platform,
|
|
489109
489109
|
transcript,
|
|
489110
489110
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -500693,7 +500693,7 @@ function WelcomeV2() {
|
|
|
500693
500693
|
dimColor: true,
|
|
500694
500694
|
children: [
|
|
500695
500695
|
"v",
|
|
500696
|
-
"1.1.
|
|
500696
|
+
"1.1.4"
|
|
500697
500697
|
]
|
|
500698
500698
|
}, undefined, true, undefined, this)
|
|
500699
500699
|
]
|
|
@@ -500704,25 +500704,8 @@ function WelcomeV2() {
|
|
|
500704
500704
|
}, undefined, false, undefined, this),
|
|
500705
500705
|
/* @__PURE__ */ jsx_dev_runtime477.jsxDEV(ThemedBox_default, {
|
|
500706
500706
|
marginTop: 1,
|
|
500707
|
-
|
|
500708
|
-
|
|
500709
|
-
/* @__PURE__ */ jsx_dev_runtime477.jsxDEV(Clawd, {}, undefined, false, undefined, this),
|
|
500710
|
-
/* @__PURE__ */ jsx_dev_runtime477.jsxDEV(ThemedBox_default, {
|
|
500711
|
-
flexDirection: "column",
|
|
500712
|
-
justifyContent: "center",
|
|
500713
|
-
children: [
|
|
500714
|
-
/* @__PURE__ */ jsx_dev_runtime477.jsxDEV(ThemedText, {
|
|
500715
|
-
dimColor: true,
|
|
500716
|
-
children: "Local-first coding with vLLM, Ollama, and OpenAI-compatible APIs."
|
|
500717
|
-
}, undefined, false, undefined, this),
|
|
500718
|
-
/* @__PURE__ */ jsx_dev_runtime477.jsxDEV(ThemedText, {
|
|
500719
|
-
dimColor: true,
|
|
500720
|
-
children: "Vision flows through when your model supports it."
|
|
500721
|
-
}, undefined, false, undefined, this)
|
|
500722
|
-
]
|
|
500723
|
-
}, undefined, true, undefined, this)
|
|
500724
|
-
]
|
|
500725
|
-
}, undefined, true, undefined, this)
|
|
500707
|
+
children: /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(Clawd, {}, undefined, false, undefined, this)
|
|
500708
|
+
}, undefined, false, undefined, this)
|
|
500726
500709
|
]
|
|
500727
500710
|
}, undefined, true, undefined, this);
|
|
500728
500711
|
}
|
|
@@ -500752,8 +500735,6 @@ function StartPage({ currentConfig, onDone }) {
|
|
|
500752
500735
|
setFocusIdx((i2) => (i2 + 1) % options.length);
|
|
500753
500736
|
} else if (key.return) {
|
|
500754
500737
|
onDone(options[focusIdx].value);
|
|
500755
|
-
} else if (key.escape) {
|
|
500756
|
-
onDone("continue");
|
|
500757
500738
|
}
|
|
500758
500739
|
});
|
|
500759
500740
|
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
@@ -500864,7 +500845,7 @@ function StartPage({ currentConfig, onDone }) {
|
|
|
500864
500845
|
}, undefined, false, undefined, this),
|
|
500865
500846
|
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
500866
500847
|
dimColor: true,
|
|
500867
|
-
children: "↑↓ navigate · Enter confirm
|
|
500848
|
+
children: "↑↓ navigate · Enter confirm"
|
|
500868
500849
|
}, undefined, false, undefined, this)
|
|
500869
500850
|
]
|
|
500870
500851
|
}, undefined, true, undefined, this)
|
|
@@ -502133,7 +502114,7 @@ function completeOnboarding() {
|
|
|
502133
502114
|
saveGlobalConfig((current) => ({
|
|
502134
502115
|
...current,
|
|
502135
502116
|
hasCompletedOnboarding: true,
|
|
502136
|
-
lastOnboardingVersion: "1.1.
|
|
502117
|
+
lastOnboardingVersion: "1.1.4"
|
|
502137
502118
|
}));
|
|
502138
502119
|
}
|
|
502139
502120
|
function showDialog(root3, renderer) {
|
|
@@ -502186,17 +502167,18 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
502186
502167
|
const {
|
|
502187
502168
|
StartPage: StartPage2
|
|
502188
502169
|
} = await Promise.resolve().then(() => (init_StartPage(), exports_StartPage));
|
|
502189
|
-
const startAction = await
|
|
502190
|
-
|
|
502191
|
-
|
|
502192
|
-
|
|
502193
|
-
|
|
502194
|
-
|
|
502195
|
-
|
|
502196
|
-
|
|
502197
|
-
|
|
502198
|
-
|
|
502199
|
-
|
|
502170
|
+
const startAction = await showDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime485.jsxDEV(AppStateProvider, {
|
|
502171
|
+
onChangeAppState,
|
|
502172
|
+
children: /* @__PURE__ */ jsx_dev_runtime485.jsxDEV(StartPage2, {
|
|
502173
|
+
currentConfig: {
|
|
502174
|
+
provider: config2.localBackendProvider,
|
|
502175
|
+
baseUrl: config2.localBackendBaseUrl,
|
|
502176
|
+
model: config2.localBackendModel,
|
|
502177
|
+
apiKey: config2.localBackendApiKey
|
|
502178
|
+
},
|
|
502179
|
+
onDone: done
|
|
502180
|
+
}, undefined, false, undefined, this)
|
|
502181
|
+
}, undefined, false, undefined, this));
|
|
502200
502182
|
if (startAction === "configure-backend") {
|
|
502201
502183
|
const {
|
|
502202
502184
|
LocalBackendSetup: LocalBackendSetup2
|
|
@@ -506687,7 +506669,7 @@ function appendToLog(path17, message) {
|
|
|
506687
506669
|
cwd: getFsImplementation().cwd(),
|
|
506688
506670
|
userType: process.env.USER_TYPE,
|
|
506689
506671
|
sessionId: getSessionId(),
|
|
506690
|
-
version: "1.1.
|
|
506672
|
+
version: "1.1.4"
|
|
506691
506673
|
};
|
|
506692
506674
|
getLogWriter(path17).write(messageWithTimestamp);
|
|
506693
506675
|
}
|
|
@@ -510667,8 +510649,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
510667
510649
|
}
|
|
510668
510650
|
async function checkEnvLessBridgeMinVersion() {
|
|
510669
510651
|
const cfg = await getEnvLessBridgeConfig();
|
|
510670
|
-
if (cfg.min_version && lt("1.1.
|
|
510671
|
-
return `Your version of localclawd (${"1.1.
|
|
510652
|
+
if (cfg.min_version && lt("1.1.4", cfg.min_version)) {
|
|
510653
|
+
return `Your version of localclawd (${"1.1.4"}) is too old for Remote Control.
|
|
510672
510654
|
Version ${cfg.min_version} or higher is required. Run \`localclawd update\` to update.`;
|
|
510673
510655
|
}
|
|
510674
510656
|
return null;
|
|
@@ -511140,7 +511122,7 @@ async function initBridgeCore(params) {
|
|
|
511140
511122
|
const rawApi = createBridgeApiClient({
|
|
511141
511123
|
baseUrl,
|
|
511142
511124
|
getAccessToken,
|
|
511143
|
-
runnerVersion: "1.1.
|
|
511125
|
+
runnerVersion: "1.1.4",
|
|
511144
511126
|
onDebug: logForDebugging,
|
|
511145
511127
|
onAuth401,
|
|
511146
511128
|
getTrustedDeviceToken
|
|
@@ -516796,7 +516778,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
516796
516778
|
setCwd(cwd3);
|
|
516797
516779
|
const server = new Server({
|
|
516798
516780
|
name: "claude/tengu",
|
|
516799
|
-
version: "1.1.
|
|
516781
|
+
version: "1.1.4"
|
|
516800
516782
|
}, {
|
|
516801
516783
|
capabilities: {
|
|
516802
516784
|
tools: {}
|
|
@@ -518401,7 +518383,7 @@ __export(exports_update, {
|
|
|
518401
518383
|
});
|
|
518402
518384
|
async function update() {
|
|
518403
518385
|
logEvent("tengu_update_check", {});
|
|
518404
|
-
writeToStdout(`Current version: ${"1.1.
|
|
518386
|
+
writeToStdout(`Current version: ${"1.1.4"}
|
|
518405
518387
|
`);
|
|
518406
518388
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
518407
518389
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -518476,8 +518458,8 @@ async function update() {
|
|
|
518476
518458
|
writeToStdout(`localclawd is managed by Homebrew.
|
|
518477
518459
|
`);
|
|
518478
518460
|
const latest = await getLatestVersion(channel);
|
|
518479
|
-
if (latest && !gte("1.1.
|
|
518480
|
-
writeToStdout(`Update available: ${"1.1.
|
|
518461
|
+
if (latest && !gte("1.1.4", latest)) {
|
|
518462
|
+
writeToStdout(`Update available: ${"1.1.4"} → ${latest}
|
|
518481
518463
|
`);
|
|
518482
518464
|
writeToStdout(`
|
|
518483
518465
|
`);
|
|
@@ -518493,8 +518475,8 @@ async function update() {
|
|
|
518493
518475
|
writeToStdout(`localclawd is managed by winget.
|
|
518494
518476
|
`);
|
|
518495
518477
|
const latest = await getLatestVersion(channel);
|
|
518496
|
-
if (latest && !gte("1.1.
|
|
518497
|
-
writeToStdout(`Update available: ${"1.1.
|
|
518478
|
+
if (latest && !gte("1.1.4", latest)) {
|
|
518479
|
+
writeToStdout(`Update available: ${"1.1.4"} → ${latest}
|
|
518498
518480
|
`);
|
|
518499
518481
|
writeToStdout(`
|
|
518500
518482
|
`);
|
|
@@ -518508,8 +518490,8 @@ async function update() {
|
|
|
518508
518490
|
writeToStdout(`localclawd is managed by apk.
|
|
518509
518491
|
`);
|
|
518510
518492
|
const latest = await getLatestVersion(channel);
|
|
518511
|
-
if (latest && !gte("1.1.
|
|
518512
|
-
writeToStdout(`Update available: ${"1.1.
|
|
518493
|
+
if (latest && !gte("1.1.4", latest)) {
|
|
518494
|
+
writeToStdout(`Update available: ${"1.1.4"} → ${latest}
|
|
518513
518495
|
`);
|
|
518514
518496
|
writeToStdout(`
|
|
518515
518497
|
`);
|
|
@@ -518574,11 +518556,11 @@ async function update() {
|
|
|
518574
518556
|
`);
|
|
518575
518557
|
await gracefulShutdown(1);
|
|
518576
518558
|
}
|
|
518577
|
-
if (result.latestVersion === "1.1.
|
|
518578
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.
|
|
518559
|
+
if (result.latestVersion === "1.1.4") {
|
|
518560
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.4"})`) + `
|
|
518579
518561
|
`);
|
|
518580
518562
|
} else {
|
|
518581
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
518563
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.4"} to version ${result.latestVersion}`) + `
|
|
518582
518564
|
`);
|
|
518583
518565
|
await regenerateCompletionCache();
|
|
518584
518566
|
}
|
|
@@ -518638,12 +518620,12 @@ async function update() {
|
|
|
518638
518620
|
`);
|
|
518639
518621
|
await gracefulShutdown(1);
|
|
518640
518622
|
}
|
|
518641
|
-
if (latestVersion === "1.1.
|
|
518642
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.
|
|
518623
|
+
if (latestVersion === "1.1.4") {
|
|
518624
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.4"})`) + `
|
|
518643
518625
|
`);
|
|
518644
518626
|
await gracefulShutdown(0);
|
|
518645
518627
|
}
|
|
518646
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
518628
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.4"})
|
|
518647
518629
|
`);
|
|
518648
518630
|
writeToStdout(`Installing update...
|
|
518649
518631
|
`);
|
|
@@ -518688,7 +518670,7 @@ async function update() {
|
|
|
518688
518670
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
518689
518671
|
switch (status2) {
|
|
518690
518672
|
case "success":
|
|
518691
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
518673
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.4"} to version ${latestVersion}`) + `
|
|
518692
518674
|
`);
|
|
518693
518675
|
await regenerateCompletionCache();
|
|
518694
518676
|
break;
|
|
@@ -519953,7 +519935,7 @@ ${customInstructions}` : customInstructions;
|
|
|
519953
519935
|
}
|
|
519954
519936
|
}
|
|
519955
519937
|
logForDiagnosticsNoPII("info", "started", {
|
|
519956
|
-
version: "1.1.
|
|
519938
|
+
version: "1.1.4",
|
|
519957
519939
|
is_native_binary: isInBundledMode()
|
|
519958
519940
|
});
|
|
519959
519941
|
registerCleanup(async () => {
|
|
@@ -520737,7 +520719,7 @@ Usage: localclawd --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
520737
520719
|
pendingHookMessages
|
|
520738
520720
|
}, renderAndRun);
|
|
520739
520721
|
}
|
|
520740
|
-
}).version("1.1.
|
|
520722
|
+
}).version("1.1.4 (localClawd)", "-v, --version", "Output the version number");
|
|
520741
520723
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
520742
520724
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
520743
520725
|
if (canUserConfigureAdvisor()) {
|
|
@@ -521245,7 +521227,7 @@ if (false) {}
|
|
|
521245
521227
|
async function main2() {
|
|
521246
521228
|
const args = process.argv.slice(2);
|
|
521247
521229
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
521248
|
-
console.log(`${"1.1.
|
|
521230
|
+
console.log(`${"1.1.4"} (localclawd)`);
|
|
521249
521231
|
return;
|
|
521250
521232
|
}
|
|
521251
521233
|
const {
|
|
@@ -521329,4 +521311,4 @@ async function main2() {
|
|
|
521329
521311
|
}
|
|
521330
521312
|
main2();
|
|
521331
521313
|
|
|
521332
|
-
//# debugId=
|
|
521314
|
+
//# debugId=FB30F86B5EB8C37B64756E2164756E21
|