@supernova-studio/client 1.47.1 → 1.47.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.d.mts +203 -2
- package/dist/index.d.ts +203 -2
- package/dist/index.js +43 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +42 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5736,7 +5736,8 @@ var FlaggedFeature = z206.enum([
|
|
|
5736
5736
|
"PulsarConcurrency",
|
|
5737
5737
|
"PulsarProfilerMode",
|
|
5738
5738
|
"ForgeE2BTemplate",
|
|
5739
|
-
"ForgeOnDemandIterations"
|
|
5739
|
+
"ForgeOnDemandIterations",
|
|
5740
|
+
"ForgeAutoRetryOnErrors"
|
|
5740
5741
|
]);
|
|
5741
5742
|
var FeatureFlagMap = z206.record(FlaggedFeature, z206.boolean());
|
|
5742
5743
|
var FeatureFlag = z206.object({
|
|
@@ -7500,15 +7501,30 @@ var DTOSubscription = z249.object({
|
|
|
7500
7501
|
internalStatus: InternalStatusSchema.optional(),
|
|
7501
7502
|
product: ProductCodeSchema,
|
|
7502
7503
|
featuresSummary: FeaturesSummary.optional(),
|
|
7504
|
+
/**
|
|
7505
|
+
* @deprecated get available-products for this information
|
|
7506
|
+
*/
|
|
7503
7507
|
stripeProductDescription: z249.string().optional(),
|
|
7508
|
+
/**
|
|
7509
|
+
* @deprecated get available-products for this information
|
|
7510
|
+
*/
|
|
7504
7511
|
stripeProductFeatures: z249.array(z249.string()).optional(),
|
|
7512
|
+
/**
|
|
7513
|
+
* @deprecated get available-products for this information
|
|
7514
|
+
*/
|
|
7505
7515
|
stripeProductAdditionalFeatures: z249.array(z249.string()).optional(),
|
|
7516
|
+
/**
|
|
7517
|
+
* @deprecated always undefined
|
|
7518
|
+
*/
|
|
7506
7519
|
stripeSubscriptionMainItemId: z249.string().optional(),
|
|
7507
7520
|
/**
|
|
7508
7521
|
* @deprecated use `fullSeatPriceId` or `builderSeatPriceId`
|
|
7509
7522
|
*/
|
|
7510
7523
|
planPriceId: z249.string(),
|
|
7511
7524
|
planInterval: DTOBillingInterval,
|
|
7525
|
+
/**
|
|
7526
|
+
* @deprecated All subscriptions were migrated to work as "price per creator"
|
|
7527
|
+
*/
|
|
7512
7528
|
isPricePerCreator: z249.boolean().optional(),
|
|
7513
7529
|
legacyVersion: z249.string().optional(),
|
|
7514
7530
|
seats: z249.number(),
|
|
@@ -9517,6 +9533,11 @@ var DTOFeatureIteration = z314.object({
|
|
|
9517
9533
|
* - Timeout: the iteration hasn't been finished in a reasonable time, the iteration cannot be consumed
|
|
9518
9534
|
*/
|
|
9519
9535
|
state: DTOFeatureIterationState.optional(),
|
|
9536
|
+
/**
|
|
9537
|
+
* Description of a sandbox error if there were any (such as during `npm i` or `npm run dev`).
|
|
9538
|
+
* To be used for "fix with AI"
|
|
9539
|
+
*/
|
|
9540
|
+
errorDescription: z314.string().nullish(),
|
|
9520
9541
|
/**
|
|
9521
9542
|
* URL of a static preview of the feature
|
|
9522
9543
|
*/
|
|
@@ -9548,12 +9569,19 @@ var DTOFeatureIterationTag = z314.object({
|
|
|
9548
9569
|
*/
|
|
9549
9570
|
iterationId: Id
|
|
9550
9571
|
});
|
|
9572
|
+
var DTOSandboxError = z314.object({
|
|
9573
|
+
/** At what stage the error has occured */
|
|
9574
|
+
stage: z314.enum(["PackageInstall", "HealthCheck", "Build", "Unknown"]),
|
|
9575
|
+
/** We will use this in "fix with AI" */
|
|
9576
|
+
errorDescription: z314.string()
|
|
9577
|
+
});
|
|
9551
9578
|
var DTOFeatureSandbox = z314.object({
|
|
9552
9579
|
id: z314.string(),
|
|
9553
9580
|
url: z314.string(),
|
|
9554
9581
|
parentMessageId: Id.optional(),
|
|
9555
9582
|
currentIterationId: Id,
|
|
9556
|
-
expiresAt: z314.string().optional()
|
|
9583
|
+
expiresAt: z314.string().optional(),
|
|
9584
|
+
error: DTOSandboxError.optional()
|
|
9557
9585
|
});
|
|
9558
9586
|
var DTOFeatureMessageCreateInput = DTOFeatureMessage.pick({
|
|
9559
9587
|
id: true,
|
|
@@ -9818,6 +9846,10 @@ var DTOThreadMessage = z318.object({
|
|
|
9818
9846
|
* AI agent to generate a response and perform an action within the feature
|
|
9819
9847
|
*/
|
|
9820
9848
|
isPrompt: z318.boolean().optional(),
|
|
9849
|
+
/**
|
|
9850
|
+
* Indicates if the message is an attempt to retry agent message. Only available for agent messages.
|
|
9851
|
+
*/
|
|
9852
|
+
isRetry: z318.boolean().optional(),
|
|
9821
9853
|
/**
|
|
9822
9854
|
* Indicates if the sender requested agent to reply in a thread
|
|
9823
9855
|
*/
|
|
@@ -9862,6 +9894,9 @@ var DTOThreadMessageFinalizeInput = z318.object({
|
|
|
9862
9894
|
agentMessageBody: z318.string().optional(),
|
|
9863
9895
|
promptState: DTOThreadPromptState.optional()
|
|
9864
9896
|
});
|
|
9897
|
+
var DTOThreadMessageRetryInput = z318.object({
|
|
9898
|
+
agentMessageId: Id
|
|
9899
|
+
});
|
|
9865
9900
|
var DTOThreadMessageUpdateInput = DTOThreadMessage.pick({
|
|
9866
9901
|
id: true
|
|
9867
9902
|
}).merge(
|
|
@@ -10456,6 +10491,7 @@ var DTOForgeProject = z331.object({
|
|
|
10456
10491
|
defaultRole: DTOForgeProjectDefaultRole.default("Viewer"),
|
|
10457
10492
|
isArchived: z331.boolean(),
|
|
10458
10493
|
emoji: z331.string().optional(),
|
|
10494
|
+
tokenThemeSetId: z331.string().optional(),
|
|
10459
10495
|
createdAt: z331.coerce.date(),
|
|
10460
10496
|
createdByUserId: z331.string().optional(),
|
|
10461
10497
|
lastUserActivityAt: z331.coerce.date().optional(),
|
|
@@ -10483,7 +10519,8 @@ var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
|
10483
10519
|
tags: true,
|
|
10484
10520
|
accessMode: true,
|
|
10485
10521
|
defaultRole: true,
|
|
10486
|
-
emoji: true
|
|
10522
|
+
emoji: true,
|
|
10523
|
+
tokenThemeSetId: true
|
|
10487
10524
|
}).extend({
|
|
10488
10525
|
/** @deprecated use `name` and `description` properties on project */
|
|
10489
10526
|
meta: DTOForgeProject.shape.meta.optional(),
|
|
@@ -19837,6 +19874,7 @@ export {
|
|
|
19837
19874
|
DTORenderedAssetFile,
|
|
19838
19875
|
DTORestoreDocumentationGroupInput,
|
|
19839
19876
|
DTORestoreDocumentationPageInput,
|
|
19877
|
+
DTOSandboxError,
|
|
19840
19878
|
DTOStorybookAccessTokenPayload,
|
|
19841
19879
|
DTOStorybookAccessTokenResponse,
|
|
19842
19880
|
DTOStorybookEntry,
|
|
@@ -19878,6 +19916,7 @@ export {
|
|
|
19878
19916
|
DTOThreadMessageFinalizeInput,
|
|
19879
19917
|
DTOThreadMessageListResponse,
|
|
19880
19918
|
DTOThreadMessageResponse,
|
|
19919
|
+
DTOThreadMessageRetryInput,
|
|
19881
19920
|
DTOThreadMessageSender,
|
|
19882
19921
|
DTOThreadMessageSystemSender,
|
|
19883
19922
|
DTOThreadMessageUpdateInput,
|