@akumi/sdk 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -302,18 +302,6 @@ var MemoryResource = class {
302
302
  this.transport = transport;
303
303
  }
304
304
  transport;
305
- async listThreads(query = {}) {
306
- return this.transport.request("GET", "/memory/threads", query, null);
307
- }
308
- async createThread() {
309
- return this.transport.request("POST", "/memory/threads", null, null);
310
- }
311
- async getThread(thread) {
312
- return this.transport.request("GET", `/memory/threads/${thread}`, null, null);
313
- }
314
- async deleteThread(thread) {
315
- return this.transport.request("DELETE", `/memory/threads/${thread}`, null, null);
316
- }
317
305
  async search(params = {}) {
318
306
  return this.transport.request("POST", "/memory/search", null, params);
319
307
  }
package/dist/index.d.cts CHANGED
@@ -55,10 +55,6 @@ declare class EmbeddingsResource {
55
55
  declare class MemoryResource {
56
56
  private readonly transport;
57
57
  constructor(transport: Transport);
58
- listThreads(query?: Record<string, unknown>): Promise<Record<string, unknown>>;
59
- createThread(): Promise<Record<string, unknown>>;
60
- getThread(thread: string): Promise<Record<string, unknown>>;
61
- deleteThread(thread: string): Promise<Record<string, unknown>>;
62
58
  search(params?: Record<string, unknown>): Promise<Record<string, unknown>>;
63
59
  listFacts(query?: Record<string, unknown>): Promise<Record<string, unknown>>;
64
60
  rememberFact(params?: Record<string, unknown>): Promise<Record<string, unknown>>;
@@ -203,10 +199,4 @@ interface StoreScoreRequest {
203
199
  comment?: string | null;
204
200
  }
205
201
 
206
- interface ThreadMessageViewModel {
207
- }
208
-
209
- interface ThreadViewModel {
210
- }
211
-
212
- export { AgentsResource, Akumi, AkumiError, ApiError, type AuditLogApiResource, AuditLogResource, AuthenticationError, type ChatCompletionsRequest, ChatCompletionsResource, type ClientConfig, type EmbeddingsRequest, EmbeddingsResource, type IngestDocumentRequest, InvalidRequestError, MemoryResource, ModelsResource, type PiiLanguage, RateLimitError, type RememberFactRequest, ScoresResource, type SearchRequest, type StoreCollectionRequest, type StoreScoreRequest, type ThreadMessageViewModel, type ThreadViewModel };
202
+ export { AgentsResource, Akumi, AkumiError, ApiError, type AuditLogApiResource, AuditLogResource, AuthenticationError, type ChatCompletionsRequest, ChatCompletionsResource, type ClientConfig, type EmbeddingsRequest, EmbeddingsResource, type IngestDocumentRequest, InvalidRequestError, MemoryResource, ModelsResource, type PiiLanguage, RateLimitError, type RememberFactRequest, ScoresResource, type SearchRequest, type StoreCollectionRequest, type StoreScoreRequest };
package/dist/index.d.ts CHANGED
@@ -55,10 +55,6 @@ declare class EmbeddingsResource {
55
55
  declare class MemoryResource {
56
56
  private readonly transport;
57
57
  constructor(transport: Transport);
58
- listThreads(query?: Record<string, unknown>): Promise<Record<string, unknown>>;
59
- createThread(): Promise<Record<string, unknown>>;
60
- getThread(thread: string): Promise<Record<string, unknown>>;
61
- deleteThread(thread: string): Promise<Record<string, unknown>>;
62
58
  search(params?: Record<string, unknown>): Promise<Record<string, unknown>>;
63
59
  listFacts(query?: Record<string, unknown>): Promise<Record<string, unknown>>;
64
60
  rememberFact(params?: Record<string, unknown>): Promise<Record<string, unknown>>;
@@ -203,10 +199,4 @@ interface StoreScoreRequest {
203
199
  comment?: string | null;
204
200
  }
205
201
 
206
- interface ThreadMessageViewModel {
207
- }
208
-
209
- interface ThreadViewModel {
210
- }
211
-
212
- export { AgentsResource, Akumi, AkumiError, ApiError, type AuditLogApiResource, AuditLogResource, AuthenticationError, type ChatCompletionsRequest, ChatCompletionsResource, type ClientConfig, type EmbeddingsRequest, EmbeddingsResource, type IngestDocumentRequest, InvalidRequestError, MemoryResource, ModelsResource, type PiiLanguage, RateLimitError, type RememberFactRequest, ScoresResource, type SearchRequest, type StoreCollectionRequest, type StoreScoreRequest, type ThreadMessageViewModel, type ThreadViewModel };
202
+ export { AgentsResource, Akumi, AkumiError, ApiError, type AuditLogApiResource, AuditLogResource, AuthenticationError, type ChatCompletionsRequest, ChatCompletionsResource, type ClientConfig, type EmbeddingsRequest, EmbeddingsResource, type IngestDocumentRequest, InvalidRequestError, MemoryResource, ModelsResource, type PiiLanguage, RateLimitError, type RememberFactRequest, ScoresResource, type SearchRequest, type StoreCollectionRequest, type StoreScoreRequest };
package/dist/index.js CHANGED
@@ -264,18 +264,6 @@ var MemoryResource = class {
264
264
  this.transport = transport;
265
265
  }
266
266
  transport;
267
- async listThreads(query = {}) {
268
- return this.transport.request("GET", "/memory/threads", query, null);
269
- }
270
- async createThread() {
271
- return this.transport.request("POST", "/memory/threads", null, null);
272
- }
273
- async getThread(thread) {
274
- return this.transport.request("GET", `/memory/threads/${thread}`, null, null);
275
- }
276
- async deleteThread(thread) {
277
- return this.transport.request("DELETE", `/memory/threads/${thread}`, null, null);
278
- }
279
267
  async search(params = {}) {
280
268
  return this.transport.request("POST", "/memory/search", null, params);
281
269
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akumi/sdk",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Official TypeScript SDK for the Akumi EU-sovereign inference API.",
5
5
  "license": "MIT",
6
6
  "type": "module",