ara-cli 0.1.10.5__tar.gz → 0.1.11.1__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 (226) hide show
  1. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/PKG-INFO +31 -1
  2. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/README.md +29 -0
  3. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/__init__.py +0 -1
  4. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/__main__.py +25 -49
  5. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_config.py +3 -0
  6. ara_cli-0.1.11.1/ara_cli/ara_subcommands/fetch_scripts.py +8 -0
  7. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/chat.py +230 -18
  8. ara_cli-0.1.11.1/ara_cli/chat_agent/agent_communicator.py +62 -0
  9. ara_cli-0.1.11.1/ara_cli/chat_agent/agent_process_manager.py +211 -0
  10. ara_cli-0.1.11.1/ara_cli/chat_agent/agent_status_manager.py +73 -0
  11. ara_cli-0.1.11.1/ara_cli/chat_agent/agent_workspace_manager.py +76 -0
  12. ara_cli-0.1.11.1/ara_cli/chat_script_runner/script_completer.py +23 -0
  13. ara_cli-0.1.11.1/ara_cli/chat_script_runner/script_finder.py +24 -0
  14. ara_cli-0.1.11.1/ara_cli/chat_script_runner/script_lister.py +24 -0
  15. ara_cli-0.1.11.1/ara_cli/chat_script_runner/script_runner.py +32 -0
  16. ara_cli-0.1.11.1/ara_cli/commands/fetch_scripts_command.py +43 -0
  17. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/directory_navigator.py +37 -4
  18. ara_cli-0.1.11.1/ara_cli/templates/global-scripts/hello_global.py +1 -0
  19. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/empty.commands.md +4 -0
  20. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/extract_general.commands.md +12 -0
  21. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/extract_markdown.commands.md +11 -0
  22. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/extract_python.commands.md +13 -0
  23. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/feature_add_or_modifiy_specified_behavior.commands.md +36 -0
  24. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/feature_generate_initial_specified_bevahior.commands.md +53 -0
  25. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/prompt_template_tech_stack_transformer.commands.md +95 -0
  26. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/python_bug_fixing_code.commands.md +34 -0
  27. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/python_generate_code.commands.md +27 -0
  28. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/python_refactoring_code.commands.md +39 -0
  29. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/python_step_definitions_generation_and_fixing.commands.md +40 -0
  30. ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/commands/python_unittest_generation_and_fixing.commands.md +48 -0
  31. ara_cli-0.1.11.1/ara_cli/templates/specification_breakdown_files/template.step.exploration.md +0 -0
  32. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/version.py +1 -1
  33. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli.egg-info/PKG-INFO +31 -1
  34. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli.egg-info/SOURCES.txt +24 -17
  35. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli.egg-info/requires.txt +1 -0
  36. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/docker/base/requirements.txt +3 -1
  37. ara_cli-0.1.11.1/tests/__init__.py +0 -0
  38. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/blueprints/complete_pytest_unittest.blueprint.md +0 -27
  39. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/blueprints/pytest_unittest_prompt.blueprint.md +0 -32
  40. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/blueprints/task_todo_list_implement_feature_BDD_way.blueprint.md +0 -30
  41. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/artefact_classification.commands.md +0 -9
  42. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/artefact_extension.commands.md +0 -17
  43. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/artefact_formulation.commands.md +0 -14
  44. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/behave_step_generation.commands.md +0 -102
  45. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/code_generation_complex.commands.md +0 -20
  46. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/code_generation_simple.commands.md +0 -13
  47. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/empty.commands.md +0 -14
  48. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/error_fixing.commands.md +0 -20
  49. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/feature_file_update.commands.md +0 -18
  50. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/feature_formulation.commands.md +0 -43
  51. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/js_code_generation_simple.commands.md +0 -13
  52. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/refactoring.commands.md +0 -15
  53. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/refactoring_analysis.commands.md +0 -9
  54. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/reverse_engineer_feature_file.commands.md +0 -15
  55. ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/commands/reverse_engineer_program_flow.commands.md +0 -19
  56. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/MANIFEST.in +0 -0
  57. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_command_action.py +0 -0
  58. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/__init__.py +0 -0
  59. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/autofix.py +0 -0
  60. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/chat.py +0 -0
  61. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/classifier_directory.py +0 -0
  62. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/common.py +0 -0
  63. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/create.py +0 -0
  64. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/delete.py +0 -0
  65. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/extract.py +0 -0
  66. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/fetch_templates.py +0 -0
  67. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/list.py +0 -0
  68. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/list_tags.py +0 -0
  69. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/load.py +0 -0
  70. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/prompt.py +0 -0
  71. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/read.py +0 -0
  72. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/read_status.py +0 -0
  73. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/read_user.py +0 -0
  74. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/reconnect.py +0 -0
  75. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/rename.py +0 -0
  76. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/scan.py +0 -0
  77. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/set_status.py +0 -0
  78. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/set_user.py +0 -0
  79. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/ara_subcommands/template.py +0 -0
  80. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_autofix.py +0 -0
  81. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_creator.py +0 -0
  82. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_deleter.py +0 -0
  83. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_fuzzy_search.py +0 -0
  84. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_link_updater.py +0 -0
  85. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_lister.py +0 -0
  86. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/__init__.py +0 -0
  87. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/artefact_data_retrieval.py +0 -0
  88. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/artefact_load.py +0 -0
  89. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/artefact_mapping.py +0 -0
  90. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/artefact_model.py +0 -0
  91. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/artefact_templates.py +0 -0
  92. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/businessgoal_artefact_model.py +0 -0
  93. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/capability_artefact_model.py +0 -0
  94. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/epic_artefact_model.py +0 -0
  95. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/example_artefact_model.py +0 -0
  96. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/feature_artefact_model.py +0 -0
  97. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/issue_artefact_model.py +0 -0
  98. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/keyfeature_artefact_model.py +0 -0
  99. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/serialize_helper.py +0 -0
  100. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/task_artefact_model.py +0 -0
  101. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/userstory_artefact_model.py +0 -0
  102. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_models/vision_artefact_model.py +0 -0
  103. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_reader.py +0 -0
  104. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_renamer.py +0 -0
  105. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/artefact_scan.py +0 -0
  106. {ara_cli-0.1.10.5/ara_cli/commands → ara_cli-0.1.11.1/ara_cli/chat_agent}/__init__.py +0 -0
  107. {ara_cli-0.1.10.5/ara_cli/file_loaders → ara_cli-0.1.11.1/ara_cli/chat_script_runner}/__init__.py +0 -0
  108. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/classifier.py +0 -0
  109. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/codefusionretriever.py +0 -0
  110. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/codehierachieretriever.py +0 -0
  111. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/commandline_completer.py +0 -0
  112. {ara_cli-0.1.10.5/tests → ara_cli-0.1.11.1/ara_cli/commands}/__init__.py +0 -0
  113. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/commands/command.py +0 -0
  114. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/commands/extract_command.py +0 -0
  115. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/commands/load_command.py +0 -0
  116. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/commands/load_image_command.py +0 -0
  117. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/commands/read_command.py +0 -0
  118. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/completers.py +0 -0
  119. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/error_handler.py +0 -0
  120. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_classifier.py +0 -0
  121. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_lister.py +0 -0
  122. /ara_cli-0.1.10.5/ara_cli/templates/prompt-modules/blueprints/empty.blueprint.md → /ara_cli-0.1.11.1/ara_cli/file_loaders/__init__.py +0 -0
  123. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/binary_file_loader.py +0 -0
  124. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/document_file_loader.py +0 -0
  125. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/document_reader.py +0 -0
  126. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/document_readers.py +0 -0
  127. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/file_loader.py +0 -0
  128. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/file_loaders.py +0 -0
  129. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/image_processor.py +0 -0
  130. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/markdown_reader.py +0 -0
  131. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/file_loaders/text_file_loader.py +0 -0
  132. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/filename_validator.py +0 -0
  133. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/global_file_lister.py +0 -0
  134. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/list_filter.py +0 -0
  135. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/output_suppressor.py +0 -0
  136. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/prompt_chat.py +0 -0
  137. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/prompt_extractor.py +0 -0
  138. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/prompt_handler.py +0 -0
  139. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/prompt_rag.py +0 -0
  140. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/run_file_lister.py +0 -0
  141. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/tag_extractor.py +0 -0
  142. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/template_loader.py +0 -0
  143. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/template_manager.py +0 -0
  144. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/agile.artefacts +0 -0
  145. /ara_cli-0.1.10.5/ara_cli/templates/specification_breakdown_files/template.step.exploration.md → /ara_cli-0.1.11.1/ara_cli/templates/prompt-modules/blueprints/empty.blueprint.md +0 -0
  146. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/blueprints/task_todo_list_C4_architecture_analysis.blueprint.md +0 -0
  147. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/commands/architecture_C4_analysis.commands.md +0 -0
  148. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/commands/architecture_radon_cc_score.commands.md +0 -0
  149. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/commands/architecture_radon_halstead_v.commands.md +0 -0
  150. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/commands/architecture_radon_maintainability_score.commands.md +0 -0
  151. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/classify_task.intention.md +0 -0
  152. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/empty.intention.md +0 -0
  153. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/error_fixing.intention.md +0 -0
  154. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/feature_fix_steps_for_scenario.intention.md +0 -0
  155. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/feature_formulation.intention.md +0 -0
  156. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/feature_reverse_formulation_from_code.intention.md +0 -0
  157. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/feature_scenario_implementation.intention.md +0 -0
  158. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/feature_scenario_implementation_update.intention.md +0 -0
  159. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/feature_scenario_outline_extension.intention.md +0 -0
  160. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/feature_update_formulation.intention.md +0 -0
  161. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/fibonacci_example_implementation.intention.md +0 -0
  162. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/js_implementation_from_task_description.intention.md +0 -0
  163. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/js_steps_implementation.intention.md +0 -0
  164. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/python_cli_implementation_with_test.intention.md +0 -0
  165. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/python_code_understanding.intention.md +0 -0
  166. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/task_implementation.intention.md +0 -0
  167. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/task_prompt_control_by_status.intention.md +0 -0
  168. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/task_stepwise_implementation_by_number.intention.md +0 -0
  169. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/intentions/task_stepwise_implementation_by_status.intention.md +0 -0
  170. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/architecture_analyst.rules.md +0 -0
  171. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/code_analyst.rules.md +0 -0
  172. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/empty.rules.md +0 -0
  173. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/error_analyst.rules.md +0 -0
  174. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/gherkin_expert.rules.md +0 -0
  175. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/js_expert_developer.rules.md +0 -0
  176. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/product_owner.rules.md +0 -0
  177. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/python_behave.rules.md +0 -0
  178. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/prompt-modules/rules/python_developer.rules.md +0 -0
  179. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.concept.exploration.md +0 -0
  180. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.concept.md +0 -0
  181. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.customer.exploration.md +0 -0
  182. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.customer.md +0 -0
  183. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.persona.exploration.md +0 -0
  184. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.persona.md +0 -0
  185. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.step.md +0 -0
  186. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.technology.exploration.md +0 -0
  187. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/specification_breakdown_files/template.technology.md +0 -0
  188. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.businessgoal.prompt_log.md +0 -0
  189. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.capability.prompt_log.md +0 -0
  190. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.epic.prompt_log.md +0 -0
  191. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.example.prompt_log.md +0 -0
  192. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.feature.prompt_log.md +0 -0
  193. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.issue.prompt_log.md +0 -0
  194. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.keyfeature.prompt_log.md +0 -0
  195. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.steps.prompt_log.md +0 -0
  196. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.task.prompt_log.md +0 -0
  197. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.userstory.prompt_log.md +0 -0
  198. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/templates/template.vision.prompt_log.md +0 -0
  199. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli/update_config_prompt.py +0 -0
  200. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli.egg-info/dependency_links.txt +0 -0
  201. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli.egg-info/entry_points.txt +0 -0
  202. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/ara_cli.egg-info/top_level.txt +0 -0
  203. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/setup.cfg +0 -0
  204. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/setup.py +0 -0
  205. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_ara_command_action.py +0 -0
  206. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_ara_config.py +0 -0
  207. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_artefact_autofix.py +0 -0
  208. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_artefact_fuzzy_search.py +0 -0
  209. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_artefact_link_updater.py +0 -0
  210. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_artefact_lister.py +0 -0
  211. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_artefact_reader.py +0 -0
  212. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_artefact_renamer.py +0 -0
  213. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_artefact_scan.py +0 -0
  214. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_chat.py +0 -0
  215. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_classifier.py +0 -0
  216. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_directory_navigator.py +0 -0
  217. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_file_classifier.py +0 -0
  218. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_file_creator.py +0 -0
  219. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_file_lister.py +0 -0
  220. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_global_file_lister.py +0 -0
  221. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_list_filter.py +0 -0
  222. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_prompt_handler.py +0 -0
  223. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_tag_extractor.py +0 -0
  224. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_template_loader.py +0 -0
  225. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_template_manager.py +0 -0
  226. {ara_cli-0.1.10.5 → ara_cli-0.1.11.1}/tests/test_update_config_prompt.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ara_cli
