codez-cli 0.1.9 → 0.1.10
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 +163 -119
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -75152,7 +75152,7 @@ var init_auth = __esm(() => {
|
|
|
75152
75152
|
|
|
75153
75153
|
// src/utils/userAgent.ts
|
|
75154
75154
|
function getClaudeCodeUserAgent() {
|
|
75155
|
-
return `claude-code/${"0.1.
|
|
75155
|
+
return `claude-code/${"0.1.9"}`;
|
|
75156
75156
|
}
|
|
75157
75157
|
|
|
75158
75158
|
// src/utils/workloadContext.ts
|
|
@@ -75174,7 +75174,7 @@ function getUserAgent() {
|
|
|
75174
75174
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
75175
75175
|
const workload = getWorkload();
|
|
75176
75176
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
75177
|
-
return `claude-cli/${"0.1.
|
|
75177
|
+
return `claude-cli/${"0.1.9"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
75178
75178
|
}
|
|
75179
75179
|
function getMCPUserAgent() {
|
|
75180
75180
|
const parts = [];
|
|
@@ -75188,7 +75188,7 @@ function getMCPUserAgent() {
|
|
|
75188
75188
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
75189
75189
|
}
|
|
75190
75190
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
75191
|
-
return `claude-code/${"0.1.
|
|
75191
|
+
return `claude-code/${"0.1.9"}${suffix}`;
|
|
75192
75192
|
}
|
|
75193
75193
|
function getWebFetchUserAgent() {
|
|
75194
75194
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -75326,7 +75326,7 @@ var init_user = __esm(() => {
|
|
|
75326
75326
|
deviceId,
|
|
75327
75327
|
sessionId: getSessionId(),
|
|
75328
75328
|
email: getEmail(),
|
|
75329
|
-
appVersion: "0.1.
|
|
75329
|
+
appVersion: "0.1.9",
|
|
75330
75330
|
platform: getHostPlatformForAnalytics(),
|
|
75331
75331
|
organizationUuid,
|
|
75332
75332
|
accountUuid,
|
|
@@ -89699,7 +89699,7 @@ var init_metadata = __esm(() => {
|
|
|
89699
89699
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
89700
89700
|
WHITESPACE_REGEX = /\s+/;
|
|
89701
89701
|
getVersionBase = memoize_default(() => {
|
|
89702
|
-
const match = "0.1.
|
|
89702
|
+
const match = "0.1.9".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
89703
89703
|
return match ? match[0] : undefined;
|
|
89704
89704
|
});
|
|
89705
89705
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -89739,9 +89739,9 @@ var init_metadata = __esm(() => {
|
|
|
89739
89739
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
89740
89740
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
89741
89741
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
89742
|
-
version: "0.1.
|
|
89742
|
+
version: "0.1.9",
|
|
89743
89743
|
versionBase: getVersionBase(),
|
|
89744
|
-
buildTime: "2026-04-02T00:
|
|
89744
|
+
buildTime: "2026-04-02T00:41:43.026Z",
|
|
89745
89745
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
89746
89746
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
89747
89747
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -90409,7 +90409,7 @@ function initialize1PEventLogging() {
|
|
|
90409
90409
|
const platform3 = getPlatform();
|
|
90410
90410
|
const attributes = {
|
|
90411
90411
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
90412
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.
|
|
90412
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.9"
|
|
90413
90413
|
};
|
|
90414
90414
|
if (platform3 === "wsl") {
|
|
90415
90415
|
const wslVersion = getWslVersion();
|
|
@@ -90436,7 +90436,7 @@ function initialize1PEventLogging() {
|
|
|
90436
90436
|
})
|
|
90437
90437
|
]
|
|
90438
90438
|
});
|
|
90439
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
90439
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.9");
|
|
90440
90440
|
}
|
|
90441
90441
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
90442
90442
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -92382,7 +92382,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
92382
92382
|
if (!isAttributionHeaderEnabled()) {
|
|
92383
92383
|
return "";
|
|
92384
92384
|
}
|
|
92385
|
-
const version2 = `${"0.1.
|
|
92385
|
+
const version2 = `${"0.1.9"}.${fingerprint}`;
|
|
92386
92386
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
92387
92387
|
const cch = "";
|
|
92388
92388
|
const workload = getWorkload();
|
|
@@ -293412,7 +293412,7 @@ function getTelemetryAttributes() {
|
|
|
293412
293412
|
attributes["session.id"] = sessionId;
|
|
293413
293413
|
}
|
|
293414
293414
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
293415
|
-
attributes["app.version"] = "0.1.
|
|
293415
|
+
attributes["app.version"] = "0.1.9";
|
|
293416
293416
|
}
|
|
293417
293417
|
const oauthAccount = getOauthAccountInfo();
|
|
293418
293418
|
if (oauthAccount) {
|
|
@@ -317421,7 +317421,7 @@ function getInstallationEnv() {
|
|
|
317421
317421
|
return;
|
|
317422
317422
|
}
|
|
317423
317423
|
function getClaudeCodeVersion() {
|
|
317424
|
-
return "0.1.
|
|
317424
|
+
return "0.1.9";
|
|
317425
317425
|
}
|
|
317426
317426
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
317427
317427
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -320140,7 +320140,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
320140
320140
|
const client2 = new Client({
|
|
320141
320141
|
name: "claude-code",
|
|
320142
320142
|
title: "codez",
|
|
320143
|
-
version: "0.1.
|
|
320143
|
+
version: "0.1.9",
|
|
320144
320144
|
description: "AI-powered agentic coding tool",
|
|
320145
320145
|
websiteUrl: PRODUCT_URL
|
|
320146
320146
|
}, {
|
|
@@ -320495,7 +320495,7 @@ var init_client5 = __esm(() => {
|
|
|
320495
320495
|
const client2 = new Client({
|
|
320496
320496
|
name: "claude-code",
|
|
320497
320497
|
title: "codez",
|
|
320498
|
-
version: "0.1.
|
|
320498
|
+
version: "0.1.9",
|
|
320499
320499
|
description: "AI-powered agentic coding tool",
|
|
320500
320500
|
websiteUrl: PRODUCT_URL
|
|
320501
320501
|
}, {
|
|
@@ -396096,7 +396096,7 @@ async function initializeBetaTracing(resource) {
|
|
|
396096
396096
|
});
|
|
396097
396097
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
396098
396098
|
setLoggerProvider(loggerProvider);
|
|
396099
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
396099
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.9");
|
|
396100
396100
|
setEventLogger(eventLogger);
|
|
396101
396101
|
process.on("beforeExit", async () => {
|
|
396102
396102
|
await loggerProvider?.forceFlush();
|
|
@@ -396136,7 +396136,7 @@ async function initializeTelemetry() {
|
|
|
396136
396136
|
const platform5 = getPlatform();
|
|
396137
396137
|
const baseAttributes = {
|
|
396138
396138
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
396139
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.
|
|
396139
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.9"
|
|
396140
396140
|
};
|
|
396141
396141
|
if (platform5 === "wsl") {
|
|
396142
396142
|
const wslVersion = getWslVersion();
|
|
@@ -396181,7 +396181,7 @@ async function initializeTelemetry() {
|
|
|
396181
396181
|
} catch {}
|
|
396182
396182
|
};
|
|
396183
396183
|
registerCleanup(shutdownTelemetry2);
|
|
396184
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.
|
|
396184
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.9");
|
|
396185
396185
|
}
|
|
396186
396186
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
396187
396187
|
resource,
|
|
@@ -396201,7 +396201,7 @@ async function initializeTelemetry() {
|
|
|
396201
396201
|
});
|
|
396202
396202
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
396203
396203
|
setLoggerProvider(loggerProvider);
|
|
396204
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
396204
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.9");
|
|
396205
396205
|
setEventLogger(eventLogger);
|
|
396206
396206
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
396207
396207
|
process.on("beforeExit", async () => {
|
|
@@ -396263,7 +396263,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
396263
396263
|
}
|
|
396264
396264
|
};
|
|
396265
396265
|
registerCleanup(shutdownTelemetry);
|
|
396266
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.
|
|
396266
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.9");
|
|
396267
396267
|
}
|
|
396268
396268
|
async function flushTelemetry() {
|
|
396269
396269
|
const meterProvider = getMeterProvider();
|
|
@@ -396820,9 +396820,9 @@ async function assertMinVersion() {
|
|
|
396820
396820
|
if (false) {}
|
|
396821
396821
|
try {
|
|
396822
396822
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
396823
|
-
if (versionConfig.minVersion && lt("0.1.
|
|
396823
|
+
if (versionConfig.minVersion && lt("0.1.9", versionConfig.minVersion)) {
|
|
396824
396824
|
console.error(`
|
|
396825
|
-
It looks like your version of codez (${"0.1.
|
|
396825
|
+
It looks like your version of codez (${"0.1.9"}) needs an update.
|
|
396826
396826
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
396827
396827
|
|
|
396828
396828
|
To update, please run:
|
|
@@ -397038,7 +397038,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
397038
397038
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
397039
397039
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
397040
397040
|
pid: process.pid,
|
|
397041
|
-
currentVersion: "0.1.
|
|
397041
|
+
currentVersion: "0.1.9"
|
|
397042
397042
|
});
|
|
397043
397043
|
return "in_progress";
|
|
397044
397044
|
}
|
|
@@ -397047,7 +397047,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
397047
397047
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
397048
397048
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
397049
397049
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
397050
|
-
currentVersion: "0.1.
|
|
397050
|
+
currentVersion: "0.1.9"
|
|
397051
397051
|
});
|
|
397052
397052
|
console.error(`
|
|
397053
397053
|
Error: Windows NPM detected in WSL
|
|
@@ -397582,7 +397582,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
397582
397582
|
}
|
|
397583
397583
|
async function getDoctorDiagnostic() {
|
|
397584
397584
|
const installationType = await getCurrentInstallationType();
|
|
397585
|
-
const version2 = typeof MACRO !== "undefined" ? "0.1.
|
|
397585
|
+
const version2 = typeof MACRO !== "undefined" ? "0.1.9" : "unknown";
|
|
397586
397586
|
const installationPath = await getInstallationPath();
|
|
397587
397587
|
const invokedBinary = getInvokedBinary();
|
|
397588
397588
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -398517,8 +398517,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
398517
398517
|
const maxVersion = await getMaxVersion();
|
|
398518
398518
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
398519
398519
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
398520
|
-
if (gte("0.1.
|
|
398521
|
-
logForDebugging(`Native installer: current version ${"0.1.
|
|
398520
|
+
if (gte("0.1.9", maxVersion)) {
|
|
398521
|
+
logForDebugging(`Native installer: current version ${"0.1.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
398522
398522
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
398523
398523
|
latency_ms: Date.now() - startTime,
|
|
398524
398524
|
max_version: maxVersion,
|
|
@@ -398529,7 +398529,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
398529
398529
|
version2 = maxVersion;
|
|
398530
398530
|
}
|
|
398531
398531
|
}
|
|
398532
|
-
if (!forceReinstall && version2 === "0.1.
|
|
398532
|
+
if (!forceReinstall && version2 === "0.1.9" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
398533
398533
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
398534
398534
|
logEvent("tengu_native_update_complete", {
|
|
398535
398535
|
latency_ms: Date.now() - startTime,
|
|
@@ -489350,7 +489350,7 @@ function getAnthropicEnvMetadata() {
|
|
|
489350
489350
|
function getBuildAgeMinutes() {
|
|
489351
489351
|
if (false)
|
|
489352
489352
|
;
|
|
489353
|
-
const buildTime = new Date("2026-04-02T00:
|
|
489353
|
+
const buildTime = new Date("2026-04-02T00:41:43.026Z").getTime();
|
|
489354
489354
|
if (isNaN(buildTime))
|
|
489355
489355
|
return;
|
|
489356
489356
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -513696,7 +513696,7 @@ function Feedback({
|
|
|
513696
513696
|
platform: env4.platform,
|
|
513697
513697
|
gitRepo: envInfo.isGit,
|
|
513698
513698
|
terminal: env4.terminal,
|
|
513699
|
-
version: "0.1.
|
|
513699
|
+
version: "0.1.9",
|
|
513700
513700
|
transcript: normalizeMessagesForAPI(messages),
|
|
513701
513701
|
errors: sanitizedErrors,
|
|
513702
513702
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -513835,7 +513835,7 @@ function Feedback({
|
|
|
513835
513835
|
dimColor: true
|
|
513836
513836
|
}, description)), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Environment info:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
513837
513837
|
dimColor: true
|
|
513838
|
-
}, env4.platform, ", ", env4.terminal, ", v", "0.1.
|
|
513838
|
+
}, env4.platform, ", ", env4.terminal, ", v", "0.1.9")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
513839
513839
|
dimColor: true
|
|
513840
513840
|
}, envInfo.gitState.branchName, envInfo.gitState.commitHash ? `, ${envInfo.gitState.commitHash.slice(0, 7)}` : "", envInfo.gitState.remoteUrl ? ` @ ${envInfo.gitState.remoteUrl}` : "", !envInfo.gitState.isHeadOnRemote && ", not synced", !envInfo.gitState.isClean && ", has local changes")), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Current session transcript")), /* @__PURE__ */ React167.createElement(ThemedBox_default, {
|
|
513841
513841
|
marginTop: 1
|
|
@@ -513872,7 +513872,7 @@ ${sanitizedDescription}
|
|
|
513872
513872
|
` + `**Environment Info**
|
|
513873
513873
|
` + `- Platform: ${env4.platform}
|
|
513874
513874
|
` + `- Terminal: ${env4.terminal}
|
|
513875
|
-
` + `- Version: ${"0.1.
|
|
513875
|
+
` + `- Version: ${"0.1.9"}
|
|
513876
513876
|
` + `- Feedback ID: ${feedbackId}
|
|
513877
513877
|
` + `
|
|
513878
513878
|
**Errors**
|
|
@@ -516933,7 +516933,7 @@ function buildPrimarySection() {
|
|
|
516933
516933
|
}, "/rename to add a name");
|
|
516934
516934
|
return [{
|
|
516935
516935
|
label: "Version",
|
|
516936
|
-
value: "0.1.
|
|
516936
|
+
value: "0.1.9"
|
|
516937
516937
|
}, {
|
|
516938
516938
|
label: "Session name",
|
|
516939
516939
|
value: nameValue
|
|
@@ -520337,7 +520337,7 @@ function Config({
|
|
|
520337
520337
|
});
|
|
520338
520338
|
}
|
|
520339
520339
|
})) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ React182.createElement(ChannelDowngradeDialog, {
|
|
520340
|
-
currentVersion: "0.1.
|
|
520340
|
+
currentVersion: "0.1.9",
|
|
520341
520341
|
onChoice: (choice) => {
|
|
520342
520342
|
setShowSubmenu(null);
|
|
520343
520343
|
setTabsHidden(false);
|
|
@@ -520349,7 +520349,7 @@ function Config({
|
|
|
520349
520349
|
autoUpdatesChannel: "stable"
|
|
520350
520350
|
};
|
|
520351
520351
|
if (choice === "stay") {
|
|
520352
|
-
newSettings.minimumVersion = "0.1.
|
|
520352
|
+
newSettings.minimumVersion = "0.1.9";
|
|
520353
520353
|
}
|
|
520354
520354
|
updateSettingsForSource("userSettings", newSettings);
|
|
520355
520355
|
setSettingsData((prev_27) => ({
|
|
@@ -527110,7 +527110,7 @@ function HelpV2(t0) {
|
|
|
527110
527110
|
let t6;
|
|
527111
527111
|
if ($3[31] !== tabs) {
|
|
527112
527112
|
t6 = /* @__PURE__ */ React209.createElement(Tabs, {
|
|
527113
|
-
title: `codez v${"0.1.
|
|
527113
|
+
title: `codez v${"0.1.9"}`,
|
|
527114
527114
|
color: "professionalBlue",
|
|
527115
527115
|
defaultTab: "general"
|
|
527116
527116
|
}, tabs);
|
|
@@ -548504,7 +548504,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
548504
548504
|
return [];
|
|
548505
548505
|
}
|
|
548506
548506
|
}
|
|
548507
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.
|
|
548507
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.9") {
|
|
548508
548508
|
if (process.env.USER_TYPE === "ant") {
|
|
548509
548509
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
548510
548510
|
if (changelog) {
|
|
@@ -548531,7 +548531,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.8") {
|
|
|
548531
548531
|
releaseNotes
|
|
548532
548532
|
};
|
|
548533
548533
|
}
|
|
548534
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.
|
|
548534
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.9") {
|
|
548535
548535
|
if (process.env.USER_TYPE === "ant") {
|
|
548536
548536
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
548537
548537
|
if (changelog) {
|
|
@@ -549701,7 +549701,7 @@ function getRecentActivitySync() {
|
|
|
549701
549701
|
return cachedActivity;
|
|
549702
549702
|
}
|
|
549703
549703
|
function getLogoDisplayData() {
|
|
549704
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
549704
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.9";
|
|
549705
549705
|
const serverUrl = getDirectConnectServerUrl();
|
|
549706
549706
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
549707
549707
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -551077,7 +551077,7 @@ function LogoV2() {
|
|
|
551077
551077
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
551078
551078
|
t2 = () => {
|
|
551079
551079
|
const currentConfig = getGlobalConfig();
|
|
551080
|
-
if (currentConfig.lastReleaseNotesSeen === "0.1.
|
|
551080
|
+
if (currentConfig.lastReleaseNotesSeen === "0.1.9") {
|
|
551081
551081
|
return;
|
|
551082
551082
|
}
|
|
551083
551083
|
saveGlobalConfig(_temp329);
|
|
@@ -551615,12 +551615,12 @@ function LogoV2() {
|
|
|
551615
551615
|
return t41;
|
|
551616
551616
|
}
|
|
551617
551617
|
function _temp329(current) {
|
|
551618
|
-
if (current.lastReleaseNotesSeen === "0.1.
|
|
551618
|
+
if (current.lastReleaseNotesSeen === "0.1.9") {
|
|
551619
551619
|
return current;
|
|
551620
551620
|
}
|
|
551621
551621
|
return {
|
|
551622
551622
|
...current,
|
|
551623
|
-
lastReleaseNotesSeen: "0.1.
|
|
551623
|
+
lastReleaseNotesSeen: "0.1.9"
|
|
551624
551624
|
};
|
|
551625
551625
|
}
|
|
551626
551626
|
function _temp245(s_0) {
|
|
@@ -575301,7 +575301,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
575301
575301
|
smapsRollup,
|
|
575302
575302
|
platform: process.platform,
|
|
575303
575303
|
nodeVersion: process.version,
|
|
575304
|
-
ccVersion: "0.1.
|
|
575304
|
+
ccVersion: "0.1.9"
|
|
575305
575305
|
};
|
|
575306
575306
|
}
|
|
575307
575307
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -575887,7 +575887,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
575887
575887
|
var call56 = async () => {
|
|
575888
575888
|
return {
|
|
575889
575889
|
type: "text",
|
|
575890
|
-
value: `${"0.1.
|
|
575890
|
+
value: `${"0.1.9"} (built ${"2026-04-02T00:41:43.026Z"})`
|
|
575891
575891
|
};
|
|
575892
575892
|
}, version2, version_default;
|
|
575893
575893
|
var init_version = __esm(() => {
|
|
@@ -578412,26 +578412,47 @@ var init_export2 = __esm(() => {
|
|
|
578412
578412
|
});
|
|
578413
578413
|
|
|
578414
578414
|
// src/components/ModelTierPicker.tsx
|
|
578415
|
+
function getSizeForModel(model) {
|
|
578416
|
+
if (!model)
|
|
578417
|
+
return "large";
|
|
578418
|
+
return SMALL_MODELS.has(model) && !MODEL_OPTIONS.large.some((m2) => m2.value === model) ? "small" : "large";
|
|
578419
|
+
}
|
|
578415
578420
|
function ModelTierPicker({
|
|
578416
578421
|
onDone
|
|
578417
578422
|
}) {
|
|
578418
578423
|
const setAppState = useSetAppState();
|
|
578419
578424
|
const currentModel = useAppState((s) => s.mainLoopModel);
|
|
578420
|
-
const
|
|
578421
|
-
|
|
578422
|
-
|
|
578423
|
-
|
|
578424
|
-
|
|
578425
|
-
|
|
578426
|
-
|
|
578427
|
-
|
|
578428
|
-
|
|
578429
|
-
|
|
578430
|
-
|
|
578431
|
-
|
|
578432
|
-
}
|
|
578433
|
-
|
|
578434
|
-
|
|
578425
|
+
const [selectedSize, setSelectedSize] = React355.useState(null);
|
|
578426
|
+
if (selectedSize !== null) {
|
|
578427
|
+
const models = MODEL_OPTIONS[selectedSize];
|
|
578428
|
+
const defaultModel = selectedSize === "large" ? "gpt-5.4" : "gpt-5.3-codex-spark";
|
|
578429
|
+
return /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
578430
|
+
flexDirection: "column"
|
|
578431
|
+
}, /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
578432
|
+
marginBottom: 1,
|
|
578433
|
+
flexDirection: "column"
|
|
578434
|
+
}, /* @__PURE__ */ React355.createElement(ThemedText, {
|
|
578435
|
+
color: "cyan",
|
|
578436
|
+
bold: true
|
|
578437
|
+
}, selectedSize === "large" ? "Large" : "Small", " models"), /* @__PURE__ */ React355.createElement(ThemedText, {
|
|
578438
|
+
dimColor: true
|
|
578439
|
+
}, "Currently: ", source_default.bold(renderModelName(currentModel ?? "gpt-5.4")))), /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
578440
|
+
flexDirection: "column"
|
|
578441
|
+
}, /* @__PURE__ */ React355.createElement(Select, {
|
|
578442
|
+
defaultValue: currentModel ?? defaultModel,
|
|
578443
|
+
options: models,
|
|
578444
|
+
onChange: (value) => {
|
|
578445
|
+
setAppState((prev) => ({
|
|
578446
|
+
...prev,
|
|
578447
|
+
mainLoopModel: value,
|
|
578448
|
+
mainLoopModelForSession: null
|
|
578449
|
+
}));
|
|
578450
|
+
onDone(`Set model to ${source_default.bold(renderModelName(value))}`);
|
|
578451
|
+
},
|
|
578452
|
+
onCancel: () => setSelectedSize(null)
|
|
578453
|
+
})));
|
|
578454
|
+
}
|
|
578455
|
+
const currentSize = getSizeForModel(currentModel);
|
|
578435
578456
|
return /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
578436
578457
|
flexDirection: "column"
|
|
578437
578458
|
}, /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
@@ -578440,25 +578461,20 @@ function ModelTierPicker({
|
|
|
578440
578461
|
}, /* @__PURE__ */ React355.createElement(ThemedText, {
|
|
578441
578462
|
color: "cyan",
|
|
578442
578463
|
bold: true
|
|
578443
|
-
}, "Select model
|
|
578464
|
+
}, "Select model size"), /* @__PURE__ */ React355.createElement(ThemedText, {
|
|
578444
578465
|
dimColor: true
|
|
578445
|
-
}, "Currently: ", source_default.bold(renderModelName(
|
|
578466
|
+
}, "Currently: ", source_default.bold(renderModelName(currentModel ?? "gpt-5.4")))), /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
578446
578467
|
flexDirection: "column"
|
|
578447
578468
|
}, /* @__PURE__ */ React355.createElement(Select, {
|
|
578448
|
-
defaultValue:
|
|
578449
|
-
options,
|
|
578469
|
+
defaultValue: currentSize,
|
|
578470
|
+
options: SIZE_OPTIONS,
|
|
578450
578471
|
onChange: (value) => {
|
|
578451
|
-
|
|
578452
|
-
...prev,
|
|
578453
|
-
mainLoopModel: value,
|
|
578454
|
-
mainLoopModelForSession: null
|
|
578455
|
-
}));
|
|
578456
|
-
onDone(`Set model to ${source_default.bold(renderModelName(value))}`);
|
|
578472
|
+
setSelectedSize(value);
|
|
578457
578473
|
},
|
|
578458
578474
|
onCancel: () => onDone("Cancelled model selection", { display: "system" })
|
|
578459
578475
|
})));
|
|
578460
578476
|
}
|
|
578461
|
-
var React355;
|
|
578477
|
+
var React355, SIZE_OPTIONS, MODEL_OPTIONS, SMALL_MODELS;
|
|
578462
578478
|
var init_ModelTierPicker = __esm(() => {
|
|
578463
578479
|
init_source();
|
|
578464
578480
|
init_ink2();
|
|
@@ -578466,6 +578482,34 @@ var init_ModelTierPicker = __esm(() => {
|
|
|
578466
578482
|
init_model();
|
|
578467
578483
|
init_AppState();
|
|
578468
578484
|
React355 = __toESM(require_react(), 1);
|
|
578485
|
+
SIZE_OPTIONS = [
|
|
578486
|
+
{
|
|
578487
|
+
value: "large",
|
|
578488
|
+
label: "Large",
|
|
578489
|
+
description: "Full-size frontier models"
|
|
578490
|
+
},
|
|
578491
|
+
{
|
|
578492
|
+
value: "small",
|
|
578493
|
+
label: "Small",
|
|
578494
|
+
description: "Lighter, faster models"
|
|
578495
|
+
}
|
|
578496
|
+
];
|
|
578497
|
+
MODEL_OPTIONS = {
|
|
578498
|
+
large: [
|
|
578499
|
+
{ value: "gpt-5.4", label: "GPT-5.4", description: "Latest frontier agentic coding model" },
|
|
578500
|
+
{ value: "gpt-5.4-mini", label: "GPT-5.4 Mini", description: "Smaller frontier agentic coding model" },
|
|
578501
|
+
{ value: "gpt-5.3-codex", label: "GPT-5.3 Codex", description: "Frontier Codex-optimized agentic coding model" },
|
|
578502
|
+
{ value: "gpt-5.2-codex", label: "GPT-5.2 Codex", description: "Frontier agentic coding model" },
|
|
578503
|
+
{ value: "gpt-5.2", label: "GPT-5.2", description: "Optimized for professional work and long-running agents" },
|
|
578504
|
+
{ value: "gpt-5.1-codex-max", label: "GPT-5.1 Codex Max", description: "Codex-optimized model for deep and fast reasoning" }
|
|
578505
|
+
],
|
|
578506
|
+
small: [
|
|
578507
|
+
{ value: "gpt-5.3-codex-spark", label: "GPT-5.3 Codex Spark", description: "Ultra-fast coding model" },
|
|
578508
|
+
{ value: "gpt-5.4-mini", label: "GPT-5.4 Mini", description: "Smaller frontier agentic coding model" },
|
|
578509
|
+
{ value: "gpt-5.1-codex-mini", label: "GPT-5.1 Codex Mini", description: "Optimized for codex. Cheaper, faster, but less capable" }
|
|
578510
|
+
]
|
|
578511
|
+
};
|
|
578512
|
+
SMALL_MODELS = new Set(MODEL_OPTIONS.small.map((m2) => m2.value));
|
|
578469
578513
|
});
|
|
578470
578514
|
|
|
578471
578515
|
// src/commands/model/model.tsx
|
|
@@ -578611,18 +578655,18 @@ var import_react_compiler_runtime272, React356, call63 = async (onDone, _context
|
|
|
578611
578655
|
});
|
|
578612
578656
|
}
|
|
578613
578657
|
if (COMMON_HELP_ARGS.includes(args)) {
|
|
578614
|
-
onDone("Run /model to
|
|
578658
|
+
onDone("Run /model to select model size (Large/Small) and pick a model, or /model [modelName] to set directly.", {
|
|
578615
578659
|
display: "system"
|
|
578616
578660
|
});
|
|
578617
578661
|
return;
|
|
578618
578662
|
}
|
|
578619
578663
|
if (args === "?") {
|
|
578620
578664
|
const lines2 = [
|
|
578621
|
-
`Model
|
|
578622
|
-
`
|
|
578623
|
-
`
|
|
578665
|
+
`Model sizes:`,
|
|
578666
|
+
` Large: ${source_default.bold(renderModelName(getDefaultOpusModel()))} (default)`,
|
|
578667
|
+
` Small: ${source_default.bold(renderModelName(getDefaultHaikuModel()))} (default)`,
|
|
578624
578668
|
``,
|
|
578625
|
-
`Run /model to
|
|
578669
|
+
`Run /model to select size and model.`
|
|
578626
578670
|
];
|
|
578627
578671
|
onDone(lines2.join(`
|
|
578628
578672
|
`), { display: "system" });
|
|
@@ -584061,7 +584105,7 @@ function generateHtmlReport(data, insights) {
|
|
|
584061
584105
|
</html>`;
|
|
584062
584106
|
}
|
|
584063
584107
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
584064
|
-
const version3 = typeof MACRO !== "undefined" ? "0.1.
|
|
584108
|
+
const version3 = typeof MACRO !== "undefined" ? "0.1.9" : "unknown";
|
|
584065
584109
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
584066
584110
|
const facets_summary = {
|
|
584067
584111
|
total: facets.size,
|
|
@@ -588170,7 +588214,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
588170
588214
|
init_settings2();
|
|
588171
588215
|
init_slowOperations();
|
|
588172
588216
|
init_uuid();
|
|
588173
|
-
VERSION4 = typeof MACRO !== "undefined" ? "0.1.
|
|
588217
|
+
VERSION4 = typeof MACRO !== "undefined" ? "0.1.9" : "unknown";
|
|
588174
588218
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
588175
588219
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
588176
588220
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -589375,7 +589419,7 @@ var init_filesystem = __esm(() => {
|
|
|
589375
589419
|
});
|
|
589376
589420
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
589377
589421
|
const nonce = randomBytes20(16).toString("hex");
|
|
589378
|
-
return join139(getClaudeTempDir(), "bundled-skills", "0.1.
|
|
589422
|
+
return join139(getClaudeTempDir(), "bundled-skills", "0.1.9", nonce);
|
|
589379
589423
|
});
|
|
589380
589424
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
589381
589425
|
});
|
|
@@ -595365,7 +595409,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
595365
595409
|
}
|
|
595366
595410
|
function computeFingerprintFromMessages(messages) {
|
|
595367
595411
|
const firstMessageText = extractFirstMessageText(messages);
|
|
595368
|
-
return computeFingerprint(firstMessageText, "0.1.
|
|
595412
|
+
return computeFingerprint(firstMessageText, "0.1.9");
|
|
595369
595413
|
}
|
|
595370
595414
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
595371
595415
|
var init_fingerprint = () => {};
|
|
@@ -597269,7 +597313,7 @@ async function sideQuery(opts) {
|
|
|
597269
597313
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
597270
597314
|
}
|
|
597271
597315
|
const messageText = extractFirstUserMessageText(messages);
|
|
597272
|
-
const fingerprint = computeFingerprint(messageText, "0.1.
|
|
597316
|
+
const fingerprint = computeFingerprint(messageText, "0.1.9");
|
|
597273
597317
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
597274
597318
|
const systemBlocks = [
|
|
597275
597319
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -601842,7 +601886,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
601842
601886
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
601843
601887
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
601844
601888
|
betas: getSdkBetas(),
|
|
601845
|
-
claude_code_version: "0.1.
|
|
601889
|
+
claude_code_version: "0.1.9",
|
|
601846
601890
|
output_style: outputStyle2,
|
|
601847
601891
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
601848
601892
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -614989,7 +615033,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
614989
615033
|
function getSemverPart(version3) {
|
|
614990
615034
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
614991
615035
|
}
|
|
614992
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.1.
|
|
615036
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.1.9") {
|
|
614993
615037
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react338.useState(() => getSemverPart(initialVersion));
|
|
614994
615038
|
if (!updatedVersion) {
|
|
614995
615039
|
return null;
|
|
@@ -615029,7 +615073,7 @@ function AutoUpdater({
|
|
|
615029
615073
|
return;
|
|
615030
615074
|
}
|
|
615031
615075
|
if (false) {}
|
|
615032
|
-
const currentVersion = "0.1.
|
|
615076
|
+
const currentVersion = "0.1.9";
|
|
615033
615077
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
615034
615078
|
let latestVersion = await getLatestVersion(channel);
|
|
615035
615079
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -615214,12 +615258,12 @@ function NativeAutoUpdater({
|
|
|
615214
615258
|
logEvent("tengu_native_auto_updater_start", {});
|
|
615215
615259
|
try {
|
|
615216
615260
|
const maxVersion = await getMaxVersion();
|
|
615217
|
-
if (maxVersion && gt("0.1.
|
|
615261
|
+
if (maxVersion && gt("0.1.9", maxVersion)) {
|
|
615218
615262
|
const msg = await getMaxVersionMessage();
|
|
615219
615263
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
615220
615264
|
}
|
|
615221
615265
|
const result = await installLatest(channel);
|
|
615222
|
-
const currentVersion = "0.1.
|
|
615266
|
+
const currentVersion = "0.1.9";
|
|
615223
615267
|
const latencyMs = Date.now() - startTime;
|
|
615224
615268
|
if (result.lockFailed) {
|
|
615225
615269
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -615332,17 +615376,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
615332
615376
|
const maxVersion = await getMaxVersion();
|
|
615333
615377
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
615334
615378
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
615335
|
-
if (gte("0.1.
|
|
615336
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.
|
|
615379
|
+
if (gte("0.1.9", maxVersion)) {
|
|
615380
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
615337
615381
|
setUpdateAvailable(false);
|
|
615338
615382
|
return;
|
|
615339
615383
|
}
|
|
615340
615384
|
latest = maxVersion;
|
|
615341
615385
|
}
|
|
615342
|
-
const hasUpdate = latest && !gte("0.1.
|
|
615386
|
+
const hasUpdate = latest && !gte("0.1.9", latest) && !shouldSkipVersion(latest);
|
|
615343
615387
|
setUpdateAvailable(!!hasUpdate);
|
|
615344
615388
|
if (hasUpdate) {
|
|
615345
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.
|
|
615389
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.9"} -> ${latest}`);
|
|
615346
615390
|
}
|
|
615347
615391
|
};
|
|
615348
615392
|
$3[0] = t1;
|
|
@@ -615374,7 +615418,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
615374
615418
|
t4 = verbose && /* @__PURE__ */ React411.createElement(ThemedText, {
|
|
615375
615419
|
dimColor: true,
|
|
615376
615420
|
wrap: "truncate"
|
|
615377
|
-
}, "currentVersion: ", "0.1.
|
|
615421
|
+
}, "currentVersion: ", "0.1.9");
|
|
615378
615422
|
$3[3] = verbose;
|
|
615379
615423
|
$3[4] = t4;
|
|
615380
615424
|
} else {
|
|
@@ -622596,7 +622640,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
622596
622640
|
project_dir: getOriginalCwd(),
|
|
622597
622641
|
added_dirs: addedDirs
|
|
622598
622642
|
},
|
|
622599
|
-
version: "0.1.
|
|
622643
|
+
version: "0.1.9",
|
|
622600
622644
|
output_style: {
|
|
622601
622645
|
name: outputStyleName
|
|
622602
622646
|
},
|
|
@@ -642225,7 +642269,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
642225
642269
|
} catch {}
|
|
642226
642270
|
const data = {
|
|
642227
642271
|
trigger,
|
|
642228
|
-
version: "0.1.
|
|
642272
|
+
version: "0.1.9",
|
|
642229
642273
|
platform: process.platform,
|
|
642230
642274
|
transcript,
|
|
642231
642275
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -653367,7 +653411,7 @@ function WelcomeV2() {
|
|
|
653367
653411
|
color: "claude"
|
|
653368
653412
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653369
653413
|
dimColor: true
|
|
653370
|
-
}, "v", "0.1.
|
|
653414
|
+
}, "v", "0.1.9", " "));
|
|
653371
653415
|
t17 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
653372
653416
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
653373
653417
|
t32 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
@@ -653471,7 +653515,7 @@ function WelcomeV2() {
|
|
|
653471
653515
|
color: "claude"
|
|
653472
653516
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653473
653517
|
dimColor: true
|
|
653474
|
-
}, "v", "0.1.
|
|
653518
|
+
}, "v", "0.1.9", " "));
|
|
653475
653519
|
t1 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
653476
653520
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
653477
653521
|
t3 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " * █████▓▓░ ");
|
|
@@ -653598,7 +653642,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
653598
653642
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
653599
653643
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653600
653644
|
dimColor: true
|
|
653601
|
-
}, "v", "0.1.
|
|
653645
|
+
}, "v", "0.1.9", " ");
|
|
653602
653646
|
$3[2] = t22;
|
|
653603
653647
|
} else {
|
|
653604
653648
|
t22 = $3[2];
|
|
@@ -653736,7 +653780,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
653736
653780
|
if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
653737
653781
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653738
653782
|
dimColor: true
|
|
653739
|
-
}, "v", "0.1.
|
|
653783
|
+
}, "v", "0.1.9", " ");
|
|
653740
653784
|
$3[24] = t2;
|
|
653741
653785
|
} else {
|
|
653742
653786
|
t2 = $3[24];
|
|
@@ -654938,7 +654982,7 @@ function completeOnboarding() {
|
|
|
654938
654982
|
saveGlobalConfig((current) => ({
|
|
654939
654983
|
...current,
|
|
654940
654984
|
hasCompletedOnboarding: true,
|
|
654941
|
-
lastOnboardingVersion: "0.1.
|
|
654985
|
+
lastOnboardingVersion: "0.1.9"
|
|
654942
654986
|
}));
|
|
654943
654987
|
}
|
|
654944
654988
|
function showDialog(root2, renderer) {
|
|
@@ -659216,7 +659260,7 @@ function appendToLog(path24, message) {
|
|
|
659216
659260
|
cwd: getFsImplementation().cwd(),
|
|
659217
659261
|
userType: process.env.USER_TYPE,
|
|
659218
659262
|
sessionId: getSessionId(),
|
|
659219
|
-
version: "0.1.
|
|
659263
|
+
version: "0.1.9"
|
|
659220
659264
|
};
|
|
659221
659265
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
659222
659266
|
}
|
|
@@ -663201,8 +663245,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
663201
663245
|
}
|
|
663202
663246
|
async function checkEnvLessBridgeMinVersion() {
|
|
663203
663247
|
const cfg = await getEnvLessBridgeConfig();
|
|
663204
|
-
if (cfg.min_version && lt("0.1.
|
|
663205
|
-
return `Your version of codez (${"0.1.
|
|
663248
|
+
if (cfg.min_version && lt("0.1.9", cfg.min_version)) {
|
|
663249
|
+
return `Your version of codez (${"0.1.9"}) is too old for Remote Control.
|
|
663206
663250
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
663207
663251
|
}
|
|
663208
663252
|
return null;
|
|
@@ -663676,7 +663720,7 @@ async function initBridgeCore(params) {
|
|
|
663676
663720
|
const rawApi = createBridgeApiClient({
|
|
663677
663721
|
baseUrl,
|
|
663678
663722
|
getAccessToken,
|
|
663679
|
-
runnerVersion: "0.1.
|
|
663723
|
+
runnerVersion: "0.1.9",
|
|
663680
663724
|
onDebug: logForDebugging,
|
|
663681
663725
|
onAuth401,
|
|
663682
663726
|
getTrustedDeviceToken
|
|
@@ -668875,7 +668919,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
668875
668919
|
setCwd(cwd3);
|
|
668876
668920
|
const server = new Server({
|
|
668877
668921
|
name: "claude/tengu",
|
|
668878
|
-
version: "0.1.
|
|
668922
|
+
version: "0.1.9"
|
|
668879
668923
|
}, {
|
|
668880
668924
|
capabilities: {
|
|
668881
668925
|
tools: {}
|
|
@@ -670376,7 +670420,7 @@ __export(exports_update, {
|
|
|
670376
670420
|
});
|
|
670377
670421
|
async function update() {
|
|
670378
670422
|
logEvent("tengu_update_check", {});
|
|
670379
|
-
writeToStdout(`Current version: ${"0.1.
|
|
670423
|
+
writeToStdout(`Current version: ${"0.1.9"}
|
|
670380
670424
|
`);
|
|
670381
670425
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
670382
670426
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -670451,8 +670495,8 @@ async function update() {
|
|
|
670451
670495
|
writeToStdout(`Claude is managed by Homebrew.
|
|
670452
670496
|
`);
|
|
670453
670497
|
const latest = await getLatestVersion(channel);
|
|
670454
|
-
if (latest && !gte("0.1.
|
|
670455
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670498
|
+
if (latest && !gte("0.1.9", latest)) {
|
|
670499
|
+
writeToStdout(`Update available: ${"0.1.9"} → ${latest}
|
|
670456
670500
|
`);
|
|
670457
670501
|
writeToStdout(`
|
|
670458
670502
|
`);
|
|
@@ -670468,8 +670512,8 @@ async function update() {
|
|
|
670468
670512
|
writeToStdout(`Claude is managed by winget.
|
|
670469
670513
|
`);
|
|
670470
670514
|
const latest = await getLatestVersion(channel);
|
|
670471
|
-
if (latest && !gte("0.1.
|
|
670472
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670515
|
+
if (latest && !gte("0.1.9", latest)) {
|
|
670516
|
+
writeToStdout(`Update available: ${"0.1.9"} → ${latest}
|
|
670473
670517
|
`);
|
|
670474
670518
|
writeToStdout(`
|
|
670475
670519
|
`);
|
|
@@ -670485,8 +670529,8 @@ async function update() {
|
|
|
670485
670529
|
writeToStdout(`Claude is managed by apk.
|
|
670486
670530
|
`);
|
|
670487
670531
|
const latest = await getLatestVersion(channel);
|
|
670488
|
-
if (latest && !gte("0.1.
|
|
670489
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670532
|
+
if (latest && !gte("0.1.9", latest)) {
|
|
670533
|
+
writeToStdout(`Update available: ${"0.1.9"} → ${latest}
|
|
670490
670534
|
`);
|
|
670491
670535
|
writeToStdout(`
|
|
670492
670536
|
`);
|
|
@@ -670551,11 +670595,11 @@ async function update() {
|
|
|
670551
670595
|
`);
|
|
670552
670596
|
await gracefulShutdown(1);
|
|
670553
670597
|
}
|
|
670554
|
-
if (result.latestVersion === "0.1.
|
|
670555
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
670598
|
+
if (result.latestVersion === "0.1.9") {
|
|
670599
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.9"})`) + `
|
|
670556
670600
|
`);
|
|
670557
670601
|
} else {
|
|
670558
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
670602
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.9"} to version ${result.latestVersion}`) + `
|
|
670559
670603
|
`);
|
|
670560
670604
|
await regenerateCompletionCache();
|
|
670561
670605
|
}
|
|
@@ -670615,12 +670659,12 @@ async function update() {
|
|
|
670615
670659
|
`);
|
|
670616
670660
|
await gracefulShutdown(1);
|
|
670617
670661
|
}
|
|
670618
|
-
if (latestVersion === "0.1.
|
|
670619
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
670662
|
+
if (latestVersion === "0.1.9") {
|
|
670663
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.9"})`) + `
|
|
670620
670664
|
`);
|
|
670621
670665
|
await gracefulShutdown(0);
|
|
670622
670666
|
}
|
|
670623
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.
|
|
670667
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.9"})
|
|
670624
670668
|
`);
|
|
670625
670669
|
writeToStdout(`Installing update...
|
|
670626
670670
|
`);
|
|
@@ -670665,7 +670709,7 @@ async function update() {
|
|
|
670665
670709
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
670666
670710
|
switch (status2) {
|
|
670667
670711
|
case "success":
|
|
670668
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
670712
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.9"} to version ${latestVersion}`) + `
|
|
670669
670713
|
`);
|
|
670670
670714
|
await regenerateCompletionCache();
|
|
670671
670715
|
break;
|
|
@@ -671909,7 +671953,7 @@ ${customInstructions}` : customInstructions;
|
|
|
671909
671953
|
}
|
|
671910
671954
|
}
|
|
671911
671955
|
logForDiagnosticsNoPII("info", "started", {
|
|
671912
|
-
version: "0.1.
|
|
671956
|
+
version: "0.1.9",
|
|
671913
671957
|
is_native_binary: isInBundledMode()
|
|
671914
671958
|
});
|
|
671915
671959
|
registerCleanup(async () => {
|
|
@@ -672693,7 +672737,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
672693
672737
|
pendingHookMessages
|
|
672694
672738
|
}, renderAndRun);
|
|
672695
672739
|
}
|
|
672696
|
-
}).version("0.1.
|
|
672740
|
+
}).version("0.1.9", "-v, --version", "Output the version number");
|
|
672697
672741
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
672698
672742
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
672699
672743
|
if (canUserConfigureAdvisor()) {
|
|
@@ -673206,7 +673250,7 @@ async function main2() {
|
|
|
673206
673250
|
const args = process.argv.slice(2);
|
|
673207
673251
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
673208
673252
|
const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
|
|
673209
|
-
console.log(`${"0.1.
|
|
673253
|
+
console.log(`${"0.1.9"} (${label})`);
|
|
673210
673254
|
return;
|
|
673211
673255
|
}
|
|
673212
673256
|
const {
|
|
@@ -673290,4 +673334,4 @@ async function main2() {
|
|
|
673290
673334
|
}
|
|
673291
673335
|
main2();
|
|
673292
673336
|
|
|
673293
|
-
//# debugId=
|
|
673337
|
+
//# debugId=0917E8BEF005B8FC64756E2164756E21
|