@supernova-studio/client 1.48.0 → 1.48.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.
- package/dist/index.d.mts +169 -1
- package/dist/index.d.ts +169 -1
- package/dist/index.js +25 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9511,6 +9511,11 @@ var DTOFeatureIterationArtifactsDiff = z314.object({
|
|
|
9511
9511
|
deleted: z314.array(DTOFeatureArtifact.shape.key).optional().default([])
|
|
9512
9512
|
});
|
|
9513
9513
|
var DTOFeatureIterationState = z314.enum(["InProgress", "Success", "Error", "Timeout"]);
|
|
9514
|
+
var DTOFeatureIterationErrorType = z314.enum(["PackageInstall", "Build", "Unknown"]);
|
|
9515
|
+
var DTOFeatureIterationError = z314.object({
|
|
9516
|
+
description: z314.string(),
|
|
9517
|
+
type: DTOFeatureIterationErrorType
|
|
9518
|
+
});
|
|
9514
9519
|
var DTOFeatureIteration = z314.object({
|
|
9515
9520
|
id: Id,
|
|
9516
9521
|
/**
|
|
@@ -9544,8 +9549,15 @@ var DTOFeatureIteration = z314.object({
|
|
|
9544
9549
|
/**
|
|
9545
9550
|
* Description of a sandbox error if there were any (such as during `npm i` or `npm run dev`).
|
|
9546
9551
|
* To be used for "fix with AI"
|
|
9552
|
+
*
|
|
9553
|
+
* @deprecated use `error.description` instead
|
|
9547
9554
|
*/
|
|
9548
9555
|
errorDescription: z314.string().nullish(),
|
|
9556
|
+
/**
|
|
9557
|
+
* Description of a sandbox error if there were any (such as during `npm i` or `npm run build`).
|
|
9558
|
+
* To be used for "fix with AI"
|
|
9559
|
+
*/
|
|
9560
|
+
error: DTOFeatureIterationError.optional(),
|
|
9549
9561
|
/**
|
|
9550
9562
|
* The cost in credits to generate this iteration
|
|
9551
9563
|
*/
|
|
@@ -9675,6 +9687,10 @@ var DTOFeatureIterationUpdateArtifactsInput = z314.object({
|
|
|
9675
9687
|
name: z314.string().optional(),
|
|
9676
9688
|
artifactDiff: DTOFeatureIterationArtifactDiff
|
|
9677
9689
|
});
|
|
9690
|
+
var DTOFeatureIterationValidateInput = z314.object({
|
|
9691
|
+
id: Id,
|
|
9692
|
+
messageId: Id
|
|
9693
|
+
});
|
|
9678
9694
|
var DTOFeatureIterationUpdateArtifactsByMessageInput = z314.object({
|
|
9679
9695
|
messageId: Id,
|
|
9680
9696
|
name: z314.string().optional(),
|
|
@@ -9710,6 +9726,10 @@ var DTOFeatureIterationResponse = z314.object({
|
|
|
9710
9726
|
var DTOFeatureIterationListResponse = z314.object({
|
|
9711
9727
|
iterations: DTOFeatureIteration.array()
|
|
9712
9728
|
});
|
|
9729
|
+
var DTOFeatureIterationValidateResponse = z314.discriminatedUnion("success", [
|
|
9730
|
+
z314.object({ success: z314.literal(true) }),
|
|
9731
|
+
z314.object({ success: z314.literal(false), error: DTOFeatureIterationError })
|
|
9732
|
+
]);
|
|
9713
9733
|
var DTOFeatureIterationTagResponse = z314.object({
|
|
9714
9734
|
tag: DTOFeatureIterationTag
|
|
9715
9735
|
});
|
|
@@ -19645,6 +19665,8 @@ export {
|
|
|
19645
19665
|
DTOFeatureIterationArtifactDiff,
|
|
19646
19666
|
DTOFeatureIterationArtifactsDiff,
|
|
19647
19667
|
DTOFeatureIterationCreateInput,
|
|
19668
|
+
DTOFeatureIterationError,
|
|
19669
|
+
DTOFeatureIterationErrorType,
|
|
19648
19670
|
DTOFeatureIterationListResponse,
|
|
19649
19671
|
DTOFeatureIterationPromoteInput,
|
|
19650
19672
|
DTOFeatureIterationResponse,
|
|
@@ -19657,6 +19679,8 @@ export {
|
|
|
19657
19679
|
DTOFeatureIterationUpdateArtifactsByMessageInput,
|
|
19658
19680
|
DTOFeatureIterationUpdateArtifactsInput,
|
|
19659
19681
|
DTOFeatureIterationUpdateInput,
|
|
19682
|
+
DTOFeatureIterationValidateInput,
|
|
19683
|
+
DTOFeatureIterationValidateResponse,
|
|
19660
19684
|
DTOFeatureMessage,
|
|
19661
19685
|
DTOFeatureMessageAgentSender,
|
|
19662
19686
|
DTOFeatureMessageAttachments,
|