lyra-core 0.1.1 → 0.1.2

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/package.json +1 -1
  2. package/src/paths.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyra-core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "The SDK for lyra, a Sui-native policy-aware AI treasury assistant: brain, local memory + storage, the policy/approval engine, and the Sui agent keypair + chain helpers",
6
6
  "license": "MIT",
package/src/paths.ts CHANGED
@@ -9,6 +9,10 @@ function lyraRoot(): string {
9
9
  export interface AgentPaths {
10
10
  readonly root: string
11
11
  readonly config: string
12
+ /** `~/.lyra/agent.key` — the agent's `suiprivkey1…` secret (file mode 0600). */
13
+ readonly agentKey: string
14
+ /** `~/.lyra/.env` — optional `KEY=value` lines loaded into env on startup. */
15
+ readonly dotenv: string
12
16
  readonly skills: string
13
17
  readonly plugins: string
14
18
  readonly agentsDir: string
@@ -35,6 +39,12 @@ export const agentPaths: AgentPaths = {
35
39
  get config() {
36
40
  return join(lyraRoot(), 'config.ts')
37
41
  },
42
+ get agentKey() {
43
+ return join(lyraRoot(), 'agent.key')
44
+ },
45
+ get dotenv() {
46
+ return join(lyraRoot(), '.env')
47
+ },
38
48
  get skills() {
39
49
  return join(lyraRoot(), 'skills')
40
50
  },