@oxecli/oxe 1.0.50 → 1.0.51
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/cli.js +3 -2
- package/dist/engine.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -217,8 +217,9 @@ export class CLI {
|
|
|
217
217
|
this.printToolEntry(e["started"], text, e["status"] ?? "");
|
|
218
218
|
}
|
|
219
219
|
else if (typ === "footer") {
|
|
220
|
-
// Footer
|
|
221
|
-
|
|
220
|
+
// Footer metadata is muted, with dynamic duration and token values
|
|
221
|
+
// restored to white by the embedded ANSI value styles.
|
|
222
|
+
process.stdout.write(mutedMarkdown(text) + "\n");
|
|
222
223
|
}
|
|
223
224
|
else {
|
|
224
225
|
process.stdout.write(mutedMarkdown(text) + "\n");
|
package/dist/engine.js
CHANGED
|
@@ -459,7 +459,7 @@ export class InferenceEngine {
|
|
|
459
459
|
const stats = { thinking: 0, tokens: 0, reasoning: 0, input: 0 };
|
|
460
460
|
const queryStart = Date.now();
|
|
461
461
|
const footerText = () => `\x1b[2m(Thought for ${tickDuration(stats["thinking"])} · Worked for ${tickDuration((Date.now() - queryStart) / 1000)} · Used \x1b[22;37m${stats["tokens"].toLocaleString()}\x1b[2m tokens)\x1b[0m`;
|
|
462
|
-
const summary = () =>
|
|
462
|
+
const summary = () => mutedMarkdown(footerText());
|
|
463
463
|
const attachFooter = (items) => {
|
|
464
464
|
const footer = footerText();
|
|
465
465
|
for (let i = items.length - 1; i >= 0; i--) {
|