@konneal/engine 0.2.66 → 0.2.67

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-YZA5XAU7.js";
3
+ } from "./chunk-67VVH7CX.js";
4
4
  import "./chunk-TPV5GPY2.js";
5
5
  import "./chunk-SPKPH54J.js";
6
6
  import "./chunk-A3QHHUN5.js";
@@ -2310,7 +2310,7 @@ async function handleAsk(env, ctx, req, tier, key) {
2310
2310
  if (bridgeImage && /certificate|certified|certification/i.test(q.query)) {
2311
2311
  const np = await extractNameplate(env.AI, MODELS.member, bridgeImage);
2312
2312
  if (np?.manufacturer) {
2313
- const bridged = await searchRegister(env.DB, nameplateRegisterQuery(np, q.query));
2313
+ const bridged = await searchRegister(env.DB, nameplateRegisterQuery(np, q.query), true);
2314
2314
  if (bridged?.rows?.length) {
2315
2315
  register = bridged;
2316
2316
  console.log("nameplate-bridge:", np.manufacturer, np.model ?? "", "\u2192", bridged.rows.length, "register rows");
@@ -6,7 +6,7 @@ import {
6
6
  modelGroundingBlock,
7
7
  scoreFaithfulness,
8
8
  scoreJudge
9
- } from "../../chunk-YZA5XAU7.js";
9
+ } from "../../chunk-67VVH7CX.js";
10
10
  import {
11
11
  handleSearch
12
12
  } from "../../chunk-FLNX4O7C.js";
@@ -959,7 +959,7 @@ async function handleMcp(env, ctx, req, tier, key) {
959
959
  // stream:false forces the JSON lane (anon defaults to SSE)
960
960
  body: JSON.stringify({ ...args, stream: false })
961
961
  });
962
- const res = name === "ask" ? await (await import("../../ask-LAYLNLDK.js")).handleAsk(env, ctx, inner, tier, key) : await (await import("../../search-PBOODCMQ.js")).handleSearch(env, ctx, inner, tier, key);
962
+ const res = name === "ask" ? await (await import("../../ask-O2ZWIV2Y.js")).handleAsk(env, ctx, inner, tier, key) : await (await import("../../search-PBOODCMQ.js")).handleSearch(env, ctx, inner, tier, key);
963
963
  return res.json().catch(() => ({ error: { message: "tool transport failed", status: res.status } }));
964
964
  });
965
965
  if (out.ok && "accepted" in out) return new Response(null, { status: 202 });
package/package.json CHANGED
@@ -27,7 +27,7 @@
27
27
  "playwright": "^1.62.1",
28
28
  "yaml": "^2.9.1"
29
29
  },
30
- "version": "0.2.66",
30
+ "version": "0.2.67",
31
31
  "description": "The Konneal engine: the publisher-agnostic build pipeline and API plane for standards intelligence (retrieval, answer contract, verdicts, evaluation).",
32
32
  "license": "BSD-3-Clause",
33
33
  "type": "module",
@@ -632,7 +632,7 @@ let convEntities: Array<{ entity: string; kind: string }> = [];
632
632
  if (bridgeImage && /certificate|certified|certification/i.test(q.query)) {
633
633
  const np = await extractNameplate((env as any).AI, MODELS.member, bridgeImage);
634
634
  if (np?.manufacturer) {
635
- const bridged = await searchRegister(env.DB, nameplateRegisterQuery(np, q.query));
635
+ const bridged = await searchRegister(env.DB, nameplateRegisterQuery(np, q.query), true);
636
636
  if (bridged?.rows?.length) {
637
637
  register = bridged;
638
638
  console.log("nameplate-bridge:", np.manufacturer, np.model ?? "", "→", bridged.rows.length, "register rows");