@aeptus/aexeo-emdash 0.8.19 → 0.9.1

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +112 -2
  2. package/INSTALL.md +286 -4
  3. package/README.md +20 -5
  4. package/dist/adapter.d.ts +62 -4
  5. package/dist/adapter.d.ts.map +1 -1
  6. package/dist/admin/Findings.d.ts.map +1 -1
  7. package/dist/admin.d.ts.map +1 -1
  8. package/dist/admin.js +73 -6
  9. package/dist/assessment-display.d.ts +10 -0
  10. package/dist/assessment-display.d.ts.map +1 -0
  11. package/dist/cms-coverage.d.ts +10 -0
  12. package/dist/cms-coverage.d.ts.map +1 -0
  13. package/dist/configured.d.ts +16 -1
  14. package/dist/configured.d.ts.map +1 -1
  15. package/dist/configured.js +1341 -172
  16. package/dist/content-evaluator.d.ts +34 -0
  17. package/dist/content-evaluator.d.ts.map +1 -0
  18. package/dist/content.d.ts +98 -0
  19. package/dist/content.d.ts.map +1 -0
  20. package/dist/content.js +445 -0
  21. package/dist/data-route.d.ts +12 -1
  22. package/dist/data-route.d.ts.map +1 -1
  23. package/dist/evaluator-sandbox.d.ts +1 -1
  24. package/dist/evaluator-sandbox.d.ts.map +1 -1
  25. package/dist/evaluator.d.ts +1 -1
  26. package/dist/evaluator.d.ts.map +1 -1
  27. package/dist/findings-view.d.ts +11 -5
  28. package/dist/findings-view.d.ts.map +1 -1
  29. package/dist/index.d.ts +17 -1
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +163 -4
  32. package/dist/inventory.d.ts +59 -0
  33. package/dist/inventory.d.ts.map +1 -0
  34. package/dist/plugin.d.ts +59 -3
  35. package/dist/plugin.d.ts.map +1 -1
  36. package/dist/presence-check.d.ts +1 -0
  37. package/dist/presence-check.d.ts.map +1 -1
  38. package/dist/sandbox-entry.d.ts +2 -1
  39. package/dist/sandbox-entry.d.ts.map +1 -1
  40. package/dist/sandbox-entry.js +1077 -190
  41. package/dist/sandbox.d.ts +2 -2
  42. package/dist/sidecar-url.d.ts.map +1 -1
  43. package/dist/sidecar.d.ts +9 -1
  44. package/dist/sidecar.d.ts.map +1 -1
  45. package/dist/types.d.ts +26 -4
  46. package/dist/types.d.ts.map +1 -1
  47. package/dist/version.d.ts +1 -1
  48. package/dist/version.d.ts.map +1 -1
  49. package/dist/wasm-init.d.ts +8 -0
  50. package/dist/wasm-init.d.ts.map +1 -1
  51. package/package.json +28 -8
  52. package/wasm/aexeo_emdash_bridge.d.ts +22 -0
  53. package/wasm/aexeo_emdash_bridge.js +1 -1
  54. package/wasm/aexeo_emdash_bridge_bg.d.ts +15 -0
  55. package/wasm/aexeo_emdash_bridge_bg.js +130 -0
  56. package/wasm/aexeo_emdash_bridge_bg.wasm +0 -0
  57. package/wasm/aexeo_emdash_bridge_bg.wasm.d.ts +4 -0
