ragtime-cli 0.1.0__py3-none-any.whl

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.

Potentially problematic release.


This version of ragtime-cli might be problematic. Click here for more details.

@@ -0,0 +1,220 @@
1
+ Metadata-Version: 2.4
2
+ Name: ragtime-cli
3
+ Version: 0.1.0
4
+ Summary: Local-first memory and RAG system for Claude Code - semantic search over code, docs, and team knowledge
5
+ Author-email: Bret Martineau <bretwardjames@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/bretwardjames/ragtime
8
+ Project-URL: Repository, https://github.com/bretwardjames/ragtime
9
+ Project-URL: Issues, https://github.com/bretwardjames/ragtime/issues
10
+ Keywords: claude,rag,memory,mcp,ai,llm,semantic-search,vector-database
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Topic :: Software Development :: Documentation
19
+ Classifier: Topic :: Text Processing :: Indexing
20
+ Requires-Python: >=3.11
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: chromadb>=0.4.0
24
+ Requires-Dist: pyyaml>=6.0
25
+ Requires-Dist: click>=8.0
26
+ Provides-Extra: dev
27
+ Requires-Dist: pytest>=8.0; extra == "dev"
28
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
29
+ Dynamic: license-file
30
+
31
+ # ragtime-cli
32
+
33
+ Local-first memory and RAG system for Claude Code. Semantic search over code, docs, and team knowledge.
34
+
35
+ ## Features
36
+
37
+ - **Memory Storage**: Store structured knowledge with namespaces, types, and metadata
38
+ - **Semantic Search**: Query memories and docs with natural language
39
+ - **Cross-Branch Sync**: Share context with teammates before PRs merge
40
+ - **MCP Server**: Native Claude Code integration
41
+ - **Claude Commands**: Pre-built `/remember`, `/recall`, `/handoff`, `/start` commands
42
+
43
+ ## Installation
44
+
45
+ ```bash
46
+ pip install ragtime-cli
47
+ ```
48
+
49
+ ## Quick Start
50
+
51
+ ```bash
52
+ # Initialize in your project
53
+ ragtime init
54
+
55
+ # Store a memory
56
+ ragtime remember "Auth uses JWT with 15-min expiry" \
57
+ --namespace app \
58
+ --type architecture \
59
+ --component auth
60
+
61
+ # Search memories
62
+ ragtime search "authentication" --namespace app
63
+
64
+ # Install Claude commands
65
+ ragtime install --workspace
66
+ ```
67
+
68
+ ## CLI Commands
69
+
70
+ ### Memory Storage
71
+
72
+ ```bash
73
+ # Store a memory
74
+ ragtime remember "content" --namespace app --type architecture --component auth
75
+
76
+ # List memories
77
+ ragtime memories --namespace app --type decision
78
+
79
+ # Graduate branch memory to app
80
+ ragtime graduate <memory-id>
81
+
82
+ # Delete a memory
83
+ ragtime forget <memory-id>
84
+ ```
85
+
86
+ ### Search & Indexing
87
+
88
+ ```bash
89
+ # Index docs
90
+ ragtime index --type docs
91
+
92
+ # Semantic search
93
+ ragtime search "how does auth work" --namespace app --limit 10
94
+
95
+ # Reindex memory files
96
+ ragtime reindex
97
+ ```
98
+
99
+ ### Cross-Branch Sync
100
+
101
+ ```bash
102
+ # Sync teammate's branch memories
103
+ ragtime sync origin/jm/feature-auth
104
+
105
+ # Clean up stale synced folders
106
+ ragtime prune --dry-run
107
+ ragtime prune
108
+ ```
109
+
110
+ ### Claude Integration
111
+
112
+ ```bash
113
+ # Install Claude commands to workspace
114
+ ragtime install --workspace
115
+
116
+ # Install globally
117
+ ragtime install --global
118
+
119
+ # List available commands
120
+ ragtime install --list
121
+ ```
122
+
123
+ ## MCP Server
124
+
125
+ Add to your Claude config (`.mcp.json`):
126
+
127
+ ```json
128
+ {
129
+ "mcpServers": {
130
+ "ragtime": {
131
+ "command": "ragtime-mcp",
132
+ "args": ["--path", "."]
133
+ }
134
+ }
135
+ }
136
+ ```
137
+
138
+ Available tools:
139
+ - `remember` - Store a memory
140
+ - `search` - Semantic search
141
+ - `list_memories` - List with filters
142
+ - `get_memory` - Get by ID
143
+ - `store_doc` - Store document verbatim
144
+ - `forget` - Delete memory
145
+ - `graduate` - Promote branch → app
146
+ - `update_status` - Change memory status
147
+
148
+ ## Storage Structure
149
+
150
+ ```
151
+ .claude/memory/
152
+ ├── app/{component}/ # Graduated app knowledge
153
+ │ └── {id}-{slug}.md
154
+ ├── team/ # Team conventions
155
+ │ └── {id}-{slug}.md
156
+ ├── users/{username}/ # User preferences
157
+ │ └── {id}-{slug}.md
158
+ └── branches/
159
+ ├── {branch-slug}/ # Your branch (tracked in git)
160
+ │ ├── context.md # Session handoff
161
+ │ └── {id}-{slug}.md
162
+ └── {branch}(unmerged)/ # Synced from teammates (gitignored)
163
+ ```
164
+
165
+ ## Memory Format
166
+
167
+ Memories are markdown files with YAML frontmatter:
168
+
169
+ ```markdown
170
+ ---
171
+ id: abc123
172
+ namespace: app
173
+ type: architecture
174
+ component: auth
175
+ confidence: high
176
+ status: active
177
+ added: '2026-01-31'
178
+ author: bretwardjames
179
+ ---
180
+
181
+ Auth uses JWT tokens with 15-minute expiry for security.
182
+ Sessions are stored in Redis, not cookies.
183
+ ```
184
+
185
+ ## Namespaces
186
+
187
+ | Namespace | Purpose |
188
+ |-----------|---------|
189
+ | `app` | How the codebase works (architecture, decisions) |
190
+ | `team` | Team conventions and standards |
191
+ | `user-{name}` | Individual preferences |
192
+ | `branch-{name}` | Work-in-progress context |
193
+
194
+ ## Memory Types
195
+
196
+ | Type | Description |
197
+ |------|-------------|
198
+ | `architecture` | System design, patterns |
199
+ | `feature` | How features work |
200
+ | `decision` | Why we chose X over Y |
201
+ | `convention` | Team standards |
202
+ | `pattern` | Reusable approaches |
203
+ | `context` | Session handoff |
204
+
205
+ ## Claude Commands
206
+
207
+ After `ragtime install --workspace`:
208
+
209
+ | Command | Purpose |
210
+ |---------|---------|
211
+ | `/remember` | Capture knowledge mid-session |
212
+ | `/recall` | Search memories |
213
+ | `/handoff` | Save session context |
214
+ | `/start` | Resume work on an issue |
215
+ | `/pr-graduate` | Curate branch knowledge after merge |
216
+ | `/audit` | Find duplicates/conflicts |
217
+
218
+ ## License
219
+
220
+ MIT
@@ -0,0 +1,21 @@
1
+ ragtime_cli-0.1.0.dist-info/licenses/LICENSE,sha256=9A0wJs2PRDciGRH4F8JUJ-aMKYQyq_gVu2ixrXs-l5A,1070
2
+ src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ src/cli.py,sha256=7LOyDfHsC-3glutDrasEq8dsLdUPdfWAMauGYfp9tFI,26372
4
+ src/config.py,sha256=_5ev0OkhFKdVaU0T76x-lJUUccn1hB21-dqzV-UleUw,3155
5
+ src/db.py,sha256=BKrlhilXYHNaj-ZcffinSXVhdUqowmwpFPBx7aLxamU,4642
6
+ src/mcp_server.py,sha256=Tx0i73GXO0YmcVrdO7UjRMS0auN8fBG2LOpHuf_LUC0,20374
7
+ src/memory.py,sha256=XZCJMuF1jzmbKGUDZ0K1279x9pF9TXoW6wByw1_VP6w,11961
8
+ src/commands/audit.md,sha256=Xkucm-gfBIMalK9wf7NBbyejpsqBTUAGGlb7GxMtMPY,5137
9
+ src/commands/handoff.md,sha256=8VxTddtW08jGTW36GW_rS77JdeSn8vHeMfklrWwVUD4,5055
10
+ src/commands/pr-graduate.md,sha256=TdqcIwtemrvLbbbUw-mY7hvixjOSh8H_L-63_QsAtpI,6455
11
+ src/commands/recall.md,sha256=unQPWsmocKRoQR7jRtjrj8aVcMHverjGR6u5mYL8TLw,6008
12
+ src/commands/remember.md,sha256=nNewsUhIqF4wtD1jhVDZvmLZjdcmPN6NmUM43SdWepc,5368
13
+ src/commands/save.md,sha256=7gTpW46AU9Y4l8XVZ8f4h1sEdBfVqIRA7hlidUxMAC4,251
14
+ src/commands/start.md,sha256=qoqhkMgET74DBx8YPIT1-wqCiVBUDxlmevigsCinHSY,6506
15
+ src/indexers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ src/indexers/docs.py,sha256=7FENHaKSvC1T557bRzvmrjyaG_vK94GuQG9XMZdr89w,3349
17
+ ragtime_cli-0.1.0.dist-info/METADATA,sha256=IdKf5KyWm7JabJTCB4344AYbIYTLKKyQc3nYRDIiiM4,5311
18
+ ragtime_cli-0.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
19
+ ragtime_cli-0.1.0.dist-info/entry_points.txt,sha256=cWLbeyMxZNbew-THS3bHXTpCRXt1EaUy5QUOXGXLjl4,75
20
+ ragtime_cli-0.1.0.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4
21
+ ragtime_cli-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ ragtime = src.cli:main
3
+ ragtime-mcp = src.mcp_server:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 bretwardjames
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ src
src/__init__.py ADDED
File without changes