@codrihub/memora 0.0.0-stage → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +66 -2
- package/assets/app.js +11146 -0
- package/assets/apple-touch-icon.png +0 -0
- package/assets/favicon.svg +1 -0
- package/assets/icon-192.png +0 -0
- package/assets/icon-512.png +0 -0
- package/assets/icon-maskable-512.png +0 -0
- package/assets/index.html +226 -0
- package/assets/login.html +463 -0
- package/assets/manifest.webmanifest +83 -0
- package/assets/offline.html +39 -0
- package/assets/robots.txt +50 -0
- package/assets/shortcut-activity.png +0 -0
- package/assets/shortcut-brain.png +0 -0
- package/assets/shortcut-nodes.png +0 -0
- package/assets/style.css +1 -0
- package/assets/sw.js +93 -0
- package/bin/memora-cli.js +4 -0
- package/bin/memora.js +4 -0
- package/lib/launcher.js +96 -0
- package/package.json +41 -4
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="1 1 22 22"><defs><linearGradient id="mmg5" x1="3" y1="3" x2="21" y2="21" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#5eead4"/><stop offset="1" stop-color="#22d3ee"/></linearGradient><linearGradient id="mmt5" x1="0" y1="0" x2="0" y2="24" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#17202e"/><stop offset="1" stop-color="#0b0f17"/></linearGradient><radialGradient id="mmc5" cx="50%" cy="50%" r="50%"><stop offset="0" stop-color="#ffffff"/><stop offset=".55" stop-color="#a5f3fc"/><stop offset="1" stop-color="#22d3ee"/></radialGradient></defs><g fill="none" stroke="none"><rect x="1.5" y="1.5" width="21" height="21" rx="6.2" fill="url(#mmt5)"/><rect x="1.5" y="1.5" width="21" height="21" rx="6.2" fill="none" stroke="url(#mmg5)" stroke-opacity=".55" stroke-width=".8"/><path d="M7.2 16.8V7.4l4.8 5.1 4.8-5.1v9.4" fill="none" stroke="url(#mmg5)" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/><circle cx="7.2" cy="16.8" r="1.7" fill="#5eead4"/><circle cx="7.2" cy="7.4" r="1.7" fill="#5eead4"/><circle cx="16.8" cy="7.4" r="1.7" fill="#22d3ee"/><circle cx="16.8" cy="16.8" r="1.7" fill="#22d3ee"/><circle cx="12" cy="12.5" r="3" fill="#22d3ee" opacity=".22"/><circle cx="12" cy="12.5" r="2" fill="url(#mmc5)"/></g></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<!-- Generated by web/scripts/build-pages.mjs. Do not edit. -->
|
|
3
|
+
<html lang="en" data-theme="dark">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<script>(function(){var p='dark';try{var v=localStorage.getItem('memora.theme');if(v==='light'||v==='dark'||v==='system')p=v}catch(e){}if(p==='system'){try{p=matchMedia('(prefers-color-scheme: light)').matches?'light':'dark'}catch(e){p='dark'}}document.documentElement.dataset.theme=p})();</script>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
8
|
+
<meta name="color-scheme" content="dark light">
|
|
9
|
+
<title>Memora</title>
|
|
10
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
|
11
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
12
|
+
<!-- PWA: installable to home screen or desktop, and remains available offline -->
|
|
13
|
+
<link rel="manifest" href="/manifest.webmanifest">
|
|
14
|
+
<meta name="theme-color" content="#07090e">
|
|
15
|
+
<meta name="mobile-web-app-capable" content="yes">
|
|
16
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
17
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
18
|
+
<meta name="apple-mobile-web-app-title" content="Memora">
|
|
19
|
+
<meta name="application-name" content="Memora">
|
|
20
|
+
<meta name="description" content="Memora, second brain for your AI: a self-hosted memory vault of Markdown notes, wired into a living brain your agents read and write over MCP.">
|
|
21
|
+
<meta name="robots" content="noindex,nofollow,noarchive,nosnippet,noimageindex">
|
|
22
|
+
<meta name="googlebot" content="noindex,nofollow,noarchive,nosnippet,noimageindex">
|
|
23
|
+
<meta name="referrer" content="no-referrer">
|
|
24
|
+
<style>
|
|
25
|
+
.tree{flex:1 1 auto;min-height:0;overflow:auto;padding:0 2px 10px}.folder{--fc:var(--accent);border-radius:var(--r-sm);margin-bottom:1px}.folder-row{display:flex;align-items:center;gap:8px;width:100%;padding:7px 8px;border-radius:var(--r-sm);color:var(--fg);text-align:left;transition:background .16s}.folder-row:hover{background:var(--panel-2)}.folder.open>.folder-row{background:var(--panel-2)}.caret{width:13px;height:13px;color:var(--muted);flex:none;transition:transform .28s var(--ease);transform:rotate(-90deg)}.folder.open>.folder-row .caret{transform:rotate(0)}.f-ico{width:8px;height:8px;border-radius:3px;background:var(--fc);flex:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--fc) 18%,transparent)}.f-name{font-weight:600;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.f-count{margin-left:auto;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.f-acts{display:flex;gap:2px;opacity:0;transition:opacity .16s}.folder-row:hover .f-acts,.note-row:hover .n-acts{opacity:1}.f-acts button,.n-acts button{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;color:var(--muted)}.f-acts button:hover,.n-acts button:hover{background:#202838;color:var(--fg)}.f-acts .danger:hover,.n-acts .danger:hover{color:var(--danger)}.f-body{overflow:hidden;height:0;opacity:0;transition:height .3s var(--ease),opacity .22s var(--ease)}.folder.open>.f-body{opacity:1}.f-body-inner{padding:2px 0 6px 14px;border-left:1px solid var(--line);margin-left:12px}.note-row{display:flex;align-items:center;gap:8px;width:100%;padding:6px 8px;border-radius:var(--r-sm);color:var(--muted);text-align:left;transition:background .16s,color .16s}.note-row:hover{background:var(--panel-2);color:var(--fg)}.note-row.active{background:#7dd3fc1a;color:var(--accent-2)}.n-dot{width:5px;height:5px;border-radius:99px;background:currentColor;opacity:.55;flex:none}.n-name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.n-acts{margin-left:auto;display:flex;gap:2px;opacity:0}.pin-row{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:var(--r-sm);color:var(--muted)}.pin-row:hover{background:var(--panel-2);color:var(--fg)}.pin-row .pin-open{display:flex;align-items:center;gap:8px;flex:1;min-width:0;text-align:left;color:inherit}.pin-row .p-tag{font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border:1px solid var(--line);border-radius:5px;padding:1px 5px;color:var(--muted)}.pin-row .p-name{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pin-row .p-x{width:20px;height:20px;border-radius:5px;color:var(--muted);display:grid;place-items:center}.pin-row .p-x:hover{color:var(--warn)}#graph{position:absolute;inset:0;width:100%;height:100%;cursor:grab;display:block}.gtip{position:absolute;z-index:5;pointer-events:none;background:#0b0e14f0;border:1px solid var(--line);border-radius:9px;padding:6px 10px;font-size:12px;box-shadow:var(--shadow);max-width:280px}.gcontrols{position:absolute;left:16px;bottom:16px;display:flex;gap:6px;z-index:6}.gcontrols button{width:34px;height:34px;border-radius:10px;background:#12161feb;border:1px solid var(--line);color:var(--muted);display:grid;place-items:center;font-size:15px;backdrop-filter:blur(6px);transition:all .16s}.gcontrols button:hover{color:var(--fg);border-color:#2f3850}.gcontrols button.on{color:var(--accent);border-color:#5eead466}.ghud{position:absolute;right:14px;top:14px;z-index:6;background:#12161feb;border:1px solid var(--line);border-radius:10px;padding:8px 12px;font-size:11.5px;color:var(--muted);backdrop-filter:blur(6px);display:flex;gap:14px;font-variant-numeric:tabular-nums}.glegend{position:absolute;left:16px;top:16px;z-index:6;max-width:230px;background:#12161fed;border:1px solid var(--line);border-radius:12px;padding:9px 11px;backdrop-filter:blur(6px);max-height:60vh;overflow:auto}.glegend button{display:flex;align-items:center;gap:8px;width:100%;padding:3px 4px;border-radius:6px;font-size:12px;color:var(--muted)}.glegend button:hover{background:var(--panel-2);color:var(--fg)}.glegend button.dim{opacity:.4}.note-body{font-size:14px;line-height:1.75}.note-body h1,.note-body h2,.note-body h3,.note-body h4{line-height:1.3;margin:1.4em 0 .5em;font-weight:660;letter-spacing:-.2px}.note-body h1{font-size:21px;border-bottom:1px solid var(--line);padding-bottom:.3em}.note-body h2{font-size:17.5px}.note-body h3{font-size:15.5px;color:var(--accent-2)}.note-body p{margin:.7em 0}.note-body ul,.note-body ol{margin:.6em 0;padding-left:1.4em}.note-body li{margin:.25em 0}.note-body blockquote{margin:.9em 0;padding:.5em 1em;border-left:3px solid var(--accent);background:var(--panel-2);border-radius:0 var(--r-sm) var(--r-sm) 0;color:var(--muted)}.note-body code{font-family:var(--mono);font-size:12.5px;background:var(--panel-2);border:1px solid var(--line);border-radius:5px;padding:1px 5px}.note-body pre{background:#0d1119;border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;overflow:auto;margin:.9em 0}.note-body pre code{background:none;border:0;padding:0;font-size:12.5px;line-height:1.6}.note-body table{border-collapse:collapse;width:100%;margin:1em 0;font-size:13px}.note-body th,.note-body td{border:1px solid var(--line);padding:7px 10px;text-align:left}.note-body th{background:var(--panel-2);font-weight:650}.note-body img{max-width:100%;border-radius:var(--r-sm)}.note-body hr{border:0;border-top:1px solid var(--line);margin:1.4em 0}.note-editor{width:100%;min-height:54vh;background:#0d1119;border:1px solid var(--line);border-radius:var(--r);padding:14px;font-family:var(--mono);font-size:13px;line-height:1.7;outline:none;resize:vertical}.note-editor:focus{border-color:#5eead473}@media(max-width:760px){.glegend{display:none}}
|
|
26
|
+
@font-face{font-family:'Memora Script';font-style:normal;font-weight:700;font-display:block;src:url(data:font/woff2;base64,d09GMgABAAAAAA/sABAAAAAAHHwAAA+QAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjYbhwY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
|
|
28
|
+
html,body{margin:0;height:100%;background:#07090e;color:#e8ecf3;overflow:hidden;
|
|
29
|
+
font:14px/1.55 "Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
|
|
30
|
+
:root[data-theme=light] body{background:#f4f6fa;color:#0f172a}
|
|
31
|
+
.hidden{display:none !important}
|
|
32
|
+
#appShell{display:contents}
|
|
33
|
+
/* The static splash matches the particle splash's first frame (same size and
|
|
34
|
+
place, see brain/splash.ts: mark 0.3/19 x 24 of min(w,h), centred 2% above
|
|
35
|
+
the middle), so the boot crossfades into the grains instead of cutting. */
|
|
36
|
+
.splash{position:fixed;inset:0;z-index:100;
|
|
37
|
+
background:#07090e;transition:opacity .4s ease}
|
|
38
|
+
:root[data-theme=light] .splash{background:#f4f6fa}
|
|
39
|
+
.splash.gone{opacity:0;pointer-events:none}
|
|
40
|
+
.splash-mark{position:absolute;left:50%;top:calc(50% - 2vmin);width:37.9vmin;height:37.9vmin;translate:-50% -50%}
|
|
41
|
+
.splash-name{position:absolute;left:0;right:0;top:calc(50% + 18vmin);text-align:center;font:700 36px/1 'Memora Script', 'Segoe Script', cursive;color:#e6e9ef}
|
|
42
|
+
:root[data-theme=light] .splash-name{color:#0f172a}
|
|
43
|
+
.splash-by{position:absolute;left:0;right:0;top:calc(50% + 18vmin + 46px);text-align:center;font:700 11px/1 system-ui,-apple-system,'Segoe UI',sans-serif;
|
|
44
|
+
letter-spacing:.22em;text-indent:.22em;text-transform:uppercase;color:#8b98ad}
|
|
45
|
+
.splash-msg{position:absolute;left:0;right:0;bottom:max(40px,9vh);text-align:center;font:500 13px/1 system-ui,-apple-system,'Segoe UI',sans-serif;color:#8592a8}
|
|
46
|
+
/* Boot progress: creeps on its own while the bundle downloads (there is no
|
|
47
|
+
script yet to report it), then main.ts fills it the moment the app runs. */
|
|
48
|
+
.splash-bar{position:absolute;left:50%;bottom:calc(max(40px,9vh) - 18px);width:min(180px,40vw);height:3px;translate:-50% 0;border-radius:99px;
|
|
49
|
+
overflow:hidden;background:rgba(133,146,168,.18)}
|
|
50
|
+
:root[data-theme=light] .splash-bar{background:rgba(15,23,42,.08)}
|
|
51
|
+
.splash-bar i{display:block;height:100%;width:0;border-radius:inherit;background:#08c6d4;animation:splash-creep 8s cubic-bezier(.1,.7,.2,1) forwards}
|
|
52
|
+
.splash-bar.done i{width:100% !important;animation:none;transition:width .25s ease-out}
|
|
53
|
+
@keyframes splash-creep{0%{width:0}6%{width:28%}25%{width:62%}60%{width:82%}100%{width:92%}}
|
|
54
|
+
@media (prefers-reduced-motion:reduce){.splash-bar i{animation-duration:.01s}}
|
|
55
|
+
|
|
56
|
+
</style>
|
|
57
|
+
</head>
|
|
58
|
+
<body>
|
|
59
|
+
<div id="app">
|
|
60
|
+
<div id="splash" class="splash" role="status" aria-live="polite">
|
|
61
|
+
<svg class="splash-mark" viewBox="0 0 24 24" aria-hidden="true"><defs><linearGradient id="mmg7m2051" x1="3" y1="3" x2="21" y2="21" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#5eead4"/><stop offset="1" stop-color="#22d3ee"/></linearGradient><linearGradient id="mmt7m2051" x1="0" y1="0" x2="0" y2="24" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#17202e"/><stop offset="1" stop-color="#0b0f17"/></linearGradient><radialGradient id="mmc7m2051" cx="50%" cy="50%" r="50%"><stop offset="0" stop-color="#ffffff"/><stop offset=".55" stop-color="#a5f3fc"/><stop offset="1" stop-color="#22d3ee"/></radialGradient></defs><g fill="none" stroke="none"><rect x="1.5" y="1.5" width="21" height="21" rx="6.2" fill="url(#mmt7m2051)"/><rect x="1.5" y="1.5" width="21" height="21" rx="6.2" fill="none" stroke="url(#mmg7m2051)" stroke-opacity=".55" stroke-width=".8"/><path d="M7.2 16.8V7.4l4.8 5.1 4.8-5.1v9.4" fill="none" stroke="url(#mmg7m2051)" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/><circle cx="7.2" cy="16.8" r="1.7" fill="#5eead4"/><circle cx="7.2" cy="7.4" r="1.7" fill="#5eead4"/><circle cx="16.8" cy="7.4" r="1.7" fill="#22d3ee"/><circle cx="16.8" cy="16.8" r="1.7" fill="#22d3ee"/><circle cx="12" cy="12.5" r="3" fill="#22d3ee" opacity=".22"/><circle cx="12" cy="12.5" r="2" fill="url(#mmc7m2051)"/></g></svg>
|
|
62
|
+
<div class="splash-name">Memora</div>
|
|
63
|
+
<div class="splash-by">by Codrihub Tech</div>
|
|
64
|
+
<div class="splash-msg" id="splashMsg">Checking your session...</div>
|
|
65
|
+
<div class="splash-bar" id="splashBar" role="progressbar" aria-label="Loading Memora"><i></i></div>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<div id="appShell" class="app-shell">
|
|
69
|
+
|
|
70
|
+
<a class="skip-link" href="#views">Skip to content</a>
|
|
71
|
+
|
|
72
|
+
<!-- ░░ SIDEBAR (desktop rail / mobile drawer) ░░ -->
|
|
73
|
+
<aside id="sidebar" aria-label="Sidebar">
|
|
74
|
+
<div class="side-head">
|
|
75
|
+
<div class="brand-wrap">
|
|
76
|
+
<button id="brandHome" class="brand" type="button" aria-label="Memora, open Overview" data-tip="Overview">
|
|
77
|
+
<span class="brand-tile"><svg class="brand-mark" viewBox="0 0 24 24" aria-hidden="true"><defs><linearGradient id="mmg7m2052" x1="3" y1="3" x2="21" y2="21" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#5eead4"/><stop offset="1" stop-color="#22d3ee"/></linearGradient><linearGradient id="mmt7m2052" x1="0" y1="0" x2="0" y2="24" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#17202e"/><stop offset="1" stop-color="#0b0f17"/></linearGradient><radialGradient id="mmc7m2052" cx="50%" cy="50%" r="50%"><stop offset="0" stop-color="#ffffff"/><stop offset=".55" stop-color="#a5f3fc"/><stop offset="1" stop-color="#22d3ee"/></radialGradient></defs><g fill="none" stroke="none"><rect x="1.5" y="1.5" width="21" height="21" rx="6.2" fill="url(#mmt7m2052)"/><rect x="1.5" y="1.5" width="21" height="21" rx="6.2" fill="none" stroke="url(#mmg7m2052)" stroke-opacity=".55" stroke-width=".8"/><path d="M7.2 16.8V7.4l4.8 5.1 4.8-5.1v9.4" fill="none" stroke="url(#mmg7m2052)" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/><circle cx="7.2" cy="16.8" r="1.7" fill="#5eead4"/><circle cx="7.2" cy="7.4" r="1.7" fill="#5eead4"/><circle cx="16.8" cy="7.4" r="1.7" fill="#22d3ee"/><circle cx="16.8" cy="16.8" r="1.7" fill="#22d3ee"/><circle cx="12" cy="12.5" r="3" fill="#22d3ee" opacity=".22"/><circle cx="12" cy="12.5" r="2" fill="url(#mmc7m2052)"/></g></svg></span>
|
|
78
|
+
<span class="brand-text">Memora</span>
|
|
79
|
+
</button>
|
|
80
|
+
<button id="brandVersion" class="brand-ver" type="button" title="Memora by Codrihub Tech" aria-label="Version, open Settings">
|
|
81
|
+
<span id="brandVault">second brain</span><span class="brand-upd" id="brandUpd" hidden>Update</span>
|
|
82
|
+
</button>
|
|
83
|
+
</div>
|
|
84
|
+
<button id="sideClose" class="icon-btn side-close" type="button" title="Close menu" aria-label="Close menu">
|
|
85
|
+
<svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M6 6l12 12M18 6 6 18"/></svg>
|
|
86
|
+
</button>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<div class="side-actions">
|
|
90
|
+
<button id="sideNewNode" class="side-new" type="button" aria-label="New node" data-tip="New node">
|
|
91
|
+
<svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M12 5v14M5 12h14"/></svg>
|
|
92
|
+
<span class="side-new-label">New node</span>
|
|
93
|
+
</button>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<div class="side-scroll">
|
|
97
|
+
<nav id="nav" class="nav" aria-label="Main navigation"></nav>
|
|
98
|
+
|
|
99
|
+
<div class="side-sec side-vault" id="sideVault">
|
|
100
|
+
<div class="sec-row">
|
|
101
|
+
<button class="sec-head" type="button" id="libHead" aria-expanded="true" aria-controls="libBody">
|
|
102
|
+
<span class="sec-title">Library</span>
|
|
103
|
+
</button>
|
|
104
|
+
<button id="newFolderBtn" class="icon-btn sm lib-act" type="button" title="New folder" aria-label="New folder">
|
|
105
|
+
<svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M3.5 7.5a2 2 0 0 1 2-2h4l2 2h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2z"/><path d="M12 11v5M9.5 13.5h5"/></svg></button>
|
|
106
|
+
<button id="libFold" class="icon-btn sm lib-fold" type="button" title="Fold or unfold Pinned and Folders" aria-label="Fold or unfold Pinned and Folders" aria-expanded="true">
|
|
107
|
+
<svg class="i sec-caret" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="m6 9.5 6 6 6-6"/></svg></button>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="sec-body"><div class="sec-inner" id="libBody">
|
|
110
|
+
<div class="sec-pins">
|
|
111
|
+
<div class="pin-head"><span>Pinned</span><span id="pinCount" class="sec-count">0</span></div>
|
|
112
|
+
<div id="pinnedList" class="pinned"></div>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="side-search">
|
|
115
|
+
<svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M4 6h16M7 12h10M10 18h4"/></svg>
|
|
116
|
+
<input id="sideSearch" type="search" placeholder="Filter folders and nodes" aria-label="Filter folders and nodes" autocomplete="off" spellcheck="false">
|
|
117
|
+
<button id="sideSearchClear" class="ss-clear hidden" type="button" aria-label="Clear filter">
|
|
118
|
+
<svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
|
119
|
+
</div>
|
|
120
|
+
<div id="tree" class="tree"></div>
|
|
121
|
+
</div></div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
|
|
125
|
+
<div class="side-foot">
|
|
126
|
+
<button id="sideStats" class="side-stats" type="button" aria-label="Vault size" aria-expanded="false" aria-controls="sideStatsPop" data-tip="Vault size">
|
|
127
|
+
<svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><ellipse cx="12" cy="6" rx="7" ry="2.6"/><path d="M5 6v6c0 1.4 3.1 2.6 7 2.6s7-1.2 7-2.6V6"/><path d="M5 12v6c0 1.4 3.1 2.6 7 2.6s7-1.2 7-2.6v-6"/></svg>
|
|
128
|
+
</button>
|
|
129
|
+
<div id="sideStatsPop" class="side-stats-pop" role="dialog" aria-label="Vault size" hidden></div>
|
|
130
|
+
<button id="sideCollapse" class="side-collapse" type="button" title="Collapse sidebar" aria-label="Collapse sidebar" aria-controls="sidebar" aria-expanded="true">
|
|
131
|
+
<svg class="i sc-chev" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="m11.5 7-5 5 5 5"/><path d="m17.5 7-5 5 5 5"/></svg>
|
|
132
|
+
<span class="sc-label">Collapse</span>
|
|
133
|
+
</button>
|
|
134
|
+
<button id="profileBtn" class="profile-btn" type="button" aria-haspopup="menu" aria-expanded="false" aria-controls="profileMenu" data-tip="Account and settings">
|
|
135
|
+
<span class="user-avatar" data-avatar>?</span>
|
|
136
|
+
<span class="pb-main"><span class="pb-name" data-username>account</span><span class="pb-sub">Settings, Agents, Theme</span></span>
|
|
137
|
+
<svg class="i pb-chev" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="m7 15 5-5 5 5"/></svg>
|
|
138
|
+
</button>
|
|
139
|
+
<div class="side-meta" id="profileSub"><span class="pb-stats" aria-label="Vault size"><span id="statNotes">0 nodes</span><i>·</i><span id="statLinks">0 links</span><i>·</i><span id="statFolders">0 folders</span></span><span class="pb-live" id="profileLive" aria-live="polite"></span></div>
|
|
140
|
+
</div>
|
|
141
|
+
</aside>
|
|
142
|
+
<div id="sideScrim" aria-hidden="true"></div>
|
|
143
|
+
|
|
144
|
+
<!-- ░░ MAIN ░░ -->
|
|
145
|
+
<main id="main">
|
|
146
|
+
<header id="topbar">
|
|
147
|
+
<button id="sideToggle" class="icon-btn" type="button" title="Open menu" aria-label="Open menu" aria-controls="sidebar">
|
|
148
|
+
<span class="brand-tile sm"><svg class="brand-mark" viewBox="0 0 24 24" aria-hidden="true"><defs><linearGradient id="mmg7m2053" x1="3" y1="3" x2="21" y2="21" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#5eead4"/><stop offset="1" stop-color="#22d3ee"/></linearGradient><linearGradient id="mmt7m2053" x1="0" y1="0" x2="0" y2="24" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#17202e"/><stop offset="1" stop-color="#0b0f17"/></linearGradient><radialGradient id="mmc7m2053" cx="50%" cy="50%" r="50%"><stop offset="0" stop-color="#ffffff"/><stop offset=".55" stop-color="#a5f3fc"/><stop offset="1" stop-color="#22d3ee"/></radialGradient></defs><g fill="none" stroke="none"><rect x="1.5" y="1.5" width="21" height="21" rx="6.2" fill="url(#mmt7m2053)"/><rect x="1.5" y="1.5" width="21" height="21" rx="6.2" fill="none" stroke="url(#mmg7m2053)" stroke-opacity=".55" stroke-width=".8"/><path d="M7.2 16.8V7.4l4.8 5.1 4.8-5.1v9.4" fill="none" stroke="url(#mmg7m2053)" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/><circle cx="7.2" cy="16.8" r="1.7" fill="#5eead4"/><circle cx="7.2" cy="7.4" r="1.7" fill="#5eead4"/><circle cx="16.8" cy="7.4" r="1.7" fill="#22d3ee"/><circle cx="16.8" cy="16.8" r="1.7" fill="#22d3ee"/><circle cx="12" cy="12.5" r="3" fill="#22d3ee" opacity=".22"/><circle cx="12" cy="12.5" r="2" fill="url(#mmc7m2053)"/></g></svg></span>
|
|
149
|
+
</button>
|
|
150
|
+
<div class="tb-title">
|
|
151
|
+
<div id="crumb" class="crumb">Brain</div>
|
|
152
|
+
</div>
|
|
153
|
+
<div class="grow"></div>
|
|
154
|
+
<button id="searchBtn" class="tb-search" type="button" aria-label="Search notes, pages and actions" aria-haspopup="dialog" aria-keyshortcuts="Control+K Meta+K /">
|
|
155
|
+
<svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><circle cx="11" cy="11" r="7"/><path d="m20.5 20.5-4.3-4.3"/></svg>
|
|
156
|
+
<span class="tb-search-label">Search nodes, pages, actions</span>
|
|
157
|
+
<kbd data-kbd-mod>Ctrl K</kbd>
|
|
158
|
+
</button>
|
|
159
|
+
<button id="rtPill" class="rt" type="button" data-state="connecting" aria-haspopup="dialog" aria-expanded="false" aria-label="Realtime: connecting">
|
|
160
|
+
<span class="rt-dot" aria-hidden="true"><i></i></span>
|
|
161
|
+
<span id="rtText" class="rt-label">Connecting</span>
|
|
162
|
+
<span id="rtAgents" class="rt-agents" aria-hidden="true"><svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><rect x="4.5" y="7.5" width="15" height="11" rx="3"/><path d="M12 3.5v4M9 12.5h.01M15 12.5h.01"/></svg><b id="rtAgentN">0</b></span>
|
|
163
|
+
<span id="rtIdle" class="rt-idle" aria-hidden="true"><svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z"/></svg><b id="rtIdleN">0</b></span>
|
|
164
|
+
</button>
|
|
165
|
+
<button id="pwaBtn" class="icon-btn tb-opt hidden" type="button" title="Install app" aria-label="Install app">
|
|
166
|
+
<svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M12 3.5v12"/><path d="m7 10.5 5 5 5-5"/><path d="M4.5 19.5h15"/></svg>
|
|
167
|
+
</button>
|
|
168
|
+
</header>
|
|
169
|
+
|
|
170
|
+
<div id="views" tabindex="-1">
|
|
171
|
+
<section id="view-brain" class="view hidden" data-page="brain" aria-label="Brain"></section>
|
|
172
|
+
<section id="view-canvas" class="view hidden" data-page="canvas" aria-label="Canvas"></section>
|
|
173
|
+
<section id="view-home" class="view hidden" data-page="home" aria-label="Overview"></section>
|
|
174
|
+
<section id="view-vault" class="view hidden" data-page="vault" aria-label="Vault"></section>
|
|
175
|
+
<section id="view-graph" class="view hidden" data-page="graph" aria-label="Graph">
|
|
176
|
+
<canvas id="graph"></canvas>
|
|
177
|
+
<div id="gTip" class="gtip hidden"></div>
|
|
178
|
+
<div id="gLegend" class="glegend"></div>
|
|
179
|
+
<div id="gHud" class="ghud"></div>
|
|
180
|
+
<div class="gcontrols">
|
|
181
|
+
<button id="gZoomIn" title="Zoom in">+</button>
|
|
182
|
+
<button id="gZoomOut" title="Zoom out">-</button>
|
|
183
|
+
<button id="gFit" title="Fit to screen">o</button>
|
|
184
|
+
<button id="gMode" title="Layout mode: folder clusters or freeform">⇄</button>
|
|
185
|
+
<button id="gGrid" class="on" title="Grid background"><svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M3 9h18M3 15h18M9 3v18M15 3v18"/></svg></button>
|
|
186
|
+
<button id="gRelayout" title="Relayout">↻</button>
|
|
187
|
+
</div>
|
|
188
|
+
</section>
|
|
189
|
+
<section id="view-tags" class="view hidden" data-page="tags" aria-label="Tags"></section>
|
|
190
|
+
<section id="view-logs" class="view hidden" data-page="logs" aria-label="Activity"></section>
|
|
191
|
+
<section id="view-keys" class="view hidden" data-page="keys" aria-label="Agents and keys"></section>
|
|
192
|
+
<section id="view-tools" class="view hidden" data-page="tools" aria-label="Tools"></section>
|
|
193
|
+
<section id="view-access" class="view hidden" data-page="access" aria-label="Access"></section>
|
|
194
|
+
<section id="view-settings" class="view hidden" data-page="settings" aria-label="Settings"></section>
|
|
195
|
+
<section id="view-docs" class="view hidden" data-page="docs" aria-label="Documentation"></section>
|
|
196
|
+
</div>
|
|
197
|
+
</main>
|
|
198
|
+
|
|
199
|
+
<!-- ░░ MOBILE TAB BAR ░░ -->
|
|
200
|
+
<nav id="tabbar" class="tabbar" aria-label="Primary"></nav>
|
|
201
|
+
|
|
202
|
+
<!-- note preview panel (used by Graph and Tags) -->
|
|
203
|
+
<aside id="peek" class="peek hidden" aria-label="Note preview">
|
|
204
|
+
<div class="peek-head">
|
|
205
|
+
<span id="peekFolder" class="peek-folder"></span>
|
|
206
|
+
<div class="peek-acts">
|
|
207
|
+
<button id="peekRefresh" class="icon-btn" title="Reload" aria-label="Reload"><svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M20 11a8 8 0 1 0-2.3 6.3"/><path d="M20 5v6h-6"/></svg></button>
|
|
208
|
+
<button id="peekOpen" class="btn ghost sm">Open</button>
|
|
209
|
+
<button id="peekClose" class="icon-btn" title="Close" aria-label="Close preview"><svg class="i" viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M6 6l12 12M18 6 6 18"/></svg></button>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
<div id="peekBody" class="peek-body note-body"></div>
|
|
213
|
+
</aside>
|
|
214
|
+
|
|
215
|
+
<div id="rtPop" class="rt-pop hidden" role="dialog" aria-label="Realtime status"></div>
|
|
216
|
+
<div id="pmScrim" class="pm-scrim hidden" aria-hidden="true"></div>
|
|
217
|
+
<div id="profileMenu" class="pmenu hidden" role="menu" aria-label="Account and settings"></div>
|
|
218
|
+
<div id="palette" class="palette hidden"></div>
|
|
219
|
+
<div id="navTip" class="nav-tip" role="tooltip" aria-hidden="true"></div>
|
|
220
|
+
<div id="modalHost" class="modal-host hidden"></div>
|
|
221
|
+
<div id="toasts" class="toasts" role="status" aria-live="polite"></div>
|
|
222
|
+
</div>
|
|
223
|
+
</div>
|
|
224
|
+
<script src="/app.js?v=8ba07dfcd64d"></script>
|
|
225
|
+
</body>
|
|
226
|
+
</html>
|