@heyamiko/amiko-cli 0.9.9-beta.8 → 0.10.0-beta.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 +10 -5
- package/dist/index.js +3573 -1404
- package/package.json +1 -1
- package/skills/SKILL.md +11 -18
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @heyamiko/amiko-cli (v0.9.9
|
|
1
|
+
# @heyamiko/amiko-cli (v0.9.9)
|
|
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
|
|
|
@@ -86,7 +86,7 @@ amiko credits topup 10000 --wallet Gu2b...QVya # specific wallet (else de
|
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
**Supported tokens:** AMIKO, SOL, USDC, USDT
|
|
89
|
-
**Supported chains:** Solana, Base, Ethereum
|
|
89
|
+
**Supported chains:** Solana, Base, Ethereum
|
|
90
90
|
|
|
91
91
|
**After every paid command, the CLI prints a `Balance: N credits (~$X.XX)` line** so agents can relay the remaining balance to the user without a separate `credits balance` call.
|
|
92
92
|
|
|
@@ -152,7 +152,7 @@ amiko wallets bridge routes # available bridge routes
|
|
|
152
152
|
amiko wallets bridge limits # min/max limits per route
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
Default route: Solana →
|
|
155
|
+
Default route: Solana → Base. Use `--from` and `--to` flags for other chains. Like `swap send`, `bridge send` refuses to run in a non-interactive shell without `--yes` so agents must quote the Across fee + gas to the user before executing.
|
|
156
156
|
|
|
157
157
|
## MPP Services
|
|
158
158
|
|
|
@@ -313,8 +313,7 @@ src/
|
|
|
313
313
|
├── format.ts # terminal output helpers + renderOutput(--json)
|
|
314
314
|
├── confirm.ts # requireApproval + confirmDestructive
|
|
315
315
|
├── mpp-topup.ts # MPP SDK topup helper
|
|
316
|
-
|
|
317
|
-
└── tempo.ts # Tempo chain helpers
|
|
316
|
+
└── across.ts # Across Protocol bridge
|
|
318
317
|
```
|
|
319
318
|
|
|
320
319
|
## Twin & Social Commands (v0.8.0)
|
|
@@ -392,6 +391,12 @@ npm publish
|
|
|
392
391
|
|
|
393
392
|
## Changelog
|
|
394
393
|
|
|
394
|
+
### 0.9.9
|
|
395
|
+
|
|
396
|
+
- **Tempo support removed (breaking).** `wallets bridge` default destination is now Base instead of Tempo (see "Default route: Solana → Base" above and the existing `--from`/`--to` flags). The `tempo` entry is gone from `across.ts` and `lib/tempo.ts` is deleted, so `--to tempo` will now error with an unknown-chain message — there is no escape hatch. **Update any scripts or agents that relied on the old default**: pass `--to base` (or another supported chain) explicitly. `search` no longer falls back to the Tempo explorer either.
|
|
397
|
+
- `lib/api.ts` fetches now wrap an `AbortController` with a 30 s default timeout — a stalled MPP endpoint no longer hangs the agent process. `markets service call` adds a 60 s timeout on the paid call and 15 s on the openapi.json price probe.
|
|
398
|
+
- **Security fix.** `markets service call <method> <path>` now rejects any `path` that doesn't start with `/`, closing a credential-leakage hole. The previous behavior treated `http(s)://…` paths as full URLs, which let a caller redirect the paid request — including the `X-Payment-Tx` and `X-Twin-Id` headers — to an arbitrary external host, leaking the on-chain payment proof + twin identity.
|
|
399
|
+
|
|
395
400
|
### 0.9.9-beta.8
|
|
396
401
|
|
|
397
402
|
- `friends reports request --pay` now does a **free preflight** (`POST /v1/friend-reports/preflight`) before signing the on-chain AMIKO transfer. Validates User → Friendship → consent → personality profile against amiko-web. If anything's wrong (wrong id shape, missing consent, missing profile), the CLI aborts with a targeted tip — no AMIKO is transferred. Closes a hole where every retry against a bad `--id` burned ~3 AMIKO via the irreversible X-Payment-Tx flow.
|