Create Feishu sheets for spreadsheet files

This commit is contained in:
wuyang6
2026-05-11 17:56:58 +08:00
parent dba827b9b0
commit 3a4da782ec
4 changed files with 410 additions and 23 deletions
+2
View File
@@ -107,6 +107,7 @@ async function listSessionFiles(
download_url: `/api/claw/files?path=${encodeURIComponent(filePath)}`,
online_doc_url: cleanOnlineDocUrl(onlineDoc?.url) ?? null,
online_doc_title: onlineDoc?.title ?? null,
online_doc_kind: onlineDoc?.kind ?? null,
online_doc_updated_at: onlineDoc?.updated_at ?? null,
};
}),
@@ -125,6 +126,7 @@ function cleanOnlineDocUrl(value: unknown) {
type OnlineDocRecord = {
url?: string;
title?: string;
kind?: string;
updated_at?: number;
};