omnius 1.0.295 → 1.0.296

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.
package/dist/index.js CHANGED
@@ -609922,10 +609922,10 @@ ${CONTENT_BG_SEQ}`);
609922
609922
  const tpsStr = _StatusBar.formatTokensPerSecond(this._tokensPerSecond);
609923
609923
  const tpsExpanded = " " + pastel2(222, "t/s") + " " + c3.bold(tpsStr);
609924
609924
  const tpsW = 1 + 3 + 1 + tpsStr.length;
609925
- const tokExpanded = pastel2(117, "↑") + c3.bold(tokInRaw.toLocaleString()) + " " + pastel2(151, "↓") + c3.bold(tokOutVal.toLocaleString()) + " " + pastel2(222, "t/s") + " " + c3.bold(tpsStr);
609926
- const tokCompact = pastel2(117, "↑") + c3.bold(_StatusBar.compactNum(tokInRaw)) + " " + pastel2(151, "↓") + c3.bold(_StatusBar.compactNum(tokOutVal)) + " " + pastel2(222, "t/s") + " " + c3.bold(tpsStr);
609927
- const tokExpW = 1 + tokInRaw.toLocaleString().length + 1 + 1 + tokOutVal.toLocaleString().length + tpsW;
609928
- const tokCompW = 1 + _StatusBar.compactNum(tokInRaw).length + 1 + 1 + _StatusBar.compactNum(tokOutVal).length + tpsW;
609925
+ const tokExpanded = pastel2(117, "↑") + _StatusBar.digitBarAnsi(tokInRaw, 117) + " " + pastel2(151, "↓") + _StatusBar.digitBarAnsi(tokOutVal, 151) + " " + pastel2(222, "t/s") + " " + c3.bold(tpsStr);
609926
+ const tokCompact = pastel2(117, "↑") + _StatusBar.digitBarAnsi(tokInRaw, 117) + " " + pastel2(151, "↓") + _StatusBar.digitBarAnsi(tokOutVal, 151) + " " + pastel2(222, "t/s") + " " + c3.bold(tpsStr);
609927
+ const tokExpW = 1 + _StatusBar.digitBar(tokInRaw).length + 1 + 1 + _StatusBar.digitBar(tokOutVal).length + tpsW;
609928
+ const tokCompW = 1 + _StatusBar.digitBar(tokInRaw).length + 1 + 1 + _StatusBar.digitBar(tokOutVal).length + tpsW;
609929
609929
  sections.push({
609930
609930
  expanded: tokExpanded,
609931
609931
  compact: tokCompact,
@@ -609948,13 +609948,13 @@ ${CONTENT_BG_SEQ}`);
609948
609948
  Math.min(100, Math.round((1 - ctxUsed / ctxTotal) * 100))
609949
609949
  );
609950
609950
  const ctxColor = ctxPct > 50 ? c3.green : ctxPct > 20 ? c3.yellow : c3.red;
609951
- const ctxSizeStr = _StatusBar.compactNum(ctxTotal);
609951
+ const ctxSizeStr = _StatusBar.digitBar(ctxTotal);
609952
609952
  ctxSuffix = " " + ctxColor(`${ctxPct}%`) + c3.dim(` ${ctxSizeStr}`);
609953
609953
  ctxSuffixW = 1 + `${ctxPct}%`.length + 1 + ctxSizeStr.length;
609954
609954
  ctxCompSuffix = " " + ctxColor(`${ctxPct}%`);
609955
609955
  ctxCompSuffixW = 1 + `${ctxPct}%`.length;
609956
609956
  }
609957
- const promptSizeStr = m2.lastPromptTokens > 0 ? _StatusBar.compactNum(m2.lastPromptTokens) : "";
609957
+ const promptSizeStr = m2.lastPromptTokens > 0 ? _StatusBar.digitBar(m2.lastPromptTokens) : "";
609958
609958
  const promptSuffix = promptSizeStr ? c3.dim(` in ${promptSizeStr}`) : "";
609959
609959
  const promptSuffixW = promptSizeStr ? 4 + promptSizeStr.length : 0;
609960
609960
  const promptCompSuffix = promptSizeStr ? c3.dim(` ${promptSizeStr}`) : "";
@@ -610275,7 +610275,7 @@ ${CONTENT_BG_SEQ}`);
610275
610275
  const sec = sections[idx];
610276
610276
  const content = isCompact[idx] ? sec.compact : sec.expanded;
610277
610277
  const color = sec.btnColor ?? 183;
610278
- result += `${PANEL_BG_SEQ}\x1B[38;5;${tuiBg()}m${BTN_L}\x1B[0m${PANEL_BG_SEQ}\x1B[38;5;${color}m${content}\x1B[0m${PANEL_BG_SEQ}\x1B[38;5;${tuiBg()}m${BTN_R}\x1B[0m${PANEL_BG_SEQ}`;
610278
+ result += ` ${PANEL_BG_SEQ}\x1B[38;5;${tuiBg()}m${BTN_L}\x1B[0m ${PANEL_BG_SEQ}\x1B[38;5;${color}m${content}\x1B[0m ${PANEL_BG_SEQ}\x1B[38;5;${tuiBg()}m${BTN_R}\x1B[0m `;
610279
610279
  }
610280
610280
  return result.replace(/\x1B\[0m/g, `\x1B[0m${PANEL_BG_SEQ}`);
610281
610281
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.295",
3
+ "version": "1.0.296",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.295",
9
+ "version": "1.0.296",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.295",
3
+ "version": "1.0.296",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",