@kortexya/reasoninglayer 1.19.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -109,7 +109,7 @@ type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | object;
109
109
  * This is the single source of truth for the version constant.
110
110
  * The `scripts/release.sh` script updates this value alongside `package.json`.
111
111
  */
112
- declare const SDK_VERSION = "1.19.0";
112
+ declare const SDK_VERSION = "1.21.0";
113
113
  /**
114
114
  * Authentication mode for the SDK.
115
115
  *
@@ -4217,6 +4217,17 @@ interface ClearTenantResponse$1 {
4217
4217
  * @min 0
4218
4218
  */
4219
4219
  meta_records_deleted: number;
4220
+ /**
4221
+ * Number of plugin-marketplace install records forgotten for this tenant.
4222
+ *
4223
+ * The durable `plugin_installs` rows are counted by the table sweep; this is
4224
+ * the IN-MEMORY registry's count, reported separately because the two used
4225
+ * to disagree — the sweep deleted the rows while the registry kept serving
4226
+ * the records, so the install listing reported plugins enabled over a
4227
+ * knowledge base that had just been wiped.
4228
+ * @min 0
4229
+ */
4230
+ plugin_installs_deleted?: number;
4220
4231
  /**
4221
4232
  * Number of residuation records deleted
4222
4233
  * @min 0
@@ -14160,6 +14171,15 @@ interface InstallRequest {
14160
14171
  }
14161
14172
  /** Response for `POST /install` (201). */
