@goodandready/dsh-kanban 0.2.8 → 0.2.9

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.
Files changed (2) hide show
  1. package/lib/commands.js +10 -10
  2. package/package.json +1 -1
package/lib/commands.js CHANGED
@@ -96,7 +96,7 @@ export function dispatchMove({ agents, task, column, kind = 'project', createMes
96
96
  try {
97
97
  agent.cancel({ kind: 'user' })
98
98
  } catch (error) {
99
- logger?.warn?.(`dsh-kanban: ход по задаче ${task.id} не прервался: ${error?.message}`)
99
+ logger?.warn?.(`dsh-kanban: agent turn for task ${task.id} was not interrupted: ${error?.message}`)
100
100
  return { acted: 'idle' }
101
101
  }
102
102
  return { acted: 'stopped' }
@@ -133,7 +133,7 @@ export function stopWork({ agents, task, logger }) {
133
133
  try {
134
134
  agent.cancel({ kind: 'user' })
135
135
  } catch (error) {
136
- logger?.warn?.(`dsh-kanban: ход по задаче ${task.id} не прервался: ${error?.message}`)
136
+ logger?.warn?.(`dsh-kanban: agent turn for task ${task.id} was not interrupted: ${error?.message}`)
137
137
  return { acted: 'idle' }
138
138
  }
139
139
  return { acted: 'stopped' }
@@ -141,9 +141,9 @@ export function stopWork({ agents, task, logger }) {
141
141
 
142
142
  /** Пояснения к остановке в журнале задачи. */
143
143
  export const STOP_DETAIL = {
144
- stopped: 'человек остановил ход агента',
145
- idle: 'агент не работал, останавливать было нечего',
146
- 'no-session': 'у задачи нет сессии',
144
+ stopped: 'user stopped agent turn',
145
+ idle: 'agent was idle, nothing to stop',
146
+ 'no-session': 'task has no session',
147
147
  }
148
148
 
149
149
  /**
@@ -153,10 +153,10 @@ export const STOP_DETAIL = {
153
153
  * значило бы задваивать событие, которое было одним.
154
154
  */
155
155
  export const MOVE_DETAIL = {
156
- stopped: 'перенос прервал идущий ход агента',
157
- sent: 'команда отправлена в чат задачи',
158
- idle: 'агент не работал, останавливать было нечего',
159
- 'no-session': 'у задачи нет сессии, карточка просто передвинута',
160
- human: 'решение человека',
156
+ stopped: 'move interrupted running agent turn',
157
+ sent: 'command sent to task chat',
158
+ idle: 'agent was idle, nothing to stop',
159
+ 'no-session': 'task has no session, card moved',
160
+ human: 'human decision',
161
161
  unknown: '',
162
162
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-kanban",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
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",