@konneal/engine 0.2.152 → 0.2.155
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/dist/answerGuards.d.ts +4 -0
- package/dist/{ask-LP6M4QNS.js → ask-MRVXR7CY.js} +1 -1
- package/dist/{chunk-VSK2RGUF.js → chunk-TXF5VMNM.js} +906 -875
- package/dist/worker_public/src/index.js +7 -3
- package/docs/AGENT-MODE-STREAM-FIRST.md +84 -0
- package/package.json +1 -1
- package/workers/worker_public/src/admin.ts +14 -1
- package/workers/worker_public/src/answerGuards.ts +36 -0
- package/workers/worker_public/src/ask.ts +207 -188
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function toolNarration(t: string): boolean;
|
|
2
|
+
export declare const TOOL_NARRATION_NOTICE = "Correction notice: your draft narrated an internal tool call ('the \u2026 tool returned \u2026') instead of answering. Rewrite: answer the question directly from the retrieved passages, cite the clauses, and never mention tools, queries, wire formats, or JSON.";
|
|
3
|
+
export declare function intentPreamble(t: string): boolean;
|
|
4
|
+
export declare const INTENT_PREAMBLE_NOTICE = "Correction notice: your draft announced a plan ('I'll look up \u2026') instead of answering. Do not narrate intent \u2014 answer the question NOW from the retrieved passages: give the values, clause references and citations the question asks for.";
|