langcli-com 0.1.4 → 0.1.5
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.js +109 -109
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -189425,7 +189425,7 @@ var init_auth2 = __esm(() => {
|
|
|
189425
189425
|
|
|
189426
189426
|
// src/utils/userAgent.ts
|
|
189427
189427
|
function getClaudeCodeUserAgent() {
|
|
189428
|
-
return `claude-code/${"0.1.
|
|
189428
|
+
return `claude-code/${"0.1.5"}`;
|
|
189429
189429
|
}
|
|
189430
189430
|
|
|
189431
189431
|
// src/utils/workloadContext.ts
|
|
@@ -189447,7 +189447,7 @@ function getUserAgent() {
|
|
|
189447
189447
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
189448
189448
|
const workload = getWorkload();
|
|
189449
189449
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
189450
|
-
return `langcli/${"0.1.
|
|
189450
|
+
return `langcli/${"0.1.5"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
189451
189451
|
}
|
|
189452
189452
|
function getMCPUserAgent() {
|
|
189453
189453
|
const parts = [];
|
|
@@ -189461,7 +189461,7 @@ function getMCPUserAgent() {
|
|
|
189461
189461
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
189462
189462
|
}
|
|
189463
189463
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
189464
|
-
return `claude-code/${"0.1.
|
|
189464
|
+
return `claude-code/${"0.1.5"}${suffix}`;
|
|
189465
189465
|
}
|
|
189466
189466
|
function getWebFetchUserAgent() {
|
|
189467
189467
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -189599,7 +189599,7 @@ var init_user = __esm(() => {
|
|
|
189599
189599
|
deviceId,
|
|
189600
189600
|
sessionId: getSessionId(),
|
|
189601
189601
|
email: getEmail(),
|
|
189602
|
-
appVersion: "0.1.
|
|
189602
|
+
appVersion: "0.1.5",
|
|
189603
189603
|
platform: getHostPlatformForAnalytics(),
|
|
189604
189604
|
organizationUuid,
|
|
189605
189605
|
accountUuid,
|
|
@@ -197293,7 +197293,7 @@ var init_metadata = __esm(() => {
|
|
|
197293
197293
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
197294
197294
|
WHITESPACE_REGEX = /\s+/;
|
|
197295
197295
|
getVersionBase = memoize_default(() => {
|
|
197296
|
-
const match = "0.1.
|
|
197296
|
+
const match = "0.1.5".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
197297
197297
|
return match ? match[0] : undefined;
|
|
197298
197298
|
});
|
|
197299
197299
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -197333,9 +197333,9 @@ var init_metadata = __esm(() => {
|
|
|
197333
197333
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
197334
197334
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
197335
197335
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
197336
|
-
version: "0.1.
|
|
197336
|
+
version: "0.1.5",
|
|
197337
197337
|
versionBase: getVersionBase(),
|
|
197338
|
-
buildTime: "2026-04-12T04:
|
|
197338
|
+
buildTime: "2026-04-12T04:26:02.773Z",
|
|
197339
197339
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
197340
197340
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
197341
197341
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -198003,7 +198003,7 @@ function initialize1PEventLogging() {
|
|
|
198003
198003
|
const platform4 = getPlatform();
|
|
198004
198004
|
const attributes = {
|
|
198005
198005
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
198006
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.
|
|
198006
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.5"
|
|
198007
198007
|
};
|
|
198008
198008
|
if (platform4 === "wsl") {
|
|
198009
198009
|
const wslVersion = getWslVersion();
|
|
@@ -198030,7 +198030,7 @@ function initialize1PEventLogging() {
|
|
|
198030
198030
|
})
|
|
198031
198031
|
]
|
|
198032
198032
|
});
|
|
198033
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
198033
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.5");
|
|
198034
198034
|
}
|
|
198035
198035
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
198036
198036
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -199970,7 +199970,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
199970
199970
|
if (!isAttributionHeaderEnabled()) {
|
|
199971
199971
|
return "";
|
|
199972
199972
|
}
|
|
199973
|
-
const version6 = `${"0.1.
|
|
199973
|
+
const version6 = `${"0.1.5"}.${fingerprint}`;
|
|
199974
199974
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
199975
199975
|
const cch = "";
|
|
199976
199976
|
const workload = getWorkload();
|
|
@@ -383171,7 +383171,7 @@ function getTelemetryAttributes() {
|
|
|
383171
383171
|
attributes["session.id"] = sessionId;
|
|
383172
383172
|
}
|
|
383173
383173
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
383174
|
-
attributes["app.version"] = "0.1.
|
|
383174
|
+
attributes["app.version"] = "0.1.5";
|
|
383175
383175
|
}
|
|
383176
383176
|
const oauthAccount = getOauthAccountInfo();
|
|
383177
383177
|
if (oauthAccount) {
|
|
@@ -406669,7 +406669,7 @@ function getInstallationEnv() {
|
|
|
406669
406669
|
return;
|
|
406670
406670
|
}
|
|
406671
406671
|
function getClaudeCodeVersion() {
|
|
406672
|
-
return "0.1.
|
|
406672
|
+
return "0.1.5";
|
|
406673
406673
|
}
|
|
406674
406674
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
406675
406675
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -409392,7 +409392,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
409392
409392
|
const client5 = new Client({
|
|
409393
409393
|
name: "claude-code",
|
|
409394
409394
|
title: "Claude Code",
|
|
409395
|
-
version: "0.1.
|
|
409395
|
+
version: "0.1.5",
|
|
409396
409396
|
description: "Anthropic's agentic coding tool",
|
|
409397
409397
|
websiteUrl: PRODUCT_URL
|
|
409398
409398
|
}, {
|
|
@@ -409747,7 +409747,7 @@ var init_client9 = __esm(() => {
|
|
|
409747
409747
|
const client5 = new Client({
|
|
409748
409748
|
name: "claude-code",
|
|
409749
409749
|
title: "Claude Code",
|
|
409750
|
-
version: "0.1.
|
|
409750
|
+
version: "0.1.5",
|
|
409751
409751
|
description: "Anthropic's agentic coding tool",
|
|
409752
409752
|
websiteUrl: PRODUCT_URL
|
|
409753
409753
|
}, {
|
|
@@ -448207,7 +448207,7 @@ function initSentry() {
|
|
|
448207
448207
|
}
|
|
448208
448208
|
init3({
|
|
448209
448209
|
dsn,
|
|
448210
|
-
release: typeof MACRO !== "undefined" ? "0.1.
|
|
448210
|
+
release: typeof MACRO !== "undefined" ? "0.1.5" : undefined,
|
|
448211
448211
|
environment: typeof BUILD_ENV !== "undefined" ? BUILD_ENV : "development",
|
|
448212
448212
|
maxBreadcrumbs: 20,
|
|
448213
448213
|
sampleRate: 1,
|
|
@@ -487131,7 +487131,7 @@ async function initializeBetaTracing(resource) {
|
|
|
487131
487131
|
});
|
|
487132
487132
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
487133
487133
|
setLoggerProvider(loggerProvider);
|
|
487134
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
487134
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.5");
|
|
487135
487135
|
setEventLogger(eventLogger);
|
|
487136
487136
|
process.on("beforeExit", async () => {
|
|
487137
487137
|
await loggerProvider?.forceFlush();
|
|
@@ -487171,7 +487171,7 @@ async function initializeTelemetry() {
|
|
|
487171
487171
|
const platform7 = getPlatform();
|
|
487172
487172
|
const baseAttributes = {
|
|
487173
487173
|
[import_semantic_conventions11.ATTR_SERVICE_NAME]: "claude-code",
|
|
487174
|
-
[import_semantic_conventions11.ATTR_SERVICE_VERSION]: "0.1.
|
|
487174
|
+
[import_semantic_conventions11.ATTR_SERVICE_VERSION]: "0.1.5"
|
|
487175
487175
|
};
|
|
487176
487176
|
if (platform7 === "wsl") {
|
|
487177
487177
|
const wslVersion = getWslVersion();
|
|
@@ -487216,7 +487216,7 @@ async function initializeTelemetry() {
|
|
|
487216
487216
|
} catch {}
|
|
487217
487217
|
};
|
|
487218
487218
|
registerCleanup(shutdownTelemetry2);
|
|
487219
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.
|
|
487219
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.5");
|
|
487220
487220
|
}
|
|
487221
487221
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
487222
487222
|
resource,
|
|
@@ -487236,7 +487236,7 @@ async function initializeTelemetry() {
|
|
|
487236
487236
|
});
|
|
487237
487237
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
487238
487238
|
setLoggerProvider(loggerProvider);
|
|
487239
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
487239
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.5");
|
|
487240
487240
|
setEventLogger(eventLogger);
|
|
487241
487241
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
487242
487242
|
process.on("beforeExit", async () => {
|
|
@@ -487298,7 +487298,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
487298
487298
|
}
|
|
487299
487299
|
};
|
|
487300
487300
|
registerCleanup(shutdownTelemetry);
|
|
487301
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.
|
|
487301
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.5");
|
|
487302
487302
|
}
|
|
487303
487303
|
async function flushTelemetry() {
|
|
487304
487304
|
const meterProvider = getMeterProvider();
|
|
@@ -487878,9 +487878,9 @@ function filterClaudeAliases(lines2) {
|
|
|
487878
487878
|
let hadAlias = false;
|
|
487879
487879
|
const filtered = lines2.filter((line) => {
|
|
487880
487880
|
if (CLAUDE_ALIAS_REGEX.test(line)) {
|
|
487881
|
-
let match = line.match(/alias\s+
|
|
487881
|
+
let match = line.match(/alias\s+langcli\s*=\s*["']([^"']+)["']/);
|
|
487882
487882
|
if (!match) {
|
|
487883
|
-
match = line.match(/alias\s+
|
|
487883
|
+
match = line.match(/alias\s+langcli\s*=\s*([^#\n]+)/);
|
|
487884
487884
|
}
|
|
487885
487885
|
if (match && match[1]) {
|
|
487886
487886
|
const target = match[1].trim();
|
|
@@ -487923,7 +487923,7 @@ async function findClaudeAlias(options) {
|
|
|
487923
487923
|
continue;
|
|
487924
487924
|
for (const line of lines2) {
|
|
487925
487925
|
if (CLAUDE_ALIAS_REGEX.test(line)) {
|
|
487926
|
-
const match = line.match(/alias\s+
|
|
487926
|
+
const match = line.match(/alias\s+langcli=["']?([^"'\s]+)/);
|
|
487927
487927
|
if (match && match[1]) {
|
|
487928
487928
|
return match[1];
|
|
487929
487929
|
}
|
|
@@ -487950,7 +487950,7 @@ var CLAUDE_ALIAS_REGEX;
|
|
|
487950
487950
|
var init_shellConfig = __esm(() => {
|
|
487951
487951
|
init_errors();
|
|
487952
487952
|
init_localInstaller();
|
|
487953
|
-
CLAUDE_ALIAS_REGEX = /^\s*alias\s+
|
|
487953
|
+
CLAUDE_ALIAS_REGEX = /^\s*alias\s+langcli\s*=/;
|
|
487954
487954
|
});
|
|
487955
487955
|
|
|
487956
487956
|
// src/utils/autoUpdater.ts
|
|
@@ -487962,9 +487962,9 @@ async function assertMinVersion() {
|
|
|
487962
487962
|
if (false) {}
|
|
487963
487963
|
try {
|
|
487964
487964
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
487965
|
-
if (versionConfig.minVersion && lt("0.1.
|
|
487965
|
+
if (versionConfig.minVersion && lt("0.1.5", versionConfig.minVersion)) {
|
|
487966
487966
|
console.error(`
|
|
487967
|
-
It looks like your version of langcli(${"0.1.
|
|
487967
|
+
It looks like your version of langcli(${"0.1.5"}) needs an update.
|
|
487968
487968
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
487969
487969
|
|
|
487970
487970
|
To update, please run:
|
|
@@ -488180,7 +488180,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
488180
488180
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
488181
488181
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
488182
488182
|
pid: process.pid,
|
|
488183
|
-
currentVersion: "0.1.
|
|
488183
|
+
currentVersion: "0.1.5"
|
|
488184
488184
|
});
|
|
488185
488185
|
return "in_progress";
|
|
488186
488186
|
}
|
|
@@ -488189,7 +488189,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
488189
488189
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
488190
488190
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
488191
488191
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
488192
|
-
currentVersion: "0.1.
|
|
488192
|
+
currentVersion: "0.1.5"
|
|
488193
488193
|
});
|
|
488194
488194
|
console.error(`
|
|
488195
488195
|
Error: Windows NPM detected in WSL
|
|
@@ -488505,14 +488505,14 @@ async function getInstallationPath() {
|
|
|
488505
488505
|
return await realpath6(process.execPath);
|
|
488506
488506
|
} catch {}
|
|
488507
488507
|
try {
|
|
488508
|
-
const path17 = await which("
|
|
488508
|
+
const path17 = await which("langcli");
|
|
488509
488509
|
if (path17) {
|
|
488510
488510
|
return path17;
|
|
488511
488511
|
}
|
|
488512
488512
|
} catch {}
|
|
488513
488513
|
try {
|
|
488514
|
-
await getFsImplementation().stat(join68(homedir21(), ".local/bin/
|
|
488515
|
-
return join68(homedir21(), ".local/bin/
|
|
488514
|
+
await getFsImplementation().stat(join68(homedir21(), ".local/bin/langcli"));
|
|
488515
|
+
return join68(homedir21(), ".local/bin/langcli");
|
|
488516
488516
|
} catch {}
|
|
488517
488517
|
return "native";
|
|
488518
488518
|
}
|
|
@@ -488535,7 +488535,7 @@ function getInvokedBinary() {
|
|
|
488535
488535
|
async function detectMultipleInstallations() {
|
|
488536
488536
|
const fs15 = getFsImplementation();
|
|
488537
488537
|
const installations = [];
|
|
488538
|
-
const localPath = join68(homedir21(), ".
|
|
488538
|
+
const localPath = join68(homedir21(), ".langcli", "local");
|
|
488539
488539
|
if (await localInstallationExists()) {
|
|
488540
488540
|
installations.push({ type: "npm-local", path: localPath });
|
|
488541
488541
|
}
|
|
@@ -488550,7 +488550,7 @@ async function detectMultipleInstallations() {
|
|
|
488550
488550
|
if (npmResult.code === 0 && npmResult.stdout) {
|
|
488551
488551
|
const npmPrefix = npmResult.stdout.trim();
|
|
488552
488552
|
const isWindows3 = getPlatform() === "windows";
|
|
488553
|
-
const globalBinPath = isWindows3 ? join68(npmPrefix, "
|
|
488553
|
+
const globalBinPath = isWindows3 ? join68(npmPrefix, "langcli") : join68(npmPrefix, "bin", "langcli");
|
|
488554
488554
|
let globalBinExists = false;
|
|
488555
488555
|
try {
|
|
488556
488556
|
await fs15.stat(globalBinPath);
|
|
@@ -488580,14 +488580,14 @@ async function detectMultipleInstallations() {
|
|
|
488580
488580
|
}
|
|
488581
488581
|
}
|
|
488582
488582
|
}
|
|
488583
|
-
const nativeBinPath = join68(homedir21(), ".local", "bin", "
|
|
488583
|
+
const nativeBinPath = join68(homedir21(), ".local", "bin", "langcli");
|
|
488584
488584
|
try {
|
|
488585
488585
|
await fs15.stat(nativeBinPath);
|
|
488586
488586
|
installations.push({ type: "native", path: nativeBinPath });
|
|
488587
488587
|
} catch {}
|
|
488588
488588
|
const config6 = getGlobalConfig();
|
|
488589
488589
|
if (config6.installMethod === "native") {
|
|
488590
|
-
const nativeDataPath = join68(homedir21(), ".local", "share", "
|
|
488590
|
+
const nativeDataPath = join68(homedir21(), ".local", "share", "langcli");
|
|
488591
488591
|
try {
|
|
488592
488592
|
await fs15.stat(nativeDataPath);
|
|
488593
488593
|
if (!installations.some((i4) => i4.type === "native")) {
|
|
@@ -488666,37 +488666,37 @@ async function detectConfigurationIssues(type) {
|
|
|
488666
488666
|
if (type === "npm-local" && config6.installMethod !== "local") {
|
|
488667
488667
|
warnings.push({
|
|
488668
488668
|
issue: `Running from local installation but config install method is '${config6.installMethod}'`,
|
|
488669
|
-
fix: "Consider using native installation:
|
|
488669
|
+
fix: "Consider using native installation: langcli install"
|
|
488670
488670
|
});
|
|
488671
488671
|
}
|
|
488672
488672
|
if (type === "native" && config6.installMethod !== "native") {
|
|
488673
488673
|
warnings.push({
|
|
488674
488674
|
issue: `Running native installation but config install method is '${config6.installMethod}'`,
|
|
488675
|
-
fix: "Run
|
|
488675
|
+
fix: "Run langcli install to update configuration"
|
|
488676
488676
|
});
|
|
488677
488677
|
}
|
|
488678
488678
|
}
|
|
488679
488679
|
if (type === "npm-global" && await localInstallationExists()) {
|
|
488680
488680
|
warnings.push({
|
|
488681
488681
|
issue: "Local installation exists but not being used",
|
|
488682
|
-
fix: "Consider using native installation:
|
|
488682
|
+
fix: "Consider using native installation: langcli install"
|
|
488683
488683
|
});
|
|
488684
488684
|
}
|
|
488685
488685
|
const existingAlias = await findClaudeAlias();
|
|
488686
488686
|
const validAlias = await findValidClaudeAlias();
|
|
488687
488687
|
if (type === "npm-local") {
|
|
488688
|
-
const whichResult = await which("
|
|
488688
|
+
const whichResult = await which("langcli");
|
|
488689
488689
|
const claudeInPath = !!whichResult;
|
|
488690
488690
|
if (!claudeInPath && !validAlias) {
|
|
488691
488691
|
if (existingAlias) {
|
|
488692
488692
|
warnings.push({
|
|
488693
488693
|
issue: "Local installation not accessible",
|
|
488694
|
-
fix: `Alias exists but points to invalid target: ${existingAlias}. Update alias: alias
|
|
488694
|
+
fix: `Alias exists but points to invalid target: ${existingAlias}. Update alias: alias langcli="~/.langcli/local/langcli"`
|
|
488695
488695
|
});
|
|
488696
488696
|
} else {
|
|
488697
488697
|
warnings.push({
|
|
488698
488698
|
issue: "Local installation not accessible",
|
|
488699
|
-
fix: 'Create alias: alias
|
|
488699
|
+
fix: 'Create alias: alias langcli="~/.langcli/local/langcli"'
|
|
488700
488700
|
});
|
|
488701
488701
|
}
|
|
488702
488702
|
}
|
|
@@ -488722,7 +488722,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
488722
488722
|
}
|
|
488723
488723
|
async function getDoctorDiagnostic() {
|
|
488724
488724
|
const installationType = await getCurrentInstallationType();
|
|
488725
|
-
const version6 = typeof MACRO !== "undefined" ? "0.1.
|
|
488725
|
+
const version6 = typeof MACRO !== "undefined" ? "0.1.5" : "unknown";
|
|
488726
488726
|
const installationPath = await getInstallationPath();
|
|
488727
488727
|
const invokedBinary = getInvokedBinary();
|
|
488728
488728
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -488761,7 +488761,7 @@ async function getDoctorDiagnostic() {
|
|
|
488761
488761
|
if (!hasUpdatePermissions && !getAutoUpdaterDisabledReason()) {
|
|
488762
488762
|
warnings.push({
|
|
488763
488763
|
issue: "Insufficient permissions for auto-updates",
|
|
488764
|
-
fix: "Do one of: (1) Re-install node without sudo, or (2) Use `
|
|
488764
|
+
fix: "Do one of: (1) Re-install node without sudo, or (2) Use `langcli install` for native installation"
|
|
488765
488765
|
});
|
|
488766
488766
|
}
|
|
488767
488767
|
}
|
|
@@ -489655,8 +489655,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
489655
489655
|
const maxVersion = await getMaxVersion();
|
|
489656
489656
|
if (maxVersion && gt(version6, maxVersion)) {
|
|
489657
489657
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
|
|
489658
|
-
if (gte("0.1.
|
|
489659
|
-
logForDebugging(`Native installer: current version ${"0.1.
|
|
489658
|
+
if (gte("0.1.5", maxVersion)) {
|
|
489659
|
+
logForDebugging(`Native installer: current version ${"0.1.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
489660
489660
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
489661
489661
|
latency_ms: Date.now() - startTime,
|
|
489662
489662
|
max_version: maxVersion,
|
|
@@ -489667,7 +489667,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
489667
489667
|
version6 = maxVersion;
|
|
489668
489668
|
}
|
|
489669
489669
|
}
|
|
489670
|
-
if (!forceReinstall && version6 === "0.1.
|
|
489670
|
+
if (!forceReinstall && version6 === "0.1.5" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
|
|
489671
489671
|
logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
|
|
489672
489672
|
logEvent("tengu_native_update_complete", {
|
|
489673
489673
|
latency_ms: Date.now() - startTime,
|
|
@@ -579523,7 +579523,7 @@ function getAnthropicEnvMetadata() {
|
|
|
579523
579523
|
function getBuildAgeMinutes() {
|
|
579524
579524
|
if (false)
|
|
579525
579525
|
;
|
|
579526
|
-
const buildTime = new Date("2026-04-12T04:
|
|
579526
|
+
const buildTime = new Date("2026-04-12T04:26:02.773Z").getTime();
|
|
579527
579527
|
if (isNaN(buildTime))
|
|
579528
579528
|
return;
|
|
579529
579529
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -602617,7 +602617,7 @@ function Feedback({
|
|
|
602617
602617
|
platform: env4.platform,
|
|
602618
602618
|
gitRepo: envInfo.isGit,
|
|
602619
602619
|
terminal: env4.terminal,
|
|
602620
|
-
version: "0.1.
|
|
602620
|
+
version: "0.1.5",
|
|
602621
602621
|
transcript: normalizeMessagesForAPI(messages),
|
|
602622
602622
|
errors: sanitizedErrors,
|
|
602623
602623
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -602802,7 +602802,7 @@ function Feedback({
|
|
|
602802
602802
|
", ",
|
|
602803
602803
|
env4.terminal,
|
|
602804
602804
|
", v",
|
|
602805
|
-
"0.1.
|
|
602805
|
+
"0.1.5"
|
|
602806
602806
|
]
|
|
602807
602807
|
}, undefined, true, undefined, this)
|
|
602808
602808
|
]
|
|
@@ -602908,7 +602908,7 @@ ${sanitizedDescription}
|
|
|
602908
602908
|
` + `**Environment Info**
|
|
602909
602909
|
` + `- Platform: ${env4.platform}
|
|
602910
602910
|
` + `- Terminal: ${env4.terminal}
|
|
602911
|
-
` + `- Version: ${"0.1.
|
|
602911
|
+
` + `- Version: ${"0.1.5"}
|
|
602912
602912
|
` + `- Feedback ID: ${feedbackId}
|
|
602913
602913
|
` + `
|
|
602914
602914
|
**Errors**
|
|
@@ -605642,7 +605642,7 @@ function buildPrimarySection() {
|
|
|
605642
605642
|
children: "/rename to add a name"
|
|
605643
605643
|
}, undefined, false, undefined, this);
|
|
605644
605644
|
return [
|
|
605645
|
-
{ label: "Version", value: "0.1.
|
|
605645
|
+
{ label: "Version", value: "0.1.5" },
|
|
605646
605646
|
{ label: "Session name", value: nameValue },
|
|
605647
605647
|
{ label: "Session ID", value: sessionId },
|
|
605648
605648
|
{ label: "cwd", value: getCwd() },
|
|
@@ -608400,7 +608400,7 @@ function Config({
|
|
|
608400
608400
|
}
|
|
608401
608401
|
}, undefined, false, undefined, this)
|
|
608402
608402
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime175.jsxDEV(ChannelDowngradeDialog, {
|
|
608403
|
-
currentVersion: "0.1.
|
|
608403
|
+
currentVersion: "0.1.5",
|
|
608404
608404
|
onChoice: (choice) => {
|
|
608405
608405
|
setShowSubmenu(null);
|
|
608406
608406
|
setTabsHidden(false);
|
|
@@ -608412,7 +608412,7 @@ function Config({
|
|
|
608412
608412
|
autoUpdatesChannel: "stable"
|
|
608413
608413
|
};
|
|
608414
608414
|
if (choice === "stay") {
|
|
608415
|
-
newSettings.minimumVersion = "0.1.
|
|
608415
|
+
newSettings.minimumVersion = "0.1.5";
|
|
608416
608416
|
}
|
|
608417
608417
|
updateSettingsForSource("userSettings", newSettings);
|
|
608418
608418
|
setSettingsData((prev) => ({
|
|
@@ -613840,7 +613840,7 @@ function HelpV2({ onClose, commands }) {
|
|
|
613840
613840
|
color: "professionalBlue",
|
|
613841
613841
|
children: [
|
|
613842
613842
|
/* @__PURE__ */ jsx_dev_runtime202.jsxDEV(Tabs, {
|
|
613843
|
-
title: process.env.USER_TYPE === "ant" ? "/help" : `Langcli v${"0.1.
|
|
613843
|
+
title: process.env.USER_TYPE === "ant" ? "/help" : `Langcli v${"0.1.5"}`,
|
|
613844
613844
|
color: "professionalBlue",
|
|
613845
613845
|
defaultTab: "general",
|
|
613846
613846
|
children: tabs
|
|
@@ -633898,7 +633898,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
633898
633898
|
return [];
|
|
633899
633899
|
}
|
|
633900
633900
|
}
|
|
633901
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.
|
|
633901
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.5") {
|
|
633902
633902
|
if (process.env.USER_TYPE === "ant") {
|
|
633903
633903
|
const changelog = "";
|
|
633904
633904
|
if (changelog) {
|
|
@@ -633925,7 +633925,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.4") {
|
|
|
633925
633925
|
releaseNotes
|
|
633926
633926
|
};
|
|
633927
633927
|
}
|
|
633928
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.
|
|
633928
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.5") {
|
|
633929
633929
|
if (process.env.USER_TYPE === "ant") {
|
|
633930
633930
|
const changelog = "";
|
|
633931
633931
|
if (changelog) {
|
|
@@ -637008,7 +637008,7 @@ function getRecentActivitySync() {
|
|
|
637008
637008
|
return cachedActivity;
|
|
637009
637009
|
}
|
|
637010
637010
|
function getLogoDisplayData() {
|
|
637011
|
-
const version6 = process.env.DEMO_VERSION ?? "0.1.
|
|
637011
|
+
const version6 = process.env.DEMO_VERSION ?? "0.1.5";
|
|
637012
637012
|
const serverUrl = getDirectConnectServerUrl();
|
|
637013
637013
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
637014
637014
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -638016,13 +638016,13 @@ function LogoV2() {
|
|
|
638016
638016
|
const { hasReleaseNotes } = checkForReleaseNotesSync(config7.lastReleaseNotesSeen);
|
|
638017
638017
|
import_react161.useEffect(() => {
|
|
638018
638018
|
const currentConfig = getGlobalConfig();
|
|
638019
|
-
if (currentConfig.lastReleaseNotesSeen === "0.1.
|
|
638019
|
+
if (currentConfig.lastReleaseNotesSeen === "0.1.5") {
|
|
638020
638020
|
return;
|
|
638021
638021
|
}
|
|
638022
638022
|
saveGlobalConfig((current) => {
|
|
638023
|
-
if (current.lastReleaseNotesSeen === "0.1.
|
|
638023
|
+
if (current.lastReleaseNotesSeen === "0.1.5")
|
|
638024
638024
|
return current;
|
|
638025
|
-
return { ...current, lastReleaseNotesSeen: "0.1.
|
|
638025
|
+
return { ...current, lastReleaseNotesSeen: "0.1.5" };
|
|
638026
638026
|
});
|
|
638027
638027
|
if (showOnboarding) {
|
|
638028
638028
|
incrementProjectOnboardingSeenCount();
|
|
@@ -655052,7 +655052,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
655052
655052
|
smapsRollup,
|
|
655053
655053
|
platform: process.platform,
|
|
655054
655054
|
nodeVersion: process.version,
|
|
655055
|
-
ccVersion: "0.1.
|
|
655055
|
+
ccVersion: "0.1.5"
|
|
655056
655056
|
};
|
|
655057
655057
|
}
|
|
655058
655058
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -655638,7 +655638,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
655638
655638
|
var call53 = async () => {
|
|
655639
655639
|
return {
|
|
655640
655640
|
type: "text",
|
|
655641
|
-
value: `${"0.1.
|
|
655641
|
+
value: `${"0.1.5"} (built ${"2026-04-12T04:26:02.773Z"})`
|
|
655642
655642
|
};
|
|
655643
655643
|
}, version6, version_default;
|
|
655644
655644
|
var init_version2 = __esm(() => {
|
|
@@ -662986,7 +662986,7 @@ function generateHtmlReport(data, insights) {
|
|
|
662986
662986
|
</html>`;
|
|
662987
662987
|
}
|
|
662988
662988
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
662989
|
-
const version7 = typeof MACRO !== "undefined" ? "0.1.
|
|
662989
|
+
const version7 = typeof MACRO !== "undefined" ? "0.1.5" : "unknown";
|
|
662990
662990
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
662991
662991
|
const facets_summary = {
|
|
662992
662992
|
total: facets.size,
|
|
@@ -667089,7 +667089,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
667089
667089
|
init_settings2();
|
|
667090
667090
|
init_slowOperations();
|
|
667091
667091
|
init_uuid();
|
|
667092
|
-
VERSION6 = typeof MACRO !== "undefined" ? "0.1.
|
|
667092
|
+
VERSION6 = typeof MACRO !== "undefined" ? "0.1.5" : "unknown";
|
|
667093
667093
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
667094
667094
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
667095
667095
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -668295,7 +668295,7 @@ var init_filesystem = __esm(() => {
|
|
|
668295
668295
|
});
|
|
668296
668296
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
668297
668297
|
const nonce = randomBytes19(16).toString("hex");
|
|
668298
|
-
return join142(getClaudeTempDir(), "bundled-skills", "0.1.
|
|
668298
|
+
return join142(getClaudeTempDir(), "bundled-skills", "0.1.5", nonce);
|
|
668299
668299
|
});
|
|
668300
668300
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
668301
668301
|
});
|
|
@@ -674325,7 +674325,7 @@ function computeFingerprint(messageText, version7) {
|
|
|
674325
674325
|
}
|
|
674326
674326
|
function computeFingerprintFromMessages(messages) {
|
|
674327
674327
|
const firstMessageText = extractFirstMessageText(messages);
|
|
674328
|
-
return computeFingerprint(firstMessageText, "0.1.
|
|
674328
|
+
return computeFingerprint(firstMessageText, "0.1.5");
|
|
674329
674329
|
}
|
|
674330
674330
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
674331
674331
|
var init_fingerprint = () => {};
|
|
@@ -683251,7 +683251,7 @@ async function sideQuery(opts) {
|
|
|
683251
683251
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
683252
683252
|
}
|
|
683253
683253
|
const messageText = extractFirstUserMessageText(messages);
|
|
683254
|
-
const fingerprint = computeFingerprint(messageText, "0.1.
|
|
683254
|
+
const fingerprint = computeFingerprint(messageText, "0.1.5");
|
|
683255
683255
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
683256
683256
|
const systemBlocks = [
|
|
683257
683257
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -687824,7 +687824,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
687824
687824
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
687825
687825
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
687826
687826
|
betas: getSdkBetas(),
|
|
687827
|
-
claude_code_version: "0.1.
|
|
687827
|
+
claude_code_version: "0.1.5",
|
|
687828
687828
|
output_style: outputStyle2,
|
|
687829
687829
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
687830
687830
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -698992,7 +698992,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
698992
698992
|
function getSemverPart(version7) {
|
|
698993
698993
|
return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
|
|
698994
698994
|
}
|
|
698995
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.1.
|
|
698995
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.1.5") {
|
|
698996
698996
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react250.useState(() => getSemverPart(initialVersion));
|
|
698997
698997
|
if (!updatedVersion) {
|
|
698998
698998
|
return null;
|
|
@@ -699032,7 +699032,7 @@ function AutoUpdater({
|
|
|
699032
699032
|
return;
|
|
699033
699033
|
}
|
|
699034
699034
|
if (false) {}
|
|
699035
|
-
const currentVersion = "0.1.
|
|
699035
|
+
const currentVersion = "0.1.5";
|
|
699036
699036
|
const channel3 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
699037
699037
|
let latestVersion = await getLatestVersion(channel3);
|
|
699038
699038
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -699239,12 +699239,12 @@ function NativeAutoUpdater({
|
|
|
699239
699239
|
logEvent("tengu_native_auto_updater_start", {});
|
|
699240
699240
|
try {
|
|
699241
699241
|
const maxVersion = await getMaxVersion();
|
|
699242
|
-
if (maxVersion && gt("0.1.
|
|
699242
|
+
if (maxVersion && gt("0.1.5", maxVersion)) {
|
|
699243
699243
|
const msg = await getMaxVersionMessage();
|
|
699244
699244
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
699245
699245
|
}
|
|
699246
699246
|
const result = await installLatest(channel3);
|
|
699247
|
-
const currentVersion = "0.1.
|
|
699247
|
+
const currentVersion = "0.1.5";
|
|
699248
699248
|
const latencyMs = Date.now() - startTime;
|
|
699249
699249
|
if (result.lockFailed) {
|
|
699250
699250
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -699389,17 +699389,17 @@ function PackageManagerAutoUpdater({ verbose }) {
|
|
|
699389
699389
|
const maxVersion = await getMaxVersion();
|
|
699390
699390
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
699391
699391
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
699392
|
-
if (gte("0.1.
|
|
699393
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.
|
|
699392
|
+
if (gte("0.1.5", maxVersion)) {
|
|
699393
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
699394
699394
|
setUpdateAvailable(false);
|
|
699395
699395
|
return;
|
|
699396
699396
|
}
|
|
699397
699397
|
latest = maxVersion;
|
|
699398
699398
|
}
|
|
699399
|
-
const hasUpdate = latest && !gte("0.1.
|
|
699399
|
+
const hasUpdate = latest && !gte("0.1.5", latest) && !shouldSkipVersion(latest);
|
|
699400
699400
|
setUpdateAvailable(!!hasUpdate);
|
|
699401
699401
|
if (hasUpdate) {
|
|
699402
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.
|
|
699402
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.5"} -> ${latest}`);
|
|
699403
699403
|
}
|
|
699404
699404
|
}, []);
|
|
699405
699405
|
React152.useEffect(() => {
|
|
@@ -699417,7 +699417,7 @@ function PackageManagerAutoUpdater({ verbose }) {
|
|
|
699417
699417
|
wrap: "truncate",
|
|
699418
699418
|
children: [
|
|
699419
699419
|
"currentVersion: ",
|
|
699420
|
-
"0.1.
|
|
699420
|
+
"0.1.5"
|
|
699421
699421
|
]
|
|
699422
699422
|
}, undefined, true, undefined, this),
|
|
699423
699423
|
/* @__PURE__ */ jsx_dev_runtime405.jsxDEV(ThemedText, {
|
|
@@ -704778,7 +704778,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
704778
704778
|
project_dir: getOriginalCwd(),
|
|
704779
704779
|
added_dirs: addedDirs
|
|
704780
704780
|
},
|
|
704781
|
-
version: "0.1.
|
|
704781
|
+
version: "0.1.5",
|
|
704782
704782
|
output_style: {
|
|
704783
704783
|
name: outputStyleName
|
|
704784
704784
|
},
|
|
@@ -723691,7 +723691,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
723691
723691
|
} catch {}
|
|
723692
723692
|
const data = {
|
|
723693
723693
|
trigger,
|
|
723694
|
-
version: "0.1.
|
|
723694
|
+
version: "0.1.5",
|
|
723695
723695
|
platform: process.platform,
|
|
723696
723696
|
transcript,
|
|
723697
723697
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -734213,7 +734213,7 @@ function WelcomeV2() {
|
|
|
734213
734213
|
dimColor: true,
|
|
734214
734214
|
children: [
|
|
734215
734215
|
"v",
|
|
734216
|
-
"0.1.
|
|
734216
|
+
"0.1.5",
|
|
734217
734217
|
" "
|
|
734218
734218
|
]
|
|
734219
734219
|
}, undefined, true, undefined, this)
|
|
@@ -734330,7 +734330,7 @@ function WelcomeV2() {
|
|
|
734330
734330
|
dimColor: true,
|
|
734331
734331
|
children: [
|
|
734332
734332
|
"v",
|
|
734333
|
-
"0.1.
|
|
734333
|
+
"0.1.5",
|
|
734334
734334
|
" "
|
|
734335
734335
|
]
|
|
734336
734336
|
}, undefined, true, undefined, this)
|
|
@@ -734466,7 +734466,7 @@ function AppleTerminalWelcomeV2({
|
|
|
734466
734466
|
dimColor: true,
|
|
734467
734467
|
children: [
|
|
734468
734468
|
"v",
|
|
734469
|
-
"0.1.
|
|
734469
|
+
"0.1.5",
|
|
734470
734470
|
" "
|
|
734471
734471
|
]
|
|
734472
734472
|
}, undefined, true, undefined, this)
|
|
@@ -734611,7 +734611,7 @@ function AppleTerminalWelcomeV2({
|
|
|
734611
734611
|
dimColor: true,
|
|
734612
734612
|
children: [
|
|
734613
734613
|
"v",
|
|
734614
|
-
"0.1.
|
|
734614
|
+
"0.1.5",
|
|
734615
734615
|
" "
|
|
734616
734616
|
]
|
|
734617
734617
|
}, undefined, true, undefined, this)
|
|
@@ -735583,7 +735583,7 @@ function completeOnboarding() {
|
|
|
735583
735583
|
saveGlobalConfig((current) => ({
|
|
735584
735584
|
...current,
|
|
735585
735585
|
hasCompletedOnboarding: true,
|
|
735586
|
-
lastOnboardingVersion: "0.1.
|
|
735586
|
+
lastOnboardingVersion: "0.1.5"
|
|
735587
735587
|
}));
|
|
735588
735588
|
}
|
|
735589
735589
|
function showDialog(root2, renderer) {
|
|
@@ -739861,7 +739861,7 @@ function appendToLog(path29, message) {
|
|
|
739861
739861
|
cwd: getFsImplementation().cwd(),
|
|
739862
739862
|
userType: process.env.USER_TYPE,
|
|
739863
739863
|
sessionId: getSessionId(),
|
|
739864
|
-
version: "0.1.
|
|
739864
|
+
version: "0.1.5"
|
|
739865
739865
|
};
|
|
739866
739866
|
getLogWriter(path29).write(messageWithTimestamp);
|
|
739867
739867
|
}
|
|
@@ -744307,8 +744307,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
744307
744307
|
}
|
|
744308
744308
|
async function checkEnvLessBridgeMinVersion() {
|
|
744309
744309
|
const cfg = await getEnvLessBridgeConfig();
|
|
744310
|
-
if (cfg.min_version && lt("0.1.
|
|
744311
|
-
return `Your version of Claude Code (${"0.1.
|
|
744310
|
+
if (cfg.min_version && lt("0.1.5", cfg.min_version)) {
|
|
744311
|
+
return `Your version of Claude Code (${"0.1.5"}) is too old for Remote Control.
|
|
744312
744312
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
744313
744313
|
}
|
|
744314
744314
|
return null;
|
|
@@ -744782,7 +744782,7 @@ async function initBridgeCore(params) {
|
|
|
744782
744782
|
const rawApi = createBridgeApiClient({
|
|
744783
744783
|
baseUrl,
|
|
744784
744784
|
getAccessToken,
|
|
744785
|
-
runnerVersion: "0.1.
|
|
744785
|
+
runnerVersion: "0.1.5",
|
|
744786
744786
|
onDebug: logForDebugging,
|
|
744787
744787
|
onAuth401,
|
|
744788
744788
|
getTrustedDeviceToken
|
|
@@ -749871,7 +749871,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
|
|
|
749871
749871
|
setCwd(cwd3);
|
|
749872
749872
|
const server = new Server({
|
|
749873
749873
|
name: "claude/tengu",
|
|
749874
|
-
version: "0.1.
|
|
749874
|
+
version: "0.1.5"
|
|
749875
749875
|
}, {
|
|
749876
749876
|
capabilities: {
|
|
749877
749877
|
tools: {}
|
|
@@ -751392,7 +751392,7 @@ __export(exports_update, {
|
|
|
751392
751392
|
});
|
|
751393
751393
|
async function update() {
|
|
751394
751394
|
logEvent("tengu_update_check", {});
|
|
751395
|
-
writeToStdout(`Current version: ${"0.1.
|
|
751395
|
+
writeToStdout(`Current version: ${"0.1.5"}
|
|
751396
751396
|
`);
|
|
751397
751397
|
const channel3 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
751398
751398
|
writeToStdout(`Checking for updates to ${channel3} version...
|
|
@@ -751467,14 +751467,14 @@ async function update() {
|
|
|
751467
751467
|
writeToStdout(`langcli is managed by Homebrew.
|
|
751468
751468
|
`);
|
|
751469
751469
|
const latest = await getLatestVersion(channel3);
|
|
751470
|
-
if (latest && !gte("0.1.
|
|
751471
|
-
writeToStdout(`Update available: ${"0.1.
|
|
751470
|
+
if (latest && !gte("0.1.5", latest)) {
|
|
751471
|
+
writeToStdout(`Update available: ${"0.1.5"} → ${latest}
|
|
751472
751472
|
`);
|
|
751473
751473
|
writeToStdout(`
|
|
751474
751474
|
`);
|
|
751475
751475
|
writeToStdout(`To update, run:
|
|
751476
751476
|
`);
|
|
751477
|
-
writeToStdout(source_default.bold(" brew upgrade
|
|
751477
|
+
writeToStdout(source_default.bold(" brew upgrade langcli") + `
|
|
751478
751478
|
`);
|
|
751479
751479
|
} else {
|
|
751480
751480
|
writeToStdout(`langcli is up to date!
|
|
@@ -751484,8 +751484,8 @@ async function update() {
|
|
|
751484
751484
|
writeToStdout(`langcli is managed by winget.
|
|
751485
751485
|
`);
|
|
751486
751486
|
const latest = await getLatestVersion(channel3);
|
|
751487
|
-
if (latest && !gte("0.1.
|
|
751488
|
-
writeToStdout(`Update available: ${"0.1.
|
|
751487
|
+
if (latest && !gte("0.1.5", latest)) {
|
|
751488
|
+
writeToStdout(`Update available: ${"0.1.5"} → ${latest}
|
|
751489
751489
|
`);
|
|
751490
751490
|
writeToStdout(`
|
|
751491
751491
|
`);
|
|
@@ -751501,8 +751501,8 @@ async function update() {
|
|
|
751501
751501
|
writeToStdout(`langcli is managed by apk.
|
|
751502
751502
|
`);
|
|
751503
751503
|
const latest = await getLatestVersion(channel3);
|
|
751504
|
-
if (latest && !gte("0.1.
|
|
751505
|
-
writeToStdout(`Update available: ${"0.1.
|
|
751504
|
+
if (latest && !gte("0.1.5", latest)) {
|
|
751505
|
+
writeToStdout(`Update available: ${"0.1.5"} → ${latest}
|
|
751506
751506
|
`);
|
|
751507
751507
|
writeToStdout(`
|
|
751508
751508
|
`);
|
|
@@ -751567,11 +751567,11 @@ async function update() {
|
|
|
751567
751567
|
`);
|
|
751568
751568
|
await gracefulShutdown(1);
|
|
751569
751569
|
}
|
|
751570
|
-
if (result.latestVersion === "0.1.
|
|
751571
|
-
writeToStdout(source_default.green(`langcli is up to date (${"0.1.
|
|
751570
|
+
if (result.latestVersion === "0.1.5") {
|
|
751571
|
+
writeToStdout(source_default.green(`langcli is up to date (${"0.1.5"})`) + `
|
|
751572
751572
|
`);
|
|
751573
751573
|
} else {
|
|
751574
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
751574
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.5"} to version ${result.latestVersion}`) + `
|
|
751575
751575
|
`);
|
|
751576
751576
|
await regenerateCompletionCache();
|
|
751577
751577
|
}
|
|
@@ -751631,12 +751631,12 @@ async function update() {
|
|
|
751631
751631
|
`);
|
|
751632
751632
|
await gracefulShutdown(1);
|
|
751633
751633
|
}
|
|
751634
|
-
if (latestVersion === "0.1.
|
|
751635
|
-
writeToStdout(source_default.green(`langcli is up to date (${"0.1.
|
|
751634
|
+
if (latestVersion === "0.1.5") {
|
|
751635
|
+
writeToStdout(source_default.green(`langcli is up to date (${"0.1.5"})`) + `
|
|
751636
751636
|
`);
|
|
751637
751637
|
await gracefulShutdown(0);
|
|
751638
751638
|
}
|
|
751639
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.
|
|
751639
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.5"})
|
|
751640
751640
|
`);
|
|
751641
751641
|
writeToStdout(`Installing update...
|
|
751642
751642
|
`);
|
|
@@ -751681,7 +751681,7 @@ async function update() {
|
|
|
751681
751681
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
751682
751682
|
switch (status2) {
|
|
751683
751683
|
case "success":
|
|
751684
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
751684
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.5"} to version ${latestVersion}`) + `
|
|
751685
751685
|
`);
|
|
751686
751686
|
await regenerateCompletionCache();
|
|
751687
751687
|
break;
|
|
@@ -751691,7 +751691,7 @@ async function update() {
|
|
|
751691
751691
|
if (useLocalUpdate) {
|
|
751692
751692
|
process.stderr.write(`Try manually updating with:
|
|
751693
751693
|
`);
|
|
751694
|
-
process.stderr.write(` cd ~/.
|
|
751694
|
+
process.stderr.write(` cd ~/.langcli/local && npm update ${"langcli-com"}
|
|
751695
751695
|
`);
|
|
751696
751696
|
} else {
|
|
751697
751697
|
process.stderr.write(`Try running with sudo or fix npm permissions
|
|
@@ -751705,7 +751705,7 @@ async function update() {
|
|
|
751705
751705
|
if (useLocalUpdate) {
|
|
751706
751706
|
process.stderr.write(`Try manually updating with:
|
|
751707
751707
|
`);
|
|
751708
|
-
process.stderr.write(` cd ~/.
|
|
751708
|
+
process.stderr.write(` cd ~/.langcli/local && npm update ${"langcli-com"}
|
|
751709
751709
|
`);
|
|
751710
751710
|
}
|
|
751711
751711
|
await gracefulShutdown(1);
|
|
@@ -752901,7 +752901,7 @@ ${customInstructions}` : customInstructions;
|
|
|
752901
752901
|
}
|
|
752902
752902
|
}
|
|
752903
752903
|
logForDiagnosticsNoPII("info", "started", {
|
|
752904
|
-
version: "0.1.
|
|
752904
|
+
version: "0.1.5",
|
|
752905
752905
|
is_native_binary: isInBundledMode()
|
|
752906
752906
|
});
|
|
752907
752907
|
registerCleanup(async () => {
|
|
@@ -753703,7 +753703,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
753703
753703
|
pendingHookMessages
|
|
753704
753704
|
}, renderAndRun);
|
|
753705
753705
|
}
|
|
753706
|
-
}).version("0.1.
|
|
753706
|
+
}).version("0.1.5 (Claude Code)", "-v, --version", "Output the version number");
|
|
753707
753707
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
753708
753708
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
753709
753709
|
if (canUserConfigureAdvisor()) {
|
|
@@ -754232,7 +754232,7 @@ if (false) {}
|
|
|
754232
754232
|
async function main2() {
|
|
754233
754233
|
const args = process.argv.slice(2);
|
|
754234
754234
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
754235
|
-
console.log(`${"0.1.
|
|
754235
|
+
console.log(`${"0.1.5"} (langcli)`);
|
|
754236
754236
|
return;
|
|
754237
754237
|
}
|
|
754238
754238
|
const { profileCheckpoint: profileCheckpoint2 } = await Promise.resolve().then(() => (init_startupProfiler(), exports_startupProfiler));
|