codebookx 3.0.0__tar.gz → 3.0.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.
- {codebookx-3.0.0 → codebookx-3.0.1}/PKG-INFO +1 -1
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/cli.py +5 -1
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx.egg-info/PKG-INFO +1 -1
- {codebookx-3.0.0 → codebookx-3.0.1}/pyproject.toml +1 -1
- {codebookx-3.0.0 → codebookx-3.0.1}/NOTICE.md +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/README.md +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/__init__.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/core.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/engine/graph.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/engine/indexer.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/engine/parser.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/engine/vendor/claude_mem_lite.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/engine/vendor/repomix_lite.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/llm.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/prompts.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx/webapp/app.py +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx.egg-info/SOURCES.txt +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx.egg-info/dependency_links.txt +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx.egg-info/entry_points.txt +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx.egg-info/requires.txt +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/codebookx.egg-info/top_level.txt +0 -0
- {codebookx-3.0.0 → codebookx-3.0.1}/setup.cfg +0 -0
|
@@ -2,7 +2,6 @@ import argparse
|
|
|
2
2
|
import sys
|
|
3
3
|
from pathlib import Path
|
|
4
4
|
from .core import run_generate, run_analyze, run_decompose, run_enhance, run_ask, run_ask_chat
|
|
5
|
-
from .webapp.app import run_server
|
|
6
5
|
|
|
7
6
|
def main():
|
|
8
7
|
parser = argparse.ArgumentParser(
|
|
@@ -77,6 +76,11 @@ def main():
|
|
|
77
76
|
db_path = root / ".codebook_cache.db"
|
|
78
77
|
print(f"Starting local UI on http://localhost:{args.port}...")
|
|
79
78
|
print(f"Using database: {db_path}")
|
|
79
|
+
try:
|
|
80
|
+
from .webapp.app import run_server
|
|
81
|
+
except ImportError:
|
|
82
|
+
print("Error: 'flask' not installed. Run: pip install codebookx[ui]")
|
|
83
|
+
sys.exit(1)
|
|
80
84
|
run_server(port=args.port, db_path=str(db_path))
|
|
81
85
|
else:
|
|
82
86
|
parser.print_help()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|