codez-cli 0.1.11 → 0.1.13

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.
Files changed (2) hide show
  1. package/dist/cli.js +96 -89
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -71755,7 +71755,7 @@ function getSmallFastModel() {
71755
71755
  const override = getSmallFastModelOverride();
71756
71756
  if (override)
71757
71757
  return override;
71758
- return process.env.OPENAI_SMALL_FAST_MODEL || "gpt-5.4-mini";
71758
+ return process.env.OPENAI_SMALL_FAST_MODEL || getDefaultHaikuModel();
71759
71759
  }
71760
71760
  function isNonCustomOpusModel(model) {
71761
71761
  return model === "gpt-5.4";
@@ -75164,7 +75164,7 @@ var init_auth = __esm(() => {
75164
75164
 
75165
75165
  // src/utils/userAgent.ts
75166
75166
  function getClaudeCodeUserAgent() {
75167
- return `claude-code/${"0.1.11"}`;
75167
+ return `claude-code/${"0.1.13"}`;
75168
75168
  }
75169
75169
 
75170
75170
  // src/utils/workloadContext.ts
@@ -75186,7 +75186,7 @@ function getUserAgent() {
75186
75186
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
75187
75187
  const workload = getWorkload();
75188
75188
  const workloadSuffix = workload ? `, workload/${workload}` : "";
75189
- return `claude-cli/${"0.1.11"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
75189
+ return `claude-cli/${"0.1.13"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
75190
75190
  }
75191
75191
  function getMCPUserAgent() {
75192
75192
  const parts = [];
@@ -75200,7 +75200,7 @@ function getMCPUserAgent() {
75200
75200
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
75201
75201
  }
75202
75202
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
75203
- return `claude-code/${"0.1.11"}${suffix}`;
75203
+ return `claude-code/${"0.1.13"}${suffix}`;
75204
75204
  }
75205
75205
  function getWebFetchUserAgent() {
75206
75206
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -75338,7 +75338,7 @@ var init_user = __esm(() => {
75338
75338
  deviceId,
75339
75339
  sessionId: getSessionId(),
75340
75340
  email: getEmail(),
75341
- appVersion: "0.1.11",
75341
+ appVersion: "0.1.13",
75342
75342
  platform: getHostPlatformForAnalytics(),
75343
75343
  organizationUuid,
75344
75344
  accountUuid,
@@ -89711,7 +89711,7 @@ var init_metadata = __esm(() => {
89711
89711
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
89712
89712
  WHITESPACE_REGEX = /\s+/;
89713
89713
  getVersionBase = memoize_default(() => {
89714
- const match = "0.1.11".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
89714
+ const match = "0.1.13".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
89715
89715
  return match ? match[0] : undefined;
89716
89716
  });
89717
89717
  buildEnvContext = memoize_default(async () => {
@@ -89751,9 +89751,9 @@ var init_metadata = __esm(() => {
89751
89751
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
89752
89752
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
89753
89753
  isClaudeAiAuth: isClaudeAISubscriber(),
89754
- version: "0.1.11",
89754
+ version: "0.1.13",
89755
89755
  versionBase: getVersionBase(),
89756
- buildTime: "2026-04-02T00:58:05.107Z",
89756
+ buildTime: "2026-04-02T01:04:09.035Z",
89757
89757
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
89758
89758
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
89759
89759
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -90421,7 +90421,7 @@ function initialize1PEventLogging() {
90421
90421
  const platform3 = getPlatform();
90422
90422
  const attributes = {
90423
90423
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
90424
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.11"
90424
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.13"
90425
90425
  };
90426
90426
  if (platform3 === "wsl") {
90427
90427
  const wslVersion = getWslVersion();
@@ -90448,7 +90448,7 @@ function initialize1PEventLogging() {
90448
90448
  })
90449
90449
  ]
90450
90450
  });
90451
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.11");
90451
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.13");
90452
90452
  }
90453
90453
  async function reinitialize1PEventLoggingIfConfigChanged() {
90454
90454
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -92394,7 +92394,7 @@ function getAttributionHeader(fingerprint) {
92394
92394
  if (!isAttributionHeaderEnabled()) {
92395
92395
  return "";
92396
92396
  }
92397
- const version2 = `${"0.1.11"}.${fingerprint}`;
92397
+ const version2 = `${"0.1.13"}.${fingerprint}`;
92398
92398
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
92399
92399
  const cch = "";
92400
92400
  const workload = getWorkload();
@@ -293424,7 +293424,7 @@ function getTelemetryAttributes() {
293424
293424
  attributes["session.id"] = sessionId;
293425
293425
  }
293426
293426
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
293427
- attributes["app.version"] = "0.1.11";
293427
+ attributes["app.version"] = "0.1.13";
293428
293428
  }
293429
293429
  const oauthAccount = getOauthAccountInfo();
293430
293430
  if (oauthAccount) {
@@ -317434,7 +317434,7 @@ function getInstallationEnv() {
317434
317434
  return;
317435
317435
  }
317436
317436
  function getClaudeCodeVersion() {
317437
- return "0.1.11";
317437
+ return "0.1.13";
317438
317438
  }
317439
317439
  async function getInstalledVSCodeExtensionVersion(command) {
317440
317440
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -320153,7 +320153,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
320153
320153
  const client2 = new Client({
320154
320154
  name: "claude-code",
320155
320155
  title: "codez",
320156
- version: "0.1.11",
320156
+ version: "0.1.13",
320157
320157
  description: "AI-powered agentic coding tool",
320158
320158
  websiteUrl: PRODUCT_URL
320159
320159
  }, {
@@ -320508,7 +320508,7 @@ var init_client5 = __esm(() => {
320508
320508
  const client2 = new Client({
320509
320509
  name: "claude-code",
320510
320510
  title: "codez",
320511
- version: "0.1.11",
320511
+ version: "0.1.13",
320512
320512
  description: "AI-powered agentic coding tool",
320513
320513
  websiteUrl: PRODUCT_URL
320514
320514
  }, {
@@ -396109,7 +396109,7 @@ async function initializeBetaTracing(resource) {
396109
396109
  });
396110
396110
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
396111
396111
  setLoggerProvider(loggerProvider);
396112
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.11");
396112
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.13");
396113
396113
  setEventLogger(eventLogger);
396114
396114
  process.on("beforeExit", async () => {
396115
396115
  await loggerProvider?.forceFlush();
@@ -396149,7 +396149,7 @@ async function initializeTelemetry() {
396149
396149
  const platform5 = getPlatform();
396150
396150
  const baseAttributes = {
396151
396151
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
396152
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.11"
396152
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.13"
396153
396153
  };
396154
396154
  if (platform5 === "wsl") {
396155
396155
  const wslVersion = getWslVersion();
@@ -396194,7 +396194,7 @@ async function initializeTelemetry() {
396194
396194
  } catch {}
396195
396195
  };
396196
396196
  registerCleanup(shutdownTelemetry2);
396197
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.11");
396197
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.13");
396198
396198
  }
396199
396199
  const meterProvider = new import_sdk_metrics2.MeterProvider({
396200
396200
  resource,
@@ -396214,7 +396214,7 @@ async function initializeTelemetry() {
396214
396214
  });
396215
396215
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
396216
396216
  setLoggerProvider(loggerProvider);
396217
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.11");
396217
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.13");
396218
396218
  setEventLogger(eventLogger);
396219
396219
  logForDebugging("[3P telemetry] Event logger set successfully");
396220
396220
  process.on("beforeExit", async () => {
@@ -396276,7 +396276,7 @@ Current timeout: ${timeoutMs}ms
396276
396276
  }
396277
396277
  };
396278
396278
  registerCleanup(shutdownTelemetry);
396279
- return meterProvider.getMeter("com.anthropic.claude_code", "0.1.11");
396279
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.1.13");
396280
396280
  }
396281
396281
  async function flushTelemetry() {
396282
396282
  const meterProvider = getMeterProvider();
@@ -396833,9 +396833,9 @@ async function assertMinVersion() {
396833
396833
  if (false) {}
396834
396834
  try {
396835
396835
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
396836
- if (versionConfig.minVersion && lt("0.1.11", versionConfig.minVersion)) {
396836
+ if (versionConfig.minVersion && lt("0.1.13", versionConfig.minVersion)) {
396837
396837
  console.error(`
396838
- It looks like your version of codez (${"0.1.11"}) needs an update.
396838
+ It looks like your version of codez (${"0.1.13"}) needs an update.
396839
396839
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
396840
396840
 
396841
396841
  To update, please run:
@@ -397051,7 +397051,7 @@ async function installGlobalPackage(specificVersion) {
397051
397051
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
397052
397052
  logEvent("tengu_auto_updater_lock_contention", {
397053
397053
  pid: process.pid,
397054
- currentVersion: "0.1.11"
397054
+ currentVersion: "0.1.13"
397055
397055
  });
397056
397056
  return "in_progress";
397057
397057
  }
@@ -397060,7 +397060,7 @@ async function installGlobalPackage(specificVersion) {
397060
397060
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
397061
397061
  logError2(new Error("Windows NPM detected in WSL environment"));
397062
397062
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
397063
- currentVersion: "0.1.11"
397063
+ currentVersion: "0.1.13"
397064
397064
  });
397065
397065
  console.error(`
397066
397066
  Error: Windows NPM detected in WSL
@@ -397595,7 +397595,7 @@ function detectLinuxGlobPatternWarnings() {
397595
397595
  }
397596
397596
  async function getDoctorDiagnostic() {
397597
397597
  const installationType = await getCurrentInstallationType();
397598
- const version2 = typeof MACRO !== "undefined" ? "0.1.11" : "unknown";
397598
+ const version2 = typeof MACRO !== "undefined" ? "0.1.13" : "unknown";
397599
397599
  const installationPath = await getInstallationPath();
397600
397600
  const invokedBinary = getInvokedBinary();
397601
397601
  const multipleInstallations = await detectMultipleInstallations();
@@ -398530,8 +398530,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
398530
398530
  const maxVersion = await getMaxVersion();
398531
398531
  if (maxVersion && gt(version2, maxVersion)) {
398532
398532
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
398533
- if (gte("0.1.11", maxVersion)) {
398534
- logForDebugging(`Native installer: current version ${"0.1.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
398533
+ if (gte("0.1.13", maxVersion)) {
398534
+ logForDebugging(`Native installer: current version ${"0.1.13"} is already at or above maxVersion ${maxVersion}, skipping update`);
398535
398535
  logEvent("tengu_native_update_skipped_max_version", {
398536
398536
  latency_ms: Date.now() - startTime,
398537
398537
  max_version: maxVersion,
@@ -398542,7 +398542,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
398542
398542
  version2 = maxVersion;
398543
398543
  }
398544
398544
  }
398545
- if (!forceReinstall && version2 === "0.1.11" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
398545
+ if (!forceReinstall && version2 === "0.1.13" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
398546
398546
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
398547
398547
  logEvent("tengu_native_update_complete", {
398548
398548
  latency_ms: Date.now() - startTime,
@@ -489363,7 +489363,7 @@ function getAnthropicEnvMetadata() {
489363
489363
  function getBuildAgeMinutes() {
489364
489364
  if (false)
489365
489365
  ;
489366
- const buildTime = new Date("2026-04-02T00:58:05.107Z").getTime();
489366
+ const buildTime = new Date("2026-04-02T01:04:09.035Z").getTime();
489367
489367
  if (isNaN(buildTime))
489368
489368
  return;
489369
489369
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -513709,7 +513709,7 @@ function Feedback({
513709
513709
  platform: env4.platform,
513710
513710
  gitRepo: envInfo.isGit,
513711
513711
  terminal: env4.terminal,
513712
- version: "0.1.11",
513712
+ version: "0.1.13",
513713
513713
  transcript: normalizeMessagesForAPI(messages),
513714
513714
  errors: sanitizedErrors,
513715
513715
  lastApiRequest: getLastAPIRequest(),
@@ -513848,7 +513848,7 @@ function Feedback({
513848
513848
  dimColor: true
513849
513849
  }, description)), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Environment info:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
513850
513850
  dimColor: true
513851
- }, env4.platform, ", ", env4.terminal, ", v", "0.1.11")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
513851
+ }, env4.platform, ", ", env4.terminal, ", v", "0.1.13")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
513852
513852
  dimColor: true
513853
513853
  }, 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
513854
  marginTop: 1
@@ -513885,7 +513885,7 @@ ${sanitizedDescription}
513885
513885
  ` + `**Environment Info**
513886
513886
  ` + `- Platform: ${env4.platform}
513887
513887
  ` + `- Terminal: ${env4.terminal}
513888
- ` + `- Version: ${"0.1.11"}
513888
+ ` + `- Version: ${"0.1.13"}
513889
513889
  ` + `- Feedback ID: ${feedbackId}
513890
513890
  ` + `
513891
513891
  **Errors**
@@ -516946,7 +516946,7 @@ function buildPrimarySection() {
516946
516946
  }, "/rename to add a name");
516947
516947
  return [{
516948
516948
  label: "Version",
516949
- value: "0.1.11"
516949
+ value: "0.1.13"
516950
516950
  }, {
516951
516951
  label: "Session name",
516952
516952
  value: nameValue
@@ -520350,7 +520350,7 @@ function Config({
520350
520350
  });
520351
520351
  }
520352
520352
  })) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ React182.createElement(ChannelDowngradeDialog, {
520353
- currentVersion: "0.1.11",
520353
+ currentVersion: "0.1.13",
520354
520354
  onChoice: (choice) => {
520355
520355
  setShowSubmenu(null);
520356
520356
  setTabsHidden(false);
@@ -520362,7 +520362,7 @@ function Config({
520362
520362
  autoUpdatesChannel: "stable"
520363
520363
  };
520364
520364
  if (choice === "stay") {
520365
- newSettings.minimumVersion = "0.1.11";
520365
+ newSettings.minimumVersion = "0.1.13";
520366
520366
  }
520367
520367
  updateSettingsForSource("userSettings", newSettings);
520368
520368
  setSettingsData((prev_27) => ({
@@ -527123,7 +527123,7 @@ function HelpV2(t0) {
527123
527123
  let t6;
527124
527124
  if ($3[31] !== tabs) {
527125
527125
  t6 = /* @__PURE__ */ React209.createElement(Tabs, {
527126
- title: `codez v${"0.1.11"}`,
527126
+ title: `codez v${"0.1.13"}`,
527127
527127
  color: "professionalBlue",
527128
527128
  defaultTab: "general"
527129
527129
  }, tabs);
@@ -548517,7 +548517,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
548517
548517
  return [];
548518
548518
  }
548519
548519
  }
548520
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.11") {
548520
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.13") {
548521
548521
  if (process.env.USER_TYPE === "ant") {
548522
548522
  const changelog = MACRO.VERSION_CHANGELOG;
548523
548523
  if (changelog) {
@@ -548544,7 +548544,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.11")
548544
548544
  releaseNotes
548545
548545
  };
548546
548546
  }
548547
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.11") {
548547
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.13") {
548548
548548
  if (process.env.USER_TYPE === "ant") {
548549
548549
  const changelog = MACRO.VERSION_CHANGELOG;
548550
548550
  if (changelog) {
@@ -549714,7 +549714,7 @@ function getRecentActivitySync() {
549714
549714
  return cachedActivity;
549715
549715
  }
549716
549716
  function getLogoDisplayData() {
549717
- const version2 = process.env.DEMO_VERSION ?? "0.1.11";
549717
+ const version2 = process.env.DEMO_VERSION ?? "0.1.13";
549718
549718
  const serverUrl = getDirectConnectServerUrl();
549719
549719
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
549720
549720
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -550867,7 +550867,7 @@ function LogoV2() {
550867
550867
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
550868
550868
  t2 = () => {
550869
550869
  const currentConfig = getGlobalConfig();
550870
- if (currentConfig.lastReleaseNotesSeen === "0.1.11") {
550870
+ if (currentConfig.lastReleaseNotesSeen === "0.1.13") {
550871
550871
  return;
550872
550872
  }
550873
550873
  saveGlobalConfig(_temp329);
@@ -551405,12 +551405,12 @@ function LogoV2() {
551405
551405
  return t41;
551406
551406
  }
551407
551407
  function _temp329(current) {
551408
- if (current.lastReleaseNotesSeen === "0.1.11") {
551408
+ if (current.lastReleaseNotesSeen === "0.1.13") {
551409
551409
  return current;
551410
551410
  }
551411
551411
  return {
551412
551412
  ...current,
551413
- lastReleaseNotesSeen: "0.1.11"
551413
+ lastReleaseNotesSeen: "0.1.13"
551414
551414
  };
551415
551415
  }
551416
551416
  function _temp245(s_0) {
@@ -575091,7 +575091,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
575091
575091
  smapsRollup,
575092
575092
  platform: process.platform,
575093
575093
  nodeVersion: process.version,
575094
- ccVersion: "0.1.11"
575094
+ ccVersion: "0.1.13"
575095
575095
  };
575096
575096
  }
575097
575097
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -575677,7 +575677,7 @@ var init_bridge_kick = __esm(() => {
575677
575677
  var call56 = async () => {
575678
575678
  return {
575679
575679
  type: "text",
575680
- value: `${"0.1.11"} (built ${"2026-04-02T00:58:05.107Z"})`
575680
+ value: `${"0.1.13"} (built ${"2026-04-02T01:04:09.035Z"})`
575681
575681
  };
575682
575682
  }, version2, version_default;
575683
575683
  var init_version = __esm(() => {
@@ -578237,6 +578237,9 @@ function ModelTierPicker({
578237
578237
  mainLoopModel: value,
578238
578238
  mainLoopModelForSession: null
578239
578239
  }));
578240
+ updateSettingsForSource("user", {
578241
+ modelSettings: { defaultModel: value }
578242
+ });
578240
578243
  onDone(`Set main model to ${source_default.bold(renderModelName(value))}`);
578241
578244
  } else {
578242
578245
  setSmallFastModelOverride(value);
@@ -578244,6 +578247,9 @@ function ModelTierPicker({
578244
578247
  ...prev,
578245
578248
  smallFastModel: value
578246
578249
  }));
578250
+ updateSettingsForSource("user", {
578251
+ modelSettings: { haikuModel: value }
578252
+ });
578247
578253
  onDone(`Set small model to ${source_default.bold(renderModelName(value))}`);
578248
578254
  }
578249
578255
  },
@@ -578279,6 +578285,7 @@ var init_ModelTierPicker = __esm(() => {
578279
578285
  init_model();
578280
578286
  init_state();
578281
578287
  init_AppState();
578288
+ init_settings2();
578282
578289
  React355 = __toESM(require_react(), 1);
578283
578290
  SIZE_OPTIONS = [
578284
578291
  {
@@ -583902,7 +583909,7 @@ function generateHtmlReport(data, insights) {
583902
583909
  </html>`;
583903
583910
  }
583904
583911
  function buildExportData(data, insights, facets, remoteStats) {
583905
- const version3 = typeof MACRO !== "undefined" ? "0.1.11" : "unknown";
583912
+ const version3 = typeof MACRO !== "undefined" ? "0.1.13" : "unknown";
583906
583913
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
583907
583914
  const facets_summary = {
583908
583915
  total: facets.size,
@@ -588011,7 +588018,7 @@ var init_sessionStorage = __esm(() => {
588011
588018
  init_settings2();
588012
588019
  init_slowOperations();
588013
588020
  init_uuid();
588014
- VERSION4 = typeof MACRO !== "undefined" ? "0.1.11" : "unknown";
588021
+ VERSION4 = typeof MACRO !== "undefined" ? "0.1.13" : "unknown";
588015
588022
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
588016
588023
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
588017
588024
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -589216,7 +589223,7 @@ var init_filesystem = __esm(() => {
589216
589223
  });
589217
589224
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
589218
589225
  const nonce = randomBytes20(16).toString("hex");
589219
- return join139(getClaudeTempDir(), "bundled-skills", "0.1.11", nonce);
589226
+ return join139(getClaudeTempDir(), "bundled-skills", "0.1.13", nonce);
589220
589227
  });
589221
589228
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
589222
589229
  });
@@ -595206,7 +595213,7 @@ function computeFingerprint(messageText, version3) {
595206
595213
  }
595207
595214
  function computeFingerprintFromMessages(messages) {
595208
595215
  const firstMessageText = extractFirstMessageText(messages);
595209
- return computeFingerprint(firstMessageText, "0.1.11");
595216
+ return computeFingerprint(firstMessageText, "0.1.13");
595210
595217
  }
595211
595218
  var FINGERPRINT_SALT = "59cf53e54c78";
595212
595219
  var init_fingerprint = () => {};
@@ -597110,7 +597117,7 @@ async function sideQuery(opts) {
597110
597117
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
597111
597118
  }
597112
597119
  const messageText = extractFirstUserMessageText(messages);
597113
- const fingerprint = computeFingerprint(messageText, "0.1.11");
597120
+ const fingerprint = computeFingerprint(messageText, "0.1.13");
597114
597121
  const attributionHeader = getAttributionHeader(fingerprint);
597115
597122
  const systemBlocks = [
597116
597123
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -601683,7 +601690,7 @@ function buildSystemInitMessage(inputs) {
601683
601690
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
601684
601691
  apiKeySource: getAnthropicApiKeyWithSource().source,
601685
601692
  betas: getSdkBetas(),
601686
- claude_code_version: "0.1.11",
601693
+ claude_code_version: "0.1.13",
601687
601694
  output_style: outputStyle2,
601688
601695
  agents: inputs.agents.map((agent) => agent.agentType),
601689
601696
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -614830,7 +614837,7 @@ var init_useVoiceEnabled = __esm(() => {
614830
614837
  function getSemverPart(version3) {
614831
614838
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
614832
614839
  }
614833
- function useUpdateNotification(updatedVersion, initialVersion = "0.1.11") {
614840
+ function useUpdateNotification(updatedVersion, initialVersion = "0.1.13") {
614834
614841
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react338.useState(() => getSemverPart(initialVersion));
614835
614842
  if (!updatedVersion) {
614836
614843
  return null;
@@ -614870,7 +614877,7 @@ function AutoUpdater({
614870
614877
  return;
614871
614878
  }
614872
614879
  if (false) {}
614873
- const currentVersion = "0.1.11";
614880
+ const currentVersion = "0.1.13";
614874
614881
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
614875
614882
  let latestVersion = await getLatestVersion(channel);
614876
614883
  const isDisabled = isAutoUpdaterDisabled();
@@ -615055,12 +615062,12 @@ function NativeAutoUpdater({
615055
615062
  logEvent("tengu_native_auto_updater_start", {});
615056
615063
  try {
615057
615064
  const maxVersion = await getMaxVersion();
615058
- if (maxVersion && gt("0.1.11", maxVersion)) {
615065
+ if (maxVersion && gt("0.1.13", maxVersion)) {
615059
615066
  const msg = await getMaxVersionMessage();
615060
615067
  setMaxVersionIssue(msg ?? "affects your version");
615061
615068
  }
615062
615069
  const result = await installLatest(channel);
615063
- const currentVersion = "0.1.11";
615070
+ const currentVersion = "0.1.13";
615064
615071
  const latencyMs = Date.now() - startTime;
615065
615072
  if (result.lockFailed) {
615066
615073
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -615173,17 +615180,17 @@ function PackageManagerAutoUpdater(t0) {
615173
615180
  const maxVersion = await getMaxVersion();
615174
615181
  if (maxVersion && latest && gt(latest, maxVersion)) {
615175
615182
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
615176
- if (gte("0.1.11", maxVersion)) {
615177
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
615183
+ if (gte("0.1.13", maxVersion)) {
615184
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.13"} is already at or above maxVersion ${maxVersion}, skipping update`);
615178
615185
  setUpdateAvailable(false);
615179
615186
  return;
615180
615187
  }
615181
615188
  latest = maxVersion;
615182
615189
  }
615183
- const hasUpdate = latest && !gte("0.1.11", latest) && !shouldSkipVersion(latest);
615190
+ const hasUpdate = latest && !gte("0.1.13", latest) && !shouldSkipVersion(latest);
615184
615191
  setUpdateAvailable(!!hasUpdate);
615185
615192
  if (hasUpdate) {
615186
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.11"} -> ${latest}`);
615193
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.13"} -> ${latest}`);
615187
615194
  }
615188
615195
  };
615189
615196
  $3[0] = t1;
@@ -615215,7 +615222,7 @@ function PackageManagerAutoUpdater(t0) {
615215
615222
  t4 = verbose && /* @__PURE__ */ React411.createElement(ThemedText, {
615216
615223
  dimColor: true,
615217
615224
  wrap: "truncate"
615218
- }, "currentVersion: ", "0.1.11");
615225
+ }, "currentVersion: ", "0.1.13");
615219
615226
  $3[3] = verbose;
615220
615227
  $3[4] = t4;
615221
615228
  } else {
@@ -622437,7 +622444,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
622437
622444
  project_dir: getOriginalCwd(),
622438
622445
  added_dirs: addedDirs
622439
622446
  },
622440
- version: "0.1.11",
622447
+ version: "0.1.13",
622441
622448
  output_style: {
622442
622449
  name: outputStyleName
622443
622450
  },
@@ -642066,7 +642073,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
642066
642073
  } catch {}
642067
642074
  const data = {
642068
642075
  trigger,
642069
- version: "0.1.11",
642076
+ version: "0.1.13",
642070
642077
  platform: process.platform,
642071
642078
  transcript,
642072
642079
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -653208,7 +653215,7 @@ function WelcomeV2() {
653208
653215
  color: "claude"
653209
653216
  }, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
653210
653217
  dimColor: true
653211
- }, "v", "0.1.11", " "));
653218
+ }, "v", "0.1.13", " "));
653212
653219
  t17 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
653213
653220
  t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
653214
653221
  t32 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
@@ -653312,7 +653319,7 @@ function WelcomeV2() {
653312
653319
  color: "claude"
653313
653320
  }, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
653314
653321
  dimColor: true
653315
- }, "v", "0.1.11", " "));
653322
+ }, "v", "0.1.13", " "));
653316
653323
  t1 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
653317
653324
  t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
653318
653325
  t3 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " * █████▓▓░ ");
@@ -653439,7 +653446,7 @@ function AppleTerminalWelcomeV2(t0) {
653439
653446
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
653440
653447
  t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
653441
653448
  dimColor: true
653442
- }, "v", "0.1.11", " ");
653449
+ }, "v", "0.1.13", " ");
653443
653450
  $3[2] = t22;
653444
653451
  } else {
653445
653452
  t22 = $3[2];
@@ -653577,7 +653584,7 @@ function AppleTerminalWelcomeV2(t0) {
653577
653584
  if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
653578
653585
  t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
653579
653586
  dimColor: true
653580
- }, "v", "0.1.11", " ");
653587
+ }, "v", "0.1.13", " ");
653581
653588
  $3[24] = t2;
653582
653589
  } else {
653583
653590
  t2 = $3[24];
@@ -654779,7 +654786,7 @@ function completeOnboarding() {
654779
654786
  saveGlobalConfig((current) => ({
654780
654787
  ...current,
654781
654788
  hasCompletedOnboarding: true,
654782
- lastOnboardingVersion: "0.1.11"
654789
+ lastOnboardingVersion: "0.1.13"
654783
654790
  }));
654784
654791
  }
654785
654792
  function showDialog(root2, renderer) {
@@ -659057,7 +659064,7 @@ function appendToLog(path24, message) {
659057
659064
  cwd: getFsImplementation().cwd(),
659058
659065
  userType: process.env.USER_TYPE,
659059
659066
  sessionId: getSessionId(),
659060
- version: "0.1.11"
659067
+ version: "0.1.13"
659061
659068
  };
659062
659069
  getLogWriter(path24).write(messageWithTimestamp);
659063
659070
  }
@@ -663042,8 +663049,8 @@ async function getEnvLessBridgeConfig() {
663042
663049
  }
663043
663050
  async function checkEnvLessBridgeMinVersion() {
663044
663051
  const cfg = await getEnvLessBridgeConfig();
663045
- if (cfg.min_version && lt("0.1.11", cfg.min_version)) {
663046
- return `Your version of codez (${"0.1.11"}) is too old for Remote Control.
663052
+ if (cfg.min_version && lt("0.1.13", cfg.min_version)) {
663053
+ return `Your version of codez (${"0.1.13"}) is too old for Remote Control.
663047
663054
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
663048
663055
  }
663049
663056
  return null;
@@ -663517,7 +663524,7 @@ async function initBridgeCore(params) {
663517
663524
  const rawApi = createBridgeApiClient({
663518
663525
  baseUrl,
663519
663526
  getAccessToken,
663520
- runnerVersion: "0.1.11",
663527
+ runnerVersion: "0.1.13",
663521
663528
  onDebug: logForDebugging,
663522
663529
  onAuth401,
663523
663530
  getTrustedDeviceToken
@@ -668716,7 +668723,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
668716
668723
  setCwd(cwd3);
668717
668724
  const server = new Server({
668718
668725
  name: "claude/tengu",
668719
- version: "0.1.11"
668726
+ version: "0.1.13"
668720
668727
  }, {
668721
668728
  capabilities: {
668722
668729
  tools: {}
@@ -670217,7 +670224,7 @@ __export(exports_update, {
670217
670224
  });
670218
670225
  async function update() {
670219
670226
  logEvent("tengu_update_check", {});
670220
- writeToStdout(`Current version: ${"0.1.11"}
670227
+ writeToStdout(`Current version: ${"0.1.13"}
670221
670228
  `);
670222
670229
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
670223
670230
  writeToStdout(`Checking for updates to ${channel} version...
@@ -670292,8 +670299,8 @@ async function update() {
670292
670299
  writeToStdout(`Claude is managed by Homebrew.
670293
670300
  `);
670294
670301
  const latest = await getLatestVersion(channel);
670295
- if (latest && !gte("0.1.11", latest)) {
670296
- writeToStdout(`Update available: ${"0.1.11"} → ${latest}
670302
+ if (latest && !gte("0.1.13", latest)) {
670303
+ writeToStdout(`Update available: ${"0.1.13"} → ${latest}
670297
670304
  `);
670298
670305
  writeToStdout(`
670299
670306
  `);
@@ -670309,8 +670316,8 @@ async function update() {
670309
670316
  writeToStdout(`Claude is managed by winget.
670310
670317
  `);
670311
670318
  const latest = await getLatestVersion(channel);
670312
- if (latest && !gte("0.1.11", latest)) {
670313
- writeToStdout(`Update available: ${"0.1.11"} → ${latest}
670319
+ if (latest && !gte("0.1.13", latest)) {
670320
+ writeToStdout(`Update available: ${"0.1.13"} → ${latest}
670314
670321
  `);
670315
670322
  writeToStdout(`
670316
670323
  `);
@@ -670326,8 +670333,8 @@ async function update() {
670326
670333
  writeToStdout(`Claude is managed by apk.
670327
670334
  `);
670328
670335
  const latest = await getLatestVersion(channel);
670329
- if (latest && !gte("0.1.11", latest)) {
670330
- writeToStdout(`Update available: ${"0.1.11"} → ${latest}
670336
+ if (latest && !gte("0.1.13", latest)) {
670337
+ writeToStdout(`Update available: ${"0.1.13"} → ${latest}
670331
670338
  `);
670332
670339
  writeToStdout(`
670333
670340
  `);
@@ -670392,11 +670399,11 @@ async function update() {
670392
670399
  `);
670393
670400
  await gracefulShutdown(1);
670394
670401
  }
670395
- if (result.latestVersion === "0.1.11") {
670396
- writeToStdout(source_default.green(`codez is up to date (${"0.1.11"})`) + `
670402
+ if (result.latestVersion === "0.1.13") {
670403
+ writeToStdout(source_default.green(`codez is up to date (${"0.1.13"})`) + `
670397
670404
  `);
670398
670405
  } else {
670399
- writeToStdout(source_default.green(`Successfully updated from ${"0.1.11"} to version ${result.latestVersion}`) + `
670406
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.13"} to version ${result.latestVersion}`) + `
670400
670407
  `);
670401
670408
  await regenerateCompletionCache();
670402
670409
  }
@@ -670456,12 +670463,12 @@ async function update() {
670456
670463
  `);
670457
670464
  await gracefulShutdown(1);
670458
670465
  }
670459
- if (latestVersion === "0.1.11") {
670460
- writeToStdout(source_default.green(`codez is up to date (${"0.1.11"})`) + `
670466
+ if (latestVersion === "0.1.13") {
670467
+ writeToStdout(source_default.green(`codez is up to date (${"0.1.13"})`) + `
670461
670468
  `);
670462
670469
  await gracefulShutdown(0);
670463
670470
  }
670464
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.11"})
670471
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.13"})
670465
670472
  `);
670466
670473
  writeToStdout(`Installing update...
670467
670474
  `);
@@ -670506,7 +670513,7 @@ async function update() {
670506
670513
  logForDebugging(`update: Installation status: ${status2}`);
670507
670514
  switch (status2) {
670508
670515
  case "success":
670509
- writeToStdout(source_default.green(`Successfully updated from ${"0.1.11"} to version ${latestVersion}`) + `
670516
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.13"} to version ${latestVersion}`) + `
670510
670517
  `);
670511
670518
  await regenerateCompletionCache();
670512
670519
  break;
@@ -671750,7 +671757,7 @@ ${customInstructions}` : customInstructions;
671750
671757
  }
671751
671758
  }
671752
671759
  logForDiagnosticsNoPII("info", "started", {
671753
- version: "0.1.11",
671760
+ version: "0.1.13",
671754
671761
  is_native_binary: isInBundledMode()
671755
671762
  });
671756
671763
  registerCleanup(async () => {
@@ -672534,7 +672541,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
672534
672541
  pendingHookMessages
672535
672542
  }, renderAndRun);
672536
672543
  }
672537
- }).version("0.1.11", "-v, --version", "Output the version number");
672544
+ }).version("0.1.13", "-v, --version", "Output the version number");
672538
672545
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
672539
672546
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
672540
672547
  if (canUserConfigureAdvisor()) {
@@ -673047,7 +673054,7 @@ async function main2() {
673047
673054
  const args = process.argv.slice(2);
673048
673055
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
673049
673056
  const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
673050
- console.log(`${"0.1.11"} (${label})`);
673057
+ console.log(`${"0.1.13"} (${label})`);
673051
673058
  return;
673052
673059
  }
673053
673060
  const {
@@ -673131,4 +673138,4 @@ async function main2() {
673131
673138
  }
673132
673139
  main2();
673133
673140
 
673134
- //# debugId=5E8134721788473564756E2164756E21
673141
+ //# debugId=7924EA66BBD50A1D64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codez-cli",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "AI coding CLI powered by OpenAI GPT-5.4 — the ultimate code companion",
5
5
  "type": "module",
6
6
  "bin": {