@evomap/evolver-adapter-public 2.0.16 → 2.0.18
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/hubReuse.js +12 -1
- package/package.json +2 -2
package/dist/hubReuse.js
CHANGED
|
@@ -32,6 +32,12 @@ const GENE_WIRE_KEYS = new Set([
|
|
|
32
32
|
'routing_hint',
|
|
33
33
|
'tool_policy',
|
|
34
34
|
'generation_meta',
|
|
35
|
+
// K_auto projection-key coordinates + runtime authorship (v2-delta; ride-along until gep-sdk 1.13).
|
|
36
|
+
'model_name',
|
|
37
|
+
'claims',
|
|
38
|
+
'scope',
|
|
39
|
+
'runtime_profile',
|
|
40
|
+
'verifier_profile',
|
|
35
41
|
'asset_id',
|
|
36
42
|
]);
|
|
37
43
|
const HUB_DELIVERY_METADATA_KEYS = new Set([
|
|
@@ -303,6 +309,10 @@ export function toGeneCandidate(rec) {
|
|
|
303
309
|
const signalsMatch = strArr(r['signals_match'] ?? r['signalsMatch']) ?? [];
|
|
304
310
|
const reuseCount = num(r['reuse_count'] ?? r['reuseCount']) ?? 0;
|
|
305
311
|
const generationSource = algo.geneGenerationSource(r, geneId);
|
|
312
|
+
// Project onto the wire allowlist first, then re-run strict K_auto on the same bytes selection
|
|
313
|
+
// will see. Soft-preference must not stamp membership from hub delivery metadata that strip drops.
|
|
314
|
+
const hubAsset = stripHubPayloadMetadata(rec);
|
|
315
|
+
const kautoMember = algo.decideKauto(hubAsset).inKauto;
|
|
306
316
|
return {
|
|
307
317
|
geneId,
|
|
308
318
|
assetId,
|
|
@@ -314,7 +324,8 @@ export function toGeneCandidate(rec) {
|
|
|
314
324
|
...(typeof r['category'] === 'string' ? { category: r['category'] } : {}),
|
|
315
325
|
...(typeof r['summary'] === 'string' ? { summary: r['summary'] } : {}),
|
|
316
326
|
...(generationSource ? { generationSource } : {}),
|
|
317
|
-
|
|
327
|
+
...(kautoMember ? { kautoMember: true } : {}),
|
|
328
|
+
hubAsset,
|
|
318
329
|
};
|
|
319
330
|
}
|
|
320
331
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evomap/evolver-adapter-public",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@evomap/atp-sdk": "^0.1.0",
|
|
20
|
-
"@evomap/evolver-core": "2.0.
|
|
20
|
+
"@evomap/evolver-core": "2.0.18",
|
|
21
21
|
"undici": "^6.27.0"
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|