hotfix: v3.1.1 — fix create command max_pages AttributeError

Merge fix from development (#293, #294) and bump version to 3.1.1.
Fixes crash when max_pages argument was not provided in web source routing.

https://claude.ai/code/session_01HS5q7ghjfEUravNPZRCGux
This commit is contained in:
Claude
2026-02-23 06:37:39 +00:00
parent 1ebf797b34
commit 40cec4dffd
6 changed files with 20 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ def get_version() -> str:
"""
if tomllib is None:
# Fallback if TOML library not available
return "3.1.0" # Hardcoded fallback
return "3.1.1" # Hardcoded fallback
try:
# Get path to pyproject.toml (3 levels up from this file)
@@ -37,7 +37,7 @@ def get_version() -> str:
if not pyproject_path.exists():
# Fallback for installed package
return "3.1.0" # Hardcoded fallback
return "3.1.1" # Hardcoded fallback
with open(pyproject_path, "rb") as f:
pyproject_data = tomllib.load(f)
@@ -46,7 +46,7 @@ def get_version() -> str:
except Exception:
# Fallback if anything goes wrong
return "3.1.0" # Hardcoded fallback
return "3.1.1" # Hardcoded fallback
__version__ = get_version()