@konneal/engine 0.2.14 → 0.2.15

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  handleAsk
3
- } from "./chunk-B4MH5IR2.js";
3
+ } from "./chunk-E5BXYZH6.js";
4
4
  import "./chunk-7UT76RQO.js";
5
5
  import "./chunk-EFQALN2Z.js";
6
6
  import "./chunk-DBBGOOMZ.js";
@@ -128,7 +128,10 @@ async function scoreJudge(ai, model, systemPrompt, userPrompt) {
128
128
  { role: "user", content: userPrompt }
129
129
  ],
130
130
  max_tokens: 6144,
131
- reasoning_effort: "low"
131
+ reasoning_effort: "low",
132
+ // the judge is a measurement: greedy decoding, no sampling
133
+ temperature: 0,
134
+ top_p: 1
132
135
  });
133
136
  const text = typeof res?.response === "string" ? res.response : res?.choices?.[0]?.message?.content;
134
137
  let score = null;
@@ -7,7 +7,7 @@ import {
7
7
  handleMemories,
8
8
  scoreJudge,
9
9
  standardForDocNumber
10
- } from "../../chunk-B4MH5IR2.js";
10
+ } from "../../chunk-E5BXYZH6.js";
11
11
  import {
12
12
  buildMessages,
13
13
  citations,
@@ -979,7 +979,7 @@ async function handleMcp(env, ctx, req, tier, key) {
979
979
  // stream:false forces the JSON lane (anon defaults to SSE)
980
980
  body: JSON.stringify({ ...args, stream: false })
981
981
  });
982
- const res = name === "ask" ? await (await import("../../ask-J3VYAEMM.js")).handleAsk(env, ctx, inner, tier, key) : await (await import("../../search-RFKT7ZZY.js")).handleSearch(env, ctx, inner, tier, key);
982
+ const res = name === "ask" ? await (await import("../../ask-KYAZRMTS.js")).handleAsk(env, ctx, inner, tier, key) : await (await import("../../search-RFKT7ZZY.js")).handleSearch(env, ctx, inner, tier, key);
983
983
  return res.json().catch(() => ({ error: { message: "tool transport failed", status: res.status } }));
984
984
  });
985
985
  if (out.ok && "accepted" in out) return new Response(null, { status: 202 });
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "@oimlsmart/oiml-pubid": "^1.2.1"
35
35
  },
36
36
  "dependencies": {},
37
- "version": "0.2.14",
37
+ "version": "0.2.15",
38
38
  "description": "The Konneal engine: the publisher-agnostic build pipeline and API plane for standards intelligence (retrieval, answer contract, verdicts, evaluation).",
39
39
  "license": "BSD-3-Clause",
40
40
  "type": "module",
@@ -67,6 +67,9 @@ export async function scoreJudge(
67
67
  ],
68
68
  max_tokens: 6144,
69
69
  reasoning_effort: "low",
70
+ // the judge is a measurement: greedy decoding, no sampling
71
+ temperature: 0,
72
+ top_p: 1,
70
73
  });
71
74
  const text = typeof res?.response === "string" ? res.response : res?.choices?.[0]?.message?.content;
72
75
  // reasoning models can emit {...} fragments before the verdict — the