lyra-ai-agent 0.1.11 → 0.2.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 +13 -11
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# lyra-ai-agent
|
|
2
2
|
|
|
3
3
|
The `lyra` CLI — a **Sui-native, policy-aware AI treasury assistant**. Real
|
|
4
|
-
on-chain work on Sui (balances, transfers, swaps,
|
|
5
|
-
yield discovery,
|
|
6
|
-
action is checked against a deterministic policy, dry-run
|
|
7
|
-
approval before broadcast. The model proposes; code disposes.
|
|
4
|
+
on-chain work on Sui (balances, transfers, swaps, Scallop / NAVI / Suilend lending,
|
|
5
|
+
native + liquid staking, yield discovery, Walrus receipts) from your terminal, where
|
|
6
|
+
every value-moving action is checked against a deterministic on-chain policy, dry-run
|
|
7
|
+
simulated, and held for approval before broadcast. The model proposes; code disposes.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
bun add -g lyra-ai-agent
|
|
13
|
-
lyra init # bootstrap an agent (
|
|
13
|
+
lyra init # bootstrap an agent (fresh Sui keypair, local encrypted keystore)
|
|
14
14
|
lyra # chat with your agent
|
|
15
15
|
```
|
|
16
16
|
|
|
@@ -19,21 +19,23 @@ Requires [bun](https://bun.sh) — the CLI shebangs `bun`.
|
|
|
19
19
|
## Commands
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
lyra init bootstrap a new agent
|
|
22
|
+
lyra init bootstrap a new agent (fresh keypair) OR log in with the web
|
|
23
23
|
lyra [--yolo] interactive chat (default; --yolo skips approvals)
|
|
24
|
+
lyra login device-link: use the same agent your web wallet derives
|
|
25
|
+
lyra whoami show owner → agent → vault (and treasury balance)
|
|
24
26
|
lyra status agent + wallet + config state
|
|
25
27
|
lyra logs tail the activity log
|
|
26
|
-
lyra drain --to <addr> sweep the agent EOA balance
|
|
27
28
|
lyra model re-pick the brain model
|
|
28
|
-
lyra identity <sub> lyra::policy agent identity (card | register | show)
|
|
29
29
|
lyra telegram <sub> phone-DM gateway (setup | status | remove)
|
|
30
30
|
lyra pairing <sub> DM pairing approvals (list | approve | revoke | clear-pending)
|
|
31
31
|
lyra gateway <sub> always-on daemon (run | start | stop | restart | status | logs)
|
|
32
|
+
lyra demo guarded-pipeline demo (policy → blocked over-cap → send → Walrus)
|
|
32
33
|
```
|
|
33
34
|
|
|
35
|
+
Zero-config: `lyra` ships sensible mainnet defaults, so it runs with no env vars.
|
|
34
36
|
Configure the brain with `OPENAI_API_KEY` (or any OpenAI-compatible `LYRA_LLM_*`),
|
|
35
|
-
set `LYRA_POLICY_*` fund-control limits, and fund the agent
|
|
36
|
-
for gas. Material-risk actions pause for your approval.
|
|
37
|
+
set `LYRA_POLICY_*` fund-control limits to tighten the guardrails, and fund the agent
|
|
38
|
+
address with a little SUI for gas. Material-risk actions pause for your approval.
|
|
37
39
|
|
|
38
|
-
See the [root README](https://github.com/
|
|
40
|
+
See the [root README](https://github.com/lyraai-protocol/lyra#readme) for architecture
|
|
39
41
|
and the full reference.
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lyra-ai-agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "lyra CLI: a Sui-native, policy-bound AI finance agent. Real on-chain work gated by deterministic policy, simulation, and approval",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"homepage": "https://github.com/
|
|
7
|
+
"homepage": "https://github.com/lyraai-protocol/lyra",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/lyraai-protocol/lyra.git",
|
|
11
11
|
"directory": "packages/cli"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/lyraai-protocol/lyra/issues"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"lyra",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"@mysten/sui": "^1.45.2",
|
|
51
51
|
"@opentui/core": "^0.1.97",
|
|
52
52
|
"@opentui/solid": "^0.1.97",
|
|
53
|
-
"lyra-core": "^0.
|
|
54
|
-
"lyra-gateway": "^0.
|
|
55
|
-
"lyra-plugin-onchain": "^0.
|
|
56
|
-
"lyra-plugin-system": "^0.
|
|
57
|
-
"lyra-plugin-telegram": "^0.
|
|
53
|
+
"lyra-core": "^0.2.0",
|
|
54
|
+
"lyra-gateway": "^0.2.0",
|
|
55
|
+
"lyra-plugin-onchain": "^0.2.0",
|
|
56
|
+
"lyra-plugin-system": "^0.2.0",
|
|
57
|
+
"lyra-plugin-telegram": "^0.2.0",
|
|
58
58
|
"picocolors": "^1.1.1",
|
|
59
59
|
"qrcode-terminal": "^0.12.0",
|
|
60
60
|
"solid-js": "^1.9.12"
|