3
- Version: 0.1.10.5
3
+ Version: 0.1.11.1
4
4
  Summary: Powerful, open source command-line tool for managing, structuring and automating software development artifacts in line with Business-Driven Development (BDD) and AI-assisted processes
5
5
  Description-Content-Type: text/markdown
6
6
  Requires-Dist: langfuse
@@ -20,6 +20,7 @@ Requires-Dist: pydantic_ai
20
20
  Requires-Dist: python-docx
21
21
  Requires-Dist: pymupdf4llm
22
22
  Requires-Dist: typer
23
+ Requires-Dist: psutil
23
24
  Dynamic: description
24
25
  Dynamic: description-content-type
25
26
  Dynamic: requires-dist
@@ -130,6 +131,35 @@ ara autofix
130
131
 
131
132
  See `ara -h` for the complete list of commands and usage examples.
132
133
 
134
+ ---
135
+ ## Agent Commands
136
+
137
+ `ara-cli` includes powerful agent-based capabilities that can be accessed through the interactive chat. These agents can perform complex, multi-step tasks, such as conducting interviews or automating coding workflows.
138
+
139
+ To use the agent commands, first start an interactive chat session:
140
+
141
+ ```bash
142
+ ara prompt chat <artefact_classifier> <artefact_name>
143
+ ```
144
+
145
+ Once inside the chat, you can use the following commands to manage agents:
146
+
147
+ | Command | Shortcut | Description |
148
+ | ---------------- | -------- | ------------------------------------------------- |
149
+ | `AGENT_RUN` | `a` | Run an agent by name. |
150
+ | `AGENT_STOP` | `as` | Stop the currently running agent. |
151
+ | `AGENT_CONTINUE` | `ac` | Continue the agent's operation without new input. |
152
+ | `AGENT_STATUS` | `astat` | Show the status of the current agent. |
153
+ | `exit` | | Exit from agent interfacto back to chat. |
154
+
155
+ **Example:**
156
+
157
+ ```bash
158
+ ara> a interview_agent
159
+ ```
160
+
161
+ **Important:** The agent functionality requires the `ara-agents` package to be installed separately. If you do not have `ara-agents` installed, please contact the Talsen Team for assistance.
162
+
133
163
  ---
