@heyamiko/amiko-cli 0.11.0-beta.0 → 0.11.0-beta.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/README.md +10 -11
- package/dist/index.js +1461 -3698
- package/package.json +1 -1
- package/skills/SKILL.md +3 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# @heyamiko/amiko-cli (v0.11.0-beta.
|
|
1
|
+
# @heyamiko/amiko-cli (v0.11.0-beta.2)
|
|
2
2
|
|
|
3
|
-
Manage wallets, credits, swaps, MPP marketplace services, and your Amiko twin (identity, documents, voice, avatar, friends, feed
|
|
3
|
+
Manage wallets, credits, swaps, MPP marketplace services, and your Amiko twin (identity, documents, voice, avatar, friends, feed) from the terminal. Works for both human users and AI agents running on OpenClaw.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -306,8 +306,7 @@ src/
|
|
|
306
306
|
│ ├── avatar.ts # avatar update
|
|
307
307
|
│ ├── friends.ts # friends list, requests, add, accept, remove, matches, reports
|
|
308
308
|
│ ├── users.ts # users search, profile
|
|
309
|
-
│
|
|
310
|
-
│ └── composio.ts # composio connect, composio disconnect
|
|
309
|
+
│ └── feed.ts # feed, post create, post comment
|
|
311
310
|
└── lib/
|
|
312
311
|
├── config.ts # defaults + resolved auth wrapper
|
|
313
312
|
├── agent-config.ts # .amiko.json reader + auth resolution
|
|
@@ -323,7 +322,7 @@ src/
|
|
|
323
322
|
|
|
324
323
|
## Twin & Social Commands (v0.8.0)
|
|
325
324
|
|
|
326
|
-
The CLI also manages the twin's identity, documents, voice, avatar, friends,
|
|
325
|
+
The CLI also manages the twin's identity, documents, voice, avatar, friends, and feed via the amiko-web platform API.
|
|
327
326
|
|
|
328
327
|
```bash
|
|
329
328
|
# Identity
|
|
@@ -370,21 +369,17 @@ amiko post create --content "private note" --visibility private
|
|
|
370
369
|
amiko post create --content "look" --media https://...jpg
|
|
371
370
|
amiko post comment --id <postId> --comment "great post"
|
|
372
371
|
amiko post comment --id <postId> --comment "nice!" --media https://...jpg
|
|
373
|
-
|
|
374
|
-
# Composio
|
|
375
|
-
amiko composio connect --app gmail # prints OAuth URL
|
|
376
|
-
amiko composio disconnect --app gmail --yes
|
|
377
372
|
```
|
|
378
373
|
|
|
379
374
|
Every new command accepts `--json` for structured output and `--twin <id>` where a target twin is needed.
|
|
380
375
|
|
|
381
|
-
**Destructive or identity-changing commands** (`docs delete`, `friends remove`, `
|
|
376
|
+
**Destructive or identity-changing commands** (`docs delete`, `friends remove`, `voice reset`, `avatar update`, `twin update --public`) prompt for confirmation in a TTY and require `--yes` in non-interactive shells.
|
|
382
377
|
|
|
383
378
|
## API Endpoints
|
|
384
379
|
|
|
385
380
|
| Client | Base URL | Purpose |
|
|
386
381
|
|--------|----------|---------|
|
|
387
|
-
| Platform | `platform.heyamiko.com` | Twin identity, wallets, credits, transfers/swaps, docs, voice, avatar, friends, feed
|
|
382
|
+
| Platform | `platform.heyamiko.com` | Twin identity, wallets, credits, transfers/swaps, docs, voice, avatar, friends, feed |
|
|
388
383
|
| MPP API | `mpp.amikomarkets.com` | Marketplace services: search, image, amazon, audio |
|
|
389
384
|
|
|
390
385
|
## Build
|
|
@@ -396,6 +391,10 @@ npm publish
|
|
|
396
391
|
|
|
397
392
|
## Changelog
|
|
398
393
|
|
|
394
|
+
### 0.11.0-beta.2
|
|
395
|
+
|
|
396
|
+
- **`amiko composio` removed (breaking).** The Composio OAuth-connection commands (`composio connect`, `composio disconnect`) are gone — `src/commands/composio.ts` deleted, `composio` command group dropped from `src/index.ts`. SKILL.md frontmatter, command-groups list, `--yes`-gated list, and the dedicated `## Composio` block are all removed; README's lead paragraph, architecture tree, destructive-ops list, Platform-table row, and Composio code-block example are updated to match. Scripts that called `amiko composio ...` will now error with "unknown command".
|
|
397
|
+
|
|
399
398
|
### 0.11.0-beta.0
|
|
400
399
|
|
|
401
400
|
- **Non-OpenClaw auth is env-var-only (breaking).** `resolveAuth()` no longer reads `.amiko.json` from cwd or anywhere except `/data/.openclaw/workspace/.amiko.json` (gated on `isOpenclawEnvironment()`). The previous "check `cwd/.amiko.json`, then fall back to env" path is gone — on local/CI/non-OpenClaw containers the CLI looks at `AMIKO_TWIN_TOKEN` / `AMIKO_TWIN_ID` directly and ignores any `.amiko.json` you might have lying around. cwd no longer affects auth anywhere off OpenClaw. README's Quick Start + Agent Integration → Authentication sections rewritten; `NO_TOKEN_HINT` points at the env vars (no more "place .amiko.json in cwd" tip).
|