14162
14173
  interface InstallResponse {
14174
+ /** What is missing from the live contribution, when `degraded`. */
14175
+ degradation?: string | null;
14176
+ /**
14177
+ * Whether the contribution is only PARTIALLY applied to the live view
14178
+ * (issue #154 D). `state` alone cannot say this: a plugin whose sorts the
14179
+ * live lattice rejected, or whose startup replay failed, still reads
14180
+ * `Enabled` while contributing less than it reports — or nothing at all.
14181
+ */
14182
+ degraded?: boolean;
14163
14183
  /** The new install's id. */
14164
14184
  install_id: string;
14165
14185
  /**
@@ -14177,6 +14197,13 @@ interface InstallResponse {
14177
14197
  }
14178
14198
  /** Response for enable/disable (the new lifecycle state). */
14179
14199
  interface InstallStateDto {
14200
+ /** What is missing from the live contribution, when `degraded`. */
14201
+ degradation?: string | null;
14202
+ /**
14203
+ * Whether the contribution is only PARTIALLY applied to the live view
14204
+ * (issue #154 D).
14205
+ */
14206
+ degraded?: boolean;
14180
14207
  /** The install's id. */
14181
14208
  install_id: string;
14182
14209
  /** The lifecycle state after the transition. */
@@ -14184,6 +14211,15 @@ interface InstallStateDto {
14184
14211
  }
14185
14212
  /** One install row in the install-list response. */
14186
14213
  interface InstallSummaryDto {
14214
+ /** What is missing from the live contribution, when `degraded`. */
14215
+ degradation?: string | null;
14216
+ /**
14217
+ * Whether the contribution is only PARTIALLY applied to the live view
14218
+ * (issue #154 B/D) — a sort the live lattice rejected, or a startup replay
14219
+ * that failed. `state` cannot express this: such an install still reads
14220
+ * `Enabled`.
14221
+ */
14222
+ degraded?: boolean;
14187
14223
  /** The install's id. */
14188
14224
  install_id: string;
14189
14225
  /** The installed plugin's id. */
@@ -22787,7 +22823,8 @@ interface SearchSortsMatch {
22787
22823
  /**
22788
22824
  * Hierarchy depth — `0` is a root sort. Always populated: the
22789
22825
  * upstream port (`SortVisualizationPort::search_sorts_by_name`)
22790
- * returns an `i32` directly, with no nullable code path.
22826
+ * returns an `i32` directly, with no nullable code path. A
22827
+ * plugin-contributed match reports its depth in the live tenant lattice.
22791
22828
  * @format int32
22792
22829
  */
22793
22830
  depth: number;
@@ -22796,8 +22833,22 @@ interface SearchSortsMatch {
22796
22833
  * @format uuid
22797
22834
  */
22798
22835
  id: string;
22799
- /** Sort name as stored in PG. */
22836
+ /**
22837
+ * Sort name as stored in PG, or the committed (namespaced) name for a
22838
+ * plugin-contributed sort.
22839
+ */
22800
22840
  name: string;
22841
+ /**
22842
+ * The plugin that contributed this sort (UUID), when the match came from a
22843
+ * marketplace install rather than PG (issue #154 A).
22844
+ * @format uuid
22845
+ */
22846
+ plugin_id?: string | null;
22847
+ /**
22848
+ * The name the plugin author wrote, before namespacing (issue #154 A) —
22849
+ * the form the query matched.
22850
+ */
22851
+ plugin_local_name?: string | null;
22801
22852
  }
22802
22853
  /** Response body for `GET /api/v1/sorts/search`. */
22803
22854
  interface SearchSortsResponse {
@@ -23838,6 +23889,24 @@ interface SortDto$1 {
23838
23889
  origin?: null | SortOriginDto$1;
23839
23890
  /** Parent sort IDs */
23840
23891
  parents: string[];
23892
+ /**
23893
+ * The plugin that contributed this sort (UUID), when a marketplace install
23894
+ * created it (issue #154 A). `None` for every ordinary sort.
23895
+ *
23896
+ * A plugin's sorts are committed under a namespaced `name`
23897
+ * (`plugin:<plugin-uuid>:<local>`) so two plugins never collide. This field
23898
+ * and [`plugin_local_name`](Self::plugin_local_name) are what tie that name
23899
+ * back to its author: without them a reader of a full listing cannot tell
23900
+ * which plugin owns `plugin:642156b2…:signal`, nor what it was called.
23901
+ * @format uuid
23902
+ */
23903
+ plugin_id?: string | null;
23904
+ /**
23905
+ * The name the plugin author wrote, before namespacing (issue #154 A).
23906
+ * `GET /api/v1/sorts/tenant/{id}?name_prefix=…` matches this form as well as
23907
+ * the committed `name`.
23908
+ */
23909
+ plugin_local_name?: string | null;
23841
23910
  /** Lifecycle status */
23842
23911
  status?: null | SortStatusDto$1;
23843
23912
  /**
@@ -28968,6 +29037,25 @@ interface SortDto {
28968
29037
  status?: SortStatusDto | null;
28969
29038
  /** Whether this sort needs human review. */
28970
29039
  needsReview?: boolean;
29040
+ /**
29041
+ * The plugin that contributed this sort, when a marketplace install created
29042
+ * it. `undefined` for every ordinary sort.
29043
+ *
29044
+ * @remarks
29045
+ * A plugin's sorts are committed under a namespaced `name`
29046
+ * (`plugin:<plugin-name>:<local>`) so two plugins never collide on the same
29047
+ * local name. This field and {@link SortDto.pluginLocalName} are what tie
29048
+ * that name back to its author.
29049
+ */
29050
+ pluginId?: string | null;
29051
+ /**
29052
+ * The name the plugin author wrote, before namespacing.
29053
+ *
29054
+ * @remarks
29055
+ * `GET /api/v1/sorts/tenant/{id}?name_prefix=…` matches this form as well as
29056
+ * the committed {@link SortDto.name}.
29057
+ */
29058
+ pluginLocalName?: string | null;
28971
29059
  }
28972
29060
  /**
28973
29061
  * Response wrapper for sort endpoints.
@@ -29821,6 +29909,8 @@ declare class Terms<SecurityDataType = unknown> {
29821
29909
  * @min 0
29822
29910
  */
29823
29911
  offset?: number;
29912
+ /** Only terms of this exact sort; omit for every sort */
29913
+ sort_name?: string;
29824
29914
  }, params?: RequestParams) => Promise<HttpResponse<TermListResponse$1, any>>;
29825
29915
  /**
29826
29916
  * No description
@@ -30768,8 +30858,9 @@ declare class TermsClient {
30768
30858
  }>;
30769
30859
  }): Promise<BulkAddTermsResponse>;
30770
30860
  /**
30771
- * List all terms for the authenticated tenant.
30861
+ * List terms for the authenticated tenant.
30772
30862
  *
30863
+ * @param query - Optional paging and sort filter. Omit for every term.
30773
30864
  * @returns The list of terms with total count.
30774
30865
  * @throws {ApiError} If the request fails.
30775
30866
  *
@@ -30778,16 +30869,28 @@ declare class TermsClient {
30778
30869
  * Requires X-Tenant-Id header (set via client configuration).
30779
30870
  * Uses the tagged {@link ValueDto} serialization format.
30780
30871
  *
30872
+ * `sortName` filters on the sort's committed name. For a plugin-contributed
30873
+ * sort that is the namespaced form (`plugin:<plugin-name>:<local>`), which
30874
+ * {@link SortDto.name} carries and {@link SortDto.pluginLocalName} maps back
30875
+ * to the name its author wrote.
30876
+ *
30781
30877
  * @example
30782
30878
  * ```typescript
30783
30879
  * const result = await client.terms.listTerms();
30784
30880
  * console.log(`Found ${result.count} terms`);
30785
- * for (const term of result.terms) {
30786
- * console.log(term.id, term.sortName);
30787
- * }
30881
+ *
30882
+ * // Only the first page of one sort's terms.
30883
+ * const page = await client.terms.listTerms({ sortName: 'person', limit: 50 });
30788
30884
  * ```
30789
30885
  */
30790
- listTerms(): Promise<TermListResponse>;
30886
+ listTerms(query?: {
30887
+ /** Max terms to return; omit for all, hard-capped at 10000. */
30888
+ limit?: number;
30889
+ /** Zero-based index of the first term (default 0). */
30890
+ offset?: number;
30891
+ /** Only terms of this exact sort; omit for every sort. */
30892
+ sortName?: string;
30893
+ }): Promise<TermListResponse>;
30791
30894
  /**
30792
30895
  * Clear all terms for the authenticated tenant.
30793
30896
  *
@@ -33177,6 +33280,28 @@ declare class WebSocketClient {
33177
33280
  * Reason why an entity requires human review.
33178
33281
  */
33179
33282
  type ReviewReason = 'ambiguous_sort' | 'low_confidence' | 'multiple_candidates' | 'unknown_sort' | 'conflicting_features' | 'missing_required_features' | 'manual_request';
33283
+ /**
33284
+ * Filters and pagination for `GET /api/v1/reviews/pending`.
33285
+ *
33286
+ * @remarks
33287
+ * Every field is optional; omit the argument entirely to list the first page
33288
+ * of every pending review.
33289
+ *
33290
+ * There is deliberately no `tenantId` field. The route accepts a `tenant_id`
33291
+ * query parameter for wire-compatibility but ignores it: the tenant is always
33292
+ * the authenticated principal's, taken from the `X-Tenant-Id` header the SDK
33293
+ * sends on every request. Trusting the query parameter was a cross-tenant IDOR.
33294
+ */
33295
+ interface ListPendingReviewsOptions {
33296
+ /** Return only reviews whose entity carries this sort name. */
33297
+ sort?: string;
33298
+ /** Return only reviews raised for this reason. */
33299
+ reason?: ReviewReason;
33300
+ /** Zero-indexed page number. Defaults to 0 server-side. */
33301
+ page?: number;
33302
+ /** Entries per page. Defaults to 50 server-side. */
33303
+ pageSize?: number;
33304
+ }
33180
33305
  /**
33181
33306
  * How to resolve feature conflicts when merging an entity with an existing term.
33182
33307
  */
@@ -33352,6 +33477,7 @@ type reviews_BulkMergeRequest = BulkMergeRequest;
33352
33477
  type reviews_BulkRejectRequest = BulkRejectRequest;
33353
33478
  type reviews_ConflictResolution = ConflictResolution;
33354
33479
  type reviews_CorrectEntityRequest = CorrectEntityRequest;
33480
+ type reviews_ListPendingReviewsOptions = ListPendingReviewsOptions;
33355
33481
  type reviews_MergeEntityRequest = MergeEntityRequest;
33356
33482
  type reviews_ReExtractRequest = ReExtractRequest;
33357
33483
  type reviews_RejectEntityRequest = RejectEntityRequest;
@@ -33359,7 +33485,7 @@ type reviews_ReviewCandidateMatchDto = ReviewCandidateMatchDto;
33359
33485
  type reviews_ReviewReason = ReviewReason;
33360
33486
  type reviews_SortSuggestionDto = SortSuggestionDto;
33361
33487
  declare namespace reviews {
33362
- export type { reviews_AddPendingReviewRequest as AddPendingReviewRequest, reviews_ApproveEntityRequest as ApproveEntityRequest, reviews_BulkApproveRequest as BulkApproveRequest, reviews_BulkMergeRequest as BulkMergeRequest, reviews_BulkRejectRequest as BulkRejectRequest, reviews_ConflictResolution as ConflictResolution, reviews_CorrectEntityRequest as CorrectEntityRequest, reviews_MergeEntityRequest as MergeEntityRequest, PendingReviewDto$1 as PendingReviewDto, reviews_ReExtractRequest as ReExtractRequest, reviews_RejectEntityRequest as RejectEntityRequest, reviews_ReviewCandidateMatchDto as ReviewCandidateMatchDto, reviews_ReviewReason as ReviewReason, reviews_SortSuggestionDto as SortSuggestionDto };
33488
+ export type { reviews_AddPendingReviewRequest as AddPendingReviewRequest, reviews_ApproveEntityRequest as ApproveEntityRequest, reviews_BulkApproveRequest as BulkApproveRequest, reviews_BulkMergeRequest as BulkMergeRequest, reviews_BulkRejectRequest as BulkRejectRequest, reviews_ConflictResolution as ConflictResolution, reviews_CorrectEntityRequest as CorrectEntityRequest, reviews_ListPendingReviewsOptions as ListPendingReviewsOptions, reviews_MergeEntityRequest as MergeEntityRequest, PendingReviewDto$1 as PendingReviewDto, reviews_ReExtractRequest as ReExtractRequest, reviews_RejectEntityRequest as RejectEntityRequest, reviews_ReviewCandidateMatchDto as ReviewCandidateMatchDto, reviews_ReviewReason as ReviewReason, reviews_SortSuggestionDto as SortSuggestionDto };
33363
33489
  }
33364
33490
 
33365
33491
  /**
@@ -43403,7 +43529,30 @@ declare class Reviews<SecurityDataType = unknown> {
43403
43529
  * @request GET:/api/v1/reviews/pending
43404
43530
  * @secure
43405
43531
  */
43406
- listPendingReviews: (params?: RequestParams) => Promise<HttpResponse<ListPendingReviewsResponse, void>>;
43532
+ listPendingReviews: (query?: {
43533
+ /**
43534
+ * Page number (0-indexed)
43535
+ * @min 0
43536
+ */
43537
+ page?: number;
43538
+ /**
43539
+ * Page size (default: 50)
43540
+ * @min 0
43541
+ */
43542
+ page_size?: number;
43543
+ /** Filter by review reason */
43544
+ reason?: null | ReviewReason$1;
43545
+ /** Filter by specific sort */
43546
+ sort?: string | null;
43547
+ /**
43548
+ * Filter by tenant ID. Optional and ignored: the tenant is always the
43549
+ * authenticated principal's, resolved from the `X-Tenant-Id` header (the
43550
+ * app-wide header-trust auth model). Kept for wire-compatibility with
43551
+ * clients that still send it.
43552
+ * @format uuid
43553
+ */
43554
+ tenant_id?: string | null;
43555
+ }, params?: RequestParams) => Promise<HttpResponse<ListPendingReviewsResponse, void>>;
43407
43556
  /**
43408
43557
  * @description POST /api/v1/reviews/merge Merges the entity's features into an existing term.
43409
43558
  *
@@ -43501,22 +43650,38 @@ declare class ReviewsClient {
43501
43650
  */
43502
43651
  mergeEntity(request: MergeEntityRequest): Promise<unknown>;
43503
43652
  /**
43504
- * List all pending reviews for the authenticated tenant.
43653
+ * List pending reviews for the authenticated tenant.
43505
43654
  *
43655
+ * @param options - Optional filters and pagination. Omit to list the first
43656
+ * page of every pending review.
43506
43657
  * @returns List of pending review entries.
43507
43658
  * @throws {ApiError} If the request fails.
43508
43659
  *
43509
43660
  * @remarks
43510
- * `GET /api/v1/reviews/pending` no longer accepts a `tenant_id` query parameter:
43511
- * the tenant is taken from the authenticated principal (the `X-Tenant-Id` header the
43512
- * SDK already sends on every request), never from the caller.
43661
+ * The tenant is taken from the authenticated principal (the `X-Tenant-Id`
43662
+ * header the SDK sends on every request), never from the caller. The route
43663
+ * still accepts a `tenant_id` query parameter for wire-compatibility but
43664
+ * ignores it, so {@link ListPendingReviewsOptions} does not expose one.
43513
43665
  *
43514
- * @example
43666
+ * Filters are sent as query parameters in wire `snake_case`; any option left
43667
+ * `undefined` is omitted from the query string entirely, letting the backend
43668
+ * apply its own default.
43669
+ *
43670
+ * @example List everything pending
43515
43671
  * ```typescript
43516
43672
  * const pending = await client.reviews.listPending();
43517
43673
  * ```
43674
+ *
43675
+ * @example Second page of low-confidence reviews
43676
+ * ```typescript
43677
+ * const page = await client.reviews.listPending({
43678
+ * reason: 'low_confidence',
43679
+ * page: 1,
43680
+ * pageSize: 25,
43681
+ * });
43682
+ * ```
43518
43683
  */
43519
- listPending(): Promise<unknown>;
43684
+ listPending(options?: ListPendingReviewsOptions): Promise<unknown>;
43520
43685
  /**
43521
43686
  * Re-extract entities from a document.
43522
43687
  *
@@ -47745,7 +47910,7 @@ declare class Communities<SecurityDataType = unknown> {
47745
47910
  */
47746
47911
  detectCommunities: (data: DetectCommunitiesRequest$1, params?: RequestParams) => Promise<HttpResponse<DetectCommunitiesResponse$1, void>>;
47747
47912
  /**
47748
- * @description `GET /api/v1/graph/export?tenant_id=…&format=graphml|gexf|csv-nodes|csv-edges|dot` Read-only: returns the serialized graph as raw text with the matching content type. The graph is the same `Value::Reference` projection the analytics use, labelled by each term's `name` feature.
47913
+ * @description `GET /api/v1/graph/export?format=graphml|gexf|csv-nodes|csv-edges|dot` Read-only: returns the serialized graph as raw text with the matching content type. The graph is the same `Value::Reference` projection the analytics use, labelled by each term's `name` feature.
47749
47914
  *
47750
47915
  * @tags communities
47751
47916
  * @name ExportGraph
@@ -47753,7 +47918,17 @@ declare class Communities<SecurityDataType = unknown> {
47753
47918
  * @request GET:/api/v1/graph/export
47754
47919
  * @secure
47755
47920
  */
47756
- exportGraph: (params?: RequestParams) => Promise<HttpResponse<void, void>>;
47921
+ exportGraph: (query: {
47922
+ /** Output format: `graphml` | `gexf` | `csv-nodes` | `csv-edges` | `dot`. */
47923
+ format: string;
47924
+ /**
47925
+ * Tenant whose terms form the graph. Optional and ignored: the tenant is
47926
+ * always the authenticated principal's, resolved from the `X-Tenant-Id`
47927
+ * header. Kept for wire-compatibility with clients that still send it.
47928
+ * @format uuid
47929
+ */
47930
+ tenant_id?: string | null;
47931
+ }, params?: RequestParams) => Promise<HttpResponse<void, void>>;
47757
47932
  /**
47758
47933
  * @description POST /api/v1/communities/memberships Returns all communities that a term belongs to, with membership degrees.
47759
47934
  *
@@ -48059,6 +48234,15 @@ interface LinkPredictionResponse {
48059
48234
  /** The source node. */
48060
48235
  source: string;
48061
48236
  }
48237
+ /**
48238
+ * Interchange format for `GET /api/v1/graph/export`.
48239
+ *
48240
+ * @remarks
48241
+ * The route rejects any other value with 400. Each format returns raw text
48242
+ * under its own content type: `graphml` and `gexf` as XML, `csv-nodes` and
48243
+ * `csv-edges` as CSV, `dot` as Graphviz source.
48244
+ */
48245
+ type GraphExportFormat = 'graphml' | 'gexf' | 'csv-nodes' | 'csv-edges' | 'dot';
48062
48246
 
48063
48247
  type communities_CentralityRequest = CentralityRequest;
48064
48248
  type communities_CentralityResponse = CentralityResponse;
@@ -48076,6 +48260,7 @@ type communities_DetectCommunitiesRequest = DetectCommunitiesRequest;
48076
48260
  type communities_DetectCommunitiesResponse = DetectCommunitiesResponse;
48077
48261
  type communities_GetMembershipsRequest = GetMembershipsRequest;
48078
48262
  type communities_GetMembershipsResponse = GetMembershipsResponse;
48263
+ type communities_GraphExportFormat = GraphExportFormat;
48079
48264
  type communities_LinkPredictionRequest = LinkPredictionRequest;
48080
48265
  type communities_LinkPredictionResponse = LinkPredictionResponse;
48081
48266
  type communities_MembershipDto = MembershipDto;
@@ -48085,7 +48270,7 @@ type communities_PathResponse = PathResponse;
48085
48270
  type communities_SearchCommunitiesRequest = SearchCommunitiesRequest;
48086
48271
  type communities_SearchCommunitiesResponse = SearchCommunitiesResponse;
48087
48272
  declare namespace communities {
48088
- export type { communities_CentralityRequest as CentralityRequest, communities_CentralityResponse as CentralityResponse, communities_CohesionRequest as CohesionRequest, communities_CohesionResponse as CohesionResponse, communities_CommunityDetectionConfigDto as CommunityDetectionConfigDto, communities_CommunityDetectionStatsDto as CommunityDetectionStatsDto, communities_CommunityDto as CommunityDto, communities_CommunityMatchDto as CommunityMatchDto, communities_CommunityReportDto as CommunityReportDto, communities_CommunityReportSummaryDto as CommunityReportSummaryDto, communities_CommunitySearchModeDto as CommunitySearchModeDto, communities_CommunitySearchStatsDto as CommunitySearchStatsDto, communities_DetectCommunitiesRequest as DetectCommunitiesRequest, communities_DetectCommunitiesResponse as DetectCommunitiesResponse, communities_GetMembershipsRequest as GetMembershipsRequest, communities_GetMembershipsResponse as GetMembershipsResponse, communities_LinkPredictionRequest as LinkPredictionRequest, communities_LinkPredictionResponse as LinkPredictionResponse, communities_MembershipDto as MembershipDto, communities_NodeScore as NodeScore, communities_PathRequest as PathRequest, communities_PathResponse as PathResponse, communities_SearchCommunitiesRequest as SearchCommunitiesRequest, communities_SearchCommunitiesResponse as SearchCommunitiesResponse };
48273
+ export type { communities_CentralityRequest as CentralityRequest, communities_CentralityResponse as CentralityResponse, communities_CohesionRequest as CohesionRequest, communities_CohesionResponse as CohesionResponse, communities_CommunityDetectionConfigDto as CommunityDetectionConfigDto, communities_CommunityDetectionStatsDto as CommunityDetectionStatsDto, communities_CommunityDto as CommunityDto, communities_CommunityMatchDto as CommunityMatchDto, communities_CommunityReportDto as CommunityReportDto, communities_CommunityReportSummaryDto as CommunityReportSummaryDto, communities_CommunitySearchModeDto as CommunitySearchModeDto, communities_CommunitySearchStatsDto as CommunitySearchStatsDto, communities_DetectCommunitiesRequest as DetectCommunitiesRequest, communities_DetectCommunitiesResponse as DetectCommunitiesResponse, communities_GetMembershipsRequest as GetMembershipsRequest, communities_GetMembershipsResponse as GetMembershipsResponse, communities_GraphExportFormat as GraphExportFormat, communities_LinkPredictionRequest as LinkPredictionRequest, communities_LinkPredictionResponse as LinkPredictionResponse, communities_MembershipDto as MembershipDto, communities_NodeScore as NodeScore, communities_PathRequest as PathRequest, communities_PathResponse as PathResponse, communities_SearchCommunitiesRequest as SearchCommunitiesRequest, communities_SearchCommunitiesResponse as SearchCommunitiesResponse };
48089
48274
  }
48090
48275
 
48091
48276
  /**
@@ -48152,6 +48337,32 @@ declare class CommunitiesClient {
48152
48337
  * @returns Candidate targets with positive score, sorted descending.
48153
48338
  */
48154
48339
  predictLinks(request: LinkPredictionRequest): Promise<LinkPredictionResponse>;
48340
+ /**
48341
+ * Export the tenant's reference graph to a graph-interchange format.
48342
+ *
48343
+ * @param format - The interchange format to serialize to.
48344
+ * @returns The serialized graph as raw text.
48345
+ * @throws {ApiError} If the format is unknown (the backend answers 400).
48346
+ *
48347
+ * @remarks
48348
+ * `format` is mandatory on the wire — a request without it is rejected with
48349
+ * 400. Only the tenant of the authenticated principal is exported; the route
48350
+ * accepts a `tenant_id` query parameter for wire-compatibility but ignores
48351
+ * it, because trusting it allowed one tenant to export another's graph.
48352
+ *
48353
+ * The response is raw text, not JSON, and its content type varies by format
48354
+ * (XML for `graphml` and `gexf`, CSV for the `csv-*` pair, Graphviz source
48355
+ * for `dot`). The generated route class declares `void` because the OpenAPI
48356
+ * spec omits the response schema, so this calls `http.request` directly with
48357
+ * `format: 'text'` to read the body.
48358
+ *
48359
+ * @example
48360
+ * ```typescript
48361
+ * const dot = await client.communities.exportGraph('dot');
48362
+ * const graphml = await client.communities.exportGraph('graphml');
48363
+ * ```
48364
+ */
48365
+ exportGraph(format: GraphExportFormat): Promise<string>;
48155
48366
  }
48156
48367
 
48157
48368
  declare class Strings<SecurityDataType = unknown> {
@@ -49320,12 +49531,12 @@ declare class ActionReviews<SecurityDataType = unknown> {
49320
49531
  * @request GET:/api/v1/action-reviews/summary
49321
49532
  * @secure
49322
49533
  */
49323
- getActionReviewSummary: (query: {
49534
+ getActionReviewSummary: (query?: {
49324
49535
  /**
49325
- * Tenant ID to get summary for
49536
+ * Ignored. The tenant is the authenticated principal's, resolved from the `X-Tenant-Id` header. Declared optional so a generated client is not forced to send a value the handler discards (issue #146).
49326
49537
  * @format uuid
49327
49538
  */
49328
- tenant_id: string;
49539
+ tenant_id?: string;
49329
49540
  }, params?: RequestParams) => Promise<HttpResponse<ActionReviewSummaryDto$1, void>>;
49330
49541
  /**
49331
49542
  * @description GET /api/v1/action-reviews/pending Returns paginated list of actions requiring human review.
@@ -49336,7 +49547,36 @@ declare class ActionReviews<SecurityDataType = unknown> {
49336
49547
  * @request GET:/api/v1/action-reviews/pending
49337
49548
  * @secure
49338
49549
  */
49339
- listPendingActionReviews: (params?: RequestParams) => Promise<HttpResponse<ListActionReviewsResponse$1, void>>;
49550
+ listPendingActionReviews: (query?: {
49551
+ /** Filter by action sort (e.g., "llm_generate", "file_write") */
49552
+ action_sort?: string | null;
49553
+ /**
49554
+ * Filter by agent ID
49555
+ * @format uuid
49556
+ */
49557
+ agent_id?: string | null;
49558
+ /**
49559
+ * Page number (0-indexed)
49560
+ * @min 0
49561
+ */
49562
+ page?: number;
49563
+ /**
49564
+ * Page size (default: 50)
49565
+ * @min 0
49566
+ */
49567
+ page_size?: number;
49568
+ /** Only include pending reviews (default: true) */
49569
+ pending_only?: boolean;
49570
+ /** Filter by review reason */
49571
+ reason?: null | ActionReviewReasonDto$1;
49572
+ /**
49573
+ * Filter by tenant ID. Optional: when omitted, the tenant is resolved from
49574
+ * the `X-Tenant-Id` header (the app-wide header-trust auth model), so
49575
+ * clients need not duplicate it in the query string.
49576
+ * @format uuid
49577
+ */
49578
+ tenant_id?: string | null;
49579
+ }, params?: RequestParams) => Promise<HttpResponse<ListActionReviewsResponse$1, void>>;
49340
49580
  /**
49341
49581
  * @description POST /api/v1/action-reviews/modify Modifies the action parameters and approves for execution.
49342
49582
  *
@@ -49369,6 +49609,41 @@ type ActionReviewStatusDto = 'pending' | 'approved' | 'rejected' | 'modified' |
49369
49609
  type ActionReviewReasonDto = 'requires_approval' | 'high_risk' | 'external_side_effect' | 'low_confidence' | 'first_use' | {
49370
49610
  custom: string;
49371
49611
  };
49612
+ /**
49613
+ * The subset of {@link ActionReviewReasonDto} usable as a query filter.
49614
+ *
49615
+ * @remarks
49616
+ * `GET /api/v1/action-reviews/pending` reads `reason` from the query string,
49617
+ * which carries flat scalars only. The `{ custom }` variant of
49618
+ * {@link ActionReviewReasonDto} serializes as an object and cannot survive a
49619
+ * query string, so it is excluded here rather than failing at request time.
49620
+ */
49621
+ type ActionReviewReasonFilter = 'requires_approval' | 'high_risk' | 'external_side_effect' | 'low_confidence' | 'first_use';
49622
+ /**
49623
+ * Filters and pagination for `GET /api/v1/action-reviews/pending`.
49624
+ *
49625
+ * @remarks
49626
+ * Every field is optional; omit the argument entirely to list the first page
49627
+ * of pending action reviews.
49628
+ *
49629
+ * There is deliberately no `tenantId` field. The route accepts a `tenant_id`
49630
+ * query parameter for wire-compatibility but ignores it: the tenant is always
49631
+ * the authenticated principal's, taken from the `X-Tenant-Id` header.
49632
+ */
49633
+ interface ListActionReviewsOptions {
49634
+ /** Return only actions proposed by this agent (UUID). */
49635
+ agentId?: string;
49636
+ /** Return only actions of this sort (e.g. `"llm_generate"`, `"file_write"`). */
49637
+ actionSort?: string;
49638
+ /** Return only actions held for this reason. */
49639
+ reason?: ActionReviewReasonFilter;
49640
+ /** Restrict to reviews still pending a decision. Defaults to `true` server-side. */
49641
+ pendingOnly?: boolean;
49642
+ /** Zero-indexed page number. Defaults to 0 server-side. */
49643
+ page?: number;
49644
+ /** Entries per page. Defaults to 50 server-side. */
49645
+ pageSize?: number;
49646
+ }
49372
49647
  /**
49373
49648
  * Request to approve an autonomous action.
49374
49649
  */
@@ -49520,6 +49795,7 @@ interface ActionReviewSummaryDto {
49520
49795
  }
49521
49796
 
49522
49797
  type actionReviews_ActionReviewReasonDto = ActionReviewReasonDto;
49798
+ type actionReviews_ActionReviewReasonFilter = ActionReviewReasonFilter;
49523
49799
  type actionReviews_ActionReviewResponse = ActionReviewResponse;
49524
49800
  type actionReviews_ActionReviewStatusDto = ActionReviewStatusDto;
49525
49801
  type actionReviews_ActionReviewSummaryDto = ActionReviewSummaryDto;
@@ -49528,12 +49804,13 @@ type actionReviews_BulkActionReviewResponse = BulkActionReviewResponse;
49528
49804
  type actionReviews_BulkApproveActionsRequest = BulkApproveActionsRequest;
49529
49805
  type actionReviews_BulkRejectActionsRequest = BulkRejectActionsRequest;
49530
49806
  type actionReviews_FailedReviewDto = FailedReviewDto;
49807
+ type actionReviews_ListActionReviewsOptions = ListActionReviewsOptions;
49531
49808
  type actionReviews_ListActionReviewsResponse = ListActionReviewsResponse;
49532
49809
  type actionReviews_ModifyActionRequest = ModifyActionRequest;
49533
49810
  type actionReviews_PendingActionReviewDto = PendingActionReviewDto;
49534
49811
  type actionReviews_RejectActionRequest = RejectActionRequest;
49535
49812
  declare namespace actionReviews {
49536
- export type { actionReviews_ActionReviewReasonDto as ActionReviewReasonDto, actionReviews_ActionReviewResponse as ActionReviewResponse, actionReviews_ActionReviewStatusDto as ActionReviewStatusDto, actionReviews_ActionReviewSummaryDto as ActionReviewSummaryDto, actionReviews_ApproveActionRequest as ApproveActionRequest, actionReviews_BulkActionReviewResponse as BulkActionReviewResponse, actionReviews_BulkApproveActionsRequest as BulkApproveActionsRequest, actionReviews_BulkRejectActionsRequest as BulkRejectActionsRequest, actionReviews_FailedReviewDto as FailedReviewDto, actionReviews_ListActionReviewsResponse as ListActionReviewsResponse, actionReviews_ModifyActionRequest as ModifyActionRequest, actionReviews_PendingActionReviewDto as PendingActionReviewDto, actionReviews_RejectActionRequest as RejectActionRequest };
49813
+ export type { actionReviews_ActionReviewReasonDto as ActionReviewReasonDto, actionReviews_ActionReviewReasonFilter as ActionReviewReasonFilter, actionReviews_ActionReviewResponse as ActionReviewResponse, actionReviews_ActionReviewStatusDto as ActionReviewStatusDto, actionReviews_ActionReviewSummaryDto as ActionReviewSummaryDto, actionReviews_ApproveActionRequest as ApproveActionRequest, actionReviews_BulkActionReviewResponse as BulkActionReviewResponse, actionReviews_BulkApproveActionsRequest as BulkApproveActionsRequest, actionReviews_BulkRejectActionsRequest as BulkRejectActionsRequest, actionReviews_FailedReviewDto as FailedReviewDto, actionReviews_ListActionReviewsOptions as ListActionReviewsOptions, actionReviews_ListActionReviewsResponse as ListActionReviewsResponse, actionReviews_ModifyActionRequest as ModifyActionRequest, actionReviews_PendingActionReviewDto as PendingActionReviewDto, actionReviews_RejectActionRequest as RejectActionRequest };
49537
49814
  }
49538
49815
 
49539
49816
  /**
@@ -49590,9 +49867,27 @@ declare class ActionReviewsClient {
49590
49867
  /**
49591
49868
  * List pending action reviews.
49592
49869
  *
49870
+ * @param options - Optional filters and pagination. Omit to list the first
49871
+ * page of pending action reviews.
49593
49872
  * @returns Paginated list of pending reviews.
49873
+ * @throws {ApiError} If the request fails.
49874
+ *
49875
+ * @remarks
49876
+ * The tenant is taken from the authenticated principal (the `X-Tenant-Id`
49877
+ * header), never from the caller, so {@link ListActionReviewsOptions} exposes
49878
+ * no `tenantId`. Filters are sent as query parameters in wire `snake_case`;
49879
+ * any option left `undefined` is omitted, letting the backend default apply
49880
+ * (`pendingOnly` defaults to `true`, `pageSize` to 50).
49881
+ *
49882
+ * @example Highest-risk actions awaiting a decision
49883
+ * ```typescript
49884
+ * const pending = await client.actionReviews.listPending({
49885
+ * reason: 'high_risk',
49886
+ * pageSize: 20,
49887
+ * });
49888
+ * ```
49594
49889
  */
49595
- listPending(): Promise<ListActionReviewsResponse>;
49890
+ listPending(options?: ListActionReviewsOptions): Promise<ListActionReviewsResponse>;
49596
49891
  /**
49597
49892
  * Get action review summary statistics.
49598
49893
  *
@@ -52547,12 +52842,12 @@ declare class WebhookActions<SecurityDataType = unknown> {
52547
52842
  * @summary List all registered external actions for a tenant.
52548
52843
  * @request GET:/api/v1/external-actions
52549
52844
  */
52550
- listExternalActions: (query: {
52845
+ listExternalActions: (query?: {
52551
52846
  /**
52552
- * Tenant ID
52847
+ * Ignored. The tenant is the authenticated principal's, resolved from the `X-Tenant-Id` header. Declared optional so a generated client is not forced to send a value the handler discards (issue #146).
52553
52848
  * @format uuid
52554
52849
  */
52555
- tenant_id: string;
52850
+ tenant_id?: string;
52556
52851
  }, params?: RequestParams) => Promise<HttpResponse<ListExternalActionsResponse$1, any>>;
52557
52852
  /**
52558
52853
  * No description
@@ -52562,12 +52857,12 @@ declare class WebhookActions<SecurityDataType = unknown> {
52562
52857
  * @summary List pending invocations for a tenant.
52563
52858
  * @request GET:/api/v1/invocations
52564
52859
  */
52565
- listPendingInvocations: (query: {
52860
+ listPendingInvocations: (query?: {
52566
52861
  /**
52567
- * Tenant ID
52862
+ * Ignored. The tenant is the authenticated principal's, resolved from the `X-Tenant-Id` header. Declared optional so a generated client is not forced to send a value the handler discards (issue #146).
52568
52863
  * @format uuid
52569
52864
  */
52570
- tenant_id: string;
52865
+ tenant_id?: string;
52571
52866
  }, params?: RequestParams) => Promise<HttpResponse<ListPendingInvocationsResponse$1, any>>;
52572
52867
  /**
52573
52868
  * @description Creates a sort inheriting from `effect` in the sort hierarchy.
@@ -54784,6 +55079,15 @@ interface ClearTenantResponse {
54784
55079
  inferenceStateCleared: boolean;
54785
55080
  /** Whether the cache was invalidated. */
54786
55081
  cacheInvalidated: boolean;
55082
+ /**
55083
+ * Number of plugin-marketplace install records forgotten for this tenant.
55084
+ *
55085
+ * @remarks
55086
+ * Reported separately from the persistent table sweep's row count: the
55087
+ * durable rows and the in-memory registry are two stores, and this is the
55088
+ * one the install listing reads.
55089
+ */
55090
+ pluginInstallsDeleted?: number;
54787
55091
  }
54788
55092
  /**
54789
55093
  * Response for the list-tenants endpoint.
@@ -63445,6 +63749,17 @@ interface InstallPluginResponse {
63445
63749
  rulesAdded: number;
63446
63750
  /** The resulting lifecycle state (`"Enabled"` after a successful install). */
63447
63751
  state: string;
63752
+ /**
63753
+ * Whether the contribution is only PARTIALLY applied to the live view.
63754
+ *
63755
+ * @remarks
63756
+ * {@link InstallPluginResponse.state} cannot express this: a plugin whose sorts the live lattice
63757
+ * rejected, or whose startup replay failed, still reads `"Enabled"` while
63758
+ * contributing less than it reports — or nothing at all.
63759
+ */
63760
+ degraded?: boolean;
63761
+ /** What is missing from the live contribution, when {@link InstallPluginResponse.degraded}. */
63762
+ degradation?: string | null;
63448
63763
  }
63449
63764
  /**
63450
63765
  * An install's lifecycle state after an enable/disable transition.
@@ -63460,6 +63775,17 @@ interface InstallState {
63460
63775
  installId: string;
63461
63776
  /** The lifecycle state after the transition. */
63462
63777
  state: string;
63778
+ /**
63779
+ * Whether the contribution is only PARTIALLY applied to the live view.
63780
+ *
63781
+ * @remarks
63782
+ * {@link InstallState.state} cannot express this: a plugin whose sorts the live lattice
63783
+ * rejected, or whose startup replay failed, still reads `"Enabled"` while
63784
+ * contributing less than it reports — or nothing at all.
63785
+ */
63786
+ degraded?: boolean;
63787
+ /** What is missing from the live contribution, when {@link InstallState.degraded}. */
63788
+ degradation?: string | null;
63463
63789
  }
63464
63790
  /**
63465
63791
  * Request to upgrade an install to another published version.
@@ -63519,6 +63845,17 @@ interface InstallSummary {
63519
63845
  state: string;
63520
63846
  /** Whether the install is system-wide (rather than per-tenant). */
63521
63847
  systemWide: boolean;
63848
+ /**
63849
+ * Whether the contribution is only PARTIALLY applied to the live view.
63850
+ *
63851
+ * @remarks
63852
+ * {@link InstallSummary.state} cannot express this: a plugin whose sorts the live lattice
63853
+ * rejected, or whose startup replay failed, still reads `"Enabled"` while
63854
+ * contributing less than it reports — or nothing at all.
63855
+ */
63856
+ degraded?: boolean;
63857
+ /** What is missing from the live contribution, when {@link InstallSummary.degraded}. */
63858
+ degradation?: string | null;
63522
63859
  }
63523
63860
  /**
63524
63861
  * The installs visible in the requested scope.
@@ -74303,4 +74640,4 @@ declare function toUntaggedFeatures(features: PlainFeatureMap): Record<string, F
74303
74640
  */
74304
74641
  declare function toTermInputDto(input: PsiTermInput | TermInputDto): TermInputDto;
74305
74642
 
74306
- export { ANY_ROLE, actionReviews as ActionReviews, actions as Actions, type AddFactRequest, type AddFactResponse, type AddRuleRequest, type AddRuleResponse, admin as Admin, agui as Agui, type AguiContextItem, type AguiEvent, type AguiFunctionCall, type AguiMessage, type AguiRole, type AguiRunOptions, type AguiTool, type AguiToolCall, type AiGroup, type AlcConcept, analysis as Analysis, type AnalysisGroup, anonymization as Anonymization, ApiError, type ApiResponse, type ArithmeticOp, type AuthConfig, AuthenticationError, authz as Authz, type AuthzAction, type AuthzDryRunRequest, type AuthzDryRunResponse, type AuthzEffect, type BackwardChainRequest, type BackwardChainResponse, BadRequestError, type BulkAddTermsRequest, type BulkAddTermsResponse, type BulkCreateSortsRequest, type BulkCreateSortsResponse, cdl as CDL, type CascadeOptions, type CatalogPage, causal as Causal, type CertificateDetail, chase as Chase, type ChaseArgDto, type ChaseAtomDto, type ChaseRunRequest, type ChaseRunResponse, type CheckDocumentRequest, type CheckDocumentResponse, type CheckFinding, type CheckSummary, type ClaimAssessment, type ClaimCitation, type ClaimSubtype, type ClaimVerdict, type ClassifyEdgesInput, type ClassifyEdgesVars, type ClearTermsResponse, type ClientConfig, cognitive as Cognitive, type CognitiveStrategyDto, coherence as Coherence, type CoherenceAnalyzeRequest, type CoherenceAnalyzeResponse, collections as Collections, communities as Communities, type CompareDocumentsRequest, type ComparisonOp, compliance as Compliance, complianceMarkings as ComplianceMarkings, conformal as Conformal, conformance as Conformance, type ConformanceCheckResponse, type ConformanceRepairResponse, type ConformanceRequest, connectors as Connectors, type ConstrainedPlainVar, Constraint, ConstraintViolationError, constraints as Constraints, control as Control, conversation as Conversation, type ConversationMessageRequest, type ConversationMessageResponse, type ConversationSummaryDto, type ConversationTurnsResponse, type CoreGroup, corpus as Corpus, type CorpusBridgesRequest, type CorpusBridgesResponse, type CorpusCommunitiesRequest, type CorpusCommunitiesResponse, type CorpusCrossCuttingRequest, type CorpusCrossCuttingResponse, type CorpusScope, type CreateResearchSessionRequest, type CreateResearchSessionResponse, type CreateSortRequest, type CreateTermRequest, type CtlFormula, dl as DL, type DataGroup, demo as Demo, discovery as Discovery, type DlSatisfiableRequest, type DlSatisfiableResponse, type DlSubsumesRequest, type DlSubsumesResponse, documentCheck as DocumentCheck, documents as Documents, embeddings as Embeddings, type EqLiteralDto, type EqualityAtomDto, type ErrorResponse$1 as ErrorResponse, execution as Execution, extract as Extract, feasibility as Feasibility, type FeatureInputValueDto, type FeatureValueDto, type FindingKind, type FindingSeverity, Flow, type FlowProblem as FlowBuilderProblem, type FlowEdgeInput, type FlowEdgeOptions, flowNetworks as FlowNetworks, type FlowNode, type FlowProblemInputBase, type FocusEntryDto, ForbiddenError, forecast as Forecast, type ForecastDomain, type ForecastDomainsResponse, type ForecastEntityInput, type ForecastRequest, type ForecastResponse, type ForwardChainRequest, type ForwardChainResponse, functions as Functions, fuzzy as Fuzzy, FuzzyShape, type FuzzyShapeDto, generation as Generation, type GlbRequest, type GlbResponse, type GraphSparqlQueryRequest, type GraphSparqlResults, guardrail as Guardrail, type GuardrailReport, type GuardrailRequest, type GuardrailSummary, health as Health, homoiconic as Homoiconic, ilp as ILP, imageExtraction as ImageExtraction, inference as Inference, type IngestPaperRequest, type IngestPaperResponse, ingestion as Ingestion, IngestionFailedError, IngestionSession, type IngestionSyncOptions, type InlineDocument, type InstallList, type InstallPluginRequest, type InstallPluginResponse, type InstallState, type InstallSummary, type Interceptor, InternalServerError, type JsonValue$1 as JsonValue, type KripkeState, type KripkeTransition, LP, ltn as LTN, type ListCatalogParams, type ListConversationsResponse, type ListInstallsParams, type ListResearchSessionsResponse, type LtnInstance, type LtnQueryRequest, type LtnQueryResponse, type LtnRefuteRequest, type LtnRefuteResponse, type LtnRule, type LtnTrainRequest, type LtnTrainResponse, type LubRequest, type LubResponse, marketplace as Marketplace, type MarketplaceScope, type MaxFlowInput, type MaxFlowVars, type MinCostMaxFlowInput, type MinCostMaxFlowVars, type MinCutInput, type MinCutVars, namespaces as Namespaces, NetworkError, neuroSymbolic as NeuroSymbolic, NotFoundError, ontology as Ontology, ontologyAlignment as OntologyAlignment, ontologyBridge as OntologyBridge, ontologyExport as OntologyExport, type OntologyExportDocument, type OntologyExportFormat, type OntologyExportOptions, ontologyFacade as OntologyFacade, type Operand, operations as Operations, optimize as Optimize, osfDiff as OsfDiff, type OsfDiffReport, type OsfDiffRequest, type OsfDiffResponse, type OsfDiffSelector, type OsfDiffSequenceReport, type OsfDiffSequenceRequest, type OsfDiffSequenceResponse, type OsfDiffTemporalRequest, type OsfSearchRequest, type OsfSearchResponse, osfql as Osfql, type OsfqlRequest, type OsfqlResponse, type OsfqlValue, oversight as Oversight, type PaginationParams, type PaperMetadataDto, type PaperSource, type PlainFeatureMap, type PlainFeatureValue, plainValues as PlainValues, type PluginDependency, type PluginDetail, type PluginManifest, type PluginSummary, type PluginVersion, preferences as Preferences, proofEngine as ProofEngine, propertyGraph as PropertyGraph, type PropertyGraphErrorResponse, type PropertyGraphExecuteResponse, type PropertyGraphQueryRequest, type PropertyGraphTranslateResponse, type PropertyGraphValue, type PsiTermDto, type PsiTermInput, type PublishPluginRequest, type PublishPluginResponse, query as Query, rag as RAG, RateLimitError, type RateLimitInfo, reasoning as Reasoning, type ReasoningGroup, ReasoningLayerClient, ReasoningLayerError, type ReasoningStageDto, type ReasoningTraceDto, type RequestOptions, research as Research, type ResearchContradictionsResponse, type ResearchCycleResponse, type ResearchFindingsResponse, type ResearchGapsResponse, type ResearchReportResponse, type ResearchSessionResponse, type ResearchSessionSummaryDto, type ResolvedCoreferenceDto, reviews as Reviews, reward as Reward, row as Row, type RuleAggregatorDto, type RunAgentRequest, SDK_VERSION, sat as Sat, type SatLiteralDto, type SatSolveRequest, type SatSolveResponse, type SatVerdict, scenarios as Scenarios, scheduling as Scheduling, type SearchCatalogRequest, type SearchCatalogResponse, type SearchPapersRequest, type SearchPapersResponse, type SessionGraphDto, type SimpleTgdDto, smt as Smt, type SmtCheckRequest, type SmtCheckResponse, type SmtFunctionApplicationDto, type SmtVerdict, solver as Solver, SortBuilder, type SortDto, type SortInfoDto, sorts as Sorts, sources as Sources, spaces as Spaces, sparql as Sparql, type SparqlAskResults, type SparqlBindingSet, type SparqlEntailmentRegime, type SparqlQueryRequest, type SparqlQueryResults, type SparqlRdfTerm, type SparqlSelectResults, type SparqlTranslation, type SparqlUpdateRequest, type SparqlUpdateTranslation, speakers as Speakers, speech as Speech, statistical as Statistical, streaming as Streaming, synthetic as Synthetic, type SystemGroup, temporal as Temporal, type TemporalModelCheckRequest, type TemporalModelCheckResponse, type TemporalSeriesRequest, type TemporalSeriesResponse, type TemporalSeriesSpec, type TermDto, type TermInputArg, type TermInputDto, type TermListResponse, type TermPatternDto, type TermResponse, type TermSetSelector, terms as Terms, TimeoutError, translation as Translation, type TurnDto, ui as UI, type UpdateTermRequest, type UpgradeInstallRequest, utilities as Utilities, ValidationError, Value, type ValueDto, values as Values, verification as Verification, type VerifyClaimRequest, type VerifyClaimResponse, vision as Vision, visualization as Visualization, WebSocketClient, WebSocketConnection, webhookActions as WebhookActions, type WorkflowGroup, type YankPluginRequest, type YankPluginResponse, allen, constrained, discriminateFeatureValue, guard, isConstrainedPlainVar, isPsiTermInput, isTaggedValueDto, isUuid, psi, toTaggedFeatures, toTaggedValue, toTermInputDto, toUntaggedFeatures, toUntaggedValue };
74643
+ export { ANY_ROLE, type ActionReviewReasonFilter, actionReviews as ActionReviews, actions as Actions, type AddFactRequest, type AddFactResponse, type AddRuleRequest, type AddRuleResponse, admin as Admin, agui as Agui, type AguiContextItem, type AguiEvent, type AguiFunctionCall, type AguiMessage, type AguiRole, type AguiRunOptions, type AguiTool, type AguiToolCall, type AiGroup, type AlcConcept, analysis as Analysis, type AnalysisGroup, anonymization as Anonymization, ApiError, type ApiResponse, type ArithmeticOp, type AuthConfig, AuthenticationError, authz as Authz, type AuthzAction, type AuthzDryRunRequest, type AuthzDryRunResponse, type AuthzEffect, type BackwardChainRequest, type BackwardChainResponse, BadRequestError, type BulkAddTermsRequest, type BulkAddTermsResponse, type BulkCreateSortsRequest, type BulkCreateSortsResponse, cdl as CDL, type CascadeOptions, type CatalogPage, causal as Causal, type CertificateDetail, chase as Chase, type ChaseArgDto, type ChaseAtomDto, type ChaseRunRequest, type ChaseRunResponse, type CheckDocumentRequest, type CheckDocumentResponse, type CheckFinding, type CheckSummary, type ClaimAssessment, type ClaimCitation, type ClaimSubtype, type ClaimVerdict, type ClassifyEdgesInput, type ClassifyEdgesVars, type ClearTermsResponse, type ClientConfig, cognitive as Cognitive, type CognitiveStrategyDto, coherence as Coherence, type CoherenceAnalyzeRequest, type CoherenceAnalyzeResponse, collections as Collections, communities as Communities, type CompareDocumentsRequest, type ComparisonOp, compliance as Compliance, complianceMarkings as ComplianceMarkings, conformal as Conformal, conformance as Conformance, type ConformanceCheckResponse, type ConformanceRepairResponse, type ConformanceRequest, connectors as Connectors, type ConstrainedPlainVar, Constraint, ConstraintViolationError, constraints as Constraints, control as Control, conversation as Conversation, type ConversationMessageRequest, type ConversationMessageResponse, type ConversationSummaryDto, type ConversationTurnsResponse, type CoreGroup, corpus as Corpus, type CorpusBridgesRequest, type CorpusBridgesResponse, type CorpusCommunitiesRequest, type CorpusCommunitiesResponse, type CorpusCrossCuttingRequest, type CorpusCrossCuttingResponse, type CorpusScope, type CreateResearchSessionRequest, type CreateResearchSessionResponse, type CreateSortRequest, type CreateTermRequest, type CtlFormula, dl as DL, type DataGroup, demo as Demo, discovery as Discovery, type DlSatisfiableRequest, type DlSatisfiableResponse, type DlSubsumesRequest, type DlSubsumesResponse, documentCheck as DocumentCheck, documents as Documents, embeddings as Embeddings, type EqLiteralDto, type EqualityAtomDto, type ErrorResponse$1 as ErrorResponse, execution as Execution, extract as Extract, feasibility as Feasibility, type FeatureInputValueDto, type FeatureValueDto, type FindingKind, type FindingSeverity, Flow, type FlowProblem as FlowBuilderProblem, type FlowEdgeInput, type FlowEdgeOptions, flowNetworks as FlowNetworks, type FlowNode, type FlowProblemInputBase, type FocusEntryDto, ForbiddenError, forecast as Forecast, type ForecastDomain, type ForecastDomainsResponse, type ForecastEntityInput, type ForecastRequest, type ForecastResponse, type ForwardChainRequest, type ForwardChainResponse, functions as Functions, fuzzy as Fuzzy, FuzzyShape, type FuzzyShapeDto, generation as Generation, type GlbRequest, type GlbResponse, type GraphExportFormat, type GraphSparqlQueryRequest, type GraphSparqlResults, guardrail as Guardrail, type GuardrailReport, type GuardrailRequest, type GuardrailSummary, health as Health, homoiconic as Homoiconic, ilp as ILP, imageExtraction as ImageExtraction, inference as Inference, type IngestPaperRequest, type IngestPaperResponse, ingestion as Ingestion, IngestionFailedError, IngestionSession, type IngestionSyncOptions, type InlineDocument, type InstallList, type InstallPluginRequest, type InstallPluginResponse, type InstallState, type InstallSummary, type Interceptor, InternalServerError, type JsonValue$1 as JsonValue, type KripkeState, type KripkeTransition, LP, ltn as LTN, type ListActionReviewsOptions, type ListCatalogParams, type ListConversationsResponse, type ListInstallsParams, type ListPendingReviewsOptions, type ListResearchSessionsResponse, type LtnInstance, type LtnQueryRequest, type LtnQueryResponse, type LtnRefuteRequest, type LtnRefuteResponse, type LtnRule, type LtnTrainRequest, type LtnTrainResponse, type LubRequest, type LubResponse, marketplace as Marketplace, type MarketplaceScope, type MaxFlowInput, type MaxFlowVars, type MinCostMaxFlowInput, type MinCostMaxFlowVars, type MinCutInput, type MinCutVars, namespaces as Namespaces, NetworkError, neuroSymbolic as NeuroSymbolic, NotFoundError, ontology as Ontology, ontologyAlignment as OntologyAlignment, ontologyBridge as OntologyBridge, ontologyExport as OntologyExport, type OntologyExportDocument, type OntologyExportFormat, type OntologyExportOptions, ontologyFacade as OntologyFacade, type Operand, operations as Operations, optimize as Optimize, osfDiff as OsfDiff, type OsfDiffReport, type OsfDiffRequest, type OsfDiffResponse, type OsfDiffSelector, type OsfDiffSequenceReport, type OsfDiffSequenceRequest, type OsfDiffSequenceResponse, type OsfDiffTemporalRequest, type OsfSearchRequest, type OsfSearchResponse, osfql as Osfql, type OsfqlRequest, type OsfqlResponse, type OsfqlValue, oversight as Oversight, type PaginationParams, type PaperMetadataDto, type PaperSource, type PlainFeatureMap, type PlainFeatureValue, plainValues as PlainValues, type PluginDependency, type PluginDetail, type PluginManifest, type PluginSummary, type PluginVersion, preferences as Preferences, proofEngine as ProofEngine, propertyGraph as PropertyGraph, type PropertyGraphErrorResponse, type PropertyGraphExecuteResponse, type PropertyGraphQueryRequest, type PropertyGraphTranslateResponse, type PropertyGraphValue, type PsiTermDto, type PsiTermInput, type PublishPluginRequest, type PublishPluginResponse, query as Query, rag as RAG, RateLimitError, type RateLimitInfo, reasoning as Reasoning, type ReasoningGroup, ReasoningLayerClient, ReasoningLayerError, type ReasoningStageDto, type ReasoningTraceDto, type RequestOptions, research as Research, type ResearchContradictionsResponse, type ResearchCycleResponse, type ResearchFindingsResponse, type ResearchGapsResponse, type ResearchReportResponse, type ResearchSessionResponse, type ResearchSessionSummaryDto, type ResolvedCoreferenceDto, type ReviewReason, reviews as Reviews, reward as Reward, row as Row, type RuleAggregatorDto, type RunAgentRequest, SDK_VERSION, sat as Sat, type SatLiteralDto, type SatSolveRequest, type SatSolveResponse, type SatVerdict, scenarios as Scenarios, scheduling as Scheduling, type SearchCatalogRequest, type SearchCatalogResponse, type SearchPapersRequest, type SearchPapersResponse, type SessionGraphDto, type SimpleTgdDto, smt as Smt, type SmtCheckRequest, type SmtCheckResponse, type SmtFunctionApplicationDto, type SmtVerdict, solver as Solver, SortBuilder, type SortDto, type SortInfoDto, sorts as Sorts, sources as Sources, spaces as Spaces, sparql as Sparql, type SparqlAskResults, type SparqlBindingSet, type SparqlEntailmentRegime, type SparqlQueryRequest, type SparqlQueryResults, type SparqlRdfTerm, type SparqlSelectResults, type SparqlTranslation, type SparqlUpdateRequest, type SparqlUpdateTranslation, speakers as Speakers, speech as Speech, statistical as Statistical, streaming as Streaming, synthetic as Synthetic, type SystemGroup, temporal as Temporal, type TemporalModelCheckRequest, type TemporalModelCheckResponse, type TemporalSeriesRequest, type TemporalSeriesResponse, type TemporalSeriesSpec, type TermDto, type TermInputArg, type TermInputDto, type TermListResponse, type TermPatternDto, type TermResponse, type TermSetSelector, terms as Terms, TimeoutError, translation as Translation, type TurnDto, ui as UI, type UpdateTermRequest, type UpgradeInstallRequest, utilities as Utilities, ValidationError, Value, type ValueDto, values as Values, verification as Verification, type VerifyClaimRequest, type VerifyClaimResponse, vision as Vision, visualization as Visualization, WebSocketClient, WebSocketConnection, webhookActions as WebhookActions, type WorkflowGroup, type YankPluginRequest, type YankPluginResponse, allen, constrained, discriminateFeatureValue, guard, isConstrainedPlainVar, isPsiTermInput, isTaggedValueDto, isUuid, psi, toTaggedFeatures, toTaggedValue, toTermInputDto, toUntaggedFeatures, toUntaggedValue };