launchway 0.2.75__tar.gz → 0.2.78__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 (210) hide show
  1. {launchway-0.2.75/launchway.egg-info → launchway-0.2.78}/PKG-INFO +4 -4
  2. {launchway-0.2.75 → launchway-0.2.78}/README.md +1 -1
  3. {launchway-0.2.75 → launchway-0.2.78}/launchway/__init__.py +1 -1
  4. {launchway-0.2.75 → launchway-0.2.78}/launchway/agent_bootstrap.py +21 -55
  5. {launchway-0.2.75 → launchway-0.2.78}/launchway/api_client.py +14 -9
  6. launchway-0.2.78/launchway/apply_url_resolver.py +776 -0
  7. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/agent.py +29 -12
  8. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/apply.py +825 -158
  9. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/continuous.py +235 -24
  10. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/history.py +29 -0
  11. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/job_search.py +227 -219
  12. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/profile.py +62 -9
  13. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/settings.py +18 -71
  14. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/tailoring.py +134 -108
  15. {launchway-0.2.75 → launchway-0.2.78}/launchway/config.py +18 -19
  16. launchway-0.2.78/launchway/encrypted_agents/__init__.enc +1 -0
  17. launchway-0.2.78/launchway/encrypted_agents/agent_profile_service.enc +1 -0
  18. launchway-0.2.78/launchway/encrypted_agents/bullet_generation/__init__.enc +1 -0
  19. launchway-0.2.78/launchway/encrypted_agents/bullet_generation/project_bullet_generator.enc +1 -0
  20. launchway-0.2.78/launchway/encrypted_agents/components/__init__.enc +1 -0
  21. launchway-0.2.78/launchway/encrypted_agents/components/action_recorder.enc +1 -0
  22. launchway-0.2.78/launchway/encrypted_agents/components/brains/__init__.enc +1 -0
  23. launchway-0.2.78/launchway/encrypted_agents/components/brains/assist_messages.enc +1 -0
  24. launchway-0.2.78/launchway/encrypted_agents/components/brains/gemini_button_brain.enc +1 -0
  25. launchway-0.2.78/launchway/encrypted_agents/components/brains/gemini_field_mapper.enc +1 -0
  26. launchway-0.2.78/launchway/encrypted_agents/components/brains/gemini_page_analyzer.enc +1 -0
  27. launchway-0.2.78/launchway/encrypted_agents/components/custom_exceptions.enc +1 -0
  28. launchway-0.2.78/launchway/encrypted_agents/components/detectors/__init__.enc +1 -0
  29. launchway-0.2.78/launchway/encrypted_agents/components/detectors/account_creation_detector.enc +1 -0
  30. launchway-0.2.78/launchway/encrypted_agents/components/detectors/application_form_detector.enc +1 -0
  31. launchway-0.2.78/launchway/encrypted_agents/components/detectors/apply_detector.enc +1 -0
  32. launchway-0.2.78/launchway/encrypted_agents/components/detectors/auth_page_detector.enc +1 -0
  33. launchway-0.2.78/launchway/encrypted_agents/components/detectors/next_button_detector.enc +1 -0
  34. launchway-0.2.78/launchway/encrypted_agents/components/detectors/popup_detector.enc +1 -0
  35. launchway-0.2.78/launchway/encrypted_agents/components/detectors/required_field_detector.enc +1 -0
  36. launchway-0.2.78/launchway/encrypted_agents/components/detectors/section_detector.enc +1 -0
  37. launchway-0.2.78/launchway/encrypted_agents/components/detectors/sensitive_field_detector.enc +1 -0
  38. launchway-0.2.78/launchway/encrypted_agents/components/detectors/submit_detector.enc +1 -0
  39. launchway-0.2.78/launchway/encrypted_agents/components/detectors/verification_detector.enc +1 -0
  40. launchway-0.2.78/launchway/encrypted_agents/components/exceptions/__init__.enc +1 -0
  41. launchway-0.2.78/launchway/encrypted_agents/components/exceptions/field_exceptions.enc +1 -0
  42. launchway-0.2.78/launchway/encrypted_agents/components/executors/__init__.enc +1 -0
  43. launchway-0.2.78/launchway/encrypted_agents/components/executors/account_creation_handler.enc +1 -0
  44. launchway-0.2.78/launchway/encrypted_agents/components/executors/ats_dropdown_handlers_v2.enc +1 -0
  45. launchway-0.2.78/launchway/encrypted_agents/components/executors/click_executor.enc +1 -0
  46. launchway-0.2.78/launchway/encrypted_agents/components/executors/cmp_consent.enc +1 -0
  47. launchway-0.2.78/launchway/encrypted_agents/components/executors/deterministic_field_mapper.enc +1 -0
  48. launchway-0.2.78/launchway/encrypted_agents/components/executors/dom_pattern_mapper.enc +1 -0
  49. launchway-0.2.78/launchway/encrypted_agents/components/executors/dom_pattern_recorder.enc +1 -0
  50. launchway-0.2.78/launchway/encrypted_agents/components/executors/field_interactor_v2.enc +1 -0
  51. launchway-0.2.78/launchway/encrypted_agents/components/executors/generic_form_filler_v2_enhanced.enc +1 -0
  52. launchway-0.2.78/launchway/encrypted_agents/components/executors/human_behavior.enc +1 -0
  53. launchway-0.2.78/launchway/encrypted_agents/components/executors/iframe_helper.enc +1 -0
  54. launchway-0.2.78/launchway/encrypted_agents/components/executors/intelligent_dropdown_selector.enc +1 -0
  55. launchway-0.2.78/launchway/encrypted_agents/components/executors/learned_patterns_mapper.enc +1 -0
  56. launchway-0.2.78/launchway/encrypted_agents/components/executors/popup_executor.enc +1 -0
  57. launchway-0.2.78/launchway/encrypted_agents/components/executors/question_extractor.enc +1 -0
  58. launchway-0.2.78/launchway/encrypted_agents/components/executors/section_filler.enc +1 -0
  59. launchway-0.2.78/launchway/encrypted_agents/components/executors/semantic_field_mapper.enc +1 -0
  60. launchway-0.2.78/launchway/encrypted_agents/components/human_fill_tracker.enc +1 -0
  61. launchway-0.2.78/launchway/encrypted_agents/components/pattern_recorder.enc +1 -0
  62. launchway-0.2.78/launchway/encrypted_agents/components/router/__init__.enc +1 -0
  63. launchway-0.2.78/launchway/encrypted_agents/components/router/state_machine.enc +1 -0
  64. launchway-0.2.78/launchway/encrypted_agents/components/services/__init__.enc +1 -0
  65. launchway-0.2.78/launchway/encrypted_agents/components/services/company_credentials_service.enc +1 -0
  66. launchway-0.2.78/launchway/encrypted_agents/components/session/__init__.enc +1 -0
  67. launchway-0.2.78/launchway/encrypted_agents/components/session/session_manager.enc +1 -0
  68. launchway-0.2.78/launchway/encrypted_agents/components/state/__init__.enc +1 -0
  69. launchway-0.2.78/launchway/encrypted_agents/components/state/field_completion_tracker.enc +1 -0
  70. launchway-0.2.78/launchway/encrypted_agents/components/user_override_profiler.enc +1 -0
  71. launchway-0.2.78/launchway/encrypted_agents/components/user_pattern_recorder.enc +1 -0
  72. launchway-0.2.78/launchway/encrypted_agents/components/utils/__init__.enc +1 -0
  73. launchway-0.2.78/launchway/encrypted_agents/components/utils/google_docs_converter.enc +1 -0
  74. launchway-0.2.78/launchway/encrypted_agents/components/validators/__init__.enc +1 -0
  75. launchway-0.2.78/launchway/encrypted_agents/components/validators/field_value_validator.enc +1 -0
  76. launchway-0.2.78/launchway/encrypted_agents/components/validators/nav_validator.enc +1 -0
  77. launchway-0.2.78/launchway/encrypted_agents/cover_letter_tailoring.enc +1 -0
  78. launchway-0.2.78/launchway/encrypted_agents/fill_debug_reporter.enc +1 -0
  79. launchway-0.2.78/launchway/encrypted_agents/gemini_compat.enc +1 -0
  80. launchway-0.2.78/launchway/encrypted_agents/gemini_key_manager.enc +1 -0
  81. launchway-0.2.78/launchway/encrypted_agents/gemini_prompt_response_debug.enc +1 -0
  82. launchway-0.2.78/launchway/encrypted_agents/gemini_query_optimizer.enc +1 -0
  83. launchway-0.2.78/launchway/encrypted_agents/gemini_rate_limiter.enc +1 -0
  84. launchway-0.2.78/launchway/encrypted_agents/hidden_browser_manager.enc +1 -0
  85. launchway-0.2.78/launchway/encrypted_agents/improved_char_calc.enc +1 -0
  86. launchway-0.2.78/launchway/encrypted_agents/job_api_adapters.enc +1 -0
  87. launchway-0.2.78/launchway/encrypted_agents/job_application_agent.enc +1 -0
  88. launchway-0.2.78/launchway/encrypted_agents/job_application_agent_debug_prompts.enc +1 -0
  89. launchway-0.2.78/launchway/encrypted_agents/job_relevance_scorer.enc +1 -0
  90. launchway-0.2.78/launchway/encrypted_agents/jobspy_adapter.enc +1 -0
  91. launchway-0.2.78/launchway/encrypted_agents/latex_tailoring_agent.enc +1 -0
  92. launchway-0.2.78/launchway/encrypted_agents/multi_source_job_discovery_agent.enc +1 -0
  93. launchway-0.2.78/launchway/encrypted_agents/persistent_browser_manager.enc +1 -0
  94. launchway-0.2.78/launchway/encrypted_agents/project_selection/__init__.enc +1 -0
  95. launchway-0.2.78/launchway/encrypted_agents/project_selection/relevance_engine.enc +1 -0
  96. launchway-0.2.78/launchway/encrypted_agents/proxy_manager.enc +1 -0
  97. launchway-0.2.78/launchway/encrypted_agents/resume_keyword_extractor.enc +1 -0
  98. launchway-0.2.78/launchway/encrypted_agents/resume_tailoring_agent.enc +1 -0
  99. launchway-0.2.78/launchway/encrypted_agents/space_borrowing.enc +1 -0
  100. launchway-0.2.78/launchway/encrypted_agents/systematic_tailoring_complete.enc +1 -0
  101. launchway-0.2.78/launchway/encrypted_agents/validation/__init__.enc +1 -0
  102. launchway-0.2.78/launchway/encrypted_agents/validation/hallucination_detector.enc +1 -0
  103. launchway-0.2.78/launchway/encrypted_agents/validation/semantic_validator.enc +1 -0
  104. launchway-0.2.78/launchway/encrypted_support/credentials.json.enc +1 -0
  105. launchway-0.2.78/launchway/privacy.py +63 -0
  106. {launchway-0.2.75 → launchway-0.2.78}/launchway/session.py +4 -0
  107. {launchway-0.2.75 → launchway-0.2.78/launchway.egg-info}/PKG-INFO +4 -4
  108. {launchway-0.2.75 → launchway-0.2.78}/launchway.egg-info/SOURCES.txt +5 -0
  109. {launchway-0.2.75 → launchway-0.2.78}/pyproject.toml +7 -3
  110. launchway-0.2.75/launchway/encrypted_agents/__init__.enc +0 -1
  111. launchway-0.2.75/launchway/encrypted_agents/agent_profile_service.enc +0 -1
  112. launchway-0.2.75/launchway/encrypted_agents/bullet_generation/__init__.enc +0 -1
  113. launchway-0.2.75/launchway/encrypted_agents/bullet_generation/project_bullet_generator.enc +0 -1
  114. launchway-0.2.75/launchway/encrypted_agents/components/__init__.enc +0 -1
  115. launchway-0.2.75/launchway/encrypted_agents/components/action_recorder.enc +0 -1
  116. launchway-0.2.75/launchway/encrypted_agents/components/brains/__init__.enc +0 -1
  117. launchway-0.2.75/launchway/encrypted_agents/components/brains/gemini_button_brain.enc +0 -1
  118. launchway-0.2.75/launchway/encrypted_agents/components/brains/gemini_field_mapper.enc +0 -1
  119. launchway-0.2.75/launchway/encrypted_agents/components/brains/gemini_page_analyzer.enc +0 -1
  120. launchway-0.2.75/launchway/encrypted_agents/components/custom_exceptions.enc +0 -1
  121. launchway-0.2.75/launchway/encrypted_agents/components/detectors/__init__.enc +0 -1
  122. launchway-0.2.75/launchway/encrypted_agents/components/detectors/account_creation_detector.enc +0 -1
  123. launchway-0.2.75/launchway/encrypted_agents/components/detectors/application_form_detector.enc +0 -1
  124. launchway-0.2.75/launchway/encrypted_agents/components/detectors/apply_detector.enc +0 -1
  125. launchway-0.2.75/launchway/encrypted_agents/components/detectors/auth_page_detector.enc +0 -1
  126. launchway-0.2.75/launchway/encrypted_agents/components/detectors/next_button_detector.enc +0 -1
  127. launchway-0.2.75/launchway/encrypted_agents/components/detectors/popup_detector.enc +0 -1
  128. launchway-0.2.75/launchway/encrypted_agents/components/detectors/required_field_detector.enc +0 -1
  129. launchway-0.2.75/launchway/encrypted_agents/components/detectors/section_detector.enc +0 -1
  130. launchway-0.2.75/launchway/encrypted_agents/components/detectors/sensitive_field_detector.enc +0 -1
  131. launchway-0.2.75/launchway/encrypted_agents/components/detectors/submit_detector.enc +0 -1
  132. launchway-0.2.75/launchway/encrypted_agents/components/exceptions/__init__.enc +0 -1
  133. launchway-0.2.75/launchway/encrypted_agents/components/exceptions/field_exceptions.enc +0 -1
  134. launchway-0.2.75/launchway/encrypted_agents/components/executors/__init__.enc +0 -1
  135. launchway-0.2.75/launchway/encrypted_agents/components/executors/account_creation_handler.enc +0 -1
  136. launchway-0.2.75/launchway/encrypted_agents/components/executors/ats_dropdown_handlers_v2.enc +0 -1
  137. launchway-0.2.75/launchway/encrypted_agents/components/executors/click_executor.enc +0 -1
  138. launchway-0.2.75/launchway/encrypted_agents/components/executors/cmp_consent.enc +0 -1
  139. launchway-0.2.75/launchway/encrypted_agents/components/executors/deterministic_field_mapper.enc +0 -1
  140. launchway-0.2.75/launchway/encrypted_agents/components/executors/dom_pattern_mapper.enc +0 -1
  141. launchway-0.2.75/launchway/encrypted_agents/components/executors/dom_pattern_recorder.enc +0 -1
  142. launchway-0.2.75/launchway/encrypted_agents/components/executors/field_interactor_v2.enc +0 -1
  143. launchway-0.2.75/launchway/encrypted_agents/components/executors/generic_form_filler_v2_enhanced.enc +0 -1
  144. launchway-0.2.75/launchway/encrypted_agents/components/executors/iframe_helper.enc +0 -1
  145. launchway-0.2.75/launchway/encrypted_agents/components/executors/intelligent_dropdown_selector.enc +0 -1
  146. launchway-0.2.75/launchway/encrypted_agents/components/executors/learned_patterns_mapper.enc +0 -1
  147. launchway-0.2.75/launchway/encrypted_agents/components/executors/popup_executor.enc +0 -1
  148. launchway-0.2.75/launchway/encrypted_agents/components/executors/question_extractor.enc +0 -1
  149. launchway-0.2.75/launchway/encrypted_agents/components/executors/section_filler.enc +0 -1
  150. launchway-0.2.75/launchway/encrypted_agents/components/executors/semantic_field_mapper.enc +0 -1
  151. launchway-0.2.75/launchway/encrypted_agents/components/human_fill_tracker.enc +0 -1
  152. launchway-0.2.75/launchway/encrypted_agents/components/pattern_recorder.enc +0 -1
  153. launchway-0.2.75/launchway/encrypted_agents/components/router/__init__.enc +0 -1
  154. launchway-0.2.75/launchway/encrypted_agents/components/router/state_machine.enc +0 -1
  155. launchway-0.2.75/launchway/encrypted_agents/components/services/__init__.enc +0 -1
  156. launchway-0.2.75/launchway/encrypted_agents/components/services/company_credentials_service.enc +0 -1
  157. launchway-0.2.75/launchway/encrypted_agents/components/session/__init__.enc +0 -1
  158. launchway-0.2.75/launchway/encrypted_agents/components/session/session_manager.enc +0 -1
  159. launchway-0.2.75/launchway/encrypted_agents/components/state/__init__.enc +0 -1
  160. launchway-0.2.75/launchway/encrypted_agents/components/state/field_completion_tracker.enc +0 -1
  161. launchway-0.2.75/launchway/encrypted_agents/components/user_override_profiler.enc +0 -1
  162. launchway-0.2.75/launchway/encrypted_agents/components/user_pattern_recorder.enc +0 -1
  163. launchway-0.2.75/launchway/encrypted_agents/components/utils/__init__.enc +0 -1
  164. launchway-0.2.75/launchway/encrypted_agents/components/utils/google_docs_converter.enc +0 -1
  165. launchway-0.2.75/launchway/encrypted_agents/components/validators/__init__.enc +0 -1
  166. launchway-0.2.75/launchway/encrypted_agents/components/validators/field_value_validator.enc +0 -1
  167. launchway-0.2.75/launchway/encrypted_agents/components/validators/nav_validator.enc +0 -1
  168. launchway-0.2.75/launchway/encrypted_agents/cover_letter_tailoring.enc +0 -1
  169. launchway-0.2.75/launchway/encrypted_agents/fill_debug_reporter.enc +0 -1
  170. launchway-0.2.75/launchway/encrypted_agents/gemini_compat.enc +0 -1
  171. launchway-0.2.75/launchway/encrypted_agents/gemini_key_manager.enc +0 -1
  172. launchway-0.2.75/launchway/encrypted_agents/gemini_prompt_response_debug.enc +0 -1
  173. launchway-0.2.75/launchway/encrypted_agents/gemini_query_optimizer.enc +0 -1
  174. launchway-0.2.75/launchway/encrypted_agents/gemini_rate_limiter.enc +0 -1
  175. launchway-0.2.75/launchway/encrypted_agents/hidden_browser_manager.enc +0 -1
  176. launchway-0.2.75/launchway/encrypted_agents/improved_char_calc.enc +0 -1
  177. launchway-0.2.75/launchway/encrypted_agents/job_api_adapters.enc +0 -1
  178. launchway-0.2.75/launchway/encrypted_agents/job_application_agent.enc +0 -1
  179. launchway-0.2.75/launchway/encrypted_agents/job_application_agent_debug_prompts.enc +0 -1
  180. launchway-0.2.75/launchway/encrypted_agents/job_relevance_scorer.enc +0 -1
  181. launchway-0.2.75/launchway/encrypted_agents/jobspy_adapter.enc +0 -1
  182. launchway-0.2.75/launchway/encrypted_agents/latex_tailoring_agent.enc +0 -1
  183. launchway-0.2.75/launchway/encrypted_agents/multi_source_job_discovery_agent.enc +0 -1
  184. launchway-0.2.75/launchway/encrypted_agents/persistent_browser_manager.enc +0 -1
  185. launchway-0.2.75/launchway/encrypted_agents/project_selection/__init__.enc +0 -1
  186. launchway-0.2.75/launchway/encrypted_agents/project_selection/relevance_engine.enc +0 -1
  187. launchway-0.2.75/launchway/encrypted_agents/proxy_manager.enc +0 -1
  188. launchway-0.2.75/launchway/encrypted_agents/resume_keyword_extractor.enc +0 -1
  189. launchway-0.2.75/launchway/encrypted_agents/resume_tailoring_agent.enc +0 -1
  190. launchway-0.2.75/launchway/encrypted_agents/space_borrowing.enc +0 -1
  191. launchway-0.2.75/launchway/encrypted_agents/systematic_tailoring_complete.enc +0 -1
  192. launchway-0.2.75/launchway/encrypted_agents/validation/__init__.enc +0 -1
  193. launchway-0.2.75/launchway/encrypted_agents/validation/hallucination_detector.enc +0 -1
  194. launchway-0.2.75/launchway/encrypted_agents/validation/semantic_validator.enc +0 -1
  195. launchway-0.2.75/launchway/encrypted_support/credentials.json.enc +0 -1
  196. {launchway-0.2.75 → launchway-0.2.78}/LICENSE +0 -0
  197. {launchway-0.2.75 → launchway-0.2.78}/MANIFEST.in +0 -0
  198. {launchway-0.2.75 → launchway-0.2.78}/launchway/__main__.py +0 -0
  199. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/__init__.py +0 -0
  200. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/__init__.py +0 -0
  201. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/auth.py +0 -0
  202. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/mixins/browser_setup.py +0 -0
  203. {launchway-0.2.75 → launchway-0.2.78}/launchway/cli/utils.py +0 -0
  204. {launchway-0.2.75 → launchway-0.2.78}/launchway/encrypted_agents/key_fingerprint.txt +0 -0
  205. {launchway-0.2.75 → launchway-0.2.78}/launchway/postinstall.py +0 -0
  206. {launchway-0.2.75 → launchway-0.2.78}/launchway.egg-info/dependency_links.txt +0 -0
  207. {launchway-0.2.75 → launchway-0.2.78}/launchway.egg-info/entry_points.txt +0 -0
  208. {launchway-0.2.75 → launchway-0.2.78}/launchway.egg-info/requires.txt +0 -0
  209. {launchway-0.2.75 → launchway-0.2.78}/launchway.egg-info/top_level.txt +0 -0
  210. {launchway-0.2.75 → launchway-0.2.78}/setup.cfg +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: launchway
