@kortexya/reasoninglayer 1.7.0 → 1.8.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.
- package/dist/index.cjs +297 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +481 -18
- package/dist/index.d.ts +481 -18
- package/dist/index.js +296 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var __export = (target, all) => {
|
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
// src/config.ts
|
|
8
|
-
var SDK_VERSION = "1.
|
|
8
|
+
var SDK_VERSION = "1.8.1";
|
|
9
9
|
function resolveConfig(config) {
|
|
10
10
|
if (!config.baseUrl) {
|
|
11
11
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -4354,9 +4354,10 @@ var Reviews = class {
|
|
|
4354
4354
|
* @request GET:/api/v1/reviews/pending
|
|
4355
4355
|
* @secure
|
|
4356
4356
|
*/
|
|
4357
|
-
listPendingReviews = (params = {}) => this.http.request({
|
|
4357
|
+
listPendingReviews = (query, params = {}) => this.http.request({
|
|
4358
4358
|
path: `/api/v1/reviews/pending`,
|
|
4359
4359
|
method: "GET",
|
|
4360
|
+
query,
|
|
4360
4361
|
secure: true,
|
|
4361
4362
|
format: "json",
|
|
4362
4363
|
...params
|
|
@@ -5020,6 +5021,31 @@ var Extraction = class {
|
|
|
5020
5021
|
});
|
|
5021
5022
|
};
|
|
5022
5023
|
|
|
5024
|
+
// src/api-spec/generated/DocumentAnalysis.ts
|
|
5025
|
+
var DocumentAnalysis = class {
|
|
5026
|
+
http;
|
|
5027
|
+
constructor(http) {
|
|
5028
|
+
this.http = http;
|
|
5029
|
+
}
|
|
5030
|
+
/**
|
|
5031
|
+
* No description
|
|
5032
|
+
*
|
|
5033
|
+
* @tags document-analysis
|
|
5034
|
+
* @name AnalyzeDocuments
|
|
5035
|
+
* @request POST:/api/v1/documents/analyze
|
|
5036
|
+
* @secure
|
|
5037
|
+
*/
|
|
5038
|
+
analyzeDocuments = (data, params = {}) => this.http.request({
|
|
5039
|
+
path: `/api/v1/documents/analyze`,
|
|
5040
|
+
method: "POST",
|
|
5041
|
+
body: data,
|
|
5042
|
+
secure: true,
|
|
5043
|
+
type: "application/json" /* Json */,
|
|
5044
|
+
format: "json",
|
|
5045
|
+
...params
|
|
5046
|
+
});
|
|
5047
|
+
};
|
|
5048
|
+
|
|
5023
5049
|
// src/api-spec/generated/Oversight.ts
|
|
5024
5050
|
var Oversight = class {
|
|
5025
5051
|
http;
|
|
@@ -10245,6 +10271,8 @@ function ProofDtoFromApiToFront(dto) {
|
|
|
10245
10271
|
return {
|
|
10246
10272
|
goalTermId: dto.goal_term_id,
|
|
10247
10273
|
ruleTermId: dto.rule_term_id,
|
|
10274
|
+
goalDisplay: dto.goal_display,
|
|
10275
|
+
ruleLabel: dto.rule_label,
|
|
10248
10276
|
substitution: HomoiconicSubstitutionDtoFromApiToFront(dto.substitution),
|
|
10249
10277
|
subproofs: dto.subproofs?.map(ProofDtoFromApiToFront),
|
|
10250
10278
|
certainty: dto.certainty
|
|
@@ -11780,6 +11808,30 @@ function MarkMessagesReadResponseFromApiToFront(dto) {
|
|
|
11780
11808
|
message: dto.message
|
|
11781
11809
|
};
|
|
11782
11810
|
}
|
|
11811
|
+
function GetInboxRequestFromFrontToApi(model) {
|
|
11812
|
+
return {
|
|
11813
|
+
agent_id: model.agentId,
|
|
11814
|
+
tenant_id: model.tenantId,
|
|
11815
|
+
include_read: model.includeRead
|
|
11816
|
+
};
|
|
11817
|
+
}
|
|
11818
|
+
function InboxMessageDtoFromApiToFront(dto) {
|
|
11819
|
+
return {
|
|
11820
|
+
messageId: dto.message_id,
|
|
11821
|
+
fromAgentId: dto.from_agent_id,
|
|
11822
|
+
content: dto.content,
|
|
11823
|
+
priority: dto.priority,
|
|
11824
|
+
timestamp: dto.timestamp,
|
|
11825
|
+
read: dto.read
|
|
11826
|
+
};
|
|
11827
|
+
}
|
|
11828
|
+
function GetInboxResponseFromApiToFront(dto) {
|
|
11829
|
+
return {
|
|
11830
|
+
messages: dto.messages.map(InboxMessageDtoFromApiToFront),
|
|
11831
|
+
unreadCount: dto.unread_count,
|
|
11832
|
+
totalCount: dto.total_count
|
|
11833
|
+
};
|
|
11834
|
+
}
|
|
11783
11835
|
function ProvideFeedbackRequestFromFrontToApi(model) {
|
|
11784
11836
|
return {
|
|
11785
11837
|
agent_id: model.agentId,
|
|
@@ -11942,6 +11994,25 @@ var CognitiveClient = class {
|
|
|
11942
11994
|
this.ws = ws ?? null;
|
|
11943
11995
|
}
|
|
11944
11996
|
// --- Agent CRUD ---
|
|
11997
|
+
/**
|
|
11998
|
+
* List all of the tenant's cognitive agents.
|
|
11999
|
+
*
|
|
12000
|
+
* @returns Every agent's basic BDI state (beliefs, goals, pending status).
|
|
12001
|
+
*
|
|
12002
|
+
* @remarks
|
|
12003
|
+
* Uses GET `/api/v1/cognitive/agents`. Lazy-hydrates from the database on the
|
|
12004
|
+
* backend, so agents created by another client/process are included — not just
|
|
12005
|
+
* those created in the current session. Tenant is identified by the
|
|
12006
|
+
* `X-Tenant-Id` header (set automatically).
|
|
12007
|
+
*/
|
|
12008
|
+
async listAgents() {
|
|
12009
|
+
const response = await this.api.http.request({
|
|
12010
|
+
path: `/api/v1/cognitive/agents`,
|
|
12011
|
+
method: "GET",
|
|
12012
|
+
format: "json"
|
|
12013
|
+
});
|
|
12014
|
+
return response.data.agents.map(AgentStateDtoFromApiToFront);
|
|
12015
|
+
}
|
|
11945
12016
|
/**
|
|
11946
12017
|
* Create a new cognitive agent.
|
|
11947
12018
|
*
|
|
@@ -12169,6 +12240,20 @@ var CognitiveClient = class {
|
|
|
12169
12240
|
const response = await this.messaging.markMessagesRead(MarkMessagesReadRequestFromFrontToApi({ ...request, tenantId: this.tenantId }));
|
|
12170
12241
|
return MarkMessagesReadResponseFromApiToFront(response.data);
|
|
12171
12242
|
}
|
|
12243
|
+
/**
|
|
12244
|
+
* Get an agent's inbox (messages addressed to it from other agents).
|
|
12245
|
+
*
|
|
12246
|
+
* @param request - Recipient agent ID and whether to include read messages.
|
|
12247
|
+
* @returns The agent's messages with unread/total counts.
|
|
12248
|
+
*
|
|
12249
|
+
* @remarks
|
|
12250
|
+
* Uses POST `/api/v1/cognitive/agents/messages/inbox`. The inbox is per-agent;
|
|
12251
|
+
* aggregate across a roster by calling this for each agent.
|
|
12252
|
+
*/
|
|
12253
|
+
async getInbox(request) {
|
|
12254
|
+
const response = await this.messaging.getInbox(GetInboxRequestFromFrontToApi({ ...request, tenantId: this.tenantId }));
|
|
12255
|
+
return GetInboxResponseFromApiToFront(response.data);
|
|
12256
|
+
}
|
|
12172
12257
|
// --- Feedback ---
|
|
12173
12258
|
/**
|
|
12174
12259
|
* Provide feedback on an agent result.
|
|
@@ -15338,9 +15423,14 @@ function RejectEntityRequestFromFrontToApi(model) {
|
|
|
15338
15423
|
var ReviewsClient = class {
|
|
15339
15424
|
/** @internal */
|
|
15340
15425
|
api;
|
|
15426
|
+
/** @internal — tenant scope; forwarded as the `tenant_id` query the
|
|
15427
|
+
* pending-reviews / summary endpoints require (the `X-Tenant-Id` header
|
|
15428
|
+
* alone is not sufficient for these GET routes). */
|
|
15429
|
+
tenantId;
|
|
15341
15430
|
/** @internal */
|
|
15342
|
-
constructor(api) {
|
|
15431
|
+
constructor(api, tenantId) {
|
|
15343
15432
|
this.api = api;
|
|
15433
|
+
this.tenantId = tenantId;
|
|
15344
15434
|
}
|
|
15345
15435
|
/**
|
|
15346
15436
|
* Add an entity to the pending review queue.
|
|
@@ -15413,12 +15503,16 @@ var ReviewsClient = class {
|
|
|
15413
15503
|
return response.data;
|
|
15414
15504
|
}
|
|
15415
15505
|
/**
|
|
15416
|
-
* List all pending reviews.
|
|
15506
|
+
* List all pending reviews for the configured tenant.
|
|
15507
|
+
*
|
|
15508
|
+
* `GET /api/v1/reviews/pending` requires `tenant_id` as a query parameter
|
|
15509
|
+
* (the `X-Tenant-Id` header is not honoured for this route), so we forward
|
|
15510
|
+
* the client's tenant scope explicitly — omitting it yields a 400.
|
|
15417
15511
|
*
|
|
15418
15512
|
* @returns List of pending review entries.
|
|
15419
15513
|
*/
|
|
15420
15514
|
async listPending() {
|
|
15421
|
-
const response = await this.api.listPendingReviews();
|
|
15515
|
+
const response = await this.api.listPendingReviews({ tenant_id: this.tenantId });
|
|
15422
15516
|
return response.data;
|
|
15423
15517
|
}
|
|
15424
15518
|
/**
|
|
@@ -18417,6 +18511,92 @@ var ExtractClient = class {
|
|
|
18417
18511
|
}
|
|
18418
18512
|
};
|
|
18419
18513
|
|
|
18514
|
+
// src/normalizers/documents.ts
|
|
18515
|
+
function AnalyzeDocumentsRequestFromFrontToApi(model) {
|
|
18516
|
+
return {
|
|
18517
|
+
documents: model.documents.map((d) => ({
|
|
18518
|
+
name: d.name,
|
|
18519
|
+
content: d.content,
|
|
18520
|
+
type_hint: d.typeHint ?? null
|
|
18521
|
+
})),
|
|
18522
|
+
rule_sort_filter: model.ruleSortFilter ?? [],
|
|
18523
|
+
include_proof_traces: model.includeProofTraces ?? true,
|
|
18524
|
+
include_fix_suggestions: model.includeFixSuggestions ?? true,
|
|
18525
|
+
max_rules: model.maxRules ?? 0
|
|
18526
|
+
};
|
|
18527
|
+
}
|
|
18528
|
+
function mapProofStep(s) {
|
|
18529
|
+
return {
|
|
18530
|
+
stepType: s.step_type ?? "",
|
|
18531
|
+
description: s.description ?? "",
|
|
18532
|
+
confidence: s.confidence ?? 0,
|
|
18533
|
+
ruleUsed: s.rule_used ?? null
|
|
18534
|
+
};
|
|
18535
|
+
}
|
|
18536
|
+
function mapEntity(e) {
|
|
18537
|
+
return {
|
|
18538
|
+
sortName: e.sort_name ?? "",
|
|
18539
|
+
features: e.features ?? {},
|
|
18540
|
+
confidence: e.confidence ?? 0,
|
|
18541
|
+
sourceText: e.source_text ?? null
|
|
18542
|
+
};
|
|
18543
|
+
}
|
|
18544
|
+
function mapRuleResult(r) {
|
|
18545
|
+
return {
|
|
18546
|
+
ruleId: r.rule_id ?? "",
|
|
18547
|
+
ruleDescription: r.rule_description ?? "",
|
|
18548
|
+
ruleSort: r.rule_sort ?? "",
|
|
18549
|
+
severity: r.severity ?? "informational",
|
|
18550
|
+
status: r.status ?? "inconclusive",
|
|
18551
|
+
confidence: r.confidence ?? 0,
|
|
18552
|
+
evidence: r.evidence ?? [],
|
|
18553
|
+
proofTrace: r.proof_trace ? r.proof_trace.map(mapProofStep) : null,
|
|
18554
|
+
fixSuggestion: r.fix_suggestion ?? null,
|
|
18555
|
+
relevantExcerpt: r.relevant_excerpt ?? null
|
|
18556
|
+
};
|
|
18557
|
+
}
|
|
18558
|
+
function mapDocument(d) {
|
|
18559
|
+
return {
|
|
18560
|
+
documentName: d.document_name ?? "",
|
|
18561
|
+
detectedType: d.detected_type ?? null,
|
|
18562
|
+
complianceScore: d.compliance_score ?? 0,
|
|
18563
|
+
ruleResults: (d.rule_results ?? []).map(mapRuleResult),
|
|
18564
|
+
extractedEntities: (d.extracted_entities ?? []).map(mapEntity),
|
|
18565
|
+
summary: d.summary ?? ""
|
|
18566
|
+
};
|
|
18567
|
+
}
|
|
18568
|
+
function DocumentAnalysisResponseFromApiToFront(dto) {
|
|
18569
|
+
return {
|
|
18570
|
+
documents: dto.documents.map(mapDocument),
|
|
18571
|
+
overallCompliance: dto.overall_compliance,
|
|
18572
|
+
totalRulesEvaluated: dto.total_rules_evaluated,
|
|
18573
|
+
totalRulesPassed: dto.total_rules_passed,
|
|
18574
|
+
totalRulesFailed: dto.total_rules_failed
|
|
18575
|
+
};
|
|
18576
|
+
}
|
|
18577
|
+
|
|
18578
|
+
// src/resources/documents.ts
|
|
18579
|
+
var DocumentsClient = class {
|
|
18580
|
+
/** @internal */
|
|
18581
|
+
api;
|
|
18582
|
+
/** @internal */
|
|
18583
|
+
constructor(api) {
|
|
18584
|
+
this.api = api;
|
|
18585
|
+
}
|
|
18586
|
+
/**
|
|
18587
|
+
* Analyse documents against the knowledge base's compliance rules.
|
|
18588
|
+
*
|
|
18589
|
+
* @param request - Documents (name + content) plus optional rule-sort focus.
|
|
18590
|
+
* @returns Per-document rule results, scores, entities and proof traces.
|
|
18591
|
+
*/
|
|
18592
|
+
async analyze(request) {
|
|
18593
|
+
const response = await this.api.analyzeDocuments(
|
|
18594
|
+
AnalyzeDocumentsRequestFromFrontToApi(request)
|
|
18595
|
+
);
|
|
18596
|
+
return DocumentAnalysisResponseFromApiToFront(response.data);
|
|
18597
|
+
}
|
|
18598
|
+
};
|
|
18599
|
+
|
|
18420
18600
|
// src/normalizers/oversight.ts
|
|
18421
18601
|
function TrajectoryStepDtoFromFrontToApi(model) {
|
|
18422
18602
|
return {
|
|
@@ -22366,6 +22546,42 @@ function UICustomizationDtoFromApiToFront(dto) {
|
|
|
22366
22546
|
params: dto.params
|
|
22367
22547
|
};
|
|
22368
22548
|
}
|
|
22549
|
+
function CognitiveStrategyDtoFromApiToFront(dto) {
|
|
22550
|
+
return {
|
|
22551
|
+
mode: dto.mode,
|
|
22552
|
+
strategy: dto.strategy,
|
|
22553
|
+
rlActive: dto.rl_active
|
|
22554
|
+
};
|
|
22555
|
+
}
|
|
22556
|
+
function MatchedEntityDtoFromApiToFront2(dto) {
|
|
22557
|
+
return {
|
|
22558
|
+
name: dto.name,
|
|
22559
|
+
sortName: dto.sort_name,
|
|
22560
|
+
termId: dto.term_id ?? void 0,
|
|
22561
|
+
confidence: dto.confidence,
|
|
22562
|
+
matchReason: dto.match_reason
|
|
22563
|
+
};
|
|
22564
|
+
}
|
|
22565
|
+
function ReasoningStageDtoFromApiToFront(dto) {
|
|
22566
|
+
return {
|
|
22567
|
+
name: dto.name,
|
|
22568
|
+
order: dto.order,
|
|
22569
|
+
kind: dto.kind,
|
|
22570
|
+
sensorPoint: dto.sensor_point ?? void 0,
|
|
22571
|
+
llmUsed: dto.llm_used,
|
|
22572
|
+
confidence: dto.confidence ?? void 0,
|
|
22573
|
+
matchedEntities: dto.matched_entities?.map(MatchedEntityDtoFromApiToFront2) ?? [],
|
|
22574
|
+
osfql: dto.osfql ?? void 0,
|
|
22575
|
+
strategy: dto.strategy ?? void 0,
|
|
22576
|
+
detail: dto.detail ?? void 0
|
|
22577
|
+
};
|
|
22578
|
+
}
|
|
22579
|
+
function ReasoningTraceDtoFromApiToFront(dto) {
|
|
22580
|
+
return {
|
|
22581
|
+
stages: dto.stages.map(ReasoningStageDtoFromApiToFront),
|
|
22582
|
+
llmCalls: dto.llm_calls
|
|
22583
|
+
};
|
|
22584
|
+
}
|
|
22369
22585
|
function ConversationMessageResponseFromApiToFront(dto) {
|
|
22370
22586
|
return {
|
|
22371
22587
|
assistantMessage: dto.assistant_message,
|
|
@@ -22381,6 +22597,8 @@ function ConversationMessageResponseFromApiToFront(dto) {
|
|
|
22381
22597
|
claimAnnotations: dto.claim_annotations?.map(ClaimAnnotationDtoFromApiToFront) ?? void 0,
|
|
22382
22598
|
proofTrace: dto.proof_trace ? ProofTraceNodeDtoFromApiToFront(dto.proof_trace) : void 0,
|
|
22383
22599
|
uiCustomizations: dto.ui_customizations?.map(UICustomizationDtoFromApiToFront) ?? void 0,
|
|
22600
|
+
cognitiveStrategy: dto.cognitive_strategy ? CognitiveStrategyDtoFromApiToFront(dto.cognitive_strategy) : void 0,
|
|
22601
|
+
reasoningTrace: dto.reasoning_trace ? ReasoningTraceDtoFromApiToFront(dto.reasoning_trace) : void 0,
|
|
22384
22602
|
validityCertificateHash: dto.validity_certificate_hash ?? void 0,
|
|
22385
22603
|
validityCertificateId: dto.validity_certificate_id ?? void 0
|
|
22386
22604
|
};
|
|
@@ -22595,6 +22813,64 @@ var ConversationClient = class {
|
|
|
22595
22813
|
}
|
|
22596
22814
|
};
|
|
22597
22815
|
|
|
22816
|
+
// src/normalizers/verification.ts
|
|
22817
|
+
function CertificateDetailFromApiToFront(dto) {
|
|
22818
|
+
const wire = dto;
|
|
22819
|
+
const verdict = wire.verdict ?? {};
|
|
22820
|
+
const verdictTag = Object.keys(verdict)[0] ?? "Unknown";
|
|
22821
|
+
const residuated = verdict["Residuated"];
|
|
22822
|
+
return {
|
|
22823
|
+
certificateId: wire.certificate_id,
|
|
22824
|
+
propertyLabel: wire.property_label,
|
|
22825
|
+
method: wire.method ?? void 0,
|
|
22826
|
+
contentSha256Hex: wire.content_sha256_hex,
|
|
22827
|
+
verdict: verdictTag,
|
|
22828
|
+
verdictPartial: typeof residuated?.partial === "number" ? residuated.partial : void 0,
|
|
22829
|
+
ruleProgramHash: wire.rule_program_hash ?? void 0,
|
|
22830
|
+
ruleRevision: wire.rule_revision ?? void 0
|
|
22831
|
+
};
|
|
22832
|
+
}
|
|
22833
|
+
|
|
22834
|
+
// src/resources/verification.ts
|
|
22835
|
+
var VerificationClient = class {
|
|
22836
|
+
/** @internal */
|
|
22837
|
+
http;
|
|
22838
|
+
/** @internal */
|
|
22839
|
+
constructor(http) {
|
|
22840
|
+
this.http = http;
|
|
22841
|
+
}
|
|
22842
|
+
/**
|
|
22843
|
+
* Fetch a validity certificate by id.
|
|
22844
|
+
*
|
|
22845
|
+
* @param certificateId - The certificate id (an answer's `validityCertificateId`).
|
|
22846
|
+
* @returns The certificate's verdict, content hash, proof method and rule-program pin.
|
|
22847
|
+
* @throws {ApiError} If the certificate is unknown (`404`) or the request fails.
|
|
22848
|
+
*
|
|
22849
|
+
* @remarks
|
|
22850
|
+
* A `404` is expected when the id is a prose-provenance fallback certificate
|
|
22851
|
+
* (not persisted in the verification store) rather than an OSFQL-soundness one —
|
|
22852
|
+
* treat it as "no per-answer certificate available".
|
|
22853
|
+
*
|
|
22854
|
+
* @example
|
|
22855
|
+
* ```typescript
|
|
22856
|
+
* const answer = await client.conversation.sendMessage({ message, generateCertificate: true });
|
|
22857
|
+
* if (answer.validityCertificateId) {
|
|
22858
|
+
* const cert = await client.verification.getCertificate(answer.validityCertificateId);
|
|
22859
|
+
* console.log(cert.verdict, cert.contentSha256Hex);
|
|
22860
|
+
* }
|
|
22861
|
+
* ```
|
|
22862
|
+
*/
|
|
22863
|
+
async getCertificate(certificateId) {
|
|
22864
|
+
const response = await this.http.request({
|
|
22865
|
+
path: `/api/v1/verification/certificates/${encodeURIComponent(certificateId)}`,
|
|
22866
|
+
method: "GET",
|
|
22867
|
+
secure: true,
|
|
22868
|
+
format: "json"
|
|
22869
|
+
});
|
|
22870
|
+
return CertificateDetailFromApiToFront(response.data);
|
|
22871
|
+
}
|
|
22872
|
+
};
|
|
22873
|
+
|
|
22598
22874
|
// src/resources/research.ts
|
|
22599
22875
|
var ResearchClient = class {
|
|
22600
22876
|
/** @internal */
|
|
@@ -24950,6 +25226,8 @@ var ReasoningLayerClient = class {
|
|
|
24950
25226
|
discovery;
|
|
24951
25227
|
/** Entity extraction operations. */
|
|
24952
25228
|
extract;
|
|
25229
|
+
/** Document compliance analysis (check document content against KB rules). */
|
|
25230
|
+
documents;
|
|
24953
25231
|
/** FormalJudge oversight operations (safety verification, refinement). */
|
|
24954
25232
|
oversight;
|
|
24955
25233
|
/** Categorical Deep Learning operations (differentiable FC, soft unification, safety). */
|
|
@@ -24990,6 +25268,8 @@ var ReasoningLayerClient = class {
|
|
|
24990
25268
|
osfql;
|
|
24991
25269
|
/** Conversational AI operations (NL → OSFQL with self-correction). */
|
|
24992
25270
|
conversation;
|
|
25271
|
+
/** Validity-certificate lookup (per-answer soundness seals). */
|
|
25272
|
+
verification;
|
|
24993
25273
|
/** Verified scientific research pipeline operations. */
|
|
24994
25274
|
research;
|
|
24995
25275
|
/** Knowledge graph context assembly operations (LLM prompt building). */
|
|
@@ -25171,6 +25451,7 @@ var ReasoningLayerClient = class {
|
|
|
25171
25451
|
const generatedActionReviews = new ActionReviews(generatedHttp);
|
|
25172
25452
|
const generatedDiscovery = new Discovery(generatedHttp);
|
|
25173
25453
|
const generatedExtraction = new Extraction(generatedHttp);
|
|
25454
|
+
const generatedDocumentAnalysis = new DocumentAnalysis(generatedHttp);
|
|
25174
25455
|
const generatedOversight = new Oversight(generatedHttp);
|
|
25175
25456
|
const generatedCdl = new Cdl(generatedHttp);
|
|
25176
25457
|
const generatedPreferences = new Preferences(generatedHttp);
|
|
@@ -25208,7 +25489,7 @@ var ReasoningLayerClient = class {
|
|
|
25208
25489
|
this.execution = new ExecutionClient(generatedExecution);
|
|
25209
25490
|
this.causal = new CausalClient(generatedCausal);
|
|
25210
25491
|
this.ingestion = new IngestionClient(generatedIngestion);
|
|
25211
|
-
this.reviews = new ReviewsClient(generatedReviews);
|
|
25492
|
+
this.reviews = new ReviewsClient(generatedReviews, resolved.tenantId);
|
|
25212
25493
|
this.visualization = new VisualizationClient(generatedVisualization);
|
|
25213
25494
|
this.ilp = new IlpClient(generatedIlp);
|
|
25214
25495
|
this.reasoning = new ReasoningClient(generatedReasoning);
|
|
@@ -25223,6 +25504,7 @@ var ReasoningLayerClient = class {
|
|
|
25223
25504
|
this.actionReviews = new ActionReviewsClient(generatedActionReviews, resolved.tenantId);
|
|
25224
25505
|
this.discovery = new DiscoveryClient(generatedDiscovery);
|
|
25225
25506
|
this.extract = new ExtractClient(generatedExtraction);
|
|
25507
|
+
this.documents = new DocumentsClient(generatedDocumentAnalysis);
|
|
25226
25508
|
this.oversight = new OversightClient(generatedOversight);
|
|
25227
25509
|
this.cdl = new CdlClient(generatedCdl);
|
|
25228
25510
|
this.neuroSymbolic = new NeuroSymbolicClient(generatedNeuroSymbolic);
|
|
@@ -25243,6 +25525,7 @@ var ReasoningLayerClient = class {
|
|
|
25243
25525
|
this.flowNetworks = new FlowNetworksClient(new FlowNetworks(generatedHttp));
|
|
25244
25526
|
this.osfql = new OsfqlClient(generatedOsfql);
|
|
25245
25527
|
this.conversation = new ConversationClient(generatedHttp);
|
|
25528
|
+
this.verification = new VerificationClient(generatedHttp);
|
|
25246
25529
|
this.research = new ResearchClient(generatedHttp);
|
|
25247
25530
|
const generatedContext = new Context(generatedHttp);
|
|
25248
25531
|
const generatedRlTraining = new RlTraining(generatedHttp);
|
|
@@ -25346,6 +25629,9 @@ var discovery_exports = {};
|
|
|
25346
25629
|
// src/types/extract.ts
|
|
25347
25630
|
var extract_exports = {};
|
|
25348
25631
|
|
|
25632
|
+
// src/types/documents.ts
|
|
25633
|
+
var documents_exports = {};
|
|
25634
|
+
|
|
25349
25635
|
// src/types/oversight.ts
|
|
25350
25636
|
var oversight_exports = {};
|
|
25351
25637
|
|
|
@@ -25416,6 +25702,9 @@ var osfql_exports = {};
|
|
|
25416
25702
|
// src/types/conversation.ts
|
|
25417
25703
|
var conversation_exports = {};
|
|
25418
25704
|
|
|
25705
|
+
// src/types/verification.ts
|
|
25706
|
+
var verification_exports = {};
|
|
25707
|
+
|
|
25419
25708
|
// src/types/compliance.ts
|
|
25420
25709
|
var compliance_exports = {};
|
|
25421
25710
|
|
|
@@ -26477,6 +26766,6 @@ function discriminateFeatureValue(value) {
|
|
|
26477
26766
|
);
|
|
26478
26767
|
}
|
|
26479
26768
|
|
|
26480
|
-
export { ANY_ROLE, action_reviews_exports as ActionReviews, actions_exports as Actions, admin_exports as Admin, analysis_exports as Analysis, ApiError, AuthenticationError, BadRequestError, cdl_exports as CDL, causal_exports as Causal, cognitive_exports as Cognitive, collections_exports as Collections, communities_exports as Communities, compliance_exports as Compliance, compliance_markings_exports as ComplianceMarkings, Constraint, ConstraintViolationError, constraints_exports as Constraints, control_exports as Control, conversation_exports as Conversation, discovery_exports as Discovery, execution_exports as Execution, extract_exports as Extract, feasibility_exports as Feasibility, Flow, flow_networks_exports as FlowNetworks, ForbiddenError, functions_exports as Functions, fuzzy_exports as Fuzzy, FuzzyShape, generation_exports as Generation, health_exports as Health, homoiconic_exports as Homoiconic, ilp_exports as ILP, image_extraction_exports as ImageExtraction, inference_exports as Inference, ingestion_exports as Ingestion, IngestionFailedError, IngestionSession, InternalServerError, LP, namespaces_exports as Namespaces, NetworkError, neuro_symbolic_exports as NeuroSymbolic, NotFoundError, ontology_exports as Ontology, ontology_alignment_exports as OntologyAlignment, ontology_bridge_exports as OntologyBridge, ontology_facade_exports as OntologyFacade, operations_exports as Operations, optimize_exports as Optimize, osfql_exports as Osfql, oversight_exports as Oversight, plain_values_exports as PlainValues, preferences_exports as Preferences, proof_engine_exports as ProofEngine, query_exports as Query, rag_exports as RAG, RateLimitError, reasoning_exports as Reasoning, ReasoningLayerClient, ReasoningLayerError, research_exports as Research, reviews_exports as Reviews, row_exports as Row, SDK_VERSION, scenarios_exports as Scenarios, scheduling_exports as Scheduling, solver_exports as Solver, SortBuilder, sorts_exports as Sorts, sources_exports as Sources, spaces_exports as Spaces, statistical_exports as Statistical, synthetic_exports as Synthetic, terms_exports as Terms, TimeoutError, utilities_exports as Utilities, ValidationError, Value, values_exports as Values, visualization_exports as Visualization, WebSocketClient, WebSocketConnection, webhook_actions_exports as WebhookActions, allen, constrained, discriminateFeatureValue, guard, isConstrainedPlainVar, isPsiTermInput, isTaggedValueDto, isUuid, psi, toTaggedFeatures, toTaggedValue, toTermInputDto, toUntaggedFeatures, toUntaggedValue };
|
|
26769
|
+
export { ANY_ROLE, action_reviews_exports as ActionReviews, actions_exports as Actions, admin_exports as Admin, analysis_exports as Analysis, ApiError, AuthenticationError, BadRequestError, cdl_exports as CDL, causal_exports as Causal, cognitive_exports as Cognitive, collections_exports as Collections, communities_exports as Communities, compliance_exports as Compliance, compliance_markings_exports as ComplianceMarkings, Constraint, ConstraintViolationError, constraints_exports as Constraints, control_exports as Control, conversation_exports as Conversation, discovery_exports as Discovery, documents_exports as Documents, execution_exports as Execution, extract_exports as Extract, feasibility_exports as Feasibility, Flow, flow_networks_exports as FlowNetworks, ForbiddenError, functions_exports as Functions, fuzzy_exports as Fuzzy, FuzzyShape, generation_exports as Generation, health_exports as Health, homoiconic_exports as Homoiconic, ilp_exports as ILP, image_extraction_exports as ImageExtraction, inference_exports as Inference, ingestion_exports as Ingestion, IngestionFailedError, IngestionSession, InternalServerError, LP, namespaces_exports as Namespaces, NetworkError, neuro_symbolic_exports as NeuroSymbolic, NotFoundError, ontology_exports as Ontology, ontology_alignment_exports as OntologyAlignment, ontology_bridge_exports as OntologyBridge, ontology_facade_exports as OntologyFacade, operations_exports as Operations, optimize_exports as Optimize, osfql_exports as Osfql, oversight_exports as Oversight, plain_values_exports as PlainValues, preferences_exports as Preferences, proof_engine_exports as ProofEngine, query_exports as Query, rag_exports as RAG, RateLimitError, reasoning_exports as Reasoning, ReasoningLayerClient, ReasoningLayerError, research_exports as Research, reviews_exports as Reviews, row_exports as Row, SDK_VERSION, scenarios_exports as Scenarios, scheduling_exports as Scheduling, solver_exports as Solver, SortBuilder, sorts_exports as Sorts, sources_exports as Sources, spaces_exports as Spaces, statistical_exports as Statistical, synthetic_exports as Synthetic, terms_exports as Terms, TimeoutError, utilities_exports as Utilities, ValidationError, Value, values_exports as Values, verification_exports as Verification, visualization_exports as Visualization, WebSocketClient, WebSocketConnection, webhook_actions_exports as WebhookActions, allen, constrained, discriminateFeatureValue, guard, isConstrainedPlainVar, isPsiTermInput, isTaggedValueDto, isUuid, psi, toTaggedFeatures, toTaggedValue, toTermInputDto, toUntaggedFeatures, toUntaggedValue };
|
|
26481
26770
|
//# sourceMappingURL=index.js.map
|
|
26482
26771
|
//# sourceMappingURL=index.js.map
|