@supernova-studio/model 1.37.5 → 1.37.8
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 +62 -20
- package/dist/index.d.ts +62 -20
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -307,6 +307,12 @@ var ForgeChatMessageSender = z14.discriminatedUnion("type", [
|
|
|
307
307
|
z14.object({ type: z14.literal(ForgeChatMessageSenderType.Values.FunctionCallInput) }),
|
|
308
308
|
z14.object({ type: z14.literal(ForgeChatMessageSenderType.Values.FunctionCallOutput) })
|
|
309
309
|
]);
|
|
310
|
+
var ForgeChatMessageUserScoreType = z14.enum(["Positive", "Negative"]);
|
|
311
|
+
var ForgeChatMessageUserScore = z14.object({
|
|
312
|
+
type: ForgeChatMessageUserScoreType,
|
|
313
|
+
tags: z14.string().array(),
|
|
314
|
+
comment: z14.string().optional()
|
|
315
|
+
});
|
|
310
316
|
var ForgeChatMessage = z14.object({
|
|
311
317
|
id: z14.string(),
|
|
312
318
|
threadId: z14.string(),
|
|
@@ -314,7 +320,9 @@ var ForgeChatMessage = z14.object({
|
|
|
314
320
|
createdAt: z14.coerce.date(),
|
|
315
321
|
updatedAt: z14.coerce.date(),
|
|
316
322
|
opikTraceId: z14.string().optional(),
|
|
317
|
-
sender: ForgeChatMessageSender
|
|
323
|
+
sender: ForgeChatMessageSender,
|
|
324
|
+
userScore: ForgeChatMessageUserScore.optional(),
|
|
325
|
+
replyToMessageId: z14.string().optional()
|
|
318
326
|
});
|
|
319
327
|
|
|
320
328
|
// src/chat-threads/chat-thread.ts
|
|
@@ -7020,6 +7028,8 @@ export {
|
|
|
7020
7028
|
ForgeChatMessage,
|
|
7021
7029
|
ForgeChatMessageSender,
|
|
7022
7030
|
ForgeChatMessageSenderType,
|
|
7031
|
+
ForgeChatMessageUserScore,
|
|
7032
|
+
ForgeChatMessageUserScoreType,
|
|
7023
7033
|
ForgeChatThread,
|
|
7024
7034
|
ForgeFeatureRoom,
|
|
7025
7035
|
ForgeFigmaArtifact,
|