134
164
 
135
165
  ## Artefact Structure
@@ -103,6 +103,35 @@ ara autofix
103
103
 
104
104
  See `ara -h` for the complete list of commands and usage examples.
105
105
 
106
+ ---
107
+ ## Agent Commands
108
+
109
+ `ara-cli` includes powerful agent-based capabilities that can be accessed through the interactive chat. These agents can perform complex, multi-step tasks, such as conducting interviews or automating coding workflows.
110
+
111
+ To use the agent commands, first start an interactive chat session:
112
+
113
+ ```bash
114
+ ara prompt chat <artefact_classifier> <artefact_name>
115
+ ```
116
+
117
+ Once inside the chat, you can use the following commands to manage agents:
118
+
119
+ | Command | Shortcut | Description |
120
+ | ---------------- | -------- | ------------------------------------------------- |
121
+ | `AGENT_RUN` | `a` | Run an agent by name. |
122
+ | `AGENT_STOP` | `as` | Stop the currently running agent. |
123
+ | `AGENT_CONTINUE` | `ac` | Continue the agent's operation without new input. |
124
+ | `AGENT_STATUS` | `astat` | Show the status of the current agent. |
125
+ | `exit` | | Exit from agent interfacto back to chat. |
126
+
127
+ **Example:**
128
+
129
+ ```bash
130
+ ara> a interview_agent
131
+ ```
132
+
133
+ **Important:** The agent functionality requires the `ara-agents` package to be installed separately. If you do not have `ara-agents` installed, please contact the Talsen Team for assistance.
134
+
106
135
  ---
