lyra-ai-agent 0.1.6 → 0.1.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lyra-ai-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
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",
|
|
@@ -13,29 +13,14 @@
|
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/rifkyeasy/lyra/issues"
|
|
15
15
|
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"lyra",
|
|
18
|
-
"ai",
|
|
19
|
-
"agent",
|
|
20
|
-
"cli",
|
|
21
|
-
"tui",
|
|
22
|
-
"sui",
|
|
23
|
-
"walrus",
|
|
24
|
-
"deepbook",
|
|
25
|
-
"defi"
|
|
26
|
-
],
|
|
16
|
+
"keywords": ["lyra", "ai", "agent", "cli", "tui", "sui", "walrus", "deepbook", "defi"],
|
|
27
17
|
"publishConfig": {
|
|
28
18
|
"access": "public"
|
|
29
19
|
},
|
|
30
20
|
"engines": {
|
|
31
21
|
"bun": ">=1.1"
|
|
32
22
|
},
|
|
33
|
-
"files": [
|
|
34
|
-
"src",
|
|
35
|
-
"!src/**/*.test.ts",
|
|
36
|
-
"bin",
|
|
37
|
-
"README.md"
|
|
38
|
-
],
|
|
23
|
+
"files": ["src", "!src/**/*.test.ts", "bin", "README.md"],
|
|
39
24
|
"bin": {
|
|
40
25
|
"lyra": "bin/lyra"
|
|
41
26
|
},
|
|
@@ -52,7 +37,7 @@
|
|
|
52
37
|
"@opentui/solid": "^0.1.97",
|
|
53
38
|
"lyra-core": "^0.1.2",
|
|
54
39
|
"lyra-gateway": "^0.1.6",
|
|
55
|
-
"lyra-plugin-onchain": "^0.1.
|
|
40
|
+
"lyra-plugin-onchain": "^0.1.8",
|
|
56
41
|
"lyra-plugin-system": "^0.1.2",
|
|
57
42
|
"lyra-plugin-telegram": "^0.1.2",
|
|
58
43
|
"picocolors": "^1.1.1",
|
|
@@ -33,9 +33,12 @@ describe('config defaults (zero-env-var)', () => {
|
|
|
33
33
|
expect(DEFAULT_ALLOWED_PROTOCOLS).toEqual([
|
|
34
34
|
'transfer',
|
|
35
35
|
'swap',
|
|
36
|
+
'stake',
|
|
37
|
+
'borrow',
|
|
36
38
|
'deepbook',
|
|
37
39
|
'scallop',
|
|
38
40
|
'navi',
|
|
41
|
+
'suilend',
|
|
39
42
|
'walrus',
|
|
40
43
|
])
|
|
41
44
|
})
|
|
@@ -66,7 +69,9 @@ describe('config defaults (zero-env-var)', () => {
|
|
|
66
69
|
expect(env.LYRA_POLICY_AUTO_MAX_SUI).toBe('0.1')
|
|
67
70
|
expect(env.LYRA_POLICY_MAX_SLIPPAGE_BPS).toBe('100')
|
|
68
71
|
expect(env.LYRA_POLICY_ALLOWED_COINS).toBe('0x2::sui::SUI')
|
|
69
|
-
expect(env.LYRA_POLICY_ALLOWED_PROTOCOLS).toBe(
|
|
72
|
+
expect(env.LYRA_POLICY_ALLOWED_PROTOCOLS).toBe(
|
|
73
|
+
'transfer,swap,stake,borrow,deepbook,scallop,navi,suilend,walrus',
|
|
74
|
+
)
|
|
70
75
|
})
|
|
71
76
|
|
|
72
77
|
test('hasNoPolicyEnv: true with no policy vars, false when any set', () => {
|
package/src/config/defaults.ts
CHANGED