3
- Version: 0.2.75
3
+ Version: 0.2.78
4
4
  Summary: AI-powered job application automation - tailor resumes, find jobs, apply autonomously.
5
5
  Author-email: Launchway <noreply@tailor-mycareer.online>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://launchway.app
8
8
  Project-URL: Documentation, https://launchway.app/docs
9
- Project-URL: Repository, https://github.com/launchway/launchway
10
- Project-URL: Bug Tracker, https://github.com/launchway/launchway/issues
9
+ Project-URL: Repository, https://github.com/protocorn/job_application_agent
10
+ Project-URL: Bug Tracker, https://github.com/protocorn/job_application_agent/issues
11
11
  Keywords: job-search,resume,automation,cli,ai,playwright
12
12
  Classifier: Development Status :: 3 - Alpha
13
13
  Classifier: Environment :: Console
@@ -124,7 +124,7 @@ Launchway works **out of the box with no API key**. On first launch you will be
124
124
  3. Skip for now - decide later
125
125
  ```
126
126
 
127
- **Option 1 (default):** Launchway's built-in AI handles everything. No key, no quota, no setup.
127
+ **Option 1 (default):** Launchway's built-in AI handles search, tailoring, and auto-apply. No key is stored on your computer. Auto-apply sends form questions to Launchway's server, which calls Gemini and returns the answers.
128
128
 
129
129
  **Option 2:** Bring your own free [Google Gemini API key](https://aistudio.google.com).
130
130
  Useful for power users who want full control over their own AI quota.
@@ -53,7 +53,7 @@ Launchway works **out of the box with no API key**. On first launch you will be
53
53
  3. Skip for now - decide later
54
54
  ```
