@dtoolkit/dwork 0.1.0 → 0.2.1
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.
|
@@ -897,7 +897,7 @@ function TaskDetailModal({ task, onClose, onUpdate }) {
|
|
|
897
897
|
setLoading(true);
|
|
898
898
|
if (task.detail_path) {
|
|
899
899
|
const docs = await api(`/projects/${projectSlug}/docs`).catch(() => []);
|
|
900
|
-
const doc = docs.find(d => d.file_path === task.detail_path);
|
|
900
|
+
const doc = docs.find(d => d.file_path === task.detail_path || d.file_path === `docs/${task.detail_path}`);
|
|
901
901
|
if (doc && !cancelled) {
|
|
902
902
|
const full = await api(`/docs/${doc.id}`).catch(() => null);
|
|
903
903
|
if (full && !cancelled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dtoolkit/dwork",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "AI-native, MD-driven project manager. Part of the dtoolkit suite.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"picocolors": "^1.1.1",
|
|
44
44
|
"yaml": "^2.7.1",
|
|
45
45
|
"zod": "^4.4.2",
|
|
46
|
-
"@dtoolkit/
|
|
47
|
-
"@dtoolkit/
|
|
46
|
+
"@dtoolkit/core": "0.5.0",
|
|
47
|
+
"@dtoolkit/sdk": "0.5.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/better-sqlite3": "^7.6.13",
|