osa_tool 0.3.3__tar.gz → 0.3.5__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 (261) hide show
  1. {osa_tool-0.3.3 → osa_tool-0.3.5}/PKG-INFO +30 -5
  2. {osa_tool-0.3.3 → osa_tool-0.3.5}/README.md +19 -3
  3. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/locales/english.toml +6 -0
  4. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/locales/russian.toml +6 -0
  5. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/settings/arguments.yaml +5 -5
  6. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/settings.py +21 -18
  7. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/git/git_agent.py +221 -145
  8. osa_tool-0.3.5/osa_tool/core/llm/connectors.py +212 -0
  9. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/llm/llm.py +16 -13
  10. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/models/task.py +2 -0
  11. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/notebook_report/report_maker.py +4 -41
  12. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_report/report_generator.py +9 -7
  13. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_report/report_maker.py +83 -63
  14. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/directory_translation/dirs_and_files_translator.py +28 -26
  15. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/docgen.py +77 -32
  16. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/docstring_generation.py +55 -57
  17. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/notebook_conversion/notebook_converter.py +6 -2
  18. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/organize.py +6 -8
  19. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/requirements_generation/requirements_generation.py +2 -0
  20. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/workflow_generation/workflow_generator.py +6 -2
  21. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/about_generation/about_generator.py +21 -12
  22. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/sections/header.py +5 -1
  23. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/run.py +153 -66
  24. osa_tool-0.3.5/osa_tool/scheduler/plan.py +155 -0
  25. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/scheduler/workflow_manager.py +31 -18
  26. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/utils/arguments_parser.py +55 -2
  27. {osa_tool-0.3.3 → osa_tool-0.3.5}/pyproject.toml +11 -2
  28. osa_tool-0.3.3/osa_tool/scheduler/plan.py +0 -92
  29. {osa_tool-0.3.3 → osa_tool-0.3.5}/LICENSE +0 -0
  30. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/__init__.py +0 -0
  31. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/assets/notosans-sc-black.ttf +0 -0
  32. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/assets/notosans-sc-bold.ttf +0 -0
  33. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/assets/notosans-sc.ttf +0 -0
  34. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/__init__.py +0 -0
  35. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/osa_config.py +0 -0
  36. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/about_section.toml +0 -0
  37. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/analysis.toml +0 -0
  38. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/docstring_generation.toml +0 -0
  39. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/osa_agent.toml +0 -0
  40. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/paper_analysis.toml +0 -0
  41. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/paper_claims.toml +0 -0
  42. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/readme/prompts.toml +0 -0
  43. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/readme/system_messages.toml +0 -0
  44. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/readme.toml +0 -0
  45. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/repo_organization.toml +0 -0
  46. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/repository_quality.toml +0 -0
  47. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/requirements.toml +0 -0
  48. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/scheduler.toml +0 -0
  49. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/prompts/system_messages.toml +0 -0
  50. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/settings/config.toml +0 -0
  51. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/template.toml +0 -0
  52. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/github_gitverse/autopep8.yml +0 -0
  53. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/github_gitverse/black.yml +0 -0
  54. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/github_gitverse/fix_pep8.yml +0 -0
  55. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/github_gitverse/pep8.yml +0 -0
  56. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/github_gitverse/pypi_publish.yml +0 -0
  57. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/github_gitverse/ruff.yml +0 -0
  58. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/github_gitverse/slash_command_dispatch.yml +0 -0
  59. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/github_gitverse/unit_test.yml +0 -0
  60. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/gitlab/autopep8.yml +0 -0
  61. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/gitlab/black.yml +0 -0
  62. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/gitlab/fix_pep8.yml +0 -0
  63. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/gitlab/pep8.yml +0 -0
  64. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/gitlab/pypi_publish.yml +0 -0
  65. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/gitlab/slash_command_dispatch.yml +0 -0
  66. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/config/templates/workflow/gitlab/unit_test.yml +0 -0
  67. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/__init__.py +0 -0
  68. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/git/__init__.py +0 -0
  69. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/git/metadata.py +0 -0
  70. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/git/request_utils.py +0 -0
  71. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/llm/__init__.py +0 -0
  72. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/llm/host.py +0 -0
  73. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/models/__init__.py +0 -0
  74. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/models/agent_status.py +0 -0
  75. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/models/event.py +0 -0
  76. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/core/models/llm_output_models.py +0 -0
  77. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/docs/images/osa_logo.PNG +0 -0
  78. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/docs/images/osa_logo_transparent.PNG +0 -0
  79. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/docs/templates/ci_config.toml +0 -0
  80. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/docs/templates/community.toml +0 -0
  81. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/docs/templates/contributing.toml +0 -0
  82. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/docs/templates/licenses.toml +0 -0
  83. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/docs/templates/mkdocs.yml +0 -0
  84. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/__init__.py +0 -0
  85. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/__init__.py +0 -0
  86. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/artifacts.py +0 -0
  87. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/notebook_report/__init__.py +0 -0
  88. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/notebook_report/analyzer.py +0 -0
  89. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/notebook_report/models.py +0 -0
  90. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_analysis/__init__.py +0 -0
  91. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_analysis/data_context.py +0 -0
  92. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_analysis/models.py +0 -0
  93. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_analysis/pipeline.py +0 -0
  94. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_analysis/verifier.py +0 -0
  95. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/__init__.py +0 -0
  96. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/claim_deduplicator.py +0 -0
  97. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/claim_extractor.py +0 -0
  98. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/claim_input_planner.py +0 -0
  99. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/claim_schemas.py +0 -0
  100. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/claim_validation.py +0 -0
  101. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/exceptions.py +0 -0
  102. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/io.py +0 -0
  103. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/marker_converter.py +0 -0
  104. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/models.py +0 -0
  105. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/openrouter_converter.py +0 -0
  106. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/pdf_splitter.py +0 -0
  107. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/pipeline.py +0 -0
  108. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/section_extractor.py +0 -0
  109. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/paper_claims/section_parser.py +0 -0
  110. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_quality/__init__.py +0 -0
  111. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_quality/checks.py +0 -0
  112. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_quality/repository_quality_scorer.py +0 -0
  113. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_quality/scoring_engine.py +0 -0
  114. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_report/__init__.py +0 -0
  115. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_report/report_localization.py +0 -0
  116. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/analysis/repository_report/response_validation.py +0 -0
  117. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/__init__.py +0 -0
  118. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/directory_translation/__init__.py +0 -0
  119. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/__init__.py +0 -0
  120. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/adapters/__init__.py +0 -0
  121. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/adapters/base.py +0 -0
  122. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/adapters/javascript_adapter.py +0 -0
  123. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/adapters/python_adapter.py +0 -0
  124. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/adapters/typescript_adapter.py +0 -0
  125. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/core/__init__.py +0 -0
  126. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/core/osa_parser.py +0 -0
  127. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/core/source_view.py +0 -0
  128. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/docstring_transformer.py +0 -0
  129. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/insert/__init__.py +0 -0
  130. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/insert/base_augmentor.py +0 -0
  131. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/insert/factory.py +0 -0
  132. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/insert/python_augmentor.py +0 -0
  133. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/insert/ts_js_augmentor.py +0 -0
  134. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/docstring_generation/topology.py +0 -0
  135. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/notebook_conversion/__init__.py +0 -0
  136. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/__init__.py +0 -0
  137. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/__init__.py +0 -0
  138. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/__init__.py +0 -0
  139. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/base.py +0 -0
  140. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/cpp.py +0 -0
  141. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/csharp.py +0 -0
  142. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/factory.py +0 -0
  143. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/generic.py +0 -0
  144. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/go.py +0 -0
  145. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/java.py +0 -0
  146. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/javascript.py +0 -0
  147. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/kotlin.py +0 -0
  148. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/latex.py +0 -0
  149. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/python.py +0 -0
  150. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/ruby.py +0 -0
  151. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/rust.py +0 -0
  152. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/analyzers/swift.py +0 -0
  153. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/executor/action_executor.py +0 -0
  154. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/executor/batch_updater.py +0 -0
  155. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/health_checker.py +0 -0
  156. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/planning_manager.py +0 -0
  157. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/snapshot_manager.py +0 -0
  158. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/organization/core/utils.py +0 -0
  159. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/requirements_generation/__init__.py +0 -0
  160. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/workflow_generation/README.md +0 -0
  161. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/workflow_generation/__init__.py +0 -0
  162. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/codebase/workflow_generation/workflow_executor.py +0 -0
  163. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/__init__.py +0 -0
  164. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/about_generation/__init__.py +0 -0
  165. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/community_docs_generation/__init__.py +0 -0
  166. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/community_docs_generation/codemeta_generator.py +0 -0
  167. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/community_docs_generation/community.py +0 -0
  168. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/community_docs_generation/contributing.py +0 -0
  169. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/community_docs_generation/docs_run.py +0 -0
  170. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/community_docs_generation/license_generation.py +0 -0
  171. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/__init__.py +0 -0
  172. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/inputs/__init__.py +0 -0
  173. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/inputs/article_content.py +0 -0
  174. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/inputs/article_path.py +0 -0
  175. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/inputs/pypi_status_checker.py +0 -0
  176. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/__init__.py +0 -0
  177. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/graph.py +0 -0
  178. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/llm_schemas.py +0 -0
  179. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/models.py +0 -0
  180. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/__init__.py +0 -0
  181. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/assembler.py +0 -0
  182. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/context_collector.py +0 -0
  183. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/deterministic_builder.py +0 -0
  184. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/intent_analyzer.py +0 -0
  185. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/readme_patch.py +0 -0
  186. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/section_generator.py +0 -0
  187. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/section_planner.py +0 -0
  188. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/self_eval.py +0 -0
  189. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/nodes/writer.py +0 -0
  190. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/runtime_context.py +0 -0
  191. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/section_catalog.py +0 -0
  192. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/section_catalog_entries.py +0 -0
  193. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/pipeline/state.py +0 -0
  194. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/readme_agent.py +0 -0
  195. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/readme_utils.py +0 -0
  196. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/sections/__init__.py +0 -0
  197. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/sections/icons/shieldsio_icons.json +0 -0
  198. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_generation/sections/installation.py +0 -0
  199. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_translation/__init__.py +0 -0
  200. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/docs/readme_translation/readme_translator.py +0 -0
  201. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/operations_catalog.py +0 -0
  202. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/operations/registry.py +0 -0
  203. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/__init__.py +0 -0
  204. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/__init__.py +0 -0
  205. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/executor/__init__.py +0 -0
  206. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/executor/agent.py +0 -0
  207. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/finalizer/__init__.py +0 -0
  208. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/finalizer/agent.py +0 -0
  209. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/finalizer/models.py +0 -0
  210. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/intent_router/__init__.py +0 -0
  211. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/intent_router/agent.py +0 -0
  212. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/intent_router/models.py +0 -0
  213. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/planner/__init__.py +0 -0
  214. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/planner/agent.py +0 -0
  215. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/planner/models.py +0 -0
  216. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/repo_analysis/__init__.py +0 -0
  217. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/repo_analysis/agent.py +0 -0
  218. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/reviewer/__init__.py +0 -0
  219. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/reviewer/agent.py +0 -0
  220. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/agents/reviewer/models.py +0 -0
  221. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/base.py +0 -0
  222. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/context.py +0 -0
  223. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/graph.py +0 -0
  224. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/osa_agent/state.py +0 -0
  225. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/run_chat.py +0 -0
  226. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/run_multi_process.py +0 -0
  227. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/scheduler/__init__.py +0 -0
  228. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/scheduler/response_validation.py +0 -0
  229. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/scheduler/scheduler.py +0 -0
  230. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/__init__.py +0 -0
  231. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/focused_cli.py +0 -0
  232. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/paper_analysis/__init__.py +0 -0
  233. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/paper_analysis/__main__.py +0 -0
  234. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/paper_analysis/cli.py +0 -0
  235. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/paper_claims/README.md +0 -0
  236. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/paper_claims/__init__.py +0 -0
  237. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/paper_claims/aggregate.py +0 -0
  238. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/paper_claims/batch.py +0 -0
  239. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/paper_claims/evaluate.py +0 -0
  240. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/progress.py +0 -0
  241. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/__init__.py +0 -0
  242. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/dependencies.py +0 -0
  243. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/documentation.py +0 -0
  244. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/models.py +0 -0
  245. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/repo_analyzer.py +0 -0
  246. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/repo_graph.py +0 -0
  247. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/scorecard.py +0 -0
  248. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/sourcerank.py +0 -0
  249. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_analysis/testing.py +0 -0
  250. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_quality/__init__.py +0 -0
  251. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/tools/repository_quality/__main__.py +0 -0
  252. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/ui/__init__.py +0 -0
  253. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/ui/input_for_chat.py +0 -0
  254. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/ui/plan_editor.py +0 -0
  255. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/utils/__init__.py +0 -0
  256. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/utils/logger.py +0 -0
  257. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/utils/prompts_builder.py +0 -0
  258. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/utils/response_cleaner.py +0 -0
  259. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/utils/token_counter.py +0 -0
  260. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/utils/utils.py +0 -0
  261. {osa_tool-0.3.3 → osa_tool-0.3.5}/osa_tool/web_chat.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: osa_tool
