mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-29 12:59:13 +01:00
Implement selected-agent issue chat backend
This commit is contained in:
1 parent
2d51920655
commit
e26ae06035
7 files changed
+711
-12
No files matched your search
@@ -264,6 +264,7 @@ export {
|
||||
issueCommentMetadataSectionSchema,
|
||||
issueCommentMetadataSchema,
|
||||
addIssueCommentSchema,
|
||||
selectedAgentChatCommentSchema,
|
||||
issueThreadInteractionStatusSchema,
|
||||
issueThreadInteractionKindSchema,
|
||||
issueThreadInteractionContinuationPolicySchema,
|
||||
|
||||
@@ -548,6 +548,12 @@ export const addIssueCommentSchema = z.object({
|
||||
|
||||
export type AddIssueComment = z.infer<typeof addIssueCommentSchema>;
|
||||
|
||||
export const selectedAgentChatCommentSchema = addIssueCommentSchema.extend({
|
||||
targetAgentId: z.string().uuid().optional().nullable(),
|
||||
});
|
||||
|
||||
export type SelectedAgentChatComment = z.infer<typeof selectedAgentChatCommentSchema>;
|
||||
|
||||
export const issueThreadInteractionStatusSchema = z.enum(ISSUE_THREAD_INTERACTION_STATUSES);
|
||||
export const issueThreadInteractionKindSchema = z.enum(ISSUE_THREAD_INTERACTION_KINDS);
|
||||
export const issueThreadInteractionContinuationPolicySchema = z.enum(
|
||||
|
||||
Reference in new issue
Block a user