bothouse-dsh 0.1.40 → 0.1.41

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.
@@ -178,7 +178,7 @@ export class TeamExit {
178
178
  // #597 G35: a DSH member's [ask] keeps its task in work and watched (and its workspace, so the
179
179
  // answer reaches the same session); a bridge bot's [ask] parks it as before (#280).
180
180
  if (tasks && !this.markOpts(msg).lastLine) {
181
- const taskId = /任务\s*#(\d+)\b/.exec(mark.body)?.[1];
181
+ const taskId = headline?.id ?? /任务\s*#(\d+)\b/.exec(mark.body)?.[1];
182
182
  const inRoom = tasks.q.allBusy.all('assigned', 'accepted', 'asked', 'rework')
183
183
  .filter(t => t.room_id === room.id);
184
184
  const marked = taskId ? tasks.task(Number(taskId)) : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bothouse-dsh",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "description": "BotHouse channels for DeepSeek Harness: Discord-style rooms where DSH models and local CLIs (Claude Code, Codex, Gemini) are members",
5
5
  "type": "module",
6
6
  "main": "./collab/plugin.mjs",