@supernova-studio/client 1.37.5 → 1.37.6
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 +111 -12
- package/dist/index.d.ts +111 -12
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -460,6 +460,12 @@ var ForgeChatMessageSender = z14.discriminatedUnion("type", [
|
|
|
460
460
|
z14.object({ type: z14.literal(ForgeChatMessageSenderType.Values.FunctionCallInput) }),
|
|
461
461
|
z14.object({ type: z14.literal(ForgeChatMessageSenderType.Values.FunctionCallOutput) })
|
|
462
462
|
]);
|
|
463
|
+
var ForgeChatMessageUserScoreType = z14.enum(["Positive", "Negative"]);
|
|
464
|
+
var ForgeChatMessageUserScore = z14.object({
|
|
465
|
+
type: ForgeChatMessageUserScoreType,
|
|
466
|
+
tags: z14.string().array(),
|
|
467
|
+
comment: z14.string().optional()
|
|
468
|
+
});
|
|
463
469
|
var ForgeChatMessage = z14.object({
|
|
464
470
|
id: z14.string(),
|
|
465
471
|
threadId: z14.string(),
|
|
@@ -467,7 +473,8 @@ var ForgeChatMessage = z14.object({
|
|
|
467
473
|
createdAt: z14.coerce.date(),
|
|
468
474
|
updatedAt: z14.coerce.date(),
|
|
469
475
|
opikTraceId: z14.string().optional(),
|
|
470
|
-
sender: ForgeChatMessageSender
|
|
476
|
+
sender: ForgeChatMessageSender,
|
|
477
|
+
userScore: ForgeChatMessageUserScore.optional()
|
|
471
478
|
});
|
|
472
479
|
var ForgeChatThread = z15.object({
|
|
473
480
|
id: z15.string(),
|