ragtime-cli 0.2.18__py3-none-any.whl → 0.3.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ragtime-cli
3
- Version: 0.2.18
3
+ Version: 0.3.1
4
4
  Summary: Local-first memory and RAG system for Claude Code - semantic search over code, docs, and team knowledge
5
5
  Author-email: Bret Martineau <bretwardjames@gmail.com>
6
6
  License-Expression: MIT
@@ -32,6 +32,10 @@ Dynamic: license-file
32
32
 
33
33
  Local-first memory and RAG system for Claude Code. Semantic search over code, docs, and team knowledge.
34
34
 
35
+ **Two interfaces, same data:**
36
+ - **CLI** for humans - formatted output, interactive workflows
37
+ - **MCP** for agents - structured data, tool integration
38
+
35
39
  ## Features
36
40
 
37
41
  - **Memory Storage**: Store structured knowledge with namespaces, types, and metadata
@@ -42,8 +46,8 @@ Local-first memory and RAG system for Claude Code. Semantic search over code, do
42
46
  - **Doc Generation**: Generate documentation from code (stubs or AI-powered)
43
47
  - **Debug Tools**: Verify index integrity, inspect similarity scores
44
48
  - **MCP Server**: Native Claude Code integration
45
- - **Claude Commands**: Pre-built `/remember`, `/recall`, `/create-pr`, `/generate-docs` commands
46
- - **ghp-cli Integration**: Auto-context when starting issues
49
+ - **Usage Documentation**: Guidance for integrating ragtime into AI workflows
50
+ - **ghp-cli Integration**: Auto-context when starting issues via hooks
47
51
 
48
52
  ## Installation
49
53
 
@@ -75,8 +79,8 @@ ragtime remember "Auth uses JWT with 15-min expiry" \
75
79
  # Search memories
76
80
  ragtime search "authentication" --namespace app
77
81
 
78
- # Install Claude commands
79
- ragtime install --workspace
82
+ # View usage documentation for AI integration
83
+ ragtime usage
80
84
 
81
85
  # Check for updates
82
86
  ragtime update --check
@@ -202,17 +206,17 @@ ragtime daemon status
202
206
  ragtime daemon stop
203
207
  ```
204
208
 
205
- ### Claude Integration
209
+ ### Usage Documentation
206
210
 
207
211
  ```bash
208
- # Install Claude commands to workspace
209
- ragtime install --workspace
210
-
211
- # Install globally
212
- ragtime install --global
212
+ # View all usage documentation
213
+ ragtime usage
213
214
 
214
- # List available commands
215
- ragtime install --list
215
+ # View specific sections
216
+ ragtime usage --section mcp # MCP server integration
217
+ ragtime usage --section cli # CLI workflow examples
218
+ ragtime usage --section workflows # Common AI workflow patterns
219
+ ragtime usage --section conventions # Convention checking
216
220
 
217
221
  # Set up ghp-cli hooks
218
222
  ragtime setup-ghp
@@ -255,6 +259,10 @@ code:
255
259
  conventions:
256
260
  files: [".ragtime/CONVENTIONS.md"]
257
261
  also_search_memories: true