3
- Version: 0.3.3
3
+ Version: 0.3.5
4
4
  Summary: Tool that just makes your open source project better!
5
5
  License-Expression: BSD-3-Clause
6
6
  License-File: LICENSE
@@ -17,12 +17,18 @@ Provides-Extra: paper-claims
17
17
  Provides-Extra: paper-claims-lite
18
18
  Provides-Extra: paper-claims-marker
19
19
  Requires-Dist: GitPython (>=3.1.40)
20
+ Requires-Dist: PyYAML (>=6.0.2)
20
21
  Requires-Dist: Pygments (>=2.18.0)
21
22
  Requires-Dist: aiofiles (>=24.1.0)
22
23
  Requires-Dist: black (>=25.0.0)
23
24
  Requires-Dist: colorama (>=0.4.6)
24
25
  Requires-Dist: docx2txt (>=0.9)
25
26
  Requires-Dist: json-repair[schema] (>=0.60.0,<0.61.0)
27
+ Requires-Dist: langchain-core (>=0.3.67,<1.0.0)
28
+ Requires-Dist: langchain-gigachat (>=0.3.12)
29
+ Requires-Dist: langchain-ollama (>=0.3.0,<1.0.0)
30
+ Requires-Dist: langchain-openai (>=0.3.10,<1.0.0)
31
+ Requires-Dist: langgraph (>=1.0.0)
26
32
  Requires-Dist: libcst (>=1.8.6)