package/dist/sandbox.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { SecretSettingField } from "./plugin.js";
1
+ import type { PluginSettingField } from "./plugin.js";
2
2
  export interface PluginAdminPage {
3
3
  path: string;
4
4
  label: string;
@@ -18,7 +18,7 @@ export interface SandboxedPluginDescriptor {
18
18
  adminPages?: readonly PluginAdminPage[];
19
19
  adminWidgets?: readonly PluginAdminWidget[];
20
20
  allowedHosts?: readonly string[];
21
- settingsSchema: Record<string, SecretSettingField>;
21
+ settingsSchema: Record<string, PluginSettingField>;
22
22
  }
23
23
  export interface AexeoSandboxedOptions {
24
24
  evaluatorHost?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"sidecar-url.d.ts","sourceRoot":"","sources":["../src/sidecar-url.ts"],"names":[],"mappings":"AA0BA,MAAM,MAAM,oBAAoB,GAC5B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACzB;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjC;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,EACX,YAAY,GAAE,SAAS,MAAM,EAAO,GACnC,oBAAoB,CA4CtB"}
1
+ {"version":3,"file":"sidecar-url.d.ts","sourceRoot":"","sources":["../src/sidecar-url.ts"],"names":[],"mappings":"AA0BA,MAAM,MAAM,oBAAoB,GAC5B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACzB;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjC;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,EACX,YAAY,GAAE,SAAS,MAAM,EAAO,GACnC,oBAAoB,CAqDtB"}
package/dist/sidecar.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { EmdashDocument, Finding } from "./types.js";
2
+ import type { DocumentAssessment } from "./plugin.js";
2
3
  export interface SidecarHttp {
3
4
  fetch(url: string, init?: {
4
5
  method?: string;
@@ -8,20 +9,27 @@ export interface SidecarHttp {
8
9
  status: number;
9
10
  ok: boolean;
10
11
  text(): Promise<string>;
12
+ headers?: {
13
+ get(name: string): string | null;
14
+ };
11
15
  }>;
12
16
  }
13
17
  export interface SidecarConfig {
14
18
  url: string;
15
19
  authToken: string;
16
20
  configJson?: string;
21
+ log?: {
22
+ warn(msg: string): void;
23
+ } | undefined;
17
24
  }
18
25
  export type SidecarResult = {
19
26
  ok: true;
20
27
  findings: Finding[];
28
+ assessments?: Record<string, DocumentAssessment>;
21
29
  } | {
22
30
  ok: false;
23
31
  reason: "network_error" | "auth_error" | "server_error" | "invalid_response";
24
32
  detail: string;
25
33
  };
26
- export declare function evaluateViaSidecar(http: SidecarHttp, config: SidecarConfig, documents: readonly EmdashDocument[]): Promise<SidecarResult>;
34
+ export declare function evaluateViaSidecar(http: SidecarHttp, config: SidecarConfig, documents: readonly EmdashDocument[], collections?: readonly string[]): Promise<SidecarResult>;
27
35
  //# sourceMappingURL=sidecar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidecar.d.ts","sourceRoot":"","sources":["../src/sidecar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAiB1D,MAAM,WAAW,WAAW;IAC1B,KAAK,CACH,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE;QACL,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,GACA,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,OAAO,CAAC;QAAC,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC,CAAC;CACtE;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAIlB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,aAAa,GACrB;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,OAAO,EAAE,CAAA;CAAE,GACjC;IACE,EAAE,EAAE,KAAK,CAAC;IAGV,MAAM,EACF,eAAe,GACf,YAAY,GACZ,cAAc,GACd,kBAAkB,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEN,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE,aAAa,EACrB,SAAS,EAAE,SAAS,cAAc,EAAE,GACnC,OAAO,CAAC,aAAa,CAAC,CA+DxB"}
1
+ {"version":3,"file":"sidecar.d.ts","sourceRoot":"","sources":["../src/sidecar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE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AAO,CAAC,aAAa,CAAC,CA2FxB"}
package/dist/types.d.ts CHANGED
@@ -29,12 +29,16 @@ export interface EmdashDocument {
29
29
  route: string;
30
30
  title: string;
31
31
  description?: string;
32
+ /** A host mapping observed source fields; this does not establish rendered metadata. */
33
+ description_source_observed?: boolean;
32
34
  canonical?: string;
33
35
  lang?: string;
34
36
  alternates?: HreflangAlternate[];
35
37
  meta?: Record<string, string>;
36
38
  schema?: unknown[];
37
39
  body?: PortableTextBlock[];
40
+ /** Body features faithfully represented by an adapter; omitted means all. */
41
+ body_capabilities?: ("text" | "headings" | "paragraphs" | "links")[];
38
42
  }
39
43
  export type FindingSeverity = "error" | "warning";
40
44
  export type FindingScope = "page" | "template" | "sitewide";
@@ -44,6 +48,19 @@ export interface RuleLayers {
44
48
  secondaries: Layer[];
45
49
  }
46
50
  export interface Finding {
51
+ /** Added by content preset evaluators; absent on legacy site findings. */
52
+ aexeo_origin?: "content_preset";
53
+ /** Coordinates in the evaluated projected body, not necessarily the CMS source field. */
54
+ aexeo_source_location?: {
55
+ block_index: number;
56
+ span_index: number;
57
+ utf16_offset: number;
58
+ };
59
+ /** Path to unchanged Portable Text in the evaluated CMS record. */
60
+ aexeo_cms_location?: {
61
+ path: Array<string | number>;
62
+ utf16_offset: number;
63
+ };
47
64
  rule_id: string;
48
65
  message: string;
49
66
  path: string;
@@ -59,15 +76,20 @@ export declare function layerHumanLabel(layer: Layer): string;
59
76
  export declare function layerOneLineDescription(layer: Layer): string;
60
77
  export type StructuredTruthSource = "manifest" | "schema" | "schema_and_manifest" | "none";
61
78
  export interface SiteIntelligenceScore {
62
- citation_readiness_score: number;
63
- truth_consistency_score: number;
64
- answer_pack_score: number;
79
+ citation_readiness_score: number | null;
80
+ truth_consistency_score: number | null;
81
+ answer_pack: AnswerPackFacts;
65
82
  external_trust_alignment_score: number | null;
66
- overall_score: number;
67
83
  route_scores: unknown[];
68
84
  blockers: IntelligenceBlocker[];
69
85
  structured_truth_source?: StructuredTruthSource;
70
86
  }
87
+ export interface AnswerPackFacts {
88
+ routes_analyzed: number;
89
+ routes_with_answer_blocks: number;
90
+ routes_with_coverage_gaps: number;
91
+ answer_blocks: number;
92
+ }
71
93
  export interface IntelligenceBlocker {
72
94
  rule_id?: string;
73
95
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,UAAU,GAClB,QAAQ,GACR,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,YAAY,CAAC;AAEjB,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAEjD,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,E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M,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACnC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACpC,CAAC;CACH"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const PACKAGE_VERSION = "0.8.19";
1
+ export declare const PACKAGE_VERSION = "0.9.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,UAAU,CAAC"}
@@ -2,4 +2,12 @@ export declare function evaluateDocuments(documentsJson: string, configJson?: st
2
2
  export declare function scoreIntelligence(documentsJson: string, manifestJson?: string | null): Promise<string>;
3
3
  export declare function generateFactsPrompt(documentsJson: string): Promise<string>;
4
4
  export declare function validateFactsManifest(manifestJson: string, documentsJson: string): Promise<string>;
5
+ /** Run a portable content preset on an EmDash document. */
6
+ export declare function evaluateContent(documentJson: string, presetName: string, sourcesJson?: string | null, evidenceJson?: string | null, extensionsJson?: string | null, linkObservationsJson?: string | null): Promise<string>;
7
+ /** Project the exact document and ordered link occurrences for an external observer. */
8
+ export declare function projectLinkDestinations(documentJson: string): Promise<string>;
9
+ /** Return the exact input supplied to extension hosts. Contains content. */
10
+ export declare function projectContentInput(documentJson: string, evidenceJson?: string | null): Promise<string>;
11
+ /** Run a portable content preset over a complete EmDash collection. */
12
+ export declare function evaluateContentCollection(documentsJson: string, presetName: string, sourcesJson?: string | null): Promise<string>;
5
13
  //# sourceMappingURL=wasm-init.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wasm-init.d.ts","sourceRoot":"","sources":["../src/wasm-init.ts"],"names":[],"mappings":"AA0GA,wBAAsB,iBAAiB,CACrC,aAAa,EAAE,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;AACxF,wBAAsB,uBAAuB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAGnF;AAED,4EAA4E;AAC5E,wBAAsB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAG7G;AAED,uEAAuE;AACvE,wBAAsB,yBAAyB,CAC7C,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAC1B,OAAO,CAAC,MAAM,CAAC,CAGjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeptus/aexeo-emdash",
3
- "version": "0.8.19",
3
+ "version": "0.9.1",
4
4
  "description": "Aexeo SEO/GEO content evaluator as an emdash plugin",
5
5
  "license": "MIT",
6
6
  "author": "Aeptus",
@@ -31,6 +31,11 @@
31
31
  "import": "./dist/index.js",
32
32
  "default": "./dist/index.js"
33
33
  },
34
+ "./content": {
35
+ "types": "./dist/content.d.ts",
36
+ "import": "./dist/content.js",
37
+ "default": "./dist/content.js"
38
+ },
34
39
  "./configured": {
35
40
  "types": "./dist/configured.d.ts",
36
41
  "import": "./dist/configured.js",
@@ -63,13 +68,14 @@
63
68
  "typecheck": "npm run sync-version && npm run typecheck:src && npm run typecheck:tests",
64
69
  "typecheck:src": "tsc --noEmit",
65
70
  "typecheck:tests": "tsc -p tsconfig.test.json",
66
- "test": "vitest run",
71
+ "test": "node scripts/check-native-families.mjs && vitest run",
72
+ "test:wasm": "node scripts/test-content-collection-wasm.mjs && node scripts/test-save-evaluation-wasm.mjs",
67
73
  "prepublishOnly": "npm run build"
68
74
  },
69
75
  "peerDependencies": {
70
76
  "@emdash-cms/core": "*",
71
77
  "@emdash-cms/plugin-types": "*",
72
- "emdash": ">=0.41.0 <0.42.0",
78
+ "emdash": "^1.2.0",
73
79
  "react": "^18.0.0 || ^19.0.0"
74
80
  },
75
81
  "peerDependenciesMeta": {
@@ -87,14 +93,28 @@
87
93
  }
88
94
  },
89
95
  "devDependencies": {
90
- "@types/node": "^22.0.0",
96
+ "@emdash-cms/plugin-test": "^0.2.11",
97
+ "@types/node": "^22.20.5",
91
98
  "@types/react": "^19.2.14",
92
- "@emdash-cms/plugin-test": "^0.2.4",
93
- "emdash": "^0.41.0",
99
+ "emdash": "^1.2.0",
94
100
  "esbuild": "^0.28.0",
95
101
  "react": "^19.2.5",
96
- "typescript": "^5.6.0",
102
+ "typescript": "^7.0.2",
97
103
  "vite": "^8.0.0",
98
- "vitest": "^4.1.0"
104
+ "vitest": "^4.1.12"
105
+ },
106
+ "overrides": {
107
+ "@emdash-cms/plugin-types": {
108
+ "zod": "4.6.7"
109
+ },
110
+ "emdash": {
111
+ "zod": "4.6.7"
112
+ },
113
+ "@emdash-cms/auth": {
114
+ "zod": "4.6.7"
115
+ },
116
+ "@emdash-cms/plugin-cli": {
117
+ "zod": "4.6.7"
118
+ }
99
119
  }
100
120
  }
@@ -1,6 +1,17 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
 
4
+ /**
5
+ * Evaluate one EmDash document using named TOML preset sources. The source map
6
+ * is JSON: {"preset-name": "TOML text"}; built-ins are available by default.
7
+ */
8
+ export function evaluateContent(document_json: string, preset_name: string, sources_json?: string | null, evidence_json?: string | null, extensions_json?: string | null, link_observations_json?: string | null): string;
9
+
10
+ /**
11
+ * Evaluate collection-scoped gates on a complete set of EmDash documents.
12
+ */
13
+ export function evaluateContentCollection(documents_json: string, preset_name: string, sources_json?: string | null): string;
14
+
4
15
  export function evaluateDocuments(documents_json: string, config_json?: string | null): string;
5
16
 
6
17
  /**
@@ -10,6 +21,17 @@ export function evaluateDocuments(documents_json: string, config_json?: string |
10
21
  */
11
22
  export function generateFactsPrompt(documents_json: string): string;
12
23
 
24
+ /**
25
+ * Return the exact projected input that external extensions must bind to.
26
+ */
27
+ export function projectContentInput(document_json: string, evidence_json?: string | null): string;
28
+
29
+ /**
30
+ * Project the exact snapshot and ordered link occurrences for an external observer.
31
+ * Returns JSON null when the adapter cannot supply complete link destinations.
32
+ */
33
+ export function projectLinkDestinations(document_json: string): string;
34
+
13
35
  export function scoreIntelligence(documents_json: string, manifest_json?: string | null): string;
14
36
 
15
37
  /**
@@ -5,5 +5,5 @@ import { __wbg_set_wasm } from "./aexeo_emdash_bridge_bg.js";
5
5
  __wbg_set_wasm(wasm);
6
6
  wasm.__wbindgen_start();
7
7
  export {
8
- evaluateDocuments, generateFactsPrompt, scoreIntelligence, validateFactsManifest
8
+ evaluateContent, evaluateContentCollection, evaluateDocuments, generateFactsPrompt, projectContentInput, projectLinkDestinations, scoreIntelligence, validateFactsManifest
9
9
  } from "./aexeo_emdash_bridge_bg.js";
@@ -11,6 +11,21 @@
11
11
  // sites by name. See scripts/build-wasm.sh for why this file is
12
12
  // hand-maintained: wasm-bindgen does not generate it for our target.
13
13
  export const __wbg_set_wasm: (wasm: WebAssembly.Exports) => void;
14
+ export const evaluateContent: (
15
+ document_json: string,
16
+ preset_name: string,
17
+ sources_json?: string | null,
18
+ evidence_json?: string | null,
19
+ extensions_json?: string | null,
20
+ link_observations_json?: string | null,
21
+ ) => string;
22
+ export const projectLinkDestinations: (document_json: string) => string;
23
+ export const projectContentInput: (document_json: string, evidence_json?: string | null) => string;
24
+ export const evaluateContentCollection: (
25
+ documents_json: string,
26
+ preset_name: string,
27
+ sources_json?: string | null,
28
+ ) => string;
14
29
  export const evaluateDocuments: (
15
30
  documents_json: string,
16
31
  config_json?: string | null,
@@ -1,3 +1,77 @@
1
+ /**
2
+ * Evaluate one EmDash document using named TOML preset sources. The source map
3
+ * is JSON: {"preset-name": "TOML text"}; built-ins are available by default.
4
+ * @param {string} document_json
5
+ * @param {string} preset_name
6
+ * @param {string | null} [sources_json]
7
+ * @param {string | null} [evidence_json]
8
+ * @param {string | null} [extensions_json]
9
+ * @param {string | null} [link_observations_json]
10
+ * @returns {string}
11
+ */
12
+ export function evaluateContent(document_json, preset_name, sources_json, evidence_json, extensions_json, link_observations_json) {
13
+ let deferred8_0;
14
+ let deferred8_1;
15
+ try {
16
+ const ptr0 = passStringToWasm0(document_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
17
+ const len0 = WASM_VECTOR_LEN;
18
+ const ptr1 = passStringToWasm0(preset_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
19
+ const len1 = WASM_VECTOR_LEN;
20
+ var ptr2 = isLikeNone(sources_json) ? 0 : passStringToWasm0(sources_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
21
+ var len2 = WASM_VECTOR_LEN;
22
+ var ptr3 = isLikeNone(evidence_json) ? 0 : passStringToWasm0(evidence_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
23
+ var len3 = WASM_VECTOR_LEN;
24
+ var ptr4 = isLikeNone(extensions_json) ? 0 : passStringToWasm0(extensions_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
25
+ var len4 = WASM_VECTOR_LEN;
26
+ var ptr5 = isLikeNone(link_observations_json) ? 0 : passStringToWasm0(link_observations_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
27
+ var len5 = WASM_VECTOR_LEN;
28
+ const ret = wasm.evaluateContent(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, ptr5, len5);
29
+ var ptr7 = ret[0];
30
+ var len7 = ret[1];
31
+ if (ret[3]) {
32
+ ptr7 = 0; len7 = 0;
33
+ throw takeFromExternrefTable0(ret[2]);
34
+ }
35
+ deferred8_0 = ptr7;
36
+ deferred8_1 = len7;
37
+ return getStringFromWasm0(ptr7, len7);
38
+ } finally {
39
+ wasm.__wbindgen_free(deferred8_0, deferred8_1, 1);
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Evaluate collection-scoped gates on a complete set of EmDash documents.
45
+ * @param {string} documents_json
46
+ * @param {string} preset_name
47
+ * @param {string | null} [sources_json]
48
+ * @returns {string}
49
+ */
50
+ export function evaluateContentCollection(documents_json, preset_name, sources_json) {
51
+ let deferred5_0;
52
+ let deferred5_1;
53
+ try {
54
+ const ptr0 = passStringToWasm0(documents_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
55
+ const len0 = WASM_VECTOR_LEN;
56
+ const ptr1 = passStringToWasm0(preset_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
57
+ const len1 = WASM_VECTOR_LEN;
58
+ var ptr2 = isLikeNone(sources_json) ? 0 : passStringToWasm0(sources_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
59
+ var len2 = WASM_VECTOR_LEN;
60
+ const ret = wasm.evaluateContentCollection(ptr0, len0, ptr1, len1, ptr2, len2);
61
+ var ptr4 = ret[0];
62
+ var len4 = ret[1];
63
+ if (ret[3]) {
64
+ ptr4 = 0; len4 = 0;
65
+ throw takeFromExternrefTable0(ret[2]);
66
+ }
67
+ deferred5_0 = ptr4;
68
+ deferred5_1 = len4;
69
+ return getStringFromWasm0(ptr4, len4);
70
+ } finally {
71
+ wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
72
+ }
73
+ }
74
+
1
75
  /**
2
76
  * @param {string} documents_json
3
77
  * @param {string | null} [config_json]
@@ -54,6 +128,62 @@ export function generateFactsPrompt(documents_json) {
54
128
  }
55
129
  }
56
130
 
131
+ /**
132
+ * Return the exact projected input that external extensions must bind to.
133
+ * @param {string} document_json
134
+ * @param {string | null} [evidence_json]
135
+ * @returns {string}
136
+ */
137
+ export function projectContentInput(document_json, evidence_json) {
138
+ let deferred4_0;
139
+ let deferred4_1;
140
+ try {
141
+ const ptr0 = passStringToWasm0(document_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
142
+ const len0 = WASM_VECTOR_LEN;
143
+ var ptr1 = isLikeNone(evidence_json) ? 0 : passStringToWasm0(evidence_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
144
+ var len1 = WASM_VECTOR_LEN;
145
+ const ret = wasm.projectContentInput(ptr0, len0, ptr1, len1);
146
+ var ptr3 = ret[0];
147
+ var len3 = ret[1];
148
+ if (ret[3]) {
149
+ ptr3 = 0; len3 = 0;
150
+ throw takeFromExternrefTable0(ret[2]);
151
+ }
152
+ deferred4_0 = ptr3;
153
+ deferred4_1 = len3;
154
+ return getStringFromWasm0(ptr3, len3);
155
+ } finally {
156
+ wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Project the exact snapshot and ordered link occurrences for an external observer.
162
+ * Returns JSON null when the adapter cannot supply complete link destinations.
163
+ * @param {string} document_json
164
+ * @returns {string}
165
+ */
166
+ export function projectLinkDestinations(document_json) {
167
+ let deferred3_0;
168
+ let deferred3_1;
169
+ try {
170
+ const ptr0 = passStringToWasm0(document_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
171
+ const len0 = WASM_VECTOR_LEN;
172
+ const ret = wasm.projectLinkDestinations(ptr0, len0);
173
+ var ptr2 = ret[0];
174
+ var len2 = ret[1];
175
+ if (ret[3]) {
176
+ ptr2 = 0; len2 = 0;
177
+ throw takeFromExternrefTable0(ret[2]);
178
+ }
179
+ deferred3_0 = ptr2;
180
+ deferred3_1 = len2;
181
+ return getStringFromWasm0(ptr2, len2);
182
+ } finally {
183
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
184
+ }
185
+ }
186
+
57
187
  /**
58
188
  * @param {string} documents_json
59
189
  * @param {string | null} [manifest_json]
Binary file
@@ -1,8 +1,12 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const evaluateContent: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => [number, number, number, number];
5
+ export const evaluateContentCollection: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
4
6
  export const evaluateDocuments: (a: number, b: number, c: number, d: number) => [number, number, number, number];
5
7
  export const generateFactsPrompt: (a: number, b: number) => [number, number, number, number];
8
+ export const projectContentInput: (a: number, b: number, c: number, d: number) => [number, number, number, number];
9
+ export const projectLinkDestinations: (a: number, b: number) => [number, number, number, number];
6
10
  export const scoreIntelligence: (a: number, b: number, c: number, d: number) => [number, number, number, number];
7
11
  export const validateFactsManifest: (a: number, b: number, c: number, d: number) => [number, number, number, number];
8
12
  export const __wbindgen_free: (a: number, b: number, c: number) => void;