feat(M4-009,M4-010,M4-011): routing rules CRUD, per-user overrides, agent capabilities (#320)
Some checks failed
ci/woodpecker/push/ci Pipeline failed

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #320.
This commit is contained in:
2026-03-23 00:48:42 +00:00
committed by jason.woltje
parent 059962fe33
commit b18976a7aa
12 changed files with 706 additions and 14 deletions

View File

@@ -74,6 +74,14 @@ export interface ChatMessagePayload {
agentId?: string;
}
/** Routing decision summary included in session:info for transparency */
export interface RoutingDecisionInfo {
model: string;
provider: string;
ruleName: string;
reason: string;
}
/** Session info pushed when session is created or model changes */
export interface SessionInfoPayload {
conversationId: string;
@@ -81,6 +89,8 @@ export interface SessionInfoPayload {
modelId: string;
thinkingLevel: string;
availableThinkingLevels: string[];
/** Present when automatic routing determined the model for this session */
routingDecision?: RoutingDecisionInfo;
}
/** Client request to change thinking level */

View File

@@ -9,6 +9,7 @@ export type {
ToolEndPayload,
SessionUsagePayload,
SessionInfoPayload,
RoutingDecisionInfo,
SetThinkingPayload,
ErrorPayload,
ChatMessagePayload,