codez-cli 0.1.6 → 0.1.7

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 +311 -422
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -71530,6 +71530,9 @@ function getContextWindowForModel(model, betas) {
71530
71530
  return override;
71531
71531
  }
71532
71532
  }
71533
+ if (has1mContext(model)) {
71534
+ return 1e6;
71535
+ }
71533
71536
  const m = model.toLowerCase().replace(/\[1m\]$/i, "");
71534
71537
  if (m.startsWith("gpt-5")) {
71535
71538
  return 200000;
@@ -75149,7 +75152,7 @@ var init_auth = __esm(() => {
75149
75152
 
75150
75153
  // src/utils/userAgent.ts
75151
75154
  function getClaudeCodeUserAgent() {
75152
- return `claude-code/${"0.1.6"}`;
75155
+ return `claude-code/${"0.1.7"}`;
75153
75156
  }
75154
75157
 
75155
75158
  // src/utils/workloadContext.ts
@@ -75171,7 +75174,7 @@ function getUserAgent() {
75171
75174
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
75172
75175
  const workload = getWorkload();
75173
75176
  const workloadSuffix = workload ? `, workload/${workload}` : "";
75174
- return `claude-cli/${"0.1.6"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
75177
+ return `claude-cli/${"0.1.7"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
75175
75178
  }
75176
75179
  function getMCPUserAgent() {
75177
75180
  const parts = [];
@@ -75185,7 +75188,7 @@ function getMCPUserAgent() {
75185
75188
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
75186
75189
  }
75187
75190
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
75188
- return `claude-code/${"0.1.6"}${suffix}`;
75191
+ return `claude-code/${"0.1.7"}${suffix}`;
75189
75192
  }
75190
75193
  function getWebFetchUserAgent() {
75191
75194
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -75323,7 +75326,7 @@ var init_user = __esm(() => {
75323
75326
  deviceId,
75324
75327
  sessionId: getSessionId(),
75325
75328
  email: getEmail(),
75326
- appVersion: "0.1.6",
75329
+ appVersion: "0.1.7",
75327
75330
  platform: getHostPlatformForAnalytics(),
75328
75331
  organizationUuid,
75329
75332
  accountUuid,
@@ -89696,7 +89699,7 @@ var init_metadata = __esm(() => {
89696
89699
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
89697
89700
  WHITESPACE_REGEX = /\s+/;
89698
89701
  getVersionBase = memoize_default(() => {
89699
- const match = "0.1.6".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
89702
+ const match = "0.1.7".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
89700
89703
  return match ? match[0] : undefined;
89701
89704
  });
89702
89705
  buildEnvContext = memoize_default(async () => {
@@ -89736,9 +89739,9 @@ var init_metadata = __esm(() => {
89736
89739
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
89737
89740
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
89738
89741
  isClaudeAiAuth: isClaudeAISubscriber(),
89739
- version: "0.1.6",
89742
+ version: "0.1.7",
89740
89743
  versionBase: getVersionBase(),
89741
- buildTime: "2026-04-01T23:58:30.988Z",
89744
+ buildTime: "2026-04-02T00:08:13.751Z",
89742
89745
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
89743
89746
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
89744
89747
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -90406,7 +90409,7 @@ function initialize1PEventLogging() {
90406
90409
  const platform3 = getPlatform();
90407
90410
  const attributes = {
90408
90411
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
90409
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.6"
90412
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.7"
90410
90413
  };
90411
90414
  if (platform3 === "wsl") {
90412
90415
  const wslVersion = getWslVersion();
@@ -90433,7 +90436,7 @@ function initialize1PEventLogging() {
90433
90436
  })
90434
90437
  ]
90435
90438
  });
90436
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.6");
90439
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.7");
90437
90440
  }
90438
90441
  async function reinitialize1PEventLoggingIfConfigChanged() {
90439
90442
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -92379,7 +92382,7 @@ function getAttributionHeader(fingerprint) {
92379
92382
  if (!isAttributionHeaderEnabled()) {
92380
92383
  return "";
92381
92384
  }
92382
- const version2 = `${"0.1.6"}.${fingerprint}`;
92385
+ const version2 = `${"0.1.7"}.${fingerprint}`;
92383
92386
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
92384
92387
  const cch = "";
92385
92388
  const workload = getWorkload();
@@ -293409,7 +293412,7 @@ function getTelemetryAttributes() {
293409
293412
  attributes["session.id"] = sessionId;
293410
293413
  }
293411
293414
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
293412
- attributes["app.version"] = "0.1.6";
293415
+ attributes["app.version"] = "0.1.7";
293413
293416
  }
293414
293417
  const oauthAccount = getOauthAccountInfo();
293415
293418
  if (oauthAccount) {
@@ -317418,7 +317421,7 @@ function getInstallationEnv() {
317418
317421
  return;
317419
317422
  }
317420
317423
  function getClaudeCodeVersion() {
317421
- return "0.1.6";
317424
+ return "0.1.7";
317422
317425
  }
317423
317426
  async function getInstalledVSCodeExtensionVersion(command) {
317424
317427
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -320137,7 +320140,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
320137
320140
  const client2 = new Client({
320138
320141
  name: "claude-code",
320139
320142
  title: "codez",
320140
- version: "0.1.6",
320143
+ version: "0.1.7",
320141
320144
  description: "AI-powered agentic coding tool",
320142
320145
  websiteUrl: PRODUCT_URL
320143
320146
  }, {
@@ -320492,7 +320495,7 @@ var init_client5 = __esm(() => {
320492
320495
  const client2 = new Client({
320493
320496
  name: "claude-code",
320494
320497
  title: "codez",
320495
- version: "0.1.6",
320498
+ version: "0.1.7",
320496
320499
  description: "AI-powered agentic coding tool",
320497
320500
  websiteUrl: PRODUCT_URL
320498
320501
  }, {
@@ -396093,7 +396096,7 @@ async function initializeBetaTracing(resource) {
396093
396096
  });
396094
396097
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
396095
396098
  setLoggerProvider(loggerProvider);
396096
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.6");
396099
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.7");
396097
396100
  setEventLogger(eventLogger);
396098
396101
  process.on("beforeExit", async () => {
396099
396102
  await loggerProvider?.forceFlush();
@@ -396133,7 +396136,7 @@ async function initializeTelemetry() {
396133
396136
  const platform5 = getPlatform();
396134
396137
  const baseAttributes = {
396135
396138
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
396136
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.6"
396139
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.7"
396137
396140
  };
396138
396141
  if (platform5 === "wsl") {
396139
396142
  const wslVersion = getWslVersion();
@@ -396178,7 +396181,7 @@ async function initializeTelemetry() {
396178
396181
  } catch {}
396179
396182
  };
396180
396183
  registerCleanup(shutdownTelemetry2);
396181
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.6");
396184
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.7");
396182
396185
  }
396183
396186
  const meterProvider = new import_sdk_metrics2.MeterProvider({
396184
396187
  resource,
@@ -396198,7 +396201,7 @@ async function initializeTelemetry() {
396198
396201
  });
396199
396202
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
396200
396203
  setLoggerProvider(loggerProvider);
396201
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.6");
396204
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.7");
396202
396205
  setEventLogger(eventLogger);
396203
396206
  logForDebugging("[3P telemetry] Event logger set successfully");
396204
396207
  process.on("beforeExit", async () => {
@@ -396260,7 +396263,7 @@ Current timeout: ${timeoutMs}ms
396260
396263
  }
396261
396264
  };
396262
396265
  registerCleanup(shutdownTelemetry);
396263
- return meterProvider.getMeter("com.anthropic.claude_code", "0.1.6");
396266
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.1.7");
396264
396267
  }
396265
396268
  async function flushTelemetry() {
396266
396269
  const meterProvider = getMeterProvider();
@@ -396817,9 +396820,9 @@ async function assertMinVersion() {
396817
396820
  if (false) {}
396818
396821
  try {
396819
396822
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
396820
- if (versionConfig.minVersion && lt("0.1.6", versionConfig.minVersion)) {
396823
+ if (versionConfig.minVersion && lt("0.1.7", versionConfig.minVersion)) {
396821
396824
  console.error(`
396822
- It looks like your version of codez (${"0.1.6"}) needs an update.
396825
+ It looks like your version of codez (${"0.1.7"}) needs an update.
396823
396826
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
396824
396827
 
396825
396828
  To update, please run:
@@ -397035,7 +397038,7 @@ async function installGlobalPackage(specificVersion) {
397035
397038
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
397036
397039
  logEvent("tengu_auto_updater_lock_contention", {
397037
397040
  pid: process.pid,
397038
- currentVersion: "0.1.6"
397041
+ currentVersion: "0.1.7"
397039
397042
  });
397040
397043
  return "in_progress";
397041
397044
  }
@@ -397044,7 +397047,7 @@ async function installGlobalPackage(specificVersion) {
397044
397047
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
397045
397048
  logError2(new Error("Windows NPM detected in WSL environment"));
397046
397049
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
397047
- currentVersion: "0.1.6"
397050
+ currentVersion: "0.1.7"
397048
397051
  });
397049
397052
  console.error(`
397050
397053
  Error: Windows NPM detected in WSL
@@ -397579,7 +397582,7 @@ function detectLinuxGlobPatternWarnings() {
397579
397582
  }
397580
397583
  async function getDoctorDiagnostic() {
397581
397584
  const installationType = await getCurrentInstallationType();
397582
- const version2 = typeof MACRO !== "undefined" ? "0.1.6" : "unknown";
397585
+ const version2 = typeof MACRO !== "undefined" ? "0.1.7" : "unknown";
397583
397586
  const installationPath = await getInstallationPath();
397584
397587
  const invokedBinary = getInvokedBinary();
397585
397588
  const multipleInstallations = await detectMultipleInstallations();
@@ -398514,8 +398517,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
398514
398517
  const maxVersion = await getMaxVersion();
398515
398518
  if (maxVersion && gt(version2, maxVersion)) {
398516
398519
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
398517
- if (gte("0.1.6", maxVersion)) {
398518
- logForDebugging(`Native installer: current version ${"0.1.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
398520
+ if (gte("0.1.7", maxVersion)) {
398521
+ logForDebugging(`Native installer: current version ${"0.1.7"} is already at or above maxVersion ${maxVersion}, skipping update`);
398519
398522
  logEvent("tengu_native_update_skipped_max_version", {
398520
398523
  latency_ms: Date.now() - startTime,
398521
398524
  max_version: maxVersion,
@@ -398526,7 +398529,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
398526
398529
  version2 = maxVersion;
398527
398530
  }
398528
398531
  }
398529
- if (!forceReinstall && version2 === "0.1.6" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
398532
+ if (!forceReinstall && version2 === "0.1.7" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
398530
398533
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
398531
398534
  logEvent("tengu_native_update_complete", {
398532
398535
  latency_ms: Date.now() - startTime,
@@ -475414,6 +475417,11 @@ function getOpenAIModelOptions() {
475414
475417
  label: "GPT-5.4",
475415
475418
  description: "Latest frontier agentic coding model"
475416
475419
  },
475420
+ {
475421
+ value: "gpt-5.4[1m]",
475422
+ label: "GPT-5.4 [1M]",
475423
+ description: "GPT-5.4 with 1M token context window"
475424
+ },
475417
475425
  {
475418
475426
  value: "gpt-5.4-mini",
475419
475427
  label: "GPT-5.4 Mini",
@@ -489347,7 +489355,7 @@ function getAnthropicEnvMetadata() {
489347
489355
  function getBuildAgeMinutes() {
489348
489356
  if (false)
489349
489357
  ;
489350
- const buildTime = new Date("2026-04-01T23:58:30.988Z").getTime();
489358
+ const buildTime = new Date("2026-04-02T00:08:13.751Z").getTime();
489351
489359
  if (isNaN(buildTime))
489352
489360
  return;
489353
489361
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -491679,6 +491687,8 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
491679
491687
  const hasFunctionTools = oaiTools.some((t) => t.type === "function");
491680
491688
  let params;
491681
491689
  const promptCacheKey = getSessionId() || undefined;
491690
+ const is1mContext = has1mContext(options.model);
491691
+ const contextWindowParams = is1mContext ? { model_context_window: 1050000, model_auto_compact_token_limit: 840000 } : {};
491682
491692
  if (client2.isOAuthChatgpt) {
491683
491693
  params = {
491684
491694
  model: openaiModel,
@@ -491691,7 +491701,8 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
491691
491701
  store: false,
491692
491702
  stream: true,
491693
491703
  include: reasoning ? ["reasoning.encrypted_content"] : [],
491694
- prompt_cache_key: promptCacheKey
491704
+ prompt_cache_key: promptCacheKey,
491705
+ ...contextWindowParams
491695
491706
  };
491696
491707
  } else {
491697
491708
  const maxOutputTokens = options.maxOutputTokensOverride || MAX_OUTPUT_TOKENS[openaiModel] || 16384;
@@ -491708,7 +491719,8 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
491708
491719
  reasoning,
491709
491720
  previous_response_id: usePreviousResponseId ? _lastResponseId : undefined,
491710
491721
  store: true,
491711
- prompt_cache_key: promptCacheKey
491722
+ prompt_cache_key: promptCacheKey,
491723
+ ...contextWindowParams
491712
491724
  };
491713
491725
  }
491714
491726
  logForDebugging(`[OpenAI] Request: model=${openaiModel} input=${input.length} items (${usePreviousResponseId ? "incremental, chain=" + _lastResponseId : "full"}) tools=${oaiTools.length}`);
@@ -492250,6 +492262,7 @@ var init_openai_query = __esm(() => {
492250
492262
  init_openai_adapter();
492251
492263
  init_effort();
492252
492264
  init_state();
492265
+ init_context();
492253
492266
  MAX_OUTPUT_TOKENS = {
492254
492267
  "gpt-5.4": 32768,
492255
492268
  "gpt-5.4-mini": 16384,
@@ -513693,7 +513706,7 @@ function Feedback({
513693
513706
  platform: env4.platform,
513694
513707
  gitRepo: envInfo.isGit,
513695
513708
  terminal: env4.terminal,
513696
- version: "0.1.6",
513709
+ version: "0.1.7",
513697
513710
  transcript: normalizeMessagesForAPI(messages),
513698
513711
  errors: sanitizedErrors,
513699
513712
  lastApiRequest: getLastAPIRequest(),
@@ -513832,7 +513845,7 @@ function Feedback({
513832
513845
  dimColor: true
513833
513846
  }, description)), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Environment info:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
513834
513847
  dimColor: true
513835
- }, env4.platform, ", ", env4.terminal, ", v", "0.1.6")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
513848
+ }, env4.platform, ", ", env4.terminal, ", v", "0.1.7")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
513836
513849
  dimColor: true
513837
513850
  }, 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, {
513838
513851
  marginTop: 1
@@ -513869,7 +513882,7 @@ ${sanitizedDescription}
513869
513882
  ` + `**Environment Info**
513870
513883
  ` + `- Platform: ${env4.platform}
513871
513884
  ` + `- Terminal: ${env4.terminal}
513872
- ` + `- Version: ${"0.1.6"}
513885
+ ` + `- Version: ${"0.1.7"}
513873
513886
  ` + `- Feedback ID: ${feedbackId}
513874
513887
  ` + `
513875
513888
  **Errors**
@@ -516930,7 +516943,7 @@ function buildPrimarySection() {
516930
516943
  }, "/rename to add a name");
516931
516944
  return [{
516932
516945
  label: "Version",
516933
- value: "0.1.6"
516946
+ value: "0.1.7"
516934
516947
  }, {
516935
516948
  label: "Session name",
516936
516949
  value: nameValue
@@ -520334,7 +520347,7 @@ function Config({
520334
520347
  });
520335
520348
  }
520336
520349
  })) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ React182.createElement(ChannelDowngradeDialog, {
520337
- currentVersion: "0.1.6",
520350
+ currentVersion: "0.1.7",
520338
520351
  onChoice: (choice) => {
520339
520352
  setShowSubmenu(null);
520340
520353
  setTabsHidden(false);
@@ -520346,7 +520359,7 @@ function Config({
520346
520359
  autoUpdatesChannel: "stable"
520347
520360
  };
520348
520361
  if (choice === "stay") {
520349
- newSettings.minimumVersion = "0.1.6";
520362
+ newSettings.minimumVersion = "0.1.7";
520350
520363
  }
520351
520364
  updateSettingsForSource("userSettings", newSettings);
520352
520365
  setSettingsData((prev_27) => ({
@@ -527107,7 +527120,7 @@ function HelpV2(t0) {
527107
527120
  let t6;
527108
527121
  if ($3[31] !== tabs) {
527109
527122
  t6 = /* @__PURE__ */ React209.createElement(Tabs, {
527110
- title: `codez v${"0.1.6"}`,
527123
+ title: `codez v${"0.1.7"}`,
527111
527124
  color: "professionalBlue",
527112
527125
  defaultTab: "general"
527113
527126
  }, tabs);
@@ -548501,7 +548514,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
548501
548514
  return [];
548502
548515
  }
548503
548516
  }
548504
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.6") {
548517
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.7") {
548505
548518
  if (process.env.USER_TYPE === "ant") {
548506
548519
  const changelog = MACRO.VERSION_CHANGELOG;
548507
548520
  if (changelog) {
@@ -548528,7 +548541,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.6") {
548528
548541
  releaseNotes
548529
548542
  };
548530
548543
  }
548531
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.6") {
548544
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.7") {
548532
548545
  if (process.env.USER_TYPE === "ant") {
548533
548546
  const changelog = MACRO.VERSION_CHANGELOG;
548534
548547
  if (changelog) {
@@ -549698,7 +549711,7 @@ function getRecentActivitySync() {
549698
549711
  return cachedActivity;
549699
549712
  }
549700
549713
  function getLogoDisplayData() {
549701
- const version2 = process.env.DEMO_VERSION ?? "0.1.6";
549714
+ const version2 = process.env.DEMO_VERSION ?? "0.1.7";
549702
549715
  const serverUrl = getDirectConnectServerUrl();
549703
549716
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
549704
549717
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -551074,7 +551087,7 @@ function LogoV2() {
551074
551087
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
551075
551088
  t2 = () => {
551076
551089
  const currentConfig = getGlobalConfig();
551077
- if (currentConfig.lastReleaseNotesSeen === "0.1.6") {
551090
+ if (currentConfig.lastReleaseNotesSeen === "0.1.7") {
551078
551091
  return;
551079
551092
  }
551080
551093
  saveGlobalConfig(_temp329);
@@ -551612,12 +551625,12 @@ function LogoV2() {
551612
551625
  return t41;
551613
551626
  }
551614
551627
  function _temp329(current) {
551615
- if (current.lastReleaseNotesSeen === "0.1.6") {
551628
+ if (current.lastReleaseNotesSeen === "0.1.7") {
551616
551629
  return current;
551617
551630
  }
551618
551631
  return {
551619
551632
  ...current,
551620
- lastReleaseNotesSeen: "0.1.6"
551633
+ lastReleaseNotesSeen: "0.1.7"
551621
551634
  };
551622
551635
  }
551623
551636
  function _temp245(s_0) {
@@ -575298,7 +575311,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
575298
575311
  smapsRollup,
575299
575312
  platform: process.platform,
575300
575313
  nodeVersion: process.version,
575301
- ccVersion: "0.1.6"
575314
+ ccVersion: "0.1.7"
575302
575315
  };
575303
575316
  }
575304
575317
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -575884,7 +575897,7 @@ var init_bridge_kick = __esm(() => {
575884
575897
  var call56 = async () => {
575885
575898
  return {
575886
575899
  type: "text",
575887
- value: `${"0.1.6"} (built ${"2026-04-01T23:58:30.988Z"})`
575900
+ value: `${"0.1.7"} (built ${"2026-04-02T00:08:13.751Z"})`
575888
575901
  };
575889
575902
  }, version2, version_default;
575890
575903
  var init_version = __esm(() => {
@@ -578533,125 +578546,6 @@ var exports_model2 = {};
578533
578546
  __export(exports_model2, {
578534
578547
  call: () => call63
578535
578548
  });
578536
- function ModelPickerWrapper(t0) {
578537
- const $3 = import_react_compiler_runtime272.c(17);
578538
- const {
578539
- onDone
578540
- } = t0;
578541
- const mainLoopModel = useAppState(_temp160);
578542
- const mainLoopModelForSession = useAppState(_temp272);
578543
- const isFastMode = useAppState(_temp346);
578544
- const setAppState = useSetAppState();
578545
- let t1;
578546
- if ($3[0] !== mainLoopModel || $3[1] !== onDone) {
578547
- t1 = function handleCancel2() {
578548
- logEvent("tengu_model_command_menu", {
578549
- action: "cancel"
578550
- });
578551
- const displayModel = renderModelLabel(mainLoopModel);
578552
- onDone(`Kept model as ${source_default.bold(displayModel)}`, {
578553
- display: "system"
578554
- });
578555
- };
578556
- $3[0] = mainLoopModel;
578557
- $3[1] = onDone;
578558
- $3[2] = t1;
578559
- } else {
578560
- t1 = $3[2];
578561
- }
578562
- const handleCancel = t1;
578563
- let t2;
578564
- if ($3[3] !== isFastMode || $3[4] !== mainLoopModel || $3[5] !== onDone || $3[6] !== setAppState) {
578565
- t2 = function handleSelect2(model, effort) {
578566
- logEvent("tengu_model_command_menu", {
578567
- action: model,
578568
- from_model: mainLoopModel,
578569
- to_model: model
578570
- });
578571
- setAppState((prev) => ({
578572
- ...prev,
578573
- mainLoopModel: model,
578574
- mainLoopModelForSession: null
578575
- }));
578576
- let message = `Set model to ${source_default.bold(renderModelLabel(model))}`;
578577
- if (effort !== undefined) {
578578
- message = message + ` with ${source_default.bold(effort)} effort`;
578579
- }
578580
- let wasFastModeToggledOn = undefined;
578581
- if (isFastModeEnabled()) {
578582
- clearFastModeCooldown();
578583
- if (!isFastModeSupportedByModel(model) && isFastMode) {
578584
- setAppState(_temp435);
578585
- wasFastModeToggledOn = false;
578586
- } else {
578587
- if (isFastModeSupportedByModel(model) && isFastModeAvailable() && isFastMode) {
578588
- message = message + " · Fast mode ON";
578589
- wasFastModeToggledOn = true;
578590
- }
578591
- }
578592
- }
578593
- if (isBilledAsExtraUsage(model, wasFastModeToggledOn === true, isOpus1mMergeEnabled())) {
578594
- message = message + " · Billed as extra usage";
578595
- }
578596
- if (wasFastModeToggledOn === false) {
578597
- message = message + " · Fast mode OFF";
578598
- }
578599
- onDone(message);
578600
- };
578601
- $3[3] = isFastMode;
578602
- $3[4] = mainLoopModel;
578603
- $3[5] = onDone;
578604
- $3[6] = setAppState;
578605
- $3[7] = t2;
578606
- } else {
578607
- t2 = $3[7];
578608
- }
578609
- const handleSelect = t2;
578610
- let t3;
578611
- if ($3[8] !== isFastMode || $3[9] !== mainLoopModel) {
578612
- t3 = isFastModeEnabled() && isFastMode && isFastModeSupportedByModel(mainLoopModel) && isFastModeAvailable();
578613
- $3[8] = isFastMode;
578614
- $3[9] = mainLoopModel;
578615
- $3[10] = t3;
578616
- } else {
578617
- t3 = $3[10];
578618
- }
578619
- let t4;
578620
- if ($3[11] !== handleCancel || $3[12] !== handleSelect || $3[13] !== mainLoopModel || $3[14] !== mainLoopModelForSession || $3[15] !== t3) {
578621
- t4 = /* @__PURE__ */ React356.createElement(ModelPicker, {
578622
- initial: mainLoopModel,
578623
- sessionModel: mainLoopModelForSession,
578624
- onSelect: handleSelect,
578625
- onCancel: handleCancel,
578626
- isStandaloneCommand: true,
578627
- showFastModeNotice: t3
578628
- });
578629
- $3[11] = handleCancel;
578630
- $3[12] = handleSelect;
578631
- $3[13] = mainLoopModel;
578632
- $3[14] = mainLoopModelForSession;
578633
- $3[15] = t3;
578634
- $3[16] = t4;
578635
- } else {
578636
- t4 = $3[16];
578637
- }
578638
- return t4;
578639
- }
578640
- function _temp435(prev_0) {
578641
- return {
578642
- ...prev_0,
578643
- fastMode: false
578644
- };
578645
- }
578646
- function _temp346(s_1) {
578647
- return s_1.fastMode;
578648
- }
578649
- function _temp272(s_0) {
578650
- return s_0.mainLoopModelForSession;
578651
- }
578652
- function _temp160(s) {
578653
- return s.mainLoopModel;
578654
- }
578655
578549
  function SetModelAndClose({
578656
578550
  args,
578657
578551
  onDone
@@ -578790,24 +578684,19 @@ var import_react_compiler_runtime272, React356, call63 = async (onDone, _context
578790
578684
  });
578791
578685
  }
578792
578686
  if (COMMON_HELP_ARGS.includes(args)) {
578793
- onDone("Run /model to open the model selection menu, /model tiers to configure model tiers, or /model [modelName] to set the model.", {
578687
+ onDone("Run /model to configure model tiers, or /model [modelName] to set the model directly.", {
578794
578688
  display: "system"
578795
578689
  });
578796
578690
  return;
578797
578691
  }
578798
- if (args === "tiers") {
578799
- return /* @__PURE__ */ React356.createElement(ModelTierPicker, {
578800
- onDone
578801
- });
578802
- }
578803
- if (args === "tiers ?") {
578692
+ if (args === "?") {
578804
578693
  const lines2 = [
578805
578694
  `Model tier configuration:`,
578806
578695
  ` Primary: ${source_default.bold(renderModelName(getDefaultOpusModel()))} (complex tasks)`,
578807
578696
  ` Fast: ${source_default.bold(renderModelName(getDefaultSonnetModel()))} (lightweight tasks)`,
578808
578697
  ` Mini: ${source_default.bold(renderModelName(getDefaultHaikuModel()))} (minimal-cost tasks)`,
578809
578698
  ``,
578810
- `Run /model tiers to change these settings.`
578699
+ `Run /model to change these settings.`
578811
578700
  ];
578812
578701
  onDone(lines2.join(`
578813
578702
  `), { display: "system" });
@@ -578822,7 +578711,7 @@ var import_react_compiler_runtime272, React356, call63 = async (onDone, _context
578822
578711
  onDone
578823
578712
  });
578824
578713
  }
578825
- return /* @__PURE__ */ React356.createElement(ModelPickerWrapper, {
578714
+ return /* @__PURE__ */ React356.createElement(ModelTierPicker, {
578826
578715
  onDone
578827
578716
  });
578828
578717
  };
@@ -578855,7 +578744,7 @@ var init_model3 = __esm(() => {
578855
578744
  get description() {
578856
578745
  return `Set the AI model for codez (currently ${renderModelName(getMainLoopModel())})`;
578857
578746
  },
578858
- argumentHint: "[model|tiers]",
578747
+ argumentHint: "[model]",
578859
578748
  get immediate() {
578860
578749
  return shouldInferenceConfigCommandBeImmediate();
578861
578750
  },
@@ -579517,7 +579406,7 @@ function MultipleEnvironmentsContent(t0) {
579517
579406
  t5 = loadingState === "updating" ? /* @__PURE__ */ React358.createElement(LoadingState, {
579518
579407
  message: "Updating…"
579519
579408
  }) : /* @__PURE__ */ React358.createElement(Select, {
579520
- options: environments.map(_temp161),
579409
+ options: environments.map(_temp160),
579521
579410
  defaultValue: selectedEnvironment.environment_id,
579522
579411
  onChange: onSelect,
579523
579412
  onCancel: () => onSelect("cancel"),
@@ -579565,7 +579454,7 @@ function MultipleEnvironmentsContent(t0) {
579565
579454
  }
579566
579455
  return t7;
579567
579456
  }
579568
- function _temp161(env5) {
579457
+ function _temp160(env5) {
579569
579458
  return {
579570
579459
  label: /* @__PURE__ */ React358.createElement(ThemedText, null, env5.name, " ", /* @__PURE__ */ React358.createElement(ThemedText, {
579571
579460
  dimColor: true
@@ -580062,7 +579951,7 @@ function ShowCurrentEffort(t0) {
580062
579951
  const {
580063
579952
  onDone
580064
579953
  } = t0;
580065
- const effortValue = useAppState(_temp163);
579954
+ const effortValue = useAppState(_temp161);
580066
579955
  const model = useMainLoopModel();
580067
579956
  const {
580068
579957
  message
@@ -580070,7 +579959,7 @@ function ShowCurrentEffort(t0) {
580070
579959
  onDone(message);
580071
579960
  return null;
580072
579961
  }
580073
- function _temp163(s) {
579962
+ function _temp161(s) {
580074
579963
  return s.effortValue;
580075
579964
  }
580076
579965
  function ApplyEffortAndClose(t0) {
@@ -581755,7 +581644,7 @@ function StatsContent(t0) {
581755
581644
  });
581756
581645
  }
581757
581646
  if (key2.tab) {
581758
- setActiveTab(_temp165);
581647
+ setActiveTab(_temp163);
581759
581648
  }
581760
581649
  if (input === "r" && !key2.ctrl && !key2.meta) {
581761
581650
  setDateRange(getNextDateRange(dateRange));
@@ -581891,7 +581780,7 @@ function StatsContent(t0) {
581891
581780
  }
581892
581781
  return t12;
581893
581782
  }
581894
- function _temp165(prev_0) {
581783
+ function _temp163(prev_0) {
581895
581784
  return prev_0 === "Overview" ? "Models" : "Overview";
581896
581785
  }
581897
581786
  function DateRangeSelector(t0) {
@@ -584246,7 +584135,7 @@ function generateHtmlReport(data, insights) {
584246
584135
  </html>`;
584247
584136
  }
584248
584137
  function buildExportData(data, insights, facets, remoteStats) {
584249
- const version3 = typeof MACRO !== "undefined" ? "0.1.6" : "unknown";
584138
+ const version3 = typeof MACRO !== "undefined" ? "0.1.7" : "unknown";
584250
584139
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
584251
584140
  const facets_summary = {
584252
584141
  total: facets.size,
@@ -588355,7 +588244,7 @@ var init_sessionStorage = __esm(() => {
588355
588244
  init_settings2();
588356
588245
  init_slowOperations();
588357
588246
  init_uuid();
588358
- VERSION4 = typeof MACRO !== "undefined" ? "0.1.6" : "unknown";
588247
+ VERSION4 = typeof MACRO !== "undefined" ? "0.1.7" : "unknown";
588359
588248
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
588360
588249
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
588361
588250
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -589560,7 +589449,7 @@ var init_filesystem = __esm(() => {
589560
589449
  });
589561
589450
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
589562
589451
  const nonce = randomBytes20(16).toString("hex");
589563
- return join139(getClaudeTempDir(), "bundled-skills", "0.1.6", nonce);
589452
+ return join139(getClaudeTempDir(), "bundled-skills", "0.1.7", nonce);
589564
589453
  });
589565
589454
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
589566
589455
  });
@@ -595550,7 +595439,7 @@ function computeFingerprint(messageText, version3) {
595550
595439
  }
595551
595440
  function computeFingerprintFromMessages(messages) {
595552
595441
  const firstMessageText = extractFirstMessageText(messages);
595553
- return computeFingerprint(firstMessageText, "0.1.6");
595442
+ return computeFingerprint(firstMessageText, "0.1.7");
595554
595443
  }
595555
595444
  var FINGERPRINT_SALT = "59cf53e54c78";
595556
595445
  var init_fingerprint = () => {};
@@ -597454,7 +597343,7 @@ async function sideQuery(opts) {
597454
597343
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
597455
597344
  }
597456
597345
  const messageText = extractFirstUserMessageText(messages);
597457
- const fingerprint = computeFingerprint(messageText, "0.1.6");
597346
+ const fingerprint = computeFingerprint(messageText, "0.1.7");
597458
597347
  const attributionHeader = getAttributionHeader(fingerprint);
597459
597348
  const systemBlocks = [
597460
597349
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -602027,7 +601916,7 @@ function buildSystemInitMessage(inputs) {
602027
601916
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
602028
601917
  apiKeySource: getAnthropicApiKeyWithSource().source,
602029
601918
  betas: getSdkBetas(),
602030
- claude_code_version: "0.1.6",
601919
+ claude_code_version: "0.1.7",
602031
601920
  output_style: outputStyle2,
602032
601921
  agents: inputs.agents.map((agent) => agent.agentType),
602033
601922
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -603140,7 +603029,7 @@ function PreviewBoxBody(t0) {
603140
603029
  const effectiveMinHeight = Math.min(minHeight ?? 0, effectiveMaxLines);
603141
603030
  const paddingNeeded = Math.max(0, effectiveMinHeight - truncatedLines.length - (isTruncated ? 1 : 0));
603142
603031
  const lines2 = paddingNeeded > 0 ? [...truncatedLines, ...Array(paddingNeeded).fill("")] : truncatedLines;
603143
- const contentWidth = Math.max(minWidth, ...lines2.map(_temp166));
603032
+ const contentWidth = Math.max(minWidth, ...lines2.map(_temp165));
603144
603033
  const boxWidth = Math.min(contentWidth + 4, effectiveMaxWidth);
603145
603034
  const innerWidth = boxWidth - 4;
603146
603035
  let t62;
@@ -603256,7 +603145,7 @@ function PreviewBoxBody(t0) {
603256
603145
  }
603257
603146
  return t8;
603258
603147
  }
603259
- function _temp166(line) {
603148
+ function _temp165(line) {
603260
603149
  return stringWidth(line);
603261
603150
  }
603262
603151
  var import_react_compiler_runtime287, import_react299, BOX_CHARS;
@@ -603325,9 +603214,9 @@ function QuestionNavigationBar(t0) {
603325
603214
  t2 = t33;
603326
603215
  break bb0;
603327
603216
  }
603328
- const tabHeaders = questions.map(_temp167);
603329
- const idealWidths = tabHeaders.map(_temp273);
603330
- const totalIdealWidth = idealWidths.reduce(_temp347, 0);
603217
+ const tabHeaders = questions.map(_temp166);
603218
+ const idealWidths = tabHeaders.map(_temp272);
603219
+ const totalIdealWidth = idealWidths.reduce(_temp346, 0);
603331
603220
  if (totalIdealWidth <= availableForTabs) {
603332
603221
  t2 = tabHeaders;
603333
603222
  break bb0;
@@ -603454,13 +603343,13 @@ function QuestionNavigationBar(t0) {
603454
603343
  }
603455
603344
  return t7;
603456
603345
  }
603457
- function _temp347(sum, w2) {
603346
+ function _temp346(sum, w2) {
603458
603347
  return sum + w2;
603459
603348
  }
603460
- function _temp273(header_0) {
603349
+ function _temp272(header_0) {
603461
603350
  return 4 + stringWidth(header_0);
603462
603351
  }
603463
- function _temp167(q_0, index_0) {
603352
+ function _temp166(q_0, index_0) {
603464
603353
  return q_0?.header || `Q${index_0 + 1}`;
603465
603354
  }
603466
603355
  var import_react_compiler_runtime288, import_react300;
@@ -603800,7 +603689,7 @@ function QuestionView(t0) {
603800
603689
  onRemoveImage
603801
603690
  } = t0;
603802
603691
  const hideSubmitTab = t1 === undefined ? false : t1;
603803
- const isInPlanMode = useAppState(_temp168) === "plan";
603692
+ const isInPlanMode = useAppState(_temp167) === "plan";
603804
603693
  const [isFooterFocused, setIsFooterFocused] = import_react302.useState(false);
603805
603694
  const [footerIndex, setFooterIndex] = import_react302.useState(0);
603806
603695
  const [isOtherFocused, setIsOtherFocused] = import_react302.useState(false);
@@ -603897,7 +603786,7 @@ function QuestionView(t0) {
603897
603786
  let questionText;
603898
603787
  let t7;
603899
603788
  if ($3[12] !== onUpdateQuestionState || $3[13] !== question || $3[14] !== questionStates) {
603900
- const textOptions = question.options.map(_temp274);
603789
+ const textOptions = question.options.map(_temp273);
603901
603790
  questionText = question.question;
603902
603791
  const questionState = questionStates[questionText];
603903
603792
  let t82;
@@ -603966,7 +603855,7 @@ function QuestionView(t0) {
603966
603855
  t7 = $3[17];
603967
603856
  }
603968
603857
  const options = t7;
603969
- const hasAnyPreview = !question.multiSelect && question.options.some(_temp348);
603858
+ const hasAnyPreview = !question.multiSelect && question.options.some(_temp347);
603970
603859
  if (hasAnyPreview) {
603971
603860
  let t82;
603972
603861
  if ($3[30] !== answers || $3[31] !== currentQuestionIndex || $3[32] !== hideSubmitTab || $3[33] !== minContentHeight || $3[34] !== minContentWidth || $3[35] !== onAnswer || $3[36] !== onCancel || $3[37] !== onFinishPlanInterview || $3[38] !== onRespondToClaude || $3[39] !== onTabNext || $3[40] !== onTabPrev || $3[41] !== onTextInputFocus || $3[42] !== onUpdateQuestionState || $3[43] !== question || $3[44] !== questionStates || $3[45] !== questions) {
@@ -604079,7 +603968,7 @@ function QuestionView(t0) {
604079
603968
  selectedValue: values2
604080
603969
  }, true);
604081
603970
  const textInput = values2.includes("__other__") ? questionStates[questionText]?.textInputValue : undefined;
604082
- const finalValues = values2.filter(_temp436).concat(textInput ? [textInput] : []);
603971
+ const finalValues = values2.filter(_temp435).concat(textInput ? [textInput] : []);
604083
603972
  onAnswer(questionText, finalValues, undefined, false);
604084
603973
  },
604085
603974
  onFocus: handleFocus,
@@ -604283,13 +604172,13 @@ function QuestionView(t0) {
604283
604172
  }
604284
604173
  return t26;
604285
604174
  }
604286
- function _temp436(v2) {
604175
+ function _temp435(v2) {
604287
604176
  return v2 !== "__other__";
604288
604177
  }
604289
- function _temp348(opt_0) {
604178
+ function _temp347(opt_0) {
604290
604179
  return opt_0.preview;
604291
604180
  }
604292
- function _temp274(opt) {
604181
+ function _temp273(opt) {
604293
604182
  return {
604294
604183
  type: "text",
604295
604184
  value: opt.label,
@@ -604297,7 +604186,7 @@ function _temp274(opt) {
604297
604186
  description: opt.description
604298
604187
  };
604299
604188
  }
604300
- function _temp168(s) {
604189
+ function _temp167(s) {
604301
604190
  return s.toolPermissionContext.mode;
604302
604191
  }
604303
604192
  var import_react_compiler_runtime289, import_react302;
@@ -604360,7 +604249,7 @@ function PermissionRuleExplanation(t0) {
604360
604249
  permissionResult,
604361
604250
  toolType
604362
604251
  } = t0;
604363
- const permissionMode = useAppState(_temp169);
604252
+ const permissionMode = useAppState(_temp168);
604364
604253
  const t1 = permissionResult?.decisionReason;
604365
604254
  let t2;
604366
604255
  if ($3[0] !== t1 || $3[1] !== toolType) {
@@ -604411,7 +604300,7 @@ function PermissionRuleExplanation(t0) {
604411
604300
  }
604412
604301
  return t5;
604413
604302
  }
604414
- function _temp169(s) {
604303
+ function _temp168(s) {
604415
604304
  return s.toolPermissionContext.mode;
604416
604305
  }
604417
604306
  var import_react_compiler_runtime290, import_react303;
@@ -604807,7 +604696,7 @@ function AskUserQuestionPermissionRequestBody(t0) {
604807
604696
  const maxAllowedHeight = Math.max(MIN_CONTENT_HEIGHT, terminalRows - CONTENT_CHROME_OVERHEAD);
604808
604697
  if ($3[5] !== highlight || $3[6] !== maxAllowedHeight || $3[7] !== maxHeight || $3[8] !== maxWidth || $3[9] !== questions || $3[10] !== theme2) {
604809
604698
  for (const q2 of questions) {
604810
- const hasPreview = q2.options.some(_temp170);
604699
+ const hasPreview = q2.options.some(_temp169);
604811
604700
  if (hasPreview) {
604812
604701
  const maxPreviewContentLines = Math.max(1, maxAllowedHeight - 11);
604813
604702
  let maxPreviewBoxHeight = 0;
@@ -604919,14 +604808,14 @@ function AskUserQuestionPermissionRequestBody(t0) {
604919
604808
  const onRemoveImage = t8;
604920
604809
  let t9;
604921
604810
  if ($3[18] !== pastedContentsByQuestion) {
604922
- t9 = Object.values(pastedContentsByQuestion).flatMap(_temp275).filter(_temp349);
604811
+ t9 = Object.values(pastedContentsByQuestion).flatMap(_temp274).filter(_temp348);
604923
604812
  $3[18] = pastedContentsByQuestion;
604924
604813
  $3[19] = t9;
604925
604814
  } else {
604926
604815
  t9 = $3[19];
604927
604816
  }
604928
604817
  const allImageAttachments = t9;
604929
- const toolPermissionContextMode = useAppState(_temp437);
604818
+ const toolPermissionContextMode = useAppState(_temp436);
604930
604819
  const isInPlanMode = toolPermissionContextMode === "plan";
604931
604820
  let t10;
604932
604821
  if ($3[20] !== isInPlanMode) {
@@ -605353,16 +605242,16 @@ function _temp621(c_1) {
605353
605242
  function _temp526(c_0) {
605354
605243
  return c_0.type === "image";
605355
605244
  }
605356
- function _temp437(s) {
605245
+ function _temp436(s) {
605357
605246
  return s.toolPermissionContext.mode;
605358
605247
  }
605359
- function _temp349(c4) {
605248
+ function _temp348(c4) {
605360
605249
  return c4.type === "image";
605361
605250
  }
605362
- function _temp275(contents) {
605251
+ function _temp274(contents) {
605363
605252
  return Object.values(contents);
605364
605253
  }
605365
- function _temp170(opt) {
605254
+ function _temp169(opt) {
605366
605255
  return opt.preview;
605367
605256
  }
605368
605257
  async function convertImagesToBlocks(images) {
@@ -606288,7 +606177,7 @@ function SuggestedRules(t0) {
606288
606177
  t3 = "Suggested rules:";
606289
606178
  t4 = " ";
606290
606179
  T0 = Ansi;
606291
- t1 = rules.map(_temp171).join(", ");
606180
+ t1 = rules.map(_temp170).join(", ");
606292
606181
  }
606293
606182
  $3[0] = suggestions;
606294
606183
  $3[1] = T0;
@@ -606333,7 +606222,7 @@ function SuggestedRules(t0) {
606333
606222
  }
606334
606223
  return t7;
606335
606224
  }
606336
- function _temp171(rule) {
606225
+ function _temp170(rule) {
606337
606226
  return source_default.bold(permissionRuleValueToString(rule));
606338
606227
  }
606339
606228
  function extractDirectories(updates) {
@@ -606497,7 +606386,7 @@ function SuggestionDisplay(t0) {
606497
606386
  dimColor: true
606498
606387
  }, " Rules ")), /* @__PURE__ */ import_react308.default.createElement(ThemedBox_default, {
606499
606388
  flexDirection: "column"
606500
- }, rules.map(_temp276))), directories.length > 0 && /* @__PURE__ */ import_react308.default.createElement(ThemedBox_default, {
606389
+ }, rules.map(_temp275))), directories.length > 0 && /* @__PURE__ */ import_react308.default.createElement(ThemedBox_default, {
606501
606390
  flexDirection: "row"
606502
606391
  }, /* @__PURE__ */ import_react308.default.createElement(ThemedBox_default, {
606503
606392
  justifyContent: "flex-end",
@@ -606506,7 +606395,7 @@ function SuggestionDisplay(t0) {
606506
606395
  dimColor: true
606507
606396
  }, " Directories ")), /* @__PURE__ */ import_react308.default.createElement(ThemedBox_default, {
606508
606397
  flexDirection: "column"
606509
- }, directories.map(_temp350))), mode && /* @__PURE__ */ import_react308.default.createElement(ThemedBox_default, {
606398
+ }, directories.map(_temp349))), mode && /* @__PURE__ */ import_react308.default.createElement(ThemedBox_default, {
606510
606399
  flexDirection: "row"
606511
606400
  }, /* @__PURE__ */ import_react308.default.createElement(ThemedBox_default, {
606512
606401
  justifyContent: "flex-end",
@@ -606528,12 +606417,12 @@ function SuggestionDisplay(t0) {
606528
606417
  }
606529
606418
  return t1;
606530
606419
  }
606531
- function _temp350(dir, index_0) {
606420
+ function _temp349(dir, index_0) {
606532
606421
  return /* @__PURE__ */ import_react308.default.createElement(ThemedText, {
606533
606422
  key: index_0
606534
606423
  }, figures_default.bullet, " ", dir);
606535
606424
  }
606536
- function _temp276(rule, index) {
606425
+ function _temp275(rule, index) {
606537
606426
  return /* @__PURE__ */ import_react308.default.createElement(ThemedText, {
606538
606427
  key: index
606539
606428
  }, figures_default.bullet, " ", permissionRuleValueToString(rule));
@@ -606544,7 +606433,7 @@ function PermissionDecisionDebugInfo(t0) {
606544
606433
  permissionResult,
606545
606434
  toolName
606546
606435
  } = t0;
606547
- const toolPermissionContext = useAppState(_temp438);
606436
+ const toolPermissionContext = useAppState(_temp437);
606548
606437
  const decisionReason = permissionResult.decisionReason;
606549
606438
  const suggestions = "suggestions" in permissionResult ? permissionResult.suggestions : undefined;
606550
606439
  let t1;
@@ -606696,7 +606585,7 @@ function _temp527(u_1, i3) {
606696
606585
  dimColor: true
606697
606586
  }, " ", "Fix: ", u_1.fix));
606698
606587
  }
606699
- function _temp438(s) {
606588
+ function _temp437(s) {
606700
606589
  return s.toolPermissionContext;
606701
606590
  }
606702
606591
  var import_react_compiler_runtime293, import_react308;
@@ -606967,7 +606856,7 @@ function usePermissionExplainerUI(props) {
606967
606856
  setPromise(createExplanationPromise(props));
606968
606857
  }
606969
606858
  }
606970
- setVisible(_temp173);
606859
+ setVisible(_temp171);
606971
606860
  };
606972
606861
  $3[1] = promise3;
606973
606862
  $3[2] = props;
@@ -607002,7 +606891,7 @@ function usePermissionExplainerUI(props) {
607002
606891
  }
607003
606892
  return t3;
607004
606893
  }
607005
- function _temp173(v2) {
606894
+ function _temp171(v2) {
607006
606895
  return !v2;
607007
606896
  }
607008
606897
  function ExplanationResult(t0) {
@@ -608274,7 +608163,7 @@ function SedEditPermissionRequest(t0) {
608274
608163
  `),
608275
608164
  fileExists: true
608276
608165
  };
608277
- })().catch(_temp175);
608166
+ })().catch(_temp173);
608278
608167
  $3[3] = filePath;
608279
608168
  $3[4] = t1;
608280
608169
  } else {
@@ -608299,7 +608188,7 @@ function SedEditPermissionRequest(t0) {
608299
608188
  }
608300
608189
  return t2;
608301
608190
  }
608302
- function _temp175(e) {
608191
+ function _temp173(e) {
608303
608192
  if (!isENOENT(e)) {
608304
608193
  throw e;
608305
608194
  }
@@ -609208,7 +609097,7 @@ function EnterPlanModePermissionRequest(t0) {
609208
609097
  onReject,
609209
609098
  workerBadge
609210
609099
  } = t0;
609211
- const toolPermissionContextMode = useAppState(_temp176);
609100
+ const toolPermissionContextMode = useAppState(_temp175);
609212
609101
  let t1;
609213
609102
  if ($3[0] !== onDone || $3[1] !== onReject || $3[2] !== toolPermissionContextMode || $3[3] !== toolUseConfirm) {
609214
609103
  t1 = function handleResponse2(value) {
@@ -609339,7 +609228,7 @@ function EnterPlanModePermissionRequest(t0) {
609339
609228
  }
609340
609229
  return t9;
609341
609230
  }
609342
- function _temp176(s) {
609231
+ function _temp175(s) {
609343
609232
  return s.toolPermissionContext.mode;
609344
609233
  }
609345
609234
  var import_react_compiler_runtime299, import_react320;
@@ -610190,7 +610079,7 @@ function PermissionPrompt(t0) {
610190
610079
  if ($3[31] !== onCancel || $3[32] !== setAppState) {
610191
610080
  t7 = () => {
610192
610081
  logEvent("tengu_permission_request_escape", {});
610193
- setAppState(_temp177);
610082
+ setAppState(_temp176);
610194
610083
  onCancel?.();
610195
610084
  };
610196
610085
  $3[31] = onCancel;
@@ -610275,7 +610164,7 @@ function PermissionPrompt(t0) {
610275
610164
  }
610276
610165
  return t13;
610277
610166
  }
610278
- function _temp177(prev) {
610167
+ function _temp176(prev) {
610279
610168
  return {
610280
610169
  ...prev,
610281
610170
  attribution: {
@@ -610676,7 +610565,7 @@ function createSingleEditDiffConfig(filePath, oldString, newString, replaceAll)
610676
610565
  import { basename as basename51, relative as relative32 } from "path";
610677
610566
  function FileEditPermissionRequest(props) {
610678
610567
  const $3 = import_react_compiler_runtime302.c(51);
610679
- const parseInput = _temp178;
610568
+ const parseInput = _temp177;
610680
610569
  let T0;
610681
610570
  let T1;
610682
610571
  let T2;
@@ -610844,7 +610733,7 @@ function FileEditPermissionRequest(props) {
610844
610733
  }
610845
610734
  return t16;
610846
610735
  }
610847
- function _temp178(input) {
610736
+ function _temp177(input) {
610848
610737
  return FileEditTool.inputSchema.parse(input);
610849
610738
  }
610850
610739
  var import_react_compiler_runtime302, import_react324, ideDiffSupport;
@@ -610918,7 +610807,7 @@ function FilesystemPermissionRequest(t0) {
610918
610807
  const isReadOnly = toolUseConfirm.tool.isReadOnly(toolUseConfirm.input);
610919
610808
  const userFacingReadOrEdit = isReadOnly ? "Read" : "Edit";
610920
610809
  const title = `${userFacingReadOrEdit} file`;
610921
- const parseInput = _temp179;
610810
+ const parseInput = _temp178;
610922
610811
  if (!path23) {
610923
610812
  let t32;
610924
610813
  if ($3[5] !== onDone || $3[6] !== onReject || $3[7] !== toolUseConfirm || $3[8] !== toolUseContext || $3[9] !== verbose || $3[10] !== workerBadge) {
@@ -611001,7 +610890,7 @@ function FilesystemPermissionRequest(t0) {
611001
610890
  }
611002
610891
  return t6;
611003
610892
  }
611004
- function _temp179(input) {
610893
+ function _temp178(input) {
611005
610894
  return input;
611006
610895
  }
611007
610896
  var import_react_compiler_runtime303, import_react325;
@@ -611072,7 +610961,7 @@ function FileWriteToolDiff(t0) {
611072
610961
  firstLine,
611073
610962
  fileContent: oldContent,
611074
610963
  width: columns - 2
611075
- })), _temp180) : /* @__PURE__ */ React397.createElement(HighlightedCode, {
610964
+ })), _temp179) : /* @__PURE__ */ React397.createElement(HighlightedCode, {
611076
610965
  code: content || "(No content)",
611077
610966
  filePath: file_path
611078
610967
  });
@@ -611105,7 +610994,7 @@ function FileWriteToolDiff(t0) {
611105
610994
  }
611106
610995
  return t4;
611107
610996
  }
611108
- function _temp180(i3) {
610997
+ function _temp179(i3) {
611109
610998
  return /* @__PURE__ */ React397.createElement(NoSelect, {
611110
610999
  fromLeftEdge: true,
611111
611000
  key: `ellipsis-${i3}`
@@ -611128,7 +611017,7 @@ var init_FileWriteToolDiff = __esm(() => {
611128
611017
  import { basename as basename52, relative as relative33 } from "path";
611129
611018
  function FileWritePermissionRequest(props) {
611130
611019
  const $3 = import_react_compiler_runtime305.c(30);
611131
- const parseInput = _temp181;
611020
+ const parseInput = _temp180;
611132
611021
  let t0;
611133
611022
  if ($3[0] !== props.toolUseConfirm.input) {
611134
611023
  t0 = parseInput(props.toolUseConfirm.input);
@@ -611266,7 +611155,7 @@ function FileWritePermissionRequest(props) {
611266
611155
  }
611267
611156
  return t13;
611268
611157
  }
611269
- function _temp181(input) {
611158
+ function _temp180(input) {
611270
611159
  return FileWriteTool.inputSchema.parse(input);
611271
611160
  }
611272
611161
  var import_react_compiler_runtime305, import_react326, ideDiffSupport2;
@@ -611313,7 +611202,7 @@ function NotebookEditToolDiff(props) {
611313
611202
  if ($3[0] !== props.notebook_path) {
611314
611203
  t0 = getFsImplementation().readFile(props.notebook_path, {
611315
611204
  encoding: "utf-8"
611316
- }).then(_temp183).catch(_temp277);
611205
+ }).then(_temp181).catch(_temp276);
611317
611206
  $3[0] = props.notebook_path;
611318
611207
  $3[1] = t0;
611319
611208
  } else {
@@ -611336,10 +611225,10 @@ function NotebookEditToolDiff(props) {
611336
611225
  }
611337
611226
  return t1;
611338
611227
  }
611339
- function _temp277() {
611228
+ function _temp276() {
611340
611229
  return null;
611341
611230
  }
611342
- function _temp183(content) {
611231
+ function _temp181(content) {
611343
611232
  return safeParseJSON(content);
611344
611233
  }
611345
611234
  function NotebookEditToolDiffInner(t0) {
@@ -611513,7 +611402,7 @@ function NotebookEditToolDiffInner(t0) {
611513
611402
  firstLine: new_source.split(`
611514
611403
  `)[0] ?? null,
611515
611404
  fileContent: oldSource
611516
- })), _temp351) : /* @__PURE__ */ React399.createElement(HighlightedCode, {
611405
+ })), _temp350) : /* @__PURE__ */ React399.createElement(HighlightedCode, {
611517
611406
  code: new_source,
611518
611407
  filePath: cell_type === "markdown" ? "file.md" : notebook_path
611519
611408
  });
@@ -611545,7 +611434,7 @@ function NotebookEditToolDiffInner(t0) {
611545
611434
  }
611546
611435
  return t10;
611547
611436
  }
611548
- function _temp351(i3) {
611437
+ function _temp350(i3) {
611549
611438
  return /* @__PURE__ */ React399.createElement(NoSelect, {
611550
611439
  fromLeftEdge: true,
611551
611440
  key: `ellipsis-${i3}`
@@ -611572,7 +611461,7 @@ var init_NotebookEditToolDiff = __esm(() => {
611572
611461
  import { basename as basename53 } from "path";
611573
611462
  function NotebookEditPermissionRequest(props) {
611574
611463
  const $3 = import_react_compiler_runtime307.c(52);
611575
- const parseInput = _temp185;
611464
+ const parseInput = _temp183;
611576
611465
  let T0;
611577
611466
  let T1;
611578
611467
  let T2;
@@ -611735,7 +611624,7 @@ function NotebookEditPermissionRequest(props) {
611735
611624
  }
611736
611625
  return t15;
611737
611626
  }
611738
- function _temp185(input) {
611627
+ function _temp183(input) {
611739
611628
  const result = NotebookEditTool.inputSchema.safeParse(input);
611740
611629
  if (!result.success) {
611741
611630
  logError2(new Error(`Failed to parse notebook edit input: ${result.error.message}`));
@@ -612272,7 +612161,7 @@ function SkillPermissionRequest(props) {
612272
612161
  onReject,
612273
612162
  workerBadge
612274
612163
  } = props;
612275
- const parseInput = _temp186;
612164
+ const parseInput = _temp185;
612276
612165
  let t0;
612277
612166
  if ($3[0] !== toolUseConfirm.input) {
612278
612167
  t0 = parseInput(toolUseConfirm.input);
@@ -612631,7 +612520,7 @@ function SkillPermissionRequest(props) {
612631
612520
  }
612632
612521
  return t19;
612633
612522
  }
612634
- function _temp186(input) {
612523
+ function _temp185(input) {
612635
612524
  const result = SkillTool.inputSchema.safeParse(input);
612636
612525
  if (!result.success) {
612637
612526
  logError2(new Error(`Failed to parse skill tool input: ${result.error.message}`));
@@ -614462,7 +614351,7 @@ function PromptDialog(t0) {
614462
614351
  useKeybinding("app:interrupt", onAbort, t1);
614463
614352
  let t2;
614464
614353
  if ($3[1] !== request.options) {
614465
- t2 = request.options.map(_temp187);
614354
+ t2 = request.options.map(_temp186);
614466
614355
  $3[1] = request.options;
614467
614356
  $3[2] = t2;
614468
614357
  } else {
@@ -614521,7 +614410,7 @@ function PromptDialog(t0) {
614521
614410
  }
614522
614411
  return t6;
614523
614412
  }
614524
- function _temp187(opt) {
614413
+ function _temp186(opt) {
614525
614414
  return {
614526
614415
  label: opt.label,
614527
614416
  value: opt.key,
@@ -615063,7 +614952,7 @@ function RainbowText2(t0) {
615063
614952
  } = t0;
615064
614953
  let t1;
615065
614954
  if ($3[0] !== text2) {
615066
- t1 = /* @__PURE__ */ import_react336.default.createElement(import_react336.default.Fragment, null, [...text2].map(_temp188));
614955
+ t1 = /* @__PURE__ */ import_react336.default.createElement(import_react336.default.Fragment, null, [...text2].map(_temp187));
615067
614956
  $3[0] = text2;
615068
614957
  $3[1] = t1;
615069
614958
  } else {
@@ -615071,7 +614960,7 @@ function RainbowText2(t0) {
615071
614960
  }
615072
614961
  return t1;
615073
614962
  }
615074
- function _temp188(ch2, i3) {
614963
+ function _temp187(ch2, i3) {
615075
614964
  return /* @__PURE__ */ import_react336.default.createElement(ThemedText, {
615076
614965
  key: i3,
615077
614966
  color: getRainbowColor(i3)
@@ -615174,7 +615063,7 @@ var init_useVoiceEnabled = __esm(() => {
615174
615063
  function getSemverPart(version3) {
615175
615064
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
615176
615065
  }
615177
- function useUpdateNotification(updatedVersion, initialVersion = "0.1.6") {
615066
+ function useUpdateNotification(updatedVersion, initialVersion = "0.1.7") {
615178
615067
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react339.useState(() => getSemverPart(initialVersion));
615179
615068
  if (!updatedVersion) {
615180
615069
  return null;
@@ -615214,7 +615103,7 @@ function AutoUpdater({
615214
615103
  return;
615215
615104
  }
615216
615105
  if (false) {}
615217
- const currentVersion = "0.1.6";
615106
+ const currentVersion = "0.1.7";
615218
615107
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
615219
615108
  let latestVersion = await getLatestVersion(channel);
615220
615109
  const isDisabled = isAutoUpdaterDisabled();
@@ -615399,12 +615288,12 @@ function NativeAutoUpdater({
615399
615288
  logEvent("tengu_native_auto_updater_start", {});
615400
615289
  try {
615401
615290
  const maxVersion = await getMaxVersion();
615402
- if (maxVersion && gt("0.1.6", maxVersion)) {
615291
+ if (maxVersion && gt("0.1.7", maxVersion)) {
615403
615292
  const msg = await getMaxVersionMessage();
615404
615293
  setMaxVersionIssue(msg ?? "affects your version");
615405
615294
  }
615406
615295
  const result = await installLatest(channel);
615407
- const currentVersion = "0.1.6";
615296
+ const currentVersion = "0.1.7";
615408
615297
  const latencyMs = Date.now() - startTime;
615409
615298
  if (result.lockFailed) {
615410
615299
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -615517,17 +615406,17 @@ function PackageManagerAutoUpdater(t0) {
615517
615406
  const maxVersion = await getMaxVersion();
615518
615407
  if (maxVersion && latest && gt(latest, maxVersion)) {
615519
615408
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
615520
- if (gte("0.1.6", maxVersion)) {
615521
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
615409
+ if (gte("0.1.7", maxVersion)) {
615410
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.7"} is already at or above maxVersion ${maxVersion}, skipping update`);
615522
615411
  setUpdateAvailable(false);
615523
615412
  return;
615524
615413
  }
615525
615414
  latest = maxVersion;
615526
615415
  }
615527
- const hasUpdate = latest && !gte("0.1.6", latest) && !shouldSkipVersion(latest);
615416
+ const hasUpdate = latest && !gte("0.1.7", latest) && !shouldSkipVersion(latest);
615528
615417
  setUpdateAvailable(!!hasUpdate);
615529
615418
  if (hasUpdate) {
615530
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.6"} -> ${latest}`);
615419
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.7"} -> ${latest}`);
615531
615420
  }
615532
615421
  };
615533
615422
  $3[0] = t1;
@@ -615559,7 +615448,7 @@ function PackageManagerAutoUpdater(t0) {
615559
615448
  t4 = verbose && /* @__PURE__ */ React411.createElement(ThemedText, {
615560
615449
  dimColor: true,
615561
615450
  wrap: "truncate"
615562
- }, "currentVersion: ", "0.1.6");
615451
+ }, "currentVersion: ", "0.1.7");
615563
615452
  $3[3] = verbose;
615564
615453
  $3[4] = t4;
615565
615454
  } else {
@@ -616036,7 +615925,7 @@ function Notifications(t0) {
616036
615925
  const {
616037
615926
  status: ideStatus
616038
615927
  } = useIdeConnectionStatus(mcpClients);
616039
- const notifications = useAppState(_temp189);
615928
+ const notifications = useAppState(_temp188);
616040
615929
  const {
616041
615930
  addNotification,
616042
615931
  removeNotification
@@ -616055,7 +615944,7 @@ function Notifications(t0) {
616055
615944
  timeoutMs: isError ? 8000 : 5000
616056
615945
  });
616057
615946
  });
616058
- return _temp278;
615947
+ return _temp277;
616059
615948
  };
616060
615949
  t6 = [addNotification];
616061
615950
  $3[5] = addNotification;
@@ -616178,10 +616067,10 @@ function Notifications(t0) {
616178
616067
  }
616179
616068
  return t14;
616180
616069
  }
616181
- function _temp278() {
616070
+ function _temp277() {
616182
616071
  return setEnvHookNotifier(null);
616183
616072
  }
616184
- function _temp189(s) {
616073
+ function _temp188(s) {
616185
616074
  return s.notifications;
616186
616075
  }
616187
616076
  function NotificationContent({
@@ -620075,10 +619964,10 @@ function BridgeDialog(t0) {
620075
619964
  onDone
620076
619965
  } = t0;
620077
619966
  useRegisterOverlay("bridge-dialog");
620078
- const connected = useAppState(_temp190);
620079
- const sessionActive = useAppState(_temp279);
620080
- const reconnecting = useAppState(_temp352);
620081
- const connectUrl = useAppState(_temp439);
619967
+ const connected = useAppState(_temp189);
619968
+ const sessionActive = useAppState(_temp278);
619969
+ const reconnecting = useAppState(_temp351);
619970
+ const connectUrl = useAppState(_temp438);
620082
619971
  const sessionUrl = useAppState(_temp528);
620083
619972
  const error40 = useAppState(_temp622);
620084
619973
  const explicit = useAppState(_temp719);
@@ -620466,16 +620355,16 @@ function _temp622(s_4) {
620466
620355
  function _temp528(s_3) {
620467
620356
  return s_3.replBridgeSessionUrl;
620468
620357
  }
620469
- function _temp439(s_2) {
620358
+ function _temp438(s_2) {
620470
620359
  return s_2.replBridgeConnectUrl;
620471
620360
  }
620472
- function _temp352(s_1) {
620361
+ function _temp351(s_1) {
620473
620362
  return s_1.replBridgeReconnecting;
620474
620363
  }
620475
- function _temp279(s_0) {
620364
+ function _temp278(s_0) {
620476
620365
  return s_0.replBridgeSessionActive;
620477
620366
  }
620478
- function _temp190(s) {
620367
+ function _temp189(s) {
620479
620368
  return s.replBridgeConnected;
620480
620369
  }
620481
620370
  var import_react_compiler_runtime322, React421, import_react354;
@@ -620501,12 +620390,12 @@ function getVisibleAgentTasks(tasks2) {
620501
620390
  return Object.values(tasks2).filter((t) => isPanelAgentTask(t) && t.evictAfter !== 0).sort((a2, b3) => a2.startTime - b3.startTime);
620502
620391
  }
620503
620392
  function useCoordinatorTaskCount() {
620504
- const tasks2 = useAppState(_temp191);
620393
+ const tasks2 = useAppState(_temp190);
620505
620394
  let t0;
620506
620395
  t0 = 0;
620507
620396
  return t0;
620508
620397
  }
620509
- function _temp191(s) {
620398
+ function _temp190(s) {
620510
620399
  return s.tasks;
620511
620400
  }
620512
620401
  var import_react_compiler_runtime323, React422;
@@ -620737,7 +620626,7 @@ function ThinkingToggle(t0) {
620737
620626
  defaultFocusValue: currentValue ? "true" : "false",
620738
620627
  options,
620739
620628
  onChange: handleSelectChange,
620740
- onCancel: onCancel ?? _temp192,
620629
+ onCancel: onCancel ?? _temp191,
620741
620630
  visibleOptionCount: 2
620742
620631
  })));
620743
620632
  $3[15] = confirmationPending;
@@ -620790,7 +620679,7 @@ function ThinkingToggle(t0) {
620790
620679
  }
620791
620680
  return t11;
620792
620681
  }
620793
- function _temp192() {}
620682
+ function _temp191() {}
620794
620683
  var import_react_compiler_runtime327, React428, import_react359;
620795
620684
  var init_ThinkingToggle = __esm(() => {
620796
620685
  init_useExitOnCtrlCDWithKeybindings();
@@ -621200,7 +621089,7 @@ function TeammateDetailView(t0) {
621200
621089
  if ($3[6] === Symbol.for("react.memo_cache_sentinel")) {
621201
621090
  t4 = (input) => {
621202
621091
  if (input === "p") {
621203
- setPromptExpanded(_temp193);
621092
+ setPromptExpanded(_temp192);
621204
621093
  }
621205
621094
  };
621206
621095
  $3[6] = t4;
@@ -621278,7 +621167,7 @@ function TeammateDetailView(t0) {
621278
621167
  flexDirection: "column"
621279
621168
  }, /* @__PURE__ */ React429.createElement(ThemedText, {
621280
621169
  bold: true
621281
- }, "Tasks"), teammateTasks.map(_temp280));
621170
+ }, "Tasks"), teammateTasks.map(_temp279));
621282
621171
  $3[23] = teammateTasks;
621283
621172
  $3[24] = t9;
621284
621173
  } else {
@@ -621340,13 +621229,13 @@ function TeammateDetailView(t0) {
621340
621229
  }
621341
621230
  return t13;
621342
621231
  }
621343
- function _temp280(task_0) {
621232
+ function _temp279(task_0) {
621344
621233
  return /* @__PURE__ */ React429.createElement(ThemedText, {
621345
621234
  key: task_0.id,
621346
621235
  color: task_0.status === "completed" ? "success" : undefined
621347
621236
  }, task_0.status === "completed" ? figures_default.tick : "◼", " ", task_0.subject);
621348
621237
  }
621349
- function _temp193(prev) {
621238
+ function _temp192(prev) {
621350
621239
  return !prev;
621351
621240
  }
621352
621241
  async function killTeammate(paneId, backendType, teamName, teammateId, teammateName, setAppState) {
@@ -622606,7 +622495,7 @@ function VimTextInput(props) {
622606
622495
  const t11 = props.multiline;
622607
622496
  const t12 = props.showCursor ? " " : "";
622608
622497
  const t13 = props.highlightPastedText;
622609
- const t14 = isTerminalFocused ? source_default.inverse : _temp194;
622498
+ const t14 = isTerminalFocused ? source_default.inverse : _temp193;
622610
622499
  let t15;
622611
622500
  if ($3[0] !== theme2) {
622612
622501
  t15 = color("text", theme2);
@@ -622718,7 +622607,7 @@ function VimTextInput(props) {
622718
622607
  }
622719
622608
  return t19;
622720
622609
  }
622721
- function _temp194(text2) {
622610
+ function _temp193(text2) {
622722
622611
  return text2;
622723
622612
  }
622724
622613
  var import_react_compiler_runtime329, import_react362;
@@ -622781,7 +622670,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
622781
622670
  project_dir: getOriginalCwd(),
622782
622671
  added_dirs: addedDirs
622783
622672
  },
622784
- version: "0.1.6",
622673
+ version: "0.1.7",
622785
622674
  output_style: {
622786
622675
  name: outputStyleName
622787
622676
  },
@@ -623085,18 +622974,18 @@ function BackgroundTaskStatus(t0) {
623085
622974
  const {
623086
622975
  columns
623087
622976
  } = useTerminalSize();
623088
- const tasks2 = useAppState(_temp195);
623089
- const viewingAgentTaskId = useAppState(_temp281);
622977
+ const tasks2 = useAppState(_temp194);
622978
+ const viewingAgentTaskId = useAppState(_temp280);
623090
622979
  let t3;
623091
622980
  if ($3[0] !== tasks2) {
623092
- t3 = Object.values(tasks2 ?? {}).filter(_temp353);
622981
+ t3 = Object.values(tasks2 ?? {}).filter(_temp352);
623093
622982
  $3[0] = tasks2;
623094
622983
  $3[1] = t3;
623095
622984
  } else {
623096
622985
  t3 = $3[1];
623097
622986
  }
623098
622987
  const runningTasks = t3;
623099
- const expandedView = useAppState(_temp440);
622988
+ const expandedView = useAppState(_temp439);
623100
622989
  const showSpinnerTree = expandedView === "teammates";
623101
622990
  const allTeammates = !showSpinnerTree && runningTasks.length > 0 && runningTasks.every(_temp529);
623102
622991
  let t4;
@@ -623336,16 +623225,16 @@ function _temp623(t_1) {
623336
623225
  function _temp529(t_0) {
623337
623226
  return t_0.type === "in_process_teammate";
623338
623227
  }
623339
- function _temp440(s_1) {
623228
+ function _temp439(s_1) {
623340
623229
  return s_1.expandedView;
623341
623230
  }
623342
- function _temp353(t) {
623231
+ function _temp352(t) {
623343
623232
  return isBackgroundTask(t) && true;
623344
623233
  }
623345
- function _temp281(s_0) {
623234
+ function _temp280(s_0) {
623346
623235
  return s_0.viewingAgentTaskId;
623347
623236
  }
623348
- function _temp195(s) {
623237
+ function _temp194(s) {
623349
623238
  return s.tasks;
623350
623239
  }
623351
623240
  function AgentPill(t0) {
@@ -623543,10 +623432,10 @@ function TeamStatus(t0) {
623543
623432
  teamsSelected,
623544
623433
  showHint
623545
623434
  } = t0;
623546
- const teamContext = useAppState(_temp196);
623435
+ const teamContext = useAppState(_temp195);
623547
623436
  let t1;
623548
623437
  if ($3[0] !== teamContext) {
623549
- t1 = teamContext ? Object.values(teamContext.teammates).filter(_temp282).length : 0;
623438
+ t1 = teamContext ? Object.values(teamContext.teammates).filter(_temp281).length : 0;
623550
623439
  $3[0] = teamContext;
623551
623440
  $3[1] = t1;
623552
623441
  } else {
@@ -623605,10 +623494,10 @@ function TeamStatus(t0) {
623605
623494
  }
623606
623495
  return t6;
623607
623496
  }
623608
- function _temp282(t) {
623497
+ function _temp281(t) {
623609
623498
  return t.name !== "team-lead";
623610
623499
  }
623611
- function _temp196(s) {
623500
+ function _temp195(s) {
623612
623501
  return s.teamContext;
623613
623502
  }
623614
623503
  var import_react_compiler_runtime331, React434;
@@ -623645,7 +623534,7 @@ function HistorySearchInput(t0) {
623645
623534
  value,
623646
623535
  onChange,
623647
623536
  cursorOffset: value.length,
623648
- onChangeCursorOffset: _temp197,
623537
+ onChangeCursorOffset: _temp196,
623649
623538
  columns: t3,
623650
623539
  focus: true,
623651
623540
  showCursor: true,
@@ -623672,7 +623561,7 @@ function HistorySearchInput(t0) {
623672
623561
  }
623673
623562
  return t5;
623674
623563
  }
623675
- function _temp197() {}
623564
+ function _temp196() {}
623676
623565
  var import_react_compiler_runtime332, React435, HistorySearchInput_default;
623677
623566
  var init_HistorySearchInput = __esm(() => {
623678
623567
  init_stringWidth();
@@ -640631,7 +640520,7 @@ var init_useManagePlugins = __esm(() => {
640631
640520
  // src/components/TeammateViewHeader.tsx
640632
640521
  function TeammateViewHeader() {
640633
640522
  const $3 = import_react_compiler_runtime342.c(14);
640634
- const viewedTeammate = useAppState(_temp198);
640523
+ const viewedTeammate = useAppState(_temp197);
640635
640524
  if (!viewedTeammate) {
640636
640525
  return null;
640637
640526
  }
@@ -640707,7 +640596,7 @@ function TeammateViewHeader() {
640707
640596
  }
640708
640597
  return t6;
640709
640598
  }
640710
- function _temp198(s) {
640599
+ function _temp197(s) {
640711
640600
  return getViewedTeammateTask(s);
640712
640601
  }
640713
640602
  var import_react_compiler_runtime342, React449;
@@ -641820,7 +641709,7 @@ function SessionBackgroundHint(t0) {
641820
641709
  const setAppState = useSetAppState();
641821
641710
  const appStateStore = useAppStateStore();
641822
641711
  const [showSessionHint, setShowSessionHint] = import_react401.useState(false);
641823
- const handleDoublePress = useDoublePress(setShowSessionHint, onBackgroundSession, _temp199);
641712
+ const handleDoublePress = useDoublePress(setShowSessionHint, onBackgroundSession, _temp198);
641824
641713
  let t1;
641825
641714
  if ($3[0] !== appStateStore || $3[1] !== handleDoublePress || $3[2] !== isLoading || $3[3] !== setAppState) {
641826
641715
  t1 = () => {
@@ -641831,7 +641720,7 @@ function SessionBackgroundHint(t0) {
641831
641720
  if (hasForegroundTasks(state2)) {
641832
641721
  backgroundAll(() => appStateStore.getState(), setAppState);
641833
641722
  if (!getGlobalConfig().hasUsedBackgroundTask) {
641834
- saveGlobalConfig(_temp283);
641723
+ saveGlobalConfig(_temp282);
641835
641724
  }
641836
641725
  } else {
641837
641726
  if (isEnvTruthy("false") && isLoading) {
@@ -641892,13 +641781,13 @@ function SessionBackgroundHint(t0) {
641892
641781
  }
641893
641782
  return t5;
641894
641783
  }
641895
- function _temp283(c4) {
641784
+ function _temp282(c4) {
641896
641785
  return c4.hasUsedBackgroundTask ? c4 : {
641897
641786
  ...c4,
641898
641787
  hasUsedBackgroundTask: true
641899
641788
  };
641900
641789
  }
641901
- function _temp199() {}
641790
+ function _temp198() {}
641902
641791
  var import_react_compiler_runtime344, React450, import_react401;
641903
641792
  var init_SessionBackgroundHint = __esm(() => {
641904
641793
  init_useDoublePress();
@@ -642085,7 +641974,7 @@ function EffortCallout(t0) {
642085
641974
  } else {
642086
641975
  t4 = $3[4];
642087
641976
  }
642088
- import_react403.useEffect(_temp200, t4);
641977
+ import_react403.useEffect(_temp199, t4);
642089
641978
  let t5;
642090
641979
  let t6;
642091
641980
  if ($3[5] === Symbol.for("react.memo_cache_sentinel")) {
@@ -642213,7 +642102,7 @@ function EffortCallout(t0) {
642213
642102
  }
642214
642103
  return t14;
642215
642104
  }
642216
- function _temp200() {
642105
+ function _temp199() {
642217
642106
  markV2Dismissed();
642218
642107
  }
642219
642108
  function EffortIndicatorSymbol(t0) {
@@ -642410,7 +642299,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
642410
642299
  } catch {}
642411
642300
  const data = {
642412
642301
  trigger,
642413
- version: "0.1.6",
642302
+ version: "0.1.7",
642414
642303
  platform: process.platform,
642415
642304
  transcript,
642416
642305
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -643019,8 +642908,8 @@ function usePostCompactSurvey(messages, isLoading, t0, t1) {
643019
642908
  }
643020
642909
  const seenCompactBoundaries = import_react409.useRef(t4);
643021
642910
  const pendingCompactBoundaryUuid = import_react409.useRef(null);
643022
- const onOpen = _temp201;
643023
- const onSelect = _temp284;
642911
+ const onOpen = _temp200;
642912
+ const onSelect = _temp283;
643024
642913
  let t5;
643025
642914
  if ($3[3] === Symbol.for("react.memo_cache_sentinel")) {
643026
642915
  t5 = {
@@ -643058,7 +642947,7 @@ function usePostCompactSurvey(messages, isLoading, t0, t1) {
643058
642947
  import_react409.useEffect(t6, t7);
643059
642948
  let t8;
643060
642949
  if ($3[7] !== messages) {
643061
- t8 = new Set(messages.filter(_temp354).map(_temp441));
642950
+ t8 = new Set(messages.filter(_temp353).map(_temp440));
643062
642951
  $3[7] = messages;
643063
642952
  $3[8] = t8;
643064
642953
  } else {
@@ -643134,13 +643023,13 @@ function usePostCompactSurvey(messages, isLoading, t0, t1) {
643134
643023
  }
643135
643024
  return t11;
643136
643025
  }
643137
- function _temp441(msg_0) {
643026
+ function _temp440(msg_0) {
643138
643027
  return msg_0.uuid;
643139
643028
  }
643140
- function _temp354(msg) {
643029
+ function _temp353(msg) {
643141
643030
  return isCompactBoundaryMessage(msg);
643142
643031
  }
643143
- function _temp284(appearanceId_0, selected) {
643032
+ function _temp283(appearanceId_0, selected) {
643144
643033
  const smCompactionEnabled_0 = shouldUseSessionMemoryCompaction();
643145
643034
  logEvent("tengu_post_compact_survey_event", {
643146
643035
  event_type: "responded",
@@ -643155,7 +643044,7 @@ function _temp284(appearanceId_0, selected) {
643155
643044
  survey_type: "post_compact"
643156
643045
  });
643157
643046
  }
643158
- function _temp201(appearanceId) {
643047
+ function _temp200(appearanceId) {
643159
643048
  const smCompactionEnabled = shouldUseSessionMemoryCompaction();
643160
643049
  logEvent("tengu_post_compact_survey_event", {
643161
643050
  event_type: "appeared",
@@ -643512,13 +643401,13 @@ var init_useStartupNotification = __esm(() => {
643512
643401
 
643513
643402
  // src/hooks/notifs/useInstallMessages.tsx
643514
643403
  function useInstallMessages() {
643515
- useStartupNotification(_temp285);
643404
+ useStartupNotification(_temp284);
643516
643405
  }
643517
- async function _temp285() {
643406
+ async function _temp284() {
643518
643407
  const messages = await checkInstall();
643519
- return messages.map(_temp202);
643408
+ return messages.map(_temp201);
643520
643409
  }
643521
- function _temp202(message, index) {
643410
+ function _temp201(message, index) {
643522
643411
  let priority = "low";
643523
643412
  if (message.type === "error" || message.userActionRequired) {
643524
643413
  priority = "high";
@@ -643572,9 +643461,9 @@ function getChromeFlag() {
643572
643461
  return;
643573
643462
  }
643574
643463
  function useChromeExtensionNotification() {
643575
- useStartupNotification(_temp203);
643464
+ useStartupNotification(_temp202);
643576
643465
  }
643577
- async function _temp203() {
643466
+ async function _temp202() {
643578
643467
  const chromeFlag = getChromeFlag();
643579
643468
  if (!shouldEnableClaudeInChrome(chromeFlag)) {
643580
643469
  return null;
@@ -643885,9 +643774,9 @@ var init_officialMarketplaceStartupCheck = __esm(() => {
643885
643774
 
643886
643775
  // src/hooks/useOfficialMarketplaceNotification.tsx
643887
643776
  function useOfficialMarketplaceNotification() {
643888
- useStartupNotification(_temp204);
643777
+ useStartupNotification(_temp203);
643889
643778
  }
643890
- async function _temp204() {
643779
+ async function _temp203() {
643891
643780
  const result = await checkAndInstallOfficialMarketplace();
643892
643781
  const notifs = [];
643893
643782
  if (result.configSaveFailed) {
@@ -643947,7 +643836,7 @@ function usePromptsFromClaudeInChrome(mcpClients, toolPermissionMode) {
643947
643836
  } else {
643948
643837
  t0 = $3[1];
643949
643838
  }
643950
- import_react414.useEffect(_temp205, t0);
643839
+ import_react414.useEffect(_temp204, t0);
643951
643840
  let t1;
643952
643841
  let t2;
643953
643842
  if ($3[2] !== mcpClients || $3[3] !== toolPermissionMode) {
@@ -643972,7 +643861,7 @@ function usePromptsFromClaudeInChrome(mcpClients, toolPermissionMode) {
643972
643861
  }
643973
643862
  import_react414.useEffect(t1, t2);
643974
643863
  }
643975
- function _temp205() {}
643864
+ function _temp204() {}
643976
643865
  function findChromeClient(clients) {
643977
643866
  return clients.find((client2) => client2.type === "connected" && client2.name === CLAUDE_IN_CHROME_MCP_SERVER_NAME);
643978
643867
  }
@@ -644050,7 +643939,7 @@ function DesktopUpsellStartup(t0) {
644050
643939
  } else {
644051
643940
  t1 = $3[0];
644052
643941
  }
644053
- import_react415.useEffect(_temp206, t1);
643942
+ import_react415.useEffect(_temp205, t1);
644054
643943
  if (showHandoff) {
644055
643944
  let t22;
644056
643945
  if ($3[1] !== onDone) {
@@ -644073,7 +643962,7 @@ function DesktopUpsellStartup(t0) {
644073
643962
  return;
644074
643963
  }
644075
643964
  case "never": {
644076
- saveGlobalConfig(_temp286);
643965
+ saveGlobalConfig(_temp285);
644077
643966
  onDone();
644078
643967
  return;
644079
643968
  }
@@ -644158,7 +644047,7 @@ function DesktopUpsellStartup(t0) {
644158
644047
  }
644159
644048
  return t8;
644160
644049
  }
644161
- function _temp286(prev_0) {
644050
+ function _temp285(prev_0) {
644162
644051
  if (prev_0.desktopUpsellDismissed) {
644163
644052
  return prev_0;
644164
644053
  }
@@ -644167,7 +644056,7 @@ function _temp286(prev_0) {
644167
644056
  desktopUpsellDismissed: true
644168
644057
  };
644169
644058
  }
644170
- function _temp206() {
644059
+ function _temp205() {
644171
644060
  const newCount = (getGlobalConfig().desktopUpsellSeenCount ?? 0) + 1;
644172
644061
  saveGlobalConfig((prev) => {
644173
644062
  if ((prev.desktopUpsellSeenCount ?? 0) >= newCount) {
@@ -645937,7 +645826,7 @@ function SandboxViolationExpandedView() {
645937
645826
  }
645938
645827
  let t5;
645939
645828
  if ($3[6] !== violations) {
645940
- t5 = violations.map(_temp207);
645829
+ t5 = violations.map(_temp206);
645941
645830
  $3[6] = violations;
645942
645831
  $3[7] = t5;
645943
645832
  } else {
@@ -645972,7 +645861,7 @@ function SandboxViolationExpandedView() {
645972
645861
  }
645973
645862
  return t8;
645974
645863
  }
645975
- function _temp207(v2, i3) {
645864
+ function _temp206(v2, i3) {
645976
645865
  return /* @__PURE__ */ React460.createElement(ThemedBox_default, {
645977
645866
  key: `${v2.timestamp.getTime()}-${i3}`,
645978
645867
  paddingLeft: 2
@@ -646007,10 +645896,10 @@ function useMcpConnectivityStatus(t0) {
646007
645896
  if (getIsRemoteMode()) {
646008
645897
  return;
646009
645898
  }
646010
- const failedLocalClients = mcpClients.filter(_temp208);
646011
- const failedClaudeAiClients = mcpClients.filter(_temp287);
646012
- const needsAuthLocalServers = mcpClients.filter(_temp355);
646013
- const needsAuthClaudeAiServers = mcpClients.filter(_temp442);
645899
+ const failedLocalClients = mcpClients.filter(_temp207);
645900
+ const failedClaudeAiClients = mcpClients.filter(_temp286);
645901
+ const needsAuthLocalServers = mcpClients.filter(_temp354);
645902
+ const needsAuthClaudeAiServers = mcpClients.filter(_temp441);
646014
645903
  if (failedLocalClients.length === 0 && failedClaudeAiClients.length === 0 && needsAuthLocalServers.length === 0 && needsAuthClaudeAiServers.length === 0) {
646015
645904
  return;
646016
645905
  }
@@ -646070,16 +645959,16 @@ function useMcpConnectivityStatus(t0) {
646070
645959
  }
646071
645960
  import_react418.useEffect(t2, t3);
646072
645961
  }
646073
- function _temp442(client_2) {
645962
+ function _temp441(client_2) {
646074
645963
  return client_2.type === "needs-auth" && client_2.config.type === "claudeai-proxy" && hasClaudeAiMcpEverConnected(client_2.name);
646075
645964
  }
646076
- function _temp355(client_1) {
645965
+ function _temp354(client_1) {
646077
645966
  return client_1.type === "needs-auth" && client_1.config.type !== "claudeai-proxy";
646078
645967
  }
646079
- function _temp287(client_0) {
645968
+ function _temp286(client_0) {
646080
645969
  return client_0.type === "failed" && client_0.config.type === "claudeai-proxy" && hasClaudeAiMcpEverConnected(client_0.name);
646081
645970
  }
646082
- function _temp208(client2) {
645971
+ function _temp207(client2) {
646083
645972
  return client2.type === "failed" && client2.config.type !== "sse-ide" && client2.config.type !== "ws-ide" && client2.config.type !== "claudeai-proxy";
646084
645973
  }
646085
645974
  var import_react_compiler_runtime353, React461, import_react418, EMPTY_MCP_CLIENTS;
@@ -646142,7 +646031,7 @@ function useLspInitializationNotification() {
646142
646031
  addNotification
646143
646032
  } = useNotifications();
646144
646033
  const setAppState = useSetAppState();
646145
- const [shouldPoll, setShouldPoll] = React462.useState(_temp209);
646034
+ const [shouldPoll, setShouldPoll] = React462.useState(_temp208);
646146
646035
  let t0;
646147
646036
  if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
646148
646037
  t0 = new Set;
@@ -646161,7 +646050,7 @@ function useLspInitializationNotification() {
646161
646050
  notifiedErrorsRef.current.add(errorKey2);
646162
646051
  logForDebugging(`LSP error: ${source} - ${errorMessage4}`);
646163
646052
  setAppState((prev) => {
646164
- const existingKeys = new Set(prev.plugins.errors.map(_temp288));
646053
+ const existingKeys = new Set(prev.plugins.errors.map(_temp287));
646165
646054
  const stateErrorKey = `generic-error:${source}:${errorMessage4}`;
646166
646055
  if (existingKeys.has(stateErrorKey)) {
646167
646056
  return prev;
@@ -646252,13 +646141,13 @@ function useLspInitializationNotification() {
646252
646141
  }
646253
646142
  React462.useEffect(t3, t4);
646254
646143
  }
646255
- function _temp288(e) {
646144
+ function _temp287(e) {
646256
646145
  if (e.type === "generic-error") {
646257
646146
  return `generic-error:${e.source}:${e.error}`;
646258
646147
  }
646259
646148
  return `${e.type}:${e.source}`;
646260
646149
  }
646261
- function _temp209() {
646150
+ function _temp208() {
646262
646151
  return isEnvTruthy("true");
646263
646152
  }
646264
646153
  var import_react_compiler_runtime354, React462, LSP_POLL_INTERVAL_MS = 5000;
@@ -646578,7 +646467,7 @@ var init_usePluginRecommendationBase = __esm(() => {
646578
646467
  import { extname as extname16, join as join150 } from "path";
646579
646468
  function useLspPluginRecommendation() {
646580
646469
  const $3 = import_react_compiler_runtime356.c(12);
646581
- const trackedFiles = useAppState(_temp224);
646470
+ const trackedFiles = useAppState(_temp209);
646582
646471
  const {
646583
646472
  addNotification
646584
646473
  } = useNotifications();
@@ -646686,7 +646575,7 @@ function useLspPluginRecommendation() {
646686
646575
  break bb60;
646687
646576
  }
646688
646577
  case "disable": {
646689
- saveGlobalConfig(_temp289);
646578
+ saveGlobalConfig(_temp288);
646690
646579
  }
646691
646580
  }
646692
646581
  clearRecommendation();
@@ -646713,7 +646602,7 @@ function useLspPluginRecommendation() {
646713
646602
  }
646714
646603
  return t4;
646715
646604
  }
646716
- function _temp289(current) {
646605
+ function _temp288(current) {
646717
646606
  if (current.lspRecommendationDisabled) {
646718
646607
  return current;
646719
646608
  }
@@ -646722,7 +646611,7 @@ function _temp289(current) {
646722
646611
  lspRecommendationDisabled: true
646723
646612
  };
646724
646613
  }
646725
- function _temp224(s) {
646614
+ function _temp209(s) {
646726
646615
  return s.fileHistory.trackedFiles;
646727
646616
  }
646728
646617
  var import_react_compiler_runtime356, React464, TIMEOUT_THRESHOLD_MS = 28000;
@@ -647015,7 +646904,7 @@ function usePluginInstallationStatus() {
647015
646904
  const {
647016
646905
  addNotification
647017
646906
  } = useNotifications();
647018
- const installationStatus = useAppState(_temp234);
646907
+ const installationStatus = useAppState(_temp224);
647019
646908
  let t0;
647020
646909
  bb0: {
647021
646910
  if (!installationStatus) {
@@ -647035,7 +646924,7 @@ function usePluginInstallationStatus() {
647035
646924
  }
647036
646925
  let t12;
647037
646926
  if ($3[1] !== installationStatus.marketplaces) {
647038
- t12 = installationStatus.marketplaces.filter(_temp290);
646927
+ t12 = installationStatus.marketplaces.filter(_temp289);
647039
646928
  $3[1] = installationStatus.marketplaces;
647040
646929
  $3[2] = t12;
647041
646930
  } else {
@@ -647044,7 +646933,7 @@ function usePluginInstallationStatus() {
647044
646933
  const failedMarketplaces = t12;
647045
646934
  let t22;
647046
646935
  if ($3[3] !== installationStatus.plugins) {
647047
- t22 = installationStatus.plugins.filter(_temp356);
646936
+ t22 = installationStatus.plugins.filter(_temp355);
647048
646937
  $3[3] = installationStatus.plugins;
647049
646938
  $3[4] = t22;
647050
646939
  } else {
@@ -647123,13 +647012,13 @@ function usePluginInstallationStatus() {
647123
647012
  }
647124
647013
  import_react420.useEffect(t1, t2);
647125
647014
  }
647126
- function _temp356(p) {
647015
+ function _temp355(p) {
647127
647016
  return p.status === "failed";
647128
647017
  }
647129
- function _temp290(m2) {
647018
+ function _temp289(m2) {
647130
647019
  return m2.status === "failed";
647131
647020
  }
647132
- function _temp234(s) {
647021
+ function _temp224(s) {
647133
647022
  return s.plugins.installationStatus;
647134
647023
  }
647135
647024
  var import_react_compiler_runtime358, React468, import_react420;
@@ -647190,7 +647079,7 @@ function usePluginAutoupdateNotification() {
647190
647079
  if (updatedPlugins.length === 0) {
647191
647080
  return;
647192
647081
  }
647193
- const pluginNames = updatedPlugins.map(_temp244);
647082
+ const pluginNames = updatedPlugins.map(_temp234);
647194
647083
  const displayNames = pluginNames.length <= 2 ? pluginNames.join(" and ") : `${pluginNames.length} plugins`;
647195
647084
  addNotification({
647196
647085
  key: "plugin-autoupdate-restart",
@@ -647215,7 +647104,7 @@ function usePluginAutoupdateNotification() {
647215
647104
  }
647216
647105
  import_react421.useEffect(t3, t4);
647217
647106
  }
647218
- function _temp244(id) {
647107
+ function _temp234(id) {
647219
647108
  const atIndex = id.indexOf("@");
647220
647109
  return atIndex > 0 ? id.substring(0, atIndex) : id;
647221
647110
  }
@@ -647694,9 +647583,9 @@ var init_useDeprecationWarningNotification = __esm(() => {
647694
647583
 
647695
647584
  // src/hooks/notifs/useNpmDeprecationNotification.tsx
647696
647585
  function useNpmDeprecationNotification() {
647697
- useStartupNotification(_temp254);
647586
+ useStartupNotification(_temp244);
647698
647587
  }
647699
- async function _temp254() {
647588
+ async function _temp244() {
647700
647589
  if (isInBundledMode() || isEnvTruthy(process.env.DISABLE_INSTALLATION_CHECKS)) {
647701
647590
  return null;
647702
647591
  }
@@ -647764,7 +647653,7 @@ function useIDEStatusIndicator(t0) {
647764
647653
  if (hasShownHintRef.current || (getGlobalConfig().ideHintShownCount ?? 0) >= MAX_IDE_HINT_SHOW_COUNT) {
647765
647654
  return;
647766
647655
  }
647767
- const timeoutId = setTimeout(_temp291, 3000, hasShownHintRef, addNotification);
647656
+ const timeoutId = setTimeout(_temp290, 3000, hasShownHintRef, addNotification);
647768
647657
  return () => clearTimeout(timeoutId);
647769
647658
  };
647770
647659
  t3 = [addNotification, removeNotification, ideStatus, showJetBrainsInfo];
@@ -647869,12 +647758,12 @@ function useIDEStatusIndicator(t0) {
647869
647758
  }
647870
647759
  import_react424.useEffect(t8, t9);
647871
647760
  }
647872
- function _temp291(hasShownHintRef_0, addNotification_0) {
647761
+ function _temp290(hasShownHintRef_0, addNotification_0) {
647873
647762
  detectIDEs(true).then((infos) => {
647874
647763
  const ideName_0 = infos[0]?.name;
647875
647764
  if (ideName_0 && !hasShownHintRef_0.current) {
647876
647765
  hasShownHintRef_0.current = true;
647877
- saveGlobalConfig(_temp292);
647766
+ saveGlobalConfig(_temp254);
647878
647767
  addNotification_0({
647879
647768
  key: "ide-status-hint",
647880
647769
  jsx: /* @__PURE__ */ import_react424.default.createElement(ThemedText, {
@@ -647887,7 +647776,7 @@ function _temp291(hasShownHintRef_0, addNotification_0) {
647887
647776
  }
647888
647777
  });
647889
647778
  }
647890
- function _temp292(current) {
647779
+ function _temp254(current) {
647891
647780
  return {
647892
647781
  ...current,
647893
647782
  ideHintShownCount: (current.ideHintShownCount ?? 0) + 1
@@ -647907,9 +647796,9 @@ var init_useIDEStatusIndicator = __esm(() => {
647907
647796
 
647908
647797
  // src/hooks/notifs/useModelMigrationNotifications.tsx
647909
647798
  function useModelMigrationNotifications() {
647910
- useStartupNotification(_temp294);
647799
+ useStartupNotification(_temp291);
647911
647800
  }
647912
- function _temp294() {
647801
+ function _temp291() {
647913
647802
  const config5 = getGlobalConfig();
647914
647803
  const notifs = [];
647915
647804
  for (const migration of MIGRATIONS) {
@@ -647957,9 +647846,9 @@ var init_useModelMigrationNotifications = __esm(() => {
647957
647846
 
647958
647847
  // src/hooks/notifs/useCanSwitchToExistingSubscription.tsx
647959
647848
  function useCanSwitchToExistingSubscription() {
647960
- useStartupNotification(_temp293);
647849
+ useStartupNotification(_temp292);
647961
647850
  }
647962
- async function _temp293() {
647851
+ async function _temp292() {
647963
647852
  if ((getGlobalConfig().subscriptionNoticeCount ?? 0) >= MAX_SHOW_COUNT2) {
647964
647853
  return null;
647965
647854
  }
@@ -647967,7 +647856,7 @@ async function _temp293() {
647967
647856
  if (subscriptionType === null) {
647968
647857
  return null;
647969
647858
  }
647970
- saveGlobalConfig(_temp295);
647859
+ saveGlobalConfig(_temp293);
647971
647860
  logEvent("tengu_switch_to_subscription_notice_shown", {});
647972
647861
  return {
647973
647862
  key: "switch-to-subscription",
@@ -647980,7 +647869,7 @@ async function _temp293() {
647980
647869
  priority: "low"
647981
647870
  };
647982
647871
  }
647983
- function _temp295(current) {
647872
+ function _temp293(current) {
647984
647873
  return {
647985
647874
  ...current,
647986
647875
  subscriptionNoticeCount: (current.subscriptionNoticeCount ?? 0) + 1
@@ -648082,7 +647971,7 @@ function useFastModeNotification() {
648082
647971
  const {
648083
647972
  addNotification
648084
647973
  } = useNotifications();
648085
- const isFastMode = useAppState(_temp297);
647974
+ const isFastMode = useAppState(_temp295);
648086
647975
  const setAppState = useSetAppState();
648087
647976
  let t0;
648088
647977
  let t1;
@@ -648104,7 +647993,7 @@ function useFastModeNotification() {
648104
647993
  });
648105
647994
  } else {
648106
647995
  if (isFastMode) {
648107
- setAppState(_temp296);
647996
+ setAppState(_temp294);
648108
647997
  addNotification({
648109
647998
  key: ORG_CHANGED_KEY,
648110
647999
  color: "warning",
@@ -648137,7 +648026,7 @@ function useFastModeNotification() {
648137
648026
  return;
648138
648027
  }
648139
648028
  return onFastModeOverageRejection((message) => {
648140
- setAppState(_temp357);
648029
+ setAppState(_temp356);
648141
648030
  addNotification({
648142
648031
  key: OVERAGE_REJECTED_KEY,
648143
648032
  color: "warning",
@@ -648204,19 +648093,19 @@ function useFastModeNotification() {
648204
648093
  }
648205
648094
  import_react426.useEffect(t4, t5);
648206
648095
  }
648207
- function _temp357(prev_0) {
648096
+ function _temp356(prev_0) {
648208
648097
  return {
648209
648098
  ...prev_0,
648210
648099
  fastMode: false
648211
648100
  };
648212
648101
  }
648213
- function _temp296(prev) {
648102
+ function _temp294(prev) {
648214
648103
  return {
648215
648104
  ...prev,
648216
648105
  fastMode: false
648217
648106
  };
648218
648107
  }
648219
- function _temp297(s) {
648108
+ function _temp295(s) {
648220
648109
  return s.fastMode;
648221
648110
  }
648222
648111
  function getCooldownMessage(reason, resetIn) {
@@ -649319,7 +649208,7 @@ function AnimatedTerminalTitle(t0) {
649319
649208
  if (disabled || noPrefix || !isAnimating || !terminalFocused) {
649320
649209
  return;
649321
649210
  }
649322
- const interval = setInterval(_temp298, TITLE_ANIMATION_INTERVAL_MS, setFrame);
649211
+ const interval = setInterval(_temp296, TITLE_ANIMATION_INTERVAL_MS, setFrame);
649323
649212
  return () => clearInterval(interval);
649324
649213
  };
649325
649214
  t2 = [disabled, noPrefix, isAnimating, terminalFocused];
@@ -649338,10 +649227,10 @@ function AnimatedTerminalTitle(t0) {
649338
649227
  useTerminalTitle(disabled ? null : noPrefix ? title : `${prefix} ${title}`);
649339
649228
  return null;
649340
649229
  }
649341
- function _temp298(setFrame_0) {
649342
- return setFrame_0(_temp299);
649230
+ function _temp296(setFrame_0) {
649231
+ return setFrame_0(_temp297);
649343
649232
  }
649344
- function _temp299(f) {
649233
+ function _temp297(f) {
649345
649234
  return (f + 1) % TITLE_ANIMATION_FRAMES.length;
649346
649235
  }
649347
649236
  function REPL({
@@ -652913,7 +652802,7 @@ function MCPServerMultiselectDialog(t0) {
652913
652802
  }
652914
652803
  let t5;
652915
652804
  if ($3[7] !== serverNames) {
652916
- t5 = serverNames.map(_temp300);
652805
+ t5 = serverNames.map(_temp298);
652917
652806
  $3[7] = serverNames;
652918
652807
  $3[8] = t5;
652919
652808
  } else {
@@ -652985,7 +652874,7 @@ function MCPServerMultiselectDialog(t0) {
652985
652874
  }
652986
652875
  return t9;
652987
652876
  }
652988
- function _temp300(server_0) {
652877
+ function _temp298(server_0) {
652989
652878
  return {
652990
652879
  label: server_0,
652991
652880
  value: server_0
@@ -653301,7 +653190,7 @@ function PreflightStep(t0) {
653301
653190
  onSuccess();
653302
653191
  } else {
653303
653192
  if (result && !result.success) {
653304
- const timer = setTimeout(_temp301, 100);
653193
+ const timer = setTimeout(_temp299, 100);
653305
653194
  return () => clearTimeout(timer);
653306
653195
  }
653307
653196
  }
@@ -653359,7 +653248,7 @@ function PreflightStep(t0) {
653359
653248
  }
653360
653249
  return t6;
653361
653250
  }
653362
- function _temp301() {
653251
+ function _temp299() {
653363
653252
  return process.exit(1);
653364
653253
  }
653365
653254
  var import_react_compiler_runtime371, import_react440;
@@ -653552,7 +653441,7 @@ function WelcomeV2() {
653552
653441
  color: "claude"
653553
653442
  }, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react442.default.createElement(ThemedText, {
653554
653443
  dimColor: true
653555
- }, "v", "0.1.6", " "));
653444
+ }, "v", "0.1.7", " "));
653556
653445
  t17 = /* @__PURE__ */ import_react442.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
653557
653446
  t22 = /* @__PURE__ */ import_react442.default.createElement(ThemedText, null, " ");
653558
653447
  t32 = /* @__PURE__ */ import_react442.default.createElement(ThemedText, null, " ");
@@ -653656,7 +653545,7 @@ function WelcomeV2() {
653656
653545
  color: "claude"
653657
653546
  }, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react442.default.createElement(ThemedText, {
653658
653547
  dimColor: true
653659
- }, "v", "0.1.6", " "));
653548
+ }, "v", "0.1.7", " "));
653660
653549
  t1 = /* @__PURE__ */ import_react442.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
653661
653550
  t2 = /* @__PURE__ */ import_react442.default.createElement(ThemedText, null, " ");
653662
653551
  t3 = /* @__PURE__ */ import_react442.default.createElement(ThemedText, null, " * █████▓▓░ ");
@@ -653783,7 +653672,7 @@ function AppleTerminalWelcomeV2(t0) {
653783
653672
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
653784
653673
  t22 = /* @__PURE__ */ import_react442.default.createElement(ThemedText, {
653785
653674
  dimColor: true
653786
- }, "v", "0.1.6", " ");
653675
+ }, "v", "0.1.7", " ");
653787
653676
  $3[2] = t22;
653788
653677
  } else {
653789
653678
  t22 = $3[2];
@@ -653921,7 +653810,7 @@ function AppleTerminalWelcomeV2(t0) {
653921
653810
  if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
653922
653811
  t2 = /* @__PURE__ */ import_react442.default.createElement(ThemedText, {
653923
653812
  dimColor: true
653924
- }, "v", "0.1.6", " ");
653813
+ }, "v", "0.1.7", " ");
653925
653814
  $3[24] = t2;
653926
653815
  } else {
653927
653816
  t2 = $3[24];
@@ -654662,7 +654551,7 @@ function TrustDialog(t0) {
654662
654551
  const hasSlashCommandBash = t10;
654663
654552
  let t11;
654664
654553
  if ($3[11] !== commands) {
654665
- t11 = commands?.some(_temp443) ?? false;
654554
+ t11 = commands?.some(_temp442) ?? false;
654666
654555
  $3[11] = commands;
654667
654556
  $3[12] = t11;
654668
654557
  } else {
@@ -654840,16 +654729,16 @@ function _temp530(current) {
654840
654729
  hasTrustDialogAccepted: true
654841
654730
  };
654842
654731
  }
654843
- function _temp443(command_0) {
654844
- return command_0.type === "prompt" && (command_0.loadedFrom === "skills" || command_0.loadedFrom === "plugin") && (command_0.source === "projectSettings" || command_0.source === "localSettings" || command_0.source === "plugin") && command_0.allowedTools?.some(_temp358);
654732
+ function _temp442(command_0) {
654733
+ return command_0.type === "prompt" && (command_0.loadedFrom === "skills" || command_0.loadedFrom === "plugin") && (command_0.source === "projectSettings" || command_0.source === "localSettings" || command_0.source === "plugin") && command_0.allowedTools?.some(_temp357);
654845
654734
  }
654846
- function _temp358(tool_0) {
654735
+ function _temp357(tool_0) {
654847
654736
  return tool_0 === BASH_TOOL_NAME || tool_0.startsWith(BASH_TOOL_NAME + "(");
654848
654737
  }
654849
654738
  function _temp2100(command8) {
654850
- return command8.type === "prompt" && command8.loadedFrom === "commands_DEPRECATED" && (command8.source === "projectSettings" || command8.source === "localSettings") && command8.allowedTools?.some(_temp302);
654739
+ return command8.type === "prompt" && command8.loadedFrom === "commands_DEPRECATED" && (command8.source === "projectSettings" || command8.source === "localSettings") && command8.allowedTools?.some(_temp300);
654851
654740
  }
654852
- function _temp302(tool) {
654741
+ function _temp300(tool) {
654853
654742
  return tool === BASH_TOOL_NAME || tool.startsWith(BASH_TOOL_NAME + "(");
654854
654743
  }
654855
654744
  var import_react_compiler_runtime377, import_react446;
@@ -654888,7 +654777,7 @@ function BypassPermissionsModeDialog(t0) {
654888
654777
  } else {
654889
654778
  t1 = $3[0];
654890
654779
  }
654891
- import_react447.default.useEffect(_temp303, t1);
654780
+ import_react447.default.useEffect(_temp301, t1);
654892
654781
  let t2;
654893
654782
  if ($3[1] !== onAccept) {
654894
654783
  t2 = function onChange2(value) {
@@ -654959,7 +654848,7 @@ function BypassPermissionsModeDialog(t0) {
654959
654848
  function _temp2102() {
654960
654849
  gracefulShutdownSync(0);
654961
654850
  }
654962
- function _temp303() {
654851
+ function _temp301() {
654963
654852
  logEvent("tengu_bypass_permissions_mode_dialog_shown", {});
654964
654853
  }
654965
654854
  var import_react_compiler_runtime378, import_react447;
@@ -654991,7 +654880,7 @@ function ClaudeInChromeOnboarding(t0) {
654991
654880
  t1 = () => {
654992
654881
  logEvent("tengu_claude_in_chrome_onboarding_shown", {});
654993
654882
  isChromeExtensionInstalled().then(setIsExtensionInstalled);
654994
- saveGlobalConfig(_temp304);
654883
+ saveGlobalConfig(_temp302);
654995
654884
  };
654996
654885
  t2 = [];
654997
654886
  $3[0] = t1;
@@ -655100,7 +654989,7 @@ function ClaudeInChromeOnboarding(t0) {
655100
654989
  }
655101
654990
  return t11;
655102
654991
  }
655103
- function _temp304(current) {
654992
+ function _temp302(current) {
655104
654993
  return {
655105
654994
  ...current,
655106
654995
  hasCompletedClaudeInChromeOnboarding: true
@@ -655123,7 +655012,7 @@ function completeOnboarding() {
655123
655012
  saveGlobalConfig((current) => ({
655124
655013
  ...current,
655125
655014
  hasCompletedOnboarding: true,
655126
- lastOnboardingVersion: "0.1.6"
655015
+ lastOnboardingVersion: "0.1.7"
655127
655016
  }));
655128
655017
  }
655129
655018
  function showDialog(root2, renderer) {
@@ -656027,7 +655916,7 @@ function TeleportRepoMismatchDialog(t0) {
656027
655916
  } else {
656028
655917
  t32 = $3[7];
656029
655918
  }
656030
- t2 = [...availablePaths.map(_temp305), t32];
655919
+ t2 = [...availablePaths.map(_temp303), t32];
656031
655920
  $3[5] = availablePaths;
656032
655921
  $3[6] = t2;
656033
655922
  } else {
@@ -656079,7 +655968,7 @@ function TeleportRepoMismatchDialog(t0) {
656079
655968
  }
656080
655969
  return t4;
656081
655970
  }
656082
- function _temp305(path24) {
655971
+ function _temp303(path24) {
656083
655972
  return {
656084
655973
  label: /* @__PURE__ */ import_react454.default.createElement(ThemedText, null, "Use ", /* @__PURE__ */ import_react454.default.createElement(ThemedText, {
656085
655974
  bold: true
@@ -656354,7 +656243,7 @@ function NoConversationsMessage() {
656354
656243
  } else {
656355
656244
  t0 = $3[0];
656356
656245
  }
656357
- useKeybinding("app:interrupt", _temp306, t0);
656246
+ useKeybinding("app:interrupt", _temp304, t0);
656358
656247
  let t1;
656359
656248
  if ($3[1] === Symbol.for("react.memo_cache_sentinel")) {
656360
656249
  t1 = /* @__PURE__ */ import_react455.default.createElement(ThemedBox_default, {
@@ -656368,7 +656257,7 @@ function NoConversationsMessage() {
656368
656257
  }
656369
656258
  return t1;
656370
656259
  }
656371
- function _temp306() {
656260
+ function _temp304() {
656372
656261
  process.exit(1);
656373
656262
  }
656374
656263
  function CrossProjectMessage(t0) {
@@ -656383,7 +656272,7 @@ function CrossProjectMessage(t0) {
656383
656272
  } else {
656384
656273
  t1 = $3[0];
656385
656274
  }
656386
- import_react455.default.useEffect(_temp359, t1);
656275
+ import_react455.default.useEffect(_temp358, t1);
656387
656276
  let t2;
656388
656277
  if ($3[1] === Symbol.for("react.memo_cache_sentinel")) {
656389
656278
  t2 = /* @__PURE__ */ import_react455.default.createElement(ThemedText, null, "This conversation is from a different directory.");
@@ -656430,7 +656319,7 @@ function CrossProjectMessage(t0) {
656430
656319
  }
656431
656320
  return t6;
656432
656321
  }
656433
- function _temp359() {
656322
+ function _temp358() {
656434
656323
  const timeout2 = setTimeout(_temp2103, 100);
656435
656324
  return () => clearTimeout(timeout2);
656436
656325
  }
@@ -659401,7 +659290,7 @@ function appendToLog(path24, message) {
659401
659290
  cwd: getFsImplementation().cwd(),
659402
659291
  userType: process.env.USER_TYPE,
659403
659292
  sessionId: getSessionId(),
659404
- version: "0.1.6"
659293
+ version: "0.1.7"
659405
659294
  };
659406
659295
  getLogWriter(path24).write(messageWithTimestamp);
659407
659296
  }
@@ -663386,8 +663275,8 @@ async function getEnvLessBridgeConfig() {
663386
663275
  }
663387
663276
  async function checkEnvLessBridgeMinVersion() {
663388
663277
  const cfg = await getEnvLessBridgeConfig();
663389
- if (cfg.min_version && lt("0.1.6", cfg.min_version)) {
663390
- return `Your version of codez (${"0.1.6"}) is too old for Remote Control.
663278
+ if (cfg.min_version && lt("0.1.7", cfg.min_version)) {
663279
+ return `Your version of codez (${"0.1.7"}) is too old for Remote Control.
663391
663280
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
663392
663281
  }
663393
663282
  return null;
@@ -663861,7 +663750,7 @@ async function initBridgeCore(params) {
663861
663750
  const rawApi = createBridgeApiClient({
663862
663751
  baseUrl,
663863
663752
  getAccessToken,
663864
- runnerVersion: "0.1.6",
663753
+ runnerVersion: "0.1.7",
663865
663754
  onDebug: logForDebugging,
663866
663755
  onAuth401,
663867
663756
  getTrustedDeviceToken
@@ -669060,7 +668949,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
669060
668949
  setCwd(cwd3);
669061
668950
  const server = new Server({
669062
668951
  name: "claude/tengu",
669063
- version: "0.1.6"
668952
+ version: "0.1.7"
669064
668953
  }, {
669065
668954
  capabilities: {
669066
668955
  tools: {}
@@ -670155,7 +670044,7 @@ function SetupNotes(t0) {
670155
670044
  }
670156
670045
  let t2;
670157
670046
  if ($3[1] !== messages) {
670158
- t2 = messages.map(_temp307);
670047
+ t2 = messages.map(_temp305);
670159
670048
  $3[1] = messages;
670160
670049
  $3[2] = t2;
670161
670050
  } else {
@@ -670175,7 +670064,7 @@ function SetupNotes(t0) {
670175
670064
  }
670176
670065
  return t3;
670177
670066
  }
670178
- function _temp307(message, index) {
670067
+ function _temp305(message, index) {
670179
670068
  return /* @__PURE__ */ import_react460.default.createElement(ThemedBox_default, {
670180
670069
  key: index,
670181
670070
  marginLeft: 2
@@ -670561,7 +670450,7 @@ __export(exports_update, {
670561
670450
  });
670562
670451
  async function update() {
670563
670452
  logEvent("tengu_update_check", {});
670564
- writeToStdout(`Current version: ${"0.1.6"}
670453
+ writeToStdout(`Current version: ${"0.1.7"}
670565
670454
  `);
670566
670455
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
670567
670456
  writeToStdout(`Checking for updates to ${channel} version...
@@ -670636,8 +670525,8 @@ async function update() {
670636
670525
  writeToStdout(`Claude is managed by Homebrew.
670637
670526
  `);
670638
670527
  const latest = await getLatestVersion(channel);
670639
- if (latest && !gte("0.1.6", latest)) {
670640
- writeToStdout(`Update available: ${"0.1.6"} → ${latest}
670528
+ if (latest && !gte("0.1.7", latest)) {
670529
+ writeToStdout(`Update available: ${"0.1.7"} → ${latest}
670641
670530
  `);
670642
670531
  writeToStdout(`
670643
670532
  `);
@@ -670653,8 +670542,8 @@ async function update() {
670653
670542
  writeToStdout(`Claude is managed by winget.
670654
670543
  `);
670655
670544
  const latest = await getLatestVersion(channel);
670656
- if (latest && !gte("0.1.6", latest)) {
670657
- writeToStdout(`Update available: ${"0.1.6"} → ${latest}
670545
+ if (latest && !gte("0.1.7", latest)) {
670546
+ writeToStdout(`Update available: ${"0.1.7"} → ${latest}
670658
670547
  `);
670659
670548
  writeToStdout(`
670660
670549
  `);
@@ -670670,8 +670559,8 @@ async function update() {
670670
670559
  writeToStdout(`Claude is managed by apk.
670671
670560
  `);
670672
670561
  const latest = await getLatestVersion(channel);
670673
- if (latest && !gte("0.1.6", latest)) {
670674
- writeToStdout(`Update available: ${"0.1.6"} → ${latest}
670562
+ if (latest && !gte("0.1.7", latest)) {
670563
+ writeToStdout(`Update available: ${"0.1.7"} → ${latest}
670675
670564
  `);
670676
670565
  writeToStdout(`
670677
670566
  `);
@@ -670736,11 +670625,11 @@ async function update() {
670736
670625
  `);
670737
670626
  await gracefulShutdown(1);
670738
670627
  }
670739
- if (result.latestVersion === "0.1.6") {
670740
- writeToStdout(source_default.green(`codez is up to date (${"0.1.6"})`) + `
670628
+ if (result.latestVersion === "0.1.7") {
670629
+ writeToStdout(source_default.green(`codez is up to date (${"0.1.7"})`) + `
670741
670630
  `);
670742
670631
  } else {
670743
- writeToStdout(source_default.green(`Successfully updated from ${"0.1.6"} to version ${result.latestVersion}`) + `
670632
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.7"} to version ${result.latestVersion}`) + `
670744
670633
  `);
670745
670634
  await regenerateCompletionCache();
670746
670635
  }
@@ -670800,12 +670689,12 @@ async function update() {
670800
670689
  `);
670801
670690
  await gracefulShutdown(1);
670802
670691
  }
670803
- if (latestVersion === "0.1.6") {
670804
- writeToStdout(source_default.green(`codez is up to date (${"0.1.6"})`) + `
670692
+ if (latestVersion === "0.1.7") {
670693
+ writeToStdout(source_default.green(`codez is up to date (${"0.1.7"})`) + `
670805
670694
  `);
670806
670695
  await gracefulShutdown(0);
670807
670696
  }
670808
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.6"})
670697
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.7"})
670809
670698
  `);
670810
670699
  writeToStdout(`Installing update...
670811
670700
  `);
@@ -670850,7 +670739,7 @@ async function update() {
670850
670739
  logForDebugging(`update: Installation status: ${status2}`);
670851
670740
  switch (status2) {
670852
670741
  case "success":
670853
- writeToStdout(source_default.green(`Successfully updated from ${"0.1.6"} to version ${latestVersion}`) + `
670742
+ writeToStdout(source_default.green(`Successfully updated from ${"0.1.7"} to version ${latestVersion}`) + `
670854
670743
  `);
670855
670744
  await regenerateCompletionCache();
670856
670745
  break;
@@ -672094,7 +671983,7 @@ ${customInstructions}` : customInstructions;
672094
671983
  }
672095
671984
  }
672096
671985
  logForDiagnosticsNoPII("info", "started", {
672097
- version: "0.1.6",
671986
+ version: "0.1.7",
672098
671987
  is_native_binary: isInBundledMode()
672099
671988
  });
672100
671989
  registerCleanup(async () => {
@@ -672878,7 +672767,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
672878
672767
  pendingHookMessages
672879
672768
  }, renderAndRun);
672880
672769
  }
672881
- }).version("0.1.6", "-v, --version", "Output the version number");
672770
+ }).version("0.1.7", "-v, --version", "Output the version number");
672882
672771
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
672883
672772
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
672884
672773
  if (canUserConfigureAdvisor()) {
@@ -673391,7 +673280,7 @@ async function main2() {
673391
673280
  const args = process.argv.slice(2);
673392
673281
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
673393
673282
  const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
673394
- console.log(`${"0.1.6"} (${label})`);
673283
+ console.log(`${"0.1.7"} (${label})`);
673395
673284
  return;
673396
673285
  }
673397
673286
  const {
@@ -673475,4 +673364,4 @@ async function main2() {
673475
673364
  }
673476
673365
  main2();
673477
673366
 
673478
- //# debugId=0F3BC45D0DE0080A64756E2164756E21
673367
+ //# debugId=B17A82D07D0BBCAB64756E2164756E21