omnius 1.0.291 → 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 +10 -10
- 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({
|
|
@@ -614238,10 +614238,10 @@ ${c3.cyan(OMNIUS_FIRST_RUN_BANNER)}
|
|
|
614238
614238
|
process.stdout.write(boxLine(`${indent}${c3.dim(line)}`));
|
|
614239
614239
|
}
|
|
614240
614240
|
};
|
|
614241
|
-
const hLine = (ch) => ` ${c3.dim(ch + "─".repeat(boxW) + (ch === "
|
|
614241
|
+
const hLine = (ch) => ` ${c3.dim(ch + "─".repeat(boxW) + (ch === "╭" ? "╮" : ch === "├" ? "┤" : "╯"))}
|
|
614242
614242
|
`;
|
|
614243
614243
|
process.stdout.write("\n");
|
|
614244
|
-
process.stdout.write(hLine("
|
|
614244
|
+
process.stdout.write(hLine("╭"));
|
|
614245
614245
|
process.stdout.write(boxLine(` ${c3.bold("Inference Capability")}`));
|
|
614246
614246
|
process.stdout.write(hLine("├"));
|
|
614247
614247
|
process.stdout.write(boxLine(` ${c3.bold("Overall")}`));
|
|
@@ -614272,7 +614272,7 @@ ${c3.cyan(OMNIUS_FIRST_RUN_BANNER)}
|
|
|
614272
614272
|
process.stdout.write(` ${c3.dim("│")} ${icon} ${tag}${" ".repeat(notePad)}${note}${c3.dim("│")}
|
|
614273
614273
|
`);
|
|
614274
614274
|
}
|
|
614275
|
-
process.stdout.write(hLine("
|
|
614275
|
+
process.stdout.write(hLine("╰"));
|
|
614276
614276
|
process.stdout.write("\n");
|
|
614277
614277
|
const canPause = process.stdout.isTTY && process.stdin.isTTY && process.env["CI"] !== "true" && process.env["OMNIUS_SETUP_AUTO_CONTINUE"] !== "1";
|
|
614278
614278
|
if (canPause) {
|
|
@@ -629328,7 +629328,7 @@ async function handleSlashCommand(input, ctx3) {
|
|
|
629328
629328
|
const bw = 30;
|
|
629329
629329
|
process.stdout.write(
|
|
629330
629330
|
`
|
|
629331
|
-
${c3.dim("
|
|
629331
|
+
${c3.dim("╭──────────────────────────────────────────────────╮")}
|
|
629332
629332
|
`
|
|
629333
629333
|
);
|
|
629334
629334
|
process.stdout.write(
|
|
@@ -629411,7 +629411,7 @@ async function handleSlashCommand(input, ctx3) {
|
|
|
629411
629411
|
);
|
|
629412
629412
|
}
|
|
629413
629413
|
process.stdout.write(
|
|
629414
|
-
` ${c3.dim("
|
|
629414
|
+
` ${c3.dim("╰──────────────────────────────────────────────────╯")}
|
|
629415
629415
|
|
|
629416
629416
|
`
|
|
629417
629417
|
);
|
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