codez-cli 0.1.12 → 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 +91 -91
  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 || getDefaultSonnetModel();
71758
+ return process.env.OPENAI_SMALL_FAST_MODEL || getDefaultHaikuModel();
71759
71759
  }
71760
71760
  function isNonCustomOpusModel(model) {
71761
71761
  return model === "gpt-5.4";
@@ -71794,7 +71794,7 @@ function getDefaultSonnetModel() {
71794
71794
  if (process.env.OPENAI_SONNET_MODEL)
71795
71795
  return process.env.OPENAI_SONNET_MODEL;
71796
71796
  const settings = getSettings_DEPRECATED();
71797
- return settings?.modelSettings?.sonnetModel || "gpt-5.3-codex-spark";
71797
+ return settings?.modelSettings?.sonnetModel || "gpt-5.4-mini";
71798
71798
  }
71799
71799
  function getDefaultHaikuModel() {
71800
71800
  if (process.env.OPENAI_HAIKU_MODEL)
@@ -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.12"}`;
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.12"} (${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.12"}${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.12",
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.12".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.12",
89754
+ version: "0.1.13",
89755
89755
  versionBase: getVersionBase(),
89756
- buildTime: "2026-04-02T01:02:54.783Z",
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.12"
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.12");
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.12"}.${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.12";
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.12";
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.12",
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.12",
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.12");
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.12"
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.12");
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.12");
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.12");
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.12", 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.12"}) 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.12"
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.12"
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.12" : "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.12", maxVersion)) {
398534
- logForDebugging(`Native installer: current version ${"0.1.12"} 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.12" && 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-02T01:02:54.783Z").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.12",
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.12")), 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.12"}
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.12"
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.12",
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.12";
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.12"}`,
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.12") {
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.12")
548544
548544
  releaseNotes
548545
548545
  };
548546
548546
  }
548547
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.12") {
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.12";
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.12") {
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.12") {
551408
+ if (current.lastReleaseNotesSeen === "0.1.13") {
551409
551409
  return current;
551410
551410
  }