107
136
 
108
137
  ## Artefact Structure
@@ -4,7 +4,6 @@ from .error_handler import ErrorHandler
4
4
 
5
5
  whitelisted_commands = ["RERUN", "SEND", "EXTRACT", "LOAD_IMAGE", "CHOOSE_MODEL", "CHOOSE_EXTRACTION_MODEL", "CURRENT_MODEL", "CURRENT_EXTRACTION_MODEL", "LIST_MODELS"]
6
6
 
7
-
8
7
  error_handler = ErrorHandler()
9
8
 
10
9
 
@@ -1,9 +1,7 @@
1
1
  import typer
2
- import sys
3
2
  import os
4
3
  from typing import Optional
5
4
  from os import getenv
6
- from ara_cli.error_handler import AraError
7
5
  from ara_cli.version import __version__
8
6
  from ara_cli import error_handler
9
7
  from ara_cli.ara_subcommands.create import register as register_create_cli
@@ -15,6 +13,7 @@ from ara_cli.ara_subcommands.prompt import register as register_prompt_cli
15
13
  from ara_cli.ara_subcommands.chat import register as register_chat_cli
16
14
  from ara_cli.ara_subcommands.template import register as register_template_cli
17
15
  from ara_cli.ara_subcommands.fetch_templates import register as register_fetch_templates_cli
