@axiom-lattice/core 2.1.11 → 2.1.13
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.mts +478 -2
- package/dist/index.d.ts +478 -2
- package/dist/index.js +791 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +771 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -37,17 +37,25 @@ __export(index_exports, {
|
|
|
37
37
|
AgentType: () => import_protocols.AgentType,
|
|
38
38
|
ChunkBuffer: () => ChunkBuffer,
|
|
39
39
|
ChunkBufferLatticeManager: () => ChunkBufferLatticeManager,
|
|
40
|
+
EmbeddingsLatticeManager: () => EmbeddingsLatticeManager,
|
|
40
41
|
GraphBuildOptions: () => import_protocols.GraphBuildOptions,
|
|
42
|
+
InMemoryAssistantStore: () => InMemoryAssistantStore,
|
|
41
43
|
InMemoryChunkBuffer: () => InMemoryChunkBuffer,
|
|
44
|
+
InMemoryThreadStore: () => InMemoryThreadStore,
|
|
42
45
|
MemoryLatticeManager: () => MemoryLatticeManager,
|
|
43
46
|
MemoryQueueClient: () => MemoryQueueClient,
|
|
47
|
+
MemoryScheduleClient: () => MemoryScheduleClient,
|
|
44
48
|
MemoryType: () => import_protocols2.MemoryType,
|
|
45
49
|
ModelLatticeManager: () => ModelLatticeManager,
|
|
46
50
|
Protocols: () => Protocols,
|
|
47
51
|
QueueLatticeManager: () => QueueLatticeManager,
|
|
52
|
+
ScheduleLatticeManager: () => ScheduleLatticeManager,
|
|
53
|
+
StoreLatticeManager: () => StoreLatticeManager,
|
|
48
54
|
ThreadStatus: () => ThreadStatus,
|
|
49
55
|
ToolLatticeManager: () => ToolLatticeManager,
|
|
56
|
+
VectorStoreLatticeManager: () => VectorStoreLatticeManager,
|
|
50
57
|
agentLatticeManager: () => agentLatticeManager,
|
|
58
|
+
embeddingsLatticeManager: () => embeddingsLatticeManager,
|
|
51
59
|
eventBus: () => eventBus,
|
|
52
60
|
eventBusDefault: () => event_bus_default,
|
|
53
61
|
getAgentClient: () => getAgentClient,
|
|
@@ -57,11 +65,17 @@ __export(index_exports, {
|
|
|
57
65
|
getAllToolDefinitions: () => getAllToolDefinitions,
|
|
58
66
|
getCheckpointSaver: () => getCheckpointSaver,
|
|
59
67
|
getChunkBuffer: () => getChunkBuffer,
|
|
68
|
+
getEmbeddingsClient: () => getEmbeddingsClient,
|
|
69
|
+
getEmbeddingsLattice: () => getEmbeddingsLattice,
|
|
60
70
|
getModelLattice: () => getModelLattice,
|
|
61
71
|
getQueueLattice: () => getQueueLattice,
|
|
72
|
+
getScheduleLattice: () => getScheduleLattice,
|
|
73
|
+
getStoreLattice: () => getStoreLattice,
|
|
62
74
|
getToolClient: () => getToolClient,
|
|
63
75
|
getToolDefinition: () => getToolDefinition,
|
|
64
76
|
getToolLattice: () => getToolLattice,
|
|
77
|
+
getVectorStoreClient: () => getVectorStoreClient,
|
|
78
|
+
getVectorStoreLattice: () => getVectorStoreLattice,
|
|
65
79
|
hasChunkBuffer: () => hasChunkBuffer,
|
|
66
80
|
modelLatticeManager: () => modelLatticeManager,
|
|
67
81
|
queueLatticeManager: () => queueLatticeManager,
|
|
@@ -69,12 +83,19 @@ __export(index_exports, {
|
|
|
69
83
|
registerAgentLattices: () => registerAgentLattices,
|
|
70
84
|
registerCheckpointSaver: () => registerCheckpointSaver,
|
|
71
85
|
registerChunkBuffer: () => registerChunkBuffer,
|
|
86
|
+
registerEmbeddingsLattice: () => registerEmbeddingsLattice,
|
|
72
87
|
registerModelLattice: () => registerModelLattice,
|
|
73
88
|
registerQueueLattice: () => registerQueueLattice,
|
|
89
|
+
registerScheduleLattice: () => registerScheduleLattice,
|
|
90
|
+
registerStoreLattice: () => registerStoreLattice,
|
|
74
91
|
registerToolLattice: () => registerToolLattice,
|
|
92
|
+
registerVectorStoreLattice: () => registerVectorStoreLattice,
|
|
93
|
+
scheduleLatticeManager: () => scheduleLatticeManager,
|
|
94
|
+
storeLatticeManager: () => storeLatticeManager,
|
|
75
95
|
toolLatticeManager: () => toolLatticeManager,
|
|
76
96
|
validateAgentInput: () => validateAgentInput,
|
|
77
|
-
validateToolInput: () => validateToolInput
|
|
97
|
+
validateToolInput: () => validateToolInput,
|
|
98
|
+
vectorStoreLatticeManager: () => vectorStoreLatticeManager
|
|
78
99
|
});
|
|
79
100
|
module.exports = __toCommonJS(index_exports);
|
|
80
101
|
|
|
@@ -650,30 +671,17 @@ registerToolLattice(
|
|
|
650
671
|
topic = "general",
|
|
651
672
|
includeRawContent = false
|
|
652
673
|
}, config) => {
|
|
653
|
-
console.log("[DEBUG][internet_search] Starting search with params:", {
|
|
654
|
-
query,
|
|
655
|
-
maxResults,
|
|
656
|
-
topic,
|
|
657
|
-
includeRawContent
|
|
658
|
-
});
|
|
659
|
-
console.log("[DEBUG][internet_search] Creating TavilySearch instance...");
|
|
660
674
|
const tavilySearch = new import_tavily.TavilySearch({
|
|
661
675
|
maxResults,
|
|
662
676
|
tavilyApiKey: process.env.TAVILY_API_KEY,
|
|
663
677
|
includeRawContent,
|
|
664
678
|
topic
|
|
665
679
|
});
|
|
666
|
-
console.log("[DEBUG][internet_search] Invoking search for query:", query);
|
|
667
680
|
const tavilyResponse = await tavilySearch.invoke({ query });
|
|
668
|
-
console.log(
|
|
669
|
-
"[DEBUG][internet_search] Search completed. Results count:",
|
|
670
|
-
tavilyResponse.results?.length ?? 0
|
|
671
|
-
);
|
|
672
681
|
const result = genUICard("Internet Search:" + query, "generic_data_table", {
|
|
673
682
|
dataSource: tavilyResponse.results
|
|
674
683
|
});
|
|
675
|
-
|
|
676
|
-
return result;
|
|
684
|
+
return JSON.stringify(tavilyResponse.results);
|
|
677
685
|
}
|
|
678
686
|
);
|
|
679
687
|
|
|
@@ -2182,7 +2190,6 @@ function createTaskTool(options) {
|
|
|
2182
2190
|
input: { ...subagentState, message: description }
|
|
2183
2191
|
});
|
|
2184
2192
|
const result = workerResult.finalState?.values;
|
|
2185
|
-
console.log("workerResult", workerResult);
|
|
2186
2193
|
if (!config.toolCall?.id) {
|
|
2187
2194
|
throw new Error("Tool call ID is required for subagent invocation");
|
|
2188
2195
|
}
|
|
@@ -3273,6 +3280,752 @@ var getChunkBuffer = (key) => ChunkBufferLatticeManager.getInstance().get(key);
|
|
|
3273
3280
|
var registerChunkBuffer = (key, buffer) => ChunkBufferLatticeManager.getInstance().register(key, buffer);
|
|
3274
3281
|
var hasChunkBuffer = (key) => ChunkBufferLatticeManager.getInstance().has(key);
|
|
3275
3282
|
|
|
3283
|
+
// src/schedule_lattice/ScheduleLatticeManager.ts
|
|
3284
|
+
var import_protocols5 = require("@axiom-lattice/protocols");
|
|
3285
|
+
|
|
3286
|
+
// src/schedule_lattice/MemoryScheduleClient.ts
|
|
3287
|
+
var _MemoryScheduleClient = class _MemoryScheduleClient {
|
|
3288
|
+
constructor() {
|
|
3289
|
+
this.tasks = /* @__PURE__ */ new Map();
|
|
3290
|
+
}
|
|
3291
|
+
/**
|
|
3292
|
+
* Get the singleton instance of MemoryScheduleClient
|
|
3293
|
+
*/
|
|
3294
|
+
static getInstance() {
|
|
3295
|
+
if (!_MemoryScheduleClient.instance) {
|
|
3296
|
+
_MemoryScheduleClient.instance = new _MemoryScheduleClient();
|
|
3297
|
+
}
|
|
3298
|
+
return _MemoryScheduleClient.instance;
|
|
3299
|
+
}
|
|
3300
|
+
/**
|
|
3301
|
+
* Register a function to be executed after the specified timeout
|
|
3302
|
+
* @param taskId - Unique identifier for the task
|
|
3303
|
+
* @param callback - Function to execute when timeout expires
|
|
3304
|
+
* @param timeoutMs - Delay in milliseconds before execution
|
|
3305
|
+
* @returns true if registered successfully
|
|
3306
|
+
*/
|
|
3307
|
+
register(taskId, callback, timeoutMs) {
|
|
3308
|
+
if (this.tasks.has(taskId)) {
|
|
3309
|
+
this.cancel(taskId);
|
|
3310
|
+
}
|
|
3311
|
+
const timerId = setTimeout(async () => {
|
|
3312
|
+
try {
|
|
3313
|
+
console.log("scheduler callback", taskId, "start");
|
|
3314
|
+
await callback();
|
|
3315
|
+
console.log("scheduler callback", taskId, "success");
|
|
3316
|
+
} catch (error) {
|
|
3317
|
+
console.error(`Scheduler: Error executing task "${taskId}":`, error);
|
|
3318
|
+
} finally {
|
|
3319
|
+
this.tasks.delete(taskId);
|
|
3320
|
+
console.log("scheduler callback", taskId, "end");
|
|
3321
|
+
}
|
|
3322
|
+
}, timeoutMs);
|
|
3323
|
+
this.tasks.set(taskId, {
|
|
3324
|
+
timerId,
|
|
3325
|
+
callback,
|
|
3326
|
+
scheduledAt: Date.now(),
|
|
3327
|
+
timeoutMs
|
|
3328
|
+
});
|
|
3329
|
+
console.log("scheduler register", taskId);
|
|
3330
|
+
return true;
|
|
3331
|
+
}
|
|
3332
|
+
/**
|
|
3333
|
+
* Cancel a scheduled task by its ID
|
|
3334
|
+
* @param taskId - The task identifier to cancel
|
|
3335
|
+
* @returns true if task was found and cancelled, false otherwise
|
|
3336
|
+
*/
|
|
3337
|
+
cancel(taskId) {
|
|
3338
|
+
console.log("scheduler cancel", taskId);
|
|
3339
|
+
const task = this.tasks.get(taskId);
|
|
3340
|
+
if (task) {
|
|
3341
|
+
clearTimeout(task.timerId);
|
|
3342
|
+
this.tasks.delete(taskId);
|
|
3343
|
+
return true;
|
|
3344
|
+
}
|
|
3345
|
+
return false;
|
|
3346
|
+
}
|
|
3347
|
+
/**
|
|
3348
|
+
* Check if a task is currently scheduled
|
|
3349
|
+
* @param taskId - The task identifier to check
|
|
3350
|
+
*/
|
|
3351
|
+
has(taskId) {
|
|
3352
|
+
return this.tasks.has(taskId);
|
|
3353
|
+
}
|
|
3354
|
+
/**
|
|
3355
|
+
* Get the remaining time in milliseconds for a scheduled task
|
|
3356
|
+
* @param taskId - The task identifier
|
|
3357
|
+
* @returns Remaining time in ms, or -1 if task not found
|
|
3358
|
+
*/
|
|
3359
|
+
getRemainingTime(taskId) {
|
|
3360
|
+
const task = this.tasks.get(taskId);
|
|
3361
|
+
if (!task) {
|
|
3362
|
+
return -1;
|
|
3363
|
+
}
|
|
3364
|
+
const elapsed = Date.now() - task.scheduledAt;
|
|
3365
|
+
return Math.max(0, task.timeoutMs - elapsed);
|
|
3366
|
+
}
|
|
3367
|
+
/**
|
|
3368
|
+
* Get the count of currently scheduled tasks
|
|
3369
|
+
*/
|
|
3370
|
+
getTaskCount() {
|
|
3371
|
+
return this.tasks.size;
|
|
3372
|
+
}
|
|
3373
|
+
/**
|
|
3374
|
+
* Get all scheduled task IDs
|
|
3375
|
+
*/
|
|
3376
|
+
getTaskIds() {
|
|
3377
|
+
return Array.from(this.tasks.keys());
|
|
3378
|
+
}
|
|
3379
|
+
/**
|
|
3380
|
+
* Cancel all scheduled tasks
|
|
3381
|
+
*/
|
|
3382
|
+
cancelAll() {
|
|
3383
|
+
for (const [taskId, task] of this.tasks) {
|
|
3384
|
+
clearTimeout(task.timerId);
|
|
3385
|
+
}
|
|
3386
|
+
this.tasks.clear();
|
|
3387
|
+
}
|
|
3388
|
+
/**
|
|
3389
|
+
* Get task information
|
|
3390
|
+
* @param taskId - The task identifier
|
|
3391
|
+
* @returns Task info or null if not found
|
|
3392
|
+
*/
|
|
3393
|
+
getTaskInfo(taskId) {
|
|
3394
|
+
const task = this.tasks.get(taskId);
|
|
3395
|
+
if (!task) {
|
|
3396
|
+
return null;
|
|
3397
|
+
}
|
|
3398
|
+
return {
|
|
3399
|
+
taskId,
|
|
3400
|
+
scheduledAt: task.scheduledAt,
|
|
3401
|
+
timeoutMs: task.timeoutMs,
|
|
3402
|
+
remainingMs: this.getRemainingTime(taskId)
|
|
3403
|
+
};
|
|
3404
|
+
}
|
|
3405
|
+
/**
|
|
3406
|
+
* Reset the singleton instance (useful for testing)
|
|
3407
|
+
*/
|
|
3408
|
+
static resetInstance() {
|
|
3409
|
+
if (_MemoryScheduleClient.instance) {
|
|
3410
|
+
_MemoryScheduleClient.instance.cancelAll();
|
|
3411
|
+
_MemoryScheduleClient.instance = null;
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
};
|
|
3415
|
+
_MemoryScheduleClient.instance = null;
|
|
3416
|
+
var MemoryScheduleClient = _MemoryScheduleClient;
|
|
3417
|
+
|
|
3418
|
+
// src/schedule_lattice/ScheduleLatticeManager.ts
|
|
3419
|
+
var ScheduleLatticeManager = class _ScheduleLatticeManager extends BaseLatticeManager {
|
|
3420
|
+
/**
|
|
3421
|
+
* Get ScheduleLatticeManager singleton instance
|
|
3422
|
+
*/
|
|
3423
|
+
static getInstance() {
|
|
3424
|
+
if (!_ScheduleLatticeManager._instance) {
|
|
3425
|
+
_ScheduleLatticeManager._instance = new _ScheduleLatticeManager();
|
|
3426
|
+
}
|
|
3427
|
+
return _ScheduleLatticeManager._instance;
|
|
3428
|
+
}
|
|
3429
|
+
/**
|
|
3430
|
+
* Get Lattice type prefix
|
|
3431
|
+
*/
|
|
3432
|
+
getLatticeType() {
|
|
3433
|
+
return "schedules";
|
|
3434
|
+
}
|
|
3435
|
+
/**
|
|
3436
|
+
* Register schedule Lattice
|
|
3437
|
+
* @param key Lattice key name
|
|
3438
|
+
* @param config Schedule configuration
|
|
3439
|
+
* @param client Optional schedule client. If not provided, will create based on config type.
|
|
3440
|
+
*/
|
|
3441
|
+
registerLattice(key, config, client) {
|
|
3442
|
+
let scheduleClient;
|
|
3443
|
+
if (client) {
|
|
3444
|
+
scheduleClient = client;
|
|
3445
|
+
} else {
|
|
3446
|
+
if (config.type === import_protocols5.ScheduleType.MEMORY) {
|
|
3447
|
+
scheduleClient = MemoryScheduleClient.getInstance();
|
|
3448
|
+
} else {
|
|
3449
|
+
scheduleClient = MemoryScheduleClient.getInstance();
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
3452
|
+
const scheduleLattice = {
|
|
3453
|
+
key,
|
|
3454
|
+
config,
|
|
3455
|
+
client: scheduleClient,
|
|
3456
|
+
register: (taskId, callback, timeoutMs) => {
|
|
3457
|
+
return scheduleClient.register(taskId, callback, timeoutMs);
|
|
3458
|
+
},
|
|
3459
|
+
cancel: (taskId) => {
|
|
3460
|
+
return scheduleClient.cancel(taskId);
|
|
3461
|
+
},
|
|
3462
|
+
has: (taskId) => {
|
|
3463
|
+
return scheduleClient.has(taskId);
|
|
3464
|
+
},
|
|
3465
|
+
getRemainingTime: (taskId) => {
|
|
3466
|
+
return scheduleClient.getRemainingTime(taskId);
|
|
3467
|
+
},
|
|
3468
|
+
getTaskCount: () => {
|
|
3469
|
+
return scheduleClient.getTaskCount();
|
|
3470
|
+
},
|
|
3471
|
+
getTaskIds: () => {
|
|
3472
|
+
return scheduleClient.getTaskIds();
|
|
3473
|
+
},
|
|
3474
|
+
cancelAll: () => {
|
|
3475
|
+
return scheduleClient.cancelAll();
|
|
3476
|
+
},
|
|
3477
|
+
getTaskInfo: scheduleClient.getTaskInfo ? (taskId) => {
|
|
3478
|
+
return scheduleClient.getTaskInfo(taskId);
|
|
3479
|
+
} : void 0
|
|
3480
|
+
};
|
|
3481
|
+
this.register(key, scheduleLattice);
|
|
3482
|
+
}
|
|
3483
|
+
/**
|
|
3484
|
+
* Get ScheduleLattice
|
|
3485
|
+
* @param key Lattice key name
|
|
3486
|
+
*/
|
|
3487
|
+
getScheduleLattice(key) {
|
|
3488
|
+
const scheduleLattice = this.get(key);
|
|
3489
|
+
if (!scheduleLattice) {
|
|
3490
|
+
throw new Error(`ScheduleLattice ${key} not found`);
|
|
3491
|
+
}
|
|
3492
|
+
return scheduleLattice;
|
|
3493
|
+
}
|
|
3494
|
+
/**
|
|
3495
|
+
* Get all Lattices
|
|
3496
|
+
*/
|
|
3497
|
+
getAllLattices() {
|
|
3498
|
+
return this.getAll();
|
|
3499
|
+
}
|
|
3500
|
+
/**
|
|
3501
|
+
* Check if Lattice exists
|
|
3502
|
+
* @param key Lattice key name
|
|
3503
|
+
*/
|
|
3504
|
+
hasLattice(key) {
|
|
3505
|
+
return this.has(key);
|
|
3506
|
+
}
|
|
3507
|
+
/**
|
|
3508
|
+
* Remove Lattice
|
|
3509
|
+
* @param key Lattice key name
|
|
3510
|
+
*/
|
|
3511
|
+
removeLattice(key) {
|
|
3512
|
+
return this.remove(key);
|
|
3513
|
+
}
|
|
3514
|
+
/**
|
|
3515
|
+
* Clear all Lattices
|
|
3516
|
+
*/
|
|
3517
|
+
clearLattices() {
|
|
3518
|
+
this.clear();
|
|
3519
|
+
}
|
|
3520
|
+
/**
|
|
3521
|
+
* Get Lattice count
|
|
3522
|
+
*/
|
|
3523
|
+
getLatticeCount() {
|
|
3524
|
+
return this.count();
|
|
3525
|
+
}
|
|
3526
|
+
/**
|
|
3527
|
+
* Get Lattice key list
|
|
3528
|
+
*/
|
|
3529
|
+
getLatticeKeys() {
|
|
3530
|
+
return this.keys();
|
|
3531
|
+
}
|
|
3532
|
+
};
|
|
3533
|
+
var scheduleLatticeManager = ScheduleLatticeManager.getInstance();
|
|
3534
|
+
var registerScheduleLattice = (key, config, client) => scheduleLatticeManager.registerLattice(key, config, client);
|
|
3535
|
+
var getScheduleLattice = (key) => scheduleLatticeManager.getScheduleLattice(key);
|
|
3536
|
+
|
|
3537
|
+
// src/store_lattice/InMemoryThreadStore.ts
|
|
3538
|
+
var InMemoryThreadStore = class {
|
|
3539
|
+
constructor() {
|
|
3540
|
+
// Map<assistantId, Map<threadId, Thread>>
|
|
3541
|
+
this.threads = /* @__PURE__ */ new Map();
|
|
3542
|
+
}
|
|
3543
|
+
/**
|
|
3544
|
+
* Get all threads for a specific assistant
|
|
3545
|
+
*/
|
|
3546
|
+
async getThreadsByAssistantId(assistantId) {
|
|
3547
|
+
const assistantThreads = this.threads.get(assistantId);
|
|
3548
|
+
if (!assistantThreads) {
|
|
3549
|
+
return [];
|
|
3550
|
+
}
|
|
3551
|
+
return Array.from(assistantThreads.values());
|
|
3552
|
+
}
|
|
3553
|
+
/**
|
|
3554
|
+
* Get a thread by ID for a specific assistant
|
|
3555
|
+
*/
|
|
3556
|
+
async getThreadById(assistantId, threadId) {
|
|
3557
|
+
const assistantThreads = this.threads.get(assistantId);
|
|
3558
|
+
if (!assistantThreads) {
|
|
3559
|
+
return void 0;
|
|
3560
|
+
}
|
|
3561
|
+
return assistantThreads.get(threadId);
|
|
3562
|
+
}
|
|
3563
|
+
/**
|
|
3564
|
+
* Create a new thread for an assistant
|
|
3565
|
+
*/
|
|
3566
|
+
async createThread(assistantId, threadId, data) {
|
|
3567
|
+
const now = /* @__PURE__ */ new Date();
|
|
3568
|
+
const thread = {
|
|
3569
|
+
id: threadId,
|
|
3570
|
+
assistantId,
|
|
3571
|
+
metadata: data.metadata || {},
|
|
3572
|
+
createdAt: now,
|
|
3573
|
+
updatedAt: now
|
|
3574
|
+
};
|
|
3575
|
+
if (!this.threads.has(assistantId)) {
|
|
3576
|
+
this.threads.set(assistantId, /* @__PURE__ */ new Map());
|
|
3577
|
+
}
|
|
3578
|
+
const assistantThreads = this.threads.get(assistantId);
|
|
3579
|
+
assistantThreads.set(threadId, thread);
|
|
3580
|
+
return thread;
|
|
3581
|
+
}
|
|
3582
|
+
/**
|
|
3583
|
+
* Update an existing thread
|
|
3584
|
+
*/
|
|
3585
|
+
async updateThread(assistantId, threadId, updates) {
|
|
3586
|
+
const assistantThreads = this.threads.get(assistantId);
|
|
3587
|
+
if (!assistantThreads) {
|
|
3588
|
+
return null;
|
|
3589
|
+
}
|
|
3590
|
+
const existing = assistantThreads.get(threadId);
|
|
3591
|
+
if (!existing) {
|
|
3592
|
+
return null;
|
|
3593
|
+
}
|
|
3594
|
+
const updated = {
|
|
3595
|
+
...existing,
|
|
3596
|
+
metadata: {
|
|
3597
|
+
...existing.metadata,
|
|
3598
|
+
...updates.metadata || {}
|
|
3599
|
+
},
|
|
3600
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
3601
|
+
};
|
|
3602
|
+
assistantThreads.set(threadId, updated);
|
|
3603
|
+
return updated;
|
|
3604
|
+
}
|
|
3605
|
+
/**
|
|
3606
|
+
* Delete a thread by ID
|
|
3607
|
+
*/
|
|
3608
|
+
async deleteThread(assistantId, threadId) {
|
|
3609
|
+
const assistantThreads = this.threads.get(assistantId);
|
|
3610
|
+
if (!assistantThreads) {
|
|
3611
|
+
return false;
|
|
3612
|
+
}
|
|
3613
|
+
return assistantThreads.delete(threadId);
|
|
3614
|
+
}
|
|
3615
|
+
/**
|
|
3616
|
+
* Check if thread exists
|
|
3617
|
+
*/
|
|
3618
|
+
async hasThread(assistantId, threadId) {
|
|
3619
|
+
const assistantThreads = this.threads.get(assistantId);
|
|
3620
|
+
if (!assistantThreads) {
|
|
3621
|
+
return false;
|
|
3622
|
+
}
|
|
3623
|
+
return assistantThreads.has(threadId);
|
|
3624
|
+
}
|
|
3625
|
+
/**
|
|
3626
|
+
* Clear all threads (useful for testing)
|
|
3627
|
+
*/
|
|
3628
|
+
clear() {
|
|
3629
|
+
this.threads.clear();
|
|
3630
|
+
}
|
|
3631
|
+
/**
|
|
3632
|
+
* Get all threads for all assistants (useful for debugging)
|
|
3633
|
+
*/
|
|
3634
|
+
getAllThreads() {
|
|
3635
|
+
const allThreads = [];
|
|
3636
|
+
for (const assistantThreads of this.threads.values()) {
|
|
3637
|
+
allThreads.push(...Array.from(assistantThreads.values()));
|
|
3638
|
+
}
|
|
3639
|
+
return allThreads;
|
|
3640
|
+
}
|
|
3641
|
+
};
|
|
3642
|
+
|
|
3643
|
+
// src/store_lattice/InMemoryAssistantStore.ts
|
|
3644
|
+
var InMemoryAssistantStore = class {
|
|
3645
|
+
constructor() {
|
|
3646
|
+
this.assistants = /* @__PURE__ */ new Map();
|
|
3647
|
+
}
|
|
3648
|
+
/**
|
|
3649
|
+
* Get all assistants
|
|
3650
|
+
*/
|
|
3651
|
+
async getAllAssistants() {
|
|
3652
|
+
return Array.from(this.assistants.values());
|
|
3653
|
+
}
|
|
3654
|
+
/**
|
|
3655
|
+
* Get assistant by ID
|
|
3656
|
+
*/
|
|
3657
|
+
async getAssistantById(id) {
|
|
3658
|
+
return this.assistants.get(id) || null;
|
|
3659
|
+
}
|
|
3660
|
+
/**
|
|
3661
|
+
* Create a new assistant
|
|
3662
|
+
*/
|
|
3663
|
+
async createAssistant(id, data) {
|
|
3664
|
+
const now = /* @__PURE__ */ new Date();
|
|
3665
|
+
const assistant = {
|
|
3666
|
+
id,
|
|
3667
|
+
name: data.name,
|
|
3668
|
+
description: data.description,
|
|
3669
|
+
graphDefinition: data.graphDefinition,
|
|
3670
|
+
createdAt: now,
|
|
3671
|
+
updatedAt: now
|
|
3672
|
+
};
|
|
3673
|
+
this.assistants.set(id, assistant);
|
|
3674
|
+
return assistant;
|
|
3675
|
+
}
|
|
3676
|
+
/**
|
|
3677
|
+
* Update an existing assistant
|
|
3678
|
+
*/
|
|
3679
|
+
async updateAssistant(id, updates) {
|
|
3680
|
+
const existing = this.assistants.get(id);
|
|
3681
|
+
if (!existing) {
|
|
3682
|
+
return null;
|
|
3683
|
+
}
|
|
3684
|
+
const updated = {
|
|
3685
|
+
...existing,
|
|
3686
|
+
...updates,
|
|
3687
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
3688
|
+
};
|
|
3689
|
+
this.assistants.set(id, updated);
|
|
3690
|
+
return updated;
|
|
3691
|
+
}
|
|
3692
|
+
/**
|
|
3693
|
+
* Delete an assistant by ID
|
|
3694
|
+
*/
|
|
3695
|
+
async deleteAssistant(id) {
|
|
3696
|
+
return this.assistants.delete(id);
|
|
3697
|
+
}
|
|
3698
|
+
/**
|
|
3699
|
+
* Check if assistant exists
|
|
3700
|
+
*/
|
|
3701
|
+
async hasAssistant(id) {
|
|
3702
|
+
return this.assistants.has(id);
|
|
3703
|
+
}
|
|
3704
|
+
/**
|
|
3705
|
+
* Clear all assistants (useful for testing)
|
|
3706
|
+
*/
|
|
3707
|
+
clear() {
|
|
3708
|
+
this.assistants.clear();
|
|
3709
|
+
}
|
|
3710
|
+
};
|
|
3711
|
+
|
|
3712
|
+
// src/store_lattice/StoreLatticeManager.ts
|
|
3713
|
+
var StoreLatticeManager = class _StoreLatticeManager extends BaseLatticeManager {
|
|
3714
|
+
/**
|
|
3715
|
+
* Get StoreLatticeManager singleton instance
|
|
3716
|
+
*/
|
|
3717
|
+
static getInstance() {
|
|
3718
|
+
if (!_StoreLatticeManager._instance) {
|
|
3719
|
+
_StoreLatticeManager._instance = new _StoreLatticeManager();
|
|
3720
|
+
}
|
|
3721
|
+
return _StoreLatticeManager._instance;
|
|
3722
|
+
}
|
|
3723
|
+
/**
|
|
3724
|
+
* Get Lattice type prefix
|
|
3725
|
+
*/
|
|
3726
|
+
getLatticeType() {
|
|
3727
|
+
return "stores";
|
|
3728
|
+
}
|
|
3729
|
+
/**
|
|
3730
|
+
* Generate composite key from key and type
|
|
3731
|
+
* @param key Lattice key name
|
|
3732
|
+
* @param type Store type
|
|
3733
|
+
* @returns Composite key string
|
|
3734
|
+
*/
|
|
3735
|
+
getCompositeKey(key, type) {
|
|
3736
|
+
return `${key}:${type}`;
|
|
3737
|
+
}
|
|
3738
|
+
/**
|
|
3739
|
+
* Register store Lattice with type safety
|
|
3740
|
+
* Uses composite key (key + type) as unique identifier
|
|
3741
|
+
* @param key Lattice key name
|
|
3742
|
+
* @param type Store type (e.g., "thread")
|
|
3743
|
+
* @param store Store implementation instance matching the type
|
|
3744
|
+
*/
|
|
3745
|
+
registerLattice(key, type, store) {
|
|
3746
|
+
const storeLattice = {
|
|
3747
|
+
key,
|
|
3748
|
+
type,
|
|
3749
|
+
store
|
|
3750
|
+
};
|
|
3751
|
+
const compositeKey = this.getCompositeKey(key, type);
|
|
3752
|
+
this.register(compositeKey, storeLattice);
|
|
3753
|
+
}
|
|
3754
|
+
/**
|
|
3755
|
+
* Get StoreLattice with type safety
|
|
3756
|
+
* Uses composite key (key + type) to retrieve the store
|
|
3757
|
+
* @param key Lattice key name
|
|
3758
|
+
* @param type Expected store type for type checking
|
|
3759
|
+
* @returns StoreLattice with typed store
|
|
3760
|
+
*/
|
|
3761
|
+
getStoreLattice(key, type) {
|
|
3762
|
+
const compositeKey = this.getCompositeKey(key, type);
|
|
3763
|
+
const storeLattice = this.get(compositeKey);
|
|
3764
|
+
if (!storeLattice) {
|
|
3765
|
+
throw new Error(`StoreLattice ${key}:${type} not found`);
|
|
3766
|
+
}
|
|
3767
|
+
if (storeLattice.type !== type) {
|
|
3768
|
+
throw new Error(
|
|
3769
|
+
`StoreLattice ${key}:${type} has type "${storeLattice.type}", expected "${type}"`
|
|
3770
|
+
);
|
|
3771
|
+
}
|
|
3772
|
+
return storeLattice;
|
|
3773
|
+
}
|
|
3774
|
+
/**
|
|
3775
|
+
* Get StoreLattice without type checking (for backward compatibility)
|
|
3776
|
+
* @param key Lattice key name
|
|
3777
|
+
* @param type Store type
|
|
3778
|
+
* @returns StoreLattice (type may be unknown)
|
|
3779
|
+
*/
|
|
3780
|
+
getStoreLatticeUnsafe(key, type) {
|
|
3781
|
+
const compositeKey = this.getCompositeKey(key, type);
|
|
3782
|
+
const storeLattice = this.get(compositeKey);
|
|
3783
|
+
if (!storeLattice) {
|
|
3784
|
+
throw new Error(`StoreLattice ${key}:${type} not found`);
|
|
3785
|
+
}
|
|
3786
|
+
return storeLattice;
|
|
3787
|
+
}
|
|
3788
|
+
/**
|
|
3789
|
+
* Get all Lattices
|
|
3790
|
+
*/
|
|
3791
|
+
getAllLattices() {
|
|
3792
|
+
return this.getAll();
|
|
3793
|
+
}
|
|
3794
|
+
/**
|
|
3795
|
+
* Check if Lattice exists
|
|
3796
|
+
* Uses composite key (key + type) to check existence
|
|
3797
|
+
* @param key Lattice key name
|
|
3798
|
+
* @param type Store type
|
|
3799
|
+
*/
|
|
3800
|
+
hasLattice(key, type) {
|
|
3801
|
+
const compositeKey = this.getCompositeKey(key, type);
|
|
3802
|
+
return this.has(compositeKey);
|
|
3803
|
+
}
|
|
3804
|
+
/**
|
|
3805
|
+
* Remove Lattice
|
|
3806
|
+
* Uses composite key (key + type) to remove the store
|
|
3807
|
+
* @param key Lattice key name
|
|
3808
|
+
* @param type Store type
|
|
3809
|
+
*/
|
|
3810
|
+
removeLattice(key, type) {
|
|
3811
|
+
const compositeKey = this.getCompositeKey(key, type);
|
|
3812
|
+
return this.remove(compositeKey);
|
|
3813
|
+
}
|
|
3814
|
+
/**
|
|
3815
|
+
* Clear all Lattices
|
|
3816
|
+
*/
|
|
3817
|
+
clearLattices() {
|
|
3818
|
+
this.clear();
|
|
3819
|
+
}
|
|
3820
|
+
/**
|
|
3821
|
+
* Get Lattice count
|
|
3822
|
+
*/
|
|
3823
|
+
getLatticeCount() {
|
|
3824
|
+
return this.count();
|
|
3825
|
+
}
|
|
3826
|
+
/**
|
|
3827
|
+
* Get Lattice key list
|
|
3828
|
+
*/
|
|
3829
|
+
getLatticeKeys() {
|
|
3830
|
+
return this.keys();
|
|
3831
|
+
}
|
|
3832
|
+
};
|
|
3833
|
+
var storeLatticeManager = StoreLatticeManager.getInstance();
|
|
3834
|
+
var registerStoreLattice = (key, type, store) => storeLatticeManager.registerLattice(key, type, store);
|
|
3835
|
+
var getStoreLattice = (key, type) => storeLatticeManager.getStoreLattice(key, type);
|
|
3836
|
+
var defaultThreadStore = new InMemoryThreadStore();
|
|
3837
|
+
var defaultAssistantStore = new InMemoryAssistantStore();
|
|
3838
|
+
storeLatticeManager.registerLattice("default", "thread", defaultThreadStore);
|
|
3839
|
+
storeLatticeManager.registerLattice(
|
|
3840
|
+
"default",
|
|
3841
|
+
"assistant",
|
|
3842
|
+
defaultAssistantStore
|
|
3843
|
+
);
|
|
3844
|
+
|
|
3845
|
+
// src/embeddings_lattice/EmbeddingsLatticeManager.ts
|
|
3846
|
+
var EmbeddingsLatticeManager = class _EmbeddingsLatticeManager extends BaseLatticeManager {
|
|
3847
|
+
/**
|
|
3848
|
+
* Get EmbeddingsLatticeManager singleton instance
|
|
3849
|
+
*/
|
|
3850
|
+
static getInstance() {
|
|
3851
|
+
if (!_EmbeddingsLatticeManager._instance) {
|
|
3852
|
+
_EmbeddingsLatticeManager._instance = new _EmbeddingsLatticeManager();
|
|
3853
|
+
}
|
|
3854
|
+
return _EmbeddingsLatticeManager._instance;
|
|
3855
|
+
}
|
|
3856
|
+
/**
|
|
3857
|
+
* Get Lattice type prefix
|
|
3858
|
+
*/
|
|
3859
|
+
getLatticeType() {
|
|
3860
|
+
return "embeddings";
|
|
3861
|
+
}
|
|
3862
|
+
/**
|
|
3863
|
+
* Register embeddings Lattice
|
|
3864
|
+
* @param key Lattice key name
|
|
3865
|
+
* @param embeddings Embeddings instance
|
|
3866
|
+
*/
|
|
3867
|
+
registerLattice(key, embeddings) {
|
|
3868
|
+
const embeddingsLattice = {
|
|
3869
|
+
key,
|
|
3870
|
+
client: embeddings
|
|
3871
|
+
};
|
|
3872
|
+
this.register(key, embeddingsLattice);
|
|
3873
|
+
}
|
|
3874
|
+
/**
|
|
3875
|
+
* Get EmbeddingsLattice
|
|
3876
|
+
* @param key Lattice key name
|
|
3877
|
+
*/
|
|
3878
|
+
getEmbeddingsLattice(key) {
|
|
3879
|
+
const embeddingsLattice = this.get(key);
|
|
3880
|
+
if (!embeddingsLattice) {
|
|
3881
|
+
throw new Error(`EmbeddingsLattice ${key} not found`);
|
|
3882
|
+
}
|
|
3883
|
+
return embeddingsLattice;
|
|
3884
|
+
}
|
|
3885
|
+
/**
|
|
3886
|
+
* Get all Lattices
|
|
3887
|
+
*/
|
|
3888
|
+
getAllLattices() {
|
|
3889
|
+
return this.getAll();
|
|
3890
|
+
}
|
|
3891
|
+
/**
|
|
3892
|
+
* Check if Lattice exists
|
|
3893
|
+
* @param key Lattice key name
|
|
3894
|
+
*/
|
|
3895
|
+
hasLattice(key) {
|
|
3896
|
+
return this.has(key);
|
|
3897
|
+
}
|
|
3898
|
+
/**
|
|
3899
|
+
* Remove Lattice
|
|
3900
|
+
* @param key Lattice key name
|
|
3901
|
+
*/
|
|
3902
|
+
removeLattice(key) {
|
|
3903
|
+
return this.remove(key);
|
|
3904
|
+
}
|
|
3905
|
+
/**
|
|
3906
|
+
* Clear all Lattices
|
|
3907
|
+
*/
|
|
3908
|
+
clearLattices() {
|
|
3909
|
+
this.clear();
|
|
3910
|
+
}
|
|
3911
|
+
/**
|
|
3912
|
+
* Get Lattice count
|
|
3913
|
+
*/
|
|
3914
|
+
getLatticeCount() {
|
|
3915
|
+
return this.count();
|
|
3916
|
+
}
|
|
3917
|
+
/**
|
|
3918
|
+
* Get Lattice key list
|
|
3919
|
+
*/
|
|
3920
|
+
getLatticeKeys() {
|
|
3921
|
+
return this.keys();
|
|
3922
|
+
}
|
|
3923
|
+
/**
|
|
3924
|
+
* Get embeddings client
|
|
3925
|
+
* @param key Lattice key name
|
|
3926
|
+
*/
|
|
3927
|
+
getEmbeddingsClient(key) {
|
|
3928
|
+
const embeddingsLattice = this.getEmbeddingsLattice(key);
|
|
3929
|
+
return embeddingsLattice.client;
|
|
3930
|
+
}
|
|
3931
|
+
};
|
|
3932
|
+
var embeddingsLatticeManager = EmbeddingsLatticeManager.getInstance();
|
|
3933
|
+
var registerEmbeddingsLattice = (key, embeddings) => embeddingsLatticeManager.registerLattice(key, embeddings);
|
|
3934
|
+
var getEmbeddingsLattice = (key) => embeddingsLatticeManager.getEmbeddingsLattice(key);
|
|
3935
|
+
var getEmbeddingsClient = (key) => embeddingsLatticeManager.getEmbeddingsClient(key);
|
|
3936
|
+
|
|
3937
|
+
// src/vectorstore_lattice/VectorStoreLatticeManager.ts
|
|
3938
|
+
var VectorStoreLatticeManager = class _VectorStoreLatticeManager extends BaseLatticeManager {
|
|
3939
|
+
/**
|
|
3940
|
+
* Get VectorStoreLatticeManager singleton instance
|
|
3941
|
+
*/
|
|
3942
|
+
static getInstance() {
|
|
3943
|
+
if (!_VectorStoreLatticeManager._instance) {
|
|
3944
|
+
_VectorStoreLatticeManager._instance = new _VectorStoreLatticeManager();
|
|
3945
|
+
}
|
|
3946
|
+
return _VectorStoreLatticeManager._instance;
|
|
3947
|
+
}
|
|
3948
|
+
/**
|
|
3949
|
+
* Get Lattice type prefix
|
|
3950
|
+
*/
|
|
3951
|
+
getLatticeType() {
|
|
3952
|
+
return "vectorstores";
|
|
3953
|
+
}
|
|
3954
|
+
/**
|
|
3955
|
+
* Register vector store Lattice
|
|
3956
|
+
* @param key Lattice key name
|
|
3957
|
+
* @param vectorStore VectorStore instance
|
|
3958
|
+
*/
|
|
3959
|
+
registerLattice(key, vectorStore) {
|
|
3960
|
+
const vectorStoreLattice = {
|
|
3961
|
+
key,
|
|
3962
|
+
client: vectorStore
|
|
3963
|
+
};
|
|
3964
|
+
this.register(key, vectorStoreLattice);
|
|
3965
|
+
}
|
|
3966
|
+
/**
|
|
3967
|
+
* Get VectorStoreLattice
|
|
3968
|
+
* @param key Lattice key name
|
|
3969
|
+
*/
|
|
3970
|
+
getVectorStoreLattice(key) {
|
|
3971
|
+
const vectorStoreLattice = this.get(key);
|
|
3972
|
+
if (!vectorStoreLattice) {
|
|
3973
|
+
throw new Error(`VectorStoreLattice ${key} not found`);
|
|
3974
|
+
}
|
|
3975
|
+
return vectorStoreLattice;
|
|
3976
|
+
}
|
|
3977
|
+
/**
|
|
3978
|
+
* Get all Lattices
|
|
3979
|
+
*/
|
|
3980
|
+
getAllLattices() {
|
|
3981
|
+
return this.getAll();
|
|
3982
|
+
}
|
|
3983
|
+
/**
|
|
3984
|
+
* Check if Lattice exists
|
|
3985
|
+
* @param key Lattice key name
|
|
3986
|
+
*/
|
|
3987
|
+
hasLattice(key) {
|
|
3988
|
+
return this.has(key);
|
|
3989
|
+
}
|
|
3990
|
+
/**
|
|
3991
|
+
* Remove Lattice
|
|
3992
|
+
* @param key Lattice key name
|
|
3993
|
+
*/
|
|
3994
|
+
removeLattice(key) {
|
|
3995
|
+
return this.remove(key);
|
|
3996
|
+
}
|
|
3997
|
+
/**
|
|
3998
|
+
* Clear all Lattices
|
|
3999
|
+
*/
|
|
4000
|
+
clearLattices() {
|
|
4001
|
+
this.clear();
|
|
4002
|
+
}
|
|
4003
|
+
/**
|
|
4004
|
+
* Get Lattice count
|
|
4005
|
+
*/
|
|
4006
|
+
getLatticeCount() {
|
|
4007
|
+
return this.count();
|
|
4008
|
+
}
|
|
4009
|
+
/**
|
|
4010
|
+
* Get Lattice key list
|
|
4011
|
+
*/
|
|
4012
|
+
getLatticeKeys() {
|
|
4013
|
+
return this.keys();
|
|
4014
|
+
}
|
|
4015
|
+
/**
|
|
4016
|
+
* Get vector store client
|
|
4017
|
+
* @param key Lattice key name
|
|
4018
|
+
*/
|
|
4019
|
+
getVectorStoreClient(key) {
|
|
4020
|
+
const vectorStoreLattice = this.getVectorStoreLattice(key);
|
|
4021
|
+
return vectorStoreLattice.client;
|
|
4022
|
+
}
|
|
4023
|
+
};
|
|
4024
|
+
var vectorStoreLatticeManager = VectorStoreLatticeManager.getInstance();
|
|
4025
|
+
var registerVectorStoreLattice = (key, vectorStore) => vectorStoreLatticeManager.registerLattice(key, vectorStore);
|
|
4026
|
+
var getVectorStoreLattice = (key) => vectorStoreLatticeManager.getVectorStoreLattice(key);
|
|
4027
|
+
var getVectorStoreClient = (key) => vectorStoreLatticeManager.getVectorStoreClient(key);
|
|
4028
|
+
|
|
3276
4029
|
// src/index.ts
|
|
3277
4030
|
var Protocols = __toESM(require("@axiom-lattice/protocols"));
|
|
3278
4031
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -3284,17 +4037,25 @@ var Protocols = __toESM(require("@axiom-lattice/protocols"));
|
|
|
3284
4037
|
AgentType,
|
|
3285
4038
|
ChunkBuffer,
|
|
3286
4039
|
ChunkBufferLatticeManager,
|
|
4040
|
+
EmbeddingsLatticeManager,
|
|
3287
4041
|
GraphBuildOptions,
|
|
4042
|
+
InMemoryAssistantStore,
|
|
3288
4043
|
InMemoryChunkBuffer,
|
|
4044
|
+
InMemoryThreadStore,
|
|
3289
4045
|
MemoryLatticeManager,
|
|
3290
4046
|
MemoryQueueClient,
|
|
4047
|
+
MemoryScheduleClient,
|
|
3291
4048
|
MemoryType,
|
|
3292
4049
|
ModelLatticeManager,
|
|
3293
4050
|
Protocols,
|
|
3294
4051
|
QueueLatticeManager,
|
|
4052
|
+
ScheduleLatticeManager,
|
|
4053
|
+
StoreLatticeManager,
|
|
3295
4054
|
ThreadStatus,
|
|
3296
4055
|
ToolLatticeManager,
|
|
4056
|
+
VectorStoreLatticeManager,
|
|
3297
4057
|
agentLatticeManager,
|
|
4058
|
+
embeddingsLatticeManager,
|
|
3298
4059
|
eventBus,
|
|
3299
4060
|
eventBusDefault,
|
|
3300
4061
|
getAgentClient,
|
|
@@ -3304,11 +4065,17 @@ var Protocols = __toESM(require("@axiom-lattice/protocols"));
|
|
|
3304
4065
|
getAllToolDefinitions,
|
|
3305
4066
|
getCheckpointSaver,
|
|
3306
4067
|
getChunkBuffer,
|
|
4068
|
+
getEmbeddingsClient,
|
|
4069
|
+
getEmbeddingsLattice,
|
|
3307
4070
|
getModelLattice,
|
|
3308
4071
|
getQueueLattice,
|
|
4072
|
+
getScheduleLattice,
|
|
4073
|
+
getStoreLattice,
|
|
3309
4074
|
getToolClient,
|
|
3310
4075
|
getToolDefinition,
|
|
3311
4076
|
getToolLattice,
|
|
4077
|
+
getVectorStoreClient,
|
|
4078
|
+
getVectorStoreLattice,
|
|
3312
4079
|
hasChunkBuffer,
|
|
3313
4080
|
modelLatticeManager,
|
|
3314
4081
|
queueLatticeManager,
|
|
@@ -3316,11 +4083,18 @@ var Protocols = __toESM(require("@axiom-lattice/protocols"));
|
|
|
3316
4083
|
registerAgentLattices,
|
|
3317
4084
|
registerCheckpointSaver,
|
|
3318
4085
|
registerChunkBuffer,
|
|
4086
|
+
registerEmbeddingsLattice,
|
|
3319
4087
|
registerModelLattice,
|
|
3320
4088
|
registerQueueLattice,
|
|
4089
|
+
registerScheduleLattice,
|
|
4090
|
+
registerStoreLattice,
|
|
3321
4091
|
registerToolLattice,
|
|
4092
|
+
registerVectorStoreLattice,
|
|
4093
|
+
scheduleLatticeManager,
|
|
4094
|
+
storeLatticeManager,
|
|
3322
4095
|
toolLatticeManager,
|
|
3323
4096
|
validateAgentInput,
|
|
3324
|
-
validateToolInput
|
|
4097
|
+
validateToolInput,
|
|
4098
|
+
vectorStoreLatticeManager
|
|
3325
4099
|
});
|
|
3326
4100
|
//# sourceMappingURL=index.js.map
|