@gettymade/roux 0.1.3 → 0.2.0
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 +24 -41
- package/dist/cli/index.js +2058 -1226
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +278 -54
- package/dist/index.js +1365 -575
- package/dist/index.js.map +1 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -3,24 +3,22 @@ title: Readme
|
|
|
3
3
|
---
|
|
4
4
|
# Roux
|
|
5
5
|
|
|
6
|
-
A **Graph Programming Interface (GPI)** for
|
|
6
|
+
A **Graph Programming Interface (GPI)** for markdown knowledge bases. Semantic search, graph traversal, and AI-assisted editing through MCP.
|
|
7
7
|
|
|
8
8
|
## What It Does
|
|
9
9
|
|
|
10
|
-
- **Semantic search** — Find
|
|
11
|
-
- **Graph traversal** — Follow links, find paths, identify
|
|
12
|
-
- **CRUD operations** — Create, read, update, delete
|
|
13
|
-
- **
|
|
10
|
+
- **Semantic search** — Find notes by meaning, not just keywords
|
|
11
|
+
- **Graph traversal** — Follow wiki-links, find paths, identify hub notes
|
|
12
|
+
- **CRUD operations** — Create, read, update, delete notes programmatically
|
|
13
|
+
- **MCP integration** — Works with Claude Code and other MCP clients
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Point it at a markdown directory. Query it like a graph database. Edit in Obsidian.
|
|
16
16
|
|
|
17
17
|
## Architecture
|
|
18
18
|
|
|
19
|
-
Roux is a platform of pluggable modules. GraphCore is the coordination hub—it defines provider interfaces but has zero functionality without them.
|
|
20
|
-
|
|
21
19
|
```
|
|
22
20
|
┌─────────────────────────────┐
|
|
23
|
-
│
|
|
21
|
+
│ MCP Server │ Claude Code, other clients
|
|
24
22
|
└──────────────┬──────────────┘
|
|
25
23
|
│
|
|
26
24
|
┌──────────────▼──────────────┐
|
|
@@ -28,27 +26,18 @@ Roux is a platform of pluggable modules. GraphCore is the coordination hub—it
|
|
|
28
26
|
└──────────────┬──────────────┘
|
|
29
27
|
│
|
|
30
28
|
┌──────────────▼──────────────┐
|
|
31
|
-
│ Providers │
|
|
29
|
+
│ Providers │
|
|
30
|
+
│ DocStore + Transformers.js │
|
|
32
31
|
└─────────────────────────────┘
|
|
33
32
|
```
|
|
34
33
|
|
|
35
|
-
**
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
- Enterprise: Neo4j, ArangoDB, Amazon Neptune
|
|
40
|
-
|
|
41
|
-
**Embedding providers** for semantic search:
|
|
42
|
-
- Local: transformers.js (default, zero config)
|
|
43
|
-
- Self-hosted: Ollama
|
|
44
|
-
- Cloud: OpenAI
|
|
45
|
-
|
|
46
|
-
Same queries, same results—regardless of what's plugged in.
|
|
34
|
+
**Current implementation:**
|
|
35
|
+
- **DocStore** — Reads markdown directories, parses frontmatter and wiki-links
|
|
36
|
+
- **Transformers.js** — Local embeddings, no external API required
|
|
37
|
+
- **SQLite cache** — Fast queries without re-parsing files
|
|
47
38
|
|
|
48
39
|
## Quick Start
|
|
49
40
|
|
|
50
|
-
Roux ships today with **DocStore**: point it at a markdown directory, query via MCP, edit in Obsidian.
|
|
51
|
-
|
|
52
41
|
```bash
|
|
53
42
|
# Install
|
|
54
43
|
npm install -g @gettymade/roux
|
|
@@ -58,12 +47,12 @@ cd ~/my-notes
|
|
|
58
47
|
roux init
|
|
59
48
|
```
|
|
60
49
|
|
|
61
|
-
|
|
50
|
+
`roux init` creates config files that Claude Code detects automatically. The MCP server starts when you open the project.
|
|
62
51
|
|
|
63
52
|
Then ask Claude things like:
|
|
64
|
-
- "Search my notes for distributed systems
|
|
65
|
-
- "What links to my
|
|
66
|
-
- "Create a new note
|
|
53
|
+
- "Search my notes for distributed systems"
|
|
54
|
+
- "What links to my consensus algorithms note?"
|
|
55
|
+
- "Create a new note about today's meeting"
|
|
67
56
|
|
|
68
57
|
### Requirements
|
|
69
58
|
- Node.js 20+
|
|
@@ -121,22 +110,16 @@ roux serve
|
|
|
121
110
|
# Option 2: Configure your client to spawn it (check your client's docs)
|
|
122
111
|
```
|
|
123
112
|
|
|
124
|
-
##
|
|
125
|
-
|
|
126
|
-
**Near term:**
|
|
127
|
-
- LLMProvider — Text generation for assisted features
|
|
128
|
-
- Structural embeddings — Graph-aware vectors
|
|
113
|
+
## Future
|
|
129
114
|
|
|
130
|
-
|
|
131
|
-
- Neo4jStore — Graph database backend for scale
|
|
132
|
-
- IngestionProvider — Entity extraction, edge inference
|
|
133
|
-
- REST/GraphQL API
|
|
115
|
+
The architecture supports pluggable backends. Currently only DocStore exists—these are planned:
|
|
134
116
|
|
|
135
|
-
**
|
|
136
|
-
-
|
|
137
|
-
-
|
|
117
|
+
- **Additional stores** — Neo4j, SQLite-native, SurrealDB
|
|
118
|
+
- **Cloud embeddings** — OpenAI, Ollama for higher-quality vectors
|
|
119
|
+
- **LLM provider** — Text generation for assisted writing
|
|
120
|
+
- **REST API** — For non-MCP integrations
|
|
138
121
|
|
|
139
|
-
See
|
|
122
|
+
See `docs/roadmap/` for details.
|
|
140
123
|
|
|
141
124
|
## How It Works
|
|
142
125
|
|