@goodandready/dsh-kanban 0.1.20 → 0.1.21
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 +19 -1
- package/lib/client.js +34 -0
- package/lib/filters.js +307 -288
- package/lib/gitea.js +28 -0
- package/lib/import.js +23 -0
- package/lib/index.js +25 -2
- package/lib/outbound.js +22 -0
- package/lib/routes.js +355 -331
- package/lib/store.js +392 -389
- package/lib/sync.js +7 -1
- package/package.json +1 -1
package/lib/sync.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { deriveColumn, resolveTransition, branchOfTask, pullsOfTask, resolveConflict } from './transitions.js'
|
|
8
8
|
import { watchedRepos, shouldTake, archiveBefore, isWatched } from './intake.js'
|
|
9
9
|
import { colorsOfIssue } from './filters.js'
|
|
10
|
-
import { issueToTask, issueBornAt, issueAuthor } from './import.js'
|
|
10
|
+
import { issueToTask, issueBornAt, issueAuthor, issueAssignee } from './import.js'
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Наблюдения по одному репозиторию.
|
|
@@ -94,6 +94,12 @@ function remoteFields(task, issue) {
|
|
|
94
94
|
if (born !== undefined && born !== task.createdAt) patch.createdAt = born
|
|
95
95
|
const author = issueAuthor(issue)
|
|
96
96
|
if (author !== '' && author !== task.author) patch.author = author
|
|
97
|
+
// Ответственного сверка подхватывает В ОБЕ стороны: назначили в Gitea —
|
|
98
|
+
// видно на доске, сняли — тоже видно.
|
|
99
|
+
if (issue?.assignee !== undefined || Array.isArray(issue?.assignees)) {
|
|
100
|
+
const assignee = issueAssignee(issue)
|
|
101
|
+
if (assignee !== (task.assignee ?? '')) patch.assignee = assignee
|
|
102
|
+
}
|
|
97
103
|
return patch
|
|
98
104
|
}
|
|
99
105
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-kanban",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Visual Kanban board for DeepSeek Harness: Gitea-backed tasks, workflow columns, and a dedicated agent session per task.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|