@supernova-studio/client 1.48.8 → 1.48.10

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
@@ -79433,6 +79433,197 @@ declare const DTODeleteForgeIterationMessageResponse: z.ZodObject<{
79433
79433
  }>;
79434
79434
  type DTODeleteForgeIterationMessageResponse = z.infer<typeof DTODeleteForgeIterationMessageResponse>;
79435
79435
 
79436
+ declare const DTOForgeMemoryEntry: z$1.ZodObject<{
79437
+ id: z$1.ZodString;
79438
+ projectId: z$1.ZodString;
79439
+ text: z$1.ZodString;
79440
+ category: z$1.ZodString;
79441
+ createdAt: z$1.ZodString;
79442
+ updatedAt: z$1.ZodString;
79443
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
79444
+ }, "strip", z$1.ZodTypeAny, {
79445
+ id: string;
79446
+ createdAt: string;
79447
+ updatedAt: string;
79448
+ category: string;
79449
+ projectId: string;
79450
+ text: string;
79451
+ metadata?: Record<string, string> | undefined;
79452
+ }, {
79453
+ id: string;
79454
+ createdAt: string;
79455
+ updatedAt: string;
79456
+ category: string;
79457
+ projectId: string;
79458
+ text: string;
79459
+ metadata?: Record<string, string> | undefined;
79460
+ }>;
79461
+ type DTOForgeMemoryEntry = z$1.infer<typeof DTOForgeMemoryEntry>;
79462
+ /**
79463
+ * Schema that defines a single memory entry create input
79464
+ */
79465
+ declare const DTOForgeMemoryCreateInput: z$1.ZodObject<{
79466
+ projectId: z$1.ZodString;
79467
+ text: z$1.ZodString;
79468
+ category: z$1.ZodString;
79469
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
79470
+ }, "strip", z$1.ZodTypeAny, {
79471
+ category: string;
79472
+ projectId: string;
79473
+ text: string;
79474
+ metadata?: Record<string, string> | undefined;
79475
+ }, {
79476
+ category: string;
79477
+ projectId: string;
79478
+ text: string;
79479
+ metadata?: Record<string, string> | undefined;
79480
+ }>;
79481
+ type DTOForgeMemoryCreateInput = z$1.infer<typeof DTOForgeMemoryCreateInput>;
79482
+ /**
79483
+ * Schema that defines a single memory entry update input
79484
+ */
79485
+ declare const DTOForgeMemoryUpdateInput: z$1.ZodObject<{
79486
+ id: z$1.ZodString;
79487
+ text: z$1.ZodOptional<z$1.ZodString>;
79488
+ category: z$1.ZodString;
79489
+ metadata: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>;
79490
+ }, "strip", z$1.ZodTypeAny, {
79491
+ id: string;
79492
+ category: string;
79493
+ text?: string | undefined;
79494
+ metadata?: Record<string, string> | null | undefined;
79495
+ }, {
79496
+ id: string;
79497
+ category: string;
79498
+ text?: string | undefined;
79499
+ metadata?: Record<string, string> | null | undefined;
79500
+ }>;
79501
+ type DTOForgeMemoryUpdateInput = z$1.infer<typeof DTOForgeMemoryUpdateInput>;
79502
+ /**
79503
+ * Schema that defines a single memory entry delete input
79504
+ */
79505
+ declare const DTOForgeMemoryDeleteInput: z$1.ZodObject<{
79506
+ id: z$1.ZodString;
79507
+ }, "strip", z$1.ZodTypeAny, {
79508
+ id: string;
79509
+ }, {
79510
+ id: string;
79511
+ }>;
79512
+ type DTOForgeMemoryDeleteInput = z$1.infer<typeof DTOForgeMemoryDeleteInput>;
79513
+ /**
79514
+ * Response containing a list of memory entries (can be empty array)
79515
+ */
79516
+ declare const DTOForgeMemoryEntryListResponse: z$1.ZodObject<{
79517
+ memoryEntries: z$1.ZodArray<z$1.ZodObject<{
79518
+ id: z$1.ZodString;
79519
+ projectId: z$1.ZodString;
79520
+ text: z$1.ZodString;
79521
+ category: z$1.ZodString;
79522
+ createdAt: z$1.ZodString;
79523
+ updatedAt: z$1.ZodString;
79524
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
79525
+ }, "strip", z$1.ZodTypeAny, {
79526
+ id: string;
79527
+ createdAt: string;
79528
+ updatedAt: string;
79529
+ category: string;
79530
+ projectId: string;
79531
+ text: string;
79532
+ metadata?: Record<string, string> | undefined;
79533
+ }, {
79534
+ id: string;
79535
+ createdAt: string;
79536
+ updatedAt: string;
79537
+ category: string;
79538
+ projectId: string;
79539
+ text: string;
79540
+ metadata?: Record<string, string> | undefined;
79541
+ }>, "many">;
79542
+ }, "strip", z$1.ZodTypeAny, {
79543
+ memoryEntries: {
79544
+ id: string;
79545
+ createdAt: string;
79546
+ updatedAt: string;
79547
+ category: string;
79548
+ projectId: string;
79549
+ text: string;
79550
+ metadata?: Record<string, string> | undefined;
79551
+ }[];
79552
+ }, {
79553
+ memoryEntries: {
79554
+ id: string;
79555
+ createdAt: string;
79556
+ updatedAt: string;
79557
+ category: string;
79558
+ projectId: string;
79559
+ text: string;
79560
+ metadata?: Record<string, string> | undefined;
79561
+ }[];
79562
+ }>;
79563
+ type DTOForgeMemoryEntryListResponse = z$1.infer<typeof DTOForgeMemoryEntryListResponse>;
79564
+ /**
79565
+ * Response containing a single memory entry
79566
+ */
79567
+ declare const DTOForgeMemoryEntryResponse: z$1.ZodObject<{
79568
+ memoryEntry: z$1.ZodObject<{
79569
+ id: z$1.ZodString;
79570
+ projectId: z$1.ZodString;
79571
+ text: z$1.ZodString;
79572
+ category: z$1.ZodString;
79573
+ createdAt: z$1.ZodString;
79574
+ updatedAt: z$1.ZodString;
79575
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
79576
+ }, "strip", z$1.ZodTypeAny, {
79577
+ id: string;
79578
+ createdAt: string;
79579
+ updatedAt: string;
79580
+ category: string;
79581
+ projectId: string;
79582
+ text: string;
79583
+ metadata?: Record<string, string> | undefined;
79584
+ }, {
79585
+ id: string;
79586
+ createdAt: string;
79587
+ updatedAt: string;
79588
+ category: string;
79589
+ projectId: string;
79590
+ text: string;
79591
+ metadata?: Record<string, string> | undefined;
79592
+ }>;
79593
+ }, "strip", z$1.ZodTypeAny, {
79594
+ memoryEntry: {
79595
+ id: string;
79596
+ createdAt: string;
79597
+ updatedAt: string;
79598
+ category: string;
79599
+ projectId: string;
79600
+ text: string;
79601
+ metadata?: Record<string, string> | undefined;
79602
+ };
79603
+ }, {
79604
+ memoryEntry: {
79605
+ id: string;
79606
+ createdAt: string;
79607
+ updatedAt: string;
79608
+ category: string;
79609
+ projectId: string;
79610
+ text: string;
79611
+ metadata?: Record<string, string> | undefined;
79612
+ };
79613
+ }>;
79614
+ type DTOForgeMemoryEntryResponse = z$1.infer<typeof DTOForgeMemoryEntryResponse>;
79615
+ /**
79616
+ * Properties used to list memory entries
79617
+ */
79618
+ declare const DTOForgeMemoryEntryListQuery: z$1.ZodObject<{
79619
+ projectId: z$1.ZodString;
79620
+ }, "strip", z$1.ZodTypeAny, {
79621
+ projectId: string;
79622
+ }, {
79623
+ projectId: string;
79624
+ }>;
79625
+ type DTOForgeMemoryEntryListQuery = z$1.infer<typeof DTOForgeMemoryEntryListQuery>;
79626
+
79436
79627
  declare const DTOForgeParticipantsListResponse: z.ZodObject<{
79437
79628
  participants: z.ZodArray<z.ZodObject<Omit<{
79438
79629
  id: z.ZodString;
@@ -206835,7 +207026,6 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
206835
207026
  }, {
206836
207027
  type: "FunctionCallOutput";
206837
207028
  }>]>>;
