Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
39623ab
fix: The feedback function fails when calling the search interface du…
whipser030 Mar 6, 2026
0a69ec2
feat:optimize config (#1176)
wustzdy Mar 6, 2026
d5824ca
refactor: move openwork-memos-integration into apps/ directory
tangbotony Mar 7, 2026
28f1944
refactor: add openwork-memos-integration under apps/
tangbotony Mar 7, 2026
5f6bff1
fix: add multi-agent memory isolation and cursor reset protection
tangbotony Mar 7, 2026
318ad4f
chore: clean up gitignore and add missing config files
tangbotony Mar 7, 2026
7d389a7
chore: remove large binary assets and add development guide
tangbotony Mar 7, 2026
ffd1337
fix(memos-local-openclaw): honor memory_search maxResults
Mar 7, 2026
ab11cfa
fix(memos-local-openclaw): preserve memory_search default maxResults
Mar 8, 2026
9a8da39
fix(memos-local-openclaw): sanitize captured metadata and evidence
Mar 8, 2026
fce208b
fix(memos-local-openclaw): enforce owner isolation for memory tools
Mar 8, 2026
f802a7b
fix(memos-local-openclaw): flush ingest work before shutdown
Mar 8, 2026
ffcf59e
Merge pull request #4 from tangbotony/codex/openclaw-async-lifecycle
tangbotony Mar 8, 2026
952fe86
Merge pull request #1 from tangbotony/ai-jiaqian/review-openclaw
tangbotony Mar 8, 2026
5547b44
Merge pull request #2 from tangbotony/codex/openclaw-capture-sanitize
tangbotony Mar 8, 2026
4af509a
Merge pull request #3 from tangbotony/codex/openclaw-access-control
tangbotony Mar 8, 2026
97c7a69
feat(memos-local-openclaw): task CRUD, topic boundary detection, skil…
tangbotony Mar 8, 2026
a23a45e
docs(memos-local-openclaw): update README with latest features and in…
tangbotony Mar 8, 2026
1724d26
feat: add persistent local memory plugin for OpenClaw (memos-local-op…
CaralHsi Mar 9, 2026
dcf21e7
docs: update READMEs and bump local plugin to v1.0.0
tangbotony Mar 9, 2026
6a170a2
docs: remove duplicate Local plugin entry from Resources section
tangbotony Mar 9, 2026
6468078
docs(memos-local-openclaw): update homepage links to production domain
tangbotony Mar 9, 2026
84b2d75
docs: update READMEs and bump memos-local-openclaw-plugin to v1.0.0 (…
CaralHsi Mar 9, 2026
b94159e
chore: change version number to v2.0.8 (#1186)
wustzdy Mar 9, 2026
c2f9787
Merge branch 'main' into dev-20260302-v2.0.8
CaralHsi Mar 9, 2026
6a43b49
Dev 20260302 v2.0.8 (#1148)
CaralHsi Mar 9, 2026
02fd241
add memos-local-plugin version
Mar 11, 2026
f0ef599
Merge branch 'local-openclaw-plugin-test' into dev-20260309-v2.0.9
Mar 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions apps/memos-local-openclaw/src/viewer/html.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const viewerHTML = `<!DOCTYPE html>
export function viewerHTML(pluginVersion?: string): string {
const vBadge = pluginVersion ? `<span class="version-badge">v${pluginVersion}</span>` : '';
return `<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
Expand Down Expand Up @@ -110,6 +112,8 @@ input,textarea,select{font-family:inherit;font-size:inherit}
.topbar .brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;color:var(--text);letter-spacing:-.02em;flex-shrink:0}
.topbar .brand .icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:22px;background:none;border-radius:0}
.topbar .brand .sub{font-weight:400;color:var(--text-muted);font-size:11px}
.version-badge{font-size:10px;font-weight:600;color:var(--text-muted);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);padding:1px 7px;border-radius:6px;margin-left:6px;letter-spacing:.02em;user-select:all}
[data-theme="light"] .version-badge{background:rgba(0,0,0,.05);border-color:rgba(0,0,0,.08);color:var(--text-sec)}
.topbar-center{flex:1;display:flex;justify-content:center}
.topbar .actions{display:flex;align-items:center;gap:6px;flex-shrink:0}

Expand Down Expand Up @@ -711,7 +715,7 @@ input,textarea,select{font-family:inherit;font-size:inherit}
<div class="topbar">
<div class="brand">
<div class="icon"><svg width="24" height="24" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg" style="filter:drop-shadow(0 0 8px rgba(255,77,77,.3))"><defs><linearGradient id="tLG" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="#ff4d4d"/><stop offset="100%" stop-color="#991b1b"/></linearGradient></defs><path d="M60 10C30 10 15 35 15 55C15 75 30 95 45 100L45 110L55 110L55 100C55 100 60 102 65 100L65 110L75 110L75 100C90 95 105 75 105 55C105 35 90 10 60 10Z" fill="url(#tLG)"/><path d="M20 45C5 40 0 50 5 60C10 70 20 65 25 55C28 48 25 45 20 45Z" fill="url(#tLG)"/><path d="M100 45C115 40 120 50 115 60C110 70 100 65 95 55C92 48 95 45 100 45Z" fill="url(#tLG)"/><path d="M45 15Q35 5 30 8" stroke="#ff4d4d" stroke-width="2" stroke-linecap="round"/><path d="M75 15Q85 5 90 8" stroke="#ff4d4d" stroke-width="2" stroke-linecap="round"/><circle cx="45" cy="35" r="6" fill="#050810"/><circle cx="75" cy="35" r="6" fill="#050810"/><circle cx="46" cy="34" r="2" fill="#00e5cc"/><circle cx="76" cy="34" r="2" fill="#00e5cc"/></svg></div>
<span data-i18n="title">OpenClaw Memory</span>
<span data-i18n="title">OpenClaw Memory</span>${vBadge}
</div>
<div class="topbar-center">
<nav class="nav-tabs">
Expand Down Expand Up @@ -4103,3 +4107,4 @@ checkAuth();

</body>
</html>`;
}
10 changes: 9 additions & 1 deletion apps/memos-local-openclaw/src/viewer/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ export class ViewerServer {
private readonly ctx?: PluginContext;

private static readonly SESSION_TTL = 24 * 60 * 60 * 1000;
private static readonly PLUGIN_VERSION: string = (() => {
try {
const pkgPath = path.resolve(__dirname, "../../package.json");
return JSON.parse(fs.readFileSync(pkgPath, "utf-8")).version ?? "unknown";
} catch {
return "unknown";
}
})();
private resetToken: string;
private migrationRunning = false;
private migrationAbort = false;
Expand Down Expand Up @@ -336,7 +344,7 @@ export class ViewerServer {

private serveViewer(res: http.ServerResponse): void {
res.writeHead(200, { "Content-Type": "text/html; charset=utf-8", "Cache-Control": "no-store, no-cache, must-revalidate, max-age=0", "Pragma": "no-cache", "Expires": "0" });
res.end(viewerHTML);
res.end(viewerHTML(ViewerServer.PLUGIN_VERSION));
}

// ─── Data APIs ───
Expand Down
Loading