@eoasmxd/freya-sdk 0.4.3 → 0.5.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/types/context.d.ts +4 -2
- package/package.json +1 -1
package/dist/types/context.d.ts
CHANGED
|
@@ -13,8 +13,10 @@ export interface Logger {
|
|
|
13
13
|
export interface FreyaPaths {
|
|
14
14
|
/** 程序物理安装根目录(只读代码与程序级静态资源区) */
|
|
15
15
|
appRoot: string;
|
|
16
|
-
/**
|
|
17
|
-
|
|
16
|
+
/** 运行态持久化主目录(用户个性化配置与持久化数据区,默认 ~/.freya) */
|
|
17
|
+
homeDir: string;
|
|
18
|
+
/** 宿主工程根目录(默认为启动执行路径 process.cwd()) */
|
|
19
|
+
workspaceRoot: string;
|
|
18
20
|
/** 运行时数据持久化目录(~/.freya/data) */
|
|
19
21
|
dataDir: string;
|
|
20
22
|
/** 宿主与大模型交互隔离的文件读写沙箱(~/.freya/workspace) */
|