16
+ from ara_cli.ara_subcommands.fetch_scripts import register as register_fetch_scripts_cli
18
17
  from ara_cli.ara_subcommands.read import register as register_read_cli
19
18
  from ara_cli.ara_subcommands.reconnect import register as register_reconnect_cli
20
19
  from ara_cli.ara_subcommands.read_status import register as register_read_status_cli
@@ -27,6 +26,8 @@ from ara_cli.ara_subcommands.autofix import register as register_autofix_cli
27
26
  from ara_cli.ara_subcommands.extract import register as register_extract_cli
28
27
  from ara_cli.ara_subcommands.load import register as register_load_cli
29
28
 
29
+ from ara_cli.directory_navigator import DirectoryNavigator
30
+
30
31
 
31
32
  def version_callback(value: bool):
32
33
  if value:
@@ -45,58 +46,32 @@ def configure_debug_mode(debug: bool, env_debug_mode: bool):
45
46
  error_handler.debug_mode = True
46
47
 
47
48
 
48
- def find_ara_directory_root():
49
- """Find the root ara directory by traversing up the directory tree."""
50
- current_dir = os.getcwd()
51
-
52
- # Check if we're already inside an ara directory structure
53
- path_parts = current_dir.split(os.sep)
54
-
55
- # Look for 'ara' in the path parts
56
- if 'ara' in path_parts:
57
- ara_index = path_parts.index('ara')
58
- # Reconstruct path up to and including 'ara'
59
- ara_root_parts = path_parts[:ara_index + 1]
60
- potential_ara_root = os.sep.join(ara_root_parts)
61
- if os.path.exists(potential_ara_root) and os.path.isdir(potential_ara_root):
62
- return potential_ara_root
63
-
64
- # If not inside ara directory, check current directory and parents
65
- check_dir = current_dir
66
- while check_dir != os.path.dirname(check_dir): # Stop at filesystem root
67
- ara_path = os.path.join(check_dir, 'ara')
68
- if os.path.exists(ara_path) and os.path.isdir(ara_path):
69
- return ara_path
70
- check_dir = os.path.dirname(check_dir)
71
-
72
- return None
73
-
74
-
75
49
  def check_ara_directory_exists():
76
50
  """Check if ara directory exists or if we're inside ara directory tree."""
77
- return find_ara_directory_root() is not None
51
+ return DirectoryNavigator.find_ara_directory_root() is not None
78
52
 
79
53
 
80
54
  def prompt_create_ara_directory():
81
55
  """Prompt user to create ara directory and create it if confirmed."""
82
56
  # Print the prompt message
83
- print("No 'ara' directory found. Create one in the current directory? (Y/n)", end=" ", flush=True)
84
-
57
+ print("No 'ara' directory found. Create one in the current directory? (Y/n)",
58
+ end=" ", flush=True)
59
+
85
60
  # Read user input
86
61
  try:
87
62
  response = input().strip()
88
63
  except (EOFError, KeyboardInterrupt):
89
64
  typer.echo("\nOperation cancelled.")
90
65
  raise typer.Exit(1)
91
-
66
+
92
67
  if response.lower() in ('y', 'yes', ''):
93
68
  current_dir = os.getcwd()
94
69
  ara_path = os.path.join(current_dir, 'ara')
95
-
70
+
96
71
  # Create ara directory structure
97
72
  subdirectories = [
98
73
  'businessgoals',
99
- 'capabilities',
74
+ 'capabilities',
100
75
  'epics',
101
76
  'examples',
102
77
  'features',
@@ -105,35 +80,35 @@ def prompt_create_ara_directory():
105
80
  'userstories',
106
81
  'vision'
107
82
  ]
108
-
83
+
109
84
  try:
110
85
  # Create main ara directory
