feat: wire channel mode runtime config and docs
This commit is contained in:
@@ -12,6 +12,12 @@ export type DirigentConfig = {
|
||||
schedulingIdentifier?: string;
|
||||
/** Wait identifier: agent ends with this when waiting for a human reply (default: 👤) */
|
||||
waitIdentifier?: string;
|
||||
/** Human-visible marker that enters multi-message mode for a channel (default: ↗️) */
|
||||
multiMessageStartMarker?: string;
|
||||
/** Human-visible marker that exits multi-message mode for a channel (default: ↙️) */
|
||||
multiMessageEndMarker?: string;
|
||||
/** Moderator marker sent after each human message while multi-message mode is active (default: ⤵️) */
|
||||
multiMessagePromptMarker?: string;
|
||||
noReplyProvider: string;
|
||||
noReplyModel: string;
|
||||
noReplyPort?: number;
|
||||
@@ -19,6 +25,14 @@ export type DirigentConfig = {
|
||||
moderatorBotToken?: string;
|
||||
};
|
||||
|
||||
export type ChannelRuntimeMode = "normal" | "multi-message";
|
||||
|
||||
export type ChannelRuntimeState = {
|
||||
mode: ChannelRuntimeMode;
|
||||
shuffling: boolean;
|
||||
lastShuffledAt?: number;
|
||||
};
|
||||
|
||||
export type ChannelPolicy = {
|
||||
listMode?: "human-list" | "agent-list";
|
||||
humanList?: string[];
|
||||
|
||||
Reference in New Issue
Block a user