@kortexya/reasoninglayer 0.1.3 → 0.1.5
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/README.md +1 -1
- package/dist/index.cjs +1102 -79
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1881 -17
- package/dist/index.d.ts +1881 -17
- package/dist/index.js +1102 -79
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -94,6 +94,14 @@ interface ErrorResponse {
|
|
|
94
94
|
details?: unknown;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* SDK version — sent as `X-SDK-Version` header on every request.
|
|
99
|
+
*
|
|
100
|
+
* @remarks
|
|
101
|
+
* This is the single source of truth for the version constant.
|
|
102
|
+
* The `scripts/release.sh` script updates this value alongside `package.json`.
|
|
103
|
+
*/
|
|
104
|
+
declare const SDK_VERSION = "0.1.5";
|
|
97
105
|
/**
|
|
98
106
|
* Configuration for the Reasoning Layer client.
|
|
99
107
|
*
|
|
@@ -777,6 +785,124 @@ interface SortSimilarityResponse {
|
|
|
777
785
|
/** Similarity score (0.0 to 1.0). */
|
|
778
786
|
similarity: number;
|
|
779
787
|
}
|
|
788
|
+
/** Request to learn sort similarities from effect features. */
|
|
789
|
+
interface LearnSortSimilaritiesRequest {
|
|
790
|
+
/** Effect feature name to learn similarities from. */
|
|
791
|
+
effect_feature: string;
|
|
792
|
+
/** Minimum number of samples required (default: server-side). */
|
|
793
|
+
min_samples?: number;
|
|
794
|
+
/** Minimum similarity threshold (0.0-1.0). */
|
|
795
|
+
min_similarity?: number;
|
|
796
|
+
}
|
|
797
|
+
/** Response from learning sort similarities. */
|
|
798
|
+
interface LearnSortSimilaritiesResponse {
|
|
799
|
+
/** Effect feature that was analyzed. */
|
|
800
|
+
effect_feature: string;
|
|
801
|
+
/** Number of similarities learned. */
|
|
802
|
+
learned_count: number;
|
|
803
|
+
/** Human-readable message. */
|
|
804
|
+
message: string;
|
|
805
|
+
/** Minimum samples used. */
|
|
806
|
+
min_samples: number;
|
|
807
|
+
/** Minimum similarity threshold used. */
|
|
808
|
+
min_similarity: number;
|
|
809
|
+
}
|
|
810
|
+
/** Provenance information for a learned similarity. */
|
|
811
|
+
interface LearnedSimilarityProvenanceDto {
|
|
812
|
+
/** Confidence in the learned similarity. */
|
|
813
|
+
confidence?: number | null;
|
|
814
|
+
/** Effect feature that was analyzed. */
|
|
815
|
+
effect_feature: string;
|
|
816
|
+
/** Learning method used. */
|
|
817
|
+
method: string;
|
|
818
|
+
/** Number of samples for sort 1. */
|
|
819
|
+
sort1_samples: number;
|
|
820
|
+
/** Number of samples for sort 2. */
|
|
821
|
+
sort2_samples: number;
|
|
822
|
+
/** Source of the similarity. */
|
|
823
|
+
source?: string | null;
|
|
824
|
+
}
|
|
825
|
+
/** Status of a learned similarity (discriminated union by `type`). */
|
|
826
|
+
type LearnedSimilarityStatusDto = {
|
|
827
|
+
type: 'Proposed';
|
|
828
|
+
learned_at: string;
|
|
829
|
+
} | {
|
|
830
|
+
type: 'Approved';
|
|
831
|
+
approved_at: string;
|
|
832
|
+
approved_by: string;
|
|
833
|
+
} | {
|
|
834
|
+
type: 'Rejected';
|
|
835
|
+
rejected_at: string;
|
|
836
|
+
rejected_by: string;
|
|
837
|
+
reason: string;
|
|
838
|
+
} | {
|
|
839
|
+
type: 'Conflicted';
|
|
840
|
+
learned_degree: number;
|
|
841
|
+
expert_degree: number;
|
|
842
|
+
conflict_description: string;
|
|
843
|
+
};
|
|
844
|
+
/** A learned similarity between two sorts. */
|
|
845
|
+
interface LearnedSimilarityDto {
|
|
846
|
+
/** First sort ID (UUID). */
|
|
847
|
+
sort1_id: string;
|
|
848
|
+
/** Second sort ID (UUID). */
|
|
849
|
+
sort2_id: string;
|
|
850
|
+
/** Similarity degree (0.0-1.0). */
|
|
851
|
+
degree: number;
|
|
852
|
+
/** Status of the similarity. */
|
|
853
|
+
status: LearnedSimilarityStatusDto;
|
|
854
|
+
/** Provenance information. */
|
|
855
|
+
provenance: LearnedSimilarityProvenanceDto;
|
|
856
|
+
/** When the similarity was created (ISO 8601). */
|
|
857
|
+
created_at: string;
|
|
858
|
+
/** When the similarity was last updated (ISO 8601). */
|
|
859
|
+
updated_at: string;
|
|
860
|
+
}
|
|
861
|
+
/** Response containing a list of learned similarities. */
|
|
862
|
+
interface LearnedSimilarityListResponse {
|
|
863
|
+
/** Total number of similarities. */
|
|
864
|
+
count: number;
|
|
865
|
+
/** Number pending review. */
|
|
866
|
+
pending_count: number;
|
|
867
|
+
/** Number approved. */
|
|
868
|
+
approved_count: number;
|
|
869
|
+
/** Number with conflicts. */
|
|
870
|
+
conflicted_count: number;
|
|
871
|
+
/** The similarities. */
|
|
872
|
+
similarities: LearnedSimilarityDto[];
|
|
873
|
+
}
|
|
874
|
+
/** Request to approve a learned similarity. */
|
|
875
|
+
interface ApproveLearnedSimilarityRequest {
|
|
876
|
+
/** First sort ID (UUID). */
|
|
877
|
+
sort1_id: string;
|
|
878
|
+
/** Second sort ID (UUID). */
|
|
879
|
+
sort2_id: string;
|
|
880
|
+
}
|
|
881
|
+
/** Response from approving a learned similarity. */
|
|
882
|
+
interface ApproveLearnedSimilarityResponse {
|
|
883
|
+
/** Whether the approval succeeded. */
|
|
884
|
+
success: boolean;
|
|
885
|
+
/** Human-readable message. */
|
|
886
|
+
message: string;
|
|
887
|
+
/** The similarity degree. */
|
|
888
|
+
degree: number;
|
|
889
|
+
}
|
|
890
|
+
/** Request to reject a learned similarity. */
|
|
891
|
+
interface RejectLearnedSimilarityRequest {
|
|
892
|
+
/** First sort ID (UUID). */
|
|
893
|
+
sort1_id: string;
|
|
894
|
+
/** Second sort ID (UUID). */
|
|
895
|
+
sort2_id: string;
|
|
896
|
+
/** Reason for rejection. */
|
|
897
|
+
reason: string;
|
|
898
|
+
}
|
|
899
|
+
/** Response from rejecting a learned similarity. */
|
|
900
|
+
interface RejectLearnedSimilarityResponse {
|
|
901
|
+
/** Whether the rejection succeeded. */
|
|
902
|
+
success: boolean;
|
|
903
|
+
/** Human-readable message. */
|
|
904
|
+
message: string;
|
|
905
|
+
}
|
|
780
906
|
|
|
781
907
|
/**
|
|
782
908
|
* Resource client for sort (type hierarchy) operations.
|
|
@@ -789,7 +915,9 @@ declare class SortsClient {
|
|
|
789
915
|
/** @internal */
|
|
790
916
|
protected readonly http: HttpClient;
|
|
791
917
|
/** @internal */
|
|
792
|
-
|
|
918
|
+
protected readonly tenantId: string;
|
|
919
|
+
/** @internal */
|
|
920
|
+
constructor(http: HttpClient, tenantId: string);
|
|
793
921
|
/**
|
|
794
922
|
* Create a new sort.
|
|
795
923
|
*
|
|
@@ -927,6 +1055,37 @@ declare class SortsClient {
|
|
|
927
1055
|
* @param options - Per-call request options.
|
|
928
1056
|
*/
|
|
929
1057
|
updateReviewStatus(sortId: string, request: UpdateReviewStatusRequest, options?: RequestOptions): Promise<void>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Learn sort similarities from effect features.
|
|
1060
|
+
*
|
|
1061
|
+
* @param request - Learning parameters.
|
|
1062
|
+
* @param options - Per-call request options.
|
|
1063
|
+
* @returns Learning result with count of similarities found.
|
|
1064
|
+
*/
|
|
1065
|
+
learnSimilarities(request: LearnSortSimilaritiesRequest, options?: RequestOptions): Promise<LearnSortSimilaritiesResponse>;
|
|
1066
|
+
/**
|
|
1067
|
+
* Get all learned similarities.
|
|
1068
|
+
*
|
|
1069
|
+
* @param options - Per-call request options.
|
|
1070
|
+
* @returns List of learned similarities with status counts.
|
|
1071
|
+
*/
|
|
1072
|
+
getLearnedSimilarities(options?: RequestOptions): Promise<LearnedSimilarityListResponse>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Approve a learned similarity.
|
|
1075
|
+
*
|
|
1076
|
+
* @param request - Sort pair to approve.
|
|
1077
|
+
* @param options - Per-call request options.
|
|
1078
|
+
* @returns Approval result.
|
|
1079
|
+
*/
|
|
1080
|
+
approveSimilarity(request: ApproveLearnedSimilarityRequest, options?: RequestOptions): Promise<ApproveLearnedSimilarityResponse>;
|
|
1081
|
+
/**
|
|
1082
|
+
* Reject a learned similarity.
|
|
1083
|
+
*
|
|
1084
|
+
* @param request - Sort pair to reject with reason.
|
|
1085
|
+
* @param options - Per-call request options.
|
|
1086
|
+
* @returns Rejection result.
|
|
1087
|
+
*/
|
|
1088
|
+
rejectSimilarity(request: RejectLearnedSimilarityRequest, options?: RequestOptions): Promise<RejectLearnedSimilarityResponse>;
|
|
930
1089
|
/**
|
|
931
1090
|
* Return a metadata-aware variant of this client.
|
|
932
1091
|
*
|
|
@@ -944,8 +1103,9 @@ declare class SortsClient {
|
|
|
944
1103
|
*/
|
|
945
1104
|
declare class SortsClientWithMetadata {
|
|
946
1105
|
private readonly http;
|
|
1106
|
+
private readonly tenantId;
|
|
947
1107
|
/** @internal */
|
|
948
|
-
constructor(http: HttpClient);
|
|
1108
|
+
constructor(http: HttpClient, tenantId: string);
|
|
949
1109
|
createSort(request: CreateSortRequest, options?: RequestOptions): Promise<ApiResponse<SortDto>>;
|
|
950
1110
|
getSort(sortId: string, options?: RequestOptions): Promise<ApiResponse<SortDto>>;
|
|
951
1111
|
deleteSort(sortId: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
@@ -963,6 +1123,10 @@ declare class SortsClientWithMetadata {
|
|
|
963
1123
|
compareSorts(request: SortCompareRequest, options?: RequestOptions): Promise<ApiResponse<SortCompareResponse>>;
|
|
964
1124
|
indexSorts(options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
965
1125
|
updateReviewStatus(sortId: string, request: UpdateReviewStatusRequest, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
1126
|
+
learnSimilarities(request: LearnSortSimilaritiesRequest, options?: RequestOptions): Promise<ApiResponse<LearnSortSimilaritiesResponse>>;
|
|
1127
|
+
getLearnedSimilarities(options?: RequestOptions): Promise<ApiResponse<LearnedSimilarityListResponse>>;
|
|
1128
|
+
approveSimilarity(request: ApproveLearnedSimilarityRequest, options?: RequestOptions): Promise<ApiResponse<ApproveLearnedSimilarityResponse>>;
|
|
1129
|
+
rejectSimilarity(request: RejectLearnedSimilarityRequest, options?: RequestOptions): Promise<ApiResponse<RejectLearnedSimilarityResponse>>;
|
|
966
1130
|
}
|
|
967
1131
|
|
|
968
1132
|
/**
|
|
@@ -1745,6 +1909,13 @@ interface BulkAddFactsResponse {
|
|
|
1745
1909
|
/** Created term IDs. */
|
|
1746
1910
|
term_ids: string[];
|
|
1747
1911
|
}
|
|
1912
|
+
/** Response from getting all stored facts. */
|
|
1913
|
+
interface GetFactsResponse {
|
|
1914
|
+
/** Number of facts. */
|
|
1915
|
+
count: number;
|
|
1916
|
+
/** The facts as PsiTerms. */
|
|
1917
|
+
facts: PsiTermDto[];
|
|
1918
|
+
}
|
|
1748
1919
|
/** Response from clearing all facts. */
|
|
1749
1920
|
interface ClearFactsResponse {
|
|
1750
1921
|
/** Number of facts cleared. */
|
|
@@ -1830,19 +2001,21 @@ declare class InferenceClient {
|
|
|
1830
2001
|
*/
|
|
1831
2002
|
bulkAddFacts(request: BulkAddFactsRequest, options?: RequestOptions): Promise<BulkAddFactsResponse>;
|
|
1832
2003
|
/**
|
|
1833
|
-
* Get all stored facts.
|
|
2004
|
+
* Get all stored facts for a tenant.
|
|
1834
2005
|
*
|
|
2006
|
+
* @param tenantId - Tenant UUID.
|
|
1835
2007
|
* @param options - Per-call request options.
|
|
1836
|
-
* @returns
|
|
2008
|
+
* @returns Facts with count.
|
|
1837
2009
|
*/
|
|
1838
|
-
getFacts(options?: RequestOptions): Promise<
|
|
2010
|
+
getFacts(tenantId: string, options?: RequestOptions): Promise<GetFactsResponse>;
|
|
1839
2011
|
/**
|
|
1840
|
-
* Clear all stored facts.
|
|
2012
|
+
* Clear all stored facts for a tenant.
|
|
1841
2013
|
*
|
|
2014
|
+
* @param tenantId - Tenant UUID.
|
|
1842
2015
|
* @param options - Per-call request options.
|
|
1843
2016
|
* @returns Clear result with facts_cleared count.
|
|
1844
2017
|
*/
|
|
1845
|
-
clearFacts(options?: RequestOptions): Promise<ClearFactsResponse>;
|
|
2018
|
+
clearFacts(tenantId: string, options?: RequestOptions): Promise<ClearFactsResponse>;
|
|
1846
2019
|
/**
|
|
1847
2020
|
* Run backward chaining inference (goal-directed proof search).
|
|
1848
2021
|
*
|
|
@@ -1956,8 +2129,8 @@ declare class InferenceClientWithMetadata {
|
|
|
1956
2129
|
addFact(request: AddFactRequest, options?: RequestOptions): Promise<ApiResponse<AddFactResponse>>;
|
|
1957
2130
|
bulkAddRules(request: BulkAddRulesRequest, options?: RequestOptions): Promise<ApiResponse<BulkAddRulesResponse>>;
|
|
1958
2131
|
bulkAddFacts(request: BulkAddFactsRequest, options?: RequestOptions): Promise<ApiResponse<BulkAddFactsResponse>>;
|
|
1959
|
-
getFacts(options?: RequestOptions): Promise<ApiResponse<
|
|
1960
|
-
clearFacts(options?: RequestOptions): Promise<ApiResponse<ClearFactsResponse>>;
|
|
2132
|
+
getFacts(tenantId: string, options?: RequestOptions): Promise<ApiResponse<GetFactsResponse>>;
|
|
2133
|
+
clearFacts(tenantId: string, options?: RequestOptions): Promise<ApiResponse<ClearFactsResponse>>;
|
|
1961
2134
|
backwardChain(request: BackwardChainRequest, options?: RequestOptions): Promise<ApiResponse<BackwardChainResponse>>;
|
|
1962
2135
|
forwardChain(request: ForwardChainRequest, options?: RequestOptions): Promise<ApiResponse<ForwardChainResponse>>;
|
|
1963
2136
|
forwardChainTagged(request: ForwardChainRequest, options?: RequestOptions): Promise<ApiResponse<ForwardChainResponse>>;
|
|
@@ -2999,6 +3172,157 @@ interface ProvideFeedbackResponse {
|
|
|
2999
3172
|
/** Rules whose utility was updated. */
|
|
3000
3173
|
updated_rules: string[];
|
|
3001
3174
|
}
|
|
3175
|
+
/** Attention target for the integrated cycle. */
|
|
3176
|
+
interface AttentionTargetDto {
|
|
3177
|
+
/** Target term ID (UUID). */
|
|
3178
|
+
target_id: string;
|
|
3179
|
+
/** Attention type. */
|
|
3180
|
+
attention_type: string;
|
|
3181
|
+
/** Priority. */
|
|
3182
|
+
priority: number;
|
|
3183
|
+
}
|
|
3184
|
+
/** An impasse encountered during the cycle. */
|
|
3185
|
+
interface ImpasseDto {
|
|
3186
|
+
/** Blocked goal ID (UUID). */
|
|
3187
|
+
blocked_goal: string;
|
|
3188
|
+
/** Impasse type. */
|
|
3189
|
+
impasse_type: string;
|
|
3190
|
+
/** Recovery suggestions. */
|
|
3191
|
+
recovery_suggestions: string[];
|
|
3192
|
+
}
|
|
3193
|
+
/** A prediction error detected. */
|
|
3194
|
+
interface PredictionErrorDto {
|
|
3195
|
+
/** Predicted value. */
|
|
3196
|
+
predicted: string;
|
|
3197
|
+
/** Actual value. */
|
|
3198
|
+
actual: string;
|
|
3199
|
+
/** Error magnitude. */
|
|
3200
|
+
magnitude: number;
|
|
3201
|
+
}
|
|
3202
|
+
/** Outcome of running the integrated cognitive cycle (all 9 modules). */
|
|
3203
|
+
interface IntegratedCycleOutcomeDto {
|
|
3204
|
+
/** Actions executed during the cycle. */
|
|
3205
|
+
actions_executed: string[];
|
|
3206
|
+
/** Desires considered. */
|
|
3207
|
+
desires_considered: string[];
|
|
3208
|
+
/** Number of drive-generated goals. */
|
|
3209
|
+
drive_goals_generated: number;
|
|
3210
|
+
/** Number of episodes recorded. */
|
|
3211
|
+
episodes_recorded: number;
|
|
3212
|
+
/** Current attention focus, if any. */
|
|
3213
|
+
focus?: AttentionTargetDto | null;
|
|
3214
|
+
/** Goals achieved. */
|
|
3215
|
+
goals_achieved: string[];
|
|
3216
|
+
/** Goals that failed. */
|
|
3217
|
+
goals_failed: string[];
|
|
3218
|
+
/** Impasses handled. */
|
|
3219
|
+
impasses_handled: ImpasseDto[];
|
|
3220
|
+
/** Intentions committed. */
|
|
3221
|
+
intentions_committed: IntentionDto[];
|
|
3222
|
+
/** Number of perceptions processed. */
|
|
3223
|
+
perceptions_processed: number;
|
|
3224
|
+
/** Prediction errors detected. */
|
|
3225
|
+
prediction_errors: PredictionErrorDto[];
|
|
3226
|
+
/** Number of sensor percepts processed. */
|
|
3227
|
+
sensor_percepts_processed: number;
|
|
3228
|
+
/** Sort suggestions from the cycle. */
|
|
3229
|
+
sort_suggestions: unknown[];
|
|
3230
|
+
/** Subgoals generated. */
|
|
3231
|
+
subgoals_generated: string[];
|
|
3232
|
+
/** Overall success rate (0.0-1.0). */
|
|
3233
|
+
success_rate: number;
|
|
3234
|
+
/** Number of utilities updated. */
|
|
3235
|
+
utilities_updated: number;
|
|
3236
|
+
}
|
|
3237
|
+
/** Configuration for the integrated cognitive engine. */
|
|
3238
|
+
interface IntegratedEngineConfigDto {
|
|
3239
|
+
/** Enable agent-to-agent messaging (default: true). */
|
|
3240
|
+
enable_agent_messaging?: boolean;
|
|
3241
|
+
/** Enable episodic memory (default: true). */
|
|
3242
|
+
enable_episodic_memory?: boolean;
|
|
3243
|
+
/** Enable HTN decomposition (default: true). */
|
|
3244
|
+
enable_htn_decomposition?: boolean;
|
|
3245
|
+
/** Enable meta-cognition (default: true). */
|
|
3246
|
+
enable_meta_cognition?: boolean;
|
|
3247
|
+
/** Enable plan library (default: true). */
|
|
3248
|
+
enable_plan_library?: boolean;
|
|
3249
|
+
/** Enable simulation (default: true). */
|
|
3250
|
+
enable_simulation?: boolean;
|
|
3251
|
+
/** Maintenance interval in cycles (default: 10). */
|
|
3252
|
+
maintenance_interval?: number;
|
|
3253
|
+
/** Maximum goals per cycle (default: 3). */
|
|
3254
|
+
max_goals_per_cycle?: number;
|
|
3255
|
+
/** Maximum impasse depth (default: 5). */
|
|
3256
|
+
max_impasse_depth?: number;
|
|
3257
|
+
/** Minimum plan success rate threshold (default: 0.5). */
|
|
3258
|
+
min_plan_success_rate?: number;
|
|
3259
|
+
/** Simulation confidence threshold (default: 0.6). */
|
|
3260
|
+
simulation_confidence_threshold?: number;
|
|
3261
|
+
/** Surprise threshold (default: 0.5). */
|
|
3262
|
+
surprise_threshold?: number;
|
|
3263
|
+
}
|
|
3264
|
+
/** Request to run the integrated cognitive cycle. */
|
|
3265
|
+
interface RunIntegratedCycleRequest {
|
|
3266
|
+
/** Agent ID (UUID). */
|
|
3267
|
+
agent_id: string;
|
|
3268
|
+
/** Tenant ID (UUID). */
|
|
3269
|
+
tenant_id: string;
|
|
3270
|
+
/** Optional engine configuration overrides. */
|
|
3271
|
+
config?: IntegratedEngineConfigDto | null;
|
|
3272
|
+
}
|
|
3273
|
+
/** Response from running the integrated cognitive cycle. */
|
|
3274
|
+
interface RunIntegratedCycleResponse {
|
|
3275
|
+
/** Human-readable message. */
|
|
3276
|
+
message: string;
|
|
3277
|
+
/** Cycle outcome. */
|
|
3278
|
+
outcome: IntegratedCycleOutcomeDto;
|
|
3279
|
+
/** Duration in milliseconds. */
|
|
3280
|
+
duration_ms: number;
|
|
3281
|
+
}
|
|
3282
|
+
/** Request to subscribe an agent to knowledge base changes. */
|
|
3283
|
+
interface SubscribeToKbRequest {
|
|
3284
|
+
/** Agent ID (UUID). */
|
|
3285
|
+
agent_id: string;
|
|
3286
|
+
/** Tenant ID (UUID). */
|
|
3287
|
+
tenant_id: string;
|
|
3288
|
+
/** Sort names to watch for changes. */
|
|
3289
|
+
watched_sorts: string[];
|
|
3290
|
+
/** Feature names to watch for changes. */
|
|
3291
|
+
watched_features?: string[];
|
|
3292
|
+
}
|
|
3293
|
+
/** Response from subscribing to KB changes. */
|
|
3294
|
+
interface SubscribeToKbResponse {
|
|
3295
|
+
/** Whether the subscription was successful. */
|
|
3296
|
+
success: boolean;
|
|
3297
|
+
/** Human-readable message. */
|
|
3298
|
+
message: string;
|
|
3299
|
+
/** Subscription ID (UUID). */
|
|
3300
|
+
subscription_id: string;
|
|
3301
|
+
}
|
|
3302
|
+
/** Request to record an episodic memory entry. */
|
|
3303
|
+
interface RecordEpisodeRequest {
|
|
3304
|
+
/** Agent ID (UUID). */
|
|
3305
|
+
agent_id: string;
|
|
3306
|
+
/** Tenant ID (UUID). */
|
|
3307
|
+
tenant_id: string;
|
|
3308
|
+
/** Goal ID (UUID). */
|
|
3309
|
+
goal_id: string;
|
|
3310
|
+
/** Actions taken during this episode. */
|
|
3311
|
+
actions: string[];
|
|
3312
|
+
/** Context for the episode. */
|
|
3313
|
+
context?: string[];
|
|
3314
|
+
/** Episode outcome. */
|
|
3315
|
+
outcome: EpisodeOutcomeDto;
|
|
3316
|
+
/** Reward value. */
|
|
3317
|
+
reward: number;
|
|
3318
|
+
}
|
|
3319
|
+
/** Response from recording an episode. */
|
|
3320
|
+
interface RecordEpisodeResponse {
|
|
3321
|
+
/** Created episode ID (UUID). */
|
|
3322
|
+
episode_id: string;
|
|
3323
|
+
/** Human-readable message. */
|
|
3324
|
+
message: string;
|
|
3325
|
+
}
|
|
3002
3326
|
/**
|
|
3003
3327
|
* Real-time agent event pushed via WebSocket.
|
|
3004
3328
|
*
|
|
@@ -3244,6 +3568,30 @@ declare class CognitiveClient {
|
|
|
3244
3568
|
* @returns The feedback result.
|
|
3245
3569
|
*/
|
|
3246
3570
|
provideFeedback(request: ProvideFeedbackRequest, options?: RequestOptions): Promise<ProvideFeedbackResponse>;
|
|
3571
|
+
/**
|
|
3572
|
+
* Run a full integrated cognitive cycle (all 9 modules).
|
|
3573
|
+
*
|
|
3574
|
+
* @param request - Integrated cycle request with agent and tenant IDs.
|
|
3575
|
+
* @param options - Per-call request options.
|
|
3576
|
+
* @returns The integrated cycle outcome with duration.
|
|
3577
|
+
*/
|
|
3578
|
+
integratedCycle(request: RunIntegratedCycleRequest, options?: RequestOptions): Promise<RunIntegratedCycleResponse>;
|
|
3579
|
+
/**
|
|
3580
|
+
* Subscribe an agent to knowledge base changes (HTTP-based).
|
|
3581
|
+
*
|
|
3582
|
+
* @param request - Subscription request with watched sorts/features.
|
|
3583
|
+
* @param options - Per-call request options.
|
|
3584
|
+
* @returns Subscription ID.
|
|
3585
|
+
*/
|
|
3586
|
+
subscribeToKb(request: SubscribeToKbRequest, options?: RequestOptions): Promise<SubscribeToKbResponse>;
|
|
3587
|
+
/**
|
|
3588
|
+
* Record an episodic memory entry for an agent.
|
|
3589
|
+
*
|
|
3590
|
+
* @param request - Episode to record.
|
|
3591
|
+
* @param options - Per-call request options.
|
|
3592
|
+
* @returns The created episode ID.
|
|
3593
|
+
*/
|
|
3594
|
+
recordEpisode(request: RecordEpisodeRequest, options?: RequestOptions): Promise<RecordEpisodeResponse>;
|
|
3247
3595
|
/**
|
|
3248
3596
|
* Subscribe to real-time events for a cognitive agent.
|
|
3249
3597
|
*
|
|
@@ -3289,6 +3637,9 @@ declare class CognitiveClientWithMetadata {
|
|
|
3289
3637
|
broadcastMessage(request: BroadcastMessageRequest, options?: RequestOptions): Promise<ApiResponse<BroadcastMessageResponse>>;
|
|
3290
3638
|
markMessagesRead(request: MarkMessagesReadRequest, options?: RequestOptions): Promise<ApiResponse<MarkMessagesReadResponse>>;
|
|
3291
3639
|
provideFeedback(request: ProvideFeedbackRequest, options?: RequestOptions): Promise<ApiResponse<ProvideFeedbackResponse>>;
|
|
3640
|
+
integratedCycle(request: RunIntegratedCycleRequest, options?: RequestOptions): Promise<ApiResponse<RunIntegratedCycleResponse>>;
|
|
3641
|
+
subscribeToKb(request: SubscribeToKbRequest, options?: RequestOptions): Promise<ApiResponse<SubscribeToKbResponse>>;
|
|
3642
|
+
recordEpisode(request: RecordEpisodeRequest, options?: RequestOptions): Promise<ApiResponse<RecordEpisodeResponse>>;
|
|
3292
3643
|
}
|
|
3293
3644
|
|
|
3294
3645
|
/**
|
|
@@ -3706,6 +4057,50 @@ interface ConstraintGraphResponse {
|
|
|
3706
4057
|
/** FD domain states (if requested). */
|
|
3707
4058
|
fd_domains?: FdDomainStateDto[];
|
|
3708
4059
|
}
|
|
4060
|
+
/** A general constraint (opaque in OpenAPI due to recursive types). */
|
|
4061
|
+
interface GeneralConstraintDto {
|
|
4062
|
+
/** Constraint type (e.g., "arithmetic", "basic", "conjunction", "disjunction"). */
|
|
4063
|
+
constraint_type: string;
|
|
4064
|
+
/** Constraint-specific fields. */
|
|
4065
|
+
[key: string]: unknown;
|
|
4066
|
+
}
|
|
4067
|
+
/** Request to create a constraint session. */
|
|
4068
|
+
interface CreateConstraintSessionRequest {
|
|
4069
|
+
/** Optional initial variable bindings. */
|
|
4070
|
+
initial_bindings?: Record<string, number> | null;
|
|
4071
|
+
/** Optional list of variable names. */
|
|
4072
|
+
variables?: string[];
|
|
4073
|
+
}
|
|
4074
|
+
/** Constraint session status. */
|
|
4075
|
+
interface ConstraintSessionStatus {
|
|
4076
|
+
/** Session ID. */
|
|
4077
|
+
session_id: string;
|
|
4078
|
+
/** Number of constraints in the session. */
|
|
4079
|
+
constraint_count: number;
|
|
4080
|
+
/** Current variable bindings. */
|
|
4081
|
+
bindings: Record<string, number>;
|
|
4082
|
+
/** Whether all constraints are satisfiable. */
|
|
4083
|
+
satisfiable: boolean;
|
|
4084
|
+
}
|
|
4085
|
+
/** Request to add constraints to a session. */
|
|
4086
|
+
interface AddConstraintsRequest {
|
|
4087
|
+
/** Constraints to add. */
|
|
4088
|
+
constraints: GeneralConstraintDto[];
|
|
4089
|
+
/** Optional variable bindings. */
|
|
4090
|
+
bindings?: Record<string, unknown> | null;
|
|
4091
|
+
}
|
|
4092
|
+
/** Request to bind variables in a constraint session. */
|
|
4093
|
+
interface BindVariablesRequest {
|
|
4094
|
+
/** Variable name to value bindings. */
|
|
4095
|
+
bindings: Record<string, number>;
|
|
4096
|
+
}
|
|
4097
|
+
/** Response from binding variables. */
|
|
4098
|
+
interface BindVariablesResponse {
|
|
4099
|
+
/** Whether the constraints are still satisfiable with these bindings. */
|
|
4100
|
+
satisfiable: boolean;
|
|
4101
|
+
/** Updated variable bindings. */
|
|
4102
|
+
bindings: Record<string, number>;
|
|
4103
|
+
}
|
|
3709
4104
|
|
|
3710
4105
|
/**
|
|
3711
4106
|
* Resource client for constraint operations.
|
|
@@ -3734,6 +4129,40 @@ declare class ConstraintsClient {
|
|
|
3734
4129
|
* @returns Constraint graph with statistics and optional cycle/FD domain data.
|
|
3735
4130
|
*/
|
|
3736
4131
|
getGraph(request: ConstraintGraphRequest, options?: RequestOptions): Promise<ConstraintGraphResponse>;
|
|
4132
|
+
/**
|
|
4133
|
+
* Create a constraint session.
|
|
4134
|
+
*
|
|
4135
|
+
* @param request - Session creation parameters.
|
|
4136
|
+
* @param options - Per-call request options.
|
|
4137
|
+
* @returns Session status.
|
|
4138
|
+
*/
|
|
4139
|
+
createSession(request: CreateConstraintSessionRequest, options?: RequestOptions): Promise<ConstraintSessionStatus>;
|
|
4140
|
+
/**
|
|
4141
|
+
* Get a constraint session by ID.
|
|
4142
|
+
*
|
|
4143
|
+
* @param sessionId - Session ID.
|
|
4144
|
+
* @param options - Per-call request options.
|
|
4145
|
+
* @returns Session status.
|
|
4146
|
+
*/
|
|
4147
|
+
getSession(sessionId: string, options?: RequestOptions): Promise<ConstraintSessionStatus>;
|
|
4148
|
+
/**
|
|
4149
|
+
* Add constraints to a session.
|
|
4150
|
+
*
|
|
4151
|
+
* @param sessionId - Session ID.
|
|
4152
|
+
* @param request - Constraints to add.
|
|
4153
|
+
* @param options - Per-call request options.
|
|
4154
|
+
* @returns Updated session status.
|
|
4155
|
+
*/
|
|
4156
|
+
addConstraints(sessionId: string, request: AddConstraintsRequest, options?: RequestOptions): Promise<ConstraintSessionStatus>;
|
|
4157
|
+
/**
|
|
4158
|
+
* Bind variables in a constraint session.
|
|
4159
|
+
*
|
|
4160
|
+
* @param sessionId - Session ID.
|
|
4161
|
+
* @param request - Variable bindings.
|
|
4162
|
+
* @param options - Per-call request options.
|
|
4163
|
+
* @returns Binding result.
|
|
4164
|
+
*/
|
|
4165
|
+
bindVariables(sessionId: string, request: BindVariablesRequest, options?: RequestOptions): Promise<BindVariablesResponse>;
|
|
3737
4166
|
/**
|
|
3738
4167
|
* Return a metadata-aware variant of this client.
|
|
3739
4168
|
*
|
|
@@ -3752,6 +4181,10 @@ declare class ConstraintsClientWithMetadata {
|
|
|
3752
4181
|
constructor(http: HttpClient);
|
|
3753
4182
|
solve(request: SolveConstraintRequest, options?: RequestOptions): Promise<ApiResponse<SolveConstraintResponse>>;
|
|
3754
4183
|
getGraph(request: ConstraintGraphRequest, options?: RequestOptions): Promise<ApiResponse<ConstraintGraphResponse>>;
|
|
4184
|
+
createSession(request: CreateConstraintSessionRequest, options?: RequestOptions): Promise<ApiResponse<ConstraintSessionStatus>>;
|
|
4185
|
+
getSession(sessionId: string, options?: RequestOptions): Promise<ApiResponse<ConstraintSessionStatus>>;
|
|
4186
|
+
addConstraints(sessionId: string, request: AddConstraintsRequest, options?: RequestOptions): Promise<ApiResponse<ConstraintSessionStatus>>;
|
|
4187
|
+
bindVariables(sessionId: string, request: BindVariablesRequest, options?: RequestOptions): Promise<ApiResponse<BindVariablesResponse>>;
|
|
3755
4188
|
}
|
|
3756
4189
|
|
|
3757
4190
|
/**
|
|
@@ -4171,6 +4604,157 @@ interface GoalStackResponse {
|
|
|
4171
4604
|
/** Stack size. */
|
|
4172
4605
|
size: number;
|
|
4173
4606
|
}
|
|
4607
|
+
/** A goal to be residuated (suspended until data becomes available). */
|
|
4608
|
+
interface ResiduationGoalDto {
|
|
4609
|
+
/** Operation type. */
|
|
4610
|
+
operation_type: string;
|
|
4611
|
+
/** Goal arguments. */
|
|
4612
|
+
arguments?: string[];
|
|
4613
|
+
/** Result target variable. */
|
|
4614
|
+
result_target?: string | null;
|
|
4615
|
+
}
|
|
4616
|
+
/** Feature binding for term binding operations. */
|
|
4617
|
+
interface FeatureBindingDto {
|
|
4618
|
+
/** Feature name. */
|
|
4619
|
+
name: string;
|
|
4620
|
+
/** Feature value. */
|
|
4621
|
+
value: ExecutionValueDto;
|
|
4622
|
+
}
|
|
4623
|
+
/** Detailed information about a residuation. */
|
|
4624
|
+
interface ResiduationDetailDto {
|
|
4625
|
+
/** Residuation ID. */
|
|
4626
|
+
id: string;
|
|
4627
|
+
/** The residuated goal. */
|
|
4628
|
+
goal: ResiduationGoalDto;
|
|
4629
|
+
/** Best sort found so far. */
|
|
4630
|
+
best_sort?: string | null;
|
|
4631
|
+
/** Best value found so far. */
|
|
4632
|
+
best_value?: ExecutionValueDto | null;
|
|
4633
|
+
/** Whether this residuation is pending. */
|
|
4634
|
+
is_pending: boolean;
|
|
4635
|
+
}
|
|
4636
|
+
/** An evaluated value from goal evaluation. */
|
|
4637
|
+
interface EvaluatedValueDto {
|
|
4638
|
+
/** Term name. */
|
|
4639
|
+
term_name: string;
|
|
4640
|
+
/** Evaluated value. */
|
|
4641
|
+
value?: ExecutionValueDto | null;
|
|
4642
|
+
/** Threshold for evaluation. */
|
|
4643
|
+
threshold?: string | null;
|
|
4644
|
+
/** Comparison result. */
|
|
4645
|
+
comparison?: string | null;
|
|
4646
|
+
}
|
|
4647
|
+
/** Result of evaluating a goal after releasing residuations. */
|
|
4648
|
+
interface GoalEvaluationResultDto {
|
|
4649
|
+
/** The evaluated goal. */
|
|
4650
|
+
goal: ResiduationGoalDto;
|
|
4651
|
+
/** Whether the goal was satisfied. */
|
|
4652
|
+
satisfied: boolean;
|
|
4653
|
+
/** Confidence in the evaluation (0.0-1.0). */
|
|
4654
|
+
confidence: number;
|
|
4655
|
+
/** Human-readable explanation. */
|
|
4656
|
+
explanation: string;
|
|
4657
|
+
/** Evaluated values. */
|
|
4658
|
+
evaluated_values: EvaluatedValueDto[];
|
|
4659
|
+
}
|
|
4660
|
+
/** Request to residuate a goal (suspend until data becomes available). */
|
|
4661
|
+
interface ResiduateGoalRequest {
|
|
4662
|
+
/** Session ID. */
|
|
4663
|
+
session_id: string;
|
|
4664
|
+
/** Term ID to associate with. */
|
|
4665
|
+
term_id: string;
|
|
4666
|
+
/** Goal to residuate. */
|
|
4667
|
+
goal: ResiduationGoalDto;
|
|
4668
|
+
/** Best sort found so far. */
|
|
4669
|
+
best_sort?: string | null;
|
|
4670
|
+
/** Best value found so far. */
|
|
4671
|
+
best_value?: ExecutionValueDto | null;
|
|
4672
|
+
}
|
|
4673
|
+
/** Response from residuating a goal. */
|
|
4674
|
+
interface ResiduateGoalResponse {
|
|
4675
|
+
/** Residuation ID. */
|
|
4676
|
+
residuation_id: string;
|
|
4677
|
+
/** Term ID. */
|
|
4678
|
+
term_id: string;
|
|
4679
|
+
/** Number of suspended residuations. */
|
|
4680
|
+
suspended_count: number;
|
|
4681
|
+
/** Best sort found. */
|
|
4682
|
+
best_sort?: string | null;
|
|
4683
|
+
}
|
|
4684
|
+
/** Request to bind a term with features. */
|
|
4685
|
+
interface BindTermRequest {
|
|
4686
|
+
/** Term ID. */
|
|
4687
|
+
term_id: string;
|
|
4688
|
+
/** Sort ID. */
|
|
4689
|
+
sort_id: string;
|
|
4690
|
+
/** Feature bindings. */
|
|
4691
|
+
features?: FeatureBindingDto[];
|
|
4692
|
+
}
|
|
4693
|
+
/** Response from binding a term. */
|
|
4694
|
+
interface BindTermResponse {
|
|
4695
|
+
/** Session ID. */
|
|
4696
|
+
session_id: string;
|
|
4697
|
+
/** Tenant ID (UUID). */
|
|
4698
|
+
tenant_id: string;
|
|
4699
|
+
/** Trail length after binding. */
|
|
4700
|
+
trail_length: number;
|
|
4701
|
+
/** Choice point count. */
|
|
4702
|
+
choice_point_count: number;
|
|
4703
|
+
/** Bindings count. */
|
|
4704
|
+
bindings_count: number;
|
|
4705
|
+
/** Evaluation results from released residuations. */
|
|
4706
|
+
evaluation_results?: GoalEvaluationResultDto[];
|
|
4707
|
+
}
|
|
4708
|
+
/** Request to release residuations for a term. */
|
|
4709
|
+
interface ReleaseResiduationsRequest {
|
|
4710
|
+
/** Session ID. */
|
|
4711
|
+
session_id: string;
|
|
4712
|
+
/** Term ID. */
|
|
4713
|
+
term_id: string;
|
|
4714
|
+
}
|
|
4715
|
+
/** Response from releasing residuations. */
|
|
4716
|
+
interface ReleaseResiduationsResponse {
|
|
4717
|
+
/** Number of released residuations. */
|
|
4718
|
+
released_count: number;
|
|
4719
|
+
/** Released goals. */
|
|
4720
|
+
released_goals: ResiduationGoalDto[];
|
|
4721
|
+
/** Evaluation results. */
|
|
4722
|
+
evaluation_results: GoalEvaluationResultDto[];
|
|
4723
|
+
/** Number of remaining suspended residuations. */
|
|
4724
|
+
remaining_suspended: number;
|
|
4725
|
+
}
|
|
4726
|
+
/** Request to append residuations from one term to another. */
|
|
4727
|
+
interface AppendResiduationsRequest {
|
|
4728
|
+
/** Session ID. */
|
|
4729
|
+
session_id: string;
|
|
4730
|
+
/** Source term ID. */
|
|
4731
|
+
source_term_id: string;
|
|
4732
|
+
/** Target term ID. */
|
|
4733
|
+
target_term_id: string;
|
|
4734
|
+
}
|
|
4735
|
+
/** Response from appending residuations. */
|
|
4736
|
+
interface AppendResiduationsResponse {
|
|
4737
|
+
/** Target term ID. */
|
|
4738
|
+
target_term_id: string;
|
|
4739
|
+
/** Number of residuations appended. */
|
|
4740
|
+
appended_count: number;
|
|
4741
|
+
/** Total residuations on target. */
|
|
4742
|
+
total_residuations: number;
|
|
4743
|
+
}
|
|
4744
|
+
/** Request to get residuations for a term. */
|
|
4745
|
+
interface GetResiduationsRequest {
|
|
4746
|
+
/** Session ID. */
|
|
4747
|
+
session_id: string;
|
|
4748
|
+
/** Term ID. */
|
|
4749
|
+
term_id: string;
|
|
4750
|
+
}
|
|
4751
|
+
/** Response with residuation details for a term. */
|
|
4752
|
+
interface GetResiduationsResponse {
|
|
4753
|
+
/** Term ID. */
|
|
4754
|
+
term_id: string;
|
|
4755
|
+
/** Residuation details. */
|
|
4756
|
+
residuations: ResiduationDetailDto[];
|
|
4757
|
+
}
|
|
4174
4758
|
|
|
4175
4759
|
/**
|
|
4176
4760
|
* Resource client for execution session operations.
|
|
@@ -4239,6 +4823,51 @@ declare class ExecutionClient {
|
|
|
4239
4823
|
* @returns Choice point data.
|
|
4240
4824
|
*/
|
|
4241
4825
|
getChoicePoints(sessionId: string, options?: RequestOptions): Promise<unknown>;
|
|
4826
|
+
/**
|
|
4827
|
+
* Residuate a goal (suspend until data becomes available).
|
|
4828
|
+
*
|
|
4829
|
+
* @param sessionId - Session ID.
|
|
4830
|
+
* @param request - Residuation request.
|
|
4831
|
+
* @param options - Per-call request options.
|
|
4832
|
+
* @returns Residuation result.
|
|
4833
|
+
*/
|
|
4834
|
+
residuate(sessionId: string, request: ResiduateGoalRequest, options?: RequestOptions): Promise<ResiduateGoalResponse>;
|
|
4835
|
+
/**
|
|
4836
|
+
* Bind a term with sort and feature values.
|
|
4837
|
+
*
|
|
4838
|
+
* @param sessionId - Session ID.
|
|
4839
|
+
* @param request - Binding request.
|
|
4840
|
+
* @param options - Per-call request options.
|
|
4841
|
+
* @returns Binding result with evaluation results from released residuations.
|
|
4842
|
+
*/
|
|
4843
|
+
bind(sessionId: string, request: BindTermRequest, options?: RequestOptions): Promise<BindTermResponse>;
|
|
4844
|
+
/**
|
|
4845
|
+
* Release residuations for a term (attempt evaluation).
|
|
4846
|
+
*
|
|
4847
|
+
* @param sessionId - Session ID.
|
|
4848
|
+
* @param request - Release request.
|
|
4849
|
+
* @param options - Per-call request options.
|
|
4850
|
+
* @returns Released goals and evaluation results.
|
|
4851
|
+
*/
|
|
4852
|
+
releaseResiduations(sessionId: string, request: ReleaseResiduationsRequest, options?: RequestOptions): Promise<ReleaseResiduationsResponse>;
|
|
4853
|
+
/**
|
|
4854
|
+
* Append residuations from a source term to a target term.
|
|
4855
|
+
*
|
|
4856
|
+
* @param sessionId - Session ID.
|
|
4857
|
+
* @param request - Append request.
|
|
4858
|
+
* @param options - Per-call request options.
|
|
4859
|
+
* @returns Append result.
|
|
4860
|
+
*/
|
|
4861
|
+
appendResiduations(sessionId: string, request: AppendResiduationsRequest, options?: RequestOptions): Promise<AppendResiduationsResponse>;
|
|
4862
|
+
/**
|
|
4863
|
+
* Get residuations for a term.
|
|
4864
|
+
*
|
|
4865
|
+
* @param sessionId - Session ID.
|
|
4866
|
+
* @param request - Get residuations request.
|
|
4867
|
+
* @param options - Per-call request options.
|
|
4868
|
+
* @returns Residuation details.
|
|
4869
|
+
*/
|
|
4870
|
+
getResiduations(sessionId: string, request: GetResiduationsRequest, options?: RequestOptions): Promise<GetResiduationsResponse>;
|
|
4242
4871
|
/**
|
|
4243
4872
|
* Return a metadata-aware variant of this client.
|
|
4244
4873
|
*
|
|
@@ -4262,6 +4891,11 @@ declare class ExecutionClientWithMetadata {
|
|
|
4262
4891
|
getGoalStack(sessionId: string, options?: RequestOptions): Promise<ApiResponse<GoalStackResponse>>;
|
|
4263
4892
|
getTrail(sessionId: string, options?: RequestOptions): Promise<ApiResponse<unknown>>;
|
|
4264
4893
|
getChoicePoints(sessionId: string, options?: RequestOptions): Promise<ApiResponse<unknown>>;
|
|
4894
|
+
residuate(sessionId: string, request: ResiduateGoalRequest, options?: RequestOptions): Promise<ApiResponse<ResiduateGoalResponse>>;
|
|
4895
|
+
bind(sessionId: string, request: BindTermRequest, options?: RequestOptions): Promise<ApiResponse<BindTermResponse>>;
|
|
4896
|
+
releaseResiduations(sessionId: string, request: ReleaseResiduationsRequest, options?: RequestOptions): Promise<ApiResponse<ReleaseResiduationsResponse>>;
|
|
4897
|
+
appendResiduations(sessionId: string, request: AppendResiduationsRequest, options?: RequestOptions): Promise<ApiResponse<AppendResiduationsResponse>>;
|
|
4898
|
+
getResiduations(sessionId: string, request: GetResiduationsRequest, options?: RequestOptions): Promise<ApiResponse<GetResiduationsResponse>>;
|
|
4265
4899
|
}
|
|
4266
4900
|
|
|
4267
4901
|
/**
|
|
@@ -9545,14 +10179,1236 @@ declare class ExtractClientWithMetadata {
|
|
|
9545
10179
|
extractEntities(request: ExtractEntitiesRequest, options?: RequestOptions): Promise<ApiResponse<ExtractEntitiesResponse>>;
|
|
9546
10180
|
}
|
|
9547
10181
|
|
|
10182
|
+
/** A single step in the agent's execution trajectory. */
|
|
10183
|
+
interface TrajectoryStepDto {
|
|
10184
|
+
/** Action/tool name executed. */
|
|
10185
|
+
action: string;
|
|
10186
|
+
/** Specific tool identifier (if different from action). */
|
|
10187
|
+
tool_used?: string;
|
|
10188
|
+
/** Tool input parameters. */
|
|
10189
|
+
input?: Record<string, unknown> | unknown;
|
|
10190
|
+
/** Tool output/result. */
|
|
10191
|
+
output?: Record<string, unknown> | unknown;
|
|
10192
|
+
/** Whether the tool call succeeded. */
|
|
10193
|
+
success?: boolean;
|
|
10194
|
+
/** Error message if the tool call failed. */
|
|
10195
|
+
error?: string;
|
|
10196
|
+
/** ISO 8601 timestamp of the step. */
|
|
10197
|
+
timestamp?: string;
|
|
10198
|
+
/** Actual content returned by file-reading tools. */
|
|
10199
|
+
file_content?: string;
|
|
10200
|
+
}
|
|
10201
|
+
/** Configuration overrides for the judge pipeline. */
|
|
10202
|
+
interface JudgeConfigDto {
|
|
10203
|
+
/** Minimum safety score (0.0-1.0, default: 0.8). */
|
|
10204
|
+
min_safety_score?: number;
|
|
10205
|
+
/** T-norm strategy: "min", "product", or "lukasiewicz". */
|
|
10206
|
+
tnorm_strategy?: string;
|
|
10207
|
+
/** Enable faithfulness/deception detection. */
|
|
10208
|
+
enable_faithfulness?: boolean;
|
|
10209
|
+
/** Generate cryptographic certificate for safe verdicts. */
|
|
10210
|
+
enable_certificate?: boolean;
|
|
10211
|
+
/** Maximum refinement rounds (0 = single pass). */
|
|
10212
|
+
max_refinement_rounds?: number;
|
|
10213
|
+
}
|
|
10214
|
+
/** Request to run the FormalJudge oversight pipeline. */
|
|
10215
|
+
interface FormalJudgeRequest {
|
|
10216
|
+
/** User instruction (what the agent was asked to do). */
|
|
10217
|
+
user_intent: string;
|
|
10218
|
+
/** Agent execution trajectory (ordered list of tool calls + results). */
|
|
10219
|
+
trajectory: TrajectoryStepDto[];
|
|
10220
|
+
/** Agent's final output/answer. */
|
|
10221
|
+
final_output?: string;
|
|
10222
|
+
/** Raw execution log (for full provenance). */
|
|
10223
|
+
execution_log?: string;
|
|
10224
|
+
/** Optional pipeline configuration overrides. */
|
|
10225
|
+
config?: JudgeConfigDto | null;
|
|
10226
|
+
}
|
|
10227
|
+
/** Per-layer verification result. */
|
|
10228
|
+
interface LayerResultDto {
|
|
10229
|
+
/** Layer name (e.g., "L0_format", "L6_resource"). */
|
|
10230
|
+
layer: string;
|
|
10231
|
+
/** Layer satisfaction score (0.0-1.0). */
|
|
10232
|
+
score: number;
|
|
10233
|
+
/** Number of facts checked in this layer. */
|
|
10234
|
+
facts_checked: number;
|
|
10235
|
+
/** Number of facts that passed. */
|
|
10236
|
+
facts_satisfied: number;
|
|
10237
|
+
/** Number of facts that failed. */
|
|
10238
|
+
facts_violated: number;
|
|
10239
|
+
/** Number of facts pending (residuated). */
|
|
10240
|
+
facts_residuated: number;
|
|
10241
|
+
/** Human-readable descriptions of each violation in this layer. */
|
|
10242
|
+
violation_descriptions?: string[];
|
|
10243
|
+
/** Term IDs of residuated (pending) facts. */
|
|
10244
|
+
residuated_fact_ids?: string[];
|
|
10245
|
+
}
|
|
10246
|
+
/** A specific constraint violation. */
|
|
10247
|
+
interface ViolationDto {
|
|
10248
|
+
/** Layer where the violation occurred. */
|
|
10249
|
+
layer: string;
|
|
10250
|
+
/** Human-readable description. */
|
|
10251
|
+
description: string;
|
|
10252
|
+
/** The term ID of the violated fact. */
|
|
10253
|
+
fact_id: string;
|
|
10254
|
+
/** Constraint type that was violated. */
|
|
10255
|
+
constraint_type?: string;
|
|
10256
|
+
}
|
|
10257
|
+
/** A fix suggestion for a violation. */
|
|
10258
|
+
interface FixSuggestionDto {
|
|
10259
|
+
/** Human-readable fix description. */
|
|
10260
|
+
description: string;
|
|
10261
|
+
/** Confidence in the fix suggestion (0.0-1.0). */
|
|
10262
|
+
confidence: number;
|
|
10263
|
+
/** Type of fix (e.g., "add_fact", "modify_feature", "narrow_sort", "add_rule"). */
|
|
10264
|
+
fix_type?: string;
|
|
10265
|
+
}
|
|
9548
10266
|
/**
|
|
9549
|
-
*
|
|
10267
|
+
* A failed proof trace with causal chain.
|
|
9550
10268
|
*
|
|
9551
|
-
*
|
|
9552
|
-
*
|
|
10269
|
+
* @remarks
|
|
10270
|
+
* Contains recursive `parent` field for multi-level causal chains.
|
|
10271
|
+
*/
|
|
10272
|
+
interface ProofTraceDto {
|
|
10273
|
+
/** The goal terms that couldn't be proved. */
|
|
10274
|
+
goal_term_ids: string[];
|
|
10275
|
+
/** The specific term where failure occurred. */
|
|
10276
|
+
failure_point?: string;
|
|
10277
|
+
/** Why the proof failed (human-readable classification). */
|
|
10278
|
+
failure_reason: string;
|
|
10279
|
+
/** Detailed reason description. */
|
|
10280
|
+
failure_details: string;
|
|
10281
|
+
/** Depth at which failure occurred in the proof tree. */
|
|
10282
|
+
depth: number;
|
|
10283
|
+
/** Suggested fixes from the proof engine. */
|
|
10284
|
+
suggestions: FixSuggestionDto[];
|
|
10285
|
+
/** Nested parent trace (for multi-level causal chains). */
|
|
10286
|
+
parent?: ProofTraceDto;
|
|
10287
|
+
}
|
|
10288
|
+
/** Individual constraint attestation within a certificate. */
|
|
10289
|
+
interface AttestationDto {
|
|
10290
|
+
/** Constraint identifier (e.g., layer name). */
|
|
10291
|
+
constraint_id: string;
|
|
10292
|
+
/** Constraint type (e.g., "temporal", "resource", "tool_contract"). */
|
|
10293
|
+
constraint_type: string;
|
|
10294
|
+
/** Whether the constraint is satisfied. */
|
|
10295
|
+
satisfied: boolean;
|
|
10296
|
+
/** Human-readable verification description. */
|
|
10297
|
+
verification_details: string;
|
|
10298
|
+
/** Hash of the constraint definition. */
|
|
10299
|
+
constraint_hash: string;
|
|
10300
|
+
}
|
|
10301
|
+
/** Full validity certificate with per-layer cryptographic attestations. */
|
|
10302
|
+
interface CertificateDto {
|
|
10303
|
+
/** Certificate ID. */
|
|
10304
|
+
id: string;
|
|
10305
|
+
/** Merkle root hash for quick verification. */
|
|
10306
|
+
proof_root?: string;
|
|
10307
|
+
/** When the certificate was issued (unix ms). */
|
|
10308
|
+
issued_at: number;
|
|
10309
|
+
/** Problem name. */
|
|
10310
|
+
problem_name: string;
|
|
10311
|
+
/** Number of constraints verified. */
|
|
10312
|
+
constraints_verified: number;
|
|
10313
|
+
/** Whether all constraints are satisfied. */
|
|
10314
|
+
all_satisfied: boolean;
|
|
10315
|
+
/** Number of inference steps in the proof. */
|
|
10316
|
+
inference_steps: number;
|
|
10317
|
+
/** Solving time in milliseconds. */
|
|
10318
|
+
solve_time_ms?: number;
|
|
10319
|
+
/** Per-layer constraint attestations. */
|
|
10320
|
+
attestations: AttestationDto[];
|
|
10321
|
+
}
|
|
10322
|
+
/** Statistics about how facts were extracted. */
|
|
10323
|
+
interface ExtractionStatsDto {
|
|
10324
|
+
/** Facts extracted deterministically (no LLM). */
|
|
10325
|
+
deterministic_facts: number;
|
|
10326
|
+
/** Facts extracted via LLM (semantic). */
|
|
10327
|
+
semantic_facts: number;
|
|
10328
|
+
/** Total number of LLM calls made. */
|
|
10329
|
+
total_llm_calls: number;
|
|
10330
|
+
}
|
|
10331
|
+
/** Per-agent sub-verdict within a multi-agent trajectory. */
|
|
10332
|
+
interface AgentSubVerdictDto {
|
|
10333
|
+
/** Agent identifier. */
|
|
10334
|
+
agent_id: string;
|
|
10335
|
+
/** Agent's verdict. */
|
|
10336
|
+
verdict: string;
|
|
10337
|
+
/** Agent's score. */
|
|
10338
|
+
score: number;
|
|
10339
|
+
}
|
|
10340
|
+
/** Response from the FormalJudge oversight pipeline. */
|
|
10341
|
+
interface FormalJudgeResponse {
|
|
10342
|
+
/** Overall verdict: "safe", "unsafe", "partial", or "residuated". */
|
|
10343
|
+
verdict: string;
|
|
10344
|
+
/** Overall aggregated score (T-norm of layer scores, 0.0-1.0). */
|
|
10345
|
+
overall_score: number;
|
|
10346
|
+
/** Per-layer verification results. */
|
|
10347
|
+
layer_results: LayerResultDto[];
|
|
10348
|
+
/** Specific constraint violations. */
|
|
10349
|
+
violations: ViolationDto[];
|
|
10350
|
+
/** Actionable fix suggestions. */
|
|
10351
|
+
fix_suggestions: FixSuggestionDto[];
|
|
10352
|
+
/** Faithfulness/deception detection score. */
|
|
10353
|
+
faithfulness_score?: number | null;
|
|
10354
|
+
/** Number of fabricated facts detected. */
|
|
10355
|
+
fabrications_detected: number;
|
|
10356
|
+
/** Deception predicates that triggered. */
|
|
10357
|
+
detected_deception_predicates: string[];
|
|
10358
|
+
/** Whether the master deception predicate triggered. */
|
|
10359
|
+
is_deceptive?: boolean | null;
|
|
10360
|
+
/** Deception fact map: all 25 atomic deception facts with boolean answers. */
|
|
10361
|
+
deception_fact_map?: Record<string, boolean> | null;
|
|
10362
|
+
/** Failed proof traces with causal chains for violated constraints. */
|
|
10363
|
+
proof_traces?: ProofTraceDto[];
|
|
10364
|
+
/** Full validity certificate (if safe and enabled). */
|
|
10365
|
+
certificate?: CertificateDto | null;
|
|
10366
|
+
/** Merkle root hash of the validity certificate. */
|
|
10367
|
+
certificate_hash?: string | null;
|
|
10368
|
+
/** Processing time in milliseconds. */
|
|
10369
|
+
elapsed_ms: number;
|
|
10370
|
+
/** Extraction statistics (deterministic vs. semantic). */
|
|
10371
|
+
extraction_stats: ExtractionStatsDto;
|
|
10372
|
+
/** Per-agent sub-verdicts (multi-agent trajectories). */
|
|
10373
|
+
agent_sub_verdicts?: AgentSubVerdictDto[];
|
|
10374
|
+
}
|
|
10375
|
+
/** Response from the iterative refinement pipeline. */
|
|
10376
|
+
interface FormalJudgeRefinementResponse {
|
|
10377
|
+
/** Results from each refinement round. */
|
|
10378
|
+
rounds: FormalJudgeResponse[];
|
|
10379
|
+
/** Total number of refinement rounds executed. */
|
|
10380
|
+
total_rounds: number;
|
|
10381
|
+
/** Whether the final verdict converged to safe. */
|
|
10382
|
+
converged: boolean;
|
|
10383
|
+
/** Total processing time across all rounds (ms). */
|
|
10384
|
+
total_elapsed_ms: number;
|
|
10385
|
+
}
|
|
10386
|
+
|
|
10387
|
+
/**
|
|
10388
|
+
* Resource client for FormalJudge oversight operations.
|
|
9553
10389
|
*
|
|
9554
|
-
* @
|
|
9555
|
-
*
|
|
10390
|
+
* @remarks
|
|
10391
|
+
* Provides neuro-symbolic agentic oversight verification.
|
|
10392
|
+
* Single-pass verification judges agent trajectories against formal safety constraints.
|
|
10393
|
+
* Iterative refinement re-runs the pipeline to converge on a safe verdict.
|
|
10394
|
+
*/
|
|
10395
|
+
declare class OversightClient {
|
|
10396
|
+
/** @internal */
|
|
10397
|
+
protected readonly http: HttpClient;
|
|
10398
|
+
/** @internal */
|
|
10399
|
+
constructor(http: HttpClient);
|
|
10400
|
+
/**
|
|
10401
|
+
* Run single-pass FormalJudge oversight verification.
|
|
10402
|
+
*
|
|
10403
|
+
* @param request - Judge request with trajectory and user intent.
|
|
10404
|
+
* @param options - Per-call request options.
|
|
10405
|
+
* @returns Verdict, scores, violations, and optional certificate.
|
|
10406
|
+
*/
|
|
10407
|
+
judge(request: FormalJudgeRequest, options?: RequestOptions): Promise<FormalJudgeResponse>;
|
|
10408
|
+
/**
|
|
10409
|
+
* Run iterative refinement FormalJudge pipeline.
|
|
10410
|
+
*
|
|
10411
|
+
* @param request - Judge request with trajectory and user intent.
|
|
10412
|
+
* @param options - Per-call request options.
|
|
10413
|
+
* @returns Results from each refinement round with convergence status.
|
|
10414
|
+
*/
|
|
10415
|
+
refine(request: FormalJudgeRequest, options?: RequestOptions): Promise<FormalJudgeRefinementResponse>;
|
|
10416
|
+
/**
|
|
10417
|
+
* Return a metadata-aware variant of this client.
|
|
10418
|
+
*
|
|
10419
|
+
* @returns A new client instance whose methods return `Promise<ApiResponse<T>>`.
|
|
10420
|
+
*/
|
|
10421
|
+
withMetadata(): OversightClientWithMetadata;
|
|
10422
|
+
}
|
|
10423
|
+
/**
|
|
10424
|
+
* Metadata-aware variant of {@link OversightClient}.
|
|
10425
|
+
*
|
|
10426
|
+
* Every method returns `Promise<ApiResponse<T>>` instead of `Promise<T>`.
|
|
10427
|
+
*/
|
|
10428
|
+
declare class OversightClientWithMetadata {
|
|
10429
|
+
private readonly http;
|
|
10430
|
+
/** @internal */
|
|
10431
|
+
constructor(http: HttpClient);
|
|
10432
|
+
/**
|
|
10433
|
+
* Run single-pass FormalJudge oversight verification.
|
|
10434
|
+
*
|
|
10435
|
+
* @param request - Judge request with trajectory and user intent.
|
|
10436
|
+
* @param options - Per-call request options.
|
|
10437
|
+
* @returns Verdict, scores, violations, and optional certificate wrapped in {@link ApiResponse}.
|
|
10438
|
+
*/
|
|
10439
|
+
judge(request: FormalJudgeRequest, options?: RequestOptions): Promise<ApiResponse<FormalJudgeResponse>>;
|
|
10440
|
+
/**
|
|
10441
|
+
* Run iterative refinement FormalJudge pipeline.
|
|
10442
|
+
*
|
|
10443
|
+
* @param request - Judge request with trajectory and user intent.
|
|
10444
|
+
* @param options - Per-call request options.
|
|
10445
|
+
* @returns Results from each refinement round with convergence status wrapped in {@link ApiResponse}.
|
|
10446
|
+
*/
|
|
10447
|
+
refine(request: FormalJudgeRequest, options?: RequestOptions): Promise<ApiResponse<FormalJudgeRefinementResponse>>;
|
|
10448
|
+
}
|
|
10449
|
+
|
|
10450
|
+
/** Request for differentiable forward chaining (Phases 1+2). */
|
|
10451
|
+
interface DifferentiableFcRequest {
|
|
10452
|
+
/** Maximum forward chaining iterations (default: 20). */
|
|
10453
|
+
max_iterations?: number;
|
|
10454
|
+
/** Softmax temperature for rule attention (default: 1.0). */
|
|
10455
|
+
temperature?: number;
|
|
10456
|
+
/** Minimum weight threshold for fact propagation (default: 0.01). */
|
|
10457
|
+
min_weight_threshold?: number;
|
|
10458
|
+
}
|
|
10459
|
+
/** Request for soft unification (Phase 2). */
|
|
10460
|
+
interface SoftUnifyRequest {
|
|
10461
|
+
/** First term ID (UUID). */
|
|
10462
|
+
term_a_id: string;
|
|
10463
|
+
/** Second term ID (UUID). */
|
|
10464
|
+
term_b_id: string;
|
|
10465
|
+
}
|
|
10466
|
+
/** Request for tagged forward chaining (Phase 1). */
|
|
10467
|
+
interface TaggedFcRequest {
|
|
10468
|
+
/** Maximum forward chaining iterations (default: 50). */
|
|
10469
|
+
max_iterations?: number;
|
|
10470
|
+
}
|
|
10471
|
+
/** Request for monadic fixpoint (Phase 3). */
|
|
10472
|
+
interface MonadicFixpointRequest {
|
|
10473
|
+
/** Maximum T-mu iterations (default: 50). */
|
|
10474
|
+
max_iterations?: number;
|
|
10475
|
+
}
|
|
10476
|
+
/** A pair of feature vectors for derived inference. */
|
|
10477
|
+
interface FeaturePair {
|
|
10478
|
+
/** Feature vector A. */
|
|
10479
|
+
features_a: number[];
|
|
10480
|
+
/** Feature vector B. */
|
|
10481
|
+
features_b: number[];
|
|
10482
|
+
}
|
|
10483
|
+
/** Request for derived inference (Phase 4). */
|
|
10484
|
+
interface DerivedInferenceRequest {
|
|
10485
|
+
/** Pairs of feature vectors for inference. */
|
|
10486
|
+
pairs: FeaturePair[];
|
|
10487
|
+
}
|
|
10488
|
+
/** Request for safety classification (Phase 5). */
|
|
10489
|
+
interface ClassifySafetyRequest {
|
|
10490
|
+
/** Text to classify for safety violations. */
|
|
10491
|
+
text: string;
|
|
10492
|
+
/** Classification threshold override (default: spec threshold). */
|
|
10493
|
+
threshold?: number;
|
|
10494
|
+
}
|
|
10495
|
+
/** Request for dynamic sort addition (Phase 6). */
|
|
10496
|
+
interface DynamicAddSortRequest {
|
|
10497
|
+
/** Name of the new sort. */
|
|
10498
|
+
sort_name: string;
|
|
10499
|
+
/** Names of parent sorts in the hierarchy. */
|
|
10500
|
+
parent_sort_names?: string[];
|
|
10501
|
+
/** Feature names associated with this sort. */
|
|
10502
|
+
feature_names?: string[];
|
|
10503
|
+
}
|
|
10504
|
+
/** A weighted fact with provenance information. */
|
|
10505
|
+
interface WeightedFactDto {
|
|
10506
|
+
/** Term ID. */
|
|
10507
|
+
term_id: string;
|
|
10508
|
+
/** Sort name. */
|
|
10509
|
+
sort_name: string;
|
|
10510
|
+
/** Weight (confidence). */
|
|
10511
|
+
weight: number;
|
|
10512
|
+
/** Derivation depth. */
|
|
10513
|
+
depth: number;
|
|
10514
|
+
/** Contributing rule names. */
|
|
10515
|
+
contributing_rules: string[];
|
|
10516
|
+
}
|
|
10517
|
+
/** Per-iteration metrics from differentiable FC. */
|
|
10518
|
+
interface IterationMetricDto {
|
|
10519
|
+
/** Iteration number. */
|
|
10520
|
+
iteration: number;
|
|
10521
|
+
/** Number of active rules. */
|
|
10522
|
+
active_rules: number;
|
|
10523
|
+
/** Maximum attention weight. */
|
|
10524
|
+
max_attention: number;
|
|
10525
|
+
/** Entropy of attention distribution. */
|
|
10526
|
+
entropy: number;
|
|
10527
|
+
/** Number of new facts derived. */
|
|
10528
|
+
new_facts: number;
|
|
10529
|
+
/** Mean weight of derived facts. */
|
|
10530
|
+
mean_weight: number;
|
|
10531
|
+
}
|
|
10532
|
+
/** Summary of symbolic forward chaining result. */
|
|
10533
|
+
interface SymbolicResultDto {
|
|
10534
|
+
/** Total facts after chaining. */
|
|
10535
|
+
total_facts: number;
|
|
10536
|
+
/** Number of derived facts. */
|
|
10537
|
+
derived_count: number;
|
|
10538
|
+
/** Number of iterations performed. */
|
|
10539
|
+
iterations: number;
|
|
10540
|
+
/** Whether fixpoint was reached. */
|
|
10541
|
+
fixpoint_reached: boolean;
|
|
10542
|
+
}
|
|
10543
|
+
/** Response for differentiable forward chaining. */
|
|
10544
|
+
interface DifferentiableFcResponse {
|
|
10545
|
+
/** Weighted facts with provenance. */
|
|
10546
|
+
weighted_facts: WeightedFactDto[];
|
|
10547
|
+
/** Per-iteration metrics. */
|
|
10548
|
+
iteration_metrics: IterationMetricDto[];
|
|
10549
|
+
/** Symbolic result summary. */
|
|
10550
|
+
symbolic_result: SymbolicResultDto;
|
|
10551
|
+
/** Processing time in milliseconds. */
|
|
10552
|
+
elapsed_ms: number;
|
|
10553
|
+
}
|
|
10554
|
+
/** Response for soft unification. */
|
|
10555
|
+
interface SoftUnifyResponse {
|
|
10556
|
+
/** Overall confidence score (0.0-1.0). */
|
|
10557
|
+
confidence: number;
|
|
10558
|
+
/** Sort compatibility score. */
|
|
10559
|
+
sort_score: number;
|
|
10560
|
+
/** Feature compatibility score. */
|
|
10561
|
+
feature_score: number;
|
|
10562
|
+
/** Whether the terms are hard-compatible (classical unification). */
|
|
10563
|
+
hard_compatible: boolean;
|
|
10564
|
+
/** Processing time in milliseconds. */
|
|
10565
|
+
elapsed_ms: number;
|
|
10566
|
+
}
|
|
10567
|
+
/** A fact with a probabilistic semiring tag. */
|
|
10568
|
+
interface TaggedFactDto {
|
|
10569
|
+
/** Term ID. */
|
|
10570
|
+
term_id: string;
|
|
10571
|
+
/** Sort name. */
|
|
10572
|
+
sort_name: string;
|
|
10573
|
+
/** Probability (0.0-1.0). */
|
|
10574
|
+
probability: number;
|
|
10575
|
+
}
|
|
10576
|
+
/** Response for tagged forward chaining. */
|
|
10577
|
+
interface TaggedFcResponse {
|
|
10578
|
+
/** Facts with probabilistic tags. */
|
|
10579
|
+
tagged_facts: TaggedFactDto[];
|
|
10580
|
+
/** Number of iterations performed. */
|
|
10581
|
+
iterations: number;
|
|
10582
|
+
/** Whether fixpoint was reached. */
|
|
10583
|
+
fixpoint_reached: boolean;
|
|
10584
|
+
/** Number of derived facts. */
|
|
10585
|
+
derived_count: number;
|
|
10586
|
+
/** Processing time in milliseconds. */
|
|
10587
|
+
elapsed_ms: number;
|
|
10588
|
+
}
|
|
10589
|
+
/** A monadic fact with depth and confidence. */
|
|
10590
|
+
interface MonadicFactDto {
|
|
10591
|
+
/** Term ID. */
|
|
10592
|
+
term_id: string;
|
|
10593
|
+
/** Sort name. */
|
|
10594
|
+
sort_name: string;
|
|
10595
|
+
/** Derivation depth. */
|
|
10596
|
+
derivation_depth: number;
|
|
10597
|
+
/** Confidence (0.0-1.0). */
|
|
10598
|
+
confidence: number;
|
|
10599
|
+
/** Whether this is a given (base) fact. */
|
|
10600
|
+
is_given: boolean;
|
|
10601
|
+
}
|
|
10602
|
+
/** Response for monadic fixpoint. */
|
|
10603
|
+
interface MonadicFixpointResponse {
|
|
10604
|
+
/** Facts with monadic metadata. */
|
|
10605
|
+
facts: MonadicFactDto[];
|
|
10606
|
+
/** Number of iterations performed. */
|
|
10607
|
+
iterations: number;
|
|
10608
|
+
/** Whether fixpoint was reached. */
|
|
10609
|
+
fixpoint_reached: boolean;
|
|
10610
|
+
/** Number of given facts. */
|
|
10611
|
+
given_count: number;
|
|
10612
|
+
/** Number of derived facts. */
|
|
10613
|
+
derived_count: number;
|
|
10614
|
+
/** Maximum derivation depth. */
|
|
10615
|
+
max_depth: number;
|
|
10616
|
+
/** Processing time in milliseconds. */
|
|
10617
|
+
elapsed_ms: number;
|
|
10618
|
+
}
|
|
10619
|
+
/** Single pair inference result from the derived layer. */
|
|
10620
|
+
interface DerivedInferenceResultDto {
|
|
10621
|
+
/** Match score. */
|
|
10622
|
+
match_score: number;
|
|
10623
|
+
/** Gate value. */
|
|
10624
|
+
gate_value: number;
|
|
10625
|
+
/** Whether to proceed. */
|
|
10626
|
+
proceed: boolean;
|
|
10627
|
+
/** Combined confidence. */
|
|
10628
|
+
combined_confidence: number;
|
|
10629
|
+
/** Sort predictions (sort name to probability). */
|
|
10630
|
+
sort_predictions: Record<string, number>;
|
|
10631
|
+
}
|
|
10632
|
+
/** Architecture information for the derived layer. */
|
|
10633
|
+
interface ArchitectureInfoDto {
|
|
10634
|
+
/** Number of parameters. */
|
|
10635
|
+
parameters: number;
|
|
10636
|
+
/** Number of sorts. */
|
|
10637
|
+
sort_count: number;
|
|
10638
|
+
/** Embedding dimension. */
|
|
10639
|
+
embedding_dim: number;
|
|
10640
|
+
/** Whether the constraint is satisfied. */
|
|
10641
|
+
constraint_satisfied: boolean;
|
|
10642
|
+
}
|
|
10643
|
+
/** Response for derived inference. */
|
|
10644
|
+
interface DerivedInferenceResponse {
|
|
10645
|
+
/** Per-pair inference results. */
|
|
10646
|
+
results: DerivedInferenceResultDto[];
|
|
10647
|
+
/** Architecture information. */
|
|
10648
|
+
architecture: ArchitectureInfoDto;
|
|
10649
|
+
}
|
|
10650
|
+
/** Safety model architecture info. */
|
|
10651
|
+
interface SafetyModelInfoDto {
|
|
10652
|
+
/** Number of parameters. */
|
|
10653
|
+
parameters: number;
|
|
10654
|
+
/** Embedding dimension. */
|
|
10655
|
+
embedding_dim: number;
|
|
10656
|
+
/** Number of safety categories. */
|
|
10657
|
+
categories: number;
|
|
10658
|
+
/** Number of safety questions. */
|
|
10659
|
+
questions: number;
|
|
10660
|
+
}
|
|
10661
|
+
/** Response for safety classification. */
|
|
10662
|
+
interface ClassifySafetyResponse {
|
|
10663
|
+
/** Per-question safety decisions. */
|
|
10664
|
+
question_decisions: Record<string, boolean>;
|
|
10665
|
+
/** Per-question safety probabilities. */
|
|
10666
|
+
question_probabilities: Record<string, number>;
|
|
10667
|
+
/** Per-category activation scores. */
|
|
10668
|
+
category_activations: Record<string, number>;
|
|
10669
|
+
/** Safety model information. */
|
|
10670
|
+
model_info: SafetyModelInfoDto;
|
|
10671
|
+
/** Processing time in milliseconds. */
|
|
10672
|
+
elapsed_ms: number;
|
|
10673
|
+
}
|
|
10674
|
+
/** Post-adaptation verification result. */
|
|
10675
|
+
interface VerificationDto {
|
|
10676
|
+
/** Whether the constraint is satisfied after adaptation. */
|
|
10677
|
+
constraint_satisfied: boolean;
|
|
10678
|
+
/** Maximum violation magnitude. */
|
|
10679
|
+
max_violation: number;
|
|
10680
|
+
/** Sort count after adaptation. */
|
|
10681
|
+
sort_count: number;
|
|
10682
|
+
}
|
|
10683
|
+
/** Response for dynamic sort addition. */
|
|
10684
|
+
interface DynamicAddSortResponse {
|
|
10685
|
+
/** Created sort ID. */
|
|
10686
|
+
sort_id: string;
|
|
10687
|
+
/** Sort index in the architecture. */
|
|
10688
|
+
sort_index: number;
|
|
10689
|
+
/** Initialization method used. */
|
|
10690
|
+
initialization: string;
|
|
10691
|
+
/** Adaptation time in microseconds. */
|
|
10692
|
+
adaptation_time_us: number;
|
|
10693
|
+
/** Whether predictions were preserved. */
|
|
10694
|
+
predictions_preserved: boolean;
|
|
10695
|
+
/** Maximum deviation from original predictions. */
|
|
10696
|
+
max_deviation: number;
|
|
10697
|
+
/** Post-adaptation verification result. */
|
|
10698
|
+
verification?: VerificationDto;
|
|
10699
|
+
}
|
|
10700
|
+
/** Status of a CDL component. */
|
|
10701
|
+
interface CdlComponentStatus {
|
|
10702
|
+
/** Whether the component is active. */
|
|
10703
|
+
active: boolean;
|
|
10704
|
+
/** Number of parameters. */
|
|
10705
|
+
parameters: number;
|
|
10706
|
+
}
|
|
10707
|
+
/** Response for CDL status. */
|
|
10708
|
+
interface CdlStatusResponse {
|
|
10709
|
+
/** Whether CDL is enabled. */
|
|
10710
|
+
enabled: boolean;
|
|
10711
|
+
/** Derived layer status. */
|
|
10712
|
+
derived_layer?: CdlComponentStatus;
|
|
10713
|
+
/** Fact grounding status. */
|
|
10714
|
+
fact_grounding?: CdlComponentStatus;
|
|
10715
|
+
/** Dynamic architecture status. */
|
|
10716
|
+
dynamic_architecture?: CdlComponentStatus;
|
|
10717
|
+
}
|
|
10718
|
+
|
|
10719
|
+
/**
|
|
10720
|
+
* Resource client for Categorical Deep Learning (CDL) operations.
|
|
10721
|
+
*
|
|
10722
|
+
* @remarks
|
|
10723
|
+
* CDL combines differentiable neural layers with symbolic OSF inference.
|
|
10724
|
+
* All 6 CDL phases are exposed:
|
|
10725
|
+
* - Phase 1: Tagged forward chaining (provenance semirings)
|
|
10726
|
+
* - Phase 2: Differentiable forward chaining + soft unification
|
|
10727
|
+
* - Phase 3: Monadic fixpoint (OSF monad iteration)
|
|
10728
|
+
* - Phase 4: Derived inference (composed CDL neural layer)
|
|
10729
|
+
* - Phase 5: Safety classification (CDL fact grounding)
|
|
10730
|
+
* - Phase 6: Dynamic sort addition (self-modifying architecture)
|
|
10731
|
+
*/
|
|
10732
|
+
declare class CdlClient {
|
|
10733
|
+
/** @internal */
|
|
10734
|
+
protected readonly http: HttpClient;
|
|
10735
|
+
/** @internal */
|
|
10736
|
+
constructor(http: HttpClient);
|
|
10737
|
+
/**
|
|
10738
|
+
* Run differentiable forward chaining (Phases 1+2).
|
|
10739
|
+
*
|
|
10740
|
+
* @param request - Forward chaining parameters.
|
|
10741
|
+
* @param options - Per-call request options.
|
|
10742
|
+
* @returns Weighted facts, iteration metrics, and symbolic result.
|
|
10743
|
+
*/
|
|
10744
|
+
differentiableForwardChain(request: DifferentiableFcRequest, options?: RequestOptions): Promise<DifferentiableFcResponse>;
|
|
10745
|
+
/**
|
|
10746
|
+
* Perform soft (differentiable) unification between two terms (Phase 2).
|
|
10747
|
+
*
|
|
10748
|
+
* @param request - Soft unification request with two term IDs.
|
|
10749
|
+
* @param options - Per-call request options.
|
|
10750
|
+
* @returns Confidence scores and compatibility.
|
|
10751
|
+
*/
|
|
10752
|
+
softUnify(request: SoftUnifyRequest, options?: RequestOptions): Promise<SoftUnifyResponse>;
|
|
10753
|
+
/**
|
|
10754
|
+
* Run tagged forward chaining with probabilistic semiring (Phase 1).
|
|
10755
|
+
*
|
|
10756
|
+
* @param request - Tagged forward chaining parameters.
|
|
10757
|
+
* @param options - Per-call request options.
|
|
10758
|
+
* @returns Tagged facts with probabilities.
|
|
10759
|
+
*/
|
|
10760
|
+
taggedForwardChain(request: TaggedFcRequest, options?: RequestOptions): Promise<TaggedFcResponse>;
|
|
10761
|
+
/**
|
|
10762
|
+
* Run monadic fixpoint inference (Phase 3).
|
|
10763
|
+
*
|
|
10764
|
+
* @param request - Monadic fixpoint parameters.
|
|
10765
|
+
* @param options - Per-call request options.
|
|
10766
|
+
* @returns Facts with monadic metadata.
|
|
10767
|
+
*/
|
|
10768
|
+
monadicFixpoint(request: MonadicFixpointRequest, options?: RequestOptions): Promise<MonadicFixpointResponse>;
|
|
10769
|
+
/**
|
|
10770
|
+
* Run derived inference through composed CDL layer (Phase 4).
|
|
10771
|
+
*
|
|
10772
|
+
* @param request - Feature pairs for inference.
|
|
10773
|
+
* @param options - Per-call request options.
|
|
10774
|
+
* @returns Inference results with architecture info.
|
|
10775
|
+
*/
|
|
10776
|
+
derivedInference(request: DerivedInferenceRequest, options?: RequestOptions): Promise<DerivedInferenceResponse>;
|
|
10777
|
+
/**
|
|
10778
|
+
* Classify text for safety violations using CDL fact grounding (Phase 5).
|
|
10779
|
+
*
|
|
10780
|
+
* @param request - Safety classification request.
|
|
10781
|
+
* @param options - Per-call request options.
|
|
10782
|
+
* @returns Safety decisions, probabilities, and model info.
|
|
10783
|
+
*/
|
|
10784
|
+
classifySafety(request: ClassifySafetyRequest, options?: RequestOptions): Promise<ClassifySafetyResponse>;
|
|
10785
|
+
/**
|
|
10786
|
+
* Dynamically add a sort to the CDL architecture (Phase 6).
|
|
10787
|
+
*
|
|
10788
|
+
* @param request - Sort definition.
|
|
10789
|
+
* @param options - Per-call request options.
|
|
10790
|
+
* @returns Adaptation result with verification.
|
|
10791
|
+
*/
|
|
10792
|
+
dynamicAddSort(request: DynamicAddSortRequest, options?: RequestOptions): Promise<DynamicAddSortResponse>;
|
|
10793
|
+
/**
|
|
10794
|
+
* Get CDL subsystem status.
|
|
10795
|
+
*
|
|
10796
|
+
* @param options - Per-call request options.
|
|
10797
|
+
* @returns CDL component statuses.
|
|
10798
|
+
*/
|
|
10799
|
+
getStatus(options?: RequestOptions): Promise<CdlStatusResponse>;
|
|
10800
|
+
/**
|
|
10801
|
+
* Return a metadata-aware variant of this client.
|
|
10802
|
+
*
|
|
10803
|
+
* @returns A new client instance whose methods return `Promise<ApiResponse<T>>`.
|
|
10804
|
+
*/
|
|
10805
|
+
withMetadata(): CdlClientWithMetadata;
|
|
10806
|
+
}
|
|
10807
|
+
/**
|
|
10808
|
+
* Metadata-aware variant of {@link CdlClient}.
|
|
10809
|
+
*
|
|
10810
|
+
* Every method returns `Promise<ApiResponse<T>>` instead of `Promise<T>`.
|
|
10811
|
+
*/
|
|
10812
|
+
declare class CdlClientWithMetadata {
|
|
10813
|
+
private readonly http;
|
|
10814
|
+
/** @internal */
|
|
10815
|
+
constructor(http: HttpClient);
|
|
10816
|
+
differentiableForwardChain(request: DifferentiableFcRequest, options?: RequestOptions): Promise<ApiResponse<DifferentiableFcResponse>>;
|
|
10817
|
+
softUnify(request: SoftUnifyRequest, options?: RequestOptions): Promise<ApiResponse<SoftUnifyResponse>>;
|
|
10818
|
+
taggedForwardChain(request: TaggedFcRequest, options?: RequestOptions): Promise<ApiResponse<TaggedFcResponse>>;
|
|
10819
|
+
monadicFixpoint(request: MonadicFixpointRequest, options?: RequestOptions): Promise<ApiResponse<MonadicFixpointResponse>>;
|
|
10820
|
+
derivedInference(request: DerivedInferenceRequest, options?: RequestOptions): Promise<ApiResponse<DerivedInferenceResponse>>;
|
|
10821
|
+
classifySafety(request: ClassifySafetyRequest, options?: RequestOptions): Promise<ApiResponse<ClassifySafetyResponse>>;
|
|
10822
|
+
dynamicAddSort(request: DynamicAddSortRequest, options?: RequestOptions): Promise<ApiResponse<DynamicAddSortResponse>>;
|
|
10823
|
+
getStatus(options?: RequestOptions): Promise<ApiResponse<CdlStatusResponse>>;
|
|
10824
|
+
}
|
|
10825
|
+
|
|
10826
|
+
/** Response for neuro-symbolic status. */
|
|
10827
|
+
interface NeuroSymbolicStatusResponse {
|
|
10828
|
+
/** Whether the neuro-symbolic system is enabled. */
|
|
10829
|
+
enabled: boolean;
|
|
10830
|
+
/** Status details. */
|
|
10831
|
+
status?: Record<string, unknown> | null;
|
|
10832
|
+
}
|
|
10833
|
+
/** Response for neuro-symbolic diagnostics. */
|
|
10834
|
+
interface DiagnosticsResponse {
|
|
10835
|
+
/** Whether the neuro-symbolic system is enabled. */
|
|
10836
|
+
enabled: boolean;
|
|
10837
|
+
/** Diagnostics details. */
|
|
10838
|
+
diagnostics?: Record<string, unknown> | null;
|
|
10839
|
+
}
|
|
10840
|
+
/** Response from triggering training. */
|
|
10841
|
+
interface TrainingTriggerResponse {
|
|
10842
|
+
/** Whether training was triggered. */
|
|
10843
|
+
triggered: boolean;
|
|
10844
|
+
/** Training result details. */
|
|
10845
|
+
result?: Record<string, unknown> | null;
|
|
10846
|
+
/** Error message if training failed. */
|
|
10847
|
+
error?: string | null;
|
|
10848
|
+
}
|
|
10849
|
+
/** Response from GFlowNet training. */
|
|
10850
|
+
interface GFlowNetTrainResponse {
|
|
10851
|
+
/** Whether training was triggered. */
|
|
10852
|
+
triggered: boolean;
|
|
10853
|
+
/** Final loss value. */
|
|
10854
|
+
loss: number;
|
|
10855
|
+
/** Number of trajectories consumed. */
|
|
10856
|
+
trajectories_consumed: number;
|
|
10857
|
+
/** Error message if training failed. */
|
|
10858
|
+
error?: string | null;
|
|
10859
|
+
}
|
|
10860
|
+
/** Ground truth entry for end-to-end training. */
|
|
10861
|
+
interface GroundTruthEntry {
|
|
10862
|
+
/** Input term ID. */
|
|
10863
|
+
term_id: string;
|
|
10864
|
+
/** Expected sort name. */
|
|
10865
|
+
expected_sort: string;
|
|
10866
|
+
}
|
|
10867
|
+
/** Request for end-to-end training. */
|
|
10868
|
+
interface E2eTrainingRequest {
|
|
10869
|
+
/** Number of training epochs. */
|
|
10870
|
+
epochs?: number;
|
|
10871
|
+
/** Maximum number of facts to use. */
|
|
10872
|
+
max_facts?: number;
|
|
10873
|
+
/** Maximum number of iterations per epoch. */
|
|
10874
|
+
max_iterations?: number;
|
|
10875
|
+
/** Ground truth entries for supervised training. */
|
|
10876
|
+
ground_truth?: GroundTruthEntry[];
|
|
10877
|
+
}
|
|
10878
|
+
/** Response from end-to-end training. */
|
|
10879
|
+
interface E2eTrainingResponse {
|
|
10880
|
+
/** Whether training was triggered. */
|
|
10881
|
+
triggered: boolean;
|
|
10882
|
+
/** Human-readable message. */
|
|
10883
|
+
message: string;
|
|
10884
|
+
/** Number of epochs completed. */
|
|
10885
|
+
epochs_completed: number;
|
|
10886
|
+
/** Per-epoch results. */
|
|
10887
|
+
epoch_results: Record<string, unknown>[];
|
|
10888
|
+
/** Initial loss. */
|
|
10889
|
+
initial_loss?: number | null;
|
|
10890
|
+
/** Final loss. */
|
|
10891
|
+
final_loss?: number | null;
|
|
10892
|
+
/** Final accuracy. */
|
|
10893
|
+
final_accuracy?: number | null;
|
|
10894
|
+
/** Error message if training failed. */
|
|
10895
|
+
error?: string | null;
|
|
10896
|
+
}
|
|
10897
|
+
/** Response from saving weights. */
|
|
10898
|
+
interface SaveWeightsResponse {
|
|
10899
|
+
/** Whether weights were saved successfully. */
|
|
10900
|
+
success: boolean;
|
|
10901
|
+
/** Error message if saving failed. */
|
|
10902
|
+
error?: string | null;
|
|
10903
|
+
}
|
|
10904
|
+
/** Containment verification results. */
|
|
10905
|
+
interface ContainmentVerificationDto {
|
|
10906
|
+
/** Total number of containment checks. */
|
|
10907
|
+
total_checks: number;
|
|
10908
|
+
/** Number of checks that passed. */
|
|
10909
|
+
passed: number;
|
|
10910
|
+
/** Number of checks that failed. */
|
|
10911
|
+
failed: number;
|
|
10912
|
+
/** Pass rate (0.0-1.0). */
|
|
10913
|
+
pass_rate: number;
|
|
10914
|
+
}
|
|
10915
|
+
/** Meet preservation verification results. */
|
|
10916
|
+
interface MeetPreservationDto {
|
|
10917
|
+
/** Total number of meet checks. */
|
|
10918
|
+
total_checks: number;
|
|
10919
|
+
/** Number of checks that passed. */
|
|
10920
|
+
passed: number;
|
|
10921
|
+
/** Number of checks that failed. */
|
|
10922
|
+
failed: number;
|
|
10923
|
+
/** Pass rate (0.0-1.0). */
|
|
10924
|
+
pass_rate: number;
|
|
10925
|
+
}
|
|
10926
|
+
/** Specificity verification results. */
|
|
10927
|
+
interface SpecificityDto {
|
|
10928
|
+
/** Total number of specificity checks. */
|
|
10929
|
+
total_checks: number;
|
|
10930
|
+
/** Number of checks that passed. */
|
|
10931
|
+
passed: number;
|
|
10932
|
+
/** Number of checks that failed. */
|
|
10933
|
+
failed: number;
|
|
10934
|
+
/** Pass rate (0.0-1.0). */
|
|
10935
|
+
pass_rate: number;
|
|
10936
|
+
}
|
|
10937
|
+
/** Response from verifying embeddings. */
|
|
10938
|
+
interface EmbeddingVerificationResponse {
|
|
10939
|
+
/** Whether embeddings are available. */
|
|
10940
|
+
available: boolean;
|
|
10941
|
+
/** Number of sort embeddings. */
|
|
10942
|
+
sort_count?: number | null;
|
|
10943
|
+
/** Embedding dimension. */
|
|
10944
|
+
embedding_dim?: number | null;
|
|
10945
|
+
/** Containment verification results. */
|
|
10946
|
+
containment?: ContainmentVerificationDto | null;
|
|
10947
|
+
/** Meet preservation verification results. */
|
|
10948
|
+
meet_preservation?: MeetPreservationDto | null;
|
|
10949
|
+
/** Specificity verification results. */
|
|
10950
|
+
specificity?: SpecificityDto | null;
|
|
10951
|
+
/** Error message. */
|
|
10952
|
+
error?: string | null;
|
|
10953
|
+
}
|
|
10954
|
+
/** Request for sort box lookup. */
|
|
10955
|
+
interface SortBoxRequest {
|
|
10956
|
+
/** Sort name to look up. */
|
|
10957
|
+
sort_name: string;
|
|
10958
|
+
}
|
|
10959
|
+
/** Response for sort box lookup. */
|
|
10960
|
+
interface SortBoxResponse {
|
|
10961
|
+
/** Sort name. */
|
|
10962
|
+
sort_name: string;
|
|
10963
|
+
/** Whether the sort box was found. */
|
|
10964
|
+
found: boolean;
|
|
10965
|
+
/** Embedding dimension. */
|
|
10966
|
+
dim?: number | null;
|
|
10967
|
+
/** Minimum coordinates. */
|
|
10968
|
+
min_coords?: number[] | null;
|
|
10969
|
+
/** Maximum coordinates. */
|
|
10970
|
+
max_coords?: number[] | null;
|
|
10971
|
+
/** Log volume of the box. */
|
|
10972
|
+
log_volume?: number | null;
|
|
10973
|
+
/** Error message. */
|
|
10974
|
+
error?: string | null;
|
|
10975
|
+
}
|
|
10976
|
+
|
|
10977
|
+
/**
|
|
10978
|
+
* Resource client for neuro-symbolic operations.
|
|
10979
|
+
*
|
|
10980
|
+
* @remarks
|
|
10981
|
+
* Provides training and embedding management for the neuro-symbolic subsystem.
|
|
10982
|
+
* All endpoints are under the admin namespace.
|
|
10983
|
+
*/
|
|
10984
|
+
declare class NeuroSymbolicClient {
|
|
10985
|
+
/** @internal */
|
|
10986
|
+
protected readonly http: HttpClient;
|
|
10987
|
+
/** @internal */
|
|
10988
|
+
constructor(http: HttpClient);
|
|
10989
|
+
/**
|
|
10990
|
+
* Get neuro-symbolic system status.
|
|
10991
|
+
*
|
|
10992
|
+
* @param options - Per-call request options.
|
|
10993
|
+
* @returns System status.
|
|
10994
|
+
*/
|
|
10995
|
+
getStatus(options?: RequestOptions): Promise<NeuroSymbolicStatusResponse>;
|
|
10996
|
+
/**
|
|
10997
|
+
* Get neuro-symbolic diagnostics.
|
|
10998
|
+
*
|
|
10999
|
+
* @param options - Per-call request options.
|
|
11000
|
+
* @returns Diagnostics information.
|
|
11001
|
+
*/
|
|
11002
|
+
getDiagnostics(options?: RequestOptions): Promise<DiagnosticsResponse>;
|
|
11003
|
+
/**
|
|
11004
|
+
* Trigger scorer training.
|
|
11005
|
+
*
|
|
11006
|
+
* @param options - Per-call request options.
|
|
11007
|
+
* @returns Training trigger result.
|
|
11008
|
+
*/
|
|
11009
|
+
trainScorer(options?: RequestOptions): Promise<TrainingTriggerResponse>;
|
|
11010
|
+
/**
|
|
11011
|
+
* Trigger embedding training.
|
|
11012
|
+
*
|
|
11013
|
+
* @param options - Per-call request options.
|
|
11014
|
+
* @returns Training trigger result.
|
|
11015
|
+
*/
|
|
11016
|
+
trainEmbeddings(options?: RequestOptions): Promise<TrainingTriggerResponse>;
|
|
11017
|
+
/**
|
|
11018
|
+
* Trigger GFlowNet training.
|
|
11019
|
+
*
|
|
11020
|
+
* @param options - Per-call request options.
|
|
11021
|
+
* @returns GFlowNet training result.
|
|
11022
|
+
*/
|
|
11023
|
+
trainGflownet(options?: RequestOptions): Promise<GFlowNetTrainResponse>;
|
|
11024
|
+
/**
|
|
11025
|
+
* Run end-to-end training.
|
|
11026
|
+
*
|
|
11027
|
+
* @param request - Training configuration.
|
|
11028
|
+
* @param options - Per-call request options.
|
|
11029
|
+
* @returns Training results.
|
|
11030
|
+
*/
|
|
11031
|
+
trainE2e(request: E2eTrainingRequest, options?: RequestOptions): Promise<E2eTrainingResponse>;
|
|
11032
|
+
/**
|
|
11033
|
+
* Save trained weights.
|
|
11034
|
+
*
|
|
11035
|
+
* @param options - Per-call request options.
|
|
11036
|
+
* @returns Save result.
|
|
11037
|
+
*/
|
|
11038
|
+
saveWeights(options?: RequestOptions): Promise<SaveWeightsResponse>;
|
|
11039
|
+
/**
|
|
11040
|
+
* Verify embedding quality.
|
|
11041
|
+
*
|
|
11042
|
+
* @param options - Per-call request options.
|
|
11043
|
+
* @returns Verification results for containment, meet preservation, and specificity.
|
|
11044
|
+
*/
|
|
11045
|
+
verifyEmbeddings(options?: RequestOptions): Promise<EmbeddingVerificationResponse>;
|
|
11046
|
+
/**
|
|
11047
|
+
* Look up a sort's box embedding.
|
|
11048
|
+
*
|
|
11049
|
+
* @param request - Sort box lookup request.
|
|
11050
|
+
* @param options - Per-call request options.
|
|
11051
|
+
* @returns Sort box coordinates and volume.
|
|
11052
|
+
*/
|
|
11053
|
+
sortBoxLookup(request: SortBoxRequest, options?: RequestOptions): Promise<SortBoxResponse>;
|
|
11054
|
+
/**
|
|
11055
|
+
* Return a metadata-aware variant of this client.
|
|
11056
|
+
*
|
|
11057
|
+
* @returns A new client instance whose methods return `Promise<ApiResponse<T>>`.
|
|
11058
|
+
*/
|
|
11059
|
+
withMetadata(): NeuroSymbolicClientWithMetadata;
|
|
11060
|
+
}
|
|
11061
|
+
/**
|
|
11062
|
+
* Metadata-aware variant of {@link NeuroSymbolicClient}.
|
|
11063
|
+
*
|
|
11064
|
+
* Every method returns `Promise<ApiResponse<T>>` instead of `Promise<T>`.
|
|
11065
|
+
*/
|
|
11066
|
+
declare class NeuroSymbolicClientWithMetadata {
|
|
11067
|
+
private readonly http;
|
|
11068
|
+
/** @internal */
|
|
11069
|
+
constructor(http: HttpClient);
|
|
11070
|
+
getStatus(options?: RequestOptions): Promise<ApiResponse<NeuroSymbolicStatusResponse>>;
|
|
11071
|
+
getDiagnostics(options?: RequestOptions): Promise<ApiResponse<DiagnosticsResponse>>;
|
|
11072
|
+
trainScorer(options?: RequestOptions): Promise<ApiResponse<TrainingTriggerResponse>>;
|
|
11073
|
+
trainEmbeddings(options?: RequestOptions): Promise<ApiResponse<TrainingTriggerResponse>>;
|
|
11074
|
+
trainGflownet(options?: RequestOptions): Promise<ApiResponse<GFlowNetTrainResponse>>;
|
|
11075
|
+
trainE2e(request: E2eTrainingRequest, options?: RequestOptions): Promise<ApiResponse<E2eTrainingResponse>>;
|
|
11076
|
+
saveWeights(options?: RequestOptions): Promise<ApiResponse<SaveWeightsResponse>>;
|
|
11077
|
+
verifyEmbeddings(options?: RequestOptions): Promise<ApiResponse<EmbeddingVerificationResponse>>;
|
|
11078
|
+
sortBoxLookup(request: SortBoxRequest, options?: RequestOptions): Promise<ApiResponse<SortBoxResponse>>;
|
|
11079
|
+
}
|
|
11080
|
+
|
|
11081
|
+
/** Request for sort discovery analysis. */
|
|
11082
|
+
interface SortDiscoveryRequest {
|
|
11083
|
+
/** Maximum number of concepts to discover. */
|
|
11084
|
+
max_concepts?: number;
|
|
11085
|
+
/** Minimum extent size (number of terms in a concept). */
|
|
11086
|
+
min_extent_size?: number;
|
|
11087
|
+
/** Minimum intent size (number of attributes in a concept). */
|
|
11088
|
+
min_intent_size?: number;
|
|
11089
|
+
/** Maximum number of terms to analyze. */
|
|
11090
|
+
max_terms?: number;
|
|
11091
|
+
/** Minimum confidence for sort recommendations. */
|
|
11092
|
+
min_confidence?: number;
|
|
11093
|
+
/** Whether to auto-create sorts above threshold. */
|
|
11094
|
+
auto_create_sorts?: boolean;
|
|
11095
|
+
/** Threshold for auto-creating sorts. */
|
|
11096
|
+
auto_create_threshold?: number;
|
|
11097
|
+
/** Fuzzy alpha-cut thresholds for multi-level analysis. */
|
|
11098
|
+
fuzzy_thresholds?: number[];
|
|
11099
|
+
}
|
|
11100
|
+
/** A sort recommendation from discovery. */
|
|
11101
|
+
interface SortRecommendation {
|
|
11102
|
+
/** Recommended sort name. */
|
|
11103
|
+
sort_name: string;
|
|
11104
|
+
/** Features that characterize this sort. */
|
|
11105
|
+
features: string[];
|
|
11106
|
+
/** Number of terms that match this sort. */
|
|
11107
|
+
term_count: number;
|
|
11108
|
+
/** Confidence score (0.0-1.0). */
|
|
11109
|
+
confidence: number;
|
|
11110
|
+
/** Suggested parent sort. */
|
|
11111
|
+
parent_sort?: string;
|
|
11112
|
+
/** Human-readable explanation. */
|
|
11113
|
+
explanation: string;
|
|
11114
|
+
}
|
|
11115
|
+
/** A fuzzy concept level from multi-threshold analysis. */
|
|
11116
|
+
interface FuzzyConceptLevel {
|
|
11117
|
+
/** Alpha threshold. */
|
|
11118
|
+
alpha: number;
|
|
11119
|
+
/** Number of concepts at this level. */
|
|
11120
|
+
concept_count: number;
|
|
11121
|
+
/** Number of novel concepts at this level. */
|
|
11122
|
+
novel_at_this_level: number;
|
|
11123
|
+
}
|
|
11124
|
+
/** Response from sort discovery analysis. */
|
|
11125
|
+
interface SortDiscoveryResponse {
|
|
11126
|
+
/** Whether the analysis succeeded. */
|
|
11127
|
+
success: boolean;
|
|
11128
|
+
/** Number of terms analyzed. */
|
|
11129
|
+
terms_analyzed: number;
|
|
11130
|
+
/** Total concepts found. */
|
|
11131
|
+
total_concepts: number;
|
|
11132
|
+
/** Concepts matching existing sorts. */
|
|
11133
|
+
concepts_matching_existing: number;
|
|
11134
|
+
/** Novel concepts discovered. */
|
|
11135
|
+
novel_concepts_discovered: number;
|
|
11136
|
+
/** Sorts that were auto-created. */
|
|
11137
|
+
sorts_created: string[];
|
|
11138
|
+
/** Sort recommendations. */
|
|
11139
|
+
recommendations: SortRecommendation[];
|
|
11140
|
+
/** Processing time in milliseconds. */
|
|
11141
|
+
processing_time_ms: number;
|
|
11142
|
+
/** Fuzzy concept levels (if fuzzy thresholds were provided). */
|
|
11143
|
+
fuzzy_levels?: FuzzyConceptLevel[];
|
|
11144
|
+
}
|
|
11145
|
+
/** Request to start an attribute exploration session. */
|
|
11146
|
+
interface StartExplorationRequest {
|
|
11147
|
+
/** Maximum number of concepts. */
|
|
11148
|
+
max_concepts?: number;
|
|
11149
|
+
/** Minimum extent size. */
|
|
11150
|
+
min_extent_size?: number;
|
|
11151
|
+
/** Minimum intent size. */
|
|
11152
|
+
min_intent_size?: number;
|
|
11153
|
+
/** Maximum number of terms. */
|
|
11154
|
+
max_terms?: number;
|
|
11155
|
+
}
|
|
11156
|
+
/** A question posed during attribute exploration. */
|
|
11157
|
+
interface ExplorationQuestion {
|
|
11158
|
+
/** Premise attributes. */
|
|
11159
|
+
premise: string[];
|
|
11160
|
+
/** Conclusion attributes. */
|
|
11161
|
+
conclusion: string[];
|
|
11162
|
+
/** Human-readable question text. */
|
|
11163
|
+
question_text: string;
|
|
11164
|
+
}
|
|
11165
|
+
/** Response from starting an exploration session. */
|
|
11166
|
+
interface StartExplorationResponse {
|
|
11167
|
+
/** Session ID. */
|
|
11168
|
+
session_id: string;
|
|
11169
|
+
/** Number of attributes. */
|
|
11170
|
+
attribute_count: number;
|
|
11171
|
+
/** Number of objects. */
|
|
11172
|
+
object_count: number;
|
|
11173
|
+
/** First question, if any. */
|
|
11174
|
+
question?: ExplorationQuestion;
|
|
11175
|
+
}
|
|
11176
|
+
/** Progress of an exploration session. */
|
|
11177
|
+
interface ExplorationProgress {
|
|
11178
|
+
/** Number of implications confirmed. */
|
|
11179
|
+
implications_confirmed: number;
|
|
11180
|
+
/** Number of implications refuted. */
|
|
11181
|
+
implications_refuted: number;
|
|
11182
|
+
/** Number of counterexamples added. */
|
|
11183
|
+
counterexamples_added: number;
|
|
11184
|
+
/** Whether exploration is complete. */
|
|
11185
|
+
is_complete: boolean;
|
|
11186
|
+
}
|
|
11187
|
+
/** Response from confirming an implication. */
|
|
11188
|
+
interface ConfirmResponse {
|
|
11189
|
+
/** Next question, if any. */
|
|
11190
|
+
next_question?: ExplorationQuestion;
|
|
11191
|
+
/** Current progress. */
|
|
11192
|
+
progress: ExplorationProgress;
|
|
11193
|
+
}
|
|
11194
|
+
/** Request to refute an implication with a counterexample. */
|
|
11195
|
+
interface RefuteRequest {
|
|
11196
|
+
/** Label for the counterexample. */
|
|
11197
|
+
label: string;
|
|
11198
|
+
/** Features of the counterexample. */
|
|
11199
|
+
features: string[];
|
|
11200
|
+
}
|
|
11201
|
+
/** Response from refuting an implication. */
|
|
11202
|
+
interface RefuteResponse {
|
|
11203
|
+
/** Next question, if any. */
|
|
11204
|
+
next_question?: ExplorationQuestion;
|
|
11205
|
+
/** Current progress. */
|
|
11206
|
+
progress: ExplorationProgress;
|
|
11207
|
+
}
|
|
11208
|
+
/** An implication discovered during exploration. */
|
|
11209
|
+
interface Implication {
|
|
11210
|
+
/** Premise attributes. */
|
|
11211
|
+
premise: string[];
|
|
11212
|
+
/** Conclusion attributes. */
|
|
11213
|
+
conclusion: string[];
|
|
11214
|
+
}
|
|
11215
|
+
/** Response for exploration session status. */
|
|
11216
|
+
interface ExplorationStatusResponse {
|
|
11217
|
+
/** Session ID. */
|
|
11218
|
+
session_id: string;
|
|
11219
|
+
/** Current progress. */
|
|
11220
|
+
progress: ExplorationProgress;
|
|
11221
|
+
/** Confirmed implications so far. */
|
|
11222
|
+
confirmed_implications: Implication[];
|
|
11223
|
+
}
|
|
11224
|
+
/** Response from completing an exploration session. */
|
|
11225
|
+
interface ExplorationCompleteResponse {
|
|
11226
|
+
/** Total implications discovered. */
|
|
11227
|
+
total_implications: number;
|
|
11228
|
+
/** All discovered implications. */
|
|
11229
|
+
implications: Implication[];
|
|
11230
|
+
/** Number of counterexamples added. */
|
|
11231
|
+
counterexamples_added: number;
|
|
11232
|
+
/** Number of rules created from implications. */
|
|
11233
|
+
rules_created: number;
|
|
11234
|
+
}
|
|
11235
|
+
|
|
11236
|
+
/**
|
|
11237
|
+
* Resource client for analysis and Formal Concept Analysis (FCA) operations.
|
|
11238
|
+
*
|
|
11239
|
+
* @remarks
|
|
11240
|
+
* Provides sort discovery from existing terms and interactive attribute exploration
|
|
11241
|
+
* for discovering implications in the knowledge base.
|
|
11242
|
+
*/
|
|
11243
|
+
declare class AnalysisClient {
|
|
11244
|
+
/** @internal */
|
|
11245
|
+
protected readonly http: HttpClient;
|
|
11246
|
+
/** @internal */
|
|
11247
|
+
constructor(http: HttpClient);
|
|
11248
|
+
/**
|
|
11249
|
+
* Run sort discovery analysis on existing terms.
|
|
11250
|
+
*
|
|
11251
|
+
* @param request - Discovery parameters.
|
|
11252
|
+
* @param options - Per-call request options.
|
|
11253
|
+
* @returns Discovery results with recommendations.
|
|
11254
|
+
*/
|
|
11255
|
+
sortDiscovery(request: SortDiscoveryRequest, options?: RequestOptions): Promise<SortDiscoveryResponse>;
|
|
11256
|
+
/**
|
|
11257
|
+
* Start an interactive attribute exploration session.
|
|
11258
|
+
*
|
|
11259
|
+
* @param request - Exploration parameters.
|
|
11260
|
+
* @param options - Per-call request options.
|
|
11261
|
+
* @returns Session ID and first question.
|
|
11262
|
+
*/
|
|
11263
|
+
startExploration(request: StartExplorationRequest, options?: RequestOptions): Promise<StartExplorationResponse>;
|
|
11264
|
+
/**
|
|
11265
|
+
* Confirm the current implication in an exploration session.
|
|
11266
|
+
*
|
|
11267
|
+
* @param sessionId - Exploration session ID.
|
|
11268
|
+
* @param options - Per-call request options.
|
|
11269
|
+
* @returns Next question and progress.
|
|
11270
|
+
*/
|
|
11271
|
+
confirmImplication(sessionId: string, options?: RequestOptions): Promise<ConfirmResponse>;
|
|
11272
|
+
/**
|
|
11273
|
+
* Refute the current implication with a counterexample.
|
|
11274
|
+
*
|
|
11275
|
+
* @param sessionId - Exploration session ID.
|
|
11276
|
+
* @param request - Counterexample.
|
|
11277
|
+
* @param options - Per-call request options.
|
|
11278
|
+
* @returns Next question and progress.
|
|
11279
|
+
*/
|
|
11280
|
+
refuteImplication(sessionId: string, request: RefuteRequest, options?: RequestOptions): Promise<RefuteResponse>;
|
|
11281
|
+
/**
|
|
11282
|
+
* Get the current status of an exploration session.
|
|
11283
|
+
*
|
|
11284
|
+
* @param sessionId - Exploration session ID.
|
|
11285
|
+
* @param options - Per-call request options.
|
|
11286
|
+
* @returns Session status with progress and confirmed implications.
|
|
11287
|
+
*/
|
|
11288
|
+
getExplorationStatus(sessionId: string, options?: RequestOptions): Promise<ExplorationStatusResponse>;
|
|
11289
|
+
/**
|
|
11290
|
+
* Complete an exploration session and create rules from the discovered basis.
|
|
11291
|
+
*
|
|
11292
|
+
* @param sessionId - Exploration session ID.
|
|
11293
|
+
* @param options - Per-call request options.
|
|
11294
|
+
* @returns Final implications and rules created.
|
|
11295
|
+
*/
|
|
11296
|
+
completeExploration(sessionId: string, options?: RequestOptions): Promise<ExplorationCompleteResponse>;
|
|
11297
|
+
/**
|
|
11298
|
+
* Return a metadata-aware variant of this client.
|
|
11299
|
+
*
|
|
11300
|
+
* @returns A new client instance whose methods return `Promise<ApiResponse<T>>`.
|
|
11301
|
+
*/
|
|
11302
|
+
withMetadata(): AnalysisClientWithMetadata;
|
|
11303
|
+
}
|
|
11304
|
+
/**
|
|
11305
|
+
* Metadata-aware variant of {@link AnalysisClient}.
|
|
11306
|
+
*
|
|
11307
|
+
* Every method returns `Promise<ApiResponse<T>>` instead of `Promise<T>`.
|
|
11308
|
+
*/
|
|
11309
|
+
declare class AnalysisClientWithMetadata {
|
|
11310
|
+
private readonly http;
|
|
11311
|
+
/** @internal */
|
|
11312
|
+
constructor(http: HttpClient);
|
|
11313
|
+
sortDiscovery(request: SortDiscoveryRequest, options?: RequestOptions): Promise<ApiResponse<SortDiscoveryResponse>>;
|
|
11314
|
+
startExploration(request: StartExplorationRequest, options?: RequestOptions): Promise<ApiResponse<StartExplorationResponse>>;
|
|
11315
|
+
confirmImplication(sessionId: string, options?: RequestOptions): Promise<ApiResponse<ConfirmResponse>>;
|
|
11316
|
+
refuteImplication(sessionId: string, request: RefuteRequest, options?: RequestOptions): Promise<ApiResponse<RefuteResponse>>;
|
|
11317
|
+
getExplorationStatus(sessionId: string, options?: RequestOptions): Promise<ApiResponse<ExplorationStatusResponse>>;
|
|
11318
|
+
completeExploration(sessionId: string, options?: RequestOptions): Promise<ApiResponse<ExplorationCompleteResponse>>;
|
|
11319
|
+
}
|
|
11320
|
+
|
|
11321
|
+
/** Request to record a user's sort selection for preference learning. */
|
|
11322
|
+
interface RecordSelectionRequest {
|
|
11323
|
+
/** Term ID that was selected (UUID). */
|
|
11324
|
+
term_id: string;
|
|
11325
|
+
/** User ID who made the selection (UUID). */
|
|
11326
|
+
user_id: string;
|
|
11327
|
+
}
|
|
11328
|
+
/** Response from recording a selection. */
|
|
11329
|
+
interface RecordSelectionResponse {
|
|
11330
|
+
/** Whether the recording succeeded. */
|
|
11331
|
+
success: boolean;
|
|
11332
|
+
/** Total number of selections for this user. */
|
|
11333
|
+
selection_count: number;
|
|
11334
|
+
}
|
|
11335
|
+
/** Request to predict user preferences. */
|
|
11336
|
+
interface PredictPreferencesRequest {
|
|
11337
|
+
/** User ID (UUID). */
|
|
11338
|
+
user_id: string;
|
|
11339
|
+
/** Sort ID to predict within (UUID). */
|
|
11340
|
+
sort_id: string;
|
|
11341
|
+
/** Candidate term IDs to rank (UUIDs). */
|
|
11342
|
+
candidate_ids: string[];
|
|
11343
|
+
}
|
|
11344
|
+
/** A single preference prediction. */
|
|
11345
|
+
interface PreferencePrediction {
|
|
11346
|
+
/** Term ID (UUID). */
|
|
11347
|
+
term_id: string;
|
|
11348
|
+
/** Predicted preference score. */
|
|
11349
|
+
score: number;
|
|
11350
|
+
}
|
|
11351
|
+
/** Response from predicting preferences. */
|
|
11352
|
+
interface PredictPreferencesResponse {
|
|
11353
|
+
/** Predictions sorted by score. */
|
|
11354
|
+
predictions: PreferencePrediction[];
|
|
11355
|
+
}
|
|
11356
|
+
|
|
11357
|
+
/**
|
|
11358
|
+
* Resource client for Bayesian preference learning operations.
|
|
11359
|
+
*
|
|
11360
|
+
* @remarks
|
|
11361
|
+
* Provides user preference recording and prediction for term ranking.
|
|
11362
|
+
*/
|
|
11363
|
+
declare class PreferencesClient {
|
|
11364
|
+
/** @internal */
|
|
11365
|
+
protected readonly http: HttpClient;
|
|
11366
|
+
/** @internal */
|
|
11367
|
+
constructor(http: HttpClient);
|
|
11368
|
+
/**
|
|
11369
|
+
* Record a user's term selection for preference learning.
|
|
11370
|
+
*
|
|
11371
|
+
* @param request - Selection to record.
|
|
11372
|
+
* @param options - Per-call request options.
|
|
11373
|
+
* @returns Recording result.
|
|
11374
|
+
*/
|
|
11375
|
+
recordSelection(request: RecordSelectionRequest, options?: RequestOptions): Promise<RecordSelectionResponse>;
|
|
11376
|
+
/**
|
|
11377
|
+
* Predict user preferences for candidate terms.
|
|
11378
|
+
*
|
|
11379
|
+
* @param request - Prediction request with candidates.
|
|
11380
|
+
* @param options - Per-call request options.
|
|
11381
|
+
* @returns Predictions sorted by score.
|
|
11382
|
+
*/
|
|
11383
|
+
predict(request: PredictPreferencesRequest, options?: RequestOptions): Promise<PredictPreferencesResponse>;
|
|
11384
|
+
/**
|
|
11385
|
+
* Return a metadata-aware variant of this client.
|
|
11386
|
+
*
|
|
11387
|
+
* @returns A new client instance whose methods return `Promise<ApiResponse<T>>`.
|
|
11388
|
+
*/
|
|
11389
|
+
withMetadata(): PreferencesClientWithMetadata;
|
|
11390
|
+
}
|
|
11391
|
+
/**
|
|
11392
|
+
* Metadata-aware variant of {@link PreferencesClient}.
|
|
11393
|
+
*
|
|
11394
|
+
* Every method returns `Promise<ApiResponse<T>>` instead of `Promise<T>`.
|
|
11395
|
+
*/
|
|
11396
|
+
declare class PreferencesClientWithMetadata {
|
|
11397
|
+
private readonly http;
|
|
11398
|
+
/** @internal */
|
|
11399
|
+
constructor(http: HttpClient);
|
|
11400
|
+
recordSelection(request: RecordSelectionRequest, options?: RequestOptions): Promise<ApiResponse<RecordSelectionResponse>>;
|
|
11401
|
+
predict(request: PredictPreferencesRequest, options?: RequestOptions): Promise<ApiResponse<PredictPreferencesResponse>>;
|
|
11402
|
+
}
|
|
11403
|
+
|
|
11404
|
+
/**
|
|
11405
|
+
* Main client for the Reasoning Layer API.
|
|
11406
|
+
*
|
|
11407
|
+
* Provides access to all resource clients through a shared HTTP connection
|
|
11408
|
+
* with configured authentication, retry, and timeout behavior.
|
|
11409
|
+
*
|
|
11410
|
+
* @example
|
|
11411
|
+
* ```typescript
|
|
9556
11412
|
* import { ReasoningLayerClient } from '@kortexya/reasoning-layer';
|
|
9557
11413
|
*
|
|
9558
11414
|
* const client = new ReasoningLayerClient({
|
|
@@ -9619,6 +11475,16 @@ declare class ReasoningLayerClient {
|
|
|
9619
11475
|
readonly discovery: DiscoveryClient;
|
|
9620
11476
|
/** Entity extraction operations. */
|
|
9621
11477
|
readonly extract: ExtractClient;
|
|
11478
|
+
/** FormalJudge oversight operations (safety verification, refinement). */
|
|
11479
|
+
readonly oversight: OversightClient;
|
|
11480
|
+
/** Categorical Deep Learning operations (differentiable FC, soft unification, safety). */
|
|
11481
|
+
readonly cdl: CdlClient;
|
|
11482
|
+
/** Neuro-symbolic operations (training, embeddings, diagnostics). */
|
|
11483
|
+
readonly neuroSymbolic: NeuroSymbolicClient;
|
|
11484
|
+
/** Analysis and FCA operations (sort discovery, attribute exploration). */
|
|
11485
|
+
readonly analysis: AnalysisClient;
|
|
11486
|
+
/** Bayesian preference learning operations (selection recording, prediction). */
|
|
11487
|
+
readonly preferences: PreferencesClient;
|
|
9622
11488
|
/**
|
|
9623
11489
|
* Create a new ReasoningLayerClient.
|
|
9624
11490
|
*
|
|
@@ -10684,6 +12550,4 @@ declare function isUuid(s: string): boolean;
|
|
|
10684
12550
|
*/
|
|
10685
12551
|
declare function discriminateFeatureValue(value: unknown): FeatureValueDto;
|
|
10686
12552
|
|
|
10687
|
-
declare const SDK_VERSION = "0.1.0";
|
|
10688
|
-
|
|
10689
|
-
export { type ActionReviewDecision, type ActionReviewDto, type ActionReviewSummary, type ActivationDto, type AddBeliefRequest, type AddBeliefResponse, type AddCausalRelationRequest, type AddCausalRelationResponse, type AddCognitiveRuleRequest, type AddCognitiveRuleResponse, type AddFactRequest, type AddFactResponse, type AddGoalRequest, type AddGoalResponse, type AddHtnMethodRequest, type AddHtnMethodResponse, type AddImportRequest, type AddPendingReviewRequest, type AddRuleRequest, type AddRuleResponse, type AgentBeliefDto, type AgentConfigDto, type AgentEvent, type AgentEventHandlers, type AgentGoalDto, type AgentStateDto, type AgentSubscription, type AllenRelation, ApiError, type ApiResponse, type ApproveActionRequest, type ApproveEntityRequest, type ArithValueDto, type ArithmeticConstraintDto, type ArithmeticExprDto, type AscRequest, type AssignValueDto, type BacktrackResponse, type BacktrackableAssignRequest, type BackwardChainRequest, type BackwardChainResponse, BadRequestError, type BatchCopyRequest, type BatchStringCompareRequest, type BayesianPredictRequest, type BayesianPredictResponse, type BeliefDto, type BindingDto, type BitwiseOperationType, type BitwiseRequest, type BooleanValue, type BoundConstraintDto, type BroadcastMessageRequest, type BroadcastMessageResponse, type BulkAddFactsRequest, type BulkAddFactsResponse, type BulkAddRulesRequest, type BulkAddRulesResponse, type BulkAddTermsRequest, type BulkAddTermsResponse, type BulkApproveActionsRequest, type BulkApproveRequest, type BulkCreateSortsRequest, type BulkCreateSortsResponse, type BulkMergeRequest, type BulkRejectActionsRequest, type BulkRejectRequest, type BulkSortDefinition, type BySortQueryRequest, type CallOnceRequest, type CausalAncestorRequest, type CausalAncestorResponse, type CausalChainDto, type CausalEdgeDto, type CausalProofTreeDto, type CausalRelationshipDto$1 as CausalRelationshipDto, type CausesRequest, type CausesResponse, type ChoicePointDto, type ChoiceSelection, type ChrRequest, type ClearFactsResponse, type ClientConfig, type CognitiveGoalDto, type CognitiveTermInput, type CollectionDto, type CommitRequest, type CommunityDetectionConfigDto, type CommunityDetectionStatsDto, type CommunityDto, type CommunityMatchDto, type CommunitySearchModeDto, type CommunitySearchStatsDto, type CondRequest, type ConditionalIndependenceRequest, type ConditionalIndependenceResponse, type ConflictResolution, type ConstraintDto, type ConstraintGraphRequest, type ConstraintGraphResponse, type ConstraintGraphStats, type ConstraintInputDto, ConstraintViolationError, type ControlNafRequest, type CopyModeDto, type CopyTermRequest, type CorrectEntityRequest, type CorrelationRequest, type CorrelationResponse, type CounterfactualRequest, type CounterfactualResponse, type CounterfactualTraceDto, type CreateAgentRequest, type CreateAgentResponse, type CreateChildNamespaceRequest, type CreateCognitiveSortRequest, type CreateCognitiveSortResponse, type CreateCollectionRequest, type CreateExecutionSessionRequest, type CreateGoalRequest, type CreateGoalResponse, type CreateRootNamespaceRequest, type CreateScenarioRequest, type CreateScenarioResponse, type CreateSortRequest, type CreateSpaceRequest, type CreateTermRequest, type CuriosityTargetDto, type CutRequest, type CycleDto, type CycleOutcomeDto, type CyclicGaussianShape, type DSeparatedRequest, type DSeparatedResponse, type DecodeGlbResponse, type DeepCopyRequest, type DeleteGoalResponse, type DetectCommunitiesRequest, type DetectCommunitiesResponse, type DiscoverCausalRequest, type DiscoverCausalResponse, type DiscoverEffectsRequest, type DiscoverEffectsResponse, type DiscoverSchemaRequest, type DiscoverSchemaResponse, type DiscoveredEffectDto, type DiscoveredRelationDto, type DiscoveredSortDto, type DiscoveredSourceRelationDto, type DiscoveryStateDto, type DiscoveryStatusResponse, type DocumentMetadataDto, type DocumentParseStatsDto, type DocumentParser, type DocumentSource, type DocumentType, type DriveDeficitDto, type DriveDto, type DynamicDiscoveryRequest, type DynamicDiscoveryResponse, type DynamicQueryClauseDto, type DynamicQueryGroupDto, type DynamicQueryRequest, type DynamicQueryResponse, type DynamicQueryResultDto, type EffectDto, type EntailmentRequest, type EntailmentResponse, type EpisodeDto, type EpisodeOutcomeDto, type EpisodeStatsResponse, type ErrorResponse, type EvaluatePatternRequest, type EvaluatePatternResponse, type EvidenceAssessmentRequest, type ExecutionGoalDto, type ExecutionSessionResponse, type ExecutionValueDto, type ExtendedAgentStateDto, type ExtractEntitiesRequest, type ExtractEntitiesResponse, type ExtractedEntityDto, type ExtractedRelationDto, type FdDomainStateDto, type FeatureDescriptorDto, FeatureInput, type FeatureInputConstrainedVariable, type FeatureInputInlineTerm, type FeatureInputInlineTermByName, type FeatureInputTermRef, type FeatureInputValueDto, type FeatureInputVariable, type FeatureRequirementDto, type FeatureTypeDto, type FeatureValueDto, type FindallRequest, type ForallRequest, type ForwardChainRequest, type ForwardChainResponse, type FuzzyMergeRequest, type FuzzyMergeResponse, type FuzzyNumberValue, type FuzzyProveRequest, type FuzzyProveResponse, type FuzzyScalarValue, type FuzzySearchResultItem, type FuzzySearchTopKRequest, type FuzzySearchTopKResponse, FuzzyShape, type FuzzyShapeDto, type FuzzySubsumptionRequest, type FuzzySubsumptionResponse, type FuzzyUnifyRequest, type FuzzyUnifyResponse, type GFlowNetSampleRequest, type GFlowNetSampleResponse, type GaussianShape, type GetCausalModelResponse, type GetMembershipsRequest, type GetMembershipsResponse, type GetScenarioResponse, type GetSortSimilarityRequest, type GlbLubComputationTrace, type GlbLubOperation, type GlbLubTraceRequest, type GlbRequest, type GlbResponse, type GlobalAssignRequest, type GlobalGetRequest, type GlobalIncrementRequest, type GoalDto, type GoalStackEntryDto, type GoalStackResponse, type GuardOp, type HomoiconicSubstitutionDto, type HtnMethodDto, type HypergraphRequest, type HypergraphResponse, type ImpliesRequest, type IngestDocumentBatchRequest, type IngestDocumentBatchResponse, type IngestDocumentRequest, type IngestDocumentResponse, type IngestFromSourceRequest, type IngestFromSourceResponse, type IngestMarkdownBatchRequest, type IngestMarkdownRequest, type IngestMarkdownResponse, type IngestRdfRequest, type IngestRdfResponse, type IngestionConfigDto, type IngestionSessionResponse, type IngestionSessionStatusDto, type IngestionStatsDto, type IntegerValue, type IntegrationGroupDto, type IntentionDto, type Interceptor, InternalServerError, type InterventionObservationRequest, type InterventionObservationResponse, type InterventionRequest, type InterventionResponse, type KbChangeDto, type KbChangeType, type LatticeVisualizationRequest, type LatticeVisualizationResponse, type LayoutAlgorithmDto, type LayoutDirectionDto, type LearnPatternRequest, type LearnPatternResponse, type ListIncompleteDocumentsResponse, type ListIngestionSessionsResponse, type ListPatternsResponse, type ListScenariosResponse, type ListSourcesResponse, type ListValue, type LiteralInputDto, type LubRequest, type LubResponse, type MarkMessagesReadRequest, type MarkMessagesReadResponse, type MarkdownDocumentDto, type MatchedEntityDto, type MathFunctionRequest, type MathFunctionType, type MembershipDto, type MergeEntityRequest, type MetaSortsResponse, type MissingInfoDto, type ModifyActionRequest, type ModularArithRequest, type ModularOperationType, type MotivationStateDto, type NafProveRequest, type NafProveResponse, type NamespaceDto, NetworkError, type NlQueryRequest, type NlQueryResponse, NotFoundError, type NumberToStringRequest, type ObserveMultiRequest, type ObserveMultiResponse, type ObservePairRequest, type ObservePairResponse, type ObserveSingleRequest, type ObserveSingleResponse, type OcrConfigDto, type OsfSearchRequest, type OsfSearchResponse, type OsfSearchStatsDto, type PaginationParams, type ParsedDocumentMetadataDto, type PartialCorrelationRequest, type PartialCorrelationResponse, type PredictEffectRequest, type PredictEffectResponse, type PredictFromDiscoveryRequest, type PredictFromDiscoveryResponse, type ProofDto, type ProofNodeDto, type ProofStatisticsDto, type ProvenanceTagDto, type ProvideFeedbackRequest, type ProvideFeedbackResponse, type PsiTermDto, type QueryResultDto, type QueryTerm, RateLimitError, type RateLimitInfo, type RdfFormatDto, type ReExtractRequest, type RealValue, ReasoningLayerClient, ReasoningLayerError, type RecallEpisodesRequest, type RecallEpisodesResponse, type RecalledEpisodeDto, type ReferenceValue, type RegisterSourceRequest, type RegisterSourceResponse, type RejectActionRequest, type RejectEntityRequest, type RelOpDto, type RelationalArithRequest, type RequestOptions, type ResidualWitnessDto, type ResiduationDto, type ResiduationKind, type ResiduationRequest, type ResiduationResponse, type ResiduationStateFilter, type ResiduationStateRequest, type ResiduationStateResponse, type ResourceCoordinationRequest, type ResourceSpec, type ResumeDocumentIngestionRequest, type ResumeDocumentIngestionResponse, type ResumptionOptionDto, type ReviewCandidateMatchDto, type ReviewReason, type RootCauseAnalysisRequest, type RootCauseAnalysisResponse, type RootCauseDto, type RootCauseWithProofResponse, type RowIntegrateRequest, type RowIntegrateResponse, type RowMatchDto, type RowSearchRequest, type RowSearchResponse, type RowSimilarityRequest, type RowSimilarityResponse, type RowTypeDto, type RowUnifyRequest, type RowUnifyResponse, type RuleUtilityDto, type RunCycleRequest, type RunCycleResponse, SDK_VERSION, type ScenarioDto, type SearchCommunitiesRequest, type SearchCommunitiesResponse, type SearchStatsDto, type SearchStrategyDto, type SendMessageRequest, type SendMessageResponse, type SetSortSimilarityRequest, type SetValue, type SolutionDto, type SolveConstraintRequest, type SolveConstraintResponse, SortBuilder, type SortCompareOperator, type SortCompareRequest, type SortCompareResponse, type SortDto, type SortOriginDto, type SortSimilarityResponse, type SortStatusDto, type SortSuggestionDto, type SortSummaryDto, type SourceDetailResponse, type SourceSummaryDto, type SpaceResponse, type SpaceSearchRequest, type SpaceSearchResponse, type SpaceSolutionDto, type SpaceStatusDto, type StartIngestionSessionRequest, type StatisticalSuccessResponse, type StringCompareOperator, type StringComparePredicateRequest, type StringCompareRequest, type StringConcatRequest, type StringLengthRequest, type StringOpParams, type StringOpRequest, type StringOperationType, type StringValue, type StructuredIngestionStatsDto, type SubstringRequest, type SuspendedQueryDto, type SynthesizeRequest, type SynthesizeResponse, type TemporalPlanRequest, type TermDto, TermInput, type TermInputDto, type TermInputInline, type TermInputInlineByName, type TermInputRef, type TermPatternDto, type TermResponse, type TermState, TimeoutError, type TrailEntryDto, type TrainingExample, type TrapezoidalShape, type TriangularShape, type TriggerDependencyRequest, type TriggerDependencyResponse, type UndoRequest, type UnifiableQueryRequest, type UninstantiatedValue, type UpdateCollectionRequest, type UpdateMetadataRequest, type UpdateReviewStatusRequest, type UpdateScenarioRequest, type UpdateScenarioResponse, type UpdateTermRequest, type ValidatedTermResponse, type ValidatedUnifyResponse, ValidationError, Value, type ValueDto, type ValuePatternDto, type VerifyScenarioRequest, type VerifyScenarioResponse, type VisibilityDto, type VisualizationGraphDto, WebSocketClient, WebSocketConnection, type WitnessInstantiationDto, type WitnessProofDto, allen, discriminateFeatureValue, guard, isUuid, psi };
|
|
12553
|
+
export { type ActionReviewDecision, type ActionReviewDto, type ActionReviewSummary, type ActivationDto, type AddBeliefRequest, type AddBeliefResponse, type AddCausalRelationRequest, type AddCausalRelationResponse, type AddCognitiveRuleRequest, type AddCognitiveRuleResponse, type AddConstraintsRequest, type AddFactRequest, type AddFactResponse, type AddGoalRequest, type AddGoalResponse, type AddHtnMethodRequest, type AddHtnMethodResponse, type AddImportRequest, type AddPendingReviewRequest, type AddRuleRequest, type AddRuleResponse, type AgentBeliefDto, type AgentConfigDto, type AgentEvent, type AgentEventHandlers, type AgentGoalDto, type AgentStateDto, type AgentSubVerdictDto, type AgentSubscription, type AllenRelation, ApiError, type ApiResponse, type AppendResiduationsRequest, type AppendResiduationsResponse, type ApproveActionRequest, type ApproveEntityRequest, type ApproveLearnedSimilarityRequest, type ApproveLearnedSimilarityResponse, type ArchitectureInfoDto, type ArithValueDto, type ArithmeticConstraintDto, type ArithmeticExprDto, type AscRequest, type AssignValueDto, type AttentionTargetDto, type AttestationDto, type BacktrackResponse, type BacktrackableAssignRequest, type BackwardChainRequest, type BackwardChainResponse, BadRequestError, type BatchCopyRequest, type BatchStringCompareRequest, type BayesianPredictRequest, type BayesianPredictResponse, type BeliefDto, type BindTermRequest, type BindTermResponse, type BindVariablesRequest, type BindVariablesResponse, type BindingDto, type BitwiseOperationType, type BitwiseRequest, type BooleanValue, type BoundConstraintDto, type BroadcastMessageRequest, type BroadcastMessageResponse, type BulkAddFactsRequest, type BulkAddFactsResponse, type BulkAddRulesRequest, type BulkAddRulesResponse, type BulkAddTermsRequest, type BulkAddTermsResponse, type BulkApproveActionsRequest, type BulkApproveRequest, type BulkCreateSortsRequest, type BulkCreateSortsResponse, type BulkMergeRequest, type BulkRejectActionsRequest, type BulkRejectRequest, type BulkSortDefinition, type BySortQueryRequest, type CallOnceRequest, type CausalAncestorRequest, type CausalAncestorResponse, type CausalChainDto, type CausalEdgeDto, type CausalProofTreeDto, type CausalRelationshipDto$1 as CausalRelationshipDto, type CausesRequest, type CausesResponse, type CdlComponentStatus, type CdlStatusResponse, type CertificateDto, type ChoicePointDto, type ChoiceSelection, type ChrRequest, type ClassifySafetyRequest, type ClassifySafetyResponse, type ClearFactsResponse, type ClientConfig, type CognitiveGoalDto, type CognitiveTermInput, type CollectionDto, type CommitRequest, type CommunityDetectionConfigDto, type CommunityDetectionStatsDto, type CommunityDto, type CommunityMatchDto, type CommunitySearchModeDto, type CommunitySearchStatsDto, type CondRequest, type ConditionalIndependenceRequest, type ConditionalIndependenceResponse, type ConfirmResponse, type ConflictResolution, type ConstraintDto, type ConstraintGraphRequest, type ConstraintGraphResponse, type ConstraintGraphStats, type ConstraintInputDto, type ConstraintSessionStatus, ConstraintViolationError, type ContainmentVerificationDto, type ControlNafRequest, type CopyModeDto, type CopyTermRequest, type CorrectEntityRequest, type CorrelationRequest, type CorrelationResponse, type CounterfactualRequest, type CounterfactualResponse, type CounterfactualTraceDto, type CreateAgentRequest, type CreateAgentResponse, type CreateChildNamespaceRequest, type CreateCognitiveSortRequest, type CreateCognitiveSortResponse, type CreateCollectionRequest, type CreateConstraintSessionRequest, type CreateExecutionSessionRequest, type CreateGoalRequest, type CreateGoalResponse, type CreateRootNamespaceRequest, type CreateScenarioRequest, type CreateScenarioResponse, type CreateSortRequest, type CreateSpaceRequest, type CreateTermRequest, type CuriosityTargetDto, type CutRequest, type CycleDto, type CycleOutcomeDto, type CyclicGaussianShape, type DSeparatedRequest, type DSeparatedResponse, type DecodeGlbResponse, type DeepCopyRequest, type DeleteGoalResponse, type DerivedInferenceRequest, type DerivedInferenceResponse, type DerivedInferenceResultDto, type DetectCommunitiesRequest, type DetectCommunitiesResponse, type DiagnosticsResponse, type DifferentiableFcRequest, type DifferentiableFcResponse, type DiscoverCausalRequest, type DiscoverCausalResponse, type DiscoverEffectsRequest, type DiscoverEffectsResponse, type DiscoverSchemaRequest, type DiscoverSchemaResponse, type DiscoveredEffectDto, type DiscoveredRelationDto, type DiscoveredSortDto, type DiscoveredSourceRelationDto, type DiscoveryStateDto, type DiscoveryStatusResponse, type DocumentMetadataDto, type DocumentParseStatsDto, type DocumentParser, type DocumentSource, type DocumentType, type DriveDeficitDto, type DriveDto, type DynamicAddSortRequest, type DynamicAddSortResponse, type DynamicDiscoveryRequest, type DynamicDiscoveryResponse, type DynamicQueryClauseDto, type DynamicQueryGroupDto, type DynamicQueryRequest, type DynamicQueryResponse, type DynamicQueryResultDto, type E2eTrainingRequest, type E2eTrainingResponse, type EffectDto, type EmbeddingVerificationResponse, type EntailmentRequest, type EntailmentResponse, type EpisodeDto, type EpisodeOutcomeDto, type EpisodeStatsResponse, type ErrorResponse, type EvaluatePatternRequest, type EvaluatePatternResponse, type EvaluatedValueDto, type EvidenceAssessmentRequest, type ExecutionGoalDto, type ExecutionSessionResponse, type ExecutionValueDto, type ExplorationCompleteResponse, type ExplorationProgress, type ExplorationQuestion, type ExplorationStatusResponse, type ExtendedAgentStateDto, type ExtractEntitiesRequest, type ExtractEntitiesResponse, type ExtractedEntityDto, type ExtractedRelationDto, type ExtractionStatsDto, type FdDomainStateDto, type FeatureBindingDto, type FeatureDescriptorDto, FeatureInput, type FeatureInputConstrainedVariable, type FeatureInputInlineTerm, type FeatureInputInlineTermByName, type FeatureInputTermRef, type FeatureInputValueDto, type FeatureInputVariable, type FeaturePair, type FeatureRequirementDto, type FeatureTypeDto, type FeatureValueDto, type FindallRequest, type FixSuggestionDto, type ForallRequest, type FormalJudgeRefinementResponse, type FormalJudgeRequest, type FormalJudgeResponse, type ForwardChainRequest, type ForwardChainResponse, type FuzzyConceptLevel, type FuzzyMergeRequest, type FuzzyMergeResponse, type FuzzyNumberValue, type FuzzyProveRequest, type FuzzyProveResponse, type FuzzyScalarValue, type FuzzySearchResultItem, type FuzzySearchTopKRequest, type FuzzySearchTopKResponse, FuzzyShape, type FuzzyShapeDto, type FuzzySubsumptionRequest, type FuzzySubsumptionResponse, type FuzzyUnifyRequest, type FuzzyUnifyResponse, type GFlowNetSampleRequest, type GFlowNetSampleResponse, type GFlowNetTrainResponse, type GaussianShape, type GeneralConstraintDto, type GetCausalModelResponse, type GetFactsResponse, type GetMembershipsRequest, type GetMembershipsResponse, type GetResiduationsRequest, type GetResiduationsResponse, type GetScenarioResponse, type GetSortSimilarityRequest, type GlbLubComputationTrace, type GlbLubOperation, type GlbLubTraceRequest, type GlbRequest, type GlbResponse, type GlobalAssignRequest, type GlobalGetRequest, type GlobalIncrementRequest, type GoalDto, type GoalEvaluationResultDto, type GoalStackEntryDto, type GoalStackResponse, type GroundTruthEntry, type GuardOp, type HomoiconicSubstitutionDto, type HtnMethodDto, type HypergraphRequest, type HypergraphResponse, type ImpasseDto, type Implication, type ImpliesRequest, type IngestDocumentBatchRequest, type IngestDocumentBatchResponse, type IngestDocumentRequest, type IngestDocumentResponse, type IngestFromSourceRequest, type IngestFromSourceResponse, type IngestMarkdownBatchRequest, type IngestMarkdownRequest, type IngestMarkdownResponse, type IngestRdfRequest, type IngestRdfResponse, type IngestionConfigDto, type IngestionSessionResponse, type IngestionSessionStatusDto, type IngestionStatsDto, type IntegerValue, type IntegratedCycleOutcomeDto, type IntegratedEngineConfigDto, type IntegrationGroupDto, type IntentionDto, type Interceptor, InternalServerError, type InterventionObservationRequest, type InterventionObservationResponse, type InterventionRequest, type InterventionResponse, type IterationMetricDto, type JudgeConfigDto, type KbChangeDto, type KbChangeType, type LatticeVisualizationRequest, type LatticeVisualizationResponse, type LayerResultDto, type LayoutAlgorithmDto, type LayoutDirectionDto, type LearnPatternRequest, type LearnPatternResponse, type LearnSortSimilaritiesRequest, type LearnSortSimilaritiesResponse, type LearnedSimilarityDto, type LearnedSimilarityListResponse, type LearnedSimilarityProvenanceDto, type LearnedSimilarityStatusDto, type ListIncompleteDocumentsResponse, type ListIngestionSessionsResponse, type ListPatternsResponse, type ListScenariosResponse, type ListSourcesResponse, type ListValue, type LiteralInputDto, type LubRequest, type LubResponse, type MarkMessagesReadRequest, type MarkMessagesReadResponse, type MarkdownDocumentDto, type MatchedEntityDto, type MathFunctionRequest, type MathFunctionType, type MeetPreservationDto, type MembershipDto, type MergeEntityRequest, type MetaSortsResponse, type MissingInfoDto, type ModifyActionRequest, type ModularArithRequest, type ModularOperationType, type MonadicFactDto, type MonadicFixpointRequest, type MonadicFixpointResponse, type MotivationStateDto, type NafProveRequest, type NafProveResponse, type NamespaceDto, NetworkError, type NeuroSymbolicStatusResponse, type NlQueryRequest, type NlQueryResponse, NotFoundError, type NumberToStringRequest, type ObserveMultiRequest, type ObserveMultiResponse, type ObservePairRequest, type ObservePairResponse, type ObserveSingleRequest, type ObserveSingleResponse, type OcrConfigDto, type OsfSearchRequest, type OsfSearchResponse, type OsfSearchStatsDto, type PaginationParams, type ParsedDocumentMetadataDto, type PartialCorrelationRequest, type PartialCorrelationResponse, type PredictEffectRequest, type PredictEffectResponse, type PredictFromDiscoveryRequest, type PredictFromDiscoveryResponse, type PredictPreferencesRequest, type PredictPreferencesResponse, type PredictionErrorDto, type PreferencePrediction, type ProofDto, type ProofNodeDto, type ProofStatisticsDto, type ProofTraceDto, type ProvenanceTagDto, type ProvideFeedbackRequest, type ProvideFeedbackResponse, type PsiTermDto, type QueryResultDto, type QueryTerm, RateLimitError, type RateLimitInfo, type RdfFormatDto, type ReExtractRequest, type RealValue, ReasoningLayerClient, ReasoningLayerError, type RecallEpisodesRequest, type RecallEpisodesResponse, type RecalledEpisodeDto, type RecordEpisodeRequest, type RecordEpisodeResponse, type RecordSelectionRequest, type RecordSelectionResponse, type ReferenceValue, type RefuteRequest, type RefuteResponse, type RegisterSourceRequest, type RegisterSourceResponse, type RejectActionRequest, type RejectEntityRequest, type RejectLearnedSimilarityRequest, type RejectLearnedSimilarityResponse, type RelOpDto, type RelationalArithRequest, type ReleaseResiduationsRequest, type ReleaseResiduationsResponse, type RequestOptions, type ResidualWitnessDto, type ResiduateGoalRequest, type ResiduateGoalResponse, type ResiduationDetailDto, type ResiduationDto, type ResiduationGoalDto, type ResiduationKind, type ResiduationRequest, type ResiduationResponse, type ResiduationStateFilter, type ResiduationStateRequest, type ResiduationStateResponse, type ResourceCoordinationRequest, type ResourceSpec, type ResumeDocumentIngestionRequest, type ResumeDocumentIngestionResponse, type ResumptionOptionDto, type ReviewCandidateMatchDto, type ReviewReason, type RootCauseAnalysisRequest, type RootCauseAnalysisResponse, type RootCauseDto, type RootCauseWithProofResponse, type RowIntegrateRequest, type RowIntegrateResponse, type RowMatchDto, type RowSearchRequest, type RowSearchResponse, type RowSimilarityRequest, type RowSimilarityResponse, type RowTypeDto, type RowUnifyRequest, type RowUnifyResponse, type RuleUtilityDto, type RunCycleRequest, type RunCycleResponse, type RunIntegratedCycleRequest, type RunIntegratedCycleResponse, SDK_VERSION, type SafetyModelInfoDto, type SaveWeightsResponse, type ScenarioDto, type SearchCommunitiesRequest, type SearchCommunitiesResponse, type SearchStatsDto, type SearchStrategyDto, type SendMessageRequest, type SendMessageResponse, type SetSortSimilarityRequest, type SetValue, type SoftUnifyRequest, type SoftUnifyResponse, type SolutionDto, type SolveConstraintRequest, type SolveConstraintResponse, type SortBoxRequest, type SortBoxResponse, SortBuilder, type SortCompareOperator, type SortCompareRequest, type SortCompareResponse, type SortDiscoveryRequest, type SortDiscoveryResponse, type SortDto, type SortOriginDto, type SortRecommendation, type SortSimilarityResponse, type SortStatusDto, type SortSuggestionDto, type SortSummaryDto, type SourceDetailResponse, type SourceSummaryDto, type SpaceResponse, type SpaceSearchRequest, type SpaceSearchResponse, type SpaceSolutionDto, type SpaceStatusDto, type SpecificityDto, type StartExplorationRequest, type StartExplorationResponse, type StartIngestionSessionRequest, type StatisticalSuccessResponse, type StringCompareOperator, type StringComparePredicateRequest, type StringCompareRequest, type StringConcatRequest, type StringLengthRequest, type StringOpParams, type StringOpRequest, type StringOperationType, type StringValue, type StructuredIngestionStatsDto, type SubscribeToKbRequest, type SubscribeToKbResponse, type SubstringRequest, type SuspendedQueryDto, type SymbolicResultDto, type SynthesizeRequest, type SynthesizeResponse, type TaggedFactDto, type TaggedFcRequest, type TaggedFcResponse, type TemporalPlanRequest, type TermDto, TermInput, type TermInputDto, type TermInputInline, type TermInputInlineByName, type TermInputRef, type TermPatternDto, type TermResponse, type TermState, TimeoutError, type TrailEntryDto, type TrainingExample, type TrainingTriggerResponse, type TrajectoryStepDto, type TrapezoidalShape, type TriangularShape, type TriggerDependencyRequest, type TriggerDependencyResponse, type UndoRequest, type UnifiableQueryRequest, type UninstantiatedValue, type UpdateCollectionRequest, type UpdateMetadataRequest, type UpdateReviewStatusRequest, type UpdateScenarioRequest, type UpdateScenarioResponse, type UpdateTermRequest, type ValidatedTermResponse, type ValidatedUnifyResponse, ValidationError, Value, type ValueDto, type ValuePatternDto, type VerificationDto, type VerifyScenarioRequest, type VerifyScenarioResponse, type ViolationDto, type VisibilityDto, type VisualizationGraphDto, WebSocketClient, WebSocketConnection, type WeightedFactDto, type WitnessInstantiationDto, type WitnessProofDto, allen, discriminateFeatureValue, guard, isUuid, psi };
|