111
86
  os.makedirs(ara_path, exist_ok=True)
112
-
87
+
113
88
  # Create subdirectories for artefact types
114
89
  for subdir in subdirectories:
115
90
  os.makedirs(os.path.join(ara_path, subdir), exist_ok=True)
116
-
91
+
117
92
  # Create .araconfig directory
118
93
  araconfig_path = os.path.join(ara_path, '.araconfig')
119
94
  os.makedirs(araconfig_path, exist_ok=True)
120
-
95
+
121
96
  # Create default ara_config.json using ConfigManager
122
97
  from ara_cli.ara_config import ConfigManager, ARAconfig
123
98
  config_file_path = os.path.join(araconfig_path, 'ara_config.json')
124
-
99
+
125
100
  # Reset ConfigManager to ensure clean state
126
101
  ConfigManager.reset()
127
-
102
+
128
103
  # Create default config and save it
129
104
  default_config = ARAconfig()
130
105
  from ara_cli.ara_config import save_data
131
106
  save_data(config_file_path, default_config)
132
-
107
+
133
108
  typer.echo(f"Created ara directory structure at {ara_path}")
134
109
  typer.echo(f"Created default configuration at {config_file_path}")
135
110
  return True
136
-
111
+
137
112
  except OSError as e:
138
113
  typer.echo(f"Error creating ara directory: {e}", err=True)
139
114
  raise typer.Exit(1)
@@ -232,15 +207,15 @@ ara chat examples:
232
207
  if ctx.invoked_subcommand is None:
233
208
  ctx.get_help()
234
209
  ctx.exit()
235
-
210
+
236
211
  # Check for ara directory before executing any command
237
212
  # Skip check for commands that don't require ara directory
238
213
  commands_requiring_ara = {
239
- 'create', 'delete', 'rename', 'list', 'list-tags', 'prompt',
240
- 'read', 'reconnect', 'read-status', 'read-user', 'set-status',
241
- 'set-user', 'classifier-directory', 'scan', 'autofix'
214
+ 'create', 'delete', 'rename', 'list', 'list-tags', 'prompt',
215
+ 'read', 'reconnect', 'read-status', 'read-user', 'set-status',
216
+ 'set-user', 'scan', 'autofix'
242
217
  }
243
-
218
+
244
219
  if ctx.invoked_subcommand in commands_requiring_ara:
245
220
  requires_ara_directory()
246
221
 
@@ -254,6 +229,7 @@ ara chat examples:
254
229
  register_chat_cli(app)
255
230
  register_template_cli(app)
256
231
  register_fetch_templates_cli(app)
232
+ register_fetch_scripts_cli(app)
257
233
  register_read_cli(app)
258
234
  register_reconnect_cli(app)
259
235
  register_read_status_cli(app)
@@ -281,4 +257,4 @@ def cli():
281
257
 
282
258
 
283
259
  if __name__ == "__main__":
284
- cli()
260
+ cli()
@@ -29,6 +29,8 @@ class ARAconfig(BaseModel):
29
29
  doc_dir: str = "./docs"
30
30
  local_prompt_templates_dir: str = "./ara/.araconfig"
31
31
  custom_prompt_templates_subdir: Optional[str] = "custom-prompt-modules"
32
+ local_scripts_dir: str = "./ara/.araconfig"
33
+ custom_scripts_subdir: Optional[str] = "custom-scripts"
32
34
  local_ara_templates_dir: str = "./ara/.araconfig/templates/"
33
35
  ara_prompt_given_list_includes: List[str] = Field(
34
36
  default_factory=lambda: [
@@ -113,6 +115,7 @@ class ARAconfig(BaseModel):
113
115
  "ext_code_dirs": [{"source_dir": "./src"}, {"source_dir": "./tests"}],
114
116
  "local_ara_templates_dir": "./ara/.araconfig/templates/",
115
117
  "local_prompt_templates_dir": "./ara/.araconfig",
118
+ "local_scripts_dir": "./ara/.araconfig",
116
119
  "glossary_dir": "./glossary",
117
120
  }
118
121
 
@@ -0,0 +1,8 @@
1
+ import typer
2
+ from ara_cli.commands.fetch_scripts_command import FetchScriptsCommand
3
+
4
+ def register(app: typer.Typer):
5
+ @app.command(name="fetch-scripts", help="Fetch global scripts into your config directory.")
6
+ def fetch_scripts():
7
+ command = FetchScriptsCommand()
8
+ command.execute()