@supernova-studio/client 1.31.2 → 1.31.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 +146 -41
- package/dist/index.d.ts +146 -41
- package/dist/index.js +18 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5220,7 +5220,9 @@ var ProjectFeature = z179.object({
|
|
|
5220
5220
|
sortOrder: SortOrder.default(0),
|
|
5221
5221
|
status: ProjectFeatureStatus.default("Draft"),
|
|
5222
5222
|
initialPrompt: z179.string(),
|
|
5223
|
-
updatedAt: z179.coerce.date().optional()
|
|
5223
|
+
updatedAt: z179.coerce.date().optional(),
|
|
5224
|
+
numberOfIterations: z179.number().min(0).default(0),
|
|
5225
|
+
lastReplyTimestamp: z179.coerce.date().optional()
|
|
5224
5226
|
});
|
|
5225
5227
|
var ForgeProjectFigmaNode = z180.object({
|
|
5226
5228
|
id: z180.string().uuid(),
|
|
@@ -9136,7 +9138,7 @@ var DTOFeatureMessage = z312.object({
|
|
|
9136
9138
|
/**
|
|
9137
9139
|
* Link agent response object describing current state of
|
|
9138
9140
|
*/
|
|
9139
|
-
agentResponseTrackerId: Id.optional(),
|
|
9141
|
+
agentResponseTrackerId: Id.optional().nullable(),
|
|
9140
9142
|
attachments: DTOFeatureMessageAttachments.optional(),
|
|
9141
9143
|
createdAt: z312.string(),
|
|
9142
9144
|
updatedAt: z312.string().optional()
|
|
@@ -9214,7 +9216,7 @@ var DTOFeatureMessageCreateInput = DTOFeatureMessage.pick({
|
|
|
9214
9216
|
agentResponseTrackerId: true,
|
|
9215
9217
|
createdAt: true
|
|
9216
9218
|
});
|
|
9217
|
-
var DTOFeatureMessageUpdateInput = DTOFeatureMessageCreateInput.
|
|
9219
|
+
var DTOFeatureMessageUpdateInput = DTOFeatureMessageCreateInput.omit({ id: true }).merge(DTOFeatureMessage.pick({ agentResponseTrackerId: true })).partial();
|
|
9218
9220
|
var DTOFeatureMessageReactionCreateInput = z312.object({
|
|
9219
9221
|
messageId: Id,
|
|
9220
9222
|
emoji: z312.string()
|
|
@@ -11499,6 +11501,16 @@ var ForgeProjectFeaturesEndpoint = class {
|
|
|
11499
11501
|
{}
|
|
11500
11502
|
);
|
|
11501
11503
|
}
|
|
11504
|
+
agentWorkFinalized(workspaceId, projectId, featureId, body) {
|
|
11505
|
+
return this.requestExecutor.json(
|
|
11506
|
+
`/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/agent-work-finalize`,
|
|
11507
|
+
DTOFeatureIterationResponse,
|
|
11508
|
+
{
|
|
11509
|
+
method: "POST",
|
|
11510
|
+
body
|
|
11511
|
+
}
|
|
11512
|
+
);
|
|
11513
|
+
}
|
|
11502
11514
|
};
|
|
11503
11515
|
|
|
11504
11516
|
// src/api/endpoints/forge/project-files.ts
|
|
@@ -17956,7 +17968,9 @@ var LocalProjectActionExecutor = class {
|
|
|
17956
17968
|
updatedAt: /* @__PURE__ */ new Date(),
|
|
17957
17969
|
createdAt: /* @__PURE__ */ new Date(),
|
|
17958
17970
|
createdByUserId: this.userId,
|
|
17959
|
-
initialPrompt: input.initialPrompt
|
|
17971
|
+
initialPrompt: input.initialPrompt,
|
|
17972
|
+
lastReplyTimestamp: void 0,
|
|
17973
|
+
numberOfIterations: 0
|
|
17960
17974
|
});
|
|
17961
17975
|
}
|
|
17962
17976
|
//
|