omnius 1.0.292 → 1.0.293
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 +5 -5
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -594760,13 +594760,13 @@ function formatTokenCount(t2) {
|
|
|
594760
594760
|
}
|
|
594761
594761
|
function buildMetricsChip(data) {
|
|
594762
594762
|
const parts = [];
|
|
594763
|
-
parts.push(`${data.turns}
|
|
594764
|
-
parts.push(`${data.toolCalls}
|
|
594763
|
+
parts.push(`${data.turns}t`);
|
|
594764
|
+
parts.push(`${data.toolCalls}c`);
|
|
594765
594765
|
if (data.tokens && data.durationMs > 0) {
|
|
594766
594766
|
const total = data.tokens.total > 0 ? data.tokens.total : data.tokens.estimated;
|
|
594767
594767
|
if (total > 0) {
|
|
594768
594768
|
const tps = total / (data.durationMs / 1e3);
|
|
594769
|
-
if (tps >= 1) parts.push(`${tps.toFixed(0)}
|
|
594769
|
+
if (tps >= 1) parts.push(`${tps.toFixed(0)}t/s`);
|
|
594770
594770
|
}
|
|
594771
594771
|
}
|
|
594772
594772
|
parts.push(formatDuration3(data.durationMs));
|
|
@@ -609882,8 +609882,8 @@ ${CONTENT_BG_SEQ}`);
|
|
|
609882
609882
|
const tpsStr = _StatusBar.formatTokensPerSecond(this._tokensPerSecond);
|
|
609883
609883
|
const tpsExpanded = " " + pastel2(222, "t/s") + " " + c3.bold(tpsStr);
|
|
609884
609884
|
const tpsW = 1 + 3 + 1 + tpsStr.length;
|
|
609885
|
-
const tokExpanded = pastel2(117, "↑") + c3.bold(tokInRaw.toLocaleString()) + " " + pastel2(151, "↓") + c3.bold(tokOutVal.toLocaleString()) +
|
|
609886
|
-
const tokCompact = pastel2(117, "↑") + c3.bold(_StatusBar.compactNum(tokInRaw)) + " " + pastel2(151, "↓") + c3.bold(_StatusBar.compactNum(tokOutVal)) +
|
|
609885
|
+
const tokExpanded = pastel2(117, "↑") + c3.bold(tokInRaw.toLocaleString()) + " " + pastel2(151, "↓") + c3.bold(tokOutVal.toLocaleString()) + " " + pastel2(222, "t/s") + " " + c3.bold(tpsStr);
|
|
609886
|
+
const tokCompact = pastel2(117, "↑") + c3.bold(_StatusBar.compactNum(tokInRaw)) + " " + pastel2(151, "↓") + c3.bold(_StatusBar.compactNum(tokOutVal)) + " " + pastel2(222, "t/s") + " " + c3.bold(tpsStr);
|
|
609887
609887
|
const tokExpW = 1 + tokInRaw.toLocaleString().length + 1 + 1 + tokOutVal.toLocaleString().length + tpsW;
|
|
609888
609888
|
const tokCompW = 1 + _StatusBar.compactNum(tokInRaw).length + 1 + 1 + _StatusBar.compactNum(tokOutVal).length + tpsW;
|
|
609889
609889
|
sections.push({
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.293",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.293",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED