blun-king-cli 9.1.9 → 9.1.10

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 +4 -2
  2. package/package.json +1 -1
package/blun.mjs CHANGED
@@ -1685,6 +1685,7 @@ var init_errors$10 = __esmMin((() => {
1685
1685
  TIMEOUT_RE = /timed?\s*out|timeout|deadline/i;
1686
1686
  CONTEXT_OVERFLOW_MESSAGE_PATTERNS = [
1687
1687
  /context[ _-]?length/,
1688
+ /context[ _-]?size.*exceed/,
1688
1689
  /(?:context[ _-]?window.*exceed|exceed.*context[ _-]?window)/,
1689
1690
  /maximum context/,
1690
1691
  /exceed(?:ed|s|ing)?\s+(?:the\s+)?max(?:imum)?\s+tokens?/,
@@ -412689,8 +412690,9 @@ function mountExperimentsPanel(host, features) {
412689
412690
  }));
412690
412691
  }
412691
412692
  async function applyPermissionChoice(host, mode) {
412693
+ const displayMode = mode === "yolo" ? uiText("permission.god.label") : mode;
412692
412694
  if (mode === host.state.appState.permissionMode) {
412693
- host.showStatus(uiText("config.permission.unchanged", { mode }));
412695
+ host.showStatus(uiText("config.permission.unchanged", { mode: displayMode }));
412694
412696
  return;
412695
412697
  }
412696
412698
  try {
@@ -412701,7 +412703,7 @@ async function applyPermissionChoice(host, mode) {
412701
412703
  return;
412702
412704
  }
412703
412705
  host.setAppState({ permissionMode: mode });
412704
- host.showNotice(uiText("config.permission.set", { mode }));
412706
+ host.showNotice(uiText("config.permission.set", { mode: displayMode }));
412705
412707
  }
412706
412708
  function showSettingsSelector(host) {
412707
412709
  host.mountEditorReplacement(new SettingsSelectorComponent({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.9",
3
+ "version": "9.1.10",
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": {