ragtime-cli 0.3.0__tar.gz → 0.3.1__tar.gz

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.3.0
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ragtime-cli"
3
- version = "0.3.0"
3
+ version = "0.3.1"
4
4
  description = "Local-first memory and RAG system for Claude Code - semantic search over code, docs, and team knowledge"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ragtime-cli
3
- Version: 0.3.0
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
@@ -306,8 +306,17 @@ def setup_mcp_global(force: bool = False) -> bool:
306
306
  return False
307
307
 
308
308
 
309
+ def get_version():
310
+ """Get version from package metadata."""
311
+ try:
312
+ from importlib.metadata import version
313
+ return version("ragtime-cli")
314
+ except Exception:
315
+ return "unknown"
316
+
317
+
309
318
  @click.group()
310
- @click.version_option(version="0.2.18")
319
+ @click.version_option(version=get_version())
311
320
  @click.option("-y", "--force-defaults", is_flag=True, help="Accept all defaults without prompting")
312
321
  @click.pass_context
313
322
  def main(ctx, force_defaults: bool):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes