diff --git a/github-pages/scripts/generate-content.mjs b/github-pages/scripts/generate-content.mjs index 74fe741b..05054730 100644 --- a/github-pages/scripts/generate-content.mjs +++ b/github-pages/scripts/generate-content.mjs @@ -243,11 +243,6 @@ for (const product of productDocuments) { await cp(path.join(repoDir, product.source, filename), path.join(outputDir, product.source, filename)); } } -await mkdir(path.join(outputDir, "reme_studio", "public"), { recursive: true }); -await cp( - path.join(repoDir, "reme_studio", "public", "og.jpg"), - path.join(outputDir, "reme_studio", "public", "og.jpg"), -); await writeFile( path.join(outputDir, "manifest.json"), `${JSON.stringify({ documents: await buildManifest() }, null, 2)}\n`, diff --git a/reme_studio/README.md b/reme_studio/README.md index 67c6792a..ecfac0e0 100644 --- a/reme_studio/README.md +++ b/reme_studio/README.md @@ -6,7 +6,7 @@ ReMe Studio is the local web workspace for ReMe. It lets you browse and edit use links, and chat with the ReMe Agent without moving durable memory into a separate application database. Search indexes, graphs, and other derived metadata remain rebuildable from the source files. -![ReMe Studio workspace](https://raw.githubusercontent.com/agentscope-ai/ReMe/main/reme_studio/public/og.jpg) +![ReMe Studio workspace](https://github.com/user-attachments/assets/7d0db0d4-69c5-49ef-b1ca-ef8c6cab1138) ## Installation diff --git a/reme_studio/README_ZH.md b/reme_studio/README_ZH.md index 9b2e9a2e..8195702c 100644 --- a/reme_studio/README_ZH.md +++ b/reme_studio/README_ZH.md @@ -5,7 +5,7 @@ ReMe Studio 是 ReMe 的本地 Web 工作区。你可以在这里浏览和编辑自己拥有的工作区文件、探索记忆之间的联系,并与 ReMe Agent 对话,而无需将持久记忆迁移到独立的应用数据库中。搜索索引、图谱和其他派生元数据均可根据源文件重建。 -![ReMe Studio 工作区](https://raw.githubusercontent.com/agentscope-ai/ReMe/main/reme_studio/public/og.jpg) +![ReMe Studio 工作区](https://github.com/user-attachments/assets/7d0db0d4-69c5-49ef-b1ca-ef8c6cab1138) ## 安装 diff --git a/reme_studio/app/layout.tsx b/reme_studio/app/layout.tsx index 705de075..f686c5c0 100644 --- a/reme_studio/app/layout.tsx +++ b/reme_studio/app/layout.tsx @@ -9,6 +9,9 @@ const geistMono = Geist_Mono({ subsets: ["latin"], }); +const remeStudioOgImage = + "https://github.com/user-attachments/assets/7d0db0d4-69c5-49ef-b1ca-ef8c6cab1138"; + export async function generateMetadata(): Promise { const requestHeaders = await headers(); const host = @@ -31,9 +34,9 @@ export async function generateMetadata(): Promise { description: "本地优先的 Agent 记忆工作区", images: [ { - url: "/og.jpg", - width: 1200, - height: 626, + url: remeStudioOgImage, + width: 2400, + height: 1252, alt: "ReMe Studio memory workspace", }, ], @@ -42,7 +45,7 @@ export async function generateMetadata(): Promise { card: "summary_large_image", title: "ReMe Studio", description: "本地优先的 Agent 记忆工作区", - images: ["/og.jpg"], + images: [remeStudioOgImage], }, }; } diff --git a/reme_studio/public/og.jpg b/reme_studio/public/og.jpg deleted file mode 100644 index 786cd0ac..00000000 Binary files a/reme_studio/public/og.jpg and /dev/null differ