551411
551411
  return {
551412
551412
  ...current,
551413
- lastReleaseNotesSeen: "0.1.12"
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.12"
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.12"} (built ${"2026-04-02T01:02:54.783Z"})`
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(() => {
@@ -578248,7 +578248,7 @@ function ModelTierPicker({
578248
578248
  smallFastModel: value
578249
578249
  }));
578250
578250
  updateSettingsForSource("user", {
578251
- modelSettings: { sonnetModel: value }
578251
+ modelSettings: { haikuModel: value }
578252
578252
  });
578253
578253
  onDone(`Set small model to ${source_default.bold(renderModelName(value))}`);
578254
578254
  }
@@ -583909,7 +583909,7 @@ function generateHtmlReport(data, insights) {
583909
583909
  </html>`;
583910
583910
  }
583911
583911
  function buildExportData(data, insights, facets, remoteStats) {
583912
- const version3 = typeof MACRO !== "undefined" ? "0.1.12" : "unknown";
583912
+ const version3 = typeof MACRO !== "undefined" ? "0.1.13" : "unknown";
583913
583913
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
583914
583914
  const facets_summary = {
583915
583915
  total: facets.size,
@@ -588018,7 +588018,7 @@ var init_sessionStorage = __esm(() => {
588018
588018
  init_settings2();
588019
588019
  init_slowOperations();
588020
588020
  init_uuid();
588021
- VERSION4 = typeof MACRO !== "undefined" ? "0.1.12" : "unknown";
588021
+ VERSION4 = typeof MACRO !== "undefined" ? "0.1.13" : "unknown";
588022
588022
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
588023
588023
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
588024
588024
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -589223,7 +589223,7 @@ var init_filesystem = __esm(() => {
589223
589223
  });
589224
589224
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
589225
589225
  const nonce = randomBytes20(16).toString("hex");
589226
- return join139(getClaudeTempDir(), "bundled-skills", "0.1.12", nonce);
589226
+ return join139(getClaudeTempDir(), "bundled-skills", "0.1.13", nonce);
589227
589227
  });
589228
589228
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
589229
589229
  });
@@ -595213,7 +595213,7 @@ function computeFingerprint(messageText, version3) {
595213
595213
  }
595214
595214
  function computeFingerprintFromMessages(messages) {
595215
595215
  const firstMessageText = extractFirstMessageText(messages);
595216
- return computeFingerprint(firstMessageText, "0.1.12");
595216
+ return computeFingerprint(firstMessageText, "0.1.13");
595217
595217
  }
595218
595218
  var FINGERPRINT_SALT = "59cf53e54c78";
595219
595219
  var init_fingerprint = () => {};
@@ -597117,7 +597117,7 @@ async function sideQuery(opts) {
597117
597117
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
597118
597118
  }
597119
597119
  const messageText = extractFirstUserMessageText(messages);
597120
- const fingerprint = computeFingerprint(messageText, "0.1.12");
597120
+ const fingerprint = computeFingerprint(messageText, "0.1.13");
597121
597121
  const attributionHeader = getAttributionHeader(fingerprint);
597122
597122
  const systemBlocks = [
597123
597123
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -601690,7 +601690,7 @@ function buildSystemInitMessage(inputs) {
601690
601690
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
601691
601691
  apiKeySource: getAnthropicApiKeyWithSource().source,
601692
601692
  betas: getSdkBetas(),
601693
- claude_code_version: "0.1.12",
601693
+ claude_code_version: "0.1.13",
601694
601694
  output_style: outputStyle2,
601695
601695
  agents: inputs.agents.map((agent) => agent.agentType),
601696
601696
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -614837,7 +614837,7 @@ var init_useVoiceEnabled = __esm(() => {
614837
614837
  function getSemverPart(version3) {
614838
614838
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
614839
614839
  }
614840
- function useUpdateNotification(updatedVersion, initialVersion = "0.1.12") {
614840
+ function useUpdateNotification(updatedVersion, initialVersion = "0.1.13") {
614841
614841
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react338.useState(() => getSemverPart(initialVersion));
614842
614842
  if (!updatedVersion) {
614843
614843
  return null;
@@ -614877,7 +614877,7 @@ function AutoUpdater({
614877
614877
  return;
614878
614878
  }
614879
614879
  if (false) {}
614880
- const currentVersion = "0.1.12";
614880
+ const currentVersion = "0.1.13";
614881
614881
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
614882
614882
  let latestVersion = await getLatestVersion(channel);
614883
614883
  const isDisabled = isAutoUpdaterDisabled();
@@ -615062,12 +615062,12 @@ function NativeAutoUpdater({
615062
615062
  logEvent("tengu_native_auto_updater_start", {});
615063
615063
  try {
615064
615064
  const maxVersion = await getMaxVersion();
615065
- if (maxVersion && gt("0.1.12", maxVersion)) {
615065
+ if (maxVersion && gt("0.1.13", maxVersion)) {
615066
615066
  const msg = await getMaxVersionMessage();
615067
615067
  setMaxVersionIssue(msg ?? "affects your version");
615068
615068
  }
615069
615069
  const result = await installLatest(channel);
615070
- const currentVersion = "0.1.12";
615070
+ const currentVersion = "0.1.13";
615071
615071
  const latencyMs = Date.now() - startTime;
615072
615072
  if (result.lockFailed) {
615073
615073
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -615180,17 +615180,17 @@ function PackageManagerAutoUpdater(t0) {
615180
615180
  const maxVersion = await getMaxVersion();
615181
615181
  if (maxVersion && latest && gt(latest, maxVersion)) {
615182
615182
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
615183
- if (gte("0.1.12", maxVersion)) {
615184
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.12"} 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`);
615185
615185
  setUpdateAvailable(false);
615186
615186
  return;
615187
615187
  }
615188
615188
  latest = maxVersion;
615189
615189
  }
615190
- const hasUpdate = latest && !gte("0.1.12", latest) && !shouldSkipVersion(latest);
615190
+ const hasUpdate = latest && !gte("0.1.13", latest) && !shouldSkipVersion(latest);
615191
615191
  setUpdateAvailable(!!hasUpdate);
615192
615192
  if (hasUpdate) {
615193
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.12"} -> ${latest}`);
615193
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.13"} -> ${latest}`);
615194
615194
  }
615195
615195
  };
615196
615196
  $3[0] = t1;
@@ -615222,7 +615222,7 @@ function PackageManagerAutoUpdater(t0) {
615222
615222
  t4 = verbose && /* @__PURE__ */ React411.createElement(ThemedText, {
615223
615223
  dimColor: true,
615224
615224
  wrap: "truncate"
615225
- }, "currentVersion: ", "0.1.12");
615225
+ }, "currentVersion: ", "0.1.13");
615226
615226
  $3[3] = verbose;
615227
615227
  $3[4] = t4;
615228
615228
  } else {
@@ -622444,7 +622444,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
622444
622444
  project_dir: getOriginalCwd(),
622445
622445
  added_dirs: addedDirs
622446
622446
  },
622447
- version: "0.1.12",
622447
+ version: "0.1.13",
622448
622448
  output_style: {
622449
622449
  name: outputStyleName
622450
622450
  },
@@ -642073,7 +642073,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
642073
642073
  } catch {}
