chore: Pre beta prep (#20)

fix: drop search_index table on db reindex 
fix: ai_resource_guide.md path
chore: remove logfire
Signed-off-by: phernandez <paul@basicmachines.co>
This commit is contained in:
Paul Hernandez
2025-03-07 14:31:35 -06:00
committed by GitHub
parent d2bd75a949
commit 6a4bd54646
71 changed files with 3555 additions and 569 deletions
-2
View File
@@ -1,6 +1,5 @@
"""Database management commands."""
import logfire
import typer
from loguru import logger
@@ -8,7 +7,6 @@ from basic_memory.alembic import migrations
from basic_memory.cli.app import app
@logfire.instrument()
@app.command()
def reset(
reindex: bool = typer.Option(False, "--reindex", help="Rebuild db index from filesystem"),
@@ -6,7 +6,6 @@ from datetime import datetime
from pathlib import Path
from typing import Dict, Any, List, Annotated, Set, Optional
import logfire
import typer
from loguru import logger
from rich.console import Console
@@ -208,7 +207,6 @@ async def get_markdown_processor() -> MarkdownProcessor:
@import_app.command(name="chatgpt", help="Import conversations from ChatGPT JSON export.")
@logfire.instrument(extract_args=False)
def import_chatgpt(
conversations_json: Annotated[
Path, typer.Argument(help="Path to ChatGPT conversations.json file")
@@ -6,7 +6,6 @@ from datetime import datetime
from pathlib import Path
from typing import Dict, Any, List, Annotated
import logfire
import typer
from loguru import logger
from rich.console import Console
@@ -161,7 +160,6 @@ async def get_markdown_processor() -> MarkdownProcessor:
@claude_app.command(name="conversations", help="Import chat conversations from Claude.ai.")
@logfire.instrument(extract_args=False)
def import_claude(
conversations_json: Annotated[
Path, typer.Argument(..., help="Path to conversations.json file")
@@ -5,7 +5,6 @@ import json
from pathlib import Path
from typing import Dict, Any, Annotated, Optional
import logfire
import typer
from loguru import logger
from rich.console import Console
@@ -144,7 +143,6 @@ async def get_markdown_processor() -> MarkdownProcessor:
@claude_app.command(name="projects", help="Import projects from Claude.ai.")
@logfire.instrument(extract_args=False)
def import_projects(
projects_json: Annotated[Path, typer.Argument(..., help="Path to projects.json file")] = Path(
"projects.json"
@@ -5,7 +5,6 @@ import json
from pathlib import Path
from typing import Dict, Any, List, Annotated
import logfire
import typer
from loguru import logger
from rich.console import Console
@@ -99,7 +98,6 @@ async def get_markdown_processor() -> MarkdownProcessor:
@import_app.command()
@logfire.instrument(extract_args=False)
def memory_json(
json_path: Annotated[Path, typer.Argument(..., help="Path to memory.json file")] = Path(
"memory.json"
-2
View File
@@ -3,7 +3,6 @@
import asyncio
from typing import Set, Dict
import logfire
import typer
from loguru import logger
from rich.console import Console
@@ -130,7 +129,6 @@ async def run_status(sync_service: SyncService, verbose: bool = False):
@app.command()
@logfire.instrument(extract_args=False)
def status(
verbose: bool = typer.Option(False, "--verbose", "-v", help="Show detailed file information"),
):