Add role-backed repo Discord identities

This commit is contained in:
Meta Vens 2026-05-18 10:39:02 +01:00
commit ed36561c8d
15 changed files with 427 additions and 9 deletions

View file

@ -32,6 +32,13 @@ export const postDiscordMessageInputSchema = {
personaAvatarUrl: z.string().url().max(512).optional(),
};
export const postRepoIdentityMessageInputSchema = {
identity: z.string().min(1),
channelId: z.string().min(1),
content: z.string().min(1).max(1800),
replyToMessageId: z.string().min(1).optional(),
};
export const searchSourcesInputSchema = {
query: z.string().min(1).max(240),
limit: z.number().int().min(1).max(MAX_RETRIEVAL_RESULT_LIMIT).optional(),
@ -73,6 +80,13 @@ export interface PostDiscordMessageArgs {
personaAvatarUrl?: string;
}
export interface PostRepoIdentityMessageArgs {
identity: string;
channelId: string;
content: string;
replyToMessageId?: string;
}
export interface ListIndexedReposArgs {
[key: string]: never;
}