642074
642074
  const data = {
642075
642075
  trigger,
642076
- version: "0.1.12",
642076
+ version: "0.1.13",
642077
642077
  platform: process.platform,
642078
642078
  transcript,
642079
642079
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -653215,7 +653215,7 @@ function WelcomeV2() {
653215
653215
  color: "claude"
653216
653216
  }, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
653217
653217
  dimColor: true
653218
- }, "v", "0.1.12", " "));
653218
+ }, "v", "0.1.13", " "));
653219
653219
  t17 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
653220
653220
  t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
653221
653221
  t32 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
@@ -653319,7 +653319,7 @@ function WelcomeV2() {
653319
653319
  color: "claude"
653320
653320
  }, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
653321
653321
  dimColor: true
653322
- }, "v", "0.1.12", " "));
653322
+ }, "v", "0.1.13", " "));
653323
653323
  t1 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
653324
653324
  t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
653325
653325
  t3 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " * █████▓▓░ ");
@@ -653446,7 +653446,7 @@ function AppleTerminalWelcomeV2(t0) {
653446
653446
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
653447
653447
  t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
653448
653448
  dimColor: true
653449
- }, "v", "0.1.12", " ");
653449
+ }, "v", "0.1.13", " ");
653450
653450
  $3[2] = t22;
653451
653451
  } else {
653452
653452
  t22 = $3[2];
@@ -653584,7 +653584,7 @@ function AppleTerminalWelcomeV2(t0) {
653584
653584
  if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
653585
653585
  t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
653586
653586
  dimColor: true
653587
- }, "v", "0.1.12", " ");
653587
+ }, "v", "0.1.13", " ");
653588
653588
  $3[24] = t2;
