devez-vibe 1.2.3 → 1.2.4

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/bin/dvz.exe CHANGED
Binary file
@@ -724,7 +724,10 @@ function updatePlanFromToolResult(session, pending, message) {
724
724
  });
725
725
  }
726
726
  // TaskList는 세션 전체 목록을 돌려주므로, 지난 턴에 끝난 작업까지 되살아나지 않게 걷어낸다.
727
+ // 다만 전부 걷어내 목록이 비면 계획 카드가 통째로 사라지므로, 그때는 정리를 다음 TaskCreate에 맡긴다.
728
+ const listed = new Map(session.tasks);
727
729
  pruneFinishedTasks(session.tasks, turnId);
730
+ if (session.tasks.size === 0) session.tasks = listed;
728
731
  emitPlan(session);
729
732
  }
730
733
  }
@@ -745,6 +748,8 @@ function planStatus(status) {
745
748
  }
746
749
 
747
750
  function emitPlan(session) {
751
+ // 빈 계획을 보내면 화면의 계획 카드가 사라진다. 보여줄 작업이 없을 때는 마지막 계획을 그대로 둔다.
752
+ if (session.tasks.size === 0) return;
748
753
  notify("turn/plan/updated", {
749
754
  threadId: session.id,
750
755
  turnId: session.turn?.id,
@@ -1169,7 +1174,9 @@ function historyTurns(messages) {
1169
1174
  const known = new Map(tasks);
1170
1175
  tasks.clear();
1171
1176
  for (const task of message.tool_use_result.tasks) tasks.set(String(task.id), { id: String(task.id), subject: task.subject || "작업", status: task.status || "pending", turnId: known.get(String(task.id))?.turnId ?? turn.id });
1177
+ const listed = new Map(tasks);
1172
1178
  pruneFinishedTasks(tasks, turn.id);
1179
+ if (tasks.size === 0) for (const [id, task] of listed) tasks.set(id, task);
1173
1180
  } else if (pending.item) {
1174
1181
  const output = toolOutput(block.content, message.tool_use_result);
1175
1182
  Object.assign(pending.item, pending.item.type === "commandExecution"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devez-vibe",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Stable terminal UI for Codex and Claude Agent SDK",
5
5
  "keywords": [
6
6
  "codex",