27
33
  Requires-Dist: markdown-it-py (>=3.0.0) ; extra == "paper-claims"
28
34
  Requires-Dist: marker-pdf (>=1.10.2,<2.0.0) ; (python_version < "3.15") and (extra == "paper-claims-marker")
@@ -35,16 +41,19 @@ Requires-Dist: nbformat (>=5.0)
35
41
  Requires-Dist: numpy (>=1.26.0,<3.0.0) ; extra == "paper-claims"
36
42
  Requires-Dist: packaging (>=25.0)
37
43
  Requires-Dist: pandas (>=2.2.0,<3.0.0)
44
+ Requires-Dist: pdfminer-six (>=20231228)
38
45
  Requires-Dist: pdfplumber (>=0.11.0)
39
46
  Requires-Dist: pipreqs (>=0.5.0) ; python_version < "3.13"
40
47
  Requires-Dist: prompt_toolkit (>=3.0.50)
41
- Requires-Dist: protollm (>=0.1.8)
42
48
  Requires-Dist: pydantic (>=2.9.0,<3.0.0)
43
49
  Requires-Dist: pypdf (>=5.0.0) ; extra == "paper-claims"
50
+ Requires-Dist: python-dotenv (>=1.0.1)
44
51
  Requires-Dist: qrcode (>=7.4.0)
