@supernova-studio/client 1.24.0 → 1.26.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.d.mts +104 -49
- package/dist/index.d.ts +104 -49
- package/dist/index.js +29 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9149,9 +9149,9 @@ var DTOFeatureAgentResponseTracker = z312.object({
|
|
|
9149
9149
|
var DTOFeatureArtifact = z312.object({
|
|
9150
9150
|
id: Id,
|
|
9151
9151
|
/**
|
|
9152
|
-
*
|
|
9152
|
+
* Key of the artifact, can include path like `src/components/button.tsx`
|
|
9153
9153
|
*/
|
|
9154
|
-
|
|
9154
|
+
key: z312.string(),
|
|
9155
9155
|
/**
|
|
9156
9156
|
* Id of the project file that holds content of this artifact
|
|
9157
9157
|
*/
|
|
@@ -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
|
*/
|
|
@@ -9206,7 +9202,7 @@ var DTOFeatureMessageReactionDeleteInput = z312.object({
|
|
|
9206
9202
|
});
|
|
9207
9203
|
var DTOFeatureArtifactCreateInput = z312.object({
|
|
9208
9204
|
id: Id,
|
|
9209
|
-
|
|
9205
|
+
key: z312.string(),
|
|
9210
9206
|
fileId: z312.string()
|
|
9211
9207
|
});
|
|
9212
9208
|
var DTOFeatureArtifactDeleteInput = z312.object({
|
|
@@ -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,
|