@kibibot/cli 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -101,8 +101,6 @@ kibi llm reload --disable
101
101
 
102
102
  # Generate provider config for your tool
103
103
  kibi llm setup openclaw # OpenClaw config JSON (use with --install to write directly)
104
- kibi llm setup cursor # Cursor IDE settings
105
- kibi llm setup claude # Claude Code env vars
106
104
  ```
107
105
 
108
106
  ### Skills & Config
@@ -130,7 +128,7 @@ Config precedence (highest to lowest):
130
128
 
131
129
  1. **Environment variable** — `KIBI_API_KEY`
132
130
  2. **Config file** — `~/.kibi/config.json`
133
- 3. **Defaults** — API URL: `https://api.kibi.bot`, LLM URL: `https://llm.kibi.bot`
131
+ 3. **Defaults** — API URL: `https://api.kibi.bot`, LLM URL: `https://llm.kibi.bot/v1`
134
132
 
135
133
  ## Requirements
136
134
 
@@ -141,7 +139,7 @@ Config precedence (highest to lowest):
141
139
  - [Agent & Developer Docs](https://kibi.bot/docs/agent)
142
140
  - [API Keys](https://kibi.bot/settings/api-keys)
143
141
  - [Kibi Credits](https://kibi.bot/credits)
144
- - [GitHub Skills](https://github.com/OfficialKibiBot/skills)
142
+ - [GitHub Skills](https://github.com/KibiAgent/skills)
145
143
 
146
144
  ## License
147
145
 
@@ -67,11 +67,18 @@ export function fmtBalance(value, symbol) {
67
67
  */
68
68
  export function fmtUsd(value) {
69
69
  if (!value)
70
- return chalk.dim('$0.00');
70
+ return chalk.dim('');
71
71
  const num = parseFloat(value);
72
- if (isNaN(num))
73
- return chalk.dim('$0.00');
74
- return `$${num.toFixed(2)}`;
72
+ if (isNaN(num) || num === 0)
73
+ return chalk.dim('');
74
+ if (num >= 1)
75
+ return `$${num.toFixed(2)}`;
76
+ // For small numbers, show enough significant digits
77
+ const str = num.toFixed(10);
78
+ const match = str.match(/^0\.(0*)/);
79
+ const leadingZeros = match ? match[1].length : 0;
80
+ const sigFigs = Math.max(leadingZeros + 4, 2);
81
+ return `$${num.toFixed(sigFigs)}`;
75
82
  }
76
83
  /**
77
84
  * Format a date string.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kibibot/cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "KibiBot CLI — deploy tokens, check balances, and manage your AI agent from the terminal",
5
5
  "type": "module",
6
6
  "bin": {