devez-vibe 1.6.49 → 1.6.51
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 +0 -0
- package/bridge/claude-agent-sdk-bridge.mjs +5 -22
- package/package.json +1 -1
package/bin/dvz.exe
CHANGED
|
Binary file
|
|
@@ -1233,12 +1233,6 @@ function isKoreanPrompt(input) {
|
|
|
1233
1233
|
return /[\uac00-\ud7a3]/.test(prompt);
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
function openingNotice(input) {
|
|
1237
|
-
return isKoreanPrompt(input)
|
|
1238
|
-
? "요청 내용을 확인하고 필요한 작업을 진행하겠습니다."
|
|
1239
|
-
: "I’ll review the request and proceed with the necessary work.";
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
1236
|
// `Now the tile view logic.` carries nothing a Korean reader needs, and the
|
|
1243
1237
|
// stand-in that used to replace it carried even less — the same sentence before
|
|
1244
1238
|
// every tool call, however many calls the turn made. Drop the line instead; the
|
|
@@ -1255,19 +1249,6 @@ function normalizeProgressText(turn, text) {
|
|
|
1255
1249
|
return value;
|
|
1256
1250
|
}
|
|
1257
1251
|
|
|
1258
|
-
// Claude can answer with a tool_use as its first and only content block even
|
|
1259
|
-
// when the prompt asks for an opening update. Keep the visible contract stable
|
|
1260
|
-
// without duplicating a real model-written update.
|
|
1261
|
-
function emitOpeningNotice(session) {
|
|
1262
|
-
if (!session.turn || session.turn.openingNoticeEmitted) return;
|
|
1263
|
-
const text = session.turn.openingNotice;
|
|
1264
|
-
const id = nextItemId(session, "opening");
|
|
1265
|
-
const item = { id, type: "agentMessage", text, provider: "Claude" };
|
|
1266
|
-
emitItem(session, "started", item);
|
|
1267
|
-
emitItem(session, "completed", item);
|
|
1268
|
-
session.turn.openingNoticeEmitted = true;
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
1252
|
// Text pacing lives in the host renderer, not here. A timer in this process
|
|
1272
1253
|
// runs on Node's scheduler, which cannot line up with the terminal's redraw
|
|
1273
1254
|
// rhythm — the mismatch was itself the visible stutter. Forward each delta as
|
|
@@ -1447,7 +1428,11 @@ function processAssistant(session, message) {
|
|
|
1447
1428
|
emitItem(session, "completed", item);
|
|
1448
1429
|
}
|
|
1449
1430
|
}
|
|
1450
|
-
|
|
1431
|
+
// A turn that opens straight into a tool call used to get a stand-in notice
|
|
1432
|
+
// here. The sentence named no target and no action — the very shape the rules
|
|
1433
|
+
// ban — and its language followed the one prompt's script, so a path-only
|
|
1434
|
+
// message in a Korean session came back in English. The tool item that
|
|
1435
|
+
// follows already says what is being done.
|
|
1451
1436
|
for (const block of content) {
|
|
1452
1437
|
if (block.type === "tool_use") processToolUse(session, block);
|
|
1453
1438
|
}
|
|
@@ -2624,8 +2609,6 @@ function beginTurn(session, input = []) {
|
|
|
2624
2609
|
sawStreamText: false,
|
|
2625
2610
|
sawVisibleText: false,
|
|
2626
2611
|
koreanRequest: isKoreanPrompt(input),
|
|
2627
|
-
openingNotice: openingNotice(input),
|
|
2628
|
-
openingNoticeEmitted: false,
|
|
2629
2612
|
};
|
|
2630
2613
|
session.lastContextUsage = null;
|
|
2631
2614
|
notify("turn/started", { threadId: session.id, turn: { id: turnId } });
|