dev-flow-deepseek 0.9.1 → 0.9.3
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 -1
- package/lib/paths.mjs +13 -4
- package/lib/platform.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ dsh --profile $ProfileName --dump-config
|
|
|
62
62
|
安装后按 DSH profile lifecycle 重启该 Profile。完整命令和更新顺序见
|
|
63
63
|
[命令参考](../../docs/COMMANDS.md#deepseek-harness)。
|
|
64
64
|
|
|
65
|
-
默认 Task 数据目录在 macOS 为 `$HOME
|
|
65
|
+
默认 Task 数据目录在 macOS 为 `$HOME/.dev-flow/data`,在 Windows 为
|
|
66
66
|
`%LOCALAPPDATA%\dev-flow\data`;显式 `DEV_FLOW_DATA_DIR` 必须已经存在且通过 canonical、非链接目录检查。
|
|
67
67
|
|
|
68
68
|
## 启动一个 Task
|
|
@@ -216,3 +216,15 @@ Repository Scope、路径格式和协议规则见[架构](../../docs/ARCHITECTUR
|
|
|
216
216
|
- [架构](../../docs/ARCHITECTURE.md)
|
|
217
217
|
- [项目状态](../../docs/PROJECT-STATUS.md)
|
|
218
218
|
- [WebUI](../../docs/WEBUI.md)
|
|
219
|
+
|
|
220
|
+
## 桌面宠物本地开发包
|
|
221
|
+
|
|
222
|
+
macOS arm64 可另外使用按源码构建的 `@imotong/dev-flow` 桌面宠物包。已配置的 Codex 或 DeepSeek
|
|
223
|
+
Adapter 提供 Core;宠物通过 `dev-flow pet start` / `dev-flow pet stop` 开启和关闭,读取共享任务并
|
|
224
|
+
点击跳转 WebUI。原生应用只放在统一入口包内,Host package 提供 Core。构建与使用见
|
|
225
|
+
[命令参考](https://github.com/Innocent-children/dev-flow/blob/main/docs/COMMANDS.md#桌面宠物本地开发包)。
|
|
226
|
+
|
|
227
|
+
自定义形象从宠物菜单的“选择形象 → 导入形象…”导入本地文件夹,支持单张 PNG、Dev Flow 动画包和
|
|
228
|
+
Codex 精灵图格式 1/2 的本地宠物包。形象与任务分别选择和保存,升级保留用户素材;同 ID 重导入更新,
|
|
229
|
+
校验失败保留原形象。导入 Codex 时转换为统一 PNG 帧,任务阶段与跳转仍由 Dev Flow 决定。格式与示例见
|
|
230
|
+
[形象包说明](https://github.com/Innocent-children/dev-flow/blob/main/docs/DESKTOP-PETS.md)。
|
package/lib/paths.mjs
CHANGED
|
@@ -27,10 +27,17 @@ export async function resolveDataDirectory({
|
|
|
27
27
|
const productSupportInspectionRoot = applicationData.canonicalizeRoot
|
|
28
28
|
? productSupportAnchor
|
|
29
29
|
: containedPath(canonicalHome, applicationData.inspectionRoot, "application data inspection root");
|
|
30
|
-
const productSupportRoot =
|
|
31
|
-
productSupportAnchor
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
const productSupportRoot = platform === "darwin"
|
|
31
|
+
? productSupportAnchor
|
|
32
|
+
: containedPath(
|
|
33
|
+
productSupportAnchor,
|
|
34
|
+
join(productSupportAnchor, "dev-flow"),
|
|
35
|
+
"product support root",
|
|
36
|
+
);
|
|
37
|
+
const petDirectory = containedPath(
|
|
38
|
+
productSupportRoot,
|
|
39
|
+
join(productSupportRoot, "pet"),
|
|
40
|
+
"desktop pet directory",
|
|
34
41
|
);
|
|
35
42
|
|
|
36
43
|
const explicitDataDirectory = environment?.[DATA_DIRECTORY_ENVIRONMENT] ?? "";
|
|
@@ -38,6 +45,7 @@ export async function resolveDataDirectory({
|
|
|
38
45
|
const dataDirectory = await canonicalExplicitDataDirectory(explicitDataDirectory);
|
|
39
46
|
return Object.freeze({
|
|
40
47
|
dataDirectory,
|
|
48
|
+
petDirectory,
|
|
41
49
|
platform,
|
|
42
50
|
arch,
|
|
43
51
|
enforcePrivateModes: permissions.enforcePrivateModes,
|
|
@@ -57,6 +65,7 @@ export async function resolveDataDirectory({
|
|
|
57
65
|
join(productSupportRoot, "data"),
|
|
58
66
|
"default data directory",
|
|
59
67
|
),
|
|
68
|
+
petDirectory,
|
|
60
69
|
platform,
|
|
61
70
|
arch,
|
|
62
71
|
enforcePrivateModes: permissions.enforcePrivateModes,
|
package/lib/platform.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const runtimeDescriptors = Object.freeze({
|
|
|
8
8
|
const dataPathPolicies = Object.freeze({
|
|
9
9
|
"darwin-arm64": Object.freeze({
|
|
10
10
|
applicationData({ homeDirectory }) {
|
|
11
|
-
return Object.freeze({ path: join(homeDirectory, "
|
|
11
|
+
return Object.freeze({ path: join(homeDirectory, ".dev-flow"), inspectionRoot: homeDirectory, canonicalizeRoot: false, label: "user data directory" });
|
|
12
12
|
},
|
|
13
13
|
}),
|
|
14
14
|
"win32-x64": Object.freeze({
|