mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-13 04:01:35 +00:00
* feat(integrations): add native Claude Code and Codex memory plugins * docs(integrations): make plugin installation the coding agent entry point * feat(integrations): configure plugin connections from user settings * refactor(codex): use MCP tools and native plugin settings * fix(codex): restore plugin hooks on current runtimes * docs(codex): expand setup guide and reserve screenshot slots * feat(codex): add configurable memory consolidation and status * feat(codex): merge connection checks into a tabbed status app * docs(codex): diagnose blocked status panel sandbox loading * fix(codex): simplify status panel layout for narrow cards * docs(codex): focus guides on connecting and using ReMe * docs(codex): specify validated CLI and desktop version requirements * feat(codex): add ReMe branding to plugin icons * docs(codex): prepare manual screenshot workflow * fix(codex): simplify ReMe status layout and activity * docs(codex): explain Hook loading and local project context * fix(codex): keep status refresh clear of host close control * fix(codex): retain status resources for active MCP connections * docs(codex): add real desktop screenshots to usage guides * fix(integrations): address memory capture and consolidation review * fix(codex): preserve capture endpoint during background delivery
18 lines
916 B
JavaScript
18 lines
916 B
JavaScript
import { build } from "esbuild";
|
|
import { copyFile, mkdir, readFile, writeFile } from "node:fs/promises";
|
|
|
|
const result = await build({
|
|
entryPoints: [new URL("./src/status.js", import.meta.url).pathname],
|
|
bundle: true,
|
|
write: false,
|
|
format: "iife",
|
|
target: "es2022",
|
|
legalComments: "inline",
|
|
});
|
|
const template = await readFile(new URL("./src/status.html", import.meta.url), "utf8");
|
|
const script = result.outputFiles[0].text.replaceAll("</script", "<\\/script");
|
|
const output = new URL("../plugins/reme/ui/", import.meta.url);
|
|
await mkdir(output, { recursive: true });
|
|
await writeFile(new URL("status.html", output), template.replace("/* STATUS_APP */", () => script));
|
|
await copyFile(new URL("./node_modules/@openai/mcp-extensions/LICENSE", import.meta.url), new URL("LICENSE-mcp-extensions.txt", output));
|
|
console.log("Built plugins/reme/ui/status.html (self-contained; no runtime Node dependency)");
|