@heyamiko/amiko-cli 0.7.8 → 0.7.9

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @heyamiko/amiko-cli (v0.7.8)
1
+ # @heyamiko/amiko-cli (v0.7.9)
2
2
 
3
3
  Manage wallets, credits, swaps, and MPP marketplace services from the terminal. Works for both human users and AI agents running on OpenClaw.
4
4
 
@@ -221,10 +221,21 @@ amiko wallet fund # fund via Tempo dashboard
221
221
  amiko discovery # MPP service info + pricing
222
222
  amiko config show # view config
223
223
  amiko config set <key> <value> # set config value
224
- amiko update # update CLI to latest
224
+ amiko update # update CLI to latest (full twin refresh — no restart needed)
225
225
  amiko --help # all commands
226
226
  ```
227
227
 
228
+ ### `amiko update` on twins
229
+
230
+ On Claude/Amiko twin containers, the CLI is persisted to `/data/.amiko-cli/` so updates survive restarts, and `/usr/local/bin/amiko` is symlinked into that directory. Running `amiko update`:
231
+
232
+ 1. `npm install -g @heyamiko/amiko-cli@latest` (global package update)
233
+ 2. If `/data/.amiko-cli/` exists (i.e. we're on a twin), copy the new package over it
234
+ 3. Refresh the `/usr/local/bin/amiko` symlink
235
+ 4. Copy the updated `skills/SKILL.md` to both `/data/.openclaw/skills/amiko-cli/` and `/data/.openclaw/workspace/skills/amiko-cli/` so the agent sees the new docs immediately
236
+
237
+ The result is a one-shot upgrade — no container redeploy required. On non-twin machines (local dev, CI) step (2)–(4) are skipped.
238
+
228
239
  ## Agent Integration (OpenClaw)
229
240
 
230
241
  ### Install as OpenClaw plugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyamiko/amiko-cli",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "description": "Amiko CLI — swap tokens, manage credits, bridge cross-chain, and call marketplace agents",
5
5
  "type": "module",
6
6
  "bin": {
package/skills/SKILL.md CHANGED
@@ -147,7 +147,7 @@ amiko bridge send 10 --from solana --to tempo # execute bridge
147
147
  amiko wallet balance [address] # USDC.e balance on Tempo
148
148
  amiko discovery # MPP service info + pricing
149
149
  amiko config show # view config
150
- amiko update # update CLI to latest
150
+ amiko update # update CLI to latest (on twins: also refreshes /data, symlink, skill)
151
151
  amiko --help # all commands
152
152
  ```
153
153