@supernova-studio/client 1.23.2 → 1.25.0

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
@@ -9177,10 +9177,6 @@ var DTOFeatureIteration = z312.object({
9177
9177
  * Indicates whether the iteration is currently being generated by an agent
9178
9178
  */
9179
9179
  isInProgress: z312.boolean().optional(),
9180
- /**
9181
- * Artifacts that the iteration is built from
9182
- */
9183
- artifactIds: Id.array().optional(),
9184
9180
  /**
9185
9181
  * URL of a static preview of the feature
9186
9182
  */
@@ -9214,12 +9210,33 @@ var DTOFeatureArtifactDeleteInput = z312.object({
9214
9210
  });
9215
9211
  var DTOFeatureIterationCreateInput = DTOFeatureIteration.pick({
9216
9212
  id: true,
9217
- artifactIds: true,
9218
9213
  startedFromMessageId: true
9219
9214
  });
9220
9215
  var DTOFeatureIterationPromoteInput = z312.object({
9221
9216
  id: Id
9222
9217
  });
9218
+ var DTOFeatureIterationArtifactDiff = z312.object({
9219
+ /**
9220
+ * Map of artifact key -> artifact content that describes artifacts that will be
9221
+ * create or updated in this iteration
9222
+ */
9223
+ upsert: z312.record(
9224
+ z312.object({
9225
+ artifactContent: z312.string()
9226
+ })
9227
+ ),
9228
+ /**
9229
+ * List artifact keys to remove from this iteration
9230
+ */
9231
+ remove: z312.array(z312.string())
9232
+ });
9233
+ var DTOFeatureIterationUpdateArtifactsInput = z312.object({
9234
+ id: Id,
9235
+ artifactDiff: DTOFeatureIterationArtifactDiff
9236
+ });
9237
+ var DTOFeatureAgentWorkFinalizeInput = z312.object({
9238
+ messageId: Id
9239
+ });
9223
9240
  var DTOFeatureMessageResponse = z312.object({
9224
9241
  message: DTOFeatureMessage
9225
9242
  });
@@ -18411,6 +18428,7 @@ export {
18411
18428
  DTOExporterType,
18412
18429
  DTOExporterUpdateInput,
18413
18430
  DTOFeatureAgentResponseTracker,
18431
+ DTOFeatureAgentWorkFinalizeInput,
18414
18432
  DTOFeatureArtifact,
18415
18433
  DTOFeatureArtifactCreateInput,
18416
18434
  DTOFeatureArtifactDeleteInput,
@@ -18422,10 +18440,12 @@ export {
18422
18440
  DTOFeatureEventReactionsDeleted,
18423
18441
  DTOFeatureEventReactionsSent,
18424
18442
  DTOFeatureIteration,
18443
+ DTOFeatureIterationArtifactDiff,
18425
18444
  DTOFeatureIterationCreateInput,
18426
18445
  DTOFeatureIterationListResponse,
18427
18446
  DTOFeatureIterationPromoteInput,
18428
18447
  DTOFeatureIterationResponse,
18448
+ DTOFeatureIterationUpdateArtifactsInput,
18429
18449
  DTOFeatureMessage,
18430
18450
  DTOFeatureMessageAgentSender,
18431
18451
  DTOFeatureMessageAttachments,