localclawd 1.1.26 → 1.1.27
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 +199 -198
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -89232,7 +89232,7 @@ var init_isEqual = __esm(() => {
|
|
|
89232
89232
|
|
|
89233
89233
|
// src/utils/userAgent.ts
|
|
89234
89234
|
function getClaudeCodeUserAgent() {
|
|
89235
|
-
return `claude-code/${"1.1.
|
|
89235
|
+
return `claude-code/${"1.1.27"}`;
|
|
89236
89236
|
}
|
|
89237
89237
|
|
|
89238
89238
|
// src/utils/workloadContext.ts
|
|
@@ -89254,7 +89254,7 @@ function getUserAgent() {
|
|
|
89254
89254
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
89255
89255
|
const workload = getWorkload();
|
|
89256
89256
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
89257
|
-
return `claude-cli/${"1.1.
|
|
89257
|
+
return `claude-cli/${"1.1.27"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
89258
89258
|
}
|
|
89259
89259
|
function getMCPUserAgent() {
|
|
89260
89260
|
const parts = [];
|
|
@@ -89268,7 +89268,7 @@ function getMCPUserAgent() {
|
|
|
89268
89268
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
89269
89269
|
}
|
|
89270
89270
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
89271
|
-
return `claude-code/${"1.1.
|
|
89271
|
+
return `claude-code/${"1.1.27"}${suffix}`;
|
|
89272
89272
|
}
|
|
89273
89273
|
function getWebFetchUserAgent() {
|
|
89274
89274
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -99177,7 +99177,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
99177
99177
|
if (!isAttributionHeaderEnabled()) {
|
|
99178
99178
|
return "";
|
|
99179
99179
|
}
|
|
99180
|
-
const version = `${"1.1.
|
|
99180
|
+
const version = `${"1.1.27"}.${fingerprint}`;
|
|
99181
99181
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
99182
99182
|
const cch = "";
|
|
99183
99183
|
const workload = getWorkload();
|
|
@@ -132724,7 +132724,7 @@ var init_metadata = __esm(() => {
|
|
|
132724
132724
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
132725
132725
|
WHITESPACE_REGEX = /\s+/;
|
|
132726
132726
|
getVersionBase = memoize_default(() => {
|
|
132727
|
-
const match = "1.1.
|
|
132727
|
+
const match = "1.1.27".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
132728
132728
|
return match ? match[0] : undefined;
|
|
132729
132729
|
});
|
|
132730
132730
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -132764,9 +132764,9 @@ var init_metadata = __esm(() => {
|
|
|
132764
132764
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
132765
132765
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
132766
132766
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
132767
|
-
version: "1.1.
|
|
132767
|
+
version: "1.1.27",
|
|
132768
132768
|
versionBase: getVersionBase(),
|
|
132769
|
-
buildTime: "2026-04-
|
|
132769
|
+
buildTime: "2026-04-13T03:31:51.964Z",
|
|
132770
132770
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
132771
132771
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
132772
132772
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -147202,7 +147202,7 @@ var init_prompt5 = __esm(() => {
|
|
|
147202
147202
|
init_common();
|
|
147203
147203
|
});
|
|
147204
147204
|
|
|
147205
|
-
// src/tools/AgentTool/built-in/
|
|
147205
|
+
// src/tools/AgentTool/built-in/guideAgent.ts
|
|
147206
147206
|
function getClaudeCodeGuideBasePrompt() {
|
|
147207
147207
|
const localSearchHint = hasEmbeddedSearchTools() ? `${FILE_READ_TOOL_NAME}, \`find\`, and \`grep\`` : `${FILE_READ_TOOL_NAME}, ${GLOB_TOOL_NAME}, and ${GREP_TOOL_NAME}`;
|
|
147208
147208
|
return `You are the Claude guide agent. Your primary responsibility is helping users understand and use localclawd, the Claude Agent SDK, and the Claude API (formerly the Anthropic API) effectively.
|
|
@@ -147270,7 +147270,7 @@ function getFeedbackGuideline() {
|
|
|
147270
147270
|
return "- When you cannot find an answer or the feature doesn't exist, direct the user to use /feedback to report a feature request or bug";
|
|
147271
147271
|
}
|
|
147272
147272
|
var CLAUDE_CODE_DOCS_MAP_URL = "https://code.claude.com/docs/en/claude_code_docs_map.md", CDP_DOCS_MAP_URL = "https://platform.claude.com/llms.txt", CLAUDE_CODE_GUIDE_AGENT_TYPE = "claude-code-guide", CLAUDE_CODE_GUIDE_AGENT;
|
|
147273
|
-
var
|
|
147273
|
+
var init_guideAgent = __esm(() => {
|
|
147274
147274
|
init_prompt2();
|
|
147275
147275
|
init_prompt();
|
|
147276
147276
|
init_prompt5();
|
|
@@ -147834,7 +147834,7 @@ function getBuiltInAgents() {
|
|
|
147834
147834
|
var init_builtInAgents = __esm(() => {
|
|
147835
147835
|
init_state();
|
|
147836
147836
|
init_envUtils();
|
|
147837
|
-
|
|
147837
|
+
init_guideAgent();
|
|
147838
147838
|
init_exploreAgent();
|
|
147839
147839
|
init_generalPurposeAgent();
|
|
147840
147840
|
init_planAgent();
|
|
@@ -152446,7 +152446,7 @@ var init_fileStateCache = __esm(() => {
|
|
|
152446
152446
|
DEFAULT_MAX_CACHE_SIZE_BYTES = 25 * 1024 * 1024;
|
|
152447
152447
|
});
|
|
152448
152448
|
|
|
152449
|
-
// src/utils/
|
|
152449
|
+
// src/utils/instructionsmd.ts
|
|
152450
152450
|
import {
|
|
152451
152451
|
basename as basename9,
|
|
152452
152452
|
dirname as dirname19,
|
|
@@ -152862,7 +152862,7 @@ ${memories.join(`
|
|
|
152862
152862
|
|
|
152863
152863
|
`)}`;
|
|
152864
152864
|
};
|
|
152865
|
-
var
|
|
152865
|
+
var init_instructionsmd = __esm(() => {
|
|
152866
152866
|
init_memoize();
|
|
152867
152867
|
init_marked_esm();
|
|
152868
152868
|
init_state();
|
|
@@ -153149,7 +153149,7 @@ var init_context2 = __esm(() => {
|
|
|
153149
153149
|
init_memoize();
|
|
153150
153150
|
init_state();
|
|
153151
153151
|
init_common();
|
|
153152
|
-
|
|
153152
|
+
init_instructionsmd();
|
|
153153
153153
|
init_diagLogs();
|
|
153154
153154
|
init_envUtils();
|
|
153155
153155
|
init_execFileNoThrow();
|
|
@@ -155483,7 +155483,7 @@ var init_toolUseSummaryGenerator = __esm(() => {
|
|
|
155483
155483
|
init_errors();
|
|
155484
155484
|
init_log2();
|
|
155485
155485
|
init_slowOperations();
|
|
155486
|
-
|
|
155486
|
+
init_llm();
|
|
155487
155487
|
});
|
|
155488
155488
|
|
|
155489
155489
|
// src/utils/objectGroupBy.ts
|
|
@@ -197386,7 +197386,7 @@ function getTelemetryAttributes() {
|
|
|
197386
197386
|
attributes["session.id"] = sessionId;
|
|
197387
197387
|
}
|
|
197388
197388
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
197389
|
-
attributes["app.version"] = "1.1.
|
|
197389
|
+
attributes["app.version"] = "1.1.27";
|
|
197390
197390
|
}
|
|
197391
197391
|
const oauthAccount = getOauthAccountInfo();
|
|
197392
197392
|
if (oauthAccount) {
|
|
@@ -200272,7 +200272,7 @@ var init_rateLimitMessages = __esm(() => {
|
|
|
200272
200272
|
];
|
|
200273
200273
|
});
|
|
200274
200274
|
|
|
200275
|
-
// src/services/
|
|
200275
|
+
// src/services/aiLimits.ts
|
|
200276
200276
|
function computeTimeProgress(resetsAt, windowSeconds) {
|
|
200277
200277
|
const nowSeconds = Date.now() / 1000;
|
|
200278
200278
|
const windowStart = resetsAt - windowSeconds;
|
|
@@ -200482,7 +200482,7 @@ function extractQuotaStatusFromError(error5) {
|
|
|
200482
200482
|
}
|
|
200483
200483
|
}
|
|
200484
200484
|
var EARLY_WARNING_CONFIGS, EARLY_WARNING_CLAIM_MAP, currentLimits, rawUtilization, statusListeners;
|
|
200485
|
-
var
|
|
200485
|
+
var init_aiLimits = __esm(() => {
|
|
200486
200486
|
init_sdk();
|
|
200487
200487
|
init_isEqual();
|
|
200488
200488
|
init_state();
|
|
@@ -200491,7 +200491,7 @@ var init_claudeAiLimits = __esm(() => {
|
|
|
200491
200491
|
init_config();
|
|
200492
200492
|
init_log2();
|
|
200493
200493
|
init_model();
|
|
200494
|
-
|
|
200494
|
+
init_llm();
|
|
200495
200495
|
init_client6();
|
|
200496
200496
|
init_rateLimitMocking();
|
|
200497
200497
|
init_rateLimitMessages();
|
|
@@ -200860,7 +200860,7 @@ var init_promptSuggestion = __esm(() => {
|
|
|
200860
200860
|
init_messages3();
|
|
200861
200861
|
init_settings2();
|
|
200862
200862
|
init_teammate();
|
|
200863
|
-
|
|
200863
|
+
init_aiLimits();
|
|
200864
200864
|
init_speculation();
|
|
200865
200865
|
SUGGESTION_PROMPTS = {
|
|
200866
200866
|
user_intent: SUGGESTION_PROMPT,
|
|
@@ -223026,7 +223026,7 @@ var init_oauthPort = __esm(() => {
|
|
|
223026
223026
|
REDIRECT_PORT_RANGE = getPlatform() === "windows" ? { min: 39152, max: 49151 } : { min: 49152, max: 65535 };
|
|
223027
223027
|
});
|
|
223028
223028
|
|
|
223029
|
-
// src/utils/
|
|
223029
|
+
// src/utils/browserIntegration/common.ts
|
|
223030
223030
|
import { readdirSync as readdirSync2 } from "fs";
|
|
223031
223031
|
import { stat as stat17 } from "fs/promises";
|
|
223032
223032
|
import { homedir as homedir15, platform, tmpdir as tmpdir2, userInfo as userInfo3 } from "os";
|
|
@@ -223756,7 +223756,7 @@ var init_mcpPluginIntegration = __esm(() => {
|
|
|
223756
223756
|
init_pluginOptionsStorage();
|
|
223757
223757
|
});
|
|
223758
223758
|
|
|
223759
|
-
// src/services/mcp/
|
|
223759
|
+
// src/services/mcp/aiservice.ts
|
|
223760
223760
|
function clearClaudeAIMcpConfigsCache() {
|
|
223761
223761
|
fetchClaudeAIMcpConfigsIfEligible.cache.clear?.();
|
|
223762
223762
|
clearMcpAuthCache();
|
|
@@ -223773,7 +223773,7 @@ function hasClaudeAiMcpEverConnected(name) {
|
|
|
223773
223773
|
return (getGlobalConfig().claudeAiMcpEverConnected ?? []).includes(name);
|
|
223774
223774
|
}
|
|
223775
223775
|
var FETCH_TIMEOUT_MS = 5000, MCP_SERVERS_BETA_HEADER = "mcp-servers-2025-12-04", fetchClaudeAIMcpConfigsIfEligible;
|
|
223776
|
-
var
|
|
223776
|
+
var init_aiservice = __esm(() => {
|
|
223777
223777
|
init_axios2();
|
|
223778
223778
|
init_memoize();
|
|
223779
223779
|
init_oauth();
|
|
@@ -224766,7 +224766,7 @@ var init_config2 = __esm(() => {
|
|
|
224766
224766
|
init_settings2();
|
|
224767
224767
|
init_types3();
|
|
224768
224768
|
init_slowOperations();
|
|
224769
|
-
|
|
224769
|
+
init_aiservice();
|
|
224770
224770
|
init_types2();
|
|
224771
224771
|
init_utils4();
|
|
224772
224772
|
CCR_PROXY_PATH_MARKERS = [
|
|
@@ -229454,7 +229454,7 @@ function getInstallationEnv() {
|
|
|
229454
229454
|
return;
|
|
229455
229455
|
}
|
|
229456
229456
|
function getClaudeCodeVersion() {
|
|
229457
|
-
return "1.1.
|
|
229457
|
+
return "1.1.27";
|
|
229458
229458
|
}
|
|
229459
229459
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
229460
229460
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -231056,7 +231056,7 @@ class SdkControlClientTransport {
|
|
|
231056
231056
|
}
|
|
231057
231057
|
}
|
|
231058
231058
|
|
|
231059
|
-
// src/utils/
|
|
231059
|
+
// src/utils/browserIntegration/toolRendering.tsx
|
|
231060
231060
|
var exports_toolRendering = {};
|
|
231061
231061
|
__export(exports_toolRendering, {
|
|
231062
231062
|
renderChromeToolResultMessage: () => renderChromeToolResultMessage,
|
|
@@ -235056,7 +235056,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
235056
235056
|
const client4 = new Client({
|
|
235057
235057
|
name: "localclawd",
|
|
235058
235058
|
title: "localclawd",
|
|
235059
|
-
version: "1.1.
|
|
235059
|
+
version: "1.1.27",
|
|
235060
235060
|
description: "local-first AI coding tool",
|
|
235061
235061
|
websiteUrl: PRODUCT_URL
|
|
235062
235062
|
}, {
|
|
@@ -235149,7 +235149,7 @@ var init_client9 = __esm(() => {
|
|
|
235149
235149
|
init_classifyForCollapse();
|
|
235150
235150
|
init_macOsKeychainHelpers();
|
|
235151
235151
|
init_auth5();
|
|
235152
|
-
|
|
235152
|
+
init_aiservice();
|
|
235153
235153
|
init_config2();
|
|
235154
235154
|
init_headersHelper();
|
|
235155
235155
|
init_common2();
|
|
@@ -235409,7 +235409,7 @@ var init_client9 = __esm(() => {
|
|
|
235409
235409
|
const client4 = new Client({
|
|
235410
235410
|
name: "localclawd",
|
|
235411
235411
|
title: "localclawd",
|
|
235412
|
-
version: "1.1.
|
|
235412
|
+
version: "1.1.27",
|
|
235413
235413
|
description: "local-first AI coding tool",
|
|
235414
235414
|
websiteUrl: PRODUCT_URL
|
|
235415
235415
|
}, {
|
|
@@ -237019,7 +237019,7 @@ import { z as z24 } from "zod/v4";
|
|
|
237019
237019
|
var yoloClassifierResponseSchema;
|
|
237020
237020
|
var init_yoloClassifier = __esm(() => {
|
|
237021
237021
|
init_state();
|
|
237022
|
-
|
|
237022
|
+
init_llm();
|
|
237023
237023
|
init_errors3();
|
|
237024
237024
|
init_withRetry();
|
|
237025
237025
|
init_debug();
|
|
@@ -239231,7 +239231,7 @@ var init_extra_usage2 = __esm(() => {
|
|
|
239231
239231
|
};
|
|
239232
239232
|
});
|
|
239233
239233
|
|
|
239234
|
-
// src/services/
|
|
239234
|
+
// src/services/aiLimitsHook.ts
|
|
239235
239235
|
function useClaudeAiLimits() {
|
|
239236
239236
|
const [limits, setLimits] = import_react42.useState({ ...currentLimits });
|
|
239237
239237
|
import_react42.useEffect(() => {
|
|
@@ -239246,8 +239246,8 @@ function useClaudeAiLimits() {
|
|
|
239246
239246
|
return limits;
|
|
239247
239247
|
}
|
|
239248
239248
|
var import_react42;
|
|
239249
|
-
var
|
|
239250
|
-
|
|
239249
|
+
var init_aiLimitsHook = __esm(() => {
|
|
239250
|
+
init_aiLimits();
|
|
239251
239251
|
import_react42 = __toESM(require_react(), 1);
|
|
239252
239252
|
});
|
|
239253
239253
|
|
|
@@ -239411,7 +239411,7 @@ var import_react43, jsx_dev_runtime49;
|
|
|
239411
239411
|
var init_RateLimitMessage = __esm(() => {
|
|
239412
239412
|
init_extra_usage2();
|
|
239413
239413
|
init_ink2();
|
|
239414
|
-
|
|
239414
|
+
init_aiLimitsHook();
|
|
239415
239415
|
init_rateLimitMocking();
|
|
239416
239416
|
init_auth2();
|
|
239417
239417
|
init_billing();
|
|
@@ -258464,7 +258464,7 @@ var init_user = __esm(() => {
|
|
|
258464
258464
|
deviceId,
|
|
258465
258465
|
sessionId: getSessionId(),
|
|
258466
258466
|
email: getEmail(),
|
|
258467
|
-
appVersion: "1.1.
|
|
258467
|
+
appVersion: "1.1.27",
|
|
258468
258468
|
platform: getHostPlatformForAnalytics(),
|
|
258469
258469
|
organizationUuid,
|
|
258470
258470
|
accountUuid,
|
|
@@ -259788,7 +259788,7 @@ async function initializeBetaTracing(resource) {
|
|
|
259788
259788
|
});
|
|
259789
259789
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
259790
259790
|
setLoggerProvider(loggerProvider);
|
|
259791
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
259791
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.27");
|
|
259792
259792
|
setEventLogger(eventLogger);
|
|
259793
259793
|
process.on("beforeExit", async () => {
|
|
259794
259794
|
await loggerProvider?.forceFlush();
|
|
@@ -259828,7 +259828,7 @@ async function initializeTelemetry() {
|
|
|
259828
259828
|
const platform3 = getPlatform();
|
|
259829
259829
|
const baseAttributes = {
|
|
259830
259830
|
[ATTR_SERVICE_NAME5]: "claude-code",
|
|
259831
|
-
[ATTR_SERVICE_VERSION5]: "1.1.
|
|
259831
|
+
[ATTR_SERVICE_VERSION5]: "1.1.27"
|
|
259832
259832
|
};
|
|
259833
259833
|
if (platform3 === "wsl") {
|
|
259834
259834
|
const wslVersion = getWslVersion();
|
|
@@ -259873,7 +259873,7 @@ async function initializeTelemetry() {
|
|
|
259873
259873
|
} catch {}
|
|
259874
259874
|
};
|
|
259875
259875
|
registerCleanup(shutdownTelemetry2);
|
|
259876
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.
|
|
259876
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.27");
|
|
259877
259877
|
}
|
|
259878
259878
|
const meterProvider = new MeterProvider5({
|
|
259879
259879
|
resource,
|
|
@@ -259893,7 +259893,7 @@ async function initializeTelemetry() {
|
|
|
259893
259893
|
});
|
|
259894
259894
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
259895
259895
|
setLoggerProvider(loggerProvider);
|
|
259896
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.
|
|
259896
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.27");
|
|
259897
259897
|
setEventLogger(eventLogger);
|
|
259898
259898
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
259899
259899
|
process.on("beforeExit", async () => {
|
|
@@ -259955,7 +259955,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
259955
259955
|
}
|
|
259956
259956
|
};
|
|
259957
259957
|
registerCleanup(shutdownTelemetry);
|
|
259958
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.
|
|
259958
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "1.1.27");
|
|
259959
259959
|
}
|
|
259960
259960
|
async function flushTelemetry() {
|
|
259961
259961
|
const meterProvider = getMeterProvider();
|
|
@@ -261178,7 +261178,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
261178
261178
|
}
|
|
261179
261179
|
async function getDoctorDiagnostic() {
|
|
261180
261180
|
const installationType = await getCurrentInstallationType();
|
|
261181
|
-
const version = typeof MACRO !== "undefined" ? "1.1.
|
|
261181
|
+
const version = typeof MACRO !== "undefined" ? "1.1.27" : "unknown";
|
|
261182
261182
|
const installationPath = await getInstallationPath();
|
|
261183
261183
|
const invokedBinary = getInvokedBinary();
|
|
261184
261184
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -262119,8 +262119,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
262119
262119
|
const maxVersion = await getMaxVersion();
|
|
262120
262120
|
if (maxVersion && gt(version, maxVersion)) {
|
|
262121
262121
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version} to ${maxVersion}`);
|
|
262122
|
-
if (gte("1.1.
|
|
262123
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
262122
|
+
if (gte("1.1.27", maxVersion)) {
|
|
262123
|
+
logForDebugging(`Native installer: current version ${"1.1.27"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
262124
262124
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
262125
262125
|
latency_ms: Date.now() - startTime,
|
|
262126
262126
|
max_version: maxVersion,
|
|
@@ -262131,7 +262131,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
262131
262131
|
version = maxVersion;
|
|
262132
262132
|
}
|
|
262133
262133
|
}
|
|
262134
|
-
if (!forceReinstall && version === "1.1.
|
|
262134
|
+
if (!forceReinstall && version === "1.1.27" && await versionIsAvailable(version) && await isPossibleLocalClawdBinary(executablePath)) {
|
|
262135
262135
|
logForDebugging(`Found ${version} at ${executablePath}, skipping install`);
|
|
262136
262136
|
logEvent("tengu_native_update_complete", {
|
|
262137
262137
|
latency_ms: Date.now() - startTime,
|
|
@@ -263287,7 +263287,7 @@ var init_status = __esm(() => {
|
|
|
263287
263287
|
init_figures2();
|
|
263288
263288
|
init_ink2();
|
|
263289
263289
|
init_auth2();
|
|
263290
|
-
|
|
263290
|
+
init_instructionsmd();
|
|
263291
263291
|
init_doctorDiagnostic();
|
|
263292
263292
|
init_envUtils();
|
|
263293
263293
|
init_file();
|
|
@@ -269749,7 +269749,7 @@ function SpinnerWithVerbInner({
|
|
|
269749
269749
|
const tipsEnabled = settings.spinnerTipsEnabled !== false;
|
|
269750
269750
|
const showClearTip = tipsEnabled && elapsedSnapshot > 1800000;
|
|
269751
269751
|
const showBtwTip = tipsEnabled && elapsedSnapshot > 30000 && !getGlobalConfig().btwUseCount;
|
|
269752
|
-
const effectiveTip = contextTipsActive ? undefined : showClearTip && !nextTask ? "Use /clear to start fresh when switching topics and free up context" : showBtwTip && !nextTask ? "Use /btw to ask a quick side question without interrupting
|
|
269752
|
+
const effectiveTip = contextTipsActive ? undefined : showClearTip && !nextTask ? "Use /clear to start fresh when switching topics and free up context" : showBtwTip && !nextTask ? "Use /btw to ask a quick side question without interrupting localclawd's current work" : spinnerTip;
|
|
269753
269753
|
let budgetText = null;
|
|
269754
269754
|
if (false) {}
|
|
269755
269755
|
return /* @__PURE__ */ jsx_dev_runtime112.jsxDEV(ThemedBox_default, {
|
|
@@ -275352,7 +275352,7 @@ var init_teleport = __esm(() => {
|
|
|
275352
275352
|
init_TeleportError();
|
|
275353
275353
|
init_oauth();
|
|
275354
275354
|
init_KeybindingProviderSetup();
|
|
275355
|
-
|
|
275355
|
+
init_llm();
|
|
275356
275356
|
init_sessionIngress();
|
|
275357
275357
|
init_client2();
|
|
275358
275358
|
init_AppState();
|
|
@@ -281299,7 +281299,7 @@ var init_argumentSubstitution = __esm(() => {
|
|
|
281299
281299
|
init_shellQuote();
|
|
281300
281300
|
});
|
|
281301
281301
|
|
|
281302
|
-
// src/utils/
|
|
281302
|
+
// src/utils/appHints.ts
|
|
281303
281303
|
function extractClaudeCodeHints(output, command) {
|
|
281304
281304
|
if (!output.includes("<claude-code-hint")) {
|
|
281305
281305
|
return { hints: [], stripped: output };
|
|
@@ -281365,7 +281365,7 @@ function hasShownHintThisSession() {
|
|
|
281365
281365
|
return shownThisSession;
|
|
281366
281366
|
}
|
|
281367
281367
|
var SUPPORTED_VERSIONS, SUPPORTED_TYPES, HINT_TAG_RE, ATTR_RE, pendingHint = null, shownThisSession = false, pendingHintChanged, notify, subscribeToPendingHint;
|
|
281368
|
-
var
|
|
281368
|
+
var init_appHints = __esm(() => {
|
|
281369
281369
|
init_debug();
|
|
281370
281370
|
SUPPORTED_VERSIONS = new Set([1]);
|
|
281371
281371
|
SUPPORTED_TYPES = new Set(["plugin"]);
|
|
@@ -281461,7 +281461,7 @@ function disableHintRecommendations() {
|
|
|
281461
281461
|
}
|
|
281462
281462
|
var MAX_SHOWN_PLUGINS = 100, triedThisSession;
|
|
281463
281463
|
var init_hintRecommendation = __esm(() => {
|
|
281464
|
-
|
|
281464
|
+
init_appHints();
|
|
281465
281465
|
init_config();
|
|
281466
281466
|
init_debug();
|
|
281467
281467
|
init_installedPluginsManager();
|
|
@@ -289710,7 +289710,7 @@ var init_PowerShellTool = __esm(() => {
|
|
|
289710
289710
|
init_toolLimits();
|
|
289711
289711
|
init_Tool();
|
|
289712
289712
|
init_LocalShellTask();
|
|
289713
|
-
|
|
289713
|
+
init_appHints();
|
|
289714
289714
|
init_envUtils();
|
|
289715
289715
|
init_errors();
|
|
289716
289716
|
init_format();
|
|
@@ -313531,7 +313531,7 @@ var DomainBlockedError, DomainCheckFailedError, EgressBlockedError, CACHE_TTL_MS
|
|
|
313531
313531
|
var init_utils10 = __esm(() => {
|
|
313532
313532
|
init_axios2();
|
|
313533
313533
|
init_index_min();
|
|
313534
|
-
|
|
313534
|
+
init_llm();
|
|
313535
313535
|
init_errors();
|
|
313536
313536
|
init_http2();
|
|
313537
313537
|
init_log2();
|
|
@@ -315446,7 +315446,7 @@ function makeOutputFromSearchResponse(result, query2, durationSeconds) {
|
|
|
315446
315446
|
var inputSchema21, searchResultSchema, outputSchema17, WebSearchTool;
|
|
315447
315447
|
var init_WebSearchTool = __esm(() => {
|
|
315448
315448
|
init_providers();
|
|
315449
|
-
|
|
315449
|
+
init_llm();
|
|
315450
315450
|
init_Tool();
|
|
315451
315451
|
init_log2();
|
|
315452
315452
|
init_messages3();
|
|
@@ -318474,7 +318474,7 @@ var init_EnterWorktreeTool = __esm(() => {
|
|
|
318474
318474
|
init_state();
|
|
318475
318475
|
init_systemPromptSections();
|
|
318476
318476
|
init_Tool();
|
|
318477
|
-
|
|
318477
|
+
init_instructionsmd();
|
|
318478
318478
|
init_cwd();
|
|
318479
318479
|
init_git();
|
|
318480
318480
|
init_plans();
|
|
@@ -318683,7 +318683,7 @@ var init_ExitWorktreeTool = __esm(() => {
|
|
|
318683
318683
|
init_state();
|
|
318684
318684
|
init_systemPromptSections();
|
|
318685
318685
|
init_Tool();
|
|
318686
|
-
|
|
318686
|
+
init_instructionsmd();
|
|
318687
318687
|
init_execFileNoThrow();
|
|
318688
318688
|
init_hooksConfigSnapshot();
|
|
318689
318689
|
init_plans();
|
|
@@ -327602,7 +327602,7 @@ var init_BashTool = __esm(() => {
|
|
|
327602
327602
|
init_LocalShellTask();
|
|
327603
327603
|
init_ast();
|
|
327604
327604
|
init_commands();
|
|
327605
|
-
|
|
327605
|
+
init_appHints();
|
|
327606
327606
|
init_codeIndexing();
|
|
327607
327607
|
init_envUtils();
|
|
327608
327608
|
init_errors();
|
|
@@ -332695,7 +332695,7 @@ function productionDeps() {
|
|
|
332695
332695
|
};
|
|
332696
332696
|
}
|
|
332697
332697
|
var init_deps = __esm(() => {
|
|
332698
|
-
|
|
332698
|
+
init_llm();
|
|
332699
332699
|
init_autoCompact();
|
|
332700
332700
|
init_microCompact();
|
|
332701
332701
|
});
|
|
@@ -333549,7 +333549,7 @@ function getAnthropicEnvMetadata() {
|
|
|
333549
333549
|
function getBuildAgeMinutes() {
|
|
333550
333550
|
if (false)
|
|
333551
333551
|
;
|
|
333552
|
-
const buildTime = new Date("2026-04-
|
|
333552
|
+
const buildTime = new Date("2026-04-13T03:31:51.964Z").getTime();
|
|
333553
333553
|
if (isNaN(buildTime))
|
|
333554
333554
|
return;
|
|
333555
333555
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -334209,7 +334209,7 @@ function logForkAgentQueryEvent({
|
|
|
334209
334209
|
var lastCacheSafeParams = null;
|
|
334210
334210
|
var init_forkedAgent = __esm(() => {
|
|
334211
334211
|
init_query2();
|
|
334212
|
-
|
|
334212
|
+
init_llm();
|
|
334213
334213
|
init_logging();
|
|
334214
334214
|
init_abortController();
|
|
334215
334215
|
init_debug();
|
|
@@ -335496,7 +335496,7 @@ var init_compact = __esm(() => {
|
|
|
335496
335496
|
init_diskOutput();
|
|
335497
335497
|
init_tokens();
|
|
335498
335498
|
init_toolSearch();
|
|
335499
|
-
|
|
335499
|
+
init_llm();
|
|
335500
335500
|
init_errors3();
|
|
335501
335501
|
init_promptCacheBreakDetection();
|
|
335502
335502
|
init_withRetry();
|
|
@@ -335526,7 +335526,7 @@ var init_postCompactCleanup = __esm(() => {
|
|
|
335526
335526
|
init_context2();
|
|
335527
335527
|
init_bashPermissions();
|
|
335528
335528
|
init_classifierApprovals();
|
|
335529
|
-
|
|
335529
|
+
init_instructionsmd();
|
|
335530
335530
|
init_sessionStorage();
|
|
335531
335531
|
init_betaSessionTracing();
|
|
335532
335532
|
init_microCompact();
|
|
@@ -336185,7 +336185,7 @@ var init_autoCompact = __esm(() => {
|
|
|
336185
336185
|
init_errors();
|
|
336186
336186
|
init_log2();
|
|
336187
336187
|
init_tokens();
|
|
336188
|
-
|
|
336188
|
+
init_llm();
|
|
336189
336189
|
init_promptCacheBreakDetection();
|
|
336190
336190
|
init_sessionMemoryUtils();
|
|
336191
336191
|
init_compact();
|
|
@@ -336853,7 +336853,7 @@ var init_analyzeContext = __esm(() => {
|
|
|
336853
336853
|
init_Tool();
|
|
336854
336854
|
init_prompt6();
|
|
336855
336855
|
init_api2();
|
|
336856
|
-
|
|
336856
|
+
init_instructionsmd();
|
|
336857
336857
|
init_context();
|
|
336858
336858
|
init_cwd();
|
|
336859
336859
|
init_debug();
|
|
@@ -337703,7 +337703,7 @@ var init_tokenEstimation = __esm(() => {
|
|
|
337703
337703
|
init_model();
|
|
337704
337704
|
init_slowOperations();
|
|
337705
337705
|
init_toolSearch();
|
|
337706
|
-
|
|
337706
|
+
init_llm();
|
|
337707
337707
|
init_client6();
|
|
337708
337708
|
init_vcr();
|
|
337709
337709
|
});
|
|
@@ -338965,7 +338965,7 @@ var init_mcpInstructionsDelta = __esm(() => {
|
|
|
338965
338965
|
init_envUtils();
|
|
338966
338966
|
});
|
|
338967
338967
|
|
|
338968
|
-
// src/utils/
|
|
338968
|
+
// src/utils/browserIntegration/prompt.ts
|
|
338969
338969
|
function getChromeSystemPrompt() {
|
|
338970
338970
|
return BASE_CHROME_PROMPT;
|
|
338971
338971
|
}
|
|
@@ -341213,7 +341213,7 @@ var init_attachments2 = __esm(() => {
|
|
|
341213
341213
|
init_tasks();
|
|
341214
341214
|
init_plans();
|
|
341215
341215
|
init_ide();
|
|
341216
|
-
|
|
341216
|
+
init_instructionsmd();
|
|
341217
341217
|
init_cwd();
|
|
341218
341218
|
init_selectors();
|
|
341219
341219
|
init_log2();
|
|
@@ -350213,7 +350213,7 @@ var init_errors3 = __esm(() => {
|
|
|
350213
350213
|
init_format();
|
|
350214
350214
|
init_imageResizer();
|
|
350215
350215
|
init_imageValidation();
|
|
350216
|
-
|
|
350216
|
+
init_aiLimits();
|
|
350217
350217
|
init_rateLimitMocking();
|
|
350218
350218
|
init_errorUtils();
|
|
350219
350219
|
});
|
|
@@ -350378,7 +350378,7 @@ async function getCommandSubcommandPrefixImpl(command, abortSignal, isNonInterac
|
|
|
350378
350378
|
var DANGEROUS_SHELL_PREFIXES;
|
|
350379
350379
|
var init_prefix = __esm(() => {
|
|
350380
350380
|
init_source();
|
|
350381
|
-
|
|
350381
|
+
init_llm();
|
|
350382
350382
|
init_errors3();
|
|
350383
350383
|
init_memoize2();
|
|
350384
350384
|
init_slowOperations();
|
|
@@ -357536,7 +357536,7 @@ function Feedback({
|
|
|
357536
357536
|
platform: env4.platform,
|
|
357537
357537
|
gitRepo: envInfo.isGit,
|
|
357538
357538
|
terminal: env4.terminal,
|
|
357539
|
-
version: "1.1.
|
|
357539
|
+
version: "1.1.27",
|
|
357540
357540
|
transcript: normalizeMessagesForAPI(messages),
|
|
357541
357541
|
errors: sanitizedErrors,
|
|
357542
357542
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -357728,7 +357728,7 @@ function Feedback({
|
|
|
357728
357728
|
", ",
|
|
357729
357729
|
env4.terminal,
|
|
357730
357730
|
", v",
|
|
357731
|
-
"1.1.
|
|
357731
|
+
"1.1.27"
|
|
357732
357732
|
]
|
|
357733
357733
|
}, undefined, true, undefined, this)
|
|
357734
357734
|
]
|
|
@@ -357834,7 +357834,7 @@ ${sanitizedDescription}
|
|
|
357834
357834
|
` + `**Environment Info**
|
|
357835
357835
|
` + `- Platform: ${env4.platform}
|
|
357836
357836
|
` + `- Terminal: ${env4.terminal}
|
|
357837
|
-
` + `- Version: ${"1.1.
|
|
357837
|
+
` + `- Version: ${"1.1.27"}
|
|
357838
357838
|
` + `- Feedback ID: ${feedbackId}
|
|
357839
357839
|
` + `
|
|
357840
357840
|
**Errors**
|
|
@@ -358006,7 +358006,7 @@ var init_Feedback = __esm(() => {
|
|
|
358006
358006
|
init_useTerminalSize();
|
|
358007
358007
|
init_ink2();
|
|
358008
358008
|
init_useKeybinding();
|
|
358009
|
-
|
|
358009
|
+
init_llm();
|
|
358010
358010
|
init_errors3();
|
|
358011
358011
|
init_auth2();
|
|
358012
358012
|
init_browser();
|
|
@@ -359038,7 +359038,7 @@ var init_caches = __esm(() => {
|
|
|
359038
359038
|
init_loadSkillsDir();
|
|
359039
359039
|
init_attachments2();
|
|
359040
359040
|
init_commands();
|
|
359041
|
-
|
|
359041
|
+
init_instructionsmd();
|
|
359042
359042
|
init_detectRepository();
|
|
359043
359043
|
init_gitFilesystem();
|
|
359044
359044
|
init_imageStore();
|
|
@@ -360947,7 +360947,7 @@ function buildPrimarySection() {
|
|
|
360947
360947
|
}, undefined, false, undefined, this);
|
|
360948
360948
|
return [{
|
|
360949
360949
|
label: "Version",
|
|
360950
|
-
value: "1.1.
|
|
360950
|
+
value: "1.1.27"
|
|
360951
360951
|
}, {
|
|
360952
360952
|
label: "Session name",
|
|
360953
360953
|
value: nameValue
|
|
@@ -363127,9 +363127,9 @@ var init_extraUsage = __esm(() => {
|
|
|
363127
363127
|
init_context();
|
|
363128
363128
|
});
|
|
363129
363129
|
|
|
363130
|
-
// src/components/
|
|
363131
|
-
var
|
|
363132
|
-
__export(
|
|
363130
|
+
// src/components/InstructionsMdExternalIncludesDialog.tsx
|
|
363131
|
+
var exports_InstructionsMdExternalIncludesDialog = {};
|
|
363132
|
+
__export(exports_InstructionsMdExternalIncludesDialog, {
|
|
363133
363133
|
ClaudeMdExternalIncludesDialog: () => ClaudeMdExternalIncludesDialog
|
|
363134
363134
|
});
|
|
363135
363135
|
function ClaudeMdExternalIncludesDialog(t0) {
|
|
@@ -363298,7 +363298,7 @@ function _temp65() {
|
|
|
363298
363298
|
logEvent("tengu_claude_md_includes_dialog_shown", {});
|
|
363299
363299
|
}
|
|
363300
363300
|
var import_react101, jsx_dev_runtime174;
|
|
363301
|
-
var
|
|
363301
|
+
var init_InstructionsMdExternalIncludesDialog = __esm(() => {
|
|
363302
363302
|
init_ink2();
|
|
363303
363303
|
init_config();
|
|
363304
363304
|
init_CustomSelect();
|
|
@@ -365565,7 +365565,7 @@ function Config({
|
|
|
365565
365565
|
}
|
|
365566
365566
|
}, undefined, false, undefined, this)
|
|
365567
365567
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
365568
|
-
currentVersion: "1.1.
|
|
365568
|
+
currentVersion: "1.1.27",
|
|
365569
365569
|
onChoice: (choice) => {
|
|
365570
365570
|
setShowSubmenu(null);
|
|
365571
365571
|
setTabsHidden(false);
|
|
@@ -365577,7 +365577,7 @@ function Config({
|
|
|
365577
365577
|
autoUpdatesChannel: "stable"
|
|
365578
365578
|
};
|
|
365579
365579
|
if (choice === "stay") {
|
|
365580
|
-
newSettings.minimumVersion = "1.1.
|
|
365580
|
+
newSettings.minimumVersion = "1.1.27";
|
|
365581
365581
|
}
|
|
365582
365582
|
updateSettingsForSource("userSettings", newSettings);
|
|
365583
365583
|
setSettingsData((prev_27) => ({
|
|
@@ -365909,13 +365909,13 @@ var init_Config = __esm(() => {
|
|
|
365909
365909
|
init_model();
|
|
365910
365910
|
init_LocalBackendSetup();
|
|
365911
365911
|
init_extraUsage();
|
|
365912
|
-
|
|
365912
|
+
init_InstructionsMdExternalIncludesDialog();
|
|
365913
365913
|
init_ChannelDowngradeDialog();
|
|
365914
365914
|
init_Dialog();
|
|
365915
365915
|
init_CustomSelect();
|
|
365916
365916
|
init_OutputStylePicker();
|
|
365917
365917
|
init_LanguagePicker();
|
|
365918
|
-
|
|
365918
|
+
init_instructionsmd();
|
|
365919
365919
|
init_KeyboardShortcutHint();
|
|
365920
365920
|
init_ConfigurableShortcutHint();
|
|
365921
365921
|
init_Byline();
|
|
@@ -370189,7 +370189,7 @@ var MCP_TOOLS_THRESHOLD = 25000;
|
|
|
370189
370189
|
var init_doctorContextWarnings = __esm(() => {
|
|
370190
370190
|
init_tokenEstimation();
|
|
370191
370191
|
init_analyzeContext();
|
|
370192
|
-
|
|
370192
|
+
init_instructionsmd();
|
|
370193
370193
|
init_model();
|
|
370194
370194
|
init_permissionRuleParser();
|
|
370195
370195
|
init_shadowedRuleDetection();
|
|
@@ -373261,7 +373261,7 @@ var init_MemoryFileSelector = __esm(() => {
|
|
|
373261
373261
|
init_AppState();
|
|
373262
373262
|
init_agentMemory();
|
|
373263
373263
|
init_browser();
|
|
373264
|
-
|
|
373264
|
+
init_instructionsmd();
|
|
373265
373265
|
init_envUtils();
|
|
373266
373266
|
init_file();
|
|
373267
373267
|
init_format();
|
|
@@ -373614,7 +373614,7 @@ var init_memory = __esm(() => {
|
|
|
373614
373614
|
init_MemoryFileSelector();
|
|
373615
373615
|
init_MemoryUpdateNotification();
|
|
373616
373616
|
init_ink2();
|
|
373617
|
-
|
|
373617
|
+
init_instructionsmd();
|
|
373618
373618
|
init_envUtils();
|
|
373619
373619
|
init_errors();
|
|
373620
373620
|
init_log2();
|
|
@@ -374458,7 +374458,7 @@ function Help(t0) {
|
|
|
374458
374458
|
let t6;
|
|
374459
374459
|
if ($2[31] !== tabs) {
|
|
374460
374460
|
t6 = /* @__PURE__ */ jsx_dev_runtime211.jsxDEV(Tabs, {
|
|
374461
|
-
title: `localclawd v${"1.1.
|
|
374461
|
+
title: `localclawd v${"1.1.27"}`,
|
|
374462
374462
|
color: "professionalBlue",
|
|
374463
374463
|
defaultTab: "general",
|
|
374464
374464
|
children: tabs
|
|
@@ -380981,7 +380981,7 @@ var init_useManageMCPConnections = __esm(() => {
|
|
|
380981
380981
|
init_messageQueueManager();
|
|
380982
380982
|
init_channelNotification();
|
|
380983
380983
|
init_channelPermissions();
|
|
380984
|
-
|
|
380984
|
+
init_aiservice();
|
|
380985
380985
|
init_elicitationHandler();
|
|
380986
380986
|
init_mcpStringUtils();
|
|
380987
380987
|
init_utils4();
|
|
@@ -398616,7 +398616,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
398616
398616
|
return [];
|
|
398617
398617
|
}
|
|
398618
398618
|
}
|
|
398619
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
398619
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.27") {
|
|
398620
398620
|
if (process.env.USER_TYPE === "ant") {
|
|
398621
398621
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
398622
398622
|
if (changelog) {
|
|
@@ -398643,7 +398643,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.26")
|
|
|
398643
398643
|
releaseNotes
|
|
398644
398644
|
};
|
|
398645
398645
|
}
|
|
398646
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
398646
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.27") {
|
|
398647
398647
|
if (process.env.USER_TYPE === "ant") {
|
|
398648
398648
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
398649
398649
|
if (changelog) {
|
|
@@ -398830,7 +398830,7 @@ Bad (too long): {"title": "Investigate and fix the issue where the login button
|
|
|
398830
398830
|
Bad (wrong case): {"title": "Fix Login Button On Mobile"}`, titleSchema;
|
|
398831
398831
|
var init_sessionTitle = __esm(() => {
|
|
398832
398832
|
init_state();
|
|
398833
|
-
|
|
398833
|
+
init_llm();
|
|
398834
398834
|
init_debug();
|
|
398835
398835
|
init_json();
|
|
398836
398836
|
init_messages3();
|
|
@@ -398883,7 +398883,7 @@ async function generateSessionName(messages, signal) {
|
|
|
398883
398883
|
}
|
|
398884
398884
|
}
|
|
398885
398885
|
var init_generateSessionName = __esm(() => {
|
|
398886
|
-
|
|
398886
|
+
init_llm();
|
|
398887
398887
|
init_debug();
|
|
398888
398888
|
init_errors();
|
|
398889
398889
|
init_json();
|
|
@@ -399825,7 +399825,7 @@ function getRecentActivitySync() {
|
|
|
399825
399825
|
return cachedActivity;
|
|
399826
399826
|
}
|
|
399827
399827
|
function getLogoDisplayData() {
|
|
399828
|
-
const version = process.env.DEMO_VERSION ?? "1.1.
|
|
399828
|
+
const version = process.env.DEMO_VERSION ?? "1.1.27";
|
|
399829
399829
|
const serverUrl = getDirectConnectServerUrl();
|
|
399830
399830
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
399831
399831
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -399914,17 +399914,17 @@ var init_Clawd = __esm(() => {
|
|
|
399914
399914
|
init_ink2();
|
|
399915
399915
|
jsx_dev_runtime252 = __toESM(require_jsx_dev_runtime(), 1);
|
|
399916
399916
|
ROWS = [
|
|
399917
|
-
"
|
|
399918
|
-
"▗▟█████▙▖",
|
|
399917
|
+
"▗▟█████▙▗",
|
|
399919
399918
|
" ▐▛███▜▌ ",
|
|
399920
399919
|
"▝▜█████▛▘",
|
|
399921
|
-
"
|
|
399920
|
+
" ▐█ █▌ ",
|
|
399921
|
+
" ▐▌ ▐▌ "
|
|
399922
399922
|
];
|
|
399923
399923
|
ROW_COLORS = [
|
|
399924
|
-
"#818cf8",
|
|
399925
399924
|
"#6366f1",
|
|
399926
399925
|
"#6366f1",
|
|
399927
399926
|
"#6366f1",
|
|
399927
|
+
"#818cf8",
|
|
399928
399928
|
"#818cf8"
|
|
399929
399929
|
];
|
|
399930
399930
|
});
|
|
@@ -399934,6 +399934,7 @@ function AnimatedClawd() {
|
|
|
399934
399934
|
return /* @__PURE__ */ jsx_dev_runtime253.jsxDEV(ThemedBox_default, {
|
|
399935
399935
|
height: CLAWD_HEIGHT,
|
|
399936
399936
|
flexDirection: "column",
|
|
399937
|
+
width: 10,
|
|
399937
399938
|
children: /* @__PURE__ */ jsx_dev_runtime253.jsxDEV(Clawd, {}, undefined, false, undefined, this)
|
|
399938
399939
|
}, undefined, false, undefined, this);
|
|
399939
399940
|
}
|
|
@@ -400932,7 +400933,7 @@ function Logo() {
|
|
|
400932
400933
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
400933
400934
|
t2 = () => {
|
|
400934
400935
|
const currentConfig = getGlobalConfig();
|
|
400935
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
400936
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.27") {
|
|
400936
400937
|
return;
|
|
400937
400938
|
}
|
|
400938
400939
|
saveGlobalConfig(_temp327);
|
|
@@ -401591,12 +401592,12 @@ function Logo() {
|
|
|
401591
401592
|
return t41;
|
|
401592
401593
|
}
|
|
401593
401594
|
function _temp327(current) {
|
|
401594
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
401595
|
+
if (current.lastReleaseNotesSeen === "1.1.27") {
|
|
401595
401596
|
return current;
|
|
401596
401597
|
}
|
|
401597
401598
|
return {
|
|
401598
401599
|
...current,
|
|
401599
|
-
lastReleaseNotesSeen: "1.1.
|
|
401600
|
+
lastReleaseNotesSeen: "1.1.27"
|
|
401600
401601
|
};
|
|
401601
401602
|
}
|
|
401602
401603
|
function _temp243(s_0) {
|
|
@@ -402159,7 +402160,7 @@ function getActiveNotices(context8) {
|
|
|
402159
402160
|
var jsx_dev_runtime266, largeMemoryFilesNotice, claudeAiSubscriberExternalTokenNotice, apiKeyConflictNotice, bothAuthMethodsNotice, largeAgentDescriptionsNotice, jetbrainsPluginNotice, statusNoticeDefinitions;
|
|
402160
402161
|
var init_statusNoticeDefinitions = __esm(() => {
|
|
402161
402162
|
init_ink2();
|
|
402162
|
-
|
|
402163
|
+
init_instructionsmd();
|
|
402163
402164
|
init_figures2();
|
|
402164
402165
|
init_cwd();
|
|
402165
402166
|
init_format();
|
|
@@ -402483,7 +402484,7 @@ function StatusNotices(t0) {
|
|
|
402483
402484
|
var React89, import_react148, jsx_dev_runtime267;
|
|
402484
402485
|
var init_StatusNotices = __esm(() => {
|
|
402485
402486
|
init_ink2();
|
|
402486
|
-
|
|
402487
|
+
init_instructionsmd();
|
|
402487
402488
|
init_config();
|
|
402488
402489
|
init_statusNoticeDefinitions();
|
|
402489
402490
|
React89 = __toESM(require_react(), 1);
|
|
@@ -425335,7 +425336,7 @@ var AGENT_CREATION_SYSTEM_PROMPT, AGENT_MEMORY_INSTRUCTIONS = `
|
|
|
425335
425336
|
`;
|
|
425336
425337
|
var init_generateAgent = __esm(() => {
|
|
425337
425338
|
init_context2();
|
|
425338
|
-
|
|
425339
|
+
init_llm();
|
|
425339
425340
|
init_Tool();
|
|
425340
425341
|
init_constants3();
|
|
425341
425342
|
init_api2();
|
|
@@ -427552,7 +427553,7 @@ var init_settingsSync = __esm(() => {
|
|
|
427552
427553
|
init_state();
|
|
427553
427554
|
init_oauth();
|
|
427554
427555
|
init_auth2();
|
|
427555
|
-
|
|
427556
|
+
init_instructionsmd();
|
|
427556
427557
|
init_config();
|
|
427557
427558
|
init_diagLogs();
|
|
427558
427559
|
init_errors();
|
|
@@ -427834,7 +427835,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
427834
427835
|
smapsRollup,
|
|
427835
427836
|
platform: process.platform,
|
|
427836
427837
|
nodeVersion: process.version,
|
|
427837
|
-
ccVersion: "1.1.
|
|
427838
|
+
ccVersion: "1.1.27"
|
|
427838
427839
|
};
|
|
427839
427840
|
}
|
|
427840
427841
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -428419,7 +428420,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
428419
428420
|
var call63 = async () => {
|
|
428420
428421
|
return {
|
|
428421
428422
|
type: "text",
|
|
428422
|
-
value: `${"1.1.
|
|
428423
|
+
value: `${"1.1.27"} (built ${"2026-04-13T03:31:51.964Z"})`
|
|
428423
428424
|
};
|
|
428424
428425
|
}, version, version_default;
|
|
428425
428426
|
var init_version = __esm(() => {
|
|
@@ -429692,7 +429693,7 @@ var init_sandbox_toggle2 = __esm(() => {
|
|
|
429692
429693
|
sandbox_toggle_default = command6;
|
|
429693
429694
|
});
|
|
429694
429695
|
|
|
429695
|
-
// src/utils/
|
|
429696
|
+
// src/utils/browserIntegration/setupPortable.ts
|
|
429696
429697
|
import { readdir as readdir25 } from "fs/promises";
|
|
429697
429698
|
import { join as join119 } from "path";
|
|
429698
429699
|
function getExtensionIds() {
|
|
@@ -429742,7 +429743,7 @@ var init_setupPortable = __esm(() => {
|
|
|
429742
429743
|
init_errors();
|
|
429743
429744
|
});
|
|
429744
429745
|
|
|
429745
|
-
// src/utils/
|
|
429746
|
+
// src/utils/browserIntegration/setup.ts
|
|
429746
429747
|
import { chmod as chmod10, mkdir as mkdir33, readFile as readFile44, writeFile as writeFile36 } from "fs/promises";
|
|
429747
429748
|
import { homedir as homedir30 } from "os";
|
|
429748
429749
|
import { join as join120 } from "path";
|
|
@@ -432802,7 +432803,7 @@ var import_react189, jsx_dev_runtime361;
|
|
|
432802
432803
|
var init_rate_limit_options = __esm(() => {
|
|
432803
432804
|
init_select();
|
|
432804
432805
|
init_Dialog();
|
|
432805
|
-
|
|
432806
|
+
init_aiLimitsHook();
|
|
432806
432807
|
init_auth2();
|
|
432807
432808
|
init_billing();
|
|
432808
432809
|
init_extra_usage();
|
|
@@ -437373,7 +437374,7 @@ function generateHtmlReport(data, insights) {
|
|
|
437373
437374
|
</html>`;
|
|
437374
437375
|
}
|
|
437375
437376
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
437376
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
437377
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.27" : "unknown";
|
|
437377
437378
|
const remote_hosts_collected = remoteStats?.hosts.filter((h) => h.sessionCount > 0).map((h) => h.name);
|
|
437378
437379
|
const facets_summary = {
|
|
437379
437380
|
total: facets.size,
|
|
@@ -437648,7 +437649,7 @@ TRANSCRIPT CHUNK:
|
|
|
437648
437649
|
`, INSIGHT_SECTIONS, SATISFACTION_ORDER, OUTCOME_ORDER, usageReport, insights_default;
|
|
437649
437650
|
var init_insights = __esm(() => {
|
|
437650
437651
|
init_libesm();
|
|
437651
|
-
|
|
437652
|
+
init_llm();
|
|
437652
437653
|
init_constants3();
|
|
437653
437654
|
init_envUtils();
|
|
437654
437655
|
init_errors();
|
|
@@ -441538,7 +441539,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
441538
441539
|
init_settings2();
|
|
441539
441540
|
init_slowOperations();
|
|
441540
441541
|
init_uuid();
|
|
441541
|
-
VERSION6 = typeof MACRO !== "undefined" ? "1.1.
|
|
441542
|
+
VERSION6 = typeof MACRO !== "undefined" ? "1.1.27" : "unknown";
|
|
441542
441543
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
441543
441544
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
441544
441545
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -442740,7 +442741,7 @@ var init_filesystem = __esm(() => {
|
|
|
442740
442741
|
});
|
|
442741
442742
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
442742
442743
|
const nonce = randomBytes19(16).toString("hex");
|
|
442743
|
-
return join130(getClaudeTempDir(), "bundled-skills", "1.1.
|
|
442744
|
+
return join130(getClaudeTempDir(), "bundled-skills", "1.1.27", nonce);
|
|
442744
442745
|
});
|
|
442745
442746
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
442746
442747
|
});
|
|
@@ -443630,7 +443631,7 @@ Your response must be a JSON object matching one of the following schemas:
|
|
|
443630
443631
|
}
|
|
443631
443632
|
}
|
|
443632
443633
|
var init_execPromptHook = __esm(() => {
|
|
443633
|
-
|
|
443634
|
+
init_llm();
|
|
443634
443635
|
init_attachments2();
|
|
443635
443636
|
init_combinedAbortSignal();
|
|
443636
443637
|
init_debug();
|
|
@@ -448750,7 +448751,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
448750
448751
|
}
|
|
448751
448752
|
function computeFingerprintFromMessages(messages) {
|
|
448752
448753
|
const firstMessageText = extractFirstMessageText(messages);
|
|
448753
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
448754
|
+
return computeFingerprint(firstMessageText, "1.1.27");
|
|
448754
448755
|
}
|
|
448755
448756
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
448756
448757
|
var init_fingerprint = () => {};
|
|
@@ -448857,7 +448858,7 @@ function insertBlockAfterToolResults(content, block) {
|
|
|
448857
448858
|
}
|
|
448858
448859
|
}
|
|
448859
448860
|
|
|
448860
|
-
// src/services/api/
|
|
448861
|
+
// src/services/api/llm.ts
|
|
448861
448862
|
import { randomUUID as randomUUID30 } from "crypto";
|
|
448862
448863
|
function getExtraBodyParams(betaHeaders) {
|
|
448863
448864
|
const extraBodyStr = process.env.CLAUDE_CODE_EXTRA_BODY;
|
|
@@ -449666,8 +449667,8 @@ ${deferredToolList}
|
|
|
449666
449667
|
usage = EMPTY_USAGE;
|
|
449667
449668
|
stopReason = null;
|
|
449668
449669
|
isAdvisorInProgress = false;
|
|
449669
|
-
const streamWatchdogEnabled = isEnvTruthy(process.env.CLAUDE_ENABLE_STREAM_WATCHDOG);
|
|
449670
|
-
const STREAM_IDLE_TIMEOUT_MS = parseInt(process.env.CLAUDE_STREAM_IDLE_TIMEOUT_MS || "", 10) || 90000;
|
|
449670
|
+
const streamWatchdogEnabled = isEnvTruthy(process.env.CLAUDE_ENABLE_STREAM_WATCHDOG) || getAPIProvider() === "local";
|
|
449671
|
+
const STREAM_IDLE_TIMEOUT_MS = parseInt(process.env.CLAUDE_STREAM_IDLE_TIMEOUT_MS || "", 10) || (getAPIProvider() === "local" ? 300000 : 90000);
|
|
449671
449672
|
const STREAM_IDLE_WARNING_MS = STREAM_IDLE_TIMEOUT_MS / 2;
|
|
449672
449673
|
let streamIdleAborted = false;
|
|
449673
449674
|
let streamWatchdogFiredAt = null;
|
|
@@ -450507,7 +450508,7 @@ function getMaxOutputTokensForModel(model) {
|
|
|
450507
450508
|
return result.effective;
|
|
450508
450509
|
}
|
|
450509
450510
|
var MAX_NON_STREAMING_TOKENS = 64000;
|
|
450510
|
-
var
|
|
450511
|
+
var init_llm = __esm(() => {
|
|
450511
450512
|
init_providers();
|
|
450512
450513
|
init_system();
|
|
450513
450514
|
init_Tool();
|
|
@@ -450524,7 +450525,7 @@ var init_claude = __esm(() => {
|
|
|
450524
450525
|
init_messages3();
|
|
450525
450526
|
init_model();
|
|
450526
450527
|
init_tokens();
|
|
450527
|
-
|
|
450528
|
+
init_aiLimits();
|
|
450528
450529
|
init_apiMicrocompact();
|
|
450529
450530
|
init_error2();
|
|
450530
450531
|
init_state();
|
|
@@ -450605,7 +450606,7 @@ async function sideQuery(opts) {
|
|
|
450605
450606
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
450606
450607
|
}
|
|
450607
450608
|
const messageText = extractFirstUserMessageText(messages);
|
|
450608
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
450609
|
+
const fingerprint = computeFingerprint(messageText, "1.1.27");
|
|
450609
450610
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
450610
450611
|
const systemBlocks = [
|
|
450611
450612
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -450666,14 +450667,14 @@ var init_sideQuery = __esm(() => {
|
|
|
450666
450667
|
init_state();
|
|
450667
450668
|
init_betas();
|
|
450668
450669
|
init_system();
|
|
450669
|
-
|
|
450670
|
+
init_llm();
|
|
450670
450671
|
init_client6();
|
|
450671
450672
|
init_betas2();
|
|
450672
450673
|
init_fingerprint();
|
|
450673
450674
|
init_model();
|
|
450674
450675
|
});
|
|
450675
450676
|
|
|
450676
|
-
// src/utils/
|
|
450677
|
+
// src/utils/browserIntegration/mcpServer.ts
|
|
450677
450678
|
var exports_mcpServer = {};
|
|
450678
450679
|
__export(exports_mcpServer, {
|
|
450679
450680
|
runClaudeInChromeMcpServer: () => runClaudeInChromeMcpServer,
|
|
@@ -450862,7 +450863,7 @@ var init_mcpServer = __esm(() => {
|
|
|
450862
450863
|
];
|
|
450863
450864
|
});
|
|
450864
450865
|
|
|
450865
|
-
// src/utils/
|
|
450866
|
+
// src/utils/browserIntegration/chromeNativeHost.ts
|
|
450866
450867
|
var exports_chromeNativeHost = {};
|
|
450867
450868
|
__export(exports_chromeNativeHost, {
|
|
450868
450869
|
sendChromeMessage: () => sendChromeMessage,
|
|
@@ -455403,7 +455404,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
455403
455404
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
455404
455405
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
455405
455406
|
betas: getSdkBetas(),
|
|
455406
|
-
claude_code_version: "1.1.
|
|
455407
|
+
claude_code_version: "1.1.27",
|
|
455407
455408
|
output_style: outputStyle2,
|
|
455408
455409
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
455409
455410
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -467743,7 +467744,7 @@ function looksLikeISO8601(input) {
|
|
|
467743
467744
|
return /^\d{4}-\d{2}-\d{2}(T|$)/.test(input.trim());
|
|
467744
467745
|
}
|
|
467745
467746
|
var init_dateTimeParser = __esm(() => {
|
|
467746
|
-
|
|
467747
|
+
init_llm();
|
|
467747
467748
|
init_log2();
|
|
467748
467749
|
init_messages3();
|
|
467749
467750
|
});
|
|
@@ -469982,7 +469983,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
469982
469983
|
function getSemverPart(version2) {
|
|
469983
469984
|
return `${import_semver12.major(version2, { loose: true })}.${import_semver12.minor(version2, { loose: true })}.${import_semver12.patch(version2, { loose: true })}`;
|
|
469984
469985
|
}
|
|
469985
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
469986
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.27") {
|
|
469986
469987
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react224.useState(() => getSemverPart(initialVersion));
|
|
469987
469988
|
if (!updatedVersion) {
|
|
469988
469989
|
return null;
|
|
@@ -470022,7 +470023,7 @@ function AutoUpdater({
|
|
|
470022
470023
|
return;
|
|
470023
470024
|
}
|
|
470024
470025
|
if (false) {}
|
|
470025
|
-
const currentVersion = "1.1.
|
|
470026
|
+
const currentVersion = "1.1.27";
|
|
470026
470027
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
470027
470028
|
let latestVersion = await getLatestVersion(channel);
|
|
470028
470029
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -470233,12 +470234,12 @@ function NativeAutoUpdater({
|
|
|
470233
470234
|
logEvent("tengu_native_auto_updater_start", {});
|
|
470234
470235
|
try {
|
|
470235
470236
|
const maxVersion = await getMaxVersion();
|
|
470236
|
-
if (maxVersion && gt("1.1.
|
|
470237
|
+
if (maxVersion && gt("1.1.27", maxVersion)) {
|
|
470237
470238
|
const msg = await getMaxVersionMessage();
|
|
470238
470239
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
470239
470240
|
}
|
|
470240
470241
|
const result = await installLatest(channel);
|
|
470241
|
-
const currentVersion = "1.1.
|
|
470242
|
+
const currentVersion = "1.1.27";
|
|
470242
470243
|
const latencyMs = Date.now() - startTime;
|
|
470243
470244
|
if (result.lockFailed) {
|
|
470244
470245
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -470373,17 +470374,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
470373
470374
|
const maxVersion = await getMaxVersion();
|
|
470374
470375
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
470375
470376
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
470376
|
-
if (gte("1.1.
|
|
470377
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
470377
|
+
if (gte("1.1.27", maxVersion)) {
|
|
470378
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.27"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
470378
470379
|
setUpdateAvailable(false);
|
|
470379
470380
|
return;
|
|
470380
470381
|
}
|
|
470381
470382
|
latest = maxVersion;
|
|
470382
470383
|
}
|
|
470383
|
-
const hasUpdate = latest && !gte("1.1.
|
|
470384
|
+
const hasUpdate = latest && !gte("1.1.27", latest) && !shouldSkipVersion(latest);
|
|
470384
470385
|
setUpdateAvailable(!!hasUpdate);
|
|
470385
470386
|
if (hasUpdate) {
|
|
470386
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
470387
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.27"} -> ${latest}`);
|
|
470387
470388
|
}
|
|
470388
470389
|
};
|
|
470389
470390
|
$2[0] = t1;
|
|
@@ -470417,7 +470418,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
470417
470418
|
wrap: "truncate",
|
|
470418
470419
|
children: [
|
|
470419
470420
|
"currentVersion: ",
|
|
470420
|
-
"1.1.
|
|
470421
|
+
"1.1.27"
|
|
470421
470422
|
]
|
|
470422
470423
|
}, undefined, true, undefined, this);
|
|
470423
470424
|
$2[3] = verbose;
|
|
@@ -471211,7 +471212,7 @@ var init_Notifications = __esm(() => {
|
|
|
471211
471212
|
init_useMainLoopModel();
|
|
471212
471213
|
init_useVoiceEnabled();
|
|
471213
471214
|
init_ink2();
|
|
471214
|
-
|
|
471215
|
+
init_aiLimitsHook();
|
|
471215
471216
|
init_autoCompact();
|
|
471216
471217
|
init_auth2();
|
|
471217
471218
|
init_editor();
|
|
@@ -477975,7 +477976,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
477975
477976
|
project_dir: getOriginalCwd(),
|
|
477976
477977
|
added_dirs: addedDirs
|
|
477977
477978
|
},
|
|
477978
|
-
version: "1.1.
|
|
477979
|
+
version: "1.1.27",
|
|
477979
477980
|
output_style: {
|
|
477980
477981
|
name: outputStyleName
|
|
477981
477982
|
},
|
|
@@ -478176,7 +478177,7 @@ var init_StatusLine = __esm(() => {
|
|
|
478176
478177
|
init_useMainLoopModel();
|
|
478177
478178
|
init_useSettings();
|
|
478178
478179
|
init_ink2();
|
|
478179
|
-
|
|
478180
|
+
init_aiLimits();
|
|
478180
478181
|
init_config();
|
|
478181
478182
|
init_context();
|
|
478182
478183
|
init_cwd();
|
|
@@ -484045,7 +484046,7 @@ var init_SkillImprovementSurvey = __esm(() => {
|
|
|
484045
484046
|
|
|
484046
484047
|
// src/utils/hooks/apiQueryHookHelper.ts
|
|
484047
484048
|
var init_apiQueryHookHelper = __esm(() => {
|
|
484048
|
-
|
|
484049
|
+
init_llm();
|
|
484049
484050
|
init_abortController();
|
|
484050
484051
|
init_log2();
|
|
484051
484052
|
init_errors();
|
|
@@ -484124,7 +484125,7 @@ Rules:
|
|
|
484124
484125
|
}
|
|
484125
484126
|
var init_skillImprovement = __esm(() => {
|
|
484126
484127
|
init_state();
|
|
484127
|
-
|
|
484128
|
+
init_llm();
|
|
484128
484129
|
init_Tool();
|
|
484129
484130
|
init_abortController();
|
|
484130
484131
|
init_cwd();
|
|
@@ -484920,7 +484921,7 @@ function useApiKeyVerification() {
|
|
|
484920
484921
|
var import_react268;
|
|
484921
484922
|
var init_useApiKeyVerification = __esm(() => {
|
|
484922
484923
|
init_state();
|
|
484923
|
-
|
|
484924
|
+
init_llm();
|
|
484924
484925
|
init_auth2();
|
|
484925
484926
|
import_react268 = __toESM(require_react(), 1);
|
|
484926
484927
|
});
|
|
@@ -488220,7 +488221,7 @@ var init_sessionRestore = __esm(() => {
|
|
|
488220
488221
|
init_loadAgentsDir();
|
|
488221
488222
|
init_ids();
|
|
488222
488223
|
init_asciicast();
|
|
488223
|
-
|
|
488224
|
+
init_instructionsmd();
|
|
488224
488225
|
init_commitAttribution();
|
|
488225
488226
|
init_concurrentSessions();
|
|
488226
488227
|
init_cwd();
|
|
@@ -489543,7 +489544,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
489543
489544
|
} catch {}
|
|
489544
489545
|
const data = {
|
|
489545
489546
|
trigger,
|
|
489546
|
-
version: "1.1.
|
|
489547
|
+
version: "1.1.27",
|
|
489547
489548
|
platform: process.platform,
|
|
489548
489549
|
transcript,
|
|
489549
489550
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -490740,7 +490741,7 @@ var init_awaySummary = __esm(() => {
|
|
|
490740
490741
|
init_debug();
|
|
490741
490742
|
init_messages3();
|
|
490742
490743
|
init_model();
|
|
490743
|
-
|
|
490744
|
+
init_llm();
|
|
490744
490745
|
init_sessionMemoryUtils();
|
|
490745
490746
|
});
|
|
490746
490747
|
|
|
@@ -491131,7 +491132,7 @@ var init_useOfficialMarketplaceNotification = __esm(() => {
|
|
|
491131
491132
|
jsx_dev_runtime454 = __toESM(require_jsx_dev_runtime(), 1);
|
|
491132
491133
|
});
|
|
491133
491134
|
|
|
491134
|
-
// src/hooks/
|
|
491135
|
+
// src/hooks/usePromptsFromBrowser.tsx
|
|
491135
491136
|
import { z as z88 } from "zod/v4";
|
|
491136
491137
|
function usePromptsFromClaudeInChrome(mcpClients, toolPermissionMode) {
|
|
491137
491138
|
const $2 = c3(6);
|
|
@@ -491174,7 +491175,7 @@ function findChromeClient(clients) {
|
|
|
491174
491175
|
return clients.find((client4) => client4.type === "connected" && client4.name === CLAUDE_IN_CHROME_MCP_SERVER_NAME);
|
|
491175
491176
|
}
|
|
491176
491177
|
var import_react295, ClaudeInChromePromptNotificationSchema;
|
|
491177
|
-
var
|
|
491178
|
+
var init_usePromptsFromBrowser = __esm(() => {
|
|
491178
491179
|
init_client9();
|
|
491179
491180
|
init_common2();
|
|
491180
491181
|
import_react295 = __toESM(require_react(), 1);
|
|
@@ -493439,7 +493440,7 @@ var init_useMcpConnectivityStatus = __esm(() => {
|
|
|
493439
493440
|
init_notifications();
|
|
493440
493441
|
init_state();
|
|
493441
493442
|
init_ink2();
|
|
493442
|
-
|
|
493443
|
+
init_aiservice();
|
|
493443
493444
|
import_react300 = __toESM(require_react(), 1);
|
|
493444
493445
|
jsx_dev_runtime458 = __toESM(require_jsx_dev_runtime(), 1);
|
|
493445
493446
|
EMPTY_MCP_CLIENTS = [];
|
|
@@ -494245,7 +494246,7 @@ var init_LspRecommendationMenu = __esm(() => {
|
|
|
494245
494246
|
jsx_dev_runtime461 = __toESM(require_jsx_dev_runtime(), 1);
|
|
494246
494247
|
});
|
|
494247
494248
|
|
|
494248
|
-
// src/hooks/
|
|
494249
|
+
// src/hooks/useAppHintRecommendation.tsx
|
|
494249
494250
|
function useClaudeCodeHintRecommendation() {
|
|
494250
494251
|
const $2 = c3(11);
|
|
494251
494252
|
const pendingHint2 = React159.useSyncExternalStore(subscribeToPendingHint, getPendingHintSnapshot);
|
|
@@ -494351,9 +494352,9 @@ function useClaudeCodeHintRecommendation() {
|
|
|
494351
494352
|
return t3;
|
|
494352
494353
|
}
|
|
494353
494354
|
var React159;
|
|
494354
|
-
var
|
|
494355
|
+
var init_useAppHintRecommendation = __esm(() => {
|
|
494355
494356
|
init_notifications();
|
|
494356
|
-
|
|
494357
|
+
init_appHints();
|
|
494357
494358
|
init_debug();
|
|
494358
494359
|
init_hintRecommendation();
|
|
494359
494360
|
init_pluginInstallationHelpers();
|
|
@@ -495243,8 +495244,8 @@ var import_react305, jsx_dev_runtime466;
|
|
|
495243
495244
|
var init_useRateLimitWarningNotification = __esm(() => {
|
|
495244
495245
|
init_notifications();
|
|
495245
495246
|
init_ink2();
|
|
495246
|
-
|
|
495247
|
-
|
|
495247
|
+
init_aiLimits();
|
|
495248
|
+
init_aiLimitsHook();
|
|
495248
495249
|
init_auth2();
|
|
495249
495250
|
init_billing();
|
|
495250
495251
|
init_state();
|
|
@@ -500259,7 +500260,7 @@ var init_REPL = __esm(() => {
|
|
|
500259
500260
|
init_prompts4();
|
|
500260
500261
|
init_systemPrompt();
|
|
500261
500262
|
init_context2();
|
|
500262
|
-
|
|
500263
|
+
init_instructionsmd();
|
|
500263
500264
|
init_backgroundHousekeeping();
|
|
500264
500265
|
init_cost_tracker();
|
|
500265
500266
|
init_costHook();
|
|
@@ -500361,7 +500362,7 @@ var init_REPL = __esm(() => {
|
|
|
500361
500362
|
init_useAwaySummary();
|
|
500362
500363
|
init_useChromeExtensionNotification();
|
|
500363
500364
|
init_useOfficialMarketplaceNotification();
|
|
500364
|
-
|
|
500365
|
+
init_usePromptsFromBrowser();
|
|
500365
500366
|
init_tipScheduler();
|
|
500366
500367
|
init_bypassPermissionsKillswitch();
|
|
500367
500368
|
init_sandbox_adapter();
|
|
@@ -500376,7 +500377,7 @@ var init_REPL = __esm(() => {
|
|
|
500376
500377
|
init_useLspInitializationNotification();
|
|
500377
500378
|
init_useLspPluginRecommendation();
|
|
500378
500379
|
init_LspRecommendationMenu();
|
|
500379
|
-
|
|
500380
|
+
init_useAppHintRecommendation();
|
|
500380
500381
|
init_PluginHintMenu();
|
|
500381
500382
|
init_DesktopUpsellStartup();
|
|
500382
500383
|
init_usePluginInstallationStatus();
|
|
@@ -501313,9 +501314,9 @@ var init_BypassPermissionsModeDialog = __esm(() => {
|
|
|
501313
501314
|
jsx_dev_runtime479 = __toESM(require_jsx_dev_runtime(), 1);
|
|
501314
501315
|
});
|
|
501315
501316
|
|
|
501316
|
-
// src/components/
|
|
501317
|
-
var
|
|
501318
|
-
__export(
|
|
501317
|
+
// src/components/BrowserOnboarding.tsx
|
|
501318
|
+
var exports_BrowserOnboarding = {};
|
|
501319
|
+
__export(exports_BrowserOnboarding, {
|
|
501319
501320
|
ClaudeInChromeOnboarding: () => ClaudeInChromeOnboarding
|
|
501320
501321
|
});
|
|
501321
501322
|
function ClaudeInChromeOnboarding(t0) {
|
|
@@ -501486,7 +501487,7 @@ function _temp304(current) {
|
|
|
501486
501487
|
};
|
|
501487
501488
|
}
|
|
501488
501489
|
var import_react319, jsx_dev_runtime480, CHROME_EXTENSION_URL2 = "https://github.com/chromebookwiz/localclawd", CHROME_PERMISSIONS_URL2 = "https://clau.de/chrome/permissions";
|
|
501489
|
-
var
|
|
501490
|
+
var init_BrowserOnboarding = __esm(() => {
|
|
501490
501491
|
init_ink2();
|
|
501491
501492
|
init_setup();
|
|
501492
501493
|
init_config();
|
|
@@ -501572,7 +501573,7 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
|
|
|
501572
501573
|
const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
|
|
501573
501574
|
const {
|
|
501574
501575
|
ClaudeMdExternalIncludesDialog: ClaudeMdExternalIncludesDialog2
|
|
501575
|
-
} = await Promise.resolve().then(() => (
|
|
501576
|
+
} = await Promise.resolve().then(() => (init_InstructionsMdExternalIncludesDialog(), exports_InstructionsMdExternalIncludesDialog));
|
|
501576
501577
|
await showDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(AppStateProvider, {
|
|
501577
501578
|
onChangeAppState,
|
|
501578
501579
|
children: /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ClaudeMdExternalIncludesDialog2, {
|
|
@@ -501618,7 +501619,7 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
|
|
|
501618
501619
|
if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
|
|
501619
501620
|
const {
|
|
501620
501621
|
ClaudeInChromeOnboarding: ClaudeInChromeOnboarding2
|
|
501621
|
-
} = await Promise.resolve().then(() => (
|
|
501622
|
+
} = await Promise.resolve().then(() => (init_BrowserOnboarding(), exports_BrowserOnboarding));
|
|
501622
501623
|
await showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ClaudeInChromeOnboarding2, {
|
|
501623
501624
|
onDone: done
|
|
501624
501625
|
}, undefined, false, undefined, this));
|
|
@@ -501687,7 +501688,7 @@ var init_interactiveHelpers = __esm(() => {
|
|
|
501687
501688
|
init_mcpServerApproval();
|
|
501688
501689
|
init_AppState();
|
|
501689
501690
|
init_onChangeAppState();
|
|
501690
|
-
|
|
501691
|
+
init_instructionsmd();
|
|
501691
501692
|
init_config();
|
|
501692
501693
|
init_terminalPreference();
|
|
501693
501694
|
init_envUtils();
|
|
@@ -503363,7 +503364,7 @@ var init_batch = __esm(() => {
|
|
|
503363
503364
|
5. **Report** — End with a single line: \`PR: <url>\` so the coordinator can track it. If no PR was created, end with \`PR: none — <reason>\`.`;
|
|
503364
503365
|
});
|
|
503365
503366
|
|
|
503366
|
-
// src/skills/bundled/
|
|
503367
|
+
// src/skills/bundled/browserIntegration.ts
|
|
503367
503368
|
function registerClaudeInChromeSkill() {
|
|
503368
503369
|
if (!isClaudeInChromeSupported()) {
|
|
503369
503370
|
return;
|
|
@@ -503393,7 +503394,7 @@ Now that this skill is invoked, you have access to Chrome browser automation too
|
|
|
503393
503394
|
|
|
503394
503395
|
IMPORTANT: Start by calling mcp__claude-in-chrome__tabs_context_mcp to get information about the user's current browser tabs.
|
|
503395
503396
|
`;
|
|
503396
|
-
var
|
|
503397
|
+
var init_browserIntegration = __esm(() => {
|
|
503397
503398
|
init_setup();
|
|
503398
503399
|
init_bundledSkills();
|
|
503399
503400
|
});
|
|
@@ -503482,7 +503483,7 @@ Remember that settings are in:
|
|
|
503482
503483
|
}
|
|
503483
503484
|
var DEFAULT_DEBUG_LINES_READ = 20, TAIL_READ_BYTES;
|
|
503484
503485
|
var init_debug2 = __esm(() => {
|
|
503485
|
-
|
|
503486
|
+
init_guideAgent();
|
|
503486
503487
|
init_settings2();
|
|
503487
503488
|
init_debug();
|
|
503488
503489
|
init_errors();
|
|
@@ -505169,7 +505170,7 @@ function initBundledSkills() {
|
|
|
505169
505170
|
var init_bundled = __esm(() => {
|
|
505170
505171
|
init_setup();
|
|
505171
505172
|
init_batch();
|
|
505172
|
-
|
|
505173
|
+
init_browserIntegration();
|
|
505173
505174
|
init_debug2();
|
|
505174
505175
|
init_keybindings3();
|
|
505175
505176
|
init_loremIpsum();
|
|
@@ -505988,7 +505989,7 @@ function appendToLog(path17, message) {
|
|
|
505988
505989
|
cwd: getFsImplementation().cwd(),
|
|
505989
505990
|
userType: process.env.USER_TYPE,
|
|
505990
505991
|
sessionId: getSessionId(),
|
|
505991
|
-
version: "1.1.
|
|
505992
|
+
version: "1.1.27"
|
|
505992
505993
|
};
|
|
505993
505994
|
getLogWriter(path17).write(messageWithTimestamp);
|
|
505994
505995
|
}
|
|
@@ -506543,7 +506544,7 @@ var init_setup2 = __esm(() => {
|
|
|
506543
506544
|
init_agentSwarmsEnabled();
|
|
506544
506545
|
init_appleTerminalBackup();
|
|
506545
506546
|
init_auth2();
|
|
506546
|
-
|
|
506547
|
+
init_instructionsmd();
|
|
506547
506548
|
init_config();
|
|
506548
506549
|
init_debug();
|
|
506549
506550
|
init_diagLogs();
|
|
@@ -509596,7 +509597,7 @@ var messageSelector = () => (init_MessageSelector(), __toCommonJS(exports_Messag
|
|
|
509596
509597
|
var init_QueryEngine = __esm(() => {
|
|
509597
509598
|
init_last();
|
|
509598
509599
|
init_state();
|
|
509599
|
-
|
|
509600
|
+
init_llm();
|
|
509600
509601
|
init_logging();
|
|
509601
509602
|
init_strip_ansi();
|
|
509602
509603
|
init_commands2();
|
|
@@ -509987,8 +509988,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
509987
509988
|
}
|
|
509988
509989
|
async function checkEnvLessBridgeMinVersion() {
|
|
509989
509990
|
const cfg = await getEnvLessBridgeConfig();
|
|
509990
|
-
if (cfg.min_version && lt("1.1.
|
|
509991
|
-
return `Your version of localclawd (${"1.1.
|
|
509991
|
+
if (cfg.min_version && lt("1.1.27", cfg.min_version)) {
|
|
509992
|
+
return `Your version of localclawd (${"1.1.27"}) is too old for Remote Control.
|
|
509992
509993
|
Version ${cfg.min_version} or higher is required. Run \`localclawd update\` to update.`;
|
|
509993
509994
|
}
|
|
509994
509995
|
return null;
|
|
@@ -510460,7 +510461,7 @@ async function initBridgeCore(params) {
|
|
|
510460
510461
|
const rawApi = createBridgeApiClient({
|
|
510461
510462
|
baseUrl,
|
|
510462
510463
|
getAccessToken,
|
|
510463
|
-
runnerVersion: "1.1.
|
|
510464
|
+
runnerVersion: "1.1.27",
|
|
510464
510465
|
onDebug: logForDebugging,
|
|
510465
510466
|
onAuth401,
|
|
510466
510467
|
getTrustedDeviceToken
|
|
@@ -515211,7 +515212,7 @@ var init_print = __esm(() => {
|
|
|
515211
515212
|
init_messages3();
|
|
515212
515213
|
init_context_noninteractive();
|
|
515213
515214
|
init_xml();
|
|
515214
|
-
|
|
515215
|
+
init_aiLimits();
|
|
515215
515216
|
init_model();
|
|
515216
515217
|
init_modelOptions();
|
|
515217
515218
|
init_effort();
|
|
@@ -516116,7 +516117,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
516116
516117
|
setCwd(cwd3);
|
|
516117
516118
|
const server = new Server({
|
|
516118
516119
|
name: "claude/tengu",
|
|
516119
|
-
version: "1.1.
|
|
516120
|
+
version: "1.1.27"
|
|
516120
516121
|
}, {
|
|
516121
516122
|
capabilities: {
|
|
516122
516123
|
tools: {}
|
|
@@ -516240,9 +516241,9 @@ var init_mcp4 = __esm(() => {
|
|
|
516240
516241
|
MCP_COMMANDS = [review_default];
|
|
516241
516242
|
});
|
|
516242
516243
|
|
|
516243
|
-
// src/utils/
|
|
516244
|
-
var
|
|
516245
|
-
__export(
|
|
516244
|
+
// src/utils/appDesktop.ts
|
|
516245
|
+
var exports_appDesktop = {};
|
|
516246
|
+
__export(exports_appDesktop, {
|
|
516246
516247
|
readClaudeDesktopMcpServers: () => readClaudeDesktopMcpServers,
|
|
516247
516248
|
getClaudeDesktopConfigPath: () => getClaudeDesktopConfigPath
|
|
516248
516249
|
});
|
|
@@ -516326,7 +516327,7 @@ async function readClaudeDesktopMcpServers() {
|
|
|
516326
516327
|
return {};
|
|
516327
516328
|
}
|
|
516328
516329
|
}
|
|
516329
|
-
var
|
|
516330
|
+
var init_appDesktop = __esm(() => {
|
|
516330
516331
|
init_types2();
|
|
516331
516332
|
init_errors();
|
|
516332
516333
|
init_json();
|
|
@@ -516597,7 +516598,7 @@ async function mcpAddFromDesktopHandler(options) {
|
|
|
516597
516598
|
});
|
|
516598
516599
|
const {
|
|
516599
516600
|
readClaudeDesktopMcpServers: readClaudeDesktopMcpServers2
|
|
516600
|
-
} = await Promise.resolve().then(() => (
|
|
516601
|
+
} = await Promise.resolve().then(() => (init_appDesktop(), exports_appDesktop));
|
|
516601
516602
|
const servers = await readClaudeDesktopMcpServers2();
|
|
516602
516603
|
if (Object.keys(servers).length === 0) {
|
|
516603
516604
|
cliOk("No MCP servers found in the desktop app configuration, or the configuration file does not exist.");
|
|
@@ -517197,7 +517198,7 @@ function WelcomeLogo() {
|
|
|
517197
517198
|
dimColor: true,
|
|
517198
517199
|
children: [
|
|
517199
517200
|
"v",
|
|
517200
|
-
"1.1.
|
|
517201
|
+
"1.1.27"
|
|
517201
517202
|
]
|
|
517202
517203
|
}, undefined, true, undefined, this)
|
|
517203
517204
|
]
|
|
@@ -517766,7 +517767,7 @@ __export(exports_update, {
|
|
|
517766
517767
|
});
|
|
517767
517768
|
async function update() {
|
|
517768
517769
|
logEvent("tengu_update_check", {});
|
|
517769
|
-
writeToStdout(`Current version: ${"1.1.
|
|
517770
|
+
writeToStdout(`Current version: ${"1.1.27"}
|
|
517770
517771
|
`);
|
|
517771
517772
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
517772
517773
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -517841,8 +517842,8 @@ async function update() {
|
|
|
517841
517842
|
writeToStdout(`localclawd is managed by Homebrew.
|
|
517842
517843
|
`);
|
|
517843
517844
|
const latest = await getLatestVersion(channel);
|
|
517844
|
-
if (latest && !gte("1.1.
|
|
517845
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517845
|
+
if (latest && !gte("1.1.27", latest)) {
|
|
517846
|
+
writeToStdout(`Update available: ${"1.1.27"} → ${latest}
|
|
517846
517847
|
`);
|
|
517847
517848
|
writeToStdout(`
|
|
517848
517849
|
`);
|
|
@@ -517858,8 +517859,8 @@ async function update() {
|
|
|
517858
517859
|
writeToStdout(`localclawd is managed by winget.
|
|
517859
517860
|
`);
|
|
517860
517861
|
const latest = await getLatestVersion(channel);
|
|
517861
|
-
if (latest && !gte("1.1.
|
|
517862
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517862
|
+
if (latest && !gte("1.1.27", latest)) {
|
|
517863
|
+
writeToStdout(`Update available: ${"1.1.27"} → ${latest}
|
|
517863
517864
|
`);
|
|
517864
517865
|
writeToStdout(`
|
|
517865
517866
|
`);
|
|
@@ -517873,8 +517874,8 @@ async function update() {
|
|
|
517873
517874
|
writeToStdout(`localclawd is managed by apk.
|
|
517874
517875
|
`);
|
|
517875
517876
|
const latest = await getLatestVersion(channel);
|
|
517876
|
-
if (latest && !gte("1.1.
|
|
517877
|
-
writeToStdout(`Update available: ${"1.1.
|
|
517877
|
+
if (latest && !gte("1.1.27", latest)) {
|
|
517878
|
+
writeToStdout(`Update available: ${"1.1.27"} → ${latest}
|
|
517878
517879
|
`);
|
|
517879
517880
|
writeToStdout(`
|
|
517880
517881
|
`);
|
|
@@ -517939,11 +517940,11 @@ async function update() {
|
|
|
517939
517940
|
`);
|
|
517940
517941
|
await gracefulShutdown(1);
|
|
517941
517942
|
}
|
|
517942
|
-
if (result.latestVersion === "1.1.
|
|
517943
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.
|
|
517943
|
+
if (result.latestVersion === "1.1.27") {
|
|
517944
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.27"})`) + `
|
|
517944
517945
|
`);
|
|
517945
517946
|
} else {
|
|
517946
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
517947
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.27"} to version ${result.latestVersion}`) + `
|
|
517947
517948
|
`);
|
|
517948
517949
|
await regenerateCompletionCache();
|
|
517949
517950
|
}
|
|
@@ -518003,12 +518004,12 @@ async function update() {
|
|
|
518003
518004
|
`);
|
|
518004
518005
|
await gracefulShutdown(1);
|
|
518005
518006
|
}
|
|
518006
|
-
if (latestVersion === "1.1.
|
|
518007
|
-
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.
|
|
518007
|
+
if (latestVersion === "1.1.27") {
|
|
518008
|
+
writeToStdout(source_default.green(`localclawd is up to date (${"1.1.27"})`) + `
|
|
518008
518009
|
`);
|
|
518009
518010
|
await gracefulShutdown(0);
|
|
518010
518011
|
}
|
|
518011
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
518012
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.27"})
|
|
518012
518013
|
`);
|
|
518013
518014
|
writeToStdout(`Installing update...
|
|
518014
518015
|
`);
|
|
@@ -518053,7 +518054,7 @@ async function update() {
|
|
|
518053
518054
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
518054
518055
|
switch (status2) {
|
|
518055
518056
|
case "success":
|
|
518056
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
518057
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.27"} to version ${latestVersion}`) + `
|
|
518057
518058
|
`);
|
|
518058
518059
|
await regenerateCompletionCache();
|
|
518059
518060
|
break;
|
|
@@ -519348,7 +519349,7 @@ Run with --debug for more details.
|
|
|
519348
519349
|
}
|
|
519349
519350
|
}
|
|
519350
519351
|
logForDiagnosticsNoPII("info", "started", {
|
|
519351
|
-
version: "1.1.
|
|
519352
|
+
version: "1.1.27",
|
|
519352
519353
|
is_native_binary: isInBundledMode()
|
|
519353
519354
|
});
|
|
519354
519355
|
registerCleanup(async () => {
|
|
@@ -520132,7 +520133,7 @@ Usage: localclawd --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
520132
520133
|
pendingHookMessages
|
|
520133
520134
|
}, renderAndRun);
|
|
520134
520135
|
}
|
|
520135
|
-
}).version("1.1.
|
|
520136
|
+
}).version("1.1.27 (localclawd)", "-v, --version", "Output the version number");
|
|
520136
520137
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
520137
520138
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
520138
520139
|
if (canUserConfigureAdvisor()) {
|
|
@@ -520528,7 +520529,7 @@ var init_main2 = __esm(() => {
|
|
|
520528
520529
|
init_dialogLaunchers();
|
|
520529
520530
|
init_dec();
|
|
520530
520531
|
init_interactiveHelpers();
|
|
520531
|
-
|
|
520532
|
+
init_aiLimits();
|
|
520532
520533
|
init_client9();
|
|
520533
520534
|
init_pluginCliCommands();
|
|
520534
520535
|
init_bundled();
|
|
@@ -520568,7 +520569,7 @@ var init_main2 = __esm(() => {
|
|
|
520568
520569
|
init_addCommand();
|
|
520569
520570
|
init_xaaIdpCommand();
|
|
520570
520571
|
init_internalLogging();
|
|
520571
|
-
|
|
520572
|
+
init_aiservice();
|
|
520572
520573
|
init_client9();
|
|
520573
520574
|
init_config2();
|
|
520574
520575
|
init_utils4();
|
|
@@ -520640,7 +520641,7 @@ if (false) {}
|
|
|
520640
520641
|
async function main2() {
|
|
520641
520642
|
const args = process.argv.slice(2);
|
|
520642
520643
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
520643
|
-
console.log(`${"1.1.
|
|
520644
|
+
console.log(`${"1.1.27"} (localclawd)`);
|
|
520644
520645
|
return;
|
|
520645
520646
|
}
|
|
520646
520647
|
const {
|
|
@@ -520737,4 +520738,4 @@ localclawd crashed: ${msg}
|
|
|
520737
520738
|
process.exit(1);
|
|
520738
520739
|
});
|
|
520739
520740
|
|
|
520740
|
-
//# debugId=
|
|
520741
|
+
//# debugId=2916479FDD9CDE8564756E2164756E21
|