@heyamiko/amiko-cli 0.7.10 → 0.8.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/README.md +64 -4
- package/dist/index.js +1308 -91
- package/package.json +3 -2
- package/skills/SKILL.md +74 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heyamiko/amiko-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
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
|
@@ -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 |
|