codez-cli 0.1.13 → 0.1.14
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 +94 -106
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -71741,7 +71741,6 @@ __export(exports_model, {
|
|
|
71741
71741
|
getOpus46PricingSuffix: () => getOpus46PricingSuffix,
|
|
71742
71742
|
getMarketingNameForModel: () => getMarketingNameForModel,
|
|
71743
71743
|
getMainLoopModel: () => getMainLoopModel,
|
|
71744
|
-
getDefaultSonnetModel: () => getDefaultSonnetModel,
|
|
71745
71744
|
getDefaultOpusModel: () => getDefaultOpusModel,
|
|
71746
71745
|
getDefaultMainLoopModelSetting: () => getDefaultMainLoopModelSetting,
|
|
71747
71746
|
getDefaultMainLoopModel: () => getDefaultMainLoopModel,
|
|
@@ -71790,12 +71789,6 @@ function getDefaultOpusModel() {
|
|
|
71790
71789
|
const settings = getSettings_DEPRECATED();
|
|
71791
71790
|
return settings?.modelSettings?.opusModel || "gpt-5.4";
|
|
71792
71791
|
}
|
|
71793
|
-
function getDefaultSonnetModel() {
|
|
71794
|
-
if (process.env.OPENAI_SONNET_MODEL)
|
|
71795
|
-
return process.env.OPENAI_SONNET_MODEL;
|
|
71796
|
-
const settings = getSettings_DEPRECATED();
|
|
71797
|
-
return settings?.modelSettings?.sonnetModel || "gpt-5.4-mini";
|
|
71798
|
-
}
|
|
71799
71792
|
function getDefaultHaikuModel() {
|
|
71800
71793
|
if (process.env.OPENAI_HAIKU_MODEL)
|
|
71801
71794
|
return process.env.OPENAI_HAIKU_MODEL;
|
|
@@ -71808,7 +71801,7 @@ function getRuntimeMainLoopModel(params) {
|
|
|
71808
71801
|
return getDefaultOpusModel();
|
|
71809
71802
|
}
|
|
71810
71803
|
if (getUserSpecifiedModelSetting() === "haiku" && permissionMode === "plan") {
|
|
71811
|
-
return
|
|
71804
|
+
return getSmallFastModel();
|
|
71812
71805
|
}
|
|
71813
71806
|
return mainLoopModel;
|
|
71814
71807
|
}
|
|
@@ -71923,9 +71916,9 @@ function parseUserSpecifiedModel(modelInput) {
|
|
|
71923
71916
|
if (isModelAlias(modelString)) {
|
|
71924
71917
|
switch (modelString) {
|
|
71925
71918
|
case "opusplan":
|
|
71926
|
-
return
|
|
71919
|
+
return getSmallFastModel();
|
|
71927
71920
|
case "sonnet":
|
|
71928
|
-
return
|
|
71921
|
+
return getSmallFastModel();
|
|
71929
71922
|
case "haiku":
|
|
71930
71923
|
return getDefaultHaikuModel();
|
|
71931
71924
|
case "opus":
|
|
@@ -75164,7 +75157,7 @@ var init_auth = __esm(() => {
|
|
|
75164
75157
|
|
|
75165
75158
|
// src/utils/userAgent.ts
|
|
75166
75159
|
function getClaudeCodeUserAgent() {
|
|
75167
|
-
return `claude-code/${"0.1.
|
|
75160
|
+
return `claude-code/${"0.1.14"}`;
|
|
75168
75161
|
}
|
|
75169
75162
|
|
|
75170
75163
|
// src/utils/workloadContext.ts
|
|
@@ -75186,7 +75179,7 @@ function getUserAgent() {
|
|
|
75186
75179
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
75187
75180
|
const workload = getWorkload();
|
|
75188
75181
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
75189
|
-
return `claude-cli/${"0.1.
|
|
75182
|
+
return `claude-cli/${"0.1.14"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
75190
75183
|
}
|
|
75191
75184
|
function getMCPUserAgent() {
|
|
75192
75185
|
const parts = [];
|
|
@@ -75200,7 +75193,7 @@ function getMCPUserAgent() {
|
|
|
75200
75193
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
75201
75194
|
}
|
|
75202
75195
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
75203
|
-
return `claude-code/${"0.1.
|
|
75196
|
+
return `claude-code/${"0.1.14"}${suffix}`;
|
|
75204
75197
|
}
|
|
75205
75198
|
function getWebFetchUserAgent() {
|
|
75206
75199
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -75338,7 +75331,7 @@ var init_user = __esm(() => {
|
|
|
75338
75331
|
deviceId,
|
|
75339
75332
|
sessionId: getSessionId(),
|
|
75340
75333
|
email: getEmail(),
|
|
75341
|
-
appVersion: "0.1.
|
|
75334
|
+
appVersion: "0.1.14",
|
|
75342
75335
|
platform: getHostPlatformForAnalytics(),
|
|
75343
75336
|
organizationUuid,
|
|
75344
75337
|
accountUuid,
|
|
@@ -89711,7 +89704,7 @@ var init_metadata = __esm(() => {
|
|
|
89711
89704
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
89712
89705
|
WHITESPACE_REGEX = /\s+/;
|
|
89713
89706
|
getVersionBase = memoize_default(() => {
|
|
89714
|
-
const match = "0.1.
|
|
89707
|
+
const match = "0.1.14".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
89715
89708
|
return match ? match[0] : undefined;
|
|
89716
89709
|
});
|
|
89717
89710
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -89751,9 +89744,9 @@ var init_metadata = __esm(() => {
|
|
|
89751
89744
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
89752
89745
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
89753
89746
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
89754
|
-
version: "0.1.
|
|
89747
|
+
version: "0.1.14",
|
|
89755
89748
|
versionBase: getVersionBase(),
|
|
89756
|
-
buildTime: "2026-04-02T01:
|
|
89749
|
+
buildTime: "2026-04-02T01:11:50.700Z",
|
|
89757
89750
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
89758
89751
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
89759
89752
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -90421,7 +90414,7 @@ function initialize1PEventLogging() {
|
|
|
90421
90414
|
const platform3 = getPlatform();
|
|
90422
90415
|
const attributes = {
|
|
90423
90416
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
90424
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.
|
|
90417
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.14"
|
|
90425
90418
|
};
|
|
90426
90419
|
if (platform3 === "wsl") {
|
|
90427
90420
|
const wslVersion = getWslVersion();
|
|
@@ -90448,7 +90441,7 @@ function initialize1PEventLogging() {
|
|
|
90448
90441
|
})
|
|
90449
90442
|
]
|
|
90450
90443
|
});
|
|
90451
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
90444
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.14");
|
|
90452
90445
|
}
|
|
90453
90446
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
90454
90447
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -92394,7 +92387,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
92394
92387
|
if (!isAttributionHeaderEnabled()) {
|
|
92395
92388
|
return "";
|
|
92396
92389
|
}
|
|
92397
|
-
const version2 = `${"0.1.
|
|
92390
|
+
const version2 = `${"0.1.14"}.${fingerprint}`;
|
|
92398
92391
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
92399
92392
|
const cch = "";
|
|
92400
92393
|
const workload = getWorkload();
|
|
@@ -293424,7 +293417,7 @@ function getTelemetryAttributes() {
|
|
|
293424
293417
|
attributes["session.id"] = sessionId;
|
|
293425
293418
|
}
|
|
293426
293419
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
293427
|
-
attributes["app.version"] = "0.1.
|
|
293420
|
+
attributes["app.version"] = "0.1.14";
|
|
293428
293421
|
}
|
|
293429
293422
|
const oauthAccount = getOauthAccountInfo();
|
|
293430
293423
|
if (oauthAccount) {
|
|
@@ -317434,7 +317427,7 @@ function getInstallationEnv() {
|
|
|
317434
317427
|
return;
|
|
317435
317428
|
}
|
|
317436
317429
|
function getClaudeCodeVersion() {
|
|
317437
|
-
return "0.1.
|
|
317430
|
+
return "0.1.14";
|
|
317438
317431
|
}
|
|
317439
317432
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
317440
317433
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -320153,7 +320146,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
320153
320146
|
const client2 = new Client({
|
|
320154
320147
|
name: "claude-code",
|
|
320155
320148
|
title: "codez",
|
|
320156
|
-
version: "0.1.
|
|
320149
|
+
version: "0.1.14",
|
|
320157
320150
|
description: "AI-powered agentic coding tool",
|
|
320158
320151
|
websiteUrl: PRODUCT_URL
|
|
320159
320152
|
}, {
|
|
@@ -320508,7 +320501,7 @@ var init_client5 = __esm(() => {
|
|
|
320508
320501
|
const client2 = new Client({
|
|
320509
320502
|
name: "claude-code",
|
|
320510
320503
|
title: "codez",
|
|
320511
|
-
version: "0.1.
|
|
320504
|
+
version: "0.1.14",
|
|
320512
320505
|
description: "AI-powered agentic coding tool",
|
|
320513
320506
|
websiteUrl: PRODUCT_URL
|
|
320514
320507
|
}, {
|
|
@@ -396109,7 +396102,7 @@ async function initializeBetaTracing(resource) {
|
|
|
396109
396102
|
});
|
|
396110
396103
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
396111
396104
|
setLoggerProvider(loggerProvider);
|
|
396112
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
396105
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.14");
|
|
396113
396106
|
setEventLogger(eventLogger);
|
|
396114
396107
|
process.on("beforeExit", async () => {
|
|
396115
396108
|
await loggerProvider?.forceFlush();
|
|
@@ -396149,7 +396142,7 @@ async function initializeTelemetry() {
|
|
|
396149
396142
|
const platform5 = getPlatform();
|
|
396150
396143
|
const baseAttributes = {
|
|
396151
396144
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
396152
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.
|
|
396145
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.14"
|
|
396153
396146
|
};
|
|
396154
396147
|
if (platform5 === "wsl") {
|
|
396155
396148
|
const wslVersion = getWslVersion();
|
|
@@ -396194,7 +396187,7 @@ async function initializeTelemetry() {
|
|
|
396194
396187
|
} catch {}
|
|
396195
396188
|
};
|
|
396196
396189
|
registerCleanup(shutdownTelemetry2);
|
|
396197
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.
|
|
396190
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.14");
|
|
396198
396191
|
}
|
|
396199
396192
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
396200
396193
|
resource,
|
|
@@ -396214,7 +396207,7 @@ async function initializeTelemetry() {
|
|
|
396214
396207
|
});
|
|
396215
396208
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
396216
396209
|
setLoggerProvider(loggerProvider);
|
|
396217
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
396210
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.14");
|
|
396218
396211
|
setEventLogger(eventLogger);
|
|
396219
396212
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
396220
396213
|
process.on("beforeExit", async () => {
|
|
@@ -396276,7 +396269,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
396276
396269
|
}
|
|
396277
396270
|
};
|
|
396278
396271
|
registerCleanup(shutdownTelemetry);
|
|
396279
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.
|
|
396272
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.14");
|
|
396280
396273
|
}
|
|
396281
396274
|
async function flushTelemetry() {
|
|
396282
396275
|
const meterProvider = getMeterProvider();
|
|
@@ -396833,9 +396826,9 @@ async function assertMinVersion() {
|
|
|
396833
396826
|
if (false) {}
|
|
396834
396827
|
try {
|
|
396835
396828
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
396836
|
-
if (versionConfig.minVersion && lt("0.1.
|
|
396829
|
+
if (versionConfig.minVersion && lt("0.1.14", versionConfig.minVersion)) {
|
|
396837
396830
|
console.error(`
|
|
396838
|
-
It looks like your version of codez (${"0.1.
|
|
396831
|
+
It looks like your version of codez (${"0.1.14"}) needs an update.
|
|
396839
396832
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
396840
396833
|
|
|
396841
396834
|
To update, please run:
|
|
@@ -397051,7 +397044,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
397051
397044
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
397052
397045
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
397053
397046
|
pid: process.pid,
|
|
397054
|
-
currentVersion: "0.1.
|
|
397047
|
+
currentVersion: "0.1.14"
|
|
397055
397048
|
});
|
|
397056
397049
|
return "in_progress";
|
|
397057
397050
|
}
|
|
@@ -397060,7 +397053,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
397060
397053
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
397061
397054
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
397062
397055
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
397063
|
-
currentVersion: "0.1.
|
|
397056
|
+
currentVersion: "0.1.14"
|
|
397064
397057
|
});
|
|
397065
397058
|
console.error(`
|
|
397066
397059
|
Error: Windows NPM detected in WSL
|
|
@@ -397595,7 +397588,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
397595
397588
|
}
|
|
397596
397589
|
async function getDoctorDiagnostic() {
|
|
397597
397590
|
const installationType = await getCurrentInstallationType();
|
|
397598
|
-
const version2 = typeof MACRO !== "undefined" ? "0.1.
|
|
397591
|
+
const version2 = typeof MACRO !== "undefined" ? "0.1.14" : "unknown";
|
|
397599
397592
|
const installationPath = await getInstallationPath();
|
|
397600
397593
|
const invokedBinary = getInvokedBinary();
|
|
397601
397594
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -398530,8 +398523,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
398530
398523
|
const maxVersion = await getMaxVersion();
|
|
398531
398524
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
398532
398525
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
398533
|
-
if (gte("0.1.
|
|
398534
|
-
logForDebugging(`Native installer: current version ${"0.1.
|
|
398526
|
+
if (gte("0.1.14", maxVersion)) {
|
|
398527
|
+
logForDebugging(`Native installer: current version ${"0.1.14"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
398535
398528
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
398536
398529
|
latency_ms: Date.now() - startTime,
|
|
398537
398530
|
max_version: maxVersion,
|
|
@@ -398542,7 +398535,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
398542
398535
|
version2 = maxVersion;
|
|
398543
398536
|
}
|
|
398544
398537
|
}
|
|
398545
|
-
if (!forceReinstall && version2 === "0.1.
|
|
398538
|
+
if (!forceReinstall && version2 === "0.1.14" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
398546
398539
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
398547
398540
|
logEvent("tengu_native_update_complete", {
|
|
398548
398541
|
latency_ms: Date.now() - startTime,
|
|
@@ -418182,7 +418175,7 @@ function AssistantTextMessage(t0) {
|
|
|
418182
418175
|
t3 = /* @__PURE__ */ import_react91.default.createElement(MessageResponse, null, /* @__PURE__ */ import_react91.default.createElement(ThemedBox_default, {
|
|
418183
418176
|
flexDirection: "column",
|
|
418184
418177
|
gap: 1
|
|
418185
|
-
}, t2, /* @__PURE__ */ import_react91.default.createElement(ThemedText, null, "To continue immediately, use /model to switch to", " ", renderModelName(
|
|
418178
|
+
}, t2, /* @__PURE__ */ import_react91.default.createElement(ThemedText, null, "To continue immediately, use /model to switch to", " ", renderModelName(getSmallFastModel()), " and continue coding.")));
|
|
418186
418179
|
$3[13] = t3;
|
|
418187
418180
|
} else {
|
|
418188
418181
|
t3 = $3[13];
|
|
@@ -489363,7 +489356,7 @@ function getAnthropicEnvMetadata() {
|
|
|
489363
489356
|
function getBuildAgeMinutes() {
|
|
489364
489357
|
if (false)
|
|
489365
489358
|
;
|
|
489366
|
-
const buildTime = new Date("2026-04-02T01:
|
|
489359
|
+
const buildTime = new Date("2026-04-02T01:11:50.700Z").getTime();
|
|
489367
489360
|
if (isNaN(buildTime))
|
|
489368
489361
|
return;
|
|
489369
489362
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -494332,7 +494325,7 @@ async function countTokensViaHaikuFallback(messages, tools) {
|
|
|
494332
494325
|
const containsThinking = hasThinkingBlocks(messages);
|
|
494333
494326
|
const isVertexGlobalEndpoint = isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) && getVertexRegionForModel(getSmallFastModel()) === "global";
|
|
494334
494327
|
const isVertexWithThinking = isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) && containsThinking;
|
|
494335
|
-
const model = isVertexGlobalEndpoint || isVertexWithThinking ?
|
|
494328
|
+
const model = isVertexGlobalEndpoint || isVertexWithThinking ? getSmallFastModel() : getSmallFastModel();
|
|
494336
494329
|
const anthropic = await getAnthropicClient({
|
|
494337
494330
|
maxRetries: 1,
|
|
494338
494331
|
model,
|
|
@@ -495989,7 +495982,7 @@ async function selectRelevantMemories(query2, memories, signal, recentTools) {
|
|
|
495989
495982
|
Recently used tools: ${recentTools.join(", ")}` : "";
|
|
495990
495983
|
try {
|
|
495991
495984
|
const result = await sideQuery({
|
|
495992
|
-
model:
|
|
495985
|
+
model: getSmallFastModel(),
|
|
495993
495986
|
system: SELECT_MEMORIES_SYSTEM_PROMPT,
|
|
495994
495987
|
skipSystemPromptPrefix: true,
|
|
495995
495988
|
messages: [
|
|
@@ -513709,7 +513702,7 @@ function Feedback({
|
|
|
513709
513702
|
platform: env4.platform,
|
|
513710
513703
|
gitRepo: envInfo.isGit,
|
|
513711
513704
|
terminal: env4.terminal,
|
|
513712
|
-
version: "0.1.
|
|
513705
|
+
version: "0.1.14",
|
|
513713
513706
|
transcript: normalizeMessagesForAPI(messages),
|
|
513714
513707
|
errors: sanitizedErrors,
|
|
513715
513708
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -513848,7 +513841,7 @@ function Feedback({
|
|
|
513848
513841
|
dimColor: true
|
|
513849
513842
|
}, description)), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Environment info:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
513850
513843
|
dimColor: true
|
|
513851
|
-
}, env4.platform, ", ", env4.terminal, ", v", "0.1.
|
|
513844
|
+
}, env4.platform, ", ", env4.terminal, ", v", "0.1.14")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
513852
513845
|
dimColor: true
|
|
513853
513846
|
}, 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, {
|
|
513854
513847
|
marginTop: 1
|
|
@@ -513885,7 +513878,7 @@ ${sanitizedDescription}
|
|
|
513885
513878
|
` + `**Environment Info**
|
|
513886
513879
|
` + `- Platform: ${env4.platform}
|
|
513887
513880
|
` + `- Terminal: ${env4.terminal}
|
|
513888
|
-
` + `- Version: ${"0.1.
|
|
513881
|
+
` + `- Version: ${"0.1.14"}
|
|
513889
513882
|
` + `- Feedback ID: ${feedbackId}
|
|
513890
513883
|
` + `
|
|
513891
513884
|
**Errors**
|
|
@@ -516946,7 +516939,7 @@ function buildPrimarySection() {
|
|
|
516946
516939
|
}, "/rename to add a name");
|
|
516947
516940
|
return [{
|
|
516948
516941
|
label: "Version",
|
|
516949
|
-
value: "0.1.
|
|
516942
|
+
value: "0.1.14"
|
|
516950
516943
|
}, {
|
|
516951
516944
|
label: "Session name",
|
|
516952
516945
|
value: nameValue
|
|
@@ -520350,7 +520343,7 @@ function Config({
|
|
|
520350
520343
|
});
|
|
520351
520344
|
}
|
|
520352
520345
|
})) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ React182.createElement(ChannelDowngradeDialog, {
|
|
520353
|
-
currentVersion: "0.1.
|
|
520346
|
+
currentVersion: "0.1.14",
|
|
520354
520347
|
onChoice: (choice) => {
|
|
520355
520348
|
setShowSubmenu(null);
|
|
520356
520349
|
setTabsHidden(false);
|
|
@@ -520362,7 +520355,7 @@ function Config({
|
|
|
520362
520355
|
autoUpdatesChannel: "stable"
|
|
520363
520356
|
};
|
|
520364
520357
|
if (choice === "stay") {
|
|
520365
|
-
newSettings.minimumVersion = "0.1.
|
|
520358
|
+
newSettings.minimumVersion = "0.1.14";
|
|
520366
520359
|
}
|
|
520367
520360
|
updateSettingsForSource("userSettings", newSettings);
|
|
520368
520361
|
setSettingsData((prev_27) => ({
|
|
@@ -527123,7 +527116,7 @@ function HelpV2(t0) {
|
|
|
527123
527116
|
let t6;
|
|
527124
527117
|
if ($3[31] !== tabs) {
|
|
527125
527118
|
t6 = /* @__PURE__ */ React209.createElement(Tabs, {
|
|
527126
|
-
title: `codez v${"0.1.
|
|
527119
|
+
title: `codez v${"0.1.14"}`,
|
|
527127
527120
|
color: "professionalBlue",
|
|
527128
527121
|
defaultTab: "general"
|
|
527129
527122
|
}, tabs);
|
|
@@ -548517,7 +548510,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
548517
548510
|
return [];
|
|
548518
548511
|
}
|
|
548519
548512
|
}
|
|
548520
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.
|
|
548513
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.14") {
|
|
548521
548514
|
if (process.env.USER_TYPE === "ant") {
|
|
548522
548515
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
548523
548516
|
if (changelog) {
|
|
@@ -548544,7 +548537,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.13")
|
|
|
548544
548537
|
releaseNotes
|
|
548545
548538
|
};
|
|
548546
548539
|
}
|
|
548547
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.
|
|
548540
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.14") {
|
|
548548
548541
|
if (process.env.USER_TYPE === "ant") {
|
|
548549
548542
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
548550
548543
|
if (changelog) {
|
|
@@ -549714,7 +549707,7 @@ function getRecentActivitySync() {
|
|
|
549714
549707
|
return cachedActivity;
|
|
549715
549708
|
}
|
|
549716
549709
|
function getLogoDisplayData() {
|
|
549717
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
549710
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.14";
|
|
549718
549711
|
const serverUrl = getDirectConnectServerUrl();
|
|
549719
549712
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
549720
549713
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -550867,7 +550860,7 @@ function LogoV2() {
|
|
|
550867
550860
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
550868
550861
|
t2 = () => {
|
|
550869
550862
|
const currentConfig = getGlobalConfig();
|
|
550870
|
-
if (currentConfig.lastReleaseNotesSeen === "0.1.
|
|
550863
|
+
if (currentConfig.lastReleaseNotesSeen === "0.1.14") {
|
|
550871
550864
|
return;
|
|
550872
550865
|
}
|
|
550873
550866
|
saveGlobalConfig(_temp329);
|
|
@@ -551405,12 +551398,12 @@ function LogoV2() {
|
|
|
551405
551398
|
return t41;
|
|
551406
551399
|
}
|
|
551407
551400
|
function _temp329(current) {
|
|
551408
|
-
if (current.lastReleaseNotesSeen === "0.1.
|
|
551401
|
+
if (current.lastReleaseNotesSeen === "0.1.14") {
|
|
551409
551402
|
return current;
|
|
551410
551403
|
}
|
|
551411
551404
|
return {
|
|
551412
551405
|
...current,
|
|
551413
|
-
lastReleaseNotesSeen: "0.1.
|
|
551406
|
+
lastReleaseNotesSeen: "0.1.14"
|
|
551414
551407
|
};
|
|
551415
551408
|
}
|
|
551416
551409
|
function _temp245(s_0) {
|
|
@@ -575091,7 +575084,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
575091
575084
|
smapsRollup,
|
|
575092
575085
|
platform: process.platform,
|
|
575093
575086
|
nodeVersion: process.version,
|
|
575094
|
-
ccVersion: "0.1.
|
|
575087
|
+
ccVersion: "0.1.14"
|
|
575095
575088
|
};
|
|
575096
575089
|
}
|
|
575097
575090
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -575677,7 +575670,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
575677
575670
|
var call56 = async () => {
|
|
575678
575671
|
return {
|
|
575679
575672
|
type: "text",
|
|
575680
|
-
value: `${"0.1.
|
|
575673
|
+
value: `${"0.1.14"} (built ${"2026-04-02T01:11:50.700Z"})`
|
|
575681
575674
|
};
|
|
575682
575675
|
}, version2, version_default;
|
|
575683
575676
|
var init_version = __esm(() => {
|
|
@@ -583909,7 +583902,7 @@ function generateHtmlReport(data, insights) {
|
|
|
583909
583902
|
</html>`;
|
|
583910
583903
|
}
|
|
583911
583904
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
583912
|
-
const version3 = typeof MACRO !== "undefined" ? "0.1.
|
|
583905
|
+
const version3 = typeof MACRO !== "undefined" ? "0.1.14" : "unknown";
|
|
583913
583906
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
583914
583907
|
const facets_summary = {
|
|
583915
583908
|
total: facets.size,
|
|
@@ -588018,7 +588011,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
588018
588011
|
init_settings2();
|
|
588019
588012
|
init_slowOperations();
|
|
588020
588013
|
init_uuid();
|
|
588021
|
-
VERSION4 = typeof MACRO !== "undefined" ? "0.1.
|
|
588014
|
+
VERSION4 = typeof MACRO !== "undefined" ? "0.1.14" : "unknown";
|
|
588022
588015
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
588023
588016
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
588024
588017
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -589223,7 +589216,7 @@ var init_filesystem = __esm(() => {
|
|
|
589223
589216
|
});
|
|
589224
589217
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
589225
589218
|
const nonce = randomBytes20(16).toString("hex");
|
|
589226
|
-
return join139(getClaudeTempDir(), "bundled-skills", "0.1.
|
|
589219
|
+
return join139(getClaudeTempDir(), "bundled-skills", "0.1.14", nonce);
|
|
589227
589220
|
});
|
|
589228
589221
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
589229
589222
|
});
|
|
@@ -595213,7 +595206,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
595213
595206
|
}
|
|
595214
595207
|
function computeFingerprintFromMessages(messages) {
|
|
595215
595208
|
const firstMessageText = extractFirstMessageText(messages);
|
|
595216
|
-
return computeFingerprint(firstMessageText, "0.1.
|
|
595209
|
+
return computeFingerprint(firstMessageText, "0.1.14");
|
|
595217
595210
|
}
|
|
595218
595211
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
595219
595212
|
var init_fingerprint = () => {};
|
|
@@ -595357,11 +595350,6 @@ function getPromptCachingEnabled(model) {
|
|
|
595357
595350
|
if (model === smallFastModel)
|
|
595358
595351
|
return false;
|
|
595359
595352
|
}
|
|
595360
|
-
if (isEnvTruthy(process.env.DISABLE_PROMPT_CACHING_SONNET)) {
|
|
595361
|
-
const defaultSonnet = getDefaultSonnetModel();
|
|
595362
|
-
if (model === defaultSonnet)
|
|
595363
|
-
return false;
|
|
595364
|
-
}
|
|
595365
595353
|
if (isEnvTruthy(process.env.DISABLE_PROMPT_CACHING_OPUS)) {
|
|
595366
595354
|
const defaultOpus = getDefaultOpusModel();
|
|
595367
595355
|
if (model === defaultOpus)
|
|
@@ -597117,7 +597105,7 @@ async function sideQuery(opts) {
|
|
|
597117
597105
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
597118
597106
|
}
|
|
597119
597107
|
const messageText = extractFirstUserMessageText(messages);
|
|
597120
|
-
const fingerprint = computeFingerprint(messageText, "0.1.
|
|
597108
|
+
const fingerprint = computeFingerprint(messageText, "0.1.14");
|
|
597121
597109
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
597122
597110
|
const systemBlocks = [
|
|
597123
597111
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -601690,7 +601678,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
601690
601678
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
601691
601679
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
601692
601680
|
betas: getSdkBetas(),
|
|
601693
|
-
claude_code_version: "0.1.
|
|
601681
|
+
claude_code_version: "0.1.14",
|
|
601694
601682
|
output_style: outputStyle2,
|
|
601695
601683
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
601696
601684
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -614837,7 +614825,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
614837
614825
|
function getSemverPart(version3) {
|
|
614838
614826
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
614839
614827
|
}
|
|
614840
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.1.
|
|
614828
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.1.14") {
|
|
614841
614829
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react338.useState(() => getSemverPart(initialVersion));
|
|
614842
614830
|
if (!updatedVersion) {
|
|
614843
614831
|
return null;
|
|
@@ -614877,7 +614865,7 @@ function AutoUpdater({
|
|
|
614877
614865
|
return;
|
|
614878
614866
|
}
|
|
614879
614867
|
if (false) {}
|
|
614880
|
-
const currentVersion = "0.1.
|
|
614868
|
+
const currentVersion = "0.1.14";
|
|
614881
614869
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
614882
614870
|
let latestVersion = await getLatestVersion(channel);
|
|
614883
614871
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -615062,12 +615050,12 @@ function NativeAutoUpdater({
|
|
|
615062
615050
|
logEvent("tengu_native_auto_updater_start", {});
|
|
615063
615051
|
try {
|
|
615064
615052
|
const maxVersion = await getMaxVersion();
|
|
615065
|
-
if (maxVersion && gt("0.1.
|
|
615053
|
+
if (maxVersion && gt("0.1.14", maxVersion)) {
|
|
615066
615054
|
const msg = await getMaxVersionMessage();
|
|
615067
615055
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
615068
615056
|
}
|
|
615069
615057
|
const result = await installLatest(channel);
|
|
615070
|
-
const currentVersion = "0.1.
|
|
615058
|
+
const currentVersion = "0.1.14";
|
|
615071
615059
|
const latencyMs = Date.now() - startTime;
|
|
615072
615060
|
if (result.lockFailed) {
|
|
615073
615061
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -615180,17 +615168,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
615180
615168
|
const maxVersion = await getMaxVersion();
|
|
615181
615169
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
615182
615170
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
615183
|
-
if (gte("0.1.
|
|
615184
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.
|
|
615171
|
+
if (gte("0.1.14", maxVersion)) {
|
|
615172
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.14"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
615185
615173
|
setUpdateAvailable(false);
|
|
615186
615174
|
return;
|
|
615187
615175
|
}
|
|
615188
615176
|
latest = maxVersion;
|
|
615189
615177
|
}
|
|
615190
|
-
const hasUpdate = latest && !gte("0.1.
|
|
615178
|
+
const hasUpdate = latest && !gte("0.1.14", latest) && !shouldSkipVersion(latest);
|
|
615191
615179
|
setUpdateAvailable(!!hasUpdate);
|
|
615192
615180
|
if (hasUpdate) {
|
|
615193
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.
|
|
615181
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.14"} -> ${latest}`);
|
|
615194
615182
|
}
|
|
615195
615183
|
};
|
|
615196
615184
|
$3[0] = t1;
|
|
@@ -615222,7 +615210,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
615222
615210
|
t4 = verbose && /* @__PURE__ */ React411.createElement(ThemedText, {
|
|
615223
615211
|
dimColor: true,
|
|
615224
615212
|
wrap: "truncate"
|
|
615225
|
-
}, "currentVersion: ", "0.1.
|
|
615213
|
+
}, "currentVersion: ", "0.1.14");
|
|
615226
615214
|
$3[3] = verbose;
|
|
615227
615215
|
$3[4] = t4;
|
|
615228
615216
|
} else {
|
|
@@ -622444,7 +622432,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
622444
622432
|
project_dir: getOriginalCwd(),
|
|
622445
622433
|
added_dirs: addedDirs
|
|
622446
622434
|
},
|
|
622447
|
-
version: "0.1.
|
|
622435
|
+
version: "0.1.14",
|
|
622448
622436
|
output_style: {
|
|
622449
622437
|
name: outputStyleName
|
|
622450
622438
|
},
|
|
@@ -642073,7 +642061,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
642073
642061
|
} catch {}
|
|
642074
642062
|
const data = {
|
|
642075
642063
|
trigger,
|
|
642076
|
-
version: "0.1.
|
|
642064
|
+
version: "0.1.14",
|
|
642077
642065
|
platform: process.platform,
|
|
642078
642066
|
transcript,
|
|
642079
642067
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -653215,7 +653203,7 @@ function WelcomeV2() {
|
|
|
653215
653203
|
color: "claude"
|
|
653216
653204
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653217
653205
|
dimColor: true
|
|
653218
|
-
}, "v", "0.1.
|
|
653206
|
+
}, "v", "0.1.14", " "));
|
|
653219
653207
|
t17 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
653220
653208
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
653221
653209
|
t32 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
@@ -653319,7 +653307,7 @@ function WelcomeV2() {
|
|
|
653319
653307
|
color: "claude"
|
|
653320
653308
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653321
653309
|
dimColor: true
|
|
653322
|
-
}, "v", "0.1.
|
|
653310
|
+
}, "v", "0.1.14", " "));
|
|
653323
653311
|
t1 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
653324
653312
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
653325
653313
|
t3 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " * █████▓▓░ ");
|
|
@@ -653446,7 +653434,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
653446
653434
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
653447
653435
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653448
653436
|
dimColor: true
|
|
653449
|
-
}, "v", "0.1.
|
|
653437
|
+
}, "v", "0.1.14", " ");
|
|
653450
653438
|
$3[2] = t22;
|
|
653451
653439
|
} else {
|
|
653452
653440
|
t22 = $3[2];
|
|
@@ -653584,7 +653572,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
653584
653572
|
if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
653585
653573
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
653586
653574
|
dimColor: true
|
|
653587
|
-
}, "v", "0.1.
|
|
653575
|
+
}, "v", "0.1.14", " ");
|
|
653588
653576
|
$3[24] = t2;
|
|
653589
653577
|
} else {
|
|
653590
653578
|
t2 = $3[24];
|
|
@@ -654786,7 +654774,7 @@ function completeOnboarding() {
|
|
|
654786
654774
|
saveGlobalConfig((current) => ({
|
|
654787
654775
|
...current,
|
|
654788
654776
|
hasCompletedOnboarding: true,
|
|
654789
|
-
lastOnboardingVersion: "0.1.
|
|
654777
|
+
lastOnboardingVersion: "0.1.14"
|
|
654790
654778
|
}));
|
|
654791
654779
|
}
|
|
654792
654780
|
function showDialog(root2, renderer) {
|
|
@@ -659064,7 +659052,7 @@ function appendToLog(path24, message) {
|
|
|
659064
659052
|
cwd: getFsImplementation().cwd(),
|
|
659065
659053
|
userType: process.env.USER_TYPE,
|
|
659066
659054
|
sessionId: getSessionId(),
|
|
659067
|
-
version: "0.1.
|
|
659055
|
+
version: "0.1.14"
|
|
659068
659056
|
};
|
|
659069
659057
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
659070
659058
|
}
|
|
@@ -663049,8 +663037,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
663049
663037
|
}
|
|
663050
663038
|
async function checkEnvLessBridgeMinVersion() {
|
|
663051
663039
|
const cfg = await getEnvLessBridgeConfig();
|
|
663052
|
-
if (cfg.min_version && lt("0.1.
|
|
663053
|
-
return `Your version of codez (${"0.1.
|
|
663040
|
+
if (cfg.min_version && lt("0.1.14", cfg.min_version)) {
|
|
663041
|
+
return `Your version of codez (${"0.1.14"}) is too old for Remote Control.
|
|
663054
663042
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
663055
663043
|
}
|
|
663056
663044
|
return null;
|
|
@@ -663524,7 +663512,7 @@ async function initBridgeCore(params) {
|
|
|
663524
663512
|
const rawApi = createBridgeApiClient({
|
|
663525
663513
|
baseUrl,
|
|
663526
663514
|
getAccessToken,
|
|
663527
|
-
runnerVersion: "0.1.
|
|
663515
|
+
runnerVersion: "0.1.14",
|
|
663528
663516
|
onDebug: logForDebugging,
|
|
663529
663517
|
onAuth401,
|
|
663530
663518
|
getTrustedDeviceToken
|
|
@@ -668723,7 +668711,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
668723
668711
|
setCwd(cwd3);
|
|
668724
668712
|
const server = new Server({
|
|
668725
668713
|
name: "claude/tengu",
|
|
668726
|
-
version: "0.1.
|
|
668714
|
+
version: "0.1.14"
|
|
668727
668715
|
}, {
|
|
668728
668716
|
capabilities: {
|
|
668729
668717
|
tools: {}
|
|
@@ -670224,7 +670212,7 @@ __export(exports_update, {
|
|
|
670224
670212
|
});
|
|
670225
670213
|
async function update() {
|
|
670226
670214
|
logEvent("tengu_update_check", {});
|
|
670227
|
-
writeToStdout(`Current version: ${"0.1.
|
|
670215
|
+
writeToStdout(`Current version: ${"0.1.14"}
|
|
670228
670216
|
`);
|
|
670229
670217
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
670230
670218
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -670299,8 +670287,8 @@ async function update() {
|
|
|
670299
670287
|
writeToStdout(`Claude is managed by Homebrew.
|
|
670300
670288
|
`);
|
|
670301
670289
|
const latest = await getLatestVersion(channel);
|
|
670302
|
-
if (latest && !gte("0.1.
|
|
670303
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670290
|
+
if (latest && !gte("0.1.14", latest)) {
|
|
670291
|
+
writeToStdout(`Update available: ${"0.1.14"} → ${latest}
|
|
670304
670292
|
`);
|
|
670305
670293
|
writeToStdout(`
|
|
670306
670294
|
`);
|
|
@@ -670316,8 +670304,8 @@ async function update() {
|
|
|
670316
670304
|
writeToStdout(`Claude is managed by winget.
|
|
670317
670305
|
`);
|
|
670318
670306
|
const latest = await getLatestVersion(channel);
|
|
670319
|
-
if (latest && !gte("0.1.
|
|
670320
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670307
|
+
if (latest && !gte("0.1.14", latest)) {
|
|
670308
|
+
writeToStdout(`Update available: ${"0.1.14"} → ${latest}
|
|
670321
670309
|
`);
|
|
670322
670310
|
writeToStdout(`
|
|
670323
670311
|
`);
|
|
@@ -670333,8 +670321,8 @@ async function update() {
|
|
|
670333
670321
|
writeToStdout(`Claude is managed by apk.
|
|
670334
670322
|
`);
|
|
670335
670323
|
const latest = await getLatestVersion(channel);
|
|
670336
|
-
if (latest && !gte("0.1.
|
|
670337
|
-
writeToStdout(`Update available: ${"0.1.
|
|
670324
|
+
if (latest && !gte("0.1.14", latest)) {
|
|
670325
|
+
writeToStdout(`Update available: ${"0.1.14"} → ${latest}
|
|
670338
670326
|
`);
|
|
670339
670327
|
writeToStdout(`
|
|
670340
670328
|
`);
|
|
@@ -670399,11 +670387,11 @@ async function update() {
|
|
|
670399
670387
|
`);
|
|
670400
670388
|
await gracefulShutdown(1);
|
|
670401
670389
|
}
|
|
670402
|
-
if (result.latestVersion === "0.1.
|
|
670403
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
670390
|
+
if (result.latestVersion === "0.1.14") {
|
|
670391
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.14"})`) + `
|
|
670404
670392
|
`);
|
|
670405
670393
|
} else {
|
|
670406
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
670394
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.14"} to version ${result.latestVersion}`) + `
|
|
670407
670395
|
`);
|
|
670408
670396
|
await regenerateCompletionCache();
|
|
670409
670397
|
}
|
|
@@ -670463,12 +670451,12 @@ async function update() {
|
|
|
670463
670451
|
`);
|
|
670464
670452
|
await gracefulShutdown(1);
|
|
670465
670453
|
}
|
|
670466
|
-
if (latestVersion === "0.1.
|
|
670467
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
670454
|
+
if (latestVersion === "0.1.14") {
|
|
670455
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.14"})`) + `
|
|
670468
670456
|
`);
|
|
670469
670457
|
await gracefulShutdown(0);
|
|
670470
670458
|
}
|
|
670471
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.
|
|
670459
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.14"})
|
|
670472
670460
|
`);
|
|
670473
670461
|
writeToStdout(`Installing update...
|
|
670474
670462
|
`);
|
|
@@ -670513,7 +670501,7 @@ async function update() {
|
|
|
670513
670501
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
670514
670502
|
switch (status2) {
|
|
670515
670503
|
case "success":
|
|
670516
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
670504
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.14"} to version ${latestVersion}`) + `
|
|
670517
670505
|
`);
|
|
670518
670506
|
await regenerateCompletionCache();
|
|
670519
670507
|
break;
|
|
@@ -671757,7 +671745,7 @@ ${customInstructions}` : customInstructions;
|
|
|
671757
671745
|
}
|
|
671758
671746
|
}
|
|
671759
671747
|
logForDiagnosticsNoPII("info", "started", {
|
|
671760
|
-
version: "0.1.
|
|
671748
|
+
version: "0.1.14",
|
|
671761
671749
|
is_native_binary: isInBundledMode()
|
|
671762
671750
|
});
|
|
671763
671751
|
registerCleanup(async () => {
|
|
@@ -672541,7 +672529,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
672541
672529
|
pendingHookMessages
|
|
672542
672530
|
}, renderAndRun);
|
|
672543
672531
|
}
|
|
672544
|
-
}).version("0.1.
|
|
672532
|
+
}).version("0.1.14", "-v, --version", "Output the version number");
|
|
672545
672533
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
672546
672534
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
672547
672535
|
if (canUserConfigureAdvisor()) {
|
|
@@ -673054,7 +673042,7 @@ async function main2() {
|
|
|
673054
673042
|
const args = process.argv.slice(2);
|
|
673055
673043
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
673056
673044
|
const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
|
|
673057
|
-
console.log(`${"0.1.
|
|
673045
|
+
console.log(`${"0.1.14"} (${label})`);
|
|
673058
673046
|
return;
|
|
673059
673047
|
}
|
|
673060
673048
|
const {
|
|
@@ -673138,4 +673126,4 @@ async function main2() {
|
|
|
673138
673126
|
}
|
|
673139
673127
|
main2();
|
|
673140
673128
|
|
|
673141
|
-
//# debugId=
|
|
673129
|
+
//# debugId=C5931A4D94A40B5064756E2164756E21
|