@faiber/faiber-knowledge 0.24.1 → 1.0.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
@@ -1,58 +1,321 @@
1
- import { ServiceApi, type ApiEnvelope, type Identifier, type JsonValue, type RequestOptions } from "@faiber/sdk-core";
1
+ import { ServiceApi, type Identifier, type RequestOptions } from "@faiber/sdk-core";
2
2
  import type * as T from "./types.js";
3
3
  import { KnowledgeOperations } from "./operations.js";
4
4
  export declare class KnowledgeApi extends ServiceApi {
5
5
  /** Loads full contracts from an enabled assistant binding and its immutable published release, without semantic truncation. Requires knowledge:runtime; missing published bindings return 404. */
6
- assistantContracts(assistantId: Identifier, slug: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.AssistantContractsResponse, any, {}>>;
6
+ assistantContracts(assistantId: Identifier, slug: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.AssistantContractsResponse, any, {}, any>>;
7
+ /** Searches active match rules across authorized bases. Requires `knowledge:read`. Filters apply before stable pagination; foreign/deleted bases contribute no rows. */
8
+ matchRules(params?: T.KnowledgeRuleListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.MatchRuleListResponse, any, {}, any>>;
7
9
  readonly operations: KnowledgeOperations;
8
- knowledgeBases(params?: T.KnowledgeListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeBaseListResponse, any, {}>>;
9
- createKnowledgeBase(data: T.CreateKnowledgeBaseInput, options?: RequestOptions<T.CreateKnowledgeBaseInput>): Promise<import("axios").AxiosResponse<T.KnowledgeBaseResponse, T.CreateKnowledgeBaseInput, {}>>;
10
- knowledgeBase(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeBaseResponse, any, {}>>;
11
- updateKnowledgeBase(baseId: Identifier, data: T.UpdateKnowledgeBaseInput, options?: RequestOptions<T.UpdateKnowledgeBaseInput>): Promise<import("axios").AxiosResponse<T.KnowledgeBaseResponse, T.UpdateKnowledgeBaseInput, {}>>;
12
- deleteKnowledgeBase(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
13
- publish(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeBaseResponse, import("@faiber/sdk-core").JsonObject, {}>>;
14
- export(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue>, any, {}>>;
15
- groups(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeGroupListResponse, any, {}>>;
16
- createGroup(baseId: Identifier, data: T.CreateGroupInput, options?: RequestOptions<T.CreateGroupInput>): Promise<import("axios").AxiosResponse<T.KnowledgeGroupResponse, T.CreateGroupInput, {}>>;
17
- updateGroup(groupId: Identifier, data: T.UpdateGroupInput, options?: RequestOptions<T.UpdateGroupInput>): Promise<import("axios").AxiosResponse<T.KnowledgeGroupResponse, T.UpdateGroupInput, {}>>;
18
- deleteGroup(groupId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
19
- items(baseId: Identifier, params?: T.KnowledgeListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeItemListResponse, any, {}>>;
20
- createItem(baseId: Identifier, data: T.CreateItemInput, options?: RequestOptions<T.CreateItemInput>): Promise<import("axios").AxiosResponse<T.KnowledgeItemResponse, T.CreateItemInput, {}>>;
21
- item(itemId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeItemResponse, any, {}>>;
22
- updateItem(itemId: Identifier, data: T.UpdateItemInput, options?: RequestOptions<T.UpdateItemInput>): Promise<import("axios").AxiosResponse<T.KnowledgeItemResponse, T.UpdateItemInput, {}>>;
23
- deleteItem(itemId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
24
- query(chatSlug: string, data: T.RuntimeQueryInput, options?: RequestOptions<T.RuntimeQueryInput>): Promise<import("axios").AxiosResponse<T.RuntimeResultResponse, T.RuntimeQueryInput, {}>>;
25
- queryAssistant(assistantId: Identifier, data: T.AssistantQueryInput, options?: RequestOptions<T.AssistantQueryInput>): Promise<import("axios").AxiosResponse<T.AssistantRuntimeResponse, T.AssistantQueryInput, {}>>;
26
- recordAssistantTurn(assistantId: Identifier, data: T.RecordAssistantTurnInput, options?: RequestOptions<T.RecordAssistantTurnInput>): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue>, T.RecordAssistantTurnInput, {}>>;
27
- memorySubjects(params?: T.MemorySubjectQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue[]>, any, {}>>;
28
- clearMemorySubject(subjectId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
29
- setMemoryOverride(subjectId: Identifier, data: T.MemoryOverrideInput, options?: RequestOptions<T.MemoryOverrideInput>): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue>, T.MemoryOverrideInput, {}>>;
30
- auditEvents(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue[]>, any, {}>>;
31
- toolSchema(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue>, any, {}>>;
10
+ /** Search current-organization nondeleted bases by name/slug and optional status. Page defaults to 1 and limit to 50, clamped to 1–200.
11
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
12
+ * @returns Full Axios response with typed envelope, status and headers.
13
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
14
+ */
15
+ knowledgeBases(params?: T.KnowledgeListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeBaseListResponse, any, {}, any>>;
16
+ /** Create a draft base for the current organization. Slug validation and organization slug uniqueness are enforced; returns 201.
17
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
18
+ * @returns Full Axios response with typed envelope, status and headers.
19
+ * @throws AxiosError for permission (knowledge:write), validation, not-found, conflict or transport errors.
20
+ */
21
+ createKnowledgeBase(data: T.CreateKnowledgeBaseInput, options?: RequestOptions<T.CreateKnowledgeBaseInput>): Promise<import("axios").AxiosResponse<T.KnowledgeBaseResponse, T.CreateKnowledgeBaseInput, {}, any>>;
22
+ /** Read a nondeleted organization-owned base. Foreign and missing base IDs return 404.
23
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
24
+ * @returns Full Axios response with typed envelope, status and headers.
25
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
26
+ */
27
+ knowledgeBase(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeBaseResponse, any, {}, any>>;
28
+ /** Update an organization-owned base under optional expected_version. Null scalar fields behave as omitted; stale versions conflict with 409.
29
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
30
+ * @returns Full Axios response with typed envelope, status and headers.
31
+ * @throws AxiosError for permission (knowledge:write), validation, not-found, conflict or transport errors.
32
+ */
33
+ updateKnowledgeBase(baseId: Identifier, data: T.UpdateKnowledgeBaseInput, options?: RequestOptions<T.UpdateKnowledgeBaseInput>): Promise<import("axios").AxiosResponse<T.KnowledgeBaseResponse, T.UpdateKnowledgeBaseInput, {}, any>>;
34
+ /** Soft-delete and archive a current-organization base transactionally; retained child rows remain inaccessible through the base. Returns 204.
35
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
36
+ * @returns Full Axios response with typed envelope, status and headers.
37
+ * @throws AxiosError for permission (knowledge:delete), validation, not-found, conflict or transport errors.
38
+ */
39
+ deleteKnowledgeBase(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
40
+ /** Publishes an immutable snapshot. Requires `knowledge:publish`; incomplete content returns 400. Returns the release identity/checksum, while the mutable base stores its published_release_id. */
41
+ publish(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeReleaseResponse, import("@faiber/sdk-core").JsonObject, {}, any>>;
42
+ /** Reads an immutable release by its release ID. Requires `knowledge:read`; tenant or missing-base access returns 404. */
43
+ /** Read an immutable release after authorizing its base. The base ownership check also rejects missing or deleted bases.
44
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
45
+ * @returns Full Axios response with typed envelope, status and headers.
46
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
47
+ */
48
+ release(releaseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeReleaseResponse, any, {}, any>>;
49
+ /** Export the current mutable authoring base, groups, items, edges and rules with an export timestamp. This is not an immutable published release.
50
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
51
+ * @returns Full Axios response with typed envelope, status and headers.
52
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
53
+ */
54
+ export(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeExportResponse, any, {}, any>>;
55
+ /** List nondeleted groups after authorizing their base; returns an unpaginated array ordered by level then sort order.
56
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
57
+ * @returns Full Axios response with typed envelope, status and headers.
58
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
59
+ */
60
+ groups(baseId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeGroupListResponse, any, {}, any>>;
61
+ /** Create a group under a tenant-authorized locked base. Parent relationships and slug uniqueness are validated; returns 201.
62
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
63
+ * @returns Full Axios response with typed envelope, status and headers.
64
+ * @throws AxiosError for permission (knowledge:write), validation, not-found, conflict or transport errors.
65
+ */
66
+ createGroup(baseId: Identifier, data: T.CreateGroupInput, options?: RequestOptions<T.CreateGroupInput>): Promise<import("axios").AxiosResponse<T.KnowledgeGroupResponse, T.CreateGroupInput, {}, any>>;
67
+ /** Update a group under a tenant-authorized locked base. Parent moves validate cycles and descendant levels; optional expected_version detects stale drafts.
68
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
69
+ * @returns Full Axios response with typed envelope, status and headers.
70
+ * @throws AxiosError for permission (knowledge:write), validation, not-found, conflict or transport errors.
71
+ */
72
+ updateGroup(groupId: Identifier, data: T.UpdateGroupInput, options?: RequestOptions<T.UpdateGroupInput>): Promise<import("axios").AxiosResponse<T.KnowledgeGroupResponse, T.UpdateGroupInput, {}, any>>;
73
+ /** Soft-delete one authorized empty group. Child groups, active items or active rules block deletion with 409; success returns 204.
74
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
75
+ * @returns Full Axios response with typed envelope, status and headers.
76
+ * @throws AxiosError for permission (knowledge:delete), validation, not-found, conflict or transport errors.
77
+ */
78
+ deleteGroup(groupId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
79
+ /** Page nondeleted items after authorizing their base. Status, kind, link identifiers and slug/kind search apply; shared group filter is ignored.
80
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
81
+ * @returns Full Axios response with typed envelope, status and headers.
82
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
83
+ */
84
+ items(baseId: Identifier, params?: T.KnowledgeListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeItemListResponse, any, {}, any>>;
85
+ /** Create a draft item in an authorized group. Importance, validity and linked service/entity fields are validated; returns 201.
86
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
87
+ * @returns Full Axios response with typed envelope, status and headers.
88
+ * @throws AxiosError for permission (knowledge:write), validation, not-found, conflict or transport errors.
89
+ */
90
+ createItem(baseId: Identifier, data: T.CreateItemInput, options?: RequestOptions<T.CreateItemInput>): Promise<import("axios").AxiosResponse<T.KnowledgeItemResponse, T.CreateItemInput, {}, any>>;
91
+ /** Read a nondeleted item through its organization-owned base; absent and foreign items return 404.
92
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
93
+ * @returns Full Axios response with typed envelope, status and headers.
94
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
95
+ */
96
+ item(itemId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeItemResponse, any, {}, any>>;
97
+ /** Update an item transactionally with optional expected_version. Omitted/null optional scalar fields preserve current values; empty link strings clear links.
98
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
99
+ * @returns Full Axios response with typed envelope, status and headers.
100
+ * @throws AxiosError for permission (knowledge:write), validation, not-found, conflict or transport errors.
101
+ */
102
+ updateItem(itemId: Identifier, data: T.UpdateItemInput, options?: RequestOptions<T.UpdateItemInput>): Promise<import("axios").AxiosResponse<T.KnowledgeItemResponse, T.UpdateItemInput, {}, any>>;
103
+ /** Soft-delete one authorized item transactionally and record editor audit; returns 204.
104
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
105
+ * @returns Full Axios response with typed envelope, status and headers.
106
+ * @throws AxiosError for permission (knowledge:delete), validation, not-found, conflict or transport errors.
107
+ */
108
+ deleteItem(itemId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
109
+ /** Resolve a chat binding through immutable published knowledge and evaluate profile rules. Binding scope, levels, conditions and context budgets apply.
110
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
111
+ * @returns Full Axios response with typed envelope, status and headers.
112
+ * @throws AxiosError for permission (knowledge:runtime), validation, not-found, conflict or transport errors.
113
+ */
114
+ query(chatSlug: string, data: T.RuntimeQueryInput, options?: RequestOptions<T.RuntimeQueryInput>): Promise<import("axios").AxiosResponse<T.RuntimeResultResponse, T.RuntimeQueryInput, {}, any>>;
115
+ /** Run governed assistant retrieval with policy ceilings, scoped provider evidence and context delivery tracking. A missing policy returns explicit empty context.
116
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
117
+ * @returns Full Axios response with typed envelope, status and headers.
118
+ * @throws AxiosError for permission (knowledge:runtime), validation, not-found, conflict or transport errors.
119
+ */
120
+ queryAssistant(assistantId: Identifier, data: T.AssistantQueryInput, options?: RequestOptions<T.AssistantQueryInput>): Promise<import("axios").AxiosResponse<T.AssistantRuntimeResponse, T.AssistantQueryInput, {}, any>>;
121
+ /** Admit an idempotent assistant turn into the memory outbox under current policy and scope epochs. HTTP 202 can return queued:false; it does not certify extraction.
122
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
123
+ * @returns Full Axios response with typed envelope, status and headers.
124
+ * @throws AxiosError for permission (knowledge:runtime), validation, not-found, conflict or transport errors.
125
+ */
126
+ recordAssistantTurn(assistantId: Identifier, data: T.RecordAssistantTurnInput, options?: RequestOptions<T.RecordAssistantTurnInput>): Promise<import("axios").AxiosResponse<T.MemoryTurnResponse, T.RecordAssistantTurnInput, {}, any>>;
127
+ /** List bounded current subjects with flat page/limit and literal identity search; profile exposes a bounded identity allowlist.
128
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
129
+ * @returns Complete Axios response with status and headers.
130
+ * @throws AxiosError for authorization (knowledge:memory:read), validation, not-found, conflict or transport failures.
131
+ */
132
+ memorySubjects(params?: T.MemorySubjectQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.MemorySubjectListResponse, any, {}, any>>;
133
+ /** Clear the entire authorized subject scope transactionally; returns 204.
134
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
135
+ * @returns Complete Axios response with status and headers.
136
+ * @throws AxiosError for authorization (current subject owner or knowledge:memory:delete), validation, not-found, conflict or transport failures.
137
+ */
138
+ clearMemorySubject(subjectId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
139
+ /** Write nullable PUT overrides using a captured expected_revision; stale policy/epoch edits return 409 without rebasing.
140
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
141
+ * @returns Complete Axios response with status and headers.
142
+ * @throws AxiosError for authorization (current subject owner or knowledge:memory:write), validation, not-found, conflict or transport failures.
143
+ */
144
+ setMemoryOverride(subjectId: Identifier, data: T.MemoryOverrideInput, options?: RequestOptions<T.MemoryOverrideInput>): Promise<import("axios").AxiosResponse<T.MemorySubjectResponse, T.MemoryOverrideInput, {}, any>>;
145
+ /** Current authorized projection, with separate effective policy/raw overrides and captured CAS revision. */
146
+ /** Read a current safe subject projection, policy ceilings, counters and captured revision; foreign/missing subjects return 404.
147
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
148
+ * @returns Complete Axios response with status and headers.
149
+ * @throws AxiosError for authorization (knowledge:memory:read), validation, not-found, conflict or transport failures.
150
+ */
151
+ memorySubject(subjectId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.MemorySubjectResponse, any, {}, any>>;
152
+ /** Bounded atomic facts; forgotten/expired content is redacted by the service. */
153
+ /** List bounded atomic memory records with redaction and stable page/limit metadata, including captured revision.
154
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
155
+ * @returns Complete Axios response with status and headers.
156
+ * @throws AxiosError for authorization (knowledge:memory:read), validation, not-found, conflict or transport failures.
157
+ */
158
+ memories(subjectId: Identifier, params?: T.MemoryRecordQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.MemoryRecordListResponse, any, {}, any>>;
159
+ /** Read a record under organization, subject and memory predicates with forgotten/expired content redacted.
160
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
161
+ * @returns Complete Axios response with status and headers.
162
+ * @throws AxiosError for authorization (knowledge:memory:read), validation, not-found, conflict or transport failures.
163
+ */
164
+ memory(subjectId: Identifier, memoryId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.MemoryRecordResponse, any, {}, any>>;
165
+ /** Read bounded scoped audit identities/actions without retained before/after or free-text reasons.
166
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
167
+ * @returns Complete Axios response with status and headers.
168
+ * @throws AxiosError for authorization (knowledge:memory:read), validation, not-found, conflict or transport failures.
169
+ */
170
+ memoryAudit(subjectId: Identifier, params?: T.MemoryAuditQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.MemoryAuditListResponse, any, {}, any>>;
171
+ /** Correct only a reviewed, complete active target set; a409 must not be silently rebased. */
172
+ /** Apply an explicit correction UUID to the reviewed complete active target set; a conflict must not be silently rebased.
173
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
174
+ * @returns Complete Axios response with status and headers.
175
+ * @throws AxiosError for authorization (knowledge:memory:write and current subject owner), validation, not-found, conflict or transport failures.
176
+ */
177
+ correctMemory(subjectId: Identifier, data: T.MemoryCorrectionInput, options?: RequestOptions<T.MemoryCorrectionInput>): Promise<import("axios").AxiosResponse<T.MemoryCorrectionResponse, T.MemoryCorrectionInput, {}, any>>;
178
+ /** Forget one scoped memory with optional memory_type and bounded reason; returns 204 after commit.
179
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
180
+ * @returns Complete Axios response with status and headers.
181
+ * @throws AxiosError for authorization (current subject owner or knowledge:memory:delete), validation, not-found, conflict or transport failures.
182
+ */
183
+ forgetMemory(subjectId: Identifier, memoryId: Identifier, params?: T.MemoryClearQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, unknown, {}, any>>;
184
+ /** Clear short, long or full subject scope with a transactional scope fence and audit; returns 204.
185
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
186
+ * @returns Complete Axios response with status and headers.
187
+ * @throws AxiosError for authorization (current subject owner or knowledge:memory:delete), validation, not-found, conflict or transport failures.
188
+ */
189
+ clearSubjectMemory(subjectId: Identifier, params?: T.MemoryClearQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, unknown, {}, any>>;
190
+ /** Explicit desired state + reviewed source version. Never auto-fetch/retry stale edits. */
191
+ /** Set active/paused desired source state under the captured expected_version. Stale intent conflicts; already-desired state is unchanged.
192
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
193
+ * @returns Full Axios response with typed envelope, status and headers.
194
+ * @throws AxiosError for permission (knowledge:write), validation, not-found, conflict or transport errors.
195
+ */
196
+ setSourceState(sourceId: Identifier, data: T.SourceStateInput, options?: RequestOptions<T.SourceStateInput>): Promise<import("axios").AxiosResponse<T.KnowledgeSourceResponse, T.SourceStateInput, {}, any>>;
197
+ /** Canonical MCP scope invalidation, including accepted work with no extracted subject. */
198
+ /** Invalidate canonical assistant/user scope through MCP, including accepted work without extracted subjects. Reject unconfirmed JSON-RPC success.
199
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
200
+ * @returns Complete Axios response with status and headers.
201
+ * @throws AxiosError for authorization (knowledge:runtime plus current subject owner or knowledge:memory:delete), validation, not-found, conflict or transport failures.
202
+ */
203
+ forgetAssistantScope(assistantId: Identifier, data: T.MemoryScopeForgetInput, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.MemoryScopeForgetResponse, import("@faiber/sdk-core").JsonObject, {}, any>>;
204
+ /** List up to 500 current-organization platform audit events. knowledge:memory:read additionally includes redacted memory events; knowledge:read alone excludes them.
205
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
206
+ * @returns Full Axios response with typed envelope, status and headers.
207
+ * @throws AxiosError for permission (knowledge:read, knowledge:memory:read), validation, not-found, conflict or transport errors.
208
+ */
209
+ auditEvents(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeAuditEventListResponse, any, {}, any>>;
210
+ /** Read the query_knowledge JSON Schema. This descriptive route has no handler permission guard; transport still uses the configured shared client.
211
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
212
+ * @returns Full Axios response with typed envelope, status and headers.
213
+ * @throws AxiosError for permission (no handler-specific permission), validation, not-found, conflict or transport errors.
214
+ */
215
+ toolSchema(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeToolSchemaResponse, any, {}, any>>;
32
216
  /** Reads scoped inventories, dependency health, retrieval latency, quality, and backlog. Requires `knowledge:read`. */
33
- platformStatus(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.PlatformStatusResponse, any, {}>>;
217
+ /** Read scoped inventories and last-24-hour retrieval aggregates. Metrics are null without traces; ready is not proof of every external dependency.
218
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
219
+ * @returns Full Axios response with typed envelope, status and headers.
220
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
221
+ */
222
+ platformStatus(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.PlatformStatusResponse, any, {}, any>>;
34
223
  /** Lists truthful converter capabilities and configuration state. Requires `knowledge:read`. */
35
- converters(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ConverterListResponse, any, {}>>;
224
+ /** List converter registry capabilities, configuration requirements and reported health. Registry availability does not certify that a worker executed a job.
225
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
226
+ * @returns Full Axios response with typed envelope, status and headers.
227
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
228
+ */
229
+ converters(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ConverterListResponse, any, {}, any>>;
36
230
  /** Lists observable ingestion jobs. Requires `knowledge:read`. */
37
- processingJobs(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProcessingJobListResponse, any, {}>>;
231
+ /** List up to 500 current-organization processing job rows by latest update; counters and queued status do not certify execution.
232
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
233
+ * @returns Full Axios response with typed envelope, status and headers.
234
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
235
+ */
236
+ processingJobs(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProcessingJobListResponse, any, {}, any>>;
38
237
  /** Lists governed sources in the current organization. Requires `knowledge:read`. */
39
- sources(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeSourceListResponse, any, {}>>;
238
+ /** List current-organization governed sources by latest update, including source version and configuration.
239
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
240
+ * @returns Full Axios response with typed envelope, status and headers.
241
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
242
+ */
243
+ sources(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeSourceListResponse, any, {}, any>>;
40
244
  /** Lists governed documents in the current organization. Requires `knowledge:read`. */
41
- documents(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeDocumentListResponse, any, {}>>;
42
- /** Queues an idempotent document ingestion job. Requires `knowledge:write`. */
43
- ingestDocument(data: T.IngestDocumentInput, options?: RequestOptions<T.IngestDocumentInput>): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue>, T.IngestDocumentInput, {}>>;
245
+ /** List scoped nondeleted document summaries, excluding content and metadata. No client-side synthetic pagination is applied.
246
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
247
+ * @returns Full Axios response with typed envelope, status and headers.
248
+ * @throws AxiosError for permission (knowledge:read), validation, not-found, conflict or transport errors.
249
+ */
250
+ documents(options?: RequestOptions): Promise<import("axios").AxiosResponse<T.KnowledgeDocumentListResponse, any, {}, any>>;
251
+ /** Indexes text/chunks synchronously; identical input returns 200 without a new job, changed text or source fields return 201 with a completed job. Requires `knowledge:write`. Embedding readiness is separate. */
252
+ /** Synchronously index governed text/chunks. Identical content returns 200 unchanged; changed content returns 201 with a completed job. Embedding readiness is separate.
253
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
254
+ * @returns Full Axios response with typed envelope, status and headers.
255
+ * @throws AxiosError for permission (knowledge:write), validation, not-found, conflict or transport errors.
256
+ */
257
+ ingestDocument(data: T.IngestDocumentInput, options?: RequestOptions<T.IngestDocumentInput>): Promise<import("axios").AxiosResponse<T.IngestDocumentResponse, T.IngestDocumentInput, {}, any>>;
44
258
  /** Configures a versioned assistant context policy with optimistic revision checking. Requires `knowledge:write`. */
45
- configureAssistant(assistantId: Identifier, data: T.AssistantConfigurationInput, options?: RequestOptions<T.AssistantConfigurationInput>): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue>, T.AssistantConfigurationInput, {}>>;
259
+ /** Capture when opening a draft; never refresh this revision while submitting it. */
260
+ /** Capture the policy snapshot and expected_policy_revision when opening a draft; zero denotes absent policy.
261
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
262
+ * @returns Complete Axios response with status and headers.
263
+ * @throws AxiosError for authorization (knowledge:write), validation, not-found, conflict or transport failures.
264
+ */
265
+ assistantConfiguration(assistantId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.AssistantPolicySnapshotResponse, any, {}, any>>;
266
+ /** Apply a non-nil configuration UUID and captured policy revision atomically; exact original-actor replay is idempotent and stale edits conflict.
267
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
268
+ * @returns Complete Axios response with status and headers.
269
+ * @throws AxiosError for authorization (knowledge:write), validation, not-found, conflict or transport failures.
270
+ */
271
+ configureAssistant(assistantId: Identifier, data: T.AssistantConfigurationInput, options?: RequestOptions<T.AssistantConfigurationInput>): Promise<import("axios").AxiosResponse<T.AssistantConfigurationResponse, T.AssistantConfigurationInput, {}, any>>;
272
+ /** Read an authoritative applied/cancelled configuration operation; absence is 404 and never inferred success.
273
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
274
+ * @returns Complete Axios response with status and headers.
275
+ * @throws AxiosError for authorization (knowledge:write), validation, not-found, conflict or transport failures.
276
+ */
277
+ assistantConfigurationOperation(assistantId: Identifier, operationId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.AssistantConfigurationOperationResponse, any, {}, any>>;
278
+ /** Write an immutable cancellation tombstone before releasing a pending configuration fence; applied operations conflict.
279
+ * @param options Axios headers, timeout, credentials and AbortSignal; preceding inputs retain their named wire types.
280
+ * @returns Complete Axios response with status and headers.
281
+ * @throws AxiosError for authorization (knowledge:write), validation, not-found, conflict or transport failures.
282
+ */
283
+ cancelAssistantConfiguration(assistantId: Identifier, operationId: Identifier, input: T.AssistantConfigurationCancellation, options?: RequestOptions<T.AssistantConfigurationCancellation>): Promise<import("axios").AxiosResponse<T.AssistantConfigurationOperationResponse, T.AssistantConfigurationCancellation, {}, any>>;
46
284
  /** Retrieves governed, packed assistant context and returns its delivery cursor. Requires `knowledge:runtime`. */
47
- assistantQuery(assistantId: Identifier, data: T.AssistantQueryInput, options?: RequestOptions<T.AssistantQueryInput>): Promise<import("axios").AxiosResponse<T.AssistantRuntimeResponse, T.AssistantQueryInput, {}>>;
285
+ /** Run governed assistant retrieval with policy ceilings, scoped provider evidence and context delivery tracking. A missing policy returns explicit empty context.
286
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
287
+ * @returns Full Axios response with typed envelope, status and headers.
288
+ * @throws AxiosError for permission (knowledge:runtime), validation, not-found, conflict or transport errors.
289
+ */
290
+ assistantQuery(assistantId: Identifier, data: T.AssistantQueryInput, options?: RequestOptions<T.AssistantQueryInput>): Promise<import("axios").AxiosResponse<T.AssistantRuntimeResponse, T.AssistantQueryInput, {}, any>>;
48
291
  /** Runs the same canonical pipeline for operator preview. Requires `knowledge:runtime`. */
49
- previewAssistant(assistantId: Identifier, data: T.AssistantQueryInput, options?: RequestOptions<T.AssistantQueryInput>): Promise<import("axios").AxiosResponse<T.AssistantRuntimeResponse, T.AssistantQueryInput, {}>>;
292
+ /** Run the canonical assistant retrieval pipeline with preview surface metadata under the same governance.
293
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
294
+ * @returns Full Axios response with typed envelope, status and headers.
295
+ * @throws AxiosError for permission (no handler-specific permission), validation, not-found, conflict or transport errors.
296
+ */
297
+ previewAssistant(assistantId: Identifier, data: T.AssistantQueryInput, options?: RequestOptions<T.AssistantQueryInput>): Promise<import("axios").AxiosResponse<T.AssistantRuntimeResponse, T.AssistantQueryInput, {}, any>>;
50
298
  /** Runs the canonical evaluation adapter using identical governance. Requires `knowledge:runtime`. */
51
- evaluateAssistant(assistantId: Identifier, data: T.AssistantQueryInput, options?: RequestOptions<T.AssistantQueryInput>): Promise<import("axios").AxiosResponse<T.AssistantRuntimeResponse, T.AssistantQueryInput, {}>>;
299
+ /** Run the canonical assistant retrieval pipeline with evaluation surface metadata under the same governance.
300
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
301
+ * @returns Full Axios response with typed envelope, status and headers.
302
+ * @throws AxiosError for permission (no handler-specific permission), validation, not-found, conflict or transport errors.
303
+ */
304
+ evaluateAssistant(assistantId: Identifier, data: T.AssistantQueryInput, options?: RequestOptions<T.AssistantQueryInput>): Promise<import("axios").AxiosResponse<T.AssistantRuntimeResponse, T.AssistantQueryInput, {}, any>>;
52
305
  /** Queues post-response memory extraction with message idempotency. Requires `knowledge:runtime`. */
53
- recordMemoryTurn(assistantId: Identifier, data: T.MemoryTurnInput, options?: RequestOptions<T.MemoryTurnInput>): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue>, T.MemoryTurnInput, {}>>;
306
+ /** Admit an idempotent assistant turn into the memory outbox under current policy and scope epochs. HTTP 202 can return queued:false; it does not certify extraction.
307
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
308
+ * @returns Full Axios response with typed envelope, status and headers.
309
+ * @throws AxiosError for permission (knowledge:runtime), validation, not-found, conflict or transport errors.
310
+ */
311
+ recordMemoryTurn(assistantId: Identifier, data: T.MemoryTurnInput, options?: RequestOptions<T.MemoryTurnInput>): Promise<import("axios").AxiosResponse<T.MemoryTurnResponse, T.MemoryTurnInput, {}, any>>;
54
312
  /** Attaches authoritative provider usage and cached-token categories to a retrieval trace. Requires `knowledge:runtime`. */
55
- recordRetrievalUsage(traceId: Identifier, data: T.RetrievalUsageInput, options?: RequestOptions<T.RetrievalUsageInput>): Promise<import("axios").AxiosResponse<ApiEnvelope<JsonValue>, T.RetrievalUsageInput, {}>>;
313
+ /** Attach nonnegative provider token usage and nullable cost to a scoped retrieval trace. Missing or foreign trace IDs return 404.
314
+ * Parameters carry the named wire input/path/query; options preserve Axios headers, timeout and AbortSignal.
315
+ * @returns Full Axios response with typed envelope, status and headers.
316
+ * @throws AxiosError for permission (knowledge:runtime), validation, not-found, conflict or transport errors.
317
+ */
318
+ recordRetrievalUsage(traceId: Identifier, data: T.RetrievalUsageInput, options?: RequestOptions<T.RetrievalUsageInput>): Promise<import("axios").AxiosResponse<T.RetrievalUsageResponse, T.RetrievalUsageInput, {}, any>>;
56
319
  }
57
320
  export * from "./types.js";
58
321
  export * from "@faiber/sdk-core";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACtH,OAAO,KAAK,KAAK,CAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,qBAAa,YAAa,SAAQ,UAAU;IAC1C,kMAAkM;IAClM,kBAAkB,CAAC,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IAClF,QAAQ,CAAC,UAAU,sBAAwC;IAC3D,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc;IACtE,mB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