feat(cli): références d'attachments [file n]/[image n] dans le transcript + zone chat redimensionnable — #188 (QA verte)
- Attachments: projection canonique ChatPromptAttachmentDto (référence [file n]/[image n] par compteur de type, ordre d'import) insérée dans le prompt modèle et transportée par ReplyChunk::UserPrompt (attachmentRefs) ; rendu compact côté CustomAgentChatView. - Resize: la zone chat (LeafView/LayoutGrid) est redimensionnable, taille actuelle conservée par défaut, préférence locale persistée. - Tests: commands (projection des refs), dto_chat, chat_bridge, CustomAgentChatView, LayoutGrid.chat.
This commit is contained in:
@ -1691,8 +1691,21 @@ export interface ReplyProgress {
|
||||
toolName?: string;
|
||||
}
|
||||
|
||||
export interface ChatPromptAttachment {
|
||||
reference: string;
|
||||
filename: string;
|
||||
mime?: string;
|
||||
sizeBytes?: number;
|
||||
readablePath?: string;
|
||||
}
|
||||
|
||||
export type ReplyChunk =
|
||||
| { kind: "userPrompt"; text: string; attachments?: string[] }
|
||||
| {
|
||||
kind: "userPrompt";
|
||||
text: string;
|
||||
attachments?: string[];
|
||||
attachmentRefs?: ChatPromptAttachment[];
|
||||
}
|
||||
| { kind: "textDelta"; text: string }
|
||||
| { kind: "toolActivity"; label: string }
|
||||
| { kind: "progress"; progress: ReplyProgress }
|
||||
|
||||
Reference in New Issue
Block a user