devez-vibe 1.7.25 → 1.7.26

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
@@ -2898,13 +2898,22 @@ function historyState(messages) {
2898
2898
  }));
2899
2899
  turn.items.push({ id: "claude-plan-latest", type: "plan", text, steps });
2900
2900
  }
2901
- return {
2902
- tasks,
2903
- turns: turns
2904
- .filter((candidate) => !candidate.synthetic)
2905
- .map(({ synthetic: _, ...candidate }) => candidate),
2906
- };
2907
- }
2901
+ return {
2902
+ tasks,
2903
+ turns: turns
2904
+ .filter((candidate) => !candidate.synthetic)
2905
+ .map(({ synthetic: _, ...candidate }) => {
2906
+ const answered = candidate.items.some((item) =>
2907
+ item.type === "agentMessage" && String(item.text || "").trim());
2908
+ // Claude persists the user record before an immediate interrupt. Native
2909
+ // resume hides that dangling prompt, so expose it as interrupted for the
2910
+ // common host history filter instead of calling every transcript turn
2911
+ // completed.
2912
+ if (!answered) candidate.status = "interrupted";
2913
+ return candidate;
2914
+ }),
2915
+ };
2916
+ }
2908
2917
 
2909
2918
  function historyTurns(messages) {
2910
2919
  return historyState(messages).turns;
@@ -3595,11 +3604,15 @@ async function runSelfTest() {
3595
3604
  ["say hello", "claude:claude-sonnet-5"],
3596
3605
  ["hay zzz", "claude:claude-haiku-4-5-20251001"],
3597
3606
  ];
3598
- if (turns.length !== expected.length
3599
- || prompts.some((prompt, index) => prompt?.content?.[0]?.text !== expected[index][0]
3600
- || prompt.model !== expected[index][1])) {
3601
- throw new Error(`Claude history self-test failed: ${JSON.stringify(turns)}`);
3602
- }
3607
+ if (turns.length !== expected.length
3608
+ || prompts.some((prompt, index) => prompt?.content?.[0]?.text !== expected[index][0]
3609
+ || prompt.model !== expected[index][1])) {
3610
+ throw new Error(`Claude history self-test failed: ${JSON.stringify(turns)}`);
3611
+ }
3612
+ const interrupted = historyTurns([user("cancelled", "취소한 요청")]);
3613
+ if (interrupted.length !== 1 || interrupted[0].status !== "interrupted") {
3614
+ throw new Error(`Claude interrupted prompt history self-test failed: ${JSON.stringify(interrupted)}`);
3615
+ }
3603
3616
  const taskUse = (uuid, id, name, input) => ({
3604
3617
  type: "assistant",
3605
3618
  uuid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devez-vibe",
3
- "version": "1.7.25",
3
+ "version": "1.7.26",
4
4
  "description": "Stable terminal UI for Codex and Claude Agent SDK",
5
5
  "keywords": [
6
6
  "codex",