@alpacachen/dsh-kanban 1.9.0 → 1.10.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/README.md +58 -17
- package/README.zh.md +58 -17
- package/docs/testing-images.md +36 -0
- package/index.js +284 -12
- package/lib/client.js +111 -26
- package/package.json +9 -7
- package/search.js +7 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpacachen/dsh-kanban",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "A kanban board
|
|
3
|
+
"version": "1.10.0",
|
|
4
|
+
"description": "A collaborative kanban board for DeepSeek Harness with text search, native image attachments, due dates, comments and 19 agent tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"exports": {
|
|
@@ -12,12 +12,14 @@
|
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"index.js",
|
|
15
|
+
"search.js",
|
|
15
16
|
"lib/client.js",
|
|
16
17
|
"cordis.patch.yml",
|
|
17
18
|
"README.md",
|
|
18
19
|
"README.zh.md",
|
|
19
20
|
"image.png",
|
|
20
21
|
"docs/screenshots/card-details-dark.png",
|
|
22
|
+
"docs/testing-images.md",
|
|
21
23
|
"LICENSE"
|
|
22
24
|
],
|
|
23
25
|
"scripts": {
|
|
@@ -109,14 +111,14 @@
|
|
|
109
111
|
]
|
|
110
112
|
},
|
|
111
113
|
"compatibility": {
|
|
112
|
-
"dsh": "0.
|
|
114
|
+
"dsh": "0.2.0-rc.2 || 0.2.1-rc.3",
|
|
113
115
|
"dshReleases": {
|
|
114
|
-
"0.
|
|
115
|
-
"0.1
|
|
116
|
-
"0.2.0-rc.2": "compatible"
|
|
116
|
+
"0.2.0-rc.2": "compatible",
|
|
117
|
+
"0.2.1-rc.3": "compatible"
|
|
117
118
|
},
|
|
118
119
|
"profiles": [
|
|
119
|
-
"web"
|
|
120
|
+
"web",
|
|
121
|
+
"desktop"
|
|
120
122
|
]
|
|
121
123
|
}
|
|
122
124
|
}
|
package/search.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Literal, case-insensitive search shared by the board and Agent tools. */
|
|
2
|
+
export function matchCardSearch(card, query = '') {
|
|
3
|
+
const needle = query.trim().toLowerCase()
|
|
4
|
+
if (!needle) return true
|
|
5
|
+
return [card.id, card.title, card.note, ...(card.comments || []).map((comment) => comment.content)]
|
|
6
|
+
.some((text) => typeof text === 'string' && text.toLowerCase().includes(needle))
|
|
7
|
+
}
|