55
55
 
56
- **Option 1 (default):** Launchway's built-in AI handles everything. No key, no quota, no setup.
56
+ **Option 1 (default):** Launchway's built-in AI handles search, tailoring, and auto-apply. No key is stored on your computer. Auto-apply sends form questions to Launchway's server, which calls Gemini and returns the answers.
57
57
 
58
58
  **Option 2:** Bring your own free [Google Gemini API key](https://aistudio.google.com).
59
59
  Useful for power users who want full control over their own AI quota.
@@ -2,6 +2,6 @@
2
2
  Launchway - AI-powered job application automation CLI.
3
3
  """
4
4
 
5
- __version__ = "0.2.75"
5
+ __version__ = "0.2.78"
6
6
  __author__ = "Launchway"
7
7
  __description__ = "Automate your job search: tailor resumes, find jobs, and apply autonomously."
@@ -67,19 +67,20 @@ def _apply_env_defaults():
67
67
  if not os.getenv(key):
68
68
  os.environ[key] = default_value
69
69
 
70
- # If the user configured a key in ~/.launchway/.env or their shell, keep it.
71
- # Normalize a single explicit key into both env var names for legacy callers.
70
+ # Drop any shared Gemini key saved by older CLI builds. Only a key the
71
+ # user put in their own environment may be used.
72
+ _discard_cached_shared_gemini_key()
73
+
72
74
  existing_gemini_key = os.getenv("GOOGLE_API_KEY") or os.getenv("GEMINI_API_KEY")
73
75
  if existing_gemini_key:
74
76
  _set_gemini_env(existing_gemini_key, source="user")
75
77
  return
76
78
 
77
- # Gemini key - user's own key takes priority; fall back to the server-provided
78
- # key that was cached the last time a full bundle fetch was performed.
79
- cached = _load_cached_gemini_key()
80
- if cached:
81
- _set_gemini_env(cached, override=True, source="cache")
82
- logger.debug("Restored Gemini API key env vars from local cache")
79
+ # Shared AI stays on the server. Auto-apply calls POST /api/cli/gemini
80
+ # with the saved login instead of embedding the key in this process.
81
+ logger.info(
82
+ "No local Gemini key. Auto-apply will use the account AI Engine through the Launchway server."
83
+ )
83
84
 
84
85
 
85
86
  # ── Constants ────────────────────────────────────────────────────────────────
@@ -88,7 +89,6 @@ _KEY_CACHE_PATH = Path.home() / ".launchway" / ".rkey"
88
89
  _GEMINI_KEY_CACHE = Path.home() / ".launchway" / ".gemini_key"
89
90
  _PERSISTENT_MODEL_CACHE = Path.home() / ".launchway" / ".model_cache"
90
91
  _KEY_MAX_AGE_SEC = 24 * 3600 # refresh key every 24 hours
91
- _GEMINI_KEY_MAX_AGE_SEC = 3600 # refresh shared AI key more often
92
92
  _ENC_ROOT = Path(__file__).parent / "encrypted_agents"
93
93
  _KEY_FINGERPRINT_FILE = _ENC_ROOT / "key_fingerprint.txt"
94
94
 
@@ -100,10 +100,8 @@ _bootstrap_diag: dict = {
100
100
  "loader_mode": "disk_decrypt",
101
101
  "model_cache_mode": "none", # symlink|copy_sync|none
102
102
  "model_cache_path": "",
103
- "bundle_gemini_key": "",
104
103
  "gemini_key_source": "none",
105
- "effective_google_api_key": "",
106
- "effective_gemini_api_key": "",
104
+ "user_gemini_key_configured": False,
107
105
  }
108
106
 
109
107
  _import_finder = None
@@ -244,29 +242,14 @@ def _save_key(key_bytes: bytes) -> None:
244
242
  pass
245
243
 
246
244
 
247
- def _load_cached_gemini_key() -> Optional[str]:
248
- """Return the server-provided Gemini key cached from the last bundle fetch."""
249
- if not _GEMINI_KEY_CACHE.exists():
250
- return None
251
- val = _GEMINI_KEY_CACHE.read_text(encoding="utf-8").strip()
252
- return val if val else None
253
-
254
-
255
- def _cached_gemini_key_is_stale() -> bool:
256
- """True when the shared Gemini key should be refreshed from the server."""
257
- if not _GEMINI_KEY_CACHE.exists():
258
- return True
259
- return time.time() - _GEMINI_KEY_CACHE.stat().st_mtime > _GEMINI_KEY_MAX_AGE_SEC
260
-
261
-
262
- def _save_gemini_key(key: str) -> None:
263
- _GEMINI_KEY_CACHE.parent.mkdir(parents=True, exist_ok=True)
264
- _GEMINI_KEY_CACHE.write_text(key, encoding="utf-8")
245
+ def _discard_cached_shared_gemini_key() -> None:
246
+ """Delete a shared Gemini key written by an older CLI. Leave user .env keys alone."""
265
247
  try:
266
- import stat
267
- _GEMINI_KEY_CACHE.chmod(stat.S_IRUSR | stat.S_IWUSR)
268
- except Exception:
269
- pass
248
+ if _GEMINI_KEY_CACHE.exists():
249
+ _GEMINI_KEY_CACHE.unlink()
250
+ logger.info("Removed cached shared Gemini API key from ~/.launchway/.gemini_key")
251
+ except Exception as exc:
252
+ logger.warning(f"Could not delete cached shared Gemini key: {exc}")
270
253
 
271
254
 
272
255
  def _prepare_runtime_model_cache(runtime_agents_root: Path) -> tuple[str, Optional[tuple[Path, Path]]]:
@@ -391,10 +374,7 @@ def bootstrap_agents(api_client) -> bool:
391
374
  # We re-set them every bootstrap even on cache hit, because os.environ resets each process
392
375
  _apply_env_defaults()
393
376
 
394
- should_fetch_bundle = (
395
- not key_bytes
396
- or (_gemini_env_source != "user" and _cached_gemini_key_is_stale())
397
- )
377
+ should_fetch_bundle = not key_bytes
398
378
 
399
379
  if should_fetch_bundle:
400
380
  logger.debug("Fetching runtime bundle from server")
@@ -411,21 +391,6 @@ def bootstrap_agents(api_client) -> bool:
411
391
  logger.error("Runtime key missing/empty from server bundle")
412
392
  return False
413
393
 
414
- # ── Inject service env vars from the bundle ──────────────────────
415
- # Only set each var if the user hasn't already configured their own.
416
-
417
- if isinstance(bundle, dict):
418
- # Gemini API key - needed by systematic_tailoring_complete.py
419
- gemini_key = bundle.get("gemini_key", "")
420
- _bootstrap_diag["bundle_gemini_key"] = gemini_key
421
- if gemini_key:
422
- _save_gemini_key(gemini_key) # persist for future cache-hit runs
423
- if _gemini_env_source != "user":
424
- _set_gemini_env(gemini_key, override=True, source="server")
425
- logger.debug("Set Gemini API key env vars from server bundle (Launchway AI)")
426
- else:
427
- logger.debug("Preserved user-provided Gemini API key over server bundle")
428
-
429
394
  except Exception as e:
430
395
  if not key_bytes:
431
396
  logger.error(f"Failed to fetch runtime key from server: {e}")
@@ -628,8 +593,9 @@ engine = None
628
593
 
629
594
  # Capture final effective env values for diagnostics
630
595
  _bootstrap_diag["gemini_key_source"] = _gemini_env_source
631
- _bootstrap_diag["effective_google_api_key"] = os.getenv("GOOGLE_API_KEY", "")
632
- _bootstrap_diag["effective_gemini_api_key"] = os.getenv("GEMINI_API_KEY", "")
596
+ _bootstrap_diag["user_gemini_key_configured"] = bool(
597
+ os.getenv("GOOGLE_API_KEY") or os.getenv("GEMINI_API_KEY")
598
+ )
633
599
 
634
600
  _tmp_dir = tmp_str
635
601
  _bootstrap_done = True
@@ -97,13 +97,13 @@ class LaunchwayClient:
97
97
  except requests.RequestException as e:
98
98
  raise LaunchwayAPIError(f"Network error: {e}")
99
99
 
100
- def _post(self, path: str, json: dict = None) -> Dict[str, Any]:
100
+ def _post(self, path: str, json: dict = None, timeout: int = None) -> Dict[str, Any]:
101
101
  try:
102
102
  resp = self._session.post(
103
103
  self._url(path),
104
104
  headers=self._auth_headers(),
105
105
  json=json or {},
106
- timeout=self.timeout,
106
+ timeout=self.timeout if timeout is None else timeout,
107
107
  )
108
108
  return self._handle(resp)
109
109
  except requests.RequestException as e:
@@ -201,7 +201,7 @@ class LaunchwayClient:
201
201
 
202
202
  Returns dict with keys: success, profile_data, message
203
203
  """
204
- return self._post("/api/process-resume", {"resume_url": resume_url})
204
+ return self._post("/api/process-resume", {"resume_url": resume_url}, timeout=120)
205
205
 
206
206
  def get_google_oauth_status(self) -> Dict[str, Any]:
207
207
  """Check whether the current user has Google OAuth connected."""
@@ -213,9 +213,11 @@ class LaunchwayClient:
213
213
  return data.get("authorization_url", "")
214
214
 
215
215
  def get_google_oauth_access_token(self) -> str:
216
- """Return the user's current Google OAuth access token from the server."""
217
- data = self._get("/api/oauth/access-token")
218
- return data.get("access_token", "")
216
+ """The Google access token stays on the server."""
217
+ raise LaunchwayAPIError(
218
+ "Launchway no longer sends the Google access token to this computer. "
219
+ "Resume tailoring runs on the server."
220
+ )
219
221
 
220
222
  def verify_token(self) -> Dict[str, Any]:
221
223
  """Verify the current token and refresh user info."""
@@ -502,12 +504,15 @@ class LaunchwayClient:
502
504
 
503
505
  def get_agent_key(self) -> dict:
504
506
  """
505
- Fetch the agent runtime bundle from the server.
506
- Returns a dict with at minimum:
507
- { "key": "<fernet key>", "gemini_key": "..." }
507
+ Fetch the agent runtime decryption key from the server.
508
+ The response does not include a Gemini API key.
508
509
  """
509
510
  return self._get("/api/cli/agent-key")
510
511
 
512
+ def create_picker_code(self) -> Dict[str, Any]:
513
+ """Mint a short-lived code for the Drive Picker. The login token stays off the URL."""
514
+ return self._post("/api/cli/picker-code", {})
515
+
511
516
  # ── job search (server-side) ─────────────────────────────────────────────
512
517
 
513
518
  def search_jobs(