@heyamiko/amiko-cli 0.9.6 → 0.9.8
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 +5 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/SKILL.md +9 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @heyamiko/amiko-cli (v0.9.
|
|
1
|
+
# @heyamiko/amiko-cli (v0.9.7)
|
|
2
2
|
|
|
3
3
|
Manage wallets, credits, swaps, MPP marketplace services, and your Amiko twin (identity, documents, voice, avatar, friends, feed, Composio apps) from the terminal. Works for both human users and AI agents running on OpenClaw.
|
|
4
4
|
|
|
@@ -391,6 +391,10 @@ npm publish
|
|
|
391
391
|
|
|
392
392
|
## Changelog
|
|
393
393
|
|
|
394
|
+
### 0.9.7
|
|
395
|
+
|
|
396
|
+
- `composio connect` is now idempotent by default. Previously the CLI sent `forceReconnect: true` whenever `--force` was omitted, which caused every status probe to tear down the active Composio connection. The new default is `forceReconnect: false`: if the toolkit is already connected, the call returns `{ alreadyConnected: true }` without touching the connection. Pass `--force` explicitly to opt into a destructive reconnect.
|
|
397
|
+
|
|
394
398
|
### 0.9.0-beta.10
|
|
395
399
|
|
|
396
400
|
- **Rename**: top-level `market` command group is now `markets` (e.g. `amiko markets search`, `amiko markets image`).
|
package/dist/index.js
CHANGED
|
@@ -21707,7 +21707,7 @@ function registerComposioCommand(program2) {
|
|
|
21707
21707
|
body: {
|
|
21708
21708
|
appName: opts.app,
|
|
21709
21709
|
redirectUrl: opts.redirect,
|
|
21710
|
-
forceReconnect: opts.force ??
|
|
21710
|
+
forceReconnect: opts.force ?? false
|
|
21711
21711
|
}
|
|
21712
21712
|
});
|
|
21713
21713
|
spinner?.stop();
|
package/package.json
CHANGED
package/skills/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: amiko-cli
|
|
3
|
-
description: The Amiko CLI lets an agent act on the Amiko platform end-to-end — manage Solana/Base wallets (create, swap via Jupiter, bridge USDC via Across, transfer tokens to external addresses), top up and spend credits, call paid MPP marketplace services (X/Twitter search, image generation, Amazon product search, TTS/STT, AI chat, SFX/music), manage the twin's identity and RAG documents, voice and avatar, social graph (friends, posts, comments, feed), and Composio OAuth connections. Auth is automatic when run from the agent's workspace folder; payments are platform-custodied (no keys on disk). Use this skill whenever the user asks to do anything that would show up in their Amiko account or cost AMIKO/credits.
|
|
3
|
+
description: The Amiko CLI lets an agent act on the Amiko platform end-to-end — read and send platform DMs with other users (conversations list/find/read/send, the right tool when the owner asks "did X message me?" or "check my chat history with Y" — NOT the built-in sessions_list/sessions_history, which only see the agent's own local sessions), read platform notifications (friend requests, mentions, system alerts), manage Solana/Base wallets (create, swap via Jupiter, bridge USDC via Across, transfer tokens to external addresses), top up and spend credits, call paid MPP marketplace services (X/Twitter search, image generation, Amazon product search, TTS/STT, AI chat, SFX/music), manage the twin's identity and RAG documents, voice and avatar, social graph (friends, posts, comments, feed), and Composio OAuth connections. Auth is automatic when run from the agent's workspace folder; payments are platform-custodied (no keys on disk). Use this skill whenever the user asks about their Amiko inbox/DMs/notifications or to do anything that would show up in their Amiko account or cost AMIKO/credits.
|
|
4
4
|
homepage: https://platform.heyamiko.com
|
|
5
5
|
metadata: {"openclaw":{"emoji":"🤖","requires":{"bins":["node"]}}}
|
|
6
6
|
---
|
|
@@ -264,6 +264,10 @@ amiko review reject <commentId> --yes # destructive — delete a draft
|
|
|
264
264
|
|
|
265
265
|
## Conversations
|
|
266
266
|
|
|
267
|
+
> **Default platform = Amiko.** When the owner asks about messages, DMs, chats, notifications, or "anything new" **without naming a platform** (no "on WeChat", "on Telegram", "on Slack", etc.), assume they mean the Amiko platform and answer with `amiko conversation` / `amiko notifications`. Do **not** ask "which platform?" — just use the Amiko CLI. Only ask for clarification if the owner explicitly mentions a non-Amiko channel or the question is genuinely ambiguous across multiple connected channels.
|
|
268
|
+
>
|
|
269
|
+
> **When the owner asks about chat history with another person** ("did X message me?", "check my chat with Y", "anyone DM me this week?"), use `amiko conversation` — these are platform DMs between the owner and other Amiko users, stored in amiko-web's database. Do **not** use the built-in `sessions_list` / `sessions_history` tools for this: those read the agent's *own* past chat sessions with the owner (local openclaw memory), not platform DMs with third parties, and will return nothing useful. Typical flow: `amiko users search "<name>"` → `amiko conversation find --user-id <id>` → `amiko conversation read --id <conversationId>`. To scan everyone who messaged recently, start with `amiko conversation list` (sorted by last activity) or `amiko notifications list --unread`.
|
|
270
|
+
|
|
267
271
|
```bash
|
|
268
272
|
amiko conversation list # all your conversations (default: active)
|
|
269
273
|
amiko conversation list --archived all --limit 100 # include archived
|
|
@@ -297,10 +301,13 @@ Platform notifications cover friend requests, mentions, system alerts, and other
|
|
|
297
301
|
## Composio
|
|
298
302
|
|
|
299
303
|
```bash
|
|
300
|
-
amiko composio connect --app gmail # prints OAuth URL
|
|
304
|
+
amiko composio connect --app gmail # idempotent — prints OAuth URL if not yet connected, or returns alreadyConnected:true
|
|
305
|
+
amiko composio connect --app gmail --force # destructive — disconnects any existing link and starts a fresh OAuth
|
|
301
306
|
amiko composio disconnect --app gmail --yes # destructive
|
|
302
307
|
```
|
|
303
308
|
|
|
309
|
+
`composio connect` is safe to call as a status check: it never destroys an existing connection unless you pass `--force`.
|
|
310
|
+
|
|
304
311
|
## Other
|
|
305
312
|
|
|
306
313
|
```bash
|