Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
import { z } from "zod";
import { ConversationSchema } from "../chat/entities.ts";
import { IdSchema } from "../core/ids.ts";
export const InboxOriginSchema = z.strictObject({
botId: IdSchema.nullable(),
botName: z.string().max(200).nullable(),
groupId: IdSchema.nullable(),
groupName: z.string().max(200).nullable(),
conversationId: IdSchema.nullable(),
conversationKind: ConversationSchema.shape.kind.nullable(),
conversationTitle: z.string().max(200).nullable(),
messageId: IdSchema.nullable(),
});