262
+ storage: auto # auto | file | memory | ask
263
+ default_file: ".ragtime/CONVENTIONS.md"
264
+ folder: ".ragtime/conventions/"
265
+ scan_docs_for_sections: ["docs/"]
258
266
  ```
259
267
 
260
268
  ## How Search Works
@@ -404,21 +412,46 @@ Sessions are stored in Redis, not cookies.
404
412
  | `integration` | External service connections |
405
413
  | `context` | Session handoff |
406
414
 
407
- ## Claude Commands
408
-
409
- After `ragtime install --workspace`:
410
-
411
- | Command | Purpose |
412
- |---------|---------|
413
- | `/remember` | Capture knowledge mid-session |
414
- | `/recall` | Search memories |
415
- | `/handoff` | Save session context |
416
- | `/start` | Resume work on an issue |
417
- | `/create-pr` | Check conventions, graduate memories, create PR |
418
- | `/generate-docs` | AI-powered documentation generation from code |
419
- | `/import-docs` | Migrate existing docs to memories |
420
- | `/pr-graduate` | Curate branch knowledge (fallback if forgot before PR) |
421
- | `/audit` | Find duplicates/conflicts in memories |
415
+ ## AI Integration
416
+
417
+ Ragtime is designed to work seamlessly with AI agents via MCP tools. Run `ragtime usage` for comprehensive documentation on integration patterns.
418
+
419
+ ### Key Patterns
420
+
421
+ **Memory Storage**: Use `remember` to capture architectural decisions, patterns, and context:
422
+ ```
423
+ remember("Auth uses JWT with 15-min expiry", namespace="app", type="architecture", component="auth")
424
+ ```
425
+
426
+ **Semantic Search**: Use `search` for finding relevant code and documentation:
427
+ ```
428
+ search("how does authentication work", tiered=True) # Prioritizes curated knowledge
429
+ search("error handling", require_terms=["mobile", "dart"]) # Hybrid filtering
430
+ ```
431
+
432
+ **Convention Checking**: Before PRs, verify code follows team standards:
433
+ ```bash
434
+ ragtime check-conventions # Filtered to changed files
435
+ ragtime check-conventions --all # All conventions (for AI analysis)
436
+ ```
437
+
438
+ **Handoff Context**: Save session state for continuity:
439
+ ```
440
+ store_doc(content="Session summary...", namespace="branch-feature-123", doc_type="handoff")
441
+ ```
442
+
443
+ ### Building Custom Commands
444
+
445
+ Create project-specific slash commands in `.claude/commands/` that orchestrate ragtime tools:
446
+
447
+ ```markdown
448
+ # .claude/commands/my-workflow.md
449
+ 1. Search for relevant context: search("$ARGUMENTS", tiered=True)
450
+ 2. Store any new insights: remember(...)
451
+ 3. Check conventions before suggesting changes
452
+ ```
453
+
454
+ The **real value is in the MCP tools** - combine them however fits your workflow.
422
455
 
423
456
  ## MCP Server
424
457
 
@@ -0,0 +1,16 @@
1
+ ragtime_cli-0.3.1.dist-info/licenses/LICENSE,sha256=9A0wJs2PRDciGRH4F8JUJ-aMKYQyq_gVu2ixrXs-l5A,1070
2
+ src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ src/cli.py,sha256=AhapSVnIw9xnd-wXQ0vF533Gt-CNoec7H07Ph6fS2TE,111238
4
+ src/config.py,sha256=_pKQIjkPSquU7ClrTf8Eev_ZagtSV-KWbzHAwSaRe3A,5590
5
+ src/db.py,sha256=eWqFGrg3O6hve67EzRJGcAsIpYxWJo4JlrAtlZUUA_s,15169
6
+ src/feedback.py,sha256=cPw_lzusZZPvkgUxs_eV67NtV1FoCfTXUulBPnD78lo,6455
7
+ src/mcp_server.py,sha256=ttXBtWPur6D4FWaJyJf80YaYlkF6Ak6tADNB4tD5N7E,27205
8
+ src/memory.py,sha256=UiHyudKbseMMY-sdcaDSfVBMGj6sFXXw1GxBsZ7nuBc,18450
9
+ src/indexers/__init__.py,sha256=MYoCPZUpHakMX1s2vWnc9shjWfx_X1_0JzUhpKhnKUQ,454
10
+ src/indexers/code.py,sha256=G2TbiKbWj0e7DV5KsU8-Ggw6ziDb4zTuZ4Bu3ryV4g8,18059
11
+ src/indexers/docs.py,sha256=IyCKjgglVIqkufqlrRLfGb605pTdRYj8-tISxJXGJqI,13344
12
+ ragtime_cli-0.3.1.dist-info/METADATA,sha256=zZjoqZVwOGZz6NTa2rocsmfnX2xkYF0lhhR4aQwhwb8,14662
13
+ ragtime_cli-0.3.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
14
+ ragtime_cli-0.3.1.dist-info/entry_points.txt,sha256=cWLbeyMxZNbew-THS3bHXTpCRXt1EaUy5QUOXGXLjl4,75
15
+ ragtime_cli-0.3.1.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4
16
+ ragtime_cli-0.3.1.dist-info/RECORD,,