45
52
  Requires-Dist: rapidfuzz (>=3.14.0) ; extra == "paper-claims"
46
53
  Requires-Dist: rapidfuzz (>=3.14.0) ; extra == "paper-claims-lite"
47
54
  Requires-Dist: reportlab (>=4.2.0,<5.0.0)
55
+ Requires-Dist: requests (>=2.32.3)
56
+ Requires-Dist: rich (>=13.0.0)
48
57
  Requires-Dist: scipy (>=1.13.0,<2.0.0) ; extra == "paper-claims"
49
58
  Requires-Dist: sentence-transformers (>=3.0.0,<6.0.0) ; extra == "paper-claims"
50
59
  Requires-Dist: structlog (>=24.4.0)
@@ -300,6 +309,9 @@ documentation, see the [Workflow Generator README](./osa_tool/operations/codebas
300
309
 
301
310
  Also OSA supports custom configuration via TOML files. Use the `--config-file` option to specify a path to custom
302
311
  configuration file. If no custom configuration file is provided, OSA will use the default configuration.
312
+ A custom file only needs the keys you want to change: it is merged over the default configuration section by section,
313
+ and list values replace the defaults instead of being appended. Explicit CLI flags take precedence over the custom
314
+ file, which takes precedence over the defaults.
303
315
 
304
316
  OSA uses the shared `[llm]` model settings unless a task-specific profile is configured. Task profiles fall back to the
305
317
  shared settings when they do not override a value. The `--use-single-model` flag forces all tasks to use the shared
@@ -319,9 +331,10 @@ Examples of generated README files are available in [examples](./examples).
319
331
  URL of the GitHub/GitLab/Gitverse repository, LLM API service provider (*optional*) and Specific LLM model to use
320
332
  (*optional*) are required to use the generator.
321
333
 
322
- OSA supports the subscription-backed Host LLM provider directly. `HOST_LLM_COMMAND` currently expects the Codex CLI protocol; use the bridge or an API-backed provider when custom generation controls are required. Other LLM providers are available as part of the
323
- [ProtoLLM](https://github.com/aimclub/ProtoLLM/) ecosystem. See the
324
- [connectors directory](https://github.com/aimclub/ProtoLLM/tree/main/protollm/connectors) for the full list.
334
+ OSA supports the subscription-backed Host LLM provider directly. `HOST_LLM_COMMAND` currently expects the Codex CLI protocol; use the bridge or an API-backed provider when custom generation controls are required. Other providers are reached through
335
+ `--base-url` and `--api`: any OpenAI-compatible endpoint, GigaChat, a local Ollama server, or a
336
+ self-hosted REST endpoint. The provider is autodetected from the base URL, so `--api` is only needed
337
+ to override that.
325
338
 
326
339
  Subscription-backed Host LLM:
327
340
 
@@ -369,6 +382,18 @@ Ollama:
369
382
  python -m osa_tool.run -r https://github.com/aimclub/OSA --api ollama --base-url http://[YOUR_OLLAMA_IP]:11434 --model gemma3:27b
370
383
  ```
371
384
 
385
+ GigaChat:
386
+
387
+ ```sh
388
+ export AUTHORIZATION_KEY=<your_authorisation_key>
389
+ python -m osa_tool.run -r https://github.com/aimclub/OSA --base-url https://gigachat.devices.sberbank.ru/api/v1 --model GigaChat
390
+ ```
391
+
392
+ GigaChat is selected by the base URL, and its client carries its own endpoint. Sber signs its
393
+ certificates with the Russian Trusted Root CA, so install those certificates first or the token
394
+ exchange fails with an SSL error. See
395
+ [the GigaChat certificate guide](https://developers.sber.ru/docs/ru/gigachat/certificates).
396
+
372
397
  ---
373
398
 
374
399
  ## Documentation
@@ -239,6 +239,9 @@ documentation, see the [Workflow Generator README](./osa_tool/operations/codebas
239
239
 
240
240
  Also OSA supports custom configuration via TOML files. Use the `--config-file` option to specify a path to custom
241
241
  configuration file. If no custom configuration file is provided, OSA will use the default configuration.
242
+ A custom file only needs the keys you want to change: it is merged over the default configuration section by section,
243
+ and list values replace the defaults instead of being appended. Explicit CLI flags take precedence over the custom
244
+ file, which takes precedence over the defaults.
242
245
 
243
246
  OSA uses the shared `[llm]` model settings unless a task-specific profile is configured. Task profiles fall back to the
244
247
  shared settings when they do not override a value. The `--use-single-model` flag forces all tasks to use the shared
@@ -258,9 +261,10 @@ Examples of generated README files are available in [examples](./examples).
258
261
  URL of the GitHub/GitLab/Gitverse repository, LLM API service provider (*optional*) and Specific LLM model to use
259
262
  (*optional*) are required to use the generator.
260
263
 
261
- OSA supports the subscription-backed Host LLM provider directly. `HOST_LLM_COMMAND` currently expects the Codex CLI protocol; use the bridge or an API-backed provider when custom generation controls are required. Other LLM providers are available as part of the
262
- [ProtoLLM](https://github.com/aimclub/ProtoLLM/) ecosystem. See the
263
- [connectors directory](https://github.com/aimclub/ProtoLLM/tree/main/protollm/connectors) for the full list.
264
+ OSA supports the subscription-backed Host LLM provider directly. `HOST_LLM_COMMAND` currently expects the Codex CLI protocol; use the bridge or an API-backed provider when custom generation controls are required. Other providers are reached through
265
+ `--base-url` and `--api`: any OpenAI-compatible endpoint, GigaChat, a local Ollama server, or a
266
+ self-hosted REST endpoint. The provider is autodetected from the base URL, so `--api` is only needed
267
+ to override that.
264
268
 
265
269
  Subscription-backed Host LLM:
266
270
 
@@ -308,6 +312,18 @@ Ollama:
308
312
  python -m osa_tool.run -r https://github.com/aimclub/OSA --api ollama --base-url http://[YOUR_OLLAMA_IP]:11434 --model gemma3:27b
309
313
  ```
310
314
 
315
+ GigaChat:
316
+
317
+ ```sh
318
+ export AUTHORIZATION_KEY=<your_authorisation_key>
319
+ python -m osa_tool.run -r https://github.com/aimclub/OSA --base-url https://gigachat.devices.sberbank.ru/api/v1 --model GigaChat
320
+ ```
321
+
322
+ GigaChat is selected by the base URL, and its client carries its own endpoint. Sber signs its
323
+ certificates with the Russian Trusted Root CA, so install those certificates first or the token
324
+ exchange fails with an SSL error. See
325
+ [the GigaChat certificate guide](https://developers.sber.ru/docs/ru/gigachat/certificates).
326
+
311
327
  ---
312
328
 
313
329
  ## Documentation
@@ -40,6 +40,12 @@ badges_present = "Badges present"
40
40
  summary_header = "OSA Work Summary"
41
41
  what_have_been_done = "What have been done"
42
42
  report_by_tasks = "Report by tasks"
43
+ operation_label = "Operation"
44
+ failure_reason_label = "Failure reason"
45
+ operation_status_completed = "Completed"
46
+ operation_status_partial = "Partial"
47
+ operation_status_failed = "Failed"
48
+ operation_status_skipped = "Skipped"
43
49
  yes = "Yes"
44
50
  no = "No"
45
51
  partial = "Partial"
@@ -40,6 +40,12 @@ badges_present = "Наличие бейджей"
40
40
  summary_header = "Сводка работы OSA"
41
41
  what_have_been_done = "Что было сделано"
42
42
  report_by_tasks = "Отчет по задачам"
43
+ operation_label = "Операция"
44
+ failure_reason_label = "Причина сбоя"
45
+ operation_status_completed = "Выполнено"
46
+ operation_status_partial = "Частично"
47
+ operation_status_failed = "Ошибка"
48
+ operation_status_skipped = "Пропущено"
43
49
  yes = "Да"
44
50
  no = "Нет"
45
51
  partial = "Частично"
@@ -152,7 +152,7 @@ settings:
152
152
  delete_dir:
153
153
  aliases: [ "--delete-dir" ]
154
154
  type: flag
155
- description: "Enable deleting the downloaded repository after processing."
155
+ description: "Delete the repository copy downloaded by this run after successful processing."
156
156
 
157
157
  repository:
158
158
  aliases: [ "-r", "--repository" ]
@@ -229,16 +229,16 @@ settings:
229
229
  type: str
230
230
  cli_description: "Service URL for the selected API provider."
231
231
  description: |
232
- URL of the service provider.
233
- See: https://github.com/aimclub/ProtoLLM/tree/main/protollm/connectors
232
+ URL of the service provider. Any OpenAI-compatible endpoint works,
233
+ for example https://api.openai.com/v1 or https://openrouter.ai/api/v1.
234
234
 
235
235
  model:
236
236
  aliases: [ "--model" ]
237
237
  type: str
238
238
  cli_description: "Default LLM model for repository tasks."
239
239
  description: |
240
- Specific LLM model to use. See available providers and models:
241
- https://github.com/aimclub/ProtoLLM/tree/main/protollm/connectors
240
+ Specific LLM model to use, named as the selected provider names it,
241
+ for example gpt-4o or openai/gpt-4o on OpenRouter.
242
242
 
243
243
  model_docstring:
244
244
  aliases: [ "--model-docstring" ]
@@ -8,7 +8,6 @@ from datetime import datetime
8
8
  from pathlib import Path
9
9
  from typing import Any, List, Literal
10
10
 
11
- import tomli
12
11
  from pydantic import (
13
12
  AnyHttpUrl,
14
13
  BaseModel,
@@ -21,6 +20,7 @@ from pydantic import (
21
20
  )
22
21
 
23
22
  from osa_tool.core.git.request_utils import RetryConfig
23
+ from osa_tool.utils.arguments_parser import load_config_data
24
24
  from osa_tool.utils.prompts_builder import PromptLoader
25
25
  from osa_tool.utils.utils import (
26
26
  build_config_path,
@@ -64,6 +64,10 @@ class GitSettings(BaseModel):
64
64
  else:
65
65
  raise ValueError(f"{self.repository} does not exist.")
66
66
  else:
67
+ # A URL copied from a browser often carries a trailing slash, and the
68
+ # remote helpers append ".git" to this value verbatim, which would make
69
+ # "owner/repo/" into "owner/repo/.git" and fail the clone.
70
+ self.repository = str(self.repository).rstrip("/")
67
71
  self.host_domain, self.host, self.name, self.full_name = parse_git_url(str(self.repository))
68
72
  return self
69
73
 
@@ -240,10 +244,8 @@ class ConfigManager:
240
244
  """
241
245
  self.args = args
242
246
 
243
- config_path = self._get_config_path()
244
-
245
- with open(config_path, "rb") as file:
246
- config_data = tomli.load(file)
247
+ default_path, custom_path = self._get_config_paths()
248
+ config_data = load_config_data(custom_path, default_path=default_path)
247
249
 
248
250
  if args:
249
251
  config_data = self._apply_cli_args_to_config_data(config_data, args)
@@ -256,28 +258,29 @@ class ConfigManager:
256
258
 
257
259
  request_utils.DEFAULT_RETRY_CONFIG = request_utils.RetryConfig(**self.config.git.retry.model_dump())
258
260
 
259
- def _get_config_path(self) -> str:
261
+ def _get_config_paths(self) -> tuple[str, str | None]:
260
262
  """
261
- Determine config file path from args or use default.
263
+ Determine the default config path and the optional custom config path from args.
264
+
265
+ The custom file is a partial override deep-merged over the default config.
262
266
 
263
267
  Returns:
264
- str: Path to configuration file
268
+ tuple[str, str | None]: Default config path and custom config path (None if not given)
265
269
 
266
270
  Raises:
267
- FileNotFoundError: If specified config file doesn't exist
271
+ FileNotFoundError: If the specified custom or the default config file doesn't exist
268
272
  """
273
+ custom_path = None
269
274
  if self.args and hasattr(self.args, "config_file") and self.args.config_file:
270
- config_path = self.args.config_file
271
- if os.path.exists(config_path):
272
- return config_path
273
- else:
274
- raise FileNotFoundError(f"Custom configuration file not found: {config_path}")
275
+ custom_path = self.args.config_file
276
+ if not os.path.exists(custom_path):
277
+ raise FileNotFoundError(f"Custom configuration file not found: {custom_path}")
275
278
 
276
- config_path = build_config_path()
277
- if not os.path.exists(config_path):
278
- raise FileNotFoundError(f"Default configuration file not found: {config_path}")
279
+ default_path = build_config_path()
280
+ if not os.path.exists(default_path):
281
+ raise FileNotFoundError(f"Default configuration file not found: {default_path}")
279
282
 
280
- return config_path
283
+ return default_path, custom_path
281
284
 
282
285
  @staticmethod
283
286
  def _apply_cli_args_to_config_data(config_data: dict, args: Namespace) -> dict: