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.
Files changed (88) hide show
  1. {gitcast-1.0.16/gitcast.egg-info → gitcast-1.0.17}/PKG-INFO +1 -1
  2. {gitcast-1.0.16 → gitcast-1.0.17}/api/payload.py +2 -2
  3. {gitcast-1.0.16 → gitcast-1.0.17}/core/ocr.py +1 -0
  4. {gitcast-1.0.16 → gitcast-1.0.17/gitcast.egg-info}/PKG-INFO +1 -1
  5. {gitcast-1.0.16 → gitcast-1.0.17}/setup.py +1 -1
  6. {gitcast-1.0.16 → gitcast-1.0.17}/tests/test_ocr_fix.py +1 -1
  7. {gitcast-1.0.16 → gitcast-1.0.17}/.env.example +0 -0
  8. {gitcast-1.0.16 → gitcast-1.0.17}/LICENSE +0 -0
  9. {gitcast-1.0.16 → gitcast-1.0.17}/MANIFEST.in +0 -0
  10. {gitcast-1.0.16 → gitcast-1.0.17}/README.md +0 -0
  11. {gitcast-1.0.16 → gitcast-1.0.17}/ai/__init__.py +0 -0
  12. {gitcast-1.0.16 → gitcast-1.0.17}/ai/formatter.py +0 -0
  13. {gitcast-1.0.16 → gitcast-1.0.17}/ai/generator.py +0 -0
  14. {gitcast-1.0.16 → gitcast-1.0.17}/ai/prompts.py +0 -0
  15. {gitcast-1.0.16 → gitcast-1.0.17}/ai/viral_patterns.py +0 -0
  16. {gitcast-1.0.16 → gitcast-1.0.17}/api/__init__.py +0 -0
  17. {gitcast-1.0.16 → gitcast-1.0.17}/api/analytics.py +0 -0
  18. {gitcast-1.0.16 → gitcast-1.0.17}/api/auth.py +0 -0
  19. {gitcast-1.0.16 → gitcast-1.0.17}/api/auth_middleware.py +0 -0
  20. {gitcast-1.0.16 → gitcast-1.0.17}/api/auth_routes.py +0 -0
  21. {gitcast-1.0.16 → gitcast-1.0.17}/api/monitoring.py +0 -0
  22. {gitcast-1.0.16 → gitcast-1.0.17}/api/ratelimit.py +0 -0
  23. {gitcast-1.0.16 → gitcast-1.0.17}/api/routes.py +0 -0
  24. {gitcast-1.0.16 → gitcast-1.0.17}/api/server.py +0 -0
  25. {gitcast-1.0.16 → gitcast-1.0.17}/api/validators.py +0 -0
  26. {gitcast-1.0.16 → gitcast-1.0.17}/assets/__init__.py +0 -0
  27. {gitcast-1.0.16 → gitcast-1.0.17}/assets/favicon-16x16.png +0 -0
  28. {gitcast-1.0.16 → gitcast-1.0.17}/assets/favicon-32x32.png +0 -0
  29. {gitcast-1.0.16 → gitcast-1.0.17}/assets/favicon-64x64.png +0 -0
  30. {gitcast-1.0.16 → gitcast-1.0.17}/assets/favicon.ico +0 -0
  31. {gitcast-1.0.16 → gitcast-1.0.17}/assets/icon.png +0 -0
  32. {gitcast-1.0.16 → gitcast-1.0.17}/cli/.env.example +0 -0
  33. {gitcast-1.0.16 → gitcast-1.0.17}/cli/__init__.py +0 -0
  34. {gitcast-1.0.16 → gitcast-1.0.17}/cli/gitcast.py +0 -0
  35. {gitcast-1.0.16 → gitcast-1.0.17}/config/__init__.py +0 -0
  36. {gitcast-1.0.16 → gitcast-1.0.17}/config/settings.py +0 -0
  37. {gitcast-1.0.16 → gitcast-1.0.17}/core/__init__.py +0 -0
  38. {gitcast-1.0.16 → gitcast-1.0.17}/core/capture.py +0 -0
  39. {gitcast-1.0.16 → gitcast-1.0.17}/core/codebase_reader.py +0 -0
  40. {gitcast-1.0.16 → gitcast-1.0.17}/core/framing.py +0 -0
  41. {gitcast-1.0.16 → gitcast-1.0.17}/core/hotkey.py +0 -0
  42. {gitcast-1.0.16 → gitcast-1.0.17}/core/log_stream.py +0 -0
  43. {gitcast-1.0.16 → gitcast-1.0.17}/core/screenshot_session.py +0 -0
  44. {gitcast-1.0.16 → gitcast-1.0.17}/core/security.py +0 -0
  45. {gitcast-1.0.16 → gitcast-1.0.17}/core/tray.py +0 -0
  46. {gitcast-1.0.16 → gitcast-1.0.17}/core/trigger.py +0 -0
  47. {gitcast-1.0.16 → gitcast-1.0.17}/docs/api-keys.md +0 -0
  48. {gitcast-1.0.16 → gitcast-1.0.17}/docs/article-generator.md +0 -0
  49. {gitcast-1.0.16 → gitcast-1.0.17}/docs/capture-flow.md +0 -0
  50. {gitcast-1.0.16 → gitcast-1.0.17}/docs/changelog.md +0 -0
  51. {gitcast-1.0.16 → gitcast-1.0.17}/docs/contributing.md +0 -0
  52. {gitcast-1.0.16 → gitcast-1.0.17}/docs/dashboard.md +0 -0
  53. {gitcast-1.0.16 → gitcast-1.0.17}/docs/insights.md +0 -0
  54. {gitcast-1.0.16 → gitcast-1.0.17}/docs/introduction.md +0 -0
  55. {gitcast-1.0.16 → gitcast-1.0.17}/docs/post-formats.md +0 -0
  56. {gitcast-1.0.16 → gitcast-1.0.17}/docs/providers.md +0 -0
  57. {gitcast-1.0.16 → gitcast-1.0.17}/docs/pypi-errors.md +0 -0
  58. {gitcast-1.0.16 → gitcast-1.0.17}/docs/quickstart.md +0 -0
  59. {gitcast-1.0.16 → gitcast-1.0.17}/docs/sprint-mode.md +0 -0
  60. {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/SOURCES.txt +0 -0
  61. {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/dependency_links.txt +0 -0
  62. {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/entry_points.txt +0 -0
  63. {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/requires.txt +0 -0
  64. {gitcast-1.0.16 → gitcast-1.0.17}/gitcast.egg-info/top_level.txt +0 -0
  65. {gitcast-1.0.16 → gitcast-1.0.17}/publisher/__init__.py +0 -0
  66. {gitcast-1.0.16 → gitcast-1.0.17}/publisher/clipboard.py +0 -0
  67. {gitcast-1.0.16 → gitcast-1.0.17}/publisher/twitter.py +0 -0
  68. {gitcast-1.0.16 → gitcast-1.0.17}/pyproject.toml +0 -0
  69. {gitcast-1.0.16 → gitcast-1.0.17}/requirements.txt +0 -0
  70. {gitcast-1.0.16 → gitcast-1.0.17}/setup.cfg +0 -0
  71. {gitcast-1.0.16 → gitcast-1.0.17}/storage/__init__.py +0 -0
  72. {gitcast-1.0.16 → gitcast-1.0.17}/storage/cleanup.py +0 -0
  73. {gitcast-1.0.16 → gitcast-1.0.17}/storage/engagement.py +0 -0
  74. {gitcast-1.0.16 → gitcast-1.0.17}/storage/insights.py +0 -0
  75. {gitcast-1.0.16 → gitcast-1.0.17}/storage/key_manager.py +0 -0
  76. {gitcast-1.0.16 → gitcast-1.0.17}/storage/logger.py +0 -0
  77. {gitcast-1.0.16 → gitcast-1.0.17}/storage/metrics.py +0 -0
  78. {gitcast-1.0.16 → gitcast-1.0.17}/storage/sprint.py +0 -0
  79. {gitcast-1.0.16 → gitcast-1.0.17}/storage/streak.py +0 -0
  80. {gitcast-1.0.16 → gitcast-1.0.17}/storage/supabase_client.py +0 -0
  81. {gitcast-1.0.16 → gitcast-1.0.17}/storage/tone_memory.py +0 -0
  82. {gitcast-1.0.16 → gitcast-1.0.17}/tests/test_keys.py +0 -0
  83. {gitcast-1.0.16 → gitcast-1.0.17}/ui/__init__.py +0 -0
  84. {gitcast-1.0.16 → gitcast-1.0.17}/ui/popup.py +0 -0
  85. {gitcast-1.0.16 → gitcast-1.0.17}/ui/review.py +0 -0
  86. {gitcast-1.0.16 → gitcast-1.0.17}/web/__init__.py +0 -0
  87. {gitcast-1.0.16 → gitcast-1.0.17}/web/index.html +0 -0
  88. {gitcast-1.0.16 → gitcast-1.0.17}/web/landing.html +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitcast
3
- Version: 1.0.16
3
+ Version: 1.0.17
4
4
  Summary: git diff → published post. under 60 seconds.
5
5
  Home-page: https://github.com/drizzy765/gitcast
6
6
  Author: Timilehin Agoro
@@ -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 ocr_text and len(ocr_text) < 80:
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
@@ -135,6 +135,7 @@ def filter_browser_chrome(text: str) -> str:
135
135
  return '\n'.join(cleaned)
136
136
 
137
137
 
138
+
138
139
  # ── Text cleaning ─────────────────────────────────────────────────────────────
139
140
 
140
141
  def _clean_ocr_text(raw: str) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitcast
3
- Version: 1.0.16
3
+ Version: 1.0.17
4
4
  Summary: git diff → published post. under 60 seconds.
5
5
  Home-page: https://github.com/drizzy765/gitcast
6
6
  Author: Timilehin Agoro
@@ -51,7 +51,7 @@ if os.path.exists(requirements_path):
51
51
 
52
52
  setup(
53
53
  name="gitcast",
54
- version="1.0.16",
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.append(str(Path(__file__).resolve().parent.parent))
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