206838
- opikTraceId: z.ZodOptional<z.ZodString>;
206839
207029
  }, "strip", z.ZodTypeAny, {
206840
207030
  payload: string;
206841
207031
  sender?: {
@@ -206851,7 +207041,6 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
206851
207041
  } | {
206852
207042
  type: "FunctionCallOutput";
206853
207043
  } | undefined;
206854
- opikTraceId?: string | undefined;
206855
207044
  }, {
206856
207045
  payload: string;
206857
207046
  sender?: {
@@ -206867,7 +207056,6 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
206867
207056
  } | {
206868
207057
  type: "FunctionCallOutput";
206869
207058
  } | undefined;
206870
- opikTraceId?: string | undefined;
206871
207059
  }>;
206872
207060
  type DTOForgeChatMessageCreateInput = z.infer<typeof DTOForgeChatMessageCreateInput>;
206873
207061
  /**
@@ -207322,197 +207510,6 @@ declare const DTOForgeChatMessageScoreRequest: z.ZodObject<{
207322
207510
  }>;
207323
207511
  type DTOForgeChatMessageScoreRequest = z.infer<typeof DTOForgeChatMessageScoreRequest>;
207324
207512
 
207325
- declare const DTOForgeMemoryEntry: z$1.ZodObject<{
207326
- id: z$1.ZodString;
207327
- projectId: z$1.ZodString;
207328
- text: z$1.ZodString;
207329
- category: z$1.ZodString;
207330
- createdAt: z$1.ZodString;
207331
- updatedAt: z$1.ZodString;
207332
- metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
207333
- }, "strip", z$1.ZodTypeAny, {
207334
- id: string;
207335
- createdAt: string;
207336
- updatedAt: string;
207337
- category: string;
207338
- projectId: string;
207339
- text: string;
207340
- metadata?: Record<string, string> | undefined;
207341
- }, {
207342
- id: string;
207343
- createdAt: string;
207344
- updatedAt: string;
207345
- category: string;
207346
- projectId: string;
207347
- text: string;
207348
- metadata?: Record<string, string> | undefined;
207349
- }>;
207350
- type DTOForgeMemoryEntry = z$1.infer<typeof DTOForgeMemoryEntry>;
207351
- /**
207352
- * Schema that defines a single memory entry create input
207353
- */
207354
- declare const DTOForgeMemoryCreateInput: z$1.ZodObject<{
207355
- projectId: z$1.ZodString;
207356
- text: z$1.ZodString;
207357
- category: z$1.ZodString;
207358
- metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
207359
- }, "strip", z$1.ZodTypeAny, {
207360
- category: string;
207361
- projectId: string;
207362
- text: string;
207363
- metadata?: Record<string, string> | undefined;
207364
- }, {
207365
- category: string;
207366
- projectId: string;
207367
- text: string;
207368
- metadata?: Record<string, string> | undefined;
207369
- }>;
207370
- type DTOForgeMemoryCreateInput = z$1.infer<typeof DTOForgeMemoryCreateInput>;
207371
- /**
207372
- * Schema that defines a single memory entry update input
207373
- */
207374
- declare const DTOForgeMemoryUpdateInput: z$1.ZodObject<{
207375
- id: z$1.ZodString;
207376
- text: z$1.ZodOptional<z$1.ZodString>;
207377
- category: z$1.ZodString;
207378
- metadata: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>;
207379
- }, "strip", z$1.ZodTypeAny, {
207380
- id: string;
207381
- category: string;
207382
- text?: string | undefined;
207383
- metadata?: Record<string, string> | null | undefined;
207384
- }, {
207385
- id: string;
207386
- category: string;
207387
- text?: string | undefined;
207388
- metadata?: Record<string, string> | null | undefined;
207389
- }>;
207390
- type DTOForgeMemoryUpdateInput = z$1.infer<typeof DTOForgeMemoryUpdateInput>;
207391
- /**
207392
- * Schema that defines a single memory entry delete input
207393
- */
207394
- declare const DTOForgeMemoryDeleteInput: z$1.ZodObject<{
207395
- id: z$1.ZodString;
207396
- }, "strip", z$1.ZodTypeAny, {
207397
- id: string;
207398
- }, {
207399
- id: string;
207400
- }>;
207401
- type DTOForgeMemoryDeleteInput = z$1.infer<typeof DTOForgeMemoryDeleteInput>;
207402
- /**
207403
- * Response containing a list of memory entries (can be empty array)
207404
- */
207405
- declare const DTOForgeMemoryEntryListResponse: z$1.ZodObject<{
207406
- memoryEntries: z$1.ZodArray<z$1.ZodObject<{
207407
- id: z$1.ZodString;
207408
- projectId: z$1.ZodString;
207409
- text: z$1.ZodString;
207410
- category: z$1.ZodString;
207411
- createdAt: z$1.ZodString;
207412
- updatedAt: z$1.ZodString;
207413
- metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
207414
- }, "strip", z$1.ZodTypeAny, {
207415
- id: string;
207416
- createdAt: string;
207417
- updatedAt: string;
207418
- category: string;
207419
- projectId: string;
207420
- text: string;
207421
- metadata?: Record<string, string> | undefined;
207422
- }, {
207423
- id: string;
207424
- createdAt: string;
207425
- updatedAt: string;
207426
- category: string;
207427
- projectId: string;
207428
- text: string;
207429
- metadata?: Record<string, string> | undefined;
207430
- }>, "many">;
207431
- }, "strip", z$1.ZodTypeAny, {
207432
- memoryEntries: {
207433
- id: string;
207434
- createdAt: string;
207435
- updatedAt: string;
207436
- category: string;
207437
- projectId: string;
207438
- text: string;
207439
- metadata?: Record<string, string> | undefined;
207440
- }[];
207441
- }, {
207442
- memoryEntries: {
207443
- id: string;
207444
- createdAt: string;
207445
- updatedAt: string;
207446
- category: string;
207447
- projectId: string;
207448
- text: string;
207449
- metadata?: Record<string, string> | undefined;
207450
- }[];
207451
- }>;
207452
- type DTOForgeMemoryEntryListResponse = z$1.infer<typeof DTOForgeMemoryEntryListResponse>;
207453
- /**
207454
- * Response containing a single memory entry
207455
- */
207456
- declare const DTOForgeMemoryEntryResponse: z$1.ZodObject<{
207457
- memoryEntry: z$1.ZodObject<{
207458
- id: z$1.ZodString;
207459
- projectId: z$1.ZodString;
207460
- text: z$1.ZodString;
207461
- category: z$1.ZodString;
207462
- createdAt: z$1.ZodString;
207463
- updatedAt: z$1.ZodString;
207464
- metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
207465
- }, "strip", z$1.ZodTypeAny, {
207466
- id: string;
207467
- createdAt: string;
207468
- updatedAt: string;
207469
- category: string;
207470
- projectId: string;
207471
- text: string;
207472
- metadata?: Record<string, string> | undefined;
207473
- }, {
207474
- id: string;
207475
- createdAt: string;
207476
- updatedAt: string;
207477
- category: string;
207478
- projectId: string;
207479
- text: string;
207480
- metadata?: Record<string, string> | undefined;
207481
- }>;
207482
- }, "strip", z$1.ZodTypeAny, {
207483
- memoryEntry: {
207484
- id: string;
207485
- createdAt: string;
207486
- updatedAt: string;
207487
- category: string;
207488
- projectId: string;
207489
- text: string;
207490
- metadata?: Record<string, string> | undefined;
207491
- };
207492
- }, {
207493
- memoryEntry: {
207494
- id: string;
207495
- createdAt: string;
207496
- updatedAt: string;
207497
- category: string;
207498
- projectId: string;
207499
- text: string;
207500
- metadata?: Record<string, string> | undefined;
207501
- };
207502
- }>;
207503
- type DTOForgeMemoryEntryResponse = z$1.infer<typeof DTOForgeMemoryEntryResponse>;
207504
- /**
207505
- * Properties used to list memory entries
207506
- */
207507
- declare const DTOForgeMemoryEntryListQuery: z$1.ZodObject<{
207508
- projectId: z$1.ZodString;
207509
- }, "strip", z$1.ZodTypeAny, {
207510
- projectId: string;
207511
- }, {
207512
- projectId: string;
207513
- }>;
207514
- type DTOForgeMemoryEntryListQuery = z$1.infer<typeof DTOForgeMemoryEntryListQuery>;
207515
-
207516
207513
  declare const DTOLiveblocksAuthResponse: z.ZodObject<{
207517
207514
  token: z.ZodString;
207518
207515
  }, "strip", z.ZodTypeAny, {
package/dist/index.js CHANGED
@@ -4751,7 +4751,6 @@ var ForgeProjectFile = _zod.z.object({
4751
4751
  size: _zod.z.number().int().positive().optional(),
4752
4752
  checksum: _zod.z.string()
4753
4753
  });
4754
- var ForgeProjectAccessMode = _zod.z.enum(["InviteOnly", "Open", "Unlisted"]);
4755
4754
  var ForgeProjectRole = _zod.z.enum(["Viewer", "Builder", "Admin"]);
4756
4755
  var ForgeDefaultProjectRole = ForgeProjectRole.exclude(["Admin"]);
4757
4756
  var ForgeProjectMembership = _zod.z.object({
@@ -4783,6 +4782,7 @@ var ForgeProjectIteration = _zod.z.object({
4783
4782
  previousIterationId: _zod.z.string().optional(),
4784
4783
  mergeMeta: ForgeProjectIterationMergeMeta.optional()
4785
4784
  });
4785
+ var ForgeProjectAccessMode = _zod.z.enum(["InviteOnly", "Open", "Unlisted"]);
4786
4786
  var ForgeRelationType = _zod.z.enum(["Feature", "Document"]);
4787
4787
  var ForgeRelation = _zod.z.object({
4788
4788
  id: _zod.z.string(),
@@ -9842,6 +9842,42 @@ var DTODeleteForgeIterationMessageResponse = _zod.z.object({
9842
9842
  ok: _zod.z.literal(true)
9843
9843
  });
9844
9844
 
9845
+ // src/api/dto/forge/memory.ts
9846
+
9847
+ var DTOForgeMemoryEntry = _zod2.default.object({
9848
+ id: _zod2.default.string().uuid(),
9849
+ projectId: _zod2.default.string(),
9850
+ text: _zod2.default.string(),
9851
+ category: _zod2.default.string(),
9852
+ createdAt: _zod2.default.string(),
9853
+ updatedAt: _zod2.default.string(),
9854
+ metadata: _zod2.default.record(_zod2.default.string()).optional()
9855
+ });
9856
+ var DTOForgeMemoryCreateInput = _zod2.default.object({
9857
+ projectId: _zod2.default.string(),
9858
+ text: _zod2.default.string(),
9859
+ category: _zod2.default.string(),
9860
+ metadata: _zod2.default.record(_zod2.default.string()).optional()
9861
+ });
9862
+ var DTOForgeMemoryUpdateInput = _zod2.default.object({
9863
+ id: _zod2.default.string().uuid(),
9864
+ text: _zod2.default.string().optional(),
9865
+ category: _zod2.default.string(),
9866
+ metadata: _zod2.default.record(_zod2.default.string()).nullish()
9867
+ });
9868
+ var DTOForgeMemoryDeleteInput = _zod2.default.object({
9869
+ id: _zod2.default.string().uuid()
9870
+ });
9871
+ var DTOForgeMemoryEntryListResponse = _zod2.default.object({
9872
+ memoryEntries: DTOForgeMemoryEntry.array()
9873
+ });
9874
+ var DTOForgeMemoryEntryResponse = _zod2.default.object({
9875
+ memoryEntry: DTOForgeMemoryEntry
9876
+ });
9877
+ var DTOForgeMemoryEntryListQuery = _zod2.default.object({
9878
+ projectId: _zod2.default.string()
9879
+ });
9880
+
9845
9881
  // src/api/dto/forge/project-action.ts
9846
9882
 
9847
9883
 
@@ -10676,8 +10712,7 @@ var DTOForgeChatThreadListResponse = _zod.z.object({
10676
10712
  });
10677
10713
  var DTOForgeChatMessageCreateInput = _zod.z.object({
10678
10714
  payload: _zod.z.string(),
10679
- sender: DTOForgeChatMessageSender.optional(),
10680
- opikTraceId: _zod.z.string().optional()
10715
+ sender: DTOForgeChatMessageSender.optional()
10681
10716
  });
10682
10717
  var DTOForgeChatMessageCreateResponse = _zod.z.object({
10683
10718
  message: DTOForgeChatMessage
@@ -10710,42 +10745,6 @@ var DTOForgeChatMessageScoreRequest = _zod.z.object({
10710
10745
  tags: DTOForgeChatMessageTagInput.array().optional().default([])
10711
10746
  });
10712
10747
 
10713
- // src/api/dto/forge/memory.ts
10714
-
10715
- var DTOForgeMemoryEntry = _zod2.default.object({
10716
- id: _zod2.default.string().uuid(),
10717
- projectId: _zod2.default.string(),
10718
- text: _zod2.default.string(),
10719
- category: _zod2.default.string(),
10720
- createdAt: _zod2.default.string(),
10721
- updatedAt: _zod2.default.string(),
10722
- metadata: _zod2.default.record(_zod2.default.string()).optional()
10723
- });
10724
- var DTOForgeMemoryCreateInput = _zod2.default.object({
10725
- projectId: _zod2.default.string(),
10726
- text: _zod2.default.string(),
10727
- category: _zod2.default.string(),
10728
- metadata: _zod2.default.record(_zod2.default.string()).optional()
10729
- });
10730
- var DTOForgeMemoryUpdateInput = _zod2.default.object({
10731
- id: _zod2.default.string().uuid(),
10732
- text: _zod2.default.string().optional(),
10733
- category: _zod2.default.string(),
10734
- metadata: _zod2.default.record(_zod2.default.string()).nullish()
10735
- });
10736
- var DTOForgeMemoryDeleteInput = _zod2.default.object({
10737
- id: _zod2.default.string().uuid()
10738
- });
10739
- var DTOForgeMemoryEntryListResponse = _zod2.default.object({
10740
- memoryEntries: DTOForgeMemoryEntry.array()
10741
- });
10742
- var DTOForgeMemoryEntryResponse = _zod2.default.object({
10743
- memoryEntry: DTOForgeMemoryEntry
10744
- });
10745
- var DTOForgeMemoryEntryListQuery = _zod2.default.object({
10746
- projectId: _zod2.default.string()
10747
- });
10748
-
10749
10748
  // src/api/dto/liveblocks/auth-response.ts
10750
10749
 
10751
10750
  var DTOLiveblocksAuthResponse = _zod.z.object({