@allbluecn/database 0.14.0 → 0.14.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.
@@ -196,7 +196,16 @@ export const ModelName = {
196
196
  AiTask: 'AiTask',
197
197
  AiTaskRun: 'AiTaskRun',
198
198
  KnowledgeEmbedding: 'KnowledgeEmbedding',
199
- DesignEmbedding: 'DesignEmbedding'
199
+ DesignEmbedding: 'DesignEmbedding',
200
+ HarnessLogHeader: 'HarnessLogHeader',
201
+ HarnessLogEntry: 'HarnessLogEntry',
202
+ HarnessLogOffer: 'HarnessLogOffer',
203
+ HarnessLogSnapshot: 'HarnessLogSnapshot',
204
+ HarnessHostHeartbeat: 'HarnessHostHeartbeat',
205
+ HarnessMetadata: 'HarnessMetadata',
206
+ HarnessBlob: 'HarnessBlob',
207
+ HarnessArtifact: 'HarnessArtifact',
208
+ HarnessSession: 'HarnessSession'
200
209
  } as const
201
210
 
202
211
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -400,7 +409,9 @@ export const ChatThreadScalarFieldEnum = {
400
409
  workspaceId: 'workspaceId',
401
410
  engine: 'engine',
402
411
  localCwd: 'localCwd',
403
- localAgentId: 'localAgentId'
412
+ localAgentId: 'localAgentId',
413
+ indexRevision: 'indexRevision',
414
+ indexMetadata: 'indexMetadata'
404
415
  } as const
405
416
 
406
417
  export type ChatThreadScalarFieldEnum = (typeof ChatThreadScalarFieldEnum)[keyof typeof ChatThreadScalarFieldEnum]
@@ -2485,12 +2496,135 @@ export const DesignEmbeddingScalarFieldEnum = {
2485
2496
  id: 'id',
2486
2497
  content: 'content',
2487
2498
  designPageId: 'designPageId',
2499
+ documentId: 'documentId',
2488
2500
  chunkIndex: 'chunkIndex'
2489
2501
  } as const
2490
2502
 
2491
2503
  export type DesignEmbeddingScalarFieldEnum = (typeof DesignEmbeddingScalarFieldEnum)[keyof typeof DesignEmbeddingScalarFieldEnum]
2492
2504
 
2493
2505
 
