@kortexya/reasoninglayer 1.6.0 → 1.7.0

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/index.cjs CHANGED
@@ -7,7 +7,7 @@ var __export = (target, all) => {
7
7
  };
8
8
 
9
9
  // src/config.ts
10
- var SDK_VERSION = "1.6.0";
10
+ var SDK_VERSION = "1.7.0";
11
11
  function resolveConfig(config) {
12
12
  if (!config.baseUrl) {
13
13
  throw new Error("ClientConfig.baseUrl is required");
@@ -22325,10 +22325,15 @@ function DerivationSummaryDtoFromApiToFront(dto) {
22325
22325
  };
22326
22326
  }
22327
22327
  function SourceExcerptDtoFromApiToFront(dto) {
22328
+ const wire = dto;
22328
22329
  return {
22329
- concept: dto.concept,
22330
- text: dto.text,
22331
- document: dto.document ?? void 0
22330
+ termId: wire.term_id,
22331
+ sortName: wire.sort_name,
22332
+ featureName: wire.feature_name,
22333
+ value: wire.value,
22334
+ provenanceType: wire.provenance_type ?? void 0,
22335
+ qualityScore: wire.quality_score ?? void 0,
22336
+ sourceDocument: wire.source_document ?? void 0
22332
22337
  };
22333
22338
  }
22334
22339
  function ClaimAnnotationDtoFromApiToFront(dto) {
@@ -22389,7 +22394,11 @@ function TurnDtoFromApiToFront(dto) {
22389
22394
  content: dto.content,
22390
22395
  timestamp: dto.timestamp,
22391
22396
  intent: dto.intent ?? void 0,
22392
- osfql: dto.osfql ?? void 0
22397
+ osfql: dto.osfql ?? void 0,
22398
+ // Generated contract types this as `any[]` — the wire shape is ClaimAnnotationDto.
22399
+ claimAnnotations: dto.claim_annotations?.map(
22400
+ ClaimAnnotationDtoFromApiToFront
22401
+ )
22393
22402
  };
22394
22403
  }
22395
22404
  function ConversationSummaryDtoFromApiToFront(dto) {