@heyamiko/amiko-cli 0.8.0 → 0.8.2

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@heyamiko/amiko-cli",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Amiko CLI — swap tokens, manage credits, bridge cross-chain, and call marketplace agents",
5
5
  "type": "module",
6
6
  "bin": {
7
- "amiko": "./dist/index.js"
7
+ "amiko": "dist/index.js"
8
8
  },
9
9
  "scripts": {
10
10
  "build": "bun build src/index.ts --outdir dist --target node --format esm",
package/skills/SKILL.md CHANGED
@@ -15,7 +15,7 @@ The `amiko` CLI is installed globally. Auth and payments are automatic via `.ami
15
15
 
16
16
  ## Critical Rules
17
17
 
18
- 1. **Every paid command is hard-gated on `--yes` in a non-interactive shell.** The CLI will *refuse* to run `image`, `search`, `amazon search`, `service call`, `service tts`, `service stt`, `service chat`, or `credits topup` unless you pass `--yes`. The refusal is loud: it prints the cost and the command you should re-run with `--yes` appended. This means: **you must first quote the cost to the user, get their explicit approval, and only then append `--yes`**. If the user didn't approve, do not add `--yes`.
18
+ 1. **Every paid / value-moving command is hard-gated on `--yes` in a non-interactive shell.** The CLI will *refuse* to run `image`, `search`, `amazon search`, `service call`, `service tts`, `service stt`, `service chat`, `credits topup`, `swap send`, or `bridge send` unless you pass `--yes`. The refusal is loud: it prints the cost and the command you should re-run with `--yes` appended. This means: **you must first quote the cost to the user, get their explicit approval, and only then append `--yes`**. If the user didn't approve, do not add `--yes`. The same applies to destructive non-paid commands (`twin:update --public`, `docs:delete`, `friends:remove`, `avatar:update`, `voice:reset`, `composio:disconnect`).
19
19
  2. **After every paid command, report the remaining balance to the user.** The CLI prints a `Balance: N credits (~$X.XX)` line at the end of every paid command — include that figure in your reply so the user knows what they have left.
20
20
  3. **Never retry a failed command.** If a command returns an error, report it and stop. Every paid call costs tokens even on failure.
21
21
  4. **Never suggest `amiko login` or `amiko connect`.** These commands don't exist. Auth is automatic via `.amiko.json`.
@@ -144,13 +144,14 @@ amiko bridge send 10 --from solana --to tempo # execute bridge
144
144
  ### Other
145
145
 
146
146
  ```bash
147
- amiko wallet balance [address] # USDC.e balance on Tempo
148
147
  amiko discovery # MPP service info + pricing
149
148
  amiko config show # view config
150
149
  amiko update # update CLI to latest (on twins: also refreshes /data, symlink, skill)
151
150
  amiko --help # all commands
152
151
  ```
153
152
 
153
+ Agent wallet balances are surfaced by `amiko credits balance` (shows credit balance + wallet balances across all chains in one call). There is no standalone `wallet` command.
154
+
154
155
  ### Account & Twin
155
156
 
156
157
  ```bash
@@ -205,8 +206,11 @@ amiko friends:remove <friendshipId> --yes # remove (destructive)
205
206
  amiko feed # friends feed (default)
206
207
  amiko feed --type for_you --limit 20 # public for-you feed
207
208
  amiko feed --hashtag ai # filter by hashtag
208
- amiko post:comment --id <postId> --comment "great post" # comment as user
209
- amiko post:comment --id <postId> --comment "..." --twin <id> # comment as the twin
209
+ amiko post:create --content "hello from the CLI" # public post (default)
210
+ amiko post:create --content "private note" --visibility private # private post
211
+ amiko post:create --content "look" --media https://...jpg # attach media URL(s)
212
+ amiko post:comment --id <postId> --comment "great post" # comment as user
213
+ amiko post:comment --id <postId> --comment "..." --twin <id> # comment as the twin
210
214
  ```
211
215
 
212
216
  ### Composio (external apps)