@agether/agether 1.0.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +14 -12
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @agether/openclaw-plugin
1
+ # @agether/agether
2
2
 
3
3
  OpenClaw plugin for **Agether** — on-chain credit protocol for AI agents on Base.
4
4
 
@@ -11,7 +11,7 @@ OpenClaw plugin for **Agether** — on-chain credit protocol for AI agents on Ba
11
11
  ## Install
12
12
 
13
13
  ```bash
14
- openclaw plugins install @agether/openclaw-plugin
14
+ openclaw plugins install @agether/agether
15
15
  ```
16
16
 
17
17
  ## Configure
@@ -61,35 +61,35 @@ Once installed, the following tools are available to your AI agent:
61
61
  |---|---|
62
62
  | `agether_balance` | Check ETH & USDC balances (EOA + AgentAccount) |
63
63
  | `agether_register` | Mint ERC-8004 identity & create AgentAccount |
64
+ | `agether_set_agent` | Set a known agentId (from memory) and save to config |
64
65
  | `agether_score` | Get Bayesian credit score with 5-factor breakdown |
65
66
  | `morpho_status` | Show all Morpho credit positions |
67
+ | `morpho_markets` | List supported Morpho Blue markets |
66
68
  | `morpho_deposit` | Deposit collateral (WETH, wstETH, cbETH) |
67
69
  | `morpho_deposit_and_borrow` | Deposit collateral + borrow USDC in one step |
68
- | `morpho_sponsor` | Human deposits collateral for an agent (by ID or address) |
69
70
  | `morpho_borrow` | Borrow USDC against deposited collateral |
70
71
  | `morpho_repay` | Repay USDC debt |
71
72
  | `morpho_withdraw` | Withdraw collateral back to EOA |
72
- | `morpho_compare` | Compare collateral options with current prices |
73
- | `morpho_markets` | List supported Morpho Blue markets |
73
+ | `morpho_sponsor` | Human deposits collateral for an agent (by ID or address) |
74
74
  | `wallet_fund` | Transfer USDC from EOA into AgentAccount |
75
75
  | `x402_pay` | Make paid API calls via x402 protocol (supports auto-draw) |
76
76
 
77
- ## Commands
77
+ ## Slash Commands
78
78
 
79
- Quick commands that run without AI:
79
+ Quick commands that run without AI reasoning:
80
80
 
81
81
  - `/balance` — wallet balances
82
82
  - `/morpho` — Morpho positions overview
83
83
 
84
84
  ## Quick Start
85
85
 
86
- 1. Install the plugin: `openclaw plugins install @agether/openclaw-plugin`
86
+ 1. Install: `openclaw plugins install @agether/agether`
87
87
  2. Add config to `~/.openclaw/openclaw.json` (see above)
88
88
  3. Restart: `openclaw gateway --force`
89
- 4. Open Telegram and send to your bot: *"What is my balance?"*
90
- 5. Ask: *"Register me as an agent on Agether"*
91
- 6. Fund your wallet with ETH (for gas) and WETH/wstETH/cbETH (for collateral)
92
- 7. Ask: *"Deposit 0.05 WETH and borrow $50 USDC"*
89
+ 4. Open Telegram *"What is my balance?"*
90
+ 5. *"Register me as an agent on Agether"*
91
+ 6. Fund your wallet with ETH (gas) + WETH/wstETH/cbETH (collateral)
92
+ 7. *"Deposit 0.05 WETH and borrow $50 USDC"*
93
93
 
94
94
  ## Getting Collateral on Base
95
95
 
@@ -105,9 +105,11 @@ Quick commands that run without AI:
105
105
  | `rpcUrl` | — | `https://base-rpc.publicnode.com` | Base RPC endpoint |
106
106
  | `backendUrl` | — | `http://95.179.189.214:3001` | Agether backend API |
107
107
  | `autoDraw` | — | `false` | Auto-borrow from credit line when USDC is insufficient for x402 payments |
108
+ | `agentId` | — | — | Pre-set agent ID (auto-saved after registration) |
108
109
 
109
110
  ## Links
110
111
 
112
+ - [Agether Dashboard](http://95.179.189.214) — Web UI
111
113
  - [Agether SDK](https://www.npmjs.com/package/@agether/sdk) — CLI + TypeScript clients
112
114
  - [ERC-8004 Standard](https://eips.ethereum.org/EIPS/eip-8004) — Agent Identity
113
115
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agether/agether",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "OpenClaw plugin for Agether — on-chain credit for AI agents",
5
5
  "main": "src/index.ts",
6
6
  "openclaw": {
@@ -9,7 +9,7 @@
9
9
  ]
10
10
  },
11
11
  "dependencies": {
12
- "@agether/sdk": "^1.6.5",
12
+ "@agether/sdk": "^1.8.0",
13
13
  "axios": "^1.6.0",
14
14
  "ethers": "^6.9.0"
15
15
  },