feat(web): parité layout AppImage desktop + switch TUI naïf/CLI custom — #208
This commit is contained in:
@ -14,6 +14,8 @@
|
||||
* survives JSON.
|
||||
*/
|
||||
|
||||
import type { ReplyChunk } from "@/domain";
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Base64 helpers (binary PTY bytes over JSON frames)
|
||||
// ---------------------------------------------------------------------------
|
||||
@ -137,5 +139,18 @@ export interface StatusPayload {
|
||||
/** Payload of a `chat.output` frame (structured assistant stream). */
|
||||
export interface ChatOutputPayload {
|
||||
sessionId: string;
|
||||
chunk: unknown; // ReplyChunk-shaped (kind-tagged); normalized by the caller.
|
||||
chunk: ReplyChunk;
|
||||
}
|
||||
|
||||
/** Payload of a `chat.attached` acknowledgement. */
|
||||
export interface ChatAttachedPayload {
|
||||
sessionId?: string;
|
||||
session?: {
|
||||
sessionId: string;
|
||||
projectId?: string;
|
||||
nodeId?: string | null;
|
||||
};
|
||||
cellKind?: "chat" | "pty";
|
||||
assignedConversationId?: string;
|
||||
scrollback?: ReplyChunk[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user