@heyamiko/amiko-cli 0.6.8 → 0.7.0
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 +372 -1090
- package/package.json +1 -1
- package/skills/SKILL.md +7 -6
package/package.json
CHANGED
package/skills/SKILL.md
CHANGED
|
@@ -93,7 +93,7 @@ Removed from the old template:
|
|
|
93
93
|
|
|
94
94
|
## Amiko CLI — Payments, Search, Image, Audio, Marketplace
|
|
95
95
|
|
|
96
|
-
The `amiko` CLI handles payments, search, image generation, audio, and
|
|
96
|
+
The `amiko` CLI handles payments, search, image generation, audio, and MPP service calls. All services are paid with AMIKO tokens on Solana automatically. Auth is read from `.amiko.json` in the workspace — NOT from the skill's `channels.amiko` config.
|
|
97
97
|
|
|
98
98
|
### When to use the Amiko CLI
|
|
99
99
|
|
|
@@ -101,18 +101,19 @@ Use the CLI when the user asks about:
|
|
|
101
101
|
- **Wallet addresses** or **balances** → `amiko credits balance`
|
|
102
102
|
- **Top up credits** → `amiko credits topup <amount> --token AMIKO --yes`
|
|
103
103
|
- **Search X/Twitter** → `amiko search "<query>"` (1 AMIKO)
|
|
104
|
-
- **Generate images** → `amiko image "<prompt>"` (5 AMIKO)
|
|
104
|
+
- **Generate images** → `amiko image "<prompt>"` (5 AMIKO) — returns `{ images: [{ url }] }`
|
|
105
105
|
- **Sound effects** → `amiko service call POST /v1/sfx '{"text":"...","duration_seconds":5}'` ($0.05) — returns `{ url, format, service }`
|
|
106
106
|
- **Music generation** → `amiko service call POST /v1/music '{"prompt":"...","music_length_ms":30000}'` ($0.10) — returns `{ url, format, service }`
|
|
107
|
-
- **
|
|
107
|
+
- **Text-to-speech** → `amiko service tts <voiceId> "<text>"` (1 AMIKO) — returns `{ url, format, service }`
|
|
108
108
|
- **Amazon search** → `amiko amazon search "<query>"` (1 AMIKO)
|
|
109
109
|
- **Amazon quote** → `amiko amazon quote <ASIN>` (free)
|
|
110
110
|
- **Swap tokens** → `amiko swap quote <amount> <from> <to>`
|
|
111
111
|
- **Who am I / identity** → `amiko whoami`
|
|
112
|
-
- **
|
|
113
|
-
- **Any MPP service** → `amiko service call <METHOD> <path> [body]`
|
|
112
|
+
- **Any other MPP service** → `amiko service call <METHOD> <path> [body]`
|
|
114
113
|
- **List all services** → `amiko service list`
|
|
115
114
|
|
|
115
|
+
**IMPORTANT:** Music, SFX, TTS, and image generation are DIRECT services — always use `amiko service call` or the dedicated commands (`amiko image`, `amiko service tts`). These handle payment automatically via AMIKO tokens.
|
|
116
|
+
|
|
116
117
|
### When NOT to use the CLI — use the filesystem instead
|
|
117
118
|
|
|
118
119
|
- **"Check my docs"** / **"what documents do I have"** → `ls /data/.openclaw/workspace/amiko-docs/`
|
|
@@ -135,7 +136,7 @@ amiko amazon search "usb c cable" # Amazon search (1 AMIKO)
|
|
|
135
136
|
amiko amazon quote B01GGKYKQM # Amazon price quote (free)
|
|
136
137
|
amiko swap quote 0.01 SOL USDC # swap quote
|
|
137
138
|
amiko swap send 0.01 SOL USDC --yes # execute swap
|
|
138
|
-
amiko
|
|
139
|
+
amiko service list # all MPP services + prices
|
|
139
140
|
amiko service list # all MPP services + prices
|
|
140
141
|
amiko --help # all commands
|
|
141
142
|
```
|