@eoasmxd/freya-sdk 0.5.0 → 0.5.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.
- package/dist/types/context.d.ts +5 -5
- package/package.json +1 -1
package/dist/types/context.d.ts
CHANGED
|
@@ -11,15 +11,15 @@ export interface Logger {
|
|
|
11
11
|
debug(message: string, ...args: any[]): void;
|
|
12
12
|
}
|
|
13
13
|
export interface FreyaPaths {
|
|
14
|
-
/**
|
|
14
|
+
/** 程序物理安装根目录(只读系统源码与内置资源区) */
|
|
15
15
|
appRoot: string;
|
|
16
|
-
/**
|
|
16
|
+
/** 运行态持久化主目录(用户配置与持久化存储入口,默认 ~/.freya) */
|
|
17
17
|
homeDir: string;
|
|
18
|
-
/**
|
|
19
|
-
|
|
18
|
+
/** 宿主命令启动执行目录(默认启动路径 process.cwd()) */
|
|
19
|
+
launchDir: string;
|
|
20
20
|
/** 运行时数据持久化目录(~/.freya/data) */
|
|
21
21
|
dataDir: string;
|
|
22
|
-
/**
|
|
22
|
+
/** 智能体专属文件读写工作区(默认为 ~/.freya/workspace,可由配置覆盖) */
|
|
23
23
|
workspaceDir: string;
|
|
24
24
|
}
|
|
25
25
|
export interface FreyaContext {
|