fix(web): address skill row review feedback

This commit is contained in:
Yichen Jiang
2026-08-06 17:21:13 +08:00
parent 690f7ae035
commit a667d2cd64
39 changed files with 326 additions and 142 deletions
+15 -3
View File
@@ -26,14 +26,26 @@ declare module '@deepseek-ai/dsh-llm' {
}
}
/** Paired tool/call metadata carried beside a paged result whose call may be outside the page. */
export interface HistoryToolCall {
/** Registered tool name used for keyed presentation dispatch. */
name: string
/** Exact durable arguments JSON from the paired tool/call. */
arguments: string
/** Unix epoch ms of the paired tool/call event. */
time: number
}
/**
* One history page entry: the raw event plus the optional host-computed render
* intent (same semantics as the mux frame's `view` slot — a pagination-time
* derivation, never persisted).
* One history page entry: the raw event plus optional host-computed render
* intent and result pairing. Both annotations are pagination-time derivations,
* never persisted; `call` preserves a tool/result's identity when its call
* event lies outside this page.
*/
export interface HistoryEntry {
event: SessionEvent
view?: ToolEventView
call?: HistoryToolCall
}
/**