codez-cli 0.1.8 → 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 +167 -129
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -71804,7 +71804,7 @@ function getDefaultMainLoopModelSetting() {
|
|
|
71804
71804
|
if (process.env.USER_TYPE === "ant") {
|
|
71805
71805
|
return getAntModelOverrideConfig()?.defaultModel ?? getDefaultOpusModel();
|
|
71806
71806
|
}
|
|
71807
|
-
return
|
|
71807
|
+
return getDefaultOpusModel();
|
|
71808
71808
|
}
|
|
71809
71809
|
function getDefaultMainLoopModel() {
|
|
71810
71810
|
return parseUserSpecifiedModel(getDefaultMainLoopModelSetting());
|
|
@@ -71820,7 +71820,7 @@ function getCanonicalName(fullModelName) {
|
|
|
71820
71820
|
return firstPartyNameToCanonical(resolveOverriddenModel(fullModelName));
|
|
71821
71821
|
}
|
|
71822
71822
|
function getClaudeAiUserDefaultModelDescription(fastMode = false) {
|
|
71823
|
-
return `GPT-5.4
|
|
71823
|
+
return `GPT-5.4 · Most capable for complex work`;
|
|
71824
71824
|
}
|
|
71825
71825
|
function renderDefaultModelSetting(setting) {
|
|
71826
71826
|
if (setting === "opusplan") {
|
|
@@ -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,
|
|
@@ -475417,11 +475417,6 @@ function getOpenAIModelOptions() {
|
|
|
475417
475417
|
label: "GPT-5.4",
|
|
475418
475418
|
description: "Latest frontier agentic coding model"
|
|
475419
475419
|
},
|
|
475420
|
-
{
|
|
475421
|
-
value: "gpt-5.4[1m]",
|
|
475422
|
-
label: "GPT-5.4 [1M]",
|
|
475423
|
-
description: "GPT-5.4 with 1M token context window"
|
|
475424
|
-
},
|
|
475425
475420
|
{
|
|
475426
475421
|
value: "gpt-5.4-mini",
|
|
475427
475422
|
label: "GPT-5.4 Mini",
|
|
@@ -489355,7 +489350,7 @@ function getAnthropicEnvMetadata() {
|
|
|
489355
489350
|
function getBuildAgeMinutes() {
|
|
489356
489351
|
if (false)
|
|
489357
489352
|
;
|
|
489358
|
-
const buildTime = new Date("2026-04-02T00:
|
|
489353
|
+
const buildTime = new Date("2026-04-02T00:41:43.026Z").getTime();
|
|
489359
489354
|
if (isNaN(buildTime))
|
|
489360
489355
|
return;
|
|
489361
489356
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -491687,8 +491682,6 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
|
|
|
491687
491682
|
const hasFunctionTools = oaiTools.some((t) => t.type === "function");
|
|
491688
491683
|
let params;
|
|
491689
491684
|
const promptCacheKey = getSessionId() || undefined;
|
|
491690
|
-
const is1mContext = has1mContext(options.model);
|
|
491691
|
-
const contextWindowParams = is1mContext ? { model_context_window: 1050000, model_auto_compact_token_limit: 840000 } : {};
|
|
491692
491685
|
if (client2.isOAuthChatgpt) {
|
|
491693
491686
|
params = {
|
|
491694
491687
|
model: openaiModel,
|
|
@@ -491701,8 +491694,7 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
|
|
|
491701
491694
|
store: false,
|
|
491702
491695
|
stream: true,
|
|
491703
491696
|
include: reasoning ? ["reasoning.encrypted_content"] : [],
|
|
491704
|
-
prompt_cache_key: promptCacheKey
|
|
491705
|
-
...contextWindowParams
|
|
491697
|
+
prompt_cache_key: promptCacheKey
|
|
491706
491698
|
};
|
|
491707
491699
|
} else {
|
|
491708
491700
|
const maxOutputTokens = options.maxOutputTokensOverride || MAX_OUTPUT_TOKENS[openaiModel] || 16384;
|
|
@@ -491719,8 +491711,7 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
|
|
|
491719
491711
|
reasoning,
|
|
491720
491712
|
previous_response_id: usePreviousResponseId ? _lastResponseId : undefined,
|
|
491721
491713
|
store: true,
|
|
491722
|
-
prompt_cache_key: promptCacheKey
|
|
491723
|
-
...contextWindowParams
|
|
491714
|
+
prompt_cache_key: promptCacheKey
|
|
491724
491715
|
};
|
|
491725
491716
|
}
|
|
491726
491717
|
logForDebugging(`[OpenAI] Request: model=${openaiModel} input=${input.length} items (${usePreviousResponseId ? "incremental, chain=" + _lastResponseId : "full"}) tools=${oaiTools.length}`);
|
|
@@ -492262,7 +492253,6 @@ var init_openai_query = __esm(() => {
|
|
|
492262
492253
|
init_openai_adapter();
|
|
492263
492254
|
init_effort();
|
|
492264
492255
|
init_state();
|
|
492265
|
-
init_context();
|
|
492266
492256
|
MAX_OUTPUT_TOKENS = {
|
|
492267
492257
|
"gpt-5.4": 32768,
|
|
492268
492258
|
"gpt-5.4-mini": 16384,
|
|
@@ -513706,7 +513696,7 @@ function Feedback({
|
|
|
513706
513696
|
platform: env4.platform,
|
|
513707
513697
|
gitRepo: envInfo.isGit,
|
|
513708
513698
|
terminal: env4.terminal,
|
|
513709
|
-
version: "0.1.
|
|
513699
|
+
version: "0.1.9",
|
|
513710
513700
|
transcript: normalizeMessagesForAPI(messages),
|
|
513711
513701
|
errors: sanitizedErrors,
|
|
513712
513702
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -513845,7 +513835,7 @@ function Feedback({
|
|
|
513845
513835
|
dimColor: true
|
|
513846
513836
|
}, description)), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Environment info:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
513847
513837
|
dimColor: true
|
|
513848
|
-
}, 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, {
|
|
513849
513839
|
dimColor: true
|
|
513850
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, {
|
|
513851
513841
|
marginTop: 1
|
|
@@ -513882,7 +513872,7 @@ ${sanitizedDescription}
|
|
|
513882
513872
|
` + `**Environment Info**
|
|
513883
513873
|
` + `- Platform: ${env4.platform}
|
|
513884
513874
|
` + `- Terminal: ${env4.terminal}
|
|
513885
|
-
` + `- Version: ${"0.1.
|
|
513875
|
+
` + `- Version: ${"0.1.9"}
|
|
513886
513876
|
` + `- Feedback ID: ${feedbackId}
|
|
513887
513877
|
` + `
|
|
513888
513878
|
**Errors**
|
|
@@ -516943,7 +516933,7 @@ function buildPrimarySection() {
|
|
|
516943
516933
|
}, "/rename to add a name");
|
|
516944
516934
|
return [{
|
|
516945
516935
|
label: "Version",
|
|
516946
|
-
value: "0.1.
|
|
516936
|
+
value: "0.1.9"
|
|
516947
516937
|
}, {
|
|
516948
516938
|
label: "Session name",
|
|
516949
516939
|
value: nameValue
|
|
@@ -520347,7 +520337,7 @@ function Config({
|
|
|
520347
520337
|
});
|
|
520348
520338
|
}
|
|
520349
520339
|
})) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ React182.createElement(ChannelDowngradeDialog, {
|
|
520350
|
-
currentVersion: "0.1.
|
|
520340
|
+
currentVersion: "0.1.9",
|
|
520351
520341
|
onChoice: (choice) => {
|
|
520352
520342
|
setShowSubmenu(null);
|
|
520353
520343
|
setTabsHidden(false);
|
|
@@ -520359,7 +520349,7 @@ function Config({
|
|
|
520359
520349
|
autoUpdatesChannel: "stable"
|
|
520360
520350
|
};
|
|
520361
520351
|
if (choice === "stay") {
|
|
520362
|
-
newSettings.minimumVersion = "0.1.
|
|
520352
|
+
newSettings.minimumVersion = "0.1.9";
|
|
520363
520353
|
}
|
|
520364
520354
|
updateSettingsForSource("userSettings", newSettings);
|
|
520365
520355
|
setSettingsData((prev_27) => ({
|
|
@@ -527120,7 +527110,7 @@ function HelpV2(t0) {
|
|
|
527120
527110
|
let t6;
|
|
527121
527111
|
if ($3[31] !== tabs) {
|
|
527122
527112
|
t6 = /* @__PURE__ */ React209.createElement(Tabs, {
|
|
527123
|
-
title: `codez v${"0.1.
|
|
527113
|
+
title: `codez v${"0.1.9"}`,
|
|
527124
527114
|
color: "professionalBlue",
|
|
527125
527115
|
defaultTab: "general"
|
|
527126
527116
|
}, tabs);
|
|
@@ -548514,7 +548504,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
548514
548504
|
return [];
|
|
548515
548505
|
}
|
|
548516
548506
|
}
|
|
548517
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.
|
|
548507
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.9") {
|
|
548518
548508
|
if (process.env.USER_TYPE === "ant") {
|
|
548519
548509
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
548520
548510
|
if (changelog) {
|
|
@@ -548541,7 +548531,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.7") {
|
|
|
548541
548531
|
releaseNotes
|
|
548542
548532
|
};
|
|
548543
548533
|
}
|
|
548544
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.
|
|
548534
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.9") {
|
|
548545
548535
|
if (process.env.USER_TYPE === "ant") {
|
|
548546
548536
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
548547
548537
|
if (changelog) {
|
|
@@ -549711,7 +549701,7 @@ function getRecentActivitySync() {
|
|
|
549711
549701
|
return cachedActivity;
|
|
549712
549702
|
}
|
|
549713
549703
|
function getLogoDisplayData() {
|
|
549714
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
549704
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.9";
|
|
549715
549705
|
const serverUrl = getDirectConnectServerUrl();
|
|
549716
549706
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
549717
549707
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -551087,7 +551077,7 @@ function LogoV2() {
|
|
|
551087
551077
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
551088
551078
|
t2 = () => {
|
|
551089
551079
|
const currentConfig = getGlobalConfig();
|
|
551090
|
-
if (currentConfig.lastReleaseNotesSeen === "0.1.
|
|
551080
|
+
if (currentConfig.lastReleaseNotesSeen === "0.1.9") {
|
|
551091
551081
|
return;
|
|
551092
551082
|
}
|
|
551093
551083
|
saveGlobalConfig(_temp329);
|
|
@@ -551625,12 +551615,12 @@ function LogoV2() {
|
|
|
551625
551615
|
return t41;
|
|
551626
551616
|
}
|
|
551627
551617
|
function _temp329(current) {
|
|
551628
|
-
if (current.lastReleaseNotesSeen === "0.1.
|
|
551618
|
+
if (current.lastReleaseNotesSeen === "0.1.9") {
|
|
551629
551619
|
return current;
|
|
551630
551620
|
}
|
|
551631
551621
|
return {
|
|
551632
551622
|
...current,
|
|
551633
|
-
lastReleaseNotesSeen: "0.1.
|
|
551623
|
+
lastReleaseNotesSeen: "0.1.9"
|
|
551634
551624
|
};
|
|
551635
551625
|
}
|
|
551636
551626
|
function _temp245(s_0) {
|
|
@@ -575311,7 +575301,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
575311
575301
|
smapsRollup,
|
|
575312
575302
|
platform: process.platform,
|
|
575313
575303
|
nodeVersion: process.version,
|
|
575314
|
-
ccVersion: "0.1.
|
|
575304
|
+
ccVersion: "0.1.9"
|
|
575315
575305
|
};
|
|
575316
575306
|
}
|
|
575317
575307
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -575897,7 +575887,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
575897
575887
|
var call56 = async () => {
|
|
575898
575888
|
return {
|
|
575899
575889
|
type: "text",
|
|
575900
|
-
value: `${"0.1.
|
|
575890
|
+
value: `${"0.1.9"} (built ${"2026-04-02T00:41:43.026Z"})`
|
|
575901
575891
|
};
|
|
575902
575892
|
}, version2, version_default;
|
|
575903
575893
|
var init_version = __esm(() => {
|
|
@@ -578422,55 +578412,104 @@ var init_export2 = __esm(() => {
|
|
|
578422
578412
|
});
|
|
578423
578413
|
|
|
578424
578414
|
// src/components/ModelTierPicker.tsx
|
|
578425
|
-
function
|
|
578426
|
-
|
|
578427
|
-
|
|
578428
|
-
|
|
578429
|
-
label: opt.label,
|
|
578430
|
-
description: opt.description
|
|
578431
|
-
}));
|
|
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";
|
|
578432
578419
|
}
|
|
578433
578420
|
function ModelTierPicker({
|
|
578434
578421
|
onDone
|
|
578435
578422
|
}) {
|
|
578436
578423
|
const setAppState = useSetAppState();
|
|
578437
578424
|
const currentModel = useAppState((s) => s.mainLoopModel);
|
|
578438
|
-
const
|
|
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);
|
|
578439
578456
|
return /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
578440
578457
|
flexDirection: "column"
|
|
578441
578458
|
}, /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
578442
578459
|
marginBottom: 1,
|
|
578443
578460
|
flexDirection: "column"
|
|
578444
578461
|
}, /* @__PURE__ */ React355.createElement(ThemedText, {
|
|
578445
|
-
color: "
|
|
578462
|
+
color: "cyan",
|
|
578446
578463
|
bold: true
|
|
578447
|
-
}, "Select model"), /* @__PURE__ */ React355.createElement(ThemedText, {
|
|
578464
|
+
}, "Select model size"), /* @__PURE__ */ React355.createElement(ThemedText, {
|
|
578448
578465
|
dimColor: true
|
|
578449
|
-
}, "Currently: ", source_default.bold(renderModelName(currentModel ?? "
|
|
578466
|
+
}, "Currently: ", source_default.bold(renderModelName(currentModel ?? "gpt-5.4")))), /* @__PURE__ */ React355.createElement(ThemedBox_default, {
|
|
578450
578467
|
flexDirection: "column"
|
|
578451
578468
|
}, /* @__PURE__ */ React355.createElement(Select, {
|
|
578452
|
-
defaultValue:
|
|
578453
|
-
options:
|
|
578469
|
+
defaultValue: currentSize,
|
|
578470
|
+
options: SIZE_OPTIONS,
|
|
578454
578471
|
onChange: (value) => {
|
|
578455
|
-
|
|
578456
|
-
...prev,
|
|
578457
|
-
mainLoopModel: value,
|
|
578458
|
-
mainLoopModelForSession: null
|
|
578459
|
-
}));
|
|
578460
|
-
onDone(`Set model to ${source_default.bold(renderModelName(value))}`);
|
|
578472
|
+
setSelectedSize(value);
|
|
578461
578473
|
},
|
|
578462
578474
|
onCancel: () => onDone("Cancelled model selection", { display: "system" })
|
|
578463
578475
|
})));
|
|
578464
578476
|
}
|
|
578465
|
-
var React355;
|
|
578477
|
+
var React355, SIZE_OPTIONS, MODEL_OPTIONS, SMALL_MODELS;
|
|
578466
578478
|
var init_ModelTierPicker = __esm(() => {
|
|
578467
578479
|
init_source();
|
|
578468
578480
|
init_ink2();
|
|
578469
578481
|
init_CustomSelect();
|
|
578470
578482
|
init_model();
|
|
578471
|
-
init_modelOptions();
|
|
578472
578483
|
init_AppState();
|
|
578473
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));
|
|
578474
578513
|
});
|
|
578475
578514
|
|
|
578476
578515
|
// src/commands/model/model.tsx
|
|
@@ -578616,19 +578655,18 @@ var import_react_compiler_runtime272, React356, call63 = async (onDone, _context
|
|
|
578616
578655
|
});
|
|
578617
578656
|
}
|
|
578618
578657
|
if (COMMON_HELP_ARGS.includes(args)) {
|
|
578619
|
-
onDone("Run /model to
|
|
578658
|
+
onDone("Run /model to select model size (Large/Small) and pick a model, or /model [modelName] to set directly.", {
|
|
578620
578659
|
display: "system"
|
|
578621
578660
|
});
|
|
578622
578661
|
return;
|
|
578623
578662
|
}
|
|
578624
578663
|
if (args === "?") {
|
|
578625
578664
|
const lines2 = [
|
|
578626
|
-
`Model
|
|
578627
|
-
`
|
|
578628
|
-
`
|
|
578629
|
-
` Mini: ${source_default.bold(renderModelName(getDefaultHaikuModel()))} (minimal-cost tasks)`,
|
|
578665
|
+
`Model sizes:`,
|
|
578666
|
+
` Large: ${source_default.bold(renderModelName(getDefaultOpusModel()))} (default)`,
|
|
578667
|
+
` Small: ${source_default.bold(renderModelName(getDefaultHaikuModel()))} (default)`,
|
|
578630
578668
|
``,
|
|
578631
|
-
`Run /model to
|
|
578669
|
+
`Run /model to select size and model.`
|
|
578632
578670
|
];
|
|
578633
578671
|
onDone(lines2.join(`
|
|
578634
578672
|
`), { display: "system" });
|
|
@@ -584067,7 +584105,7 @@ function generateHtmlReport(data, insights) {
|
|
|
584067
584105
|
</html>`;
|
|
584068
584106
|
}
|
|
584069
584107
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
584070
|
-
const version3 = typeof MACRO !== "undefined" ? "0.1.
|
|
584108
|
+
const version3 = typeof MACRO !== "undefined" ? "0.1.9" : "unknown";
|
|
584071
584109
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
584072
584110
|
const facets_summary = {
|
|
584073
584111
|
total: facets.size,
|
|
@@ -588176,7 +588214,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
588176
588214
|
init_settings2();
|
|
588177
588215
|
init_slowOperations();
|
|
588178
588216
|
init_uuid();
|
|
588179
|
-
VERSION4 = typeof MACRO !== "undefined" ? "0.1.
|
|
588217
|
+
VERSION4 = typeof MACRO !== "undefined" ? "0.1.9" : "unknown";
|
|
588180
588218
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
588181
588219
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
588182
588220
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -589381,7 +589419,7 @@ var init_filesystem = __esm(() => {
|
|
|
589381
589419
|
});
|
|
589382
589420
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
589383
589421
|
const nonce = randomBytes20(16).toString("hex");
|
|
589384
|
-
return join139(getClaudeTempDir(), "bundled-skills", "0.1.
|
|
589422
|
+
return join139(getClaudeTempDir(), "bundled-skills", "0.1.9", nonce);
|
|
589385
589423
|
});
|
|
589386
589424
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
589387
589425
|
});
|
|
@@ -595371,7 +595409,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
595371
595409
|
}
|
|
595372
595410
|
function computeFingerprintFromMessages(messages) {
|
|
595373
595411
|
const firstMessageText = extractFirstMessageText(messages);
|
|
595374
|
-
return computeFingerprint(firstMessageText, "0.1.
|
|
595412
|
+
return computeFingerprint(firstMessageText, "0.1.9");
|
|
595375
595413
|
}
|
|
595376
595414
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
595377
595415
|
var init_fingerprint = () => {};
|
|
@@ -597275,7 +597313,7 @@ async function sideQuery(opts) {
|
|
|
597275
597313
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
597276
597314
|
}
|
|
597277
597315
|
const messageText = extractFirstUserMessageText(messages);
|
|
597278
|
-
const fingerprint = computeFingerprint(messageText, "0.1.
|
|
597316
|
+
const fingerprint = computeFingerprint(messageText, "0.1.9");
|
|
597279
597317
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
597280
597318
|
const systemBlocks = [
|
|
597281
597319
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -601848,7 +601886,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
601848
601886
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
601849
601887
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
601850
601888
|
betas: getSdkBetas(),
|
|
601851
|
-
claude_code_version: "0.1.
|
|
601889
|
+
claude_code_version: "0.1.9",
|
|
601852
601890
|
output_style: outputStyle2,
|
|
601853
601891
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
601854
601892
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -614995,7 +615033,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
614995
615033
|
function getSemverPart(version3) {
|
|
614996
615034
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
614997
615035
|
}
|
|
614998
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.1.
|
|
615036
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.1.9") {
|
|
614999
615037
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react338.useState(() => getSemverPart(initialVersion));
|
|
615000
615038
|
if (!updatedVersion) {
|
|
615001
615039
|
return null;
|
|
@@ -615035,7 +615073,7 @@ function AutoUpdater({
|
|
|
615035
615073
|
return;
|
|
615036
615074
|
}
|
|
615037
615075
|
if (false) {}
|
|
615038
|
-
const currentVersion = "0.1.
|
|
615076
|
+
const currentVersion = "0.1.9";
|
|
615039
615077
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
615040
615078
|
let latestVersion = await getLatestVersion(channel);
|
|
615041
615079
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -615220,12 +615258,12 @@ function NativeAutoUpdater({
|
|
|
615220
615258
|
logEvent("tengu_native_auto_updater_start", {});
|
|
615221
615259
|
try {
|
|
615222
615260
|
const maxVersion = await getMaxVersion();
|
|
615223
|
-
if (maxVersion && gt("0.1.
|
|
615261
|
+
if (maxVersion && gt("0.1.9", maxVersion)) {
|
|
615224
615262
|
const msg = await getMaxVersionMessage();
|
|
615225
615263
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
615226
615264
|
}
|
|
615227
615265
|
const result = await installLatest(channel);
|
|
615228
|
-
const currentVersion = "0.1.
|
|
615266
|
+
const currentVersion = "0.1.9";
|
|
615229
615267
|
const latencyMs = Date.now() - startTime;
|
|
615230
615268
|
if (result.lockFailed) {
|
|
615231
615269
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -615338,17 +615376,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
615338
615376
|
const maxVersion = await getMaxVersion();
|
|
615339
615377
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
615340
615378
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
615341
|
-
if (gte("0.1.
|
|
615342
|
-
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`);
|
|
615343
615381
|
setUpdateAvailable(false);
|
|
615344
615382
|
return;
|
|
615345
615383
|
}
|
|
615346
615384
|
latest = maxVersion;
|
|
615347
615385
|
}
|
|
615348
|
-
const hasUpdate = latest && !gte("0.1.
|
|
615386
|
+
const hasUpdate = latest && !gte("0.1.9", latest) && !shouldSkipVersion(latest);
|
|
615349
615387
|
setUpdateAvailable(!!hasUpdate);
|
|
615350
615388
|
if (hasUpdate) {
|
|
615351
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.
|
|
615389
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.9"} -> ${latest}`);
|
|
615352
615390
|
}
|
|
615353
615391
|
};
|
|
615354
615392
|
$3[0] = t1;
|
|
@@ -615380,7 +615418,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
615380
615418
|
t4 = verbose && /* @__PURE__ */ React411.createElement(ThemedText, {
|
|
615381
615419
|
dimColor: true,
|
|
615382
615420
|
wrap: "truncate"
|
|
615383
|
-
}, "currentVersion: ", "0.1.
|
|
615421
|
+
}, "currentVersion: ", "0.1.9");
|
|
615384
615422
|
$3[3] = verbose;
|
|
615385
615423
|
$3[4] = t4;
|
|
615386
615424
|
} else {
|
|
@@ -622602,7 +622640,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
622602
622640
|
project_dir: getOriginalCwd(),
|
|
622603
622641
|
added_dirs: addedDirs
|
|
622604
622642
|
},
|
|
622605
|
-
version: "0.1.
|
|
622643
|
+
version: "0.1.9",
|
|
622606
622644
|
output_style: {
|
|
622607
622645
|
name: outputStyleName
|
|
622608
622646
|
},
|
|
@@ -642231,7 +642269,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
642231
642269
|
} catch {}
|
|
642232
642270
|
const data = {
|
|
642233
642271
|
trigger,
|
|
642234
|
-
version: "0.1.
|
|
642272
|
+
version: "0.1.9",
|
|
642235
642273
|
platform: process.platform,
|
|
642236
642274
|
transcript,
|
|
642237
642275
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -653373,7 +653411,7 @@ function WelcomeV2() {
|
|
|
653373
653411
|
color: "claude"
|
|
653374
653412
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653375
653413
|
dimColor: true
|
|
653376
|
-
}, "v", "0.1.
|
|
653414
|
+
}, "v", "0.1.9", " "));
|
|
653377
653415
|
t17 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
653378
653416
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
653379
653417
|
t32 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
@@ -653477,7 +653515,7 @@ function WelcomeV2() {
|
|
|
653477
653515
|
color: "claude"
|
|
653478
653516
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653479
653517
|
dimColor: true
|
|
653480
|
-
}, "v", "0.1.
|
|
653518
|
+
}, "v", "0.1.9", " "));
|
|
653481
653519
|
t1 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
653482
653520
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
653483
653521
|
t3 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " * █████▓▓░ ");
|
|
@@ -653604,7 +653642,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
653604
653642
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
653605
653643
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653606
653644
|
dimColor: true
|
|
653607
|
-
}, "v", "0.1.
|
|
653645
|
+
}, "v", "0.1.9", " ");
|
|
653608
653646
|
$3[2] = t22;
|
|
653609
653647
|
} else {
|
|
653610
653648
|
t22 = $3[2];
|
|
@@ -653742,7 +653780,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
653742
653780
|
if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
653743
653781
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653744
653782
|
dimColor: true
|
|
653745
|
-
}, "v", "0.1.
|
|
653783
|
+
}, "v", "0.1.9", " ");
|
|
653746
653784
|
$3[24] = t2;
|
|
653747
653785
|
} else {
|
|
653748
653786
|
t2 = $3[24];
|
|
@@ -654944,7 +654982,7 @@ function completeOnboarding() {
|
|
|
654944
654982
|
saveGlobalConfig((current) => ({
|
|
654945
654983
|
...current,
|
|
654946
654984
|
hasCompletedOnboarding: true,
|
|
654947
|
-
lastOnboardingVersion: "0.1.
|
|
654985
|
+
lastOnboardingVersion: "0.1.9"
|
|
654948
654986
|
}));
|
|
654949
654987
|
}
|
|
654950
654988
|
function showDialog(root2, renderer) {
|
|
@@ -659222,7 +659260,7 @@ function appendToLog(path24, message) {
|
|
|
659222
659260
|
cwd: getFsImplementation().cwd(),
|
|
659223
659261
|
userType: process.env.USER_TYPE,
|
|
659224
659262
|
sessionId: getSessionId(),
|
|
659225
|
-
version: "0.1.
|
|
659263
|
+
version: "0.1.9"
|
|
659226
659264
|
};
|
|
659227
659265
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
659228
659266
|
}
|
|
@@ -663207,8 +663245,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
663207
663245
|
}
|
|
663208
663246
|
async function checkEnvLessBridgeMinVersion() {
|
|
663209
663247
|
const cfg = await getEnvLessBridgeConfig();
|
|
663210
|
-
if (cfg.min_version && lt("0.1.
|
|
663211
|
-
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.
|
|
663212
663250
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
663213
663251
|
}
|
|
663214
663252
|
return null;
|
|
@@ -663682,7 +663720,7 @@ async function initBridgeCore(params) {
|
|
|
663682
663720
|
const rawApi = createBridgeApiClient({
|
|
663683
663721
|
baseUrl,
|
|
663684
663722
|
getAccessToken,
|
|
663685
|
-
runnerVersion: "0.1.
|
|
663723
|
+
runnerVersion: "0.1.9",
|
|
663686
663724
|
onDebug: logForDebugging,
|
|
663687
663725
|
onAuth401,
|
|
663688
663726
|
getTrustedDeviceToken
|
|
@@ -668881,7 +668919,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
668881
668919
|
setCwd(cwd3);
|
|
668882
668920
|
const server = new Server({
|
|
668883
668921
|
name: "claude/tengu",
|
|
668884
|
-
version: "0.1.
|
|
668922
|
+
version: "0.1.9"
|
|
668885
668923
|
}, {
|
|
668886
668924
|
capabilities: {
|
|
668887
668925
|
tools: {}
|
|
@@ -670382,7 +670420,7 @@ __export(exports_update, {
|
|
|
670382
670420
|
});
|
|
670383
670421
|
async function update() {
|
|
670384
670422
|
logEvent("tengu_update_check", {});
|
|
670385
|
-
writeToStdout(`Current version: ${"0.1.
|
|
670423
|
+
writeToStdout(`Current version: ${"0.1.9"}
|
|
670386
670424
|
`);
|
|
670387
670425
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
670388
670426
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -670457,8 +670495,8 @@ async function update() {
|
|
|
670457
670495
|
writeToStdout(`Claude is managed by Homebrew.
|
|
670458
670496
|
`);
|
|
670459
670497
|
const latest = await getLatestVersion(channel);
|
|
670460
|
-
if (latest && !gte("0.1.
|
|
670461
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670498
|
+
if (latest && !gte("0.1.9", latest)) {
|
|
670499
|
+
writeToStdout(`Update available: ${"0.1.9"} → ${latest}
|
|
670462
670500
|
`);
|
|
670463
670501
|
writeToStdout(`
|
|
670464
670502
|
`);
|
|
@@ -670474,8 +670512,8 @@ async function update() {
|
|
|
670474
670512
|
writeToStdout(`Claude is managed by winget.
|
|
670475
670513
|
`);
|
|
670476
670514
|
const latest = await getLatestVersion(channel);
|
|
670477
|
-
if (latest && !gte("0.1.
|
|
670478
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670515
|
+
if (latest && !gte("0.1.9", latest)) {
|
|
670516
|
+
writeToStdout(`Update available: ${"0.1.9"} → ${latest}
|
|
670479
670517
|
`);
|
|
670480
670518
|
writeToStdout(`
|
|
670481
670519
|
`);
|
|
@@ -670491,8 +670529,8 @@ async function update() {
|
|
|
670491
670529
|
writeToStdout(`Claude is managed by apk.
|
|
670492
670530
|
`);
|
|
670493
670531
|
const latest = await getLatestVersion(channel);
|
|
670494
|
-
if (latest && !gte("0.1.
|
|
670495
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670532
|
+
if (latest && !gte("0.1.9", latest)) {
|
|
670533
|
+
writeToStdout(`Update available: ${"0.1.9"} → ${latest}
|
|
670496
670534
|
`);
|
|
670497
670535
|
writeToStdout(`
|
|
670498
670536
|
`);
|
|
@@ -670557,11 +670595,11 @@ async function update() {
|
|
|
670557
670595
|
`);
|
|
670558
670596
|
await gracefulShutdown(1);
|
|
670559
670597
|
}
|
|
670560
|
-
if (result.latestVersion === "0.1.
|
|
670561
|
-
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"})`) + `
|
|
670562
670600
|
`);
|
|
670563
670601
|
} else {
|
|
670564
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
670602
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.9"} to version ${result.latestVersion}`) + `
|
|
670565
670603
|
`);
|
|
670566
670604
|
await regenerateCompletionCache();
|
|
670567
670605
|
}
|
|
@@ -670621,12 +670659,12 @@ async function update() {
|
|
|
670621
670659
|
`);
|
|
670622
670660
|
await gracefulShutdown(1);
|
|
670623
670661
|
}
|
|
670624
|
-
if (latestVersion === "0.1.
|
|
670625
|
-
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"})`) + `
|
|
670626
670664
|
`);
|
|
670627
670665
|
await gracefulShutdown(0);
|
|
670628
670666
|
}
|
|
670629
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.
|
|
670667
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.9"})
|
|
670630
670668
|
`);
|
|
670631
670669
|
writeToStdout(`Installing update...
|
|
670632
670670
|
`);
|
|
@@ -670671,7 +670709,7 @@ async function update() {
|
|
|
670671
670709
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
670672
670710
|
switch (status2) {
|
|
670673
670711
|
case "success":
|
|
670674
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
670712
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.9"} to version ${latestVersion}`) + `
|
|
670675
670713
|
`);
|
|
670676
670714
|
await regenerateCompletionCache();
|
|
670677
670715
|
break;
|
|
@@ -671915,7 +671953,7 @@ ${customInstructions}` : customInstructions;
|
|
|
671915
671953
|
}
|
|
671916
671954
|
}
|
|
671917
671955
|
logForDiagnosticsNoPII("info", "started", {
|
|
671918
|
-
version: "0.1.
|
|
671956
|
+
version: "0.1.9",
|
|
671919
671957
|
is_native_binary: isInBundledMode()
|
|
671920
671958
|
});
|
|
671921
671959
|
registerCleanup(async () => {
|
|
@@ -672699,7 +672737,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
672699
672737
|
pendingHookMessages
|
|
672700
672738
|
}, renderAndRun);
|
|
672701
672739
|
}
|
|
672702
|
-
}).version("0.1.
|
|
672740
|
+
}).version("0.1.9", "-v, --version", "Output the version number");
|
|
672703
672741
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
672704
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.");
|
|
672705
672743
|
if (canUserConfigureAdvisor()) {
|
|
@@ -673212,7 +673250,7 @@ async function main2() {
|
|
|
673212
673250
|
const args = process.argv.slice(2);
|
|
673213
673251
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
673214
673252
|
const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
|
|
673215
|
-
console.log(`${"0.1.
|
|
673253
|
+
console.log(`${"0.1.9"} (${label})`);
|
|
673216
673254
|
return;
|
|
673217
673255
|
}
|
|
673218
673256
|
const {
|
|
@@ -673296,4 +673334,4 @@ async function main2() {
|
|
|
673296
673334
|
}
|
|
673297
673335
|
main2();
|
|
673298
673336
|
|
|
673299
|
-
//# debugId=
|
|
673337
|
+
//# debugId=0917E8BEF005B8FC64756E2164756E21
|