2506
+ export const HarnessLogHeaderScalarFieldEnum = {
2507
+ logId: 'logId',
2508
+ harness: 'harness',
2509
+ affinity: 'affinity',
2510
+ epoch: 'epoch',
2511
+ ownerId: 'ownerId',
2512
+ ownerExpiresAt: 'ownerExpiresAt',
2513
+ released: 'released',
2514
+ wakeAt: 'wakeAt',
2515
+ firstSeq: 'firstSeq',
2516
+ deletedAt: 'deletedAt',
2517
+ createdAt: 'createdAt',
2518
+ updatedAt: 'updatedAt'
2519
+ } as const
2520
+
2521
+ export type HarnessLogHeaderScalarFieldEnum = (typeof HarnessLogHeaderScalarFieldEnum)[keyof typeof HarnessLogHeaderScalarFieldEnum]
2522
+
2523
+
2524
+ export const HarnessLogEntryScalarFieldEnum = {
2525
+ logId: 'logId',
2526
+ seq: 'seq',
2527
+ record: 'record',
2528
+ createdAt: 'createdAt'
2529
+ } as const
2530
+
2531
+ export type HarnessLogEntryScalarFieldEnum = (typeof HarnessLogEntryScalarFieldEnum)[keyof typeof HarnessLogEntryScalarFieldEnum]
2532
+
2533
+
2534
+ export const HarnessLogOfferScalarFieldEnum = {
2535
+ id: 'id',
2536
+ logId: 'logId',
2537
+ inputId: 'inputId',
2538
+ record: 'record',
2539
+ offeredAt: 'offeredAt',
2540
+ consumedAt: 'consumedAt'
2541
+ } as const
2542
+
2543
+ export type HarnessLogOfferScalarFieldEnum = (typeof HarnessLogOfferScalarFieldEnum)[keyof typeof HarnessLogOfferScalarFieldEnum]
2544
+
2545
+
2546
+ export const HarnessLogSnapshotScalarFieldEnum = {
2547
+ logId: 'logId',
2548
+ seq: 'seq',
2549
+ version: 'version',
2550
+ state: 'state',
2551
+ updatedAt: 'updatedAt'
2552
+ } as const
2553
+
2554
+ export type HarnessLogSnapshotScalarFieldEnum = (typeof HarnessLogSnapshotScalarFieldEnum)[keyof typeof HarnessLogSnapshotScalarFieldEnum]
2555
+
2556
+
2557
+ export const HarnessHostHeartbeatScalarFieldEnum = {
2558
+ hostId: 'hostId',
2559
+ lastSeenAt: 'lastSeenAt',
2560
+ expiresAt: 'expiresAt',
2561
+ updatedAt: 'updatedAt'
2562
+ } as const
2563
+
2564
+ export type HarnessHostHeartbeatScalarFieldEnum = (typeof HarnessHostHeartbeatScalarFieldEnum)[keyof typeof HarnessHostHeartbeatScalarFieldEnum]
2565
+
2566
+
2567
+ export const HarnessMetadataScalarFieldEnum = {
2568
+ namespace: 'namespace',
2569
+ key: 'key',
2570
+ value: 'value',
2571
+ version: 'version',
2572
+ createdAt: 'createdAt',
2573
+ updatedAt: 'updatedAt'
2574
+ } as const
2575
+
2576
+ export type HarnessMetadataScalarFieldEnum = (typeof HarnessMetadataScalarFieldEnum)[keyof typeof HarnessMetadataScalarFieldEnum]
2577
+
2578
+
2579
+ export const HarnessBlobScalarFieldEnum = {
2580
+ key: 'key',
2581
+ bytes: 'bytes',
2582
+ size: 'size',
2583
+ contentType: 'contentType',
2584
+ etag: 'etag',
2585
+ customMetadata: 'customMetadata',
2586
+ createdAt: 'createdAt',
2587
+ updatedAt: 'updatedAt'
2588
+ } as const
2589
+
2590
+ export type HarnessBlobScalarFieldEnum = (typeof HarnessBlobScalarFieldEnum)[keyof typeof HarnessBlobScalarFieldEnum]
2591
+
2592
+
2593
+ export const HarnessArtifactScalarFieldEnum = {
2594
+ artifactId: 'artifactId',
2595
+ runId: 'runId',
2596
+ threadId: 'threadId',
2597
+ blobKey: 'blobKey',
2598
+ name: 'name',
2599
+ mimeType: 'mimeType',
2600
+ size: 'size',
2601
+ sourceUrl: 'sourceUrl',
2602
+ createdAt: 'createdAt'
2603
+ } as const
2604
+
2605
+ export type HarnessArtifactScalarFieldEnum = (typeof HarnessArtifactScalarFieldEnum)[keyof typeof HarnessArtifactScalarFieldEnum]
2606
+
2607
+
2608
+ export const HarnessSessionScalarFieldEnum = {
2609
+ tenantId: 'tenantId',
2610
+ threadId: 'threadId',
2611
+ harness: 'harness',
2612
+ title: 'title',
2613
+ parentThreadId: 'parentThreadId',
2614
+ parentToolCallId: 'parentToolCallId',
2615
+ createdAt: 'createdAt',
2616
+ updatedAt: 'updatedAt',
2617
+ revision: 'revision',
2618
+ members: 'members',
2619
+ pinned: 'pinned',
2620
+ archived: 'archived',
2621
+ usage: 'usage',
2622
+ metadata: 'metadata'
2623
+ } as const
2624
+
2625
+ export type HarnessSessionScalarFieldEnum = (typeof HarnessSessionScalarFieldEnum)[keyof typeof HarnessSessionScalarFieldEnum]
2626
+
2627
+
2494
2628
  export const SortOrder = {
2495
2629
  asc: 'asc',
2496
2630
  desc: 'desc'