localclawd 2.0.2 → 2.0.3
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/${"2.0.
|
|
87611
|
+
return `claude-code/${"2.0.3"}`;
|
|
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/${"2.0.
|
|
87633
|
+
return `claude-cli/${"2.0.3"} (${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/${"2.0.
|
|
87647
|
+
return `claude-code/${"2.0.3"}${suffix}`;
|
|
87648
87648
|
}
|
|
87649
87649
|
function getWebFetchUserAgent() {
|
|
87650
87650
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -95724,7 +95724,7 @@ function getModelMaxOutputTokens(model) {
|
|
|
95724
95724
|
function getMaxThinkingTokensForModel(model) {
|
|
95725
95725
|
return getModelMaxOutputTokens(model).upperLimit - 1;
|
|
95726
95726
|
}
|
|
95727
|
-
var MODEL_CONTEXT_WINDOW_DEFAULT =
|
|
95727
|
+
var MODEL_CONTEXT_WINDOW_DEFAULT = 262144, COMPACT_CONTEXT_WINDOW_CHOICES, COMPACT_MAX_OUTPUT_TOKENS = 20000, MAX_OUTPUT_TOKENS_DEFAULT = 32000, MAX_OUTPUT_TOKENS_UPPER_LIMIT = 64000, CAPPED_DEFAULT_MAX_TOKENS = 8000, ESCALATED_MAX_TOKENS = 64000, _localProviderContextWindow = null;
|
|
95728
95728
|
var init_context = __esm(() => {
|
|
95729
95729
|
init_betas();
|
|
95730
95730
|
init_config();
|
|
@@ -130844,7 +130844,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
130844
130844
|
if (!isAttributionHeaderEnabled()) {
|
|
130845
130845
|
return "";
|
|
130846
130846
|
}
|
|
130847
|
-
const version = `${"2.0.
|
|
130847
|
+
const version = `${"2.0.3"}.${fingerprint}`;
|
|
130848
130848
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
130849
130849
|
const cch = "";
|
|
130850
130850
|
const workload = getWorkload();
|
|
@@ -147033,7 +147033,7 @@ var init_metadata = __esm(() => {
|
|
|
147033
147033
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
147034
147034
|
WHITESPACE_REGEX = /\s+/;
|
|
147035
147035
|
getVersionBase = memoize_default(() => {
|
|
147036
|
-
const match = "2.0.
|
|
147036
|
+
const match = "2.0.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
147037
147037
|
return match ? match[0] : undefined;
|
|
147038
147038
|
});
|
|
147039
147039
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -147073,9 +147073,9 @@ var init_metadata = __esm(() => {
|
|
|
147073
147073
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
147074
147074
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
147075
147075
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
147076
|
-
version: "2.0.
|
|
147076
|
+
version: "2.0.3",
|
|
147077
147077
|
versionBase: getVersionBase(),
|
|
147078
|
-
buildTime: "2026-05-07T20:
|
|
147078
|
+
buildTime: "2026-05-07T20:44:36.123Z",
|
|
147079
147079
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
147080
147080
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
147081
147081
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -179651,7 +179651,7 @@ function getTelemetryAttributes() {
|
|
|
179651
179651
|
attributes["session.id"] = sessionId;
|
|
179652
179652
|
}
|
|
179653
179653
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
179654
|
-
attributes["app.version"] = "2.0.
|
|
179654
|
+
attributes["app.version"] = "2.0.3";
|
|
179655
179655
|
}
|
|
179656
179656
|
const oauthAccount = getOauthAccountInfo();
|
|
179657
179657
|
if (oauthAccount) {
|
|
@@ -242455,7 +242455,7 @@ function getInstallationEnv() {
|
|
|
242455
242455
|
return;
|
|
242456
242456
|
}
|
|
242457
242457
|
function getClaudeCodeVersion() {
|
|
242458
|
-
return "2.0.
|
|
242458
|
+
return "2.0.3";
|
|
242459
242459
|
}
|
|
242460
242460
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
242461
242461
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -247729,7 +247729,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
247729
247729
|
const client4 = new Client({
|
|
247730
247730
|
name: "localclawd",
|
|
247731
247731
|
title: "localclawd",
|
|
247732
|
-
version: "2.0.
|
|
247732
|
+
version: "2.0.3",
|
|
247733
247733
|
description: "local-first AI coding tool",
|
|
247734
247734
|
websiteUrl: PRODUCT_URL
|
|
247735
247735
|
}, {
|
|
@@ -248071,7 +248071,7 @@ var init_client9 = __esm(() => {
|
|
|
248071
248071
|
const client4 = new Client({
|
|
248072
248072
|
name: "localclawd",
|
|
248073
248073
|
title: "localclawd",
|
|
248074
|
-
version: "2.0.
|
|
248074
|
+
version: "2.0.3",
|
|
248075
248075
|
description: "local-first AI coding tool",
|
|
248076
248076
|
websiteUrl: PRODUCT_URL
|
|
248077
248077
|
}, {
|
|
@@ -262473,7 +262473,7 @@ function computeFingerprint(messageText, version) {
|
|
|
262473
262473
|
}
|
|
262474
262474
|
function computeFingerprintFromMessages(messages) {
|
|
262475
262475
|
const firstMessageText = extractFirstMessageText(messages);
|
|
262476
|
-
return computeFingerprint(firstMessageText, "2.0.
|
|
262476
|
+
return computeFingerprint(firstMessageText, "2.0.3");
|
|
262477
262477
|
}
|
|
262478
262478
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
262479
262479
|
var init_fingerprint = () => {};
|
|
@@ -262515,7 +262515,7 @@ async function sideQuery(opts) {
|
|
|
262515
262515
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
262516
262516
|
}
|
|
262517
262517
|
const messageText = extractFirstUserMessageText(messages);
|
|
262518
|
-
const fingerprint = computeFingerprint(messageText, "2.0.
|
|
262518
|
+
const fingerprint = computeFingerprint(messageText, "2.0.3");
|
|
262519
262519
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
262520
262520
|
const systemBlocks = [
|
|
262521
262521
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -283263,7 +283263,7 @@ var init_user = __esm(() => {
|
|
|
283263
283263
|
deviceId,
|
|
283264
283264
|
sessionId: getSessionId(),
|
|
283265
283265
|
email: getEmail(),
|
|
283266
|
-
appVersion: "2.0.
|
|
283266
|
+
appVersion: "2.0.3",
|
|
283267
283267
|
platform: getHostPlatformForAnalytics(),
|
|
283268
283268
|
organizationUuid,
|
|
283269
283269
|
accountUuid,
|
|
@@ -284328,7 +284328,7 @@ async function initializeBetaTracing(resource) {
|
|
|
284328
284328
|
});
|
|
284329
284329
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
284330
284330
|
setLoggerProvider(loggerProvider);
|
|
284331
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "2.0.
|
|
284331
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "2.0.3");
|
|
284332
284332
|
setEventLogger(eventLogger);
|
|
284333
284333
|
process.on("beforeExit", async () => {
|
|
284334
284334
|
await loggerProvider?.forceFlush();
|
|
@@ -284368,7 +284368,7 @@ async function initializeTelemetry() {
|
|
|
284368
284368
|
const platform2 = getPlatform();
|
|
284369
284369
|
const baseAttributes = {
|
|
284370
284370
|
[ATTR_SERVICE_NAME4]: "claude-code",
|
|
284371
|
-
[ATTR_SERVICE_VERSION4]: "2.0.
|
|
284371
|
+
[ATTR_SERVICE_VERSION4]: "2.0.3"
|
|
284372
284372
|
};
|
|
284373
284373
|
if (platform2 === "wsl") {
|
|
284374
284374
|
const wslVersion = getWslVersion();
|
|
@@ -284413,7 +284413,7 @@ async function initializeTelemetry() {
|
|
|
284413
284413
|
} catch {}
|
|
284414
284414
|
};
|
|
284415
284415
|
registerCleanup(shutdownTelemetry2);
|
|
284416
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "2.0.
|
|
284416
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "2.0.3");
|
|
284417
284417
|
}
|
|
284418
284418
|
const meterProvider = new MeterProvider4({
|
|
284419
284419
|
resource,
|
|
@@ -284433,7 +284433,7 @@ async function initializeTelemetry() {
|
|
|
284433
284433
|
});
|
|
284434
284434
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
284435
284435
|
setLoggerProvider(loggerProvider);
|
|
284436
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "2.0.
|
|
284436
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "2.0.3");
|
|
284437
284437
|
setEventLogger(eventLogger);
|
|
284438
284438
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
284439
284439
|
process.on("beforeExit", async () => {
|
|
@@ -284495,7 +284495,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
284495
284495
|
}
|
|
284496
284496
|
};
|
|
284497
284497
|
registerCleanup(shutdownTelemetry);
|
|
284498
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "2.0.
|
|
284498
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "2.0.3");
|
|
284499
284499
|
}
|
|
284500
284500
|
async function flushTelemetry() {
|
|
284501
284501
|
const meterProvider = getMeterProvider();
|
|
@@ -285685,7 +285685,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
285685
285685
|
}
|
|
285686
285686
|
async function getDoctorDiagnostic() {
|
|
285687
285687
|
const installationType = await getCurrentInstallationType();
|
|
285688
|
-
const version = typeof MACRO !== "undefined" ? "2.0.
|
|
285688
|
+
const version = typeof MACRO !== "undefined" ? "2.0.3" : "unknown";
|
|
285689
285689
|
const installationPath = await getInstallationPath();
|
|
285690
285690
|
const invokedBinary = getInvokedBinary();
|
|
285691
285691
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -286626,8 +286626,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
286626
286626
|
const maxVersion = await getMaxVersion();
|
|
286627
286627
|
if (maxVersion && gt(version, maxVersion)) {
|
|
286628
286628
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version} to ${maxVersion}`);
|
|
286629
|
-
if (gte("2.0.
|
|
286630
|
-
logForDebugging(`Native installer: current version ${"2.0.
|
|
286629
|
+
if (gte("2.0.3", maxVersion)) {
|
|
286630
|
+
logForDebugging(`Native installer: current version ${"2.0.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
286631
286631
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
286632
286632
|
latency_ms: Date.now() - startTime,
|
|
286633
286633
|
max_version: maxVersion,
|
|
@@ -286638,7 +286638,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
286638
286638
|
version = maxVersion;
|
|
286639
286639
|
}
|
|
286640
286640
|
}
|
|
286641
|
-
if (!forceReinstall && version === "2.0.
|
|
286641
|
+
if (!forceReinstall && version === "2.0.3" && await versionIsAvailable(version) && await isPossibleLocalClawdBinary(executablePath)) {
|
|
286642
286642
|
logForDebugging(`Found ${version} at ${executablePath}, skipping install`);
|
|
286643
286643
|
logEvent("tengu_native_update_complete", {
|
|
286644
286644
|
latency_ms: Date.now() - startTime,
|
|
@@ -331877,7 +331877,7 @@ function getAnthropicEnvMetadata() {
|
|
|
331877
331877
|
function getBuildAgeMinutes() {
|
|
331878
331878
|
if (false)
|
|
331879
331879
|
;
|
|
331880
|
-
const buildTime = new Date("2026-05-07T20:
|
|
331880
|
+
const buildTime = new Date("2026-05-07T20:44:36.123Z").getTime();
|
|
331881
331881
|
if (isNaN(buildTime))
|
|
331882
331882
|
return;
|
|
331883
331883
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -360709,7 +360709,7 @@ function Feedback({
|
|
|
360709
360709
|
platform: env3.platform,
|
|
360710
360710
|
gitRepo: envInfo.isGit,
|
|
360711
360711
|
terminal: env3.terminal,
|
|
360712
|
-
version: "2.0.
|
|
360712
|
+
version: "2.0.3",
|
|
360713
360713
|
transcript: normalizeMessagesForAPI(messages),
|
|
360714
360714
|
errors: sanitizedErrors,
|
|
360715
360715
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -360901,7 +360901,7 @@ function Feedback({
|
|
|
360901
360901
|
", ",
|
|
360902
360902
|
env3.terminal,
|
|
360903
360903
|
", v",
|
|
360904
|
-
"2.0.
|
|
360904
|
+
"2.0.3"
|
|
360905
360905
|
]
|
|
360906
360906
|
}, undefined, true, undefined, this)
|
|
360907
360907
|
]
|
|
@@ -361007,7 +361007,7 @@ ${sanitizedDescription}
|
|
|
361007
361007
|
` + `**Environment Info**
|
|
361008
361008
|
` + `- Platform: ${env3.platform}
|
|
361009
361009
|
` + `- Terminal: ${env3.terminal}
|
|
361010
|
-
` + `- Version: ${"2.0.
|
|
361010
|
+
` + `- Version: ${"2.0.3"}
|
|
361011
361011
|
` + `- Feedback ID: ${feedbackId}
|
|
361012
361012
|
` + `
|
|
361013
361013
|
**Errors**
|
|
@@ -363635,7 +363635,7 @@ function buildPrimarySection() {
|
|
|
363635
363635
|
}, undefined, false, undefined, this);
|
|
363636
363636
|
return [{
|
|
363637
363637
|
label: "Version",
|
|
363638
|
-
value: "2.0.
|
|
363638
|
+
value: "2.0.3"
|
|
363639
363639
|
}, {
|
|
363640
363640
|
label: "Session name",
|
|
363641
363641
|
value: nameValue
|
|
@@ -368316,7 +368316,7 @@ function Config({
|
|
|
368316
368316
|
}
|
|
368317
368317
|
}, undefined, false, undefined, this)
|
|
368318
368318
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime176.jsxDEV(ChannelDowngradeDialog, {
|
|
368319
|
-
currentVersion: "2.0.
|
|
368319
|
+
currentVersion: "2.0.3",
|
|
368320
368320
|
onChoice: (choice) => {
|
|
368321
368321
|
setShowSubmenu(null);
|
|
368322
368322
|
setTabsHidden(false);
|
|
@@ -368328,7 +368328,7 @@ function Config({
|
|
|
368328
368328
|
autoUpdatesChannel: "stable"
|
|
368329
368329
|
};
|
|
368330
368330
|
if (choice === "stay") {
|
|
368331
|
-
newSettings.minimumVersion = "2.0.
|
|
368331
|
+
newSettings.minimumVersion = "2.0.3";
|
|
368332
368332
|
}
|
|
368333
368333
|
updateSettingsForSource("userSettings", newSettings);
|
|
368334
368334
|
setSettingsData((prev_27) => ({
|
|
@@ -386079,7 +386079,7 @@ function Help(t0) {
|
|
|
386079
386079
|
let t6;
|
|
386080
386080
|
if ($2[31] !== tabs) {
|
|
386081
386081
|
t6 = /* @__PURE__ */ jsx_dev_runtime222.jsxDEV(Tabs, {
|
|
386082
|
-
title: `localclawd v${"2.0.
|
|
386082
|
+
title: `localclawd v${"2.0.3"}`,
|
|
386083
386083
|
color: "professionalBlue",
|
|
386084
386084
|
defaultTab: "general",
|
|
386085
386085
|
children: tabs
|
|
@@ -403341,7 +403341,7 @@ function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent
|
|
|
403341
403341
|
}
|
|
403342
403342
|
return [];
|
|
403343
403343
|
}
|
|
403344
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.0.
|
|
403344
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.0.3") {
|
|
403345
403345
|
if (process.env.USER_TYPE === "ant") {
|
|
403346
403346
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
403347
403347
|
if (changelog) {
|
|
@@ -403368,7 +403368,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "2.0.2") {
|
|
|
403368
403368
|
releaseNotes
|
|
403369
403369
|
};
|
|
403370
403370
|
}
|
|
403371
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "2.0.
|
|
403371
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "2.0.3") {
|
|
403372
403372
|
if (process.env.USER_TYPE === "ant") {
|
|
403373
403373
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
403374
403374
|
if (changelog) {
|
|
@@ -403525,7 +403525,7 @@ function getRecentActivitySync() {
|
|
|
403525
403525
|
return cachedActivity;
|
|
403526
403526
|
}
|
|
403527
403527
|
function getLogoDisplayData() {
|
|
403528
|
-
const version = process.env.DEMO_VERSION ?? "2.0.
|
|
403528
|
+
const version = process.env.DEMO_VERSION ?? "2.0.3";
|
|
403529
403529
|
const serverUrl = getDirectConnectServerUrl();
|
|
403530
403530
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
403531
403531
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -404625,7 +404625,7 @@ function Logo() {
|
|
|
404625
404625
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
404626
404626
|
t2 = () => {
|
|
404627
404627
|
const currentConfig = getGlobalConfig();
|
|
404628
|
-
if (currentConfig.lastReleaseNotesSeen === "2.0.
|
|
404628
|
+
if (currentConfig.lastReleaseNotesSeen === "2.0.3") {
|
|
404629
404629
|
return;
|
|
404630
404630
|
}
|
|
404631
404631
|
saveGlobalConfig(_temp326);
|
|
@@ -405284,12 +405284,12 @@ function Logo() {
|
|
|
405284
405284
|
return t41;
|
|
405285
405285
|
}
|
|
405286
405286
|
function _temp326(current) {
|
|
405287
|
-
if (current.lastReleaseNotesSeen === "2.0.
|
|
405287
|
+
if (current.lastReleaseNotesSeen === "2.0.3") {
|
|
405288
405288
|
return current;
|
|
405289
405289
|
}
|
|
405290
405290
|
return {
|
|
405291
405291
|
...current,
|
|
405292
|
-
lastReleaseNotesSeen: "2.0.
|
|
405292
|
+
lastReleaseNotesSeen: "2.0.3"
|
|
405293
405293
|
};
|
|
405294
405294
|
}
|
|
405295
405295
|
function _temp241(s_0) {
|
|
@@ -435768,7 +435768,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
435768
435768
|
smapsRollup,
|
|
435769
435769
|
platform: process.platform,
|
|
435770
435770
|
nodeVersion: process.version,
|
|
435771
|
-
ccVersion: "2.0.
|
|
435771
|
+
ccVersion: "2.0.3"
|
|
435772
435772
|
};
|
|
435773
435773
|
}
|
|
435774
435774
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -436353,7 +436353,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
436353
436353
|
var call88 = async () => {
|
|
436354
436354
|
return {
|
|
436355
436355
|
type: "text",
|
|
436356
|
-
value: `${"2.0.
|
|
436356
|
+
value: `${"2.0.3"} (built ${"2026-05-07T20:44:36.123Z"})`
|
|
436357
436357
|
};
|
|
436358
436358
|
}, version, version_default;
|
|
436359
436359
|
var init_version = __esm(() => {
|
|
@@ -444297,7 +444297,7 @@ function generateHtmlReport(data, insights) {
|
|
|
444297
444297
|
</html>`;
|
|
444298
444298
|
}
|
|
444299
444299
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
444300
|
-
const version2 = typeof MACRO !== "undefined" ? "2.0.
|
|
444300
|
+
const version2 = typeof MACRO !== "undefined" ? "2.0.3" : "unknown";
|
|
444301
444301
|
const remote_hosts_collected = remoteStats?.hosts.filter((h) => h.sessionCount > 0).map((h) => h.name);
|
|
444302
444302
|
const facets_summary = {
|
|
444303
444303
|
total: facets.size,
|
|
@@ -448500,7 +448500,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
448500
448500
|
init_settings2();
|
|
448501
448501
|
init_slowOperations();
|
|
448502
448502
|
init_uuid();
|
|
448503
|
-
VERSION6 = typeof MACRO !== "undefined" ? "2.0.
|
|
448503
|
+
VERSION6 = typeof MACRO !== "undefined" ? "2.0.3" : "unknown";
|
|
448504
448504
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
448505
448505
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
448506
448506
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -449701,7 +449701,7 @@ var init_filesystem = __esm(() => {
|
|
|
449701
449701
|
});
|
|
449702
449702
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
449703
449703
|
const nonce = randomBytes20(16).toString("hex");
|
|
449704
|
-
return join151(getClaudeTempDir(), "bundled-skills", "2.0.
|
|
449704
|
+
return join151(getClaudeTempDir(), "bundled-skills", "2.0.3", nonce);
|
|
449705
449705
|
});
|
|
449706
449706
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
449707
449707
|
});
|
|
@@ -458938,7 +458938,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
458938
458938
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
458939
458939
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
458940
458940
|
betas: getSdkBetas(),
|
|
458941
|
-
claude_code_version: "2.0.
|
|
458941
|
+
claude_code_version: "2.0.3",
|
|
458942
458942
|
output_style: outputStyle2,
|
|
458943
458943
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
458944
458944
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -473095,7 +473095,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
473095
473095
|
function getSemverPart(version2) {
|
|
473096
473096
|
return `${import_semver10.major(version2, { loose: true })}.${import_semver10.minor(version2, { loose: true })}.${import_semver10.patch(version2, { loose: true })}`;
|
|
473097
473097
|
}
|
|
473098
|
-
function useUpdateNotification(updatedVersion, initialVersion = "2.0.
|
|
473098
|
+
function useUpdateNotification(updatedVersion, initialVersion = "2.0.3") {
|
|
473099
473099
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react214.useState(() => getSemverPart(initialVersion));
|
|
473100
473100
|
if (!updatedVersion) {
|
|
473101
473101
|
return null;
|
|
@@ -473135,7 +473135,7 @@ function AutoUpdater({
|
|
|
473135
473135
|
return;
|
|
473136
473136
|
}
|
|
473137
473137
|
if (false) {}
|
|
473138
|
-
const currentVersion = "2.0.
|
|
473138
|
+
const currentVersion = "2.0.3";
|
|
473139
473139
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
473140
473140
|
let latestVersion = await getLatestVersion(channel);
|
|
473141
473141
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -473346,12 +473346,12 @@ function NativeAutoUpdater({
|
|
|
473346
473346
|
logEvent("tengu_native_auto_updater_start", {});
|
|
473347
473347
|
try {
|
|
473348
473348
|
const maxVersion = await getMaxVersion();
|
|
473349
|
-
if (maxVersion && gt("2.0.
|
|
473349
|
+
if (maxVersion && gt("2.0.3", maxVersion)) {
|
|
473350
473350
|
const msg = await getMaxVersionMessage();
|
|
473351
473351
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
473352
473352
|
}
|
|
473353
473353
|
const result = await installLatest(channel);
|
|
473354
|
-
const currentVersion = "2.0.
|
|
473354
|
+
const currentVersion = "2.0.3";
|
|
473355
473355
|
const latencyMs = Date.now() - startTime;
|
|
473356
473356
|
if (result.lockFailed) {
|
|
473357
473357
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -473486,17 +473486,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
473486
473486
|
const maxVersion = await getMaxVersion();
|
|
473487
473487
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
473488
473488
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
473489
|
-
if (gte("2.0.
|
|
473490
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"2.0.
|
|
473489
|
+
if (gte("2.0.3", maxVersion)) {
|
|
473490
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"2.0.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
473491
473491
|
setUpdateAvailable(false);
|
|
473492
473492
|
return;
|
|
473493
473493
|
}
|
|
473494
473494
|
latest = maxVersion;
|
|
473495
473495
|
}
|
|
473496
|
-
const hasUpdate = latest && !gte("2.0.
|
|
473496
|
+
const hasUpdate = latest && !gte("2.0.3", latest) && !shouldSkipVersion(latest);
|
|
473497
473497
|
setUpdateAvailable(!!hasUpdate);
|
|
473498
473498
|
if (hasUpdate) {
|
|
473499
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"2.0.
|
|
473499
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"2.0.3"} -> ${latest}`);
|
|
473500
473500
|
}
|
|
473501
473501
|
};
|
|
473502
473502
|
$2[0] = t1;
|
|
@@ -473530,7 +473530,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
473530
473530
|
wrap: "truncate",
|
|
473531
473531
|
children: [
|
|
473532
473532
|
"currentVersion: ",
|
|
473533
|
-
"2.0.
|
|
473533
|
+
"2.0.3"
|
|
473534
473534
|
]
|
|
473535
473535
|
}, undefined, true, undefined, this);
|
|
473536
473536
|
$2[3] = verbose;
|
|
@@ -481090,7 +481090,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
481090
481090
|
project_dir: getOriginalCwd(),
|
|
481091
481091
|
added_dirs: addedDirs
|
|
481092
481092
|
},
|
|
481093
|
-
version: "2.0.
|
|
481093
|
+
version: "2.0.3",
|
|
481094
481094
|
output_style: {
|
|
481095
481095
|
name: outputStyleName
|
|
481096
481096
|
},
|
|
@@ -492662,7 +492662,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
492662
492662
|
} catch {}
|
|
492663
492663
|
const data = {
|
|
492664
492664
|
trigger,
|
|
492665
|
-
version: "2.0.
|
|
492665
|
+
version: "2.0.3",
|
|
492666
492666
|
platform: process.platform,
|
|
492667
492667
|
transcript,
|
|
492668
492668
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -509571,7 +509571,7 @@ function appendToLog(path17, message) {
|
|
|
509571
509571
|
cwd: getFsImplementation().cwd(),
|
|
509572
509572
|
userType: process.env.USER_TYPE,
|
|
509573
509573
|
sessionId: getSessionId(),
|
|
509574
|
-
version: "2.0.
|
|
509574
|
+
version: "2.0.3"
|
|
509575
509575
|
};
|
|
509576
509576
|
getLogWriter(path17).write(messageWithTimestamp);
|
|
509577
509577
|
}
|
|
@@ -513601,8 +513601,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
513601
513601
|
}
|
|
513602
513602
|
async function checkEnvLessBridgeMinVersion() {
|
|
513603
513603
|
const cfg = await getEnvLessBridgeConfig();
|
|
513604
|
-
if (cfg.min_version && lt("2.0.
|
|
513605
|
-
return `Your version of localclawd (${"2.0.
|
|
513604
|
+
if (cfg.min_version && lt("2.0.3", cfg.min_version)) {
|
|
513605
|
+
return `Your version of localclawd (${"2.0.3"}) is too old for Remote Control.
|
|
513606
513606
|
Version ${cfg.min_version} or higher is required. Run \`localclawd update\` to update.`;
|
|
513607
513607
|
}
|
|
513608
513608
|
return null;
|
|
@@ -514074,7 +514074,7 @@ async function initBridgeCore(params) {
|
|
|
514074
514074
|
const rawApi = createBridgeApiClient({
|
|
514075
514075
|
baseUrl,
|
|
514076
514076
|
getAccessToken,
|
|
514077
|
-
runnerVersion: "2.0.
|
|
514077
|
+
runnerVersion: "2.0.3",
|
|
514078
514078
|
onDebug: logForDebugging,
|
|
514079
514079
|
onAuth401,
|
|
514080
514080
|
getTrustedDeviceToken
|
|
@@ -519793,7 +519793,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
519793
519793
|
setCwd(cwd3);
|
|
519794
519794
|
const server = new Server({
|
|
519795
519795
|
name: "claude/tengu",
|
|
519796
|
-
version: "2.0.
|
|
519796
|
+
version: "2.0.3"
|
|
519797
519797
|
}, {
|
|
519798
519798
|
capabilities: {
|
|
519799
519799
|
tools: {}
|
|
@@ -520874,7 +520874,7 @@ function WelcomeLogo() {
|
|
|
520874
520874
|
dimColor: true,
|
|
520875
520875
|
children: [
|
|
520876
520876
|
"v",
|
|
520877
|
-
"2.0.
|
|
520877
|
+
"2.0.3"
|
|
520878
520878
|
]
|
|
520879
520879
|
}, undefined, true, undefined, this)
|
|
520880
520880
|
]
|
|
@@ -521065,7 +521065,7 @@ __export(exports_update, {
|
|
|
521065
521065
|
});
|
|
521066
521066
|
async function update() {
|
|
521067
521067
|
logEvent("tengu_update_check", {});
|
|
521068
|
-
writeToStdout(`Current version: ${"2.0.
|
|
521068
|
+
writeToStdout(`Current version: ${"2.0.3"}
|
|
521069
521069
|
`);
|
|
521070
521070
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
521071
521071
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -521140,8 +521140,8 @@ async function update() {
|
|
|
521140
521140
|
writeToStdout(`localclawd is managed by Homebrew.
|
|
521141
521141
|
`);
|
|
521142
521142
|
const latest = await getLatestVersion(channel);
|
|
521143
|
-
if (latest && !gte("2.0.
|
|
521144
|
-
writeToStdout(`Update available: ${"2.0.
|
|
521143
|
+
if (latest && !gte("2.0.3", latest)) {
|
|
521144
|
+
writeToStdout(`Update available: ${"2.0.3"} → ${latest}
|
|
521145
521145
|
`);
|
|
521146
521146
|
writeToStdout(`
|
|
521147
521147
|
`);
|
|
@@ -521157,8 +521157,8 @@ async function update() {
|
|
|
521157
521157
|
writeToStdout(`localclawd is managed by winget.
|
|
521158
521158
|
`);
|
|
521159
521159
|
const latest = await getLatestVersion(channel);
|
|
521160
|
-
if (latest && !gte("2.0.
|
|
521161
|
-
writeToStdout(`Update available: ${"2.0.
|
|
521160
|
+
if (latest && !gte("2.0.3", latest)) {
|
|
521161
|
+
writeToStdout(`Update available: ${"2.0.3"} → ${latest}
|
|
521162
521162
|
`);
|
|
521163
521163
|
writeToStdout(`
|
|
521164
521164
|
`);
|
|
@@ -521172,8 +521172,8 @@ async function update() {
|
|
|
521172
521172
|
writeToStdout(`localclawd is managed by apk.
|
|
521173
521173
|
`);
|
|
521174
521174
|
const latest = await getLatestVersion(channel);
|
|
521175
|
-
if (latest && !gte("2.0.
|
|
521176
|
-
writeToStdout(`Update available: ${"2.0.
|
|
521175
|
+
if (latest && !gte("2.0.3", latest)) {
|
|
521176
|
+
writeToStdout(`Update available: ${"2.0.3"} → ${latest}
|
|
521177
521177
|
`);
|
|
521178
521178
|
writeToStdout(`
|
|
521179
521179
|
`);
|
|
@@ -521238,11 +521238,11 @@ async function update() {
|
|
|
521238
521238
|
`);
|
|
521239
521239
|
await gracefulShutdown(1);
|
|
521240
521240
|
}
|
|
521241
|
-
if (result.latestVersion === "2.0.
|
|
521242
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"2.0.
|
|
521241
|
+
if (result.latestVersion === "2.0.3") {
|
|
521242
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"2.0.3"})`) + `
|
|
521243
521243
|
`);
|
|
521244
521244
|
} else {
|
|
521245
|
-
writeToStdout(source_default.green(`Successfully updated from ${"2.0.
|
|
521245
|
+
writeToStdout(source_default.green(`Successfully updated from ${"2.0.3"} to version ${result.latestVersion}`) + `
|
|
521246
521246
|
`);
|
|
521247
521247
|
await regenerateCompletionCache();
|
|
521248
521248
|
}
|
|
@@ -521302,12 +521302,12 @@ async function update() {
|
|
|
521302
521302
|
`);
|
|
521303
521303
|
await gracefulShutdown(1);
|
|
521304
521304
|
}
|
|
521305
|
-
if (latestVersion === "2.0.
|
|
521306
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"2.0.
|
|
521305
|
+
if (latestVersion === "2.0.3") {
|
|
521306
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"2.0.3"})`) + `
|
|
521307
521307
|
`);
|
|
521308
521308
|
await gracefulShutdown(0);
|
|
521309
521309
|
}
|
|
521310
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"2.0.
|
|
521310
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"2.0.3"})
|
|
521311
521311
|
`);
|
|
521312
521312
|
writeToStdout(`Installing update...
|
|
521313
521313
|
`);
|
|
@@ -521352,7 +521352,7 @@ async function update() {
|
|
|
521352
521352
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
521353
521353
|
switch (status2) {
|
|
521354
521354
|
case "success":
|
|
521355
|
-
writeToStdout(source_default.green(`Successfully updated from ${"2.0.
|
|
521355
|
+
writeToStdout(source_default.green(`Successfully updated from ${"2.0.3"} to version ${latestVersion}`) + `
|
|
521356
521356
|
`);
|
|
521357
521357
|
await regenerateCompletionCache();
|
|
521358
521358
|
break;
|
|
@@ -522594,7 +522594,7 @@ Run with --debug for more details.
|
|
|
522594
522594
|
}
|
|
522595
522595
|
}
|
|
522596
522596
|
logForDiagnosticsNoPII("info", "started", {
|
|
522597
|
-
version: "2.0.
|
|
522597
|
+
version: "2.0.3",
|
|
522598
522598
|
is_native_binary: isInBundledMode()
|
|
522599
522599
|
});
|
|
522600
522600
|
registerCleanup(async () => {
|
|
@@ -523378,7 +523378,7 @@ Usage: localclawd --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
523378
523378
|
pendingHookMessages
|
|
523379
523379
|
}, renderAndRun);
|
|
523380
523380
|
}
|
|
523381
|
-
}).version("2.0.
|
|
523381
|
+
}).version("2.0.3 (localclawd)", "-v, --version", "Output the version number");
|
|
523382
523382
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
523383
523383
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
523384
523384
|
if (canUserConfigureAdvisor()) {
|
|
@@ -523892,7 +523892,7 @@ if (false) {}
|
|
|
523892
523892
|
async function main2() {
|
|
523893
523893
|
const args = process.argv.slice(2);
|
|
523894
523894
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
523895
|
-
console.log(`${"2.0.
|
|
523895
|
+
console.log(`${"2.0.3"} (localclawd)`);
|
|
523896
523896
|
return;
|
|
523897
523897
|
}
|
|
523898
523898
|
const {
|
|
@@ -523983,4 +523983,4 @@ localclawd crashed: ${msg}
|
|
|
523983
523983
|
process.exit(1);
|
|
523984
523984
|
});
|
|
523985
523985
|
|
|
523986
|
-
//# debugId=
|
|
523986
|
+
//# debugId=9305EC93AC4DF83C64756E2164756E21
|