codez-cli 0.1.0 → 0.1.1
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 -96
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -75160,7 +75160,7 @@ var init_auth = __esm(() => {
|
|
|
75160
75160
|
|
|
75161
75161
|
// src/utils/userAgent.ts
|
|
75162
75162
|
function getClaudeCodeUserAgent() {
|
|
75163
|
-
return `claude-code/${"0.1.
|
|
75163
|
+
return `claude-code/${"0.1.1"}`;
|
|
75164
75164
|
}
|
|
75165
75165
|
|
|
75166
75166
|
// src/utils/workloadContext.ts
|
|
@@ -75182,7 +75182,7 @@ function getUserAgent() {
|
|
|
75182
75182
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
75183
75183
|
const workload = getWorkload();
|
|
75184
75184
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
75185
|
-
return `claude-cli/${"0.1.
|
|
75185
|
+
return `claude-cli/${"0.1.1"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
75186
75186
|
}
|
|
75187
75187
|
function getMCPUserAgent() {
|
|
75188
75188
|
const parts = [];
|
|
@@ -75196,7 +75196,7 @@ function getMCPUserAgent() {
|
|
|
75196
75196
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
75197
75197
|
}
|
|
75198
75198
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
75199
|
-
return `claude-code/${"0.1.
|
|
75199
|
+
return `claude-code/${"0.1.1"}${suffix}`;
|
|
75200
75200
|
}
|
|
75201
75201
|
function getWebFetchUserAgent() {
|
|
75202
75202
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -75334,7 +75334,7 @@ var init_user = __esm(() => {
|
|
|
75334
75334
|
deviceId,
|
|
75335
75335
|
sessionId: getSessionId(),
|
|
75336
75336
|
email: getEmail(),
|
|
75337
|
-
appVersion: "0.1.
|
|
75337
|
+
appVersion: "0.1.1",
|
|
75338
75338
|
platform: getHostPlatformForAnalytics(),
|
|
75339
75339
|
organizationUuid,
|
|
75340
75340
|
accountUuid,
|
|
@@ -89707,7 +89707,7 @@ var init_metadata = __esm(() => {
|
|
|
89707
89707
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
89708
89708
|
WHITESPACE_REGEX = /\s+/;
|
|
89709
89709
|
getVersionBase = memoize_default(() => {
|
|
89710
|
-
const match = "0.1.
|
|
89710
|
+
const match = "0.1.1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
89711
89711
|
return match ? match[0] : undefined;
|
|
89712
89712
|
});
|
|
89713
89713
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -89747,9 +89747,9 @@ var init_metadata = __esm(() => {
|
|
|
89747
89747
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
89748
89748
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
89749
89749
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
89750
|
-
version: "0.1.
|
|
89750
|
+
version: "0.1.1",
|
|
89751
89751
|
versionBase: getVersionBase(),
|
|
89752
|
-
buildTime: "2026-04-01T22:
|
|
89752
|
+
buildTime: "2026-04-01T22:39:37.270Z",
|
|
89753
89753
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
89754
89754
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
89755
89755
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -90417,7 +90417,7 @@ function initialize1PEventLogging() {
|
|
|
90417
90417
|
const platform2 = getPlatform();
|
|
90418
90418
|
const attributes = {
|
|
90419
90419
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
90420
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.
|
|
90420
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.1"
|
|
90421
90421
|
};
|
|
90422
90422
|
if (platform2 === "wsl") {
|
|
90423
90423
|
const wslVersion = getWslVersion();
|
|
@@ -90444,7 +90444,7 @@ function initialize1PEventLogging() {
|
|
|
90444
90444
|
})
|
|
90445
90445
|
]
|
|
90446
90446
|
});
|
|
90447
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
90447
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.1");
|
|
90448
90448
|
}
|
|
90449
90449
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
90450
90450
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -92312,7 +92312,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
92312
92312
|
if (!isAttributionHeaderEnabled()) {
|
|
92313
92313
|
return "";
|
|
92314
92314
|
}
|
|
92315
|
-
const version2 = `${"0.1.
|
|
92315
|
+
const version2 = `${"0.1.1"}.${fingerprint}`;
|
|
92316
92316
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
92317
92317
|
const cch = "";
|
|
92318
92318
|
const workload = getWorkload();
|
|
@@ -296634,7 +296634,7 @@ function getTelemetryAttributes() {
|
|
|
296634
296634
|
attributes["session.id"] = sessionId;
|
|
296635
296635
|
}
|
|
296636
296636
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
296637
|
-
attributes["app.version"] = "0.1.
|
|
296637
|
+
attributes["app.version"] = "0.1.1";
|
|
296638
296638
|
}
|
|
296639
296639
|
const oauthAccount = getOauthAccountInfo();
|
|
296640
296640
|
if (oauthAccount) {
|
|
@@ -327920,7 +327920,7 @@ function getInstallationEnv() {
|
|
|
327920
327920
|
return;
|
|
327921
327921
|
}
|
|
327922
327922
|
function getClaudeCodeVersion() {
|
|
327923
|
-
return "0.1.
|
|
327923
|
+
return "0.1.1";
|
|
327924
327924
|
}
|
|
327925
327925
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
327926
327926
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -333784,7 +333784,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
333784
333784
|
const client2 = new Client({
|
|
333785
333785
|
name: "claude-code",
|
|
333786
333786
|
title: "codez",
|
|
333787
|
-
version: "0.1.
|
|
333787
|
+
version: "0.1.1",
|
|
333788
333788
|
description: "AI-powered agentic coding tool",
|
|
333789
333789
|
websiteUrl: PRODUCT_URL
|
|
333790
333790
|
}, {
|
|
@@ -334139,7 +334139,7 @@ var init_client5 = __esm(() => {
|
|
|
334139
334139
|
const client2 = new Client({
|
|
334140
334140
|
name: "claude-code",
|
|
334141
334141
|
title: "codez",
|
|
334142
|
-
version: "0.1.
|
|
334142
|
+
version: "0.1.1",
|
|
334143
334143
|
description: "AI-powered agentic coding tool",
|
|
334144
334144
|
websiteUrl: PRODUCT_URL
|
|
334145
334145
|
}, {
|
|
@@ -409740,7 +409740,7 @@ async function initializeBetaTracing(resource) {
|
|
|
409740
409740
|
});
|
|
409741
409741
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
409742
409742
|
setLoggerProvider(loggerProvider);
|
|
409743
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
409743
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.1");
|
|
409744
409744
|
setEventLogger(eventLogger);
|
|
409745
409745
|
process.on("beforeExit", async () => {
|
|
409746
409746
|
await loggerProvider?.forceFlush();
|
|
@@ -409780,7 +409780,7 @@ async function initializeTelemetry() {
|
|
|
409780
409780
|
const platform4 = getPlatform();
|
|
409781
409781
|
const baseAttributes = {
|
|
409782
409782
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
409783
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.
|
|
409783
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.1"
|
|
409784
409784
|
};
|
|
409785
409785
|
if (platform4 === "wsl") {
|
|
409786
409786
|
const wslVersion = getWslVersion();
|
|
@@ -409825,7 +409825,7 @@ async function initializeTelemetry() {
|
|
|
409825
409825
|
} catch {}
|
|
409826
409826
|
};
|
|
409827
409827
|
registerCleanup(shutdownTelemetry2);
|
|
409828
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.
|
|
409828
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.1");
|
|
409829
409829
|
}
|
|
409830
409830
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
409831
409831
|
resource,
|
|
@@ -409845,7 +409845,7 @@ async function initializeTelemetry() {
|
|
|
409845
409845
|
});
|
|
409846
409846
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
409847
409847
|
setLoggerProvider(loggerProvider);
|
|
409848
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
409848
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.1");
|
|
409849
409849
|
setEventLogger(eventLogger);
|
|
409850
409850
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
409851
409851
|
process.on("beforeExit", async () => {
|
|
@@ -409907,7 +409907,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
409907
409907
|
}
|
|
409908
409908
|
};
|
|
409909
409909
|
registerCleanup(shutdownTelemetry);
|
|
409910
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.
|
|
409910
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.1");
|
|
409911
409911
|
}
|
|
409912
409912
|
async function flushTelemetry() {
|
|
409913
409913
|
const meterProvider = getMeterProvider();
|
|
@@ -410464,9 +410464,9 @@ async function assertMinVersion() {
|
|
|
410464
410464
|
if (false) {}
|
|
410465
410465
|
try {
|
|
410466
410466
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
410467
|
-
if (versionConfig.minVersion && lt("0.1.
|
|
410467
|
+
if (versionConfig.minVersion && lt("0.1.1", versionConfig.minVersion)) {
|
|
410468
410468
|
console.error(`
|
|
410469
|
-
It looks like your version of codez (${"0.1.
|
|
410469
|
+
It looks like your version of codez (${"0.1.1"}) needs an update.
|
|
410470
410470
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
410471
410471
|
|
|
410472
410472
|
To update, please run:
|
|
@@ -410682,7 +410682,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
410682
410682
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
410683
410683
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
410684
410684
|
pid: process.pid,
|
|
410685
|
-
currentVersion: "0.1.
|
|
410685
|
+
currentVersion: "0.1.1"
|
|
410686
410686
|
});
|
|
410687
410687
|
return "in_progress";
|
|
410688
410688
|
}
|
|
@@ -410691,7 +410691,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
410691
410691
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
410692
410692
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
410693
410693
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
410694
|
-
currentVersion: "0.1.
|
|
410694
|
+
currentVersion: "0.1.1"
|
|
410695
410695
|
});
|
|
410696
410696
|
console.error(`
|
|
410697
410697
|
Error: Windows NPM detected in WSL
|
|
@@ -411226,7 +411226,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
411226
411226
|
}
|
|
411227
411227
|
async function getDoctorDiagnostic() {
|
|
411228
411228
|
const installationType = await getCurrentInstallationType();
|
|
411229
|
-
const version2 = typeof MACRO !== "undefined" ? "0.1.
|
|
411229
|
+
const version2 = typeof MACRO !== "undefined" ? "0.1.1" : "unknown";
|
|
411230
411230
|
const installationPath = await getInstallationPath();
|
|
411231
411231
|
const invokedBinary = getInvokedBinary();
|
|
411232
411232
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -412161,8 +412161,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
412161
412161
|
const maxVersion = await getMaxVersion();
|
|
412162
412162
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
412163
412163
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
412164
|
-
if (gte("0.1.
|
|
412165
|
-
logForDebugging(`Native installer: current version ${"0.1.
|
|
412164
|
+
if (gte("0.1.1", maxVersion)) {
|
|
412165
|
+
logForDebugging(`Native installer: current version ${"0.1.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
412166
412166
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
412167
412167
|
latency_ms: Date.now() - startTime,
|
|
412168
412168
|
max_version: maxVersion,
|
|
@@ -412173,7 +412173,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
412173
412173
|
version2 = maxVersion;
|
|
412174
412174
|
}
|
|
412175
412175
|
}
|
|
412176
|
-
if (!forceReinstall && version2 === "0.1.
|
|
412176
|
+
if (!forceReinstall && version2 === "0.1.1" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
412177
412177
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
412178
412178
|
logEvent("tengu_native_update_complete", {
|
|
412179
412179
|
latency_ms: Date.now() - startTime,
|
|
@@ -502489,7 +502489,7 @@ function getAnthropicEnvMetadata() {
|
|
|
502489
502489
|
function getBuildAgeMinutes() {
|
|
502490
502490
|
if (false)
|
|
502491
502491
|
;
|
|
502492
|
-
const buildTime = new Date("2026-04-01T22:
|
|
502492
|
+
const buildTime = new Date("2026-04-01T22:39:37.270Z").getTime();
|
|
502493
502493
|
if (isNaN(buildTime))
|
|
502494
502494
|
return;
|
|
502495
502495
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -504785,7 +504785,7 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
|
|
|
504785
504785
|
oaiTools.push({ type: "web_search", search_context_size: "medium" });
|
|
504786
504786
|
}
|
|
504787
504787
|
const toolChoice = convertToolChoice(options.toolChoice);
|
|
504788
|
-
const supportsReasoning = /^(gpt-5|o[1-9]|o3)/.test(openaiModel);
|
|
504788
|
+
const supportsReasoning = /^(gpt-5|o[1-9]|o3)/.test(openaiModel) && !openaiModel.includes("mini");
|
|
504789
504789
|
let reasoning = undefined;
|
|
504790
504790
|
if (supportsReasoning && thinkingConfig.type !== "disabled") {
|
|
504791
504791
|
const resolved = resolveAppliedEffort(options.model, options.effortValue);
|
|
@@ -504828,8 +504828,7 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
|
|
|
504828
504828
|
store: false,
|
|
504829
504829
|
stream: true,
|
|
504830
504830
|
include: reasoning ? ["reasoning.encrypted_content"] : [],
|
|
504831
|
-
prompt_cache_key: promptCacheKey
|
|
504832
|
-
truncation: "auto"
|
|
504831
|
+
prompt_cache_key: promptCacheKey
|
|
504833
504832
|
};
|
|
504834
504833
|
} else {
|
|
504835
504834
|
const maxOutputTokens = options.maxOutputTokensOverride || MAX_OUTPUT_TOKENS[openaiModel] || 16384;
|
|
@@ -504846,8 +504845,7 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
|
|
|
504846
504845
|
reasoning,
|
|
504847
504846
|
previous_response_id: usePreviousResponseId ? _lastResponseId : undefined,
|
|
504848
504847
|
store: true,
|
|
504849
|
-
prompt_cache_key: promptCacheKey
|
|
504850
|
-
truncation: "auto"
|
|
504848
|
+
prompt_cache_key: promptCacheKey
|
|
504851
504849
|
};
|
|
504852
504850
|
}
|
|
504853
504851
|
logForDebugging(`[OpenAI] Request: model=${openaiModel} input=${input.length} items (${usePreviousResponseId ? "incremental, chain=" + _lastResponseId : "full"}) tools=${oaiTools.length}`);
|
|
@@ -505399,11 +505397,11 @@ var init_openai_query = __esm(() => {
|
|
|
505399
505397
|
"claude-sonnet-4-20250514": "gpt-5.4-mini",
|
|
505400
505398
|
"claude-3-7-sonnet-20250219": "gpt-5.4-mini",
|
|
505401
505399
|
"claude-3-5-sonnet-20241022": "gpt-5.4-mini",
|
|
505402
|
-
"claude-haiku-4-5-20251001": "gpt-4
|
|
505403
|
-
"claude-3-5-haiku-20241022": "gpt-4
|
|
505400
|
+
"claude-haiku-4-5-20251001": "gpt-5.4-mini",
|
|
505401
|
+
"claude-3-5-haiku-20241022": "gpt-5.4-mini",
|
|
505404
505402
|
opus: "gpt-5.4",
|
|
505405
505403
|
sonnet: "gpt-5.4-mini",
|
|
505406
|
-
haiku: "gpt-4
|
|
505404
|
+
haiku: "gpt-5.4-mini",
|
|
505407
505405
|
"gpt-5.4": "gpt-5.4",
|
|
505408
505406
|
"gpt-5.4-mini": "gpt-5.4-mini",
|
|
505409
505407
|
"gpt-4.1": "gpt-4.1",
|
|
@@ -526852,7 +526850,7 @@ function Feedback({
|
|
|
526852
526850
|
platform: env4.platform,
|
|
526853
526851
|
gitRepo: envInfo.isGit,
|
|
526854
526852
|
terminal: env4.terminal,
|
|
526855
|
-
version: "0.1.
|
|
526853
|
+
version: "0.1.1",
|
|
526856
526854
|
transcript: normalizeMessagesForAPI(messages),
|
|
526857
526855
|
errors: sanitizedErrors,
|
|
526858
526856
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -526991,7 +526989,7 @@ function Feedback({
|
|
|
526991
526989
|
dimColor: true
|
|
526992
526990
|
}, description)), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Environment info:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
526993
526991
|
dimColor: true
|
|
526994
|
-
}, env4.platform, ", ", env4.terminal, ", v", "0.1.
|
|
526992
|
+
}, env4.platform, ", ", env4.terminal, ", v", "0.1.1")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
526995
526993
|
dimColor: true
|
|
526996
526994
|
}, 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, {
|
|
526997
526995
|
marginTop: 1
|
|
@@ -527028,7 +527026,7 @@ ${sanitizedDescription}
|
|
|
527028
527026
|
` + `**Environment Info**
|
|
527029
527027
|
` + `- Platform: ${env4.platform}
|
|
527030
527028
|
` + `- Terminal: ${env4.terminal}
|
|
527031
|
-
` + `- Version: ${"0.1.
|
|
527029
|
+
` + `- Version: ${"0.1.1"}
|
|
527032
527030
|
` + `- Feedback ID: ${feedbackId}
|
|
527033
527031
|
` + `
|
|
527034
527032
|
**Errors**
|
|
@@ -530089,7 +530087,7 @@ function buildPrimarySection() {
|
|
|
530089
530087
|
}, "/rename to add a name");
|
|
530090
530088
|
return [{
|
|
530091
530089
|
label: "Version",
|
|
530092
|
-
value: "0.1.
|
|
530090
|
+
value: "0.1.1"
|
|
530093
530091
|
}, {
|
|
530094
530092
|
label: "Session name",
|
|
530095
530093
|
value: nameValue
|
|
@@ -533493,7 +533491,7 @@ function Config({
|
|
|
533493
533491
|
});
|
|
533494
533492
|
}
|
|
533495
533493
|
})) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ React182.createElement(ChannelDowngradeDialog, {
|
|
533496
|
-
currentVersion: "0.1.
|
|
533494
|
+
currentVersion: "0.1.1",
|
|
533497
533495
|
onChoice: (choice) => {
|
|
533498
533496
|
setShowSubmenu(null);
|
|
533499
533497
|
setTabsHidden(false);
|
|
@@ -533505,7 +533503,7 @@ function Config({
|
|
|
533505
533503
|
autoUpdatesChannel: "stable"
|
|
533506
533504
|
};
|
|
533507
533505
|
if (choice === "stay") {
|
|
533508
|
-
newSettings.minimumVersion = "0.1.
|
|
533506
|
+
newSettings.minimumVersion = "0.1.1";
|
|
533509
533507
|
}
|
|
533510
533508
|
updateSettingsForSource("userSettings", newSettings);
|
|
533511
533509
|
setSettingsData((prev_27) => ({
|
|
@@ -540266,7 +540264,7 @@ function HelpV2(t0) {
|
|
|
540266
540264
|
let t6;
|
|
540267
540265
|
if ($3[31] !== tabs) {
|
|
540268
540266
|
t6 = /* @__PURE__ */ React209.createElement(Tabs, {
|
|
540269
|
-
title: `codez v${"0.1.
|
|
540267
|
+
title: `codez v${"0.1.1"}`,
|
|
540270
540268
|
color: "professionalBlue",
|
|
540271
540269
|
defaultTab: "general"
|
|
540272
540270
|
}, tabs);
|
|
@@ -561660,7 +561658,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
561660
561658
|
return [];
|
|
561661
561659
|
}
|
|
561662
561660
|
}
|
|
561663
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.
|
|
561661
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.1") {
|
|
561664
561662
|
if (process.env.USER_TYPE === "ant") {
|
|
561665
561663
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
561666
561664
|
if (changelog) {
|
|
@@ -561687,7 +561685,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.0") {
|
|
|
561687
561685
|
releaseNotes
|
|
561688
561686
|
};
|
|
561689
561687
|
}
|
|
561690
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.
|
|
561688
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.1") {
|
|
561691
561689
|
if (process.env.USER_TYPE === "ant") {
|
|
561692
561690
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
561693
561691
|
if (changelog) {
|
|
@@ -562857,7 +562855,7 @@ function getRecentActivitySync() {
|
|
|
562857
562855
|
return cachedActivity;
|
|
562858
562856
|
}
|
|
562859
562857
|
function getLogoDisplayData() {
|
|
562860
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
562858
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.1";
|
|
562861
562859
|
const serverUrl = getDirectConnectServerUrl();
|
|
562862
562860
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
562863
562861
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -564232,7 +564230,7 @@ function LogoV2() {
|
|
|
564232
564230
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
564233
564231
|
t2 = () => {
|
|
564234
564232
|
const currentConfig = getGlobalConfig();
|
|
564235
|
-
if (currentConfig.lastReleaseNotesSeen === "0.1.
|
|
564233
|
+
if (currentConfig.lastReleaseNotesSeen === "0.1.1") {
|
|
564236
564234
|
return;
|
|
564237
564235
|
}
|
|
564238
564236
|
saveGlobalConfig(_temp329);
|
|
@@ -564770,12 +564768,12 @@ function LogoV2() {
|
|
|
564770
564768
|
return t41;
|
|
564771
564769
|
}
|
|
564772
564770
|
function _temp329(current) {
|
|
564773
|
-
if (current.lastReleaseNotesSeen === "0.1.
|
|
564771
|
+
if (current.lastReleaseNotesSeen === "0.1.1") {
|
|
564774
564772
|
return current;
|
|
564775
564773
|
}
|
|
564776
564774
|
return {
|
|
564777
564775
|
...current,
|
|
564778
|
-
lastReleaseNotesSeen: "0.1.
|
|
564776
|
+
lastReleaseNotesSeen: "0.1.1"
|
|
564779
564777
|
};
|
|
564780
564778
|
}
|
|
564781
564779
|
function _temp245(s_0) {
|
|
@@ -588456,7 +588454,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
588456
588454
|
smapsRollup,
|
|
588457
588455
|
platform: process.platform,
|
|
588458
588456
|
nodeVersion: process.version,
|
|
588459
|
-
ccVersion: "0.1.
|
|
588457
|
+
ccVersion: "0.1.1"
|
|
588460
588458
|
};
|
|
588461
588459
|
}
|
|
588462
588460
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -589042,7 +589040,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
589042
589040
|
var call56 = async () => {
|
|
589043
589041
|
return {
|
|
589044
589042
|
type: "text",
|
|
589045
|
-
value: `${"0.1.
|
|
589043
|
+
value: `${"0.1.1"} (built ${"2026-04-01T22:39:37.270Z"})`
|
|
589046
589044
|
};
|
|
589047
589045
|
}, version2, version_default;
|
|
589048
589046
|
var init_version = __esm(() => {
|
|
@@ -597265,7 +597263,7 @@ function generateHtmlReport(data, insights) {
|
|
|
597265
597263
|
</html>`;
|
|
597266
597264
|
}
|
|
597267
597265
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
597268
|
-
const version3 = typeof MACRO !== "undefined" ? "0.1.
|
|
597266
|
+
const version3 = typeof MACRO !== "undefined" ? "0.1.1" : "unknown";
|
|
597269
597267
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
597270
597268
|
const facets_summary = {
|
|
597271
597269
|
total: facets.size,
|
|
@@ -601374,7 +601372,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
601374
601372
|
init_settings2();
|
|
601375
601373
|
init_slowOperations();
|
|
601376
601374
|
init_uuid();
|
|
601377
|
-
VERSION4 = typeof MACRO !== "undefined" ? "0.1.
|
|
601375
|
+
VERSION4 = typeof MACRO !== "undefined" ? "0.1.1" : "unknown";
|
|
601378
601376
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
601379
601377
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
601380
601378
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -602579,7 +602577,7 @@ var init_filesystem = __esm(() => {
|
|
|
602579
602577
|
});
|
|
602580
602578
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
602581
602579
|
const nonce = randomBytes20(16).toString("hex");
|
|
602582
|
-
return join140(getClaudeTempDir(), "bundled-skills", "0.1.
|
|
602580
|
+
return join140(getClaudeTempDir(), "bundled-skills", "0.1.1", nonce);
|
|
602583
602581
|
});
|
|
602584
602582
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
602585
602583
|
});
|
|
@@ -608575,7 +608573,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
608575
608573
|
}
|
|
608576
608574
|
function computeFingerprintFromMessages(messages) {
|
|
608577
608575
|
const firstMessageText = extractFirstMessageText(messages);
|
|
608578
|
-
return computeFingerprint(firstMessageText, "0.1.
|
|
608576
|
+
return computeFingerprint(firstMessageText, "0.1.1");
|
|
608579
608577
|
}
|
|
608580
608578
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
608581
608579
|
var init_fingerprint = () => {};
|
|
@@ -610479,7 +610477,7 @@ async function sideQuery(opts) {
|
|
|
610479
610477
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
610480
610478
|
}
|
|
610481
610479
|
const messageText = extractFirstUserMessageText(messages);
|
|
610482
|
-
const fingerprint = computeFingerprint(messageText, "0.1.
|
|
610480
|
+
const fingerprint = computeFingerprint(messageText, "0.1.1");
|
|
610483
610481
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
610484
610482
|
const systemBlocks = [
|
|
610485
610483
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -615052,7 +615050,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
615052
615050
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
615053
615051
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
615054
615052
|
betas: getSdkBetas(),
|
|
615055
|
-
claude_code_version: "0.1.
|
|
615053
|
+
claude_code_version: "0.1.1",
|
|
615056
615054
|
output_style: outputStyle2,
|
|
615057
615055
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
615058
615056
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -628199,7 +628197,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
628199
628197
|
function getSemverPart(version3) {
|
|
628200
628198
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
628201
628199
|
}
|
|
628202
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.1.
|
|
628200
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.1.1") {
|
|
628203
628201
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react338.useState(() => getSemverPart(initialVersion));
|
|
628204
628202
|
if (!updatedVersion) {
|
|
628205
628203
|
return null;
|
|
@@ -628239,7 +628237,7 @@ function AutoUpdater({
|
|
|
628239
628237
|
return;
|
|
628240
628238
|
}
|
|
628241
628239
|
if (false) {}
|
|
628242
|
-
const currentVersion = "0.1.
|
|
628240
|
+
const currentVersion = "0.1.1";
|
|
628243
628241
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
628244
628242
|
let latestVersion = await getLatestVersion(channel);
|
|
628245
628243
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -628424,12 +628422,12 @@ function NativeAutoUpdater({
|
|
|
628424
628422
|
logEvent("tengu_native_auto_updater_start", {});
|
|
628425
628423
|
try {
|
|
628426
628424
|
const maxVersion = await getMaxVersion();
|
|
628427
|
-
if (maxVersion && gt("0.1.
|
|
628425
|
+
if (maxVersion && gt("0.1.1", maxVersion)) {
|
|
628428
628426
|
const msg = await getMaxVersionMessage();
|
|
628429
628427
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
628430
628428
|
}
|
|
628431
628429
|
const result = await installLatest(channel);
|
|
628432
|
-
const currentVersion = "0.1.
|
|
628430
|
+
const currentVersion = "0.1.1";
|
|
628433
628431
|
const latencyMs = Date.now() - startTime;
|
|
628434
628432
|
if (result.lockFailed) {
|
|
628435
628433
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -628542,17 +628540,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
628542
628540
|
const maxVersion = await getMaxVersion();
|
|
628543
628541
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
628544
628542
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
628545
|
-
if (gte("0.1.
|
|
628546
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.
|
|
628543
|
+
if (gte("0.1.1", maxVersion)) {
|
|
628544
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
628547
628545
|
setUpdateAvailable(false);
|
|
628548
628546
|
return;
|
|
628549
628547
|
}
|
|
628550
628548
|
latest = maxVersion;
|
|
628551
628549
|
}
|
|
628552
|
-
const hasUpdate = latest && !gte("0.1.
|
|
628550
|
+
const hasUpdate = latest && !gte("0.1.1", latest) && !shouldSkipVersion(latest);
|
|
628553
628551
|
setUpdateAvailable(!!hasUpdate);
|
|
628554
628552
|
if (hasUpdate) {
|
|
628555
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.
|
|
628553
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.1"} -> ${latest}`);
|
|
628556
628554
|
}
|
|
628557
628555
|
};
|
|
628558
628556
|
$3[0] = t1;
|
|
@@ -628584,7 +628582,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
628584
628582
|
t4 = verbose && /* @__PURE__ */ React410.createElement(ThemedText, {
|
|
628585
628583
|
dimColor: true,
|
|
628586
628584
|
wrap: "truncate"
|
|
628587
|
-
}, "currentVersion: ", "0.1.
|
|
628585
|
+
}, "currentVersion: ", "0.1.1");
|
|
628588
628586
|
$3[3] = verbose;
|
|
628589
628587
|
$3[4] = t4;
|
|
628590
628588
|
} else {
|
|
@@ -635806,7 +635804,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
635806
635804
|
project_dir: getOriginalCwd(),
|
|
635807
635805
|
added_dirs: addedDirs
|
|
635808
635806
|
},
|
|
635809
|
-
version: "0.1.
|
|
635807
|
+
version: "0.1.1",
|
|
635810
635808
|
output_style: {
|
|
635811
635809
|
name: outputStyleName
|
|
635812
635810
|
},
|
|
@@ -655435,7 +655433,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
655435
655433
|
} catch {}
|
|
655436
655434
|
const data = {
|
|
655437
655435
|
trigger,
|
|
655438
|
-
version: "0.1.
|
|
655436
|
+
version: "0.1.1",
|
|
655439
655437
|
platform: process.platform,
|
|
655440
655438
|
transcript,
|
|
655441
655439
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -666622,7 +666620,7 @@ function WelcomeV2() {
|
|
|
666622
666620
|
color: "claude"
|
|
666623
666621
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
666624
666622
|
dimColor: true
|
|
666625
|
-
}, "v", "0.1.
|
|
666623
|
+
}, "v", "0.1.1", " "));
|
|
666626
666624
|
t17 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
666627
666625
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
666628
666626
|
t32 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
@@ -666726,7 +666724,7 @@ function WelcomeV2() {
|
|
|
666726
666724
|
color: "claude"
|
|
666727
666725
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
666728
666726
|
dimColor: true
|
|
666729
|
-
}, "v", "0.1.
|
|
666727
|
+
}, "v", "0.1.1", " "));
|
|
666730
666728
|
t1 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
666731
666729
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
666732
666730
|
t3 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " * █████▓▓░ ");
|
|
@@ -666853,7 +666851,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
666853
666851
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
666854
666852
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
666855
666853
|
dimColor: true
|
|
666856
|
-
}, "v", "0.1.
|
|
666854
|
+
}, "v", "0.1.1", " ");
|
|
666857
666855
|
$3[2] = t22;
|
|
666858
666856
|
} else {
|
|
666859
666857
|
t22 = $3[2];
|
|
@@ -666991,7 +666989,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
666991
666989
|
if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
666992
666990
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
666993
666991
|
dimColor: true
|
|
666994
|
-
}, "v", "0.1.
|
|
666992
|
+
}, "v", "0.1.1", " ");
|
|
666995
666993
|
$3[24] = t2;
|
|
666996
666994
|
} else {
|
|
666997
666995
|
t2 = $3[24];
|
|
@@ -668193,7 +668191,7 @@ function completeOnboarding() {
|
|
|
668193
668191
|
saveGlobalConfig((current) => ({
|
|
668194
668192
|
...current,
|
|
668195
668193
|
hasCompletedOnboarding: true,
|
|
668196
|
-
lastOnboardingVersion: "0.1.
|
|
668194
|
+
lastOnboardingVersion: "0.1.1"
|
|
668197
668195
|
}));
|
|
668198
668196
|
}
|
|
668199
668197
|
function showDialog(root2, renderer) {
|
|
@@ -672442,7 +672440,7 @@ function appendToLog(path24, message) {
|
|
|
672442
672440
|
cwd: getFsImplementation().cwd(),
|
|
672443
672441
|
userType: process.env.USER_TYPE,
|
|
672444
672442
|
sessionId: getSessionId(),
|
|
672445
|
-
version: "0.1.
|
|
672443
|
+
version: "0.1.1"
|
|
672446
672444
|
};
|
|
672447
672445
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
672448
672446
|
}
|
|
@@ -676427,8 +676425,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
676427
676425
|
}
|
|
676428
676426
|
async function checkEnvLessBridgeMinVersion() {
|
|
676429
676427
|
const cfg = await getEnvLessBridgeConfig();
|
|
676430
|
-
if (cfg.min_version && lt("0.1.
|
|
676431
|
-
return `Your version of codez (${"0.1.
|
|
676428
|
+
if (cfg.min_version && lt("0.1.1", cfg.min_version)) {
|
|
676429
|
+
return `Your version of codez (${"0.1.1"}) is too old for Remote Control.
|
|
676432
676430
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
676433
676431
|
}
|
|
676434
676432
|
return null;
|
|
@@ -676902,7 +676900,7 @@ async function initBridgeCore(params) {
|
|
|
676902
676900
|
const rawApi = createBridgeApiClient({
|
|
676903
676901
|
baseUrl,
|
|
676904
676902
|
getAccessToken,
|
|
676905
|
-
runnerVersion: "0.1.
|
|
676903
|
+
runnerVersion: "0.1.1",
|
|
676906
676904
|
onDebug: logForDebugging,
|
|
676907
676905
|
onAuth401,
|
|
676908
676906
|
getTrustedDeviceToken
|
|
@@ -682523,7 +682521,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
682523
682521
|
setCwd(cwd3);
|
|
682524
682522
|
const server = new Server({
|
|
682525
682523
|
name: "claude/tengu",
|
|
682526
|
-
version: "0.1.
|
|
682524
|
+
version: "0.1.1"
|
|
682527
682525
|
}, {
|
|
682528
682526
|
capabilities: {
|
|
682529
682527
|
tools: {}
|
|
@@ -684024,7 +684022,7 @@ __export(exports_update, {
|
|
|
684024
684022
|
});
|
|
684025
684023
|
async function update() {
|
|
684026
684024
|
logEvent("tengu_update_check", {});
|
|
684027
|
-
writeToStdout(`Current version: ${"0.1.
|
|
684025
|
+
writeToStdout(`Current version: ${"0.1.1"}
|
|
684028
684026
|
`);
|
|
684029
684027
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
684030
684028
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -684099,8 +684097,8 @@ async function update() {
|
|
|
684099
684097
|
writeToStdout(`Claude is managed by Homebrew.
|
|
684100
684098
|
`);
|
|
684101
684099
|
const latest = await getLatestVersion(channel);
|
|
684102
|
-
if (latest && !gte("0.1.
|
|
684103
|
-
writeToStdout(`Update available: ${"0.1.
|
|
684100
|
+
if (latest && !gte("0.1.1", latest)) {
|
|
684101
|
+
writeToStdout(`Update available: ${"0.1.1"} → ${latest}
|
|
684104
684102
|
`);
|
|
684105
684103
|
writeToStdout(`
|
|
684106
684104
|
`);
|
|
@@ -684116,8 +684114,8 @@ async function update() {
|
|
|
684116
684114
|
writeToStdout(`Claude is managed by winget.
|
|
684117
684115
|
`);
|
|
684118
684116
|
const latest = await getLatestVersion(channel);
|
|
684119
|
-
if (latest && !gte("0.1.
|
|
684120
|
-
writeToStdout(`Update available: ${"0.1.
|
|
684117
|
+
if (latest && !gte("0.1.1", latest)) {
|
|
684118
|
+
writeToStdout(`Update available: ${"0.1.1"} → ${latest}
|
|
684121
684119
|
`);
|
|
684122
684120
|
writeToStdout(`
|
|
684123
684121
|
`);
|
|
@@ -684133,8 +684131,8 @@ async function update() {
|
|
|
684133
684131
|
writeToStdout(`Claude is managed by apk.
|
|
684134
684132
|
`);
|
|
684135
684133
|
const latest = await getLatestVersion(channel);
|
|
684136
|
-
if (latest && !gte("0.1.
|
|
684137
|
-
writeToStdout(`Update available: ${"0.1.
|
|
684134
|
+
if (latest && !gte("0.1.1", latest)) {
|
|
684135
|
+
writeToStdout(`Update available: ${"0.1.1"} → ${latest}
|
|
684138
684136
|
`);
|
|
684139
684137
|
writeToStdout(`
|
|
684140
684138
|
`);
|
|
@@ -684199,11 +684197,11 @@ async function update() {
|
|
|
684199
684197
|
`);
|
|
684200
684198
|
await gracefulShutdown(1);
|
|
684201
684199
|
}
|
|
684202
|
-
if (result.latestVersion === "0.1.
|
|
684203
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
684200
|
+
if (result.latestVersion === "0.1.1") {
|
|
684201
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.1"})`) + `
|
|
684204
684202
|
`);
|
|
684205
684203
|
} else {
|
|
684206
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
684204
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.1"} to version ${result.latestVersion}`) + `
|
|
684207
684205
|
`);
|
|
684208
684206
|
await regenerateCompletionCache();
|
|
684209
684207
|
}
|
|
@@ -684263,12 +684261,12 @@ async function update() {
|
|
|
684263
684261
|
`);
|
|
684264
684262
|
await gracefulShutdown(1);
|
|
684265
684263
|
}
|
|
684266
|
-
if (latestVersion === "0.1.
|
|
684267
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
684264
|
+
if (latestVersion === "0.1.1") {
|
|
684265
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.1"})`) + `
|
|
684268
684266
|
`);
|
|
684269
684267
|
await gracefulShutdown(0);
|
|
684270
684268
|
}
|
|
684271
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.
|
|
684269
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.1"})
|
|
684272
684270
|
`);
|
|
684273
684271
|
writeToStdout(`Installing update...
|
|
684274
684272
|
`);
|
|
@@ -684313,7 +684311,7 @@ async function update() {
|
|
|
684313
684311
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
684314
684312
|
switch (status2) {
|
|
684315
684313
|
case "success":
|
|
684316
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
684314
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.1"} to version ${latestVersion}`) + `
|
|
684317
684315
|
`);
|
|
684318
684316
|
await regenerateCompletionCache();
|
|
684319
684317
|
break;
|
|
@@ -685557,7 +685555,7 @@ ${customInstructions}` : customInstructions;
|
|
|
685557
685555
|
}
|
|
685558
685556
|
}
|
|
685559
685557
|
logForDiagnosticsNoPII("info", "started", {
|
|
685560
|
-
version: "0.1.
|
|
685558
|
+
version: "0.1.1",
|
|
685561
685559
|
is_native_binary: isInBundledMode()
|
|
685562
685560
|
});
|
|
685563
685561
|
registerCleanup(async () => {
|
|
@@ -686341,7 +686339,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
686341
686339
|
pendingHookMessages
|
|
686342
686340
|
}, renderAndRun);
|
|
686343
686341
|
}
|
|
686344
|
-
}).version("0.1.
|
|
686342
|
+
}).version("0.1.1", "-v, --version", "Output the version number");
|
|
686345
686343
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
686346
686344
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
686347
686345
|
if (canUserConfigureAdvisor()) {
|
|
@@ -686856,7 +686854,7 @@ async function main2() {
|
|
|
686856
686854
|
const args = process.argv.slice(2);
|
|
686857
686855
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
686858
686856
|
const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
|
|
686859
|
-
console.log(`${"0.1.
|
|
686857
|
+
console.log(`${"0.1.1"} (${label})`);
|
|
686860
686858
|
return;
|
|
686861
686859
|
}
|
|
686862
686860
|
const {
|
|
@@ -686940,4 +686938,4 @@ async function main2() {
|
|
|
686940
686938
|
}
|
|
686941
686939
|
main2();
|
|
686942
686940
|
|
|
686943
|
-
//# debugId=
|
|
686941
|
+
//# debugId=3FA7C5806AD647B064756E2164756E21
|