@vectorize-io/hindsight-client 0.4.18 → 0.4.19

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.
Files changed (78) hide show
  1. package/dist/{generated/types.gen.d.ts → index.d.mts} +1426 -362
  2. package/dist/index.d.ts +5384 -0
  3. package/dist/index.js +1597 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +1572 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/generated/client/client.gen.ts +3 -1
  8. package/generated/sdk.gen.ts +17 -0
  9. package/generated/types.gen.ts +63 -1
  10. package/package.json +15 -5
  11. package/src/index.ts +2 -0
  12. package/dist/generated/client/client.gen.d.ts +0 -3
  13. package/dist/generated/client/client.gen.d.ts.map +0 -1
  14. package/dist/generated/client/client.gen.js +0 -233
  15. package/dist/generated/client/client.gen.js.map +0 -1
  16. package/dist/generated/client/index.d.ts +0 -9
  17. package/dist/generated/client/index.d.ts.map +0 -1
  18. package/dist/generated/client/index.js +0 -18
  19. package/dist/generated/client/index.js.map +0 -1
  20. package/dist/generated/client/types.gen.d.ts +0 -118
  21. package/dist/generated/client/types.gen.d.ts.map +0 -1
  22. package/dist/generated/client/types.gen.js +0 -4
  23. package/dist/generated/client/types.gen.js.map +0 -1
  24. package/dist/generated/client/utils.gen.d.ts +0 -34
  25. package/dist/generated/client/utils.gen.d.ts.map +0 -1
  26. package/dist/generated/client/utils.gen.js +0 -245
  27. package/dist/generated/client/utils.gen.js.map +0 -1
  28. package/dist/generated/client.gen.d.ts +0 -13
  29. package/dist/generated/client.gen.d.ts.map +0 -1
  30. package/dist/generated/client.gen.js +0 -7
  31. package/dist/generated/client.gen.js.map +0 -1
  32. package/dist/generated/core/auth.gen.d.ts +0 -19
  33. package/dist/generated/core/auth.gen.d.ts.map +0 -1
  34. package/dist/generated/core/auth.gen.js +0 -19
  35. package/dist/generated/core/auth.gen.js.map +0 -1
  36. package/dist/generated/core/bodySerializer.gen.d.ts +0 -26
  37. package/dist/generated/core/bodySerializer.gen.d.ts.map +0 -1
  38. package/dist/generated/core/bodySerializer.gen.js +0 -61
  39. package/dist/generated/core/bodySerializer.gen.js.map +0 -1
  40. package/dist/generated/core/params.gen.d.ts +0 -44
  41. package/dist/generated/core/params.gen.d.ts.map +0 -1
  42. package/dist/generated/core/params.gen.js +0 -105
  43. package/dist/generated/core/params.gen.js.map +0 -1
  44. package/dist/generated/core/pathSerializer.gen.d.ts +0 -34
  45. package/dist/generated/core/pathSerializer.gen.d.ts.map +0 -1
  46. package/dist/generated/core/pathSerializer.gen.js +0 -124
  47. package/dist/generated/core/pathSerializer.gen.js.map +0 -1
  48. package/dist/generated/core/queryKeySerializer.gen.d.ts +0 -19
  49. package/dist/generated/core/queryKeySerializer.gen.d.ts.map +0 -1
  50. package/dist/generated/core/queryKeySerializer.gen.js +0 -106
  51. package/dist/generated/core/queryKeySerializer.gen.js.map +0 -1
  52. package/dist/generated/core/serverSentEvents.gen.d.ts +0 -72
  53. package/dist/generated/core/serverSentEvents.gen.d.ts.map +0 -1
  54. package/dist/generated/core/serverSentEvents.gen.js +0 -140
  55. package/dist/generated/core/serverSentEvents.gen.js.map +0 -1
  56. package/dist/generated/core/types.gen.d.ts +0 -79
  57. package/dist/generated/core/types.gen.d.ts.map +0 -1
  58. package/dist/generated/core/types.gen.js +0 -4
  59. package/dist/generated/core/types.gen.js.map +0 -1
  60. package/dist/generated/core/utils.gen.d.ts +0 -20
  61. package/dist/generated/core/utils.gen.d.ts.map +0 -1
  62. package/dist/generated/core/utils.gen.js +0 -94
  63. package/dist/generated/core/utils.gen.js.map +0 -1
  64. package/dist/generated/index.d.ts +0 -3
  65. package/dist/generated/index.d.ts.map +0 -1
  66. package/dist/generated/index.js +0 -19
  67. package/dist/generated/index.js.map +0 -1
  68. package/dist/generated/sdk.gen.d.ts +0 -433
  69. package/dist/generated/sdk.gen.d.ts.map +0 -1
  70. package/dist/generated/sdk.gen.js +0 -636
  71. package/dist/generated/sdk.gen.js.map +0 -1
  72. package/dist/generated/types.gen.d.ts.map +0 -1
  73. package/dist/generated/types.gen.js +0 -4
  74. package/dist/generated/types.gen.js.map +0 -1
  75. package/dist/src/index.d.ts +0 -310
  76. package/dist/src/index.d.ts.map +0 -1
  77. package/dist/src/index.js +0 -518
  78. package/dist/src/index.js.map +0 -1