653589
653589
  } else {
653590
653590
  t2 = $3[24];
@@ -654786,7 +654786,7 @@ function completeOnboarding() {
654786
654786
  saveGlobalConfig((current) => ({
654787
654787
  ...current,
654788
654788
  hasCompletedOnboarding: true,
654789
- lastOnboardingVersion: "0.1.12"
654789
+ lastOnboardingVersion: "0.1.13"
654790
654790
  }));
654791
654791
  }
654792
654792
  function showDialog(root2, renderer) {
@@ -659064,7 +659064,7 @@ function appendToLog(path24, message) {
659064
659064
  cwd: getFsImplementation().cwd(),
659065
659065
  userType: process.env.USER_TYPE,
659066
659066
  sessionId: getSessionId(),
659067
- version: "0.1.12"
659067
+ version: "0.1.13"
659068
659068
  };
659069
659069
  getLogWriter(path24).write(messageWithTimestamp);
659070
659070
  }
@@ -663049,8 +663049,8 @@ async function getEnvLessBridgeConfig() {
663049
663049
  }
663050
663050
  async function checkEnvLessBridgeMinVersion() {
663051
663051
  const cfg = await getEnvLessBridgeConfig();
663052
- if (cfg.min_version && lt("0.1.12", cfg.min_version)) {
663053
- return `Your version of codez (${"0.1.12"}) 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.
663054
663054
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
663055
663055
  }
663056
663056
  return null;
@@ -663524,7 +663524,7 @@ async function initBridgeCore(params) {
663524
663524
  const rawApi = createBridgeApiClient({
663525
663525
  baseUrl,
663526
663526
  getAccessToken,
663527
- runnerVersion: "0.1.12",
663527
+ runnerVersion: "0.1.13",
663528
663528
  onDebug: logForDebugging,
663529
663529
  onAuth401,
663530
663530
  getTrustedDeviceToken
@@ -668723,7 +668723,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
668723
668723
  setCwd(cwd3);
668724
668724
  const server = new Server({
668725
668725
  name: "claude/tengu",
668726
- version: "0.1.12"
668726
+ version: "0.1.13"
668727
668727
  }, {
668728
668728
  capabilities: {
668729
668729
  tools: {}
@@ -670224,7 +670224,7 @@ __export(exports_update, {
670224
670224
  });
670225
670225
  async function update() {
670226
670226
  logEvent("tengu_update_check", {});
670227
- writeToStdout(`Current version: ${"0.1.12"}
670227
+ writeToStdout(`Current version: ${"0.1.13"}
670228
670228
  `);
670229
670229
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
670230
670230
  writeToStdout(`Checking for updates to ${channel} version...
@@ -670299,8 +670299,8 @@ async function update() {
670299
670299
  writeToStdout(`Claude is managed by Homebrew.
670300
670300
  `);
670301
670301
  const latest = await getLatestVersion(channel);
670302
- if (latest && !gte("0.1.12", latest)) {
670303
- writeToStdout(`Update available: ${"0.1.12"} → ${latest}
670302
+ if (latest && !gte("0.1.13", latest)) {
670303
+ writeToStdout(`Update available: ${"0.1.13"} → ${latest}
670304
670304
  `);
670305
670305
  writeToStdout(`
670306
670306
  `);
@@ -670316,8 +670316,8 @@ async function update() {
670316
670316
  writeToStdout(`Claude is managed by winget.
670317
670317
  `);
670318
670318
  const latest = await getLatestVersion(channel);
670319
- if (latest && !gte("0.1.12", latest)) {
670320
- writeToStdout(`Update available: ${"0.1.12"} → ${latest}
670319
+ if (latest && !gte("0.1.13", latest)) {
670320
+ writeToStdout(`Update available: ${"0.1.13"} → ${latest}
670321
670321
  `);
670322
670322
  writeToStdout(`
670323
670323
  `);
@@ -670333,8 +670333,8 @@ async function update() {
670333
670333
  writeToStdout(`Claude is managed by apk.
670334
670334
  `);
670335
670335
  const latest = await getLatestVersion(channel);
670336
- if (latest && !gte("0.1.12", latest)) {
670337
- writeToStdout(`Update available: ${"0.1.12"} → ${latest}
670336
+ if (latest && !gte("0.1.13", latest)) {
670337
+ writeToStdout(`Update available: ${"0.1.13"} → ${latest}
670338
670338
  `);
670339
670339
  writeToStdout(`
670340
670340
  `);
@@ -670399,11 +670399,11 @@ async function update() {
670399
670399
  `);
670400
670400
  await gracefulShutdown(1);
670401
670401
  }
670402
- if (result.latestVersion === "0.1.12") {
670403
- writeToStdout(source_default.green(`codez is up to date (${"0.1.12"})`) + `
670402
+ if (result.latestVersion === "0.1.13") {
670403
+ writeToStdout(source_default.green(`codez is up to date (${"0.1.13"})`) + `
670404
670404
  `);
670405
670405
  } else {
670406
- writeToStdout(source_default.green(`Successfully updated from ${"0.1.12"} to version ${result.latestVersion}`) + `
670406
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.13"} to version ${result.latestVersion}`) + `
670407
670407
  `);
670408
670408
  await regenerateCompletionCache();
670409
670409
  }
@@ -670463,12 +670463,12 @@ async function update() {
670463
670463
  `);
670464
670464
  await gracefulShutdown(1);
670465
670465
  }
670466
- if (latestVersion === "0.1.12") {
670467
- writeToStdout(source_default.green(`codez is up to date (${"0.1.12"})`) + `
670466
+ if (latestVersion === "0.1.13") {
670467
+ writeToStdout(source_default.green(`codez is up to date (${"0.1.13"})`) + `
670468
670468
  `);
670469
670469
  await gracefulShutdown(0);
670470
670470
  }
670471
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.12"})
670471
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.13"})
670472
670472
  `);
670473
670473
  writeToStdout(`Installing update...
670474
670474
  `);
@@ -670513,7 +670513,7 @@ async function update() {
670513
670513
  logForDebugging(`update: Installation status: ${status2}`);
670514
670514
  switch (status2) {
670515
670515
  case "success":
670516
- writeToStdout(source_default.green(`Successfully updated from ${"0.1.12"} to version ${latestVersion}`) + `
670516
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.13"} to version ${latestVersion}`) + `
670517
670517
  `);
670518
670518
  await regenerateCompletionCache();
670519
670519
  break;
@@ -671757,7 +671757,7 @@ ${customInstructions}` : customInstructions;
671757
671757
  }
671758
671758
  }
671759
671759
  logForDiagnosticsNoPII("info", "started", {
671760
- version: "0.1.12",
671760
+ version: "0.1.13",
671761
671761
  is_native_binary: isInBundledMode()
671762
671762
  });
671763
671763
  registerCleanup(async () => {
@@ -672541,7 +672541,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
672541
672541
  pendingHookMessages
672542
672542
  }, renderAndRun);
672543
672543
  }
672544
- }).version("0.1.12", "-v, --version", "Output the version number");
672544
+ }).version("0.1.13", "-v, --version", "Output the version number");
672545
672545
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
672546
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.");
672547
672547
  if (canUserConfigureAdvisor()) {
@@ -673054,7 +673054,7 @@ async function main2() {
673054
673054
  const args = process.argv.slice(2);
673055
673055
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
673056
673056
  const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
673057
- console.log(`${"0.1.12"} (${label})`);
673057
+ console.log(`${"0.1.13"} (${label})`);
673058
673058
  return;
673059
673059
  }
673060
673060
  const {
@@ -673138,4 +673138,4 @@ async function main2() {
673138
673138
  }
673139
673139
  main2();
673140
673140
 
673141
- //# debugId=F250BA59B4CF72F064756E2164756E21
673141
+ //# debugId=7924EA66BBD50A1D64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codez-cli",
3
- "version": "0.1.12",
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": {