@heyamiko/amiko-cli 0.7.10 → 0.8.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyamiko/amiko-cli",
3
- "version": "0.7.10",
3
+ "version": "0.8.1",
4
4
  "description": "Amiko CLI — swap tokens, manage credits, bridge cross-chain, and call marketplace agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,5 +35,6 @@
35
35
  "@types/bun": "latest",
36
36
  "@types/node": "^22.0.0",
37
37
  "typescript": "^5.6.0"
38
- }
38
+ },
39
+ "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
39
40
  }
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`.
@@ -151,6 +151,80 @@ amiko update # update CLI to latest (on twin
151
151
  amiko --help # all commands
152
152
  ```
153
153
 
154
+ ### Account & Twin
155
+
156
+ ```bash
157
+ amiko accounts # show resolved identity (mode, platform, user, active twin, wallets)
158
+ amiko info # fetch twin info (name, description, is_public, voice, avatar)
159
+ amiko twin:update --name "New Name" # rename the twin
160
+ amiko twin:update --description "..." # update bio
161
+ amiko twin:update --public true --yes # flip visibility (destructive — requires --yes in non-TTY)
162
+ ```
163
+
164
+ All twin-scoped commands accept `--twin <id>` to target a non-default twin.
165
+
166
+ ### Documents (RAG)
167
+
168
+ ```bash
169
+ amiko docs # list uploaded documents
170
+ amiko docs:upload ./notes.pdf # upload a local file
171
+ amiko docs:upload https://example.com/x.pdf # upload from URL
172
+ cat file.pdf | amiko docs:upload - --stdin --name file.pdf # upload from stdin
173
+ amiko docs:delete <docId> --yes # delete (destructive)
174
+ amiko docs:presign ./file.pdf # get a presigned S3 URL (no upload)
175
+ ```
176
+
177
+ ### Voice
178
+
179
+ ```bash
180
+ amiko voice:design --description "warm, low, male, confident, measured" # min 20 chars; returns preview IDs
181
+ amiko voice:create --sample <generated_voice_id> # commit a designed preview
182
+ amiko voice:clone ./me.mp3 # clone from an audio file (path | URL | -)
183
+ amiko voice:reset --yes # revert to default (destructive)
184
+ ```
185
+
186
+ ### Avatar
187
+
188
+ ```bash
189
+ amiko avatar:update --file ./portrait.png --yes # max 5 MB image/* (destructive — changes public avatar)
190
+ ```
191
+
192
+ ### Friends
193
+
194
+ ```bash
195
+ amiko friends # list all friends
196
+ amiko friends --type user # filter user-to-user
197
+ amiko friends:add --id <userId> # send friend request
198
+ amiko friends:accept <friendshipId> # accept pending
199
+ amiko friends:remove <friendshipId> --yes # remove (destructive)
200
+ ```
201
+
202
+ ### Feed & Posts
203
+
204
+ ```bash
205
+ amiko feed # friends feed (default)
206
+ amiko feed --type for_you --limit 20 # public for-you feed
207
+ 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
210
+ ```
211
+
212
+ ### Composio (external apps)
213
+
214
+ ```bash
215
+ amiko composio:connect --app gmail # prints OAuth URL — open in a browser
216
+ amiko composio:disconnect --app gmail --yes # disconnect (destructive)
217
+ ```
218
+
219
+ ### JSON output
220
+
221
+ Every new command supports `--json` for structured output suitable for piping or parsing:
222
+
223
+ ```bash
224
+ amiko friends --json | jq '.items[] | .friend.name'
225
+ amiko info --json | jq -r '.name'
226
+ ```
227
+
154
228
  ## Service Costs
155
229
 
156
230
  | Service | Cost | Command |