UNPKG

@mastra/core

Version:
8 lines • 616 B
export declare const AGENT_THREAD_KEY_SEPARATOR = "\0"; export declare const AGENT_THREAD_STREAM_TOPIC_PREFIX = "agent.thread-stream"; /** The key identifying a thread's stream state: `<resourceId>\u0000<threadId>`. */ export declare function agentThreadStreamKey(resourceId: string | undefined, threadId: string): string; /** The pubsub topic carrying a thread's live event stream. */ export declare function agentThreadStreamTopic(resourceId: string | undefined, threadId: string): string; export declare function agentThreadStreamTopicForKey(key: string): string; //# sourceMappingURL=thread-stream-topic.d.ts.map