devez-vibe 1.10.3 → 1.10.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
@@ -4835,11 +4835,11 @@ async function dispatch(method, params = {}) {
4835
4835
  if (session) closeLiveSession(session);
4836
4836
  return { released: true, busy: false };
4837
4837
  }
4838
- // 순정 /clear처럼 백그라운드 작업만 남은 세션은 같은 프로세스에서 새 대화로
4839
- // 넘긴다. 작업과 그 완료 통지는 새 대화가 이어받는다.
4838
+ // 순정 /clear처럼 살아 있는 세션은 같은 프로세스에서 새 대화로 넘겨 CLI와 MCP
4839
+ // 연결을 다시 쓴다. 남은 백그라운드 작업과 그 완료 통지도 새 대화가 이어받는다.
4840
4840
  if (method === "session/clear") {
4841
4841
  const session = lookupSession(params.sessionId);
4842
- if (!session || !sessionHasLiveWork(session)) {
4842
+ if (!session || (!session.queue && !sessionHasLiveWork(session))) {
4843
4843
  if (session) closeLiveSession(session);
4844
4844
  return { released: true, busy: false };
4845
4845
  }
@@ -4861,6 +4861,11 @@ async function dispatch(method, params = {}) {
4861
4861
  clearTimeout(timer);
4862
4862
  session.clearWaiter = null;
4863
4863
  session.clearPending = false;
4864
+ // CLI가 /clear에 답하지 않아도 남은 작업이 없으면 연결을 닫고 새 대화를 연다.
4865
+ if (!id && !sessionHasLiveWork(session)) {
4866
+ closeLiveSession(session);
4867
+ return { released: true, busy: false };
4868
+ }
4864
4869
  if (!id) return { released: false, busy: true };
4865
4870
  emitSubagents(session);
4866
4871
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devez-vibe",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "type": "module",
5
5
  "description": "Stable terminal UI for Codex and Claude Agent SDK",
6
6
  "keywords": [