@goodandready/dsh-kanban 0.2.17 → 0.2.18
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/index.js +2 -2
- package/lib/workflow-bridge.js +2 -1
- package/lib/worktree.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
runBatch, queueTask, unqueueTask, liveSessions, dispatchNextQueuedTask,
|
|
56
56
|
PERMISSION_RANKS,
|
|
57
57
|
} from './launcher.js'
|
|
58
|
-
import { cleanupTaskWorktree, checkWorktreeDirty, getTaskDiff, getTaskCommits, mergeTaskWorktree } from './worktree.js'
|
|
58
|
+
import { cleanupTaskWorktree, checkWorktreeDirty, getTaskDiff, getTaskCommits, mergeTaskWorktree, defaultGitRunner } from './worktree.js'
|
|
59
59
|
import { dispatchMove, MOVE_DETAIL, stopWork, STOP_DETAIL } from './commands.js'
|
|
60
60
|
import { createGiteaClient } from './gitea.js'
|
|
61
61
|
import { createGitHubClient } from './github.js'
|
|
@@ -1024,7 +1024,7 @@ export function apply(ctx, config) {
|
|
|
1024
1024
|
provider: picked.provider,
|
|
1025
1025
|
model: picked.model,
|
|
1026
1026
|
mintSessionId: () => SessionId(`kanban-${id}-${randomUUID()}`),
|
|
1027
|
-
gitRunner,
|
|
1027
|
+
gitRunner: defaultGitRunner,
|
|
1028
1028
|
workspaceRegistry: ctx.get('workspaceRegistry'),
|
|
1029
1029
|
claimAs: await whoAmI(),
|
|
1030
1030
|
permission: typeof input.permission === 'string' ? input.permission : undefined,
|
package/lib/workflow-bridge.js
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
import { buildStartMessage, obtainAgent } from './launcher.js'
|
|
15
15
|
import { applyMove } from './routes.js'
|
|
16
|
+
import { defaultGitRunner } from './worktree.js'
|
|
16
17
|
|
|
17
18
|
export const DEFAULT_COLUMN_ROLES = {
|
|
18
19
|
backlog: 'spec',
|
|
@@ -228,7 +229,7 @@ export class WorkflowBridge {
|
|
|
228
229
|
provider,
|
|
229
230
|
model,
|
|
230
231
|
mintSessionId,
|
|
231
|
-
gitRunner,
|
|
232
|
+
gitRunner = defaultGitRunner,
|
|
232
233
|
workspaceRegistry,
|
|
233
234
|
claimAs,
|
|
234
235
|
permission,
|
package/lib/worktree.js
CHANGED
|
@@ -23,7 +23,7 @@ const execFileAsync = promisify(execFile)
|
|
|
23
23
|
* Стандартный исполнитель git-команд.
|
|
24
24
|
* Принимает аргументы массивом, исключая шелл-инъекции.
|
|
25
25
|
*/
|
|
26
|
-
async function defaultGitRunner(args, cwd) {
|
|
26
|
+
export async function defaultGitRunner(args, cwd) {
|
|
27
27
|
try {
|
|
28
28
|
const { stdout, stderr } = await execFileAsync('git', args, {
|
|
29
29
|
cwd,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-kanban",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18",
|
|
4
4
|
"description": "Visual Kanban board for DeepSeek Harness: Gitea and GitHub-backed tasks, workflow columns, and a dedicated agent session per task.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|