function resolveStatusCommandControlLane(params: {
rawText?: string;
botUsername?: string;
}): boolean { // Only read-only status commands should bypass the per-topic lane. Commands // like /export-session stay on the normal lane because they materialize // session state to disk and should not interleave with an active turn. const normalizedBody = normalizeCommandBody(
params.rawText?.trim() ?? "",
params.botUsername ? { botUsername: params.botUsername } : undefined,
); const alias = maybeResolveTextAlias(normalizedBody); if (!alias) { returnfalse;
} const command = listChatCommands().find((entry) =>
entry.textAliases.some((candidate) => candidate.trim().toLowerCase() === alias),
); return command?.category === "status" && command.key !== "export-session";
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.