blun-king-cli 9.1.13 → 9.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/blun.mjs +2 -4
  2. package/package.json +1 -1
package/blun.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // BLUN_BUILD_INPUT_SHA256:fa91809275490a7996f42117dd79d91256095206805eae6b481cd8bde6010045
2
+ // BLUN_BUILD_INPUT_SHA256:8f93034aa92ac7b99ba8e0031ea4a42ec693cfb699ca6223c4a889ff94f85670
3
3
  import { fileURLToPath as __cjsShimFileURLToPath } from 'node:url';
4
4
  import { dirname as __cjsShimDirname } from 'node:path';
5
5
  const __filename = __cjsShimFileURLToPath(import.meta.url);
@@ -501689,9 +501689,7 @@ function contextMetrics(state) {
501689
501689
  const responder = state.availableModels[responderAlias];
501690
501690
  const responderMax = responder === void 0 ? void 0 : effectiveModelAlias(responder).maxContextSize;
501691
501691
  const runtimeMax = Number.isFinite(state.maxContextTokens) ? Math.max(0, state.maxContextTokens) : 0;
501692
- const hardMaxTokens = runtimeMax > 0 ? runtimeMax : responderMax ?? 0;
501693
- const compactionBudget = Number.isFinite(state.compactionBudgetTokens) ? Math.max(0, state.compactionBudgetTokens ?? 0) : 0;
501694
- const maxTokens = compactionBudget > 0 ? compactionBudget : hardMaxTokens;
501692
+ const maxTokens = runtimeMax > 0 ? runtimeMax : responderMax ?? 0;
501695
501693
  return {
501696
501694
  tokens,
501697
501695
  maxTokens,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.13",
3
+ "version": "9.1.14",
4
4
  "description": "BLUN CLI - your own AI agent with a Telegram channel. Get it done. With BLUN.",
5
5
  "license": "MIT",
6
6
  "bin": {