@agether/sdk 2.12.2 → 2.14.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/dist/cli.d.ts ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Agether CLI — Direct Morpho Blue Credit for AI Agents
4
+ *
5
+ * Architecture (v2 — Safe + Safe7579):
6
+ * - All commands sign transactions directly with the agent's private key
7
+ * - Uses MorphoClient for lending (ERC-4337 UserOps through Safe account)
8
+ * - Uses X402Client for paid API calls
9
+ *
10
+ * Supported chains: Ethereum (1, default), Base (8453), Base Sepolia (84532)
11
+ *
12
+ * Usage:
13
+ * agether init <private-key> [--agent-id <id>] [--chain <chainId>]
14
+ * agether register [--name <n>] Register ERC-8004 + Safe account
15
+ * agether balance Check balances
16
+ * agether status Show Morpho positions
17
+ * agether score Get credit score (x402-gated)
18
+ * agether markets List Morpho markets
19
+ * agether deposit --amount 0.05 --token WETH Deposit collateral
20
+ * agether borrow --amount 100 Borrow USDC
21
+ * agether deposit-and-borrow --amount 0.05 --token WETH --borrow 100
22
+ * agether repay --amount 50 Repay USDC
23
+ * agether withdraw --amount 0.05 --token WETH Withdraw collateral
24
+ * agether sponsor --amount 0.05 --token WETH --agent-id 123
25
+ * agether fund --amount 50 Fund Safe account with USDC
26
+ * agether x402 <url> [--method GET|POST] [--body <json>]
27
+ */
28
+ export {};
29
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG"}