dev-flow-deepseek 0.9.2 → 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 +1 -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
|
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({
|