@goodandready/dsh-kanban 0.2.11 → 0.2.13
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/lib/client.js +5 -5
- package/lib/commands.js +1 -1
- package/lib/launcher.js +3 -3
- package/package.json +3 -2
package/lib/client.js
CHANGED
|
@@ -696,7 +696,7 @@ window.__ModuleLoader__.load({
|
|
|
696
696
|
if (!setTimer || !clearTimer) return () => {}
|
|
697
697
|
const visible = () => {
|
|
698
698
|
try {
|
|
699
|
-
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.
|
|
699
|
+
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.configForms
|
|
700
700
|
const view = s?.describe?.()?.getSnapshot?.()?.view
|
|
701
701
|
return !!view && Array.isArray(view.namespaces) && view.namespaces.some((row) => row.ns === NS)
|
|
702
702
|
} catch (_) {
|
|
@@ -709,7 +709,7 @@ window.__ModuleLoader__.load({
|
|
|
709
709
|
if (visible() || tries >= 15) { clearTimer(timer); return }
|
|
710
710
|
tries += 1
|
|
711
711
|
try {
|
|
712
|
-
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.
|
|
712
|
+
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.configForms
|
|
713
713
|
s?.describe?.()?.load?.()
|
|
714
714
|
} catch (_) { /* clipboard read best-effort */ }
|
|
715
715
|
}, 1000)
|
|
@@ -1828,8 +1828,8 @@ window.__ModuleLoader__.load({
|
|
|
1828
1828
|
|
|
1829
1829
|
const scope = React.useMemo(
|
|
1830
1830
|
() => {
|
|
1831
|
-
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.
|
|
1832
|
-
return s ? s.
|
|
1831
|
+
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.configForms
|
|
1832
|
+
return s ? s.get(NS) : undefined
|
|
1833
1833
|
},
|
|
1834
1834
|
[ctx],
|
|
1835
1835
|
)
|
|
@@ -4551,7 +4551,7 @@ window.__ModuleLoader__.load({
|
|
|
4551
4551
|
exports.slots = { card: cardSlot, chip: chipSlot }
|
|
4552
4552
|
}
|
|
4553
4553
|
|
|
4554
|
-
module.exports = { apply, inject: ['slots', 'locale', '
|
|
4554
|
+
module.exports = { apply, inject: ['slots', 'locale', 'configForms'], helpers }
|
|
4555
4555
|
return module.exports
|
|
4556
4556
|
},
|
|
4557
4557
|
})
|
package/lib/commands.js
CHANGED
|
@@ -105,7 +105,7 @@ export function dispatchMove({ agents, task, column, kind = 'project', createMes
|
|
|
105
105
|
agent.followup(createMessage({
|
|
106
106
|
// Содержимое — МАССИВ блоков, а не строка: ядро перебирает его как список.
|
|
107
107
|
content: [{ type: 'text', text: command.instruction }],
|
|
108
|
-
source: { kind: '
|
|
108
|
+
source: { kind: 'dsh-kanban', plugin: 'dsh-kanban', form: 'board-command' },
|
|
109
109
|
}))
|
|
110
110
|
return { acted: 'sent' }
|
|
111
111
|
}
|
package/lib/launcher.js
CHANGED
|
@@ -353,7 +353,7 @@ export async function runTask({
|
|
|
353
353
|
// Содержимое — МАССИВ блоков, а не строка: ядро перебирает его как список
|
|
354
354
|
// (`content.some(...)`), и строка роняет ход целиком.
|
|
355
355
|
content: [{ type: 'text', text: messageFor(task, config, text, { resume, mode: taken.mode }) }],
|
|
356
|
-
source: { kind: '
|
|
356
|
+
source: { kind: 'dsh-kanban', plugin: 'dsh-kanban', form: resume ? 'task-resume' : 'task-start' },
|
|
357
357
|
}))
|
|
358
358
|
|
|
359
359
|
const before = store.getTask(task.id)
|
|
@@ -519,7 +519,7 @@ export async function runBatch({
|
|
|
519
519
|
const own = typeof text === 'string' ? text.trim() : ''
|
|
520
520
|
const send = (body, form) => taken.agent.followup(createMessage({
|
|
521
521
|
content: [{ type: 'text', text: body }],
|
|
522
|
-
source: { kind: '
|
|
522
|
+
source: { kind: 'dsh-kanban', plugin: 'dsh-kanban', form },
|
|
523
523
|
}))
|
|
524
524
|
|
|
525
525
|
if (own !== '' && list.length === 1) {
|
|
@@ -583,7 +583,7 @@ export async function queueTask({
|
|
|
583
583
|
const own = typeof text === 'string' ? text.trim() : ''
|
|
584
584
|
agent.followup(createMessage({
|
|
585
585
|
content: [{ type: 'text', text: own !== '' ? own : buildStartMessage(task, config) }],
|
|
586
|
-
source: { kind: '
|
|
586
|
+
source: { kind: 'dsh-kanban', plugin: 'dsh-kanban', form: 'task-queued' },
|
|
587
587
|
}))
|
|
588
588
|
|
|
589
589
|
const before = store.getTask(task.id)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-kanban",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
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",
|
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
"platform": "web",
|
|
49
49
|
"inject": [
|
|
50
50
|
"@deepseek-ai/dsh-client-locale",
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-settings"
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-slots"
|
|
52
53
|
]
|
|
53
54
|
}
|
|
54
55
|
},
|