@koda-sl/baker-bridge 0.191.0-dev.a1494b331 → 0.191.0-dev.c625248c3
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/README.md +3 -6
- package/dist/hono/bridge-job.d.ts.map +1 -1
- package/dist/hono/bridge-job.js +1 -3
- package/dist/hono/bridge-job.js.map +1 -1
- package/dist/hono/bridge-job.test.js +0 -20
- package/dist/hono/bridge-job.test.js.map +1 -1
- package/dist/hono/publish-handoff.d.ts.map +1 -1
- package/dist/hono/publish-handoff.js +3 -2
- package/dist/hono/publish-handoff.js.map +1 -1
- package/dist/hono/publish-handoff.test.js +12 -0
- package/dist/hono/publish-handoff.test.js.map +1 -1
- package/dist/hono/skill-language.d.ts +5 -20
- package/dist/hono/skill-language.d.ts.map +1 -1
- package/dist/hono/skill-language.js +10 -34
- package/dist/hono/skill-language.js.map +1 -1
- package/dist/review/digest.test.js +36 -0
- package/dist/review/digest.test.js.map +1 -1
- package/dist/review/reply-language.d.ts +5 -0
- package/dist/review/reply-language.d.ts.map +1 -1
- package/dist/review/reply-language.js +43 -2
- package/dist/review/reply-language.js.map +1 -1
- package/dist/review/reply-language.test.js +35 -1
- package/dist/review/reply-language.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -5427,26 +5427,6 @@ describe("BridgeJobExecutor review mode", () => {
|
|
|
5427
5427
|
throw new Error("expected the turn to start one query");
|
|
5428
5428
|
expect((await contextAfterSkillLoad(options))?.startsWith("Baker: the language of this chat.")).toBe(true);
|
|
5429
5429
|
});
|
|
5430
|
-
/** The text of the CLI's "The user hasn't heard from you in a while" reminder in this turn. */
|
|
5431
|
-
async function silentTurnReminder(job) {
|
|
5432
|
-
const queryInputs = [];
|
|
5433
|
-
const executor = createExecutor({ queryInputs });
|
|
5434
|
-
await executor.execute({ threadId: "t", turnId: "turn_1", currentSender: { name: "Fernando" }, ...job }, activeControls());
|
|
5435
|
-
return queryInputs[0]?.options.env?.CLAUDE_CODE_SILENT_TURN_REMINDER_TEXT;
|
|
5436
|
-
}
|
|
5437
|
-
// BAKER-545: the CLI's English "hasn't heard from you" reminder fired 13 times, and the lines written to it were English.
|
|
5438
|
-
it("asks a Spanish chat's silent-turn update in Spanish", async () => {
|
|
5439
|
-
const reminder = await silentTurnReminder({ prompt: spanishTurn });
|
|
5440
|
-
expect(reminder).toContain("The user hasn't heard from you in a while.");
|
|
5441
|
-
expect(reminder).toContain("Write it in Spanish");
|
|
5442
|
-
});
|
|
5443
|
-
// BAKER-4826: the updates this reminder prompted read "Now the data endpoint." and "Las comprobaciones de calidad piden funciones más pequeñas".
|
|
5444
|
-
it("asks the silent-turn update about the marketer's work, never the code, files or checks behind it", async () => {
|
|
5445
|
-
const reminder = await silentTurnReminder({
|
|
5446
|
-
prompt: "Monta un informe semanal con los datos de Google Ads y la hoja de leads",
|
|
5447
|
-
});
|
|
5448
|
-
expect(reminder).toContain("about their work, never the code, files or checks behind it.");
|
|
5449
|
-
});
|
|
5450
5430
|
/** Every PostToolUse note the model reads after `toolName` returns, as the CLI joins them. */
|
|
5451
5431
|
async function contextAfterTool(options, toolName, extras = {}) {
|
|
5452
5432
|
const input = {
|