gitcast 1.0.16__tar.gz → 1.0.17__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.
- {gitcast-1.0.16/gitcast.egg-info → gitcast-1.0.17}/PKG-INFO +1 -1
- {gitcast-1.0.16 → gitcast-1.0.17}/api/payload.py +2 -2
- {gitcast-1.0.16 → gitcast-1.0.17}/core/ocr.py +1 -0
- {gitcast-1.0.16 → gitcast-1.0.17/gitcast.egg-info}/PKG-INFO +1 -1
- {gitcast-1.0.16 → gitcast-1.0.17}/setup.py +1 -1
- {gitcast-1.0.16 → gitcast-1.0.17}/tests/test_ocr_fix.py +1 -1
- {gitcast-1.0.16 → gitcast-1.0.17}/.env.example +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/LICENSE +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/MANIFEST.in +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/README.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/ai/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/ai/formatter.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/ai/generator.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/ai/prompts.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/ai/viral_patterns.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/analytics.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/auth.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/auth_middleware.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/auth_routes.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/monitoring.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/ratelimit.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/routes.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/server.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/api/validators.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/assets/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/assets/favicon-16x16.png +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/assets/favicon-32x32.png +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/assets/favicon-64x64.png +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/assets/favicon.ico +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/assets/icon.png +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/cli/.env.example +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/cli/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/cli/gitcast.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/config/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/config/settings.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/capture.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/codebase_reader.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/framing.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/hotkey.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/log_stream.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/screenshot_session.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/security.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/tray.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/core/trigger.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/api-keys.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/article-generator.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/capture-flow.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/changelog.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/contributing.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/dashboard.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/insights.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/introduction.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/post-formats.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/providers.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/pypi-errors.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/quickstart.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/docs/sprint-mode.md +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/SOURCES.txt +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/dependency_links.txt +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/entry_points.txt +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/requires.txt +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/top_level.txt +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/publisher/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/publisher/clipboard.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/publisher/twitter.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/pyproject.toml +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/requirements.txt +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/setup.cfg +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/cleanup.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/engagement.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/insights.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/key_manager.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/logger.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/metrics.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/sprint.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/streak.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/supabase_client.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/storage/tone_memory.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/tests/test_keys.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/ui/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/ui/popup.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/ui/review.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/web/__init__.py +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/web/index.html +0 -0
- {gitcast-1.0.16 → gitcast-1.0.17}/web/landing.html +0 -0
|
@@ -118,7 +118,7 @@ def _build_user_message(
|
|
|
118
118
|
|
|
119
119
|
# check if OCR text is fragmented
|
|
120
120
|
ocr_text = "\n\n".join([s.get("ocr_text", "") for s in screenshots if s.get("ocr_text")]).strip()
|
|
121
|
-
if
|
|
121
|
+
if len(ocr_text.strip()) < 80:
|
|
122
122
|
parts.append(
|
|
123
123
|
"## Note\n"
|
|
124
124
|
"Screen context is fragmented/unreliable — "
|
|
@@ -130,7 +130,7 @@ def _build_user_message(
|
|
|
130
130
|
if ocr_text and not use_vision:
|
|
131
131
|
parts.append(
|
|
132
132
|
f"## Screen text (secondary, may be noisy)\n"
|
|
133
|
-
f"{ocr_text}"
|
|
133
|
+
f"{ocr_text.strip()}"
|
|
134
134
|
)
|
|
135
135
|
|
|
136
136
|
# project narrative
|
|
@@ -51,7 +51,7 @@ if os.path.exists(requirements_path):
|
|
|
51
51
|
|
|
52
52
|
setup(
|
|
53
53
|
name="gitcast",
|
|
54
|
-
version="1.0.
|
|
54
|
+
version="1.0.17",
|
|
55
55
|
description="git diff → published post. under 60 seconds.",
|
|
56
56
|
long_description=long_description,
|
|
57
57
|
long_description_content_type="text/markdown",
|
|
@@ -3,7 +3,7 @@ import asyncio
|
|
|
3
3
|
import sys
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
|
|
6
|
-
sys.path.
|
|
6
|
+
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
|
7
7
|
|
|
8
8
|
from api.payload import build_payload
|
|
9
9
|
from api.routes import generate_article, ArticleGenerateRequest
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|