mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 05:00:16 +00:00
v0.5.7: Fix tool counter spacing in metrics display
This commit is contained in:
parent
9fee306075
commit
832b20b173
9 changed files with 18 additions and 18 deletions
4
packages/agent/package-lock.json
generated
4
packages/agent/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@mariozechner/pi-agent",
|
||||
"version": "0.5.6",
|
||||
"version": "0.5.7",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@mariozechner/pi-agent",
|
||||
"version": "0.5.6",
|
||||
"version": "0.5.7",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@mariozechner/tui": "^0.1.1",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mariozechner/pi-agent",
|
||||
"version": "0.5.6",
|
||||
"version": "0.5.7",
|
||||
"description": "General-purpose agent with tool calling and session persistence",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
"prepublishOnly": "npm run clean && npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-tui": "^0.5.6",
|
||||
"@mariozechner/pi-tui": "^0.5.7",
|
||||
"@types/glob": "^8.1.0",
|
||||
"chalk": "^5.5.0",
|
||||
"glob": "^11.0.3",
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ export class ConsoleRenderer implements AgentEventReceiver {
|
|||
|
||||
// Add tool call count
|
||||
if (this.toolCallCount > 0) {
|
||||
metricsText += chalk.dim(` ⚒${this.toolCallCount}`);
|
||||
metricsText += chalk.dim(` ⚒ ${this.toolCallCount}`);
|
||||
}
|
||||
|
||||
console.log(metricsText);
|
||||
|
|
|
|||
|
|
@ -305,7 +305,7 @@ export class TuiRenderer implements AgentEventReceiver {
|
|||
|
||||
// Add tool call count
|
||||
if (this.toolCallCount > 0) {
|
||||
tokenText += chalk.dim(` ⚒${this.toolCallCount}`);
|
||||
tokenText += chalk.dim(` ⚒ ${this.toolCallCount}`);
|
||||
}
|
||||
|
||||
this.tokenStatusComponent = new TextComponent(tokenText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue