memex-mvp 0.6.0 → 0.6.1
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/README.md +19 -0
- package/README.ru.md +20 -3
- package/package.json +1 -1
- package/skills/install-memex/README.md +2 -2
- package/skills/install-memex/SKILL.md +2 -1
- package/skills/install-memex/examples.md +28 -0
package/README.md
CHANGED
|
@@ -100,6 +100,23 @@ For a fully-automated install across all detected MCP clients, see [the AI-drive
|
|
|
100
100
|
|
|
101
101
|
---
|
|
102
102
|
|
|
103
|
+
## Save URLs into memex (v0.6+)
|
|
104
|
+
|
|
105
|
+
Once memex is installed, any MCP-aware agent can also save **web pages, AI chat shares, and pasted text** into your memex memory — searchable from any other AI chat later. In Claude Code, Cursor, Cline, …:
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
Save https://www.perplexity.ai/share/<id> to memex
|
|
109
|
+
Add this article to my memex: https://example.com/long-post
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
The agent fetches the page via its own WebFetch (auto-falling back to `r.jina.ai` for Cloudflare-protected sites — memex teaches the trick) and calls `memex_store_document`. Memex stores the content verbatim as a `web` source conversation, indistinguishable from AI chats at search time.
|
|
113
|
+
|
|
114
|
+
Perplexity threads need to be made **Public** in the Share dialog first — memex detects private threads and tells the user how to fix it. Full guide: [HELP.md §8](HELP.md).
|
|
115
|
+
|
|
116
|
+
**Memex stays 100% local** — the agent fetches, memex only stores. Zero outbound calls from memex itself.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
103
120
|
## What it captures
|
|
104
121
|
|
|
105
122
|
| Source | How it gets in |
|
|
@@ -111,6 +128,7 @@ For a fully-automated install across all detected MCP clients, see [the AI-drive
|
|
|
111
128
|
| Obsidian notes | Auto: per-vault markdown watcher |
|
|
112
129
|
| Telegram exports | Manual: drop `result.json` (Telegram Desktop) into `~/.memex/inbox/` |
|
|
113
130
|
| Telegram (live) | Run [`memex-bot`](bot/README.md) — captures messages you send/forward to your private bot |
|
|
131
|
+
| **Web pages, AI chat shares, pasted text** | From any MCP agent: *"save https://... to memex"*. Agent fetches; memex stores verbatim. Cloudflare-protected pages (Perplexity, npm.com, Twitter, Medium, …) handled via the agent's r.jina.ai fallback. See [HELP.md §8](HELP.md) |
|
|
114
132
|
|
|
115
133
|
All sources land in the same FTS5 corpus, searchable by one `memex_search` call.
|
|
116
134
|
|
|
@@ -128,6 +146,7 @@ All sources land in the same FTS5 corpus, searchable by one `memex_search` call.
|
|
|
128
146
|
| `memex_list_projects` | Distinct project paths captured (for the `project` filter) |
|
|
129
147
|
| `memex_archive_conversation` | Hide a chat from default listings (data preserved) |
|
|
130
148
|
| `memex_export_markdown` | Export one conversation as Markdown (for Obsidian round-trip) |
|
|
149
|
+
| `memex_store_document` | Save a web page, AI chat share, or pasted text. Agent fetches; memex stores verbatim. Teaches the Jina r.jina.ai trick for Cloudflare-blocked pages |
|
|
131
150
|
| `memex_list_sources` | Per-source enabled/disabled + counts |
|
|
132
151
|
| `memex_status` | Daemon health: PID, last capture, watched files |
|
|
133
152
|
| `memex_sources_status` | Which sources are captured + the exact CLI to opt out |
|
package/README.ru.md
CHANGED
|
@@ -121,6 +121,21 @@ curl -fsSL https://raw.githubusercontent.com/parallelclaw/memex-mvp/main/skills/
|
|
|
121
121
|
|
|
122
122
|
…или `/install-memex`. Агент сам сделает `npm install`, пропишет MCP-config, поднимет daemon и проверит что всё работает — ~2 минуты.
|
|
123
123
|
|
|
124
|
+
### Сохранение URL'ов в memex (v0.6+)
|
|
125
|
+
|
|
126
|
+
После установки в любом MCP-агенте (Claude Code, Cursor, Cline, Continue, Zed) можно сохранять **web-страницы, AI-chat share'ы и pasted-тексты** прямо в memex-память:
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
Сохрани https://www.perplexity.ai/share/<id> в memex
|
|
130
|
+
Добавь эту статью в memex: https://example.com/article
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Агент сам fetch'ит страницу через свой WebFetch — для Cloudflare-защищённых сайтов (Perplexity, npm.com, Twitter, Medium) автоматически falls back на `r.jina.ai` proxy (memex учит агента этому трюку через tool description). Затем агент вызывает `memex_store_document`, который хранит контент verbatim как conversation с `source: "web"`.
|
|
134
|
+
|
|
135
|
+
**Memex остаётся 100% локальным** — fetch делает агент, memex только хранит. Никаких outbound network calls со стороны memex.
|
|
136
|
+
|
|
137
|
+
Полное руководство и edge cases (private Perplexity, paywall, login-walls): [HELP.md §8](HELP.md).
|
|
138
|
+
|
|
124
139
|
### Подключение к Claude Code
|
|
125
140
|
|
|
126
141
|
Сначала возьми **два абсолютных пути** в терминале:
|
|
@@ -162,9 +177,11 @@ which node # → путь до бинарника node (например /Users
|
|
|
162
177
|
| **Cursor IDE** (Composer + Chat) | SQLite `state.vscdb` в `~/Library/Application Support/Cursor/` | ✅ работает (poll каждые 5 мин) |
|
|
163
178
|
| **Obsidian** vault notes | `.md` файлы + YAML frontmatter | ✅ работает (FSEvents, hash-based dedupe) |
|
|
164
179
|
| **Telegram** | `result.json` из Desktop export | ✅ работает |
|
|
165
|
-
|
|
|
166
|
-
|
|
|
167
|
-
|
|
|
180
|
+
| **Telegram (live)** | бот `memex-bot` ловит твои сообщения / форварды | ✅ работает |
|
|
181
|
+
| **Web-страницы, AI-share'ы, paste'ы** | `memex_store_document` — агент fetch'ит, memex хранит verbatim (v0.6+) | ✅ работает |
|
|
182
|
+
| Claude.ai web export | будет в v0.7 | — |
|
|
183
|
+
| ChatGPT export | будет в v0.7 | — |
|
|
184
|
+
| Apple Notes | будет в v0.7 | — |
|
|
168
185
|
|
|
169
186
|
### Filename convention для inbox-файлов
|
|
170
187
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memex-mvp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Local-first MCP server for cross-agent AI memory. One SQLite + FTS5 corpus across Claude Code, Cowork, Cursor, Continue, Zed, Obsidian, and Telegram — passively captured, verbatim, searchable from any MCP-compatible client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "server.js",
|
|
@@ -17,9 +17,9 @@ End-to-end: **~2 minutes**, fully observable (agent shows each command before ru
|
|
|
17
17
|
|
|
18
18
|
## What is memex?
|
|
19
19
|
|
|
20
|
-
Memex is a **local-first MCP server** that captures every conversation you have with an AI — across **Claude Code, Cowork (including subagent transcripts), Cursor, Cline, Continue, Zed**, plus **Obsidian notes** and **
|
|
20
|
+
Memex is a **local-first MCP server** that captures every conversation you have with an AI — across **Claude Code, Cowork (including subagent transcripts), Cursor, Cline, Continue, Zed**, plus **Obsidian notes**, **Telegram chats**, and **web pages / AI chat shares** (v0.6+ via `memex_store_document` — agent fetches, memex stores verbatim) — into one searchable SQLite + FTS5 corpus.
|
|
21
21
|
|
|
22
|
-
Any MCP-compatible agent can then query that corpus through
|
|
22
|
+
Any MCP-compatible agent can then query that corpus through 12 standard tools (`memex_search`, `memex_recent`, `memex_overview`, `memex_store_document`, …).
|
|
23
23
|
|
|
24
24
|
| Pain | Memex |
|
|
25
25
|
|-------------------------------------------------|--------------------------------------|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: install-memex
|
|
3
|
-
description: Make Claude, Cursor, Cline, Continue, and Zed remember every AI conversation forever — one local SQLite corpus shared across all of them. Installs memex (local-first MCP server) in ~2 minutes — npm install, MCP config wiring, auto-capture daemon, history backfill. No cloud, no account, verbatim storage. Also indexes Obsidian notes and
|
|
3
|
+
description: Make Claude, Cursor, Cline, Continue, and Zed remember every AI conversation forever — one local SQLite corpus shared across all of them. Installs memex (local-first MCP server) in ~2 minutes — npm install, MCP config wiring, auto-capture daemon, history backfill. No cloud, no account, verbatim storage. Also indexes Obsidian notes, Telegram chats, and any URL the user wants to save (web pages, Perplexity threads, AI chat shares — memex_store_document tool, v0.6+). Use when the user says "install memex", "set up memex", "add memory to my AI", "make my agent remember across sessions", or similar.
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
@@ -160,6 +160,7 @@ After restart, suggest they try any of:
|
|
|
160
160
|
- "show me what memex has in memory" → triggers `memex_overview`
|
|
161
161
|
- "what projects has memex captured" → triggers `memex_list_projects`
|
|
162
162
|
- "search memex for [recent topic]" → triggers `memex_search`
|
|
163
|
+
- "save https://en.wikipedia.org/wiki/As_We_May_Think to memex" → triggers `memex_store_document` and teaches the user that URL-saving exists (v0.6+)
|
|
163
164
|
|
|
164
165
|
These confirm everything works end-to-end.
|
|
165
166
|
|
|
@@ -179,6 +179,34 @@ Sample interactions when the user invokes this skill. These show typical happy p
|
|
|
179
179
|
|
|
180
180
|
---
|
|
181
181
|
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Example 6 · Right after install — testing URL save (v0.6+)
|
|
185
|
+
|
|
186
|
+
> **User:** save https://en.wikipedia.org/wiki/As_We_May_Think to memex
|
|
187
|
+
>
|
|
188
|
+
> **Agent:** Fetching the page with WebFetch...
|
|
189
|
+
>
|
|
190
|
+
> ```
|
|
191
|
+
> ✓ Got 12,847 chars from en.wikipedia.org
|
|
192
|
+
> ```
|
|
193
|
+
>
|
|
194
|
+
> Calling `memex_store_document(content, url=https://en.wikipedia.org/wiki/As_We_May_Think, title=auto)`...
|
|
195
|
+
>
|
|
196
|
+
> ```
|
|
197
|
+
> ✓ stored
|
|
198
|
+
> conversation_id: web-d3b07a384d1b
|
|
199
|
+
> title: "As We May Think"
|
|
200
|
+
> length: 12,847 chars
|
|
201
|
+
> warnings: []
|
|
202
|
+
> ```
|
|
203
|
+
>
|
|
204
|
+
> Saved. Try searching it now: *"search memex for memex Bush 1945"* — the article will show up alongside any AI chats where you discussed it.
|
|
205
|
+
>
|
|
206
|
+
> 💡 By the way, you can save any URL this way — Perplexity threads, blog posts, ChatGPT shares, Twitter threads, GitHub discussions. For Perplexity specifically, the thread must be made Public first (Share → Public link). For Cloudflare-protected sites, memex auto-falls back through `r.jina.ai` proxy.
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
182
210
|
## What these examples illustrate about the skill's behavior
|
|
183
211
|
|
|
184
212
|
- **Always discover first**, then ask for confirmation before any write action
|