@konneal/engine 0.2.109 → 0.2.110

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,7 +1,7 @@
1
1
  import {
2
2
  handleAsk
3
- } from "./chunk-G4KBK5XZ.js";
4
- import "./chunk-G56TYXNN.js";
3
+ } from "./chunk-TNDH2QRT.js";
4
+ import "./chunk-32UDKBA2.js";
5
5
  import "./chunk-2R7OVYAO.js";
6
6
  import "./chunk-TH5XGPD5.js";
7
7
  import "./chunk-DJ65EF5G.js";
@@ -243,6 +243,7 @@ function extractChecks(content) {
243
243
  if (b) out.push(b);
244
244
  };
245
245
  push(c.check);
246
+ push(c.expression);
246
247
  push(c.limit?.expression);
247
248
  push(c.acceptance_criteria?.limit && !c.acceptance_criteria.limit.expression?.includes("ocl{") ? null : c.acceptance_criteria?.limit?.expression);
248
249
  const st = c.acceptance_criteria?.limit;
@@ -19,7 +19,7 @@ import {
19
19
  tableRetyped,
20
20
  toolNote,
21
21
  verdictNote
22
- } from "./chunk-G56TYXNN.js";
22
+ } from "./chunk-32UDKBA2.js";
23
23
  import {
24
24
  NO_CONTEXT,
25
25
  STAGE_NAMES,
@@ -4,7 +4,7 @@ import {
4
4
  parseToolCall,
5
5
  runTool,
6
6
  toolNote
7
- } from "./chunk-G56TYXNN.js";
7
+ } from "./chunk-32UDKBA2.js";
8
8
  import "./chunk-TH5XGPD5.js";
9
9
  import "./chunk-4NXH5ZI6.js";
10
10
  import "./chunk-VT7DR6NQ.js";
@@ -4,12 +4,12 @@ import {
4
4
  handleMemories,
5
5
  scoreFaithfulness,
6
6
  scoreJudge
7
- } from "../../chunk-G4KBK5XZ.js";
7
+ } from "../../chunk-TNDH2QRT.js";
8
8
  import {
9
9
  TOOLS_REGISTRY,
10
10
  bindModelNode,
11
11
  modelGroundingBlock
12
- } from "../../chunk-G56TYXNN.js";
12
+ } from "../../chunk-32UDKBA2.js";
13
13
  import {
14
14
  handleSearch
15
15
  } from "../../chunk-HAU5INEJ.js";
@@ -994,13 +994,13 @@ async function callToolOnce(env, ctx, _req, tier, key, name, args, t0) {
994
994
  // stream:false forces the JSON lane (anon defaults to SSE)
995
995
  body: JSON.stringify({ ...args, stream: false })
996
996
  });
997
- const { runTool, TOOLS_REGISTRY: TOOLS_REGISTRY2 } = await import("../../tools-WSWEGJVQ.js");
997
+ const { runTool, TOOLS_REGISTRY: TOOLS_REGISTRY2 } = await import("../../tools-GSLHFD37.js");
998
998
  let payload;
999
999
  if (TOOLS_REGISTRY2.some((t) => t.name === name && t.audiences.includes("mcp"))) {
1000
1000
  const r = await runTool({ ...env, DB: env.DB }, { name, args }, "mcp");
1001
1001
  payload = r ? { tool: r.name, query: r.query, result: r.output } : { error: { message: `tool ${name} returned nothing for the given arguments` } };
1002
1002
  } else {
1003
- const res = name === "ask" ? await (await import("../../ask-EAKLN77G.js")).handleAsk(env, ctx, inner, tier, key) : await (await import("../../search-HKGN7F3O.js")).handleSearch(env, ctx, inner, tier, key);
1003
+ const res = name === "ask" ? await (await import("../../ask-DBIGV3SY.js")).handleAsk(env, ctx, inner, tier, key) : await (await import("../../search-HKGN7F3O.js")).handleSearch(env, ctx, inner, tier, key);
1004
1004
  payload = await res.json().catch(() => ({ error: { message: "tool transport failed", status: res.status } }));
1005
1005
  }
1006
1006
  telemetry(env, ctx, tier, `mcp:${name}`, null, !payload?.error, JSON.stringify(payload).length, await sha256Hex(`${name}:${JSON.stringify(args ?? {})}`), void 0, void 0, { durationMs: Date.now() - t0 });
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.109",
30
+ "version": "0.2.110",
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",
@@ -148,6 +148,11 @@ export function extractChecks(content: unknown): string[] {
148
148
  const out: string[] = [];
149
149
  const push = (e?: string) => { const b = e && oclBody(e); if (b) out.push(b); };
150
150
  push(c.check);
151
+ // the plain oiml-r60 projection carries the OCL under `expression`
152
+ // (the r60-lml projection under `check`) — the dead-load geometry
153
+ // nodes bound for their whole life and evaluated to null because
154
+ // their only check sat under the key nobody read
155
+ push(c.expression);
151
156
  push(c.limit?.expression);
152
157
  push(c.acceptance_criteria?.limit && !c.acceptance_criteria.limit.expression?.includes("ocl{") ? null : c.acceptance_criteria?.limit?.expression);
153
158
  // structured threshold limits compile to a comparison expression