@supernova-studio/client 1.43.2 → 1.43.3

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.mjs CHANGED
@@ -5668,7 +5668,8 @@ var FlaggedFeature = z204.enum([
5668
5668
  "PulsarConcurrencyMode",
5669
5669
  "PulsarConcurrency",
5670
5670
  "PulsarProfilerMode",
5671
- "ForgeE2BTemplate"
5671
+ "ForgeE2BTemplate",
5672
+ "ForgeOnDemandIterations"
5672
5673
  ]);
5673
5674
  var FeatureFlagMap = z204.record(FlaggedFeature, z204.boolean());
5674
5675
  var FeatureFlag = z204.object({
@@ -9469,7 +9470,14 @@ var DTOFeatureIterationPromoteInput = z311.object({
9469
9470
  id: Id
9470
9471
  });
9471
9472
  var DTOFeatureIterationSetLatestInput = z311.object({
9472
- id: Id
9473
+ id: Id,
9474
+ /**
9475
+ * Optional message ID to determine the context for setting this iteration as latest.
9476
+ * When provided, uses this message's parent as the tag context.
9477
+ * When undefined, uses the iteration's original startedFromMessage.
9478
+ * When null, explicitly excludes message context from the tag.
9479
+ */
9480
+ contextMessageId: Id.nullish()
9473
9481
  });
9474
9482
  var DTOFeatureIterationUpdateInput = z311.object({
9475
9483
  id: Id,
@@ -9508,6 +9516,11 @@ var DTOFeatureIterationUpdateArtifactsInput = z311.object({
9508
9516
  name: z311.string().optional(),
9509
9517
  artifactDiff: DTOFeatureIterationArtifactDiff
9510
9518
  });
9519
+ var DTOFeatureIterationUpdateArtifactsByMessageInput = z311.object({
9520
+ messageId: Id,
9521
+ name: z311.string().optional(),
9522
+ artifactDiff: DTOFeatureIterationArtifactDiff
9523
+ });
9511
9524
  var DTOFeatureAgentWorkFinalizeInput = z311.object({
9512
9525
  messageId: Id
9513
9526
  });
@@ -9702,6 +9715,7 @@ var DTOThreadMessage = z315.object({
9702
9715
  * If defined, this message is considered to be a reply to different message
9703
9716
  */
9704
9717
  replyToMessageId: Id.optional(),
9718
+ promptMetadata: z315.record(z315.string(), z315.any()).optional(),
9705
9719
  createdAt: z315.string(),
9706
9720
  updatedAt: z315.string().optional()
9707
9721
  });
@@ -9718,7 +9732,8 @@ var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
9718
9732
  body: true,
9719
9733
  isPrompt: true,
9720
9734
  startsNewThread: true,
9721
- parentMessageId: true
9735
+ parentMessageId: true,
9736
+ promptMetadata: true
9722
9737
  }).extend({
9723
9738
  attachments: DTOThreadMessageAttachmentsCreateInput.optional()
9724
9739
  });
@@ -19327,6 +19342,7 @@ export {
19327
19342
  DTOFeatureIterationTagCreateInput,
19328
19343
  DTOFeatureIterationTagListResponse,
19329
19344
  DTOFeatureIterationTagResponse,
19345
+ DTOFeatureIterationUpdateArtifactsByMessageInput,
19330
19346
  DTOFeatureIterationUpdateArtifactsInput,
19331
19347
  DTOFeatureIterationUpdateInput,
19332
19348
  DTOFeatureMessage,