@@ -1,636 +0,0 @@
1
- "use strict";
2
- // This file is auto-generated by @hey-api/openapi-ts
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.createWebhook = exports.listWebhooks = exports.triggerConsolidation = exports.updateBankConfig = exports.getBankConfig = exports.resetBankConfig = exports.clearMemoryObservations = exports.clearObservations = exports.createOrUpdateBank = exports.updateBank = exports.deleteBank = exports.addBankBackground = exports.updateBankDisposition = exports.getBankProfile = exports.retryOperation = exports.getOperationStatus = exports.cancelOperation = exports.listOperations = exports.getChunk = exports.listTags = exports.updateDocument = exports.getDocument = exports.deleteDocument = exports.listDocuments = exports.updateDirective = exports.getDirective = exports.deleteDirective = exports.createDirective = exports.listDirectives = exports.refreshMentalModel = exports.getMentalModelHistory = exports.updateMentalModel = exports.getMentalModel = exports.deleteMentalModel = exports.createMentalModel = exports.listMentalModels = exports.regenerateEntityObservations = exports.getEntity = exports.listEntities = exports.getAgentStats = exports.listBanks = exports.reflect = exports.recallMemories = exports.getObservationHistory = exports.getMemory = exports.listMemories = exports.getGraph = exports.metricsEndpointMetricsGet = exports.getVersion = exports.healthEndpointHealthGet = void 0;
5
- exports.fileRetain = exports.retainMemories = exports.clearBankMemories = exports.listWebhookDeliveries = exports.updateWebhook = exports.deleteWebhook = void 0;
6
- const client_1 = require("./client");
7
- const client_gen_1 = require("./client.gen");
8
- /**
9
- * Health check endpoint
10
- *
11
- * Checks the health of the API and database connection
12
- */
13
- const healthEndpointHealthGet = (options) => (options?.client ?? client_gen_1.client).get({ url: "/health", ...options });
14
- exports.healthEndpointHealthGet = healthEndpointHealthGet;
15
- /**
16
- * Get API version and feature flags
17
- *
18
- * Returns API version information and enabled feature flags. Use this to check which capabilities are available in this deployment.
19
- */
20
- const getVersion = (options) => (options?.client ?? client_gen_1.client).get({
21
- url: "/version",
22
- ...options,
23
- });
24
- exports.getVersion = getVersion;
25
- /**
26
- * Prometheus metrics endpoint
27
- *
28
- * Exports metrics in Prometheus format for scraping
29
- */
30
- const metricsEndpointMetricsGet = (options) => (options?.client ?? client_gen_1.client).get({ url: "/metrics", ...options });
31
- exports.metricsEndpointMetricsGet = metricsEndpointMetricsGet;
32
- /**
33
- * Get memory graph data
34
- *
35
- * Retrieve graph data for visualization, optionally filtered by type (world/experience/opinion).
36
- */
37
- const getGraph = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/graph", ...options });
38
- exports.getGraph = getGraph;
39
- /**
40
- * List memory units
41
- *
42
- * List memory units with pagination and optional full-text search. Supports filtering by type. Results are sorted by most recent first (mentioned_at DESC, then created_at DESC).
43
- */
44
- const listMemories = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/memories/list", ...options });
45
- exports.listMemories = listMemories;
46
- /**
47
- * Get memory unit
48
- *
49
- * Get a single memory unit by ID with all its metadata including entities and tags. Note: the 'history' field is deprecated and always returns an empty list - use GET /memories/{memory_id}/history instead.
50
- */
51
- const getMemory = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/memories/{memory_id}", ...options });
52
- exports.getMemory = getMemory;
53
- /**
54
- * Get observation history
55
- *
56
- * Get the full history of an observation, with each change's source facts resolved to their text.
57
- */
58
- const getObservationHistory = (options) => (options.client ?? client_gen_1.client).get({
59
- url: "/v1/default/banks/{bank_id}/memories/{memory_id}/history",
60
- ...options,
61
- });
62
- exports.getObservationHistory = getObservationHistory;
63
- /**
64
- * Recall memory
65
- *
66
- * Recall memory using semantic similarity and spreading activation.
67
- *
68
- * The type parameter is optional and must be one of:
69
- * - `world`: General knowledge about people, places, events, and things that happen
70
- * - `experience`: Memories about experience, conversations, actions taken, and tasks performed
71
- */
72
- const recallMemories = (options) => (options.client ?? client_gen_1.client).post({
73
- url: "/v1/default/banks/{bank_id}/memories/recall",
74
- ...options,
75
- headers: {
76
- "Content-Type": "application/json",
77
- ...options.headers,
78
- },
79
- });
80
- exports.recallMemories = recallMemories;
81
- /**
82
- * Reflect and generate answer
83
- *
84
- * Reflect and formulate an answer using bank identity, world facts, and opinions.
85
- *
86
- * This endpoint:
87
- * 1. Retrieves experience (conversations and events)
88
- * 2. Retrieves world facts relevant to the query
89
- * 3. Retrieves existing opinions (bank's perspectives)
90
- * 4. Uses LLM to formulate a contextual answer
91
- * 5. Returns plain text answer and the facts used
92
- */
93
- const reflect = (options) => (options.client ?? client_gen_1.client).post({
94
- url: "/v1/default/banks/{bank_id}/reflect",
95
- ...options,
96
- headers: {
97
- "Content-Type": "application/json",
98
- ...options.headers,
99
- },
100
- });
101
- exports.reflect = reflect;
102
- /**
103
- * List all memory banks
104
- *
105
- * Get a list of all agents with their profiles
106
- */
107
- const listBanks = (options) => (options?.client ?? client_gen_1.client).get({ url: "/v1/default/banks", ...options });
108
- exports.listBanks = listBanks;
109
- /**
110
- * Get statistics for memory bank
111
- *
112
- * Get statistics about nodes and links for a specific agent
113
- */
114
- const getAgentStats = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/stats", ...options });
115
- exports.getAgentStats = getAgentStats;
116
- /**
117
- * List entities
118
- *
119
- * List all entities (people, organizations, etc.) known by the bank, ordered by mention count. Supports pagination.
120
- */
121
- const listEntities = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/entities", ...options });
122
- exports.listEntities = listEntities;
123
- /**
124
- * Get entity details
125
- *
126
- * Get detailed information about an entity including observations (mental model).
127
- */
128
- const getEntity = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/entities/{entity_id}", ...options });
129
- exports.getEntity = getEntity;
130
- /**
131
- * Regenerate entity observations (deprecated)
132
- *
133
- * This endpoint is deprecated. Entity observations have been replaced by mental models.
134
- *
135
- * @deprecated
136
- */
137
- const regenerateEntityObservations = (options) => (options.client ?? client_gen_1.client).post({
138
- url: "/v1/default/banks/{bank_id}/entities/{entity_id}/regenerate",
139
- ...options,
140
- });
141
- exports.regenerateEntityObservations = regenerateEntityObservations;
142
- /**
143
- * List mental models
144
- *
145
- * List user-curated living documents that stay current.
146
- */
147
- const listMentalModels = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/mental-models", ...options });
148
- exports.listMentalModels = listMentalModels;
149
- /**
150
- * Create mental model
151
- *
152
- * Create a mental model by running reflect with the source query in the background. Returns an operation ID to track progress. The content is auto-generated by the reflect endpoint. Use the operations endpoint to check completion status.
153
- */
154
- const createMentalModel = (options) => (options.client ?? client_gen_1.client).post({
155
- url: "/v1/default/banks/{bank_id}/mental-models",
156
- ...options,
157
- headers: {
158
- "Content-Type": "application/json",
159
- ...options.headers,
160
- },
161
- });
162
- exports.createMentalModel = createMentalModel;
163
- /**
164
- * Delete mental model
165
- *
166
- * Delete a mental model.
167
- */
168
- const deleteMentalModel = (options) => (options.client ?? client_gen_1.client).delete({
169
- url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}",
170
- ...options,
171
- });
172
- exports.deleteMentalModel = deleteMentalModel;
173
- /**
174
- * Get mental model
175
- *
176
- * Get a specific mental model by ID.
177
- */
178
- const getMentalModel = (options) => (options.client ?? client_gen_1.client).get({
179
- url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}",
180
- ...options,
181
- });
182
- exports.getMentalModel = getMentalModel;
183
- /**
184
- * Update mental model
185
- *
186
- * Update a mental model's name and/or source query.
187
- */
188
- const updateMentalModel = (options) => (options.client ?? client_gen_1.client).patch({
189
- url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}",
190
- ...options,
191
- headers: {
192
- "Content-Type": "application/json",
193
- ...options.headers,
194
- },
195
- });
196
- exports.updateMentalModel = updateMentalModel;
197
- /**
198
- * Get mental model history
199
- *
200
- * Get the refresh history of a mental model, showing content changes over time.
201
- */
202
- const getMentalModelHistory = (options) => (options.client ?? client_gen_1.client).get({
203
- url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}/history",
204
- ...options,
205
- });
206
- exports.getMentalModelHistory = getMentalModelHistory;
207
- /**
208
- * Refresh mental model
209
- *
210
- * Submit an async task to re-run the source query through reflect and update the content.
211
- */
212
- const refreshMentalModel = (options) => (options.client ?? client_gen_1.client).post({
213
- url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}/refresh",
214
- ...options,
215
- });
216
- exports.refreshMentalModel = refreshMentalModel;
217
- /**
218
- * List directives
219
- *
220
- * List hard rules that are injected into prompts.
221
- */
222
- const listDirectives = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/directives", ...options });
223
- exports.listDirectives = listDirectives;
224
- /**
225
- * Create directive
226
- *
227
- * Create a hard rule that will be injected into prompts.
228
- */
229
- const createDirective = (options) => (options.client ?? client_gen_1.client).post({
230
- url: "/v1/default/banks/{bank_id}/directives",
231
- ...options,
232
- headers: {
233
- "Content-Type": "application/json",
234
- ...options.headers,
235
- },
236
- });
237
- exports.createDirective = createDirective;
238
- /**
239
- * Delete directive
240
- *
241
- * Delete a directive.
242
- */
243
- const deleteDirective = (options) => (options.client ?? client_gen_1.client).delete({
244
- url: "/v1/default/banks/{bank_id}/directives/{directive_id}",
245
- ...options,
246
- });
247
- exports.deleteDirective = deleteDirective;
248
- /**
249
- * Get directive
250
- *
251
- * Get a specific directive by ID.
252
- */
253
- const getDirective = (options) => (options.client ?? client_gen_1.client).get({
254
- url: "/v1/default/banks/{bank_id}/directives/{directive_id}",
255
- ...options,
256
- });
257
- exports.getDirective = getDirective;
258
- /**
259
- * Update directive
260
- *
261
- * Update a directive's properties.
262
- */
263
- const updateDirective = (options) => (options.client ?? client_gen_1.client).patch({
264
- url: "/v1/default/banks/{bank_id}/directives/{directive_id}",
265
- ...options,
266
- headers: {
267
- "Content-Type": "application/json",
268
- ...options.headers,
269
- },
270
- });
271
- exports.updateDirective = updateDirective;
272
- /**
273
- * List documents
274
- *
275
- * List documents with pagination and optional search. Documents are the source content from which memory units are extracted.
276
- */
277
- const listDocuments = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/documents", ...options });
278
- exports.listDocuments = listDocuments;
279
- /**
280
- * Delete a document
281
- *
282
- * Delete a document and all its associated memory units and links.
283
- *
284
- * This will cascade delete:
285
- * - The document itself
286
- * - All memory units extracted from this document
287
- * - All links (temporal, semantic, entity) associated with those memory units
288
- *
289
- * This operation cannot be undone.
290
- */
291
- const deleteDocument = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/documents/{document_id}", ...options });
292
- exports.deleteDocument = deleteDocument;
293
- /**
294
- * Get document details
295
- *
296
- * Get a specific document including its original text
297
- */
298
- const getDocument = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/documents/{document_id}", ...options });
299
- exports.getDocument = getDocument;
300
- /**
301
- * Update document
302
- *
303
- * Update mutable fields on a document without re-processing its content.
304
- *
305
- * **Tags** (`tags`): Propagated to all associated memory units. Observations derived from those units are invalidated and queued for re-consolidation under the new tags. Co-source memories from other documents that shared those observations are also reset.
306
- *
307
- * At least one field must be provided.
308
- */
309
- const updateDocument = (options) => (options.client ?? client_gen_1.client).patch({
310
- url: "/v1/default/banks/{bank_id}/documents/{document_id}",
311
- ...options,
312
- headers: {
313
- "Content-Type": "application/json",
314
- ...options.headers,
315
- },
316
- });
317
- exports.updateDocument = updateDocument;
318
- /**
319
- * List tags
320
- *
321
- * List all unique tags in a memory bank with usage counts. Supports wildcard search using '*' (e.g., 'user:*', '*-fred', 'tag*-2'). Case-insensitive.
322
- */
323
- const listTags = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/tags", ...options });
324
- exports.listTags = listTags;
325
- /**
326
- * Get chunk details
327
- *
328
- * Get a specific chunk by its ID
329
- */
330
- const getChunk = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/chunks/{chunk_id}", ...options });
331
- exports.getChunk = getChunk;
332
- /**
333
- * List async operations
334
- *
335
- * Get a list of async operations for a specific agent, with optional filtering by status and operation type. Results are sorted by most recent first.
336
- */
337
- const listOperations = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/operations", ...options });
338
- exports.listOperations = listOperations;
339
- /**
340
- * Cancel a pending async operation
341
- *
342
- * Cancel a pending async operation by removing it from the queue
343
- */
344
- const cancelOperation = (options) => (options.client ?? client_gen_1.client).delete({
345
- url: "/v1/default/banks/{bank_id}/operations/{operation_id}",
346
- ...options,
347
- });
348
- exports.cancelOperation = cancelOperation;
349
- /**
350
- * Get operation status
351
- *
352
- * Get the status of a specific async operation. Returns 'pending', 'completed', or 'failed'. Completed operations are removed from storage, so 'completed' means the operation finished successfully.
353
- */
354
- const getOperationStatus = (options) => (options.client ?? client_gen_1.client).get({
355
- url: "/v1/default/banks/{bank_id}/operations/{operation_id}",
356
- ...options,
357
- });
358
- exports.getOperationStatus = getOperationStatus;
359
- /**
360
- * Retry a failed async operation
361
- *
362
- * Re-queue a failed async operation so the worker picks it up again
363
- */
364
- const retryOperation = (options) => (options.client ?? client_gen_1.client).post({
365
- url: "/v1/default/banks/{bank_id}/operations/{operation_id}/retry",
366
- ...options,
367
- });
368
- exports.retryOperation = retryOperation;
369
- /**
370
- * Get memory bank profile
371
- *
372
- * Get disposition traits and mission for a memory bank. Auto-creates agent with defaults if not exists.
373
- *
374
- * @deprecated
375
- */
376
- const getBankProfile = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/profile", ...options });
377
- exports.getBankProfile = getBankProfile;
378
- /**
379
- * Update memory bank disposition
380
- *
381
- * Update bank's disposition traits (skepticism, literalism, empathy)
382
- *
383
- * @deprecated
384
- */
385
- const updateBankDisposition = (options) => (options.client ?? client_gen_1.client).put({
386
- url: "/v1/default/banks/{bank_id}/profile",
387
- ...options,
388
- headers: {
389
- "Content-Type": "application/json",
390
- ...options.headers,
391
- },
392
- });
393
- exports.updateBankDisposition = updateBankDisposition;
394
- /**
395
- * Add/merge memory bank background (deprecated)
396
- *
397
- * Deprecated: Use PUT /mission instead. This endpoint now updates the mission field.
398
- *
399
- * @deprecated
400
- */
401
- const addBankBackground = (options) => (options.client ?? client_gen_1.client).post({
402
- url: "/v1/default/banks/{bank_id}/background",
403
- ...options,
404
- headers: {
405
- "Content-Type": "application/json",
406
- ...options.headers,
407
- },
408
- });
409
- exports.addBankBackground = addBankBackground;
410
- /**
411
- * Delete memory bank
412
- *
413
- * Delete an entire memory bank including all memories, entities, documents, and the bank profile itself. This is a destructive operation that cannot be undone.
414
- */
415
- const deleteBank = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}", ...options });
416
- exports.deleteBank = deleteBank;
417
- /**
418
- * Partial update memory bank
419
- *
420
- * Partially update an agent's profile. Only provided fields will be updated.
421
- */
422
- const updateBank = (options) => (options.client ?? client_gen_1.client).patch({
423
- url: "/v1/default/banks/{bank_id}",
424
- ...options,
425
- headers: {
426
- "Content-Type": "application/json",
427
- ...options.headers,
428
- },
429
- });
430
- exports.updateBank = updateBank;
431
- /**
432
- * Create or update memory bank
433
- *
434
- * Create a new agent or update existing agent with disposition and mission. Auto-fills missing fields with defaults.
435
- */
436
- const createOrUpdateBank = (options) => (options.client ?? client_gen_1.client).put({
437
- url: "/v1/default/banks/{bank_id}",
438
- ...options,
439
- headers: {
440
- "Content-Type": "application/json",
441
- ...options.headers,
442
- },
443
- });
444
- exports.createOrUpdateBank = createOrUpdateBank;
445
- /**
446
- * Clear all observations
447
- *
448
- * Delete all observations for a memory bank. This is useful for resetting the consolidated knowledge.
449
- */
450
- const clearObservations = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/observations", ...options });
451
- exports.clearObservations = clearObservations;
452
- /**
453
- * Clear observations for a memory
454
- *
455
- * Delete all observations derived from a specific memory and reset it for re-consolidation. The memory itself is not deleted. A consolidation job is triggered automatically so the memory will produce fresh observations on the next consolidation run.
456
- */
457
- const clearMemoryObservations = (options) => (options.client ?? client_gen_1.client).delete({
458
- url: "/v1/default/banks/{bank_id}/memories/{memory_id}/observations",
459
- ...options,
460
- });
461
- exports.clearMemoryObservations = clearMemoryObservations;
462
- /**
463
- * Reset bank configuration
464
- *
465
- * Reset bank configuration to defaults by removing all bank-specific overrides. The bank will then use global and tenant-level configuration only.
466
- */
467
- const resetBankConfig = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/config", ...options });
468
- exports.resetBankConfig = resetBankConfig;
469
- /**
470
- * Get bank configuration
471
- *
472
- * Get fully resolved configuration for a bank including all hierarchical overrides (global → tenant → bank). The 'config' field contains all resolved config values. The 'overrides' field shows only bank-specific overrides.
473
- */
474
- const getBankConfig = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/config", ...options });
475
- exports.getBankConfig = getBankConfig;
476
- /**
477
- * Update bank configuration
478
- *
479
- * Update configuration overrides for a bank. Only hierarchical fields can be overridden (LLM settings, retention parameters, etc.). Keys can be provided in Python field format (llm_provider) or environment variable format (HINDSIGHT_API_LLM_PROVIDER).
480
- */
481
- const updateBankConfig = (options) => (options.client ?? client_gen_1.client).patch({
482
- url: "/v1/default/banks/{bank_id}/config",
483
- ...options,
484
- headers: {
485
- "Content-Type": "application/json",
486
- ...options.headers,
487
- },
488
- });
489
- exports.updateBankConfig = updateBankConfig;
490
- /**
491
- * Trigger consolidation
492
- *
493
- * Run memory consolidation to create/update observations from recent memories.
494
- */
495
- const triggerConsolidation = (options) => (options.client ?? client_gen_1.client).post({ url: "/v1/default/banks/{bank_id}/consolidate", ...options });
496
- exports.triggerConsolidation = triggerConsolidation;
497
- /**
498
- * List webhooks
499
- *
500
- * List all webhooks registered for a bank.
501
- */
502
- const listWebhooks = (options) => (options.client ?? client_gen_1.client).get({ url: "/v1/default/banks/{bank_id}/webhooks", ...options });
503
- exports.listWebhooks = listWebhooks;
504
- /**
505
- * Register webhook
506
- *
507
- * Register a webhook endpoint to receive event notifications for this bank.
508
- */
509
- const createWebhook = (options) => (options.client ?? client_gen_1.client).post({
510
- url: "/v1/default/banks/{bank_id}/webhooks",
511
- ...options,
512
- headers: {
513
- "Content-Type": "application/json",
514
- ...options.headers,
515
- },
516
- });
517
- exports.createWebhook = createWebhook;
518
- /**
519
- * Delete webhook
520
- *
521
- * Remove a registered webhook.
522
- */
523
- const deleteWebhook = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}", ...options });
524
- exports.deleteWebhook = deleteWebhook;
525
- /**
526
- * Update webhook
527
- *
528
- * Update one or more fields of a registered webhook. Only provided fields are changed.
529
- */
530
- const updateWebhook = (options) => (options.client ?? client_gen_1.client).patch({
531
- url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}",
532
- ...options,
533
- headers: {
534
- "Content-Type": "application/json",
535
- ...options.headers,
536
- },
537
- });
538
- exports.updateWebhook = updateWebhook;
539
- /**
540
- * List webhook deliveries
541
- *
542
- * Inspect delivery history for a webhook (useful for debugging).
543
- */
544
- const listWebhookDeliveries = (options) => (options.client ?? client_gen_1.client).get({
545
- url: "/v1/default/banks/{bank_id}/webhooks/{webhook_id}/deliveries",
546
- ...options,
547
- });
548
- exports.listWebhookDeliveries = listWebhookDeliveries;
549
- /**
550
- * Clear memory bank memories
551
- *
552
- * Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (disposition and background) will be preserved.
553
- */
554
- const clearBankMemories = (options) => (options.client ?? client_gen_1.client).delete({ url: "/v1/default/banks/{bank_id}/memories", ...options });
555
- exports.clearBankMemories = clearBankMemories;
556
- /**
557
- * Retain memories
558
- *
559
- * Retain memory items with automatic fact extraction.
560
- *
561
- * This is the main endpoint for storing memories. It supports both synchronous and asynchronous processing via the `async` parameter.
562
- *
563
- * **Features:**
564
- * - Efficient batch processing
565
- * - Automatic fact extraction from natural language
566
- * - Entity recognition and linking
567
- * - Document tracking with automatic upsert (when document_id is provided)
568
- * - Temporal and semantic linking
569
- * - Optional asynchronous processing
570
- *
571
- * **The system automatically:**
572
- * 1. Extracts semantic facts from the content
573
- * 2. Generates embeddings
574
- * 3. Deduplicates similar facts
575
- * 4. Creates temporal, semantic, and entity links
576
- * 5. Tracks document metadata
577
- *
578
- * **When `async=true`:** Returns immediately after queuing. Use the operations endpoint to monitor progress.
579
- *
580
- * **When `async=false` (default):** Waits for processing to complete.
581
- *
582
- * **Note:** If a memory item has a `document_id` that already exists, the old document and its memory units will be deleted before creating new ones (upsert behavior).
583
- */
584
- const retainMemories = (options) => (options.client ?? client_gen_1.client).post({
585
- url: "/v1/default/banks/{bank_id}/memories",
586
- ...options,
587
- headers: {
588
- "Content-Type": "application/json",
589
- ...options.headers,
590
- },
591
- });
592
- exports.retainMemories = retainMemories;
593
- /**
594
- * Convert files to memories
595
- *
596
- * Upload files (PDF, DOCX, etc.), convert them to markdown, and retain as memories.
597
- *
598
- * This endpoint handles file upload, conversion, and memory creation in a single operation.
599
- *
600
- * **Features:**
601
- * - Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription)
602
- * - Automatic file-to-markdown conversion using pluggable parsers
603
- * - Files stored in object storage (PostgreSQL by default, S3 for production)
604
- * - Each file becomes a separate document with optional metadata/tags
605
- * - Always processes asynchronously — returns operation IDs immediately
606
- *
607
- * **The system automatically:**
608
- * 1. Stores uploaded files in object storage
609
- * 2. Converts files to markdown
610
- * 3. Creates document records with file metadata
611
- * 4. Extracts facts and creates memory units (same as regular retain)
612
- *
613
- * Use the operations endpoint to monitor progress.
614
- *
615
- * **Request format:** multipart/form-data with:
616
- * - `files`: One or more files to upload
617
- * - `request`: JSON string with FileRetainRequest model
618
- *
619
- * **Parser selection:**
620
- * - Set `parser` in the request body to override the server default for all files.
621
- * - Set `parser` inside a `files_metadata` entry for per-file control.
622
- * - Pass a list (e.g. `['iris', 'markitdown']`) to define an ordered fallback chain — each parser is tried in sequence until one succeeds.
623
- * - Falls back to the server default (`HINDSIGHT_API_FILE_PARSER`) if not specified.
624
- * - Only parsers enabled on the server may be requested; others return HTTP 400.
625
- */
626
- const fileRetain = (options) => (options.client ?? client_gen_1.client).post({
627
- ...client_1.formDataBodySerializer,
628
- url: "/v1/default/banks/{bank_id}/files/retain",
629
- ...options,
630
- headers: {
631
- "Content-Type": null,
632
- ...options.headers,
633
- },
634
- });
635
- exports.fileRetain = fileRetain;
636
- //# sourceMappingURL=sdk.gen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../../generated/sdk.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;AAErD,qCAKkB;AAClB,6CAAsC;AA0LtC;;;;GAIG;AACI,MAAM,uBAAuB,GAAG,CACrC,OAA4D,EAC5D,EAAE,CACF,CAAC,OAAO,EAAE,MAAM,IAAI,mBAAM,CAAC,CAAC,GAAG,CAI7B,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAPvB,QAAA,uBAAuB,2BAOA;AAEpC;;;;GAIG;AACI,MAAM,UAAU,GAAG,CACxB,OAA+C,EAC/C,EAAE,CACF,CAAC,OAAO,EAAE,MAAM,IAAI,mBAAM,CAAC,CAAC,GAAG,CAA6C;IAC1E,GAAG,EAAE,UAAU;IACf,GAAG,OAAO;CACX,CAAC,CAAC;AANQ,QAAA,UAAU,cAMlB;AAEL;;;;GAIG;AACI,MAAM,yBAAyB,GAAG,CACvC,OAA8D,EAC9D,EAAE,CACF,CAAC,OAAO,EAAE,MAAM,IAAI,mBAAM,CAAC,CAAC,GAAG,CAI7B,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAPxB,QAAA,yBAAyB,6BAOD;AAErC;;;;GAIG;AACI,MA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