refactor: trim chat attachment type exports · openclaw/openclaw@c80ffe3
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -27,7 +27,7 @@ export function decodeStrictBase64(value: string, maxDecodedBytes: number): Buff
|
27 | 27 | return decoded; |
28 | 28 | } |
29 | 29 | |
30 | | -export type SubagentInlineAttachment = { |
| 30 | +type SubagentInlineAttachment = { |
31 | 31 | name: string; |
32 | 32 | content: string; |
33 | 33 | encoding?: "utf8" | "base64"; |
@@ -48,14 +48,14 @@ export type SubagentAttachmentReceiptFile = {
|
48 | 48 | sha256: string; |
49 | 49 | }; |
50 | 50 | |
51 | | -export type SubagentAttachmentReceipt = { |
| 51 | +type SubagentAttachmentReceipt = { |
52 | 52 | count: number; |
53 | 53 | totalBytes: number; |
54 | 54 | files: SubagentAttachmentReceiptFile[]; |
55 | 55 | relDir: string; |
56 | 56 | }; |
57 | 57 | |
58 | | -export type MaterializeSubagentAttachmentsResult = |
| 58 | +type MaterializeSubagentAttachmentsResult = |
59 | 59 | | { |
60 | 60 | status: "ok"; |
61 | 61 | receipt: SubagentAttachmentReceipt; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。