@supernova-studio/model 1.39.1 → 1.40.1

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 CHANGED
@@ -332,6 +332,7 @@ declare const AuthV2Request: z.ZodObject<{
332
332
  codeChallengeMethod: z.ZodString;
333
333
  redirectUri: z.ZodString;
334
334
  sessionId: z.ZodString;
335
+ clientApp: z.ZodOptional<z.ZodString>;
335
336
  }, "strip", z.ZodTypeAny, {
336
337
  state: string;
337
338
  codeChallenge: string;
@@ -339,6 +340,7 @@ declare const AuthV2Request: z.ZodObject<{
339
340
  redirectUri: string;
340
341
  sessionId: string;
341
342
  code?: string | undefined;
343
+ clientApp?: string | undefined;
342
344
  }, {
343
345
  state: string;
344
346
  codeChallenge: string;
@@ -346,6 +348,7 @@ declare const AuthV2Request: z.ZodObject<{
346
348
  redirectUri: string;
347
349
  sessionId: string;
348
350
  code?: string | undefined;
351
+ clientApp?: string | undefined;
349
352
  }>;
350
353
  type AuthV2Request = z.infer<typeof AuthV2Request>;
351
354
 
@@ -1647,7 +1650,6 @@ declare const ForgeChatMessage: z.ZodObject<{
1647
1650
  tags: string[];
1648
1651
  comment?: string | undefined;
1649
1652
  }>>;
1650
- replyToMessageId: z.ZodOptional<z.ZodString>;
1651
1653
  }, "strip", z.ZodTypeAny, {
1652
1654
  id: string;
1653
1655
  createdAt: Date;
@@ -1673,7 +1675,6 @@ declare const ForgeChatMessage: z.ZodObject<{
1673
1675
  tags: string[];
1674
1676
  comment?: string | undefined;
1675
1677
  } | undefined;
1676
- replyToMessageId?: string | undefined;
1677
1678
  }, {
1678
1679
  id: string;
1679
1680
  createdAt: Date;
@@ -1699,7 +1700,6 @@ declare const ForgeChatMessage: z.ZodObject<{
1699
1700
  tags: string[];
1700
1701
  comment?: string | undefined;
1701
1702
  } | undefined;
1702
- replyToMessageId?: string | undefined;
1703
1703
  }>;
1704
1704
  type ForgeChatMessage = z.infer<typeof ForgeChatMessage>;
1705
1705
 
package/dist/index.d.ts CHANGED
@@ -332,6 +332,7 @@ declare const AuthV2Request: z.ZodObject<{
332
332
  codeChallengeMethod: z.ZodString;
333
333
  redirectUri: z.ZodString;
334
334
  sessionId: z.ZodString;
335
+ clientApp: z.ZodOptional<z.ZodString>;
335
336
  }, "strip", z.ZodTypeAny, {
336
337
  state: string;
337
338
  codeChallenge: string;
@@ -339,6 +340,7 @@ declare const AuthV2Request: z.ZodObject<{
339
340
  redirectUri: string;
340
341
  sessionId: string;
341
342
  code?: string | undefined;
343
+ clientApp?: string | undefined;
342
344
  }, {
343
345
  state: string;
344
346
  codeChallenge: string;
@@ -346,6 +348,7 @@ declare const AuthV2Request: z.ZodObject<{
346
348
  redirectUri: string;
347
349
  sessionId: string;
348
350
  code?: string | undefined;
351
+ clientApp?: string | undefined;
349
352
  }>;
350
353
  type AuthV2Request = z.infer<typeof AuthV2Request>;
351
354
 
@@ -1647,7 +1650,6 @@ declare const ForgeChatMessage: z.ZodObject<{
1647
1650
  tags: string[];
1648
1651
  comment?: string | undefined;
1649
1652
  }>>;
1650
- replyToMessageId: z.ZodOptional<z.ZodString>;
1651
1653
  }, "strip", z.ZodTypeAny, {
1652
1654
  id: string;
1653
1655
  createdAt: Date;
@@ -1673,7 +1675,6 @@ declare const ForgeChatMessage: z.ZodObject<{
1673
1675
  tags: string[];
1674
1676
  comment?: string | undefined;
1675
1677
  } | undefined;
1676
- replyToMessageId?: string | undefined;
1677
1678
  }, {
1678
1679
  id: string;
1679
1680
  createdAt: Date;
@@ -1699,7 +1700,6 @@ declare const ForgeChatMessage: z.ZodObject<{
1699
1700
  tags: string[];
1700
1701
  comment?: string | undefined;
1701
1702
  } | undefined;
1702
- replyToMessageId?: string | undefined;
1703
1703
  }>;
1704
1704
  type ForgeChatMessage = z.infer<typeof ForgeChatMessage>;
1705
1705
 
package/dist/index.js CHANGED
@@ -35,7 +35,8 @@ var AuthV2Request = _zod.z.object({
35
35
  codeChallenge: _zod.z.string(),
36
36
  codeChallengeMethod: _zod.z.string(),
37
37
  redirectUri: _zod.z.string(),
38
- sessionId: _zod.z.string()
38
+ sessionId: _zod.z.string(),
39
+ clientApp: _zod.z.string().optional()
39
40
  });
40
41
 
41
42
  // src/auth/session.ts
@@ -321,8 +322,7 @@ var ForgeChatMessage = _zod.z.object({
321
322
  updatedAt: _zod.z.coerce.date(),
322
323
  opikTraceId: _zod.z.string().optional(),
323
324
  sender: ForgeChatMessageSender,
324
- userScore: ForgeChatMessageUserScore.optional(),
325
- replyToMessageId: _zod.z.string().optional()
325
+ userScore: ForgeChatMessageUserScore.optional()
326
326
  });
327
327
 
328
328
  // src/chat-threads/chat-thread.ts